summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmish2017-06-03 11:47:44 +0530
committerAmish2017-06-03 11:47:44 +0530
commitdd9c497fa96a243bd560608fa6b3049025668302 (patch)
tree64f37e76235e527e7da197e7cc9021a487d004a1
downloadaur-dd9c497fa96a243bd560608fa6b3049025668302.tar.gz
First commit
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD28
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6354225b9ba
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = libdaq-nfqueue
+ pkgdesc = Data Acquisition library for packet I/O.
+ pkgver = 2.0.6
+ pkgrel = 1
+ url = http://www.snort.org/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = ca-certificates
+ depends = libpcap
+ depends = libnetfilter_queue
+ provides = libdaq
+ conflicts = libdaq
+ source = http://www.snort.org/downloads/snort/daq-2.0.6.tar.gz
+ md5sums = 2cd6da422a72c129c685fc4bb848c24c
+
+pkgname = libdaq-nfqueue
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..f8b6616f8b4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+src
+pkg
+*x86_64.pkg.tar.xz
+daq-*.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3f467784ca7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Amish <contact at via dot aur>
+# Contributor: Lukas Fleischer <lfleischer@archlinux.org>
+
+pkgname=libdaq-nfqueue
+pkgver=2.0.6
+pkgrel=1
+pkgdesc='Data Acquisition library for packet I/O.'
+arch=('i686' 'x86_64')
+url='http://www.snort.org/'
+license=('GPL')
+depends=('libpcap' 'libnetfilter_queue')
+makedepends=('ca-certificates')
+source=(http://www.snort.org/downloads/snort/daq-${pkgver}.tar.gz)
+md5sums=('2cd6da422a72c129c685fc4bb848c24c')
+provides=('libdaq')
+conflicts=('libdaq')
+
+build() {
+ cd "${srcdir}/daq-${pkgver}"
+ ./configure --prefix=/usr
+ make -j1
+}
+
+package() {
+ cd "${srcdir}/daq-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}