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

Revision 9502, 31.9 KB checked in by Takemikaduchi, 9 years ago (diff)

new upstream release

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