Compare commits

..

No commits in common. 'i10cs' and 'c9' have entirely different histories.
i10cs ... c9

2
.gitignore vendored

@ -1 +1 @@
SOURCES/SNMP_Session-1.16.tar.gz SOURCES/SNMP_Session-1.13.tar.gz

@ -1 +1 @@
33d1de08220661aaafcc3b0f2bd00ccd3ff74c27 SOURCES/SNMP_Session-1.16.tar.gz 7f4de0a9104ad6a0fb71af23ce83c71609c7e674 SOURCES/SNMP_Session-1.13.tar.gz

@ -1,12 +0,0 @@
diff -u -r SNMP_Session-1.13.orig/lib/SNMP_Session.pm SNMP_Session-1.13/lib/SNMP_Session.pm
--- SNMP_Session-1.13.orig/lib/SNMP_Session.pm 2023-06-05 11:48:19.304310300 +0200
+++ SNMP_Session-1.13/lib/SNMP_Session.pm 2023-06-05 11:48:48.422475999 +0200
@@ -622,7 +622,7 @@
$local_hostname,$ipv4only) = @_;
my($remote_addr,$socket,$sockfamily);
- $ipv4only = 1 unless defined $ipv4only;
+ $ipv4only = 1 if defined $ipv4only;
$sockfamily = AF_INET;
$community = 'public' unless defined $community;

@ -1,19 +1,16 @@
Name: perl-SNMP_Session Name: perl-SNMP_Session
Version: 1.16 Version: 1.13
Release: 6%{?dist} Release: 28%{?dist}
Summary: SNMP support for Perl 5 Summary: SNMP support for Perl 5
License: Artistic-2.0 License: Artistic 2.0
URL: https://github.com/sleinen/snmp-session/ URL: http://code.google.com/p/snmp-session/
Source0: https://github.com/sleinen/snmp-session/archive/v%{version}/SNMP_Session-%{version}.tar.gz Source0: http://snmp-session.googlecode.com/files/SNMP_Session-%{version}.tar.gz
Patch0: SNMP_Session-1.13-fix_ivp6.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: make BuildRequires: make
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(IO::Socket::INET6)
Requires: perl(Socket6)
%description %description
Pure Perl SNMP v1 and SNMP v2 support for Perl 5. Pure Perl SNMP v1 and SNMP v2 support for Perl 5.
@ -24,19 +21,20 @@ and "set", as well as trap generation and reception.
%prep %prep
%setup -q -n SNMP_Session-%{version} %setup -q -n SNMP_Session-%{version}
%patch -P 0 -p1
%{__perl} -pi -e 's{^#!/usr/local/bin/perl\b}{#!%{__perl}}' test/* %{__perl} -pi -e 's{^#!/usr/local/bin/perl\b}{#!%{__perl}}' test/*
chmod -c 644 test/* chmod -c 644 test/*
%build %build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{__perl} Makefile.PL INSTALLDIRS=vendor
%{make_build} make %{?_smp_mflags}
%install %install
%{make_install} make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
%{_fixperms} %{buildroot}/* find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check %check
@ -44,64 +42,17 @@ make test
%files %files
%license Artistic %doc Artistic README README.SNMP_util index.html test/
%doc README README.SNMP_util index.html test/
%{perl_vendorlib}/* %{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog %changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.16-6 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.13-28
- Bump release for October 2024 mass rebuild: - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Resolves: RHEL-64018 Related: rhbz#1991688
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.16-5 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.13-27
- Rebuilt for MSVSphere 10 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.16-5
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jun 21 2023 Tom Callaway <spot@fedoraproject.org> - 1.16-1
- update to 1.16
* Mon Jun 5 2023 Tom Callaway <spot@fedoraproject.org> - 1.15-1
- update to 1.15
* Mon Jun 05 2023 Michal Josef Špaček <mspacek@redhat.com> - 1.13-34
- Fix IPv6 functionality of SNMP_Session
* Tue Apr 04 2023 Michal Josef Špaček <mspacek@redhat.com> - 1.13-33
- Fix ipv6
- Modernize spec file
- Use %license macro
- Update license to SPDX format
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.13-30
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.13-27
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-26 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save