From 24201f36263dbb8a5c39a308854d3245e6966b77 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 20 Jan 2006 15:33:13 +0000 Subject: [PATCH] Debian packaging files --- lam-packaging/debian/README.Debian | 20 ++ lam-packaging/debian/changelog | 215 ++++++++++++++++++ lam-packaging/debian/compat | 1 + lam-packaging/debian/config | 32 +++ lam-packaging/debian/control | 27 +++ lam-packaging/debian/copyright | 84 +++++++ lam-packaging/debian/lam.apache.conf | 44 ++++ .../debian/ldap-account-manager.dirs | 40 ++++ .../debian/ldap-account-manager.docs | 3 + lam-packaging/debian/po/POTFILES.in | 1 + lam-packaging/debian/po/cs.po | 103 +++++++++ lam-packaging/debian/po/de.po | 114 ++++++++++ lam-packaging/debian/po/fr.po | 112 +++++++++ lam-packaging/debian/po/hu.po | 122 ++++++++++ lam-packaging/debian/po/ja.po | 116 ++++++++++ lam-packaging/debian/po/pt.po | 104 +++++++++ lam-packaging/debian/po/templates.pot | 89 ++++++++ lam-packaging/debian/po/vi.po | 103 +++++++++ lam-packaging/debian/postinst | 113 +++++++++ lam-packaging/debian/postrm | 43 ++++ lam-packaging/debian/rules | 64 ++++++ lam-packaging/debian/templates | 46 ++++ lam-packaging/debian/watch | 5 + 23 files changed, 1601 insertions(+) create mode 100644 lam-packaging/debian/README.Debian create mode 100644 lam-packaging/debian/changelog create mode 100644 lam-packaging/debian/compat create mode 100755 lam-packaging/debian/config create mode 100644 lam-packaging/debian/control create mode 100644 lam-packaging/debian/copyright create mode 100644 lam-packaging/debian/lam.apache.conf create mode 100644 lam-packaging/debian/ldap-account-manager.dirs create mode 100644 lam-packaging/debian/ldap-account-manager.docs create mode 100644 lam-packaging/debian/po/POTFILES.in create mode 100644 lam-packaging/debian/po/cs.po create mode 100644 lam-packaging/debian/po/de.po create mode 100644 lam-packaging/debian/po/fr.po create mode 100644 lam-packaging/debian/po/hu.po create mode 100644 lam-packaging/debian/po/ja.po create mode 100644 lam-packaging/debian/po/pt.po create mode 100644 lam-packaging/debian/po/templates.pot create mode 100644 lam-packaging/debian/po/vi.po create mode 100755 lam-packaging/debian/postinst create mode 100755 lam-packaging/debian/postrm create mode 100755 lam-packaging/debian/rules create mode 100644 lam-packaging/debian/templates create mode 100644 lam-packaging/debian/watch diff --git a/lam-packaging/debian/README.Debian b/lam-packaging/debian/README.Debian new file mode 100644 index 00000000..7a526b31 --- /dev/null +++ b/lam-packaging/debian/README.Debian @@ -0,0 +1,20 @@ +Access to the webfrontend: + + - If you configured Apache(-SSL) at installation + you can access LDAP Account Manager via + http://localhost/lam or https://host.domain/lam. + + - Otherwise you will have to setup your webserver + to load /usr/share/ldap-account-manager/index.html + which is the start file. + + +Configuration: + + All settings can be edited via the webfrontend. The default + password for the configuration is "lam". However you can + also edit the configuration files directly. + The configuration files are /etc/ldap-account-manager/config.cfg + and /var/lib/ldap-account-manager/config/lam.conf. + + diff --git a/lam-packaging/debian/changelog b/lam-packaging/debian/changelog new file mode 100644 index 00000000..5977c2b1 --- /dev/null +++ b/lam-packaging/debian/changelog @@ -0,0 +1,215 @@ +ldap-account-manager (1.0.rc1-1) unstable; urgency=low + + * Updated to new upstream release. + + -- Roland Gruber Mon, 9 Jan 2006 15:42:17 +0100 + +ldap-account-manager (0.5.3-1) unstable; urgency=low + + * Updated to new upstream release 0.5.3. + + -- Roland Gruber Mon, 5 Dec 2005 20:09:40 +0100 + +ldap-account-manager (0.5.2-1) unstable; urgency=low + + * Updated to new upstream release 0.5.2. + * [intl:fr] ldap-account-manager debconf templates translation + (Closes: #338372) + * Debconf templates do not follow Developer's Reference + recommendations (Closes: #335646) + * [l10n] Initial Czech translation of ldap-account-manager debconf + messages (Closes: #338840) + + -- Roland Gruber Sun, 13 Nov 2005 15:08:20 +0100 + +ldap-account-manager (0.5.1-1) unstable; urgency=low + + * Updated to new upstream release 0.5.1. + * Experiencing long delays on session_start (Closes: #332908) + * ldap-account-manager depends on debconf without | debconf-2.0 + alternate; blocks cdebconf transition (Closes: #331886) + * Configuration wizard fails silently when samba.schema is not present + (Closes: #332868) + + -- Roland Gruber Sun, 16 Oct 2005 13:27:55 +0200 + +ldap-account-manager (0.5.0-1) unstable; urgency=low + + * Updated to new upstream release 0.5.0. + + -- Roland Gruber Mon, 26 Sep 2005 13:58:33 +0200 + +ldap-account-manager (0.4.10+0.5.rc3-1) experimental; urgency=low + + * Updated to new upstream release 0.5.rc3. + + -- Roland Gruber Thu, 8 Sep 2005 14:14:40 +0200 + +ldap-account-manager (0.4.10+0.5.rc2-1) experimental; urgency=low + + * Updated to new upstream release 0.5.rc2. + + -- Roland Gruber Tue, 16 Aug 2005 14:10:37 +0200 + +ldap-account-manager (0.4.10+0.5.rc1-1) experimental; urgency=low + + * Updated to new upstream release 0.5.rc1 + * Closes: #273403: Includes a copy of fpdf which is part of php-fpdf + package + * Closes: #308829: Configure for apache2 + + -- Roland Gruber Mon, 8 Aug 2005 16:39:22 +0200 + +ldap-account-manager (0.4.10-2) unstable; urgency=low + + * fixed debconf dependency + + -- Roland Gruber Wed, 3 Aug 2005 15:25:29 +0200 + +ldap-account-manager (0.4.10-1) unstable; urgency=low + + * Updated to new upstream release 0.4.10. + + -- Roland Gruber Wed, 27 Jul 2005 11:39:53 +0200 + +ldap-account-manager (0.4.9+0.5.alpha2-1) experimental; urgency=low + + * Updated to new upstream release 0.5.alpha2 + + -- Roland Gruber Wed, 29 Jun 2005 20:04:11 +0200 + +ldap-account-manager (0.4.9+0.5.alpha1-1) experimental; urgency=low + + * Updated to new upstream release 0.5.alpha1 + * Added configuration options for Apache2 + * Added template for webserver restart + * Translatable templates + + -- Roland Gruber Tue, 10 May 2005 11:38:00 +0200 + +ldap-account-manager (0.4.9-2) unstable; urgency=low + + * Closes: #300007: fixed typo + + -- Roland Gruber Thu, 17 Mar 2005 19:20:29 +0100 + +ldap-account-manager (0.4.9-1) unstable; urgency=low + + * Updated to new upstream release + * Closes: #296498: added documentation for samba.schema + + -- Roland Gruber Wed, 2 Mar 2005 19:52:29 +0100 + +ldap-account-manager (0.4.8-1) unstable; urgency=low + + * Updated to new upstream version 0.4.8. + + -- Roland Gruber Sun, 23 Jan 2005 20:03:36 +0100 + +ldap-account-manager (0.4.7-1) unstable; urgency=low + + * Updated to new upstream version 0.4.7. + + -- Roland Gruber Thu, 16 Dec 2004 21:06:58 +0100 + +ldap-account-manager (0.4.6-3) unstable; urgency=low + + * Closes: #281781: syntax error in apache.conf fixed + * added watch file + + -- Roland Gruber Sun, 21 Nov 2004 13:18:43 +0100 + +ldap-account-manager (0.4.6-2) unstable; urgency=low + + * Added template to change master configuration password. + * Closes: #257137: Interface configuration has a default password + * Closes: #260733: expanded PHP dependency with libapache2-mod-php4 + + -- Roland Gruber Fri, 23 Jul 2004 14:50:56 +0200 + +ldap-account-manager (0.4.6-1) unstable; urgency=low + + * Updated to new upstream version 0.4.6. + + -- Roland Gruber Thu, 20 May 2004 19:37:53 +0200 + +ldap-account-manager (0.4.5-1) unstable; urgency=low + + * Updated to new upstream version 0.4.5. + + -- Roland Gruber Sat, 20 Mar 2004 16:52:00 +0100 + +ldap-account-manager (0.4.4-1) unstable; urgency=low + + * Updated to new upstream version (0.4.4) + * Closes: #232820: config/shells is no longer a symbolic link + + -- Roland Gruber Wed, 25 Feb 2004 21:07:36 +0100 + +ldap-account-manager (0.4.3-1) unstable; urgency=low + + * Updated to new upstream version (0.4.3) + + -- Roland Gruber Sun, 8 Feb 2004 17:15:47 +0100 + +ldap-account-manager (0.4.2-1) unstable; urgency=low + + * Updated to new upstream version (0.4.2) + + -- Roland Gruber Thu, 15 Jan 2004 16:22:15 +0100 + +ldap-account-manager (0.4.1-1) unstable; urgency=low + + * Updated to new upstream version (0.4.1) + + -- Roland Gruber Fri, 29 Dec 2003 21:19:27 +0100 + +ldap-account-manager (0.4-4) unstable; urgency=low + + * added debconf template for alias name + + -- Roland Gruber Sun, 16 Nov 2003 16:03:55 +0100 + +ldap-account-manager (0.4-3) unstable; urgency=low + + * copied access control from .htaccess files to apache.conf + + -- Roland Gruber Sat, 1 Nov 2003 13:22:56 +0100 + +ldap-account-manager (0.4-2) unstable; urgency=low + + * fixed error in postinst script + * added dependency php4-mhash + + -- Roland Gruber Thu, 30 Oct 2003 16:19:45 +0100 + +ldap-account-manager (0.4-1) unstable; urgency=low + + * Updated to Beta 1 release (0.4) + + -- Roland Gruber Mon, 13 Oct 2003 20:23:29 +0200 + +ldap-account-manager (0.3-1) unstable; urgency=low + + * Updated to Alpha 3 Release. + + -- Roland Gruber Fri, 29 August 2003 17:04:00 +0200 + +ldap-account-manager (0.2-1) unstable; urgency=low + + * Updated to Alpha 2 Release. + + -- Roland Gruber Sat, 2 July 2003 18:42:00 +0200 + +ldap-account-manager (0.1-2) unstable; urgency=low + + * Fixed missing directory config/profiles/groups. + + -- Roland Gruber Sat, 4 June 2003 18:19:00 +0200 + +ldap-account-manager (0.1-1) unstable; urgency=low + + * Initial Release. + + -- Roland Gruber Sat, 3 May 2003 21:14:23 +0200 + diff --git a/lam-packaging/debian/compat b/lam-packaging/debian/compat new file mode 100644 index 00000000..b8626c4c --- /dev/null +++ b/lam-packaging/debian/compat @@ -0,0 +1 @@ +4 diff --git a/lam-packaging/debian/config b/lam-packaging/debian/config new file mode 100755 index 00000000..1d37d723 --- /dev/null +++ b/lam-packaging/debian/config @@ -0,0 +1,32 @@ +#!/bin/bash + +. /usr/share/debconf/confmodule +db_version 2.0 || [ 0 -lt 30 ] + +db_input medium "ldap-account-manager/config-webserver" || true +db_go +db_input low "ldap-account-manager/alias" || true +db_go +db_input low "ldap-account-manager/passwd" || true +db_go +db_input medium "ldap-account-manager/restart-webserver" || true +db_go +if dpkg --compare-versions "$2" le 0.5.0; \ + then + if dpkg --compare-versions "$2" ge 0.1.0; \ + then + db_input high "ldap-account-manager/note-0_4_9-upgrade" || true + db_go + fi +elif dpkg --compare-versions "$2" le 1.0.0; \ + then + if dpkg --compare-versions "$2" ge 0.5.0; \ + then + db_input high "ldap-account-manager/note-1_0_0-upgrade" || true + db_go + fi +fi + +#DEBHELPER# + +exit 0 diff --git a/lam-packaging/debian/control b/lam-packaging/debian/control new file mode 100644 index 00000000..f91d45d8 --- /dev/null +++ b/lam-packaging/debian/control @@ -0,0 +1,27 @@ +Source: ldap-account-manager +Maintainer: Roland Gruber +Section: web +Priority: extra +Standards-Version: 3.6.2 +Build-Depends-Indep: po-debconf, debhelper (>= 4.1.16) + +Package: ldap-account-manager +Architecture: all +Depends: php4 | php4-cgi | libapache2-mod-php4 | php5 | php5-cgi | libapache2-mod-php5, php4-ldap | php5-ldap, apache | apache-ssl | apache-perl | apache2 | httpd, php-fpdf, debconf (>= 0.2.26) | debconf-2.0 +Recommends: php4-mhash | php5-mhash +Suggests: ldap-server, sudo, perl, php4-mcrypt | php5-mcrypt +Description: webfrontend for managing accounts in an LDAP directory + LDAP Account Manager (LAM) runs on an existing webserver. LAM + supports LDAP connections via SSL and TLS. It manages user, group + and host accounts. Currently LAM supports these account types: + Samba 2 and 3, Unix, Kolab 2, address book entries, NIS mail + aliases and MAC addresses. There is a tree viewer included to + allow access to the raw LDAP attributes. You can use templates + for account creation and use multiple configuration profiles. + Account information can be exported as PDF file. There is also + a script included which manages quota and homedirectories, you + have to setup sudo if you want to use it. LAM is translated to + Catalan, English, French, German, Hungarian, Italian, Spanish + and Japanese. + . + Homepage: http://lam.sourceforge.net/ diff --git a/lam-packaging/debian/copyright b/lam-packaging/debian/copyright new file mode 100644 index 00000000..fe4190cb --- /dev/null +++ b/lam-packaging/debian/copyright @@ -0,0 +1,84 @@ +This software is copyright (c) 2003 - 2005 by Tilo Lutz, Roland Gruber +and Michael Duergner. + + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + +The complete license can be found in the file /usr/share/common-licenses/GPL. + + +Some parts of this package have other, compatible licences. These are: + +A: Freeware + + You may use, modify and redistribute this software as you wish. + + +B: + + Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream + Vera is a trademark of Bitstream, Inc. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of the fonts accompanying this license ("Fonts") and associated + documentation files (the "Font Software"), to reproduce and distribute + the Font Software, including without limitation the rights to use, + copy, merge, publish, distribute, and/or sell copies of the Font + Software, and to permit persons to whom the Font Software is furnished + to do so, subject to the following conditions: + + The above copyright and trademark notices and this permission notice + shall be included in all copies of one or more of the Font Software + typefaces. + + The Font Software may be modified, altered, or added to, and in + particular the designs of glyphs or characters in the Fonts may be + modified and additional glyphs or characters may be added to the + Fonts, only if the fonts are renamed to names not containing either + the words "Bitstream" or the word "Vera". + + This License becomes null and void to the extent applicable to Fonts + or Font Software that has been modified and is distributed under the + "Bitstream Vera" names. + + The Font Software may be sold as part of a larger software package but + no copy of one or more of the Font Software typefaces may be sold by + itself. + + THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT + OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL + BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR + OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, + OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT + SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. + + Except as contained in this notice, the names of Gnome, the Gnome + Foundation, and Bitstream Inc., shall not be used in advertising or + otherwise to promote the sale, use or other dealings in this Font + Software without prior written authorization from the Gnome Foundation + or Bitstream Inc., respectively. For further information, contact: + fonts at gnome dot org. + + + + +Programs and licenses with other licenses and/or authors than the +main license and authors: + +lib/fpdf.php A 2003 Olivier Plathey +lib/font/Vera* B 2003 Bitstream, Inc. diff --git a/lam-packaging/debian/lam.apache.conf b/lam-packaging/debian/lam.apache.conf new file mode 100644 index 00000000..edc1b90a --- /dev/null +++ b/lam-packaging/debian/lam.apache.conf @@ -0,0 +1,44 @@ + +Alias /lam /usr/share/ldap-account-manager + + + Options +FollowSymLinks + AllowOverride All + Order allow,deny + Allow from all + DirectoryIndex index.html + + + + Options -Indexes + + + + Options -Indexes + Order allow,deny + Deny from all + + + + Options -Indexes + Order allow,deny + Deny from all + + + + Options -Indexes + + Order allow,deny + Deny from all + + + Order allow,deny + Allow from all + + + + + Options -Indexes + Order allow,deny + Deny from all + diff --git a/lam-packaging/debian/ldap-account-manager.dirs b/lam-packaging/debian/ldap-account-manager.dirs new file mode 100644 index 00000000..07c8ff97 --- /dev/null +++ b/lam-packaging/debian/ldap-account-manager.dirs @@ -0,0 +1,40 @@ +usr/share/ldap-account-manager +usr/share/ldap-account-manager/graphics +usr/share/ldap-account-manager/help +usr/share/ldap-account-manager/lib +usr/share/ldap-account-manager/lib/font +usr/share/ldap-account-manager/lib/modules +usr/share/ldap-account-manager/locale +usr/share/ldap-account-manager/locale/ca_ES +usr/share/ldap-account-manager/locale/ca_ES/LC_MESSAGES +usr/share/ldap-account-manager/locale/de_DE +usr/share/ldap-account-manager/locale/de_DE/LC_MESSAGES +usr/share/ldap-account-manager/locale/es_ES +usr/share/ldap-account-manager/locale/es_ES/LC_MESSAGES +usr/share/ldap-account-manager/locale/fr_FR +usr/share/ldap-account-manager/locale/fr_FR/LC_MESSAGES +usr/share/ldap-account-manager/locale/hu_HU +usr/share/ldap-account-manager/locale/hu_HU/LC_MESSAGES +usr/share/ldap-account-manager/locale/it_IT +usr/share/ldap-account-manager/locale/it_IT/LC_MESSAGES +usr/share/ldap-account-manager/locale/ja_JP +usr/share/ldap-account-manager/locale/ja_JP/LC_MESSAGES +usr/share/ldap-account-manager/style +usr/share/ldap-account-manager/templates +usr/share/ldap-account-manager/templates/account +usr/share/ldap-account-manager/templates/config +usr/share/ldap-account-manager/templates/lists +usr/share/ldap-account-manager/templates/pdfedit +usr/share/ldap-account-manager/templates/profedit +usr/share/ldap-account-manager/templates/schema +usr/share/ldap-account-manager/templates/tree +usr/share/ldap-account-manager/templates/tree/templates +usr/share/ldap-account-manager/templates/tree/templates/creation +etc/ldap-account-manager +var/lib/ldap-account-manager +var/lib/ldap-account-manager/config +var/lib/ldap-account-manager/config/pdf +var/lib/ldap-account-manager/config/pdf/logos +var/lib/ldap-account-manager/config/profiles +var/lib/ldap-account-manager/sess +var/lib/ldap-account-manager/tmp diff --git a/lam-packaging/debian/ldap-account-manager.docs b/lam-packaging/debian/ldap-account-manager.docs new file mode 100644 index 00000000..4d1b1b9b --- /dev/null +++ b/lam-packaging/debian/ldap-account-manager.docs @@ -0,0 +1,3 @@ +TODO +README +docs/ diff --git a/lam-packaging/debian/po/POTFILES.in b/lam-packaging/debian/po/POTFILES.in new file mode 100644 index 00000000..cef83a34 --- /dev/null +++ b/lam-packaging/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates diff --git a/lam-packaging/debian/po/cs.po b/lam-packaging/debian/po/cs.po new file mode 100644 index 00000000..42948773 --- /dev/null +++ b/lam-packaging/debian/po/cs.po @@ -0,0 +1,103 @@ +# 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 , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: ldap-account-manager\n" +"Report-Msgid-Bugs-To: post@rolandgruber.de\n" +"POT-Creation-Date: 2005-11-08 20:24+0100\n" +"PO-Revision-Date: 2005-11-13 11:04+0100\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Description +#: ../templates:5 +msgid "Which webserver would you like to configure automatically?" +msgstr "Který webový server chcete nastavit automaticky?" + +#. Type: multiselect +#. Description +#: ../templates:5 +msgid "" +"LDAP Account Manager supports any webserver that supports PHP4, but this " +"automatic configuration process only supports Apache and Apache2. If you " +"choose to configure Apache(2) LAM can be accessed at http(s)://localhost/lam" +msgstr "" +"LDAP Account Manager podporuje libovolný webový server, pod kterým běží " +"PHP4, avšak automatické nastavení umí pouze ve spojení se servery Apache " +"a Apache2. Zvolíte-li nastavení Apache(2), LAM bude přístupný na adrese " +"http(s)://localhost/lam." + +#. Type: string +#. Description +#: ../templates:13 +msgid "Enter alias:" +msgstr "Zadejte alias:" + +#. Type: string +#. Description +#: ../templates:13 +msgid "" +"LAM will add an alias to your httpd.conf which allows you to access LAM at " +"http(s)://localhost/lam. If you want an alias other than \"lam\" please " +"specify it here." +msgstr "" +"LAM do vašeho httpd.conf přidá alias, díky kterému můžete k LAM přistupovat " +"přes url http(s)://localhost/lam. Chcete-li použít jiný alias než \"lam\", " +"můžete jej zadat právě teď." + +#. Type: string +#. Description +#: ../templates:21 +msgid "Enter master configuration password (clear text):" +msgstr "Zadejte hlavní konfigurační heslo (nešifrovaný text):" + +#. Type: string +#. Description +#: ../templates:21 +msgid "" +"The configuration profiles are secured by a master password. You will need " +"it to create and delete profiles. As default it is set to \"lam\" and can be " +"changed directly in LAM. But you can also change it now." +msgstr "" +"Konfigurační profily jsou chráněny hlavním heslem. Toto heslo budete " +"potřebovat při vytváření a mazání profilů. Výchozí hodnota je \"lam\" a " +"můžete ji změnit kdykoliv později přímo v LAM. Pokud si budete přát, " +"můžete tuto hodnotu změnit právě teď." + +#. Type: boolean +#. Description +#: ../templates:30 +msgid "Would you like to restart your webserver(s) now?" +msgstr "Chcete nyní restartovat svůj webový server (servery)?" + +#. Type: boolean +#. Description +#: ../templates:30 +msgid "Your webserver(s) need to be restarted in order to apply the changes." +msgstr "" +"Aby se vaše nové nastavení aktivovalo, musí se webové servery restartovat." + +#. Type: note +#. Description +#: ../templates:35 +msgid "Upgrade from pre-0.5.0 versions" +msgstr "Přechod z verzí před 0.5.0" + +#. Type: note +#. Description +#: ../templates:35 +msgid "" +"Please note that this version uses new file formats for configuration and " +"account profiles. You will have to update your configuration and create new " +"account profiles." +msgstr "" +"Poznamenejme, že tato verze používá nový formát konfiguračních souborů a " +"souborů s profily. To znamená, že budete muset vytvořit nové profily účtů " +"a aktualizovat své konfigurační soubory." diff --git a/lam-packaging/debian/po/de.po b/lam-packaging/debian/po/de.po new file mode 100644 index 00000000..51bfe806 --- /dev/null +++ b/lam-packaging/debian/po/de.po @@ -0,0 +1,114 @@ +# translation of de.po to Deutsch +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# Roland Gruber , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: de\n" +"Report-Msgid-Bugs-To: post@rolandgruber.de\n" +"POT-Creation-Date: 2005-11-08 20:24+0100\n" +"PO-Revision-Date: 2005-11-10 17:12+0100\n" +"Last-Translator: Roland Gruber \n" +"Language-Team: Deutsch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.9.1\n" + +#. Type: multiselect +#. Description +#: ../templates:5 +msgid "Which webserver would you like to configure automatically?" +msgstr "Welchen Webserver wollen Sie automatisch konfigurieren?" + +#. Type: multiselect +#. Description +#: ../templates:5 +msgid "" +"LDAP Account Manager supports any webserver that supports PHP4, but this " +"automatic configuration process only supports Apache and Apache2. If you " +"choose to configure Apache(2) LAM can be accessed at http(s)://localhost/lam" +msgstr "" +"LDAP Account Manager unterstützt alle Webserver mit PHP4-Unterstützung, aber " +"diese automatische Konfiguration funktioniert nur mit Apache und Apache2. " +"Nach der Auswahl von Apache(2) kann LAM unter http(s)://localhost/lam " +"erreicht werden." + +#. Type: string +#. Description +#: ../templates:13 +msgid "Enter alias:" +msgstr "Alias eingeben:" + +#. Type: string +#. Description +#: ../templates:13 +msgid "" +"LAM will add an alias to your httpd.conf which allows you to access LAM at " +"http(s)://localhost/lam. If you want an alias other than \"lam\" please " +"specify it here." +msgstr "" +"LAM wird der httpd.conf einen Alias hinzufügen, der es erlaubt LAM über http" +"(s)://localhost/lam zu erreichen. Wenn Sie einen anderen Alias als \"lam\" " +"wünschen, können Sie ihn hier angeben." + +#. Type: string +#. Description +#: ../templates:21 +msgid "Enter master configuration password (clear text):" +msgstr "Geben Sie das Hauptpasswort für die Konfiguration an (im Klartext):" + +#. Type: string +#. Description +#: ../templates:21 +msgid "" +"The configuration profiles are secured by a master password. You will need " +"it to create and delete profiles. As default it is set to \"lam\" and can be " +"changed directly in LAM. But you can also change it now." +msgstr "" +"Die Konfigurationsprofile werden über ein Hauptpasswort gesichert. Es wird " +"benötigt um Profile anzulegen und zu löschen. Der Standardwert dafür ist " +"\"lam\" und kann innerhalb von LAM geändert werden. Sie können es aber auch " +"jetzt ändern." + +#. Type: boolean +#. Description +#: ../templates:30 +msgid "Would you like to restart your webserver(s) now?" +msgstr "Soll(en) der/die Webserver jetzt neugestartet werden?" + +#. Type: boolean +#. Description +#: ../templates:30 +msgid "Your webserver(s) need to be restarted in order to apply the changes." +msgstr "Sie müssen ihre(n) Webserver neustarten um die Änderungen zu übernehmen." + +#. Type: note +#. Description +#: ../templates:35 +msgid "Upgrade from pre-0.5.0 versions" +msgstr "Aktualisierung von Versionen vor 0.5.0" + +#. Type: note +#. Description +#: ../templates:35 +msgid "" +"Please note that this version uses new file formats for configuration and " +"account profiles. You will have to update your configuration and create new " +"account profiles." +msgstr "" +"Bitte beachten Sie, dass diese Version neue Dateiformate für die " +"Konfiguration und Account-Profile verwendet. Sie müssen die Konfiguration " +"anpassen und neue Account-Profile erstellen." + diff --git a/lam-packaging/debian/po/fr.po b/lam-packaging/debian/po/fr.po new file mode 100644 index 00000000..6f40a096 --- /dev/null +++ b/lam-packaging/debian/po/fr.po @@ -0,0 +1,112 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: ldap-account-manager_0.5.1-1\n" +"Report-Msgid-Bugs-To: post@rolandgruber.de\n" +"POT-Creation-Date: 2005-11-08 20:24+0100\n" +"PO-Revision-Date: 2005-11-10 19:28+0100\n" +"Last-Translator: Steve Petruzzello \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Description +#: ../templates:5 +msgid "Which webserver would you like to configure automatically?" +msgstr "Serveur web configurer automatiquement:" + +#. Type: multiselect +#. Description +#: ../templates:5 +msgid "" +"LDAP Account Manager supports any webserver that supports PHP4, but this " +"automatic configuration process only supports Apache and Apache2. If you " +"choose to configure Apache(2) LAM can be accessed at http(s)://localhost/lam" +msgstr "" +"LDAP Account Manager gre tous les serveurs web qui grent PHP4, mais ce " +"processus de configuration automatique ne gre qu'Apache et Apache2. Si vous " +"choisissez de configurer Apache(2), vous pourrez accder LAM via l'adresse " +"http(s)://localhost/lam" + +#. Type: string +#. Description +#: ../templates:13 +msgid "Enter alias:" +msgstr "Alias:" + +#. Type: string +#. Description +#: ../templates:13 +msgid "" +"LAM will add an alias to your httpd.conf which allows you to access LAM at " +"http(s)://localhost/lam. If you want an alias other than \"lam\" please " +"specify it here." +msgstr "" +"LAM ajoute un alias au fichier httpd.conf, ce qui permet d'accder LAM " +"l'adresse http(s)://localhost/lam. Si vous dsirez un alias diffrent de " +"lam, veuillez l'indiquer ici." + +#. Type: string +#. Description +#: ../templates:21 +msgid "Enter master configuration password (clear text):" +msgstr "Mot de passe principal (en clair):" + +#. Type: string +#. Description +#: ../templates:21 +msgid "" +"The configuration profiles are secured by a master password. You will need " +"it to create and delete profiles. As default it is set to \"lam\" and can be " +"changed directly in LAM. But you can also change it now." +msgstr "" +"Les profils de configuration sont protgs par un mot de passe principal. " +"Vous en aurez besoin pour crer et effacer les profils. Sa valeur par dfaut " +"est lam et vous pourrez le modifier directement dans LAM ou le changer " +"maintenant." + +#. Type: boolean +#. Description +#: ../templates:30 +msgid "Would you like to restart your webserver(s) now?" +msgstr "Faut-il redmarrer le(s) serveur(s) web maintenant?" + +#. Type: boolean +#. Description +#: ../templates:30 +msgid "Your webserver(s) need to be restarted in order to apply the changes." +msgstr "" +"Le(s) serveur(s) web doivent tre redmarrs afin que les changements soient " +"appliqus." + +#. Type: note +#. Description +#: ../templates:35 +msgid "Upgrade from pre-0.5.0 versions" +msgstr "Mise jour des versions pre-0.5.0" + +#. Type: note +#. Description +#: ../templates:35 +msgid "" +"Please note that this version uses new file formats for configuration and " +"account profiles. You will have to update your configuration and create new " +"account profiles." +msgstr "" +"Veuillez noter que la nouvelle version utilise de nouveaux formats de " +"fichiers pour la configuration et les profils. Vous devez mettre jour " +"votre configuration et crer de nouveaux profils de compte." diff --git a/lam-packaging/debian/po/hu.po b/lam-packaging/debian/po/hu.po new file mode 100644 index 00000000..acee226a --- /dev/null +++ b/lam-packaging/debian/po/hu.po @@ -0,0 +1,122 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: LAM 0.4.2\n" +"Report-Msgid-Bugs-To: post@rolandgruber.de\n" +"POT-Creation-Date: 2005-11-08 20:24+0100\n" +"PO-Revision-Date: 2005-08-25 23:12+0100\n" +"Last-Translator: Kakasy Gergely \n" +"Language-Team: Hungarian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Hungarian\n" +"X-Poedit-Country: HUNGARY\n" +"X-Poedit-SourceCharset: utf-8\n" + +#. Type: multiselect +#. Description +#: ../templates:5 +msgid "Which webserver would you like to configure automatically?" +msgstr "Mely webszervert szeretné automatikusan beállítani?" + +#. Type: multiselect +#. Description +#: ../templates:5 +msgid "" +"LDAP Account Manager supports any webserver that supports PHP4, but this " +"automatic configuration process only supports Apache and Apache2. If you " +"choose to configure Apache(2) LAM can be accessed at http(s)://localhost/lam" +msgstr "" +"Az LDAP Account Manager bármely olyan webszervert támogat, ameiyik a PHP4-et " +"támogatja, de ez az automatikus beállítási művelet csak az Apache-ot és az " +"Apache2-t támogatja. Ha az Apache2 beállítását választja, akkor a LAM-ot a " +"http(s)://localhost/lam címen érheti el." + +#. Type: string +#. Description +#: ../templates:13 +msgid "Enter alias:" +msgstr "Adja meg az alias-t:" + +#. Type: string +#. Description +#: ../templates:13 +msgid "" +"LAM will add an alias to your httpd.conf which allows you to access LAM at " +"http(s)://localhost/lam. If you want an alias other than \"lam\" please " +"specify it here." +msgstr "" +"A LAM egy alias-t ad az Ön httpd.conf file-jához, ezzel lehetővé téve, hogy " +"elérhesse a LAM-ot a http(s)://localhost/lam címen. Ha a \"lam\"-on kívül " +"más alias-t is szeretne, kérem, itt adja meg." + +#. Type: string +#. Description +#: ../templates:21 +msgid "Enter master configuration password (clear text):" +msgstr "Adja meg a mester beállításokat védő jelszót (clear text):" + +#. Type: string +#. Description +#: ../templates:21 +msgid "" +"The configuration profiles are secured by a master password. You will need " +"it to create and delete profiles. As default it is set to \"lam\" and can be " +"changed directly in LAM. But you can also change it now." +msgstr "" +"A beállítási profilokat mesterjelszó védi. Ezt a profilok létrehozásához és " +"törléséhez létre kell hoznia. Alapértelmezés szerint a jelszó \"lam\", és a " +"LAM-on belül közvetlenül megváltoztatható. De itt is megváltoztathatja." + +#. Type: boolean +#. Description +#: ../templates:30 +msgid "Would you like to restart your webserver(s) now?" +msgstr "Szeretné a webszerver(eket) most újraindítani?" + +#. Type: boolean +#. Description +#: ../templates:30 +msgid "Your webserver(s) need to be restarted in order to apply the changes." +msgstr "" + +#. Type: note +#. Description +#: ../templates:35 +msgid "Upgrade from pre-0.5.0 versions" +msgstr "" + +#. Type: note +#. Description +#: ../templates:35 +msgid "" +"Please note that this version uses new file formats for configuration and " +"account profiles. You will have to update your configuration and create new " +"account profiles." +msgstr "" +"Kérem, jegyezze meg, hogy ez a verzió új file formátumokat használ a " +"beállításokhoz és a témaszám-profilokhoz. Frissítenie kell a beállításait és " +"új témaszámokat kell létrehoznia." + +#~ msgid "" +#~ "Remember that in order to apply the changes your webserver(s) need to be " +#~ "restarted." +#~ msgstr "" +#~ "Kérem, ne felejtse el, hogy a megváltoztatott beállítások érvénybe " +#~ "lépéséhez a webszerver(eket) újra kell indítania." + +#~ msgid "It seems that you are upgrading LAM from a version before 0.5.0." +#~ msgstr "Úgy látszik, hogy Ön egy 0.5.0 előtti verziószámú LAM-ról frissít." diff --git a/lam-packaging/debian/po/ja.po b/lam-packaging/debian/po/ja.po new file mode 100644 index 00000000..9191b0e9 --- /dev/null +++ b/lam-packaging/debian/po/ja.po @@ -0,0 +1,116 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: ja\n" +"Report-Msgid-Bugs-To: post@rolandgruber.de\n" +"POT-Creation-Date: 2005-11-08 20:24+0100\n" +"PO-Revision-Date: 2005-08-17 17:22+0900\n" +"Last-Translator: Yasuhiro Magara \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Description +#: ../templates:5 +msgid "Which webserver would you like to configure automatically?" +msgstr "どのwebサーバーを自動構成しますか?" + +#. Type: multiselect +#. Description +#: ../templates:5 +msgid "" +"LDAP Account Manager supports any webserver that supports PHP4, but this " +"automatic configuration process only supports Apache and Apache2. If you " +"choose to configure Apache(2) LAM can be accessed at http(s)://localhost/lam" +msgstr "" +"LDAP Account ManagerはPHP4をサポートする全てのwebサーバーに対応してますが、こ" +"の自動構成はApacheおよびApache2にのみ対応しています。もしもApache(2)の構成を" +"選択したならば、LAMは http(s)://localhost/lam でアクセスできます。" + +#. Type: string +#. Description +#: ../templates:13 +msgid "Enter alias:" +msgstr "別名の入力:" + +#. Type: string +#. Description +#: ../templates:13 +msgid "" +"LAM will add an alias to your httpd.conf which allows you to access LAM at " +"http(s)://localhost/lam. If you want an alias other than \"lam\" please " +"specify it here." +msgstr "" +"LAMは http(s)://localhost/lam としてLAMにアクセスできるように、httpd.confに別" +"名を追加します。もしも\"lam\"以外の別名にしたい場合は、ここに入力してくださ" +"い。" + +#. Type: string +#. Description +#: ../templates:21 +msgid "Enter master configuration password (clear text):" +msgstr "マスター構成パスワードを入力してください(クリアテキスト):" + +#. Type: string +#. Description +#: ../templates:21 +msgid "" +"The configuration profiles are secured by a master password. You will need " +"it to create and delete profiles. As default it is set to \"lam\" and can be " +"changed directly in LAM. But you can also change it now." +msgstr "" +"構成プロファイルはマスターパスワードで保護されます。マスターパスワードは、プ" +"ロファイルの新規作成および削除の際に必要となります。デフォルトでは\"lam\"が設" +"定されます。これはLAMの中で変更可能ですが、ここで変更することも可能です。" + +#. Type: boolean +#. Description +#: ../templates:30 +msgid "Would you like to restart your webserver(s) now?" +msgstr "今すぐwebサーバーを再起動しますか?" + +#. Type: boolean +#. Description +#: ../templates:30 +msgid "Your webserver(s) need to be restarted in order to apply the changes." +msgstr "" + +#. Type: note +#. Description +#: ../templates:35 +msgid "Upgrade from pre-0.5.0 versions" +msgstr "" + +#. Type: note +#. Description +#: ../templates:35 +msgid "" +"Please note that this version uses new file formats for configuration and " +"account profiles. You will have to update your configuration and create new " +"account profiles." +msgstr "" +"注意:このバージョンでは新しいファイルフォーマットの構成とアカウントプロファ" +"イルを使用します。構成のアップグレードとアカウントプロファイルの新規作成が必" +"要です。" + +#~ msgid "" +#~ "Remember that in order to apply the changes your webserver(s) need to be " +#~ "restarted." +#~ msgstr "変更を反映するためには、webサーバーを再起動する必要があります。" + +#~ msgid "It seems that you are upgrading LAM from a version before 0.5.0." +#~ msgstr "0.5.0以前のバージョンからLAMをアップグレードしようとしてます。" diff --git a/lam-packaging/debian/po/pt.po b/lam-packaging/debian/po/pt.po new file mode 100644 index 00000000..e23a7581 --- /dev/null +++ b/lam-packaging/debian/po/pt.po @@ -0,0 +1,104 @@ +# pt_BR translation for ldap-account-manager +# Copyright (C) 2006 THE ldap-account-manager'S COPYRIGHT HOLDER +# This file is distributed under the same license as the ldap-account-manager +# package. +# Felipe Augusto van de Wiel (faw) , 2006. +# +# +msgid "" +msgstr "pt_BR utf8\n" +"Project-Id-Version: ldap-account-manager\n" +"Report-Msgid-Bugs-To: post@rolandgruber.de\n" +"POT-Creation-Date: 2005-11-08 20:24+0100\n" +"PO-Revision-Date: 2006-01-15 02:08-0200\n" +"Last-Translator: Felipe Augusto van de Wiel (faw) \n" +"Language-Team: l10n-portuguese , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: post@rolandgruber.de\n" +"POT-Creation-Date: 2005-11-08 20:24+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Description +#: ../templates:5 +msgid "Which webserver would you like to configure automatically?" +msgstr "" + +#. Type: multiselect +#. Description +#: ../templates:5 +msgid "" +"LDAP Account Manager supports any webserver that supports PHP4, but this " +"automatic configuration process only supports Apache and Apache2. If you " +"choose to configure Apache(2) LAM can be accessed at http(s)://localhost/lam" +msgstr "" + +#. Type: string +#. Description +#: ../templates:13 +msgid "Enter alias:" +msgstr "" + +#. Type: string +#. Description +#: ../templates:13 +msgid "" +"LAM will add an alias to your httpd.conf which allows you to access LAM at " +"http(s)://localhost/lam. If you want an alias other than \"lam\" please " +"specify it here." +msgstr "" + +#. Type: string +#. Description +#: ../templates:21 +msgid "Enter master configuration password (clear text):" +msgstr "" + +#. Type: string +#. Description +#: ../templates:21 +msgid "" +"The configuration profiles are secured by a master password. You will need " +"it to create and delete profiles. As default it is set to \"lam\" and can be " +"changed directly in LAM. But you can also change it now." +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:30 +msgid "Would you like to restart your webserver(s) now?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:30 +msgid "Your webserver(s) need to be restarted in order to apply the changes." +msgstr "" + +#. Type: note +#. Description +#: ../templates:35 +msgid "Upgrade from pre-0.5.0 versions" +msgstr "" + +#. Type: note +#. Description +#: ../templates:35 +msgid "" +"Please note that this version uses new file formats for configuration and " +"account profiles. You will have to update your configuration and create new " +"account profiles." +msgstr "" diff --git a/lam-packaging/debian/po/vi.po b/lam-packaging/debian/po/vi.po new file mode 100644 index 00000000..ad706c97 --- /dev/null +++ b/lam-packaging/debian/po/vi.po @@ -0,0 +1,103 @@ +# Vietnamese translation for LDAP Account Manager. +# Copyright © 2005 Free Software Foundation, Inc. +# Clytie Siddall , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: ldap-account-manager\n" +"Report-Msgid-Bugs-To: post@rolandgruber.de\n" +"POT-Creation-Date: 2005-11-08 20:24+0100\n" +"PO-Revision-Date: 2005-12-21 16:30+1030\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0\n" +"X-Generator: LocFactoryEditor 1.5\n" + +#. Type: multiselect +#. Description +#: ../templates:5 +msgid "Which webserver would you like to configure automatically?" +msgstr "Bạn có muốn tự động cấu hình trình phục vụ Mạng nào?" + +#. Type: multiselect +#. Description +#: ../templates:5 +msgid "" +"LDAP Account Manager supports any webserver that supports PHP4, but this " +"automatic configuration process only supports Apache and Apache2. If you " +"choose to configure Apache(2) LAM can be accessed at http(s)://localhost/lam" +msgstr "" +"Bộ Quản lý Tài khoản LDAP hỗ trợ trình phục vụ nào cũng hỗ trợ PHP4, nhưng " +"mà tiến trình tự động cấu hình này chỉ hỗ trợ Apache và Apache2 thôi. Nếu " +"bạn chọn cấu hình Apache(2), BQT có thể được truy cập tại ." + +#. Type: string +#. Description +#: ../templates:13 +msgid "Enter alias:" +msgstr "Gõ bí danh:" + +#. Type: string +#. Description +#: ../templates:13 +msgid "" +"LAM will add an alias to your httpd.conf which allows you to access LAM at " +"http(s)://localhost/lam. If you want an alias other than \"lam\" please " +"specify it here." +msgstr "" +"BQT sẽ thêm một bí danh vào tập tin cấu hình của bạn, mà cho " +"phép bạn truy cập BQT tại . Nếu bạn muốn có bí danh " +"khác với « lam », hãy gõ nó vào đây." + +#. Type: string +#. Description +#: ../templates:21 +msgid "Enter master configuration password (clear text):" +msgstr "Gõ mật khẩu cấu hình chủ (chữ xem được):" + +#. Type: string +#. Description +#: ../templates:21 +msgid "" +"The configuration profiles are secured by a master password. You will need " +"it to create and delete profiles. As default it is set to \"lam\" and can be " +"changed directly in LAM. But you can also change it now." +msgstr "" +"Những hồ sơ cấu hình đựơc bảo mật bởi một mật khẩu chủ. Bạn sẽ cần thiết nó " +"để tạo và xóa bỏ hồ sơ đó. Mặc định là « lam » và có thể được thay đổi trực " +"tiếp từ BQT. Bạn cũng có thể thay đổi nó ngay bây giờ." + +#. Type: boolean +#. Description +#: ../templates:30 +msgid "Would you like to restart your webserver(s) now?" +msgstr "Vậy bạn có muốn khởi chạy trình phục vụ Mạng không?" + +#. Type: boolean +#. Description +#: ../templates:30 +msgid "Your webserver(s) need to be restarted in order to apply the changes." +msgstr "" +"Cần phải khởi chạy lại trình phục vụ Mạng, để làm cho các thay đổi hoạt động." + +#. Type: note +#. Description +#: ../templates:35 +msgid "Upgrade from pre-0.5.0 versions" +msgstr "Nâng cấp từ phiên bản trước 0.5.0" + +#. Type: note +#. Description +#: ../templates:35 +msgid "" +"Please note that this version uses new file formats for configuration and " +"account profiles. You will have to update your configuration and create new " +"account profiles." +msgstr "" +"Hãy ghi chú rằng phiên bản này sử dụng khuôn dạng tập tin mới với cấu hình " +"và hồ sơ tài khoản. Bạn sẽ phải cập nhật cấu hình, và tạo hồ sơ tài khoản " +"mới." diff --git a/lam-packaging/debian/postinst b/lam-packaging/debian/postinst new file mode 100755 index 00000000..2454b665 --- /dev/null +++ b/lam-packaging/debian/postinst @@ -0,0 +1,113 @@ +#!/bin/bash + +set -e + +. /usr/share/debconf/confmodule +db_version 2.0 || [ $? -lt 30 ] + +if [ ! -h /usr/share/ldap-account-manager/lib/fpdf.php ]; then\ + ln -s /usr/share/fpdf/fpdf.php /usr/share/ldap-account-manager/lib/fpdf.php; fi +if [ ! -h /usr/share/ldap-account-manager/config ]; then\ + ln -s /var/lib/ldap-account-manager/config /usr/share/ldap-account-manager/config; fi +if [ ! -h /usr/share/ldap-account-manager/sess ]; then\ + ln -s /var/lib/ldap-account-manager/sess /usr/share/ldap-account-manager/sess; fi +if [ ! -h /usr/share/ldap-account-manager/tmp ]; then\ + ln -s /var/lib/ldap-account-manager/tmp /usr/share/ldap-account-manager/tmp; fi +chown www-data /etc/ldap-account-manager/config.cfg +chmod 600 /etc/ldap-account-manager/config.cfg +chown www-data /var/lib/ldap-account-manager/sess +chown www-data /var/lib/ldap-account-manager/tmp +chown -R www-data /var/lib/ldap-account-manager/config +chown www-data /var/lib/ldap-account-manager/tmp +if [ ! -f /var/lib/ldap-account-manager/config/lam.conf ]; \ + then cp /var/lib/ldap-account-manager/config/lam.conf_sample /var/lib/ldap-account-manager/config/lam.conf; \ + chown www-data /var/lib/ldap-account-manager/config/lam.conf; fi +chmod 600 /var/lib/ldap-account-manager/config/*.conf +if [ "$1" = "configure" ]; then + db_get "ldap-account-manager/alias" + alias="$RET" + perl -pi -e "s/Alias \/.* \/usr\/share\/ldap-account-manager/Alias \/$alias \/usr\/share\/ldap-account-manager/g"\ + /etc/ldap-account-manager/apache.conf + db_get "ldap-account-manager/passwd" + passwd="$RET" + perl -pi -e "s/password: .*/password: $passwd/g" /etc/ldap-account-manager/config.cfg + db_get "ldap-account-manager/config-webserver" + webservers="$RET" + restart="" + for server in $webservers; do + server=${server%,} + test -x /usr/sbin/$server || continue + case "$server" in + apache|apache-perl|apache-ssl) + if [ -x /usr/sbin/modules-config ]; then + if [ -f /usr/lib/apache/1.3/libphp4.so ]; then + if ! grep "^LoadModule php4_module " /etc/$server/modules.conf > /dev/null 2>&1; then + modules-config $server enable mod_php4 + fi + else + if [ -f /usr/lib/apache/1.3/mod_actions.so ]; then + if ! grep "^LoadModule action_module " /etc/$server/modules.conf > /dev/null 2>&1; then + modules-config $server enable mod_actions + fi + fi + if [ -f /usr/lib/apache/1.3/mod_cgi.so ]; then + if ! grep "^LoadModule cgi_module " /etc/$server/modules.conf > /dev/null 2>&1; then + modules-config $server enable mod_cgi + fi + fi + fi + fi + if grep "^Include /etc/ldap-account-manager/apache.conf" /etc/$server/httpd.conf > /dev/null 2>&1; then + mv -f /etc/$server/httpd.conf /etc/$server/httpd.conf.old.ldap-account-manager + grep -v "^Include /etc/ldap-account-manager/apache.conf" /etc/$server/httpd.conf.old.ldap-account-manager \ + > /etc/$server/httpd.conf + fi + if ! grep "^Include /etc/$server/conf.d" /etc/$server/httpd.conf > /dev/null 2>&1; then + cp -f /etc/$server/httpd.conf /etc/$server/httpd.conf.old.ldap-account-manager + echo "Include /etc/$server/conf.d" >> /etc/$server/httpd.conf + fi + if [ -f /etc/$server/httpd.conf.old.ldap-account-manager -a ! -f /etc/$server/httpd.conf.old ]; then + mv -f /etc/$server/httpd.conf.old.ldap-account-manager /etc/$server/httpd.conf.old + fi + mkdir -p /etc/$server/conf.d + ;; + apache2) + if [ -d /etc/$server/mods-enabled ]; then + if [ ! -f /etc/$server/mods-enabled/actions.load -a ! -h /etc/$server/mods-enabled/actions.load ]; then + ln -s /etc/$server/mods-available/actions.load /etc/$server/mods-enabled/actions.load + fi + if [ -f /etc/apache2/mods-available/php4.load ]; then + if [ ! -f /etc/$server/mods-enabled/php4.load -a ! -h /etc/$server/mods-enabled/php4.load ]; then + ln -s /etc/$server/mods-available/php4.load /etc/$server/mods-enabled/php4.load + fi + else + if [ ! -f /etc/$server/mods-enabled/cgi.load -a ! -h /etc/$server/mods-enabled/cgi.load ]; then + ln -s /etc/$server/mods-available/cgi.load /etc/$server/mods-enabled/cgi.load + fi + fi + fi + ;; + esac + if [ ! -f /etc/$server/conf.d/ldap-account-manager -a ! -h /etc/$server/conf.d/ldap-account-manager ]; then + ln -s /etc/ldap-account-manager/apache.conf /etc/$server/conf.d/ldap-account-manager + restart="$restart $server" + fi + done + db_get "ldap-account-manager/restart-webserver" + if [ "$RET" = "true" ]; then + for server in $restart; do + server=${server%,} + if [ -x /usr/sbin/invoke-rc.d ]; then + invoke-rc.d $server restart + else + /etc/init.d/$server restart + fi + done + fi + fi + +#DEBHELPER# + +db_stop + +exit 0 diff --git a/lam-packaging/debian/postrm b/lam-packaging/debian/postrm new file mode 100755 index 00000000..fc1f1856 --- /dev/null +++ b/lam-packaging/debian/postrm @@ -0,0 +1,43 @@ +#!/bin/bash + +set -e + +. /usr/share/debconf/confmodule +db_version 2.0 || [ $? -lt 30 ] + + db_get "ldap-account-manager/config-webserver" + webservers="$RET" + restart="" + for server in $webservers; do + server=${server%,} + case "$server" in + apache|apache-perl|apache-ssl|apache2) + rm -f /etc/$server/conf.d/ldap-account-manager + test -x /usr/sbin/$server || continue + restart="$restart $server" + ;; + esac + done + db_get "ldap-account-manager/restart-webserver" + if [ "$RET" = "true" ]; then + for server in $restart; do + server=${server%,} + if [ -x /usr/sbin/invoke-rc.d ]; then + invoke-rc.d $server restart + else + /etc/init.d/$server restart + fi + done + fi +if [ "$1" = "purge" ]; then + rm -r -f /usr/share/ldap-account-manager; rm -r -f /var/lib/ldap-account-manager; fi + +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + db_purge +fi + +#DEBHELPER# + +db_stop + +exit 0 diff --git a/lam-packaging/debian/rules b/lam-packaging/debian/rules new file mode 100755 index 00000000..4ffe9852 --- /dev/null +++ b/lam-packaging/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +clean: + dh_testdir + dh_testroot + debconf-updatepo + dh_clean + +build: + +install: + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + install -D --mode=644 index.html debian/ldap-account-manager/usr/share/ldap-account-manager/index.html + install -D --mode=644 VERSION debian/ldap-account-manager/usr/share/ldap-account-manager/VERSION + install -D --mode=644 tmp/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/tmp/.htaccess + install -D --mode=644 config/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/config/.htaccess + install -D --mode=644 config/language debian/ldap-account-manager/var/lib/ldap-account-manager/config/language + install -D --mode=644 config/shells debian/ldap-account-manager/var/lib/ldap-account-manager/config/shells + install -D --mode=644 config/lam.conf_sample debian/ldap-account-manager/var/lib/ldap-account-manager/config/lam.conf_sample + install -D --mode=644 config/config.cfg_sample debian/ldap-account-manager/var/lib/ldap-account-manager/config/config.cfg_sample + cp -r config/profiles debian/ldap-account-manager/var/lib/ldap-account-manager/config/ + cp -r config/pdf debian/ldap-account-manager/var/lib/ldap-account-manager/config/ + cp -r graphics debian/ldap-account-manager/usr/share/ldap-account-manager/ + install -D --mode=644 help/help.inc debian/ldap-account-manager/usr/share/ldap-account-manager/help/help.inc + install -D --mode=644 lib/.htaccess debian/ldap-account-manager/usr/share/ldap-account-manager/lib/.htaccess + install -D --mode=644 lib/*.inc debian/ldap-account-manager/usr/share/ldap-account-manager/lib + install -D --mode=644 lib/ufpdf.php debian/ldap-account-manager/usr/share/ldap-account-manager/lib/ufpdf.php + install -D --mode=755 lib/lamdaemon.pl debian/ldap-account-manager/usr/share/ldap-account-manager/lib/lamdaemon.pl + cp -r lib/font debian/ldap-account-manager/usr/share/ldap-account-manager/lib/ + cp -r lib/modules debian/ldap-account-manager/usr/share/ldap-account-manager/lib/ + cp -r lib/types debian/ldap-account-manager/usr/share/ldap-account-manager/lib/ + cp -r locale debian/ldap-account-manager/usr/share/ldap-account-manager/ + install -D --mode=644 sess/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/sess/.htaccess + install -D --mode=644 style/*.css debian/ldap-account-manager/usr/share/ldap-account-manager/style + cp -r templates debian/ldap-account-manager/usr/share/ldap-account-manager/ + +# Build architecture-independent files here. +binary-dep: build install + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs HISTORY + dh_installdocs + dh_install + dh_compress + dh_fixperms + install -D --mode=644 debian/lam.apache.conf debian/ldap-account-manager/etc/ldap-account-manager/apache.conf + install -D --mode=644 config/config.cfg_sample debian/ldap-account-manager/etc/ldap-account-manager/config.cfg + dh_link /etc/ldap-account-manager/config.cfg /var/lib/ldap-account-manager/config/config.cfg + dh_installdebconf + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep +.PHONY: build clean binary-indep binary install configure + diff --git a/lam-packaging/debian/templates b/lam-packaging/debian/templates new file mode 100644 index 00000000..ac2553ea --- /dev/null +++ b/lam-packaging/debian/templates @@ -0,0 +1,46 @@ +Template: ldap-account-manager/config-webserver +Type: multiselect +Choices: apache, apache-ssl, apache-perl, apache2 +Default: apache, apache-ssl, apache-perl, apache2 +_Description: Which webserver would you like to configure automatically? + LDAP Account Manager supports any webserver that supports PHP4, but this + automatic configuration process only supports Apache and Apache2. + If you choose to configure Apache(2) LAM can be accessed at http(s)://localhost/lam + +Template: ldap-account-manager/alias +Type: string +Default: lam +_Description: Enter alias: + LAM will add an alias to your httpd.conf which allows you to + access LAM at http(s)://localhost/lam. If you want an alias other than + "lam" please specify it here. + +Template: ldap-account-manager/passwd +Type: string +Default: lam +_Description: Enter master configuration password (clear text): + The configuration profiles are secured by a master password. + You will need it to create and delete profiles. As default it is + set to "lam" and can be changed directly in LAM. But you can also + change it now. + +Template: ldap-account-manager/restart-webserver +Type: boolean +Default: true +_Description: Would you like to restart your webserver(s) now? + Your webserver(s) need to be restarted in order to apply the changes. + +Template: ldap-account-manager/note-0_4_9-upgrade +Type: note +_Description: Upgrade from pre-0.5.0 versions + Please note that this version uses new file formats for configuration and + account profiles. You will have to update your configuration and create new + account profiles. + +Template: ldap-account-manager/note-1_0_0-upgrade +Type: note +_Description: Upgrade from pre-1.0.0 versions + Please note that this version uses new file formats for the configuration + profiles. Please edit your configuration files and save the new + settings. + diff --git a/lam-packaging/debian/watch b/lam-packaging/debian/watch new file mode 100644 index 00000000..7298da1e --- /dev/null +++ b/lam-packaging/debian/watch @@ -0,0 +1,5 @@ +# format version number, currently 2; this line is compulsory! +version=2 + +# LDAP Account Manager at Sourceforge +http://prdownloads.sourceforge.net/lam/ldap-account-manager_([0-9]\.[0-9]\.[0-9])\.tar\.gz