--- micro-proxy-20021030+debian.orig/debian/patches/00list +++ micro-proxy-20021030+debian/debian/patches/00list @@ -0,0 +1 @@ +01-manpage --- micro-proxy-20021030+debian.orig/debian/patches/01-manpage.dpatch +++ micro-proxy-20021030+debian/debian/patches/01-manpage.dpatch @@ -0,0 +1,60 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## 01-manpage.dpatch by Daniel Baumann + +@DPATCH@ + +diff -Naur micro_proxy.orig/micro_proxy.8 micro_proxy/micro_proxy.8 +--- micro_proxy.orig/micro_proxy.8 2005-06-29 17:29:11.000000000 +0000 ++++ micro_proxy/micro_proxy.8 2005-11-05 14:19:03.719576104 +0000 +@@ -1,6 +1,6 @@ + .TH micro_proxy 8 "16 March 1999" + .SH NAME +-micro_proxy - really small HTTP/HTTPS proxy ++micro_proxy \- really small HTTP/HTTPS proxy + .SH SYNOPSIS + .B micro_proxy + .SH DESCRIPTION +@@ -8,13 +8,13 @@ + .I micro_proxy + is a very small HTTP/HTTPS proxy. + It runs from inetd, which means its performance is poor. +-But for low-traffic sites, it's quite adequate. ++But for low\-traffic sites, it's quite adequate. + It implements all the basic features of an HTTP/HTTPS proxy, + in only 260 lines of code. + .PP + To install it, add a line like this to /etc/inetd.conf: + .nf +- webproxy stream tcp nowait nobody /usr/local/sbin/micro_proxy micro_proxy ++ webproxy stream tcp nowait nobody /usr/sbin/micro_proxy micro_proxy + .fi + Make sure the path to the executable is correct. + Then add a line like this to /etc/services: +@@ -21,21 +21,21 @@ + .nf + webproxy port/tcp + .fi +-Change "port" to the port number you want to use - 3128, or whatever. ++Change "port" to the port number you want to use \- 3128, or whatever. + Then restart inetd by sending it a "HUP" signal, or rebooting. + .PP +-On some systems, inetd has a maximum spawn rate - if you try to run ++On some systems, inetd has a maximum spawn rate \- if you try to run + inetd services faster than a certain number of times per minute, it + assumed there's either a bug of an attack going on and it shuts down + for a few minutes. +-If you run into this problem - look for syslog messages about too-rapid +-looping - you'll need to find out how to increase the limit. ++If you run into this problem \- look for syslog messages about too\-rapid ++looping \- you'll need to find out how to increase the limit. + Unfortunately this varies from OS to OS. +-On FreeBSD, you add a "-R 10000" flag to inetd's initial command line. ++On FreeBSD, you add a "\-R 10000" flag to inetd's initial command line. + On some Linux systems, you can set the limit on a per-service basis + in inetd.conf, by changing "nowait" to "nowait.10000". + .SH AUTHOR +-Copyright © 1999 by Jef Poskanzer . All rights reserved. ++Copyright (C) 1999 by Jef Poskanzer . All rights reserved. + .\" Redistribution and use in source and binary forms, with or without + .\" modification, are permitted provided that the following conditions + .\" are met: --- micro-proxy-20021030+debian.orig/debian/changelog +++ micro-proxy-20021030+debian/debian/changelog @@ -0,0 +1,46 @@ +micro-proxy (20021030+debian-5) unstable; urgency=low + + * Migrate package from experimental to unstable. + + -- Paul Cager Sun, 15 Apr 2007 22:07:06 +0100 + +micro-proxy (20021030+debian-4) experimental; urgency=low + + * New maintainer. (Closes: #407659) + + -- Paul Cager Fri, 23 Mar 2007 00:15:37 +0000 + +micro-proxy (20021030+debian-3) unstable; urgency=low + + * Orphaning package. + + -- Daniel Baumann Sat, 20 Jan 2007 12:27:00 +0100 + +micro-proxy (20021030+debian-2) unstable; urgency=low + + * New email address. + * Bumped policy version. + + -- Daniel Baumann Mon, 14 Aug 2006 14:32:00 +0200 + +micro-proxy (20021030+debian-1) unstable; urgency=low + + * Upstream did some minor formal modifications on the upstream-tarball without + bumping the version, therefore using +debian. + * Fixed depends (Closes: #33755). + * Minor formal cleanups. + + -- Daniel Baumann Sat, 5 Nov 2005 13:58:00 +0100 + +micro-proxy (20021030-2) unstable; urgency=low + + * fixed path in manpage (Closes: #309225). + * bumped policy to 3.6.2. + + -- Daniel Baumann Fri, 8 Jul 2005 16:56:00 +0200 + +micro-proxy (20021030-1) unstable; urgency=low + + * Initial Release. + + -- Daniel Baumann Sun, 5 Dec 2004 21:04:39 +0100 --- micro-proxy-20021030+debian.orig/debian/copyright +++ micro-proxy-20021030+debian/debian/copyright @@ -0,0 +1,36 @@ +This package was debianized by Daniel Baumann on +Sun, 5 Dec 2004 21:04:39 +0100. + +It was downloaded from . + +Copyright Holder: Jef Poskanzer + +License: + + Copyright (C) 1999-2005 Jef Poskanzer + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF + THE POSSIBILITY OF SUCH DAMAGE. + +The Debian packaging is (C) 2004-2007, Daniel Baumann and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- micro-proxy-20021030+debian.orig/debian/compat +++ micro-proxy-20021030+debian/debian/compat @@ -0,0 +1 @@ +5 --- micro-proxy-20021030+debian.orig/debian/rules +++ micro-proxy-20021030+debian/debian/rules @@ -0,0 +1,63 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +build: build-stamp +build-stamp: patch-stamp + dh_testdir + + # Building package + CFLAGS="$(CFLAGS)" $(MAKE) + + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + + # Cleaning package + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Installing package + $(MAKE) install BINDIR=$(CURDIR)/debian/micro-proxy/usr/sbin MANDIR=$(CURDIR)/debian/micro-proxy/usr/share/man/man8 + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_install + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- micro-proxy-20021030+debian.orig/debian/control +++ micro-proxy-20021030+debian/debian/control @@ -0,0 +1,19 @@ +Source: micro-proxy +Section: web +Priority: optional +Maintainer: Paul Cager +Build-Depends: debhelper (>= 5), dpatch +Standards-Version: 3.7.2 + +Package: micro-proxy +Section: web +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: micro-httpd, micro-inetd +Description: really small HTTP/HTTPS proxy + micro_proxy 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. + . + Homepage: --- micro-proxy-20021030+debian.orig/debian/dirs +++ micro-proxy-20021030+debian/debian/dirs @@ -0,0 +1,2 @@ +/usr/sbin/ +/usr/share/man/man8