Accepting request 44072 from devel:languages:perl
Copy from devel:languages:perl/perl-Net-SNMP based on submit request 44072 from user computersalat OBS-URL: https://build.opensuse.org/request/show/44072 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SNMP?expand=0&rev=9
This commit is contained in:
parent
d93cc4a678
commit
3c8ea185da
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:af98ea67074ddc5b617e889ddba34a28afbb8de422f5fe3b8eda915272759419
|
||||
size 64864
|
3
Net-SNMP-v6.0.0.tar.bz2
Normal file
3
Net-SNMP-v6.0.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5b17c6dfb1bd7c41e913985973374ad33945bbaac374ef039deca65ef7853557
|
||||
size 72796
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 13:03:56 UTC 2010 - chris@computersalat.de
|
||||
|
||||
- update to v6.0.0
|
||||
- Substantial internal code cleanup was performed based upon the
|
||||
Perl::Critic module and the "Perl Best Practices" book.
|
||||
- Added support for the Module::Build system for building, testing,
|
||||
and installing Perl modules.
|
||||
- The translation logic for OCTET STRINGs now uses the definition of
|
||||
a DisplayString in RFC 2579 to determine if the octets are to be
|
||||
converted into a hexadecimal representation.
|
||||
- The get_table() and get_entries() methods were refactored as part
|
||||
of the code cleanup. The get_entries() method now handles "holes"
|
||||
in tables better and indexes with a value of zero.
|
||||
- The inheritance structure of the Transport Domain objects was
|
||||
updated to reduce code duplication and increase maintainability.
|
||||
- The resolution of IPv6 addresses was made more exhaustive.
|
||||
- The handling of OBJECT IDENTIFIERs was made more efficient by
|
||||
using [un]pack() with a BER compressed integer template.
|
||||
- Additional validation of the values passed to most methods is now
|
||||
performed and the error messages have been made more robust.
|
||||
- The documented examples were updated based upon commonly asked
|
||||
questions (specifically Example 3 and Example 4).
|
||||
- A Response-PDU with an error-status set to "noError" no longer
|
||||
generates an error when the error-index is non-zero, as decribed
|
||||
in Section 4.2.4 of RFC 3416.
|
||||
- The function oid_lex_cmp() was added to provide for the
|
||||
lexicographical comparison of two OBJECT IDENTIFIERs.
|
||||
- The error-status is no longer set for the exceptions noSuchObject,
|
||||
noSuchInstance, and endOfMibView when translation is not enabled.
|
||||
- recreated by cpanspec 1.78
|
||||
- noarch pkg
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package perl-Net-SNMP (Version 5.2.0)
|
||||
# spec file for package perl-Net-SNMP (Version 6.0.0)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@ -19,55 +19,75 @@
|
||||
|
||||
|
||||
Name: perl-Net-SNMP
|
||||
BuildRequires: perl-Crypt-DES perl-Digest-HMAC
|
||||
Version: 5.2.0
|
||||
Release: 133
|
||||
Provides: p_nsnmp
|
||||
Obsoletes: p_nsnmp
|
||||
Requires: perl-Digest-HMAC perl-Digest-SHA1 perl-Crypt-DES
|
||||
Requires: perl = %{perl_version}
|
||||
AutoReqProv: on
|
||||
%define cpan_name Net-SNMP
|
||||
Summary: Object oriented interface to SNMP
|
||||
Version: 6.0.0
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
License: Artistic
|
||||
Url: http://search.cpan.org/perldoc?Net::SNMP
|
||||
Summary: Net::SNMP Perl Module
|
||||
Source: Net-SNMP-%{version}.tar.bz2
|
||||
Url: http://search.cpan.org/dist/Net-SNMP/
|
||||
#Source: http://www.cpan.org/modules/by-module/Net/Net-SNMP-v%{version}.tar.gz
|
||||
Source: %{cpan_name}-v%{version}.tar.bz2
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Module::Build)
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Crypt::DES) >= 2.03
|
||||
BuildRequires: perl(Crypt::Rijndael) >= 1.02
|
||||
BuildRequires: perl(Digest::HMAC) >= 1.00
|
||||
BuildRequires: perl(Digest::MD5) >= 2.11
|
||||
BuildRequires: perl(Digest::SHA1) >= 1.02
|
||||
BuildRequires: perl(Errno)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(IO::Socket)
|
||||
BuildRequires: perl(Socket6) >= 0.23
|
||||
Requires: perl = %{perl_version}
|
||||
Requires: perl(Carp)
|
||||
Requires: perl(Crypt::DES) >= 2.03
|
||||
Requires: perl(Crypt::Rijndael) >= 1.02
|
||||
Requires: perl(Digest::HMAC) >= 1.00
|
||||
Requires: perl(Digest::MD5) >= 2.11
|
||||
Requires: perl(Digest::SHA1) >= 1.02
|
||||
Requires: perl(Errno)
|
||||
Requires: perl(Exporter)
|
||||
Requires: perl(IO::Socket)
|
||||
Requires: perl(Socket6) >= 0.23
|
||||
|
||||
%description
|
||||
The Net::SNMP module implements an object oriented interface to the
|
||||
Simple Network Management Protocol.
|
||||
|
||||
|
||||
The Net::SNMP module abstracts the intricate details of the Simple
|
||||
Network Management Protocol by providing a high level programming
|
||||
interface to the protocol. Each Net::SNMP object provides a one-to-one
|
||||
mapping between a Perl object and a remote SNMP agent or manager. Once an
|
||||
object is created, it can be used to perform the basic protocol exchange
|
||||
actions defined by SNMP.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
David M. Town <dtown@fore.com>
|
||||
|
||||
%prep
|
||||
%setup -q -n Net-SNMP-%{version}
|
||||
%setup -q -n %{cpan_name}-v%{version}
|
||||
|
||||
%build
|
||||
find examples -type f | xargs -n 1 sed -i "s@#!\s*/usr/local/bin/perl@#!/usr/bin/perl@"
|
||||
perl Makefile.PL
|
||||
make %{?_smp_mflags}
|
||||
make test
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes README examples
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorlib}/Net
|
||||
%{perl_vendorarch}/auto/Net
|
||||
%{_bindir}/*
|
||||
/var/adm/perl-modules/%{name}
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE README
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user