net-snmp-vl.spec 38 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136
  1. %bcond_with systemd
  2. %bcond_without python3
  3. %bcond_without gui
  4. # Arches on which we need to prevent arch conflicts on net-snmp-config.h
  5. %define multilib_arches %{ix86} ia64 ppc ppc64 x86_64
  6. Summary: A collection of SNMP protocol tools and libraries.
  7. Summary(ja): SNMP プロトコルツールとライブラリのコレクション
  8. Name: net-snmp
  9. Version: 5.9
  10. Release: 2%{?_dist_release}%{?with_systemd:.systemd}
  11. Group: servers,admin-tools
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. License: BSD
  15. URL: http://www.net-snmp.org/
  16. Source0: https://downloads.sourceforge.net/project/net-snmp/net-snmp/5.9/net-snmp-%{version}.tar.gz
  17. Source1: net-snmp.redhat.conf
  18. Source2: net-snmpd.init
  19. Source3: net-snmptrapd.init
  20. Source4: net-snmp-config.h
  21. Source5: net-snmp-config
  22. Source6: net-snmp-trapd.redhat.conf
  23. Source7: net-snmpd.sysconfig
  24. Source8: net-snmptrapd.sysconfig
  25. Source9: net-snmp-tmpfs.conf
  26. Source10: net-snmpd.logrotate
  27. Source11: snmpd.service
  28. Source12: snmptrapd.service
  29. Source13: IETF-MIB-LICENSE.txt
  30. Patch1: net-snmp-5.9-pie.patch
  31. Patch2: net-snmp-5.9-dir-fix.patch
  32. Patch3: net-snmp-5.9-multilib.patch
  33. Patch4: net-snmp-5.9-test-debug.patch
  34. Patch5: net-snmp-5.7.2-cert-path.patch
  35. Patch6: net-snmp-5.9-cflags.patch
  36. Patch7: net-snmp-5.8-Remove-U64-typedef.patch
  37. Patch8: net-snmp-5.9-libnetsnmptrapd-against-MYSQL_LIBS.patch
  38. Patch9: net-snmp-5.7.3-iterator-fix.patch
  39. Patch10: net-snmp-5.9-autofs-skip.patch
  40. Patch11: net-snmp-5.9-python-ld-flags.patch
  41. Patch12: net-snmp-5.9-usage-exit.patch
  42. Patch13: net-snmp-5.9-coverity.patch
  43. Patch14: net-snmp-5.9-proxy-getnext.patch
  44. Patch15: net-snmp-5.9-dskTable-dynamic.patch
  45. Patch16: net-snmp-5.8-expand-SNMPCONFPATH.patch
  46. Patch17: net-snmp-5.8-duplicate-ipAddress.patch
  47. Patch18: net-snmp-5.9-memory-reporting.patch
  48. Patch19: net-snmp-5.8-man-page.patch
  49. Patch20: net-snmp-5.8-ipAddress-faster-load.patch
  50. Patch21: net-snmp-5.8-rpm-memory-leak.patch
  51. Patch22: net-snmp-5.9-aes-config.patch
  52. Patch23: net-snmp-5.9-available-memory.patch
  53. # Modern RPM API means at least EL6
  54. Patch101: net-snmp-5.8-modern-rpm-api.patch
  55. #disable this patch due compatibility issues
  56. Patch102: net-snmp-5.9-python3.patch
  57. # Vine
  58. BuildRoot: %{_tmppath}/%{name}-root
  59. BuildRequires: openssl-devel, bzip2-devel, elfutils-devel
  60. BuildRequires: elfutils-libelf-devel, rpm-devel
  61. BuildRequires: perl, perl(ExtUtils::Embed), procps
  62. %if %{with python3}
  63. BuildRequires: python3-devel, python3-setuptools, python3-rpm-macros
  64. %endif
  65. BuildRequires: chrpath
  66. BuildRequires: libmariadb-devel
  67. # for netstat, needed by 'make test'
  68. BuildRequires: net-tools
  69. BuildRequires: lm-sensors-devel
  70. %if %{with systemd}
  71. BuildRequires: systemd
  72. %{?systemd_requires}
  73. %else
  74. Requires(pre): /sbin/chkconfig
  75. Requires(post): /sbin/chkconfig
  76. Requires(post): /sbin/service
  77. Requires(preun): /sbin/chkconfig
  78. Requires(preun): /sbin/service
  79. Requires(postun): /sbin/service
  80. %endif
  81. Requires: net-snmp-libs = %{version}-%{release}
  82. Obsoletes: cmu-snmp ucd-snmp
  83. %description
  84. SNMP (Simple Network Management Protocol) is a protocol used for
  85. network management. The NET-SNMP project includes various SNMP tools:
  86. an extensible agent, an SNMP library, tools for requesting or setting
  87. information from SNMP agents, tools for generating and handling SNMP
  88. traps, a version of the netstat command which uses SNMP, and a Tk/Perl
  89. mib browser. This package contains the snmpd and snmptrapd daemons,
  90. documentation, etc.
  91. You will probably also want to install the ucd-snmp-utils package,
  92. which contains NET-SNMP utilities.
  93. %description -l ja
  94. SNMP (Simple Network Management Protocol) はネットワーク管理に用いる
  95. プロトコルです. NET-SNMP プロジェクトは以下のような様々な SNMP ツールを
  96. 含んでいます : 拡張性のあるエージェント, SNMP ライブラリ, SNMP
  97. エージェントからの情報の要求や設定を行うツール, SNMP 割り込みの生成や
  98. ハンドリングを行うツール, SNMP を用いる netstat コマンド, および TK/Perl
  99. mib ブラウザ. このパッケージは snmpd, snmptrapd デーモンやドキュメント
  100. なども含んでいます.
  101. おそらく, NET-SNMP ユーティリティを含んだ net-snmp-utils パッケージも
  102. インストールした方が良いでしょう。
  103. %package libs
  104. Summary: The NET-SNMP runtime client libraries
  105. Group: system
  106. %description libs
  107. The net-snmp-libs package contains the runtime client libraries for shared
  108. binaries and applications.
  109. %package utils
  110. Summary: Network management utilities using SNMP, from the NET-SNMP project.
  111. Summary(ja): SNMP を用いたネットワーク管理ユーティリティ
  112. Group: admin-tools
  113. Requires: net-snmp = %{version}
  114. Obsoletes: cmu-snmp-utils ucd-snmp-utils
  115. %description utils
  116. The net-snmp-utils package contains various utilities for use with the
  117. NET-SNMP network management project.
  118. Install this package if you need utilities for managing your network
  119. using the SNMP protocol. You will also need to install the net-snmp
  120. package.
  121. %description utils -l ja
  122. net-snmp-utils パッケージは NET-SNMP ネットワーク管理プロジェクトにて
  123. 用いられる様々なユーティリティを含んでいます. net-snmp パッケージも
  124. インストールする必要があります.
  125. %package devel
  126. Summary: The development environment for the NET-SNMP project.
  127. Summary(ja): NET-SNMP 用の開発環境
  128. Group: programming
  129. Requires: net-snmp-libs = %{version}-%{release}
  130. Requires: elfutils-libelf-devel
  131. Requires: openssl-devel
  132. Obsoletes: cmu-snmp-devel ucd-snmp-devel
  133. %description devel
  134. The net-snmp-devel package contains the development libraries and
  135. header files for use with the NET-SNMP project's network management
  136. tools.
  137. Install the net-snmp-devel package if you would like to develop
  138. applications for use with the NET-SNMP project's network management
  139. tools. You'll also need to have the net-snmp and net-snmp-utils
  140. packages installed.
  141. #'
  142. %description devel -l ja
  143. net-snmp-devel パッケージには NET-SNMP プロジェクトのネットワーク管理
  144. ツールの開発に用いる開発ライブラリおよびヘッダが含まれています.
  145. NET-SNMP プロジェクトのネットワーク管理ツールを用いるアプリケーションを
  146. 開発したいならば, net-snmp-devel パッケージをインストールしてください.
  147. おそらく net-snmp, net-snmp-utils パッケージもインストールする必要が
  148. あるでしょう.
  149. %package perl
  150. Summary: The perl NET-SNMP module and the mib2c tool.
  151. Summary(ja): perl NET-SNMP モジュールおよび mib2c ツール
  152. Group: programming
  153. Requires: net-snmp = %{version}, perl-XML-Simple
  154. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  155. BuildRequires: perl >= 5
  156. %description perl
  157. The net-snmp-perl package contains the perl files to use SNMP from within
  158. Perl.
  159. Install the net-snmp-perl package, if you want to use mib2c or SNMP with perl.
  160. %description perl -l ja
  161. net-snmp-perl パッケージには Perl から SNMP を使用するための perl
  162. ファイルが含まれています.
  163. perl から mib2c や SNMP を使用したいならば, net-snmp-perl パッケージを
  164. インストールしてください.
  165. %if %{with python3}
  166. %package -n python3-net-snmp
  167. Summary: The Python 'netsnmp' module for the Net-SNMP
  168. Summary(ja): Python用 'netsnmp' モジュール
  169. Group: programming
  170. %{?python_provide:%python_provide python3-net-snmp}
  171. Requires: %{name}-libs%{?_isa} = %{version}-%{release}
  172. %description -n python3-net-snmp
  173. The 'netsnmp' module provides a full featured, tri-lingual SNMP (SNMPv3,
  174. SNMPv2c, SNMPv1) client API. The 'netsnmp' module internals rely on the
  175. Net-SNMP toolkit library.
  176. %endif
  177. %if %{with gui}
  178. %package gui
  179. Summary: An interactive graphical MIB browser for SNMP
  180. Summary(ja): 対話型グラフィカルSNMP MIBブラウザー
  181. Group: admin-tools
  182. Requires: perl-Tk, net-snmp-perl%{?_isa} = %{version}-%{release}
  183. %description gui
  184. The net-snmp-gui package contains tkmib utility, which is a graphical user
  185. interface for browsing the Message Information Bases (MIBs). It is also
  186. capable of sending or retrieving the SNMP management information to/from
  187. the remote agents interactively.
  188. Install the net-snmp-gui package, if you want to use this interactive utility.
  189. %endif
  190. %debug_package
  191. %prep
  192. %setup -q
  193. cp %{SOURCE13} .
  194. %ifnarch ia64
  195. %patch1 -p1 -b .pie
  196. %endif
  197. %patch2 -p1 -b .dir-fix
  198. %patch3 -p1 -b .multilib
  199. %patch4 -p1
  200. %patch5 -p1 -b .cert-path
  201. %patch6 -p1 -b .cflags
  202. %patch7 -p1 -b .u64-remove
  203. %patch8 -p1 -b .perlfix
  204. %patch9 -p1 -b .iterator-fix
  205. %patch10 -p1 -b .autofs-skip
  206. %patch11 -p1 -b .python-ld-flags
  207. %patch12 -p1 -b .usage-fix
  208. %patch13 -p1 -b .coverity
  209. %patch14 -p1 -b .proxy-getnext
  210. %patch15 -p1 -b .dskTable-dynamic
  211. %patch16 -p1 -b .expand-SNMPCONFPATH
  212. %patch17 -p1 -b .duplicate-ipAddress
  213. %patch18 -p1 -b .memory-reporting
  214. %patch19 -p1 -b .man-page
  215. %patch20 -p1 -b .ipAddress-faster-load
  216. %patch21 -p1 -b .rpm-memory-leak
  217. %patch22 -p1 -b .aes-config
  218. %patch23 -p1 -b .available-memory
  219. %patch101 -p1 -b .modern-rpm-api
  220. %patch102 -p1
  221. # disable failing test - see https://bugzilla.redhat.com/show_bug.cgi?id=680697
  222. rm testing/fulltests/default/T200*
  223. %build
  224. autoreconf -vif
  225. MIBS="host agentx smux \
  226. ucd-snmp/diskio tcp-mib udp-mib mibII/mta_sendmail \
  227. ip-mib/ipv4InterfaceTable ip-mib/ipv6InterfaceTable \
  228. ip-mib/ipAddressPrefixTable/ipAddressPrefixTable \
  229. ip-mib/ipDefaultRouterTable/ipDefaultRouterTable \
  230. ip-mib/ipv6ScopeZoneIndexTable ip-mib/ipIfStatsTable \
  231. sctp-mib rmon-mib etherlike-mib ucd-snmp/lmsensorsMib"
  232. %configure \
  233. --disable-static --enable-shared \
  234. --enable-as-needed \
  235. --enable-blumenthal-aes \
  236. --enable-embedded-perl \
  237. --enable-ipv6 \
  238. --enable-local-smux \
  239. --enable-mfd-rewrites \
  240. --enable-ucd-snmp-compatibility \
  241. --sysconfdir=%{_sysconfdir} \
  242. --with-cflags="$RPM_OPT_FLAGS -fPIE" \
  243. --with-ldflags="$RPM_LD_FLAGS -lm" \
  244. --with-logfile="/var/log/snmpd.log" \
  245. --with-mib-modules="$MIBS" \
  246. --with-mysql \
  247. --with-openssl \
  248. --with-persistent-directory="/var/lib/net-snmp" \
  249. --with-perl-modules="INSTALLDIRS=vendor" \
  250. --with-pic \
  251. --with-security-modules=tsm \
  252. --with-sys-location="Unknown" \
  253. %if %{with systemd}
  254. --with-systemd \
  255. %endif
  256. --with-temp-file-pattern=/run/net-snmp/snmp-tmp-XXXXXX \
  257. --with-transports="DTLSUDP TLSTCP" \
  258. --with-sys-contact="root@localhost" \
  259. --without-pcre <<EOF
  260. EOF
  261. # store original libtool file, we will need it later
  262. cp libtool libtool.orig
  263. # remove rpath from libtool
  264. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  265. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  266. # the package is not %%_smp_mflags safe
  267. make
  268. %if %{with python3}
  269. # compile python module
  270. pushd python
  271. %{__python3} setup.py --basedir="../" build
  272. popd
  273. %endif
  274. %install
  275. rm -rf %{buildroot}
  276. make install DESTDIR=%{buildroot}
  277. # Determine which arch opensslconf.h is going to try to #include.
  278. basearch=%{_arch}
  279. %ifarch %{ix86}
  280. basearch=i386
  281. %endif
  282. %ifarch %{multilib_arches}
  283. # Do an net-snmp-config.h switcheroo to avoid file conflicts on systems where you
  284. # can have both a 32- and 64-bit version of the library, and they each need
  285. # their own correct-but-different versions of net-snmp-config.h to be usable.
  286. mv %{buildroot}/%{_bindir}/net-snmp-config %{buildroot}/%{_bindir}/net-snmp-config-${basearch}
  287. install -m 755 %SOURCE5 %{buildroot}/%{_bindir}/net-snmp-config
  288. mv %{buildroot}/%{_includedir}/net-snmp/net-snmp-config.h %{buildroot}/%{_includedir}/net-snmp/net-snmp-config-${basearch}.h
  289. install -m644 %SOURCE4 %{buildroot}/%{_includedir}/net-snmp/net-snmp-config.h
  290. %endif
  291. install -d %{buildroot}%{_sysconfdir}/snmp
  292. install -m 644 %SOURCE1 %{buildroot}%{_sysconfdir}/snmp/snmpd.conf
  293. install -m 644 %SOURCE6 %{buildroot}%{_sysconfdir}/snmp/snmptrapd.conf
  294. install -d %{buildroot}%{_sysconfdir}/sysconfig
  295. install -m 644 %SOURCE7 %{buildroot}%{_sysconfdir}/sysconfig/snmpd
  296. install -m 644 %SOURCE8 %{buildroot}%{_sysconfdir}/sysconfig/snmptrapd
  297. install -d %{buildroot}%{_sysconfdir}/logrotate.d
  298. install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/logrotate.d/snmpd
  299. # prepare /var/lib/net-snmp
  300. install -d %{buildroot}%{_localstatedir}/lib/net-snmp
  301. install -d %{buildroot}%{_localstatedir}/lib/net-snmp/mib_indexes
  302. install -d %{buildroot}%{_localstatedir}/lib/net-snmp/cert_indexes
  303. install -d %{buildroot}%{_localstatedir}/run/net-snmp
  304. # remove things we don't want to distribute
  305. rm -f %{buildroot}%{_bindir}/snmpinform
  306. ln -s snmptrap %{buildroot}/usr/bin/snmpinform
  307. rm -f %{buildroot}%{_bindir}/snmpcheck
  308. rm -f %{buildroot}/%{_bindir}/fixproc
  309. rm -f %{buildroot}/%{_mandir}/man1/fixproc*
  310. rm -f %{buildroot}/%{_bindir}/ipf-mod.pl
  311. rm -f %{buildroot}/%{_libdir}/*.la
  312. rm -f %{buildroot}/%{_libdir}/libsnmp*
  313. # remove special perl files
  314. find %{buildroot} -name perllocal.pod \
  315. -o -name .packlist \
  316. -o -name "*.bs" \
  317. -o -name Makefile.subs.pl \
  318. | xargs -ri rm -f {}
  319. # remove docs that do not apply to Linux
  320. rm -f README.aix README.hpux11 README.osX README.Panasonic_AM3X.txt README.solaris README.win32
  321. # copy missing mib2c.conf files
  322. install -m 644 local/mib2c.*.conf %{buildroot}%{_datadir}/snmp
  323. %if %{with python3}
  324. # install python module
  325. pushd python
  326. %{__python3} setup.py --basedir=.. install -O1 --skip-build --root %{buildroot}
  327. popd
  328. %endif
  329. find %{buildroot} -name '*.so' | xargs chmod 0755
  330. # trim down massive ChangeLog
  331. dd bs=1024 count=250 if=ChangeLog of=ChangeLog.trimmed
  332. # convert files to UTF-8
  333. for file in README COPYING; do
  334. iconv -f 8859_1 -t UTF-8 <$file >$file.utf8
  335. mv $file.utf8 $file
  336. done
  337. # remove executable bit from documentation samples
  338. chmod 644 local/passtest local/ipf-mod.pl
  339. %if %{with systemd}
  340. # systemd stuff
  341. install -m 755 -d %{buildroot}/%{_tmpfilesdir}
  342. install -m 644 %SOURCE9 %{buildroot}/%{_tmpfilesdir}/net-snmp.conf
  343. install -m 755 -d %{buildroot}/%{_unitdir}
  344. install -m 644 %SOURCE11 %SOURCE12 %{buildroot}/%{_unitdir}/
  345. %else
  346. install -d %{buildroot}%{_sysconfdir}/rc.d/init.d
  347. install -m 755 %SOURCE2 %{buildroot}%{_sysconfdir}/rc.d/init.d/snmpd
  348. install -m 755 %SOURCE3 %{buildroot}%{_sysconfdir}/rc.d/init.d/snmptrapd
  349. %endif
  350. %if !%{with gui}
  351. rm -f %{buildroot}%{_bindir}/tkmib %{buildroot}%{_mandir}/man1/tkmib.1*
  352. %endif
  353. %post
  354. %if %{with systemd}
  355. %systemd_post snmpd.service snmptrapd.service
  356. %else
  357. /sbin/chkconfig --add snmpd
  358. /sbin/chkconfig --add snmptrapd
  359. %endif
  360. %preun
  361. %if %{with systemd}
  362. %systemd_preun snmpd.service snmptrapd.service
  363. %else
  364. if [ $1 = 0 -o /bin/systemctl ]; then
  365. service snmpd stop >/dev/null 2>&1
  366. /sbin/chkconfig --del snmpd
  367. service snmptrapd stop >/dev/null 2>&1
  368. /sbin/chkconfig --del snmptrapd
  369. # remove stale autogenerated file
  370. rm -f %{_datadir}/snmp/mibs/.index
  371. fi
  372. %endif
  373. %postun
  374. %if %{with systemd}
  375. %systemd_postun_with_restart snmpd.service snmptrapd.service
  376. %else
  377. if [ "$1" -ge "1" ]; then
  378. service snmpd condrestart >/dev/null 2>&1 || :
  379. service snmptrapd condrestart >/dev/null 2>&1 || :
  380. fi
  381. %endif
  382. %post libs -p /sbin/ldconfig
  383. %postun libs -p /sbin/ldconfig
  384. %clean
  385. rm -rf ${RPM_BUILD_ROOT}
  386. %files
  387. %defattr(-,root,root,-)
  388. %license COPYING
  389. %doc ChangeLog.trimmed EXAMPLE.conf FAQ NEWS TODO
  390. %doc README README.agent-mibs README.agentx README.krb5 README.snmpv3
  391. %doc local/passtest local/ipf-mod.pl
  392. %doc README.thread AGENT.txt PORTING local/README.mib2c
  393. %doc IETF-MIB-LICENSE.txt
  394. %dir %{_sysconfdir}/snmp
  395. %config(noreplace,missingok) %{_sysconfdir}/sysconfig/snmpd
  396. %config(noreplace,missingok) %{_sysconfdir}/sysconfig/snmptrapd
  397. %config(noreplace,missingok) %{_sysconfdir}/snmp/snmpd.conf
  398. %config(noreplace,missingok) %{_sysconfdir}/snmp/snmptrapd.conf
  399. %if %{with systemd}
  400. %{_unitdir}/snmp*
  401. %config(noreplace) %{_tmpfilesdir}/net-snmp.conf
  402. %else
  403. %config(noreplace) %{_sysconfdir}/rc.d/init.d/snmpd
  404. %config(noreplace) %{_sysconfdir}/rc.d/init.d/snmptrapd
  405. %endif
  406. %config(noreplace) %{_sysconfdir}/logrotate.d/snmpd
  407. %dir %{_datadir}/snmp
  408. %{_datadir}/snmp/snmpconf-data
  409. %dir %{_localstatedir}/run/net-snmp
  410. %{_bindir}/agentxtrap
  411. %{_bindir}/net-snmp-create-v3-user
  412. %{_bindir}/snmpconf
  413. %{_sbindir}/*
  414. %attr(0644,root,root) %{_mandir}/man1/agentxtrap.1*
  415. %attr(0644,root,root) %{_mandir}/man[58]/snmp*d*
  416. %attr(0644,root,root) %{_mandir}/man5/snmp_config.5.gz
  417. %attr(0644,root,root) %{_mandir}/man5/variables*
  418. %attr(0644,root,root) %{_mandir}/man1/net-snmp-create-v3-user*
  419. %attr(0644,root,root) %{_mandir}/man1/snmpconf.1.gz
  420. %files libs
  421. %defattr(-,root,root,-)
  422. %{_libdir}/lib*.so.*
  423. %dir %{_datadir}/snmp
  424. %dir %{_datadir}/snmp/mibs
  425. %{_datadir}/snmp/mibs/*
  426. %dir %{_localstatedir}/lib/net-snmp
  427. %dir %{_localstatedir}/lib/net-snmp/mib_indexes
  428. %dir %{_localstatedir}/lib/net-snmp/cert_indexes
  429. %files utils
  430. %defattr(-,root,root,-)
  431. %{_bindir}/encode_keychange
  432. %{_bindir}/snmp[^c-]*
  433. %attr(0644,root,root) %{_mandir}/man1/snmp[^-]*.1*
  434. %attr(0644,root,root) %{_mandir}/man1/encode_keychange*.1*
  435. %attr(0644,root,root) %{_mandir}/man5/snmp.conf.5.gz
  436. %attr(0644,root,root) %{_mandir}/man5/variables.5.gz
  437. %files devel
  438. %defattr(0644,root,root,0755)
  439. %{_libdir}/lib*.so
  440. %{_libdir}/pkgconfig/*
  441. %{_includedir}/*
  442. %attr(0644,root,root) %{_mandir}/man3/*.3.*
  443. %attr(0755,root,root) %{_bindir}/net-snmp-config*
  444. %attr(0644,root,root) %{_mandir}/man1/net-snmp-config*.1.*
  445. %files perl
  446. %defattr(-,root,root)
  447. %{_bindir}/mib2c-update
  448. %{_bindir}/mib2c
  449. %{_bindir}/snmp-bridge-mib
  450. %{_bindir}/net-snmp-cert
  451. %{_bindir}/checkbandwidth
  452. %dir %{_datadir}/snmp
  453. %{_datadir}/snmp/mib2c*
  454. %{_datadir}/snmp/*.pl
  455. %{_bindir}/traptoemail
  456. %attr(0644,root,root) %{_mandir}/man[15]/mib2c*
  457. %attr(0644,root,root) %{_mandir}/man3/*.3pm.*
  458. %attr(0644,root,root) %{_mandir}/man1/traptoemail*.1*
  459. %attr(0644,root,root) %{_mandir}/man1/snmp-bridge-mib.1*
  460. %{perl_vendorarch}/*SNMP*
  461. %{perl_vendorarch}/auto/*SNMP*
  462. %{perl_vendorarch}/auto/Bundle/*SNMP*
  463. %{perl_vendorarch}/Bundle/MakefileSubs.pm
  464. %if %{with python3}
  465. %files -n python3-net-snmp
  466. %doc README
  467. %{python3_sitearch}/*
  468. %endif
  469. %if %{with gui}
  470. %files gui
  471. %{_bindir}/tkmib
  472. %attr(0644,root,root) %{_mandir}/man1/tkmib.1*
  473. %endif
  474. %changelog
  475. * Mon Feb 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.9-2
  476. - rebuilt with rpm-4.16.
  477. * Tue Sep 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.9-1
  478. - new upstream release.
  479. - re-imported all patches from rawhide.
  480. - added systemd support (disabled as default).
  481. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.8-2
  482. - rebuilt with perl-5.26.
  483. - added BR:libxcrypt-devel,libnsl2-devel.
  484. * Wed Nov 07 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.8-1
  485. - new upstream release.
  486. - updated Patch2-3.
  487. - dropped Patch5-7.
  488. - imported Patch4-12, 101 and 102 from rawhide.
  489. * Tue Mar 15 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.7.3-2
  490. - rebuilt with openssl-1.0.2g.
  491. * Sun Apr 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.7.3-1
  492. - new upstream release
  493. - update Patch3 (net-snmp-5.7.3-multilib.patch)
  494. - update Patch5 (net-snmp-5.7.3-apsl-copying.patch)
  495. * Thu Feb 26 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 5.7.2.1-2
  496. - added R: openssl-devel to devel subpackage
  497. * Thu Jul 3 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.7.2.1-1
  498. - new upstream release.
  499. * Sun Nov 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.7.2-1
  500. - new upstream release
  501. - update Patch1 (net-snmp-5.7.2-pie.patch)
  502. - remove Patch4 (net-snmp-5.5-include-struct.patch)
  503. * Wed Sep 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 5.7.1-3
  504. - use installvendorarch instead of installvendorlib
  505. to pick perl modules
  506. * Mon Sep 17 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 5.7.1-2
  507. - rebuild with rpm-4.10.0
  508. * Sun Mar 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.7.1-1
  509. - new upstream release
  510. - update Patch6 (net-snmp-5.7.1-perl-linking.patch)
  511. * Thu Dec 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 5.6.1.1-2
  512. - rebuild with rpm-4.9.1.2
  513. * Sat Jun 11 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.6.1.1-1
  514. - new upstream release
  515. * Sat May 07 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.6.1-5
  516. - change configure option (--with-mnttab=/etc/mtab)
  517. * Tue Apr 12 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.6.1-4
  518. - rebuilt with perl-5.12.3.
  519. * Sun Mar 13 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.6.1-3
  520. - change configure option (--with-mib-modules)
  521. * Tue Jan 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.6.1-2
  522. - merge spec, patch, source from FC package
  523. * Mon Jan 10 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.6.1-1
  524. - new upstream release
  525. - add configure option: --with-mnttab="/etc/mnttab"
  526. - update Patch1,4,9,11 for net-snmp-5.6.1
  527. - drop Patch6,8,13,16,17
  528. - fix %%files
  529. * Sun Aug 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.4.3-1
  530. - new upstream release
  531. - update Patch1 for net-snmp-5.4.3
  532. - update Patch13 for net-snmp-5.4.3
  533. - fix %install
  534. * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 5.4.2.1-4
  535. - rebuild with rpm-4.8.0
  536. * Fri Mar 20 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.4.2.1-3
  537. - modify Source7 (use 'uname -m' instead of 'arch') ([bts:0675]
  538. * Sat Nov 29 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 5.4.2.1-2
  539. - rebuilt
  540. * Wed Nov 12 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 5.4.2.1-1
  541. - new upstream release with security fix
  542. - drop old patches
  543. - update patch13 (from FC10)
  544. * Tue Jun 24 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.4.1.2-1
  545. - new upstream release
  546. - applied new versioning policy
  547. - built with perl-5.10.0-3
  548. * Wed Jan 2 2008 Satoshi MACHINO <machino@vinelinux.org> 5.4.1-0vl1
  549. - new upstream release
  550. - fixed spec file
  551. -- imported patches from FC9
  552. * Sat May 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2.1.2-0vl5
  553. - rebuilt with openssl 0.9.8e
  554. * Thu May 10 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 5.2.1.2-0vl4
  555. - rebuild with new environment/toolchain
  556. * Thu Dec 22 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2.1.2-0vl3
  557. - rebuilt with new rpm
  558. - added mib2c-update to perl package
  559. * Mon Oct 24 2005 Satoshi MACHINO <machino@vinelinux.org> 5.2.1.2-0vl2
  560. - rebuilt for VineSeed
  561. * Mon Oct 24 2005 Satoshi MACHINO <machino@vinelinux.org> 5.2.1.2-0vl1
  562. - new upstream version (net-snmp-5.2.1.2)
  563. - dropped enable-reentrant in configure (VinePlus:02769)
  564. * Sat Jan 29 2005 Satoshi MACHINO <machino@vinelinux.org> 5.2.1-0vl1
  565. - new upstream version (net-snmp-5.2.1)
  566. - dropped patch12
  567. * Mon Jan 03 2005 Satoshi MACHINO <machino@vinelinux.org> 5.2-0vl1
  568. - new upstream version (net-snmp-5.2)
  569. - changed to net-snmp-vl.spec
  570. - cleaned up patches
  571. * Thu Apr 29 2004 Satoshi MACHINO <machino@vinelinux.org> 5.1.1-0vl1
  572. - New upstream version (net-snmp-5.1.1)
  573. - dropped patch10
  574. - added some patches from fedoracore (patch16-18)
  575. - fixed patches (patch13,14)
  576. - enabled openssl in configure
  577. * Mon Feb 16 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1-9vl1
  578. - based on Fedora development 5.1-9
  579. * Tue Feb 03 2004 Phil Knirsch <pknirsch@redhat.com> 5.1-9
  580. - Reverted removal of _includir redefiniton due to php-snmp dependancy.
  581. - Remove SO_BSDCOMPAT setsockopt() call, deprecated.
  582. * Thu Jan 22 2004 Thomas Woerner <twoerner@redhat.com> 5.1-7
  583. - enabled pie (snmpd, snmptrapd) - postponed for ia64
  584. - added --with-pic to configure call
  585. * Thu Jan 15 2004 Phil Knirsch <pknirsch@redhat.com> 5.1-6
  586. - Fixed 64bit build problems when 32bit popt lib is installed.
  587. - added Requires: libelf-devel to net-snmp-devel package
  588. * Fri Dec 26 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1-3vl1
  589. - based on Fedora development 5.1-3 and don't apply patch9
  590. * Wed Dec 10 2003 Phil Knirsch <pknirsch@redhat.com> 5.1-3
  591. - Removed snmpcheck again, needs perl(Tk) which we don't ship (#111194).
  592. - Fixed getopt definition in include file (#111209).
  593. - Included Kaj J. Niemi's patch for broken perl module (#111319).
  594. - Included Kaj J. Niemi's patch for broken async getnext perl call (#111479).
  595. - Included Kaj J. Niemi's patch for broken hr_storage (#111502).
  596. * Wed Nov 26 2003 Phil Knirsch <pknirsch@redhat.com> 5.1-2
  597. - Included BuildPrereq on lm_sensors-devel on x86 archs (#110616).
  598. - Fixed deprecated initscript options (#110618).
  599. * Wed Nov 19 2003 Phil Knirsch <pknirsch@redhat.com> 5.1-1
  600. - Updated to latest net-snmp-5.1 upstream version.
  601. - Tons of specfile and patch cleanup.
  602. - Cleaned up perl stuff (mib2c etc, see #107707).
  603. - Added lm_sensors support patch for x86 archs from Kaj J. Niemi (#107618).
  604. - Added support for custom mib paths and mibs to snmptrapd initscript (#102762)
  605. - rebuild with new toolchains
  606. * Tue Nov 18 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.0.9-2vl1
  607. - based on Fedora development 5.0.9-2
  608. - merged ucd-snmp-vine.spec
  609. * Wed Nov 20 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.2.5-7vl2
  610. - added Patch100 (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=67610)
  611. (Thanks M. Matsubara-san for pointing this out)
  612. * Wed Nov 20 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.2.5-7vl1
  613. - based on 4.2.4-7.73.0 from RHL7.3/updates and built for Vine Linux
  614. (previous Vine version was 4.2.3-1vl1, which was based on 4.2.1-7
  615. and applied security fix CA-2002-03)
  616. - added BuildPreReq: rpm-devel >= 4.0.4
  617. * Mon Oct 13 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.9-2
  618. - Due to rpm-devel we need elfutils-devel, too (#103982).
  619. * Mon Sep 29 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.9-1
  620. - Updated to latest upstream version net-snmp-5.0.9
  621. - Added patch to fix net-snmp-perl problems (#105842).
  622. * Tue Sep 23 2003 Florian La Roche <Florian.LaRoche@redhat.de>
  623. - allow compiling without tcp_wrappers
  624. * Wed Sep 17 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-11.1
  625. - rebuilt
  626. * Wed Sep 17 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-11
  627. - Fixed permission for net-snmp-config in net-snmp-devel
  628. * Mon Sep 08 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-10.1
  629. - rebuilt
  630. * Mon Sep 08 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-10
  631. - Moved net-snmp-config into devel package (#103927)
  632. * Fri Aug 22 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-9.1
  633. - rebuilt
  634. * Thu Aug 21 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-9
  635. - Added sample config to make net-snmp RFC 1213 compliant.
  636. * Fri Aug 15 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-8
  637. - Fixed problem with perl option (#102420).
  638. - Added patch for libwrap fix (#77926).
  639. * Tue Aug 12 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-7.1
  640. - rebuilt
  641. * Tue Aug 12 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-7
  642. - Fixed build problems on ppc64
  643. - Fixed double packaged manpages (#102075).
  644. * Thu Aug 07 2003 Phil Knirsch <pknirsch@redhat.com>
  645. - Fixed problem with new proc output (#98619, #89960).
  646. * Wed Aug 06 2003 Phil Knirsch <pknirsch@redhat.com>
  647. - Fixed ro/rw problem with v2 and v3 request (#89612)
  648. * Tue Aug 05 2003 Phil Knirsch <pknirsch@redhat.com>
  649. - Fixed permission problem for debuginfo (#101456)
  650. * Thu Jul 31 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-6.1
  651. - Fixed file list for latest build.
  652. * Thu Jul 31 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-6
  653. - Fixed build problems for net-snmp-perl.
  654. * Sun Jul 27 2003 Florian La Roche <Florian.LaRoche@redhat.de> 5.0.8-5
  655. - actually apply ipv6 patch
  656. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  657. - rebuilt
  658. * Tue Apr 29 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-3
  659. - bumped release and rebuilt.
  660. * Tue Apr 29 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-2
  661. - Hack to make it build on 64bit platforms with /usr/lib64 correctly.
  662. - Fixed bug #85071 (leak of open descriptors for ipv6).
  663. * Fri Mar 28 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-1
  664. - Updated to latest upstream version 5.0.8 (bug #88580)
  665. * Thu Feb 13 2003 Phil Knirsch <pknirsch@redhat.com>
  666. - Included generation of perl stuff. Thanks to Harald Hoyer.
  667. * Wed Feb 12 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.7-1
  668. - Updated to net-snmp-5.0.7. Fixed especially the performance problem with
  669. limited trees.
  670. * Tue Feb 11 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.6-17
  671. - Fixed ucd-snmp.redhat.conf (#78391).
  672. - Fixed snmpwalk examples in config file.
  673. * Mon Feb 10 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.6-15
  674. - Fixed invalid SMUX packet (#83487).
  675. * Thu Feb 06 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.6-14
  676. - Fixed the libdir problem.
  677. * Wed Feb 05 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.6-13
  678. - Updated the old libtool rpath patch.
  679. * Wed Jan 22 2003 Tim Powers <timp@redhat.com> 5.0.6-12
  680. - rebuilt
  681. * Tue Jan 14 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.6-11
  682. - Updated nolibelf patch and activated it again.
  683. * Tue Jan 7 2003 Nalin Dahyabhai <nalin@redhat.com> 5.0.6-10
  684. - Rebuild
  685. * Tue Dec 17 2002 Phil Knirsch <pknirsch@redhat.com> 5.0.6-9
  686. - Added bzip2-devel to BuildPreReq (#76086, #70199).
  687. * Thu Nov 28 2002 Phil Knirsch <pknirsch@redhat.com> 5.0.6-8
  688. - Added patch to increase SMUXMAXSTRLEN.
  689. * Thu Nov 7 2002 Tim Powers <timp@redhat.com> 5.0.6-6
  690. - rebuilt to fix broken deps
  691. - remove files from the buildroot that we don't want to ship
  692. * Thu Nov 7 2002 Joe Orton <jorton@redhat.com> 5.0.6-5
  693. - add fix for -DUCD_COMPATIBLE (#77405)
  694. * Thu Nov 07 2002 Phil Knirsch <pknirsch@redhat.com> 5.0.6-4
  695. - Another bump required. Some more specfile changes.
  696. * Wed Nov 06 2002 Phil Knirsch <pknirsch@redhat.com> 5.0.6-3
  697. - Bumped release and rebuilt.
  698. - Removed all dbFOO cruft again.
  699. * Wed Oct 09 2002 Phil Knirsch <pknirsch@redhat.com> 5.0.6-2
  700. - Updated to latest released version.
  701. * Sat Aug 31 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  702. - do not link against -lelf
  703. * Thu Jun 27 2002 Phil Knirsch <pknirsch@redhat.com> 5.0.1-5
  704. - Added --enable-ucd-snmp-compatibility for compatibility with older version
  705. and fixed installation thereof.
  706. - Got rid of the perl(Tk) dependancy by removing snmpcheck.
  707. - Include /usr/include/ucd-snmp in the filelist.
  708. - Fixed a problem with the ucd-snmp/version.h file.
  709. * Wed Jun 26 2002 Phil Knirsch <pknirsch@redhat.com> 5.0.1-1
  710. - Updated to 5.0.1
  711. - Dropped --enable-reentrant as it's currently broken
  712. * Tue Apr 23 2002 Phil Knirsch <pknirsch@redhat.com> 5.0-1
  713. - Switch to latest stable version, 5.0
  714. - Renamed the packate to net-snmp and obsoleted ucd-snmp.
  715. * Wed Apr 17 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4-3
  716. - Fixed problem with reload in initscript (#63526).
  717. * Mon Apr 15 2002 Tim Powers <timp@redhat.com> 4.2.4-2
  718. - rebuilt in new environment
  719. * Mon Apr 15 2002 Tim Powers <timp@redhat.com> 4.2.4-1
  720. - update to 4.2.4 final
  721. * Sat Apr 13 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre3-5
  722. - Added some missing files to the %files section.
  723. * Tue Apr 09 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre3-4
  724. - Hardcoded the ETC_MNTTAB to point to "/etc/mtab".
  725. * Mon Apr 08 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre3-3
  726. - Removed the check for dbFOO as we don't want to add another requirement.
  727. * Fri Apr 05 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre3-2
  728. - Added missing BuildPrereq to openssl-devel (#61525)
  729. * Thu Apr 04 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre3-1
  730. - Added ucd5820stat to the files section.
  731. - Updated to latest version (4.2.4.pre3)
  732. * Mon Mar 18 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre2-1
  733. - Updated to latest version (4.2.4.pre2)
  734. * Tue Jan 29 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.3-4
  735. - Added the snmptrapd init script as per request (#49205)
  736. - Fixed the again broken rpm query stuff (#57444)
  737. - Removed all old and none-used db related stuff (libs and header checks/files)
  738. * Mon Jan 07 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.3-2
  739. - Included the Axioma Security Research fix for snmpnetstat from bugtraq.
  740. * Mon Dec 03 2001 Phil Knirsch <phil@redhat.de> 4.2.3-1
  741. - Update to 4.2.3 final.
  742. - Fixed libtool/rpath buildroot pollution problem.
  743. - Fixed library naming problem.
  744. * Fri Oct 5 2001 Philipp Knirsch <pknirsch@redhat.de>
  745. - Fixed a server segfault for snmpset operation (#53640). Thanks to Josh Giles
  746. and Wes Hardaker for the patch.
  747. * Mon Sep 10 2001 Philipp Knirsch <pknirsch@redhat.de>
  748. - Fixed problem with RUNTESTS script.
  749. * Tue Sep 4 2001 Preston Brown <pbrown@redhat.com>
  750. - fixed patch related to bug #35016 (Dell)
  751. * Fri Aug 24 2001 Philipp Knirsch <pknirsch@redhat.de> 4.2.1-6
  752. - Fixed snmpd description (#52366)
  753. * Wed Aug 22 2001 Philipp Knirsch <pknirsch@redhat.de>
  754. - Final bcm5820 fix. Last one was broken.
  755. - Fixed bugzilla bug (#51960) where the binaries contained rpath references.
  756. * Wed Aug 15 2001 Philipp Knirsch <pknirsch@redhat.de>
  757. - Fixed a couple of security issues:
  758. o /tmp race and setgroups() privilege problem
  759. o Various buffer overflow and format string issues.
  760. o One signedness problem in ASN handling.
  761. - Fixed an important RFE to support bcm5820 cards. (#51125)
  762. * Fri Jul 20 2001 Philipp Knirsch <pknirsch@redhat.de>
  763. - Removed tkmib from the package once again as we don't ship the Tk.pm CPAN
  764. perl module required to run it (#49363)
  765. - Added missing Provides for the .so.0 libraries as rpm doesn't seem to find
  766. those during the build anymore (it used to) (#46388)
  767. * Thu Jul 19 2001 Philipp Knirsch <pknirsch@redhat.de>
  768. - Enabled IPv6 support (RFE #47764)
  769. - Hopefully final fix of snmpwalk problem (#42153). Thanks to Douglas Warzecha
  770. for the patch and Matt Domsch for reporting the problem.
  771. * Tue Jun 26 2001 Philipp Knirsch <pknirsch@redhat.de>
  772. - Fixed smux compilation problems (#41452)
  773. - Fixed wrong paths displayed in manpages (#43053)
  774. * Mon Jun 25 2001 Philipp Knirsch <pknirsch@redhat.de>
  775. - Updated to 4.2.1. Removed 2 obsolete patches (fromcvs and #18153)
  776. - Include /usr/share/snmp/snmpconf in %files
  777. * Wed Jun 13 2001 Than Ngo <than@redhat.com>
  778. - fix to use libwrap in distro
  779. - add buildprereq: tcp_wrappers
  780. * Fri Jun 1 2001 Bill Nottingham <notting@redhat.com>
  781. - add a *new* patch for IP address return sizes
  782. * Fri Apr 20 2001 Bill Nottingham <notting@redhat.com>
  783. - add patch so that only four bytes are returned for IP addresses on ia64 (#32244)
  784. * Wed Apr 11 2001 Bill Nottingham <notting@redhat.com>
  785. - rebuild (missing alpha packages)
  786. * Fri Apr 6 2001 Matt Wilson <msw@redhat.com>
  787. - added ucd-snmp-4.2-null.patch to correcly handle a NULL value (#35016)
  788. * Tue Apr 3 2001 Preston Brown <pbrown@redhat.com>
  789. - clean up deinstallation (#34168)
  790. * Tue Mar 27 2001 Matt Wilson <msw@redhat.com>
  791. - return a usable RETVAL when running "service snmpd status" (#33571)
  792. * Tue Mar 13 2001 Matt Wilson <msw@redhat.com>
  793. - configure with --enable-reentrant and added "smux" and "agentx" to
  794. --with-mib-modules= argument (#29626)
  795. * Fri Mar 2 2001 Nalin Dahyabhai <nalin@redhat.com>
  796. - rebuild in new environment
  797. * Mon Feb 26 2001 Tim Powers <timp@redhat.com>
  798. - fixed initscript, for reload and restart it was start then stop,
  799. fixed. (#28477)
  800. * Fri Feb 2 2001 Trond Eivind Glomsrod <teg@redhat.com>
  801. - i18nize initscript
  802. * Sat Jan 6 2001 Jeff Johnson <jbj@redhat.com>
  803. - don't depend on /etc/init.d so that package will work with 6.2.
  804. - perl path fiddles no longer needed.
  805. - rely on brp-compress frpm rpm to compress man pages.
  806. - patch from ucd-snmp CVS (Wes Hardaker).
  807. - configure.in needs to check for rpm libraries correctly (#23033).
  808. - add simple logrotate script (#21399).
  809. - add options to create pidfile and log with syslog with addresses (#23476).
  810. * Sat Dec 30 2000 Jeff Johnson <jbj@redhat.com>
  811. - package for Red Hat 7.1.
  812. * Thu Dec 07 2000 Wes Hardaker <hardaker@users.sourceforge.net>
  813. - update for 4.2
  814. * Thu Oct 12 2000 Jeff Johnson <jbj@redhat.com>
  815. - add explicit format for syslog call (#18153).
  816. * Thu Jul 20 2000 Bill Nottingham <notting@redhat.com>
  817. - move initscript back
  818. * Thu Jul 20 2000 Jeff Johnson <jbj@redhat.com>
  819. - rebuild per Trond's request.
  820. * Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com>
  821. - fix syntax error that crept in with condrestart
  822. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  823. - automatic rebuild
  824. * Mon Jul 10 2000 Preston Brown <pbrown@redhat.com>
  825. - move initscript and add condrestart magic
  826. * Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
  827. - fix %%attr on man pages
  828. * Mon Jun 12 2000 Jeff Johnson <jbj@redhat.com>
  829. - tkmib doco had #!/usr/bin/perl55
  830. - include snmpcheck and tkmib again (still needs some CPAN module, however).
  831. * Tue Jun 6 2000 Jeff Johnson <jbj@redhat.com>
  832. - update to 4.1.2.
  833. - FHS packaging.
  834. - patch for rpm 4.0.
  835. * Thu May 18 2000 Trond Eivind Glomsrod <teg@redhat.com>
  836. - add version to buildroot
  837. - rebuilt with new libraries
  838. * Sun Feb 27 2000 Jeff Johnson <jbj@redhat.com>
  839. - default config was broken (from Wes Hardaker) (#9752)
  840. * Sun Feb 13 2000 Jeff Johnson <jbj@redhat.com>
  841. - compressed man pages.
  842. * Fri Feb 11 2000 Wes Hardaker <wjhardaker@ucdavis.edu>
  843. - update to 4.1.1
  844. * Sat Feb 5 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  845. - change %postun to %preun
  846. * Thu Feb 3 2000 Elliot Lee <sopwith@redhat.com>
  847. - Don't ship tkmib, since we don't ship the perl modules needed to run it.
  848. (Bug #4881)
  849. * Tue Aug 31 1999 Jeff Johnson <jbj@redhat.com>
  850. - default config permits RO access to system group only (Wed Hardaker).
  851. * Sun Aug 29 1999 Jeff Johnson <jbj@redhat.com>
  852. - implement suggestions from Wes Hardaker.
  853. * Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com>
  854. - stateless access to rpm database.
  855. * Wed Aug 25 1999 Jeff Johnson <jbj@redhat.com>
  856. - update to 4.0.1.
  857. * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
  858. - initscript munging
  859. * Sat Jun 12 1999 Jeff Johnson <jbj@redhat.com>
  860. - update to 3.6.2 (#3219,#3259).
  861. - add missing man pages (#3057).
  862. * Thu Apr 8 1999 Wes Hardaker <wjhardaker@ucdavis.edu>
  863. - fix Source0 location.
  864. - fix the snmpd.conf file to use real community names.
  865. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  866. - auto rebuild in the new build environment (release 3)
  867. * Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
  868. - upgrade to 3.6.1, fix configuration file stuff.
  869. * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
  870. - Injected new description and group.
  871. * Tue Feb 2 1999 Jeff Johnson <jbj@redhat.com>
  872. - restore host resources mib
  873. - simplified config file
  874. - rebuild for 6.0.
  875. * Tue Dec 22 1998 Bill Nottingham <notting@redhat.com>
  876. - remove backup file to fix perl dependencies
  877. * Tue Dec 8 1998 Jeff Johnson <jbj@redhat.com>
  878. - add all relevant rpm scalars to host resources mib.
  879. * Sun Dec 6 1998 Jeff Johnson <jbj@redhat.com>
  880. - enable libwrap (#253)
  881. - enable host module (rpm queries over SNMP!).
  882. * Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
  883. - strip binaries
  884. * Fri Oct 2 1998 Jeff Johnson <jbj@redhat.com>
  885. - update to 3.5.3.
  886. - don't include snmpcheck until perl-SNMP is packaged.
  887. * Thu Aug 13 1998 Jeff Johnson <jbj@redhat.com>
  888. - ucd-snmpd.init: start daemon w/o -f.
  889. * Tue Aug 4 1998 Jeff Johnson <jbj@redhat.com>
  890. - don't start snmpd unless requested
  891. - start snmpd after pcmcia.
  892. * Sun Jun 21 1998 Jeff Johnson <jbj@redhat.com>
  893. - all but config (especially SNMPv2p) ready for prime time
  894. * Sat Jun 20 1998 Jeff Johnson <jbj@redhat.com>
  895. - update to 3.5.
  896. * Tue Dec 30 1997 Otto Hammersmith <otto@redhat.com>
  897. - created the package... possibly replace cmu-snmp with this.