aboutsummaryrefslogtreecommitdiffstats
path: root/testing
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 /testing
parent31acb47aad9a61eb6b1ab51ee00a25a26f786e33 (diff)
downloadaports-4c3974c5dcde7f045cf39e1c0e555db58834466b.tar.bz2
aports-4c3974c5dcde7f045cf39e1c0e555db58834466b.tar.xz
main/{rtapd, rtnppd}: moved from testing
Diffstat (limited to 'testing')
-rw-r--r--testing/rtapd/APKBUILD42
-rw-r--r--testing/rtapd/Makefile.patch13
-rw-r--r--testing/rtapd/rtapd.confd1
-rw-r--r--testing/rtapd/rtapd.initd20
-rw-r--r--testing/rtnppd/APKBUILD51
-rw-r--r--testing/rtnppd/Makefile.patch13
-rw-r--r--testing/rtnppd/rtnppd.confd1
-rw-r--r--testing/rtnppd/rtnppd.initd21
-rw-r--r--testing/rtnppd/rtnppd.pre-install5
9 files changed, 0 insertions, 167 deletions
diff --git a/testing/rtapd/APKBUILD b/testing/rtapd/APKBUILD
deleted file mode 100644
index 2c406249e3..0000000000
--- a/testing/rtapd/APKBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# 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"
diff --git a/testing/rtapd/Makefile.patch b/testing/rtapd/Makefile.patch
deleted file mode 100644
index 197cce501d..0000000000
--- a/testing/rtapd/Makefile.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- rtapd.orig/Makefile Tue Mar 30 15:10:02 2010
-+++ rtapd/Makefile Tue Mar 30 15:10:11 2010
-@@ -23,8 +23,8 @@
-
- # Use PostgreSQL-server (with includes in /usr/include/pgsql
- # and libs in /usr/lib
--#CFLAGS = -DUSE_POSTGRESQL -I/usr/include/pgsql
--#LIBS = -lpq
-+CFLAGS = -DUSE_POSTGRESQL -I/usr/include/pgsql
-+LIBS = -lpq
-
- PREFIX = /usr/local
- INCLUDES = -I./
diff --git a/testing/rtapd/rtapd.confd b/testing/rtapd/rtapd.confd
deleted file mode 100644
index 4c0047b10d..0000000000
--- a/testing/rtapd/rtapd.confd
+++ /dev/null
@@ -1 +0,0 @@
-#RTAPD_OPTS=""
diff --git a/testing/rtapd/rtapd.initd b/testing/rtapd/rtapd.initd
deleted file mode 100644
index 01fce242a6..0000000000
--- a/testing/rtapd/rtapd.initd
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-DAEMON=/usr/sbin/rtapd
-USER=rtnppd
-
-start() {
- ebegin "Starting $(basename $DAEMON)"
- start-stop-daemon --start --user ${USER} --exec ${DAEMON} \
- -- -C /etc/rtnppd/rtapd.conf ${RTAPD_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping $(basename $DAEMON)"
- start-stop-daemon --stop --exec ${DAEMON}
- eend $?
-}
diff --git a/testing/rtnppd/APKBUILD b/testing/rtnppd/APKBUILD
deleted file mode 100644
index db533c6b4b..0000000000
--- a/testing/rtnppd/APKBUILD
+++ /dev/null
@@ -1,51 +0,0 @@
-# Contributor: Michael Mason <ms13sp@gmail.com>
-# Maintainer: Michael Mason <ms13sp@gmail.com>
-pkgname=rtnppd
-_builddir="$pkgname"
-pkgver=1.7b
-pkgrel=3
-pkgdesc="A program route TNPP 3.8 (Telocator Network Paging Protocol) packets between serial and other links"
-url="http://sourceforge.net/projects/rtnppd/"
-arch="all"
-license="GPL"
-depends=""
-makedepends="postgresql-dev"
-install="$pkgname.pre-install"
-subpackages=""
-source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
- Makefile.patch
- $pkgname.initd
- $pkgname.confd"
-pkgusers="rtnppd"
-pkggroups="rtnppd"
-
-build() {
- cd "$srcdir"/"$_builddir"
- 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 ./rtnppd "$pkgdir"/usr/sbin/rtnppd
- install -m755 -D ./tnpppage "$pkgdir"/usr/sbin/tnpppage
- install -m755 -D ./testq "$pkgdir"/usr/sbin/testq
- install -m644 -D ./rtnppd.conf "$pkgdir"/etc/rtnppd/rtnppd.conf
- install -m644 -D ./tnpp_dev.conf "$pkgdir"/etc/rtnppd/tnpp_dev.conf
- install -m644 -D ./tnpp_trans.conf "$pkgdir"/etc/rtnppd/tnpp_trans.conf
-}
-
-md5sums="3f484a7307b1c237652135fcc26ee798 rtnppd-1.7b.tar.gz
-17ec69098e967021face024251da20fc Makefile.patch
-9bb8ca4d1f073d0b3663d368ff322ecf rtnppd.initd
-58b8113f483bd824e9ef82fbfdf743d8 rtnppd.confd"
-sha256sums="06651a98c99048d9a211a92a68d8e5ed03ffdf2caf04904923a8ae7418a5eca4 rtnppd-1.7b.tar.gz
-8ec9858b2fdf3ddfd3ef07c5afad3e6a5475986392dad3a0fc4473dcaec0000d Makefile.patch
-9d2d221129bcc7a6f2f966d479802a9f642da0ef2dd2d001b3c0e830529f2ead rtnppd.initd
-55abc4f75348431fbaaf4d9ca39b45609c3902cb2ffa3dcaf6e9371c9f5d38ad rtnppd.confd"
-sha512sums="b8b80bca5d78ee070a1c403e544c2de4b65de74bef5f400f43125bdb289e43d4fc8dadb0d089a59f4bc8b41c6fc75ed6d307412cde90022ea75a6617128a4432 rtnppd-1.7b.tar.gz
-7dda1dcf65151fa8287c48b548bef73f28a740524c3d2a57e81a8fac92ba44200fe7088866fceed675355924dee52aaf68615717ef12b6bf3f1b3b68f7eacb11 Makefile.patch
-106c47cd82e1f46244bfeb118aa6580e058d7ec1666a3fa35f3273ecef16bbce8f2adc1332e0216f840deb980d411c0659f282061c59ca3f4e497510f43346d8 rtnppd.initd
-3a8d709c4650eb38fd9c4ec5367d69eadab458fd5a6515517405f9344f19211d8673ec5dca00d56c87b765e916e0720b49c8f3cd6b54761b52af6c31dc7b6139 rtnppd.confd"
diff --git a/testing/rtnppd/Makefile.patch b/testing/rtnppd/Makefile.patch
deleted file mode 100644
index 1d7e257248..0000000000
--- a/testing/rtnppd/Makefile.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- rtnppd.orig/Makefile Tue Mar 30 14:46:20 2010
-+++ rtnppd/Makefile Tue Mar 30 14:46:30 2010
-@@ -23,8 +23,8 @@
-
- # Use PostgreSQL-server (with includes in /usr/include/pgsql
- # and libs in /usr/lib
--#CFLAGS = -DUSE_POSTGRESQL -I/usr/include/pgsql
--#LIBS = -lpq
-+CFLAGS = -DUSE_POSTGRESQL -I/usr/include/pgsql
-+LIBS = -lpq
-
- PREFIX = /usr/local
- INCLUDES = -I./
diff --git a/testing/rtnppd/rtnppd.confd b/testing/rtnppd/rtnppd.confd
deleted file mode 100644
index c262225555..0000000000
--- a/testing/rtnppd/rtnppd.confd
+++ /dev/null
@@ -1 +0,0 @@
-#RTNPPD_OPTS=""
diff --git a/testing/rtnppd/rtnppd.initd b/testing/rtnppd/rtnppd.initd
deleted file mode 100644
index 6fcd6c2b4f..0000000000
--- a/testing/rtnppd/rtnppd.initd
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-DAEMON=/usr/sbin/rtnppd
-USER=rtnppd
-
-start() {
- ebegin "Starting $(basename $DAEMON)"
- start-stop-daemon --start --user ${USER} --exec ${DAEMON} \
- -- ${RTNPPD_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping $(basename $DAEMON)"
- start-stop-daemon --stop --exec ${DAEMON}
- eend $?
-}
-
diff --git a/testing/rtnppd/rtnppd.pre-install b/testing/rtnppd/rtnppd.pre-install
deleted file mode 100644
index 2af5d261f7..0000000000
--- a/testing/rtnppd/rtnppd.pre-install
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-addgroup -S rtnppd 2>/dev/null
-adduser -S -G rtnppd -H -h /var/run/rtnppd -s /bin/false rtnppd 2>/dev/null
-exit 0