SPECS (AC-branch): net-snmp.spec - package mibs .index ghost - add %{_libdi...

glen glen at pld-linux.org
Mon Apr 20 11:39:44 CEST 2009


Author: glen                         Date: Mon Apr 20 09:39:43 2009 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- package mibs .index ghost
- add %{_libdir}/snmp/dlmod
- don't pollute logs with debug stuff
- fix CVE-2008-6123 (net-snmp-src-dst-confusion.patch)
- rel 6

---- Files affected:
SPECS:
   net-snmp.spec (1.104.2.23 -> 1.104.2.24) 

---- Diffs:

================================================================
Index: SPECS/net-snmp.spec
diff -u SPECS/net-snmp.spec:1.104.2.23 SPECS/net-snmp.spec:1.104.2.24
--- SPECS/net-snmp.spec:1.104.2.23	Tue Mar 10 21:36:47 2009
+++ SPECS/net-snmp.spec	Mon Apr 20 11:39:38 2009
@@ -21,7 +21,7 @@
 Summary(uk.UTF-8):	Набір утиліт для протоколу SNMP від UC-Davis
 Name:		net-snmp
 Version:	5.4.2.1
-Release:	5
+Release:	6
 License:	BSD-like
 Group:		Networking/Daemons
 Source0:	http://dl.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz
@@ -50,6 +50,7 @@
 Patch13:	%{name}-subcontainer.patch
 Patch14:	%{name}-snmpnetstat-getbulk.patch
 Patch15:	%{name}-netlink.patch
+Patch16:	%{name}-src-dst-confusion.patch
 URL:		http://www.net-snmp.org/
 BuildRequires:	autoconf >= 2.61-3
 BuildRequires:	automake
@@ -422,6 +423,7 @@
 %patch13 -p1
 %patch14 -p1
 %patch15 -p1
+%patch16 -p3
 
 %build
 %{__libtoolize}
@@ -482,7 +484,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig,snmp},/var/log}
+install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig,snmp},/var/log,%{_libdir}/snmp/dlmod}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -540,6 +542,8 @@
 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/netsnmp/*.py
 %endif
 
+touch $RPM_BUILD_ROOT%{_datadir}/snmp/mibs/.index
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -590,6 +594,9 @@
 
 %attr(755,root,root) %{_sbindir}/snmpd
 
+%dir %{_libdir}/snmp
+%dir %{_libdir}/snmp/dlmod
+
 %{_mandir}/man5/snmpd.conf.5*
 %{_mandir}/man5/snmpd.examples.5*
 %{_mandir}/man5/snmpd.internal.5*
@@ -657,6 +664,7 @@
 %defattr(644,root,root,755)
 %dir %{_datadir}/snmp
 %{_datadir}/snmp/mibs
+%ghost %{_datadir}/snmp/mibs/.index
 
 %files snmptrapd
 %defattr(644,root,root,755)
@@ -773,6 +781,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.104.2.24  2009/04/20 09:39:38  glen
+- package mibs .index ghost
+- add %{_libdir}/snmp/dlmod
+- don't pollute logs with debug stuff
+- fix CVE-2008-6123 (net-snmp-src-dst-confusion.patch)
+- rel 6
+
 Revision 1.104.2.23  2009/03/10 20:36:47  glen
 - typo in -netlink.patch: dst address wasn't copied at all
 - rel 5
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/net-snmp.spec?r1=1.104.2.23&r2=1.104.2.24&f=u



More information about the pld-cvs-commit mailing list