|
@@ -4,7 +4,7 @@
|
|
Summary: A collection of SNMP protocol tools and libraries.
|
|
Summary: A collection of SNMP protocol tools and libraries.
|
|
Summary(ja): SNMP プロトコルツールとライブラリのコレクション
|
|
Summary(ja): SNMP プロトコルツールとライブラリのコレクション
|
|
Name: net-snmp
|
|
Name: net-snmp
|
|
-Version: 5.4.3
|
|
+Version: 5.6.1
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
License: BSDish
|
|
License: BSDish
|
|
Group: System Environment/Daemons
|
|
Group: System Environment/Daemons
|
|
@@ -19,19 +19,19 @@ Source7: net-snmp-config
|
|
Source8: net-snmp-trapd.redhat.conf
|
|
Source8: net-snmp-trapd.redhat.conf
|
|
|
|
|
|
## Patch1: ucd-snmp-4.2.4.pre3-mnttab.patch
|
|
## Patch1: ucd-snmp-4.2.4.pre3-mnttab.patch
|
|
-Patch1: net-snmp-5.4.3-mnttab.patch
|
|
+Patch1: net-snmp-5.6.1-mnttab.patch
|
|
Patch2: net-snmp-5.0.8-ipv6-sock-close.patch
|
|
Patch2: net-snmp-5.0.8-ipv6-sock-close.patch
|
|
Patch3: net-snmp-5.0.8-readonly.patch
|
|
Patch3: net-snmp-5.0.8-readonly.patch
|
|
-Patch4: net-snmp-5.4.1-pie.patch
|
|
+Patch4: net-snmp-5.6.1-pie.patch
|
|
# Patch5: net-snmp-5.4-64bit.patch
|
|
# Patch5: net-snmp-5.4-64bit.patch
|
|
Patch6: net-snmp-5.1.2-dir-fix.patch
|
|
Patch6: net-snmp-5.1.2-dir-fix.patch
|
|
Patch7: net-snmp-5.2.1-file_offset.patch
|
|
Patch7: net-snmp-5.2.1-file_offset.patch
|
|
Patch8: net-snmp-5.3.1-multilib.patch
|
|
Patch8: net-snmp-5.3.1-multilib.patch
|
|
-Patch9: net-snmp-5.4.1-config_libdir.patch
|
|
+Patch9: net-snmp-5.6.1-config_libdir.patch
|
|
# Patch10: net-snmp-5.4.1-ethtool-config.patch
|
|
# Patch10: net-snmp-5.4.1-ethtool-config.patch
|
|
-Patch11: net-snmp-5.4.1-strange_libpath.patch
|
|
+Patch11: net-snmp-5.6.1-strange_libpath.patch
|
|
# Patch12: net-snmp-5.4.1-hostname.patch
|
|
# Patch12: net-snmp-5.4.1-hostname.patch
|
|
-Patch13: net-snmp-5.4.3-shared-ip.patch
|
|
+Patch13: net-snmp-5.6.1-shared-ip.patch
|
|
# Patch14: net-snmp-5.4-exec-crash.patch
|
|
# Patch14: net-snmp-5.4-exec-crash.patch
|
|
Patch15: net-snmp-5.1.2-snmpconf-selinux.patch
|
|
Patch15: net-snmp-5.1.2-snmpconf-selinux.patch
|
|
Patch16: net-snmp-5.4.1-sensors3.patch
|
|
Patch16: net-snmp-5.4.1-sensors3.patch
|
|
@@ -151,9 +151,9 @@ perl から mib2c や SNMP を使用したいならば, net-snmp-perl パッケ
|
|
%endif
|
|
%endif
|
|
|
|
|
|
# %patch5 -p1 -b .64bit
|
|
# %patch5 -p1 -b .64bit
|
|
-%patch6 -p1 -b .dir-fix
|
|
+# %patch6 -p1 -b .dir-fix
|
|
%patch7 -p1 -b .file_offset
|
|
%patch7 -p1 -b .file_offset
|
|
-%patch8 -p1 -b .multilib
|
|
+# %patch8 -p1 -b .multilib
|
|
%patch9 -p1 -b .libdir
|
|
%patch9 -p1 -b .libdir
|
|
# %patch10 -p1 -b .ethtool
|
|
# %patch10 -p1 -b .ethtool
|
|
%patch11 -p1 -b .libpath
|
|
%patch11 -p1 -b .libpath
|
|
@@ -161,8 +161,8 @@ perl から mib2c や SNMP を使用したいならば, net-snmp-perl パッケ
|
|
%patch13 -p1 -b .shared-ip
|
|
%patch13 -p1 -b .shared-ip
|
|
# %patch14 -p1 -b .exec
|
|
# %patch14 -p1 -b .exec
|
|
%patch15 -p1 -b .selinux
|
|
%patch15 -p1 -b .selinux
|
|
-%patch16 -p0 -b .sensors
|
|
+# %patch16 -p0 -b .sensors
|
|
-%patch17 -p0 -b .xen-crash
|
|
+# %patch17 -p0 -b .xen-crash
|
|
|
|
|
|
perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh
|
|
perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh
|
|
|
|
|
|
@@ -188,6 +188,7 @@ perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh
|
|
--with-pic \
|
|
--with-pic \
|
|
--enable-embedded-perl \
|
|
--enable-embedded-perl \
|
|
--with-openssl \
|
|
--with-openssl \
|
|
|
|
+ --with-mnttab="/etc/mnttab" \
|
|
--with-sys-contact="root@localhost" <<EOF
|
|
--with-sys-contact="root@localhost" <<EOF
|
|
|
|
|
|
|
|
|
|
@@ -317,15 +318,19 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
%files utils
|
|
%files utils
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
|
|
+%{_bindir}/agentxtrap
|
|
%{_bindir}/fixproc
|
|
%{_bindir}/fixproc
|
|
%{_bindir}/ipf-mod.pl
|
|
%{_bindir}/ipf-mod.pl
|
|
%{_bindir}/encode_keychange
|
|
%{_bindir}/encode_keychange
|
|
|
|
+%{_bindir}/net-snmp-create-v3-user
|
|
%{_bindir}/snmp*
|
|
%{_bindir}/snmp*
|
|
%{_bindir}/traptoemail
|
|
%{_bindir}/traptoemail
|
|
%attr(0644,root,root) %{_mandir}/man1/snmp*.1*
|
|
%attr(0644,root,root) %{_mandir}/man1/snmp*.1*
|
|
%attr(0644,root,root) %{_mandir}/man1/traptoemail*.1*
|
|
%attr(0644,root,root) %{_mandir}/man1/traptoemail*.1*
|
|
%attr(0644,root,root) %{_mandir}/man1/encode_keychange*.1*
|
|
%attr(0644,root,root) %{_mandir}/man1/encode_keychange*.1*
|
|
%attr(0644,root,root) %{_mandir}/man1/fixproc*.1*
|
|
%attr(0644,root,root) %{_mandir}/man1/fixproc*.1*
|
|
|
|
+%attr(0644,root,root) %{_mandir}/man1/agentxtrap*.1*
|
|
|
|
+%attr(0644,root,root) %{_mandir}/man1/net-snmp-create-v3-user*.1*
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
%defattr(0644,root,root,0755)
|
|
%defattr(0644,root,root,0755)
|
|
@@ -343,12 +348,20 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%{_bindir}/mib2c
|
|
%{_bindir}/mib2c
|
|
%{_bindir}/mib2c-update
|
|
%{_bindir}/mib2c-update
|
|
|
|
+%{_bindir}/net-snmp-cert
|
|
%attr(0644,root,root) %{_mandir}/man1/mib2c-update*.1*
|
|
%attr(0644,root,root) %{_mandir}/man1/mib2c-update*.1*
|
|
%attr(0644,root,root) %{_mandir}/man1/mib2c.1*
|
|
%attr(0644,root,root) %{_mandir}/man1/mib2c.1*
|
|
%attr(0644,root,root) %{_mandir}/man3/*.3pm.*
|
|
%attr(0644,root,root) %{_mandir}/man3/*.3pm.*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Jan 10 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.6.1-1
|
|
|
|
+- new upstream release
|
|
|
|
+- add configure option: --with-mnttab="/etc/mnttab"
|
|
|
|
+- update Patch1,4,9,11,13 for net-snmp-5.6.1
|
|
|
|
+- drop Patch6,8,16,17
|
|
|
|
+- fix %%files
|
|
|
|
+
|
|
* Sun Aug 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.4.3-1
|
|
* Sun Aug 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.4.3-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- update Patch1 for net-snmp-5.4.3
|
|
- update Patch1 for net-snmp-5.4.3
|