From owner-freebsd-ports Wed Sep 25 4:30: 9 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3504C37B401 for ; Wed, 25 Sep 2002 04:30:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B13E43E6A for ; Wed, 25 Sep 2002 04:30:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8PBU3Co008461 for ; Wed, 25 Sep 2002 04:30:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8PBU3T8008459; Wed, 25 Sep 2002 04:30:03 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1105E37B401 for ; Wed, 25 Sep 2002 04:22:14 -0700 (PDT) Received: from bigglesworth.mail.be.easynet.net (bigglesworth.mail.be.easynet.net [212.100.160.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EE0643E7B for ; Wed, 25 Sep 2002 04:22:13 -0700 (PDT) (envelope-from opr@bsdaemon.be) Received: from 212-100-182-20.adsl.easynet.be ([212.100.182.20] helo=laptop.wifi.bsdaemon.be) by bigglesworth.mail.be.easynet.net with esmtp (Exim 3.35 #1) id 17uAF8-0003j0-00 for FreeBSD-gnats-submit@freebsd.org; Wed, 25 Sep 2002 13:22:11 +0200 Message-Id: <1032952892.10974.3.camel@laptop.core.bsdaemon.be> Date: 25 Sep 2002 13:21:32 +0200 From: opr To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/43356: New Port Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 43356 >Category: ports >Synopsis: New Port >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Sep 25 04:30:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: opr@bsdaemon.be >Release: FreeBSD 4.6.2-RELEASE-p2 i386 >Organization: BSDaemon/Securax >Environment: System: FreeBSD laptop.core.bsdaemon.be 4.6.2-RELEASE-p2 FreeBSD 4.6.2-RELEASE-p2 #2: Thu Sep 19 11:18:36 CEST 2002 opr@laptop.core.bsdaemon.be:/usr/obj/usr/src/sys/LAPTOP i386 >Description: Secure HTTP Proxy >How-To-Repeat: >Fix: --- twhttpd.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # twhttpd # twhttpd/pkg-plist # twhttpd/distinfo # twhttpd/pkg-descr # twhttpd/pkg-comment # twhttpd/Makefile # twhttpd/files # twhttpd/files/patch-aa # twhttpd/files/patch-ab # twhttpd/files/patch-ac # twhttpd/files/patch-ad # twhttpd/pkg-message # echo c - twhttpd mkdir -p twhttpd > /dev/null 2>&1 echo x - twhttpd/pkg-plist sed 's/^X//' >twhttpd/pkg-plist << 'END-of-twhttpd/pkg-plist' Xsbin/twhttpd Xsbin/rm_cache Xetc/twhttpd.cfg.sample END-of-twhttpd/pkg-plist echo x - twhttpd/distinfo sed 's/^X//' >twhttpd/distinfo << 'END-of-twhttpd/distinfo' XMD5 (twhttpd-1.0.tar.gz) = 09b49b470e689fc1e5917b9503cea71d END-of-twhttpd/distinfo echo x - twhttpd/pkg-descr sed 's/^X//' >twhttpd/pkg-descr << 'END-of-twhttpd/pkg-descr' Xtwhttpd is a powerful secure HTTP proxy. Xtwhttpd protects your internal Web server by acting as an inbound proxy X(like a reserve Squid proxy). It can also work as a secure outbound proxy Xto protect your browser client. It allows you to inspect almost every Xdetail of the HTTP protocol headers, including the URL request line, the Xserver version, user-agent, referrer, cookie, query, etc., in a Xeasy-to-use script-like configuration file. XThis program is generally considered an "Expert Tool"; you will need Xknowledge of the HTTP protocol to configure the proxy properly. X XWWW: http://www.geocities.com/samngms/twhttpd/ X X- Pieter Xopr@bsdaemon.be END-of-twhttpd/pkg-descr echo x - twhttpd/pkg-comment sed 's/^X//' >twhttpd/pkg-comment << 'END-of-twhttpd/pkg-comment' XSecure HTTP Proxy END-of-twhttpd/pkg-comment echo x - twhttpd/Makefile sed 's/^X//' >twhttpd/Makefile << 'END-of-twhttpd/Makefile' X# New ports collection makefile for: twhttpd-1.0 X# Date created: 25 Sep 2002 X# Whom: Pieter Danhieux X# X# $FreeBSD$ X# X XPORTNAME= twhttpd XPORTVERSION= 1.0 XCATEGORIES= mail XMASTER_SITES= http://www.geocities.com/samngms/twhttpd/download/ XDISTNAME= twhttpd-${PORTVERSION} X XMAINTAINER= opr@bsdaemon.be X XGNU_CONFIGURE= yes XUSE_GMAKE= yes XUSE_AUTOCONF= yes X Xdo-install: X @${INSTALL_PROGRAM} -o root -g wheel -m 0755 ${WRKSRC}/twhttpd ${PREFIX}/sbin/twhttpd X @${INSTALL} -o root -g wheel -m 0755 ${WRKSRC}/rm_cache ${PREFIX}/sbin/rm_cache X @${INSTALL} -o root -g wheel -m 0700 ${WRKSRC}/twhttpd.cfg ${PREFIX}/etc/twhttpd.cfg.sample X Xpost-install: X @${CAT} ${PKGMESSAGE} X.include END-of-twhttpd/Makefile echo c - twhttpd/files mkdir -p twhttpd/files > /dev/null 2>&1 echo x - twhttpd/files/patch-aa sed 's/^X//' >twhttpd/files/patch-aa << 'END-of-twhttpd/files/patch-aa' X--- config.h.orig Sat Aug 31 05:40:23 2002 X+++ config.h Wed Sep 25 12:01:58 2002 X@@ -31,7 +31,7 @@ X #define CURRENT_DIR "./" X #define DEFAULT_CACHE_DIR ".cache" X #define DEFAULT_COOKIE_DIR ".cookie" X-#define DEFAULT_CONFIG_FILE "/etc/twhttpd.cfg" X+#define DEFAULT_CONFIG_FILE "/usr/local/etc/twhttpd.cfg" X X #define SOCKET_TIMEOUT 45 /* socket timeout value */ X #define CONNECT_TIMEOUT 15 /* connect timeout value */ END-of-twhttpd/files/patch-aa echo x - twhttpd/files/patch-ab sed 's/^X//' >twhttpd/files/patch-ab << 'END-of-twhttpd/files/patch-ab' X--- httplog.c.orig Sat Dec 8 15:15:44 2001 X+++ httplog.c Wed Sep 25 12:02:28 2002 X@@ -40,6 +40,7 @@ X #include X #include X #include X+#include X #include X #include X #include X@@ -151,4 +152,4 @@ X } X } X } X-} X+} END-of-twhttpd/files/patch-ab echo x - twhttpd/files/patch-ac sed 's/^X//' >twhttpd/files/patch-ac << 'END-of-twhttpd/files/patch-ac' X--- twhttpd.c.orig Sat Aug 31 05:16:35 2002 X+++ twhttpd.c Wed Sep 25 12:02:49 2002 X@@ -33,7 +33,7 @@ X #include X #include X #include X-#include X+#include X #include X #include X #include END-of-twhttpd/files/patch-ac echo x - twhttpd/files/patch-ad sed 's/^X//' >twhttpd/files/patch-ad << 'END-of-twhttpd/files/patch-ad' X--- configure.in.orig Wed Sep 25 12:41:35 2002 X+++ configure.in Wed Sep 25 12:41:44 2002 X@@ -8,7 +8,7 @@ X AC_PROG_LEX X X dnl Checks for libraries. X-AC_CHECK_LIB(pwdb, crypt) X+AC_CHECK_LIB(crypt, crypt) X AC_CHECK_LIB(socket, bind) X AC_CHECK_LIB(nsl, gethostbyname) X END-of-twhttpd/files/patch-ad echo x - twhttpd/pkg-message sed 's/^X//' >twhttpd/pkg-message << 'END-of-twhttpd/pkg-message' X*************************************************************************** Xtwhttpd is installed in /usr/local/sbin/ XNow copy /usr/local/etc/twhttpd.cfg.sample to twhttpd.cfg, Xand edit it. X*************************************************************************** END-of-twhttpd/pkg-message exit --- twhttpd.shar ends here --- -- www.bsdaemon.be - securax.org - docs.bsdaemon.be keyserver: pgpkeys.mit.edu PGP keyID: DA07EAE9 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message