diff options
author | Brian Bidulock | 2015-06-10 15:24:32 -0600 |
---|---|---|
committer | Brian Bidulock | 2015-06-10 15:24:32 -0600 |
commit | 6bfcaf09fb2c4e41fe8ed14b9fe0d3bf62eab7b6 (patch) | |
tree | e5e9249dd503b858f0be0bb54b5ab215ef7e8fed | |
download | aur-6bfcaf09fb2c4e41fe8ed14b9fe0d3bf62eab7b6.tar.gz |
initial version
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 25 | ||||
-rw-r--r-- | pimd.service | 15 |
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c5c1cb519b2d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = pimd + pkgdesc = pimd is an implementation of the DVMRP multicast routing protocol. It turns a UNIX workstation into a DVMRP multicast router with tunnel support, in order to cross non-multicast-aware routers. + pkgver = 2.1.8 + pkgrel = 5 + url = http://freshmeat.net/projects/pimd + arch = i686 + arch = x86_64 + license = BSD + backup = etc/pimd.conf + source = http://cloud.github.com/downloads/troglobit/pimd/pimd-2.1.8.tar.bz2 + source = pimd.service + md5sums = a12448bc7c9bfcebf51a13ebf1ffa962 + md5sums = 9e221e6c80905fb48d87282b32352e7c + +pkgname = pimd + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6f0477b786a1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Brian Bidulock <bidulock@openss7.org> +pkgname=pimd +pkgver=2.1.8 +pkgrel=5 +pkgdesc="pimd is an implementation of the DVMRP multicast routing protocol. It turns a UNIX workstation into a DVMRP multicast router with tunnel support, in order to cross non-multicast-aware routers." +arch=('i686' 'x86_64') +url="http://freshmeat.net/projects/pimd" +license=('BSD') +backup=('etc/pimd.conf') +source=("http://cloud.github.com/downloads/troglobit/pimd/pimd-${pkgver}.tar.bz2" + "pimd.service") +md5sums=('a12448bc7c9bfcebf51a13ebf1ffa962' + '9e221e6c80905fb48d87282b32352e7c') + +build() { + cd "$srcdir/${pkgname}-${pkgver}/" + sed -i 's|sbin|bin|g' Makefile + + make +} +package() { + cd "$srcdir/${pkgname}-${pkgver}/" + make prefix=/usr DESTDIR=$pkgdir install + install -Dm644 $srcdir/pimd.service "$pkgdir/usr/lib/systemd/system/pimd.service" +} diff --git a/pimd.service b/pimd.service new file mode 100644 index 000000000000..a686e605f78d --- /dev/null +++ b/pimd.service @@ -0,0 +1,15 @@ +[Unit] +Description=PIM Daemon +After=network.target +ConditionPathExists=/etc/pimd.conf +Conflicts=mrouted.service smcroute.service + +[Service] +Type=forking +PIDFile=/var/run/pimd.pid +ExecStart=/usr/bin/pimd +ExecReload=/bin/kill -HUP $MAINPID +Restart=on-abort + +[Install] +WantedBy=multi-user.target |