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

Revision 8733, 31.6 KB checked in by tomop, 10 years ago (diff)

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