[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ulogd
Subject:    [ulogd] ulogd.spec
From:       Magnus Boden <sarek () ozaba ! cx>
Date:       2003-04-24 19:28:37
[Download RAW message or body]

Hello ulogd users/developers..

I have done some changes to ulogd.spec.

1. There doesn't seem to be any libpcap-devel package so I changed the 
buildrequirement to libpcap (the libpcap package contains the libpcap.so 
file and the header files). I checked the redhat ftp site versions 6.2, 
7.3, 8.0 and 9 and there isn't any libpcap-devel so I guess that was a typo.

2. I created a new subpackage for the pcap plugin if people doesn't have 
libpcap installed.

3. ulogd.init should be executable

I didn't get the release numbering so I simply set release to 2.

I will upload my packages to ftp.gnumonks.org/incoming if others would 
like them.

Best Regards
Magnus

--- temp/ulogd-1.00/ulogd.spec  2003-03-05 23:58:25.000000000 +0100
+++ ulogd.spec  2003-04-24 21:01:35.000000000 +0200
@@ -1,13 +1,13 @@
  Summary: ulogd - The userspace logging daemon for netfilter
  Name: ulogd
  Version: 1.00
-Release: 1gm
+Release: 2
  License: GPL
  Group: Network
  Source: http://ftp.netfilter.org/pub/ulogd/%{name}-%{version}.tar.gz
  BuildRoot: %{_tmppath}/%{name}-%{version}-root
  Packager: Harald Welte <laforge@gnumonks.org>
-BuildRequires: MySQL-devel postgresql-devel libpcap-devel
+BuildRequires: mysql-devel postgresql-devel libpcap
  #BuildRequires: mysql-devel

  %package mysql
@@ -18,6 +18,10 @@
  Summary: PostgreSQL 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
@@ -32,6 +36,11 @@
  ulogd-mysql is a PostgreSQL output plugin for ulogd. It enables logging of
  firewall information into a PostgreSQL database.

+%description pcap
+ulogd-pcap is a libpcap output plugin for ulogd. It enables logging of
+firewall information into a libpcap file which can be viewed with
+tcpdump or ethereal.
+
  %prep
  %setup

@@ -55,6 +64,7 @@
  %files
  %defattr(0644,root,root,0755)
  %attr(0755,root,root) %{_sbindir}/ulogd
+%attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/ulogd
  %{_sysconfdir}/ulogd.conf
  %{_sysconfdir}/rc.d/init.d/ulogd
  %dir %{_libdir}/ulogd
@@ -63,7 +73,6 @@
  %{_libdir}/ulogd/ulogd_LOGEMU.so
  %{_libdir}/ulogd/ulogd_OPRINT.so
  %{_libdir}/ulogd/ulogd_PWSNIFF.so
-%{_libdir}/ulogd/ulogd_PCAP.so
  %doc COPYING AUTHORS README
  %doc doc/ulogd.txt doc/ulogd.a4.ps doc/ulogd.html

@@ -75,7 +84,17 @@
  %defattr(0644,root,root,0755)
  %{_libdir}/ulogd/ulogd_PGSQL.so

+%files pcap
+%defattr(0644,root,root,0755)
+%{_libdir}/ulogd/ulogd_PCAP.so
+
  %changelog
+* Thu Apr 24 2003 Magnus Boden <sarek@ozaba.cx>
++ ulogd-1.00-2
+- create a new subpackage for the pcap output plugin.
+- buildfix since there doesn't seem to be any libpcap-devel
+- package for redhat.
+
  * Wed Mar 05 2003 Harald Welte <laforge@gnumonks.org>
  + ulogd-1.00-1gm
  - updated to 1.00 release


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic