Enabled MySQL support in snmptrapd
- requested by RHEL customer and should not harm anything, while mysql-libs is quite huge, it does not have any bigger indirect dependency.
This commit is contained in:
parent
cd6df4d886
commit
5dc158b98a
@ -11,7 +11,7 @@
|
||||
Summary: A collection of SNMP protocol tools and libraries
|
||||
Name: net-snmp
|
||||
Version: 5.6.1
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Epoch: 1
|
||||
|
||||
License: BSD
|
||||
@ -44,12 +44,14 @@ Requires(preun): initscripts
|
||||
# for /bin/rm
|
||||
Requires(preun): coreutils
|
||||
Requires: %{name}-libs = %{epoch}:%{version}-%{release}
|
||||
Requires: mysql-libs
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: openssl-devel, bzip2-devel, elfutils-devel
|
||||
BuildRequires: libselinux-devel, elfutils-libelf-devel, rpm-devel
|
||||
BuildRequires: perl-devel, perl(ExtUtils::Embed), gawk, procps
|
||||
BuildRequires: python-devel, python-setuptools
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: mysql-devel
|
||||
# for netstat, needed by 'make test'
|
||||
BuildRequires: net-tools
|
||||
%ifnarch s390 s390x
|
||||
@ -206,6 +208,7 @@ MIBS="$MIBS ucd-snmp/lmsensorsMib"
|
||||
--with-temp-file-pattern=/var/run/net-snmp/snmp-tmp-XXXXXX \
|
||||
--with-transports="DTLSUDP TLSTCP" \
|
||||
--with-security-modules=tsm \
|
||||
--with-mysql \
|
||||
--with-sys-contact="root@localhost" <<EOF
|
||||
EOF
|
||||
|
||||
@ -431,6 +434,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_datadir}/snmp/mibs/*
|
||||
|
||||
%changelog
|
||||
* Tue Feb 15 2011 Jan Safranek <jsafrane@redhat.com> - 1:5.6.1-5
|
||||
- enabled MySQL support in snmptrapd
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.6.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user