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

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