svn commit: r355777 - in head/net-mgmt/isic: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri May 30 05:31:27 UTC 2014
Author: sunpoet
Date: Fri May 30 05:31:26 2014
New Revision: 355777
URL: http://svnweb.freebsd.org/changeset/ports/355777
QAT: https://qat.redports.org/buildarchive/r355777/
Log:
- Add LICENSE
- Strip binary executable
- Support STAGEDIR
- Bump PORTREVISION for package change
- Pass maintainership to submitter
- While I'm here:
- Use USES=tar:tgz
- Update patch
- Sort PLIST
PR: ports/190263
Submitted by: Muhammad Moinur Rahman <5u623l20 at gmail.com>
Added:
head/net-mgmt/isic/files/patch-Makefile.in (contents, props changed)
Modified:
head/net-mgmt/isic/Makefile
head/net-mgmt/isic/pkg-plist
Modified: head/net-mgmt/isic/Makefile
==============================================================================
--- head/net-mgmt/isic/Makefile Fri May 30 05:31:20 2014 (r355776)
+++ head/net-mgmt/isic/Makefile Fri May 30 05:31:26 2014 (r355777)
@@ -3,27 +3,32 @@
PORTNAME= isic
PORTVERSION= 0.07
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net-mgmt
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/ISIC%20v${PORTVERSION}
-EXTRACT_SUFX= .tgz
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= 5u623l20 at gmail.com
COMMENT= IP Stack Integrity Checker
-LIB_DEPENDS= net:${PORTSDIR}/net/libnet
+LICENSE= BSD2CLAUSE
-GNU_CONFIGURE= yes
+LIB_DEPENDS= libnet.so:${PORTSDIR}/net/libnet
-MAN1= isic.1
+GNU_CONFIGURE= yes
+USES= tar:tgz
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
-NO_STAGE= yes
+.include <bsd.port.pre.mk>
+
post-patch:
+.if ${OSVERSION} > 900000
+ @${REINPLACE_CMD} -e 's|2147483647|2147483645|' \
+ ${WRKSRC}/isic.h
+.endif
@${REINPLACE_CMD} -e 's|-lnet|`${LIBNET_CONFIG} --libs`|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's|libnet-config|${LIBNET_CONFIG}|' \
${WRKSRC}/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Added: head/net-mgmt/isic/files/patch-Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/isic/files/patch-Makefile.in Fri May 30 05:31:26 2014 (r355777)
@@ -0,0 +1,14 @@
+--- Makefile.in.orig 2014-05-30 10:56:25.545291396 +0800
++++ Makefile.in 2014-05-30 10:59:03.796118183 +0800
+@@ -63,7 +63,7 @@
+ tar -czvf isic-$(VERSION).tgz ./isic-$(VERSION)/* )
+
+ install: $(BINS) $(MAN)
+- $(INSTALL) -m 0755 -d $(PREFIX)/bin
+- $(INSTALL) -m 0755 -c $(BINS) $(PREFIX)/bin
+- $(INSTALL) -m 0755 -d $(PREFIX)/man/man1
+- ${INSTALL} -m 0755 -c $(MAN) $(PREFIX)/man/man1
++ $(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/bin
++ $(BSD_INSTALL_PROGRAM) -c $(BINS) $(DESTDIR)$(PREFIX)/bin
++ $(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/man/man1
++ $(BSD_INSTALL_MAN) -c $(MAN) $(DESTDIR)$(PREFIX)/man/man1
Modified: head/net-mgmt/isic/pkg-plist
==============================================================================
--- head/net-mgmt/isic/pkg-plist Fri May 30 05:31:20 2014 (r355776)
+++ head/net-mgmt/isic/pkg-plist Fri May 30 05:31:26 2014 (r355777)
@@ -1,10 +1,11 @@
-bin/isic
-bin/tcpsic
-bin/udpsic
-bin/icmpsic
bin/esic
-bin/multisic
+bin/icmpsic
+bin/icmpsic6
+bin/isic
bin/isic6
+bin/multisic
+bin/tcpsic
bin/tcpsic6
+bin/udpsic
bin/udpsic6
-bin/icmpsic6
+man/man1/isic.1.gz
More information about the svn-ports-all
mailing list