diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/p5-Net-Interface/DESCR | 16 | ||||
-rw-r--r-- | net/p5-Net-Interface/Makefile | 23 | ||||
-rw-r--r-- | net/p5-Net-Interface/distinfo | 6 | ||||
-rw-r--r-- | net/p5-Net-Interface/patches/patch-aa | 15 |
4 files changed, 60 insertions, 0 deletions
diff --git a/net/p5-Net-Interface/DESCR b/net/p5-Net-Interface/DESCR new file mode 100644 index 00000000000..95556c53af0 --- /dev/null +++ b/net/p5-Net-Interface/DESCR @@ -0,0 +1,16 @@ +Net::Interface is a module that allows access to the host network interfaces +in a manner similar to ifconfig(8). Version 1.00 is a complete re-write and +includes support for IPV6 as well as the traditional IPV4. + +Both read and write access to network device attributes including the +creation of new logical and physical interfaces is available where supported +by the OS and this module. + +NOTE: if your OS is not supported, please feel free to contribute new +capabilities, patches, etc.... see: Net::Interface::Developer + +ANOTHER NOTE: Many of the operations of Net::Interface, particularly those +that set interface values require privileged access to OS resources. Wherever +possible, Net::Interface will simply fail softly when there are not adequate +privileges to perform the requested operation or where the operation is not +supported. diff --git a/net/p5-Net-Interface/Makefile b/net/p5-Net-Interface/Makefile new file mode 100644 index 00000000000..56368fc3f44 --- /dev/null +++ b/net/p5-Net-Interface/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/03/21 13:50:18 sno Exp $ + +DISTNAME= Net-Interface-1.010 +PKGNAME= p5-${DISTNAME} +CATEGORIES= net perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/${DISTNAME} +COMMENT= Perl extension to access network interfaces + +PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir + +PERL5_PACKLIST= auto/Net/Interface/.packlist + +REPLACE_PERL+= inst/netsymbols.pl + +pre-configure: + @${FIND} ${WRKSRC} -name '*.orig' -print -type f | ${XARGS} ${RM} -f + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/p5-Net-Interface/distinfo b/net/p5-Net-Interface/distinfo new file mode 100644 index 00000000000..ce64d065a3a --- /dev/null +++ b/net/p5-Net-Interface/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/03/21 13:50:18 sno Exp $ + +SHA1 (Net-Interface-1.010.tar.gz) = 6328db6d706c28f974c1a3a6a3a629e8c9818dc7 +RMD160 (Net-Interface-1.010.tar.gz) = f9b5059c8b8a0da4c16d0a8e346d81abb239439c +Size (Net-Interface-1.010.tar.gz) = 173123 bytes +SHA1 (patch-aa) = 94ffbe6a6a27f73c9524ab66cd66afde53a615ce diff --git a/net/p5-Net-Interface/patches/patch-aa b/net/p5-Net-Interface/patches/patch-aa new file mode 100644 index 00000000000..22f122f6846 --- /dev/null +++ b/net/p5-Net-Interface/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 2009/03/21 13:50:18 sno Exp $ + +--- inst/netsymbols.pl.orig 2009-03-21 13:27:00.000000000 +0000 ++++ inst/netsymbols.pl 2009-03-21 13:29:41.000000000 +0000 +@@ -281,8 +281,8 @@ + |; + ### populate exports + +-print NFe q|#!/usr/bin/perl +-# ++print NFe "#!$^X\n"; ++print NFe q|# + # DO NOT ALTER THIS FILE + # IT IS WRITTEN BY Makefile.PL and inst/netsymbols.pl + # EDIT THOSE INSTEAD |