diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2011-07-15 18:51:39 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-12-03 14:49:16 -0600 |
commit | 6b6688c7f490e9455d3ac6c3d30c493e8e210fbe (patch) | |
tree | 434eae625ec334fd33599d5c44a47684a5314a4b /testing/nebula | |
parent | 5a296661bb763e6e205137afc009a83bcb844156 (diff) | |
download | aports-6b6688c7f490e9455d3ac6c3d30c493e8e210fbe.tar.bz2 aports-6b6688c7f490e9455d3ac6c3d30c493e8e210fbe.tar.xz |
Initial APKBUILD for nebula
Package description:
Nebula is a network intrusion signature generator. It can help
securing a network by automatically deriving and installing
filter rules from attack traces. In a common setup, nebula
runs as a daemon and receives attacks from honeypots. Signatures
are currently published in Snort format.
The code was written to be fast. A signature is not of much value
if the generation process takes hours or days. With nebula, you
should get a first revision within a few seconds. As more attacks
of a kind are submitted, signatures get better and nebula publishes
updated revisions.
Diffstat (limited to 'testing/nebula')
-rw-r--r-- | testing/nebula/APKBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/testing/nebula/APKBUILD b/testing/nebula/APKBUILD new file mode 100644 index 0000000000..0d546574ee --- /dev/null +++ b/testing/nebula/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=nebula +pkgver=0.2.3 +pkgrel=0 +pkgdesc="An Intrusion Signature Generator" +url="http://nebula.carnivore.it/" +arch="all" +license="GPL2" +depends="" +depends_dev="" +makedepends="" +install="" +subpackages="$pkgname-client" +source="http://downloads.sourceforge.net/nebula/$pkgname-$pkgver.tar.gz" +_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 +} + +build() { + cd "$_builddir" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make AM_CFLAGS=-D_GNU_SOURCE || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +client() { + #cd "$_builddir" + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/"$pkgname"client "$subpkgdir"/usr/bin/ +} + +md5sums="06eabd66634e7969203465fb94900f18 nebula-0.2.3.tar.gz" |