Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2014 19:24:49 +0200 (CEST)
From:      freebsd@nagilum.org
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        lx@FreeBSD.org
Subject:   ports/190079: net/iodine does not support staging
Message-ID:  <20140521172449.5A34C2D508D@cakebox.homeunix.net>
Resent-Message-ID: <201405211730.s4LHU0qp035870@freefall.freebsd.org>

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

>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@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@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@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:



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