packages: net-snmp/net-snmp.spec - BR: pciutils-devel - enabled SSH transpo...

qboosh qboosh at pld-linux.org
Sun Jul 31 14:55:04 CEST 2011


Author: qboosh                       Date: Sun Jul 31 12:55:04 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- BR: pciutils-devel
- enabled SSH transport (BR: libssh2-devel)
- package snmp_perl.pl (seems to be optionally used by snmpd to initialize perl interface)

---- Files affected:
packages/net-snmp:
   net-snmp.spec (1.180 -> 1.181) 

---- Diffs:

================================================================
Index: packages/net-snmp/net-snmp.spec
diff -u packages/net-snmp/net-snmp.spec:1.180 packages/net-snmp/net-snmp.spec:1.181
--- packages/net-snmp/net-snmp.spec:1.180	Sat Jul 30 21:39:39 2011
+++ packages/net-snmp/net-snmp.spec	Sun Jul 31 14:54:59 2011
@@ -1,7 +1,5 @@
 # $Revision$, $Date$
 # TODO
-# - package or remove:
-#   %{_datadir}/snmp/snmp_perl.pl
 # - make noarch -n mibs-net-snmp package (need separate .spec then)
 # - FHS: #define NETSNMP_AGENTX_SOCKET "/var/agentx/master"
 # - php-snmp (and likely other bindings) use only %{_libdir}/libnetsnmp.so.*, move other libs back to main (daemon) package?
@@ -64,10 +62,12 @@
 BuildRequires:	elfutils-devel
 %{?with_kerberos5:BuildRequires:	heimdal-devel}
 BuildRequires:	libnl-devel >= 1:3.0
+BuildRequires:	libssh2-devel
 BuildRequires:	libtool >= 1.4
 BuildRequires:	libwrap-devel
 %{?with_lm_sensors:BuildRequires:	lm_sensors-devel >= 3.0.1}
 BuildRequires:	openssl-devel >= 0.9.7d
+BuildRequires:	pciutils-devel
 %{?with_autodeps:BuildRequires:	perl-Term-ReadKey}
 BuildRequires:	perl-devel >= 1:5.8.0
 %if %{with python}
@@ -479,7 +479,7 @@
 	--with-security-modules="%{?with_kerberos5:ksm }tsm" \
 	--with-sys-contact="root at localhost" \
 	--with-sys-location="Unknown" \
-	--with-transports="UDP UDPIPv6 TCP TCPIPv6 Unix Callback Alias DTLSUDP TLSTCP" \
+	--with-transports="UDP UDPIPv6 TCP TCPIPv6 Unix Callback Alias DTLSUDP TLSTCP SSH" \
 	--with-persistent-directory="/var/lib/net-snmp" \
 	--enable-ucd-snmp-compatibility \
 	--enable-ipv6 \
@@ -536,8 +536,9 @@
 # IP-Filter (non-Linux)
 %{__rm} $RPM_BUILD_ROOT%{_bindir}/ipf-mod.pl
 
-rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
 %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Bundle/Makefile.subs.pl
+%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Bundle/NetSNMP/NetSNMP.{bs,so}
+rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Bundle/NetSNMP/.packlist
 
 %if %{with static_libs}
@@ -600,9 +601,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc README local
-%doc ChangeLog EXAMPLE.conf.def EXAMPLE.conf
-%doc FAQ NEWS PORTING README.snmpv3 TODO AGENT.txt
+%doc AGENT.txt CHANGES COPYING ChangeLog EXAMPLE.conf{,.def} FAQ NEWS README{,.agent-mibs,.agentx,.snmpv3,.sql,.thread} TODO local
 
 %attr(754,root,root) /etc/rc.d/init.d/snmpd
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/snmpd
@@ -613,10 +612,10 @@
 
 %attr(755,root,root) %{_sbindir}/snmpd
 %attr(755,root,root) %{_bindir}/net-snmp-create-v3-user
-
+%attr(755,root,root) %{_bindir}/sshtosnmp
 %dir %{_libdir}/snmp
 %dir %{_libdir}/snmp/dlmod
-
+%attr(755,root,root) %{_datadir}/snmp/snmp_perl.pl
 %{_mandir}/man1/net-snmp-create-v3-user.1*
 %{_mandir}/man5/snmpd.conf.5*
 %{_mandir}/man5/snmpd.examples.5*
@@ -630,8 +629,6 @@
 
 %files libs
 %defattr(644,root,root,755)
-%dir %{_sysconfdir}/snmp
-%dir %{_datadir}/snmp
 %attr(755,root,root) %{_libdir}/libnetsnmp.so.*.*.*
 %attr(755,root,root) %{_libdir}/libnetsnmpagent.so.*.*.*
 %attr(755,root,root) %{_libdir}/libnetsnmphelpers.so.*.*.*
@@ -642,6 +639,8 @@
 %attr(755,root,root) %ghost %{_libdir}/libnetsnmphelpers.so.%{so_version}
 %attr(755,root,root) %ghost %{_libdir}/libnetsnmpmibs.so.%{so_version}
 %attr(755,root,root) %ghost %{_libdir}/libnetsnmptrapd.so.%{so_version}
+%dir %{_sysconfdir}/snmp
+%dir %{_datadir}/snmp
 
 %files devel
 %defattr(644,root,root,755)
@@ -814,6 +813,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.181  2011/07/31 12:54:59  qboosh
+- BR: pciutils-devel
+- enabled SSH transport (BR: libssh2-devel)
+- package snmp_perl.pl (seems to be optionally used by snmpd to initialize perl interface)
+
 Revision 1.180  2011/07/30 19:39:39  arekm
 - up to 5.7
 
================================================================

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



More information about the pld-cvs-commit mailing list