Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
hping
hping-3.0.0_alpha_1-Makefile.in.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hping-3.0.0_alpha_1-Makefile.in.patch of Package hping
--- Makefile.in.orig 2014-12-25 15:01:43.000000000 +0100 +++ Makefile.in 2014-12-26 08:06:25.681410513 +0100 @@ -9,14 +9,19 @@ CC= gcc AR=/usr/bin/ar RANLIB=/usr/bin/ranlib -CCOPT= -O2 -Wall @PCAP_INCLUDE@ @TCL_INC@ @USE_TCL@ +CCOPT= $(CFLAGS) -O2 -Wall @PCAP_INCLUDE@ @TCL_INC@ @USE_TCL@ DEBUG= -g #uncomment the following if you need libpcap based build under linux #(not raccomanded) COMPILE_TIME= -INSTALL_MANPATH=@MANPATH@ @PCAP@ +DOCS = AUTHORS *BUGS CHANGES COPYING NEWS README TODO +DOCS_EN = docs/*.txt docs/AS-BACKDOOR docs/HPING2-IS-OPEN docs/MORE-FUN-WITH-IPID +DOCS_FR = docs/french/*.txt docs/french/AS-BACKDOOR docs/french/HPING2-IS-OPEN docs/french/MORE-FUN-WITH-IPID +MANS = docs/hping2.8 docs/hping3.8 +MANS_FR = docs/french/hping2-fr.8 + ARSOBJ = ars.o apd.o split.o rapd.o OBJ= main.o getifname.o getlhs.o \ @@ -72,17 +77,18 @@ rm -rf hping3 *.o byteorder byteorder.h systype.h Makefile libars.a .depend install: hping3 - cp -f hping3 /usr/sbin/ - chmod 755 /usr/sbin/hping3 - ln -s /usr/sbin/hping3 /usr/sbin/hping - ln -s /usr/sbin/hping3 /usr/sbin/hping2 - @if [ -d ${INSTALL_MANPATH}/man8 ]; then \ - cp ./docs/hping3.8 ${INSTALL_MANPATH}/man8; \ - chmod 644 ${INSTALL_MANPATH}/man8/hping3.8; \ - else \ - echo "@@@@@@ WARNING @@@@@@"; \ - echo "Can't install the man page: ${INSTALL_MANPATH}/man8 does not exist"; \ - fi + install -m 0755 -d $(DESTDIR)/usr/sbin + install -m 0755 -d $(DESTDIR)/usr/share/man/man8 + install -m 0755 -d $(DESTDIR)/usr/share/man/fr/man8 + install -m 0755 -d $(DESTDIR)/usr/share/doc/packages/hping/docs/french + install -m 0755 hping3 $(DESTDIR)/usr/sbin/ + ln -s /usr/sbin/hping3 hping + ln -s /usr/sbin/hping3 hping2 + install -m 0644 $(MANS) $(DESTDIR)/usr/share/man/man8/ + install -m 0644 $(MANS_FR) $(DESTDIR)/usr/share/man/fr/man8/ + install -m 0644 $(DOCS) $(DESTDIR)/usr/share/doc/packages/hping/ + install -m 0644 $(DOCS_EN) $(DESTDIR)/usr/share/doc/packages/hping/docs/ + install -m 0644 $(DOCS_FR) $(DESTDIR)/usr/share/doc/packages/hping/docs/french/ strip: hping3 @ls -l ./hping3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor