From owner-svn-ports-head@FreeBSD.ORG Sun Dec 22 06:02:40 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 ESMTPS id 33C805EA; Sun, 22 Dec 2013 06:02:40 +0000 (UTC) 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 1FEAA1273; Sun, 22 Dec 2013 06:02:40 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBM62dMi003170; Sun, 22 Dec 2013 06:02:39 GMT (envelope-from jgh@svn.freebsd.org) Received: (from jgh@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBM62dnh003166; Sun, 22 Dec 2013 06:02:39 GMT (envelope-from jgh@svn.freebsd.org) Message-Id: <201312220602.rBM62dnh003166@svn.freebsd.org> From: Jason Helfman Date: Sun, 22 Dec 2013 06:02:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337174 - head/net/svnup 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.17 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: Sun, 22 Dec 2013 06:02:40 -0000 Author: jgh Date: Sun Dec 22 06:02:39 2013 New Revision: 337174 URL: http://svnweb.freebsd.org/changeset/ports/337174 Log: - update to 1.01 [1] - add europe mirror in svnup.conf [2] - while here convert to staging PR: 182149 Submitted by: jcm@visi.com (maintainer) [1], mspil.oss@gmail.com [2] Modified: head/net/svnup/Makefile head/net/svnup/distinfo head/net/svnup/pkg-plist Modified: head/net/svnup/Makefile ============================================================================== --- head/net/svnup/Makefile Sun Dec 22 03:31:32 2013 (r337173) +++ head/net/svnup/Makefile Sun Dec 22 06:02:39 2013 (r337174) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= svnup -PORTVERSION= 1.0 +PORTVERSION= 1.01 CATEGORIES= net MASTER_SITES= http://jcm.dsl.visi.com/freebsd/svnup/ \ LOCAL/jgh/net/${PORTNAME}/ @@ -14,13 +14,9 @@ LICENSE= BSD LDFLAGS+= -lmd -lssl USE_XZ= yes -MAN1= ${PORTNAME}.1 -MAN5= ${PORTNAME}.conf.5 -PORTDOCS= ChangeLog - -NO_STAGE= yes post-patch-script: - @${REINPLACE_CMD} -e 's|8.3|${OSREL}|' ${WRKSRC}/svnup.conf + @${REINPLACE_CMD} -e 's|\/stable\/8|\/stable\/${OSREL:R}|' ${WRKSRC}/svnup.conf + @${REINPLACE_CMD} -e 's|\/releng\/8.3|\/releng\/${OSREL}|' ${WRKSRC}/svnup.conf do-build: cd ${WRKSRC} && \ @@ -29,21 +25,19 @@ do-build: .include do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1 - ${INSTALL_MAN} ${WRKSRC}/${MAN5} ${MAN5PREFIX}/man/man5 + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.conf.5 ${STAGEDIR}${MAN5PREFIX}/man/man5 post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR} -.endif - @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample - @if [ ! -e "${PREFIX}/etc/${PORTNAME}.conf" ]; then \ - ${ECHO_MSG} " Installing local configuration file: ${PREFIX}/etc/${PORTNAME}.conf"; \ - ${CP} ${PREFIX}/etc/${PORTNAME}.conf.sample ${PREFIX}/etc/${PORTNAME}.conf; \ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample + @if [ ! -e "${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf" ]; then \ + ${ECHO_MSG} " Installing local configuration file: ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf"; \ + ${CP} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf; \ else \ - ${ECHO_MSG} " Preserving local configuration file: ${ETCDIR}/${PORTNAME}.conf"; \ + ${ECHO_MSG} " Preserving local configuration file: ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf"; \ fi .include Modified: head/net/svnup/distinfo ============================================================================== --- head/net/svnup/distinfo Sun Dec 22 03:31:32 2013 (r337173) +++ head/net/svnup/distinfo Sun Dec 22 06:02:39 2013 (r337174) @@ -1,2 +1,2 @@ -SHA256 (svnup-1.0.tar.xz) = 6d09980a0881e681fabd00c63cabd6f2bb80d3f2cb5f02212297533011e25a97 -SIZE (svnup-1.0.tar.xz) = 18440 +SHA256 (svnup-1.01.tar.xz) = 52d94ca71a46fd8bda9c6a4a042acca4b49413271a3b140db0501cf7051550e2 +SIZE (svnup-1.01.tar.xz) = 18492 Modified: head/net/svnup/pkg-plist ============================================================================== --- head/net/svnup/pkg-plist Sun Dec 22 03:31:32 2013 (r337173) +++ head/net/svnup/pkg-plist Sun Dec 22 06:02:39 2013 (r337174) @@ -1,4 +1,6 @@ bin/svnup +man/man1/svnup.1.gz +man/man5/svnup.conf.5.gz @unexec if cmp -s %D/etc/svnup.conf.sample %D/etc/svnup.conf; then rm -f %D/etc/svnup.conf; else echo "If permanently removing this package, then please consider removing %D/etc/svnup.conf" ;fi etc/svnup.conf.sample @exec if [ ! -f %D/etc/svnup.conf ] ; then cp -p %D/etc/svnup.conf.sample %D/etc/svnup.conf; fi