Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2007 09:50:30 +0200 (CEST)
From:      Janos Mohacsi <janos.mohacsi@bsd.hu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/115748: [MAINTAINER] net/ipv6socket_scrub: [update to ports standards]
Message-ID:  <200708230750.l7N7oUiV098164@scone.ki.iif.hu>
Resent-Message-ID: <200708230800.l7N80EmB059966@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         115748
>Category:       ports
>Synopsis:       [MAINTAINER] net/ipv6socket_scrub: [update to ports standards]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 23 08:00:13 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Janos Mohacsi
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
NIIF/HUNGARNET
>Environment:
System: FreeBSD scone.ki.iif.hu 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Jun 27 18:22:17 CEST 2007
>Description:
Changes:
- Update to new ports standars:
  - RESTRICTED handled more properly 
  - update the checksums
  - installing Copyright agreement and README

Added file(s):
- pkg-plist

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- ipv6socket_scrub-1.0_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/ipv6socket_scrub.orig/Makefile /usr/ports/net/ipv6socket_scrub/Makefile
--- /usr/ports/net/ipv6socket_scrub.orig/Makefile	2007-07-16 11:26:59.000000000 +0200
+++ /usr/ports/net/ipv6socket_scrub/Makefile	2007-08-23 09:45:11.000000000 +0200
@@ -6,6 +6,7 @@
 
 PORTNAME=	ipv6socket_scrub
 PORTVERSION=	1.0
+PORTREVISION=	1
 CATEGORIES=	net devel ipv6
 MASTER_SITES=	#http://www.sun.com/download/index.jsp?cat=Operating%20Systems&tab=3
 DISTNAME=	IPv6socket_scrub
@@ -15,26 +16,27 @@
 COMMENT=	Checks IPv6 portability of C source code
 
 MAN1=		ipv6socket_scrub.1
-PLIST_FILES=	bin/ipv6socket_scrub
 
 WRKSRC=			${WRKDIR}/${DISTNAME}/src
-RESTRICTED=		"not redistributable, license agreement required"
+RESTRICTED=		not redistributable, license agreement required
 
-.if !defined(PACKAGE_BUILDING)
-do-fetch:
-	@if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
-	${ECHO} '======================================================='; \
-	${ECHO} 'You need to sign the agreement on http://www.sun.com/download/index.jsp?cat=Operating%20Systems&tab=3'; \
-	${ECHO} 'and fetch on your own.'; \
-	${ECHO} 'Once ${DISTFILES} has been downloaded, move it to '; \
-	${ECHO} '${DISTDIR} and then restart this build '; \
-	${ECHO} '======================================================='; \
-	fi
+PORT_DOCS=	Copyright README
+
+.include <bsd.port.pre.mk>
+
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
+IGNORE=	you need to sign the agreement on http://www.sun.com/download/index.jsp?cat=Operating%20Systems&tab=3 and download it and place to ${DISTDIR} and then restart this build
 .endif
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/ipv6socket_scrub ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/../Docs/man/man1/ipv6socket_scrub.1 \
 		${PREFIX}/man/man1
+.if !defined (NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+.for doc in ${PORTDOCS}
+	${INSTALL_MAN} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
+.endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/net/ipv6socket_scrub.orig/distinfo /usr/ports/net/ipv6socket_scrub/distinfo
--- /usr/ports/net/ipv6socket_scrub.orig/distinfo	2002-04-22 15:14:47.000000000 +0200
+++ /usr/ports/net/ipv6socket_scrub/distinfo	2007-08-23 09:16:50.000000000 +0200
@@ -1 +1,3 @@
 MD5 (IPv6socket_scrub.tar) = 5e61107af752b3e97ace852c481e45b7
+SHA256 (IPv6socket_scrub.tar) = b364ada8f677c049e58afeef67046af5943edff838c69fc0dcc010a659f2fa8b
+SIZE (IPv6socket_scrub.tar) = 160768
diff -ruN --exclude=CVS /usr/ports/net/ipv6socket_scrub.orig/pkg-plist /usr/ports/net/ipv6socket_scrub/pkg-plist
--- /usr/ports/net/ipv6socket_scrub.orig/pkg-plist	1970-01-01 01:00:00.000000000 +0100
+++ /usr/ports/net/ipv6socket_scrub/pkg-plist	2007-08-23 09:43:56.000000000 +0200
@@ -0,0 +1,2 @@
+bin/ipv6socket_scrub
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- ipv6socket_scrub-1.0_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708230750.l7N7oUiV098164>