From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 26 13:00:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B794E4DD for ; Mon, 26 May 2014 13:00:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 922442037 for ; Mon, 26 May 2014 13:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4QD00Gh080716 for ; Mon, 26 May 2014 13:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4QD00Qq080715; Mon, 26 May 2014 13:00:00 GMT (envelope-from gnats) Resent-Date: Mon, 26 May 2014 13:00:00 GMT Resent-Message-Id: <201405261300.s4QD00Qq080715@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Muhammad Moinur Rahman <5u623l20@gmail.com> Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A58111BE for ; Mon, 26 May 2014 12:51:35 +0000 (UTC) Received: from bofh.1asiacom.net (bofh.1asiacom.net [103.4.110.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "bofh.1asiacom.net", Issuer "bofh.1asiacom.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E1EC32FE8 for ; Mon, 26 May 2014 12:51:34 +0000 (UTC) Received: from bofh.1asiacom.net (localhost [127.0.0.1]) by bofh.1asiacom.net (8.14.8/8.14.8) with ESMTP id s4QCpUR4078542 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 26 May 2014 18:51:30 +0600 (BDT) (envelope-from bofh@bofh.1asiacom.net) Received: (from root@localhost) by bofh.1asiacom.net (8.14.8/8.14.8/Submit) id s4QCpSsw078541; Mon, 26 May 2014 18:51:28 +0600 (BDT) (envelope-from bofh) Message-Id: <201405261251.s4QCpSsw078541@bofh.1asiacom.net> Date: Mon, 26 May 2014 18:51:28 +0600 (BDT) From: Muhammad Moinur Rahman <5u623l20@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/190263: [PATCH] net-mgmt/isic: Added STAGE support, take maintainership X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2014 13:00:00 -0000 >Number: 190263 >Category: ports >Synopsis: [PATCH] net-mgmt/isic: Added STAGE support, take maintainership >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 26 13:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Muhammad Moinur Rahman >Release: FreeBSD 11.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD bofh.1asiacom.net 11.0-CURRENT FreeBSD 11.0-CURRENT #2 r265972: Wed May 14 02:05:04 BDT >Description: - Added LICENSE - Added STAGE Support - Take maintainership Generated with FreeBSD Port Tools 1.02 (mode: change, diff: ports) >How-To-Repeat: >Fix: --- isic-0.07.patch begins here --- diff -ruN /usr/ports//net-mgmt/isic/Makefile ./Makefile --- /usr/ports//net-mgmt/isic/Makefile 2013-09-21 04:24:43.000000000 +0600 +++ ./Makefile 2014-05-26 18:16:55.008383175 +0600 @@ -3,27 +3,39 @@ 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 +BINS= isic tcpsic udpsic icmpsic esic multisic isic6 tcpsic6 udpsic6 icmpsic6 LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config -NO_STAGE= yes +.include 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 + @${REINPLACE_CMD} -e 's|%%STAGEDIR%%%%PREFIX%%|${STAGEDIR}${PREFIX}|' \ + ${WRKSRC}/Makefile.in + +post-install: +.for f in ${BINS} + ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin +.endfor -.include +.include diff -ruN /usr/ports//net-mgmt/isic/files/patch-Makefile.in ./files/patch-Makefile.in --- /usr/ports//net-mgmt/isic/files/patch-Makefile.in 1970-01-01 06:00:00.000000000 +0600 +++ ./files/patch-Makefile.in 2014-05-26 17:09:10.234663324 +0600 @@ -0,0 +1,19 @@ +--- Makefile.in.orig 2014-05-26 16:56:22.485716840 +0600 ++++ Makefile.in 2014-05-26 16:57:01.753737962 +0600 +@@ -2,7 +2,7 @@ + # To build for Trinux, add '-static' to LDFLAGS + # and 'strip *sic' after they compile + +-PREFIX = @prefix@ ++PREFIX = %%STAGEDIR%%%%PREFIX%% + CC = @CC@ + DEFS = @DEFS@ `libnet-config --defines` + CFLAGS = @CFLAGS@ `libnet-config --cflags` +@@ -63,7 +63,4 @@ + 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 diff -ruN /usr/ports//net-mgmt/isic/pkg-plist ./pkg-plist --- /usr/ports//net-mgmt/isic/pkg-plist 2014-01-22 21:16:56.000000000 +0600 +++ ./pkg-plist 2014-05-26 16:26:37.532840751 +0600 @@ -8,3 +8,4 @@ bin/tcpsic6 bin/udpsic6 bin/icmpsic6 +man/man1/isic.1.gz --- isic-0.07.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: