Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Apr 2013 11:57:15 -0400
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/177614: [update] net/svnup to 0.60
Message-ID:  <20130403155715.GA3082@exodus.zi0r.com>
In-Reply-To: <201304031530.r33FU1Bl098004@freefall.freebsd.org>
References:  <201304031526.r33FQLUu090879@red.freebsd.org> <201304031530.r33FU1Bl098004@freefall.freebsd.org>

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

--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline

Attached is an updated diff that adds the man page and a sample config.
It also sets the release variable in the config file to match the major
release of the current system.

--17pEHd4RhPHOinZp
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="svnup.diff"

Index: distinfo
===================================================================
--- distinfo	(revision 315709)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (svnup-0.56.tar.xz) = ef7bf9d6e11d7333d459e770e94dd9062219b7b174781b9f8e63bbc3b2926a03
-SIZE (svnup-0.56.tar.xz) = 9536
+SHA256 (svnup-0.60.tar.xz) = c0017f4f59f44581ad6ff48b10cad051cf3bdcc9b01856a4948413121a8477d5
+SIZE (svnup-0.60.tar.xz) = 15516
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 0)
+++ pkg-plist	(working copy)
@@ -0,0 +1,4 @@
+@comment $FreeBSD$
+bin/svnup
+@unexec if cmp  -s %D/etc/svnup.conf.sample %D/etc/svnup.conf; then rm -f %D/etc/svnup.conf; fi
+etc/svnup.conf.sample

Property changes on: pkg-plist
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Index: Makefile
===================================================================
--- Makefile	(revision 315709)
+++ Makefile	(working copy)
@@ -1,27 +1,38 @@
 # $FreeBSD$
 
 PORTNAME=	svnup
-PORTVERSION=	0.56
+PORTVERSION=	0.60
 CATEGORIES=	net
-MASTER_SITES=	http://jcm.dsl.visi.com/freebsd/svnup/
+MASTER_SITES=	http://jcm.dsl.visi.com/freebsd/svnup/ \
+    		http://mirrors.rit.edu/zi/
 
 MAINTAINER=	jcm@visi.com
 COMMENT=	Lightweight program to pull source using the svn protocol
 
 LICENSE=	BSD
 
-LDFLAGS+=	-lmd
-USE_XZ=	yes
+LDFLAGS+=	-lmd -lssl
+USE_XZ=		yes
 
-MAN1=	${PORTNAME}.1
-PLIST_FILES=	bin/${PORTNAME}
+MAN1=		${PORTNAME}.1
+MAN5=		${PORTNAME}.conf.5
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|8.3|${OSREL}|' ${WRKSRC}/svnup.conf
+
 do-build:
 	cd ${WRKSRC} && \
 		${CC} -o ${PORTNAME} ${CFLAGS} ${PORTNAME}.c ${LDFLAGS}
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+	${INSTALL_DATA} ${WRKSRC}/svnup.conf ${PREFIX}/etc/svnup.conf.sample
 	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1/
+	${INSTALL_MAN} ${WRKSRC}/${MAN5} ${MAN1PREFIX}/man/man5/
 
+post-install:
+	@if [ ! -f ${PREFIX}/etc/svnp.conf ]; then \
+	    	${CP} -p ${WRKSRC}/svnup.conf ${PREFIX}/etc/svnup.conf ; \
+	fi
+
 .include <bsd.port.mk>

--17pEHd4RhPHOinZp--



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