From a5332b59346f7cbf0fdbd148b54aa8a84aaf8190 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 10 Nov 2017 00:43:02 +0000 Subject: gentoo resync : 10.11.2017 --- net-vpn/libreswan/Manifest | 2 + net-vpn/libreswan/libreswan-3.22.ebuild | 112 +++++++++++++++++++++++++ net-vpn/openfortivpn/Manifest | 4 +- net-vpn/openfortivpn/openfortivpn-1.3.0.ebuild | 38 --------- net-vpn/openfortivpn/openfortivpn-1.5.0.ebuild | 38 +++++++++ net-vpn/tinc/Manifest | 2 + net-vpn/tinc/tinc-1.0.33.ebuild | 47 +++++++++++ net-vpn/tor/Manifest | 4 +- net-vpn/tor/tor-0.3.2.3_alpha.ebuild | 80 ------------------ net-vpn/tor/tor-0.3.2.4_alpha.ebuild | 80 ++++++++++++++++++ 10 files changed, 285 insertions(+), 122 deletions(-) create mode 100644 net-vpn/libreswan/libreswan-3.22.ebuild delete mode 100644 net-vpn/openfortivpn/openfortivpn-1.3.0.ebuild create mode 100644 net-vpn/openfortivpn/openfortivpn-1.5.0.ebuild create mode 100644 net-vpn/tinc/tinc-1.0.33.ebuild delete mode 100644 net-vpn/tor/tor-0.3.2.3_alpha.ebuild create mode 100644 net-vpn/tor/tor-0.3.2.4_alpha.ebuild (limited to 'net-vpn') diff --git a/net-vpn/libreswan/Manifest b/net-vpn/libreswan/Manifest index 0d20aad00a8f..317acab5cd36 100644 --- a/net-vpn/libreswan/Manifest +++ b/net-vpn/libreswan/Manifest @@ -1,5 +1,7 @@ DIST libreswan-3.20.tar.gz 8898915 SHA256 2f0931c11ea0b9303ce1e4ee76ffe9db6f3bd70ceead51fe4ec11e2f40a9ae2e SHA512 89f562412d03e0e9af1bceeda18ab73a749046c37e05dab719468cb537e16803a3b270781de9de88416b2d63b7b0fd85df0c593ca59c30ba3d681526f272fc93 WHIRLPOOL d5ad79f73cbeab90c1ef68a20e1f5205ecc94b37c64e681856fcec4b67aecf6b95733410c2f859410c876c162280f6ea5cb1b264d484861655a38dce51323c18 DIST libreswan-3.21.tar.gz 8945666 SHA256 80d09792d27951fb8ba04e41542d4bc3b31d7a15c2b185f2c48f79a454b30d7c SHA512 f1ef002b3e0869920edfebfc8efd73d9a9f84f64a77ad4832f46b12dfdd3c31cdf48c1473522b63f155058592c46af05995756af5440ca3e9c0fa5207436e0fc WHIRLPOOL b5b081121b296ab7381670491d9a35ca5ef1ba456e830b3207f717a86e2ea89ff1c8ee32dfec7618efbb8b19dbd9059309fcec3a9d59c9080086ec826c420b44 +DIST libreswan-3.22.tar.gz 6910418 SHA256 f32ddabb71f5a1fc95c8d77f200c22a2fb66f5ad75f7654f0e0dd8a7c739fab3 SHA512 93868327394527750590e1297443d3eb1c9a528d680348098fd2913123dac52c9fecd73b855ee00586c2516b8aa00f7f0d158d8e9b19d7487b5fb26432b86aff WHIRLPOOL c0858da39a4f9633d10c06b206eec073bce9cef4e0bac3b51ac2d437b0a616bb3c7a655cc3bb589ba40b8f1d0c0c962a40c7732145d606b34a0c4d1600e65714 EBUILD libreswan-3.20.ebuild 2336 SHA256 f589c8cfd86154d958a9c748296d786c57e64312431b0526bd6292b2dd8beceb SHA512 4c6ecfb7ebcf4d7e27edab37079a84ae0a39b0bf5a6f0b44b194e960c98caccc52d54f51e1a36a39899ea1ce5295561d1f6aa4a66c416c220d1c4e9d083e740d WHIRLPOOL eee80a13cc61f13f7764ec7045ef9d37dda12f0e70139c9d72a3c28cbcbe863a5de594c73af1a918052e54e71f182905054d9adfec84390525b6c47d73551e0b EBUILD libreswan-3.21.ebuild 2570 SHA256 45b159f5391ae053f19ec3436a3c534d371781047e670295c900eaac7e3de102 SHA512 0b646ff5e9658ff114ced0eb168eaf30039ece88e2570e82de4943ccf6414f84170617bfe7127e5187e557139167088cb7d7c8d825349a839092eac6d7eade44 WHIRLPOOL 1db495528fb63d602da63be45856dc0268bef792810d64e3a7d8ba238a17652fd60dad0777ea5da726b308cf6b0dddec661bb9980173b70fae41b680bcb00884 +EBUILD libreswan-3.22.ebuild 2814 SHA256 804052d02773adbe5ab55035eea73bf1a39fe84c73d95664cb1e9b9893b3215a SHA512 4c49bb8a4cfc2fb4f52a07484e6bff60ad46a21337465b438733a9d37f6be690b1b124b0bfbf78998a471e4187487a4907757757d91013dfb41c19eb1d14a9a1 WHIRLPOOL 9b2446e6e4707bdf46ae6d1391206e1785bb55f248c72a921fef11e4b9cb8e1a2bc6a4666102b3f97325ff179cf6f37199fd1179651553703140cd446bcda211 MISC metadata.xml 319 SHA256 f9f78f03580a597eedf2de4f220ee6b1e052a536359463b6dbd75836f82ba926 SHA512 924161f15c0f7a9666a6d7a422b45da679190e1a0f2859b997ddd753cbf49df9da337e5420040210736f76fa712dca3ec8862480f62bd321de71e74bee7c0865 WHIRLPOOL d67152030c351a145afe67484854ced512c7c2aba2a6474a88b0aa67ab0fe6c0c316c29544f295c8b22ef001acc2c61a3fa9fb57e08b06cfb144afcff04f75a0 diff --git a/net-vpn/libreswan/libreswan-3.22.ebuild b/net-vpn/libreswan/libreswan-3.22.ebuild new file mode 100644 index 000000000000..bef31f06ba41 --- /dev/null +++ b/net-vpn/libreswan/libreswan-3.22.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit systemd toolchain-funcs + +SRC_URI="https://download.libreswan.org/${P}.tar.gz" +KEYWORDS="~amd64 ~ppc ~x86" + +DESCRIPTION="IPsec implementation for Linux, fork of Openswan" +HOMEPAGE="https://libreswan.org/" + +LICENSE="GPL-2 BSD-4 RSA DES" +SLOT="0" +IUSE="caps curl dnssec ldap pam seccomp selinux systemd test" + +COMMON_DEPEND=" + dev-libs/gmp:0= + dev-libs/libevent:0= + dev-libs/nspr + caps? ( sys-libs/libcap-ng ) + curl? ( net-misc/curl ) + dnssec? ( net-dns/unbound net-libs/ldns ) + ldap? ( net-nds/openldap ) + pam? ( sys-libs/pam ) + seccomp? ( sys-libs/libseccomp ) + selinux? ( sys-libs/libselinux ) + systemd? ( sys-apps/systemd:0= ) +" +DEPEND="${COMMON_DEPEND} + app-text/docbook-xml-dtd:4.1.2 + app-text/xmlto + dev-libs/nss + sys-devel/bison + sys-devel/flex + virtual/pkgconfig + test? ( dev-python/setproctitle ) +" +RDEPEND="${COMMON_DEPEND} + dev-libs/nss[utils(+)] + sys-apps/iproute2 + !net-misc/openswan + !net-vpn/strongswan + selinux? ( sec-policy/selinux-ipsec ) +" + +usetf() { + usex "$1" true false +} + +src_prepare() { + sed -i -e 's:/sbin/runscript:/sbin/openrc-run:' initsystems/openrc/ipsec.init.in || die + sed -i -e '/^install/ s/postcheck//' -e '/^doinstall/ s/oldinitdcheck//' initsystems/systemd/Makefile || die + default +} + +src_configure() { + tc-export AR CC + export INC_USRLOCAL=/usr + export INC_MANDIR=share/man + export FINALEXAMPLECONFDIR=/usr/share/doc/${PF} + export FINALDOCDIR=/usr/share/doc/${PF}/html + export INITSYSTEM=openrc + export INC_RCDIRS= + export INC_RCDEFAULT=/etc/init.d + export USERCOMPILE= + export USERLINK= + export USE_DNSSEC=$(usetf dnssec) + export USE_LABELED_IPSEC=$(usetf selinux) + export USE_LIBCAP_NG=$(usetf caps) + export USE_LIBCURL=$(usetf curl) + export USE_LINUX_AUDIT=$(usetf selinux) + export USE_LDAP=$(usetf ldap) + export USE_SECCOMP=$(usetf seccomp) + export USE_SYSTEMD_WATCHDOG=$(usetf systemd) + export SD_WATCHDOGSEC=$(usex systemd 200 0) + export USE_XAUTHPAM=$(usetf pam) + export DEBUG_CFLAGS= + export OPTIMIZE_CFLAGS= + export WERROR_CFLAGS= +} + +src_compile() { + emake all + emake -C initsystems INITSYSTEM=systemd UNITDIR="$(systemd_get_systemunitdir)" all +} + +src_test() { + : # integration tests only that require set of kvms to be set up +} + +src_install() { + default + emake -C initsystems INITSYSTEM=systemd UNITDIR="$(systemd_get_systemunitdir)" DESTDIR="${D}" install + + echo "include /etc/ipsec.d/*.secrets" > "${D}"/etc/ipsec.secrets + fperms 0600 /etc/ipsec.secrets + + dodoc -r docs + + find "${D}" -type d -empty -delete || die +} + +pkg_postinst() { + local IPSEC_CONFDIR=${ROOT%/}/etc/ipsec.d + if [[ ! -f ${IPSEC_CONFDIR}/cert8.db ]]; then + ebegin "Setting up NSS database in ${IPSEC_CONFDIR}" + certutil -N -d "${IPSEC_CONFDIR}" -f <(echo) + eend $? + fi +} diff --git a/net-vpn/openfortivpn/Manifest b/net-vpn/openfortivpn/Manifest index f3b6bd2b593c..8b902584a644 100644 --- a/net-vpn/openfortivpn/Manifest +++ b/net-vpn/openfortivpn/Manifest @@ -1,3 +1,3 @@ -DIST openfortivpn-1.3.0.tar.gz 48414 SHA256 a7dee87a9ef56c5d5a5d7288ae047f51f29472b2156e7d59bf9301aad6ac44ce SHA512 cedcb5677c03981cb255475113ebd06392edcbf4a57538515ff616db22334f4bef2e379d11eaa5a02f5d6a380ddf4b13bb6718269d01dea91a1ba25833dee107 WHIRLPOOL 164a44416db29acc2ebd9208a08ff9cb9578404739f1e6c5630eeede344a2dd15ae630437a417e382358b8dc44e6c73c431e94ae56f1ec844f96ca43a42965e7 -EBUILD openfortivpn-1.3.0.ebuild 767 SHA256 fdc75ceb6f8a707f5a26ff6f3d2a23e2d620331833967fc878940f80291fc4e6 SHA512 b32b571035164d8f55f2e4c089db69f7f6237e9cec0c8f30e993941fba55db7810adc60e77d0c1eef837f7bfa2358e5cdf2eb4ea2fde9ba7b9e0ce289125aaa1 WHIRLPOOL 7e9a696f5f200c126cc4aa92428b11cb4918ce416645b886503ba30596829823f79982cc39bf93ade823825f765b8809e6a0f3568d50f2bd3f88dbd9aac8a955 +DIST openfortivpn-1.5.0.tar.gz 52302 SHA256 a96016826bf85435c26ef0e58d14ae91990a08aaf67c701dfa56345dd851c185 SHA512 2ee56baf83b4ca604512dfb0f518c03731be18c08399a4482190ea9c8cf0c14a570e31ae3b1bcd32067203a008d02a7d4414000f817b178b4cdbd171035be76c WHIRLPOOL 98e08de0090c16f70a98320d9a2a99a82dc859a9cac24265d4ad94f31ea68cb5edbc5c552614762b22c2a35c9df3e05a1839a4cf2d94e17b89a09f348135e189 +EBUILD openfortivpn-1.5.0.ebuild 767 SHA256 fdc75ceb6f8a707f5a26ff6f3d2a23e2d620331833967fc878940f80291fc4e6 SHA512 b32b571035164d8f55f2e4c089db69f7f6237e9cec0c8f30e993941fba55db7810adc60e77d0c1eef837f7bfa2358e5cdf2eb4ea2fde9ba7b9e0ce289125aaa1 WHIRLPOOL 7e9a696f5f200c126cc4aa92428b11cb4918ce416645b886503ba30596829823f79982cc39bf93ade823825f765b8809e6a0f3568d50f2bd3f88dbd9aac8a955 MISC metadata.xml 473 SHA256 d93b18450c7efa8600d83d274d2b851faca44785f7cb83132aae2d668edfce9c SHA512 d2807f01f5e74e765e1ee6fc23b917c78987f7f73672cfa019ab4e96c387105a5e8f90a53b1ffbf079f832a7bbaf74a9938cb2f9bb2fcc7a7deb76cf99b9469f WHIRLPOOL d86f340896eead83f149cf4810a3ace41b89775fb8bf4be44ff09bfca1622f49dc75739f08206fa5e137bcc8900629cdacf7d664d6c364a21d6056b910b9fb43 diff --git a/net-vpn/openfortivpn/openfortivpn-1.3.0.ebuild b/net-vpn/openfortivpn/openfortivpn-1.3.0.ebuild deleted file mode 100644 index 0027219ec510..000000000000 --- a/net-vpn/openfortivpn/openfortivpn-1.3.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools linux-info - -DESCRIPTION="A Fortinet compatible VPN client" -HOMEPAGE="https://github.com/adrienverge/openfortivpn" -SRC_URI="https://github.com/adrienverge/openfortivpn/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3-with-openssl-exception openssl" -SLOT="0" -KEYWORDS="~amd64" -IUSE="libressl" - -DEPEND=" - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - net-dialup/ppp -" -RDEPEND="${DEPEND}" - -CONFIG_CHECK="~PPP ~PPP_ASYNC" - -src_prepare() { - default - - sed -i 's/-Werror//g' Makefile.am || die "Failed to remove -Werror from Makefile.am" - - eautoreconf -} - -src_install() { - default - - keepdir /etc/openfortivpn -} diff --git a/net-vpn/openfortivpn/openfortivpn-1.5.0.ebuild b/net-vpn/openfortivpn/openfortivpn-1.5.0.ebuild new file mode 100644 index 000000000000..0027219ec510 --- /dev/null +++ b/net-vpn/openfortivpn/openfortivpn-1.5.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools linux-info + +DESCRIPTION="A Fortinet compatible VPN client" +HOMEPAGE="https://github.com/adrienverge/openfortivpn" +SRC_URI="https://github.com/adrienverge/openfortivpn/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3-with-openssl-exception openssl" +SLOT="0" +KEYWORDS="~amd64" +IUSE="libressl" + +DEPEND=" + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + net-dialup/ppp +" +RDEPEND="${DEPEND}" + +CONFIG_CHECK="~PPP ~PPP_ASYNC" + +src_prepare() { + default + + sed -i 's/-Werror//g' Makefile.am || die "Failed to remove -Werror from Makefile.am" + + eautoreconf +} + +src_install() { + default + + keepdir /etc/openfortivpn +} diff --git a/net-vpn/tinc/Manifest b/net-vpn/tinc/Manifest index a7a859577d3f..f2de57f35245 100644 --- a/net-vpn/tinc/Manifest +++ b/net-vpn/tinc/Manifest @@ -6,8 +6,10 @@ AUX tincd.conf 728 SHA256 8f3d5ede142d71adb78455201d2af63523b5844a903b7e62f3b8a4 AUX tincd_at.service 197 SHA256 7c4d4309ee14dc3e7a5a51a9b982d5a7693d74210b45a4e35dafc6bcdb022557 SHA512 866f8adbc9c39cc6030e6046e4265a4f6e893960045df15abc0a1865599cf2576ac12468bd1a286df47248ebe2c6b16ba64a60f0ebeeb0212d850a9d7886c98a WHIRLPOOL 521982b219a290b27cd61c186ae6ec399f09c81f8b44924d20b8df7ba4ede8a474d8277cd7178df41c52cc626bff7a95345c606f83840b56ff7962be4f15633a DIST tinc-1.0.31.tar.gz 494877 SHA256 d3cbc82e6e07975a2ccc0b369d07e30fc3324e71e240dca8781ce9a4f629519b SHA512 ac694d4ceec19bddebd3d5b9f37eb703a4701b93f65a7bbcdbc0b364f2a4f8b116c85748d06ec7821474de5c4d434caf5448109a0846e15c4a96adb92a0fc622 WHIRLPOOL aec84cd59ca80ca806171003447f946073c8f99fd872eaef1e7fea9d423cd4905d554964920be802e0862f5ab8de7d9d7094792c30403af8b62abca12286e2b1 DIST tinc-1.0.32.tar.gz 496221 SHA256 4db24feaff8db4bbb7edb7a4b8f5f8edc39b26eb5feccc99e8e67a6960c05587 SHA512 1533305a062782ec788bcb59f4cbfac76ed401ccfe57b5cbd9a3fd9b76a238dbd0f612071c24b157fec4dfc409c79b1b4fbf6e176510b321dcdd79174632028c WHIRLPOOL 1d20dd365ea4c774555f809412befe0857fdd574dbbb92b8cf61764973dfaa67ebe95480913c594de663cc91845b3850b9fe541c006725d60c32d6f403cb6be0 +DIST tinc-1.0.33.tar.gz 486374 SHA256 7f6f5dc6444bc651ac635c81f4745bcce581bbd1d45ed60cbdc4ee11bebb10f4 SHA512 f17c7682e177d85a049891255fc590069c7901307951ee93364a7a754f1a7c5ca4b6a6f7ddcb4c9ad150f0155ff7db7112990a3fc3a6496b48bdbfd3b1ae8804 WHIRLPOOL 9fa868d3ac0b89e0c4458c00b79149e21baa3a6e9950665da11e91278048f2a8866c23027e39f1cf34e940794d5c6b5427a561c4a0a1e4bbfdce3d2554b6b3d8 DIST tinc-1.1pre15.tar.gz 704145 SHA256 41dc3e40c5f8be497b779acd6f59ef4572e1430d0d0f0436f2de5cb21a59ef18 SHA512 29b109c84a89204a9fe298e3cfb092169a7c3cbb62e0cabdb7fe8eaa01b03343b7d48bf028525754af1a340781de209e0b9412669c256a30e7226a8a21412c17 WHIRLPOOL f258704dd6f2f4c5fd184a1f38da93a2bd8e655b07cfed47837e57a049c8be4e9b744f1a10b1932d020aab6c7c5bf043a83d7c9529755f5accca445f95355439 EBUILD tinc-1.0.31.ebuild 1212 SHA256 0a9ac544573a67b8d42012f2e228ebeb2fb09ceb468a4a12c904f14bd44a69ff SHA512 9bb8c6d89dd3b0ecc0d9ab597ebdf1d02b952604426b89701ff0681395a20344b6d12a5b6fb30d47ca0fddb1a8263f7346bfa8d24c3bc62c32575a35f8b5ea3c WHIRLPOOL 79e9abab858f52bb9e45405c667fcb41a71f5696927c27a2b852eb95877595641a4f31a413afb7ec9b3d11b86514a013fe93fc246dcae9a463cb7e8b73ac2ea5 EBUILD tinc-1.0.32.ebuild 1212 SHA256 0a9ac544573a67b8d42012f2e228ebeb2fb09ceb468a4a12c904f14bd44a69ff SHA512 9bb8c6d89dd3b0ecc0d9ab597ebdf1d02b952604426b89701ff0681395a20344b6d12a5b6fb30d47ca0fddb1a8263f7346bfa8d24c3bc62c32575a35f8b5ea3c WHIRLPOOL 79e9abab858f52bb9e45405c667fcb41a71f5696927c27a2b852eb95877595641a4f31a413afb7ec9b3d11b86514a013fe93fc246dcae9a463cb7e8b73ac2ea5 +EBUILD tinc-1.0.33.ebuild 1212 SHA256 0a9ac544573a67b8d42012f2e228ebeb2fb09ceb468a4a12c904f14bd44a69ff SHA512 9bb8c6d89dd3b0ecc0d9ab597ebdf1d02b952604426b89701ff0681395a20344b6d12a5b6fb30d47ca0fddb1a8263f7346bfa8d24c3bc62c32575a35f8b5ea3c WHIRLPOOL 79e9abab858f52bb9e45405c667fcb41a71f5696927c27a2b852eb95877595641a4f31a413afb7ec9b3d11b86514a013fe93fc246dcae9a463cb7e8b73ac2ea5 EBUILD tinc-1.1_pre15.ebuild 2390 SHA256 adfbf1a777a471010cca616069aca893af7b305d6530567dacf7efb76a1fd178 SHA512 2b38b15c9450ec74e100478e835e6bca83b717bb3d2d434a99fe937e3e16934b8a3556b5b3c16e931e7a065b934eb26ad86c85099f2673e9ca5644ccfcf81c82 WHIRLPOOL 098c50c11663ec57cd8be3b0e29146319ee8a83a8ece8a44d186552a535a30a2157ef7e7e7ebbeb7f1d9178c92653ef49bb9f10c536c6261b954bf3ec36d855d MISC metadata.xml 803 SHA256 1fef3e6abf294a8824fc8b88776406c6f0da99f7140274478dc113153501cf2a SHA512 23ccfff115ec3553356db3b2a16f436cee60f5471e4a240d032cf48d89a73ef350545bc91b3976b188ad3658ff83d0037ccc00a5f3f5864e2704d4616e1095ac WHIRLPOOL c77d2a29da29040e0c70ef1e706358724431a182e5e576c360e0c1bda0822cfedee933896ed112e13d5ac152b952c97ffc6f520d560b9b83f39e109fc4b25db2 diff --git a/net-vpn/tinc/tinc-1.0.33.ebuild b/net-vpn/tinc/tinc-1.0.33.ebuild new file mode 100644 index 000000000000..c8adaa0c7d3e --- /dev/null +++ b/net-vpn/tinc/tinc-1.0.33.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 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 "tincd@.service" +} + +pkg_postinst() { + elog "This package requires the tun/tap kernel device." + elog "Look at http://www.tinc-vpn.org/ for how to configure tinc" +} diff --git a/net-vpn/tor/Manifest b/net-vpn/tor/Manifest index e0a8e36567e9..02af6ee180cd 100644 --- a/net-vpn/tor/Manifest +++ b/net-vpn/tor/Manifest @@ -9,10 +9,10 @@ DIST tor-0.3.0.10.tar.gz 5845205 SHA256 9a8e6e49a1688dae64dca10f84a414ec9a4f393f DIST tor-0.3.0.12.tar.gz 5892571 SHA256 791115f5e17cacbf86a5093ec66774612e235e08186c77effe2d66edf645fc1d SHA512 975a3aa07ca8f51206db3d50f56ed49ea856c466a831fcd0f5d0068455f7d4ebf445015c2a78d2cb8dcdb36278fcd7d16dc4651b5ae0f271bcf8e5474dffc4a5 WHIRLPOOL d57770c5b278e69e0d3d5373f2c43a2ab957e8f90a48114093003b8f1fdd600e6289dbb0b0096b4bbf80331b0f16e772c598d1830a2518c2fda6b87c94614b08 DIST tor-0.3.1.7.tar.gz 6058284 SHA256 1df5dd4894bb2f5e0dc96c466955146353cf33ac50cd997cfc1b28ea3ed9c08f SHA512 a835526984187fad88cffc39ea8f6a4b61d5f8d2579b5a66425612607a22ff82e0f9da96e029e134e04d25ae0f59a1b4f771e9e8c19ebb563e1a0f5b3a3849e4 WHIRLPOOL 83aaf33aeaa41d165fd11937fea30fe9cd5a7191aa2a0d801b0dcb2533f6beaefa2fc47356127310d84e7eaf9990e0d264992726416b5129272bdce8cfb75714 DIST tor-0.3.1.8.tar.gz 6073611 SHA256 7df6298860a59f410ff8829cf7905a50c8b3a9094d51a8553603b401e4b5b1a1 SHA512 0c2d5f6e444815f0812b0f8bb2102f2013c890375cf20b62025d0704e8ee7742bbf7173764795e3e63606a47d0695a5a982c318c55a30ca50600eb6de5b94b16 WHIRLPOOL 5114fd6028b72483ca2769ed55685f9c70822021dd6a89016c276938fefafdef5ae457e946d7609b0eaa12caeddbe9f23c0ccd4b0cb7a40e484410f30186e00d -DIST tor-0.3.2.3-alpha.tar.gz 6277836 SHA256 1440a4bf6d52cb9831991af6ae7a0fc1c152af59108c9dff6b036e70e3641d19 SHA512 9a122a6673d8dbd4387e601734e8aa7dece7c48c2fae15124e9d619fbef4eb66d9fd6a8698df56dde1c4e4f50606baa01e1ed315d190b513ec508888f7cb2132 WHIRLPOOL ec3799b4d95e8261854bd3078daca15a9a94866b3a350a26e28201b91ca3c1640b2bc2f4537c140bdac005e96a53b97ab17e0770359709b1a03d238ec9934bef +DIST tor-0.3.2.4-alpha.tar.gz 6282717 SHA256 c3ea7826b783d4357a624248d8448480f27838ceb3c1bba02a4a0e5d36564fba SHA512 8ed5cf13cdaabd92034a1bb4580f112b09a2369a5d8dc05b788b1a4c8c4a9b683e4329a7fe2a03b5e7491c2fbbde6a3bd359e821e04f36cf553adef192c01df2 WHIRLPOOL a99a2d76ce9a17a5ac3fb45fab8729248e2e807d3ee59d0c6818f1f718fa9d65018b2d77545b6138d4a09a37c7aef375b7c82e651956d718d3a74b0bc22fa099 EBUILD tor-0.3.0.10.ebuild 1837 SHA256 844d165beced6f252ef18aec5a6d94daf00891d91d2562df8e25f4d52bc56467 SHA512 33826b8bfbafcacd58bd471ef7f6c23de461632cf6e3e1f6903755115c1952f90202045694b5fdf5dad6ca1f30359a95630ff3494382d8ce108aed611ec806e4 WHIRLPOOL e32dc9cb25853ca0bfb99caa88ed071a4257a04ec138e80622cb076d5ef53148c5bb7f58868a2c570afc0c512e7435245f488e2302d0008fd56e35ebc28c0504 EBUILD tor-0.3.0.12.ebuild 1842 SHA256 c20b8200b67e8a355ffd33e6488881bc4206bb27ff8e6d5a131bec032537bf6a SHA512 3b7200a2ec7588b31e471785ef6699b38ed3ffba38b3c0322354b78f4d6401023cd9b5940cd8627800d66ba157729c8424b6d9cad224ab40eec737648bf4c629 WHIRLPOOL 837383956471040f4d979325c70ee93b9aa9afa04367f07e66d73f9500793be7ee9b6967d4c62a7303a3500f753f3314b24c4a0473a707b012f6b46299d8fbc0 EBUILD tor-0.3.1.7.ebuild 2037 SHA256 d01da76fea1c5317e953a0923d3e2b5d712754f5e772fac23cbf1f2af6cd9e98 SHA512 efcb53f76c91cf9cd2403025a3290b170f58f0f03cb62fb2dc82a0e0ec55d263d9757b4cf80a825690b6276a01223091d7f6bc2f4d358ad778a82dac987ac56c WHIRLPOOL 7ff57bebf8c8fb8b355cee15079d2324e0ca3b9b6ff46342a43c8964d2f08bd91ee987d741cefecd80170ee01164130af097a816819473c5823dcf29224dfca1 EBUILD tor-0.3.1.8.ebuild 2042 SHA256 eb1ef06945a972812a5bb980c55500c5899c0b1ce9371539f0503f8d96cab828 SHA512 74e764c2eba7080ce341ed83a662b01d0cfc36f8966e37fb3e3b424f8c44b736db7f359386251ca8167d2958318f67d2eda2e1e4065a365f8723a3cf8752a1cf WHIRLPOOL 9456854515bd06434d6f4290e30ea4267da05930715b5e9525120ba306f768029341b3f804f20144e30c1a1f8f197a0297fec7c54854a9c558af99fcff5b1f92 -EBUILD tor-0.3.2.3_alpha.ebuild 2042 SHA256 eb1ef06945a972812a5bb980c55500c5899c0b1ce9371539f0503f8d96cab828 SHA512 74e764c2eba7080ce341ed83a662b01d0cfc36f8966e37fb3e3b424f8c44b736db7f359386251ca8167d2958318f67d2eda2e1e4065a365f8723a3cf8752a1cf WHIRLPOOL 9456854515bd06434d6f4290e30ea4267da05930715b5e9525120ba306f768029341b3f804f20144e30c1a1f8f197a0297fec7c54854a9c558af99fcff5b1f92 +EBUILD tor-0.3.2.4_alpha.ebuild 2042 SHA256 eb1ef06945a972812a5bb980c55500c5899c0b1ce9371539f0503f8d96cab828 SHA512 74e764c2eba7080ce341ed83a662b01d0cfc36f8966e37fb3e3b424f8c44b736db7f359386251ca8167d2958318f67d2eda2e1e4065a365f8723a3cf8752a1cf WHIRLPOOL 9456854515bd06434d6f4290e30ea4267da05930715b5e9525120ba306f768029341b3f804f20144e30c1a1f8f197a0297fec7c54854a9c558af99fcff5b1f92 MISC metadata.xml 594 SHA256 43de427c78833193e0154a8072d904ab5b67bf7b1a664eb4ebb0081d51c9ceec SHA512 011f77654a507d13c0542e6983df8ec86c5f2cff7cd1408f99c9d4da9d00ffb4b432317b2fd21500e62131e6f7c9bc60235cf55f2b8082391b9fe3bcf924ab2b WHIRLPOOL 71b3006ef28544f47988f65ec05a1954b8c5d1ce5425e943db87fb69273e18bbc7894dc96e8398823dd0b9a092fded0b89892fca7d775c1382ee5d91853c165c diff --git a/net-vpn/tor/tor-0.3.2.3_alpha.ebuild b/net-vpn/tor/tor-0.3.2.3_alpha.ebuild deleted file mode 100644 index 2e54066d6ba5..000000000000 --- a/net-vpn/tor/tor-0.3.2.3_alpha.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit flag-o-matic readme.gentoo-r1 systemd versionator user - -MY_PV="$(replace_version_separator 4 -)" -MY_PF="${PN}-${MY_PV}" -DESCRIPTION="Anonymizing overlay network for TCP" -HOMEPAGE="http://www.torproject.org/" -SRC_URI="https://www.torproject.org/dist/${MY_PF}.tar.gz - https://archive.torproject.org/tor-package-archive/${MY_PF}.tar.gz" -S="${WORKDIR}/${MY_PF}" - -LICENSE="BSD GPL-2" -SLOT="0" -# We need to keyword app-arch/zstd -#KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~ppc-macos" -IUSE="libressl lzma scrypt seccomp selinux systemd tor-hardening test web zstd" - -DEPEND=" - app-text/asciidoc - dev-libs/libevent[ssl] - sys-libs/zlib - !libressl? ( dev-libs/openssl:0=[-bindist] ) - libressl? ( dev-libs/libressl:0= ) - lzma? ( app-arch/xz-utils ) - scrypt? ( app-crypt/libscrypt ) - seccomp? ( sys-libs/libseccomp ) - systemd? ( sys-apps/systemd ) - zstd? ( app-arch/zstd )" -RDEPEND="${DEPEND} - selinux? ( sec-policy/selinux-tor )" - -PATCHES=( - "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch -) - -DOCS=( README ChangeLog ReleaseNotes doc/HACKING ) - -pkg_setup() { - enewgroup tor - enewuser tor -1 -1 /var/lib/tor tor -} - -src_configure() { - econf \ - --localstatedir="${EPREFIX}/var" \ - --enable-system-torrc \ - --enable-asciidoc \ - --disable-libfuzzer \ - --disable-rust \ - $(use_enable scrypt libscrypt) \ - $(use_enable seccomp) \ - $(use_enable systemd) \ - $(use_enable tor-hardening gcc-hardening) \ - $(use_enable tor-hardening linker-hardening) \ - $(use_enable web tor2web-mode) \ - $(use_enable test unittests) \ - $(use_enable test coverage) -} - -src_install() { - default - readme.gentoo_create_doc - - newconfd "${FILESDIR}"/tor.confd tor - newinitd "${FILESDIR}"/tor.initd-r8 tor - systemd_dounit contrib/dist/tor.service - - keepdir /var/lib/tor - - fperms 750 /var/lib/tor - fowners tor:tor /var/lib/tor - - insinto /etc/tor/ - newins "${FILESDIR}"/torrc-r1 torrc -} diff --git a/net-vpn/tor/tor-0.3.2.4_alpha.ebuild b/net-vpn/tor/tor-0.3.2.4_alpha.ebuild new file mode 100644 index 000000000000..2e54066d6ba5 --- /dev/null +++ b/net-vpn/tor/tor-0.3.2.4_alpha.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit flag-o-matic readme.gentoo-r1 systemd versionator user + +MY_PV="$(replace_version_separator 4 -)" +MY_PF="${PN}-${MY_PV}" +DESCRIPTION="Anonymizing overlay network for TCP" +HOMEPAGE="http://www.torproject.org/" +SRC_URI="https://www.torproject.org/dist/${MY_PF}.tar.gz + https://archive.torproject.org/tor-package-archive/${MY_PF}.tar.gz" +S="${WORKDIR}/${MY_PF}" + +LICENSE="BSD GPL-2" +SLOT="0" +# We need to keyword app-arch/zstd +#KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" +KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~ppc-macos" +IUSE="libressl lzma scrypt seccomp selinux systemd tor-hardening test web zstd" + +DEPEND=" + app-text/asciidoc + dev-libs/libevent[ssl] + sys-libs/zlib + !libressl? ( dev-libs/openssl:0=[-bindist] ) + libressl? ( dev-libs/libressl:0= ) + lzma? ( app-arch/xz-utils ) + scrypt? ( app-crypt/libscrypt ) + seccomp? ( sys-libs/libseccomp ) + systemd? ( sys-apps/systemd ) + zstd? ( app-arch/zstd )" +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-tor )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch +) + +DOCS=( README ChangeLog ReleaseNotes doc/HACKING ) + +pkg_setup() { + enewgroup tor + enewuser tor -1 -1 /var/lib/tor tor +} + +src_configure() { + econf \ + --localstatedir="${EPREFIX}/var" \ + --enable-system-torrc \ + --enable-asciidoc \ + --disable-libfuzzer \ + --disable-rust \ + $(use_enable scrypt libscrypt) \ + $(use_enable seccomp) \ + $(use_enable systemd) \ + $(use_enable tor-hardening gcc-hardening) \ + $(use_enable tor-hardening linker-hardening) \ + $(use_enable web tor2web-mode) \ + $(use_enable test unittests) \ + $(use_enable test coverage) +} + +src_install() { + default + readme.gentoo_create_doc + + newconfd "${FILESDIR}"/tor.confd tor + newinitd "${FILESDIR}"/tor.initd-r8 tor + systemd_dounit contrib/dist/tor.service + + keepdir /var/lib/tor + + fperms 750 /var/lib/tor + fowners tor:tor /var/lib/tor + + insinto /etc/tor/ + newins "${FILESDIR}"/torrc-r1 torrc +} -- cgit v1.2.3