--- phpgacl-3.3.7.orig/debian/phpgacl.prerm
+++ phpgacl-3.3.7/debian/phpgacl.prerm
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+# source debconf stuff
+. /usr/share/debconf/confmodule
+# source dbconfig-common stuff
+dbc_dbtypes="mysql, pgsql"
+. /usr/share/dbconfig-common/dpkg/prerm
+dbc_go phpgacl $@
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
--- phpgacl-3.3.7.orig/debian/compat
+++ phpgacl-3.3.7/debian/compat
@@ -0,0 +1 @@
+5
--- phpgacl-3.3.7.orig/debian/changelog
+++ phpgacl-3.3.7/debian/changelog
@@ -0,0 +1,241 @@
+phpgacl (3.3.7-7.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * No longer use harcoded path to "rm" in postinst
+ * Fix copyright in deian/copyright
+ * Fix pending l10n issues. Debconf translations:
+ - Russian (Yuri Kozlov). Closes: #556546
+ - Danish (Joe Hansen). Closes: #584960
+
+ -- Christian Perrier <bubulle@debian.org> Sun, 13 Jun 2010 10:56:26 +0200
+
+phpgacl (3.3.7-7) unstable; urgency=low
+
+ * debian/phpgacl.{preinst,prerm}: set -e flag to maintainer scripts,
+ which ensures that the script's execution is aborted when any
+ executed command fails.
+ * Depend on libnusoap-php instead of shipping its
+ source code (Closes: #529579).
+
+ -- David Gil <dgil@telefonica.net> Fri, 22 May 2009 10:45:36 +0200
+
+phpgacl (3.3.7-6) unstable; urgency=low
+
+ * debian/phpgacl.templates: Use "All" as default choice for web server,
+ to ensure that all available versions of apache are configured.
+ * debian/watch: Fixed watch file (Closes: #450279)
+ * debian/control: Added Vcs-{Cvs,Browser} fields
+ * Bump Standards-Version to 3.8.0:
+ + debian/control: Added Homepage field
+ * debian/phpgacl.doc-base.{api-guide,manual}:
+ + changed section from "Apps/Programming" to "Programming", to be
+ compliant with the latest doc-base manual, refer to 2.3.3 for details
+ + removed extra whitespaces in section separators, refer to section
+ 2.3.2 of doc-base manual for details
+ * Initial Swedish debconf translation (Closes: #501035)
+
+ -- David Gil <dgil@telefonica.net> Wed, 15 Oct 2008 13:16:31 +0200
+
+phpgacl (3.3.7-5) unstable; urgency=low
+
+ * Depends on 'postgresql-client' dummy package, which will always
+ point to the latest version. Removed dependencies on specific
+ postgresql-client-X.Y packages (Closes: #419287).
+ * Initial Portuguese debconf translation (Closes: #437281).
+ * Initial Dutch debconf translation (Closes: #450984).
+ * Drop Openoffice manual from doc-base.
+ * Removed DH_COMPAT environment variable in debian/rules. Created
+ a debian/compat file instead.
+
+ -- David Gil <dgil@telefonica.net> Sat, 11 Aug 2007 16:51:39 +0000
+
+phpgacl (3.3.7-4) unstable; urgency=low
+
+ * Thanks to Steinar H. Gunderson for his previous NMUs.
+ * Complete the list of database clients dependencies needed by
+ dbconfig-common (Closes: #402279).
+ * Initial German debconf translation (Closes: #402418)
+
+ -- David Gil <dgil@telefonica.net> Mon, 11 Dec 2006 21:54:02 +0000
+
+phpgacl (3.3.7-3.2) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * Also depend on mysql-client, as it is also supported.
+ (Really Closes: #398634)
+
+ -- Steinar H. Gunderson <sesse@debian.org> Wed, 22 Nov 2006 11:35:00 +0100
+
+phpgacl (3.3.7-3.1) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * Depend on postgresql-client; dbconfig-common is not enough to get the
+ client in; makes the package configure properly. (Closes: #398634)
+
+ -- Steinar H. Gunderson <sesse@debian.org> Tue, 21 Nov 2006 19:39:23 +0100
+
+phpgacl (3.3.7-3) unstable; urgency=low
+
+ * Update Spanish Debconf translation.
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@computer.org> Sat, 11 Nov 2006 00:40:25 +0100
+
+phpgacl (3.3.7-2) unstable; urgency=low
+
+ * Acknowledge NMU, thanks to Steinar H. Gunderson (Closes: #389545).
+ * Updated debconf translations:
+ + Czech, thanks Miroslav Kure (Closes: #389179).
+ + French, thanks Sylvain Archenault (Closes: #390202).
+ * Move the text of the debconf note "setup" to the README.Debian file.
+ (Closes: #388948).
+
+ -- David Gil <dgil@telefonica.net> Sun, 01 Oct 2006 12:00:49 +0200
+
+phpgacl (3.3.7-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * debian/config: Do the same fix as 3.3.6-4 did for postrm; ie. check for
+ the existence of dbconfig-common before using it. (Closes: #388232)
+
+ -- Steinar H. Gunderson <sesse@debian.org> Tue, 26 Sep 2006 13:08:08 +0200
+
+phpgacl (3.3.7-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- David Gil <dgil@telefonica.net> Mon, 11 Sep 2006 08:46:24 +0200
+
+phpgacl (3.3.6-4) unstable; urgency=low
+
+ * debian/postrm: Comply with Policy 7.2 removing dependence from
+ non-essential packages
+ * debian/templates: Don't mark all choices as traslatables in the
+ webserver configuration template
+ * debian/control: Add extra space before Homepage at package description
+
+ -- David Gil <dgil@telefonica.net> Sun, 03 Sep 2006 11:32:10 +0200
+
+phpgacl (3.3.6-3) unstable; urgency=low
+
+ * Fix a lot dbconfig errors:
+ - Wrong dbconfig-common script was sourced in postrm maintainer script.
+ - Add dbc_dbtypes variable in mantainer scripts, not only in config file.
+ This is related to bug #372948.
+ - Use dbc_* variables from /etc/dbconfig-common/phpgacl.conf instead
+ of reading them from debconf.
+ - Set dbc_dbserver to 'localhost' if a server is not specified.
+ * Added inital Frech debconf translation, thanks to Sylvain Archenault
+ (Closes: #351494)
+ * Added inital Czech debconf translation, thanks to Miroslav Kure
+ (Closes: #353373)
+ * Bump Standards-Version to 3.7.2 (no policy-related changes needed).
+
+ -- David Gil <dgil@telefonica.net> Mon, 12 Jun 2006 17:57:12 +0200
+
+phpgacl (3.3.6-2) unstable; urgency=low
+
+ * First attempt at dbconfig-common support.
+ * Some templates have been rewritten in order to follow the developers
+ reference, thanks to Thomas Huriaux! (Closes: #349216).
+ [ Javier Fernandez-Sanguino ]
+ * Added a Spanish translation to the po files.
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@computer.org> Sun, 5 Mar 2006 20:12:42 +0100
+
+phpgacl (3.3.6-1) unstable; urgency=low
+
+ * New upstream release (Closes: #343567).
+ * Check if constant ADODB_DIR is already defined, avoiding warnings when
+ error_reporting is set to E_ALL in php configuration (Closes: #344895).
+ * Use debhelper compat level 5 and update build-dependencies accordingly.
+ * Updated copyright file.
+ * Added debconf templates translation.
+ * Added watch file.
+
+ -- David Gil <dgil@telefonica.net> Tue, 17 Jan 2006 08:53:43 +0100
+
+phpgacl (3.3.5-1) unstable; urgency=low
+
+ * New upstream release.
+ * Get rid of debian/phpgacl.conf.php configuration file. Use upstream
+ gacl.ini.php instead.
+ - debian/README.Debian, debian/phpgacl.postinst: Modified acordly.
+ - debian/phpgacl.preinst: Remove old configuration file if the user
+ has not modified it.
+ - debian/phpgacl.config: If the user has modified the old file, warn
+ that a review of the new one may be needed.
+ - debian/phpgacl.templates: New template with the configuration
+ change warning.
+ * debian/phpgacl.postinst: Fixed bashism (Used [] && [] instead of [ -a ])
+ * debian/phpgacl.templates: Fixed typo in phpgacl/name template.
+
+ -- David Gil <dgil@telefonica.net> Sun, 16 Oct 2005 12:10:37 +0200
+
+phpgacl (3.3.4-5) unstable; urgency=low
+
+ * debian/copyright: include the authors of adodb, smarty and cache_lite,
+ since these pieces of software are included in the source (but not
+ installed).
+ * debian/control:
+ - Use Build-Depends instead of Build-Depends-Indep. The package uses
+ dh_clean in the "clean" target of debian/rules, so it needs debhelper
+ in Build-Depends: field. (Thanks to Joerg Jaspert for the notice).
+ - Changed Section: field to web.
+ * Since version 4.64, adodb is installed in '/usr/share/php/adodb':
+ - gacl.class.php: Changed adodb include to the right path.
+ - debian/control: depends on libphp-adodb (>= 4.64)
+
+ -- David Gil <dgil@telefonica.net> Thu, 11 Aug 2005 23:26:42 +0200
+
+phpgacl (3.3.4-4) unstable; urgency=low
+
+ * debian/copyright: Completed with all the authors.
+ * debian/control: No architecture-dependent package is built,
+ so used Build-Depends-Indep instead of Build-Depends.
+
+ -- David Gil <dgil@telefonica.net> Thu, 04 Aug 2005 23:04:21 +0200
+
+phpgacl (3.3.4-3) unstable; urgency=low
+
+ * Check if dpkg-statoverrid exists before running in postinst
+ * Clean up the TMPFILE if the postinst script aborts
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@computer.org> Tue, 26 Jul 2005 19:58:07 +0200
+
+phpgacl (3.3.4-2) unstable; urgency=low
+
+ * Install README.Debian file forgotten in the last version.
+ * Use smarty debian package:
+ - debian/control: Add smarty (>= 2.6.9) to Depends: field.
+ - debian/rules: Don't install smarty directory (admin/smarty)
+ included with the source
+ - debian/rules: Create a template_c directory under admin/
+ needed by smarty (owned by root, group www-data and mode
+ 0776 since smarty needs write permissions under the directory)
+ - debian/phpgacl.postrm: remove files created under templates_c directory.
+ - admin/gacl_admin.inc.php: modified smarty include path.
+ * Use php-cache-lite debian package:
+ - debian/control: Add php-cache-lite (>= 1.5.2) to Depends: field.
+ - debian/rules: Don't install Lite.php included with the source.
+ - Cache_Lite/Hashed_Cache_Lite.php: modified Cache_Lite include path.
+ * debian/postinst: Check 'dpkg-statoverride --list' return value
+ before updating perms.
+ * debian/control: Changed my email address.
+
+ -- David Gil <dgil@telefonica.net> Thu, 21 Jul 2005 11:14:44 +0200
+
+phpgacl (3.3.4-1) unstable; urgency=low
+
+ * Initial Release:
+ - Modify sources so that they use a configuration file which is
+ installed at /etc/phpgacl/phpgacl.conf.php (owned by root, group
+ www-data and mode 0640 since it contains sensitive information)
+ - Have package configuration through debconf
+ - Add an Apache configuration file to Alias /phpgacl but restrict
+ access to it to only localhost since this provides the documentation
+ (discloses the phpgacl version in use) and the administrative
+ interface. Programs using the library need to include files
+ at /usr/share/phpgacl but don't need the interface itself.
+
+ -- David Gil <dgil@ossim.net> Mon, 27 Jun 2005 16:33:00 +0200
+
--- phpgacl-3.3.7.orig/debian/watch
+++ phpgacl-3.3.7/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/phpgacl/ phpgacl-?_?([\d+\.]+|\d+)\.tar.gz debian uupdate
--- phpgacl-3.3.7.orig/debian/control
+++ phpgacl-3.3.7/debian/control
@@ -0,0 +1,19 @@
+Source: phpgacl
+Section: web
+Priority: optional
+Maintainer: David Gil <dgil@telefonica.net>
+Uploaders: Javier Fernandez-Sanguino Pen~a <jfs@computer.org>
+Build-Depends: debhelper (>= 5.0.0), po-debconf
+Standards-Version: 3.8.0
+Homepage: http://phpgacl.sourceforge.net/
+Vcs-Cvs: -d:pserver:anonymous@phpgacl.cvs.sf.net:/cvsroot/phpgacl
+Vcs-Browser: http://phpgacl.cvs.sf.net/phpgacl
+
+Package: phpgacl
+Architecture: all
+Depends: ${misc:Depends}, dbconfig-common, postgresql-client, mysql-client | virtual-mysql-client, libphp-adodb (>= 4.64), smarty (>= 2.6.9), php-cache-lite (>= 1.5.2), libnusoap-php
+Description: PHP Generic Access Control Lists
+ phpGACL is a set of PHP functions giving web developers a simple,
+ yet immensely powerful "drop in" permission system for their current
+ web based applications
+
--- phpgacl-3.3.7.orig/debian/phpgacl.docs
+++ phpgacl-3.3.7/debian/phpgacl.docs
@@ -0,0 +1,4 @@
+CREDITS
+FAQ
+README
+TODO
--- phpgacl-3.3.7.orig/debian/TODO
+++ phpgacl-3.3.7/debian/TODO
@@ -0,0 +1,6 @@
+TODO for phpGACL
+================
+
+ * Separate in two packages: library and administrative interface and
+ documentation.
+
--- phpgacl-3.3.7.orig/debian/apache.conf
+++ phpgacl-3.3.7/debian/apache.conf
@@ -0,0 +1,11 @@
+<IfModule mod_alias.c>
+ Alias /phpgacl "/usr/share/phpgacl"
+</IfModule>
+
+<Location /phpgacl>
+ order deny,allow
+ deny from all
+ allow from 127.0.0.0/255.0.0.0
+ Options Indexes FollowSymLinks MultiViews
+</Location>
+
--- phpgacl-3.3.7.orig/debian/phpgacl.doc-base.api-guide
+++ phpgacl-3.3.7/debian/phpgacl.doc-base.api-guide
@@ -0,0 +1,9 @@
+Document: phpgacl-api-guide
+Title: phpGACL Developer's Manual
+Author: Mike Benoit <ipso@snappymail.ca>
+Abstract: API guide generated from the phpGACL source code.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/phpgacl/docs/phpdoc/index.html
+Files: /usr/share/doc/phpgacl/docs/phpdoc/*
--- phpgacl-3.3.7.orig/debian/phpgacl.preinst
+++ phpgacl-3.3.7/debian/phpgacl.preinst
@@ -0,0 +1,34 @@
+#!/bin/sh -e
+
+#
+# preinst file for phpgacl package
+#
+# This file manages the obsolete config file OLDCONF.
+# This change was made in version 3.3.5-1
+#
+# If the MD5sum matches, the user has not modified it, remove it
+#
+OLDCONF=/etc/phpgacl/phpgacl.conf.php
+OLDMD5=e83ef5868cf7e1ece7430a82d7e99cd5
+VERSION=3.3.5-1
+
+case "$1" in
+ install|upgrade)
+ if [ "x$2" != "x" ] ; then
+ if dpkg --compare-versions $2 lt $VERSION ; then
+ if md5sum $OLDCONF 2> /dev/null | grep -q $OLDMD5 ; then
+ echo "Deleting obsolete config file ($OLDCONF).."
+ rm -f $OLDCONF
+ fi
+ fi
+ fi
+ ;;
+ abort-upgrade)
+ ;;
+ *)
+ echo "preinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
--- phpgacl-3.3.7.orig/debian/phpgacl.doc-base.manual
+++ phpgacl-3.3.7/debian/phpgacl.doc-base.manual
@@ -0,0 +1,16 @@
+Document: phpgacl-manual
+Title: phpGACL User's Manual
+Author: Mike Benoit <ipso@snappymail.ca>
+Abstract: This manual includes a Star Wars Millennium Falcon tutorial
+ that explain the way phpGACL manages access control lists.
+Section: Programming
+
+Format: pdf
+Files: /usr/share/doc/phpgacl/docs/manual.pdf
+
+Format: text
+Files: /usr/share/doc/phpgacl/docs/manual.txt
+
+Format: HTML
+Index: /usr/share/doc/phpgacl/docs/manual.html
+Files: /usr/share/doc/phpgacl/docs/manual_html*
--- phpgacl-3.3.7.orig/debian/copyright
+++ phpgacl-3.3.7/debian/copyright
@@ -0,0 +1,61 @@
+This package was debianized by David Gil <dgil@ossim.net> on
+Mon, 27 Jun 2005 16:33:00 +0200.
+
+It was downloaded from http://phpgacl.sourceforge.net
+
+Upstream author:
+ Mike Benoit <ipso@snappymail.ca>
+
+Copyright (C) 2002, 2003, 2004, 2005, Mike Benoit <ipso@snappymail.ca>
+
+Some other pieces of the software and documentation are also (c) by:
+ Carl Taylor <cjtaylor@adepteo.com>
+ Torben Nehmer <torben@nehmer.net>
+ 2002, NuSphere Corporation
+ 2000, Fred Yankowski
+ 2003, James Russell
+ 2003, Karsten Dambekalns
+ 2002, Greg Beaver <cellog@users.sourceforge.net>
+
+Other pieces of software that are included in the source but not
+installed are (c) by:
+ 2000, 2001, 2002, 2003, 2004 John Lim (adodb)
+ 2001, 2002 ispi of Lincoln, Inc. (smarty)
+ Fabien MARTY <fab@php.net> (Cache_Lite)
+
+
+License:
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian GNU/Linux systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+ The adodb library is dually licensed BSD-Style and LGPL. Where there is any
+ discrepancy, the BSD-Style license will take precedence.
+
+On a Debian system, these licenses can be found respectively in
+/usr/share/common-licenses/BSD and /usr/share/common-licenses/LGPL.
+
+ The smarty library is distributed under the GPL License
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+ The cache lite library is distributed under the LGPL License
+
+On Debian GNU/Linux systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'
+
--- phpgacl-3.3.7.orig/debian/phpgacl.postinst
+++ phpgacl-3.3.7/debian/phpgacl.postinst
@@ -0,0 +1,106 @@
+#!/bin/sh -e
+
+# debconf
+. /usr/share/debconf/confmodule
+
+# source dbconfig-common stuff
+dbc_dbtypes="mysql, pgsql"
+. /usr/share/dbconfig-common/dpkg/postinst
+dbc_go phpgacl $@
+
+CONF=/etc/phpgacl/gacl.ini.php
+[ -f $CONF ] || exit
+
+case "$1" in
+ configure)
+
+ . /etc/dbconfig-common/phpgacl.conf
+
+ if [ "$dbc_install" = "true" ]; then
+
+ TMPFILE=`tempfile -p gacl.`
+ trap " [ -f \"$TMPFILE\" ] && rm -f -- \"$TMPFILE\"" 1 2 3 13 15
+
+ cp $CONF $TMPFILE
+
+ # default to 'localhost' if a server isn't specified
+ if [ -z $dbc_dbserver ] ; then
+ dbc_dbserver="localhost"
+ fi
+
+ # adodb uses 'postgres' name instead of 'pgsql'
+ if [ "$dbc_dbtype" = "pgsql" ]; then
+ dbc_dbtype="postgres"
+ fi
+
+ cat $CONF | \
+ sed -e "s/^db_type.*/db_type = \"$dbc_dbtype\"/" |\
+ sed -e "s/^db_name.*/db_name = \"$dbc_dbname\"/" |\
+ sed -e "s/^db_host.*/db_host = \"$dbc_dbserver\"/" |\
+ sed -e "s/^db_user.*/db_user = \"$dbc_dbuser\"/" |\
+ sed -e "s/^db_password.*/db_password = \"$dbc_dbpass\"/" \
+ > $TMPFILE
+
+ mv $TMPFILE $CONF
+
+ fi
+
+ # Automatic apache configuration
+ db_get phpgacl/apache || true
+ WEBSERVER="$RET"
+ case "$WEBSERVER" in
+ Apache) webservers="apache" ;;
+ Apache-SSL) webservers="apache-ssl" ;;
+ Apache2) webservers="apache2" ;;
+ All) webservers="apache apache-ssl apache2" ;;
+ *) webservers="" ;;
+ esac
+
+ for apache in $webservers; do
+ if [ -d "/etc/$apache/conf.d" ] && \
+ [ -x "/etc/init.d/$apache" ] && \
+ [ ! -e "/etc/$apache/conf.d/phpgacl.conf" ]
+ then
+ ln -sf /etc/phpgacl/apache.conf \
+ /etc/$apache/conf.d/phpgacl.conf
+ if [ -f "/var/run/$apache.pid" ]; then
+ invoke-rc.d $apache reload
+ fi
+ fi
+ done
+
+ ;;
+ upgrade)
+ ;;
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 0
+ ;;
+esac
+
+# Ensure the config file is readable by root.www-data and mode 640
+# since it stores the database password
+if [ ! -x /usr/sbin/dpkg-statoverride ] || \
+ ! dpkg-statoverride --list $CONF > /dev/null
+then
+ chown root:www-data $CONF
+ chmod 640 $CONF
+fi
+
+# Ensure the templates_c directory needed by smarty is writable by www-data
+if [ ! -x /usr/sbin/dpkg-statoverride ] || \
+ ! dpkg-statoverride --list /usr/share/phpgacl/admin/templates_c > /dev/null
+then
+ chown root:www-data /usr/share/phpgacl/admin/templates_c
+ chmod -R 776 /usr/share/phpgacl/admin/templates_c
+fi
+
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
--- phpgacl-3.3.7.orig/debian/rules
+++ phpgacl-3.3.7/debian/rules
@@ -0,0 +1,109 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+
+ touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ debconf-updatepo
+ rm -f build-stamp configure-stamp
+ rm -rf debian/phpgacl
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # php pages
+ # - Don't include adodb directory,
+ # instead use libphp-adodb debian package
+ # - Don't include Cache_lite directory,
+ # instead use php-cache-lite debian package.
+ install -d $(CURDIR)/debian/phpgacl/usr/share/phpgacl/
+ cp -r *.php *.inc admin/ soap/ test_suite/ schema.xml \
+ $(CURDIR)/debian/phpgacl/usr/share/phpgacl/
+
+ # Remove nusoap.php file, instead use libnusoap-php debian package
+ rm -rf $(CURDIR)/debian/phpgacl/usr/share/phpgacl/soap/nusoap.php
+
+ # Remove smarty directory, instead use smarty debian package
+ rm -rf $(CURDIR)/debian/phpgacl/usr/share/phpgacl/admin/smarty
+ # smarty needs a template_c/ directory,
+ # and write permissions to write on it.
+ install -d -m 0776 -o root -g www-data \
+ $(CURDIR)/debian/phpgacl/usr/share/phpgacl/admin/templates_c
+
+ # Don't include Lite.php from Cache_lite directory, instead use
+ # php-cache-lite debian package
+ install -d $(CURDIR)/debian/phpgacl/usr/share/phpgacl/Cache_Lite
+ cp Cache_Lite/Hashed_Cache_Lite.php \
+ $(CURDIR)/debian/phpgacl/usr/share/phpgacl/Cache_Lite/
+
+ # on-line documentation
+ install -d $(CURDIR)/debian/phpgacl/usr/share/doc/phpgacl/
+ cp -r docs/ $(CURDIR)/debian/phpgacl/usr/share/phpgacl/
+ ln -sf /usr/share/phpgacl/docs \
+ $(CURDIR)/debian/phpgacl/usr/share/doc/phpgacl/
+
+ # configuration
+ install -d $(CURDIR)/debian/phpgacl/etc/phpgacl/
+ install -m 640 -o root -g www-data $(CURDIR)/gacl.ini.php \
+ $(CURDIR)/debian/phpgacl/etc/phpgacl/
+ ln -sf /etc/phpgacl/gacl.ini.php \
+ $(CURDIR)/debian/phpgacl/usr/share/phpgacl/
+
+ # apache configuration
+ cp $(CURDIR)/debian/apache.conf \
+ $(CURDIR)/debian/phpgacl/etc/phpgacl/apache.conf
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs CHANGELOG
+ dh_installdocs
+ dh_installexamples
+ dh_installdebconf
+# dh_installlogrotate
+# dh_installcron
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
+
--- phpgacl-3.3.7.orig/debian/phpgacl.templates
+++ phpgacl-3.3.7/debian/phpgacl.templates
@@ -0,0 +1,21 @@
+Template: phpgacl/apache
+Type: select
+#flag:translate:4,5
+__Choices: Apache, Apache2, Apache-SSL, All, None
+Default: All
+_Description: Version(s) of Apache to configure automatically:
+ phpGACL requires a few things to be set up in your web server
+ configuration in order for the front end to function properly.
+ .
+ The Debian packaged version can usually automatically configure apache by
+ dropping a symlink into the /etc/APACHE-SERVER/conf.d directory.
+ Select "None" if you aren't running apache or you would prefer to set up
+ the web server yourself. If you select a version to configure, all
+ configuration changes will also be removed when the package is purged.
+
+Template: phpgacl/conffile_changed
+Type: note
+_Description: Obsolete configuration file
+ Your system has an obsolete configuration file
+ (/etc/phpgacl/phpgacl.conf.php). Please, review the new configuration file
+ (/etc/phpgacl/gacl.ini.php) and remove the obsolete one.
--- phpgacl-3.3.7.orig/debian/phpgacl.config
+++ phpgacl-3.3.7/debian/phpgacl.config
@@ -0,0 +1,22 @@
+#!/bin/sh -e
+
+# Source debconf library.
+. /usr/share/debconf/confmodule
+
+# source dbconfig-common stuff
+dbc_dbtypes="mysql, pgsql"
+
+if [ -f /usr/share/dbconfig-common/dpkg/config ]; then
+ . /usr/share/dbconfig-common/dpkg/config
+ dbc_go phpgacl $@
+fi
+
+db_input medium phpgacl/apache || true
+db_go
+
+OLDCONF=/etc/phpgacl/phpgacl.conf.php
+if [ -e "$OLDCONF" ] ; then
+ db_input high phpgacl/conffile_changed || true
+ db_go
+fi
+
--- phpgacl-3.3.7.orig/debian/README.Debian
+++ phpgacl-3.3.7/debian/README.Debian
@@ -0,0 +1,44 @@
+
+Debian README for phpgacl
+=========================
+
+Changes from the upstream version
+---------------------------------
+
+The Debian version for phpgacl introduces two changes from the upstream
+version:
+
+1.- The library can be configured (either through debconf or by editing it
+ manually) through a configuration file located at:
+ /etc/phpgacl/gacl.ini.php
+ Since this file contains sensitive information (database location
+ and access passwords) it uses a restrictive permission set
+ (belongs to 'root' user, 'www-data' group and is mode 0640).
+
+2.- The administrative interface used to graphically define the ACLs
+ is available by connecting to the web server (if using Apache)
+ at http://127.0.0.1/phpgacl . It is, however, restricted, so no
+ remote users can access the administrative interface nor the
+ online documentation.
+
+ If you need to bypass these restrictions please modify
+ /etc/phpgacl/apache.conf accordingly. Consider, however, that you
+ are opening up the server to brute-force attacks to the
+ administrative interface (which might compromise, if modified
+ your server applications that rely on phpgacl) and you are
+ also disclosing the phpgacl version you use. Versions of PHP software
+ in use are routenily used by worms out there, so beware.
+
+
+Default ACL configuration
+-------------------------
+
+Is important to notice that before running phpGACL for the first time,
+you need to enter http://<yourhost>/phpgacl/setup.php in order to configure
+default ACLs.
+
+
+----
+Last Changed by: David Gil <dgil_AT_telefonica.net>
+Last Changed at: Wed, 27 Sep 2006 12:56:25 +0200
+
--- phpgacl-3.3.7.orig/debian/phpgacl.postrm
+++ phpgacl-3.3.7/debian/phpgacl.postrm
@@ -0,0 +1,44 @@
+#!/bin/sh -e
+
+# Source debconf library.
+if [ -f /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule
+fi
+
+# source dbconfig-common stuff
+if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then
+ dbc_dbtypes="mysql, pgsql"
+ . /usr/share/dbconfig-common/dpkg/postrm
+ dbc_go phpgacl $@
+fi
+
+
+db_get phpgacl/apache || true
+WEBSERVER="$RET"
+case "$WEBSERVER" in
+ Apache) webservers="apache" ;;
+ Apache2) webservers="apache2" ;;
+ Apache-SSL) webservers="apache-ssl" ;;
+ All) webservers="apache apache-ssl apache2" ;;
+ *) webservers="" ;;
+esac
+
+for apache in $webservers; do
+ if [ -f "/etc/$apache/conf.d/phpgacl.conf" ]; then
+ rm -f /etc/$apache/conf.d/phpgacl.conf
+ if [ -f "/var/run/$apache.pid" ]; then
+ invoke-rc.d $apache reload
+ fi
+ fi
+done
+
+# remove files under templates_c directory generated by smarty
+# ONLY WITH --PURGE??
+rm -f /usr/share/phpgacl/admin/templates_c/*
+
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
--- phpgacl-3.3.7.orig/debian/po/fr.po
+++ phpgacl-3.3.7/debian/po/fr.po
@@ -0,0 +1,93 @@
+# French translation of phpgacl.
+# Copyright (C) 2006 THE phpgacl'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the phpgacl package.
+# Sylvain Archenault <sylvain.archenault@laposte.net>, 2006.
+#
+#
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: phpgacl\n"
+"Report-Msgid-Bugs-To: dgil@telefonica.net\n"
+"POT-Creation-Date: 2006-09-27 12:57+0200\n"
+"PO-Revision-Date: 2006-09-26 19:48+0200\n"
+"Last-Translator: Sylvain Archenault <sylvain.archenault@laposte.net>\n"
+"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Choices
+#: ../phpgacl.templates:1001
+msgid "All"
+msgstr "Toutes"
+
+#. Type: select
+#. Choices
+#: ../phpgacl.templates:1001
+msgid "None"
+msgstr "Aucune"
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid "Version(s) of Apache to configure automatically:"
+msgstr "Version(s) d'Apache à configurer automatiquement :"
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid ""
+"phpGACL requires a few things to be set up in your web server configuration "
+"in order for the front end to function properly."
+msgstr ""
+"Pour fonctionner correctement, phpGACL a besoin d'effectuer quelques "
+"modifications dans la configuration du serveur web."
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid ""
+"The Debian packaged version can usually automatically configure apache by "
+"dropping a symlink into the /etc/APACHE-SERVER/conf.d directory. Select "
+"\"None\" if you aren't running apache or you would prefer to set up the web "
+"server yourself. If you select a version to configure, all configuration "
+"changes will also be removed when the package is purged."
+msgstr ""
+"Le paquet peut généralement configurer automatiquement Apache en créant un "
+"lien symbolique dans le répertoire /etc/APACHE-SERVER/conf.d. Choisissez "
+"« Aucune » si vous n'utilisez pas Apache ou si vous préférez configurer le "
+"serveur web vous-même. Si vous choisissez une ou plusieurs versions "
+"d'Apache, tous les changements de configuration seront supprimés lors de la "
+"purge du paquet."
+
+#. Type: note
+#. Description
+#: ../phpgacl.templates:2001
+msgid "Obsolete configuration file"
+msgstr "Fichier de configuration obsolète"
+
+#. Type: note
+#. Description
+#: ../phpgacl.templates:2001
+msgid ""
+"Your system has an obsolete configuration file (/etc/phpgacl/phpgacl.conf."
+"php). Please, review the new configuration file (/etc/phpgacl/gacl.ini.php) "
+"and remove the obsolete one."
+msgstr ""
+"Une version obsolète du fichier de configuration (/etc/phpgacl/phpgacl.conf."
+"php) a été détectée. Vous devriez vérifier le nouveau fichier de "
+"configuration (/etc/phpgacl/gacl.ini.php) et supprimer l'ancien."
+
+#~ msgid ""
+#~ "Notice that before running phpGACL for the first time, you need to enter "
+#~ "http://localhost/phpgacl/setup.php in order to configure default ACLs."
+#~ msgstr ""
+#~ "Avant d'utiliser phpGACL pour la première fois, il est nécessaire de se "
+#~ "rendre à l'adresse : http://localhost/phpgacl/setup.php pour initialiser "
+#~ "les listes de contrôle d'accès (ACL : « Access Control Lists »)."
+
+#~ msgid "Apache, Apache2, Apache-SSL, All, None"
+#~ msgstr "Apache, Apache2, Apache-SSL, Toutes, Aucune"
--- phpgacl-3.3.7.orig/debian/po/templates.pot
+++ phpgacl-3.3.7/debian/po/templates.pot
@@ -0,0 +1,69 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: dgil@telefonica.net\n"
+"POT-Creation-Date: 2006-09-27 12:57+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Choices
+#: ../phpgacl.templates:1001
+msgid "All"
+msgstr ""
+
+#. Type: select
+#. Choices
+#: ../phpgacl.templates:1001
+msgid "None"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid "Version(s) of Apache to configure automatically:"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid ""
+"phpGACL requires a few things to be set up in your web server configuration "
+"in order for the front end to function properly."
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid ""
+"The Debian packaged version can usually automatically configure apache by "
+"dropping a symlink into the /etc/APACHE-SERVER/conf.d directory. Select "
+"\"None\" if you aren't running apache or you would prefer to set up the web "
+"server yourself. If you select a version to configure, all configuration "
+"changes will also be removed when the package is purged."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../phpgacl.templates:2001
+msgid "Obsolete configuration file"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../phpgacl.templates:2001
+msgid ""
+"Your system has an obsolete configuration file (/etc/phpgacl/phpgacl.conf."
+"php). Please, review the new configuration file (/etc/phpgacl/gacl.ini.php) "
+"and remove the obsolete one."
+msgstr ""
--- phpgacl-3.3.7.orig/debian/po/ru.po
+++ phpgacl-3.3.7/debian/po/ru.po
@@ -0,0 +1,82 @@
+# translation of phpgacl_3.3.7-7_ru.po to Russian
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Yuri Kozlov <yuray@komyakino.ru>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: phpgacl 3.3.7-7\n"
+"Report-Msgid-Bugs-To: dgil@telefonica.net\n"
+"POT-Creation-Date: 2006-09-27 12:57+0200\n"
+"PO-Revision-Date: 2009-10-27 15:27+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#. Type: select
+#. Choices
+#: ../phpgacl.templates:1001
+msgid "All"
+msgstr "ÐÑе"
+
+#. Type: select
+#. Choices
+#: ../phpgacl.templates:1001
+msgid "None"
+msgstr "Ðи одной"
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid "Version(s) of Apache to configure automatically:"
+msgstr "ÐеÑÑиÑ(и) Apache Ð´Ð»Ñ Ð°Ð²ÑомаÑиÑеÑкой наÑÑÑойки:"
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid ""
+"phpGACL requires a few things to be set up in your web server configuration "
+"in order for the front end to function properly."
+msgstr ""
+"ÐÐ»Ñ Ð¿ÑавилÑной ÑабоÑÑ Ð¸Ð½ÑеÑÑейÑа phpGACL нÑжно наÑÑÑоиÑÑ Ð½ÐµÑколÑко "
+"паÑамеÑÑов в ваÑем веб-ÑеÑвеÑе."
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid ""
+"The Debian packaged version can usually automatically configure apache by "
+"dropping a symlink into the /etc/APACHE-SERVER/conf.d directory. Select "
+"\"None\" if you aren't running apache or you would prefer to set up the web "
+"server yourself. If you select a version to configure, all configuration "
+"changes will also be removed when the package is purged."
+msgstr ""
+"ÐеÑÑÐ¸Ñ Debian можеÑ, обÑÑно, авÑомаÑиÑеÑки наÑÑÑоиÑÑ apache, помеÑÑив "
+"ÑимволиÑеÑкÑÑ ÑÑÑÐ»ÐºÑ Ð² каÑалог /etc/APACHE-SERVER/conf.d. ÐÑбеÑиÑе \"Ðи одной"
+"\", еÑли Ñ Ð²Ð°Ñ Ð½ÐµÑ ÑабоÑаÑÑего apache или Ð²Ñ Ñ
оÑиÑе вÑполниÑÑ Ð½Ð°ÑÑÑÐ¾Ð¹ÐºÑ Ð²ÐµÐ±-"
+"ÑеÑвеÑа ÑамоÑÑоÑÑелÑно. ÐÑли Ð²Ñ Ð²ÑбеÑеÑе веÑÑÐ¸Ñ Ð´Ð»Ñ Ð½Ð°ÑÑÑойки, вÑе Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ "
+"в конÑигÑÑаÑии бÑдÑÑ ÑÐ´Ð°Ð»ÐµÐ½Ñ Ð¿Ñи вÑÑиÑÑке пакеÑа."
+
+#. Type: note
+#. Description
+#: ../phpgacl.templates:2001
+msgid "Obsolete configuration file"
+msgstr "УÑÑаÑевÑий Ñайл наÑÑÑойки"
+
+#. Type: note
+#. Description
+#: ../phpgacl.templates:2001
+msgid ""
+"Your system has an obsolete configuration file (/etc/phpgacl/phpgacl.conf."
+"php). Please, review the new configuration file (/etc/phpgacl/gacl.ini.php) "
+"and remove the obsolete one."
+msgstr ""
+"Ð ÑиÑÑеме обнаÑÑжен ÑÑÑаÑевÑий Ñайл наÑÑÑойки (/etc/phpgacl/phpgacl.conf."
+"php). ÐнимаÑелÑно пÑоÑмоÑÑиÑе новÑй Ñайл наÑÑÑойки (/etc/phpgacl/gacl.ini."
+"php) и ÑдалиÑе ÑÑаÑÑй."
--- phpgacl-3.3.7.orig/debian/po/sv.po
+++ phpgacl-3.3.7/debian/po/sv.po
@@ -0,0 +1,80 @@
+# translation of phpgacl.po to swedish
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Martin Bagge <brother@bsnet.se>, 2008.
+msgid ""
+msgstr ""
+"Project-Id-Version: phpgacl\n"
+"Report-Msgid-Bugs-To: dgil@telefonica.net\n"
+"POT-Creation-Date: 2006-09-27 12:57+0200\n"
+"PO-Revision-Date: 2008-10-15 12:10+0100\n"
+"Last-Translator: Martin Bagge <brother@bsnet.se>\n"
+"Language-Team: swedish <debian-l10n-swedish@lists.debian.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+
+#. Type: select
+#. Choices
+#: ../phpgacl.templates:1001
+msgid "All"
+msgstr "Alla"
+
+#. Type: select
+#. Choices
+#: ../phpgacl.templates:1001
+msgid "None"
+msgstr "Ingen"
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid "Version(s) of Apache to configure automatically:"
+msgstr "Apache-version(er) som ska ställas in automatiskt:"
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid ""
+"phpGACL requires a few things to be set up in your web server configuration "
+"in order for the front end to function properly."
+msgstr ""
+"phpgACL kräver att en del inställningar i din webbserver är på-/avslagna för "
+"att gränssnittet ska fungera korrekt."
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid ""
+"The Debian packaged version can usually automatically configure apache by "
+"dropping a symlink into the /etc/APACHE-SERVER/conf.d directory. Select "
+"\"None\" if you aren't running apache or you would prefer to set up the web "
+"server yourself. If you select a version to configure, all configuration "
+"changes will also be removed when the package is purged."
+msgstr ""
+"Debianpaketet kan ställa in apache automatiskt genom att lägga en symlänk i "
+"katalogen /etc/APACHE-SERVER/conf.d. Välj \"Ingen\" om du inte kör en apache-"
+"server eller om du hellre vill ställa in webbservern själv. Om du väljer att "
+"ställa in en apache-server så kommer dessutom alla inställningar att tas "
+"bort när paketet tas bort."
+
+#. Type: note
+#. Description
+#: ../phpgacl.templates:2001
+msgid "Obsolete configuration file"
+msgstr "Gammal inställningsfil"
+
+#. Type: note
+#. Description
+#: ../phpgacl.templates:2001
+msgid ""
+"Your system has an obsolete configuration file (/etc/phpgacl/phpgacl.conf."
+"php). Please, review the new configuration file (/etc/phpgacl/gacl.ini.php) "
+"and remove the obsolete one."
+msgstr ""
+"Ditt system har en gammal inställningsfil (/etc/phpgacl/phpgacl.conf.php). "
+"Kontrollera innehållet i den nya inställningsfilen (/etc/phpgacl/gacl.ini."
+"php) och radera sedan den gamla."
--- phpgacl-3.3.7.orig/debian/po/POTFILES.in
+++ phpgacl-3.3.7/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] phpgacl.templates
--- phpgacl-3.3.7.orig/debian/po/pt.po
+++ phpgacl-3.3.7/debian/po/pt.po
@@ -0,0 +1,81 @@
+# translation of phpgacl debconf to Portuguese
+# Copyright (C) 2007 Américo Monteiro
+# This file is distributed under the same license as the phpgacl package.
+#
+# Américo Monteiro <a_monteiro@netcabo.pt>, 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: phpgacl 3.3.7-4\n"
+"Report-Msgid-Bugs-To: dgil@telefonica.net\n"
+"POT-Creation-Date: 2006-09-27 12:57+0200\n"
+"PO-Revision-Date: 2007-08-10 15:29+0100\n"
+"Last-Translator: Américo Monteiro <a_monteiro@netcabo.pt>\n"
+"Language-Team: Portuguese <traduz@debianpt.org>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+
+#. Type: select
+#. Choices
+#: ../phpgacl.templates:1001
+msgid "All"
+msgstr "Todos"
+
+#. Type: select
+#. Choices
+#: ../phpgacl.templates:1001
+msgid "None"
+msgstr "Nenhum"
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid "Version(s) of Apache to configure automatically:"
+msgstr "Versão(ões) do Apache para configurar automaticamente:"
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid ""
+"phpGACL requires a few things to be set up in your web server configuration "
+"in order for the front end to function properly."
+msgstr ""
+"O phpGACL necessita que sejam configuradas algumas coisas na configuração do "
+"seu servidor Web para que o frontend possa funcionar correctamente."
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid ""
+"The Debian packaged version can usually automatically configure apache by "
+"dropping a symlink into the /etc/APACHE-SERVER/conf.d directory. Select "
+"\"None\" if you aren't running apache or you would prefer to set up the web "
+"server yourself. If you select a version to configure, all configuration "
+"changes will also be removed when the package is purged."
+msgstr ""
+"A versão empacotada Debian normalmente pode configurar automaticamente o "
+"apache deixando um link simbólico no directório /etc/APACHE-SERVER/conf.d. "
+"Seleccione \"Nenhum\" se não está a usar o apache ou se preferir configurar "
+"você mesmo o servidor Web. Se você seleccionar uma versão para configurar, "
+"todas as alterações de configuração serão também removidas quando o pacote "
+"for purgado."
+
+#. Type: note
+#. Description
+#: ../phpgacl.templates:2001
+msgid "Obsolete configuration file"
+msgstr "Ficheiro de configuração obsoleto"
+
+#. Type: note
+#. Description
+#: ../phpgacl.templates:2001
+msgid ""
+"Your system has an obsolete configuration file (/etc/phpgacl/phpgacl.conf."
+"php). Please, review the new configuration file (/etc/phpgacl/gacl.ini.php) "
+"and remove the obsolete one."
+msgstr ""
+"O seu sistema tem um ficheiro de configuração obsoleto (/etc/phpgacl/phpgacl."
+"conf.php). Por favor, reveja o novo ficheiro de configuração (/etc/phpgacl/"
+"gacl.ini.php) e remova o obsoleto."
--- phpgacl-3.3.7.orig/debian/po/de.po
+++ phpgacl-3.3.7/debian/po/de.po
@@ -0,0 +1,79 @@
+# Translation of phpgacl debconf templates to German
+# Copyright (C) Helge Kreutzmann <debian@helgefjell.de>, 2006.
+# This file is distributed under the same license as the phpgacl package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: phpgacl 2.1.7\n"
+"Report-Msgid-Bugs-To: dgil@telefonica.net\n"
+"POT-Creation-Date: 2006-09-27 12:57+0200\n"
+"PO-Revision-Date: 2006-12-10 10:53+0100\n"
+"Last-Translator: Helge Kreutzmann <debian@helgefjell.de>\n"
+"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Choices
+#: ../phpgacl.templates:1001
+msgid "All"
+msgstr "Alle"
+
+#. Type: select
+#. Choices
+#: ../phpgacl.templates:1001
+msgid "None"
+msgstr "Keine"
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid "Version(s) of Apache to configure automatically:"
+msgstr "Apache-Version(en), die automatisch konfiguriert werden sollen:"
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid ""
+"phpGACL requires a few things to be set up in your web server configuration "
+"in order for the front end to function properly."
+msgstr ""
+"Für phpGACL müssen einige Dinge in Ihrer Webserver-Konfiguration "
+"eingerichtet werden, damit die Oberfläche richtig funktioniert."
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid ""
+"The Debian packaged version can usually automatically configure apache by "
+"dropping a symlink into the /etc/APACHE-SERVER/conf.d directory. Select "
+"\"None\" if you aren't running apache or you would prefer to set up the web "
+"server yourself. If you select a version to configure, all configuration "
+"changes will also be removed when the package is purged."
+msgstr ""
+"Die von Debian paketierte Version kann normalerweise Apache automatisch "
+"konfigurieren, indem ein Symlink in das /etc/APACHE-SERVER/conf.d-"
+"Verzeichnis abgelegt wird. Wählen Sie »Keine« falls Sie Apache nicht "
+"betreiben oder bevorzugen, den Webserver selbst einzurichten. Falls Sie eine "
+"Version zum konfigurieren auswählen werden alle Konfigurationsänderungen "
+"auch entfernt, wenn Sie das Paket vollständig entfernen."
+
+#. Type: note
+#. Description
+#: ../phpgacl.templates:2001
+msgid "Obsolete configuration file"
+msgstr "Veraltete Konfigurationsdatei"
+
+#. Type: note
+#. Description
+#: ../phpgacl.templates:2001
+msgid ""
+"Your system has an obsolete configuration file (/etc/phpgacl/phpgacl.conf."
+"php). Please, review the new configuration file (/etc/phpgacl/gacl.ini.php) "
+"and remove the obsolete one."
+msgstr ""
+"Auf Ihrem System befindet sich eine veraltete Konfigurationsdatei (/etc/"
+"phpgacl/phpgacl.conf.php). Bitte prüfen Sie die neue Konfigurationsdatei (/"
+"etc/phpgacl/gacl.ini.php) und entfernen Sie die veraltete."
--- phpgacl-3.3.7.orig/debian/po/da.po
+++ phpgacl-3.3.7/debian/po/da.po
@@ -0,0 +1,79 @@
+# Danish translation phpgacl.
+# Copyright (C) 2010 phpgacl & nedenst??ende overs??ttere.
+# This file is distributed under the same license as the phpgacl package.
+# Joe Hansen <joedalton2@yahoo.dk>, 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: phpgacl\n"
+"Report-Msgid-Bugs-To: dgil@telefonica.net\n"
+"POT-Creation-Date: 2006-09-27 12:57+0200\n"
+"PO-Revision-Date: 2010-06-07 17:30+01:00\n"
+"Last-Translator: Joe Hansen <joedalton2@yahoo.dk>\n"
+"Language-Team: Danish <debian-l10n-danish@lists.debian.org> \n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Choices
+#: ../phpgacl.templates:1001
+msgid "All"
+msgstr "Alle"
+
+#. Type: select
+#. Choices
+#: ../phpgacl.templates:1001
+msgid "None"
+msgstr "Ingen"
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid "Version(s) of Apache to configure automatically:"
+msgstr "Versioner af Apache der automatisk skal konfigureres:"
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid ""
+"phpGACL requires a few things to be set up in your web server configuration "
+"in order for the front end to function properly."
+msgstr ""
+"phpGACL kr??ver ops??tning af nogle f?? ting i din internetserveres "
+"konfiguration for at gr??nsefladen fungerer korrekt."
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid ""
+"The Debian packaged version can usually automatically configure apache by "
+"dropping a symlink into the /etc/APACHE-SERVER/conf.d directory. Select "
+"\"None\" if you aren't running apache or you would prefer to set up the web "
+"server yourself. If you select a version to configure, all configuration "
+"changes will also be removed when the package is purged."
+msgstr ""
+"Den Debianpakkede version kan normalt automatisk konfigurere apache ved at "
+"smide en symbolsk henvisning i /etc/APACHE-SERVER/conf.d-mappen. V??lg ??"
+"Ingen?? hvis du ikke k??rer apache eller selv ??nsker at ops??tte "
+"internetserveren.Hvis du v??lger at konfigurere en version, vil alle "
+"konfigurations??ndringer ogs?? blive fjernet n??r pakken fjernes."
+
+#. Type: note
+#. Description
+#: ../phpgacl.templates:2001
+msgid "Obsolete configuration file"
+msgstr "For??ldet konfigurationsfil"
+
+#. Type: note
+#. Description
+#: ../phpgacl.templates:2001
+msgid ""
+"Your system has an obsolete configuration file (/etc/phpgacl/phpgacl.conf."
+"php). Please, review the new configuration file (/etc/phpgacl/gacl.ini.php) "
+"and remove the obsolete one."
+msgstr ""
+"Dit system har en for??ldet konfigurationsfil (/etc/phpgacl/phpgacl.conf."
+"php). Gennemse venligst den nye konfigurationsfil (/etc/phpgacl/gacl.ini."
+"php) og fjern den for??ldede."
--- phpgacl-3.3.7.orig/debian/po/nl.po
+++ phpgacl-3.3.7/debian/po/nl.po
@@ -0,0 +1,81 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE 'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: phpgacl\n"
+"Report-Msgid-Bugs-To: dgil@telefonica.net\n"
+"POT-Creation-Date: 2006-09-27 12:57+0200\n"
+"PO-Revision-Date: 2007-10-26 18:43+0100\n"
+"Last-Translator: Bart Cornelis <cobaco@skolelinux.no>\n"
+"Language-Team: debian-l10n-dutch <debian-l10n-dutch@lists.debian.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Dutch\n"
+
+#. Type: select
+#. Choices
+#: ../phpgacl.templates:1001
+msgid "All"
+msgstr "Alle"
+
+#. Type: select
+#. Choices
+#: ../phpgacl.templates:1001
+msgid "None"
+msgstr "Geen"
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid "Version(s) of Apache to configure automatically:"
+msgstr "Automatisch te herconfigureren Apache versie(s):"
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid ""
+"phpGACL requires a few things to be set up in your web server configuration "
+"in order for the front end to function properly."
+msgstr ""
+"Opdat het phpGACL-frontend juist zou functioneren dienen er enkele dingen "
+"ingesteld te worden in de configuratie van uw webserver."
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid ""
+"The Debian packaged version can usually automatically configure apache by "
+"dropping a symlink into the /etc/APACHE-SERVER/conf.d directory. Select "
+"\"None\" if you aren't running apache or you would prefer to set up the web "
+"server yourself. If you select a version to configure, all configuration "
+"changes will also be removed when the package is purged."
+msgstr ""
+"De door Debian verpakte versie kan apache gewoonlijk automatisch "
+"herconfigureren door een symbolische link aan te maken in de map /etc/APACHE-"
+"SERVER/conf.d . Selecteer 'Geen' als u verkiest om de webserver zelf in te "
+"stellen, of als u geen apache gebruikt. Als u een apache-versie kiest om in "
+"te stellen worden alle configuratie-aanpassingen verwijderd bij het wissen "
+"van dit pakket."
+
+#. Type: note
+#. Description
+#: ../phpgacl.templates:2001
+msgid "Obsolete configuration file"
+msgstr "Verouderd configuratiebestand"
+
+#. Type: note
+#. Description
+#: ../phpgacl.templates:2001
+msgid ""
+"Your system has an obsolete configuration file (/etc/phpgacl/phpgacl.conf."
+"php). Please, review the new configuration file (/etc/phpgacl/gacl.ini.php) "
+"and remove the obsolete one."
+msgstr ""
+"Uw systeem heeft een verouderd configuratiebestand (/etc/phpgacl/phpgacl."
+"conf.php). Gelieve het nieuwe configuratiebestand (/etc/phpgacl.ini.php) na "
+"te kijken en het verouderde bestand te verwijderen."
--- phpgacl-3.3.7.orig/debian/po/cs.po
+++ phpgacl-3.3.7/debian/po/cs.po
@@ -0,0 +1,86 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: phpgacl\n"
+"Report-Msgid-Bugs-To: dgil@telefonica.net\n"
+"POT-Creation-Date: 2006-09-27 12:57+0200\n"
+"PO-Revision-Date: 2006-09-24 14:42+0200\n"
+"Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
+"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Choices
+#: ../phpgacl.templates:1001
+msgid "All"
+msgstr "Všechny"
+
+#. Type: select
+#. Choices
+#: ../phpgacl.templates:1001
+msgid "None"
+msgstr "Žádná"
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid "Version(s) of Apache to configure automatically:"
+msgstr "Verze Apache, kterou chcete nakonfigurovat automaticky:"
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid ""
+"phpGACL requires a few things to be set up in your web server configuration "
+"in order for the front end to function properly."
+msgstr ""
+"phpGACL vyžaduje nastavenà nÄkolika parametrů v konfiguraci vaÅ¡eho webového "
+"serveru."
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid ""
+"The Debian packaged version can usually automatically configure apache by "
+"dropping a symlink into the /etc/APACHE-SERVER/conf.d directory. Select "
+"\"None\" if you aren't running apache or you would prefer to set up the web "
+"server yourself. If you select a version to configure, all configuration "
+"changes will also be removed when the package is purged."
+msgstr ""
+"Verze zabalená v Debianu umà automaticky nastavit varianty Apache tak, že do "
+"adresáÅe /etc/KONKRETNI-APACHE-SERVER/conf.d pÅidá symbolický odkaz. Pokud "
+"nepoužÃváte Apache, nebo pokud si chcete webový server nastavit ruÄnÄ, "
+"zamÃtnÄte. OdpovÃte-li kladnÄ, veÅ¡keré zmÄny, které se nynà provedou, budou "
+"zase pÅi vyÄiÅ¡tÄnà balÃku vráceny zpÄt."
+
+#. Type: note
+#. Description
+#: ../phpgacl.templates:2001
+msgid "Obsolete configuration file"
+msgstr "Zastaralý konfiguraÄnà soubor"
+
+#. Type: note
+#. Description
+#: ../phpgacl.templates:2001
+msgid ""
+"Your system has an obsolete configuration file (/etc/phpgacl/phpgacl.conf."
+"php). Please, review the new configuration file (/etc/phpgacl/gacl.ini.php) "
+"and remove the obsolete one."
+msgstr ""
+"Váš systém obsahuje zastaralý konfiguraÄnà soubor /etc/phpgacl/phpgacl.conf."
+"php). Zkontrolujte prosÃm nastavenà v novém konfiguraÄnÃm souboru /etc/"
+"phpgacl/gacl.ini.php a poté starý soubor smažte."
+
+#~ msgid ""
+#~ "Notice that before running phpGACL for the first time, you need to enter "
+#~ "http://localhost/phpgacl/setup.php in order to configure default ACLs."
+#~ msgstr ""
+#~ "PÅed prvnÃm spuÅ¡tÄnÃm phpGACL musÃte navÅ¡tÃvit http://localhost/phpgacl/"
+#~ "setup.php a nastavit výchozà oprávnÄnà (ACL)."
--- phpgacl-3.3.7.orig/debian/po/es.po
+++ phpgacl-3.3.7/debian/po/es.po
@@ -0,0 +1,115 @@
+# phgacl debconf translation to Spanish
+# Copyright (C) 2005 Software in the Public Interest
+# This file is distributed under the same license as the acidbase package.
+#
+# Changes:
+# - Initial translation
+# David Gil <dgil@telefonica.net>, 2005
+# - Revisión
+# Javier Fernandez-Sanguino <jfs@debian.org>, 2005-2006
+# Steve Lord Flaubert <stonescenter@gmail.com>, 2006
+#
+#
+# Traductores, si no conoce el formato PO, merece la pena leer la
+# documentación de gettext, especialmente las secciones dedicadas a este
+# formato, por ejemplo ejecutando:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+#
+# Equipo de traducción al español, por favor, lean antes de traducir
+# los siguientes documentos:
+#
+# - El proyecto de traducción de Debian al español
+# http://www.debian.org/intl/spanish/coordinacion
+# especialmente las notas de traducción en
+# http://www.debian.org/intl/spanish/notas
+#
+# - La guía de traducción de po's de debconf:
+# /usr/share/doc/po-debconf/README-trans
+# o http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: phpgacl debconf 3.3.7-2\n"
+"Report-Msgid-Bugs-To: dgil@telefonica.net\n"
+"POT-Creation-Date: 2006-09-27 12:57+0200\n"
+"PO-Revision-Date: 2006-11-11 00:39+0100\n"
+"Last-Translator: David Gil <dgil@telefonica.net>\n"
+"Language-Team: Debian Spanish <debian-l10n-spanish@lists.debian.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Choices
+#: ../phpgacl.templates:1001
+msgid "All"
+msgstr "Todos"
+
+#. Type: select
+#. Choices
+#: ../phpgacl.templates:1001
+msgid "None"
+msgstr "Ninguno"
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid "Version(s) of Apache to configure automatically:"
+msgstr "Versión/es de Apache a configurar automáticamente:"
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid ""
+"phpGACL requires a few things to be set up in your web server configuration "
+"in order for the front end to function properly."
+msgstr ""
+"phpGACL necesita modificar algunas cosas de la configuración de su servidor "
+"web para poder funcionar correctamente."
+
+#. Type: select
+#. Description
+#: ../phpgacl.templates:1002
+msgid ""
+"The Debian packaged version can usually automatically configure apache by "
+"dropping a symlink into the /etc/APACHE-SERVER/conf.d directory. Select "
+"\"None\" if you aren't running apache or you would prefer to set up the web "
+"server yourself. If you select a version to configure, all configuration "
+"changes will also be removed when the package is purged."
+msgstr ""
+"Normalmente, la versión del paquete Debian puede configurar automáticamente "
+"apache creando un enlace simbólico en el directorio «/etc/SERVIDOR-APACHE/"
+"conf.d». Responda «Ninguno» si usted no está usando apache o si prefiere "
+"configurar el servidor web por usted mismo. Si indica una versión a "
+"configurar en respuesta a esta pregunta, se eliminarán los cambios que se "
+"realicen cuando se purge el paquete."
+
+#. Type: note
+#. Description
+#: ../phpgacl.templates:2001
+msgid "Obsolete configuration file"
+msgstr "Fichero de configuración obsoleto"
+
+#. Type: note
+#. Description
+#: ../phpgacl.templates:2001
+msgid ""
+"Your system has an obsolete configuration file (/etc/phpgacl/phpgacl.conf."
+"php). Please, review the new configuration file (/etc/phpgacl/gacl.ini.php) "
+"and remove the obsolete one."
+msgstr ""
+"Su sistema tiene un fichero de configuración obsoleto («/etc/phpgacl/phpgacl."
+"conf.php»). Debe revisar el nuevo fichero de configuración («/etc/phpgacl/"
+"gacl.ini.php») y eliminar el obsoleto."
+
+#~ msgid ""
+#~ "Notice that before running phpGACL for the first time, you need to enter "
+#~ "http://localhost/phpgacl/setup.php in order to configure default ACLs."
+#~ msgstr ""
+#~ "Tenga en cuenta que antes de poder ejecutar phpGACL debe acceder a http://"
+#~ "localhost/phpgacl/setup.php y configurar las ACLs por omisión."
+
+#~ msgid "Apache, Apache2, Apache-SSL, All, None"
+#~ msgstr "Apache, Apache2, Apache-SSL, Todos, Ninguno"