]>
Commit | Line | Data |
---|---|---|
ab6e2138 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
ab6e2138 MT |
4 | ############################################################################### |
5 | ||
900ca389 | 6 | name = ulogd2 |
802ea3af | 7 | version = 2.0.0beta3 |
900ca389 MT |
8 | release = 3 |
9 | thisapp = ulogd-%{version} | |
ab6e2138 | 10 | |
802ea3af MT |
11 | groups = Networking/Statistics |
12 | url = http://netfilter.org/projects/ulogd/index.html | |
13 | license = GPLv2 | |
14 | summary = The userspace logging daemon for netfilter. | |
ab6e2138 | 15 | |
802ea3af MT |
16 | description |
17 | This package contains utilities for configuring the linux ethernet | |
18 | bridge. The linux ethernet bridge can be used for connecting multiple | |
19 | ethernet devices together. The connecting is fully transparent: hosts | |
20 | connected to one ethernet device see hosts connected to the other | |
ab6e2138 | 21 | ethernet devices directly. |
802ea3af MT |
22 | end |
23 | ||
24 | source_dl += http://ftp.netfilter.org/pub/ulogd/ | |
25 | sources = %{thisapp}.tar.bz2 | |
26 | ||
27 | build | |
28 | requires | |
29 | libnfnetlink-devel | |
30 | libnetfilter_conntrack-devel | |
31 | libnetfilter_log-devel | |
32 | libpcap-devel | |
802ea3af MT |
33 | sqlite-devel |
34 | end | |
35 | ||
36 | configure_options+= \ | |
37 | --sysconfdir=/etc | |
38 | ||
39 | install_cmds | |
40 | mkdir -pv %{BUILDROOT}/etc | |
41 | cp -vf %{DIR_SOURCE}/ulogd.conf %{BUILDROOT}/etc/ulogd.conf | |
42 | ||
43 | mkdir -pv %{BUILDROOT}/var/log/ulogd | |
44 | sqlite3 -echo %{BUILDROOT}/var/log/ulogd/ulogd.db < %{DIR_SOURCE}/sqlite3.table | |
45 | end | |
46 | end | |
47 | ||
48 | packages | |
49 | package %{name} | |
1f9bc2f0 MT |
50 | |
51 | package %{name}-debuginfo | |
52 | template DEBUGINFO | |
53 | end | |
802ea3af | 54 | end |