[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#664761: marked as done (apache2/conf.d migration: what should webapp packagers do?)



Your message dated Sun, 13 Jul 2014 14:38:59 +0200
with message-id <53C27DE3.7020608@debian.org>
and subject line apache2/conf.d migration: what should webapp packagers do?
has caused the Debian Bug report #664761,
regarding apache2/conf.d migration: what should webapp packagers do?
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
664761: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664761
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apache2
Version: 2.4.1-1
Justification: missing documentation
X-Debbugs-Cc: debian-webapps@lists.debian.org

Hi,

Upgrading apache2 to the version in experimental breaks my local
gitweb installation.  Gitweb ships the following snippet in
/etc/apache2/conf.d/gitweb:

	Alias /gitweb /usr/share/gitweb

	<Directory /usr/share/gitweb>
	  Options FollowSymLinks +ExecCGI
	  AddHandler cgi-script .cgi
	  DirectoryIndex gitweb.cgi
	  RewriteEngine On
	  RewriteCond %{REQUEST_FILENAME} !-f
	  RewriteCond %{REQUEST_FILENAME} !-d
	  RewriteRule ^.* /gitweb/gitweb.cgi/$0 [L,PT]
	</Directory>

which of course is not supposed to work any more, as described in
NEWS.Debian.gz.

Goals from the gitweb side:

 - installing gitweb provides a working gitweb installation out of
   the box.  The user should not be required to run an a2enconf
   command separately.

 - customizable by the user, user configuration carried over from
   version to version

 - upgrades don't silently break it :)

In the new world order, as a packager of a webapp, what should I do
to bring those goals about?

>From the PACKAGING file I get the impression that I should rename the
gitweb configuration (with the usual conffile renaming dance) to
/etc/apache2/conf-available/gitweb.conf, depend on an updated apache2,
run

	[ -e /usr/share/apache2/apache2-maintscript-helper ] || exit 0
	. /usr/share/apache2/apache2-maintscript-helper
	apache2_invoke enconf gitweb

in postinst configure, and ask for a Breaks from the apache2
maintainers.  Is that right?

This bug report is a request for advice in NEWS.Debian.gz about this,
for example by including a pointer to PACKAGERS in the text and
mentioning whether packages supporting old and new apache at the same
time are possible.

Thanks,
Jonathan



--- End Message ---
--- Begin Message ---
In lack of responses, I assume that all your questions have been
answered or properly addressed. Please reopen if you think that's needed.


-- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply to: