net-snmp-vl.spec 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851
  1. # Arches on which we need to prevent arch conflicts on net-snmp-config.h
  2. %define multilib_arches %{ix86} ia64 ppc ppc64 x86_64
  3. Summary: A collection of SNMP protocol tools and libraries.
  4. Summary(ja): SNMP プロトコルツールとライブラリのコレクション
  5. Name: net-snmp
  6. Version: 5.4.3
  7. Release: 1%{?_dist_release}
  8. License: BSDish
  9. Group: System Environment/Daemons
  10. Source0: http://dl.sourceforge.net/net-snmp/net-snmp-%{version}.tar.gz
  11. Source1: net-snmp.redhat.conf
  12. Source2: net-snmpd.init
  13. Source3: net-snmptrapd.init
  14. Source4: net-snmpd.logrotate
  15. Source5: ucd5820stat
  16. Source6: net-snmp-config.h
  17. Source7: net-snmp-config
  18. Source8: net-snmp-trapd.redhat.conf
  19. ## Patch1: ucd-snmp-4.2.4.pre3-mnttab.patch
  20. Patch1: net-snmp-5.4.3-mnttab.patch
  21. Patch2: net-snmp-5.0.8-ipv6-sock-close.patch
  22. Patch3: net-snmp-5.0.8-readonly.patch
  23. Patch4: net-snmp-5.4.1-pie.patch
  24. # Patch5: net-snmp-5.4-64bit.patch
  25. Patch6: net-snmp-5.1.2-dir-fix.patch
  26. Patch7: net-snmp-5.2.1-file_offset.patch
  27. Patch8: net-snmp-5.3.1-multilib.patch
  28. Patch9: net-snmp-5.4.1-config_libdir.patch
  29. # Patch10: net-snmp-5.4.1-ethtool-config.patch
  30. Patch11: net-snmp-5.4.1-strange_libpath.patch
  31. # Patch12: net-snmp-5.4.1-hostname.patch
  32. Patch13: net-snmp-5.4.3-shared-ip.patch
  33. # Patch14: net-snmp-5.4-exec-crash.patch
  34. Patch15: net-snmp-5.1.2-snmpconf-selinux.patch
  35. Patch16: net-snmp-5.4.1-sensors3.patch
  36. Patch17: net-snmp-5.4.1-xen-crash.patch
  37. Requires(pre): /sbin/chkconfig
  38. Obsoletes: cmu-snmp ucd-snmp
  39. BuildRoot: %{_tmppath}/%{name}-root
  40. BuildRequires: tcp_wrappers, openssl-devel, bzip2-devel, elfutils-libelf-devel
  41. BuildRequires: perl, grep, sed, findutils
  42. BuildRequires: rpm-devel >= 4.0.4
  43. %{expand: %%define _includedir %{_includedir}/%{name}}
  44. %description
  45. SNMP (Simple Network Management Protocol) is a protocol used for
  46. network management. The NET-SNMP project includes various SNMP tools:
  47. an extensible agent, an SNMP library, tools for requesting or setting
  48. information from SNMP agents, tools for generating and handling SNMP
  49. traps, a version of the netstat command which uses SNMP, and a Tk/Perl
  50. mib browser. This package contains the snmpd and snmptrapd daemons,
  51. documentation, etc.
  52. You will probably also want to install the ucd-snmp-utils package,
  53. which contains NET-SNMP utilities.
  54. %description -l ja
  55. SNMP (Simple Network Management Protocol) はネットワーク管理に用いる
  56. プロトコルです. NET-SNMP プロジェクトは以下のような様々な SNMP ツールを
  57. 含んでいます : 拡張性のあるエージェント, SNMP ライブラリ, SNMP
  58. エージェントからの情報の要求や設定を行うツール, SNMP 割り込みの生成や
  59. ハンドリングを行うツール, SNMP を用いる netstat コマンド, および TK/Perl
  60. mib ブラウザ. このパッケージは snmpd, snmptrapd デーモンやドキュメント
  61. なども含んでいます.
  62. おそらく, NET-SNMP ユーティリティを含んだ net-snmp-utils パッケージも
  63. インストールした方が良いでしょう。
  64. %package utils
  65. Group: Applications/System
  66. Summary: Network management utilities using SNMP, from the NET-SNMP project.
  67. Summary(ja): SNMP を用いたネットワーク管理ユーティリティ
  68. Requires: net-snmp = %{version}
  69. Obsoletes: cmu-snmp-utils ucd-snmp-utils
  70. %description utils
  71. The net-snmp-utils package contains various utilities for use with the
  72. NET-SNMP network management project.
  73. Install this package if you need utilities for managing your network
  74. using the SNMP protocol. You will also need to install the net-snmp
  75. package.
  76. %description utils -l ja
  77. net-snmp-utils パッケージは NET-SNMP ネットワーク管理プロジェクトにて
  78. 用いられる様々なユーティリティを含んでいます. net-snmp パッケージも
  79. インストールする必要があります.
  80. %package devel
  81. Group: Development/Libraries
  82. Summary: The development environment for the NET-SNMP project.
  83. Summary(ja): NET-SNMP 用の開発環境
  84. Requires: net-snmp = %{version}, elfutils-libelf-devel
  85. Obsoletes: cmu-snmp-devel ucd-snmp-devel
  86. %description devel
  87. The net-snmp-devel package contains the development libraries and
  88. header files for use with the NET-SNMP project's network management
  89. tools.
  90. Install the net-snmp-devel package if you would like to develop
  91. applications for use with the NET-SNMP project's network management
  92. tools. You'll also need to have the net-snmp and net-snmp-utils
  93. packages installed.
  94. #'
  95. %description devel -l ja
  96. net-snmp-devel パッケージには NET-SNMP プロジェクトのネットワーク管理
  97. ツールの開発に用いる開発ライブラリおよびヘッダが含まれています.
  98. NET-SNMP プロジェクトのネットワーク管理ツールを用いるアプリケーションを
  99. 開発したいならば, net-snmp-devel パッケージをインストールしてください.
  100. おそらく net-snmp, net-snmp-utils パッケージもインストールする必要が
  101. あるでしょう.
  102. %package perl
  103. Group: Development/Libraries
  104. Summary: The perl NET-SNMP module and the mib2c tool.
  105. Summary(ja): perl NET-SNMP モジュールおよび mib2c ツール
  106. Requires: net-snmp = %{version}, perl >= 5, perl-XML-Simple
  107. BuildRequires: perl >= 5
  108. %description perl
  109. The net-snmp-perl package contains the perl files to use SNMP from within
  110. Perl.
  111. Install the net-snmp-perl package, if you want to use mib2c or SNMP with perl.
  112. %description perl -l ja
  113. net-snmp-perl パッケージには Perl から SNMP を使用するための perl
  114. ファイルが含まれています.
  115. perl から mib2c や SNMP を使用したいならば, net-snmp-perl パッケージを
  116. インストールしてください.
  117. %prep
  118. %setup -q
  119. %patch1 -p1 -b .mnttab
  120. %patch2 -p1 -b .ipv6-sock-close
  121. %patch3 -p1 -b .readonly
  122. %ifnarch ia64
  123. %patch4 -p1 -b .pie
  124. %endif
  125. # %patch5 -p1 -b .64bit
  126. %patch6 -p1 -b .dir-fix
  127. %patch7 -p1 -b .file_offset
  128. %patch8 -p1 -b .multilib
  129. %patch9 -p1 -b .libdir
  130. # %patch10 -p1 -b .ethtool
  131. %patch11 -p1 -b .libpath
  132. # %patch12 -p1 -b .hostname
  133. %patch13 -p1 -b .shared-ip
  134. # %patch14 -p1 -b .exec
  135. %patch15 -p1 -b .selinux
  136. %patch16 -p0 -b .sensors
  137. %patch17 -p0 -b .xen-crash
  138. perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh
  139. %build
  140. #perl -pi -e 's/changequote/dnl changequote/' ./configure.in
  141. #autoreconf -i
  142. #touch configure
  143. # First build the static library
  144. # XXX remove privacy support?
  145. %configure \
  146. --enable-static --enable-shared \
  147. --with-cflags="$RPM_OPT_FLAGS -D_RPM_4_4_COMPAT" \
  148. --with-sys-location="Unknown" \
  149. --with-logfile="/var/log/snmpd.log" \
  150. --with-persistent-directory="/var/net-snmp" \
  151. --with-mib-modules="host agentx smux" \
  152. --with-libwrap=%{_libdir} \
  153. --sysconfdir=%{_sysconfdir} \
  154. --enable-ipv6 \
  155. --enable-ucd-snmp-compatibility \
  156. --with-pic \
  157. --enable-embedded-perl \
  158. --with-openssl \
  159. --with-sys-contact="root@localhost" <<EOF
  160. EOF
  161. make
  162. pushd perl
  163. # Use just built libs for perl module building, not the system libs.
  164. #perl Makefile.PL -NET-SNMP-IN-SOURCE=true PREFIX=${RPM_BUILD_ROOT}/%{_prefix} INSTALLDIRS=vendor
  165. export NETSNMP_DONT_CHECK_VERSION=1
  166. perl Makefile.PL PREFIX=${RPM_BUILD_ROOT}/%{_prefix} INSTALLDIRS=vendor -NET-SNMP-CONFIG="sh ../../net-snmp-config" -NET-SNMP-IN-SOURCE=true
  167. make
  168. popd
  169. %install
  170. rm -rf ${RPM_BUILD_ROOT}
  171. %makeinstall ucdincludedir=${RPM_BUILD_ROOT}%{_includedir}/ucd-snmp
  172. # Determine which arch opensslconf.h is going to try to #include.
  173. basearch=%{_arch}
  174. %ifarch %{ix86}
  175. basearch=i386
  176. %endif
  177. mv ${RPM_BUILD_ROOT}/%{_bindir}/net-snmp-config ${RPM_BUILD_ROOT}/%{_bindir}/net-snmp-config-${basearch}
  178. install -m 755 %SOURCE7 ${RPM_BUILD_ROOT}/%{_bindir}/net-snmp-config
  179. %ifarch %{multilib_arches}
  180. # Do an net-snmp-config.h switcheroo to avoid file conflicts on systems where you
  181. # can have both a 32- and 64-bit version of the library, and they each need
  182. # their own correct-but-different versions of net-snmp-config.h to be usable.
  183. mv ${RPM_BUILD_ROOT}/%{_includedir}/net-snmp-config.h ${RPM_BUILD_ROOT}/%{_includedir}/net-snmp-config-${basearch}.h
  184. install -m644 %SOURCE6 ${RPM_BUILD_ROOT}/%{_includedir}/net-snmp-config.h
  185. %endif
  186. # remove .la files
  187. rm ${RPM_BUILD_ROOT}%{_libdir}/*.la
  188. install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/snmp
  189. install -m 644 %SOURCE1 ${RPM_BUILD_ROOT}%{_sysconfdir}/snmp/snmpd.conf
  190. install -m 644 %SOURCE8 ${RPM_BUILD_ROOT}%{_sysconfdir}/snmp/snmptrapd.conf
  191. install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/rc.d/init.d
  192. install -m 755 %SOURCE2 ${RPM_BUILD_ROOT}%{_sysconfdir}/rc.d/init.d/snmpd
  193. install -m 755 %SOURCE3 ${RPM_BUILD_ROOT}%{_sysconfdir}/rc.d/init.d/snmptrapd
  194. install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d
  195. install -m 644 %{SOURCE4} ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/snmpd
  196. install -d ${RPM_BUILD_ROOT}%{_bindir}
  197. install -m 755 %SOURCE5 ${RPM_BUILD_ROOT}%{_bindir}/ucd5820stat
  198. rm -f ${RPM_BUILD_ROOT}%{_bindir}/snmpinform
  199. rm -f ${RPM_BUILD_ROOT}%{_bindir}/tkmib
  200. rm -f ${RPM_BUILD_ROOT}%{_bindir}/snmpcheck
  201. rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/snmpconf.1*
  202. rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/tkmib.1*
  203. ln -s snmptrap ${RPM_BUILD_ROOT}/usr/bin/snmpinform
  204. # copy missing mib2c.conf files
  205. cp local/mib2c.*.conf ${RPM_BUILD_ROOT}%{_datadir}/snmp
  206. pushd perl
  207. make PREFIX=${RPM_BUILD_ROOT}/%{_prefix} install_vendor
  208. eval $(perl '-V:installvendorlib')
  209. find $RPM_BUILD_ROOT%{_libdir} -name Makefile.subs.pl | xargs rm -f
  210. find $RPM_BUILD_ROOT%{_libdir} -name perllocal.pod | xargs rm -f
  211. find $RPM_BUILD_ROOT%{_libdir} -name .packlist | xargs rm -f
  212. find $RPM_BUILD_ROOT/$installvendorlib -type f -print \
  213. -o -type d -a \
  214. -name NetSNMP -printf '%%%%dir %%p\n' \
  215. -o -name SNMP -printf '%%%%dir %%p\n' | \
  216. sed "s@$RPM_BUILD_ROOT@@g" > ../perl.lst
  217. popd
  218. find $RPM_BUILD_ROOT -name '*.so' | xargs chmod 0755
  219. %post
  220. /sbin/ldconfig
  221. /sbin/chkconfig --add snmpd
  222. /sbin/chkconfig --add snmptrapd
  223. %preun
  224. if [ $1 = 0 ]; then
  225. service snmpd stop >/dev/null 2>&1
  226. /sbin/chkconfig --del snmpd
  227. service snmptrapd stop >/dev/null 2>&1
  228. /sbin/chkconfig --del snmptrapd
  229. # remove stale autogenerated file
  230. rm -f %{_datadir}/snmp/mibs/.index
  231. fi
  232. %postun
  233. /sbin/ldconfig
  234. if [ "$1" -ge "1" ]; then
  235. service snmpd condrestart >/dev/null 2>&1 || :
  236. service snmptrapd condrestart >/dev/null 2>&1 || :
  237. fi
  238. %clean
  239. rm -rf ${RPM_BUILD_ROOT}
  240. %files
  241. %defattr(-,root,root,-)
  242. %doc AGENT.txt COPYING ChangeLog EXAMPLE.conf FAQ NEWS PORTING README* TODO
  243. %doc local/passtest local/README.mib2c local/ipf-mod.pl
  244. %dir %{_sysconfdir}/snmp
  245. %config(noreplace,missingok) %{_sysconfdir}/snmp/snmpd.conf
  246. %config(noreplace,missingok) %{_sysconfdir}/snmp/snmptrapd.conf
  247. %config(noreplace) %{_sysconfdir}/rc.d/init.d/snmpd
  248. %config(noreplace) %{_sysconfdir}/rc.d/init.d/snmptrapd
  249. %config(noreplace) %{_sysconfdir}/logrotate.d/snmpd
  250. %{_datadir}/snmp
  251. %{_libdir}/lib*.so.*
  252. %{_bindir}/ucd5820stat
  253. %{_sbindir}/*
  254. %attr(0644,root,root) %{_mandir}/man[58]/*
  255. %files utils
  256. %defattr(-,root,root,-)
  257. %{_bindir}/fixproc
  258. %{_bindir}/ipf-mod.pl
  259. %{_bindir}/encode_keychange
  260. %{_bindir}/snmp*
  261. %{_bindir}/traptoemail
  262. %attr(0644,root,root) %{_mandir}/man1/snmp*.1*
  263. %attr(0644,root,root) %{_mandir}/man1/traptoemail*.1*
  264. %attr(0644,root,root) %{_mandir}/man1/encode_keychange*.1*
  265. %attr(0644,root,root) %{_mandir}/man1/fixproc*.1*
  266. %files devel
  267. %defattr(0644,root,root,0755)
  268. %{_libdir}/lib*.so
  269. %{_libdir}/lib*.a
  270. %{_libdir}/lib*.so.*
  271. #%{_libdir}/lib*.la
  272. %{_includedir}/*
  273. #/usr/include/ucd-snmp
  274. %attr(0644,root,root) %{_mandir}/man3/*.3.*
  275. %attr(0755,root,root) %{_bindir}/net-snmp-config*
  276. %attr(0644,root,root) %{_mandir}/man1/net-snmp-config*.1.*
  277. %files perl -f perl.lst
  278. %defattr(-,root,root)
  279. %{_bindir}/mib2c
  280. %{_bindir}/mib2c-update
  281. %attr(0644,root,root) %{_mandir}/man1/mib2c-update*.1*
  282. %attr(0644,root,root) %{_mandir}/man1/mib2c.1*
  283. %attr(0644,root,root) %{_mandir}/man3/*.3pm.*
  284. %changelog
  285. * Sun Aug 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.4.3-1
  286. - new upstream release
  287. - update Patch1 for net-snmp-5.4.3
  288. - update Patch13 for net-snmp-5.4.3
  289. - fix %install
  290. * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 5.4.2.1-4
  291. - rebuild with rpm-4.8.0
  292. * Fri Mar 20 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.4.2.1-3
  293. - modify Source7 (use 'uname -m' instead of 'arch') ([bts:0675]
  294. * Sat Nov 29 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 5.4.2.1-2
  295. - rebuilt
  296. * Wed Nov 12 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 5.4.2.1-1
  297. - new upstream release with security fix
  298. - drop old patches
  299. - update patch13 (from FC10)
  300. * Tue Jun 24 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.4.1.2-1
  301. - new upstream release
  302. - applied new versioning policy
  303. - built with perl-5.10.0-3
  304. * Wed Jan 2 2008 Satoshi MACHINO <machino@vinelinux.org> 5.4.1-0vl1
  305. - new upstream release
  306. - fixed spec file
  307. -- imported patches from FC9
  308. * Sat May 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2.1.2-0vl5
  309. - rebuilt with openssl 0.9.8e
  310. * Thu May 10 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 5.2.1.2-0vl4
  311. - rebuild with new environment/toolchain
  312. * Thu Dec 22 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2.1.2-0vl3
  313. - rebuilt with new rpm
  314. - added mib2c-update to perl package
  315. * Mon Oct 24 2005 Satoshi MACHINO <machino@vinelinux.org> 5.2.1.2-0vl2
  316. - rebuilt for VineSeed
  317. * Mon Oct 24 2005 Satoshi MACHINO <machino@vinelinux.org> 5.2.1.2-0vl1
  318. - new upstream version (net-snmp-5.2.1.2)
  319. - dropped enable-reentrant in configure (VinePlus:02769)
  320. * Sat Jan 29 2005 Satoshi MACHINO <machino@vinelinux.org> 5.2.1-0vl1
  321. - new upstream version (net-snmp-5.2.1)
  322. - dropped patch12
  323. * Mon Jan 03 2005 Satoshi MACHINO <machino@vinelinux.org> 5.2-0vl1
  324. - new upstream version (net-snmp-5.2)
  325. - changed to net-snmp-vl.spec
  326. - cleaned up patches
  327. * Thu Apr 29 2004 Satoshi MACHINO <machino@vinelinux.org> 5.1.1-0vl1
  328. - New upstream version (net-snmp-5.1.1)
  329. - dropped patch10
  330. - added some patches from fedoracore (patch16-18)
  331. - fixed patches (patch13,14)
  332. - enabled openssl in configure
  333. * Mon Feb 16 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1-9vl1
  334. - based on Fedora development 5.1-9
  335. * Tue Feb 03 2004 Phil Knirsch <pknirsch@redhat.com> 5.1-9
  336. - Reverted removal of _includir redefiniton due to php-snmp dependancy.
  337. - Remove SO_BSDCOMPAT setsockopt() call, deprecated.
  338. * Thu Jan 22 2004 Thomas Woerner <twoerner@redhat.com> 5.1-7
  339. - enabled pie (snmpd, snmptrapd) - postponed for ia64
  340. - added --with-pic to configure call
  341. * Thu Jan 15 2004 Phil Knirsch <pknirsch@redhat.com> 5.1-6
  342. - Fixed 64bit build problems when 32bit popt lib is installed.
  343. - added Requires: libelf-devel to net-snmp-devel package
  344. * Fri Dec 26 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1-3vl1
  345. - based on Fedora development 5.1-3 and don't apply patch9
  346. * Wed Dec 10 2003 Phil Knirsch <pknirsch@redhat.com> 5.1-3
  347. - Removed snmpcheck again, needs perl(Tk) which we don't ship (#111194).
  348. - Fixed getopt definition in include file (#111209).
  349. - Included Kaj J. Niemi's patch for broken perl module (#111319).
  350. - Included Kaj J. Niemi's patch for broken async getnext perl call (#111479).
  351. - Included Kaj J. Niemi's patch for broken hr_storage (#111502).
  352. * Wed Nov 26 2003 Phil Knirsch <pknirsch@redhat.com> 5.1-2
  353. - Included BuildPrereq on lm_sensors-devel on x86 archs (#110616).
  354. - Fixed deprecated initscript options (#110618).
  355. * Wed Nov 19 2003 Phil Knirsch <pknirsch@redhat.com> 5.1-1
  356. - Updated to latest net-snmp-5.1 upstream version.
  357. - Tons of specfile and patch cleanup.
  358. - Cleaned up perl stuff (mib2c etc, see #107707).
  359. - Added lm_sensors support patch for x86 archs from Kaj J. Niemi (#107618).
  360. - Added support for custom mib paths and mibs to snmptrapd initscript (#102762)
  361. - rebuild with new toolchains
  362. * Tue Nov 18 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.0.9-2vl1
  363. - based on Fedora development 5.0.9-2
  364. - merged ucd-snmp-vine.spec
  365. * Wed Nov 20 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.2.5-7vl2
  366. - added Patch100 (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=67610)
  367. (Thanks M. Matsubara-san for pointing this out)
  368. * Wed Nov 20 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.2.5-7vl1
  369. - based on 4.2.4-7.73.0 from RHL7.3/updates and built for Vine Linux
  370. (previous Vine version was 4.2.3-1vl1, which was based on 4.2.1-7
  371. and applied security fix CA-2002-03)
  372. - added BuildPreReq: rpm-devel >= 4.0.4
  373. * Mon Oct 13 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.9-2
  374. - Due to rpm-devel we need elfutils-devel, too (#103982).
  375. * Mon Sep 29 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.9-1
  376. - Updated to latest upstream version net-snmp-5.0.9
  377. - Added patch to fix net-snmp-perl problems (#105842).
  378. * Tue Sep 23 2003 Florian La Roche <Florian.LaRoche@redhat.de>
  379. - allow compiling without tcp_wrappers
  380. * Wed Sep 17 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-11.1
  381. - rebuilt
  382. * Wed Sep 17 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-11
  383. - Fixed permission for net-snmp-config in net-snmp-devel
  384. * Mon Sep 08 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-10.1
  385. - rebuilt
  386. * Mon Sep 08 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-10
  387. - Moved net-snmp-config into devel package (#103927)
  388. * Fri Aug 22 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-9.1
  389. - rebuilt
  390. * Thu Aug 21 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-9
  391. - Added sample config to make net-snmp RFC 1213 compliant.
  392. * Fri Aug 15 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-8
  393. - Fixed problem with perl option (#102420).
  394. - Added patch for libwrap fix (#77926).
  395. * Tue Aug 12 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-7.1
  396. - rebuilt
  397. * Tue Aug 12 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-7
  398. - Fixed build problems on ppc64
  399. - Fixed double packaged manpages (#102075).
  400. * Thu Aug 07 2003 Phil Knirsch <pknirsch@redhat.com>
  401. - Fixed problem with new proc output (#98619, #89960).
  402. * Wed Aug 06 2003 Phil Knirsch <pknirsch@redhat.com>
  403. - Fixed ro/rw problem with v2 and v3 request (#89612)
  404. * Tue Aug 05 2003 Phil Knirsch <pknirsch@redhat.com>
  405. - Fixed permission problem for debuginfo (#101456)
  406. * Thu Jul 31 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-6.1
  407. - Fixed file list for latest build.
  408. * Thu Jul 31 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-6
  409. - Fixed build problems for net-snmp-perl.
  410. * Sun Jul 27 2003 Florian La Roche <Florian.LaRoche@redhat.de> 5.0.8-5
  411. - actually apply ipv6 patch
  412. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  413. - rebuilt
  414. * Tue Apr 29 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-3
  415. - bumped release and rebuilt.
  416. * Tue Apr 29 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-2
  417. - Hack to make it build on 64bit platforms with /usr/lib64 correctly.
  418. - Fixed bug #85071 (leak of open descriptors for ipv6).
  419. * Fri Mar 28 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-1
  420. - Updated to latest upstream version 5.0.8 (bug #88580)
  421. * Thu Feb 13 2003 Phil Knirsch <pknirsch@redhat.com>
  422. - Included generation of perl stuff. Thanks to Harald Hoyer.
  423. * Wed Feb 12 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.7-1
  424. - Updated to net-snmp-5.0.7. Fixed especially the performance problem with
  425. limited trees.
  426. * Tue Feb 11 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.6-17
  427. - Fixed ucd-snmp.redhat.conf (#78391).
  428. - Fixed snmpwalk examples in config file.
  429. * Mon Feb 10 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.6-15
  430. - Fixed invalid SMUX packet (#83487).
  431. * Thu Feb 06 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.6-14
  432. - Fixed the libdir problem.
  433. * Wed Feb 05 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.6-13
  434. - Updated the old libtool rpath patch.
  435. * Wed Jan 22 2003 Tim Powers <timp@redhat.com> 5.0.6-12
  436. - rebuilt
  437. * Tue Jan 14 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.6-11
  438. - Updated nolibelf patch and activated it again.
  439. * Tue Jan 7 2003 Nalin Dahyabhai <nalin@redhat.com> 5.0.6-10
  440. - Rebuild
  441. * Tue Dec 17 2002 Phil Knirsch <pknirsch@redhat.com> 5.0.6-9
  442. - Added bzip2-devel to BuildPreReq (#76086, #70199).
  443. * Thu Nov 28 2002 Phil Knirsch <pknirsch@redhat.com> 5.0.6-8
  444. - Added patch to increase SMUXMAXSTRLEN.
  445. * Thu Nov 7 2002 Tim Powers <timp@redhat.com> 5.0.6-6
  446. - rebuilt to fix broken deps
  447. - remove files from the buildroot that we don't want to ship
  448. * Thu Nov 7 2002 Joe Orton <jorton@redhat.com> 5.0.6-5
  449. - add fix for -DUCD_COMPATIBLE (#77405)
  450. * Thu Nov 07 2002 Phil Knirsch <pknirsch@redhat.com> 5.0.6-4
  451. - Another bump required. Some more specfile changes.
  452. * Wed Nov 06 2002 Phil Knirsch <pknirsch@redhat.com> 5.0.6-3
  453. - Bumped release and rebuilt.
  454. - Removed all dbFOO cruft again.
  455. * Wed Oct 09 2002 Phil Knirsch <pknirsch@redhat.com> 5.0.6-2
  456. - Updated to latest released version.
  457. * Sat Aug 31 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  458. - do not link against -lelf
  459. * Thu Jun 27 2002 Phil Knirsch <pknirsch@redhat.com> 5.0.1-5
  460. - Added --enable-ucd-snmp-compatibility for compatibility with older version
  461. and fixed installation thereof.
  462. - Got rid of the perl(Tk) dependancy by removing snmpcheck.
  463. - Include /usr/include/ucd-snmp in the filelist.
  464. - Fixed a problem with the ucd-snmp/version.h file.
  465. * Wed Jun 26 2002 Phil Knirsch <pknirsch@redhat.com> 5.0.1-1
  466. - Updated to 5.0.1
  467. - Dropped --enable-reentrant as it's currently broken
  468. * Tue Apr 23 2002 Phil Knirsch <pknirsch@redhat.com> 5.0-1
  469. - Switch to latest stable version, 5.0
  470. - Renamed the packate to net-snmp and obsoleted ucd-snmp.
  471. * Wed Apr 17 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4-3
  472. - Fixed problem with reload in initscript (#63526).
  473. * Mon Apr 15 2002 Tim Powers <timp@redhat.com> 4.2.4-2
  474. - rebuilt in new environment
  475. * Mon Apr 15 2002 Tim Powers <timp@redhat.com> 4.2.4-1
  476. - update to 4.2.4 final
  477. * Sat Apr 13 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre3-5
  478. - Added some missing files to the %files section.
  479. * Tue Apr 09 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre3-4
  480. - Hardcoded the ETC_MNTTAB to point to "/etc/mtab".
  481. * Mon Apr 08 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre3-3
  482. - Removed the check for dbFOO as we don't want to add another requirement.
  483. * Fri Apr 05 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre3-2
  484. - Added missing BuildPrereq to openssl-devel (#61525)
  485. * Thu Apr 04 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre3-1
  486. - Added ucd5820stat to the files section.
  487. - Updated to latest version (4.2.4.pre3)
  488. * Mon Mar 18 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre2-1
  489. - Updated to latest version (4.2.4.pre2)
  490. * Tue Jan 29 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.3-4
  491. - Added the snmptrapd init script as per request (#49205)
  492. - Fixed the again broken rpm query stuff (#57444)
  493. - Removed all old and none-used db related stuff (libs and header checks/files)
  494. * Mon Jan 07 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.3-2
  495. - Included the Axioma Security Research fix for snmpnetstat from bugtraq.
  496. * Mon Dec 03 2001 Phil Knirsch <phil@redhat.de> 4.2.3-1
  497. - Update to 4.2.3 final.
  498. - Fixed libtool/rpath buildroot pollution problem.
  499. - Fixed library naming problem.
  500. * Fri Oct 5 2001 Philipp Knirsch <pknirsch@redhat.de>
  501. - Fixed a server segfault for snmpset operation (#53640). Thanks to Josh Giles
  502. and Wes Hardaker for the patch.
  503. * Mon Sep 10 2001 Philipp Knirsch <pknirsch@redhat.de>
  504. - Fixed problem with RUNTESTS script.
  505. * Tue Sep 4 2001 Preston Brown <pbrown@redhat.com>
  506. - fixed patch related to bug #35016 (Dell)
  507. * Fri Aug 24 2001 Philipp Knirsch <pknirsch@redhat.de> 4.2.1-6
  508. - Fixed snmpd description (#52366)
  509. * Wed Aug 22 2001 Philipp Knirsch <pknirsch@redhat.de>
  510. - Final bcm5820 fix. Last one was broken.
  511. - Fixed bugzilla bug (#51960) where the binaries contained rpath references.
  512. * Wed Aug 15 2001 Philipp Knirsch <pknirsch@redhat.de>
  513. - Fixed a couple of security issues:
  514. o /tmp race and setgroups() privilege problem
  515. o Various buffer overflow and format string issues.
  516. o One signedness problem in ASN handling.
  517. - Fixed an important RFE to support bcm5820 cards. (#51125)
  518. * Fri Jul 20 2001 Philipp Knirsch <pknirsch@redhat.de>
  519. - Removed tkmib from the package once again as we don't ship the Tk.pm CPAN
  520. perl module required to run it (#49363)
  521. - Added missing Provides for the .so.0 libraries as rpm doesn't seem to find
  522. those during the build anymore (it used to) (#46388)
  523. * Thu Jul 19 2001 Philipp Knirsch <pknirsch@redhat.de>
  524. - Enabled IPv6 support (RFE #47764)
  525. - Hopefully final fix of snmpwalk problem (#42153). Thanks to Douglas Warzecha
  526. for the patch and Matt Domsch for reporting the problem.
  527. * Tue Jun 26 2001 Philipp Knirsch <pknirsch@redhat.de>
  528. - Fixed smux compilation problems (#41452)
  529. - Fixed wrong paths displayed in manpages (#43053)
  530. * Mon Jun 25 2001 Philipp Knirsch <pknirsch@redhat.de>
  531. - Updated to 4.2.1. Removed 2 obsolete patches (fromcvs and #18153)
  532. - Include /usr/share/snmp/snmpconf in %files
  533. * Wed Jun 13 2001 Than Ngo <than@redhat.com>
  534. - fix to use libwrap in distro
  535. - add buildprereq: tcp_wrappers
  536. * Fri Jun 1 2001 Bill Nottingham <notting@redhat.com>
  537. - add a *new* patch for IP address return sizes
  538. * Fri Apr 20 2001 Bill Nottingham <notting@redhat.com>
  539. - add patch so that only four bytes are returned for IP addresses on ia64 (#32244)
  540. * Wed Apr 11 2001 Bill Nottingham <notting@redhat.com>
  541. - rebuild (missing alpha packages)
  542. * Fri Apr 6 2001 Matt Wilson <msw@redhat.com>
  543. - added ucd-snmp-4.2-null.patch to correcly handle a NULL value (#35016)
  544. * Tue Apr 3 2001 Preston Brown <pbrown@redhat.com>
  545. - clean up deinstallation (#34168)
  546. * Tue Mar 27 2001 Matt Wilson <msw@redhat.com>
  547. - return a usable RETVAL when running "service snmpd status" (#33571)
  548. * Tue Mar 13 2001 Matt Wilson <msw@redhat.com>
  549. - configure with --enable-reentrant and added "smux" and "agentx" to
  550. --with-mib-modules= argument (#29626)
  551. * Fri Mar 2 2001 Nalin Dahyabhai <nalin@redhat.com>
  552. - rebuild in new environment
  553. * Mon Feb 26 2001 Tim Powers <timp@redhat.com>
  554. - fixed initscript, for reload and restart it was start then stop,
  555. fixed. (#28477)
  556. * Fri Feb 2 2001 Trond Eivind Glomsrod <teg@redhat.com>
  557. - i18nize initscript
  558. * Sat Jan 6 2001 Jeff Johnson <jbj@redhat.com>
  559. - don't depend on /etc/init.d so that package will work with 6.2.
  560. - perl path fiddles no longer needed.
  561. - rely on brp-compress frpm rpm to compress man pages.
  562. - patch from ucd-snmp CVS (Wes Hardaker).
  563. - configure.in needs to check for rpm libraries correctly (#23033).
  564. - add simple logrotate script (#21399).
  565. - add options to create pidfile and log with syslog with addresses (#23476).
  566. * Sat Dec 30 2000 Jeff Johnson <jbj@redhat.com>
  567. - package for Red Hat 7.1.
  568. * Thu Dec 07 2000 Wes Hardaker <hardaker@users.sourceforge.net>
  569. - update for 4.2
  570. * Thu Oct 12 2000 Jeff Johnson <jbj@redhat.com>
  571. - add explicit format for syslog call (#18153).
  572. * Thu Jul 20 2000 Bill Nottingham <notting@redhat.com>
  573. - move initscript back
  574. * Thu Jul 20 2000 Jeff Johnson <jbj@redhat.com>
  575. - rebuild per Trond's request.
  576. * Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com>
  577. - fix syntax error that crept in with condrestart
  578. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  579. - automatic rebuild
  580. * Mon Jul 10 2000 Preston Brown <pbrown@redhat.com>
  581. - move initscript and add condrestart magic
  582. * Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
  583. - fix %%attr on man pages
  584. * Mon Jun 12 2000 Jeff Johnson <jbj@redhat.com>
  585. - tkmib doco had #!/usr/bin/perl55
  586. - include snmpcheck and tkmib again (still needs some CPAN module, however).
  587. * Tue Jun 6 2000 Jeff Johnson <jbj@redhat.com>
  588. - update to 4.1.2.
  589. - FHS packaging.
  590. - patch for rpm 4.0.
  591. * Thu May 18 2000 Trond Eivind Glomsrod <teg@redhat.com>
  592. - add version to buildroot
  593. - rebuilt with new libraries
  594. * Sun Feb 27 2000 Jeff Johnson <jbj@redhat.com>
  595. - default config was broken (from Wes Hardaker) (#9752)
  596. * Sun Feb 13 2000 Jeff Johnson <jbj@redhat.com>
  597. - compressed man pages.
  598. * Fri Feb 11 2000 Wes Hardaker <wjhardaker@ucdavis.edu>
  599. - update to 4.1.1
  600. * Sat Feb 5 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  601. - change %postun to %preun
  602. * Thu Feb 3 2000 Elliot Lee <sopwith@redhat.com>
  603. - Don't ship tkmib, since we don't ship the perl modules needed to run it.
  604. (Bug #4881)
  605. * Tue Aug 31 1999 Jeff Johnson <jbj@redhat.com>
  606. - default config permits RO access to system group only (Wed Hardaker).
  607. * Sun Aug 29 1999 Jeff Johnson <jbj@redhat.com>
  608. - implement suggestions from Wes Hardaker.
  609. * Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com>
  610. - stateless access to rpm database.
  611. * Wed Aug 25 1999 Jeff Johnson <jbj@redhat.com>
  612. - update to 4.0.1.
  613. * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
  614. - initscript munging
  615. * Sat Jun 12 1999 Jeff Johnson <jbj@redhat.com>
  616. - update to 3.6.2 (#3219,#3259).
  617. - add missing man pages (#3057).
  618. * Thu Apr 8 1999 Wes Hardaker <wjhardaker@ucdavis.edu>
  619. - fix Source0 location.
  620. - fix the snmpd.conf file to use real community names.
  621. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  622. - auto rebuild in the new build environment (release 3)
  623. * Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
  624. - upgrade to 3.6.1, fix configuration file stuff.
  625. * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
  626. - Injected new description and group.
  627. * Tue Feb 2 1999 Jeff Johnson <jbj@redhat.com>
  628. - restore host resources mib
  629. - simplified config file
  630. - rebuild for 6.0.
  631. * Tue Dec 22 1998 Bill Nottingham <notting@redhat.com>
  632. - remove backup file to fix perl dependencies
  633. * Tue Dec 8 1998 Jeff Johnson <jbj@redhat.com>
  634. - add all relevant rpm scalars to host resources mib.
  635. * Sun Dec 6 1998 Jeff Johnson <jbj@redhat.com>
  636. - enable libwrap (#253)
  637. - enable host module (rpm queries over SNMP!).
  638. * Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
  639. - strip binaries
  640. * Fri Oct 2 1998 Jeff Johnson <jbj@redhat.com>
  641. - update to 3.5.3.
  642. - don't include snmpcheck until perl-SNMP is packaged.
  643. * Thu Aug 13 1998 Jeff Johnson <jbj@redhat.com>
  644. - ucd-snmpd.init: start daemon w/o -f.
  645. * Tue Aug 4 1998 Jeff Johnson <jbj@redhat.com>
  646. - don't start snmpd unless requested
  647. - start snmpd after pcmcia.
  648. * Sun Jun 21 1998 Jeff Johnson <jbj@redhat.com>
  649. - all but config (especially SNMPv2p) ready for prime time
  650. * Sat Jun 20 1998 Jeff Johnson <jbj@redhat.com>
  651. - update to 3.5.
  652. * Tue Dec 30 1997 Otto Hammersmith <otto@redhat.com>
  653. - created the package... possibly replace cmu-snmp with this.