Gentoo Archives: gentoo-commits

From: Yixun Lan <dlan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/tinc/
Date: Mon, 15 Apr 2019 07:12:11
Message-Id: 1555312306.d74c25791f6596212974d4d43ddab21edd1b6215.dlan@gentoo
1 commit: d74c25791f6596212974d4d43ddab21edd1b6215
2 Author: Yixun Lan <dlan <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 15 07:10:08 2019 +0000
4 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 15 07:11:46 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d74c2579
7
8 net-vpn/tinc: drop old versions
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
12
13 net-vpn/tinc/Manifest | 2 -
14 net-vpn/tinc/tinc-1.0.35-r1.ebuild | 54 --------------------
15 net-vpn/tinc/tinc-1.0.35.ebuild | 42 ---------------
16 net-vpn/tinc/tinc-1.1_pre16-r1.ebuild | 96 -----------------------------------
17 4 files changed, 194 deletions(-)
18
19 diff --git a/net-vpn/tinc/Manifest b/net-vpn/tinc/Manifest
20 index 63c79ddf921..3c00a622ed5 100644
21 --- a/net-vpn/tinc/Manifest
22 +++ b/net-vpn/tinc/Manifest
23 @@ -1,6 +1,4 @@
24 -DIST tinc-1.0.35-upstream-patches-0.tar.xz 2884 BLAKE2B a01ee1a372cc366402c005a48adccd7e31bd3182c1fc6df2dc27aecd622266be06f2c25aa169794b2970fe1f8218b7fa813365f8852e165ed2356ed885c5fde3 SHA512 c95add88e05dc7dc8d09618dd07870e400e1fe28c8f864acbf131d9616d75337fd1d2d7b44ee80c3f31e1b713f258bb9d575956114e73fea781488d2b477a5f5
25 DIST tinc-1.0.35-upstream-patches-1.tar.xz 6028 BLAKE2B d236125211efda0c8b5aa4e93a278fec17d57ecb257ea057ca67f2a465d1da7d069f6d3a97220dc1e40123266bc2fc68685d2ea2e143033a12199278b073c31b SHA512 8ae2b96d5f296bc5d0d21fa814832ccafdb5595b06d60d72a090eadb4aade9e386990801b5e1a8cca722f88881aa2d21e70f9154570feede6a9771a0eaec83ab
26 DIST tinc-1.0.35.tar.gz 499277 BLAKE2B 419b581167614d534b6f2f3b804657f088c013529d7738766aff199da775860ffed42ecb61e8ed008c5b6fa410f071e2fe1ca59f0c6e443c0a8017cd10c31ce3 SHA512 037867306c21506d57d69d35c0f246b2936022047978fa3e01464b5f6b65f109760507d9cc740f82f8166f39c5ce44d9f8dde55655a6372dacd5b5974aeaee32
27 DIST tinc-1.1-upstream-patches-2.tar.xz 23500 BLAKE2B ab44d2efcd494c6a49e9e0bc109670a586b087d5ce1daab9b9cdf8f50a4c9b9d927e102fe947e75e6f7be509ba9315936315006b557b39639399bc7f40109f5f SHA512 351537f212421e7fe28fcf97293550edaa4c4c8a578bf4eeca34ae591caefb222df4d5d96bfa03bddd6afcb5143e68b59f5341b2a6412c053a3cecf4fdd0bee8
28 -DIST tinc-1.1pre16.tar.gz 703679 BLAKE2B c02636f52983c1fdebe28058a5e49f3952ac10b238c9d8f01a10b140960803f197a057c883860ca259b949883c406cf74f518d0e45bf84f10566a964570daf9b SHA512 b32a0a734a4c8a91bad4cef4177cb45757c97c09dc179da1e3357f2fde48b3b0747587dbac31ecb5400e1553b6712d474a6a1808ac24bce1a3494c1842bb6c43
29 DIST tinc-1.1pre17.tar.gz 927313 BLAKE2B d16789b64f6d11deda4752fdeeb603fe62efd6b1d68b0286fbe9c329d8ea51494df59e0e5bf1564b25a0ed44e9244799eb61f73de9ded6a1a418417453adddc4 SHA512 b966dbfa522e12ff6766c4deb54a9da29cddc15c3a1df0f0e084df27ee5f1421ffbebc0e29472b1bcd79ea8b41f8c0ef904172e333dcba0b85bafe4654a63b30
30
31 diff --git a/net-vpn/tinc/tinc-1.0.35-r1.ebuild b/net-vpn/tinc/tinc-1.0.35-r1.ebuild
32 deleted file mode 100644
33 index 1f2d089df01..00000000000
34 --- a/net-vpn/tinc/tinc-1.0.35-r1.ebuild
35 +++ /dev/null
36 @@ -1,54 +0,0 @@
37 -# Copyright 1999-2019 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=7
41 -inherit systemd
42 -
43 -DESCRIPTION="tinc is an easy to configure VPN implementation"
44 -HOMEPAGE="http://www.tinc-vpn.org/"
45 -
46 -UPSTREAM_VER=0
47 -
48 -[[ -n ${UPSTREAM_VER} ]] && \
49 - UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
50 -
51 -SRC_URI="http://www.tinc-vpn.org/packages/${P}.tar.gz
52 - ${UPSTREAM_PATCHSET_URI}"
53 -
54 -LICENSE="GPL-2"
55 -SLOT="0"
56 -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
57 -IUSE="libressl +lzo uml vde +zlib"
58 -
59 -DEPEND="
60 - !libressl? ( dev-libs/openssl:0= )
61 - libressl? ( dev-libs/libressl:0= )
62 - lzo? ( dev-libs/lzo:2 )
63 - zlib? ( sys-libs/zlib )"
64 -RDEPEND="${DEPEND}
65 - vde? ( net-misc/vde )"
66 -
67 -# Upstream's patchset
68 -if [[ -n ${UPSTREAM_VER} ]]; then
69 - PATCHES=( "${WORKDIR}"/patches-upstream )
70 -fi
71 -
72 -src_configure() {
73 - econf \
74 - --enable-jumbograms \
75 - --disable-tunemu \
76 - $(use_enable lzo) \
77 - $(use_enable uml) \
78 - $(use_enable vde) \
79 - $(use_enable zlib)
80 -}
81 -
82 -src_install() {
83 - emake DESTDIR="${D}" install
84 - dodir /etc/tinc
85 - dodoc AUTHORS NEWS README THANKS
86 - doconfd "${FILESDIR}"/tinc.networks
87 - newconfd "${FILESDIR}"/tincd.conf tincd
88 - newinitd "${FILESDIR}"/tincd-r1 tincd
89 - systemd_newunit "${FILESDIR}"/tincd_at.service "tincd@.service"
90 -}
91
92 diff --git a/net-vpn/tinc/tinc-1.0.35.ebuild b/net-vpn/tinc/tinc-1.0.35.ebuild
93 deleted file mode 100644
94 index 8d387dbc59c..00000000000
95 --- a/net-vpn/tinc/tinc-1.0.35.ebuild
96 +++ /dev/null
97 @@ -1,42 +0,0 @@
98 -# Copyright 1999-2018 Gentoo Foundation
99 -# Distributed under the terms of the GNU General Public License v2
100 -
101 -EAPI="6"
102 -inherit systemd
103 -
104 -DESCRIPTION="tinc is an easy to configure VPN implementation"
105 -HOMEPAGE="http://www.tinc-vpn.org/"
106 -SRC_URI="http://www.tinc-vpn.org/packages/${P}.tar.gz"
107 -
108 -LICENSE="GPL-2"
109 -SLOT="0"
110 -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
111 -IUSE="libressl +lzo uml vde +zlib"
112 -
113 -DEPEND="
114 - !libressl? ( dev-libs/openssl:0= )
115 - libressl? ( dev-libs/libressl:0= )
116 - lzo? ( dev-libs/lzo:2 )
117 - zlib? ( sys-libs/zlib )"
118 -RDEPEND="${DEPEND}
119 - vde? ( net-misc/vde )"
120 -
121 -src_configure() {
122 - econf \
123 - --enable-jumbograms \
124 - --disable-tunemu \
125 - $(use_enable lzo) \
126 - $(use_enable uml) \
127 - $(use_enable vde) \
128 - $(use_enable zlib)
129 -}
130 -
131 -src_install() {
132 - emake DESTDIR="${D}" install
133 - dodir /etc/tinc
134 - dodoc AUTHORS NEWS README THANKS
135 - doconfd "${FILESDIR}"/tinc.networks
136 - newconfd "${FILESDIR}"/tincd.conf tincd
137 - newinitd "${FILESDIR}"/tincd-r1 tincd
138 - systemd_newunit "${FILESDIR}"/tincd_at.service "tincd@.service"
139 -}
140
141 diff --git a/net-vpn/tinc/tinc-1.1_pre16-r1.ebuild b/net-vpn/tinc/tinc-1.1_pre16-r1.ebuild
142 deleted file mode 100644
143 index f252a1217c3..00000000000
144 --- a/net-vpn/tinc/tinc-1.1_pre16-r1.ebuild
145 +++ /dev/null
146 @@ -1,96 +0,0 @@
147 -# Copyright 1999-2018 Gentoo Foundation
148 -# Distributed under the terms of the GNU General Public License v2
149 -
150 -EAPI=6
151 -
152 -MY_PV=${PV/_/}
153 -MY_P=${PN}-${MY_PV}
154 -
155 -PYTHON_COMPAT=( python2_7 )
156 -
157 -inherit autotools python-single-r1 systemd
158 -
159 -DESCRIPTION="tinc is an easy to configure VPN implementation"
160 -HOMEPAGE="http://www.tinc-vpn.org/"
161 -
162 -# UPSTREAM_VER=1
163 -
164 -[[ -n ${UPSTREAM_VER} ]] && \
165 - UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-1.1-upstream-patches-${UPSTREAM_VER}.tar.xz"
166 -
167 -SRC_URI="http://www.tinc-vpn.org/packages/${MY_P}.tar.gz
168 - ${UPSTREAM_PATCHSET_URI}"
169 -
170 -LICENSE="GPL-2"
171 -SLOT="0"
172 -KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
173 -IUSE="+lzo +ncurses libressl +readline +ssl uml vde upnp +zlib"
174 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
175 -
176 -DEPEND="
177 - ${PYTHON_DEPS}
178 - ssl? (
179 - !libressl? ( dev-libs/openssl:0= )
180 - libressl? ( dev-libs/libressl:0= )
181 - )
182 - lzo? ( dev-libs/lzo:2 )
183 - ncurses? ( sys-libs/ncurses:= )
184 - readline? ( sys-libs/readline:= )
185 - upnp? ( net-libs/miniupnpc )
186 - zlib? ( sys-libs/zlib )"
187 -RDEPEND="${DEPEND}
188 - vde? ( net-misc/vde )"
189 -S="${WORKDIR}/${MY_P}"
190 -
191 -# Upstream's patchset
192 -if [[ -n ${UPSTREAM_VER} ]]; then
193 - PATCHES=( "${WORKDIR}"/patches-upstream )
194 -fi
195 -
196 -PATCHES+=(
197 - "${FILESDIR}"/${PF}-fix-paths.patch #560528
198 - "${FILESDIR}"/${PN}-1.1-tinfo.patch #621868
199 -)
200 -
201 -src_prepare() {
202 - default
203 - eautoreconf
204 -
205 - # Fix the static (failing UNKNOWN) version in the autoconf
206 - # NOTE: When updating the ebuild, make sure to check that this
207 - # line number hasn't changed in the upstream sources.
208 - sed -i "6d" configure.ac
209 - sed -i "6iAC_INIT([tinc], ${PVR})" configure.ac
210 -}
211 -
212 -src_configure() {
213 - econf \
214 - --enable-jumbograms \
215 - --disable-silent-rules \
216 - --enable-legacy-protocol \
217 - --disable-tunemu \
218 - --with-systemd="$(systemd_get_systemunitdir)" \
219 - $(use_enable lzo) \
220 - $(use_enable ncurses curses) \
221 - $(use_enable readline) \
222 - $(use_enable uml) \
223 - $(use_enable vde) \
224 - $(use_enable zlib) \
225 - $(use_enable upnp miniupnpc) \
226 - $(use_with ssl openssl)
227 - #--without-libgcrypt \
228 -}
229 -
230 -src_install() {
231 - emake DESTDIR="${D}" install
232 - dodir /etc/tinc
233 - dodoc AUTHORS NEWS README THANKS
234 - doconfd "${FILESDIR}"/tinc.networks
235 - newconfd "${FILESDIR}"/tincd.conf tincd
236 - newinitd "${FILESDIR}"/tincd-r2 tincd
237 -}
238 -
239 -pkg_postinst() {
240 - elog "This package requires the tun/tap kernel device."
241 - elog "Look at http://www.tinc-vpn.org/ for how to configure tinc"
242 -}