[net-snmp] Enabled MySQL support in snmptrapd - requested by RHEL customer and should not harm anything, while
Jan Šafránek
jsafrane at fedoraproject.org
Tue Feb 15 10:01:41 UTC 2011
commit 5dc158b98a7de5c08fc881ed98810958aa1a230d
Author: Jan Safranek <jsafrane at redhat.com>
Date: Tue Feb 15 10:52:12 2011 +0100
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.
net-snmp.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/net-snmp.spec b/net-snmp.spec
index fa687f5..a7b6d28 100644
--- a/net-snmp.spec
+++ b/net-snmp.spec
@@ -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 at localhost" <<EOF
EOF
@@ -431,6 +434,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_datadir}/snmp/mibs/*
%changelog
+* Tue Feb 15 2011 Jan Safranek <jsafrane at redhat.com> - 1:5.6.1-5
+- enabled MySQL support in snmptrapd
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:5.6.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list