From 646d68ad2d342478deacbc4b17c1d68151bd27f0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alin=20N=C4=83stac?= Date: Sat, 20 Nov 2004 10:16:54 +0000 Subject: [PATCH] cleanups & mark stable on x86 --- net-dialup/rp-l2tp/ChangeLog | 6 +- net-dialup/rp-l2tp/Manifest | 18 +- .../rp-l2tp/files/rp-l2tp-0.4-gentoo.diff | 214 ++++++++++++++++++ .../rp-l2tp/files/rp-l2tp-0.4-gentoo.diff.bz2 | Bin 2922 -> 0 bytes net-dialup/rp-l2tp/rp-l2tp-0.4.ebuild | 16 +- 5 files changed, 241 insertions(+), 13 deletions(-) create mode 100644 net-dialup/rp-l2tp/files/rp-l2tp-0.4-gentoo.diff delete mode 100644 net-dialup/rp-l2tp/files/rp-l2tp-0.4-gentoo.diff.bz2 diff --git a/net-dialup/rp-l2tp/ChangeLog b/net-dialup/rp-l2tp/ChangeLog index ff99a27d5721..7b5823c9e416 100644 --- a/net-dialup/rp-l2tp/ChangeLog +++ b/net-dialup/rp-l2tp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-dialup/rp-l2tp # Copyright 2003-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-l2tp/ChangeLog,v 1.8 2004/10/17 10:02:45 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-l2tp/ChangeLog,v 1.9 2004/11/20 10:16:54 mrness Exp $ + + 20 Nov 2004; Alin Nastac +files/rp-l2tp-0.4-gentoo.diff, + -files/rp-l2tp-0.4-gentoo.diff.bz2, rp-l2tp-0.4.ebuild: + Mark stable on x86. 17 Oct 2004; David Holm rp-l2tp-0.4.ebuild: Added to ~ppc. diff --git a/net-dialup/rp-l2tp/Manifest b/net-dialup/rp-l2tp/Manifest index 14c104b773cb..d28513602f30 100644 --- a/net-dialup/rp-l2tp/Manifest +++ b/net-dialup/rp-l2tp/Manifest @@ -1,8 +1,18 @@ -MD5 daff66081a2aacd77b0303e8eee39141 ChangeLog 1224 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 9df0fb7c4e35e17c5c8f8f90dd05f4fb ChangeLog 1385 MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163 MD5 8ae8edd5fcd5b218e7e9552f9a3e8672 rp-l2tp-0.3-r1.ebuild 909 -MD5 bcfd9af872b4de2ae2b219bea0126dd8 rp-l2tp-0.4.ebuild 883 +MD5 ca632e80334729d2372cce737bde37e6 rp-l2tp-0.4.ebuild 1015 MD5 bf2a5a28edcc6ffeccae338ebc4b62b2 files/digest-rp-l2tp-0.3-r1 133 -MD5 253968a2351a4312da37ef20131502a5 files/rp-l2tpd-init 484 MD5 0ce9c1cb5b3c8e769e422f4f6d43ba51 files/digest-rp-l2tp-0.4 63 -MD5 d7f971bbe089f293d34cbde72fd5482c files/rp-l2tp-0.4-gentoo.diff.bz2 2922 +MD5 253968a2351a4312da37ef20131502a5 files/rp-l2tpd-init 484 +MD5 7378001d4cf1d1712bff6a40a3632081 files/rp-l2tp-0.4-gentoo.diff 9093 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.6 (GNU/Linux) + +iD8DBQFBnxmhjtv59x0+BrURAsvpAKCrMUpnbfC2DzEOnHVGkZoxDPjDGgCfS78P +53CahddKp8bB2AkWT/mPw70= +=L5kL +-----END PGP SIGNATURE----- diff --git a/net-dialup/rp-l2tp/files/rp-l2tp-0.4-gentoo.diff b/net-dialup/rp-l2tp/files/rp-l2tp-0.4-gentoo.diff new file mode 100644 index 000000000000..a1e6a49454aa --- /dev/null +++ b/net-dialup/rp-l2tp/files/rp-l2tp-0.4-gentoo.diff @@ -0,0 +1,214 @@ +diff -ru rp-l2tp-0.4/Makefile.in rp-l2tp-0.4-gentoo/Makefile.in +--- rp-l2tp-0.4/Makefile.in 2004-07-01 17:17:11.000000000 +0200 ++++ rp-l2tp-0.4-gentoo/Makefile.in 2004-07-13 11:46:46.000000000 +0200 +@@ -81,13 +81,13 @@ + + install: all + -mkdir -p $(RPM_INSTALL_ROOT)$(DESTDIR)$(sbindir) +- $(install) -m 755 -s l2tpd $(RPM_INSTALL_ROOT)$(DESTDIR)$(sbindir) +- -mkdir -p $(RPM_INSTALL_ROOT)$(DESTDIR)/etc/l2tp +- $(install) -m 644 l2tp.conf $(RPM_INSTALL_ROOT)$(DESTDIR)/etc/l2tp/l2tp.conf.example ++ $(install) -m 755 -s l2tpd $(RPM_INSTALL_ROOT)$(DESTDIR)$(sbindir)/rp-l2tpd ++ -mkdir -p $(RPM_INSTALL_ROOT)$(DESTDIR)/etc/rp-l2tp ++ $(install) -m 644 l2tp.conf $(RPM_INSTALL_ROOT)$(DESTDIR)/etc/rp-l2tp/rp-l2tpd.conf.example + -mkdir -p $(RPM_INSTALL_ROOT)$(DESTDIR)$(mandir)/man8 + -mkdir -p $(RPM_INSTALL_ROOT)$(DESTDIR)$(mandir)/man5 +- $(install) -m 644 man/l2tpd.8 $(RPM_INSTALL_ROOT)$(DESTDIR)$(mandir)/man8 +- $(install) -m 644 man/l2tp.conf.5 $(RPM_INSTALL_ROOT)$(DESTDIR)$(mandir)/man5 ++ $(install) -m 644 man/l2tpd.8 $(RPM_INSTALL_ROOT)$(DESTDIR)$(mandir)/man8/rp-l2tpd.8 ++ $(install) -m 644 man/l2tp.conf.5 $(RPM_INSTALL_ROOT)$(DESTDIR)$(mandir)/man5/rp-l2tpd.conf.5 + + $(MAKE) -C handlers install + +diff -ru rp-l2tp-0.4/handlers/Makefile.in rp-l2tp-0.4-gentoo/handlers/Makefile.in +--- rp-l2tp-0.4/handlers/Makefile.in 2002-09-30 21:45:00.000000000 +0200 ++++ rp-l2tp-0.4-gentoo/handlers/Makefile.in 2004-07-12 20:47:26.000000000 +0200 +@@ -39,7 +39,7 @@ + + install: all + -mkdir -p $(RPM_INSTALL_ROOT)$(sbindir) +- -mkdir -p $(RPM_INSTALL_ROOT)$(prefix)/lib/l2tp/plugins +- $(install) -m 755 -s l2tp-control $(RPM_INSTALL_ROOT)$(sbindir) +- $(install) -m 755 $(HANDLERS) $(RPM_INSTALL_ROOT)$(prefix)/lib/l2tp/plugins ++ -mkdir -p $(RPM_INSTALL_ROOT)$(prefix)/lib/rp-l2tpd/plugins ++ $(install) -m 755 -s l2tp-control $(RPM_INSTALL_ROOT)$(sbindir)/rp-l2tpd-control ++ $(install) -m 755 $(HANDLERS) $(RPM_INSTALL_ROOT)$(prefix)/lib/rp-l2tpd/plugins + distclean: clean +diff -ru rp-l2tp-0.4/handlers/cmd-control.c rp-l2tp-0.4-gentoo/handlers/cmd-control.c +--- rp-l2tp-0.4/handlers/cmd-control.c 2002-09-30 21:45:00.000000000 +0200 ++++ rp-l2tp-0.4-gentoo/handlers/cmd-control.c 2004-07-12 20:42:44.000000000 +0200 +@@ -52,7 +52,7 @@ + + memset(&addr, 0, sizeof(addr)); + addr.sun_family = AF_LOCAL; +- strncpy(addr.sun_path, "/var/run/l2tpctrl", sizeof(addr.sun_path) - 1); ++ strncpy(addr.sun_path, "/var/run/rp-l2tpdctrl", sizeof(addr.sun_path) - 1); + + fd = socket(AF_LOCAL, SOCK_STREAM, 0); + if (fd < 0) { +diff -ru rp-l2tp-0.4/handlers/cmd.c rp-l2tp-0.4-gentoo/handlers/cmd.c +--- rp-l2tp-0.4/handlers/cmd.c 2004-07-01 16:58:56.000000000 +0200 ++++ rp-l2tp-0.4-gentoo/handlers/cmd.c 2004-07-12 20:42:28.000000000 +0200 +@@ -162,7 +162,7 @@ + + /* We have hit the end of our options. Open command socket */ + if (!sockname) { +- sockname = "/var/run/l2tpctrl"; ++ sockname = "/var/run/rp-l2tpdctrl"; + } + + (void) remove(sockname); +diff -ru rp-l2tp-0.4/main.c rp-l2tp-0.4-gentoo/main.c +--- rp-l2tp-0.4/main.c 2002-09-30 21:45:00.000000000 +0200 ++++ rp-l2tp-0.4-gentoo/main.c 2004-07-13 11:44:50.000000000 +0200 +@@ -27,7 +27,7 @@ + static void + usage(int argc, char *argv[], int exitcode) + { +- fprintf(stderr, "\nl2tpd Version %s Copyright 2002 Roaring Penguin Software Inc.\n", VERSION); ++ fprintf(stderr, "\nrp-l2tpd Version %s Copyright 2002 Roaring Penguin Software Inc.\n", VERSION); + fprintf(stderr, "http://www.roaringpenguin.com/\n\n"); + fprintf(stderr, "Usage: %s [options]\n", argv[0]); + fprintf(stderr, "Options:\n"); +@@ -68,7 +68,7 @@ + l2tp_peer_init(); + l2tp_debug_set_bitmask(debugmask); + +- if (l2tp_parse_config_file(es, "/etc/l2tp/l2tp.conf") < 0) { ++ if (l2tp_parse_config_file(es, "/etc/rp-l2tp/rp-l2tpd.conf") < 0) { + l2tp_die(); + } + +diff -ru rp-l2tp-0.4/man/l2tp.conf.5 rp-l2tp-0.4-gentoo/man/l2tp.conf.5 +--- rp-l2tp-0.4/man/l2tp.conf.5 2004-07-01 16:58:56.000000000 +0200 ++++ rp-l2tp-0.4-gentoo/man/l2tp.conf.5 2004-07-12 20:51:58.000000000 +0200 +@@ -1,13 +1,13 @@ +-.\" $Id: rp-l2tp-0.4-gentoo.diff,v 1.1 2004/11/20 10:16:54 mrness Exp $ ++.\" $Id: rp-l2tp-0.4-gentoo.diff,v 1.1 2004/11/20 10:16:54 mrness Exp $ + .\" LIC: GPL +-.TH L2TP.CONF 5 "11 March 2002" ++.TH RP-L2TPD.CONF 5 "11 March 2002" + .\"" + .UC 4 + .SH NAME +-l2tp.conf \- L2TP configuration file ++rp-l2tpd.conf \- RP-L2TPD configuration file + .SH DESCRIPTION +-The \fBl2tp.conf\fP file contains the configuration for +-the L2TP daemon \fBl2tpd\fP(8). ++The \fBrp-l2tpd.conf\fP file contains the configuration for ++the RP-L2TPD daemon \fBrp-l2tpd\fP(8). + Each line in the file takes one of the following forms: + .\" + .IP "# \fIcomment\fR" +@@ -155,9 +155,9 @@ + in the global section. The only option available is: + .IP "\fBsocket-path\fP \fIpathname\fR" + Specifies the path name of the UNIX-domain socket for controlling the +-daemon. Defaults to \fI/var/run/l2tpctrl\fR. ++daemon. Defaults to \fI/var/run/rp-l2tpdctrl\fR. + .PP + Even if you do not supply any options to cmd, you \fImust\fR have + a \fBsection cmd\fR line to activate the handler. + .SH AUTHORS +-\fBl2tpd\fR was written by David F. Skoll . ++\fBrp-l2tpd\fR was written by David F. Skoll . +diff -ru rp-l2tp-0.4/man/l2tpd.8 rp-l2tp-0.4-gentoo/man/l2tpd.8 +--- rp-l2tp-0.4/man/l2tpd.8 2002-09-30 21:45:00.000000000 +0200 ++++ rp-l2tp-0.4-gentoo/man/l2tpd.8 2004-07-13 11:45:52.000000000 +0200 +@@ -1,14 +1,14 @@ +-.\" $Id: rp-l2tp-0.4-gentoo.diff,v 1.1 2004/11/20 10:16:54 mrness Exp $ ++.\" $Id: rp-l2tp-0.4-gentoo.diff,v 1.1 2004/11/20 10:16:54 mrness Exp $ + .\" LIC: GPL +-.TH L2TPD 8 "11 March 2002" ++.TH RP-L2TPD 8 "11 March 2002" + .UC 4 + .SH NAME +-l2tpd \- user-space L2TP daemon. ++rp-l2tpd \- user-space L2TP daemon. + .SH SYNOPSIS +-.B l2tpd \fR[\fIoptions\fR] ++.B rp-l2tpd \fR[\fIoptions\fR] + + .SH DESCRIPTION +-\fBl2tpd\fR is a user-space L2TP daemon. L2TP is the Layer Two ++\fBrp-l2tpd\fR is a user-space L2TP daemon. L2TP is the Layer Two + Tunneling Protocol described in RFC 2661. It allows you to tunnel + PPP sessions over a network or transport protocol (in this case, UDP.) + +@@ -16,50 +16,50 @@ + .TP + .B \-d \fInum\fR + Sets the debug level to \fInum\fR. Of interest mostly to +-\fBl2tpd\fR developers. \fInum\fR is a bitmask; set it to ++\fBrp-l2tpd\fR developers. \fInum\fR is a bitmask; set it to + 65535 for maximum debugging information. + + .TP + .B \-f +-Do not fork. Normally, \fBl2tpd\fR forks and puts itself in the ++Do not fork. Normally, \fBrp-l2tpd\fR forks and puts itself in the + background. This option causes it to stay running in the foreground. + +-.SH L2TPD ARCHITECTURE ++.SH RP-L2TPD ARCHITECTURE + +-The \fBl2tpd\fR program itself contains \fIonly\fR code necessary ++The \fBrp-l2tpd\fR program itself contains \fIonly\fR code necessary + for processing L2TP datagrams and maintaining L2TP tunnels and + sessions. It does \fInot\fR contain code for interacting with + \fBpppd\fR or for users to control session establishment and teardown. + These functions are performed by \fIhandlers\fR, which are + shared-object libraries dynamically loaded at run-time. + .PP +-The handlers currently distributed with \fBl2tpd\fR include: ++The handlers currently distributed with \fBrp-l2tpd\fR include: + .TP + .B sync-pppd.so +-A shared-library which interfaces with \fBpppd\fR and allows \fBl2tpd\fR ++A shared-library which interfaces with \fBpppd\fR and allows \fBrp-l2tpd\fR + to act as both an LAC and an LNS. + .TP + .B cmd.so + A simple command-interpreter which listens on a UNIX-domain socket + and allows you to start and stop L2TP sessions. + .PP +-\fBl2tpd\fR is a single-threaded, event-driven program. It should be ++\fBrp-l2tpd\fR is a single-threaded, event-driven program. It should be + fairly lightweight and efficient. + +-.SH L2TPD CONFIGURATION +-On startup, \fBl2tpd\fR reads the configuration file \fB/etc/l2tp/l2tp.conf\fR. ++.SH RP-L2TPD CONFIGURATION ++On startup, \fBrp-l2tpd\fR reads the configuration file \fB/etc/rp-l2tp/rp-l2tpd.conf\fR. + This configuration file sets operating parameters, describes peers and loads +-and configures handlers. See \fBl2tp.conf\fR(5) for configuration ++and configures handlers. See \fBrp-l2tpd.conf\fR(5) for configuration + file details. + + .SH FILES + .TP +-.B /etc/l2tp/l2tp.conf ++.B /etc/rp-l2tp/rp-l2tpd.conf + Main configuration file. + .TP +-.B /var/run/l2tpctrl ++.B /var/run/rp-l2tpdctrl + Control socket for \fBcmd.so\fR handler. + + .SH AUTHORS +-\fBl2tpd\fR was written by David F. Skoll . ++\fBrp-l2tpd\fR was written by David F. Skoll . + +diff -ru rp-l2tp-0.4/utils.c rp-l2tp-0.4-gentoo/utils.c +--- rp-l2tp-0.4/utils.c 2002-09-30 21:45:00.000000000 +0200 ++++ rp-l2tp-0.4-gentoo/utils.c 2004-07-12 20:49:56.000000000 +0200 +@@ -196,7 +196,7 @@ + if (*fname == '/') { + handle = dlopen(fname, RTLD_NOW); + } else { +- snprintf(buf, sizeof(buf), "%s/lib/l2tp/plugins/%s", PREFIX, fname); ++ snprintf(buf, sizeof(buf), "%s/lib/rp-l2tpd/plugins/%s", PREFIX, fname); + buf[sizeof(buf)-1] = 0; + handle = dlopen(buf, RTLD_NOW); + } diff --git a/net-dialup/rp-l2tp/files/rp-l2tp-0.4-gentoo.diff.bz2 b/net-dialup/rp-l2tp/files/rp-l2tp-0.4-gentoo.diff.bz2 deleted file mode 100644 index bbc6e05002acc6442bbf378d2c84974fe38c287e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2922 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 U7O81JS^whhNT&)C4lH0B0ByyfZU6uP diff --git a/net-dialup/rp-l2tp/rp-l2tp-0.4.ebuild b/net-dialup/rp-l2tp/rp-l2tp-0.4.ebuild index 9973ced4928e..1d9ff93f96e7 100644 --- a/net-dialup/rp-l2tp/rp-l2tp-0.4.ebuild +++ b/net-dialup/rp-l2tp/rp-l2tp-0.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-l2tp/rp-l2tp-0.4.ebuild,v 1.2 2004/10/17 10:02:45 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-l2tp/rp-l2tp-0.4.ebuild,v 1.3 2004/11/20 10:16:54 mrness Exp $ inherit eutils @@ -9,23 +9,23 @@ HOMEPAGE="http://sourceforge.net/projects/rp-l2tp/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" DEPEND="virtual/libc" LICENSE="GPL-2" -KEYWORDS="~x86 ~amd64 ~ppc" +KEYWORDS="x86 ~amd64 ~ppc" SLOT="0" IUSE="" src_unpack() { - unpack ${A} || die - cd ${S} || die - epatch ${FILESDIR}/${P}-gentoo.diff.bz2 + unpack ${A} || die "failed to unpack sources" + cd ${S} || die "source dir not found" + epatch ${FILESDIR}/${P}-gentoo.diff || die "failed to apply patch" } src_compile() { - econf || die - emake || die + econf || die "configure failed" + emake || die "make failed" } src_install() { - make RPM_INSTALL_ROOT=${D} install || die + make RPM_INSTALL_ROOT=${D} install || die "make install failed" dodoc README newdoc l2tp.conf rp-l2tpd.conf -- 2.26.2