net-proxy/torsocks: remove older versions

Package-Manager: portage-2.3.0
This commit is contained in:
Anthony G. Basile
2016-11-25 05:55:25 -05:00
parent 90e786b118
commit 669cbb8bdc
3 changed files with 0 additions and 92 deletions
-2
View File
@@ -1,3 +1 @@
DIST torsocks-1.2.tar.gz 456453 SHA256 bea57d3624d723724fd1e260f0e6b2a354c0da742c023aa994c7692270d111d4 SHA512 c48cf466c1d4f6204c90ccb5f741d14304b24651d18d080a73952b9a06bbe146e3f6e6c4343ed06ed7a73714d86561cde3eba369e17fc4e155f3553a8d0f3890 WHIRLPOOL af892c2a6f8070308f6867154c50ee8ce6fd20c761dbd6466ea1ae3b46730452ce0757e9de8bf698f8bd455649f3f76a4e9a0bd883408f464c619c1d41e937cf
DIST torsocks-2.1.0.tar.gz 106339 SHA256 a72c3ea757f5fe81d1ab91e0d5f0d83f195e235aae66d4df2f88a20db7028104 SHA512 5bdec6fd6c2d99effb73e418acd37ee135b3c912fad7811bfc8c724282370beea23149c6e94b995cfed0e61be43e63ac11d8c6ef420ba0137a19b96d8ac370e5 WHIRLPOOL 4511c9bff51ec25efb9b6f211d4b37931ba9c23ad89b1b272adf6b60351308e59a5e3d5157ba4adfab9e085deba435a9a1a8b4c69ec98514069c42561799c25c
DIST torsocks-2.2.0.tar.gz 115269 SHA256 36216a1e30f47fa0e5be84761e0d72133196c8a042716017da56e9439338c87d SHA512 903d11d58ece76eaf75ff8fc11a27e4a29f94be530f2d77d1a6f0982d556a4b9c78677a43eed88f2451054d0e985672900ecf73b360fa09e80195c3b9006622b WHIRLPOOL 3ce3ec9807a9b0bb55572f71541b0ba918223e3037914ed070cd97927446bd0b8666a70b568ebd5d7a5d310cd3c6fd4103f1ae8e616cc35e8a6a92d4a6b9051e
-41
View File
@@ -1,41 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
inherit autotools eutils multilib
DESCRIPTION="Use most socks-friendly applications with Tor"
HOMEPAGE="https://code.google.com/p/torsocks"
SRC_URI="https://${PN}.googlecode.com/files/${PN}-1.2.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="static-libs"
# We do not depend on tor which might be running on a different box
DEPEND=""
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}"/suppress-warning-msgs.patch
epatch "${FILESDIR}"/fix-docdir.patch
eautoreconf
}
src_configure() {
econf --docdir=/usr/share/doc/${PF} \
$(use_enable static-libs static)
}
src_install() {
emake DESTDIR="${D}" install
dodoc README TODO INSTALL ChangeLog
#Remove libtool .la files
cd "${D}"/usr/$(get_libdir)/torsocks
rm -f *.la
}
@@ -1,49 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit autotools versionator
MY_PV="$(replace_version_separator 3 -)"
MY_PF="${PN}-${MY_PV}"
S=${WORKDIR}/${MY_PF}
DESCRIPTION="Use most socks-friendly applications with Tor"
HOMEPAGE="https://github.com/dgoulet/torsocks"
SRC_URI="https://github.com/dgoulet/torsocks/archive/v${MY_PV}.tar.gz -> ${MY_PF}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="static-libs"
# We do not depend on tor which might be running on a different box
DEPEND=""
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}"/${P}-musl.patch )
DOCS=( ChangeLog README.md TODO doc/notes/DEBUG doc/socks/{SOCKS5,socks-extensions.txt} )
src_prepare() {
sed -i -e "/dist_doc_DATA/s/^/#/" Makefile.am doc/Makefile.am || die
# Disable tests requiring network access.
sed -i -e '/^\.\/test_dns$/d' tests/test_list || \
die "failed to disable network tests"
default
eautoreconf
}
src_configure() {
econf $(use_enable static-libs static)
}
src_install() {
default
# Remove libtool .la files
find "${D}" -name '*.la' -delete || die
}