Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/tinc/
Date: Mon, 25 Apr 2016 10:53:08
Message-Id: 1461581592.5dd9633ca504055d258388943b3544bbf3b4ae06.blueness@gentoo
1 commit: 5dd9633ca504055d258388943b3544bbf3b4ae06
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 25 10:47:10 2016 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 25 10:53:12 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dd9633c
7
8 net-misc/tinc: version bump to 1.1pre12
9
10 Package-Manager: portage-2.2.26
11
12 net-misc/tinc/Manifest | 1 +
13 net-misc/tinc/tinc-1.1_pre12.ebuild | 76 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 77 insertions(+)
15
16 diff --git a/net-misc/tinc/Manifest b/net-misc/tinc/Manifest
17 index de7baf9..a0caf86 100644
18 --- a/net-misc/tinc/Manifest
19 +++ b/net-misc/tinc/Manifest
20 @@ -3,3 +3,4 @@ DIST tinc-1.0.26.tar.gz 473681 SHA256 2b4319ddb3bd2867e72532a233f640a58c2f4d83f1
21 DIST tinc-1.0.27.tar.gz 479050 SHA256 24e33d336a807e4c892df9f8602e4a7bbbd6dcc43a6645773caa9171b5466697 SHA512 fe5b9ff139ad369f878a307a14a34465f3b875f3c023fb26631df7ddc5db74821495923972d42ca0ed275b0db6b29a54924fd79ade5b9169e0e0c3bdb95633e0 WHIRLPOOL acda9379a7cdb5357acbec0d068ba931d6b95ece7f2f8807b46b3ec2504d4b293b958625a981106c470c7e73fa9bcc6b7c1174ef58670d416579b9b96c5baaf0
22 DIST tinc-1.0.28.tar.gz 488837 SHA256 0b502699360f09ce2128a39cf02abca07bfc699fc02ce829b3a90cf5e1e8b344 SHA512 b449f59e45b72a75271d54af1b9359f69040e81960533ca70d2a1f84b6bb913ffe1e6d11265eb1d11b5577855ed495898ef3c387d14268b159f352c8e754f5ec WHIRLPOOL 9558328fc01e9ef716330167c958bdfe45c12365dccdd3dc8c878a1dd122a0710d41e434a4ec0f5a54427b2b04fd7204f5225bef8c64ddd9fde7e6d800e7a996
23 DIST tinc-1.1pre11.tar.gz 659259 SHA256 942594563d3aef926a2d04e9ece90c16daf1c700e99e3b91ff749e8377fbf757 SHA512 aca746cf660f560709bd5c9eea7aaa35fcdb123e82ebe1c73b69350b3c7829c454da8618ec6957cb4e1298fc594bd1a4083b8c3a6af64345199edad2db86fc9a WHIRLPOOL 54c2fd13de1329713f6e64d61a523f940052276283148b2030337a3bf6195c40bbd5140cdadc712dc17e1720d930851401b4b2d08cac09cd26c5796146b8a593
24 +DIST tinc-1.1pre12.tar.gz 695939 SHA256 f1d47265e94873bded1caea2b5d025d74b2fa338d8d3f7c725b834c56438dcce SHA512 ef1831b3715d4e209e1005623052ae4979dcdf56df6375ffdf26db7d948275260f56d92c11797926e723f0615c9d3d5ee123a86ee0de5078ce375b887a712670 WHIRLPOOL ea660d0c2a9648e1367224144def9f08e780dde930603b72805aedd3032509706641e13316bba568e156e32185e3a85e92143ffa34c277675f323c2bb6433b9d
25
26 diff --git a/net-misc/tinc/tinc-1.1_pre12.ebuild b/net-misc/tinc/tinc-1.1_pre12.ebuild
27 new file mode 100644
28 index 0000000..0f2a9ae
29 --- /dev/null
30 +++ b/net-misc/tinc/tinc-1.1_pre12.ebuild
31 @@ -0,0 +1,76 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI="5"
37 +
38 +MY_PV=${PV/_/}
39 +MY_P=${PN}-${MY_PV}
40 +
41 +PYTHON_COMPAT=( python2_7 )
42 +inherit eutils multilib python-any-r1
43 +
44 +DESCRIPTION="tinc is an easy to configure VPN implementation"
45 +HOMEPAGE="http://www.tinc-vpn.org/"
46 +SRC_URI="http://www.tinc-vpn.org/packages/${MY_P}.tar.gz"
47 +
48 +LICENSE="GPL-2"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
51 +IUSE="+lzo +ncurses gui libressl +readline +ssl uml vde upnp +zlib"
52 +
53 +DEPEND="
54 + ssl? (
55 + !libressl? ( dev-libs/openssl:0= )
56 + libressl? ( dev-libs/libressl:0= )
57 + )
58 + lzo? ( dev-libs/lzo:2 )
59 + ncurses? ( sys-libs/ncurses:= )
60 + readline? ( sys-libs/readline:= )
61 + upnp? ( net-libs/miniupnpc )
62 + zlib? ( sys-libs/zlib )"
63 +RDEPEND="${DEPEND}
64 + vde? ( net-misc/vde )
65 + ${PYTHON_DEPS}
66 + gui? ( $(python_gen_any_dep '
67 + dev-python/wxpython[${PYTHON_USEDEP}]
68 + ') )"
69 +
70 +S="${WORKDIR}/${MY_P}"
71 +
72 +src_configure() {
73 + econf \
74 + --enable-jumbograms \
75 + --disable-silent-rules \
76 + --disable-tunemu \
77 + --with-systemd=/usr/$(get_libdir)/systemd/system \
78 + $(use_enable lzo) \
79 + $(use_enable ncurses curses) \
80 + $(use_enable readline) \
81 + $(use_enable uml) \
82 + $(use_enable vde) \
83 + $(use_enable zlib) \
84 + $(use_with ssl openssl) \
85 + $(use_with upnp miniupnpc )
86 + #--without-libgcrypt \
87 +}
88 +
89 +src_install() {
90 + emake DESTDIR="${D}" install
91 + dodir /etc/tinc
92 + dodoc AUTHORS NEWS README THANKS
93 + doconfd "${FILESDIR}"/tinc.networks
94 + newconfd "${FILESDIR}"/tincd.conf tincd
95 + newinitd "${FILESDIR}"/tincd-r1 tincd
96 +
97 + if use gui; then
98 + python_fix_shebang "${ED}"/usr/bin/tinc-gui
99 + else
100 + rm -f "${ED}"/usr/bin/tinc-gui || die
101 + fi
102 +}
103 +
104 +pkg_postinst() {
105 + elog "This package requires the tun/tap kernel device."
106 + elog "Look at http://www.tinc-vpn.org/ for how to configure tinc"
107 +}