diff options
author | Karim Kanso <kaz.kanso@gmail.com> | 2019-05-22 10:23:08 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-05-27 18:36:21 +0000 |
commit | 3f8f4c032a963a74a900d174edf79a15eb93c235 (patch) | |
tree | 776e4a44fe464f56156c107dc9358202a2930288 /main/daq | |
parent | 90384bb9bd1fe8ae54646ad8286ea37a9500d629 (diff) | |
download | aports-3f8f4c032a963a74a900d174edf79a15eb93c235.tar.bz2 aports-3f8f4c032a963a74a900d174edf79a15eb93c235.tar.xz |
main/daq: split static and sfbpf libs
Diffstat (limited to 'main/daq')
-rw-r--r-- | main/daq/APKBUILD | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/main/daq/APKBUILD b/main/daq/APKBUILD index 4d7d2f19fa..6a881c182b 100644 --- a/main/daq/APKBUILD +++ b/main/daq/APKBUILD @@ -1,22 +1,18 @@ -# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Contributor: Karim Kanso <kaz.kanso@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=daq pkgver=2.0.6 -pkgrel=2 +pkgrel=3 pkgdesc="Data Acquisition library - packet I/O library" url="https://www.snort.org/" arch="all" -license="GPL-2.0" -depends= +license="GPL-2.0-only" makedepends="libpcap-dev flex bison" -install="" -subpackages="$pkgname-dev" +subpackages="$pkgname-static $pkgname-sfbpf $pkgname-dev" source="https://www.snort.org/downloads/snort/daq-$pkgver.tar.gz fix-includes.patch " -builddir="$srcdir/$pkgname-$pkgver" - build() { cd "$builddir" ./configure \ @@ -42,5 +38,11 @@ package() { make DESTDIR="$pkgdir" install } +sfbpf() { + pkgdesc="snort's berkley packet filter shared lib" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libsfbpf.so* "$subpkgdir"/usr/lib/ +} + sha512sums="61dd5408c587e57999445b9549ac539ffc5bb16ddc179601de1065fc5e251c1893536d8aa2251096e34b54093529d3578e7b5d97e3514cb2bbf4de113639b08c daq-2.0.6.tar.gz ea769608e4b6ebfd186a5e637a1dbf16f300c5c40501655b891fdc0095879f65927d90872d4953a4a4e32ccc40306b19a1a1e7ae4dd8b3f7572db97aea48390e fix-includes.patch" |