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

Revision 7422, 31.3 KB checked in by iwamoto, 11 years ago (diff)

perl, proftpd, gnupg, freetype2, net-snmp update @ vine6

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