summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Kogler2016-11-10 18:22:30 +0100
committerSamuel Kogler2016-11-10 18:24:02 +0100
commitc0744b6e61f355e61958ec9c80f6633cc9d680e3 (patch)
treef5bf7d1505b712ee6bbe2b89c6a6425bbbacf864
downloadaur-c0744b6e61f355e61958ec9c80f6633cc9d680e3.tar.gz
Add initial pkg
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD35
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f05553b5079
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = barnyard2
+ pkgdesc = A dedicated spooler for Snort's unified2 binary output format.
+ pkgver = 1.13
+ pkgrel = 1
+ url = http://www.github.com/firnsy/barnyard2
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = libpcap
+ depends = libmariadbclient
+ source = https://github.com/firnsy/barnyard2/archive/v2-1.13.tar.gz
+ md5sums = 212066058364f18a4806720b271ffd87
+
+pkgname = barnyard2
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..72e8ffc0db8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f60ed7f0699
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: skogler
+
+pkgname=barnyard2
+pkgver=1.13
+pkgrel=1
+pkgdesc="A dedicated spooler for Snort's unified2 binary output format."
+arch=('i686' 'x86_64')
+url="http://www.github.com/firnsy/barnyard2"
+license=('GPL')
+depends=('libpcap' 'libmariadbclient')
+options=()
+source=("https://github.com/firnsy/$pkgname/archive/v2-$pkgver.tar.gz")
+md5sums=('212066058364f18a4806720b271ffd87')
+
+prepare() {
+ cd "$pkgname-2-$pkgver"
+}
+
+build() {
+ cd "$pkgname-2-$pkgver"
+ ./autogen.sh
+ ./configure --prefix=/usr --sysconfdir=/etc/ --with-mysql --with-mysql- libraries=/usr/lib/
+ make
+}
+
+check() {
+ cd "$pkgname-2-$pkgver"
+ make -k check
+}
+
+package() {
+ cd "$pkgname-2-$pkgver"
+ make DESTDIR="$pkgdir/" install
+ chmod 644 "$pkgdir/etc/barnyard2.conf"
+}