summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-01-29 10:54:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-01-29 10:55:20 +0000
commitc898883fe3ec841f99d685a4c88e45ec5c42b647 (patch)
treead2e764720f319ff3662881efe20c2a18eabde8d /testing
parent2732a6c3e4937ccb28bfaad9afaaf9b297bd5d2b (diff)
downloadaports-c898883fe3ec841f99d685a4c88e45ec5c42b647.tar.bz2
aports-c898883fe3ec841f99d685a4c88e45ec5c42b647.tar.xz
main/xl2tpd: moved from testing
and claim ownership fixes #699
Diffstat (limited to 'testing')
-rw-r--r--testing/xl2tpd/APKBUILD47
-rw-r--r--testing/xl2tpd/options.l2tp17
-rw-r--r--testing/xl2tpd/xl2tpd.confd5
-rw-r--r--testing/xl2tpd/xl2tpd.initd20
4 files changed, 0 insertions, 89 deletions
diff --git a/testing/xl2tpd/APKBUILD b/testing/xl2tpd/APKBUILD
deleted file mode 100644
index a548c72fc..000000000
--- a/testing/xl2tpd/APKBUILD
+++ /dev/null
@@ -1,47 +0,0 @@
-# Contributor: Danilo Godec <danilo.godec@agenda.si>
-# Maintainer:
-pkgname=xl2tpd
-pkgver=1.3.0
-pkgrel=0
-pkgdesc="Layer 2 Tunnelling Protocol Daemon (RFC 2661)"
-url="http://www.xelerance.com/services/software/xl2tpd/"
-arch="all"
-license="GPL"
-depends=""
-depends_dev="libpcap-dev"
-makedepends="$depends_dev"
-install=""
-subpackages="$pkgname-doc"
-source="http://www.xelerance.com/wp-content/uploads/software/$pkgname/$pkgname-$pkgver.tar.gz xl2tpd.confd xl2tpd.initd options.l2tp"
-
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
-build() {
- cd "$_builddir"
- make PREFIX=/usr || return 1
-}
-
-package() {
- cd "$_builddir"
- make PREFIX=/usr DESTDIR="$pkgdir" install
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
- install -Dm644 examples/xl2tpd.conf "$pkgdir"/etc/xl2tpd/xl2tpd.conf
- install -Dm755 "$srcdir"/xl2tpd.initd "$pkgdir"/etc/init.d/xl2tpd
- install -Dm644 "$srcdir"/xl2tpd.confd "$pkgdir"/etc/conf.d/xl2tpd
- install -Dm644 "$srcdir"/options.l2tp "$pkgdir"/etc/ppp/options.l2tp
- install -dm755 "$pkgdir"/var/run/xl2tpd
-}
-
-md5sums="28264284552c442b24cf421755a2bb48 xl2tpd-1.3.0.tar.gz
-0032d104bd2d993b8a514c2f898d1dd9 xl2tpd.confd
-77e4364f4e726549b6e74aec2b1ccd39 xl2tpd.initd
-8f1a2896d08b6353424013cf7247dc7d options.l2tp"
diff --git a/testing/xl2tpd/options.l2tp b/testing/xl2tpd/options.l2tp
deleted file mode 100644
index 425a56e08..000000000
--- a/testing/xl2tpd/options.l2tp
+++ /dev/null
@@ -1,17 +0,0 @@
-ipcp-accept-local
-ipcp-accept-remote
-ms-dns 192.168.1.1
-ms-dns 192.168.1.3
-ms-wins 192.168.1.2
-ms-wins 192.168.1.4
-noccp
-auth
-crtscts
-idle 1800
-mtu 1410
-mru 1410
-nodefaultroute
-debug
-lock
-proxyarp
-connect-delay 5000
diff --git a/testing/xl2tpd/xl2tpd.confd b/testing/xl2tpd/xl2tpd.confd
deleted file mode 100644
index d89a1f3d6..000000000
--- a/testing/xl2tpd/xl2tpd.confd
+++ /dev/null
@@ -1,5 +0,0 @@
-# Config file for /etc/init.d/xl2tpd
-
-# Any extra options you want to pass to xl2tpd
-# on start-up should be put here.
-XL2TPD_OPTS=""
diff --git a/testing/xl2tpd/xl2tpd.initd b/testing/xl2tpd/xl2tpd.initd
deleted file mode 100644
index d56e1671e..000000000
--- a/testing/xl2tpd/xl2tpd.initd
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/runscript
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting xl2tpd"
- start-stop-daemon --start --quiet --exec /usr/sbin/xl2tpd -- ${XL2TPD_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping xl2tpd"
- start-stop-daemon --stop --quiet --pidfile /var/run/xl2tpd.pid
- result=$?
- start-stop-daemon --stop --quiet --exec /usr/sbin/xl2tpd-control
- result=$(( $result + $? ))
- eend $result
-}