[60797] trunk/dports/net/rancid/Portfile

markd at macports.org markd at macports.org
Mon Nov 23 17:00:39 PST 2009


Revision: 60797
          http://trac.macports.org/changeset/60797
Author:   markd at macports.org
Date:     2009-11-23 17:00:38 -0800 (Mon, 23 Nov 2009)
Log Message:
-----------
Update to 2.3.2.

Modified Paths:
--------------
    trunk/dports/net/rancid/Portfile

Modified: trunk/dports/net/rancid/Portfile
===================================================================
--- trunk/dports/net/rancid/Portfile	2009-11-23 20:54:31 UTC (rev 60796)
+++ trunk/dports/net/rancid/Portfile	2009-11-24 01:00:38 UTC (rev 60797)
@@ -3,7 +3,7 @@
 PortSystem	1.0
 
 name				rancid
-version				2.3.2a9
+version				2.3.2
 categories			net
 maintainers			markd
 platforms			darwin
@@ -16,7 +16,7 @@
 
 homepage			http://www.shrubbery.net/rancid
 master_sites		        ftp://ftp.shrubbery.net/pub/rancid/
-checksums			md5 9ae2aea9efa3ae094964a25e17269a02
+checksums			md5 4e2de3ff6850b311c0e2a442f7ae5d82
 
 depends_lib                     path:bin/perl:perl5 \
 				port:openssl \
@@ -26,19 +26,23 @@
 
 # RANCID needs expect version >= 5.40 and only darwin 8 and above meets this requirement
 platform darwin 7 {
-		depends_lib-append port:expect
+	depends_lib-append port:expect
 }
 
-pre-configure {
+post-patch {
+# Perform what the 2.3.2 p1 patch does
+	reinplace "s|global in_proc platform|global do_saveconfig in_proc platform|g" \
+		${worksrcpath}/bin/clogin.in
+
 # Set path for lg.conf.sample so Looking Glass will work
-		reinplace "s|@prefix@/bin|@prefix@/libexec/rancid:@prefix@/bin|g" \
-        ${worksrcpath}/etc/lg.conf.sample.in
+	reinplace "s|@prefix@/bin|@prefix@/libexec/rancid:@prefix@/bin|g" \
+		${worksrcpath}/etc/lg.conf.sample.in
 }
 
-configure.args			--localstatedir=${prefix}/var/${name} \
-				--bindir=${prefix}/libexec/${name} \
-				--sysconfdir=${prefix}/etc/${name} \
-				--mandir=\\\${prefix}/share/man
+configure.args		--localstatedir=${prefix}/var/${name} \
+			--bindir=${prefix}/libexec/${name} \
+			--sysconfdir=${prefix}/etc/${name} \
+			--mandir=\\\${prefix}/share/man
 
 post-destroot {
 		system "ln -s -f ${prefix}/libexec/${name}/rancid-cvs ${destroot}${prefix}/bin/rancid-cvs"
@@ -77,7 +81,7 @@
 	cp ${prefix}/libexec/rancid/lgform.cgi  ./
 
    Set the file permissions.  The rancid-user should also be the Apache user.
-	sudo chown -R <rancid-user>:<rancid-user> <Apache-directory>/lg
+	sudo chown -R <rancid-user>:<rancid-user> <Apache-docroot>/lg
 
 
 2) To enable the cgi's in this directory to run, set this line in your httpd.conf:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091123/a5053778/attachment.html>


More information about the macports-changes mailing list