1 |
commit: f4ef075a03fc9bf9b2cf0b1ae4d9fda17b6c6058 |
2 |
Author: Torsten Alex <tee <AT> itc-gmbh <DOT> de> |
3 |
AuthorDate: Sun Feb 17 03:41:12 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 19 14:10:14 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4ef075a |
7 |
|
8 |
net-dialup/xl2tpd: bump version to 1.3.13, readd kernel mode |
9 |
|
10 |
Closes: https://bugs.gentoo.org/677678 |
11 |
Signed-off-by: Torsten Alex <tee <AT> itc-gmbh.de> |
12 |
Package-Manager: Portage-2.3.51, Repoman-2.3.10 |
13 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
14 |
|
15 |
net-dialup/xl2tpd/Manifest | 1 + |
16 |
net-dialup/xl2tpd/metadata.xml | 1 + |
17 |
net-dialup/xl2tpd/xl2tpd-1.3.13.ebuild | 48 ++++++++++++++++++++++++++++++++++ |
18 |
3 files changed, 50 insertions(+) |
19 |
|
20 |
diff --git a/net-dialup/xl2tpd/Manifest b/net-dialup/xl2tpd/Manifest |
21 |
index e9deade5332..be0431697f7 100644 |
22 |
--- a/net-dialup/xl2tpd/Manifest |
23 |
+++ b/net-dialup/xl2tpd/Manifest |
24 |
@@ -1,4 +1,5 @@ |
25 |
DIST xl2tpd-1.3.10.tar.gz 510777 BLAKE2B 15ec09a6186d20facd4eceeca87a33a4676644a6976c2b69a61b288a2534c354bcc9b64eca4305aa7774d3b5fc29c97078478bebec7e81f8071865b29a97809e SHA512 304b8cd098608a866d32c65c55ba98a01e10abb473d8bff488c723fd1f6d4a66cf98c6d3044f7986a334739693767608c48999f873e95a51f0fa6c23cb61ecd4 |
26 |
DIST xl2tpd-1.3.11.tar.gz 510652 BLAKE2B c120ba0a2bb96a87334743319808e4a1dfb1b95140fc37df51c33e176bdefdac547ad27d38731bab9d94a939b9a3ca93404ef17c8076e16567a3ecc5b568fb47 SHA512 9fd478aa6b7e22867aa977aa0c22ba9d856e3b659aa0ffdcdb17aa0d8358cceab37da565eeb799590d65fc2914720715423e006f6bbe7ca742f09d7cced52cb7 |
27 |
DIST xl2tpd-1.3.12.tar.gz 513173 BLAKE2B a1f2e4d0e1af4402679eeec6589ca17b0422c664d37beae628511f988f6508ca22160d4657f8ff84bc5e5aac4d3e837c501b4d307964530044a792f2ecc599ab SHA512 e18f15ba038cd358fbad9dd7284c5f3c34273d9291bf8c66494c46d78150acfc1666cbf935fb5a66bd1f0220014f0b49fa0f7f55cb42de125e4123112c6eb00b |
28 |
+DIST xl2tpd-1.3.13.tar.gz 513958 BLAKE2B 66c2bcbb54191445f1a519d507b2ec67b48d9e994db09b8c6fc9980b03bf5aab09a2f6187170f0e8639bd8a323b8417bf6e5d0a80fd9e45f8adc310902b256ae SHA512 02e3502a75f41745c001fe1a34dd9900c3a77eea274e08f9361f7145ac24e9a663975efe85ef6aef7c6da1aa9f3369eeb5542ac26e90b9d59753158a17b69ee4 |
29 |
DIST xl2tpd-1.3.6.tar.gz 553981 BLAKE2B 3e79534fe3eaa906cf09da93b7f6be2931e4c7fc8ff43dd9683ae846e1e2351c3bee81ac8853dee6c7e45ad8b60f8727edbd95d6dd30cc508288227b09da351c SHA512 868c65660e6a45fb8dc22b95542e9d6ca0dc8e5033cc9df04171a651ef273bc5d711a85f61d4a971d714089f7a10ee67460d8ab9f3c007fcffe0e11e81ae0bfd |
30 |
|
31 |
diff --git a/net-dialup/xl2tpd/metadata.xml b/net-dialup/xl2tpd/metadata.xml |
32 |
index 3da1a1ee382..8066f7a44b9 100644 |
33 |
--- a/net-dialup/xl2tpd/metadata.xml |
34 |
+++ b/net-dialup/xl2tpd/metadata.xml |
35 |
@@ -12,6 +12,7 @@ |
36 |
<longdescription>xl2tpd is a fork of l2tpd Layer 2 Tunneling Protocol (L2TP) daemon that can be used to transfer frames of OSI layer 2 protocols through an IP tunnel. While it provides authentication via CHAP or PAP it does not provide encryption itself and should therefore be externally secured (via IPSEC).</longdescription> |
37 |
<use> |
38 |
<flag name="dnsretry">Patch for host lookup retries, activated by redial feature</flag> |
39 |
+ <flag name="kernel">Enable kernel interface for PPPoL2TP</flag> |
40 |
</use> |
41 |
<upstream> |
42 |
<remote-id type="github">xelerance/xl2tpd</remote-id> |
43 |
|
44 |
diff --git a/net-dialup/xl2tpd/xl2tpd-1.3.13.ebuild b/net-dialup/xl2tpd/xl2tpd-1.3.13.ebuild |
45 |
new file mode 100644 |
46 |
index 00000000000..ff05839b955 |
47 |
--- /dev/null |
48 |
+++ b/net-dialup/xl2tpd/xl2tpd-1.3.13.ebuild |
49 |
@@ -0,0 +1,48 @@ |
50 |
+# Copyright 1999-2019 Gentoo Foundation |
51 |
+# Distributed under the terms of the GNU General Public License v2 |
52 |
+ |
53 |
+EAPI=6 |
54 |
+ |
55 |
+inherit systemd toolchain-funcs |
56 |
+ |
57 |
+DESCRIPTION="A modern version of the Layer 2 Tunneling Protocol (L2TP) daemon" |
58 |
+HOMEPAGE="https://github.com/xelerance/xl2tpd" |
59 |
+SRC_URI="https://github.com/xelerance/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
60 |
+ |
61 |
+LICENSE="GPL-2+" |
62 |
+SLOT="0" |
63 |
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86" |
64 |
+IUSE="+kernel" |
65 |
+ |
66 |
+DEPEND=" |
67 |
+ net-libs/libpcap |
68 |
+ >=sys-kernel/linux-headers-2.6" |
69 |
+ |
70 |
+RDEPEND=" |
71 |
+ ${DEPEND} |
72 |
+ net-dialup/ppp" |
73 |
+ |
74 |
+DOCS=(CREDITS README.xl2tpd BUGS CHANGES TODO doc/README.patents) |
75 |
+ |
76 |
+src_compile() { |
77 |
+ tc-export CC |
78 |
+ local OSFLAGS="-DLINUX" |
79 |
+ use kernel && OSFLAGS+=" -DUSE_KERNEL" |
80 |
+ emake OSFLAGS="$OSFLAGS" |
81 |
+} |
82 |
+ |
83 |
+src_install() { |
84 |
+ emake PREFIX=/usr DESTDIR="${D}" install |
85 |
+ |
86 |
+ newinitd "${FILESDIR}"/xl2tpd-init-r1 xl2tpd |
87 |
+ |
88 |
+ systemd_dounit "${FILESDIR}"/xl2tpd.service |
89 |
+ systemd_dotmpfilesd "${FILESDIR}"/xl2tpd.conf |
90 |
+ |
91 |
+ einstalldocs |
92 |
+ |
93 |
+ insinto /etc/xl2tpd |
94 |
+ newins doc/l2tpd.conf.sample xl2tpd.conf |
95 |
+ insopts -m 0600 |
96 |
+ newins doc/l2tp-secrets.sample l2tp-secrets |
97 |
+} |