Bug#718475: ocsinventory-server: transition towards Apache 2.4

2014-12-03 Thread Eriberto Mota
tags 613609 pending
tags 678363 pending
tags 718475 pending
tags 746429 pending
tags 768934 pending
thanks


Hi,

Today I uploaded a NMU package, made by Jean-Michel Nirgal Vourgère
jmv_...@nirgal.com, with 1-day delay[1].

Regards,

Eriberto

[1] https://ftp-master.debian.org/deferred.html

PS: I sent this message to all interested people at 18:06 UTC.
However, by mistake, I sent to #718415 instead of #718475.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#718475: ocsinventory-server: transition towards Apache 2.4

2014-11-09 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 + patch

Hello pollux

As promised in my last mail, here is a patch for apache 2.4.
diff -u ocsinventory-server-2.0.5/debian/changelog ocsinventory-server-2.0.5/debian/changelog
--- ocsinventory-server-2.0.5/debian/changelog
+++ ocsinventory-server-2.0.5/debian/changelog
@@ -1,3 +1,27 @@
+ocsinventory-server (2.0.5-1.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add support for apache2.4: (Closes: #718475)
+- debian/conf/ocsinventory.conf: Minimal patch for require directive.
+- debian/rules: Add dh_apache2.
+- renamed files in debian/conf/ to match package names.
+- debian/control: Add build-depends on dh-apache2|apache2-dev, drop hard
+  depends on apache2 for recommends on ${misc:Recommends}.
+- debian/*apache2: New files to setup conf snipet in apache.
+- (pre|post)(inst|rm):
+  . Uses apache2-maintscript-helper to enable modules
+  . Remove apache conf files setup, let dh_apache2 do it.
+  . Delete obsolete links in /etc/apache2/conf.d/.
+  . Detect user change in non-conffile /etc/ocsinventory/ocsinventory.conf
+and delete it or move it to new location in
+/etc/apache2/conf-available. Fix common incompatible change in require
+directive syntax.
+- New ocsinventory-reports.maintscript for moving the other real conffile.
+  * Refreshed patch 01-compat_with_other_agents.patch, create missing series
+quilt file.
+
+ -- Jean-Michel Nirgal Vourgère jmv_...@nirgal.com  Sun, 09 Nov 2014 17:42:58 +0100
+
 ocsinventory-server (2.0.5-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
reverted:
--- ocsinventory-server-2.0.5/debian/conf/ocsinventory.conf
+++ ocsinventory-server-2.0.5.orig/debian/conf/ocsinventory.conf
@@ -1,306 +0,0 @@
-
-#
-# OCS Inventory NG Communication Server Perl Module Setup
-#
-# Copyleft 2006 Pascal DANEK
-# Web: http://www.ocsinventory-ng.org
-#
-# This code is open source and may be copied and modified as long as the source
-# code is always made freely available.
-# Please refer to the General Public Licence http://www.gnu.org/ or Licence.txt
-
-
-IfModule mod_perl.c
- 
-  # Which version of mod_perl we are using
-  # For mod_perl = 1.999_21, replace VERSION_MP by 1
-  # For mod_perl  1.999_21, replace VERSION_MP by 2
-  PerlSetEnv OCS_MODPERL_VERSION 2 
-
-  # Master Database settings
-  # Replace DATABASE_SERVER by hostname or ip of MySQL server for WRITE
-  PerlSetEnv OCS_DB_HOST localhost
-  # Replace DATABASE_PORT by port where running MySQL server, generally 3306
-  PerlSetEnv OCS_DB_PORT 3306
-  # Name of database
-  PerlSetEnv OCS_DB_NAME ocsweb
-  PerlSetEnv OCS_DB_LOCAL ocsweb
-  # User allowed to connect to database
-  PerlSetEnv OCS_DB_USER ocs
-  # Password for user
-  PerlSetVar OCS_DB_PWD ocs
-
-  # Slave Database settings
-  # Replace DATABASE_SERVER by hostname or ip of MySQL server for READ
-  # Useful if you handle mysql slave databases
-  # PerlSetEnv OCS_DB_SL_HOST DATABASE_SERVER
-  # Replace DATABASE_PORT by port where running MySQL server, generally 3306
-  # PerlSetEnv OCS_DB_SL_PORT_SLAVE DATABASE_PORT
-  # User allowed to connect to database
-  # PerlSetEnv OCS_DB_SL_USER ocs
-  # Name of the database
-  # PerlSetEnv OCS_DB_SL_NAME ocsweb
-  # Password for user
-  # PerlSetVar OCS_DB_SL_PWD ocs
-  
-  # Path to log directory (must be writeable)
-  PerlSetEnv OCS_OPT_LOGPATH /var/log/ocsinventory-server/
-  
-  # If you need to specify a mysql socket that the client's built-in
-  #PerlSetEnv OCS_OPT_DBI_MYSQL_SOCKET path/to/mysql/unix/socket
-  # DBI verbosity
-  PerlSetEnv OCS_OPT_DBI_PRINT_ERROR 0
-  
-  # Unicode support
-  PerlSetEnv OCS_OPT_UNICODE_SUPPORT 1
-
-  # If you are using a multi server architecture, 
-  # Put the ip addresses of the slaves on the master
-  # (This is read as perl regular expressions)
-  PerlAddVar OCS_OPT_TRUSTED_IP 127.0.0.1
-  #PerlAddVar OCS_OPT_TRUSTED_IP XXX.XXX.XXX.XXX
-  
-# = WEB SERVICE (SOAP) SETTINGS =
-
-  PerlSetEnv OCS_OPT_WEB_SERVICE_ENABLED 0
-  PerlSetEnv OCS_OPT_WEB_SERVICE_RESULTS_LIMIT 100
-  # PerlSetEnv OCS_OPT_WEB_SERVICE_PRIV_MODS_CONF WEBSERV_PRIV_MOD_CONF_FILE
-
-# Be careful: you must restart apache to make settings taking effects
-
-  # Configure engine to use the settings from this file  
-  PerlSetEnv OCS_OPT_OPTIONS_NOT_OVERLOADED 0
-
-  # Try to use other compress algorythm than raw zlib
-  # GUNZIP and clear XML are supported
-  PerlSetEnv OCS_OPT_COMPRESS_TRY_OTHERS 1
-  
-##
-# = OPTIONS BELOW ARE OVERLOADED IF YOU USE OCS GUI =#
-##
-
-# NOTE: IF YOU WANT TO USE THIS CONFIG FILE INSTEAD, set OCS_OPT_OPTIONS_NOT_OVERLOADED to '1'
-
-# = MAIN SETTINGS =
-
-  # Enable engine 

Bug#718475: ocsinventory-server: transition towards Apache 2.4

2013-08-01 Thread Jean-Michel Vourgère
Package: ocsinventory-server
Severity: important
User: debian-apa...@lists.debian.org
Usertags: apache24webapptransition
Control: block 661958 by -1

Dear maintainer,

your package ocsinventory-server is a web application which supports the
Apache2 web server. We're upgrading Apache to the new upstream version
2.4 [1] (tracked as transition bug #661958). This requires some changes
in your package about how to interface to our package. You can test your
package against our package available in sid.

We have written packaging guidelines for our reverse
dependencies [4]. Please read this document carefully, it should be able
to answer most of your questions. Do also look at dh_apache2 (available
through  the dh-apache2 package) which can simplify shipping of Apache2
configuration files. 

In short, we want to highlight these changes you need to be aware of:

* Do NOT declare a strong relation against apache2.2-common. Instead
recommend apache2 | httpd in your package relationships. 

* Do NOT install any files to /etc/apache2/conf.d/. This directory is
 obsolete. Its successor is /etc/apache2/conf-available/ which can be
 interfaced through a2enconf/a2disconf

* Do NOT call a2enconf/a2disconf in your maintainer scripts. Use our
 apache2-maintscript-helper [4] instead. This is required to get a
 uniform and stateful handling of all web applications interfacing with
 Apache2.

* Please use the new authentication and authorization directives of
 Apache 2.4 [6]. While the old style directives are in principle still
 supported using mod_access_compat, mixing old and new style directives
 can cause problems. Moreover, the compatibility mode may be removed in
 a future release.


You can look at our Apache 2.4 packaging hints [7] for hands-on
tutorials.



[1] https://lists.debian.org/debian-devel-announce/2012/03/msg00013.html
[4] 
http://anonscm.debian.org/gitweb/?p=pkg-apache/apache2.git;a=blob;f=debian/PACKAGING;hb=next
[5] http://httpd.apache.org/docs/2.4/developer/new_api_2_4.html
[6] http://httpd.apache.org/docs/2.4/upgrading.html#run-time
[7] http://wiki.debian.org/Apache/PackagingFor24


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org