diff options
author | 2005-04-22 22:37:14 +0000 | |
---|---|---|
committer | 2005-04-22 22:37:14 +0000 | |
commit | c8ab64e465dc7fd78e18c2d82b7ebca2923333cf (patch) | |
tree | d4d5aef6a6ae176db9b92e9699b0b3f8bcfe4914 /net-proxy/tsocks/tsocks-1.8_beta5.ebuild | |
parent | net-misc/nylon -> net-proxy/nylon (diff) | |
download | historical-c8ab64e465dc7fd78e18c2d82b7ebca2923333cf.tar.gz historical-c8ab64e465dc7fd78e18c2d82b7ebca2923333cf.tar.bz2 historical-c8ab64e465dc7fd78e18c2d82b7ebca2923333cf.zip |
net-misc/tsocks -> net-proxy/tsocks
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-proxy/tsocks/tsocks-1.8_beta5.ebuild')
-rw-r--r-- | net-proxy/tsocks/tsocks-1.8_beta5.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/net-proxy/tsocks/tsocks-1.8_beta5.ebuild b/net-proxy/tsocks/tsocks-1.8_beta5.ebuild new file mode 100644 index 000000000000..616708d1b99c --- /dev/null +++ b/net-proxy/tsocks/tsocks-1.8_beta5.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/tsocks/tsocks-1.8_beta5.ebuild,v 1.1 2005/04/22 22:37:14 mrness Exp $ + +inherit multilib + +DESCRIPTION="Transparent SOCKS v4 proxying library" +HOMEPAGE="http://tsocks.sourceforge.net/" +SRC_URI="mirror://sourceforge/tsocks/${PN}-${PV/_}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc alpha ~amd64 ~ppc64" +IUSE="" + +S=${WORKDIR}/tsocks-1.8 + +src_compile() { + # NOTE: the docs say to install it into /lib. If you put it into + # /usr/lib and add it to /etc/ld.so.preload on many systems /usr isn't + # mounted in time :-( (Ben Lutgens) <lamer@gentoo.org> + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --with-conf=/etc/socks/tsocks.conf \ + --mandir=/usr/share/man \ + --libdir=/$(get_libdir) \ + || die + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + dobin validateconf inspectsocks saveme + insinto /etc/socks + doins tsocks.conf.*.example + dodoc INSTALL + # tsocks script is buggy so we need this symlink + dodir /usr/$(get_libdir) + dosym /$(get_libdir)/libtsocks.so /usr/$(get_libdir)/libtsocks.so +} + +pkg_postinst() { + einfo "Make sure you create /etc/socks/tsocks.conf from one of the examples in that directory" +} |