[packages/perl-SNMP_Session] Up to 1.16
arekm
arekm at pld-linux.org
Thu Nov 19 12:37:29 CET 2026
commit 8e4c1256c2b7b29ea64de7d6fb1616015a6073ef
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 19 01:17:05 2026 +0100
Up to 1.16
perl-SNMP_Session-Socket6_conflict.patch | 21 ---------------------
perl-SNMP_Session.spec | 13 ++++++-------
2 files changed, 6 insertions(+), 28 deletions(-)
---
diff --git a/perl-SNMP_Session.spec b/perl-SNMP_Session.spec
index af41a7d..7dd0e07 100644
--- a/perl-SNMP_Session.spec
+++ b/perl-SNMP_Session.spec
@@ -20,14 +20,13 @@ Summary(sv.UTF-8): SNMP Perlmodul
Summary(uk.UTF-8): Модуль для Perl SNMP
Summary(zh_CN.UTF-8): SNMP Perl 模块
Name: perl-SNMP_Session
-Version: 1.13
-Release: 3
+Version: 1.16
+Release: 1
License: Artistic
Group: Development/Languages/Perl
-Source0: http://snmp-session.googlecode.com/files/SNMP_Session-%{version}.tar.gz
-# Source0-md5: 055e1065babf55f1f8606329c6bdb947
-Patch0: %{name}-Socket6_conflict.patch
-URL: http://code.google.com/p/snmp-session/
+Source0: https://www.cpan.org/authors/id/S/SK/SKIM/SNMP_Session-%{version}.tar.gz
+# Source0-md5: 4712b05d9bb566edc585db7868b54459
+URL: https://metacpan.org/dist/SNMP_Session
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
@@ -44,7 +43,6 @@ używane wspólnie, dają dostęp do zewnętrznych serwisów SNMP (v1/v2).
%prep
%setup -q -n SNMP_Session-%{version}
-%patch -P0 -p0
%build
%{__perl} Makefile.PL \
@@ -66,3 +64,4 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc README* index.html test
%{perl_vendorlib}/*.pm
+%{_mandir}/man3/*
diff --git a/perl-SNMP_Session-Socket6_conflict.patch b/perl-SNMP_Session-Socket6_conflict.patch
deleted file mode 100644
index 9017647..0000000
--- a/perl-SNMP_Session-Socket6_conflict.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-$OpenBSD: patch-lib_SNMP_Session_pm,v 1.2 2010/03/20 23:05:17 sthen Exp $
---- lib/SNMP_Session.pm.orig Fri Nov 21 05:25:17 2008
-+++ lib/SNMP_Session.pm Tue Mar 16 16:14:22 2010
-@@ -146,7 +146,7 @@ BEGIN {
-
- if (eval {local $SIG{__DIE__};require Socket6;} &&
- eval {local $SIG{__DIE__};require IO::Socket::INET6; IO::Socket::INET6->VERSION("1.26");}) {
-- import Socket6;
-+ Socket6->import(qw(inet_pton getaddrinfo));
- $ipv6_addr_len = length(pack_sockaddr_in6(161, inet_pton(AF_INET6(), "::1")));
- $SNMP_Session::ipv6available = 1;
- }
-@@ -605,7 +605,7 @@ use Carp;
- BEGIN {
- if($SNMP_Session::ipv6available) {
- import IO::Socket::INET6;
-- import Socket6;
-+ Socket6->import(qw(inet_pton getaddrinfo));
- }
- }
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-SNMP_Session.git/commitdiff/8e4c1256c2b7b29ea64de7d6fb1616015a6073ef
More information about the pld-cvs-commit
mailing list