diff --git a/.cvsignore b/.cvsignore index 74d6b6c..f9505db 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ syslog-ng-2.1.4.tar.gz +syslog-ng-2.1.4-libnet.patch diff --git a/sources b/sources index 6e8df16..b96e564 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ 17c4c7725d2eab62b588395f1ed93f32 syslog-ng-2.1.4.tar.gz +02ce641aa7ca3649f2cd562f2864e654 syslog-ng-2.1.4-libnet.patch diff --git a/syslog-ng.spec b/syslog-ng.spec index 0c6c7f5..592b6d2 100644 --- a/syslog-ng.spec +++ b/syslog-ng.spec @@ -6,7 +6,7 @@ Name: syslog-ng Version: 2.1.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Next-generation syslog server Group: System Environment/Daemons @@ -22,6 +22,9 @@ Source20: rsyslog-syslog-ng.sysconfig Source21: rsyslog-3.14.1-logrotate.d-rsyslog.log Source30: rsyslog-syslog-ng-fc10.sysconfig Source31: rsyslog-3.21.9-logrotate.d-rsyslog.log + +Patch0: syslog-ng-2.1.4-libnet.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: eventlog-devel >= %{evtlog_ver} @@ -33,6 +36,7 @@ BuildRequires: glib2-static %if 0%{?rhel} BuildRequires: tcp_wrappers BuildRequires: eventlog-static >= %{evtlog_ver} +BuildRequires: automake %else BuildRequires: tcp_wrappers-devel %endif @@ -64,6 +68,9 @@ ideal for firewalled environments. %prep %setup -q +%if 0%{?rhel} +%patch0 -p1 -b .libnet +%endif # fix perl path %{__sed} -i 's|^#!/usr/local/bin/perl|#!%{__perl}|' contrib/relogger.pl @@ -219,6 +226,9 @@ fi %changelog +* Thu Aug 20 2009 Ray Van Dolson - 2.1.4-4 +- libnet linking (bug#518150) + * Tue Aug 18 2009 Ray Van Dolson - 2.1.4-3 - Init script fix (bug#517339)