From f25103334181cf1cf73f5c82f5a4f439d07e9862 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C5=A0afr=C3=A1nek?= Date: Wed, 1 Jul 2009 12:59:46 +0000 Subject: [PATCH] remove ucd-snmp-4.2.4.pre3-mnttab.patch, the configure check in current code should catch /etc/mtab automatically --- net-snmp.spec | 9 ++++++--- ucd-snmp-4.2.4.pre3-mnttab.patch | 20 -------------------- 2 files changed, 6 insertions(+), 23 deletions(-) delete mode 100644 ucd-snmp-4.2.4.pre3-mnttab.patch diff --git a/net-snmp.spec b/net-snmp.spec index d9243aa..4582be5 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -8,7 +8,7 @@ Summary: A collection of SNMP protocol tools and libraries Name: net-snmp Version: %{major_ver} -Release: 12%{?dist} +Release: 13%{?dist} Epoch: 1 License: BSD and MIT @@ -24,7 +24,6 @@ Source6: net-snmp-config.h Source7: net-snmp-config Source8: net-snmp-trapd.redhat.conf Source9: net-snmpd.sysconfig -Patch1: ucd-snmp-4.2.4.pre3-mnttab.patch Patch4: net-snmp-5.4.1-pie.patch Patch5: net-snmp-5.1.2-dir-fix.patch Patch6: net-snmp-5.2.1-file_offset.patch @@ -159,7 +158,8 @@ Net-SNMP toolkit library. %prep %setup -q -n %{name}-%{major_ver} -%patch1 -p1 -b .mnttab +# TODO: check, there is /etc/mtab in net-snmp-config.h on all architectures +# %patch1 -p1 -b .mnttab %ifnarch ia64 %patch4 -p1 -b .pie @@ -423,6 +423,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_datadir}/snmp/mibs %changelog +* Wed Jul 1 2009 Jan Safranek 5.4.2.1-13 +- package cleanup, remove unnecessary patches + * Wed Jul 1 2009 Jan Safranek 5.4.2.1-12 - make the default configuration less noisy, i.e. do not print "Connection from UDP:" and "Received SNMP packet(s) from UDP:" messages on each connection. diff --git a/ucd-snmp-4.2.4.pre3-mnttab.patch b/ucd-snmp-4.2.4.pre3-mnttab.patch deleted file mode 100644 index 9d8eacb..0000000 --- a/ucd-snmp-4.2.4.pre3-mnttab.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -up net-snmp-5.4.1/configure.backup_patch_1 net-snmp-5.4.1/configure ---- net-snmp-5.4.1/configure.backup_patch_1 2007-07-27 19:04:19.000000000 +0200 -+++ net-snmp-5.4.1/configure 2008-07-25 12:52:01.000000000 +0200 -@@ -26579,15 +26579,7 @@ echo $ECHO_N "checking for mount table l - if test "${ac_cv_ETC_MNTTAB+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 - else -- ac_cv_ETC_MNTTAB="unknown" --for i in /etc/mnttab /etc/mtab /etc/filesystems -- do -- if test -f $i; then -- ac_cv_ETC_MNTTAB="$i" -- break; -- fi --done -- -+ ac_cv_ETC_MNTTAB="/etc/mtab" - fi - echo "$as_me:$LINENO: result: $ac_cv_ETC_MNTTAB" >&5 - echo "${ECHO_T}$ac_cv_ETC_MNTTAB" >&6