ports/145177: [PATCH] Add option to use svn instead of cvs for rancid port
Stephen Fisher
steve at stephen-fisher.com
Mon Mar 29 18:20:04 UTC 2010
>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 at 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:
More information about the freebsd-ports-bugs
mailing list