From owner-svn-ports-head@FreeBSD.ORG Wed Oct 23 12:35:06 2013 Return-Path: Delivered-To: svn-ports-head@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 ESMTP id D6A2E8C7; Wed, 23 Oct 2013 12:35:06 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C14752B2D; Wed, 23 Oct 2013 12:35:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9NCZ6pd067515; Wed, 23 Oct 2013 12:35:06 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9NCZ4Yh067496; Wed, 23 Oct 2013 12:35:04 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201310231235.r9NCZ4Yh067496@svn.freebsd.org> From: Emanuel Haupt Date: Wed, 23 Oct 2013 12:35:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331381 - in head/security: cksfv idea op pkcrack proxytunnel pure-sfv ssh-copy-id tthsum tthsum/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 12:35:06 -0000 Author: ehaupt Date: Wed Oct 23 12:35:04 2013 New Revision: 331381 URL: http://svnweb.freebsd.org/changeset/ports/331381 Log: Support staging. Modified: head/security/cksfv/Makefile head/security/idea/Makefile head/security/idea/pkg-plist head/security/op/Makefile head/security/op/pkg-plist head/security/pkcrack/Makefile head/security/proxytunnel/Makefile head/security/pure-sfv/Makefile head/security/ssh-copy-id/Makefile head/security/tthsum/Makefile head/security/tthsum/files/patch-Makefile Modified: head/security/cksfv/Makefile ============================================================================== --- head/security/cksfv/Makefile Wed Oct 23 12:31:45 2013 (r331380) +++ head/security/cksfv/Makefile Wed Oct 23 12:35:04 2013 (r331381) @@ -15,26 +15,24 @@ LICENSE= GPLv2 HAS_CONFIGURE= yes CONFIGURE_ARGS= --mandir=${PREFIX}/man --prefix=${PREFIX} -MAN1= cksfv.1 -PLIST_FILES= bin/cksfv +PLIST_FILES= bin/cksfv man/man1/cksfv.1.gz PORTDOCS= README ChangeLog OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include post-patch: @${REINPLACE_CMD} -e 's|^\(CC\)=|\1?=|' ${WRKSRC}/src/Makefile.in do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .endif Modified: head/security/idea/Makefile ============================================================================== --- head/security/idea/Makefile Wed Oct 23 12:31:45 2013 (r331380) +++ head/security/idea/Makefile Wed Oct 23 12:35:04 2013 (r331381) @@ -15,12 +15,8 @@ COMMENT= Command-line IDEA encryption an WRKSRC= ${WRKDIR}/${PORTNAME} -MANL= idea.l -MANCOMPRESSED= no - OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include do-build: @@ -28,14 +24,15 @@ do-build: -o ${WRKSRC}/${PORTNAME} do-install: - ${INSTALL_MAN} ${WRKSRC}/manl/idea.l ${PREFIX}/man/manl - ${INSTALL_PROGRAM} -m 0555 ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/Examples ${EXAMPLESDIR} + ${INSTALL_MAN} ${WRKSRC}/manl/idea.l ${STAGEDIR}${PREFIX}/man/manl + ${INSTALL_PROGRAM} -m 0555 ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/Examples ${STAGEDIR}${EXAMPLESDIR} .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/byte_ord.ps ${WRKSRC}/idea_cmd.txt ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/byte_ord.ps ${WRKSRC}/idea_cmd.txt \ + ${STAGEDIR}${DOCSDIR} .endif .include Modified: head/security/idea/pkg-plist ============================================================================== --- head/security/idea/pkg-plist Wed Oct 23 12:31:45 2013 (r331380) +++ head/security/idea/pkg-plist Wed Oct 23 12:35:04 2013 (r331381) @@ -1,4 +1,5 @@ bin/idea +man/manl/idea.l.gz %%PORTDOCS%%%%DOCSDIR%%/idea_cmd.txt %%PORTDOCS%%%%DOCSDIR%%/byte_ord.ps %%EXAMPLESDIR%%/Examples Modified: head/security/op/Makefile ============================================================================== --- head/security/op/Makefile Wed Oct 23 12:31:45 2013 (r331380) +++ head/security/op/Makefile Wed Oct 23 12:35:04 2013 (r331381) @@ -12,16 +12,14 @@ COMMENT= Controlled privilege escalation GNU_CONFIGURE= yes -MAN1= op.1 - -NO_STAGE= yes post-install: - ${MKDIR} ${PREFIX}/etc/op.d + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/op.d ${INSTALL_DATA} -m 0600 ${WRKSRC}/${PORTNAME}.conf \ - ${PREFIX}/etc/${PORTNAME}.conf.sample + ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample -.if !exists(${PREFIX}/etc/${PORTNAME}.conf) - ${INSTALL_DATA} -m 0600 ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc +.if !exists(${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf) + ${INSTALL_DATA} -m 0600 ${WRKSRC}/${PORTNAME}.conf \ + ${STAGEDIR}${PREFIX}/etc .endif .include Modified: head/security/op/pkg-plist ============================================================================== --- head/security/op/pkg-plist Wed Oct 23 12:31:45 2013 (r331380) +++ head/security/op/pkg-plist Wed Oct 23 12:35:04 2013 (r331381) @@ -1,3 +1,5 @@ +@comment $FreeBSD$ +man/man1/op.1.gz @unexec if cmp -s %D/etc/op.conf %D/etc/op.conf.sample; then rm -f %D/etc/op.conf; fi etc/op.conf.sample @exec [ -f %B/op.conf ] || cp %B/%f %B/op.conf Modified: head/security/pkcrack/Makefile ============================================================================== --- head/security/pkcrack/Makefile Wed Oct 23 12:31:45 2013 (r331380) +++ head/security/pkcrack/Makefile Wed Oct 23 12:35:04 2013 (r331381) @@ -18,22 +18,21 @@ PORTDOCS= README pkzip.ps.gz OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include do-install: .for f in pkcrack zipdecrypt - ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor # these file names are too generic .for f in extract findkey makekey - ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin/pk${f} + ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin/pk${f} .endfor .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/${f} ${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/${f} ${STAGEDIR}${DOCSDIR} .endfor .endif Modified: head/security/proxytunnel/Makefile ============================================================================== --- head/security/proxytunnel/Makefile Wed Oct 23 12:31:45 2013 (r331380) +++ head/security/proxytunnel/Makefile Wed Oct 23 12:35:04 2013 (r331381) @@ -14,12 +14,10 @@ USES= pkgconfig gmake ALL_TARGET= ${PORTNAME} -MAN1= proxytunnel.1 -PLIST_FILES= bin/proxytunnel +PLIST_FILES= bin/proxytunnel man/man1/proxytunnel.1.gz -NO_STAGE= yes do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include Modified: head/security/pure-sfv/Makefile ============================================================================== --- head/security/pure-sfv/Makefile Wed Oct 23 12:31:45 2013 (r331380) +++ head/security/pure-sfv/Makefile Wed Oct 23 12:35:04 2013 (r331381) @@ -21,7 +21,6 @@ PORTDOCS= ReadMe.txt OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include post-patch: @@ -29,11 +28,11 @@ post-patch: ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif .include Modified: head/security/ssh-copy-id/Makefile ============================================================================== --- head/security/ssh-copy-id/Makefile Wed Oct 23 12:31:45 2013 (r331380) +++ head/security/ssh-copy-id/Makefile Wed Oct 23 12:35:04 2013 (r331381) @@ -12,10 +12,8 @@ COMMENT= Small script which copies your NO_BUILD= yes -MAN1= ssh-copy-id.1 -PLIST_FILES= bin/ssh-copy-id +PLIST_FILES= bin/ssh-copy-id man/man1/ssh-copy-id.1.gz -NO_STAGE= yes .include .if ${OSVERSION} >= 1000024 @@ -28,7 +26,7 @@ pre-patch: .endfor do-install: - ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_MAN} ${WRKDIR}/${MAN1} ${MANPREFIX}/man/man1 + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKDIR}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include Modified: head/security/tthsum/Makefile ============================================================================== --- head/security/tthsum/Makefile Wed Oct 23 12:31:45 2013 (r331380) +++ head/security/tthsum/Makefile Wed Oct 23 12:35:04 2013 (r331381) @@ -15,15 +15,13 @@ LICENSE= GPLv3 CONFLICTS= microdc2-[0-9]* USES= gmake -MANCOMPRESSED= yes -MAN1= tthsum.1 -PLIST_FILES= bin/tthsum +PLIST_FILES= bin/tthsum man/man1/tthsum.1.gz +MAKE_ENV+= STAGEDIR=${STAGEDIR} WRKSRC= ${WRKDIR}/${PORTNAME} regression-test: build @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} test runtest -NO_STAGE= yes .include Modified: head/security/tthsum/files/patch-Makefile ============================================================================== --- head/security/tthsum/files/patch-Makefile Wed Oct 23 12:31:45 2013 (r331380) +++ head/security/tthsum/files/patch-Makefile Wed Oct 23 12:35:04 2013 (r331381) @@ -29,9 +29,9 @@ - install $(BINS)/tthsum $(BIN) - install -m644 $(SHARES)/tthsum.1.gz $(MAN)/man1 +install: tthsum manual -+ install -d $(BIN) $(MANPREFIX)/man/man1 -+ install $(BINS)/tthsum $(PREFIX)/bin -+ install -m644 $(SHARES)/tthsum.1.gz $(MANPREFIX)/man/man1 ++ install -d $(BIN) $(STAGEDIR)$(MANPREFIX)/man/man1 ++ install $(BINS)/tthsum $(STAGEDIR)$(PREFIX)/bin ++ install -m644 $(SHARES)/tthsum.1.gz $(STAGEDIR)$(MANPREFIX)/man/man1 uninstall: $(RM) $(BIN)/tthsum