aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/aspathtree/Makefile3
-rw-r--r--net-mgmt/aspathtree/files/patch-etc::ASpath-tree.config33
-rw-r--r--net-mgmt/aspathtree/pkg-plist8
3 files changed, 24 insertions, 20 deletions
diff --git a/net-mgmt/aspathtree/Makefile b/net-mgmt/aspathtree/Makefile
index c4c9cc42776f..e43e98418e00 100644
--- a/net-mgmt/aspathtree/Makefile
+++ b/net-mgmt/aspathtree/Makefile
@@ -6,6 +6,7 @@
PORTNAME= aspathtree
PORTVERSION= 4.2
+PORTREVISION= 1
CATEGORIES= net-mgmt ipv6
MASTER_SITES= #http://carmen.ipv6.cselt.it/ipv6/tools/ASpath-tree/index.html
DISTNAME= ASpath-tree-v${PORTVERSION}
@@ -14,7 +15,7 @@ MAINTAINER= Janos.Mohacsi@bsd.hu
COMMENT= Checks IPv6 routes' stability and correctness on IPv6 internet
RUN_DEPENDS= ${SITE_PERL}/Net/Telnet.pm:${PORTSDIR}/net/p5-Net-Telnet \
- ripewhois:${PORTSDIR}/net/ripetools
+ whois3:${PORTSDIR}/net/ripe-whois
WRKSRC= ${WRKDIR}/ASpath-tree-v${PORTVERSION}/
RESTRICTED= "not redistributable, license agreement required"
diff --git a/net-mgmt/aspathtree/files/patch-etc::ASpath-tree.config b/net-mgmt/aspathtree/files/patch-etc::ASpath-tree.config
index 299d9558287e..e3ec5ce9f82f 100644
--- a/net-mgmt/aspathtree/files/patch-etc::ASpath-tree.config
+++ b/net-mgmt/aspathtree/files/patch-etc::ASpath-tree.config
@@ -1,12 +1,15 @@
---- etc/ASpath-tree.config.orig Tue Dec 10 10:02:25 2002
-+++ etc/ASpath-tree.config Sat Mar 8 21:56:17 2003
+
+$FreeBSD$
+
+--- etc/ASpath-tree.config.orig
++++ etc/ASpath-tree.config
@@ -9,7 +9,7 @@
# Full path to the directory where you have installed the ASpath-tree
# scripts. It is the directory where the script create-bgp-pages is
# located
-HOMEDIR = /usr/local/ASpath-tree-v4.2
+HOMEDIR = %%PREFIX%%/var/aspathree/
-
+
# Router you are using. Currently supported platforms include Cisco, Juniper
# and Zebra routers. Allowed values are "CISCO", "JUNIPER" , "ZEBRA" and
@@ -37,8 +37,14 @@
@@ -15,7 +18,7 @@
# <router-user> <client-ip-address> <client-user>
+# or the telnet user. See ROUTERUSERPASS also.
ROUTERUSER = router
-
+
+# The password of the telnet user which have been enabled on the cisco
+# router to issue 'show bgp ipv6' command. Set up only if you want to
+# use the telnet mode.
@@ -26,38 +29,38 @@
# the htdocs/ directory which comes with the distribution
@@ -46,15 +52,15 @@
# HTMLDIR = /usr/local/httpd/htdocs/bgp
-
+
# The contactname which is placed at the bottom of the generated html pages
-CONTACTNAME = IPv6 group
+CONTACTNAME = Your IPv6 group
-
+
# e-mail address of the contact person. It is placed at the bottom of the
# generated html pages together with the contactname
- CONTACTMAIL = me@myhost.com
+ CONTACTMAIL = your@ipv6.mail
-
+
# The name of your IPv6 site. It is used as the root of the BGP4+ routing
# tree displayed by the generated html pages
-SITENAME = TILAB
+SITENAME = Your IPv6 project
-
+
# The name of the image file (for instance a graphical logo representing
# your IPv6 site) to be placed at the beginning of the generated html
@@ -71,7 +77,7 @@
# WHOISLINK = http://whois.6bone.net/cgi-bin/whois
-
+
# A flag to enable the display of the last changes on the tree. Set
-# CHANGESFLAG = 1
+CHANGESFLAG = 1
# to see the display as html pages accessible from a link within the tree pages
-
+
# A flag to control which routes are filtered out from the output of
-@@ -83,7 +89,7 @@
+@@ -87,7 +93,7 @@
# installed on the same WS that hosts ASpath-tree
# This parameter is needed only if you want to update via ASpath-tree the
# useful information available on whois DBs connected to the Internet
-# RIPEWHOISCLIENT = /usr/local/bin/whois3
-+RIPEWHOISCLIENT = /usr/local/bin/ripewhois
-
- #### ASpath-tree v.4.2 - Released on Tue DEC 10 2002, h.10:02:25
- #### File: etc/ASpath-tree.config Last modified on Mon DEC 9 2002, h.15:52:30
++RIPEWHOISCLIENT = %%PREFIX%%/bin/whois3
+
+ #### ASpath-tree v.4.2 - Released on Thu APR 17 2003, h.16:58:12
+ #### File: etc/ASpath-tree.config Last modified on Thu APR 17 2003, h.16:44:43
diff --git a/net-mgmt/aspathtree/pkg-plist b/net-mgmt/aspathtree/pkg-plist
index ed9b677e0c80..0e4960d012d8 100644
--- a/net-mgmt/aspathtree/pkg-plist
+++ b/net-mgmt/aspathtree/pkg-plist
@@ -23,9 +23,9 @@ libexec/aspathtree/route-stability.pl
libexec/aspathtree/utility.pl
libexec/aspathtree/ASmain.pl
bin/update-rtree
-%%PORTDOCS%%share/doc/aspathtree/DISCLAIMER
-%%PORTDOCS%%share/doc/aspathtree/readme.txt
-%%PORTDOCS%%share/doc/aspathtree/changes.txt
+%%PORTDOCS%%%%DOCSDIR%%/DISCLAIMER
+%%PORTDOCS%%%%DOCSDIR%%/readme.txt
+%%PORTDOCS%%%%DOCSDIR%%/changes.txt
@dirrm var/aspathtree/htdocs/changes
@dirrm var/aspathtree/htdocs/details
@dirrm var/aspathtree/htdocs/icons
@@ -41,4 +41,4 @@ bin/update-rtree
@dirrm var/aspathtree/log
@dirrm var/aspathtree
@dirrm libexec/aspathtree
-%%PORTDOCS%%@dirrm share/doc/aspathtree/
+%%PORTDOCS%%@dirrm %%DOCSDIR%%