SPECS: ulogd.spec - fixed mysql build, added PostgreSQL and SQLite...
gotar
gotar at pld-linux.org
Tue May 15 15:31:58 CEST 2007
Author: gotar Date: Tue May 15 13:31:58 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fixed mysql build, added PostgreSQL and SQLite plugins
---- Files affected:
SPECS:
ulogd.spec (1.40 -> 1.41)
---- Diffs:
================================================================
Index: SPECS/ulogd.spec
diff -u SPECS/ulogd.spec:1.40 SPECS/ulogd.spec:1.41
--- SPECS/ulogd.spec:1.40 Mon Feb 12 23:09:18 2007
+++ SPECS/ulogd.spec Tue May 15 15:31:53 2007
@@ -1,7 +1,4 @@
# $Revision$, $Date$
-# TODO: (maybe ;)
-# - pgsql support
-# - sqlite support
Summary: ULOGD - the Userspace Logging Daemon for iptables
Summary(pl.UTF-8): Demon logujący w trybie użytkownika dla iptables
Name: ulogd
@@ -15,9 +12,12 @@
Source2: %{name}.sysconfig
Source3: %{name}.logrotate
Patch0: %{name}-includes.patch
+Patch1: %{name}-mysql.patch
URL: http://gnumonks.org/projects/ulogd/
BuildRequires: autoconf
BuildRequires: mysql-devel
+BuildRequires: postgresql-devel
+BuildRequires: sqlite3-devel
BuildRequires: rpmbuild(macros) >= 1.268
BuildRequires: sed >= 4.0
Requires(post): fileutils
@@ -55,9 +55,32 @@
%description mysql -l pl.UTF-8
Wtyczka MySQL dla ulogd.
+%package pgsql
+Summary: PostgreSQL plugin for ulogd
+Summary(pl.UTF-8): Wtyczka PostgreSQL dla ulogd
+Group: Networking/Daemons
+
+%description pgsql
+PostgreSQL plugin for ulogd.
+
+%description pgsql -l pl.UTF-8
+Wtyczka PostgreSQL dla ulogd.
+
+%package sqlite
+Summary: SQLite plugin for ulogd
+Summary(pl.UTF-8): Wtyczka SQLite dla ulogd
+Group: Networking/Daemons
+
+%description sqlite
+SQLite plugin for ulogd.
+
+%description sqlite -l pl.UTF-8
+Wtyczka SQLite dla ulogd.
+
%prep
%setup -q
%patch0 -p1
+%patch1 -p0
%build
%if "%{_lib}" != "lib"
@@ -67,7 +90,9 @@
%{__autoconf}
%configure \
- --with-mysql
+ --with-mysql \
+ --with-pgsql \
+ --with-sqlite3
%{__make}
%install
@@ -114,7 +139,9 @@
%attr(755,root,root) %{_sbindir}/*
%dir %{_libdir}/ulogd
-%attr(755,root,root) %{_libdir}/ulogd/ulogd_[BLOPS]*.so
+%attr(755,root,root) %{_libdir}/ulogd/ulogd_[BLO]*.so
+%attr(755,root,root) %{_libdir}/ulogd/ulogd_PWSNIFF*.so
+%attr(755,root,root) %{_libdir}/ulogd/ulogd_SYSLOG*.so
%attr(640,root,root) %ghost /var/log/*
%{_mandir}/man?/%{name}.*
@@ -124,12 +151,25 @@
%doc doc/mysql*
%attr(755,root,root) %{_libdir}/ulogd/ulogd_MYSQL.so
+%files pgsql
+%defattr(644,root,root,755)
+%doc doc/pgsql*
+%attr(755,root,root) %{_libdir}/ulogd/ulogd_PGSQL.so
+
+%files sqlite
+%defattr(644,root,root,755)
+%doc doc/sqlite*
+%attr(755,root,root) %{_libdir}/ulogd/ulogd_SQLITE3.so
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.41 2007/05/15 13:31:53 gotar
+- fixed mysql build, added PostgreSQL and SQLite plugins
+
Revision 1.40 2007/02/12 22:09:18 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/ulogd.spec?r1=1.40&r2=1.41&f=u
More information about the pld-cvs-commit
mailing list