pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/p5-IO-Interface Updated net/p5-IO-Interface to 1.09
details: https://anonhg.NetBSD.org/pkgsrc/rev/06001640eb82
branches: trunk
changeset: 351191:06001640eb82
user: mef <mef%pkgsrc.org@localhost>
date: Tue Aug 16 13:09:16 2016 +0000
description:
Updated net/p5-IO-Interface to 1.09
-----------------------------------
1.09 Tue Dec 9 11:22:56 EST 2014
-Converted to use Module::Build
1.08 Mon Dec 8 10:38:42 EST 2014
-First Git version
-Apply segfault patches for OpenBSD from Mikolaj Kucharski.
1.07 Sun Jun 8 21:29:58 EDT 2014
-Apply patch from Miolaj Kucharski to fix segfault on OpenBSD.
diffstat:
net/p5-IO-Interface/Makefile | 7 ++++---
net/p5-IO-Interface/distinfo | 12 ++++++------
net/p5-IO-Interface/patches/patch-aa | 20 ++++++++++----------
3 files changed, 20 insertions(+), 19 deletions(-)
diffs (70 lines):
diff -r 455ddb099652 -r 06001640eb82 net/p5-IO-Interface/Makefile
--- a/net/p5-IO-Interface/Makefile Tue Aug 16 12:56:22 2016 +0000
+++ b/net/p5-IO-Interface/Makefile Tue Aug 16 13:09:16 2016 +0000
@@ -1,17 +1,18 @@
-# $NetBSD: Makefile,v 1.25 2016/06/08 19:24:08 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2016/08/16 13:09:16 mef Exp $
#
-DISTNAME= IO-Interface-1.06
+DISTNAME= IO-Interface-1.09
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 5
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=IO/}
MAINTAINER= he%NetBSD.org@localhost
HOMEPAGE= http://search.cpan.org/dist/IO-Interface/
COMMENT= IO-Interface - get and set interface characteristics
+LICENSE= artistic-2.0
PERL5_PACKLIST= auto/IO/Interface/.packlist
+PERL5_MODULE_TYPE= Module::Build
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 455ddb099652 -r 06001640eb82 net/p5-IO-Interface/distinfo
--- a/net/p5-IO-Interface/distinfo Tue Aug 16 12:56:22 2016 +0000
+++ b/net/p5-IO-Interface/distinfo Tue Aug 16 13:09:16 2016 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2015/11/04 00:35:19 agc Exp $
+$NetBSD: distinfo,v 1.8 2016/08/16 13:09:16 mef Exp $
-SHA1 (IO-Interface-1.06.tar.gz) = d775e8403487ca3ad86af9db3984ad19b0c0c997
-RMD160 (IO-Interface-1.06.tar.gz) = f06a3440396eeea7cb09927778571bd93cf10344
-SHA512 (IO-Interface-1.06.tar.gz) = d5a07b4df1614d4a0ca8462b3e343e1a65bed6f5282c6a368aa233e0d9f0f2d89475d1c5c0fa8fac1e495393bc164215a39af0f388c384e3c904ebf11f0a2460
-Size (IO-Interface-1.06.tar.gz) = 10339 bytes
-SHA1 (patch-aa) = e4c694f23813fefc9b8e4e83a5286e855a38e0f6
+SHA1 (IO-Interface-1.09.tar.gz) = 5cd764267ccd8b4a2495217a982d11c2d54cb666
+RMD160 (IO-Interface-1.09.tar.gz) = 9437908763a989cbd72493fb3239a207f602df36
+SHA512 (IO-Interface-1.09.tar.gz) = a23a4793e23ba0fbb0583c6692d7138e4a9b0a6959c9fa81489954090fa51ca6edfe79841a8f69ab7f7a52aec31a477cb01705f6d66d5c7e8b69f76301360cd5
+Size (IO-Interface-1.09.tar.gz) = 16414 bytes
+SHA1 (patch-aa) = 9a2da80746f38679e231df7c5abf8d0d5ec2fd45
diff -r 455ddb099652 -r 06001640eb82 net/p5-IO-Interface/patches/patch-aa
--- a/net/p5-IO-Interface/patches/patch-aa Tue Aug 16 12:56:22 2016 +0000
+++ b/net/p5-IO-Interface/patches/patch-aa Tue Aug 16 13:09:16 2016 +0000
@@ -1,14 +1,14 @@
-$NetBSD: patch-aa,v 1.1 2008/07/14 18:13:16 he Exp $
+$NetBSD: patch-aa,v 1.2 2016/08/16 13:09:17 mef Exp $
---- Interface.xs.orig 2008-06-06 17:51:42.000000000 +0200
-+++ Interface.xs
-@@ -511,6 +511,9 @@ if_netmask(sock, name, ...)
- operation = SIOCGIFNETMASK;
- }
- if (!Ioctl(sock,operation,&ifr)) XSRETURN_UNDEF;
+--- lib/IO/Interface.xs~ 2014-12-10 01:41:30.000000000 +0900
++++ lib/IO/Interface.xs 2016-08-16 22:00:11.000000000 +0900
+@@ -442,6 +442,9 @@ if_addr(sock, name, ...)
+ operation = SIOCGIFADDR;
+ }
+ if (!Ioctl(sock,operation,&ifr)) XSRETURN_UNDEF;
+#ifdef __NetBSD__
+ ifr.ifr_addr.sa_family = AF_INET;
+#endif
- if (ifr.ifr_addr.sa_family != AF_INET) croak ("Address is not in the AF_INET family.\n");
- RETVAL = inet_ntoa(((struct sockaddr_in*) &ifr.ifr_addr)->sin_addr);
- #endif
+ if (ifr.ifr_addr.sa_family != AF_INET) croak ("Address is not in the AF_INET family.\n");
+ RETVAL = inet_ntoa(((struct sockaddr_in*) &ifr.ifr_addr)->sin_addr);
+ }
Home |
Main Index |
Thread Index |
Old Index