source: projects/specs/trunk/n/net-snmp/net-snmp-vl.spec @ 11885

Revision 11885, 32.9 KB checked in by tomop, 6 years ago (diff)

net-snmp-5.8-1

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