net-snmp-vl.spec 32 KB

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