## Main Debian files.
EXTRA_DIST += debian/rules
EXTRA_DIST += debian/changelog
+EXTRA_DIST += debian/compat
EXTRA_DIST += debian/control
EXTRA_DIST += debian/copyright
EXTRA_DIST += debian/fwd.init
EXTRA_DIST += debian/fwd.postinst
-## Compatbility cruft.
-EXTRA_DIST += debian/fw.sh
-EXTRA_DIST += debian/fw.README.Debian
-
###----- That's all, folks --------------------------------------------------
Source: fwd
Section: net
Priority: extra
-Build-Depends: mlib-dev (>= 2.2.1), debhelper (>= 8)
+Build-Depends: mlib-dev (>= 2.2.1), debhelper (>= 9)
Maintainer: Mark Wooding <mdw@distorted.org.uk>
Standards-Version: 3.1.1
username (as reported by identd on the connecting host). It subsumes the
basic functionality of inetd, cat, netcat and others. It runs as a
single nonblocking process.
-
-Package: fw
-Architecture: all
-Depends: fwd
-Conflicts: funnelweb
-Description: Excessive port forwarder
- fwd can forward connections to and from: TCP sockets, Unix-domain sockets,
- locally-executed programs, and file descriptors. It can do host-based
- access control. It will log incoming TCP connections by hostname and
- username (as reported by identd on the connecting host). It subsumes the
- basic functionality of inetd, cat, netcat and others. It runs as a single
- nonblocking process.
- .
- Once upon a time, fwd was called fw; but this conflicts with funnelweb's use
- of the same name. This package depends on the new, renamed real package and
- provides compatibility scripts and symlinks. Once you've fixed references
- to the old name, you can delete this package.
+++ /dev/null
-fw renamed to fwd
-
-The port forwarder `fw' has been renamed, since funnelweb already uses
-that name. It's now called `fwd', which seems clear, and suggests that
-it might run as a daemon (which is true).
-
-This package provides a compatibility script with the old name. It nags
-you each time it runs, unless you set FW_RENAME_NAG=muffle in your
-environment. I recommend that you fix whatever it is that's calling fwd
-instead of setting this variable.
-
- Mark Wooding, <mdw@distorted.org.uk>
- 2008-04-02
-\f
-Local variables:
-mode: text
-End:
+++ /dev/null
-#! /bin/sh
-
-set -e
-case "$FW_RENAME_NAG" in
- muffle) ;;
- "") echo >&2 "$0: the \`fw' program been renamed to /usr/bin/fwd" ;;
-esac
-exec /usr/bin/fwd "$@"
#! /usr/bin/make -f
-
-CDBS = /usr/share/cdbs/1
-
-include $(CDBS)/class/autotools.mk
-include $(CDBS)/rules/debhelper.mk
-
-###--------------------------------------------------------------------------
-### General definitions.
-
-DEB_BUILDDIR = $(CURDIR)/build
-DEB_DESTDIR = $(CURDIR)/debian/fwd
-
-###--------------------------------------------------------------------------
-### Documentation.
-
-DEB_INSTALL_DOCS_fwd = GRAMMAR
-
-###--------------------------------------------------------------------------
-### Compatibility package.
-
-DEB_INSTALL_DIRS_fw = \
- usr/bin \
- usr/share/man/man1
-
-install/fw::
- install -m755 debian/fw.sh debian/fw/usr/bin/fw
- ln -s fwd.1.gz debian/fw/usr/share/man/man1/fw.1.gz
-
-###----- That's all, folks --------------------------------------------------
+%:; dh "$*" -Bdebian/build