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