From 5dc158b98a7de5c08fc881ed98810958aa1a230d Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Tue, 15 Feb 2011 10:52:12 +0100 Subject: [PATCH] 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 file changed, 7 insertions(+), 1 deletion(-) 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@localhost" < - 1:5.6.1-5 +- enabled MySQL support in snmptrapd + * Tue Feb 08 2011 Fedora Release Engineering - 1:5.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild