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 | ba61953825b1c180e360c731dde2123ba67c7068 (patch) | |
tree | 70946ee7cee20e5a935d7bf4009d29dfd444f9e9 /net-misc | |
parent | old (diff) | |
download | historical-ba61953825b1c180e360c731dde2123ba67c7068.tar.gz historical-ba61953825b1c180e360c731dde2123ba67c7068.tar.bz2 historical-ba61953825b1c180e360c731dde2123ba67c7068.zip |
Fix ugly connect() hacks.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/proxychains/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/proxychains/Manifest | 19 | ||||
-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 |
5 files changed, 56 insertions, 17 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/Manifest b/net-misc/proxychains/Manifest index 6eba0e0811b4..3faee4694f33 100644 --- a/net-misc/proxychains/Manifest +++ b/net-misc/proxychains/Manifest @@ -1,16 +1,5 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 e6873f784ab325a77082f43682a25897 ChangeLog 624 -MD5 ecbe9a4d94ed4006ddf008aacc6d50bb proxychains-1.8.2.ebuild 670 +MD5 26af4d5a7a1e295b8600b3833bed3bb5 ChangeLog 810 MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160 -MD5 5c463a92d33319bc1b52cbce0d73d888 proxychains-2.1.ebuild 668 -MD5 4cebebd00e1b468ed723ce38470e87e8 files/digest-proxychains-2.1 67 -MD5 96685b8dbf1b08a2fa0e981d1088e130 files/digest-proxychains-1.8.2 69 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFBjPkeI7fK2cqeyXkRAvhGAKD0Z+v+bZgK1a/kyCxfPhP6C6gcGACg5+Br -AwWrGifBqpFTY56vBlL2vMc= -=liYN ------END PGP SIGNATURE----- +MD5 7c7ec96e35e7f5edb30a868a9e9e0ee1 proxychains-2.1-r1.ebuild 741 +MD5 e4bb02a8ce0a24bb5ecb9c916eae24d4 files/proxychains-2.1-libc-connect.patch 361 +MD5 4cebebd00e1b468ed723ce38470e87e8 files/digest-proxychains-2.1-r1 67 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 +} |