tags 543087 + patch
thanks

Dear maintainer,

I've prepared an NMU for libpam-blue (versioned as 0.9.0-2.3) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Regards.

filippo
-- 
Filippo Giunchedi - http://esaurito.net - 0x6B79D401

At the source of every error which is blamed on the computer you will
find at least two human errors, including the error of blaming it on
the computer.
Beware of bugs in the above code; I have only proved it correct, not
tried it.
-- Donald Knuth
--- libpam-blue-0.9.0/data/Makefile.am
+++ libpam-blue-0.9.0/data/Makefile.am
@@ -14,7 +14,9 @@
 EXTRA_DIST = sample.conf
 
 install-data-local:
-	echo "Nothing to do here"
+		$(mkinstalldirs) $(DESTDIR)${sysconfdir}/security
+		$(INSTALL) -m600 $(srcdir)/sample.conf $(DESTDIR)/${sysconfdir}/security/bluescan.conf
+
 uninstall-local:
 		rm -f ${sysconfdir}/security/bluescan.conf
 
--- libpam-blue-0.9.0/debian/rules
+++ libpam-blue-0.9.0/debian/rules
@@ -11,54 +11,44 @@
 	CFLAGS += -O2
 endif
 
+configure: configure.in
+	autoreconf -i
+
 config.status: configure
 	dh_testdir
-	./configure --no-create --no-recursion --prefix=/usr --mandir=\$${prefix}/share/man 
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
 
-build: build-stamp
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+
+	./configure --prefix=/usr --mandir=\$${prefix}/share/man
 
-build-stamp:  config.status
+build: build-stamp
+build-stamp: config.status
 	dh_testdir
 	$(MAKE)
 
-	touch $@
+	touch build-stamp
 
 clean:
 	dh_testdir
 	dh_testroot
 
-	rm -f build-stamp
-	
-	touch config.status
-	./configure
-	$(MAKE) distclean
-	rm -f config.cache config.status
-
-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
-
-	rm -f config.log
+	-$(MAKE) distclean
 
-	aclocal
-
-	# Regenerate configure and makefile files
-	autoconf
-	automake
-	
-	rm -rf src/.libs
-	rm -rf src/.deps
+	rm -f build-stamp
+	rm -f configure
+	rm -f ylwrap
 
 	dh_clean
 
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k 
+	dh_clean -k
 	dh_installdirs
 	
 	$(MAKE) DESTDIR=$(CURDIR)/debian/libpam-blue install
@@ -95 +85 @@
-.PHONY: build clean binary-indep binary-arch binary install 
+.PHONY: build clean binary-indep binary-arch binary install
--- libpam-blue-0.9.0/debian/changelog
+++ libpam-blue-0.9.0/debian/changelog
@@ -1,3 +1,10 @@
+libpam-blue (0.9.0-2.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Switch to autoreconf -i and sanitize debian/rules (Closes: #543087)
+
+ -- Filippo Giunchedi <fili...@debian.org>  Sat, 17 Oct 2009 17:23:54 +0100
+
 libpam-blue (0.9.0-2.2) unstable; urgency=low
 
   * Non-maintainer upload.
--- libpam-blue-0.9.0.orig/Makefile.am
+++ libpam-blue-0.9.0/Makefile.am
@@ -13,7 +13,3 @@
 EXTRA_DIST = configure
 
 SUBDIRS = src data doc
-
-distclean: clean
-	rm -f *~
-	rm -f configure Makefile.in

Reply via email to