aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/ulogd/APKBUILD26
1 files changed, 8 insertions, 18 deletions
diff --git a/main/ulogd/APKBUILD b/main/ulogd/APKBUILD
index def20616df..6527492c41 100644
--- a/main/ulogd/APKBUILD
+++ b/main/ulogd/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=ulogd
pkgver=2.0.5
-pkgrel=7
+pkgrel=8
pkgdesc="A userspace logging daemon for netfilter/iptables related logging"
url="http://netfilter.org/projects/ulogd/index.html"
arch="all"
@@ -10,7 +10,7 @@ license="GPL-2.0"
depends=""
makedepends="libmnl-dev libpcap-dev libnetfilter_acct-dev bsd-compat-headers
libnfnetlink-dev libnetfilter_conntrack-dev libnetfilter_log-dev
- pkgconfig mariadb-connector-c-dev libressl-dev postgresql-dev zlib-dev linux-headers
+ pkgconfig mariadb-connector-c-dev openssl-dev postgresql-dev zlib-dev linux-headers
autoconf automake libtool"
subpackages="$pkgname-mysql $pkgname-pgsql $pkgname-doc"
source="https://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2
@@ -20,19 +20,10 @@ source="https://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.b
ulogd.confd
"
-_builddir="$srcdir/$pkgname-$pkgver"
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
export CFLAGS="$CFLAGS -D_GNU_SOURCE"
autoreconf -vif
./configure \
@@ -43,14 +34,13 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--with-pgsql \
- --with-mysql \
- || return 1
- make || return 1
+ --with-mysql
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ 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