forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-vpn/tinc: version bump to 1.0.34
Package-Manager: Portage-2.3.40, Repoman-2.3.9
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
DIST tinc-1.0.31.tar.gz 494877 BLAKE2B bdb47a9026d26cb2681da2a83931063d818a851e9e41dbd27ac131937abda68769b973afba74445bab7999599d766b3375ef853a6ed8740027ba119cfc5d2d89 SHA512 ac694d4ceec19bddebd3d5b9f37eb703a4701b93f65a7bbcdbc0b364f2a4f8b116c85748d06ec7821474de5c4d434caf5448109a0846e15c4a96adb92a0fc622 | ||
DIST tinc-1.0.32.tar.gz 496221 BLAKE2B 692053d2bb690d1b2e76070f3dbae12ff4f90803434f62e0d7de0d1739312e5873abacbacccc976eda9860882846789732750364886961d4c5c164bb88d84a09 SHA512 1533305a062782ec788bcb59f4cbfac76ed401ccfe57b5cbd9a3fd9b76a238dbd0f612071c24b157fec4dfc409c79b1b4fbf6e176510b321dcdd79174632028c | ||
DIST tinc-1.0.33.tar.gz 486374 BLAKE2B 542e9c95aa3dea941315c5a3293c06137be7131bbb4a3ba5d788e7c250327d0b01530db5b3371aee85b1e85a104b9997e9f09a6b33051090da087595e1bcb9da SHA512 f17c7682e177d85a049891255fc590069c7901307951ee93364a7a754f1a7c5ca4b6a6f7ddcb4c9ad150f0155ff7db7112990a3fc3a6496b48bdbfd3b1ae8804 | ||
DIST tinc-1.0.34.tar.gz 484174 BLAKE2B 8ba80983cb1293b03b814f305bd733a2208562b8450a539c0f80c25596c0e05fb7ebc8edf8e6617b9e18d8b96bb49a82098f902e692ce4b85c7c47b1072be2dd SHA512 b711a2c532f8efc94c77e9bbe5213ae284d2a3cb598d2760df700448e495a02ac56baa0393bbc6fbc735bf97a26ca5a79133c92952d98a9086a9ffd273eef725 | ||
DIST tinc-1.1pre15.tar.gz 704145 BLAKE2B e97f044066a3c399b4089ed73e77a78904837031cbf04445390a3132a5cd8cf3e9390c1908b1804364616d16fffdedbae6b88f8a42da7471a42e4c8eea614d0e SHA512 29b109c84a89204a9fe298e3cfb092169a7c3cbb62e0cabdb7fe8eaa01b03343b7d48bf028525754af1a340781de209e0b9412669c256a30e7226a8a21412c17 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Copyright 1999-2018 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI="6" | ||
inherit systemd | ||
|
||
DESCRIPTION="tinc is an easy to configure VPN implementation" | ||
HOMEPAGE="http://www.tinc-vpn.org/" | ||
SRC_URI="http://www.tinc-vpn.org/packages/${P}.tar.gz" | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" | ||
IUSE="libressl +lzo uml vde +zlib" | ||
|
||
DEPEND=" | ||
!libressl? ( dev-libs/openssl:0= ) | ||
libressl? ( dev-libs/libressl:0= ) | ||
lzo? ( dev-libs/lzo:2 ) | ||
zlib? ( sys-libs/zlib )" | ||
RDEPEND="${DEPEND} | ||
vde? ( net-misc/vde )" | ||
|
||
src_configure() { | ||
econf \ | ||
--enable-jumbograms \ | ||
--disable-tunemu \ | ||
$(use_enable lzo) \ | ||
$(use_enable uml) \ | ||
$(use_enable vde) \ | ||
$(use_enable zlib) | ||
} | ||
|
||
src_install() { | ||
emake DESTDIR="${D}" install | ||
dodir /etc/tinc | ||
dodoc AUTHORS NEWS README THANKS | ||
doconfd "${FILESDIR}"/tinc.networks | ||
newconfd "${FILESDIR}"/tincd.conf tincd | ||
newinitd "${FILESDIR}"/tincd-r1 tincd | ||
systemd_newunit "${FILESDIR}"/tincd_at.service "[email protected]" | ||
} | ||
|
||
pkg_postinst() { | ||
elog "This package requires the tun/tap kernel device." | ||
elog "Look at http://www.tinc-vpn.org/ for how to configure tinc" | ||
} |