diff options
author | Michiel | 2015-06-27 17:21:57 +0100 |
---|---|---|
committer | Michiel | 2015-06-27 17:21:57 +0100 |
commit | f862bf82c5d9746ddb7913c80288aaab957c3f3d (patch) | |
tree | a062b8f51fc615d4ecdc05ae0ed033c801374162 | |
download | aur-f862bf82c5d9746ddb7913c80288aaab957c3f3d.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | PKGBUILD | 38 | ||||
-rw-r--r-- | lispd.service | 9 | ||||
-rw-r--r-- | lispmob.install | 4 |
4 files changed, 77 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c688ff4eef37 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +pkgbase = lispmob + pkgdesc = Locator/ID Separation Protocol (LISP) and LISP Mobile Node implementation + pkgver = 0.4.1 + pkgrel = 1 + url = http://lispmob.org + install = lispmob.install + arch = x86_64 + arch = i686 + arch = armv6h + license = GPL2 + makedepends = git + makedepends = gengetopt + depends = openssl + depends = confuse + depends = libcap + provides = lispd-systemd-unit + backup = etc/lispd.conf + source = lispmob::git://github.com/LISPmob/lispmob.git#tag=0.4.1 + source = lispd.service + md5sums = SKIP + md5sums = cbb2f15b491945face7a7052c0e92d31 + sha512sums = SKIP + sha512sums = 0c22467f626e2146fafe0901e3570e3b7780901a02183cda3403de5a9ab236dde8e5f96f5f194a2bc683cfbb78325a14e7408aa7a710698d9ace61178454ffec + +pkgname = lispmob + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d92fe06e8536 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Michiel <code[at]m01[dot]eu> +pkgname=lispmob +pkgver=0.4.1 +pkgrel=1 +pkgdesc="Locator/ID Separation Protocol (LISP) and LISP Mobile Node implementation" +url="http://lispmob.org" +arch=('x86_64' 'i686' 'armv6h') +license=('GPL2') +depends=('openssl' 'confuse' 'libcap') +provides=('lispd-systemd-unit') +optdepends=() +makedepends=('git' 'gengetopt') +conflicts=() +replaces=() +backup=("etc/lispd.conf") +install='lispmob.install' +source=("$pkgname"::"git://github.com/LISPmob/lispmob.git#tag=${pkgver}" + "lispd.service") +md5sums=('SKIP' + 'cbb2f15b491945face7a7052c0e92d31') +sha512sums=('SKIP' + '0c22467f626e2146fafe0901e3570e3b7780901a02183cda3403de5a9ab236dde8e5f96f5f194a2bc683cfbb78325a14e7408aa7a710698d9ace61178454ffec') + +build() { + cd "${srcdir}/${pkgname}" + make +} + +package() { + cd "${srcdir}/${pkgname}" + make PREFIX="/usr/bin/" DESTDIR="${pkgdir}" install + install -Dm644 "${srcdir}/${pkgname}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 "${srcdir}/lispd.service" "$pkgdir/etc/systemd/system/lispd.service" + install -Dm644 "${srcdir}/${pkgname}/lispd/lispd.conf.example" "$pkgdir/etc/lispd.conf" +} + +# vim:set ts=2 sw=2 et: + diff --git a/lispd.service b/lispd.service new file mode 100644 index 000000000000..dc783dc90ce0 --- /dev/null +++ b/lispd.service @@ -0,0 +1,9 @@ +[Unit] +Description=LISPmob service + +[Service] +ExecStart=/usr/bin/lispd -f /etc/lispd.conf + +[Install] +WantedBy=multi-user.target + diff --git a/lispmob.install b/lispmob.install new file mode 100644 index 000000000000..f5c9b743c498 --- /dev/null +++ b/lispmob.install @@ -0,0 +1,4 @@ + +post_install() { + echo "Please edit /etc/lispd.conf to reflect your LISP network configuration." +} |