[Pkg-phototools-devel] Bug#786332: openjpeg: diff for NMU version 1:1.5.2-3.1

Jean-Michel Vourgère nirgal at debian.org
Wed May 20 22:07:03 UTC 2015


Control: tags 786332 + patch
Control: tags 786332 + pending

Dear maintainer,

I've prepared an NMU for openjpeg (versioned as 1:1.5.2-3.1).

Here are some explanations regarding non-trivial changes in openjpip-server:

- dh_apache2 takes care of all the a2enmod stuff, so the
(pre|post)(inst|rm) are gone.

- You had in fact a configuration snippet, and not a real
libapache2-mod-xxx module. I changed the location from
/etc/apache2/mod-available to /etc/apache2/conf-available. Not doing so
resulted in weird and not needed dependencies against a specific apache2
api.

- I removed /var/www from the conf file. Default of fastcgi[1] is to use
the DocumentRoot, and since apache2.4, it has been changed to
/var/www/html. You should consider backporting that change to jessie,
since I'm pretty sure the package is broken there too because of that.

- Also, following /usr/share/doc/openjpip-server/README.Debian I had to
install libapache2-mod-fastcgi in order to make the package work. So I
took the liberty to add it to the recommended dependencies.

- Finally, I had to change in the conf file, localhost by 127.0.0.1
because of that error:
apache2_reload: AH00526: Syntax error on line 3 of
/etc/apache2/conf-enabled/openjpip-server.conf:
apache2_reload: FastCgiExternalServer openjpip: failed to resolve
"localhost" to exactly one IP address
You might want to backport that one too, for people whose old /etc/hosts
have both 127.0.0.1 and ::1 for localhost.


I realise these are non-trivial changes, so I uploaded it to DELAYED/7.
Please feel free to tell me if I should delay it longer.

Regards.

[1]
http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiExternalServer

-- 
Nirgal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openjpeg-1.5.2-3.1-nmu.diff
Type: text/x-diff
Size: 5128 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20150520/75baa5e8/attachment.diff>


More information about the Pkg-phototools-devel mailing list