[19508] trunk/dports/net/rancid/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Tue Sep 12 12:33:32 PDT 2006
Revision: 19508
Author: markd at macports.org
Date: 2006-09-12 12:33:30 -0700 (Tue, 12 Sep 2006)
Log Message:
-----------
No ticket. Decided looking glass does not need to be a variant. Corrected ui_msg's.
Modified Paths:
--------------
trunk/dports/net/rancid/Portfile
Modified: trunk/dports/net/rancid/Portfile
===================================================================
--- trunk/dports/net/rancid/Portfile 2006-09-12 18:41:10 UTC (rev 19507)
+++ trunk/dports/net/rancid/Portfile 2006-09-12 19:33:30 UTC (rev 19508)
@@ -4,7 +4,7 @@
name rancid
version 2.3.1
-revision 2
+revision 3
categories net
maintainers markd at opendarwin.org
platforms darwin
@@ -19,7 +19,9 @@
master_sites ftp://ftp.shrubbery.net/pub/rancid/
checksums md5 b188595e528515b4f87078f63936d355
-depends_lib port:openssl
+depends_lib port:perl5.8 \
+ port:openssl \
+ port:p5-lockfile-simple
# RANCID needs at least expect version 5.40 and only darwin 8 meets the requirement
platform darwin 7 {
@@ -30,14 +32,6 @@
depends_lib-append port:expect
}
-variant looking_glass {
-# The looking-glass service is used to run status check commands
-# (show ip route, show run, etc) against your devices via a web form.
-
- depends_lib-append port:p5-lockfile-simple
-}
-
-
pre-configure {
# Fix broken DESTDIR support
reinplace "s|@bindir@|${destroot}@bindir@|g" \
@@ -71,12 +65,13 @@
cp ${prefix}/share/rancid/cloginrc.sample ~/.cloginrc
sudo chmod 640 ~/.cloginrc
-See the README file in ${prefix}/share/rancid for more information.\n"
-if { [variant_isset looking_glass] } {
-ui_msg "\n
-To use the looking-glass service to run status check commands
-(show ip route, show run, etc) against your devices from a web form:
+See the README file in ${prefix}/share/rancid for more information.
+
+To use the optional looking glass service to run status check commands
+(show ip route, show run, etc) against your devices from a web form,
+perform these steps:
+
1) Make an /lg folder in your Apache document root and copy lg files
sudo mkdir -p <Apache-directory>/lg/log
cd <Apache-directory>/lg
@@ -102,8 +97,6 @@
file if desired.
-4) Goto url http://localhost/cgi-bin/lgform.cgi with a web browser to use
- the looking glass.
+4) Goto url http://localhost/lg with a web browser to use the looking glass.
\n"
}
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20060912/a165e7a7/attachment.html
More information about the macports-changes
mailing list