pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/p5-Net-Interface pkgsrc-changes:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0ce21e9e7de4
branches:  trunk
changeset: 556406:0ce21e9e7de4
user:      sno <sno%pkgsrc.org@localhost>
date:      Sat Mar 21 13:50:18 2009 +0000

description:
pkgsrc-changes:

- Introducing package for CPAN module Net::Interface

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.

Auto-Oked by rhaen@ - I'm Co-Maintainer of CPAN module

diffstat:

 net/p5-Net-Interface/DESCR            |  16 ++++++++++++++++
 net/p5-Net-Interface/Makefile         |  23 +++++++++++++++++++++++
 net/p5-Net-Interface/distinfo         |   6 ++++++
 net/p5-Net-Interface/patches/patch-aa |  15 +++++++++++++++
 4 files changed, 60 insertions(+), 0 deletions(-)

diffs (76 lines):

diff -r d6a9ee5e51d8 -r 0ce21e9e7de4 net/p5-Net-Interface/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-Net-Interface/DESCR        Sat Mar 21 13:50:18 2009 +0000
@@ -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 -r d6a9ee5e51d8 -r 0ce21e9e7de4 net/p5-Net-Interface/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-Net-Interface/Makefile     Sat Mar 21 13:50:18 2009 +0000
@@ -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@localhost
+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 -r d6a9ee5e51d8 -r 0ce21e9e7de4 net/p5-Net-Interface/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-Net-Interface/distinfo     Sat Mar 21 13:50:18 2009 +0000
@@ -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 -r d6a9ee5e51d8 -r 0ce21e9e7de4 net/p5-Net-Interface/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-Net-Interface/patches/patch-aa     Sat Mar 21 13:50:18 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index