1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 thisapp = ulogd-%{version}
12 groups = Networking/Statistics
13 url = http://netfilter.org/projects/ulogd/index.html
15 summary = The userspace logging daemon for netfilter.
18 This package contains utilities for configuring the linux ethernet
19 bridge. The linux ethernet bridge can be used for connecting multiple
20 ethernet devices together. The connecting is fully transparent: hosts
21 connected to one ethernet device see hosts connected to the other
22 ethernet devices directly.
25 source_dl += http://ftp.netfilter.org/pub/ulogd/
26 sources = %{thisapp}.tar.bz2
32 libnetfilter_acct-devel
33 libnetfilter_conntrack-devel
34 libnetfilter_log-devel
39 # Set libdir to "/usr/lib" for every architecture to install the ulogd2 plugins
43 --libdir=%{prefix}/lib
46 mkdir -pv %{BUILDROOT}/etc
47 cp -vf %{DIR_SOURCE}/ulogd.conf %{BUILDROOT}/etc/ulogd.conf
49 mkdir -pv %{BUILDROOT}/var/log/ulogd
50 sqlite3 -echo %{BUILDROOT}/var/log/ulogd/ulogd.db < %{DIR_SOURCE}/sqlite3.table
61 systemctl daemon-reload >/dev/null 2>&1 || :
62 systemctl enable ulogd.service >/dev/null 2>&1 || :
66 systemctl --no-reload disable ulogd.service >/dev/null 2>&1 || :
67 systemctl stop ulogd.service >/dev/null 2>&1 || :
71 systemctl daemon-reload >/dev/null 2>&1 || :
75 systemctl daemon-reload >/dev/null 2>&1 || :
76 systemctl try-restart ulogd.service >/dev/null 2>&1 || :
80 package %{name}-debuginfo