From 8a8302de601e44f4586bd29c9db3c100927719e4 Mon Sep 17 00:00:00 2001 From: Kubilay Kocak Date: Wed, 5 Aug 2015 13:41:27 +0000 Subject: net-mgmt/rancid: Add AF_INET6 support Add AF_INET6 support that was left out of the previous update. PR: 200733 Submitted by: Nick Approved by: Janos Mohacsi (maintainer) --- net-mgmt/rancid/Makefile | 2 +- net-mgmt/rancid/files/patch-bin__rancid.in | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) (limited to 'net-mgmt') diff --git a/net-mgmt/rancid/Makefile b/net-mgmt/rancid/Makefile index 62b1c86f66be..a7891570f482 100644 --- a/net-mgmt/rancid/Makefile +++ b/net-mgmt/rancid/Makefile @@ -3,7 +3,7 @@ PORTNAME= rancid PORTVERSION= 2.3.8 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= net-mgmt MASTER_SITES= ftp://ftp.shrubbery.net/pub/rancid/ diff --git a/net-mgmt/rancid/files/patch-bin__rancid.in b/net-mgmt/rancid/files/patch-bin__rancid.in index 328a6e4a1986..1054a4835125 100644 --- a/net-mgmt/rancid/files/patch-bin__rancid.in +++ b/net-mgmt/rancid/files/patch-bin__rancid.in @@ -1,5 +1,13 @@ ---- bin/rancid.in.orig 2015-06-09 15:46:07.000000000 +0100 -+++ bin/rancid.in 2015-06-09 15:57:24.000000000 +0100 +--- bin/rancid.in.orig 2015-07-03 17:22:07.000000000 +0100 ++++ bin/rancid.in 2015-07-06 07:10:54.000000000 +0100 +@@ -45,6 +45,7 @@ + # usage: rancid [-dV] [-l] [-f filename | hostname] + # + use Getopt::Std; ++use Socket qw(AF_INET AF_INET6 inet_pton); + getopts('dflV'); + if ($opt_V) { + print "rancid 2.3.8\n"; @@ -162,13 +162,38 @@ @sorted_lines; } -- cgit v1.2.3