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

Revision 12120, 33.2 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

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