Date: Mon, 29 Mar 2010 18:16:36 GMT From: Stephen Fisher <steve@stephen-fisher.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/145177: [PATCH] Add option to use svn instead of cvs for rancid port Message-ID: <201003291816.o2TIGaoi077812@www.freebsd.org> Resent-Message-ID: <201003291820.o2TIK4jv030695@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 145177 >Category: ports >Synopsis: [PATCH] Add option to use svn instead of cvs for rancid port >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 29 18:20:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Stephen Fisher >Release: 8.0-RELEASE >Organization: >Environment: FreeBSD netmon.citylinkfiber.net 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 16:02:27 UTC 2010 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: The attached patch adds an option to use svn instead of cvs for the repository for the rancid and rancid-devel ports under the net-mgmt category. The same patch may be applied to both ports. This option is enabled by passing --with-svn to the configure script. The port's config option for this is disabled by default to match the default behavior of the configure script. I don't feel that this change warrants a bump of the port revision number because it is only useful for new installations. >How-To-Repeat: n/a >Fix: n/a Patch attached with submission follows: --- Makefile.orig 2010-03-29 11:03:48.000000000 -0600 +++ Makefile 2010-03-29 12:00:39.000000000 -0600 @@ -46,6 +46,14 @@ NEWERCONFIG_FILES2= etc/lg.conf NEWCONFIG_FILES= rancid.conf lg.conf +OPTIONS= SVN "Use Subversion instead of CVS" Off +.include <bsd.port.options.mk> + +.if defined(WITH_SVN) +CONFIGURE_ARGS+= --with-svn +BUILD_DEPENDS+= svn:${PORTSDIR}/devel/subversion +.endif + pre-everything:: @ ${ECHO} "Make sure your rancid repository is quiet before upgrading; disable rancid cron jobs" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003291816.o2TIGaoi077812>