summaryrefslogtreecommitdiff
path: root/net-mgmt/aspathtree/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/aspathtree/files')
-rw-r--r--net-mgmt/aspathtree/files/patch-etc__ASpath-tree.config66
-rw-r--r--net-mgmt/aspathtree/files/patch-lib_ASmain.pl43
-rw-r--r--net-mgmt/aspathtree/files/patch-lib__getbgptable.pl66
-rw-r--r--net-mgmt/aspathtree/files/patch-lib_bgp-tree.pl34
-rw-r--r--net-mgmt/aspathtree/files/patch-lib_create-homepage.pl55
-rw-r--r--net-mgmt/aspathtree/files/patch-lib_elaborate-aspaths.pl23
-rw-r--r--net-mgmt/aspathtree/files/patch-lib_ipv6prefix.pl107
-rw-r--r--net-mgmt/aspathtree/files/patch-lib_odd-routes.pl24
-rw-r--r--net-mgmt/aspathtree/files/patch-lib_route-stability.pl32
-rw-r--r--net-mgmt/aspathtree/files/patch-lib_utility.pl114
-rw-r--r--net-mgmt/aspathtree/files/patch-readme.txt99
-rw-r--r--net-mgmt/aspathtree/files/patch-update-rtree192
-rw-r--r--net-mgmt/aspathtree/files/pkg-message.in6
13 files changed, 0 insertions, 861 deletions
diff --git a/net-mgmt/aspathtree/files/patch-etc__ASpath-tree.config b/net-mgmt/aspathtree/files/patch-etc__ASpath-tree.config
deleted file mode 100644
index bbaa80f191ab..000000000000
--- a/net-mgmt/aspathtree/files/patch-etc__ASpath-tree.config
+++ /dev/null
@@ -1,66 +0,0 @@
-
-$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/aspathtree/
-
- # Router you are using. Currently supported platforms include Cisco, Juniper
- # and Zebra routers. Allowed values are "CISCO", "JUNIPER" , "ZEBRA" and
-@@ -37,8 +37,14 @@
- # command:
- # ip rcmd remote-host
- # <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.
-+# ROUTERUSERPASS = router
-+
- # The full path to the directory where the generated html files have to be
- # placed. If you do not specify this option the html files are stored under
- # 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
-@@ -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 = %%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/files/patch-lib_ASmain.pl b/net-mgmt/aspathtree/files/patch-lib_ASmain.pl
deleted file mode 100644
index cf1f665503c4..000000000000
--- a/net-mgmt/aspathtree/files/patch-lib_ASmain.pl
+++ /dev/null
@@ -1,43 +0,0 @@
-
-$FreeBSD$
-
---- lib/ASmain.pl.orig
-+++ lib/ASmain.pl
-@@ -41,20 +41,20 @@
- # Create the whole IPv6 BGP ASpath tree
- my $lastchange_time = &check_update_changes(0);
- &create_html_tree(0, $lastchange_time);
-- if ($MORETREES) {
-+# if ($MORETREES) {
- # Create the IPv6 BGP ASpath tree for the 6Bone backbone
-- $lastchange_time = &check_update_changes(1);
-- &create_html_tree(1, $lastchange_time);
-+# $lastchange_time = &check_update_changes(1);
-+# &create_html_tree(1, $lastchange_time);
-
- # Create the IPv6 BGP ASpath tree for the other IANA assigned prefixes
-- $lastchange_time = &check_update_changes(3);
-- &create_html_tree(3, $lastchange_time);
-- }
-+# $lastchange_time = &check_update_changes(3);
-+# &create_html_tree(3, $lastchange_time);
-+# }
- &log_it(" Tree page(s): done",1);
- # Create routes stability pages
- # for the 6bone backbone
-- &create_stability_page("$HTMLDIR_LOCAL/ptla-stability.html", "ptla");
-- &log_it(" bb stability page: done",1);
-+# &create_stability_page("$HTMLDIR_LOCAL/ptla-stability.html", "ptla");
-+# &log_it(" bb stability page: done",1);
- # for the other IANA assigned prefixes
- &create_stability_page("$HTMLDIR_LOCAL/200x-stability.html", "stla");
- &log_it(" IANA stability page: done",1);
-@@ -113,7 +113,7 @@
- system "cp $HTMLDIR_LOCAL/odd-routes*.html $HTMLDIR/";
- system "cp $HTMLDIR_LOCAL/odd-asnumbers*.html $HTMLDIR/";
- system "cp $HTMLDIR_LOCAL/200x-stability.html $HTMLDIR";
-- system "cp $HTMLDIR_LOCAL/ptla-stability.html $HTMLDIR";
-+# system "cp $HTMLDIR_LOCAL/ptla-stability.html $HTMLDIR";
-
- system "cp $HTMLDIR_LOCAL/$INDEXPAGE $HTMLDIR/$INDEXPAGE";
- &log_it(" Done!",1);
diff --git a/net-mgmt/aspathtree/files/patch-lib__getbgptable.pl b/net-mgmt/aspathtree/files/patch-lib__getbgptable.pl
deleted file mode 100644
index d428d27200d6..000000000000
--- a/net-mgmt/aspathtree/files/patch-lib__getbgptable.pl
+++ /dev/null
@@ -1,66 +0,0 @@
---- lib/getbgptable.pl.orig Thu Feb 6 11:25:26 2003
-+++ lib/getbgptable.pl Thu Feb 6 11:43:58 2003
-@@ -24,10 +24,55 @@
- # ASs (all the ASs in the router BGP table)
- # Finally this routine produces a text file containing the raw version of the router table
- # and if required log files of both the raw router table and the normalized table.
-+
-+
- sub get_bgp_table {
- my ($parser, $command, $line) = ('', '', '');
- my (@lines) = ();
-
-+ use Socket;
-+ use Net::Telnet;
-+
-+ if (defined($ROUTERUSERPASS)) {
-+
-+# TELNET module to get BGP4+ AS Path table
-+
-+ if ($ROUTER =~ /^JUNIPER$/i) {
-+ $parser = "juniper";
-+ $STATUSCODES = "*&gt; active";
-+ my $telnet_session = new Net::Telnet(
-+ prompt => '/[\w().-]*[\$#]\s*$/'
-+ );
-+
-+ $telnet_session->open($ROUTERADDR);
-+ $telnet_session->login($ROUTERUSER, $ROUTERUSERPASS);
-+ $telnet_session->cmd(String => "set cli screen-length 0", Timeout => 1800);
-+
-+ @lines = $telnet_session->cmd(String => "show route table inet6.0 all terse",
-+ Timeout => 1800);
-+ $telnet_session->close;
-+ } else {
-+ $ROUTER = "CISCO";
-+ $parser = "cisco";
-+ $STATUSCODES = "s suppressed, d damped, h history, * valid, &gt; best, r RIB-failure";
-+ my $telnet_session = new Net::Telnet(
-+ prompt => '/[\w().-]*[\$#]\s*$/'
-+ );
-+
-+ $telnet_session->open($ROUTERADDR);
-+ $telnet_session->login($ROUTERUSER, $ROUTERUSERPASS);
-+ $telnet_session->cmd(String => "terminal length 0", Timeout => 1800);
-+
-+ @lines = $telnet_session->cmd(String => "show bgp ipv6",
-+ Timeout => 1800);
-+ $telnet_session->close;
-+ }
-+# end TELNET module
-+
-+ } else {
-+
-+# RSH module to get BGP4+ AS Path table
-+
- if ($ROUTER =~ /^JUNIPER$/i) {
- $parser = "juniper";
- $STATUSCODES = "*&gt; active";
-@@ -58,6 +103,7 @@
- push(@lines, $_);
- }
- close(OUTPUT);
-+ }
- chomp(@lines);
- # Write log and for web files (raw table)
- open(TXTFILE,"> $BGPTABLEFILE");
diff --git a/net-mgmt/aspathtree/files/patch-lib_bgp-tree.pl b/net-mgmt/aspathtree/files/patch-lib_bgp-tree.pl
deleted file mode 100644
index 62b2ac03fa72..000000000000
--- a/net-mgmt/aspathtree/files/patch-lib_bgp-tree.pl
+++ /dev/null
@@ -1,34 +0,0 @@
-
-$FreeBSD$
-
---- lib/bgp-tree.pl.orig
-+++ lib/bgp-tree.pl
-@@ -131,7 +131,7 @@
- }
- elsif ($tree_type == 3) { # otherIANA
- $output_file = $OUTPUTIANA;
-- $title = "IPv6 BGP table: &quot;2001&quot; routes";
-+ $title = "IPv6 BGP table: the routes";
- }
-
- open(HTMLFILE,">".$output_file);
-@@ -215,8 +215,8 @@
- print HTMLFILE " <SPAN CLASS=n12>$lastchange on the tree detected on $printable_date</SPAN><BR><HR>\n";
- }
- print HTMLFILE "
-- <SPAN CLASS=n10>The IPv6 BGP routing tree for the &quot;2001&quot; routes (route entries containing prefixes assigned by the RIRs
-- within the 2001::/16 address space and prefix length in range [29,35]) is obtained elaborating the AS path
-+ <SPAN CLASS=n10>The IPv6 BGP routing tree for route entries containing prefixes assigned by the RIRs
-+ and prefix length in range [19,32]) is obtained elaborating the AS path
- information of the IPv6 BGP routing table.<BR>
- A link to detailed routing information is available at the end of each branch
- of the tree.<BR>
-@@ -268,7 +268,7 @@
- print HTMLDETAILS "<TD BGCOLOR=\"$LINESDETTABLECOLOR\"><IMG SRC=\"../../$ICONS/p.gif\"></TD>\n";
- print HTMLDETAILS "<TD ALIGN=center CLASS=n10b>&nbsp;Assigned to&nbsp;</TD>\n";
- print HTMLDETAILS "<TD BGCOLOR=\"$LINESDETTABLECOLOR\"><IMG SRC=\"../../$ICONS/p.gif\"></TD>\n";
-- print HTMLDETAILS "<TD ALIGN=center CLASS=n10b>&nbsp;xTLA owner&nbsp;</TD>\n";
-+ print HTMLDETAILS "<TD ALIGN=center CLASS=n10b>&nbsp;IPv6 owner&nbsp;</TD>\n";
- print HTMLDETAILS "<TD BGCOLOR=\"$LINESDETTABLECOLOR\"><IMG SRC=\"../../$ICONS/p.gif\"></TD>\n";
- print HTMLDETAILS "<TD ALIGN=center CLASS=n10b>Time&nbsp;(updates)<BR>&nbsp;since last change&nbsp;</TD>\n";
- print HTMLDETAILS "<TD BGCOLOR=\"$LINESDETTABLECOLOR\"><IMG SRC=\"../../$ICONS/p.gif\"></TD>\n";
diff --git a/net-mgmt/aspathtree/files/patch-lib_create-homepage.pl b/net-mgmt/aspathtree/files/patch-lib_create-homepage.pl
deleted file mode 100644
index 83258faf5da5..000000000000
--- a/net-mgmt/aspathtree/files/patch-lib_create-homepage.pl
+++ /dev/null
@@ -1,55 +0,0 @@
-
-$FreeBSD$
-
---- lib/create-homepage.pl.orig
-+++ lib/create-homepage.pl
-@@ -149,17 +149,16 @@
- <SPAN CLASS=a18b>Graphic display</SPAN> of:
- <UL>
- <LI><A HREF=\"bgp-page-complete.html\" CLASS=l12b>all route entries within the IPv6 BGP cloud</A><BR>\n";
-- if ($MORETREES) {
-- print OUT_FILE " <LI><A HREF=\"bgp-page-backbone.html\" CLASS=l12b>the 6Bone backbone BGP tree</A><BR>
-- <LI><A HREF=\"bgp-page-otherIANA.html\" CLASS=l12b>the BGP tree for prefixes assigned by the RIRs</A>\n";
-- }
-+# if ($MORETREES) {
-+# print OUT_FILE " <LI><A HREF=\"bgp-page-backbone.html\" CLASS=l12b>the 6Bone backbone BGP tree</A><BR>
-+# <LI><A HREF=\"bgp-page-otherIANA.html\" CLASS=l12b>the BGP tree for prefixes assigned by the RIRs</A>\n";
-+# }
- print OUT_FILE " </UL>\n";
-
- if ($$inumelab{N_6to4}) {$sixto4link = "<LI>the 6to4 prefix"}
-
- print OUT_FILE " <SPAN CLASS=a18b>Prefix analysis</SPAN>(*):<BR>
- <UL>
-- <LI>$$inumelab{N_ptlas} 6Bone pTLAs
- <LI>$$inumelab{N_otherIANA} prefixes assigned by RIRs (prefix length in range [29,35])
- $sixto4link\n";
- if ($$inumelab{N_invalid} || $$inumelab{N_unaggr} || $$inumelab{N_longer6to4}) {
-@@ -167,7 +166,7 @@
- <UL>
- <LI TYPE=square>$$inumelab{N_invalid} invalid prefixes (out of allocated public address space)</LI>
- <LI TYPE=square>$$inumelab{N_unaggr} unaggregated prefixes, sorted <A HREF=\"odd-routes1.html\" CLASS=l12b> by origin AS</A>
-- and <A HREF=\"odd-routes2.html\" CLASS=l12b>by xTLA owner</A></LI>\n";
-+ and <A HREF=\"odd-routes2.html\" CLASS=l12b>by IPv6 allocation owner</A></LI>\n";
- if ($$inumelab{N_longer6to4}) {
- print OUT_FILE " <LI TYPE=square>$$inumelab{N_longer6to4} <A HREF=\"odd-routes3.html\" CLASS=l12b>6to4 longer prefixes</A></LI>\n";
- }
-@@ -182,8 +181,7 @@
- print OUT_FILE " <SPAN CLASS=a18b>Routing stability analysis</SPAN>
- during the last 24 hours for:<BR>
- <UL>
-- <LI><A HREF=\"ptla-stability.html\" CLASS=l12b>all the 6Bone pTLAs</A><BR>
-- <LI><A HREF=\"200x-stability.html\" CLASS=l12b>the sTLAs assigned by the RIRs</A>
-+ <LI><A HREF=\"200x-stability.html\" CLASS=l12b>the IPv6 adresses assigned by the RIRs</A>
- </UL>
- </TD></TR>
- </TABLE>
-@@ -249,7 +247,7 @@
- sub footer {
- my $footer = "This page has been produced using the
- <A HREF=\"http://carmen.ipv6.tilab.com/ipv6/tools/ASpath-tree/index.html\">ASpath-tree</A> tool ($VER),
-- developed at <A HREF=\"http://www.telecomitalialab.com\">Telecom Italia Lab</A> (formerly CSELT).<BR>
-+ developed at <A HREF=\"http://www.telecomitalialab.com\">Telecom Italia Lab</A> (formerly CSELT). and NIIF<BR>
- Questions and comments to: <A HREF=\"mailto:$CONTACTMAIL\">$CONTACTNAME</A>\n";
- return($footer);
- }
diff --git a/net-mgmt/aspathtree/files/patch-lib_elaborate-aspaths.pl b/net-mgmt/aspathtree/files/patch-lib_elaborate-aspaths.pl
deleted file mode 100644
index 3c65ec5834e3..000000000000
--- a/net-mgmt/aspathtree/files/patch-lib_elaborate-aspaths.pl
+++ /dev/null
@@ -1,23 +0,0 @@
-
-$FreeBSD$
-
---- lib/elaborate-aspaths.pl.orig
-+++ lib/elaborate-aspaths.pl
-@@ -364,7 +364,7 @@
- if ($value1 > 64511 && $value1 < 65535) {
- push (@asspriv,$value1);
- push (@{$paths_withasspriv{$value1}}, $key);
-- } elsif ($value1 == 65535 || ($value1 > 32767 && $value1 < 64512)) {
-+ } elsif ($value1 == 65535 ) {
- push (@assreserved,$value1);
- push (@{$paths_withassreserved{$value1}}, $key);
- }
-@@ -386,7 +386,7 @@
- if ($value > 64511 && $value < 65535) {
- push (@asspriv,$value);
- push (@{$paths_withasspriv{$value}}, $key);
-- } elsif ($value == 65535 || ($value > 32767 && $value < 64512)) {
-+ } elsif ($value == 65535 ) {
- push (@assreserved,$value);
- push (@{$paths_withassreserved{$value}}, $key);
- }
diff --git a/net-mgmt/aspathtree/files/patch-lib_ipv6prefix.pl b/net-mgmt/aspathtree/files/patch-lib_ipv6prefix.pl
deleted file mode 100644
index cb8c8cfa44d5..000000000000
--- a/net-mgmt/aspathtree/files/patch-lib_ipv6prefix.pl
+++ /dev/null
@@ -1,107 +0,0 @@
-
-$FreeBSD$
-
---- lib/ipv6prefix.pl.orig
-+++ lib/ipv6prefix.pl
-@@ -12,8 +12,101 @@
- # output = 4 stands for the 6to4 prefix
- # output = 5 stands for 6to4 prefixes longer than /16
- #
-+
-+use strict;
-+
-+# Order matters! Less specific prefixes first.
-+my @prefix_list = (
-+# prefix => min_lenght, max_len, valid_code, unaggr_code
-+ [ '3FFE::/16' => 24, 32, 0, 0 ],
-+ [ '2001::/3' => 19, 32, 3, 2 ],
-+ [ '2001:0478::/32' => 40, 48, 3, 2 ], # ep.net IX assignments
-+ [ '2001:0500::/30' => 48, 48, 3, 2 ], # ARIN microallocations
-+ [ '2001:07F8::/32' => 48, 48, 3, 2 ], # RIPE IX assignments
-+ [ '2001:0678::/29' => 48, 48, 3, 2 ],
-+ [ '2001:0c00::/23' => 48, 48, 3, 2 ],
-+ [ '2001:13c7:6000::/36' => 36, 48, 3, 2 ],
-+ [ '2001:13c7:7000::/36' => 36, 48, 3, 2 ],
-+ [ '2001:43f8::/29' => 40, 48, 3, 2 ],
-+ [ '2002::/16' => 16, 16, 4, 5 ],
-+);
-+
- sub check_prefix {
- my ($prefix) = @_;
-+
-+ my ($net, $len) = split(m#/#, $prefix);
-+ my $return = 0;
-+ foreach my $pref (@prefix_list) {
-+ next unless $len >= $pref->[1];
-+ next unless includedprefix($prefix, $pref->[0]);
-+ if ($len > $pref->[2]) {
-+ $return = $pref->[4];
-+ } else {
-+ $return = $pref->[3];
-+ }
-+ }
-+
-+ return $return;
-+}
-+
-+# Tell whether first arg is contained in second.
-+sub includedprefix {
-+ use integer;
-+
-+ my ($a1, $l1) = split(m#/#, $_[0]);
-+ my ($a2, $l2) = split(m#/#, $_[1]);
-+
-+ return 0 if $l1 < $l2;
-+
-+ my @a1 = expand($a1);
-+ my @a2 = expand($a2);
-+
-+ # Check parts which have to be identical
-+ my $end = $l2 / 16;
-+ my $i;
-+ for ($i = 0; $i < $end; ++$i) {
-+ return 0 if hex($a1[$i]) != hex($a2[$i]);
-+ }
-+
-+ # Check last part
-+ my $nbits = 16 - $l2 % 16;
-+ return 0 if (hex($a1[$i]) >> $nbits) != (hex($a2[$i]) >> $nbits);
-+
-+ return 1;
-+}
-+
-+# Expand :: and split the different 16-bit address parts
-+sub expand {
-+ my ($ip) = @_;
-+
-+ return split(/:/, $ip) if not $ip =~ /::/;
-+
-+ $ip =~ s/^::/0::/;
-+ $ip =~ s/::$/::0/;
-+ my ($l, $r) = split(/::/, $ip);
-+ my @l = split(/:/, $l);
-+ my @r = split(/:/, $r);
-+ my @m;
-+ for (my $i = 0; $i < 8 - length (@l) - length (@r); ++$i) {
-+ push(@m, 0);
-+ }
-+ return (@l, @m, @r);
-+}
-+
-+sub normal {
-+ my ($ip, $len) = split(m#/#, $_[0]);
-+
-+ my $n = join(':', map { ('0' x (4 - length $_)) . $_ } expand($ip));
-+ $n =~ s/(:0000)+/::/;
-+ $n =~ s/^0000:::/::/;
-+ return "$n/$len";
-+}
-+
-+1;
-+
-+__END__
-+sub OLD_check_prefix {
-+ my ($prefix) = @_;
- my ($normprefix, $addr, $lprefix, $conflprefix, $output, $hexprefix);
- $normprefix = &normal($prefix);
- ($addr,$lprefix) = split(/\//,$normprefix);
diff --git a/net-mgmt/aspathtree/files/patch-lib_odd-routes.pl b/net-mgmt/aspathtree/files/patch-lib_odd-routes.pl
deleted file mode 100644
index d256d15c1804..000000000000
--- a/net-mgmt/aspathtree/files/patch-lib_odd-routes.pl
+++ /dev/null
@@ -1,24 +0,0 @@
-
-$FreeBSD$
-
---- lib/odd-routes.pl.orig
-+++ lib/odd-routes.pl
-@@ -308,14 +308,12 @@
- print HTMLFILE "
- <HR>\n
- This pages display all the anomalous IPv6 BGP prefixes (according to RFC2546 - &quot;IPv6 routing Practice&quot;)
-- currently advertised inside the 6Bone backbone. In particular two kinds of anomalous prefixes are displayed:
-+ currently advertised inside the IPv6 backbone. In particular two kinds of anomalous prefixes are displayed:
- <UL>\n
- <LI><SPAN CLASS=r10>Invalid prefixes</SPAN>: prefixes outside of the IANA assigned address spaces
-- (e.g. the old RFC1897 test addresses)\n
-- <LI><SPAN CLASS=r10>Unaggregated prefixes</SPAN>: prefixes belonging to the 6Bone range
-- but longer than a given pTLA delegation (according to RFC2546 these
-- prefixes MUST NOT be advertised unless special peering agreements are implemented); prefixes
-- belonging to the RIR&quot;s delegations but longer than assigned sTLAs.\n
-+ (e.g. the old RFC1897 test addresses, 6Bone addresses)\n
-+ <LI><SPAN CLASS=r10>Unaggregated prefixes</SPAN>:
-+ prefixes belonging to the RIR&quot;s delegations but longer than assigned allocation.\n
- </UL>
- <HR>\n".&footer."
- </SPAN>\n</BODY>\n</HTML>\n";
diff --git a/net-mgmt/aspathtree/files/patch-lib_route-stability.pl b/net-mgmt/aspathtree/files/patch-lib_route-stability.pl
deleted file mode 100644
index 4ad22c032785..000000000000
--- a/net-mgmt/aspathtree/files/patch-lib_route-stability.pl
+++ /dev/null
@@ -1,32 +0,0 @@
-
-$FreeBSD$
-
---- lib/route-stability.pl.orig
-+++ lib/route-stability.pl
-@@ -10,7 +10,7 @@
- my ($ptlaprefix, $viewlink, $unstab, $unav, $key, $name, $title, $history_reldir);
-
- if ($type eq "ptla") {$title = "6bone pTLAs: BGP route stability"}
-- elsif ($type eq "stla") {$title = "sTLAs: BGP route stability"}
-+ elsif ($type eq "stla") {$title = "IPv6: BGP route stability"}
- else {return(1)}
-
- $history_reldir = substr($HISTORYHTMLDIR, length($HTMLDIR_LOCAL) + 1, length($HISTORYHTMLDIR) - length($HTMLDIR_LOCAL));
-@@ -120,7 +120,7 @@
- </TABLE></CENTER>\n
- <P><SPAN CLASS=n10><A HREF=\"./$INDEXPAGE\">Back to routing information page</A><P>\n
- <HR>\n
-- This page displays all the locally known sTLAs that are advertised inside the 6Bone backbone.
-+ This page displays all the locally known allocations that are advertised inside the IPv6 backbone.
- For each IPv6 BGP route entry, figures representing instability and unavailability of are provided.
- Ruote entries are sorted starting from the most unstable route entry.<BR>
- These figures are calculated based on periodical snapshots of the IPv6 BGP routing table as follows:
-@@ -128,7 +128,7 @@
- was a detection of AS Path changes for the specific route and the number of snapshots in the last 24 hours
- <LI><SPAN CLASS=r10>Unavailability</SPAN>: the ratio between the number of times the route
- was not present and the number of snapshots in the last 24 hours</UL>
-- Clicking on \&quot;view\&quot; for each sTLA you can get more detailed information about routing stability
-+ Clicking on \&quot;view\&quot; for each IPv6 prefix you can get more detailed information about routing stability
- in the last 24 hours.
- ";
- }
diff --git a/net-mgmt/aspathtree/files/patch-lib_utility.pl b/net-mgmt/aspathtree/files/patch-lib_utility.pl
deleted file mode 100644
index 84c6641b487b..000000000000
--- a/net-mgmt/aspathtree/files/patch-lib_utility.pl
+++ /dev/null
@@ -1,114 +0,0 @@
-
-$FreeBSD$
-
---- lib/utility.pl.orig
-+++ lib/utility.pl
-@@ -139,10 +139,35 @@
- return($text);
- }
-
-+my $IPv6PrefixTable;
-+
-+sub read_prefixtable {
-+ my ($file) = @_;
-+
-+ open(FILE, $file) or die "Cannot open $file: $!";
-+ while (<FILE>) {
-+ my ($site, @prefixes) = split;
-+ foreach my $prefix (@prefixes) {
-+ $IPv6PrefixTable->{$prefix} = $site;
-+ }
-+ }
-+ close FILE;
-+
-+ return $IPv6PrefixTable;
-+}
-+
- # Routine to find the owner site name of a prefix
- sub extract_name_from_prefix {
- my ($prefix) = @_;
-
-+ $IPv6PrefixTable ||= read_prefixtable($IPV6PREFIXTABLE);
-+ return $IPv6PrefixTable->{$prefix} || '?';
-+}
-+
-+# Routine to find the owner site name of a prefix
-+sub OLD_extract_name_from_prefix {
-+ my ($prefix) = @_;
-+
- my ($line, $sitename) = ('', '');
-
- open(FILE,"<".$IPV6PREFIXTABLE);
-@@ -377,7 +402,7 @@
- my @outwhois = ();
- my @coomands = ();
-
-- my $command = "-h whois.ripe.net -s ARIN,RIPE,APNIC -r -T inet6num -M 2001::/16";
-+ my $command = "-h whois.ripe.net -s ARIN,RIPE,APNIC -r -T inet6num -M 2001::/3";
- push (@commands, $command);
-
- open(WHOISRES,"$RIPEWHOISCLIENT $command |");
-@@ -547,8 +572,63 @@
- return($ias);
- }
-
-+my ($ASLines, $BBSites);
-+
-+sub read_astable {
-+ my ($file) = @_;
-+
-+ open(FILE, $file) or die "Cannot open $file: $!";
-+ while (<FILE>) {
-+ my ($asn, $sites) = split(/\s+/, $_, 2);
-+ $asn =~ s/^AS//;
-+ $ASLines->{$asn} = $sites;
-+ }
-+ close FILE;
-+
-+ return $ASLines;
-+}
-+
-+sub read_ptlafile {
-+ my ($file) = @_;
-+
-+ open(FILE, $file) or die "Cannot open $file: $!";
-+ while (<FILE>) {
-+ my ($site, $prefix) = split;
-+ $BBSites->{$site} = $prefix;
-+ }
-+ close FILE;
-+
-+ return $BBSites;
-+}
-+
- # Routine to associate the name of the owner organisation to an AS number
- sub asntosite {
-+ my ($asn, $astable, $ptlastable) = @_;
-+
-+ $ASLines ||= read_astable($astable);
-+ $BBSites ||= read_ptlafile($ptlastable);
-+
-+ my $sites = $ASLines->{$asn};
-+ return (-1, ()) if not $sites;
-+
-+ my @tmp = split(/\s+/, $sites);
-+ my @output;
-+ my $nbb = 0;
-+
-+ foreach my $name (@tmp) {
-+ if (exists $BBSites->{$name}) {
-+ $nbb++;
-+ unshift(@output, $name);
-+ } else {
-+ push(@output, $name);
-+ }
-+ }
-+
-+ return ($nbb, @output);
-+}
-+
-+# Routine to associate the name of the owner organisation to an AS number
-+sub OLD_asntosite {
- my ($ASN, $astable, $ptlastable) = @_;
- my (@aslines, @bb_sites, @output, @tmp);
- my ($key, $line, $name, $nbb);
diff --git a/net-mgmt/aspathtree/files/patch-readme.txt b/net-mgmt/aspathtree/files/patch-readme.txt
deleted file mode 100644
index e113481ef76a..000000000000
--- a/net-mgmt/aspathtree/files/patch-readme.txt
+++ /dev/null
@@ -1,99 +0,0 @@
---- readme.txt.orig Thu Apr 17 15:58:12 2003
-+++ readme.txt Sun Apr 27 01:53:51 2003
-@@ -61,7 +61,7 @@
- without problems on any Unix platform (Linux, etc.) with
- Perl (version equal or greater than 5.0) installed.
-
--The IPv6 BGP tables of external routers are obtained using rsh
-+The IPv6 BGP tables of external routers are obtained using rsh or telnet
- commands. The current release works with cisco routers, zebra routers
- and juniper routers running IPv6 capable software versions.
-
-@@ -128,10 +128,16 @@
-
- CISCO
- -----
--The cisco router must be configured to accept rsh commands from the
--workstation which is running the ASpath-tree scripts. The
--administrator of the cisco router must perform the following
--configurations:
-+The cisco router must be configured to accept rsh commands or telnet
-+access from the workstation which is running the ASpath-tree
-+scripts. The administrator of the cisco router must perform the
-+following configurations:
-+
-+Option 1: rsh collection
-+------------------------
-+The router must be configured to accept rsh commands coming from the
-+remote workstation which is running the ASpath-tree scripts in the
-+following way:
-
- ip rcmd remote-host <router-username> <remote-ip-address> <remote-
- username>
-@@ -162,9 +168,28 @@
- scripts to collect the routing information available on the cisco
- router.
-
-+Option 2: telnet collection
-+---------------------------
-+The router must be configured to accept telnet commands coming from the
-+remote workstation which is running the ASpath-tree scripts.
-+
-+<router-username> is the name of the telnet user enabled to show the bgp
-+table on the cisco router.
-+
-+<router-username-password> is the corresponding password of the telnet user
-+enabled to show the bgp table on the cisco router.
-+
-+Consult the Cisco documentations, how to configure such a settings.
-+
-+If you configure ROUTERUSERPWD then the telnet option automatically selected.
-+
-+
- JUNIPER
- -------
-
-+Option 1: rsh collection
-+------------------------
-+
- The juniper router must be configured to accept rsh commands from the
- workstation which is running the ASpath-tree scripts. In the case of
- juniper, you have first to enable the rsh service on the router, then
-@@ -198,6 +223,13 @@
- This is exactly the rsh command used by the ASpath-tree scripts to
- collect the routing information available on the juniper router.
-
-+Option 2: telnet collection
-+---------------------------
-+
-+configure an user <router-username> with password <router-password on
-+the Juniper router with view permisssion. Consult your Juniper
-+documentation about that.
-+
- ZEBRA
- -----
- To use ASpath-tree with zebra routers, the "vtysh" CLI emulator must
-@@ -267,7 +299,12 @@
- router have IPv6 capable rsh implementations.
-
- ROUTERUSER is the username on the router that you have to use to
-- run remote rsh commands.
-+ run remote rsh commands or telnet.
-+
-+ROUTERUSERPASS
-+ is an optional parameter to use for telnet collection. If you
-+ configure this parameter telnet mode will be used automatically.
-+ DO NOT SPECIFY this parameter if you use RSH collection.
-
- HTMLDIR is the full path to the directory where the generated
- html files have to be placed. If you do not specify this
-@@ -794,6 +831,9 @@
- Raffaele D'Albenzio, Ivano Guardini and Paolo Fasano
- <ipv6@tilab.com>
- ----------------------------------------------------
-+ Telnet modul addition
-+ Janos Mohacsi <mohacsi@niif.hu> - 6NET project
-+ ----------------------------------------------------
-
- #### ASpath-tree v.4.2 - Released on Thu APR 17 2003, h.16:58:12
- #### File: readme.txt Last modified on Thu APR 17 2003, h.16:45:39
diff --git a/net-mgmt/aspathtree/files/patch-update-rtree b/net-mgmt/aspathtree/files/patch-update-rtree
deleted file mode 100644
index 24b92f854785..000000000000
--- a/net-mgmt/aspathtree/files/patch-update-rtree
+++ /dev/null
@@ -1,192 +0,0 @@
-
-$FreeBSD$
-
---- update-rtree.orig
-+++ update-rtree
-@@ -1,13 +1,13 @@
--#!/usr/local/bin/perl
-+#!%%PATHPERLBIN%%
- #### ASpath-tree v.4.2 - Released on Thu APR 17 2003, h.16:58:12
- #### File: update-rtree Last modified on Tue MAR 18 2003, h.22:59:48
-
-
- # Configuration File
--my $CONFIGFILE = "/etc/ASpath-tree.config";
-+my $CONFIGFILE = "%%PREFIX%%/etc/ASpath-tree.config";
-
- # Global variables
--use vars qw ($HOMEDIR $RSHDIR $ROUTER $LOCAL $ROUTERADDR $ROUTERUSER $CONTACTNAME $CONTACTMAIL $SITENAME $SITEPICTURE $HTMLDIR
-+use vars qw ($HOMEDIR $RSHDIR $ROUTER $LOCAL $ROUTERADDR $ROUTERUSER $ROUTERUSERPASS $CONTACTNAME $CONTACTMAIL $SITENAME $SITEPICTURE $HTMLDIR
- $WHOISLINK $QUIET $DEBUG $FILTEROUT $RIPEWHOISCLIENT $MORETREES);
- use vars qw ($DATADIR $ROOTPICTURE $LIB $ICONS $WARNINGTIME $HISTORYPERIOD $FLAG_COLLECT $LONGDATE $CURRENTTIME $LASTRUN);
- use vars qw ($SIXBONEDB $IPV6PREFIXTABLE $PTLA_FILE $HISTORYFILE $LASTRUNFILE $OLDASPATHSFILE $OLDDATEFILE $OLDBBASPATHSFILE
-@@ -106,6 +106,7 @@
- if ($line =~ /^\s*LOCAL\s*=\s*(.*)/) {$LOCAL = $1}
- if ($line =~ /^\s*ROUTERADDR\s*=\s*(.*)/) {$ROUTERADDR = $1}
- if ($line =~ /^\s*ROUTERUSER\s*=\s*(.*)/) {$ROUTERUSER = $1}
-+ if ($line =~ /^\s*ROUTERUSERPASS\s*=\s*(.*)/) {$ROUTERUSERPASS = $1}
- if ($line =~ /^\s*CONTACTNAME\s*=\s*(.*)/) {$CONTACTNAME = $1}
- if ($line =~ /^\s*CONTACTMAIL\s*=\s*(.*)/) {$CONTACTMAIL = $1}
- if ($line =~ /^\s*SITENAME\s*=\s*(.*)/) {$SITENAME = $1}
-@@ -120,9 +121,9 @@
-
- # DEFAULT values setting...(if not explicitely declared) and ERROR checking ...
- die "ERROR in configuration file: parameter HOMEDIR not set!\n" unless ($HOMEDIR);
-- die "ERROR in configuration file: parameter HOMEDIR not correct!\n" unless (-e "$HOMEDIR/update-rtree");
-+ die "ERROR in configuration file: parameter HOMEDIR not correct!\n" unless (-d "$HOMEDIR");
-
-- $LOGDIR = "$HOMEDIR/log"; unless (-e "$LOGDIR") {mkdir("$LOGDIR", 0777)};
-+ $LOGDIR = "$HOMEDIR/log"; unless (-e "$LOGDIR") {mkdir("$LOGDIR", 0775)};
- if ($DEBUG) {open(LOGFILE, "> $LOGDIR/runlog.txt"); close(LOGFILE)}
- &log_it_and_die("ERROR in configuration file: parameter SITENAME not set!") unless ($SITENAME);
- &log_it_and_die("ERROR in configuration file: parameter ROUTER = \"$ROUTER\" not acceptable!") if ($ROUTER && !grep(/^$ROUTER$/, ("CISCO", "JUNIPER" , "ZEBRA", "ZEBRA93")));
-@@ -134,13 +135,13 @@
- }
- unless ($WHOISLINK) {$WHOISLINK = "http://whois.6bone.net/cgi-bin/whois"}
- unless ($DATADIR) {$DATADIR = "$HOMEDIR/data"}
-- unless ($LIB) {$LIB = "$HOMEDIR/lib"}
-+ unless ($LIB) {$LIB = "%%PREFIX%%/libexec/aspathtree"}
- unless ($FILTEROUT) {$FILTEROUT = 0}
- $ICONS = "./icons";
- $WARNINGTIME = 5;
- $HISTORYPERIOD = 24;
- $RIPEWHOISLINK = "http://www.ripe.net/perl/whois?form_type=simple&full_query_string=&searchtext=-s+ARIN%2CAPNIC%2CRIPE";
-- $VER = "v.4.2";
-+ $VER = "v.4.2 modif 6NET";
- $logtext .= " Configuration file: $file.\n";
- $logtext .= " HOMEDIR = $HOMEDIR\n";
- $logtext .= " Parser = ";
-@@ -199,28 +200,28 @@
- $logtext .= " LASTRUNFILE = \"$LASTRUNFILE\"\n";
- $logtext .= " PTLASHISTORYDIR = \"$PTLASHISTORYDIR\" ";
- if (-e "$PTLASHISTORYDIR") {$logtext .= "(ok)\n"}
-- else {mkdir("$PTLASHISTORYDIR", 0777); $logtext .= "(created)\n"}
-+ else {mkdir("$PTLASHISTORYDIR", 0775); $logtext .= "(created)\n"}
- $logtext .= " OTHERHISTORYDIR = \"$OTHERHISTORYDIR\" ";
- if (-e "$OTHERHISTORYDIR") {$logtext .= "(ok)\n"}
-- else {mkdir("$OTHERHISTORYDIR", 0777); $logtext .= "(created)\n"}
-+ else {mkdir("$OTHERHISTORYDIR", 0775); $logtext .= "(created)\n"}
- $logtext .= " Complete tree dir = \"$HOMEDIR/history/completetree\" ";
- if (-e "$HOMEDIR/history/completetree") {$logtext .= "(ok)\n"}
-- else {mkdir("$HOMEDIR/history/completetree", 0777); $logtext .= "(created)\n"}
-+ else {mkdir("$HOMEDIR/history/completetree", 0775); $logtext .= "(created)\n"}
- $logtext .= " OLDASPATHSFILE = \"$OLDASPATHSFILE\"\n";
- $logtext .= " OLDDATEFILE = \"$OLDDATEFILE\"\n";
-- if ($MORETREES) {
-+ if ($NOMORETREES) {
- $OLDOTHASPATHSFILE = "$HOMEDIR/history/othertree/aspaths.txt";
- $OLDOTHDATEFILE = "$HOMEDIR/history/othertree/lastchangedate.txt";
- $OLDBBASPATHSFILE = "$HOMEDIR/history/bbtree/bbaspaths.txt";
- $OLDBBDATEFILE = "$HOMEDIR/history/bbtree/lastchangedate.txt";
- $logtext .= " BB tree dir = \"$HOMEDIR/history/bbtree\" ";
- if (-e "$HOMEDIR/history/bbtree") {$logtext .= "(ok)\n"}
-- else {mkdir("$HOMEDIR/history/bbtree", 0777); $logtext .= "(created)\n"}
-+ else {mkdir("$HOMEDIR/history/bbtree", 0775); $logtext .= "(created)\n"}
- $logtext .= " OLDBBASPATHSFILE = \"$OLDBBASPATHSFILE\"\n";
- $logtext .= " OLDBBDATEFILE = \"$OLDBBDATEFILE\"\n";
- $logtext .= " 2001 tree dir = \"$HOMEDIR/history/othertree\" ";
- if (-e "$HOMEDIR/history/othertree") {$logtext .= "(ok)\n"}
-- else {mkdir("$HOMEDIR/history/othertree", 0777); $logtext .= "(created)\n"}
-+ else {mkdir("$HOMEDIR/history/othertree", 0775); $logtext .= "(created)\n"}
- $logtext .= " OLDOTHASPATHSFILE = \"$OLDOTHASPATHSFILE\"\n";
- $logtext .= " OLDOTHDATEFILE = \"$OLDOTHDATEFILE\"\n";
- } else {
-@@ -236,7 +237,7 @@
- $logtext .= " OUTPUTCOMPLETE = \"$OUTPUTCOMPLETE\"\n";
- $OUTPUTBB = "$HTMLDIR_LOCAL/bgp-page-backbone.html";
- $OUTPUTIANA = "$HTMLDIR_LOCAL/bgp-page-otherIANA.html";
-- if ($MORETREES) {
-+ if ($NOMORETREES) {
- $logtext .= " OUTPUTBB = \"$OUTPUTBB\"\n";
- $logtext .= " OUTPUTIANA = \"$OUTPUTIANA\"\n";
- }
-@@ -246,12 +247,12 @@
- $CHANGESDIR = "$HTMLDIR_LOCAL/changes";
- $logtext .= " CHANGESDIR = \"$CHANGESDIR\" ";
- if (-e "$CHANGESDIR") {$logtext .= "(ok)\n"}
-- else {mkdir("$CHANGESDIR", 0777); $logtext .= "(created)\n"}
-+ else {mkdir("$CHANGESDIR", 0775); $logtext .= "(created)\n"}
- $OUTPUTCOMPLETECHANGES = "$CHANGESDIR/bgp-page-complete-changes.html";
- $logtext .= " OUTPUTCOMPLETECHANGES = \"$OUTPUTCOMPLETECHANGES\"\n";
- $OUTPUTBBCHANGES = "$CHANGESDIR/bgp-page-backbone-changes.html";
- $OUTPUTIANACHANGES = "$CHANGESDIR/bgp-page-otherIANAchanges.html";
-- if ($MORETREES) {
-+ if ($NOMORETREES) {
- $logtext .= " OUTPUTBBCHANGES = \"$OUTPUTBBCHANGES\"\n";
- $logtext .= " OUTPUTIANACHANGES = \"$OUTPUTIANACHANGES\"\n";
- }
-@@ -260,19 +261,19 @@
- $DETAILDIRCO = "$DETAILDIR/complete";
- $logtext .= " DETAILDIR = \"$DETAILDIR\" ";
- if (-e "$DETAILDIR") {$logtext .= "(ok)\n"}
-- else {mkdir("$DETAILDIR", 0777); $logtext .= "(created)\n"}
-+ else {mkdir("$DETAILDIR", 0775); $logtext .= "(created)\n"}
- $logtext .= " DETAILDIRCO = \"$DETAILDIRCO\" ";
- if (-e "$DETAILDIRCO") {$logtext .= "(ok)\n"}
-- else {mkdir("$DETAILDIRCO", 0777); $logtext .= "(created)\n"}
-- if ($MORETREES) {
-+ else {mkdir("$DETAILDIRCO", 0775); $logtext .= "(created)\n"}
-+ if ($NOMORETREES) {
- $DETAILDIRBB = "$DETAILDIR/backbone";
- $DETAILDIRIANA = "$DETAILDIR/otherIANA";
- $logtext .= " DETAILDIRBB = \"$DETAILDIRBB\" ";
- if (-e "$DETAILDIRBB") {$logtext .= "(ok)\n"}
-- else {mkdir("$DETAILDIRBB", 0777); $logtext .= "(created)\n"}
-+ else {mkdir("$DETAILDIRBB", 0775); $logtext .= "(created)\n"}
- $logtext .= " DETAILDIRIANA = \"$DETAILDIRIANA\" ";
- if (-e "$DETAILDIRIANA") {$logtext .= "(ok)\n"}
-- else {mkdir("$DETAILDIRIANA", 0777); $logtext .= "(created)\n"}
-+ else {mkdir("$DETAILDIRIANA", 0775); $logtext .= "(created)\n"}
- } else {
- if (-e "$DETAILDIRBB") {system "rm -rf $DETAILDIRBB"}
- if (-e "$DETAILDIRIANA") {system "rm -rf $DETAILDIRIANA"}
-@@ -280,30 +281,30 @@
- $HISTORYHTMLDIR = "$HTMLDIR_LOCAL/24h_history";
- $logtext .= " HISTORYHTMLDIR = \"$HISTORYHTMLDIR\" ";
- if (-e "$HISTORYHTMLDIR") {$logtext .= "(ok)\n"}
-- else {mkdir("$HISTORYHTMLDIR", 0777); $logtext .= "(created)\n"}
-+ else {mkdir("$HISTORYHTMLDIR", 0775); $logtext .= "(created)\n"}
- $ICONSDIR = "$HTMLDIR_LOCAL/icons";
- $logtext .= " ICONSDIR = \"$ICONSDIR\"\n";
- $logtext .= " Trash dir = \"$HTMLDIR_LOCAL/trash\" ";
- if (-e "$HTMLDIR_LOCAL/trash") {system "rm -rf $HTMLDIR_LOCAL/trash/*"; $logtext .= "(ok, empty)\n"}
-- else {mkdir("$HTMLDIR_LOCAL/trash", 0777); $logtext .= "(created)\n"}
-+ else {mkdir("$HTMLDIR_LOCAL/trash", 0775); $logtext .= "(created)\n"}
-
- $logtext .= "\n HTMLDIR = \"$HTMLDIR\"\n";
- if (-d $HTMLDIR) {
-- unless (-e "$HTMLDIR/details") {mkdir("$HTMLDIR/details", 0777); $logtext .= " $HTMLDIR/details created.\n"}
-- unless (-e "$HTMLDIR/details/complete") {mkdir("$HTMLDIR/details/complete", 0777); $logtext .= " $HTMLDIR/details/complete created.\n"}
-- if ($MORETREES) {
-- unless (-e "$HTMLDIR/details/backbone") {mkdir("$HTMLDIR/details/backbone", 0777); $logtext .= " $HTMLDIR/details/backbone created.\n"}
-- unless (-e "$HTMLDIR/details/otherIANA") {mkdir("$HTMLDIR/details/otherIANA", 0777); $logtext .= " $HTMLDIR/details/otherIANA created.\n"}
-+ unless (-e "$HTMLDIR/details") {mkdir("$HTMLDIR/details", 0775); $logtext .= " $HTMLDIR/details created.\n"}
-+ unless (-e "$HTMLDIR/details/complete") {mkdir("$HTMLDIR/details/complete", 0775); $logtext .= " $HTMLDIR/details/complete created.\n"}
-+ if ($NOMORETREES) {
-+ unless (-e "$HTMLDIR/details/backbone") {mkdir("$HTMLDIR/details/backbone", 0775); $logtext .= " $HTMLDIR/details/backbone created.\n"}
-+ unless (-e "$HTMLDIR/details/otherIANA") {mkdir("$HTMLDIR/details/otherIANA", 0775); $logtext .= " $HTMLDIR/details/otherIANA created.\n"}
- } else {
- if (-e "$HTMLDIR/details/backbone") {system "rm -rf $HTMLDIR/details/backbone"}
- if (-e "$HTMLDIR/details/otherIANA") {system "rm -rf $HTMLDIR/details/otherIANA"}
- }
-- unless (-e "$HTMLDIR/24h_history") {mkdir("$HTMLDIR/24h_history", 0777); $logtext .= " $HTMLDIR/24h_history created.\n"}
-+ unless (-e "$HTMLDIR/24h_history") {mkdir("$HTMLDIR/24h_history", 0775); $logtext .= " $HTMLDIR/24h_history created.\n"}
- if ($CHANGESFLAG) {
-- unless (-e "$HTMLDIR/changes") {mkdir("$HTMLDIR/changes", 0777); $logtext .= " $HTMLDIR/changes created.\n"}
-+ unless (-e "$HTMLDIR/changes") {mkdir("$HTMLDIR/changes", 0775); $logtext .= " $HTMLDIR/changes created.\n"}
- }
- unless (-e "$HTMLDIR/icons") {
-- mkdir("$HTMLDIR/icons", 0777);
-+ mkdir("$HTMLDIR/icons", 0775);
- system("cp $ICONSDIR/* $HTMLDIR/icons");
- $logtext .= " $HTMLDIR/icons created and template icons copied.\n";
- }
-@@ -312,7 +313,7 @@
-
- $INDEXPAGE = "bgp.html";
- $LINKDIR = "details/complete";
-- if ($MORETREES) {
-+ if ($NOMORETREES) {
- $LINKDIRBB = "details/backbone";
- $LINKDIRIANA = "details/otherIANA";
- }
diff --git a/net-mgmt/aspathtree/files/pkg-message.in b/net-mgmt/aspathtree/files/pkg-message.in
deleted file mode 100644
index 52a8ed9cb9bb..000000000000
--- a/net-mgmt/aspathtree/files/pkg-message.in
+++ /dev/null
@@ -1,6 +0,0 @@
-For to configuration information please look at
-%%DOCSDIR%%/readme.txt.
-
-Copy %%PREFIX%%/etc/ASpath-tree.config.dist to
-%%PREFIX%%/etc/ASpath-tree.config
-and modify accordingly to your environment.