Package: openntpd Severity: normal Tags: patch The debian/rules script of openntpd is wrong in the sense that the config.{guess,sub} things should be updated before the configure actually happens and not during the clean phase.
The patch attached fixes this. As a side effect, I have also fixed the problem that diff.gz contained changes to the sources outside the debian/patches directory. So, this patch fixes actually two things, and my other patch fixes another one. Hope this helps, Rogério Brito. -- Rogério Brito : [EMAIL PROTECTED],ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org
diff -u openntpd-3.9p1/debian/rules openntpd-3.9p1/debian/rules --- openntpd-3.9p1/debian/rules +++ openntpd-3.9p1/debian/rules @@ -29,6 +27,13 @@ config-stamp: configure patch dh_testdir +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 + # Configuring package CFLAGS="$(CFLAGS)" ./configure --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --sysconfdir=/etc/openntpd --with-privsep-user=ntpd --with-privsep-path=/var/run/openntpd @@ -50,14 +55,8 @@ # Cleaning package [ ! -f Makefile ] || $(MAKE) distclean rm -f build-stamp config-stamp -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 # Make sure we regenerate that file. - rm -f y.tab.c + rm -f y.tab.c config.sub config.guess config.log dh_clean reverted: