Bug#710934: apache2: please include a way to automatically move conf.d files to conf-available

2013-08-02 Thread Jean-Michel Vourgère
 To ease the transition to apache 2.4, could you have a script that
 automatically copies files in /etc/apache2/conf.d to
 /etc/apache2/conf-available?

I advise caution if this is implemented, because it might break unrelated
software.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718318
is an exemple of someone who, I believe, moved its conf.d/javascript-common
into conf-available/javascript-common.conf

The consequence is that the package can't be upgraded anymore (a2enconf fails):
That file was a link, now broken, that is not overridden on upgrade.


-- 
To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201308022202.46432.jmv_...@nirgal.com



Bug#710934: apache2: please include a way to automatically move conf.d files to conf-available

2013-06-03 Thread Brian Minton
Package: apache2
Version: 2.4.4-5
Severity: wishlist

-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these lines ***

To ease the transition to apache 2.4, could you have a script that
automatically copies files in /etc/apache2/conf.d to
/etc/apache2/conf-available?

thanks,
Brian Minton

- -- Package-specific info:
Enabled MPM: prefork
List of enabled modules:
  dir (enabled by unknown)
   reqtimeout (enabled by unknown)
   negotiation (enabled by unknown)
   headers (enabled by unknown)
   autoindex (enabled by unknown)
   authn_file (enabled by unknown)
   mime (enabled by unknown)
   ssl (enabled by site administrator)
   authz_host (enabled by unknown)
   expires (enabled by unknown)
   filter (enabled by maintainer script)
   socache_shmcb (enabled by site administrator)
   jk (enabled by unknown)
   php5 (enabled by unknown)
   deflate (enabled by unknown)
   authn_core (enabled by maintainer script)
   alias (enabled by unknown)
   authz_owner (enabled by unknown)
   authz_core (enabled by maintainer script)
   setenvif (enabled by unknown)
   unique_id (enabled by unknown)
   vhost_alias (enabled by unknown)
   access_compat (enabled by maintainer script)
   mpm_prefork (enabled by site administrator)
   status (enabled by unknown)
   env (enabled by unknown)
   dav (enabled by unknown)
   wsgi (enabled by unknown)
   auth_pam (enabled by site administrator)
List of enabled php5 extensions:
  curl gd gmp idn imap ldap mcrypt mhash mssql mysql mysqli odbc
  pam_auth pdo pdo_dblib pdo_mysql pdo_odbc pdo_pgsql pdo_sqlite
  pgsql ps ps recode sqlite sqlite3 suhosin uuid xmlrpc xsl
List of enabled configurations:
  localized-error-pages (enabled by maintainer script)
   etag (enabled by site administrator)
   analog (enabled by site administrator)
   other-vhosts-access-log (enabled by maintainer script)
   httpd (enabled by site administrator)
   ignoresvn (enabled by site administrator)
   apache2-doc (enabled by maintainer script)
   mythweb (enabled by site administrator)
   upload (enabled by site administrator)
   pagespeed_libraries (enabled by site administrator)
   sugarplum (enabled by site administrator)
   nph-proxy (enabled by site administrator)
   gallery (enabled by site administrator)
   ajaxterm (enabled by site administrator)
   secure (enabled by site administrator)
   phpmyadmin (enabled by site administrator)
   info2www (enabled by site administrator)
   shellinabox (enabled by site administrator)
   pdbv (enabled by site administrator)
   charset (enabled by maintainer script)
   mythtv (enabled by site administrator)
   gitweb (enabled by site administrator)
   dwww (enabled by site administrator)
   myphpmoney (enabled by site administrator)
   gallery2 (enabled by site administrator)
   azureus (enabled by site administrator)
   doc (enabled by site administrator)
   bbclone (enabled by site administrator)
   request-length (enabled by site administrator)
   darcsweb (enabled by site administrator)
   tetex-doc (enabled by site administrator)
   awstats (enabled by site administrator)
   anyterm (enabled by site administrator)
   serve-cgi-bin (enabled by maintainer script)
   nanourl (enabled by site administrator)
   openwebmail (enabled by site administrator)
   ajaxvnc (enabled by site administrator)
   phppgadmin (enabled by site administrator)
   bminton_gallery2 (enabled by site administrator)
   security (enabled by maintainer script)
   phpgacl (enabled by site administrator)
   mythweb.conf.bak (enabled by site administrator)
   javascript-common (enabled by site administrator)
   servername (enabled by site administrator)
   ilohamail (enabled by site administrator)
   soht (enabled by site administrator)
   doc-central.apache2 (enabled by site administrator)
   libhtml-mason-perl-examples (enabled by site administrator)
   dc (enabled by site administrator)
   dhelp (enabled by site administrator)
   dpkg-www (enabled by site administrator)
   phpbb3 (enabled by site administrator)

- -- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.9.0 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages apache2 depends on:
ii  apache2-bin   2.4.4-5
ii  apache2-data  2.4.4-5
ii  lsb-base  4.1+Debian11
ii  mime-support  3.54
ii  perl  5.14.2-21
ii  procps1:3.3.8-1

Versions of packages apache2 recommends:
ii  ssl-cert  1.0.32

Versions of packages apache2 suggests:
ii  apache2-doc  

Bug#710934: apache2: please include a way to automatically move conf.d files to conf-available

2013-06-03 Thread Arno Töll
Hi Brian,

On 03.06.2013 19:36, Brian Minton wrote:
 To ease the transition to apache 2.4, could you have a script that
 automatically copies files in /etc/apache2/conf.d to
 /etc/apache2/conf-available?

you can use dpkg-maintscript-helper doing that for you. See
dpkg-maintscript-helper(1) or dh_installdeb(1) if you are using debhelper.

Doesn't that work good enough?


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



signature.asc
Description: OpenPGP digital signature