From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 2 12:30:29 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27A3516A421 for ; Fri, 2 Sep 2005 12:30:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 901FE43D55 for ; Fri, 2 Sep 2005 12:30:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j82CUHLn013484 for ; Fri, 2 Sep 2005 12:30:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j82CUHc8013483; Fri, 2 Sep 2005 12:30:17 GMT (envelope-from gnats) Resent-Date: Fri, 2 Sep 2005 12:30:17 GMT Resent-Message-Id: <200509021230.j82CUHc8013483@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Emanuel Haupt Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5882216A41F for ; Fri, 2 Sep 2005 12:24:40 +0000 (GMT) (envelope-from ehaupt@mx.critical.ch) Received: from mx.critical.ch (admin.critical.ch [67.18.86.178]) by mx1.FreeBSD.org (Postfix) with SMTP id 16DE943D45 for ; Fri, 2 Sep 2005 12:24:39 +0000 (GMT) (envelope-from ehaupt@mx.critical.ch) Received: (qmail 24619 invoked by uid 1000); 2 Sep 2005 12:24:38 -0000 Message-Id: <20050902122438.24618.qmail@mx.critical.ch> Date: 2 Sep 2005 12:24:38 -0000 From: Emanuel Haupt To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/85634: new port: net/micro_proxy - A really small HTTP/HTTPS proxy X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Emanuel Haupt List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2005 12:30:29 -0000 >Number: 85634 >Category: ports >Synopsis: new port: net/micro_proxy - A really small HTTP/HTTPS proxy >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Sep 02 12:30:16 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Emanuel Haupt >Release: FreeBSD 4.11-RELEASE-p11 i386 >Organization: >Environment: System: FreeBSD admin.critical.ch 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #0: Thu Jun 30 09:36:40 CEST 2005 root@admin.critical.ch:/usr/obj/usr/src-release/src/sys/GENERIC i386 >Description: new port: net/micro_proxy - A really small HTTP/HTTPS proxy Microproxy is a very small Unix-based HTTP/HTTPS proxy. It runs from inetd, which means its performance is poor. But for low-traffic sites, it's quite adequate. It implements all the basic features of an HTTP/HTTPS proxy, including IPv6 forwarding, in only 320 lines of code. >How-To-Repeat: >Fix: --- micro_proxy.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: # # micro_proxy # micro_proxy/Makefile # micro_proxy/pkg-descr # micro_proxy/distinfo # micro_proxy/pkg-message # micro_proxy/pkg-deinstall # echo c - micro_proxy mkdir -p micro_proxy > /dev/null 2>&1 echo x - micro_proxy/Makefile sed 's/^X//' >micro_proxy/Makefile << 'END-of-micro_proxy/Makefile' X# New ports collection makefile for: micro_proxy X# Date created: 2 Sep 2005 X# Whom: Emanuel Haupt X# X# $FreeBSD$ X# X XPORTNAME= micro_proxy XPORTVERSION= 20021030 XCATEGORIES= net XMASTER_SITES= http://www.acme.com/software/micro_proxy/ XDISTNAME= ${PORTNAME}_30oct2002 X XMAINTAINER= ehaupt@critical.ch XCOMMENT= A really small HTTP/HTTPS proxy X XWRKSRC= ${WRKDIR}/${PORTNAME} XPLIST_FILES= libexec/micro_proxy XMAN8= micro_proxy.8 X Xdo-build: X ${CC} ${CFLAGS} -c ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}.o X ${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.o -o ${WRKSRC}/${PORTNAME} X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/libexec X ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MANPREFIX}/man/man8 X Xpost-install: X @${SED} -e 's|%%PREFIX%%|${PREFIX}|' ${PKGMESSAGE} X X.include END-of-micro_proxy/Makefile echo x - micro_proxy/pkg-descr sed 's/^X//' >micro_proxy/pkg-descr << 'END-of-micro_proxy/pkg-descr' XMicroproxy is a very small Unix-based HTTP/HTTPS proxy. It runs from inetd, Xwhich means its performance is poor. But for low-traffic sites, it's quite Xadequate. X XIt implements all the basic features of an HTTP/HTTPS proxy, including IPv6 Xforwarding, in only 320 lines of code. X XWWW: http://www.acme.com/software/micro_proxy/ X X- ehaupt Xehaupt@critical.ch END-of-micro_proxy/pkg-descr echo x - micro_proxy/distinfo sed 's/^X//' >micro_proxy/distinfo << 'END-of-micro_proxy/distinfo' XMD5 (micro_proxy_30oct2002.tar.gz) = d83288fbc61b73a9dc0f62a49c6f1ab2 XSIZE (micro_proxy_30oct2002.tar.gz) = 5822 END-of-micro_proxy/distinfo echo x - micro_proxy/pkg-message sed 's/^X//' >micro_proxy/pkg-message << 'END-of-micro_proxy/pkg-message' X=============================================================================== X XMicro_proxy has been successfully installed. If you want to run micro_proxy Xwith inetd add X X webproxy 8080/tcp X Xto services(5), X X webproxy stream tcp nowait nobody %%PREFIX%%/libexec/micro_proxy -R 10000 micro_proxy X Xto inetd.conf(5), X X enable_inetd="YES" X Xto rc.conf(5) and restart inetd(8). See micro_proxy(8) for more information. X X=============================================================================== END-of-micro_proxy/pkg-message echo x - micro_proxy/pkg-deinstall sed 's/^X//' >micro_proxy/pkg-deinstall << 'END-of-micro_proxy/pkg-deinstall' X#!/bin/sh X# X# $FreeBSD$ X# X Xcase $2 in XPOST-DEINSTALL) Xcat << "EOF" X=============================================================================== XMicro_proxy has been successfully deinstalled. If you ran it with inetd(8) make Xsure you remove all the manual configuration. X=============================================================================== XEOF X;; Xesac END-of-micro_proxy/pkg-deinstall exit --- micro_proxy.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: