aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rtnppd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/rtnppd')
-rw-r--r--testing/rtnppd/APKBUILD41
-rw-r--r--testing/rtnppd/Makefile.patch13
-rw-r--r--testing/rtnppd/rtnppd.confd1
-rw-r--r--testing/rtnppd/rtnppd.initd21
4 files changed, 0 insertions, 76 deletions
diff --git a/testing/rtnppd/APKBUILD b/testing/rtnppd/APKBUILD
deleted file mode 100644
index bd0f9cb1e9..0000000000
--- a/testing/rtnppd/APKBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# Contributor: Michael Mason <ms13sp@gmail.com>
-# Maintainer: Michael Mason <ms13sp@gmail.com>
-pkgname=rtnppd
-_builddir="$pkgname"
-pkgver=1.7b
-pkgrel=1
-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=
-subpackages=""
-source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
- Makefile.patch
- $pkgname.initd
- $pkgname.confd"
-
-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"
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 $?
-}
-