Gentoo Archives: gentoo-commits

From: Piotr Karbowski <slashbeast@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/xl2tpd/
Date: Wed, 01 Apr 2020 09:34:14
Message-Id: 1585733641.85c7553de73434c9a9ff972c9b16a67f283e78fb.slashbeast@gentoo
1 commit: 85c7553de73434c9a9ff972c9b16a67f283e78fb
2 Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 1 09:33:05 2020 +0000
4 Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 1 09:34:01 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85c7553d
7
8 net-dialup/xl2tpd-1.3.15: version bump.
9
10 Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
11
12 net-dialup/xl2tpd/Manifest | 1 +
13 net-dialup/xl2tpd/xl2tpd-1.3.15.ebuild | 48 ++++++++++++++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/net-dialup/xl2tpd/Manifest b/net-dialup/xl2tpd/Manifest
17 index efd75effbd7..c7005a31229 100644
18 --- a/net-dialup/xl2tpd/Manifest
19 +++ b/net-dialup/xl2tpd/Manifest
20 @@ -2,3 +2,4 @@ DIST xl2tpd-1.3.10.tar.gz 510777 BLAKE2B 15ec09a6186d20facd4eceeca87a33a4676644a
21 DIST xl2tpd-1.3.11.tar.gz 510652 BLAKE2B c120ba0a2bb96a87334743319808e4a1dfb1b95140fc37df51c33e176bdefdac547ad27d38731bab9d94a939b9a3ca93404ef17c8076e16567a3ecc5b568fb47 SHA512 9fd478aa6b7e22867aa977aa0c22ba9d856e3b659aa0ffdcdb17aa0d8358cceab37da565eeb799590d65fc2914720715423e006f6bbe7ca742f09d7cced52cb7
22 DIST xl2tpd-1.3.12.tar.gz 513173 BLAKE2B a1f2e4d0e1af4402679eeec6589ca17b0422c664d37beae628511f988f6508ca22160d4657f8ff84bc5e5aac4d3e837c501b4d307964530044a792f2ecc599ab SHA512 e18f15ba038cd358fbad9dd7284c5f3c34273d9291bf8c66494c46d78150acfc1666cbf935fb5a66bd1f0220014f0b49fa0f7f55cb42de125e4123112c6eb00b
23 DIST xl2tpd-1.3.13.tar.gz 513958 BLAKE2B 66c2bcbb54191445f1a519d507b2ec67b48d9e994db09b8c6fc9980b03bf5aab09a2f6187170f0e8639bd8a323b8417bf6e5d0a80fd9e45f8adc310902b256ae SHA512 02e3502a75f41745c001fe1a34dd9900c3a77eea274e08f9361f7145ac24e9a663975efe85ef6aef7c6da1aa9f3369eeb5542ac26e90b9d59753158a17b69ee4
24 +DIST xl2tpd-1.3.15.tar.gz 524960 BLAKE2B 5349b4bce7e4b8ea26ec3c739847456b6c8fdac667c8ad9d5241d3c83bc450a47c88c99c37cea2b0461fd4abb3e32da67de7c8ab95d288c8c423bea9af4abf1d SHA512 f65c7f2f1c03728d825b8857baa0c2297e9d5dbd97a2375484a32851326db5951deb9bf3598cbec860f0787d1bb577b4f0a47372e3244fd92c8bad7ce684889b
25
26 diff --git a/net-dialup/xl2tpd/xl2tpd-1.3.15.ebuild b/net-dialup/xl2tpd/xl2tpd-1.3.15.ebuild
27 new file mode 100644
28 index 00000000000..a0c41af7ca2
29 --- /dev/null
30 +++ b/net-dialup/xl2tpd/xl2tpd-1.3.15.ebuild
31 @@ -0,0 +1,48 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit systemd toolchain-funcs
38 +
39 +DESCRIPTION="A modern version of the Layer 2 Tunneling Protocol (L2TP) daemon"
40 +HOMEPAGE="https://github.com/xelerance/xl2tpd"
41 +SRC_URI="https://github.com/xelerance/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="GPL-2+"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86"
46 +IUSE="+kernel"
47 +
48 +DEPEND="
49 + net-libs/libpcap
50 + >=sys-kernel/linux-headers-2.6"
51 +
52 +RDEPEND="
53 + ${DEPEND}
54 + net-dialup/ppp"
55 +
56 +DOCS=(CREDITS README.md BUGS CHANGES TODO doc/README.patents)
57 +
58 +src_compile() {
59 + tc-export CC
60 + local OSFLAGS="-DLINUX"
61 + use kernel && OSFLAGS+=" -DUSE_KERNEL"
62 + emake OSFLAGS="$OSFLAGS"
63 +}
64 +
65 +src_install() {
66 + emake PREFIX=/usr DESTDIR="${D}" install
67 +
68 + newinitd "${FILESDIR}"/xl2tpd-init-r1 xl2tpd
69 +
70 + systemd_dounit "${FILESDIR}"/xl2tpd.service
71 + systemd_dotmpfilesd "${FILESDIR}"/xl2tpd.conf
72 +
73 + einstalldocs
74 +
75 + insinto /etc/xl2tpd
76 + newins doc/l2tpd.conf.sample xl2tpd.conf
77 + insopts -m 0600
78 + newins doc/l2tp-secrets.sample l2tp-secrets
79 +}