packages (AC-branch): net-snmp/net-snmp.spec - add make UCD-SNMP-MIB::laCon...
glen
glen at pld-linux.org
Wed Dec 23 17:51:02 CET 2009
Author: glen Date: Wed Dec 23 16:51:02 2009 GMT
Module: packages Tag: AC-branch
---- Log message:
- add make UCD-SNMP-MIB::laConfig writable patch; rel 12
---- Files affected:
packages/net-snmp:
net-snmp.spec (1.104.2.24 -> 1.104.2.25)
---- Diffs:
================================================================
Index: packages/net-snmp/net-snmp.spec
diff -u packages/net-snmp/net-snmp.spec:1.104.2.24 packages/net-snmp/net-snmp.spec:1.104.2.25
--- packages/net-snmp/net-snmp.spec:1.104.2.24 Mon Apr 20 11:39:38 2009
+++ packages/net-snmp/net-snmp.spec Wed Dec 23 17:50:57 2009
@@ -1,7 +1,7 @@
# $Revision$, $Date$
# TODO
-# - package or remove:
-# %{_datadir}/snmp/snmp_perl.pl
+# - make noarch -n mibs-net-snmp package, most of the files are same as libsmi packages
+# - make it scan for mibs (if not yet) in /usr/share/mibs (and legacy /usr/share/snmp/mibs)
#
# Conditional build:
%bcond_without autodeps # don't BR packages only for deps resolving
@@ -21,7 +21,7 @@
Summary(uk.UTF-8): Набір утиліт для протоколу SNMP від UC-Davis
Name: net-snmp
Version: 5.4.2.1
-Release: 6
+Release: 12
License: BSD-like
Group: Networking/Daemons
Source0: http://dl.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz
@@ -51,6 +51,7 @@
Patch14: %{name}-snmpnetstat-getbulk.patch
Patch15: %{name}-netlink.patch
Patch16: %{name}-src-dst-confusion.patch
+Patch19: %{name}-loadave-writable.patch
URL: http://www.net-snmp.org/
BuildRequires: autoconf >= 2.61-3
BuildRequires: automake
@@ -65,7 +66,9 @@
BuildRequires: perl-devel >= 1:5.8.0
%if %{with python}
BuildRequires: python-devel
+BuildRequires: python-modules
BuildRequires: python-setuptools
+BuildRequires: rpm-pythonprov
%endif
%if %{with rpm}
BuildRequires: rpm
@@ -424,6 +427,7 @@
%patch14 -p1
%patch15 -p1
%patch16 -p3
+%patch17 -p1
%build
%{__libtoolize}
@@ -484,9 +488,9 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig,snmp},/var/log,%{_libdir}/snmp/dlmod}
+install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig,snmp},/var/log,/var/lib/net-snmp,%{_libdir}/snmp/dlmod}
-%{__make} install \
+%{__make} -j1 install \
DESTDIR=$RPM_BUILD_ROOT
install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
@@ -506,7 +510,7 @@
# $RPM_BUILD_ROOT%{_datadir}/snmp/mibs
cd perl
-%{__make} install \
+%{__make} -j1 install \
DESTDIR=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_examplesdir}/perl-SNMP-%{version}
@@ -603,6 +607,8 @@
%{_mandir}/man5/variables.5*
%{_mandir}/man8/snmpd.8*
+%dir %attr(700,root,root) /var/lib/net-snmp
+
%attr(640,root,root) %ghost %{logfile}
%files libs
@@ -663,7 +669,7 @@
%files mibs
%defattr(644,root,root,755)
%dir %{_datadir}/snmp
-%{_datadir}/snmp/mibs
+%{_datadir}/snmp/mibs/*.txt
%ghost %{_datadir}/snmp/mibs/.index
%files snmptrapd
@@ -781,6 +787,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.104.2.25 2009/12/23 16:50:57 glen
+- add make UCD-SNMP-MIB::laConfig writable patch; rel 12
+
Revision 1.104.2.24 2009/04/20 09:39:38 glen
- package mibs .index ghost
- add %{_libdir}/snmp/dlmod
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/net-snmp/net-snmp.spec?r1=1.104.2.24&r2=1.104.2.25&f=u
More information about the pld-cvs-commit
mailing list