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

markd at macports.org markd at macports.org
Wed Jan 12 16:29:12 PST 2011


Revision: 75040
          http://trac.macports.org/changeset/75040
Author:   markd at macports.org
Date:     2011-01-12 16:29:04 -0800 (Wed, 12 Jan 2011)
Log Message:
-----------
Update to 2.3.4 and convert ui_msg to notes.

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

Modified: trunk/dports/net/rancid/Portfile
===================================================================
--- trunk/dports/net/rancid/Portfile	2011-01-12 22:04:05 UTC (rev 75039)
+++ trunk/dports/net/rancid/Portfile	2011-01-13 00:29:04 UTC (rev 75040)
@@ -3,8 +3,7 @@
 PortSystem	1.0
 
 name				rancid
-version				2.3.2
-revision        1
+version				2.3.4
 categories			net
 maintainers			markd
 platforms			darwin
@@ -17,7 +16,7 @@
 
 homepage			http://www.shrubbery.net/rancid
 master_sites		        ftp://ftp.shrubbery.net/pub/rancid/
-checksums			md5 4e2de3ff6850b311c0e2a442f7ae5d82
+checksums			md5 763072996e7c05a36d8f69f32de48ac7
 
 depends_lib                     path:bin/perl:perl5 \
 				port:openssl \
@@ -26,10 +25,6 @@
 patchfiles			patch-etc-Makefile.in
 
 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
@@ -45,8 +40,9 @@
 	        system "ln -s -f ${prefix}/libexec/${name}/rancid-run ${destroot}${prefix}/bin/rancid-run"
 }
 
-post-activate {
-		ui_msg "\n
+notes \
+"#### To complete the RANCID installation ####
+
 Copy the sample .cloginrc file to the RANCID user's home directory,
 make sure it isn't world readable, and edit it according to your needs.
 
@@ -73,6 +69,7 @@
 	sudo cp ${prefix}/share/rancid/lgnotes.html ./
 
    Copy the .cgi's to the Apache document root
+	cd <Apache-directory>/lg
 	cp ${prefix}/libexec/rancid/lg.cgi      ./
 	cp ${prefix}/libexec/rancid/lgform.cgi  ./
 
@@ -87,6 +84,4 @@
 	</Directory>
 
 
-3) Goto url http://localhost/lg with a web browser to use the looking glass.
-\n"
-}
+3) Goto url http://localhost/lg with a web browser to use the looking glass."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110112/9119a651/attachment.html>


More information about the macports-changes mailing list