[umip] Have a shot at umip-1.0

git-svn-id: svn+ssh://scm.narf.ssji.net/svn/archlinux-packages@358 df209809-8e4a-0410-9a64-c169741eb0fc
This commit is contained in:
shtrom 2014-02-18 03:38:32 +00:00
commit 3bfcdfaa72
3 changed files with 85 additions and 0 deletions

26
.SRCINFO Normal file
View file

@ -0,0 +1,26 @@
pkgbase = umip
pkgdesc = Open source implementation of Mobile IPv6 and NEMO Basic Support for Linux
pkgver = 1.0
pkgrel = 1
url = http://umip.org/
arch = i686
arch = x86_64
license = GPL
makedepends = autoconf
makedepends = automake bison
makedepends = flex
makedepends = indent
depends = openssl
depends = ipsec-tools
depends = radvd
provides = mip6d
conflicts = mip6d
replaces = mip6d
backup = etc/mip6d/mip6d.conf
source = git://git.umip.org/umip.git#tag=v1.0
source = umip-mip6d.service
md5sums = SKIP
md5sums = b53816cb794648e00cf5970a95e89990
pkgname = umip

43
PKGBUILD Normal file
View file

@ -0,0 +1,43 @@
# Maintainer: Olivier Mehani <shtrom-aur@ssji.net>
pkgname=umip
pkgver=1.0
pkgrel=1
pkgdesc="Open source implementation of Mobile IPv6 and NEMO Basic Support for Linux"
arch=('i686' 'x86_64')
url="http://umip.org/"
license=('GPL')
depends=('openssl' 'ipsec-tools' 'radvd')
makedepends=('autoconf' 'automake bison' 'flex' 'indent')
provides=('mip6d')
conflicts=('mip6d')
replaces=('mip6d')
backup=(etc/mip6d/mip6d.conf)
install=
source=(git://git.umip.org/umip.git#tag=v1.0
umip-mip6d.service)
noextract=()
prepare() {
cd "$srcdir/$pkgname"
autoreconf -i
}
build() {
cd "$srcdir/$pkgname"
./configure --prefix=/usr --enable-vt
make
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" install
mkdir -p $pkgdir/etc/mip6d
cp $srcdir/$pkgname/extras/*.conf $pkgdir/etc/mip6d
cp $pkgdir/etc/mip6d/example-cn.conf $pkgdir/etc/mip6d/mip6d.conf
mkdir -p $pkgdir/usr/lib/systemd/system/
cp $srcdir/umip-mip6d.service $pkgdir/usr/lib/systemd/system/
}
md5sums=('SKIP'
'b53816cb794648e00cf5970a95e89990')

16
umip-mip6d.service Normal file
View file

@ -0,0 +1,16 @@
# Do not make modifications to this file, as they may not survive update.
# Instead, copy it to /etc/systemd/system/, and modify it there. That modified
# copy will override the parameters here.
#
# See systemd(1) for details.
#
[Unit]
Description=Mobile IPv6 and NEMO Basic Support daemon
After=network.target
[Service]
Type=simple
ExecStart=/usr/sbin/mip6d -c /etc/mip6d/mip6d.conf
[Install]
WantedBy=multi-user.target