diff -ur apt-proxy-1.3.6/apt-proxy apt-proxy-1.3.6.1/apt-proxy
--- apt-proxy-1.3.6/apt-proxy	2003-01-22 11:23:14.000000000 +0100
+++ apt-proxy-1.3.6.1/apt-proxy	2004-03-27 16:15:18.000000000 +0100
@@ -1,5 +1,5 @@
-#!/bin/ash
-# (You may safely change the above to /bin/sh if you do not have ash available)
+#!/bin/dash
+# (You may safely change the above to /bin/sh if you do not have dash available)
 #
 # $Id: apt-proxy_dash+stat-L.patch,v 1.1 2005/11/03 20:32:21 flavio Exp $
 # Copyright Paul Russell <rusty@samba.org>
@@ -79,12 +79,12 @@
 #	file_size(file name)
 #
 if [ -x $STAT ] &&
-   [ "`$STAT -tl /dev/null | sed "s,/dev/null 0 .*,PASSED,"`" = "PASSED" ]
+   [ "`$STAT -Lt /dev/null | sed "s,/dev/null 0 .*,PASSED,"`" = "PASSED" ]
 then
     file_size()
     {
 	[ -z "$1" -o ! -f "$1" ] && return 1
-	set -- `$STAT -tl "$1"`
+	set -- `$STAT -Lt "$1"`
 	[ -z "$2" ] && return 1
 	echo $2
     }
diff -ur apt-proxy-1.3.6/debian/changelog apt-proxy-1.3.6.1/debian/changelog
--- apt-proxy-1.3.6/debian/changelog	2003-01-22 11:23:14.000000000 +0100
+++ apt-proxy-1.3.6.1/debian/changelog	2004-04-11 11:04:30.000000000 +0200
@@ -1,3 +1,13 @@
+apt-proxy (1.3.6.1) unstable; urgency=low
+
+  * NMH (non-maintainer hack).
+  * Change "stat -l" to "stat -L" to silence a warning with coreutils' stat;
+    therefore, suggest coreutils instead of stat. (closes: #219049)
+  * Depend on dash, not ash. (closes: #161448)
+  * Call "$(MAKE) clean" in the debian/rules clean target.
+
+ -- Flavio Stanchina <flavio@stanchina.net>  Sun, 11 Apr 2004 11:03:10 +0200
+
 apt-proxy (1.3.6) unstable; urgency=low
 
   * Correct example proxy lines in apt-proxy.conf (closes: #169658, #177514)
diff -ur apt-proxy-1.3.6/debian/control apt-proxy-1.3.6.1/debian/control
--- apt-proxy-1.3.6/debian/control	2002-11-15 16:39:20.000000000 +0100
+++ apt-proxy-1.3.6.1/debian/control	2004-03-27 16:14:32.000000000 +0100
@@ -8,9 +8,9 @@
 
 Package: apt-proxy
 Architecture: all
-Depends: wget | rsync, grep-dctrl, tcpd, netbase, ash, binutils
+Depends: wget | rsync, grep-dctrl, tcpd, netbase, dash, binutils
 Recommends: apt
-Suggests: wget, rsync, dpkg-dev, stat
+Suggests: wget, rsync, dpkg-dev, coreutils
 Description: Debian archive proxy and partial mirror builder
  apt-proxy automatically builds a Debian HTTP mirror based
  on requests which pass through the proxy.  It's great for
diff -ur apt-proxy-1.3.6/debian/rules apt-proxy-1.3.6.1/debian/rules
--- apt-proxy-1.3.6/debian/rules	2003-01-22 10:58:23.000000000 +0100
+++ apt-proxy-1.3.6.1/debian/rules	2004-04-11 11:02:48.000000000 +0200
@@ -21,7 +21,7 @@
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp
-
+	$(MAKE) clean
 	dh_clean
 
 install: build

