summaryrefslogtreecommitdiff
path: root/community/ulogd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ulogd/PKGBUILD')
-rw-r--r--community/ulogd/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/community/ulogd/PKGBUILD b/community/ulogd/PKGBUILD
index c4ea91a7c..b002d8e49 100644
--- a/community/ulogd/PKGBUILD
+++ b/community/ulogd/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 55184 2011-09-05 09:03:02Z spupykin $
+# $Id: PKGBUILD 62776 2012-01-26 14:46:13Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
# Contributor: Dale Blount <dale@archlinux.org>
@@ -6,7 +6,7 @@
pkgname=ulogd
pkgver=1.24
-pkgrel=7
+pkgrel=8
pkgdesc='Userspace Packet Logging for netfilter'
arch=('i686' 'x86_64')
url='http://www.netfilter.org/projects/ulogd/index.html'
@@ -19,14 +19,17 @@ optdepends=('postgresql-libs'
backup=('etc/ulogd.conf')
source=("ftp://ftp.netfilter.org/pub/$pkgname/$pkgname-$pkgver.tar.bz2"
'rc'
- 'logrotate')
+ 'logrotate'
+ 'mac-addr.patch')
md5sums=('05b4ed2926b9a22aaeaf642917bbf8ff'
'c42230c1cabf5dd9b80bf9a0fd87ca7e'
- 'fe40b3073b7474a77e0b8b0bfd19ab63')
+ 'fe40b3073b7474a77e0b8b0bfd19ab63'
+ 'ca41a10a9f230614cd15e2bb037e057d')
build() {
cd $pkgname-$pkgver
export MAKEFLAGS="-j1"
+ patch -p0 extensions/ulogd_BASE.c <$srcdir/mac-addr.patch
./configure --prefix=/usr --sysconfdir=/etc --with-mysql --with-pgsql --with-sqlite3
make || true
(cd mysql && ld -shared -L/usr/lib -L/usr/lib -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -o ulogd_MYSQL.so ulogd_MYSQL_sh.o -lc)