From 835110044bd970518e10b28348ce6619818ce363 Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Sun, 18 May 2008 18:35:35 +0200 Subject: Remove obsolete patches and files and move ulogd to repository top-level directory --- ulogd.spec | 143 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 ulogd.spec (limited to 'ulogd.spec') diff --git a/ulogd.spec b/ulogd.spec new file mode 100644 index 0000000..8afc4c4 --- /dev/null +++ b/ulogd.spec @@ -0,0 +1,143 @@ +Summary: ulogd - The userspace logging daemon for netfilter +Name: ulogd +Version: 1.22 +Release: 1gm +License: GPL +Group: Network +Source: ftp://ftp.netfilter.org/pub/ulogd/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-root +Packager: Harald Welte +BuildRequires: MySQL-devel postgresql-devel libpcap-devel libsqlite3-devel +#BuildRequires: mysql-devel + +%package mysql +Summary: MySQL output plugin for ulogd +Group: Network + +%package pgsql +Summary: PostgreSQL output plugin for ulogd +Group: Network + +%package sqlite +Summary: SQLITE3 output plugin for ulogd +Group: Network + +%package pcap +Summary: PCAP output plugin for ulogd +Group: Network + + +%description +ulogd is an universal logging daemon for the ULOG target of netfilter, the +Linux 2.4 firewalling subsystem. ulogd is able to log packets in variuos +formats to different targets (text files, databases, etc..). It has an +easy-to-use plugin interface to add new protocols and new output targets. + +%description mysql +ulogd-mysql is a MySQL output plugin for ulogd. It enables logging of +firewall information into a MySQL database. + +%description pgsql +ulogd-mysql is a PostgreSQL output plugin for ulogd. It enables logging of +firewall information into a PostgreSQL database. + +%description sqlite3 +ulogd-sqlite3 is a SQLITE3 output plugin for ulogd. It enables logging of +firewall information into a SQLITE3 database. + +%description pcap +ulogd-pcap is a output plugin for ulogd that saves packet logs as PCAP file. +PCAP is a standard format that can be later analyzed by a lot of tools such as +tcpdump and ethereal. + +%prep +%setup + +%build +%configure --with-mysql=/usr/lib/mysql --with-pgsql=/usr/lib/postgresql --with-sqlite3 +make + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}/%{_sysconfdir} +mkdir -p %{buildroot}/%{_libdir}/ulogd +mkdir -p %{buildroot}/%{_sbindir}/sbin +mkdir -p %{buildroot}/%{_mandir}/man8 +make DESTDIR=%{buildroot} install + +mkdir -p %{buildroot}/%{_sysconfdir}/rc.d/init.d +install ulogd.init %{buildroot}/%{_sysconfdir}/rc.d/init.d/ulogd +install ulogd.8 %{buildroot}/%{_mandir}/man8/ulogd.8 + +%clean +rm -rf %{buildroot} + +%files +%defattr(0644,root,root,0755) +%attr(0755,root,root) %{_sbindir}/ulogd +%{_sysconfdir}/ulogd.conf +%{_sysconfdir}/rc.d/init.d/ulogd +%{_mandir}/man8/* +%dir %{_libdir}/ulogd +%{_libdir}/ulogd/ulogd_BASE.so +%{_libdir}/ulogd/ulogd_LOCAL.so +%{_libdir}/ulogd/ulogd_LOGEMU.so +%{_libdir}/ulogd/ulogd_OPRINT.so +%{_libdir}/ulogd/ulogd_PWSNIFF.so +%{_libdir}/ulogd/ulogd_SYSLOG.so +%doc COPYING AUTHORS README +%doc doc/ulogd.txt doc/ulogd.a4.ps doc/ulogd.html + +%files mysql +%defattr(0644,root,root,0755) +%{_libdir}/ulogd/ulogd_MYSQL.so + +%files pgsql +%defattr(0644,root,root,0755) +%{_libdir}/ulogd/ulogd_PGSQL.so + +%files sqlite3 +%defattr(0644,root,root,0755) +%{_libdir}/ulogd/ulogd_SQLITE3.so + +%files pcap +%defattr(0644,root,root,0755) +%{_libdir}/ulogd/ulogd_PCAP.so + +%changelog +* Wed Feb 16 2005 Harald Welte ++ ulogd-1.21-1gm +- updated to 1.21 release +- separate sqlite3 and pcap sub-pacakges + +* Sat Feb 12 2005 Harald Welte ++ ulogd-1.20-1gm +- updated to 1.20 release +- add ulogd.8 manpage + +* Sat Aug 25 2003 Harald Welte ++ ulogd-1.00-1gm +- updated to 1.01 release +- add ulogd.8 manpage + +* Wed Mar 05 2003 Harald Welte ++ ulogd-1.00-1gm +- updated to 1.00 release + +* Mon Sep 24 2001 Harald Welte ++ ulogd-0.97-1cl +- updatd to 0.97 release (to fix endless-one-packet-loop bug) + +* Sun Jun 17 2001 Harald Welte ++ ulogd-0.96-2cl +- updated to 0.96 final release +- use ulogd.init from within source tgz + +* Sun May 20 2001 Harald Welte ++ ulogd-0.96-1cl +- Initial conectiva package +- cleaned up SPEC file +- created mysql subpackage + +* Sun Nov 19 2000 Harald Welte +- Initial RPM package for ulogd-0.9. -- cgit v1.2.3