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

Revision 2538, 30.2 KB checked in by Takemikaduchi, 13 years ago (diff)

fix patches

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