FreeBSD Bugzilla – Attachment 143545 Details for
Bug 190806
[PATCH] net-mgmt/sendip: Unbreak, bump PORTREVISION to 2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
sendip-2.5.patch
sendip-2.5.patch (text/plain), 3.15 KB, created by
Marco Steinbach
on 2014-06-08 21:03:50 UTC
(
hide
)
Description:
sendip-2.5.patch
Filename:
MIME Type:
Creator:
Marco Steinbach
Created:
2014-06-08 21:03:50 UTC
Size:
3.15 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 357032) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= sendip > PORTVERSION= 2.5 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= net-mgmt ipv6 > MASTER_SITES= http://www.earth.li/projectpurple/files/ > >@@ -10,16 +10,19 @@ > MAINTAINER= joseph@randomnetworks.com > COMMENT= SendIP is a commandline tool to allow sending arbitrary IP packets > >+LICENSE= GPLv2 >+ >+BUILD_DEPENDS= help2man:${PORTSDIR}/misc/help2man >+ > USES= gmake perl5 >+ > USE_LDCONFIG= yes > >-MAN1= sendip.1 >+post-install: >+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sendip >+.for slib in ipv4.so ipv6.so icmp.so tcp.so udp.so rip.so ripng.so ntp.so \ >+bgp.so >+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/sendip/${slib} >+.endfor > >-NO_STAGE= yes >-.include <bsd.port.pre.mk> >- >-.if ${OSVERSION} >= 900000 >-BROKEN= does not compile on FreeBSD 9.X >-.endif >- >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> >Index: files/patch-Makefile >=================================================================== >--- files/patch-Makefile (revision 357032) >+++ files/patch-Makefile (working copy) >@@ -1,5 +1,5 @@ >---- Makefile.orig Tue Jan 28 13:03:48 2003 >-+++ Makefile Tue Jan 28 13:04:35 2003 >+--- Makefile.orig 2002-10-12 19:28:00.000000000 +0200 >++++ Makefile 2014-06-08 21:23:13.000000000 +0200 > @@ -1,23 +1,23 @@ > #configureable stuff > -PREFIX ?= /usr/local >@@ -7,9 +7,9 @@ > -MANDIR ?= $(PREFIX)/share/man/man1 > -LIBDIR ?= $(PREFIX)/lib/sendip > +#PREFIX ?= /usr/local >-+BINDIR=${PREFIX}/bin >-+MANDIR=${PREFIX}/man/man1 >-+LIBDIR=${PREFIX}/lib/sendip >++BINDIR=${DESTDIR}${PREFIX}/bin >++MANDIR=${DESTDIR}${PREFIX}/man/man1 >++LIBDIR=${DESTDIR}${PREFIX}/lib/sendip > #For most systems, this works > -INSTALL ?= install > +INSTALL?=install >@@ -16,12 +16,15 @@ > #For Solaris, you may need > #INSTALL=/usr/ucb/install > >- CFLAGS= -fPIC -fsigned-char -pipe -Wall -Wpointer-arith -Wwrite-strings \ >- -Wstrict-prototypes -Wnested-externs -Winline -Werror -g -Wcast-align \ >+-CFLAGS= -fPIC -fsigned-char -pipe -Wall -Wpointer-arith -Wwrite-strings \ >+- -Wstrict-prototypes -Wnested-externs -Winline -Werror -g -Wcast-align \ > - -DSENDIP_LIBS=\"$(LIBDIR)\" >++CFLAGS+= -fPIC -fsigned-char -pipe -Wall -Wpointer-arith -Wwrite-strings \ >++ -Wstrict-prototypes -Wnested-externs -Winline -Werror -Wcast-align \ > + -DSENDIP_LIBS=\"${LIBDIR}\" > #-Wcast-align causes problems on solaris, but not serious ones >- LDFLAGS= -g -rdynamic -lm >+-LDFLAGS= -g -rdynamic -lm >++LDFLAGS+= -rdynamic -lm > #LDFLAGS_SOLARIS= -g -lsocket -lnsl -lm > LDFLAGS_SOLARIS= -g -lsocket -lnsl -lm -ldl > LDFLAGS_LINUX= -g -rdynamic -ldl -lm >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 357032) >+++ pkg-plist (working copy) >@@ -1,11 +1,12 @@ > bin/sendip >+lib/sendip/bgp.so >+lib/sendip/icmp.so > lib/sendip/ipv4.so > lib/sendip/ipv6.so >-lib/sendip/icmp.so >+lib/sendip/ntp.so >+lib/sendip/rip.so >+lib/sendip/ripng.so > lib/sendip/tcp.so > lib/sendip/udp.so >-lib/sendip/rip.so >-lib/sendip/ripng.so >-lib/sendip/bgp.so >-lib/sendip/ntp.so >-@dirrm lib/sendip >+man/man1/sendip.1.gz >+@dirrmtry lib/sendip >--- sendip-2.5.patch ends here ---
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 190806
: 143545