Bug#357377: [pkg-horde] Bug#357377: Package lacks CREDITS file

Gregory Colpart reg at evolix.fr
Mon Apr 17 11:38:56 UTC 2006


On Fri, Mar 17, 2006 at 07:27:24AM +0100, Ola Lundqvist wrote:
> Either we create a symlink or we simply duplicate or move the file.
> Either solution would be fine, I think.
> 
> For maintainability it do not matter much.
> Just duplicating/moving the file is probably easiest in the long run
> as you can keep the later part of debian/rules (binary-indep) clean.
> On the other hand we already do thinge there so it do not matter
> much. Make sure you make a comment so it is not reverted later. :)

I agree with "duplicating solution" to avoid creating symlink and
needing (FollowSymLinks|SymLinksIfOwnerMatch) Apache option.

Then I apply this solution on my (new) sork-forwards-h3 package.
Note that lintian override is require for that.

My pseudo patch :

debian/dirs :
+usr/share/lintian/overrides

debian/source.lintian-override
+DEB_PKG_NAME: postinst-should-not-set-usr-doc-link

debian/rules :
+	#### CREDITS file accessible to help viewer ####
+	mkdir -m 755 debian/DEB_PKG_NAME/usr/share/horde3/forwards/docs
+	cp -a docs/CREDITS debian/DEB_PKG_NAME/usr/share/horde3/HORDE_APPLI/docs
+	install -m 644 debian/source.lintian-override debian/DEB_PKG_NAME/usr/share/lintian/overrides/HORDE_APPLI


Remarks are welcome.

Regards,
-- 
Gregory Colpart <reg at evolix.fr>  GnuPG:1024D/C1027A0E
Evolix - Informatique et Logiciels Libres http://www.evolix.fr/




More information about the pkg-horde-hackers mailing list