--- ucspi-proxy-0.99.orig/debian/changelog +++ ucspi-proxy-0.99/debian/changelog @@ -0,0 +1,68 @@ +ucspi-proxy (0.99-1) unstable; urgency=low + + * new upstream version. + * debian/control: Standards-Version: 3.9.5.0. + * debian/control: fix spelling error. + + -- Gerrit Pape Sun, 10 Aug 2014 14:58:28 +0000 + +ucspi-proxy (0.98-1) unstable; urgency=low + + * new upstream version. + * debian/diff/0001-INSTHIER-install-the-ucspi-proxy-program.diff: + remove; applied upstream. + * debian/copyright: refer to /usr/share/common-licenses/GPL-2. + * debian/control: Standards-Version: 3.8.3.0. + + -- Gerrit Pape Thu, 19 Nov 2009 21:54:31 +0000 + +ucspi-proxy (0.97-1) unstable; urgency=low + + * new upstream version. + * debian/implicit: update to revision a09db2e. + * debian/control: Build-Depends: libbg1-dev; Standards-Version: + 3.7.3.0. + * debian/copyright: 2006. + * debian/rules: adjust paths to bglibs; drop diet package for now. + * debian/diff/0001-INSTHIER-install-the-ucspi-proxy-program.diff, + debian/diff/0002-TARGETS-don-t-remove-.html.diff: redo + INSTHIER.diff, TARGETS.diff with git. + * debian/rules: apply patches with -p1, not -p0. + * debian/rules: don't ignore error on make clean. + * debian/diff/0003-Makefile-avoid-rpath.diff: new; avoid rpath. + + -- Gerrit Pape Tue, 13 May 2008 20:44:00 +0000 + +ucspi-proxy (0.96-1) unstable; urgency=low + + * new upstream version. + * debian/control: Build-Depends: bglibs-dev (>> 1.025-0); + Standards-Version: 3.6.2.0. + * debian/copyright: 2005. + * debian/implicit: update to revision 1.10. + * debian/rules: cleanup; adapt to new upstream version. + * debian/ucspi-proxy.docs: add NEWS. + * debian/diff/INSTHIER.diff: new; install the ucspi-proxy program. + * debian/diff/TARGETS.diff: new; don't remove html files on make clean. + + -- Gerrit Pape Wed, 5 Oct 2005 10:11:57 +0000 + +ucspi-proxy (0.95-2) unstable; urgency=low + + * debian/control: no longer Build-Depends: debhelper; Standards-Version: + 3.6.1.0; update url in description. + * debian/copyright: include explicit copyright statement; refer to + common-licenses/GPL. + * debian/rules: stop using debhelper, use implicit rules. + * debian/implicit: new; implicit rules. + * debian/ucspi-proxy.docs: new. + * debian/dirs, debian/docs, debian/undocumented: remove; obsolete. + + -- Gerrit Pape Thu, 18 Dec 2003 13:27:54 +0000 + +ucspi-proxy (0.95-1) unstable; urgency=low + + * Initial Release (closes: #93151). + + -- Gerrit Pape Sat, 19 Jan 2002 14:34:54 +0100 + --- ucspi-proxy-0.99.orig/debian/control +++ ucspi-proxy-0.99/debian/control @@ -0,0 +1,16 @@ +Source: ucspi-proxy +Section: net +Priority: optional +Maintainer: Gerrit Pape +Build-Depends: libbg1-dev +Standards-Version: 3.9.5.0 + +Package: ucspi-proxy +Architecture: any +Depends: ${shlibs:Depends} +Description: Connection proxy for UCSPI tools + This package contains a proxy program that passes data back and forth + between two connections set up by a UCSPI server and a UCSPI client. + . + See http://cr.yp.to/proto/ucspi.txt for more information on UCSPI. See + http://untroubled.org/ucspi-proxy/ for recent information. --- ucspi-proxy-0.99.orig/debian/copyright +++ ucspi-proxy-0.99/debian/copyright @@ -0,0 +1,15 @@ +This package was debianized by Gerrit Pape on +Sat, 19 Jan 2002 14:34:54 +0100. + +It was downloaded from http://untroubled.org/ucspi-proxy/ + +Upstream Author: Bruce Guenter + +Copyright: + +This program is Copyright(C) 2000-2006 Bruce Guenter, and may be copied +according to the GNU GENERAL PUBLIC LICENSE (GPL) Version 2 or a later +version. A copy of this license is included with this package. This +package comes with no warranty of any kind. + +The full text of the GPL can be found at /usr/share/common-licenses/GPL-2. --- ucspi-proxy-0.99.orig/debian/diff/0001-TARGETS-don-t-remove-.html.diff +++ ucspi-proxy-0.99/debian/diff/0001-TARGETS-don-t-remove-.html.diff @@ -0,0 +1,31 @@ +From 894f51844e7c8408602a4236963b35819d50f48b Mon Sep 17 00:00:00 2001 +From: Gerrit Pape +Date: Tue, 13 May 2008 20:33:55 +0000 +Subject: [PATCH] TARGETS: don't remove *.html + +--- + TARGETS | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/TARGETS b/TARGETS +index 073bc28..f42309d 100644 +--- a/TARGETS ++++ b/TARGETS +@@ -19,7 +19,6 @@ relay-filter.o + tcp-connect.o + ucspi-proxy + ucspi-proxy-http-xlate +-ucspi-proxy-http-xlate.1.html + ucspi-proxy-http-xlate.o + ucspi-proxy-imap + ucspi-proxy-imap.o +@@ -27,6 +26,5 @@ ucspi-proxy-log + ucspi-proxy-log.o + ucspi-proxy-pop3 + ucspi-proxy-pop3.o +-ucspi-proxy.1.html + ucspi-proxy.a + ucspi-proxy.o +-- +2.0.1 + --- ucspi-proxy-0.99.orig/debian/diff/0002-Makefile-avoid-rpath.diff +++ ucspi-proxy-0.99/debian/diff/0002-Makefile-avoid-rpath.diff @@ -0,0 +1,25 @@ +From 7e974cb9897e3170d13bede8b30d382f0b4e3bf0 Mon Sep 17 00:00:00 2001 +From: Gerrit Pape +Date: Tue, 13 May 2008 20:43:36 +0000 +Subject: [PATCH] Makefile: avoid rpath + +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 43fa166..8571c4a 100644 +--- a/Makefile ++++ b/Makefile +@@ -47,7 +47,7 @@ load: conf-ld conf-bglibs + ( bglibs=`head -n 1 conf-bglibs`; \ + echo '#!/bin/sh';\ + echo 'main="$$1"; shift';\ +- echo exec `head -n 1 conf-ld` -L. "-L'$${bglibs}'" "-Wl,-R'$${bglibs}'" '-o "$$main" "$$main.o" $${1+"$$@"}' -lbg-sysdeps; \ ++ echo exec `head -n 1 conf-ld` -L. "-L'$${bglibs}'" '-o "$$main" "$$main.o" $${1+"$$@"}' -lbg-sysdeps; \ + ) >load + chmod 755 load + +-- +2.0.1 + --- ucspi-proxy-0.99.orig/debian/implicit +++ ucspi-proxy-0.99/debian/implicit @@ -0,0 +1,93 @@ +# $Id: a09db2e42c8b6a2d820754d741558e5894944746 $ + +.PHONY: deb-checkdir deb-checkuid + +deb-checkdir: + @test -e debian/control || sh -cx '! : wrong directory' +deb-checkuid: + @test "`id -u`" -eq 0 || sh -cx '! : need root privileges' + +%.deb: %.deb-docs %.deb-DEBIAN + @rm -f $*.deb $*.deb-checkdir $*.deb-docs $*.deb-docs-base \ + $*.deb-docs-docs $*.deb-docs-examples $*.deb-DEBIAN \ + $*.deb-DEBIAN-dir $*.deb-DEBIAN-scripts $*.deb-DEBIAN-md5sums + +%.udeb: %.deb-DEBIAN + @rm -f $*.deb $*.deb-checkdir $*.deb-DEBIAN $*.deb-DEBIAN-dir \ + $*.deb-DEBIAN-scripts $*.deb-DEBIAN-md5sums + +%.deb-checkdir: install + @test -d debian/$* || sh -cx '! : directory debian/$* missing' + @test "`id -u`" -eq 0 || sh -cx '! : need root privileges' + +%.deb-docs-base: install + : implicit + @rm -f debian/$*/usr/share/doc/$*/* || : + @install -d -m0755 debian/$*/usr/share/doc/$* + : debian/$*/usr/share/doc/$*/ + @sh -cx 'install -m0644 debian/copyright debian/$*/usr/share/doc/$*/' + @sh -cx 'install -m0644 debian/changelog \ + debian/$*/usr/share/doc/$*/changelog.Debian' + @test ! -r changelog || \ + sh -cx 'install -m0644 changelog debian/$*/usr/share/doc/$*/' + @test -r debian/$*/usr/share/doc/$*/changelog || \ + sh -cx 'mv debian/$*/usr/share/doc/$*/changelog.Debian \ + debian/$*/usr/share/doc/$*/changelog' + @test -s debian/$*/usr/share/doc/$*/changelog || \ + sh -cx 'rm -f debian/$*/usr/share/doc/$*/changelog' + @gzip -9 debian/$*/usr/share/doc/$*/changelog* +%.deb-docs-docs: %.deb-docs-base + @for i in `cat debian/$*.docs 2>/dev/null || :`; do \ + if test -d $$i; then \ + sh -cx "install -d -m0755 debian/$*/usr/share/doc/$*/$${i##*/}" && \ + for j in $$i/*; do \ + sh -cx "install -m0644 $$j \ + debian/$*/usr/share/doc/$*/$${i##*/}/" || exit 1; \ + done || exit 1; \ + continue; \ + fi; \ + sh -cx "install -m0644 $$i debian/$*/usr/share/doc/$*/" || exit 1; \ + done + @test ! -r debian/$*.README.Debian || \ + sh -cx 'install -m0644 debian/$*.README.Debian \ + debian/$*/usr/share/doc/$*/README.Debian' + @if test -r debian/$*.NEWS.Debian; then \ + sh -cx 'install -m0644 debian/$*.NEWS.Debian \ + debian/$*/usr/share/doc/$*/NEWS.Debian && \ + gzip -9 debian/$*/usr/share/doc/$*/NEWS.Debian'; \ + fi +%.deb-docs-examples: %.deb-docs-docs + @rm -rf debian/$*/usr/share/doc/$*/examples + : debian/$*/usr/share/doc/$*/examples/ + @test ! -r debian/$*.examples || \ + install -d -m0755 debian/$*/usr/share/doc/$*/examples + @for i in `cat debian/$*.examples 2>/dev/null || :`; do \ + sh -cx "install -m0644 $$i debian/$*/usr/share/doc/$*/examples/" \ + || exit 1; \ + done +%.deb-docs: %.deb-checkdir %.deb-docs-base %.deb-docs-docs %.deb-docs-examples + : debian/$*/usr/share/doc/$*/ ok + +%.deb-DEBIAN-base: install + @rm -rf debian/$*/DEBIAN + : debian/$*/DEBIAN/ + @install -d -m0755 debian/$*/DEBIAN + @for i in conffiles shlibs templates; do \ + test ! -r debian/$*.$$i || \ + sh -cx "install -m0644 debian/$*.$$i debian/$*/DEBIAN/$$i" \ + || exit 1; \ + done +%.deb-DEBIAN-scripts: %.deb-DEBIAN-base + @for i in preinst prerm postinst postrm config; do \ + test ! -r debian/$*.$$i || \ + sh -cx "install -m0755 debian/$*.$$i debian/$*/DEBIAN/$$i" \ + || exit 1; \ + done +%.deb-DEBIAN-md5sums: %.deb-DEBIAN-base %.deb-docs + : debian/$*/DEBIAN/md5sums + @rm -f debian/$*/DEBIAN/md5sums + @cd debian/$* && find * -path 'DEBIAN' -prune -o \ + -type f -exec md5sum {} >>DEBIAN/md5sums \; +%.deb-DEBIAN: %.deb-checkdir %.deb-DEBIAN-base %.deb-DEBIAN-scripts \ + %.deb-DEBIAN-md5sums + : debian/$*/DEBIAN/ ok --- ucspi-proxy-0.99.orig/debian/rules +++ ucspi-proxy-0.99/debian/rules @@ -0,0 +1,67 @@ +#!/usr/bin/make -f + +CC =gcc +CFLAGS =-W -Wall -Wshadow -O2 -g +STRIP =strip +BGINCS =/usr/include/bglibs +BGLIBS =/usr/lib + +ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + STRIP =: nostrip +endif + +DIR =$(shell pwd)/debian/ucspi-proxy + +patch: deb-checkdir patch-stamp +patch-stamp: + for i in `ls -1 debian/diff/*.diff || :`; do \ + patch -p1 <$$i || exit 1; \ + done + touch patch-stamp + +configure: deb-checkdir configure-stamp +configure-stamp: patch-stamp + for i in conf-*; do \ + test -e $${i%'{orig}'}'{orig}' || cp -v $$i $$i'{orig}'; \ + done + echo '/usr/bin' >conf-bin + echo '$(BGINCS)' >conf-bgincs + echo '$(BGLIBS)' >conf-bglibs + echo '$(CC) $(CFLAGS)' >conf-cc + echo '$(CC)' >conf-ld + echo '/usr/share/man' >conf-man + touch configure-stamp + +build: deb-checkdir build-stamp +build-stamp: configure-stamp + $(MAKE) + touch build-stamp + +clean: deb-checkdir deb-checkuid patch-stamp + $(MAKE) clean + for i in `ls *'{orig}' || :`; do mv -vf $$i $${i%'{orig}'}; done + test ! -e patch-stamp || \ + for i in `ls -1r debian/diff/*.diff || :`; do patch -p1 -R <$$i; done + rm -f build-stamp configure-stamp patch-stamp + rm -rf '$(DIR)' + rm -f debian/files debian/substvars changelog + +install: deb-checkdir deb-checkuid build-stamp + rm -rf '$(DIR)' + $(MAKE) install install_prefix='$(DIR)' + $(STRIP) -R .comment -R .note '$(DIR)'/usr/bin/ucspi-proxy* + gzip -9 '$(DIR)'/usr/share/man/man1/*.1 + test -r changelog || ln -s ChangeLog changelog + +binary-indep: + +binary-arch: deb-checkdir deb-checkuid install ucspi-proxy.deb + dpkg-shlibdeps '$(DIR)'/usr/bin/* + dpkg-gencontrol -isp -pucspi-proxy -P'$(DIR)' + dpkg -b '$(DIR)' .. + +binary: binary-indep binary-arch + +.PHONY: build clean install binary-indep binary-arch binary + +include debian/implicit --- ucspi-proxy-0.99.orig/debian/ucspi-proxy.docs +++ ucspi-proxy-0.99/debian/ucspi-proxy.docs @@ -0,0 +1,3 @@ +README +TODO +NEWS