summaryrefslogtreecommitdiff
path: root/community/libnids
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/libnids
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/libnids')
-rw-r--r--community/libnids/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/libnids/PKGBUILD b/community/libnids/PKGBUILD
new file mode 100644
index 000000000..50877bae2
--- /dev/null
+++ b/community/libnids/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 67519 2012-03-12 22:18:06Z lcarlier $
+# Maintainer:
+# Contributor: Essien Ita Essien <essiene@datavibe.net>
+# Contributor: damir <damir@archlinux.org>
+
+pkgname=libnids
+pkgver=1.24
+pkgrel=2
+pkgdesc="An implementation of an E-component of Network Intrusion Detection System."
+arch=('i686' 'x86_64')
+url="http://libnids.sourceforge.net/"
+license=('GPL')
+depends=('libnet' 'libpcap' 'glib2')
+makedepends=('pkgconfig')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('72d37c79c85615ffe158aa524d649610')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ ./configure --prefix=/usr --man=/usr/share/man --enable-shared
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+
+ make install_prefix=$pkgdir install
+ ln -s libnids.so.1.24 $pkgdir/usr/lib/libnids.so.1
+}