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

Revision 10086, 32.0 KB checked in by tomop, 8 years ago (diff)

net-snmp-5.7.3-2

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