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

Revision 9387, 31.7 KB checked in by inagaki, 9 years ago (diff)

2015-02-26 Ryoichi INAGAKI <ryo1@…>

  • djvulibre: rebuilt
  • libnet: updated
  • net-snmp: fixed dependency


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