Commit 492d3783 authored by Leonardo Arena's avatar Leonardo Arena

testing/ulogd: logrotate support added

(cherry picked from commit 629d95e6)
parent 10aa5d5d
......@@ -6,8 +6,12 @@ _pkgver=2.0.0beta3
pkgrel=1
=======
pkgver=1.24
<<<<<<< HEAD
pkgrel=0
>>>>>>> 52acbbb... testing/ulogd: downgraded to stable v1.24
=======
pkgrel=1
>>>>>>> 629d95e... testing/ulogd: logrotate support added
pkgdesc="A userspace logging daemon for netfilter/iptables related logging"
url="http://netfilter.org/projects/ulogd/index.html"
license="GPL"
......@@ -17,7 +21,8 @@ libnetfilter_conntrack-dev pkgconfig openssl-dev"
subpackages="$pkgname-sqlite $pkgname-pgsql $pkgname-doc"
source="http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2
ulogd.initd
ulogd.confd"
ulogd.confd
ulogd.logrotate"
_builddir="$srcdir/$pkgname-$pkgver"
......@@ -38,6 +43,7 @@ package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
install -Dm644 ulogd.conf "$pkgdir"/etc/ulogd.conf
install -Dm644 ulogd.logrotate "$pkgdir"/etc/logrotate.d/ulogd
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
mkdir -p $pkgdir/usr/share/doc/$pkgname
......@@ -56,4 +62,5 @@ pgsql() {
md5sums="05b4ed2926b9a22aaeaf642917bbf8ff ulogd-1.24.tar.bz2
bd2f808297a9c67e0dc51aa57a1805e0 ulogd.initd
b9b2fa217ee02211debee5a5dffdcda7 ulogd.confd"
b9b2fa217ee02211debee5a5dffdcda7 ulogd.confd
836332074f6cbc19d2d0553e2076dab7 ulogd.logrotate"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment