net-snmp-vl.spec 38 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132
  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: 1%{?_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. * Tue Sep 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.9-1
  476. - new upstream release.
  477. - re-imported all patches from rawhide.
  478. - added systemd support (disabled as default).
  479. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.8-2
  480. - rebuilt with perl-5.26.
  481. - added BR:libxcrypt-devel,libnsl2-devel.
  482. * Wed Nov 07 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.8-1
  483. - new upstream release.
  484. - updated Patch2-3.
  485. - dropped Patch5-7.
  486. - imported Patch4-12, 101 and 102 from rawhide.
  487. * Tue Mar 15 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.7.3-2
  488. - rebuilt with openssl-1.0.2g.
  489. * Sun Apr 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.7.3-1
  490. - new upstream release
  491. - update Patch3 (net-snmp-5.7.3-multilib.patch)
  492. - update Patch5 (net-snmp-5.7.3-apsl-copying.patch)
  493. * Thu Feb 26 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 5.7.2.1-2
  494. - added R: openssl-devel to devel subpackage
  495. * Thu Jul 3 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.7.2.1-1
  496. - new upstream release.
  497. * Sun Nov 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.7.2-1
  498. - new upstream release
  499. - update Patch1 (net-snmp-5.7.2-pie.patch)
  500. - remove Patch4 (net-snmp-5.5-include-struct.patch)
  501. * Wed Sep 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 5.7.1-3
  502. - use installvendorarch instead of installvendorlib
  503. to pick perl modules
  504. * Mon Sep 17 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 5.7.1-2
  505. - rebuild with rpm-4.10.0
  506. * Sun Mar 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.7.1-1
  507. - new upstream release
  508. - update Patch6 (net-snmp-5.7.1-perl-linking.patch)
  509. * Thu Dec 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 5.6.1.1-2
  510. - rebuild with rpm-4.9.1.2
  511. * Sat Jun 11 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.6.1.1-1
  512. - new upstream release
  513. * Sat May 07 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.6.1-5
  514. - change configure option (--with-mnttab=/etc/mtab)
  515. * Tue Apr 12 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.6.1-4
  516. - rebuilt with perl-5.12.3.
  517. * Sun Mar 13 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.6.1-3
  518. - change configure option (--with-mib-modules)
  519. * Tue Jan 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.6.1-2
  520. - merge spec, patch, source from FC package
  521. * Mon Jan 10 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.6.1-1
  522. - new upstream release
  523. - add configure option: --with-mnttab="/etc/mnttab"
  524. - update Patch1,4,9,11 for net-snmp-5.6.1
  525. - drop Patch6,8,13,16,17
  526. - fix %%files
  527. * Sun Aug 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.4.3-1
  528. - new upstream release
  529. - update Patch1 for net-snmp-5.4.3
  530. - update Patch13 for net-snmp-5.4.3
  531. - fix %install
  532. * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 5.4.2.1-4
  533. - rebuild with rpm-4.8.0
  534. * Fri Mar 20 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.4.2.1-3
  535. - modify Source7 (use 'uname -m' instead of 'arch') ([bts:0675]
  536. * Sat Nov 29 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 5.4.2.1-2
  537. - rebuilt
  538. * Wed Nov 12 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 5.4.2.1-1
  539. - new upstream release with security fix
  540. - drop old patches
  541. - update patch13 (from FC10)
  542. * Tue Jun 24 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.4.1.2-1
  543. - new upstream release
  544. - applied new versioning policy
  545. - built with perl-5.10.0-3
  546. * Wed Jan 2 2008 Satoshi MACHINO <machino@vinelinux.org> 5.4.1-0vl1
  547. - new upstream release
  548. - fixed spec file
  549. -- imported patches from FC9
  550. * Sat May 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2.1.2-0vl5
  551. - rebuilt with openssl 0.9.8e
  552. * Thu May 10 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 5.2.1.2-0vl4
  553. - rebuild with new environment/toolchain
  554. * Thu Dec 22 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2.1.2-0vl3
  555. - rebuilt with new rpm
  556. - added mib2c-update to perl package
  557. * Mon Oct 24 2005 Satoshi MACHINO <machino@vinelinux.org> 5.2.1.2-0vl2
  558. - rebuilt for VineSeed
  559. * Mon Oct 24 2005 Satoshi MACHINO <machino@vinelinux.org> 5.2.1.2-0vl1
  560. - new upstream version (net-snmp-5.2.1.2)
  561. - dropped enable-reentrant in configure (VinePlus:02769)
  562. * Sat Jan 29 2005 Satoshi MACHINO <machino@vinelinux.org> 5.2.1-0vl1
  563. - new upstream version (net-snmp-5.2.1)
  564. - dropped patch12
  565. * Mon Jan 03 2005 Satoshi MACHINO <machino@vinelinux.org> 5.2-0vl1
  566. - new upstream version (net-snmp-5.2)
  567. - changed to net-snmp-vl.spec
  568. - cleaned up patches
  569. * Thu Apr 29 2004 Satoshi MACHINO <machino@vinelinux.org> 5.1.1-0vl1
  570. - New upstream version (net-snmp-5.1.1)
  571. - dropped patch10
  572. - added some patches from fedoracore (patch16-18)
  573. - fixed patches (patch13,14)
  574. - enabled openssl in configure
  575. * Mon Feb 16 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1-9vl1
  576. - based on Fedora development 5.1-9
  577. * Tue Feb 03 2004 Phil Knirsch <pknirsch@redhat.com> 5.1-9
  578. - Reverted removal of _includir redefiniton due to php-snmp dependancy.
  579. - Remove SO_BSDCOMPAT setsockopt() call, deprecated.
  580. * Thu Jan 22 2004 Thomas Woerner <twoerner@redhat.com> 5.1-7
  581. - enabled pie (snmpd, snmptrapd) - postponed for ia64
  582. - added --with-pic to configure call
  583. * Thu Jan 15 2004 Phil Knirsch <pknirsch@redhat.com> 5.1-6
  584. - Fixed 64bit build problems when 32bit popt lib is installed.
  585. - added Requires: libelf-devel to net-snmp-devel package
  586. * Fri Dec 26 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1-3vl1
  587. - based on Fedora development 5.1-3 and don't apply patch9
  588. * Wed Dec 10 2003 Phil Knirsch <pknirsch@redhat.com> 5.1-3
  589. - Removed snmpcheck again, needs perl(Tk) which we don't ship (#111194).
  590. - Fixed getopt definition in include file (#111209).
  591. - Included Kaj J. Niemi's patch for broken perl module (#111319).
  592. - Included Kaj J. Niemi's patch for broken async getnext perl call (#111479).
  593. - Included Kaj J. Niemi's patch for broken hr_storage (#111502).
  594. * Wed Nov 26 2003 Phil Knirsch <pknirsch@redhat.com> 5.1-2
  595. - Included BuildPrereq on lm_sensors-devel on x86 archs (#110616).
  596. - Fixed deprecated initscript options (#110618).
  597. * Wed Nov 19 2003 Phil Knirsch <pknirsch@redhat.com> 5.1-1
  598. - Updated to latest net-snmp-5.1 upstream version.
  599. - Tons of specfile and patch cleanup.
  600. - Cleaned up perl stuff (mib2c etc, see #107707).
  601. - Added lm_sensors support patch for x86 archs from Kaj J. Niemi (#107618).
  602. - Added support for custom mib paths and mibs to snmptrapd initscript (#102762)
  603. - rebuild with new toolchains
  604. * Tue Nov 18 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.0.9-2vl1
  605. - based on Fedora development 5.0.9-2
  606. - merged ucd-snmp-vine.spec
  607. * Wed Nov 20 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.2.5-7vl2
  608. - added Patch100 (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=67610)
  609. (Thanks M. Matsubara-san for pointing this out)
  610. * Wed Nov 20 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.2.5-7vl1
  611. - based on 4.2.4-7.73.0 from RHL7.3/updates and built for Vine Linux
  612. (previous Vine version was 4.2.3-1vl1, which was based on 4.2.1-7
  613. and applied security fix CA-2002-03)
  614. - added BuildPreReq: rpm-devel >= 4.0.4
  615. * Mon Oct 13 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.9-2
  616. - Due to rpm-devel we need elfutils-devel, too (#103982).
  617. * Mon Sep 29 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.9-1
  618. - Updated to latest upstream version net-snmp-5.0.9
  619. - Added patch to fix net-snmp-perl problems (#105842).
  620. * Tue Sep 23 2003 Florian La Roche <Florian.LaRoche@redhat.de>
  621. - allow compiling without tcp_wrappers
  622. * Wed Sep 17 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-11.1
  623. - rebuilt
  624. * Wed Sep 17 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-11
  625. - Fixed permission for net-snmp-config in net-snmp-devel
  626. * Mon Sep 08 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-10.1
  627. - rebuilt
  628. * Mon Sep 08 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-10
  629. - Moved net-snmp-config into devel package (#103927)
  630. * Fri Aug 22 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-9.1
  631. - rebuilt
  632. * Thu Aug 21 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-9
  633. - Added sample config to make net-snmp RFC 1213 compliant.
  634. * Fri Aug 15 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-8
  635. - Fixed problem with perl option (#102420).
  636. - Added patch for libwrap fix (#77926).
  637. * Tue Aug 12 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-7.1
  638. - rebuilt
  639. * Tue Aug 12 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-7
  640. - Fixed build problems on ppc64
  641. - Fixed double packaged manpages (#102075).
  642. * Thu Aug 07 2003 Phil Knirsch <pknirsch@redhat.com>
  643. - Fixed problem with new proc output (#98619, #89960).
  644. * Wed Aug 06 2003 Phil Knirsch <pknirsch@redhat.com>
  645. - Fixed ro/rw problem with v2 and v3 request (#89612)
  646. * Tue Aug 05 2003 Phil Knirsch <pknirsch@redhat.com>
  647. - Fixed permission problem for debuginfo (#101456)
  648. * Thu Jul 31 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-6.1
  649. - Fixed file list for latest build.
  650. * Thu Jul 31 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-6
  651. - Fixed build problems for net-snmp-perl.
  652. * Sun Jul 27 2003 Florian La Roche <Florian.LaRoche@redhat.de> 5.0.8-5
  653. - actually apply ipv6 patch
  654. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  655. - rebuilt
  656. * Tue Apr 29 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-3
  657. - bumped release and rebuilt.
  658. * Tue Apr 29 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-2
  659. - Hack to make it build on 64bit platforms with /usr/lib64 correctly.
  660. - Fixed bug #85071 (leak of open descriptors for ipv6).
  661. * Fri Mar 28 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.8-1
  662. - Updated to latest upstream version 5.0.8 (bug #88580)
  663. * Thu Feb 13 2003 Phil Knirsch <pknirsch@redhat.com>
  664. - Included generation of perl stuff. Thanks to Harald Hoyer.
  665. * Wed Feb 12 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.7-1
  666. - Updated to net-snmp-5.0.7. Fixed especially the performance problem with
  667. limited trees.
  668. * Tue Feb 11 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.6-17
  669. - Fixed ucd-snmp.redhat.conf (#78391).
  670. - Fixed snmpwalk examples in config file.
  671. * Mon Feb 10 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.6-15
  672. - Fixed invalid SMUX packet (#83487).
  673. * Thu Feb 06 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.6-14
  674. - Fixed the libdir problem.
  675. * Wed Feb 05 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.6-13
  676. - Updated the old libtool rpath patch.
  677. * Wed Jan 22 2003 Tim Powers <timp@redhat.com> 5.0.6-12
  678. - rebuilt
  679. * Tue Jan 14 2003 Phil Knirsch <pknirsch@redhat.com> 5.0.6-11
  680. - Updated nolibelf patch and activated it again.
  681. * Tue Jan 7 2003 Nalin Dahyabhai <nalin@redhat.com> 5.0.6-10
  682. - Rebuild
  683. * Tue Dec 17 2002 Phil Knirsch <pknirsch@redhat.com> 5.0.6-9
  684. - Added bzip2-devel to BuildPreReq (#76086, #70199).
  685. * Thu Nov 28 2002 Phil Knirsch <pknirsch@redhat.com> 5.0.6-8
  686. - Added patch to increase SMUXMAXSTRLEN.
  687. * Thu Nov 7 2002 Tim Powers <timp@redhat.com> 5.0.6-6
  688. - rebuilt to fix broken deps
  689. - remove files from the buildroot that we don't want to ship
  690. * Thu Nov 7 2002 Joe Orton <jorton@redhat.com> 5.0.6-5
  691. - add fix for -DUCD_COMPATIBLE (#77405)
  692. * Thu Nov 07 2002 Phil Knirsch <pknirsch@redhat.com> 5.0.6-4
  693. - Another bump required. Some more specfile changes.
  694. * Wed Nov 06 2002 Phil Knirsch <pknirsch@redhat.com> 5.0.6-3
  695. - Bumped release and rebuilt.
  696. - Removed all dbFOO cruft again.
  697. * Wed Oct 09 2002 Phil Knirsch <pknirsch@redhat.com> 5.0.6-2
  698. - Updated to latest released version.
  699. * Sat Aug 31 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  700. - do not link against -lelf
  701. * Thu Jun 27 2002 Phil Knirsch <pknirsch@redhat.com> 5.0.1-5
  702. - Added --enable-ucd-snmp-compatibility for compatibility with older version
  703. and fixed installation thereof.
  704. - Got rid of the perl(Tk) dependancy by removing snmpcheck.
  705. - Include /usr/include/ucd-snmp in the filelist.
  706. - Fixed a problem with the ucd-snmp/version.h file.
  707. * Wed Jun 26 2002 Phil Knirsch <pknirsch@redhat.com> 5.0.1-1
  708. - Updated to 5.0.1
  709. - Dropped --enable-reentrant as it's currently broken
  710. * Tue Apr 23 2002 Phil Knirsch <pknirsch@redhat.com> 5.0-1
  711. - Switch to latest stable version, 5.0
  712. - Renamed the packate to net-snmp and obsoleted ucd-snmp.
  713. * Wed Apr 17 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4-3
  714. - Fixed problem with reload in initscript (#63526).
  715. * Mon Apr 15 2002 Tim Powers <timp@redhat.com> 4.2.4-2
  716. - rebuilt in new environment
  717. * Mon Apr 15 2002 Tim Powers <timp@redhat.com> 4.2.4-1
  718. - update to 4.2.4 final
  719. * Sat Apr 13 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre3-5
  720. - Added some missing files to the %files section.
  721. * Tue Apr 09 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre3-4
  722. - Hardcoded the ETC_MNTTAB to point to "/etc/mtab".
  723. * Mon Apr 08 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre3-3
  724. - Removed the check for dbFOO as we don't want to add another requirement.
  725. * Fri Apr 05 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre3-2
  726. - Added missing BuildPrereq to openssl-devel (#61525)
  727. * Thu Apr 04 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre3-1
  728. - Added ucd5820stat to the files section.
  729. - Updated to latest version (4.2.4.pre3)
  730. * Mon Mar 18 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre2-1
  731. - Updated to latest version (4.2.4.pre2)
  732. * Tue Jan 29 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.3-4
  733. - Added the snmptrapd init script as per request (#49205)
  734. - Fixed the again broken rpm query stuff (#57444)
  735. - Removed all old and none-used db related stuff (libs and header checks/files)
  736. * Mon Jan 07 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.3-2
  737. - Included the Axioma Security Research fix for snmpnetstat from bugtraq.
  738. * Mon Dec 03 2001 Phil Knirsch <phil@redhat.de> 4.2.3-1
  739. - Update to 4.2.3 final.
  740. - Fixed libtool/rpath buildroot pollution problem.
  741. - Fixed library naming problem.
  742. * Fri Oct 5 2001 Philipp Knirsch <pknirsch@redhat.de>
  743. - Fixed a server segfault for snmpset operation (#53640). Thanks to Josh Giles
  744. and Wes Hardaker for the patch.
  745. * Mon Sep 10 2001 Philipp Knirsch <pknirsch@redhat.de>
  746. - Fixed problem with RUNTESTS script.
  747. * Tue Sep 4 2001 Preston Brown <pbrown@redhat.com>
  748. - fixed patch related to bug #35016 (Dell)
  749. * Fri Aug 24 2001 Philipp Knirsch <pknirsch@redhat.de> 4.2.1-6
  750. - Fixed snmpd description (#52366)
  751. * Wed Aug 22 2001 Philipp Knirsch <pknirsch@redhat.de>
  752. - Final bcm5820 fix. Last one was broken.
  753. - Fixed bugzilla bug (#51960) where the binaries contained rpath references.
  754. * Wed Aug 15 2001 Philipp Knirsch <pknirsch@redhat.de>
  755. - Fixed a couple of security issues:
  756. o /tmp race and setgroups() privilege problem
  757. o Various buffer overflow and format string issues.
  758. o One signedness problem in ASN handling.
  759. - Fixed an important RFE to support bcm5820 cards. (#51125)
  760. * Fri Jul 20 2001 Philipp Knirsch <pknirsch@redhat.de>
  761. - Removed tkmib from the package once again as we don't ship the Tk.pm CPAN
  762. perl module required to run it (#49363)
  763. - Added missing Provides for the .so.0 libraries as rpm doesn't seem to find
  764. those during the build anymore (it used to) (#46388)
  765. * Thu Jul 19 2001 Philipp Knirsch <pknirsch@redhat.de>
  766. - Enabled IPv6 support (RFE #47764)
  767. - Hopefully final fix of snmpwalk problem (#42153). Thanks to Douglas Warzecha
  768. for the patch and Matt Domsch for reporting the problem.
  769. * Tue Jun 26 2001 Philipp Knirsch <pknirsch@redhat.de>
  770. - Fixed smux compilation problems (#41452)
  771. - Fixed wrong paths displayed in manpages (#43053)
  772. * Mon Jun 25 2001 Philipp Knirsch <pknirsch@redhat.de>
  773. - Updated to 4.2.1. Removed 2 obsolete patches (fromcvs and #18153)
  774. - Include /usr/share/snmp/snmpconf in %files
  775. * Wed Jun 13 2001 Than Ngo <than@redhat.com>
  776. - fix to use libwrap in distro
  777. - add buildprereq: tcp_wrappers
  778. * Fri Jun 1 2001 Bill Nottingham <notting@redhat.com>
  779. - add a *new* patch for IP address return sizes
  780. * Fri Apr 20 2001 Bill Nottingham <notting@redhat.com>
  781. - add patch so that only four bytes are returned for IP addresses on ia64 (#32244)
  782. * Wed Apr 11 2001 Bill Nottingham <notting@redhat.com>
  783. - rebuild (missing alpha packages)
  784. * Fri Apr 6 2001 Matt Wilson <msw@redhat.com>
  785. - added ucd-snmp-4.2-null.patch to correcly handle a NULL value (#35016)
  786. * Tue Apr 3 2001 Preston Brown <pbrown@redhat.com>
  787. - clean up deinstallation (#34168)
  788. * Tue Mar 27 2001 Matt Wilson <msw@redhat.com>
  789. - return a usable RETVAL when running "service snmpd status" (#33571)
  790. * Tue Mar 13 2001 Matt Wilson <msw@redhat.com>
  791. - configure with --enable-reentrant and added "smux" and "agentx" to
  792. --with-mib-modules= argument (#29626)
  793. * Fri Mar 2 2001 Nalin Dahyabhai <nalin@redhat.com>
  794. - rebuild in new environment
  795. * Mon Feb 26 2001 Tim Powers <timp@redhat.com>
  796. - fixed initscript, for reload and restart it was start then stop,
  797. fixed. (#28477)
  798. * Fri Feb 2 2001 Trond Eivind Glomsrod <teg@redhat.com>
  799. - i18nize initscript
  800. * Sat Jan 6 2001 Jeff Johnson <jbj@redhat.com>
  801. - don't depend on /etc/init.d so that package will work with 6.2.
  802. - perl path fiddles no longer needed.
  803. - rely on brp-compress frpm rpm to compress man pages.
  804. - patch from ucd-snmp CVS (Wes Hardaker).
  805. - configure.in needs to check for rpm libraries correctly (#23033).
  806. - add simple logrotate script (#21399).
  807. - add options to create pidfile and log with syslog with addresses (#23476).
  808. * Sat Dec 30 2000 Jeff Johnson <jbj@redhat.com>
  809. - package for Red Hat 7.1.
  810. * Thu Dec 07 2000 Wes Hardaker <hardaker@users.sourceforge.net>
  811. - update for 4.2
  812. * Thu Oct 12 2000 Jeff Johnson <jbj@redhat.com>
  813. - add explicit format for syslog call (#18153).
  814. * Thu Jul 20 2000 Bill Nottingham <notting@redhat.com>
  815. - move initscript back
  816. * Thu Jul 20 2000 Jeff Johnson <jbj@redhat.com>
  817. - rebuild per Trond's request.
  818. * Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com>
  819. - fix syntax error that crept in with condrestart
  820. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  821. - automatic rebuild
  822. * Mon Jul 10 2000 Preston Brown <pbrown@redhat.com>
  823. - move initscript and add condrestart magic
  824. * Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
  825. - fix %%attr on man pages
  826. * Mon Jun 12 2000 Jeff Johnson <jbj@redhat.com>
  827. - tkmib doco had #!/usr/bin/perl55
  828. - include snmpcheck and tkmib again (still needs some CPAN module, however).
  829. * Tue Jun 6 2000 Jeff Johnson <jbj@redhat.com>
  830. - update to 4.1.2.
  831. - FHS packaging.
  832. - patch for rpm 4.0.
  833. * Thu May 18 2000 Trond Eivind Glomsrod <teg@redhat.com>
  834. - add version to buildroot
  835. - rebuilt with new libraries
  836. * Sun Feb 27 2000 Jeff Johnson <jbj@redhat.com>
  837. - default config was broken (from Wes Hardaker) (#9752)
  838. * Sun Feb 13 2000 Jeff Johnson <jbj@redhat.com>
  839. - compressed man pages.
  840. * Fri Feb 11 2000 Wes Hardaker <wjhardaker@ucdavis.edu>
  841. - update to 4.1.1
  842. * Sat Feb 5 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  843. - change %postun to %preun
  844. * Thu Feb 3 2000 Elliot Lee <sopwith@redhat.com>
  845. - Don't ship tkmib, since we don't ship the perl modules needed to run it.
  846. (Bug #4881)
  847. * Tue Aug 31 1999 Jeff Johnson <jbj@redhat.com>
  848. - default config permits RO access to system group only (Wed Hardaker).
  849. * Sun Aug 29 1999 Jeff Johnson <jbj@redhat.com>
  850. - implement suggestions from Wes Hardaker.
  851. * Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com>
  852. - stateless access to rpm database.
  853. * Wed Aug 25 1999 Jeff Johnson <jbj@redhat.com>
  854. - update to 4.0.1.
  855. * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
  856. - initscript munging
  857. * Sat Jun 12 1999 Jeff Johnson <jbj@redhat.com>
  858. - update to 3.6.2 (#3219,#3259).
  859. - add missing man pages (#3057).
  860. * Thu Apr 8 1999 Wes Hardaker <wjhardaker@ucdavis.edu>
  861. - fix Source0 location.
  862. - fix the snmpd.conf file to use real community names.
  863. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  864. - auto rebuild in the new build environment (release 3)
  865. * Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
  866. - upgrade to 3.6.1, fix configuration file stuff.
  867. * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
  868. - Injected new description and group.
  869. * Tue Feb 2 1999 Jeff Johnson <jbj@redhat.com>
  870. - restore host resources mib
  871. - simplified config file
  872. - rebuild for 6.0.
  873. * Tue Dec 22 1998 Bill Nottingham <notting@redhat.com>
  874. - remove backup file to fix perl dependencies
  875. * Tue Dec 8 1998 Jeff Johnson <jbj@redhat.com>
  876. - add all relevant rpm scalars to host resources mib.
  877. * Sun Dec 6 1998 Jeff Johnson <jbj@redhat.com>
  878. - enable libwrap (#253)
  879. - enable host module (rpm queries over SNMP!).
  880. * Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
  881. - strip binaries
  882. * Fri Oct 2 1998 Jeff Johnson <jbj@redhat.com>
  883. - update to 3.5.3.
  884. - don't include snmpcheck until perl-SNMP is packaged.
  885. * Thu Aug 13 1998 Jeff Johnson <jbj@redhat.com>
  886. - ucd-snmpd.init: start daemon w/o -f.
  887. * Tue Aug 4 1998 Jeff Johnson <jbj@redhat.com>
  888. - don't start snmpd unless requested
  889. - start snmpd after pcmcia.
  890. * Sun Jun 21 1998 Jeff Johnson <jbj@redhat.com>
  891. - all but config (especially SNMPv2p) ready for prime time
  892. * Sat Jun 20 1998 Jeff Johnson <jbj@redhat.com>
  893. - update to 3.5.
  894. * Tue Dec 30 1997 Otto Hammersmith <otto@redhat.com>
  895. - created the package... possibly replace cmu-snmp with this.