diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-03-12 20:39:07 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-03-12 20:39:07 +0000 |
commit | 732225512f44e1904c76fa1cd9724cd362707569 (patch) | |
tree | a46b3fe4d60064ad120b940fa53d2c79b76bdaf2 /net-misc/proxychains | |
parent | old (diff) | |
download | gentoo-2-732225512f44e1904c76fa1cd9724cd362707569.tar.gz gentoo-2-732225512f44e1904c76fa1cd9724cd362707569.tar.bz2 gentoo-2-732225512f44e1904c76fa1cd9724cd362707569.zip |
Fix ugly connect() hacks.
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-misc/proxychains')
-rw-r--r-- | net-misc/proxychains/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/proxychains/files/digest-proxychains-2.1-r1 | 1 | ||||
-rw-r--r-- | net-misc/proxychains/files/proxychains-2.1-libc-connect.patch | 16 | ||||
-rw-r--r-- | net-misc/proxychains/proxychains-2.1-r1.ebuild | 27 |
4 files changed, 52 insertions, 2 deletions
diff --git a/net-misc/proxychains/ChangeLog b/net-misc/proxychains/ChangeLog index 4d58e5b72edb..452c376895c6 100644 --- a/net-misc/proxychains/ChangeLog +++ b/net-misc/proxychains/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/proxychains -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/proxychains/ChangeLog,v 1.4 2004/11/06 16:17:30 pyrania Exp $ +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/proxychains/ChangeLog,v 1.5 2005/03/12 20:39:07 vapier Exp $ + +*proxychains-2.1-r1 (12 Mar 2005) + + 12 Mar 2005; Mike Frysinger <vapier@gentoo.org> + +files/proxychains-2.1-libc-connect.patch, +proxychains-2.1-r1.ebuild: + Fix ugly connect() hacks. 06 Nov 2004; <pyrania@gentoo.org> proxychains-1.8.2.ebuild, proxychains-2.1.ebuild: diff --git a/net-misc/proxychains/files/digest-proxychains-2.1-r1 b/net-misc/proxychains/files/digest-proxychains-2.1-r1 new file mode 100644 index 000000000000..d061ba9f252d --- /dev/null +++ b/net-misc/proxychains/files/digest-proxychains-2.1-r1 @@ -0,0 +1 @@ +MD5 5f54d41265a20ae48c261a53ca603139 proxychains-2.1.tar.gz 181095 diff --git a/net-misc/proxychains/files/proxychains-2.1-libc-connect.patch b/net-misc/proxychains/files/proxychains-2.1-libc-connect.patch new file mode 100644 index 000000000000..7f9bb98cc4d9 --- /dev/null +++ b/net-misc/proxychains/files/proxychains-2.1-libc-connect.patch @@ -0,0 +1,16 @@ +--- proxychains-2.1/proxychains/core.h ++++ proxychains-2.1/proxychains/core.h +@@ -65,11 +65,9 @@ + + int proxychains_write_log(char *str,...); + +-#ifndef __linux__ +-#define __libc_connect _connect +-#endif ++#include <sys/socket.h> ++#define __libc_connect connect + +-extern int __libc_connect (int sock, const struct sockaddr *addr, unsigned int len); + + + #endif diff --git a/net-misc/proxychains/proxychains-2.1-r1.ebuild b/net-misc/proxychains/proxychains-2.1-r1.ebuild new file mode 100644 index 000000000000..6f588e0e57ef --- /dev/null +++ b/net-misc/proxychains/proxychains-2.1-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/proxychains/proxychains-2.1-r1.ebuild,v 1.1 2005/03/12 20:39:07 vapier Exp $ + +inherit eutils + +DESCRIPTION="force any tcp connections to flow through a proxy (or proxy chain)" +HOMEPAGE="http://proxychains.sourceforge.net/" +SRC_URI="mirror://sourceforge/proxychains/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +DEPEND="" + +src_unpack () { + unpack ${A} + sed -i 's:/etc/:$(DESTDIR)/etc/:' "${S}"/proxychains/Makefile.in || die + epatch "${FILESDIR}"/${P}-libc-connect.patch +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog README TODO +} |