debian/0000755000000000000000000000000012060401222007153 5ustar debian/rules0000755000000000000000000001270612060401157010250 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright 2008-2010, Jonas Smedegaard # Description: Main Debian packaging script for cipux-cat-web # # 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, 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, see . include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/perl-build.mk include /usr/share/cdbs/1/rules/debhelper.mk pkg_lib = libcipux-cat-web-perl DEB_UPSTREAM_PACKAGE = CipUX-CAT-Web DEB_UPSTREAM_URL = http://release.cipux.org DEB_UPSTREAM_TARBALL_MD5 = 2affaeacef291ccfb066bacf465c9018 # Install through debhelper.mk (not directly with perl-build.mk) DEB_PERL_DESTDIR = $(cdbs_curdestdir) DEB_DH_INSTALL_SOURCEDIR = $(DEB_PERL_DESTDIR) # Build tests fail (require systemwide configfile and logfile installed) DEB_BUILD_OPTIONS += nocheck # Install apache snippet outside of apache conf.d to make it optional # ...or no - install our own fork instead, limiting to only secure connections binary-install/cipux-cat-web:: # install -D -m 0644 etc/apache2/conf.d/cipux_apache.conf debian/$(cdbs_curpkg)/etc/cipux-cat-web/apache.conf install -D -m 0644 debian/apache.conf debian/$(cdbs_curpkg)/etc/cipux-cat-web/apache.conf install -D -m 0644 debian/lighttpd.conf debian/$(cdbs_curpkg)/etc/cipux-cat-web/lighttpd.conf # Generate l10n files binary-install/cipux-cat-web:: DESTDIR=../debian/cipux-cat-web/usr/share/cipux-cat-web; \ for lang in $$(find po -name '*.po' -exec basename '{}' .po ';'); do \ cd po && \ DESTDIR=../debian/cipux-cat-web/usr/share/cipux-cat-web perl -w -T ../debian/po2html.pl --source=C --target="$$lang" $$(find ../tpl/C -type f) && \ cd ..; \ done # Add helper function to postinst and postrm # (could probably be done more elegantly in either sed or perl...) pre-build:: for script in debian/cipux-cat-web.postinst debian/cipux-cat-web.postrm; do \ perl -ne '/\@\@dpkg-daemon-helper\@\@/ and $$seen++; print unless $$seen' "$$script.in" > "$$script"; \ cat debian/dpkg-daemon-helper >> "$$script"; \ perl -ne 'print if $$seen; /\@\@dpkg-daemon-helper\@\@/ and $$seen++' "$$script.in" >> "$$script"; \ done clean:: rm -f debian/cipux-cat-web.postinst debian/cipux-cat-web.postrm # Move web content to subdir web/ to make room for future non-public files binary-post-install/cipux-cat-web:: mkdir debian/$(cdbs_curpkg)/usr/share/cipux-cat-web/web find debian/$(cdbs_curpkg)/usr/share/cipux-cat-web \ -mindepth 1 -maxdepth 1 -not \ -name web -not -name dpkg-daemon-helper \ -exec mv -t debian/$(cdbs_curpkg)/usr/share/cipux-cat-web/web '{}' ';' # Set permissions/group (#694145) binary-fixup/cipux-cat-web:: chgrp www-data debian/$(cdbs_curpkg)/etc/cipux-cat-web chmod 750 debian/$(cdbs_curpkg)/etc/cipux-cat-web # Override upstream default: secure connection is unneeded to localhost # Set permissions/group (#694145) binary-fixup/libcipux-cat-web-perl:: perl -i -pe "s|^(\h*catweb_rpc_server\h*=>\h*).*,\h*(#.*)?\$$|\$$1'http://localhost:8001/RPC2',|" \ debian/$(cdbs_curpkg)/etc/cipux-cat-web/cipux-cat-web.conf chgrp www-data debian/$(cdbs_curpkg)/var/log/cipux-cat-web debian/$(cdbs_curpkg)/var/cache/cipux-cat-web debian/$(cdbs_curpkg)/etc/cipux-cat-web chmod 750 debian/$(cdbs_curpkg)/var/log/cipux-cat-web debian/$(cdbs_curpkg)/var/cache/cipux-cat-web debian/$(cdbs_curpkg)/etc/cipux-cat-web # Ensure debconf PO files is in sync with templates clean:: debconf-updatepo sed -i \ -e "/^# Copyright/ s/THE PACKAGE'S COPYRIGHT HOLDER/Jonas Smedegaard /" \ -e '/^\(# This file\|"Project-Id-Version\)/ s/PACKAGE/$(DEB_SOURCE_PACKAGE)/' \ -e '/^"Project-Id-Version:/ s/VERSION/$(DEB_UPSTREAM_VERSION)/' \ debian/po/templates.pot # Needed both by upstream build (or test) process and at runtime common-depends = libcgi-formbuilder-perl, libcipux-perl, libdate-manip-perl, libcipux-rpc-client-perl, libtemplate-perl, libclass-std-perl, liblog-log4perl-perl, libreadonly-perl CDBS_DEPENDS_$(pkg_lib) = $(common-depends) CDBS_BUILD_DEPENDS += , $(common-depends) # Needed by upstream build process CDBS_BUILD_DEPENDS += , libmodule-build-cipux-perl (>= 0.2.5~) # Needed by upstream tests CDBS_BUILD_DEPENDS += , libtest-perl-critic-perl, libtest-pod-perl, libtest-pod-coverage-perl # Needed by packaging routines # * helper script po2html.pl needs libcipux-perl and liblocale-po-perl CDBS_BUILD_DEPENDS += , po-debconf, liblocale-po-perl # Needed (always/often/seldom) at runtime # TODO: Raise suggestions to recommends when available in Debian CDBS_DEPENDS_$(pkg_lib) += , libscalar-util-numeric-perl, liblocale-maketext-lexicon-perl CDBS_DEPENDS_cipux-cat-web = $(pkg_lib), libclass-std-perl, libcipux-perl, libcgi-formbuilder-perl, libdate-manip-perl, libfrontier-rpc-perl, libtemplate-perl, debconf | debconf-2.0, apache2 | lighttpd | httpd-cgi CDBS_RECOMMENDS_$(pkg_lib) = libmodule-list-pluggable-perl CDBS_RECOMMENDS_cipux-cat-web = cipux-rpcd CDBS_SUGGESTS_$(pkg_lib) = cipux-cat-web, libsys-info-os-perl debian/cipux-cat-web.lintian-overrides0000644000000000000000000000010512060376722015217 0ustar cipux-cat-web: non-standard-dir-perm etc/cipux-cat-web/ 0750 != 0755 debian/control0000644000000000000000000000531011560275673010604 0ustar Source: cipux-cat-web Section: perl Priority: optional Maintainer: CipUX team Uploaders: Jonas Smedegaard , Christian Kuelker , Xavier Oswald Build-Depends: devscripts (>= 2.10.7~), perl, perl-modules (>= 5.10.0) | libmodule-build-perl (>= 0.2808), cdbs (>= 0.4.85~), debhelper (>= 7.0.1), dh-buildinfo, libcgi-formbuilder-perl, libcipux-perl, libdate-manip-perl, libcipux-rpc-client-perl, libtemplate-perl, libclass-std-perl, liblog-log4perl-perl, libreadonly-perl, libmodule-build-cipux-perl (>= 0.2.5~), libtest-perl-critic-perl, libtest-pod-perl, libtest-pod-coverage-perl, po-debconf, liblocale-po-perl Standards-Version: 3.9.2 Vcs-Git: git://git.debian.org/git/collab-maint/cipux-cat-web.git Vcs-Browser: http://git.debian.org/?p=collab-maint/cipux-cat-web.git;a=summary Homepage: http://www.cipux.org/ Package: libcipux-cat-web-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: user and resource management framework CipUX - web-based admin tools CipUX is a modular framework for information abstraction and administration, primarily aimed at administration of users, groups and organisational resources stored in a central LDAP database. . CAT is CipUX Administration Tools, interacting with the core CipUX framework through XML-RPC. . Two CATs are provided officially with CipUX: - cipux-cat-web: generic web-based CAT - cipux-cat-moodle: CipUX plugin for Moodle These can be extended or replaced with custom tools. . This package contains CipUX::CAT::Web - functions used by the generic web-based CAT cipux-cat-web. Package: cipux-cat-web Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends} Recommends: ${cdbs:Recommends} Description: user and resource management framework CipUX - web-based admin tools CipUX is a modular framework for information abstraction and administration, primarily aimed at administration of users, groups and organisational resources stored in a central LDAP database. . CAT is CipUX Administration Tools, interacting with the core CipUX framework through XML-RPC. . Two CATs are provided officially with CipUX: - cipux-cat-web: generic web-based CAT - cipux-cat-moodle: CipUX plugin for Moodle These can be extended or replaced with custom tools. . This package contains the generic web-based CAT cipux-cat-web: a set of Perl CGI scripts for web server like Apache to administrate user, groups, machines stored in LDAP using the CipUX framework. The use of Template Toolkit (TT2) makes theming easy, for fancy layout or localization. debian/cipux-cat-web.postinst.in0000644000000000000000000000274311432514743014062 0ustar #!/bin/sh set -e . /usr/share/debconf/confmodule pkg=cipux-cat-web @@dpkg-daemon-helper@@ case "$1" in configure) db_get "$pkg/reconfigure-webserver" || true # Sanitize input (strip commas and ensure safe used as filename) webservers_selected="$(echo "$RET" | perl -pe 's/[^a-z0-9\+\-\.]+/ /g')" webservers_preconfigured="$(find "/var/lib/$pkg/dpkg" -type f -printf '%f\n')" webservers_reconfigured="" for webserver in $webservers_selected; do if daemon_reconfigure "$webserver" enable; then webservers_reconfigured="$webservers_reconfigured $webserver" touch "/var/lib/$pkg/dpkg/$webserver" fi done for webserver in $webservers_preconfigured; do if echo "$webservers_selected" | egrep -qv "\b$webserver\b"; then if daemon_reconfigure "$webserver" disable; then webservers_reconfigured="$webservers_reconfigured $webserver" else echo 1>&2 "Error: failed disabling $pkg config from webserver $webserver" fi rm -f "/var/lib/$pkg/dpkg/$webserver" fi done db_get "$pkg/restart-webserver" || true res="$RET" db_stop || true if [ "$res" = "true" ]; then for webserver in $webservers_reconfigured; do if [ -x /etc/init.d/$webserver ]; then if which invoke-rc.d >/dev/null 2>&1; then invoke-rc.d $webserver restart else /etc/init.d/$webserver restart fi fi done fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0 debian/libcipux-cat-web-perl.lintian-overrides0000644000000000000000000000036112060376750016653 0ustar libcipux-cat-web-perl: non-standard-dir-perm etc/cipux-cat-web/ 0750 != 0755 libcipux-cat-web-perl: non-standard-dir-perm var/cache/cipux-cat-web/ 0750 != 0755 libcipux-cat-web-perl: non-standard-dir-perm var/log/cipux-cat-web/ 0750 != 0755 debian/README.source0000644000000000000000000000361311407720560011352 0ustar Building this package for Debian -------------------------------- This source package need no special handling for normal package builds. Developing this package for Debian ---------------------------------- The source of this package is developed using git and the helper tool git-buildpackage, with all official releases tagged and signed and binary diffs of tarballs stored using pristine-tar. This is documented below /usr/share/doc/git-buildpackage/manual-html/ . A custom build target shows current upstream and packaging versions: debian/rules print-version Current upstream tarball can be prepared using this other build target: debian/rules get-orig-source To switch to newer upstream source, first add a dummy changelog entry and comment out DEB_UPSTREAM_TARBALL_MD5 before getting the source: dch -v ${new_upstream_version}-1 "Dummy changelog entry" sed -i -e 's/^\(DEB_UPSTREAM_TARBALL_MD5\b\)/#\1/' debian/rules debian/rules get-orig-source Store new md5sum to help ensure identical source is received later. Setting DEB_MAINTAINER_MODE=1 enables additional build routines helpful during development of the package, but unfit for normal builds. This typically includes the CDBS feature of auto-updating debian/control with CDBS-related build-dependencies, which is forbidden by Debian Policy as build environment must not change during automated builds. Maintaining packaging build routines ------------------------------------ This source package wraps debhelper commands and other tedious parts of the build routines using the CDBS framework. Please refer to the actual makefile snippets included from debian/rules for details on their purpose and ways to override defaults. Additionally, makefile snippets included from below /usr/share/cdbs may also be documented in /usr/share/doc/cdbs/cdbs-doc.pdf.gz . -- Jonas Smedegaard Thu, 26 Feb 2009 21:28:29 +0100 debian/cipux-cat-web.postrm.in0000644000000000000000000000220411432514675013517 0ustar #!/bin/sh set -e if [ -f /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule fi pkg=cipux-cat-web @@dpkg-daemon-helper@@ case "$1" in upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; remove) # Handling web server reconfiguration webservers_preconfigured="$(find "/var/lib/$pkg/dpkg" -type f -printf '%f\n')" webservers_reconfigured="" for webserver in $webservers_preconfigured; do if daemon_reconfigure "$webserver" disable; then webservers_reconfigured="$webservers_reconfigured $webserver" else echo 1>&2 "Error: failed disabling $pkg config from webserver $webserver" fi rm -f "/var/lib/$pkg/dpkg/$webserver" done db_get "$pkg/restart-webserver" res="$RET" db_stop || true if [ "$res" = "true" ]; then for webserver in $webservers_reconfigured; do if [ -x /etc/init.d/$webserver ]; then if which invoke-rc.d >/dev/null 2>&1; then invoke-rc.d $webserver force-reload else etc/init.d/$webserver force-reload fi fi done fi ;; purge) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0 debian/gbp.conf0000644000000000000000000000014611407720560010610 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/source/0000755000000000000000000000000011403013215010454 5ustar debian/source/format0000644000000000000000000000001411403013215011662 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000002473212060400521011036 0ustar cipux-cat-web (3.4.0.3-4.1) unstable; urgency=low * Non-maintainer upload. * Fix "cipux-cat-web, libcipux-cat-web-perl: inconsistent permission handling of /etc/cipux-cat-web/": - drop debian/postinst, instead - ship directories in both binary packages, with group/permissions set appropriately (debian/libcipux-cat-web-perl.dirs added, debian/rules extended) - add lintian overrides for non-standard-dir-perm warnings (Closes: #694145) * This also fixes "unowned files after purge (policy 6.8, 10.8)" which was caused by the directories being created in postinst but never removed. (Closes: #656456) -- gregor herrmann Fri, 07 Dec 2012 15:46:40 +0100 cipux-cat-web (3.4.0.3-4) unstable; urgency=low * Improve package relations: + Stop (build-)depending on packages provided by perl-modules (even in oldstable): libversion-perl libtest-simple-perl. + Fix depend on liblocale-maketext-lexicon-perl. Closes: bug#602912. Thanks to Per Carlson. + Relax (drop versioning) for packages satisifed even in oldstable: - libtest-pod-perl - libtest-pod-coverage-perl - lighttpd + Fix recommend libmodule-list-pluggable-perl and suggest (since not yet available in Debian) libsys-info-os-perl. * Update copyright file: + Rewrite using draft 174 of DEP-5 format. + Fix use initial wildcard Files section. + Rewrap license fields at 72 chars, and shorten comments. + Add Files sections for proper copyright-claimed gettext files. * Bump policy compliance to standards-version 3.9.2. * Bump debhelper compatibility level to 7 (satisfied even in oldstable, and cdbs need backporting for oldstable anyway). Tighten build-dependencies on debhelper and cdbs correspondingly. * Improve libcipux-cat-web-perl postinst: + Tighten access rights only on (created if needed) dirs (not content: respect user customizations and avoid potential hardlink attack). + Handle also /var/cache/cipux-cat-web. Closes: bug#602918. Thanks to Per Carlson. * Add japanese (ja) debconf l10n. Closes: bug#602981. Thanks to Nobuhiro Iwamatsu. -- Jonas Smedegaard Wed, 04 May 2011 22:10:39 +0200 cipux-cat-web (3.4.0.3-3) unstable; urgency=low * Fix install scripts to avoid bogusly (and fatally!) trying to restart not installed webservers. -- Jonas Smedegaard Tue, 17 Aug 2010 16:24:19 +0200 cipux-cat-web (3.4.0.3-2) unstable; urgency=low * Fix depend on libscalar-list-utils-perl (not bogusly named libscalar-list-utils). -- Jonas Smedegaard Sat, 03 Jul 2010 18:32:51 +0200 cipux-cat-web (3.4.0.3-1) unstable; urgency=low * New upstream release. * Fix have library package depend on libscalar-util-numeric and suggest (not yet recommend as not available in Debian) libmodule-list-pluggable-perl and libsys-info-os-perl. Thanks to Martin Oehler and Kurt Gramlich. * Bump policy compliance to Standards-Version 3.9.0. -- Jonas Smedegaard Sat, 03 Jul 2010 16:33:23 +0200 cipux-cat-web (3.4.0.2-3) unstable; urgency=low * Revert undocumented (accidental?) non-encrypted-on-localhost config hack dropped in recent NMU. * Use source format 3.0 (quilt). -- Jonas Smedegaard Mon, 21 Jun 2010 19:32:21 +0200 cipux-cat-web (3.4.0.2-2.1) unstable; urgency=low * Non-maintainer upload. * Don't act on non-existent files; fixes installation failure (Closes: #584875) -- Jan Hauke Rahm Wed, 16 Jun 2010 12:06:34 +0200 cipux-cat-web (3.4.0.2-2) unstable; urgency=low * Fix include config defaults. * Update autogenerated debconf gettext files. -- Jonas Smedegaard Mon, 07 Jun 2010 01:12:08 +0200 cipux-cat-web (3.4.0.2-1) unstable; urgency=low [ Jonas Smedegaard ] * New upstream release. * Build-depend on recent perl-modules (favored over libtest-simple-perl). * Bump standards-version to 3.8.4. * Add proper copyright header to debian/rules. * Update upstream homepage. * Fix add leading / to Apache RewriteRule (only in .htaccess files should it be left out). * Rewrite only non-local insecure requests in Apache RewriteRule, and add descriptive comment. * Use only official CDBS (drop local snippets): All improvements now adopted upstream. * Include CDBS snippet upstream-tarball.mk. * Build unversioned on perl. * Tighten build-dependency on cdbs. * Refer to FSF website (not postal address) in licensing headers of Debian packaging files. * Update debian/copyright: + Include verbatim GPL text. + Reformat to conform to draft DEP5 rev. 135. + Bump some coyright years. + Fix include disclaimer in GPL-2+ section of copyright. + Add reference to FSF website. + Drop Colin Walters as owner of no longer included CDBS snippets. * Use source format '3.0 "quilt"'. * Stop conditionally enabling DEB_AUTO_UPDATE_DEBIAN_CONTROL (adopted upstream since CDBS 0.4.67), to not bogusly upset lintian. * Add watch file. * Build-depend on libcipux-rpc-client-perl (not libfrontier-rpc-perl), reflecting upstream change for 3.4.0.0. * Declare package relations recursively expanded. * Stop installing config files: Obsoleted or moved below /usr/share/cipux (as bootstrap config) now. [ Xavier Oswald ] * Update my mail address -- Jonas Smedegaard Sat, 15 May 2010 11:40:05 +0200 cipux-cat-web (3.4.0~svn2999-1) experimental; urgency=low * New snapshot of upstream Subversion repository. -- Jonas Smedegaard Fri, 02 Jan 2009 04:59:12 +0100 cipux-cat-web (3.4.0~svn2960-1) experimental; urgency=low * New snapshot of upstream Subversion repository. * Build-depend and depend on libcipux-perl (not libcipux-common-perl). * Add TODO item about invoking cipux_cat_web_module in postinst (need to understand some implications of that tool before actually doing it). * Update CDBS snippets: + Simplify internal variables + Ignore no files by default in copyright-check.mk + Correct and update copyright hints of the snippets themselves * Update debian/copyright and copyright hints: + Add info on CDBS snippets (new owners, no new licenses) + Bump to version 413 of new format (no structural changes) * Favor build-depending on perl-modules 5.10 over libmodule-build-perl. * Update arabic (ar) debconf locale. Closes: bug#499601, thanks to Ossama Khayat. -- Jonas Smedegaard Mon, 15 Dec 2008 16:22:49 +0100 cipux-cat-web (3.4.0~svn2815-1) experimental; urgency=low * New snapshot of upstream Subversion repository. -- Jonas Smedegaard Sat, 18 Oct 2008 15:06:38 +0200 cipux-cat-web (3.4.0~svn2774-1) experimental; urgency=low * New upstream Subversion snapshot. + index page properly generated now. -- Jonas Smedegaard Tue, 30 Sep 2008 22:49:36 +0200 cipux-cat-web (3.4.0~svn2772-1) experimental; urgency=low * New upstream Subversion snapshot. -- Jonas Smedegaard Sun, 28 Sep 2008 21:53:33 +0200 cipux-cat-web (3.4.0~svn2759-2) experimental; urgency=low * Include log4perl configfile. -- Jonas Smedegaard Sun, 28 Sep 2008 16:23:58 +0200 cipux-cat-web (3.4.0~svn2759-1) experimental; urgency=low [ Jonas Smedegaard ] * New upstream Subversion snapshot. * Upstream now installs below /usr/share (not /var/www): + Simplify install rules + Use (now identical) upstream apache config + Tighten build-dependency on libmodule-build-cipux to versions installing below /usr/share * Offer to configure webserver (either apache or Lighttpd) through debconf. + Have cipux-cat-web depend on debconf or the virtual debconf-2.0. + Have cipux-cat-web explicitly depend on lighttpd as fallback for apache2. + Build-depend on debconf-updatepo. * Avoid library package starting/stopping http daemons. Thanks to Martin Öhler for (verbal) bugreport. * Use non-SSL connection to XML-RPC on localhost by default. * Build and install l10n (using hack of crude upstream script). * Have cipux-cat-web (fallback-)depend on httpd-cgi (not httpd). * Depend and build-depend (again) on libversion-perl (virtual package in Lenny but not on Etch). Add TODO note about dropping those dependencies again after Lenny+1. * Have libcipux-cat-web-perl (build-)depend on libclass-std-perl, liblog-log4perl-perl and libreadonly-perl. * Have cipux-cat-web depend on libclass-std-perl. * Have cipux-cat-web recommend cipux-rpcd. * Drop dependencies on libcipux-rbac-perl. * Extend long descriptions to mention XML-RPC. * Update local cdbs snippet perl-build.mk to tighten build-dependency on libmodule-build-perl (older releases treat destdir differently). * Update copyright-hints. * Add DEB_MAINTAINER_MODE in debian/rules (thanks to Romain Beauxis). * Semi-auto-update debian/control to update dependencies: DEB_MAINTAINER_MODE=1 fakeroot debian/rules clean [ Christian Perrier ] * Debconf translations: - Finnish. Closes: #496179 - Italian. Closes: #496185 - Russian. Closes: #496278 - Slovak. Closes: #496451 - Swedish. Closes: #496522 - Spanish. Closes: #497366 -- Jonas Smedegaard Sun, 28 Sep 2008 13:13:00 +0200 cipux-cat-web (3.4~svn2457-1~0jones1) jones; urgency=low * New upstream Subversion snapshot. * Release unofficially... * Build-depend on libcipux-rbac-perl. * Fix local cdbs snippet perl-build.mk nocheck flag handling. -- Jonas Smedegaard Sun, 27 Jul 2008 06:07:37 +0200 cipux-cat-web (3.4~svn2449-1) experimental; urgency=low * New upstream Subversion snapshot. * Build-depend on libmodule-build-cipux-perl (not libcipux-build-perl). * Separate library from web scripts and content. * Fix dependencies. * Update debian/copyright: + Adjust copyright years (2008 -> 2006-2008) + Add myself as copyright holder of danish l10n + Fix SVN URL * Disable build tests: hardcoded paths to logfile and configfile makes test 1 (a simple "use CipUX::CAT::Web") fail. * Update cdbs snippet perl-build.mk to allow late nocheck flag. * Drop restricting access to configfiles. Currently no sensitive data - if needed later it should be special-cased instead. -- Jonas Smedegaard Sat, 26 Jul 2008 18:11:27 +0200 cipux-cat-web (3.4~svn2289-1) experimental; urgency=low * Initial release (related to - but only partly closes - bug#357694). -- Jonas Smedegaard Sun, 08 Jun 2008 16:21:44 +0200 debian/dpkg-daemon-helper0000644000000000000000000000450711432513337012564 0ustar daemon_reconfigure() { daemon="$1" action="$2" cfgdir="/etc/$pkg" cfgfile="$cfgdir/$daemon.conf" case "$daemon" in apache*) cfgfile="$cfgdir/apache.conf" symlinkdir="/etc/$daemon/conf.d" symlink="$symlinkdir/$pkg" mod_enable="/usr/sbin/a2enmod" mod_disable="/usr/sbin/a2dismod" modules_required="alias cgi rewrite" ;; lighttpd) symlinkdir="/etc/$daemon/conf-available" symlink="$symlinkdir/50-$pkg.conf" mod_enable="/usr/sbin/lighty-enable-mod" mod_disable="/usr/sbin/lighty-disable-mod" modules_provided="$pkg" # modules_required="cgi redirect" modules_required="cgi" ;; *) echo 1>&2 "Warning: unknown daemon \"$daemon\", skipping reconfiguration" return 1 ;; esac if [ ! -d "$symlinkdir" ]; then echo 1>&2 "Warning: $daemon configpath missing, skipping reconfiguration" return 1 fi case "$action" in enable) if [ ! -e "$symlink" ]; then ln -s "$cfgfile" "$symlink" elif [ "$cfgfile" != "$(readlink "$symlink")" ]; then echo 1>&2 "Warning: $pkg config for $daemon was customized, please remove $symlink and reconfigure $pkg if that customization is unwanted, skipping reconfiguration" return 1 fi if [ -n "$mod_enable" ] && [ -n "$modules_required$modules_provided" ]; then if [ -x "$mod_enable" ] ; then for module in $modules_required $modules_provided; do "$mod_enable" "$module" done else echo 1>&2 "Warning: $daemon not installed, $pkg config added but not enabled" fi fi ;; disable) if [ -n "$mod_disable" ] && [ -n "$modules_provided" ]; then if [ -x "$mod_disable" ]; then for module in $modules_provided; do "$mod_disable" "$module" done else echo 1>&2 "Warning: $daemon not installed, $pkg config will be removed without first getting disabled" fi fi if [ -n "$mod_disable" ] && [ -n "$modules_required" ]; then echo 1>&2 "Warning: $daemon module(s) $modules_required possibly enabled by $pkg was not disabled (might still be needed), please disable manually if unused" fi if [ -e "$symlink" ]; then if [ "$cfgfile" = "$(readlink "$symlink")" ]; then rm -f "$symlink" else echo 1>&2 "Warning: $pkg config for $daemon was customized, please remove $symlink manually if unwanted" fi fi ;; *) echo 1>&2 "Error: unknown action \"$action\", script is broken!" exit 1 ;; esac } debian/po/0000755000000000000000000000000012060401222007571 5ustar debian/po/pt.po0000644000000000000000000000425611407720560010600 0ustar # Portuguese translations for cipux-cat-web package. # Copyright (C) Miguel Figueiredo # This file is distributed under the same license as the cipux-cat-web package. # Miguel Figueiredo , 2007, 2008. # msgid "" msgstr "" "Project-Id-Version: cipux-cat-web 0.3.4\n" "Report-Msgid-Bugs-To: cipux-cat-web@packages.debian.org\n" "POT-Creation-Date: 2008-09-13 10:43+0200\n" "PO-Revision-Date: 2008-03-09 14:12+0000\n" "Last-Translator: Miguel Figueiredo \n" "Language-Team: Portuguese \n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "apache2" msgstr "apache2" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "lighttpd" msgstr "lighttpd" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "Web server(s) to configure automatically:" msgstr "Servidor(es) web a configurar automaticamente:" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "${package} supports any web server with CGI enabled, however only Apache 2 " "and lighttpd can be configured automatically." msgstr "" "O ${package} suporta qualquer servidor web com CGI activo, no entanto apenas " "o Apache 2 e lighttpd podem ser automaticamente configurados." #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "Please select the web server(s) that should be configured automatically for " "${package}." msgstr "" "Por favor escolha o(s) servidor(es) web que deve(m) ser automaticamente " "configurado(s) para o ${package}." #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "Should the webserver(s) be restarted now?" msgstr "Deverá o servidor web ser reiniciado agora?" #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "" "In order to activate the new configuration, the reconfigured web server(s) " "have to be restarted." msgstr "" "De modo a activar a nova configuração, o(s) servidor(es) web reconfigurados " "terão de ser reiniciados." debian/po/fi.po0000644000000000000000000000375111407720560010552 0ustar msgid "" msgstr "" "Project-Id-Version: cipux-cat-web 0.3.4\n" "Report-Msgid-Bugs-To: cipux-cat-web@packages.debian.org\n" "POT-Creation-Date: 2008-09-13 10:43+0200\n" "PO-Revision-Date: 2008-08-23 11:15+0200\n" "Last-Translator: Esko Arajärvi \n" "Language-Team: Finnish \n" "Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Finnish\n" "X-Poedit-Country: Finland\n" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "apache2" msgstr "apache2" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "lighttpd" msgstr "lighttpd" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "Web server(s) to configure automatically:" msgstr "Verkkopalvelimet, joiden asetukset tehdään automaattisesti:" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "${package} supports any web server with CGI enabled, however only Apache 2 " "and lighttpd can be configured automatically." msgstr "" "${package} tukee kaikkia verkkopalvelimia, joissa on CGI käytössä, mutta " "vain Apache 2:n ja lighttpd:n asetukset voidaan tehdä automaattisesti." #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "Please select the web server(s) that should be configured automatically for " "${package}." msgstr "" "Valitse verkkopalvelimet, joiden asetukset tulisi automaattisesti tehdä " "${package}iä varten." #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "Should the webserver(s) be restarted now?" msgstr "Tulisiko verkkopalvelimet käynnistää uudelleen nyt?" #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "" "In order to activate the new configuration, the reconfigured web server(s) " "have to be restarted." msgstr "" "Verkkopalvelimet täytyy käynnistää uudelleen uusien asetusten ottamiseksi " "käyttöön." debian/po/eu.po0000644000000000000000000000424511407720560010564 0ustar # translation of roundcube-eu.po to Euskara # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Piarres Beobide , 2007, 2008. msgid "" msgstr "" "Project-Id-Version: cipux-cat-web 0.3.4\n" "Report-Msgid-Bugs-To: cipux-cat-web@packages.debian.org\n" "POT-Creation-Date: 2008-09-13 10:43+0200\n" "PO-Revision-Date: 2008-03-14 09:03+0100\n" "Last-Translator: Piarres Beobide \n" "Language-Team: Euskara \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: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "apache2" msgstr "apache2" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "lighttpd" msgstr "lighttpd" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "Web server(s) to configure automatically:" msgstr "Automatikoki konfiguratu behar den web zerbitzaria:" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 #, fuzzy msgid "" "${package} supports any web server with CGI enabled, however only Apache 2 " "and lighttpd can be configured automatically." msgstr "" "${package}-k PHP onartzen duen edozein web zerbitzari onartzen du, hala ere " "Apache2 eta lighttpd bakarrik konfiguratu daiteke automatikoki." #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 #, fuzzy msgid "" "Please select the web server(s) that should be configured automatically for " "${package}." msgstr "" "Mesedez hautatu Roundube-rentzat automatikoki konfiguratu behar den web " "zerbitzaria(k)." #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "Should the webserver(s) be restarted now?" msgstr "Web zerbitzaria(k) orain berrabiarazi behar al da?" #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "" "In order to activate the new configuration, the reconfigured web server(s) " "have to be restarted." msgstr "" "Konfigurazio berria gaitu ahal izateko, birkonfiguratutako web zerbitzaria" "(k) berrabiarazi egin behar d(ir)a." debian/po/de.po0000644000000000000000000000415511407720560010543 0ustar # German translation of roundcube templates # Helge Kreutzmann , 2007, 2008. # This file is distributed under the same license as the cipux-cat-web package. # msgid "" msgstr "" "Project-Id-Version: cipux-cat-web 0.3.4\n" "Report-Msgid-Bugs-To: cipux-cat-web@packages.debian.org\n" "POT-Creation-Date: 2008-09-13 10:43+0200\n" "PO-Revision-Date: 2008-03-07 19:08+0100\n" "Last-Translator: Helge Kreutzmann \n" "Language-Team: de \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "apache2" msgstr "Apache2" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "lighttpd" msgstr "Lighttpd" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "Web server(s) to configure automatically:" msgstr "Webserver, die automatisch konfiguriert werden sollen:" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "${package} supports any web server with CGI enabled, however only Apache 2 " "and lighttpd can be configured automatically." msgstr "" "${package} untersttzt jeden Webserver, der CGI bietet. Allerdings kann nur " "Apache 2 und Lighttpd automatisch konfiguriert werden." #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "Please select the web server(s) that should be configured automatically for " "${package}." msgstr "" "Bitte whlen Sie den/die Webserver aus, die fr ${package} automatisch " "konfiguriert werden sollen." #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "Should the webserver(s) be restarted now?" msgstr "Soll der/die Webserver jetzt automatisch neu gestartet werden?" #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "" "In order to activate the new configuration, the reconfigured web server(s) " "have to be restarted." msgstr "" "Um die neue Konfiguration zu aktivieren, mssen der/die rekonfigurierten " "Webserver neu gestartet werden." debian/po/sk.po0000644000000000000000000000414611407720560010570 0ustar # Slovak translation of cipux-cat-web debconf template # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the cipux-cat-web package. # Ivan Masár , 2008. # msgid "" msgstr "" "Project-Id-Version: cipux-cat-web 0.3.4\n" "Report-Msgid-Bugs-To: cipux-cat-web@packages.debian.org\n" "POT-Creation-Date: 2008-09-13 10:43+0200\n" "PO-Revision-Date: 2008-08-24 22:19+0100\n" "Last-Translator: Ivan Masár \n" "Language-Team: Slovak \n" "Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "apache2" msgstr "apache2" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "lighttpd" msgstr "lighttpd" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "Web server(s) to configure automatically:" msgstr "Nastaviť automaticky nasledovné webové servery:" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "${package} supports any web server with CGI enabled, however only Apache 2 " "and lighttpd can be configured automatically." msgstr "" "${package} podporuje akýkoľvek webový server, ktorý podporuje CGI, avšak " "iba Apache 2 a lighttpd je možné nastaviť automaticky." #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "Please select the web server(s) that should be configured automatically for " "${package}." msgstr "" "Prosím, vyberte, ktoré webové servery sa majú nastaviť automaticky pre " "${package}." #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "Should the webserver(s) be restarted now?" msgstr "Majú sa webové servery teraz reštartovať?" #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "" "In order to activate the new configuration, the reconfigured web server(s) " "have to be restarted." msgstr "" "Aby sa aktivovala nové konfigurácia, nastavené webové servery je potrebné " "reštartovať." debian/po/ja.po0000644000000000000000000000437711560264160010552 0ustar # Copyright (C) YEAR Jonas Smedegaard # Copyright (C) 2010 Nobuhiro Iwamatsu # This file is distributed under the same license as the cipux-cat-web package. # Nobuhiro Iwamatsu , 2010. # msgid "" msgstr "" "Project-Id-Version: cipux-cat-web 3.4.0~svn2646\n" "Report-Msgid-Bugs-To: cipux-cat-web@packages.debian.org\n" "POT-Creation-Date: 2008-09-13 10:43+0200\n" "PO-Revision-Date: 2010-11-09 12:04+0900\n" "Last-Translator: Nobuhiro Iwamatsu \n" "Language-Team: Japanese \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Japanese\n" "X-Poedit-Country: JAPAN\n" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "apache2" msgstr "apache2" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "lighttpd" msgstr "lighttpd" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "Web server(s) to configure automatically:" msgstr "自動的に設定するウェブサーバ:" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "${package} supports any web server with CGI enabled, however only Apache 2 " "and lighttpd can be configured automatically." msgstr "" "${package} はCGI が有効なサーバであればどれでもサポートていますが、自動的に設" "定できるのは Apache2 と lighttpd のみです。" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "Please select the web server(s) that should be configured automatically for " "${package}." msgstr "${package} 用に自動的に設定するウェブサーバを選択してください。" #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "Should the webserver(s) be restarted now?" msgstr "今すぐウェブサーバを再起動しますか?" #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "" "In order to activate the new configuration, the reconfigured web server(s) " "have to be restarted." msgstr "" "新規の設定を有効にするには、設定を変更したウェブサーバを再起動する必要があり" "ます。" debian/po/it.po0000644000000000000000000000421311407720560010562 0ustar # Italian (it) translation of debconf templates for cipux-cat-web # Copyright (C) 2007 Free Software Foundation, Inc. # This file is distributed under the same license as the cipux-cat-web package. # Luca Monducci , 2007-2008. # msgid "" msgstr "" "Project-Id-Version: cipux-cat-web 3.4.0~svn2598\n" "Report-Msgid-Bugs-To: cipux-cat-web@packages.debian.org\n" "POT-Creation-Date: 2008-09-13 10:43+0200\n" "PO-Revision-Date: 2008-08-23 10:49+0200\n" "Last-Translator: Luca Monducci \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "apache2" msgstr "apache2" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "lighttpd" msgstr "lighttpd" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "Web server(s) to configure automatically:" msgstr "Server web da configurare automaticamente:" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "${package} supports any web server with CGI enabled, however only Apache 2 " "and lighttpd can be configured automatically." msgstr "" "${package} può essere usato con qualsiasi server web con CGI attivo, ma " "questo processo di configurazione automatica funziona solo con Apache 2 e " "lighttpd." #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "Please select the web server(s) that should be configured automatically for " "${package}." msgstr "" "Selezionare quale/i server web configurare automaticamente per ${package}." #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "Should the webserver(s) be restarted now?" msgstr "Riavviare il/i server web adesso?" #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "" "In order to activate the new configuration, the reconfigured web server(s) " "have to be restarted." msgstr "" "Per attivare la nuova configurazione è necessario riavviare il/i server web " "appena riconfigurato/i." debian/po/fr.po0000644000000000000000000000416511407720560010563 0ustar # Traduction Debconf pour le paquet ${package} # Copyright (C) 2007 # This file is distributed under the same license as the cipux-cat-web package. # Vincent Bernat , 2007. # msgid "" msgstr "" "Project-Id-Version: cipux-cat-web 0.3.4\n" "Report-Msgid-Bugs-To: cipux-cat-web@packages.debian.org\n" "POT-Creation-Date: 2008-09-13 10:43+0200\n" "PO-Revision-Date: 2008-03-08 11:24+0100\n" "Last-Translator: Vincent Bernat \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "apache2" msgstr "Apache 2" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "lighttpd" msgstr "lighttpd" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "Web server(s) to configure automatically:" msgstr "Serveur(s) web à configurer automatiquement :" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "${package} supports any web server with CGI enabled, however only Apache 2 " "and lighttpd can be configured automatically." msgstr "" "${package} fonctionne avec n'importe quel serveur web qui gère les CGI. " "Cependant, seuls Apache 2 et lighttpd peuvent être configurés " "automatiquement." #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "Please select the web server(s) that should be configured automatically for " "${package}." msgstr "" "Veuillez choisir le(s) serveur(s) Web à configurer automatiquement pour " "${package}." #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "Should the webserver(s) be restarted now?" msgstr "Faut-il redémarrer le(s) serveur(s) web maintenant ?" #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "" "In order to activate the new configuration, the reconfigured web server(s) " "have to be restarted." msgstr "" "Afin d'activer la nouvelle configuration, le(s) serveur(s) web reconfiguré" "(s) doi(ven)t être redémarré(s)." debian/po/gl.po0000644000000000000000000000410311407720560010546 0ustar # Galician translation of roundcube's debconf templates # This file is distributed under the same license as the cipux-cat-web package. # Jacobo Tarrio , 2007, 2008. # msgid "" msgstr "" "Project-Id-Version: cipux-cat-web 0.3.4\n" "Report-Msgid-Bugs-To: cipux-cat-web@packages.debian.org\n" "POT-Creation-Date: 2008-09-13 10:43+0200\n" "PO-Revision-Date: 2008-03-07 16:27+0000\n" "Last-Translator: Jacobo Tarrio \n" "Language-Team: Galician \n" "Language: gl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "apache2" msgstr "apache2" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "lighttpd" msgstr "lighttpd" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "Web server(s) to configure automatically:" msgstr "Servidor(es) web a reconfigurar automaticamente:" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 #, fuzzy msgid "" "${package} supports any web server with CGI enabled, however only Apache 2 " "and lighttpd can be configured automatically." msgstr "" "${package} soporta os servidores web soportados por PHP; nembargantes, só se " "poden configurar automaticamente Apache 2 e lighttpd." #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "Please select the web server(s) that should be configured automatically for " "${package}." msgstr "" "Escolla o(s) servidor(es) web que se deberían configurar automaticamente " "para ${package}." #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "Should the webserver(s) be restarted now?" msgstr "¿Debería(n) reiniciarse o(s) servidor(es) web?" #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "" "In order to activate the new configuration, the reconfigured web server(s) " "have to be restarted." msgstr "" "Para activar a nova configuración hai que reiniciar o(s) servidor(es) web " "reconfigurado(s)." debian/po/cs.po0000644000000000000000000000406111407720560010554 0ustar # 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: cipux-cat-web 0.3.4\n" "Report-Msgid-Bugs-To: cipux-cat-web@packages.debian.org\n" "POT-Creation-Date: 2008-09-13 10:43+0200\n" "PO-Revision-Date: 2008-03-09 13:03+0100\n" "Last-Translator: Miroslav Kure \n" "Language-Team: Czech \n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "apache2" msgstr "apache2" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "lighttpd" msgstr "lighttpd" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "Web server(s) to configure automatically:" msgstr "Webové servery, které se mají nastavit automaticky:" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "${package} supports any web server with CGI enabled, however only Apache 2 " "and lighttpd can be configured automatically." msgstr "" "${package} podporuje libovolný webserver s povoleným CGI, ovšem automaticky " "lze nastavit pouze Apache 2 a lighttpd." #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "Please select the web server(s) that should be configured automatically for " "${package}." msgstr "" "Vyberte prosím webové servery, které se mají automaticky nastavit pro " "${package}." #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "Should the webserver(s) be restarted now?" msgstr "Mají se webové servery restartovat nyní?" #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "" "In order to activate the new configuration, the reconfigured web server(s) " "have to be restarted." msgstr "" "Aby se nové nastavení projevilo, musí se příslušné webové servery " "restartovat." debian/po/es.po0000644000000000000000000000553611407720560010566 0ustar # cipux-cat-web translation to spanish # Copyright (C) 2004 Software in the Public Interest # This file is distributed under the same license as the cipux-cat-web package. # # Changes: # - Initial translation # Carlos Galisteo de Cabo , 2008 # # # 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: cipux-cat-web 0.3.4\n" "Report-Msgid-Bugs-To: cipux-cat-web@packages.debian.org\n" "POT-Creation-Date: 2008-09-13 10:43+0200\n" "PO-Revision-Date: 2008-04-01 18:21+0200\n" "Last-Translator: Carlos Galisteo \n" "Language-Team: \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "apache2" msgstr "apache2" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "lighttpd" msgstr "lighttpd" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "Web server(s) to configure automatically:" msgstr "Servidores web a reconfigurar automáticamente:" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "${package} supports any web server with CGI enabled, however only Apache 2 " "and lighttpd can be configured automatically." msgstr "" "${package} funciona con cualquier servidor web que soporte CGI, sin embargo " "sólo se configuran automáticamente Apache 2 y lighttpd." #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "Please select the web server(s) that should be configured automatically for " "${package}." msgstr "" "Seleccione el/los servidor/es web que debe/n configurarse automáticamente " "para ${package}." #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "Should the webserver(s) be restarted now?" msgstr "¿Debe/n reiniciarse ahora el/los servidor/es web?" #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "" "In order to activate the new configuration, the reconfigured web server(s) " "have to be restarted." msgstr "" "El/los servidor/es web debe/n reiniciarse para activar la nueva " "configuración." debian/po/da.po0000644000000000000000000000421111407720560010530 0ustar # Danish translations for cipux-cat-web debconf templates # Danske oversættelser for pakke cipux-cat-web debconf-skabeloner. # Copyright (C) 2008 Jonas Smedegaard # This file is distributed under the same license as the cipux-cat-web package. # Jonas Smedegaard , 2008. # msgid "" msgstr "" "Project-Id-Version: cipux-cat-web 0.3.4\n" "Report-Msgid-Bugs-To: cipux-cat-web@packages.debian.org\n" "POT-Creation-Date: 2008-09-13 10:43+0200\n" "PO-Revision-Date: 2008-08-23 15:14+0200\n" "Last-Translator: Jonas Smedegaard \n" "Language-Team: Danish\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "apache2" msgstr "apache2" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "lighttpd" msgstr "lighttpd" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "Web server(s) to configure automatically:" msgstr "Webserver(e) at sætte op automatisk:" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "${package} supports any web server with CGI enabled, however only Apache 2 " "and lighttpd can be configured automatically." msgstr "" "${package} understøtter enhver webserver med CGI aktiveret. Det er dog kun " "Apache 2 og lighttpd som kan sættes op automatisk." #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "Please select the web server(s) that should be configured automatically for " "${package}." msgstr "" "Angiv den/de webserver(e) som automatisk skal sættes op til ${package}." #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "Should the webserver(s) be restarted now?" msgstr "Skal webserveren/webserverne genstartes nu?" #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "" "In order to activate the new configuration, the reconfigured web server(s) " "have to be restarted." msgstr "" "For at aktivere den nye opsætning, skal den/de tilrettede webserver(e) " "genstartes." debian/po/ta.po0000644000000000000000000000563711407720560010565 0ustar # translation of cipux-cat-web debconf templates to Tamil # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the cipux-cat-web package. # Dr.T.Vasudevan , 2008. # msgid "" msgstr "" "Project-Id-Version: cipux-cat-web 0.3.4\n" "Report-Msgid-Bugs-To: cipux-cat-web@packages.debian.org\n" "POT-Creation-Date: 2008-09-13 10:43+0200\n" "PO-Revision-Date: 2008-03-07 19:05+0530\n" "Last-Translator: Dr.T.Vasudevan \n" "Language-Team: Tamil \n" "Language: ta\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: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "apache2" msgstr "அபாசே2" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "lighttpd" msgstr "லைட்டிபிடி (lighttpd)" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "Web server(s) to configure automatically:" msgstr "தானியங்கியாக வடிவமைக்க வலை சேவையகம்(கங்கள்):" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 #, fuzzy msgid "" "${package} supports any web server with CGI enabled, however only Apache 2 " "and lighttpd can be configured automatically." msgstr "" "ரவுண்ட் க்யூப் ஹெச்பிஆல் ஆதரிக்கப்பட்ட எந்த வலை சேவையகத்தையும் ஆதரிக்கும். ஆயினும் அபாசே 2 " "மற்றும் லைட்டிபிடி (lighttpd ) மட்டுமே தானியங்கியாக வடிவமைக்கப்பட முடியும்." #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 #, fuzzy msgid "" "Please select the web server(s) that should be configured automatically for " "${package}." msgstr "" "ரவ்ண்ட்க்யூப் க்கு தானியங்கியாக வடிவமைக்கப்பட வேண்டிய வலை சேவையகத்தை(கங்களை) " "தேர்ந்தெடுக்கவும்." #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "Should the webserver(s) be restarted now?" msgstr "வலை சேவையகத்தை(கங்களை) மீள் துவக்கவா?" #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "" "In order to activate the new configuration, the reconfigured web server(s) " "have to be restarted." msgstr "" "புதிய வடிவமைப்பை செயல்படுத்த வடிவமைத்த வலை சேவையகம் (-கங்கள்) மீள் துவக்கப் பட வேண்டும்." debian/po/ar.po0000644000000000000000000000432011407720560010547 0ustar # translation of ar.po to Arabic # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Ossama M. Khayat , 2007, 2008. msgid "" msgstr "" "Project-Id-Version: cipux-cat-web 0.3.4\n" "Report-Msgid-Bugs-To: cipux-cat-web@packages.debian.org\n" "POT-Creation-Date: 2008-09-13 10:43+0200\n" "PO-Revision-Date: 2008-09-20 14:42+0300\n" "Last-Translator: Ossama M. Khayat \n" "Language-Team: Arabic \n" "Language: ar\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: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "apache2" msgstr "apache2" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "lighttpd" msgstr "lighttpd" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "Web server(s) to configure automatically:" msgstr "خادم الوب المطلوب تهيئته آلياً:" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "${package} supports any web server with CGI enabled, however only Apache 2 " "and lighttpd can be configured automatically." msgstr "" "يدعم ${package} أي خادم تُمكّن فيه واجهة CGI، ولكن يمكن حالياً فقط تهيئة Apache " "2 و lighttpd آلياً." #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "Please select the web server(s) that should be configured automatically for " "${package}." msgstr "الرجاء اختيار خادم الوب الذي يجب أن يقوم ${package} بتهيئته آلياً." #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "Should the webserver(s) be restarted now?" msgstr "هل تريد تشغيل خادم الوب الآن؟" #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "" "In order to activate the new configuration, the reconfigured web server(s) " "have to be restarted." msgstr "" "لتنشيط التهيئة الجديدة، يجب إعادة تشغيل خادمات الوب التي تمت إعادة تهيئتها." debian/po/POTFILES.in0000644000000000000000000000006211407720560011361 0ustar [type: gettext/rfc822deb] cipux-cat-web.templates debian/po/templates.pot0000644000000000000000000000317112060401222012315 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Jonas Smedegaard # This file is distributed under the same license as the cipux-cat-web package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: cipux-cat-web 3.4.0~svn2646\n" "Report-Msgid-Bugs-To: cipux-cat-web@packages.debian.org\n" "POT-Creation-Date: 2008-09-13 10:43+0200\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 #. Choices #: ../cipux-cat-web.templates:2001 msgid "apache2" msgstr "" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "lighttpd" msgstr "" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "Web server(s) to configure automatically:" msgstr "" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "${package} supports any web server with CGI enabled, however only Apache 2 " "and lighttpd can be configured automatically." msgstr "" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "Please select the web server(s) that should be configured automatically for " "${package}." msgstr "" #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "Should the webserver(s) be restarted now?" msgstr "" #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "" "In order to activate the new configuration, the reconfigured web server(s) " "have to be restarted." msgstr "" debian/po/sv.po0000644000000000000000000000422411407720560010600 0ustar # translation of cipux-cat-web_sv.po to Swedish # Copyright (C) 2008 # This file is distributed under the same license as the cipux-cat-web package. # # Martin Ågren , 2008. msgid "" msgstr "" "Project-Id-Version: cipux-cat-web_sv\n" "Report-Msgid-Bugs-To: cipux-cat-web@packages.debian.org\n" "POT-Creation-Date: 2008-09-13 10:43+0200\n" "PO-Revision-Date: 2008-08-25 14:30+0200\n" "Last-Translator: Martin Ågren \n" "Language-Team: Swedish \n" "Language: sv\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=2; plural=(n != 1);\n" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "apache2" msgstr "apache2" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "lighttpd" msgstr "lighttpd" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "Web server(s) to configure automatically:" msgstr "Webbserver(-rar) att konfigurera automatiskt:" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "${package} supports any web server with CGI enabled, however only Apache 2 " "and lighttpd can be configured automatically." msgstr "" "${package} stödjer alla webbservrar med CGI, men det är bara Apache 2 och " "lighttpd som kan konfigureras automatiskt." #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "Please select the web server(s) that should be configured automatically for " "${package}." msgstr "" "Välj en eller flera webbservrar som ska konfiguras automatiskt för att " "använda ${package}." #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "Should the webserver(s) be restarted now?" msgstr "Ska webbservern(-rarna) startas om nu?" #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "" "In order to activate the new configuration, the reconfigured web server(s) " "have to be restarted." msgstr "" "De omkonfigurerade webbservrarna måste startas om för att den nya " "konfigurationen ska aktiveras." debian/po/ru.po0000644000000000000000000000501111407720560010571 0ustar # translation of 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 , 2007, 2008. msgid "" msgstr "" "Project-Id-Version: ru\n" "Report-Msgid-Bugs-To: cipux-cat-web@packages.debian.org\n" "POT-Creation-Date: 2008-09-13 10:43+0200\n" "PO-Revision-Date: 2008-08-24 10:13+0400\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \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: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "apache2" msgstr "apache2" #. Type: multiselect #. Choices #: ../cipux-cat-web.templates:2001 msgid "lighttpd" msgstr "lighttpd" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "Web server(s) to configure automatically:" msgstr "Веб-сервер(ы), которые нужно настроить автоматически:" #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "${package} supports any web server with CGI enabled, however only Apache 2 " "and lighttpd can be configured automatically." msgstr "" "${package} работает с любым веб-сервером, поддерживающим CGI, однако " "автоматическая настройка выполняется только для Apache 2 и lighttpd." #. Type: multiselect #. Description #: ../cipux-cat-web.templates:2002 msgid "" "Please select the web server(s) that should be configured automatically for " "${package}." msgstr "" "Выберите веб-сервер(ы), которые нужно настроить автоматически под ${package}." #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "Should the webserver(s) be restarted now?" msgstr "Перезапустить веб-сервер(ы) прямо сейчас?" #. Type: boolean #. Description #: ../cipux-cat-web.templates:3001 msgid "" "In order to activate the new configuration, the reconfigured web server(s) " "have to be restarted." msgstr "" "Чтобы новая конфигурация вступила в силу, нужно перезапустить " "перенастроенный веб-сервер(ы)." debian/compat0000644000000000000000000000000211560243152010363 0ustar 7 debian/po2html.pl0000644000000000000000000001417411407720647011127 0ustar #!/usr/bin/perl -w -T # +=======================================================================+ # || || # || || # || || # || || # || || # || || # || (c) 2007 by Christian Kuelker || # || || # || License GPLv2 or later || # || || # +=======================================================================+ # Debian: liblocale-po-perl use strict; use Locale::PO; use Carp; use File::Basename; use Getopt::Long; #use lib '../../../common/src/lib'; use CipUX; # +=======================================================================+ # || GLOBAL || # +=======================================================================+ delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)}; # Make %ENV safer my $source = 'C'; my $target = 'de'; my $destdir = $ENV{DESTDIR}; my $C = CipUX->new( { debug => 0 } ); # +=======================================================================+ # || CLI || # +=======================================================================+ GetOptions( "source=s" => \$source, # C "target=s" => \$target, # de "destdir=s" => \$destdir # /tmp/xyz )or croak "Problems parsing command line!\n"; my $debug = 0; $destdir = $C->l($destdir); if($destdir ne ''){ mkdir $destdir if !-d $destdir; } my $source_lang_path_code = $C->l($source); # C my $target_lang_path_code = $C->l($target); # de # source_template_files = shift; # ../tpl/C/default/groupadmin/create.html # +=======================================================================+ # || || # +=======================================================================+ my $filename = $target_lang_path_code . ".po"; my $po_href = Locale::PO->load_file_ashash($filename); foreach my $key ( sort keys %$po_href ) { print "KEY [$key] -> " . $$po_href{$key}->msgstr . "\n" if $debug; my $string = $$po_href{$key}; $string =~ s/\s+//; if ( not defined($string) or $string eq "" ) { $$po_href{$key} = $key; print "WARNING: untranslated string [$key] in [$filename]!\n"; } } # +=======================================================================+ # || || # +=======================================================================+ foreach my $filename (@ARGV) { print "parsing file $filename ...\n"; open my $in, '<', $filename or croak "Can not open file [$filename] for reading!\n"; my $data = do { local $/; <$in> }; my $outdata = $data; while ( $data =~ m#(.*?)#sgmx ) { my $orig = $1; my $str = $orig; $str =~ s/\n/\\n/gsmx; $str =~ s/\s+/ /gsmx; $str =~ s/\A\s*//gsmx; # replace leading space $str =~ s/\s*\Z//gsmx; # replace trailing space $str =~ s/^\s*//gsmx; $str =~ s/\s*$//gsmx; $str =~ s/"/\\"/gsmx; # escape " $str =~ s/'/\\'/gsmx; # escape ' # $str =~ s/\s\s/\s/sgmx; $str = '"' . $str . '"'; print "Y [$str][$$po_href{$str}] Y\n" if $debug; if ( defined( $$po_href{$str} ) ) { my $trans = $$po_href{$str}->msgstr; $trans = $$po_href{$str}->dequote($trans); print "X [$str][$trans] X\n" if $debug; if ( defined($trans) ) { print "HIT [$orig] AS KEY [$str]\n" if $debug; print "REPLACE [$trans]\n" if $debug; #print "OUTDATA: [$outdata] OUTDATA\n"; $outdata =~ m#(.*?)#sgmx; $orig =~ s/\[/\\[/g; # [ -> \[ $orig =~ s/\]/\\]/g; # ] -> \] $orig =~ s/\(/\\(/g; # ( -> \( $orig =~ s/\)/\\)/g; # ) -> \) $trans =~ s/\\n/\n/g; $outdata =~ s#$orig#$trans#sgm; } else { print "NOREPLACE\n"; #$outdata =~ s#$orig#$orig#sgmx; } } } close $in; print "[$outdata]\n" if $debug; # my $target_lang_path_code = shift; # de # my $source_lang_path_code = shift; # C my $out_filename = $filename; $out_filename =~ s#/$source_lang_path_code/#/$target_lang_path_code/#g; $out_filename =~s#^../## if defined $ENV{DESTDIR}; $out_filename = $destdir."/".$out_filename; $out_filename =~s#^//#/# if defined $ENV{DESTDIR}; print "in filename [$filename]\n"; print "out filename [$out_filename]\n"; print "destdir [$destdir]\n"if defined $ENV{DESTDIR}; if ( $out_filename ne $filename ) { if ( $out_filename =~ m#/$target_lang_path_code/# ) { # ok we can write it: my $dirname = $C->l(dirname($out_filename)); system("mkdir -p $dirname") if !-d $dirname; if ( -d $dirname ) { $out_filename = $C->l($out_filename); open my $out, ">", $out_filename; print $out $outdata; close $out; } else { error("directory $dirname do not exist!"); } } else { error("wrong calculated target path! [$out_filename]"); } } else { error("source and target are the same! [$out_filename]"); } } exit(0); sub error { my $msg = shift; chomp($msg); print "=" x 76 . "\n"; print "ERROR: $msg \n"; print "=" x 76 . "\n"; exit(1); } debian/cipux-cat-web.install0000644000000000000000000000006611407720560013232 0ustar usr/bin/ usr/share/man/man1/ usr/share/cipux-cat-web/ debian/cipux-cat-web.config0000644000000000000000000000055311407720560013032 0ustar #!/bin/sh -e # Source debconf library. . /usr/share/debconf/confmodule db_version 2.0 pkg=cipux-cat-web # Set package name here to ease template reuse across packages db_subst "$pkg/reconfigure-webserver" package "CipUX CAT-web" db_input medium "$pkg/reconfigure-webserver" || true db_go || true db_input medium "$pkg/restart-webserver" || true db_go || true debian/TODO0000644000000000000000000000070311407720560007660 0ustar * Setup logrotate * Consider root:adm access (not www-data:www-data) to logdir and -file * Consider default access to configdir (not 0750) to configdir and -file * Drop dependencies on libversion-perl after Lenny+1 is released. * Apply cipux-cat-web.templates.pending, and extend with all warnings currently echoed directly from packaging scripts. * invoke "cipux_cat_web_module --enable --admin --register --all" in postinst. debian/README.Debian0000644000000000000000000000261111407720560011231 0ustar CipUX CAT-web for Debian ======================== Access to XML-RPC interface --------------------------- Debian (unlike upstream) by default connect to XML-RPC service through plain http to localhost on port 8001. If XML-RPC service is located on a remote host, the configuration option catweb_rpc_server in `/etc/cipux-cat-web/cipux-cat-web.conf` should be changed accordingly. Always use secure connection for remote access, and then most likely use port 8000. Read the documentation of cipux-rpcd for how to enable secure connection for remote access to the XML-RPC service. Allow only secure web access! ----------------------------- The provided Apache 2 and Lighttpd configurations both limits access to only secure connections. Disabling this is a major security risk! If secure connections does not work out-of-the-box with the chosen webserver, then read its documentation for how to enable SSL and/or acquire a certificate (or create a so-called "self-signed" certificate). Use with older Lighttpd ----------------------- Default Lighttpd setup needs lighttpd 1.4.19 or newer. Older versions does not support "scheme" condition used in the config snippet `/etc/cipux-cat-web/lighttpd.conf`. To use with older versions of Lighttpd, that config snippet need to be adjusted to ensure secure connection through some other means. -- Jonas Smedegaard Mon, 15 Sep 2008 03:25:10 +0200 debian/libcipux-cat-web-perl.dirs0000644000000000000000000000010012060376006014137 0ustar etc/cipux-cat-web var/cache/cipux-cat-web var/log/cipux-cat-web debian/copyright0000644000000000000000000000344711560264667011146 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=174 Upstream-Name: CipUX::CAT::Web Upstream-Contact: Christian Kuelker Source: svn://svn.debian.org/svn/cipux/trunk/cipux-core/cat-web/src Files: * Copyright: 2006-2010, Christian Kuelker License: GPL-2+ Files: debian/po/it.po Copyright: 2007, Free Software Foundation, Inc License: GPL-2+ This file is distributed under the same license as the cipux-cat-web package. Files: debian/po/pt.po Copyright: Miguel Figueiredo License: GPL-2+ This file is distributed under the same license as the cipux-cat-web package. Files: debian/po/ja.po Copyright: 2010, Nobuhiro Iwamatsu License: GPL-2+ This file is distributed under the same license as the cipux-cat-web package. Files: debian/po/es.po Copyright: 2004, Software in the Public Interest License: GPL-2+ This file is distributed under the same license as the cipux-cat-web package. Files: debian/* lib/CipUX/CAT/Web/I18N/da.po Copyright: 2008-2010, Jonas Smedegaard License: GPL-2+ License: GPL-2+ 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, 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. Comment: On Debian systems the GNU General Public License (GPL) version 2 is located in '/usr/share/common-licenses/GPL-2'. . You should have received a copy of the GNU General Public License along with this program. If not, see . debian/copyright_hints0000644000000000000000000002605211560264151012334 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=174 Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: Build.PL Changes MANIFEST MANIFEST.SKIP META.yml Makefile.PL bin/cipux_cat_web_list_plugin debian/README.Debian debian/README.source debian/TODO debian/apache.conf debian/cipux-cat-web.config debian/cipux-cat-web.dirs debian/cipux-cat-web.install debian/cipux-cat-web.postinst.in debian/cipux-cat-web.postrm.in debian/cipux-cat-web.templates debian/cipux-cat-web.templates.pending debian/compat debian/control debian/control.in debian/dpkg-daemon-helper debian/gbp.conf debian/libcipux-cat-web-perl.install debian/lighttpd.conf debian/po/POTFILES.in debian/po/de.po debian/po/fi.po debian/po/gl.po debian/postinst debian/source/format debian/watch doc/dep/depgraph.dot doc/dep/depgraph.svg doc/example/cipux_apache.conf doc/example/js-help.txt doc/future/cipux-cat-web.ini doc/maketext.files etc/apache2/conf.d/cipux_apache.conf lib/CipUX/CAT/Web/Plugin.pm t/00_load.t t/L10N.t t/Web.t t/leaktrace.t t/pod.t t/refcount.t tpl/Berlin/basic_assignment/group.html tpl/Berlin/basic_assignment/index.html tpl/Berlin/basic_assignment/layout.html tpl/Berlin/basic_object/create.html tpl/Berlin/basic_object/layout.html tpl/Berlin/basic_object/list.html tpl/Berlin/chooser/index.html tpl/Berlin/chooser/layout.html tpl/Berlin/default.css tpl/Berlin/error/index.html tpl/Berlin/error/layout.html tpl/Berlin/exception/index.html tpl/Berlin/exception/layout.html tpl/Berlin/externallink/index.html tpl/Berlin/externallink/layout.html tpl/Berlin/footer/index.html tpl/Berlin/footer/layout.html tpl/Berlin/form.css tpl/Berlin/header/index.html tpl/Berlin/img/admin.png tpl/Berlin/img/assignment.png tpl/Berlin/img/basicobject.png tpl/Berlin/img/cat.png tpl/Berlin/img/chooser.png tpl/Berlin/img/externallink.png tpl/Berlin/img/group.png tpl/Berlin/img/module.png tpl/Berlin/img/perlversion.png tpl/Berlin/img/role.png tpl/Berlin/img/senior.png tpl/Berlin/img/serverinfo.png tpl/Berlin/img/setup.png tpl/Berlin/img/skel.png tpl/Berlin/img/user.png tpl/Berlin/index/index.html tpl/Berlin/index/layout.html tpl/Berlin/js-head.javascript tpl/Berlin/login/index.html tpl/Berlin/login/layout.html tpl/Berlin/logout/layout.html tpl/Berlin/logout/logout.html tpl/Berlin/module_browser/index.html tpl/Berlin/module_browser/layout.html tpl/Berlin/module_custody/index.html tpl/Berlin/module_custody/layout.html tpl/Berlin/module_switch/index.html tpl/Berlin/module_switch/layout.html tpl/Berlin/nav/abcnav.html tpl/Berlin/perlversion/index.html tpl/Berlin/perlversion/layout.html tpl/Berlin/serverinfo/index.html tpl/Berlin/serverinfo/layout.html tpl/Berlin/status_line/index.html tpl/Berlin/status_line/layout.html tpl/Zeuthen/basic_assignment/group.html tpl/Zeuthen/basic_assignment/index.html tpl/Zeuthen/basic_assignment/layout.html tpl/Zeuthen/basic_object/create.html tpl/Zeuthen/basic_object/layout.html tpl/Zeuthen/basic_object/list.html tpl/Zeuthen/chooser/index.html tpl/Zeuthen/chooser/layout.html tpl/Zeuthen/default.css tpl/Zeuthen/error/index.html tpl/Zeuthen/error/layout.html tpl/Zeuthen/exception/index.html tpl/Zeuthen/exception/layout.html tpl/Zeuthen/externallink/index.html tpl/Zeuthen/externallink/layout.html tpl/Zeuthen/footer/index.html tpl/Zeuthen/footer/layout.html tpl/Zeuthen/form.css tpl/Zeuthen/header/index.html tpl/Zeuthen/index/empty.html tpl/Zeuthen/index/index.html tpl/Zeuthen/index/layout.html tpl/Zeuthen/js-head.javascript tpl/Zeuthen/login/index.html tpl/Zeuthen/login/layout.html tpl/Zeuthen/logout/layout.html tpl/Zeuthen/logout/logout.html tpl/Zeuthen/module_browser/index.html tpl/Zeuthen/module_browser/layout.html tpl/Zeuthen/module_custody/index.html tpl/Zeuthen/module_custody/layout.html tpl/Zeuthen/module_switch/index.html tpl/Zeuthen/module_switch/layout.html tpl/Zeuthen/nav/abcnav.html tpl/Zeuthen/perlversion/index.html tpl/Zeuthen/perlversion/layout.html tpl/Zeuthen/serverinfo/index.html tpl/Zeuthen/serverinfo/layout.html tpl/Zeuthen/status_line/index.html tpl/Zeuthen/status_line/layout.html tpl/default/basic_assignment/group.html tpl/default/basic_assignment/index.html tpl/default/basic_assignment/layout.html tpl/default/basic_object/create.html tpl/default/basic_object/layout.html tpl/default/basic_object/list.html tpl/default/chooser/index.html tpl/default/chooser/layout.html tpl/default/default.css tpl/default/error/index.html tpl/default/error/layout.html tpl/default/exception/index.html tpl/default/exception/layout.html tpl/default/externallink/index.html tpl/default/externallink/layout.html tpl/default/footer/index.html tpl/default/footer/layout.html tpl/default/form.css tpl/default/header/index.html tpl/default/img/admin.png tpl/default/img/assignment.png tpl/default/img/basicobject.png tpl/default/img/chooser.png tpl/default/img/externallink.png tpl/default/img/group.png tpl/default/img/module.png tpl/default/img/perlversion.png tpl/default/img/role.png tpl/default/img/senior.png tpl/default/img/serverinfo.png tpl/default/img/setup.png tpl/default/img/skel.png tpl/default/img/user.png tpl/default/index/index.html tpl/default/index/layout.html tpl/default/js-head.javascript tpl/default/login/index.html tpl/default/login/layout.html tpl/default/logout/layout.html tpl/default/logout/logout.html tpl/default/module_browser/index.html tpl/default/module_browser/layout.html tpl/default/module_custody/index.html tpl/default/module_custody/layout.html tpl/default/module_switch/index.html tpl/default/module_switch/layout.html tpl/default/nav/abcnav.html tpl/default/perlversion/index.html tpl/default/perlversion/layout.html tpl/default/serverinfo/index.html tpl/default/serverinfo/layout.html tpl/default/status_line/index.html tpl/default/status_line/layout.html tpl/default/translation/translation.html Copyright: *No copyright* License: UNKNOWN FIXME Files: bin/cipux_cat_web_configuration bin/cipux_cat_web_module cgi/cat.pl debian/po2html.pl lib/CipUX/CAT/Web.pm lib/CipUX/CAT/Web/Action.pm lib/CipUX/CAT/Web/Controller.pm lib/CipUX/CAT/Web/Exception.pm lib/CipUX/CAT/Web/L10N.pm lib/CipUX/CAT/Web/Module.pm lib/CipUX/CAT/Web/Module/BasicAssignment.pm lib/CipUX/CAT/Web/Module/BasicObject.pm lib/CipUX/CAT/Web/Module/Chooser.pm lib/CipUX/CAT/Web/Module/Index.pm lib/CipUX/CAT/Web/Module/ModuleBrowser.pm lib/CipUX/CAT/Web/Module/ModuleCustody.pm lib/CipUX/CAT/Web/Module/ModuleSwitch.pm lib/CipUX/CAT/Web/Setup/Client.pm lib/CipUX/CAT/Web/View.pm usr/share/cipux/etc/cipux-cat-web.ini Copyright: 2006, - 2008, Christian Kuelker || 2006, - 2009, Christian Kuelker || 2006, - 2010, Christian Kuelker || 2007, Christian Kuelker || 2008, - 2010, Christian Kuelker || 2008-2009, Christian Kuelker || 2009, Christian Kuelker || 2009-2010, Christian Kuelker || 2010, Christian Kuelker || License: UNKNOWN FIXME Files: lib/CipUX/CAT/Web/I18N/de.po lib/CipUX/CAT/Web/I18N/en.po lib/CipUX/CAT/Web/I18N/ja.po lib/CipUX/CAT/Web/I18N/messages.pot Copyright: 2007, Christian Kuelker 2008, Christian Kuelker License: UNKNOWN FIXME Files: lib/CipUX/CAT/Web/Module/ExternalLink.pm lib/CipUX/CAT/Web/Module/PerlVersion.pm lib/CipUX/CAT/Web/Module/ServerInfo.pm Copyright: 2010, Christian Kuelker HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR HOLDERS AND/OR OTHER PARTIES License: UNKNOWN FIXME Files: debian/po/eu.po debian/po/ru.po debian/po/ta.po Copyright: YEAR THE PACKAGE'S HOLDER License: UNKNOWN FIXME Files: debian/po/fr.po debian/po/sv.po Copyright: 2007 2008 License: UNKNOWN FIXME Files: README tst/i10ntest.pl Copyright: 2007, Christian Kuelker 2008, - 2010, Christian Kuelker License: UNKNOWN FIXME Files: doc/i18n.txt doc/l10n.txt Copyright: 2009, Christian Kuelker - 2009-12-31 version 0.1 License: UNKNOWN FIXME Files: etc/cipux-cat-web/log4perl.conf usr/share/cipux/etc/cipux-cat-web.log4perl Copyright: 2008, Christian Kuelker. || License: UNKNOWN FIXME Files: debian/po/da.po lib/CipUX/CAT/Web/I18N/da.po Copyright: 2008, Jonas Smedegaard 2008,2010, Jonas Smedegaard License: UNKNOWN FIXME Files: tpl/Berlin/img/layer.png tpl/Zeuthen/img/layer.png Copyright: >Gh3 2'Swlux6à3Ck`33MdC?t"EQcxl*7qmӱ(fRSgD0 އla.H_ED-KWa|4qYp*z :%B(giUQ@xYksNZZ[ښaa#iFV+ak3!"ZU׾!dj}%=rcmn=xZF~ʾR'~Qt <}}W.>}g~$3`35 N綯eN HOLDER/Jonas Smedegaard /" \ License: GPL FIXME Files: tpl/default/img/cat.png Copyright: &T"(qwA H#D.ݻ$3͝3;{9sϽiB|LR$gOD9O\4Kjp9#: ty{557V*SW8U*u(N`tJ2R&hkSimiOkWi)2n6SC[v/ז{KΎ@tS뗄{aB;Je+rqnN1MK0JizP~۰H{Z@4 x ~/ɶwoNyqg;Lq*|&hF7| License: UNKNOWN FIXME Files: t/10_i18n.t Copyright: (C( 2007, 2010 by Christian Kuelker License: UNKNOWN FIXME Files: doc/dep/depgraph.png Copyright: .Td`3=P4e>܏9`BxuȟO&tG迏 o tzՖ YEAR Jonas Smedegaard License: UNKNOWN FIXME Files: debian/po/es.po Copyright: 2004, Software in the Public Interest License: UNKNOWN FIXME Files: debian/po/templates.pot Copyright: YEAR Jonas Smedegaard License: UNKNOWN FIXME Files: debian/po/sk.po Copyright: YEAR THE PACKAGE'S HOLDER konfigurácia, nastaven webov servery je potrebn " nastaviť automaticky." servery teraz reštartovať?" webov servery sa majú nastaviť automaticky pre " webov servery:" License: UNKNOWN FIXME Files: debian/po/cs.po Copyright: YEAR THE PACKAGE'S HOLDER nastavení projevilo, musí se příslušn webov servery " servery restartovat nyní?" servery, kter se mají automaticky nastavit pro " servery, kter se mají nastavit automaticky:" License: UNKNOWN FIXME Files: lib/CipUX/CAT/Web/I18N/fr.po Copyright: d'xecuter [% form.field.info1.field % depuis" License: UNKNOWN FIXME debian/control.in0000644000000000000000000000437111560275015011205 0ustar Source: cipux-cat-web Section: perl Priority: optional Maintainer: CipUX team Uploaders: Jonas Smedegaard , Christian Kuelker , Xavier Oswald Build-Depends: @cdbs@ Standards-Version: 3.9.2 Vcs-Git: git://git.debian.org/git/collab-maint/cipux-cat-web.git Vcs-Browser: http://git.debian.org/?p=collab-maint/cipux-cat-web.git;a=summary Homepage: http://www.cipux.org/ Package: libcipux-cat-web-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: user and resource management framework CipUX - web-based admin tools CipUX is a modular framework for information abstraction and administration, primarily aimed at administration of users, groups and organisational resources stored in a central LDAP database. . CAT is CipUX Administration Tools, interacting with the core CipUX framework through XML-RPC. . Two CATs are provided officially with CipUX: - cipux-cat-web: generic web-based CAT - cipux-cat-moodle: CipUX plugin for Moodle These can be extended or replaced with custom tools. . This package contains CipUX::CAT::Web - functions used by the generic web-based CAT cipux-cat-web. Package: cipux-cat-web Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends} Recommends: ${cdbs:Recommends} Description: user and resource management framework CipUX - web-based admin tools CipUX is a modular framework for information abstraction and administration, primarily aimed at administration of users, groups and organisational resources stored in a central LDAP database. . CAT is CipUX Administration Tools, interacting with the core CipUX framework through XML-RPC. . Two CATs are provided officially with CipUX: - cipux-cat-web: generic web-based CAT - cipux-cat-moodle: CipUX plugin for Moodle These can be extended or replaced with custom tools. . This package contains the generic web-based CAT cipux-cat-web: a set of Perl CGI scripts for web server like Apache to administrate user, groups, machines stored in LDAP using the CipUX framework. The use of Template Toolkit (TT2) makes theming easy, for fancy layout or localization. debian/cipux-cat-web.dirs0000644000000000000000000000003411407720560012520 0ustar /var/lib/cipux-cat-web/dpkg debian/cipux-cat-web.templates0000644000000000000000000000126311407720560013562 0ustar # These templates are based on roundcube (and CGI phrase from backuppc) Template: cipux-cat-web/reconfigure-webserver Type: multiselect __Choices: apache2, lighttpd Default: apache2, lighttpd _Description: Web server(s) to configure automatically: ${package} supports any web server with CGI enabled, however only Apache 2 and lighttpd can be configured automatically. . Please select the web server(s) that should be configured automatically for ${package}. Template: cipux-cat-web/restart-webserver Type: boolean Default: true _Description: Should the webserver(s) be restarted now? In order to activate the new configuration, the reconfigured web server(s) have to be restarted. debian/watch0000644000000000000000000000020711407720560010220 0ustar # Run the "uscan" command to check for upstream updates and more. version=3 http://release.cipux.org/CipUX-CAT-Web-([0-9\.]+)\.tar\.gz debian/apache.conf0000644000000000000000000000070411407720560011261 0ustar AddHandler cgi-script .cgi Alias /cipux-cat-web /usr/share/cipux-cat-web/web Order Deny,Allow Allow from All Options ExecCGI # Redirect non-local insecure requests to secure port RewriteEngine On RewriteCond %{REMOTE_HOST} !^localhost$ RewriteCond %{REMOTE_ADDRESS} !^127\.0\.0\.[0-9]+$ RewriteCond %{HTTPS} !=on RewriteRule ^/cipux\-cat\-web/.+$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] debian/cipux-cat-web.templates.pending0000644000000000000000000000115411407720560015204 0ustar Template: cipux-cat-web/reconfigure-webserver Type: multiselect __Choices: apache2, lighttpd Default: apache2, lighttpd _Description: Web server(s) to configure automatically: ${package} supports any web server with CGI enabled, however only some of them can be configured automatically. . Please select the web server(s) that, if installed, should be configured automatically for ${package}. Template: cipux-cat-web/restart-webserver Type: boolean Default: true _Description: Should the webserver(s) be restarted? In order to activate the new configuration, the reconfigured web server(s) have to be restarted. debian/lighttpd.conf0000644000000000000000000000070211407720560011655 0ustar # Workaround for bug#498951 server.modules += ( "mod_redirect" ) # Limit access to secure connections only $HTTP["scheme"] == "https" { alias.url += ( "/cipux-cat-web" => "/usr/share/cipux-cat-web/web" ) $HTTP["url"] =~ "^/cipux-cat-web/" { cgi.assign = ( ".cgi" => "" ) index-file.names = ( "index.cgi" ) server.dir-listing = "disable" } } else $HTTP["host"] =~ "(.*)" { url.redirect = ("^/(cipux-cat-web/.*)" => "https://%1/$1") } debian/libcipux-cat-web-perl.install0000644000000000000000000000006611407720560014661 0ustar usr/share/cipux/ usr/share/perl5/ usr/share/man/man3/