aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/libnids/APKBUILD31
1 files changed, 14 insertions, 17 deletions
diff --git a/community/libnids/APKBUILD b/community/libnids/APKBUILD
index be49309074..869b40ed1f 100644
--- a/community/libnids/APKBUILD
+++ b/community/libnids/APKBUILD
@@ -1,36 +1,33 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libnids
-pkgver=1.24
-pkgrel=2
+pkgver=1.25
+pkgrel=0
pkgdesc="An implementation of an E-component of Network Intrusion Detection System."
url="http://libnids.sourceforge.net"
arch="all"
-license="GPL"
-depends=""
-depends_dev="libnet-dev libpcap-dev glib-dev"
-makedepends="$depends_dev"
-install=""
+license="GPL-2.0-only"
+options="!check" #no test/check provided
+makedepends="libnet-dev libpcap-dev glib-dev"
subpackages="$pkgname-dev $pkgname-doc"
-source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/MITRECND/libnids/archive/$pkgver.tar.gz"
-builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ default_prepare
+ update_config_sub
+}
build() {
- cd "$builddir"
- update_config_sub || return 1
./configure \
--prefix=/usr \
--man=/usr/share/man \
- --enable-shared \
- || return 1
- make || return 1
+ --enable-shared
+ make
}
package() {
- cd "$builddir"
make install_prefix=$pkgdir install
- ln -s libnids.so.1.24 $pkgdir/usr/lib/libnids.so.1
+ ln -s libnids.so.1.25 $pkgdir/usr/lib/libnids.so.1
}
-sha512sums="2046900023e853d7dbd7061c9f47d8a8ba26320991ca34198249019c1b9a6f75010574f9f022d02976272a384cf769394c4cc3ae536fc6164716cadc4770bb53 libnids-1.24.tar.gz"
+sha512sums="8f89b0e26759d54b139c1a77a5ec45fe5437d88cc4db718d4f77c2fa741aec7bd82e1dcfc8402d47acbc037c1e32b35f709bce316e47a15b5d20d8beb16fe830 libnids-1.25.tar.gz"