diff options
author | Alin Năstac <mrness@gentoo.org> | 2005-04-22 19:15:12 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2005-04-22 19:15:12 +0000 |
commit | f37e8c80d1499334a8b5d51bf781f5a655e68147 (patch) | |
tree | 00cd35d8f79526e3d16c31f19bf342992ba539c2 /net-proxy/junkbuster | |
parent | Adding pcmcia flag. Closes #90025, Cheers Georgi (diff) | |
download | historical-f37e8c80d1499334a8b5d51bf781f5a655e68147.tar.gz historical-f37e8c80d1499334a8b5d51bf781f5a655e68147.tar.bz2 historical-f37e8c80d1499334a8b5d51bf781f5a655e68147.zip |
www-proxy -> net-proxy
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-proxy/junkbuster')
-rw-r--r-- | net-proxy/junkbuster/ChangeLog | 58 | ||||
-rw-r--r-- | net-proxy/junkbuster/Manifest | 6 | ||||
-rw-r--r-- | net-proxy/junkbuster/files/digest-junkbuster-2.0.2-r3 | 1 | ||||
-rw-r--r-- | net-proxy/junkbuster/files/junkbuster-2.0.2-fixups.patch | 67 | ||||
-rw-r--r-- | net-proxy/junkbuster/files/junkbuster.rc6 | 17 | ||||
-rw-r--r-- | net-proxy/junkbuster/junkbuster-2.0.2-r3.ebuild | 45 | ||||
-rw-r--r-- | net-proxy/junkbuster/metadata.xml | 6 |
7 files changed, 200 insertions, 0 deletions
diff --git a/net-proxy/junkbuster/ChangeLog b/net-proxy/junkbuster/ChangeLog new file mode 100644 index 000000000000..7d0b8cee3b6e --- /dev/null +++ b/net-proxy/junkbuster/ChangeLog @@ -0,0 +1,58 @@ +# ChangeLog for www-proxy/junkbuster +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/junkbuster/ChangeLog,v 1.1 2005/04/22 19:15:11 mrness Exp $ + + 22 Apr 2005; Alin Nastac <mrness@gentoo.org> : + Rename category & herd www-proxy to net-proxy + +*junkbuster-2.0.2-r3 (12 Apr 2005) + + 12 Apr 2005; Alin Nastac <mrness@gentoo.org> + files/junkbuster-2.0.2-fixups.patch, -junkbuster-2.0.2-r2.ebuild, + +junkbuster-2.0.2-r3.ebuild: + Fix remote exploitable vulnerability and heap corruption, thanks to James Ranson + <euclid80@users.sf.net> and Tavis Ormandy <taviso@gentoo.org> (#88537). + +*junkbuster-2.0.2-r2 (08 Mar 2005) + + 08 Mar 2005; Alin Nastac <mrness@gentoo.org> + +files/junkbuster-2.0.2-fixups.patch, + -junkbuster-2.0.2-r1.ebuild, +junkbuster-2.0.2-r2.ebuild: + Various fixes, thanks to James Ranson <euclid80@users.sf.net>. + +*junkbuster-2.0.2-r1 (23 Feb 2005) + + 23 Feb 2005; Alin Nastac <mrness@gentoo.org> +junkbuster-2.0.2-r1.ebuild, + -junkbuster-2.0.2.ebuild: + Fix CFLAGS (#59511). + + 17 Feb 2005; Alin Nastac <mrness@gentoo.org> +metadata.xml: + Add metadata.xml + + 05 Sep 2004; Sven Wegener <swegener@gentoo.org> : + Fixed ChangeLog header. + +*junkbuster-2.0.2 (15 Aug 2004) + + 15 Aug 2004; Stuart Herbert <stuart@gentoo.org> +files/junkbuster.rc6, + +junkbuster-2.0.2.ebuild: + Moved from net-www/junkbuster to www-proxy/junkbuster. + + 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> + junkbuster-2.0.2.ebuild: + virtual/glibc -> virtual/libc + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + +*junkbuster-2.0.2 (1 Feb 2002) + + 14 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> junkbuster-2.0.2.ebuild : + Added LICENSE, KEYWORDS, SLOT. + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/net-proxy/junkbuster/Manifest b/net-proxy/junkbuster/Manifest new file mode 100644 index 000000000000..8d8d578d53b4 --- /dev/null +++ b/net-proxy/junkbuster/Manifest @@ -0,0 +1,6 @@ +MD5 b3c185a99ebbee6ea12d5450c48e6cec junkbuster-2.0.2-r3.ebuild 996 +MD5 9753170dc43e19193f33d5f78ac8668d ChangeLog 2188 +MD5 1d7888b1ea9ce027a9822471cd49a627 metadata.xml 218 +MD5 144473c056c1fe200cf39e691a8417ba files/digest-junkbuster-2.0.2-r3 70 +MD5 6c8d7b83685f02017218f73763bd8b71 files/junkbuster.rc6 583 +MD5 77a51c2ad0d03e74b67b9f6caa0d4048 files/junkbuster-2.0.2-fixups.patch 1871 diff --git a/net-proxy/junkbuster/files/digest-junkbuster-2.0.2-r3 b/net-proxy/junkbuster/files/digest-junkbuster-2.0.2-r3 new file mode 100644 index 000000000000..b8d73f6b66ec --- /dev/null +++ b/net-proxy/junkbuster/files/digest-junkbuster-2.0.2-r3 @@ -0,0 +1 @@ +MD5 608ae3aee43ffd09117e00e28086946b junkbuster-2.0.2-8.tar.gz 233713 diff --git a/net-proxy/junkbuster/files/junkbuster-2.0.2-fixups.patch b/net-proxy/junkbuster/files/junkbuster-2.0.2-fixups.patch new file mode 100644 index 000000000000..47ed33eed0d0 --- /dev/null +++ b/net-proxy/junkbuster/files/junkbuster-2.0.2-fixups.patch @@ -0,0 +1,67 @@ +diff -Nru ijb20.orig/filters.c ijb20/filters.c +--- ijb20.orig/filters.c 2000-03-29 16:05:42.000000000 +0300 ++++ ijb20/filters.c 2005-04-12 22:54:06.295702048 +0300 +@@ -652,7 +652,7 @@ + ij_untrusted_url(struct http_request *http, struct client_state *csp) + { + int n; +- char *hostport, *path, *p, *v[9]; ++ char *hostport, *path, *referrer, *p, *v[9]; + char buf[BUFSIZ]; + struct url_spec **tl, *t; + +@@ -700,9 +700,9 @@ + freez(hostport); + freez(path ); + +- strsav(p, "The referrer in this request was <strong>"); +- strsav(p, referrer); +- strsav(p, "</strong><br>\n"); ++ p = strsav(p, "The referrer in this request was <strong>"); ++ p = strsav(p, referrer); ++ p = strsav(p, "</strong><br>\n"); + + p = strsav(p, "<h3>The following referrers are trusted</h3>\n"); + +@@ -773,7 +773,7 @@ + + sprintf(out_str, + "%d requests received, %d filtered " +- "(%6.2f \%).\0", ++ "(%6.2f %%).", + urls_read, urls_rejected+1, perc_rej); + + s = strsav(s,out_str); +diff -Nru ijb20.orig/socks4.c ijb20/socks4.c +--- ijb20.orig/socks4.c 1998-10-30 23:58:48.000000000 +0200 ++++ ijb20/socks4.c 2005-04-12 22:44:47.367672024 +0300 +@@ -9,6 +9,7 @@ + #include <stdio.h> + #include <sys/types.h> + #include <errno.h> ++#include <string.h> + + #ifdef _WIN32 + #include <io.h> +@@ -56,7 +57,7 @@ + unsigned char sbuf[BUFSIZ]; + struct socks_op *c = (struct socks_op *)cbuf; + struct socks_reply *s = (struct socks_reply *)sbuf; +- int web_server_addr; ++ int web_server_addr = 0; + int n, csiz, sfd, target_port; + int err = 0; + char *errstr, *target_host; +diff -Nru ijb20.orig/ssplit.c ijb20/ssplit.c +--- ijb20.orig/ssplit.c 1998-10-30 23:58:48.000000000 +0200 ++++ ijb20/ssplit.c 2005-04-12 22:44:47.368671872 +0300 +@@ -19,6 +19,9 @@ + */ + + #include <string.h> ++#include <stdlib.h> ++ ++extern void *zalloc(int); + + int ssplit(char *s, char *c, char *v[], int n, int m, int l) + { diff --git a/net-proxy/junkbuster/files/junkbuster.rc6 b/net-proxy/junkbuster/files/junkbuster.rc6 new file mode 100644 index 000000000000..65051763911b --- /dev/null +++ b/net-proxy/junkbuster/files/junkbuster.rc6 @@ -0,0 +1,17 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/junkbuster/files/junkbuster.rc6,v 1.1 2005/04/22 19:15:11 mrness Exp $ + +start() { + ebegin "Starting junkbuster" + start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/junkbuster.pid --exec /usr/sbin/junkbuster -- /etc/junkbuster/config & + eend $? +} + +stop() { + ebegin "Stopping junkbuster" + start-stop-daemon --stop --quiet --pidfile /var/run/junkbuster.pid + rm -f /var/run/junkbuster.pid + eend $? +} diff --git a/net-proxy/junkbuster/junkbuster-2.0.2-r3.ebuild b/net-proxy/junkbuster/junkbuster-2.0.2-r3.ebuild new file mode 100644 index 000000000000..843b1ba7bfd3 --- /dev/null +++ b/net-proxy/junkbuster/junkbuster-2.0.2-r3.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/junkbuster/junkbuster-2.0.2-r3.ebuild,v 1.1 2005/04/22 19:15:11 mrness Exp $ +inherit eutils + +DESCRIPTION="Filtering HTTP proxy" +HOMEPAGE="http://internet.junkbuster.com" +SRC_URI="http://www.waldherr.org/redhat/rpm/srpm/junkbuster-2.0.2-8.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 sparc ppc" +IUSE="" + +DEPEND="virtual/libc" + +S=${WORKDIR}/ijb20 + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-fixups.patch + + sed -i -e 's:^CFLAGS *=:CFLAGS +=:' ${S}/Makefile +} + +src_install () { + dosbin junkbuster + + dodir /etc/init.d + exeinto /etc/init.d + newexe ${FILESDIR}/junkbuster.rc6 junkbuster + + dodir /etc/junkbuster + insinto /etc/junkbuster + doins blocklist config cookiefile forward imagelist + + dohtml gpl.html ijbman.html ijbfaq.html + dodoc README README.TOO README.WIN squid.txt + + doman junkbuster.1 + + dodir /var/log/junkbuster +} diff --git a/net-proxy/junkbuster/metadata.xml b/net-proxy/junkbuster/metadata.xml new file mode 100644 index 000000000000..c3460bec585d --- /dev/null +++ b/net-proxy/junkbuster/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-proxy</herd> +<longdescription>Filtering HTTP proxy</longdescription> +</pkgmetadata> |