- rc2 prebuilt

This commit is contained in:
Radek Vokál 2005-10-25 12:35:48 +00:00
parent 8db6dd5f74
commit b8e14d8509
3 changed files with 11 additions and 40 deletions

View File

@ -1 +1 @@
net-snmp-5.2.1.2.tar.gz
net-snmp-5.2.2.rc2.tar.gz

View File

@ -2,8 +2,8 @@
Summary: A collection of SNMP protocol tools and libraries.
Name: net-snmp
Version: 5.2.1.2
Release: 3
Version: 5.2.2.rc2
Release: 1
License: BSDish
Group: System Environment/Daemons
URL: http://net-snmp.sourceforge.net/
@ -16,7 +16,6 @@ Source5: ucd5820stat
Patch1: ucd-snmp-4.2.4.pre3-mnttab.patch
# Drop for 5.3
Patch2: net-snmp-5.0.6-syslog.patch
Patch3: net-snmp-5.0.6-compat.patch
Patch4: net-snmp-5.0.6-libtool.patch
# Drop for 5.3
Patch5: net-snmp-5.0.8-ipv6-sock-close.patch
@ -26,25 +25,15 @@ Patch8: net-snmp-5.1.1-pie.patch
Patch9: net-snmp-5.2-64bit.diff
#kills virtual interfaces
#Patch10: net-snmp-5.1.1-ipAdEntIfIndex.patch
Patch11: net-snmp-5.1.2-lelf.patch
Patch12: net-snmp-5.1.2-dir-fix.patch
Patch14: net-snmp-5.1.2-conf_list.patch
Patch15: net-snmp-5.2.1-trim.patch
Patch16: net-snmp-5.1.2-ASN-unsigned64.patch
Patch17: net-snmp-5.2.1-typeclash.diff
#Patch18: net-snmp-5.1.2-agentx_register_callbacks_entry.patch
Patch19: net-snmp-5.2.1-file_offset.patch
Patch20: net-snmp-5.2.1-ethtool.patch
Patch21: net-snmp-5.1.2-free_session.patch
Patch22: net-snmp-5.2.1-clear_callback3.patch
Patch23: net-snmp-5.1-mktemp.diff
Patch24: net-snmp-5.2.1-counter32_overflow.patch
Patch25: net-snmp-5.2.1.2-udpTable-addr.patch
Prereq: /sbin/chkconfig
Obsoletes: ucd-snmp
BuildRoot: %{_tmppath}/%{name}-root
BuildPrereq: openssl-devel, bzip2-devel, beecrypt-devel, elfutils-devel, libselinux-devel
BuildPrereq: openssl-devel, bzip2-devel, beecrypt-devel, elfutils-devel
BuildPrereq: libselinux-devel, elfutils-libelf-devel
%ifarch %{ix86} x86_64
BuildPrereq: lm_sensors-devel
%endif
@ -90,9 +79,7 @@ Group: Development/Libraries
Summary: The development environment for the NET-SNMP project.
Requires: %{name} = %{version}
Obsoletes: ucd-snmp-devel
BuildPrereq: elfutils-libelf-devel
Requires: beecrypt-devel, elfutils-devel, rpm-devel
Requires: beecrypt-devel, elfutils-devel, rpm-devel, elfutils-libelf-devel
%description devel
The net-snmp-devel package contains the development libraries and
@ -128,15 +115,9 @@ and applications.
%prep
%setup -q
%patch1 -p1 -b .mnttab
# Drop for 5.3?
%patch2 -p1 -b .syslog
%patch4 -p1 -b .libtool
# Drop for 5.3?
%patch5 -p1 -b .ipv6-sock-close
%patch6 -p1 -b .readonly
%patch7 -p1 -b .async-getnext
@ -145,23 +126,9 @@ and applications.
%endif
%patch9 -b .64bit
#%patch10 -p1 -b .ipAdEntIfIndex
%patch11 -p1 -b .lelf
%patch12 -p1 -b .dir-fix
%patch14 -p1 -b .conf_list
# from CVS
%patch15 -p1 -b .trim
%patch16 -p1 -b .ASN-unsigned64
%patch17 -b .typeclash
#%patch18 -p1 -b .reg_callbacks
%patch19 -p1 -b .file_offset
%patch20 -p1 -b .ethtool
%patch21 -p1 -b .free_session
%patch22 -p1 -b .callback3
%patch23 -b .mktemp
%patch24 -p1 -b .counter32
%patch25 -p0 -b .udpTable
# Do this patch with a perl hack...
perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh
@ -190,6 +157,7 @@ export LDFLAGS="-L%{_libdir}"
--enable-ucd-snmp-compatibility \
--with-openssl \
--with-pic \
--enable-embedded-perl \
--with-sys-contact="root@localhost" <<EOF
EOF
@ -340,6 +308,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/*.la
%changelog
* Tue Oct 25 2005 Radek Vokal <rvokal@redhat.com> - 5.2.2.rc2-1
- rc2 prebuilt
* Tue Sep 20 2005 Radek Vokal <rvokal@redhat.com> - 5.2.1.2-3
- fix endian issues for addresses

View File

@ -1 +1 @@
34159770a7fe418d99fdd416a75358b1 net-snmp-5.2.1.2.tar.gz
69a3b73afa8b13f40d94a56588affca1 net-snmp-5.2.2.rc2.tar.gz