Bug 190263 - [PATCH] net-mgmt/isic: Added STAGE support, take maintainership
Summary: [PATCH] net-mgmt/isic: Added STAGE support, take maintainership
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-26 14:00 UTC by Muhammad Moinur Rahman
Modified: 2014-05-30 06:40 UTC (History)
0 users

See Also:


Attachments
isic-0.07.patch (2.52 KB, patch)
2014-05-26 14:00 UTC, Muhammad Moinur Rahman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Muhammad Moinur Rahman freebsd_committer 2014-05-26 14:00:00 UTC
- Added LICENSE
- Added STAGE Support
- Take maintainership

Generated with FreeBSD Port Tools 1.02 (mode: change, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer 2014-05-26 14:00:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

sunpoet@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2014-05-30 06:31:30 UTC
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@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@FreeBSD.org
+MAINTAINER=	5u623l20@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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Po-Chuan Hsieh freebsd_committer 2014-05-30 06:33:51 UTC
State Changed
From-To: open->closed

Committed. Thanks!