diff options
author | Jeroen Roovers <jer@gentoo.org> | 2011-08-27 17:55:48 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2011-08-27 17:55:48 +0000 |
commit | dbf7fcbded7468b3575409721b3ad7f8eef454fd (patch) | |
tree | 5fb8fe96c57aa0a9003a9287c789a839cf7e530e /net-proxy/tinyproxy | |
parent | Add EULA for www-client/google-chrome (diff) | |
download | gentoo-2-dbf7fcbded7468b3575409721b3ad7f8eef454fd.tar.gz gentoo-2-dbf7fcbded7468b3575409721b3ad7f8eef454fd.tar.bz2 gentoo-2-dbf7fcbded7468b3575409721b3ad7f8eef454fd.zip |
Old.
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'net-proxy/tinyproxy')
-rw-r--r-- | net-proxy/tinyproxy/ChangeLog | 7 | ||||
-rw-r--r-- | net-proxy/tinyproxy/files/tinyproxy-no-via.patch | 40 | ||||
-rw-r--r-- | net-proxy/tinyproxy/tinyproxy-1.6.3-r1.ebuild | 45 | ||||
-rw-r--r-- | net-proxy/tinyproxy/tinyproxy-1.6.4.ebuild | 45 | ||||
-rw-r--r-- | net-proxy/tinyproxy/tinyproxy-1.6.5.ebuild | 52 | ||||
-rw-r--r-- | net-proxy/tinyproxy/tinyproxy-1.8.2.ebuild | 80 |
6 files changed, 6 insertions, 263 deletions
diff --git a/net-proxy/tinyproxy/ChangeLog b/net-proxy/tinyproxy/ChangeLog index c4fc2cacb903..26b5998eaea6 100644 --- a/net-proxy/tinyproxy/ChangeLog +++ b/net-proxy/tinyproxy/ChangeLog @@ -1,7 +1,12 @@ # ChangeLog for net-proxy/tinyproxy # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/tinyproxy/ChangeLog,v 1.35 2011/08/27 17:36:40 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/tinyproxy/ChangeLog,v 1.36 2011/08/27 17:55:47 jer Exp $ + + 27 Aug 2011; Jeroen Roovers <jer@gentoo.org> -tinyproxy-1.6.3-r1.ebuild, + -tinyproxy-1.6.4.ebuild, -tinyproxy-1.6.5.ebuild, -tinyproxy-1.8.2.ebuild, + -files/tinyproxy-no-via.patch: + ^ 27 Aug 2011; Raúl Porcel <armin76@gentoo.org> tinyproxy-1.8.3.ebuild: alpha/ia64/sparc stable wrt #363425 diff --git a/net-proxy/tinyproxy/files/tinyproxy-no-via.patch b/net-proxy/tinyproxy/files/tinyproxy-no-via.patch deleted file mode 100644 index d01bf12c1770..000000000000 --- a/net-proxy/tinyproxy/files/tinyproxy-no-via.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- a/src/reqs.c -+++ b/src/reqs.c -@@ -1002,36 +1002,5 @@ - unsigned int major, unsigned int minor) - { -- ssize_t len; -- char hostname[512]; -- char *data; -- int ret; -- -- if (config.via_proxy_name) { -- strlcpy(hostname, config.via_proxy_name, sizeof(hostname)); -- } else if (gethostname(hostname, sizeof(hostname)) < 0) { -- strcpy(hostname, "unknown"); -- } -- -- /* -- * See if there is a "Via" header. If so, again we need to do a bit -- * of processing. -- */ -- len = hashmap_entry_by_key(hashofheaders, "via", (void **)&data); -- if (len > 0) { -- ret = write_message(fd, -- "Via: %s, %hu.%hu %s (%s/%s)\r\n", -- data, -- major, minor, -- hostname, PACKAGE, VERSION); -- -- hashmap_remove(hashofheaders, "via"); -- } else { -- ret = write_message(fd, -- "Via: %hu.%hu %s (%s/%s)\r\n", -- major, minor, -- hostname, PACKAGE, VERSION); -- } -- -- return ret; -+ return 1; - } - diff --git a/net-proxy/tinyproxy/tinyproxy-1.6.3-r1.ebuild b/net-proxy/tinyproxy/tinyproxy-1.6.3-r1.ebuild deleted file mode 100644 index 2879c3c7f95b..000000000000 --- a/net-proxy/tinyproxy/tinyproxy-1.6.3-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/tinyproxy/tinyproxy-1.6.3-r1.ebuild,v 1.1 2008/02/16 07:11:25 mrness Exp $ - -DESCRIPTION="A lightweight HTTP/SSL proxy" -HOMEPAGE="http://tinyproxy.sourceforge.net/" -SRC_URI="mirror://sourceforge/tinyproxy/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ia64 ppc ~sparc x86" -IUSE="socks5 transparent-proxy debug" - -DEPEND="socks5? ( net-proxy/dante )" - -src_compile() { - econf \ - --enable-xtinyproxy \ - --enable-filter \ - --enable-tunnel \ - --enable-upstream \ - `use_enable transparent-proxy` \ - `use_enable debug` \ - `use_enable debug profiling` \ - `use_enable socks5 socks` \ - || die "econf failed" - emake || die "emake failed" -} - -src_install() { - sed -i \ - -e 's:mkdir $(datadir)/tinyproxy:mkdir -p $(DESTDIR)$(datadir)/tinyproxy:' \ - Makefile - make DESTDIR="${D}" install || die "install failed" - - dodoc AUTHORS ChangeLog NEWS README TODO - mv "${D}/usr/share/tinyproxy" "${D}/usr/share/doc/${PF}/html" - - newinitd "${FILESDIR}/tinyproxy.initd" tinyproxy -} - -pkg_postinst() { - einfo "For filtering domains and URLs, enable filter option in the configuration file" - einfo "and add them to the filter file (one domain or URL per line)." -} diff --git a/net-proxy/tinyproxy/tinyproxy-1.6.4.ebuild b/net-proxy/tinyproxy/tinyproxy-1.6.4.ebuild deleted file mode 100644 index d7f73fff4add..000000000000 --- a/net-proxy/tinyproxy/tinyproxy-1.6.4.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/tinyproxy/tinyproxy-1.6.4.ebuild,v 1.1 2008/09/25 21:01:49 mrness Exp $ - -DESCRIPTION="A lightweight HTTP/SSL proxy" -HOMEPAGE="http://www.banu.com/tinyproxy/" -SRC_URI="http://www.banu.com/pub/tinyproxy/1.6/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" -IUSE="socks5 transparent-proxy debug" - -DEPEND="socks5? ( net-proxy/dante )" - -src_compile() { - econf \ - --enable-xtinyproxy \ - --enable-filter \ - --enable-tunnel \ - --enable-upstream \ - `use_enable transparent-proxy` \ - `use_enable debug` \ - `use_enable debug profiling` \ - `use_enable socks5 socks` \ - || die "econf failed" - emake || die "emake failed" -} - -src_install() { - sed -i \ - -e 's:mkdir $(datadir)/tinyproxy:mkdir -p $(DESTDIR)$(datadir)/tinyproxy:' \ - Makefile - make DESTDIR="${D}" install || die "install failed" - - dodoc AUTHORS ChangeLog NEWS README TODO - mv "${D}/usr/share/tinyproxy" "${D}/usr/share/doc/${PF}/html" - - newinitd "${FILESDIR}/tinyproxy.initd" tinyproxy -} - -pkg_postinst() { - einfo "For filtering domains and URLs, enable filter option in the configuration file" - einfo "and add them to the filter file (one domain or URL per line)." -} diff --git a/net-proxy/tinyproxy/tinyproxy-1.6.5.ebuild b/net-proxy/tinyproxy/tinyproxy-1.6.5.ebuild deleted file mode 100644 index 9df2e1f15795..000000000000 --- a/net-proxy/tinyproxy/tinyproxy-1.6.5.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/tinyproxy/tinyproxy-1.6.5.ebuild,v 1.1 2009/11/29 09:58:56 mrness Exp $ - -EAPI="2" - -inherit eutils - -DESCRIPTION="A lightweight HTTP/SSL proxy" -HOMEPAGE="http://www.banu.com/tinyproxy/" -SRC_URI="http://www.banu.com/pub/tinyproxy/1.6/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" -IUSE="debug socks5 +http-via-header transparent-proxy" - -DEPEND="socks5? ( net-proxy/dante )" -RDEPEND="${DEPEND}" - -src_prepare() { - use http-via-header || epatch "${FILESDIR}"/${PN}-no-via.patch -} - -src_configure() { - econf \ - --enable-xtinyproxy \ - --enable-filter \ - --enable-upstream \ - `use_enable transparent-proxy` \ - `use_enable debug` \ - `use_enable debug profiling` \ - `use_enable socks5 socks` \ - || die "econf failed" -} - -src_install() { - sed -i \ - -e 's:mkdir $(datadir)/tinyproxy:mkdir -p $(DESTDIR)$(datadir)/tinyproxy:' \ - Makefile - make DESTDIR="${D}" install || die "install failed" - - dodoc AUTHORS ChangeLog NEWS README TODO - mv "${D}/usr/share/tinyproxy" "${D}/usr/share/doc/${PF}/html" - - newinitd "${FILESDIR}/tinyproxy.initd" tinyproxy -} - -pkg_postinst() { - einfo "For filtering domains and URLs, enable filter option in the configuration file" - einfo "and add them to the filter file (one domain or URL per line)." -} diff --git a/net-proxy/tinyproxy/tinyproxy-1.8.2.ebuild b/net-proxy/tinyproxy/tinyproxy-1.8.2.ebuild deleted file mode 100644 index 48114a756b42..000000000000 --- a/net-proxy/tinyproxy/tinyproxy-1.8.2.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/tinyproxy/tinyproxy-1.8.2.ebuild,v 1.10 2011/04/16 17:05:11 armin76 Exp $ - -EAPI="2" - -inherit autotools eutils - -DESCRIPTION="A lightweight HTTP/SSL proxy" -HOMEPAGE="http://www.banu.com/tinyproxy/" -SRC_URI="http://www.banu.com/pub/${PN}/1.8/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ia64 ~ppc sparc x86" -IUSE="debug +filter-proxy minimal reverse-proxy - transparent-proxy +upstream-proxy +xtinyproxy-header" - -DEPEND=" - !minimal? ( app-text/asciidoc ) -" -RDEPEND="" - -pkg_setup() { - enewgroup ${PN} - enewuser ${PN} "" "" "" ${PN} -} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-1.8.1-ldflags.patch - use minimal && epatch "${FILESDIR}/${PN}-1.8.1-minimal.patch" - sed -i etc/${PN}.conf.in -e "s|nobody|${PN}|g" || die "sed failed" - eautoreconf -} - -src_configure() { - if use minimal; then - ln -s /bin/true "${T}"/a2x - export PATH="${T}:${PATH}" - fi - econf \ - --localstatedir=/var \ - $(use_enable filter-proxy filter) \ - $(use_enable reverse-proxy reverse) \ - $(use_enable transparent-proxy transparent) \ - $(use_enable upstream-proxy upstream) \ - $(use_enable xtinyproxy-header xtinyproxy) \ - $(use_enable debug) -} - -src_test() { - if use xtinyproxy-header;then - # The make check target does not run the test suite - emake test || die - else - einfo "The test suite needs USE=xtinyproxy-header to succeed" - fi -} - -src_install() { - sed -i \ - -e 's:mkdir $(datadir)/tinyproxy:mkdir -p $(DESTDIR)$(datadir)/tinyproxy:' \ - Makefile - emake DESTDIR="${D}" install || die "install failed" - - if ! use minimal; then - dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed" - fi - - diropts -m0775 -o ${PN} -g ${PN} - keepdir /var/log/${PN} - keepdir /var/run/${PN} - - newinitd "${FILESDIR}"/${P}.initd tinyproxy -} - -pkg_postinst() { - einfo "For filtering domains and URLs, enable filter option in the configuration" - einfo "file and add them to the filter file (one domain or URL per line)." -} |