summaryrefslogtreecommitdiff
path: root/community/ulogd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-25 00:01:50 +0000
committerroot <root@rshg054.dnsready.net>2012-07-25 00:01:50 +0000
commit3083719ddb24bbb452e7ddba34bec067ea249056 (patch)
treea58a0e0514c39ae78d2647423b3d54a9ab411bbb /community/ulogd
parent7edfd82786e7d1efd8d39d2e5bbcaddeb2d665e1 (diff)
Wed Jul 25 00:01:50 UTC 2012
Diffstat (limited to 'community/ulogd')
-rw-r--r--community/ulogd/PKGBUILD16
1 files changed, 12 insertions, 4 deletions
diff --git a/community/ulogd/PKGBUILD b/community/ulogd/PKGBUILD
index 08863143a..26a00d382 100644
--- a/community/ulogd/PKGBUILD
+++ b/community/ulogd/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 73943 2012-07-17 09:54:26Z spupykin $
+# $Id: PKGBUILD 74257 2012-07-23 07:12:03Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
# Contributor: Dale Blount <dale@archlinux.org>
@@ -6,14 +6,15 @@
pkgname=ulogd
pkgver=2.0.0
-pkgrel=3
+pkgrel=4
pkgdesc='Userspace Packet Logging for netfilter'
arch=('i686' 'x86_64')
url='http://www.netfilter.org/projects/ulogd/index.html'
license=('GPL2')
depends=('libmnl')
makedepends=('libmysqlclient' 'postgresql-libs' 'sqlite' 'libpcap' 'libdbi'
- 'libnetfilter_acct' 'libnetfilter_log' 'libnetfilter_conntrack')
+ 'libnetfilter_acct' 'libnetfilter_log' 'libnetfilter_conntrack'
+ 'linuxdoc-tools' 'groff' 'texlive-core')
optdepends=('postgresql-libs'
'sqlite'
'libpcap'
@@ -34,13 +35,20 @@ build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --with-mysql --with-pgsql --with-dbi
make
+ (cd doc && make)
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
- install -Dm0644 ulogd.conf $pkgdir/usr/share/ulogd/ulogd.conf.sample
+
+ install -dm0755 "$pkgdir/usr/share/doc/ulogd"
+ install -Dm0644 ulogd.conf $pkgdir/usr/share/doc/ulogd/ulogd.conf.sample
+ install -Dm0644 doc/ulogd.{dvi,html,ps,sgml,txt} "$pkgdir/usr/share/doc/ulogd"
+
+ install -dm0755 "$pkgdir/usr/share/ulogd"
install -m644 doc/*.{table,sql} "$pkgdir/usr/share/ulogd"
+
install -D -m644 "$srcdir/logrotate" "$pkgdir/etc/logrotate.d/ulogd"
install -D -m755 "$srcdir/rc" "$pkgdir/etc/rc.d/ulogd"
}