source: projects/specs/branches/6/n/net-snmp/net-snmp-vl.spec @ 8297

Revision 8297, 31.7 KB checked in by iwamoto, 10 years ago (diff)

net-snmp: CVE-2012-6151

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