summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2003-11-17 19:56:52 +0000
committerHeinrich Wendel <lanius@gentoo.org>2003-11-17 19:56:52 +0000
commite2bdde1312911d30baad69386b2ef14f2c6651a7 (patch)
tree65af3c6a81d8f6142e978b80ffdcf3b9f3348d9c /net-dialup/rp-l2tp
parentmoved l2tpd from net-misc to net-dialup (diff)
downloadgentoo-2-e2bdde1312911d30baad69386b2ef14f2c6651a7.tar.gz
gentoo-2-e2bdde1312911d30baad69386b2ef14f2c6651a7.tar.bz2
gentoo-2-e2bdde1312911d30baad69386b2ef14f2c6651a7.zip
moved rp-l2tp from net-misc to net-dialup
Diffstat (limited to 'net-dialup/rp-l2tp')
-rw-r--r--net-dialup/rp-l2tp/ChangeLog21
-rw-r--r--net-dialup/rp-l2tp/Manifest4
-rw-r--r--net-dialup/rp-l2tp/files/digest-rp-l2tp-0.3-r12
-rw-r--r--net-dialup/rp-l2tp/files/rp-l2tpd-init20
-rw-r--r--net-dialup/rp-l2tp/rp-l2tp-0.3-r1.ebuild37
5 files changed, 84 insertions, 0 deletions
diff --git a/net-dialup/rp-l2tp/ChangeLog b/net-dialup/rp-l2tp/ChangeLog
new file mode 100644
index 000000000000..8856874c0487
--- /dev/null
+++ b/net-dialup/rp-l2tp/ChangeLog
@@ -0,0 +1,21 @@
+# ChangeLog for net-misc/rp-l2tp
+# Copyright 2003 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-l2tp/ChangeLog,v 1.1 2003/11/17 19:56:46 lanius Exp $
+
+*rp-l2tp-0.3-r1 (17 Nov 2003)
+
+ 17 Nov 2003; Heinrich Wendel <lanius@gentoo.org> rp-l2tp-0.3-r1.ebuild,
+ files/rp-l2tpd-init:
+ moved from net-misc to net-dialup
+
+*rp-l2tp-0.3-r1 (05 Apr 2003)
+
+ 05 Apr 2003; Donny Davies <woodchip@gentoo.org> rp-l2tp-0.3-r1.ebuild,
+ rp-l2tp-0.3.ebuild, files/rp-l2tpd-init:
+ Old patch had `$Id:' tag which got munged when committed to CVS. This
+ one has the patchfile on the mirrors instead so it'll apply properly.
+
+*rp-l2tp-0.3 (24 Feb 2003)
+
+ 24 Feb 2003; Donny Davies <woodchip@gentoo.org> :
+ Initial import, created by me.
diff --git a/net-dialup/rp-l2tp/Manifest b/net-dialup/rp-l2tp/Manifest
new file mode 100644
index 000000000000..1705f34ae04e
--- /dev/null
+++ b/net-dialup/rp-l2tp/Manifest
@@ -0,0 +1,4 @@
+MD5 278626f3cc4cd243d1e24bb60bd5f3eb rp-l2tp-0.3-r1.ebuild 913
+MD5 e3fe2e635674f749204003c7d5f396dc ChangeLog 779
+MD5 c3f82ee29940853617439ed2ffad0b62 files/rp-l2tpd-init 491
+MD5 bf2a5a28edcc6ffeccae338ebc4b62b2 files/digest-rp-l2tp-0.3-r1 133
diff --git a/net-dialup/rp-l2tp/files/digest-rp-l2tp-0.3-r1 b/net-dialup/rp-l2tp/files/digest-rp-l2tp-0.3-r1
new file mode 100644
index 000000000000..a19a2ea96a0f
--- /dev/null
+++ b/net-dialup/rp-l2tp/files/digest-rp-l2tp-0.3-r1
@@ -0,0 +1,2 @@
+MD5 a8a7eb3ce8bb27af6ba280fd521c97cf rp-l2tp-0.3.tar.gz 191418
+MD5 c025352b143bff26f2dab2aa151066f1 rp-l2tp-0.3-gentoo.diff.bz2 3117
diff --git a/net-dialup/rp-l2tp/files/rp-l2tpd-init b/net-dialup/rp-l2tp/files/rp-l2tpd-init
new file mode 100644
index 000000000000..6f0da0b0930b
--- /dev/null
+++ b/net-dialup/rp-l2tp/files/rp-l2tpd-init
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-l2tp/files/rp-l2tpd-init,v 1.1 2003/11/17 19:56:46 lanius Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting rp-l2tpd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/rp-l2tpd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping rp-l2tpd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/rp-l2tpd
+ eend $?
+}
diff --git a/net-dialup/rp-l2tp/rp-l2tp-0.3-r1.ebuild b/net-dialup/rp-l2tp/rp-l2tp-0.3-r1.ebuild
new file mode 100644
index 000000000000..f2881dfef262
--- /dev/null
+++ b/net-dialup/rp-l2tp/rp-l2tp-0.3-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-l2tp/rp-l2tp-0.3-r1.ebuild,v 1.1 2003/11/17 19:56:46 lanius Exp $
+
+inherit eutils
+
+DESCRIPTION="RP-L2TP is a user-space implementation of L2TP for Linux and other UNIX systems"
+HOMEPAGE="http://sourceforge.net/projects/rp-l2tp/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ mirror://gentoo/${P}-gentoo.diff.bz2"
+DEPEND="virtual/glibc"
+LICENSE="GPL-2"
+KEYWORDS="x86 amd64"
+SLOT="0"
+IUSE=""
+
+src_unpack() {
+ unpack ${A} || die
+ cd ${S} || die
+ epatch ../${P}-gentoo.diff
+}
+
+src_compile() {
+ econf || die
+ emake || die
+}
+
+src_install() {
+ make RPM_INSTALL_ROOT=${D} install || die
+
+ dodoc README
+ newdoc l2tp.conf rp-l2tpd.conf
+ cp -a libevent/Doc ${D}/usr/share/doc/${PF}/libevent
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/rp-l2tpd-init rp-l2tpd
+}