diff --git a/net-snmp-5.3.1.pre2-config.patch b/net-snmp-5.3.1.pre2-config.patch new file mode 100644 index 0000000..af589fb --- /dev/null +++ b/net-snmp-5.3.1.pre2-config.patch @@ -0,0 +1,163 @@ +--- net-snmp-5.3.1.pre2/configure.in.xxx 2006-05-05 23:22:23.000000000 +0200 ++++ net-snmp-5.3.1.pre2/configure.in 2006-05-26 12:51:52.000000000 +0200 +@@ -10,7 +10,7 @@ + # + # Process this file with autoconf to produce a configure script. + # +-AC_INIT([Net-SNMP], [5.3.1.pre1], [net-snmp-coders@lists.sourceforge.net]) ++AC_INIT([Net-SNMP], [5.3.1.pre2], [net-snmp-coders@lists.sourceforge.net]) + AC_PREREQ([2.59]) + AC_CONFIG_SRCDIR([agent/mibgroup/ucd-snmp/extensible.c]) + AC_REVISION([$Revision: 5.206.2.5 $]) +--- net-snmp-5.3.1.pre2/configure.xxx 2006-05-26 12:51:52.000000000 +0200 ++++ net-snmp-5.3.1.pre2/configure 2006-05-26 12:53:49.000000000 +0200 +@@ -1,7 +1,7 @@ + #! /bin/sh + # From configure.in Revision: 5.206.2.4 . + # Guess values for system-dependent variables and create Makefiles. +-# Generated by GNU Autoconf 2.59 for Net-SNMP 5.3.1.pre1. ++# Generated by GNU Autoconf 2.59 for Net-SNMP 5.3.1.pre2. + # + # Report bugs to . + # +@@ -429,8 +429,8 @@ + # Identity of this package. + PACKAGE_NAME='Net-SNMP' + PACKAGE_TARNAME='net-snmp' +-PACKAGE_VERSION='5.3.1.pre1' +-PACKAGE_STRING='Net-SNMP 5.3.1.pre1' ++PACKAGE_VERSION='5.3.1.pre2' ++PACKAGE_STRING='Net-SNMP 5.3.1.pre2' + PACKAGE_BUGREPORT='net-snmp-coders@lists.sourceforge.net' + + ac_unique_file="agent/mibgroup/ucd-snmp/extensible.c" +@@ -940,7 +940,7 @@ + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +-\`configure' configures Net-SNMP 5.3.1.pre1 to adapt to many kinds of systems. ++\`configure' configures Net-SNMP 5.3.1.pre2 to adapt to many kinds of systems. + + Usage: $0 [OPTION]... [VAR=VALUE]... + +@@ -1002,7 +1002,7 @@ + + if test -n "$ac_init_help"; then + case $ac_init_help in +- short | recursive ) echo "Configuration of Net-SNMP 5.3.1.pre1:";; ++ short | recursive ) echo "Configuration of Net-SNMP 5.3.1.pre2:";; + esac + cat <<\_ACEOF + +@@ -1385,7 +1385,7 @@ + test -n "$ac_init_help" && exit 0 + if $ac_init_version; then + cat <<\_ACEOF +-Net-SNMP configure 5.3.1.pre1 ++Net-SNMP configure 5.3.1.pre2 + generated by GNU Autoconf 2.59 + + Copyright (C) 2003 Free Software Foundation, Inc. +@@ -1399,7 +1399,7 @@ + This file contains any messages produced by compilers while + running configure, to aid debugging if configure makes a mistake. + +-It was created by Net-SNMP $as_me 5.3.1.pre1, which was ++It was created by Net-SNMP $as_me 5.3.1.pre2, which was + generated by GNU Autoconf 2.59. Invocation command line was + + $ $0 $@ +@@ -34894,7 +34894,7 @@ + } >&5 + cat >&5 <<_CSEOF + +-This file was extended by Net-SNMP $as_me 5.3.1.pre1, which was ++This file was extended by Net-SNMP $as_me 5.3.1.pre2, which was + generated by GNU Autoconf 2.59. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES +@@ -34957,7 +34957,7 @@ + + cat >>$CONFIG_STATUS <<_ACEOF + ac_cs_version="\\ +-Net-SNMP config.status 5.3.1.pre1 ++Net-SNMP config.status 5.3.1.pre2 + configured by $0, generated by GNU Autoconf 2.59, + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" + +--- net-snmp-5.3.1.pre2/configure.mnttab.xxx 2006-05-13 08:49:56.000000000 +0200 ++++ net-snmp-5.3.1.pre2/configure.mnttab 2006-05-26 12:51:52.000000000 +0200 +@@ -1,7 +1,7 @@ + #! /bin/sh + # From configure.in Revision: 5.206.2.4 . + # Guess values for system-dependent variables and create Makefiles. +-# Generated by GNU Autoconf 2.59 for Net-SNMP 5.3.1.pre1. ++# Generated by GNU Autoconf 2.59 for Net-SNMP 5.3.1.pre2. + # + # Report bugs to . + # +@@ -429,8 +429,8 @@ + # Identity of this package. + PACKAGE_NAME='Net-SNMP' + PACKAGE_TARNAME='net-snmp' +-PACKAGE_VERSION='5.3.1.pre1' +-PACKAGE_STRING='Net-SNMP 5.3.1.pre1' ++PACKAGE_VERSION='5.3.1.pre2' ++PACKAGE_STRING='Net-SNMP 5.3.1.pre2' + PACKAGE_BUGREPORT='net-snmp-coders@lists.sourceforge.net' + + ac_unique_file="agent/mibgroup/ucd-snmp/extensible.c" +@@ -940,7 +940,7 @@ + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +-\`configure' configures Net-SNMP 5.3.1.pre1 to adapt to many kinds of systems. ++\`configure' configures Net-SNMP 5.3.1.pre2 to adapt to many kinds of systems. + + Usage: $0 [OPTION]... [VAR=VALUE]... + +@@ -1002,7 +1002,7 @@ + + if test -n "$ac_init_help"; then + case $ac_init_help in +- short | recursive ) echo "Configuration of Net-SNMP 5.3.1.pre1:";; ++ short | recursive ) echo "Configuration of Net-SNMP 5.3.1.pre2:";; + esac + cat <<\_ACEOF + +@@ -1385,7 +1385,7 @@ + test -n "$ac_init_help" && exit 0 + if $ac_init_version; then + cat <<\_ACEOF +-Net-SNMP configure 5.3.1.pre1 ++Net-SNMP configure 5.3.1.pre2 + generated by GNU Autoconf 2.59 + + Copyright (C) 2003 Free Software Foundation, Inc. +@@ -1399,7 +1399,7 @@ + This file contains any messages produced by compilers while + running configure, to aid debugging if configure makes a mistake. + +-It was created by Net-SNMP $as_me 5.3.1.pre1, which was ++It was created by Net-SNMP $as_me 5.3.1.pre2, which was + generated by GNU Autoconf 2.59. Invocation command line was + + $ $0 $@ +@@ -34902,7 +34902,7 @@ + } >&5 + cat >&5 <<_CSEOF + +-This file was extended by Net-SNMP $as_me 5.3.1.pre1, which was ++This file was extended by Net-SNMP $as_me 5.3.1.pre2, which was + generated by GNU Autoconf 2.59. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES +@@ -34965,7 +34965,7 @@ + + cat >>$CONFIG_STATUS <<_ACEOF + ac_cs_version="\\ +-Net-SNMP config.status 5.3.1.pre1 ++Net-SNMP config.status 5.3.1.pre2 + configured by $0, generated by GNU Autoconf 2.59, + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" + diff --git a/net-snmp.spec b/net-snmp.spec index 00acf39..b7e2e90 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -6,7 +6,7 @@ Summary: A collection of SNMP protocol tools and libraries. Name: net-snmp Version: 5.3.1.pre2 -Release: 3 +Release: 4 License: BSDish Group: System Environment/Daemons @@ -37,6 +37,8 @@ Patch24: net-snmp-5.3-size_t.patch Patch25: net-snmp-5.3-ipv6_retrans_ms.patch Patch26: net-snmp-5.3_vendorperl.patch Patch27: net-snmp-5.3.1-multilib.patch +# config fix, lib is 5.3.1.pre2 +Patch28: net-snmp-5.3.1.pre2-config.patch Prereq: /sbin/chkconfig Obsoletes: ucd-snmp @@ -143,6 +145,7 @@ and applications. %patch25 -p1 -b .retrans_ms %patch26 -p0 %patch27 -p1 -b .multilib +%patch28 -p1 -b .config # Do this patch with a perl hack... perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh @@ -343,6 +346,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/*.a %changelog +* Fri May 26 2006 Radek Vokal 5.3.1.pre2-4 +- fix lib version + * Thu May 25 2006 Radek Vokal 5.3.1.pre2-3 - another multilib fix. Fix also net-snmp-config script