package am-utils
tags 344229 + patch
thanks

Nathanael Nerode wrote:
> This package violates the FHS by shipping a file in /usr/man.

I've attached a patch to fix this. Since I can't test the package, I
won't do an NMU. I know the package builds, and lintian and linda don't
give any errors/warnings related to my changes, but I don't know if the
package as built my me works, since I don't have an automounter setup
and I don't want to build one just for this package.

I hope this is useful. Happy hacking.

-- 
Talk is cheap. Whining is actually free.
--- am-utils-6.1.3/debian/changelog	2006-01-04 17:55:48.573040469 +0000
+++ am-utils-6.1.3.patched/debian/changelog	2006-01-04 17:53:22.159901747 +0000
@@ -1,3 +1,11 @@
+am-utils (6.1.3-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Moved manpages from /usr/man to /usr/share/man. Closes: #344229
+    (by Nathanael Nerode), a release critical bug.
+
+ -- Lars Wirzenius <[EMAIL PROTECTED]>  Wed,  4 Jan 2006 19:53:00 +0200
+
 am-utils (6.1.3-1) unstable; urgency=low
 
   * New upstream version (Closes: #331566)
--- am-utils-6.1.3/debian/am-utils.install	2006-01-04 17:55:48.578039654 +0000
+++ am-utils-6.1.3.patched/debian/am-utils.install	2006-01-04 17:35:29.000000000 +0000
@@ -1,8 +1,8 @@
 debian/tmp/usr/sbin
 debian/tmp/usr/bin
-debian/tmp/usr/man usr/share
+debian/tmp/usr/share/man usr/share
 debian/amd.conf etc/am-utils
 debian/amq-check-wrap usr/sbin
-debian/amq-check-wrap.8 usr/man/man8
+debian/amq-check-wrap.8 usr/share/man/man8
 debian/a_master usr/share/doc/am-utils/examples
 debian/*.diff usr/share/doc/am-utils/kernel-patches
--- am-utils-6.1.3/debian/rules	2006-01-04 17:55:48.577039817 +0000
+++ am-utils-6.1.3.patched/debian/rules	2006-01-04 17:29:16.000000000 +0000
@@ -85,20 +85,21 @@
 	dh_clean -k
 	dh_installdirs
 
-	$(MAKE) prefix=`pwd`/debian/tmp/usr install
+	$(MAKE) prefix=`pwd`/debian/tmp/usr \
+		mandir=`pwd`/debian/tmp/usr/share/man install
 	rm -fr debian/tmp/usr/etc
 	rm debian/tmp/usr/sbin/lostaltmail
 	rm debian/tmp/usr/bin/expn
-	rm debian/tmp/usr/man/man1/expn.1
+	rm debian/tmp/usr/share/man/man1/expn.1
 	rm debian/tmp/usr/sbin/mk-amd-map
-	rm debian/tmp/usr/man/man8/mk-amd-map.8
+	rm debian/tmp/usr/share/man/man8/mk-amd-map.8
 	rm debian/tmp/usr/sbin/am-eject
 	rm debian/tmp/usr/sbin/ctl-* debian/tmp/usr/sbin/wait* \
 	   debian/tmp/usr/sbin/fix-amd-map \
 	   debian/tmp/usr/sbin/fixrmtab
 	mv debian/tmp/usr/sbin/fsinfo debian/tmp/usr/sbin/amd-fsinfo
-	mv debian/tmp/usr/man/man8/fsinfo.8 \
-	   debian/tmp/usr/man/man8/amd-fsinfo.8
+	mv debian/tmp/usr/share/man/man8/fsinfo.8 \
+	   debian/tmp/usr/share/man/man8/amd-fsinfo.8
 
 	dh_install --fail-missing -a -i
 

Reply via email to