apf (0.8.4-1) debian-dir only changes

Summary

 debian/apf-client.dirs                       |    1 
 debian/apf-client.docs                       |    3 
 debian/apf-client.examples                   |    1 
 debian/apf-client.install                    |    1 
 debian/apf-client.manpages                   |    2 
 debian/apf-server.dirs                       |    1 
 debian/apf-server.docs                       |    3 
 debian/apf-server.examples                   |    1 
 debian/apf-server.install                    |    1 
 debian/apf-server.manpages                   |    2 
 debian/changelog                             |   25 +++++++
 debian/compat                                |    1 
 debian/control                               |   57 +++++++++++++++++
 debian/copyright                             |   34 ++++++++++
 debian/patches/00list                        |    2 
 debian/patches/01_doc_afclient.1.dpatch      |   19 +++++
 debian/patches/02_doc_afclient.conf.5.dpatch |   19 +++++
 debian/rules                                 |   89 +++++++++++++++++++++++++++
 debian/watch                                 |    4 +
 19 files changed, 266 insertions(+)

    
download this patch

Patch contents

--- apf-0.8.4.orig/debian/watch
+++ apf-0.8.4/debian/watch
@@ -0,0 +1,4 @@
+# apf watchfile
+version=3
+
+http://www.gray-world.net/projects/af/apf-(.*)\.tgz
--- apf-0.8.4.orig/debian/patches/01_doc_afclient.1.dpatch
+++ apf-0.8.4/debian/patches/01_doc_afclient.1.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_doc_afclient.1.dpatch.dpatch by Juan A. Diaz <juan@linux.org.ar>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: '-' must be escaped ('\-') to have it interpreted as minus.
+
+@DPATCH@
+
+--- apf-0.8.4.orig/doc/afclient.1	2007-10-13 21:43:44.000000000 -0300
++++ apf-0.8.4/doc/afclient.1	2007-10-15 19:02:06.000000000 -0300
+@@ -114,7 +114,7 @@
+   reverse udp forwarding. Udp packets will be forwarded from hostname:portnum to the server name:manageport
+   
+ .B -r, --remoteadmin
+-  remote administration mode. (using '-p PORT' will force afclient to use port rather than stdin-stdout)
++  remote administration mode. (using '\-p PORT' will force afclient to use port rather than stdin-stdout)
+ 
+ .I Logging
+ 
--- apf-0.8.4.orig/debian/patches/02_doc_afclient.conf.5.dpatch
+++ apf-0.8.4/debian/patches/02_doc_afclient.conf.5.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_doc_afclient.conf.5.dpatch.dpatch by Juan A. Diaz <juan@linux.org.ar>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: '-' must be escaped ('\-') to have it interpreted as minus.
+
+@DPATCH@
+
+--- apf-0.8.4.orig/doc/afclient.conf.5	2007-10-13 21:43:44.000000000 -0300
++++ apf-0.8.4/doc/afclient.conf.5	2007-10-15 19:02:23.000000000 -0300
+@@ -101,7 +101,7 @@
+   reverse udp forwarding. Udp packets will be forwarded from hostname:portnum to the server name:manageport
+ 
+ .B remoteadmin
+-  remote administration mode. (using '-p PORT' will force afclient to use port rather than stdin-stdout)
++  remote administration mode. (using '\-p PORT' will force afclient to use port rather than stdin-stdout)
+ 
+ .B log LOGCMD
+   log choosen information to file/socket
--- apf-0.8.4.orig/debian/patches/00list
+++ apf-0.8.4/debian/patches/00list
@@ -0,0 +1,2 @@
+01_doc_afclient.1.dpatch
+02_doc_afclient.conf.5.dpatch
--- apf-0.8.4.orig/debian/apf-client.docs
+++ apf-0.8.4/debian/apf-client.docs
@@ -0,0 +1,3 @@
+doc/en/README
+doc/fr/fr_README
+doc/ru/ru_README
--- apf-0.8.4.orig/debian/changelog
+++ apf-0.8.4/debian/changelog
@@ -0,0 +1,25 @@
+apf (0.8.4-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added suport for certificate-based authentication (Closes: #440985).
+    Thanks to Joshua Judson Rosen for making his whishes come true.
+  * Added dpatch in the build-depends to solve a minor bug in the afclient's
+    manpages (lintian error: hyphen-used-as-minus-sign).
+
+ -- Juan A. Diaz <juan@linux.org.ar>  Mon, 15 Oct 2007 20:50:41 -0300
+
+apf (0.8.3-1) unstable; urgency=low
+
+  * New upstream release.
+  * Fix misplaced dot in package long descriptions (Closes: #400387)
+    Thanks Guillem Jover for his thorough eye.
+  * Fix debian/watch file.
+
+ -- Juan A. Diaz <juan@linux.org.ar>  Sat,  2 Dec 2006 01:23:40 -0300
+
+apf (0.8.2-1) unstable; urgency=low
+
+  * Initial release (Closes: #241039)
+
+ -- Juan A. Diaz <juan@linux.org.ar>  Sat,  7 Oct 2006 00:56:04 +0000
+
--- apf-0.8.4.orig/debian/apf-server.docs
+++ apf-0.8.4/debian/apf-server.docs
@@ -0,0 +1,3 @@
+doc/en/README
+doc/fr/fr_README
+doc/ru/ru_README
--- apf-0.8.4.orig/debian/apf-server.examples
+++ apf-0.8.4/debian/apf-server.examples
@@ -0,0 +1 @@
+doc/afserver_example.conf
--- apf-0.8.4.orig/debian/apf-server.manpages
+++ apf-0.8.4/debian/apf-server.manpages
@@ -0,0 +1,2 @@
+doc/afserver.1
+doc/afserver.conf.5
--- apf-0.8.4.orig/debian/apf-client.manpages
+++ apf-0.8.4/debian/apf-client.manpages
@@ -0,0 +1,2 @@
+doc/afclient.1
+doc/afclient.conf.5
--- apf-0.8.4.orig/debian/apf-server.install
+++ apf-0.8.4/debian/apf-server.install
@@ -0,0 +1 @@
+usr/bin/afserver
--- apf-0.8.4.orig/debian/apf-client.examples
+++ apf-0.8.4/debian/apf-client.examples
@@ -0,0 +1 @@
+doc/afclient_example.conf
--- apf-0.8.4.orig/debian/rules
+++ apf-0.8.4/debian/rules
@@ -0,0 +1,89 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+# This package uses dpatch
+include /usr/share/dpatch/dpatch.make
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+config.status: patch configure
+	dh_testdir
+	./configure --host=$(DEB_HOST_GNU_TYPE) \
+		    --build=$(DEB_BUILD_GNU_TYPE) \
+		    --prefix=/usr \
+		    --mandir=\$${prefix}/share/man \
+		    --infodir=\$${prefix}/share/info \
+		    CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+
+build: build-stamp
+build-stamp: config.status
+	dh_testdir
+	$(MAKE) 
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+	-$(MAKE) distclean
+
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+	dh_clean 
+
+install:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_install --sourcedir=debian/tmp
+	dh_installdocs
+	dh_installexamples
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress 
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- apf-0.8.4.orig/debian/apf-client.install
+++ apf-0.8.4/debian/apf-client.install
@@ -0,0 +1 @@
+usr/bin/afclient
--- apf-0.8.4.orig/debian/apf-client.dirs
+++ apf-0.8.4/debian/apf-client.dirs
@@ -0,0 +1 @@
+usr/bin
--- apf-0.8.4.orig/debian/copyright
+++ apf-0.8.4/debian/copyright
@@ -0,0 +1,34 @@
+This package was debianized by Juan A. Diaz <juan@linux.org.ar> on
+Sat,  7 Oct 2006 00:56:04 +0000.
+
+It was downloaded from http://www.gray-world.net/projects/af/
+
+Upstream Author: Jeremian <jeremian@poczta.fm>
+
+Copyright: 2003-2006 Jeremian
+
+License:
+ 	
+   This package is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; version 2 dated June, 1991.
+
+   This package is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+ 
+   You should have received a copy of the GNU General Public License
+   along with this package; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ 
+Note: "In addition, as a special exception, the copyright holders give permission to
+link the code of portions of this program with the OpenSSL library under
+certain conditions as described in each individual source file, and distribute
+linked combinations including the two."
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
+ 
+The Debian packaging is (C) 2006, Juan A. Diaz <juan@linux.org.ar> and
+is licensed under the GPL, see above.
--- apf-0.8.4.orig/debian/apf-server.dirs
+++ apf-0.8.4/debian/apf-server.dirs
@@ -0,0 +1 @@
+usr/bin
--- apf-0.8.4.orig/debian/compat
+++ apf-0.8.4/debian/compat
@@ -0,0 +1 @@
+5
--- apf-0.8.4.orig/debian/control
+++ apf-0.8.4/debian/control
@@ -0,0 +1,57 @@
+Source: apf
+Section: net
+Priority: optional
+Maintainer: Juan A. Diaz <juan@linux.org.ar>
+Build-Depends: debhelper (>= 5), autotools-dev, libssl-dev, libz-dev, dpatch
+Standards-Version: 3.7.2
+Homepage: http://www.gray-world.net/pr_af.shtml
+
+Package: apf-server
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Server for Active Port Forwarding
+ Active Port Forwarder is a tool for secure port forwarding. It uses ssl 
+ to increase security of communication between the server and the client.
+ It is designed for people without an external IP who want to make some
+ services available on the Internet. The Active Port Forwarder server
+ (afserver) is placed on the machine with a public address, and the client
+ (afclient) is placed on the machine behind a firewall or masquerade. This
+ makes the second machine visible to the Internet.
+ .
+ This package provides the Active Port Forwarder server.
+ .
+ Short list of features:
+  * Using one permanent data/control channel with flow control/packet 
+    buffering provides good performance and reasonably small latency.
+  * Use zlib to compress the transferred data.
+  * Able to use ssl for all comunication or only for the autentification.
+  * Able to transfer multiple tunnels in the one afclient <-> afserver
+    connection making possible create more sophisticated tunneling scheme.
+  * Doesn't require root priviledges.
+  * Doesn't use threads or other processes.
+  * The afclient can use external modules for user's packets filtering.
+
+Package: apf-client
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Client for Active Port Forwarding
+ Active Port Forwarder is a tool for secure port forwarding. It uses ssl 
+ to increase security of communication between the server and the client.
+ It is designed for people without an external IP who want to make some
+ services available on the Internet. The Active Port Forwarder server
+ (afserver) is placed on the machine with a public address, and the client
+ (afclient) is placed on the machine behind a firewall or masquerade. This
+ makes the second machine visible to the Internet.
+ .
+ This package provides the Active Port Forwarder client.
+ .
+ Short list of features:
+  * Using one permanent data/control channel with flow control/packet 
+    buffering provides good performance and reasonably small latency.
+  * Use zlib to compress the transferred data.
+  * Able to use ssl for all comunication or only for the autentification.
+  * Able to transfer multiple tunnels in the one afclient <-> afserver
+    connection making possible create more sophisticated tunneling scheme.
+  * Doesn't require root priviledges.
+  * Doesn't use threads or other processes.
+  * The afclient can use external modules for user's packets filtering.