From ff1babdd8f28a96315d320e651bac6fd73dd95ca Mon Sep 17 00:00:00 2001 From: mef Date: Tue, 16 Aug 2016 13:09:16 +0000 Subject: 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. --- 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(-) diff --git a/net/p5-IO-Interface/Makefile b/net/p5-IO-Interface/Makefile index f1710d2837e..4ae0a8b6d96 100644 --- a/net/p5-IO-Interface/Makefile +++ b/net/p5-IO-Interface/Makefile @@ -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 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 --git a/net/p5-IO-Interface/distinfo b/net/p5-IO-Interface/distinfo index d68d34c5a29..c28c995ac29 100644 --- a/net/p5-IO-Interface/distinfo +++ b/net/p5-IO-Interface/distinfo @@ -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 --git a/net/p5-IO-Interface/patches/patch-aa b/net/p5-IO-Interface/patches/patch-aa index 06c4f3f4416..104c8fd972b 100644 --- a/net/p5-IO-Interface/patches/patch-aa +++ b/net/p5-IO-Interface/patches/patch-aa @@ -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); + } -- cgit v1.2.3