aports/testing/nuzzle/APKBUILD
Vladimir Vitkov 00fc41556b testing/nuzzle: new aport
https://nuzzle.hackerfactor.com/
Lightweight, fast network attack detection IDS and IPS
2023-08-03 15:14:33 +00:00

37 lines
1.2 KiB
Plaintext

# Contributor:
# Maintainer: Vladimir Vitkov <vvitkov@gmail.com>
pkgname=nuzzle
pkgver=1.4
pkgrel=0
# as there is no official versioning code comes from git hash
# use the hash later on for shortening of commands
_gitcommit="c0e126f2b61988797c1076a911f92a5d14cbbc47"
pkgdesc="Lightweight, fast network attack detection IDS and IPS"
url="https://nuzzle.hackerfactor.com/"
arch="all"
license="custom"
makedepends="g++"
subpackages="$pkgname-doc"
options="toolchain !check" # No test suite provided.
# Single c file.
# Author recommends using g++ for build
source="$pkgname-$pkgver.zip::https://github.com/hackerfactor/nuzzle/archive/$_gitcommit.zip"
prepare() {
mkdir -p "$builddir"
mv "$srcdir"/$pkgname-$_gitcommit/* "$builddir"/
default_prepare
}
build() {
g++ -Wall -o nuzzle nuzzle.c
}
package() {
install -m755 -D "$builddir"/nuzzle "$pkgdir"/usr/sbin/nuzzle
install -m644 -D "$builddir"/LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
install -m644 -D "$builddir"/README.md "$pkgdir"/usr/share/doc/$pkgname/README.md
}
sha512sums="
1ce545fb5ce2bf167dfb56cdcdfb4d3920890b90872f3e0c5a6a01df8f6f4949ee54b6a0dec7a9865536287ae6d723b1baa270f0d9941e10e5175eaf6ad88d4f nuzzle-1.4.zip
"