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/tor: version bumps to 0.3.0.11 and 0.3.1.7
Package-Manager: Portage-2.3.8, Repoman-2.3.1
- Loading branch information
Showing
3 changed files
with
156 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,3 +1,5 @@ | ||
DIST tor-0.3.0.10.tar.gz 5845205 SHA256 9a8e6e49a1688dae64dca10f84a414ec9a4f393fb2256ae28e0c2e3239185ab1 SHA512 e39d56afb6a10194303483552f28f07e5d7b7c5d470de554d92723c8d3c0d5d5a98fc44d23aa9d51bfda51e7d7cbb48fc4d1e3ac82150aeb4ce3e1616695225a WHIRLPOOL 21a2fa2337a3e06a03413a38a593984e384fa4b56c77f7bf7674d5ffa82b158d7a6433349b974e4c0ce2146bc99a5ea332980eb21a8428057f575ac5b2a3db8c | ||
DIST tor-0.3.0.11.tar.gz 5875170 SHA256 2a5c07140ed1b4692e6b5aa21e6ce56c6eb0baf86371d85a6c9e809ee7ec50c2 SHA512 af14e3dd4980803dc21537eee1a4b13360e13b3ba9fbaa18b0757746deced8cdb296a90d52cf0fbc883e81ddb034c8c08ed77808459c2e2a2f13f834b9b8afca WHIRLPOOL 4e4af96d8da6dae0a9aeebc1bfba9f35aad915dc23623f95c3797a2b0035281c3cb8f57fdfd46e62bdbbce4f5ee7ab1a46e0d041f47b18abb8c2a65a544f10c5 | ||
DIST tor-0.3.0.8.tar.gz 5796845 SHA256 663a3ba7b8a124c0f8a7351eaa2dda6fd518de3f3c4ee28fff869bfb03860d48 SHA512 93267e51578266f6f6eea57e7fcd7ec5f8fbeb2e880675956724a0b1c1dfe1826945aaba4ca3075b577505d0ce70fd7def2f2a9e06af78f52190e15a7aad2ee1 WHIRLPOOL a301811a7cf7dbd444a16802dcece32dbd679895e6bf45ad7c51787171a4d80d51a438585e5a1f9e1da55405537b706fafc3a6565f72bf08e89608a4fde98b85 | ||
DIST tor-0.3.1.6-rc.tar.gz 6029128 SHA256 d1548e28e1f82e2eb4a95f2334f4809383f173b32e57ab628d76b088f10ca6fd SHA512 9a8f677fb01ca5741c19b9b61aab08a5ce75eb9aaf863989cb103559fe5d71bf517b4b6430eba3cfd1f909a1fdf01cd5d6c7c43da43a2db9c2e4f2704e7a6852 WHIRLPOOL 13dbc9ff260062d94cf4aec5f2fbda35be0288e5a08b10fcd9941d91d841813f155a38f79bfcf1211ff3557685a9f951bfcf8904d10651b85c0ae866d1a0bcfa | ||
DIST tor-0.3.1.7.tar.gz 6058284 SHA256 1df5dd4894bb2f5e0dc96c466955146353cf33ac50cd997cfc1b28ea3ed9c08f SHA512 a835526984187fad88cffc39ea8f6a4b61d5f8d2579b5a66425612607a22ff82e0f9da96e029e134e04d25ae0f59a1b4f771e9e8c19ebb563e1a0f5b3a3849e4 WHIRLPOOL 83aaf33aeaa41d165fd11937fea30fe9cd5a7191aa2a0d801b0dcb2533f6beaefa2fc47356127310d84e7eaf9990e0d264992726416b5129272bdce8cfb75714 |
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,74 @@ | ||
# 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" | ||
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" | ||
IUSE="libressl scrypt seccomp selinux systemd tor-hardening test web" | ||
|
||
DEPEND=" | ||
app-text/asciidoc | ||
dev-libs/libevent[ssl] | ||
sys-libs/zlib | ||
!libressl? ( dev-libs/openssl:0=[-bindist] ) | ||
libressl? ( dev-libs/libressl:0= ) | ||
scrypt? ( app-crypt/libscrypt ) | ||
seccomp? ( sys-libs/libseccomp ) | ||
systemd? ( sys-apps/systemd )" | ||
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 \ | ||
$(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 | ||
} |
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,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 | ||
} |