ports/190079: net/iodine does not support staging
freebsd at nagilum.org
freebsd at nagilum.org
Wed May 21 17:30:01 UTC 2014
>Number: 190079
>Category: ports
>Synopsis: net/iodine does not support staging
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed May 21 17:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: freebsd at nagilum.org
>Release: FreeBSD 9.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD cakebox.tis 9.2-STABLE FreeBSD 9.2-STABLE #0 r264294M: Fri Apr 11 10:19:25 CEST 2014 root at cakebox.tis:/usr/obj/export/src/sys/net5501 i386
>Description:
net/iodine does not support staging
add license information
>How-To-Repeat:
>Fix:
Apply attached patch.
--- iodine.patch begins here ---
diff -Naur iodine.orig/Makefile iodine/Makefile
--- iodine.orig/Makefile 2014-01-22 18:00:46.000000000 +0100
+++ iodine/Makefile 2014-05-21 19:14:15.000000000 +0200
@@ -11,7 +11,9 @@
MAINTAINER= lx at FreeBSD.org
COMMENT= Tunnel IPv4 data through a DNS server
-PLIST_FILES= bin/iodine sbin/iodined
+LICENSE= BSD
+
+PLIST_FILES= bin/iodine sbin/iodined man/man8/iodine.8.gz man/man8/iodined.8.gz
PORTDOCS= CHANGELOG README TODO
@@ -20,19 +22,20 @@
USE_RC_SUBR= iodined
-NO_STAGE= yes
.include <bsd.port.pre.mk>
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/iodine ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/iodined ${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/iodine ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/iodined ${STAGEDIR}${PREFIX}/sbin
.for m in ${MAN8}
- ${INSTALL_MAN} ${WRKSRC}/man/${m} ${MANPREFIX}/man/man8
+ ${INSTALL_MAN} ${WRKSRC}/man/${m} ${STAGEDIR}${MANPREFIX}/man/man8
.endfor
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ ${GZIP_CMD} ${STAGEDIR}${MANPREFIX}/man/man8/iodine.8
+ ${LN} -s iodine.8.gz ${STAGEDIR}${MANPREFIX}/man/man8/iodined.8.gz
+.if !defined(PORT_OPTIONS:MDOCS)
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
--- iodine.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list