aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-06-01 13:34:33 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2014-06-01 13:34:33 +0200
commitdcac93aaed2765f8e02f914f864d1fbc24c1e713 (patch)
treeeef3ef218fd63dca52f7265df66e2b5df50c516c /unmaintained
parent1c5668c7003c0c805746ff9f2e0091918f785b77 (diff)
downloadaports-dcac93aaed2765f8e02f914f864d1fbc24c1e713.tar.bz2
aports-dcac93aaed2765f8e02f914f864d1fbc24c1e713.tar.xz
testing/nebula: move to unmaintained
Diffstat (limited to 'unmaintained')
-rw-r--r--unmaintained/nebula/APKBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/unmaintained/nebula/APKBUILD b/unmaintained/nebula/APKBUILD
new file mode 100644
index 0000000000..4dd3e5c228
--- /dev/null
+++ b/unmaintained/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="zlib-dev"
+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"