Gentoo Archives: gentoo-commits

From: "Mike Gilbert (floppym)" <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dialup/xl2tpd: xl2tpd-1.3.1-r1.ebuild ChangeLog
Date: Tue, 25 Dec 2012 17:58:38
Message-Id: 20121225175813.1C42C2171D@flycatcher.gentoo.org
1 floppym 12/12/25 17:58:13
2
3 Modified: ChangeLog
4 Added: xl2tpd-1.3.1-r1.ebuild
5 Log:
6 Fix path in init script.
7
8 (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
9
10 Revision Changes Path
11 1.30 net-dialup/xl2tpd/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/xl2tpd/ChangeLog?rev=1.30&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/xl2tpd/ChangeLog?rev=1.30&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/xl2tpd/ChangeLog?r1=1.29&r2=1.30
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-dialup/xl2tpd/ChangeLog,v
20 retrieving revision 1.29
21 retrieving revision 1.30
22 diff -u -r1.29 -r1.30
23 --- ChangeLog 14 Sep 2012 20:34:25 -0000 1.29
24 +++ ChangeLog 25 Dec 2012 17:58:12 -0000 1.30
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-dialup/xl2tpd
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/xl2tpd/ChangeLog,v 1.29 2012/09/14 20:34:25 darkside Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/xl2tpd/ChangeLog,v 1.30 2012/12/25 17:58:12 floppym Exp $
30 +
31 +*xl2tpd-1.3.1-r1 (25 Dec 2012)
32 +
33 + 25 Dec 2012; Mike Gilbert <floppym@g.o> +xl2tpd-1.3.1-r1.ebuild,
34 + files/xl2tpd-init-r1:
35 + Fix path in init script.
36
37 14 Sep 2012; Jeremy Olexa <darkside@g.o> -xl2tpd-1.2.4.ebuild,
38 -files/xl2tpd-1.2.4-as-needed.patch, -xl2tpd-1.2.6-r1.ebuild,
39
40
41
42 1.1 net-dialup/xl2tpd/xl2tpd-1.3.1-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/xl2tpd/xl2tpd-1.3.1-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/xl2tpd/xl2tpd-1.3.1-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: xl2tpd-1.3.1-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-dialup/xl2tpd/xl2tpd-1.3.1-r1.ebuild,v 1.1 2012/12/25 17:58:12 floppym Exp $
52
53 EAPI="4"
54
55 inherit eutils toolchain-funcs
56
57 DESCRIPTION="A modern version of the Layer 2 Tunneling Protocol (L2TP) daemon"
58 HOMEPAGE="http://www.xelerance.com/services/software/xl2tpd/"
59 SRC_URI="https://github.com/xelerance/${PN}/tarball/v${PV} -> ${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE="dnsretry"
65
66 DEPEND="net-libs/libpcap"
67 RDEPEND="${DEPEND}
68 net-dialup/ppp"
69
70 S="${WORKDIR}/xelerance-${PN}-95445fc"
71
72 src_prepare() {
73 epatch "${FILESDIR}/${PN}-1.3.0-LDFLAGS.patch"
74 sed -i Makefile -e 's| -O2 ||g' || die "sed Makefile"
75 # The below patch is questionable. Why wasn't it submitted upstream? If it
76 # ever breaks, it will just be removed. -darkside 20120914
77 use dnsretry && epatch "${FILESDIR}/${PN}-dnsretry.patch"
78 }
79
80 src_compile() {
81 emake CC=$(tc-getCC)
82 }
83
84 src_install() {
85 emake PREFIX=/usr DESTDIR="${D}" install
86
87 dodoc CREDITS README.xl2tpd BUGS CHANGES TODO doc/README.patents doc/rfc2661.txt
88
89 dodir /etc/xl2tpd
90 cp doc/l2tp-secrets.sample "${ED}/etc/xl2tpd/l2tp-secrets" || die
91 cp doc/l2tpd.conf.sample "${ED}/etc/xl2tpd/xl2tpd.conf" || die
92 fperms 0600 /etc/xl2tpd/l2tp-secrets
93 newinitd "${FILESDIR}"/xl2tpd-init-r1 xl2tpd
94 }