tags 387717 patch
stop

Hi,

I've created a patch and NMU'ed it to DELAYED/0 according to

  http://lists.debian.org/debian-devel-announce/2006/09/msg00020.html

The patch is attached.

The problem was, that upstream renamed a few releases ago the binary
from tnftp to ftp -- but the maintainer forgot to adjust the postinst
and prerm scripts accordingly.

In order to keep my patch as non intrusive as possible I simply renamed
the binary back from ftp to tnftp. Installing and Purging the package
now works like a charm.



Cheers,

Bastian



-- 
Bastian Venthur                                      http://venthur.de
Debian Developer                                 venthur at debian org

diff -ruN orig/tnftp-20050625/debian/changelog tnftp-20050625/debian/changelog
--- orig/tnftp-20050625/debian/changelog	2007-02-01 13:56:11.000000000 +0100
+++ tnftp-20050625/debian/changelog	2007-02-01 13:38:40.000000000 +0100
@@ -1,3 +1,11 @@
+tnftp (20050625-0.2) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * renamed binary from ftp to tnftp (Closes: #387717)
+  * Urgency high due RCness of the bug
+
+ -- Bastian Venthur <[EMAIL PROTECTED]>  Thu,  1 Feb 2007 13:37:37 +0100
+
 tnftp (20050625-0.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -ruN orig/tnftp-20050625/debian/rules tnftp-20050625/debian/rules
--- orig/tnftp-20050625/debian/rules	2007-02-01 13:56:11.000000000 +0100
+++ tnftp-20050625/debian/rules	2007-02-01 13:46:46.000000000 +0100
@@ -36,6 +36,9 @@
 
 	# Add here commands to install the package into debian/tmp.
 	$(MAKE) install prefix=`pwd`/debian/tnftp/usr mandircat1=\$${mandir}/man1
+	# rename binary from ftp to tnftp -- ftp is already in use by alternatives system
+	# see #387717 for nasty details
+	mv $(CURDIR)/debian/tnftp/usr/bin/ftp $(CURDIR)/debian/tnftp/usr/bin/tnftp
 
 	touch install-stamp
 

Reply via email to