Package: ipmasq Version: 0.8.4 Severity: whishlist Tags: patch I happen to have renamed the dev-dir ipmasq-xxx to "b" before building, and it didn't build. Here is a little patch that did the trick.
Regards
diff -Naur ipmasq-4.0.8~/debian/rules ipmasq-4.0.8/debian/rules --- ipmasq-4.0.8~/debian/rules Fri May 5 10:32:20 2006 +++ ipmasq-4.0.8/debian/rules Mon Dec 25 18:29:04 2006 @@ -10,8 +10,8 @@ build: build-stamp build-stamp: dh_testdir - sed -e s/@VERSION@/`pwd | sed -e 's/^.*-//'`/g < ipmasq.in > ipmasq - sed -e s/@VERSION@/`pwd | sed -e 's/^.*-//'`/g < ipmasq-kmod.in > ipmasq-kmod + sed -e s/@VERSION@/`sed -e '1!d' -e 's/^[^(]*(\([^-][^-]*\)-.*$$/\1/' debian/changelog`/g < ipmasq.in > ipmasq + sed -e s/@VERSION@/`sed -e '1!d' -e 's/^[^(]*(\([^-][^-]*\)-.*$$/\1/' debian/changelog`/g < ipmasq-kmod.in > ipmasq-kmod make -C doc touch build-stamp