fixed snmp_api man page

Resolves: #694209
This commit is contained in:
Jan Safranek 2011-04-13 12:29:51 +02:00
parent abb4780fe5
commit 710965cec1
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -up net-snmp-5.5/man/Makefile.in.orig net-snmp-5.5/man/Makefile.in
--- net-snmp-5.5/man/Makefile.in.orig 2009-08-03 20:38:47.000000000 +0200
+++ net-snmp-5.5/man/Makefile.in 2011-04-13 12:24:11.612763362 +0200
@@ -86,7 +86,7 @@ SNMP_TRAP_API_ALIASES = send_easy_trap.3
MANALIASES=$(DEFAULT_STORE_ALIASES) $(READ_CONFIG_ALIASES) \
$(SNMP_ALARM_ALIASES) $(SNMP_SET_SAVE_DESCRIPTIONS_ALIASES) \
- $(SNMP_TRAP_API_ALIASES)
+ $(SNMP_TRAP_API_ALIASES) snmp_api.3
MANALL = $(MAN1) $(MAN1G) $(MAN3) $(MAN3G) $(MAN5G) $(MAN8G) $(MANALIASES)
TARGETS = $(MAN5G) $(MAN1G) $(MAN3G) $(MAN8G)

View File

@ -11,7 +11,7 @@
Summary: A collection of SNMP protocol tools and libraries
Name: net-snmp
Version: 5.5
Release: 21%{?dist}
Release: 22%{?dist}
Epoch: 1
License: BSD
@ -39,6 +39,7 @@ Patch10: net-snmp-5.5-mktemp-size.patch
Patch11: net-snmp-5.5-apsl-copying.patch
Patch12: net-snmp-5.5-perl-linking.patch
Patch13: net-snmp-5.5-sysobjectid-truncation.patch
Patch14: net-snmp-5.5-man-snmp_api.patch
Requires(post): chkconfig
Requires(preun): chkconfig
@ -176,6 +177,7 @@ Net-SNMP toolkit library.
%patch11 -p1 -b .apsl
%patch12 -p1 -b .perl-linking
%patch13 -p1 -b .sysobjectid-truncation
%patch14 -p1 -b .man-snmp_api
%build
MIBS="host agentx smux \
@ -424,6 +426,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_datadir}/snmp/mibs/*
%changelog
* Wed Apr 13 2011 Jan Safranek <jsafrane@redhat.com> - 1:5.5-22
- fixed snmp_api man page (#694209)
* Mon Oct 11 2010 Jan Safranek <jsafrane@redhat.com> - 1:5.5-21
- fixed truncation of sysObjectID (#640848)