summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2016-12-07 02:05:01 -0700
committerBrian Bidulock2016-12-07 02:05:01 -0700
commitdf448a7e342e8c4ee7b098d3384195ff37078048 (patch)
treee1f09556f92142492178f6ebd301527fd1d87edd
downloadaur-df448a7e342e8c4ee7b098d3384195ff37078048.tar.gz
initial version
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD38
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cec8f3e7811
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = kronosnet
+ pkgdesc = VPNs on steroids
+ pkgver = 0.0.r1101.g3cea157
+ pkgrel = 1
+ url = http://www.kronosnet.org/
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ depends = nss
+ source = kronosnet-0.0.r1101.g3cea157.tar.gz::https://github.com/fabbione/kronosnet/archive/3cea1579c6c93553921548358be04edf8a7ba5b4.tar.gz
+ md5sums = d148b869f2ada482ccd82961310f3c40
+
+pkgname = kronosnet
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9457a419e4e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Brian Bidulock <bidulock@openss7.org>
+
+pkgname=kronosnet
+pkgver=0.0.r1101.g3cea157
+pkgrel=1
+pkgdesc="VPNs on steroids"
+arch=('i686' 'x86_64')
+url="http://www.kronosnet.org/"
+license=('GPL2')
+depends=('nss')
+commit='3cea1579c6c93553921548358be04edf8a7ba5b4'
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/fabbione/kronosnet/archive/${commit}.tar.gz")
+md5sums=('d148b869f2ada482ccd82961310f3c40')
+
+prepare() {
+ cd ${pkgname}-${commit}
+ echo ${pkgver}|sed 's,\.r,.,;s,\.g,-,;s,...$,,' >.tarball-version
+ sed -e 's,rx_thread = NULL;,rx_thread = 0;,' -i libknet/tests/knet_bench.c
+ sed -e 's,%zu,%ld,g' -i libknet/tests/api_knet_link_get_ping_timers.c
+ ./autogen.sh
+}
+
+build() {
+ cd ${pkgname}-${commit}
+ ./configure --libdir=/usr/lib \
+ --sbindir=/usr/bin \
+ --enable-publicandocs \
+ --with-systemddir=/usr/lib/systemd/system
+ make V=0
+}
+
+package() {
+ cd ${pkgname}-${commit}
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: set sw=2 et:
+