|
|
|
|
@ -31,8 +31,8 @@ Distribution: OpenPKG Community
|
|
|
|
|
Class: EVAL |
|
|
|
|
Group: Logfile |
|
|
|
|
License: GPL |
|
|
|
|
Version: 5.1.0 |
|
|
|
|
Release: 20090529 |
|
|
|
|
Version: 5.5.7 |
|
|
|
|
Release: 20100809 |
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
|
%option with_kerberos no |
|
|
|
|
@ -40,7 +40,7 @@ Release: 20090529
|
|
|
|
|
%option with_pgsql no |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://download.rsyslog.com/rsyslog/rsyslog-%{version}.tar.gz |
|
|
|
|
Source0: http://www.rsyslog.com/files/download/rsyslog/rsyslog-%{version}.tar.gz |
|
|
|
|
Source1: rsyslog.conf |
|
|
|
|
Source2: rc.rsyslog |
|
|
|
|
Patch0: rsyslog.patch |
|
|
|
|
@ -75,7 +75,7 @@ PreReq: postgresql, openssl
|
|
|
|
|
%track |
|
|
|
|
prog rsyslog = { |
|
|
|
|
version = %{version} |
|
|
|
|
url = http://download.rsyslog.com/rsyslog/ |
|
|
|
|
url = http://www.rsyslog.com/download/ |
|
|
|
|
regex = rsyslog-(\d+(\.\d+)+)\.tar\.gz |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -92,7 +92,9 @@ PreReq: postgresql, openssl
|
|
|
|
|
CPPFLAGS="%{l_cppflags}" \ |
|
|
|
|
LDFLAGS="%{l_ldflags}" \ |
|
|
|
|
%if "%{with_pgsql}" == "yes" |
|
|
|
|
LIBS="`pg_config --libs`" \ |
|
|
|
|
LIBS="`pg_config --libs` -lz" \ |
|
|
|
|
%else |
|
|
|
|
LIBS="-lz" \ |
|
|
|
|
%endif |
|
|
|
|
./configure \ |
|
|
|
|
--prefix=%{l_prefix} \ |
|
|
|
|
|