net-snmp-vl.spec 38 KB

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