aboutsummaryrefslogtreecommitdiffstats
path: root/main/rtapd/APKBUILD
diff options
context:
space:
mode:
authorJeff Bilyk <jbilyk@gmail.com>2013-05-30 11:16:56 -0400
committerJeff Bilyk <jbilyk@gmail.com>2013-05-30 11:16:56 -0400
commit4c3974c5dcde7f045cf39e1c0e555db58834466b (patch)
tree941fbe6d0cd2d00aba56bf8a4458fb58c5ac5b46 /main/rtapd/APKBUILD
parent31acb47aad9a61eb6b1ab51ee00a25a26f786e33 (diff)
downloadaports-4c3974c5dcde7f045cf39e1c0e555db58834466b.tar.bz2
aports-4c3974c5dcde7f045cf39e1c0e555db58834466b.tar.xz
main/{rtapd, rtnppd}: moved from testing
Diffstat (limited to 'main/rtapd/APKBUILD')
-rw-r--r--main/rtapd/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/main/rtapd/APKBUILD b/main/rtapd/APKBUILD
new file mode 100644
index 0000000000..2c406249e3
--- /dev/null
+++ b/main/rtapd/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Jeff Bilyk <jbilyk@alpinelinux.org>
+# Maintainer: Michael Mason <ms13sp@gmail.com>
+pkgname=rtapd
+_altpkgname="rtnppd"
+_builddir="$pkgname"
+pkgver=1.7
+pkgrel=3
+pkgdesc="daemon for routing packets to rtnppd"
+url="http://sourceforge.net/projects/rtnppd/"
+arch="all"
+license="GPL"
+depends="rtnppd"
+makedepends="postgresql-dev"
+install=
+subpackages=""
+source="http://downloads.sourceforge.net/$_altpkgname/$pkgname-$pkgver.tar.gz
+ Makefile.patch
+ $pkgname.initd
+ $pkgname.confd"
+
+build() {
+ cd "$srcdir"/"$_builddir"
+ echo "Applying Patch"
+ patch -p1 < ../Makefile.patch || return 1
+ make || return 1
+}
+package() {
+ cd "$srcdir"/"$_builddir"
+ #make DESTDIR="$pkgdir" install
+ install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
+ install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
+ install -m755 -D ./rtapd "$pkgdir"/usr/sbin/rtapd
+ install -m755 -D ./vsnppd "$pkgdir"/usr/sbin/vsnppd
+ install -m644 -D ./rtapd.conf "$pkgdir"/etc/rtnppd/rtapd.conf
+ install -m644 -D ./tap_dev.conf "$pkgdir"/etc/rtnppd/tap_dev.conf
+ install -m644 -D ./tap_route.conf "$pkgdir"/etc/rtnppd/tag_route.conf
+}
+
+md5sums="f3354efde507d29813754c8f4af7fa02 rtapd-1.7.tar.gz
+7ea62a8bb13e2069164d8639b8c02aad Makefile.patch
+bd5aa6b7477064be5966962b90be55b5 rtapd.initd
+4378fc49b27dcc6ab7f2316ea2453338 rtapd.confd"