--- lurker-2.1.orig/debian/lurker-index-lc +++ lurker-2.1/debian/lurker-index-lc @@ -0,0 +1,13 @@ +#!/bin/sh + +for i in $*; do + if [ "$next" == "list" ]; then + next="" + list=`echo $i | tr "[:upper:]" "[:lower:]"` + elif [ "$i" == "-l" ]; then + next="list" + else + args="$args $i" + fi +done +exec /usr/bin/lurker-index -l $list $args --- lurker-2.1.orig/debian/docs +++ lurker-2.1/debian/docs @@ -0,0 +1,7 @@ +AUTHORS +FAQ +README +index/lurker-drop-rlimit.cpp +debian/README.procmail +debian/README.maildrop +debian/README.mailman --- lurker-2.1.orig/debian/postrm +++ lurker-2.1/debian/postrm @@ -0,0 +1,61 @@ +#! /bin/sh +# postrm script for lurker +# +# see: dh_installdeb(1) + +set -e + +# debhelper stuff +#DEBHELPER# + +case "$1" in + remove) + for server in apache apache-ssl apache-perl apache2; do + if [ -f /etc/$server/conf.d/lurker ] || [ -h /etc/$server/conf.d/lurker ]; then + echo "Removing the lurker $server configuration." + rm -f /etc/$server/conf.d/lurker + + # restart server + restart="$restart $server" + fi + done + + for server in $restart; do + invoke-rc.d $server restart + done + ;; + + purge) + # remove the systemgroup lurker + LURKER_GROUP=lurker + if [ -x $(command -v delgroup) ]; then + echo -n "Removing $LURKER_GROUP group .." + delgroup --quiet --system $LURKER_GROUP > /dev/null || true + echo "..done" + else + echo >&2 "not removing $LURKER_GROUP system group because delgroup command was not found." + fi + + echo "Removing lurker configuration and database." + + # remove the configuration file itself + rm -f /etc/lurker/lurker.conf + + # and finally clear it out from the ucf database + if [ -x /usr/bin/ucf ]; then + /usr/bin/ucf --purge /etc/lurker/lurker.conf + fi + + rm -rf /var/lib/lurker + ;; + + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +exit 0 --- lurker-2.1.orig/debian/lurker.cron.d +++ lurker-2.1/debian/lurker.cron.d @@ -0,0 +1,2 @@ +*/15 * * * * www-data if test -f /var/lib/lurker/db; then /usr/bin/lurker-prune; fi + --- lurker-2.1.orig/debian/watch +++ lurker-2.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://qa.debian.org/watch/sf.php/lurker/lurker-(.*)\.tar\.gz debian uupdate --- lurker-2.1.orig/debian/lurker-index-lc.1 +++ lurker-2.1/debian/lurker-index-lc.1 @@ -0,0 +1,33 @@ +.TH "LURKER-INDEX-LC" "1" +.SH "NAME" +lurker-index-lc \(em wrapper for lurker-index to lowercase mailing list names +.SH "SYNOPSIS" +.PP +\fBlurker-index-lc\fR +.SH "DESCRIPTION" +.PP +\fBlurker-index-lc\fR is a wrapper for lurker-index +which converts the mailing list name to lowercase letters. + +.SH "SEE ALSO" +.PP +lurker-index(1) +.SH "COPYRIGHT" +.PP +Copyright (C) 2003-2005: Jonas Meurer + +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; version 2. + +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 St, Fifth Floor, Boston, MA +02110-1301, USA. + +.\" created by instant / docbook-to-man, Thu 09 Mar 2006, 12:07 --- lurker-2.1.orig/debian/postinst +++ lurker-2.1/debian/postinst @@ -0,0 +1,123 @@ +#!/bin/sh +# postinst script for lurker +# + +. /usr/share/debconf/confmodule + +# debhelper stuff +#DEBHELPER# + +case "$1" in + configure) + # create the systemgroup 'lurker' + # sg lurker -c true 2> /dev/null || addgroup --system lurker + [ $LURKER_GROUP ] || LURKER_GROUP=lurker + if ! getent group | grep -q "^$LURKER_GROUP:"; then + echo -n "Adding group $LURKER_GROUP .." + addgroup --quiet --system $LURKER_GROUP + echo "..done" + fi + + # adjust directory permissions + if ! dpkg-statoverride --list /var/lib/lurker >/dev/null; then + chown -R root:$LURKER_GROUP /var/lib/lurker + chmod u=rwx,g=rwxs,o=rx /var/lib/lurker + fi + + chown root:root /var/www/lurker + www_data_files="attach list lurker.docroot mbox message mindex search splash thread zap" + for f in $www_data_files; do + chown -R www-data:www-data /var/www/lurker/$f + done + + # apache configuration section + apache_conf="/etc/lurker/apache.conf" + db_get lurker/apache_config + + if [ -z "$RET" ] && [ "$RET" = "none" ]; then + echo "No servers selected to configure" + else + # create symlinks + for server in $RET; do + server=${server%,} + + if [ ! -f /etc/$server/conf.d/lurker ] && [ ! -h /etc/$server/conf.d/lurker ]; then + case "$server" in + apache|apache-ssl|apache-perl) + if ! grep -q "^LoadModule rewrite_module " /etc/$server/modules.conf >/dev/null 2>&1; then + echo + echo "ERROR: lurker requires the $server rewrite module." + echo "see README.Debian for more information." + continue + fi + ;; + apache2) + if ! grep -q "^LoadModule rewrite_module" /etc/$server/mods-enabled/rewrite.load >/dev/null 2>&1; then + echo + echo "ERROR: lurker requires the $server rewrite module." + echo "see README.Debian for more information." + continue + fi + ;; + esac + echo -n "Automaticly configuring $server" + ln -s $apache_conf /etc/$server/conf.d/lurker + restart="$restart $server" + echo "." + else + echo "$server already configured." + fi + done + # restart servers + for server in $restart; do + invoke-rc.d $server restart + done + fi + + db_get lurker/upgrade_db + if [ "$RET" = "automatic" ]; then + echo "Automaticly regenerating lurker database." + /usr/bin/lurker-regenerate + fi + + # lurker configuration section + + db_get lurker/archive; archive=$RET + db_get lurker/admin_name; admin_name=$RET + db_get lurker/admin_address; admin_address=$RET + + # safely create a temporary file + tempfile=`tempfile -m 644` + + sed -e "s/^[[:space:]]*archive[[:space:]]*=.*/archive = $archive/" \ + -e "s/^[[:space:]]*admin_name[[:space:]]*=.*/admin_name = $admin_name/" \ + -e "s/^[[:space:]]*admin_address[[:space:]]*=.*/admin_address = $admin_address/" \ + < /usr/share/lurker/lurker.conf.template > $tempfile + + # ucf section + /usr/bin/ucf --three-way $tempfile /etc/lurker/lurker.conf + + # remove tempfile + rm -f $tempfile + + # set the lurker system group password + db_get lurker/group_passwd + echo "lurker:$RET" | /usr/sbin/chgpasswd + RET="" + + db_stop + + # clean web cache + if [ -x /usr/bin/lurker-prune ] && [ -f /etc/lurker/lurker.conf ] && [ -f /var/lib/lurker/db ]; then + echo "Pruning the lurker webserver cache." + su - www-data -c "/usr/bin/lurker-prune -p" + fi + ;; + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac --- lurker-2.1.orig/debian/copyright +++ lurker-2.1/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Jonas Meurer on +Tue, 4 Jun 2002 15:44:47 +0200. + +It was downloaded from http://lurker.sourceforge.net/ + +Upstream Author: Wesley W. Terpstra + +License: + + This package 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 package 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- lurker-2.1.orig/debian/README.maildrop +++ lurker-2.1/debian/README.maildrop @@ -0,0 +1,22 @@ +lurker with maildrop +-------------------- + + This README describes how to configure maildrop in the way that it delivers +list mail to lurker archives. + +This example rule delivers all mail to list 'example-list@lists.host.org' +to lurkers 'example-list' archive and additionally saves it to the mailbox +/var/mail/example-list.mbox. + +if ( /^Delivered-To: mailing list example-list@list.host.org.*/ ) +{ + # the first line copies all the example-list mails to a mailbox: + cc /var/mail/example-list.mbox + xfilter "lurker-index -l example-list -m" +} + + Thanks to Jamin W. Collins , who sent me this +example. I didn't test this since I don't use maildrop. If you have any +problems, feel free to contact him directly or though me as facilitator. + + -- Jonas Meurer , Sat, 12 Feb 2005 13:55:52 +0100 --- lurker-2.1.orig/debian/prerm +++ lurker-2.1/debian/prerm @@ -0,0 +1,29 @@ +#! /bin/sh +# prerm script for lurker +# +# see: dh_installdeb(1) + +# debhelper stuff +#DEBHELPER# + +case "$1" in + remove) + if [ -x /usr/bin/lurker-prune ] && [ -f /etc/lurker/lurker.conf ] && [ -f /var/lib/lurker/db ]; then + echo "Pruning the lurker webserver cache." + su - www-data -c "/usr/bin/lurker-prune -p" + fi + ;; + + purge) + ;; + + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +exit 0 --- lurker-2.1.orig/debian/changelog +++ lurker-2.1/debian/changelog @@ -0,0 +1,578 @@ +lurker (2.1-9) unstable; urgency=low + + * fixed watch file + + -- Jonas Meurer Fri, 10 Aug 2007 15:02:30 +0200 + +lurker (2.1-8) unstable; urgency=low + + * added japanese debconf translations, thanks to Kobayashi Noritada + (closes: #413361) + * added portuguese debconf translations, thanks to Ricardo Silva + (closes: #416798) + * added 02_gcc4.3_include_fixes.dpatch to fix build with gcc-4.3. + Thanks to Martin Michlmayr (closes: #417380) + * added check for delgroup before actually using it in postrm, it + might be unavailable at purge time. Thanks to Michael Ablassmeier + (closes: #417019) + * update copyright file: change "program" to "package", and mention GPL + version 2, not version 2.1 which is not available on debian systems. + + -- Jonas Meurer Sat, 28 Apr 2007 02:50:14 +0200 + +lurker (2.1-7) unstable; urgency=low + + * updated vi debconf translations, thanks to Clytie Siddall + + * fixed typo in one template (that you would like, not that + would you like), thanks as well to Clytie Siddall + - unfuzzied all translations + + -- Jonas Meurer Wed, 20 Dec 2006 05:05:31 +0100 + +lurker (2.1-6) unstable; urgency=medium + + * update czech debconf translations, thanks to Miroslav Kure + (closes: #389214) + * update swedish debconf translations, thanks to Daniel Nylander + + * don't do anything for webserver "none". this option was present in + the sarge versions of the package. urgency medium due to this bugfix. + thanks to Christoph Berg. (closes: #397472) + * bump dh_compat to 5 + * remove code to enable the apache rewrite module. really warn and stop + automatic webserver configuration if the module is not enabled. + + -- Jonas Meurer Tue, 21 Nov 2006 00:48:57 +0100 + +lurker (2.1-5) unstable; urgency=low + + * fix typo in README.Debian, it's called lurker-index-lc, not + lurker-index-fc. Thanks to Julian Mehnle + * bump standards-version to 3.7.2.0, no changes needed + * add a debconf template to set the lurker system group password + * depend on passwd (>= 1:4.0.16-1) as we use chgpasswd in postinst + * update french debconf template translations, thanks to Luc FROIDEFOND + and Florentin Duneau (closes: #360150, #369266) + * update swedish debconf translations, thanks to Daniel Nylander + + * update czech debconf translations, thanks to Miroslav Kure + + + * use groupdel instead of delgroup in postrm, as adduser is not essential. + Thanks to Bill Allombert. (closes: 388660) + + -- Jonas Meurer Fri, 22 Sep 2006 03:05:58 +0200 + +lurker (2.1-4) unstable; urgency=low + + * postinst: strip the comma from a debconf multiselect item. Thanks to + Paul Wise (closes: #356978) + * postinst: don't give 'none' as an option for the lurker/apache_conf + debconf multiselect. this cleans up the code and fixes a false positive + when both apaches and 'none' are selected. + + -- Jonas Meurer Mon, 20 Mar 2006 21:28:45 +0100 + +lurker (2.1-3) unstable; urgency=low + + * add build-depends on dpatch, thanks to Bastian Blank + (closes: #356935) + + -- Jonas Meurer Wed, 15 Mar 2006 17:52:38 +0100 + +lurker (2.1-2) unstable; urgency=low + + * release 2.1-1 fixed the following security issues: + - Since the configuration file needs to be specified in the URL and + lines not understood are exposed in an error message lurker was + able to display all files that are readable for the www-data user + and group. (CVE-2006-1062) + - It is possible for a remote attacker to create or overwrite files + in any writable directory that is named "mbox". (CVE-2006-1063) + - Missing input sanitising allows an attacker to inject arbitrary + web script or HTML. (CVE-2006-1064) + * rename luker-index-mm to lurker-index-lc. drop support for automatical + list configuration for new lists. update documentation accordingly. + * completely rewrite mailman2lurker.pl, rename it to mailman2lurker. + install mailman2lurker into /usr/bin, provide a manpage. + * add a note about the delete button in README.Debian. + * add patches/01_umask.dpatch, which adds the possibility to configure the + umask for lurker-index and lurker-search in lurker.conf. it fixes also the + documentation to not suggest to invoke lurker-index via 'sg' any more. + + -- Jonas Meurer Tue, 14 Mar 2006 13:26:58 +0100 + +lurker (2.1-1) unstable; urgency=low + + * new upstream release, fixing some security issues + * run lurker-prune only in prerm, not in postrm. Thanks, Wesley + * run lurker-prune in postinst too. Thanks, Wesley + * rewrite mailman2lurker script + * minor improvements to README.mailman, still a major revision is needed + * add --build (and eventually even --host) to confflags for cross-compiling + * update README.procmail to use group lurker for running lurker-index + + -- Jonas Meurer Tue, 7 Mar 2006 17:51:36 +0100 + +lurker (2.0-1) unstable; urgency=low + + * new upstream release + - use default config file for all binaries, remove lurker-index wrapper + - lurker-prune doesn't support -d any more + - adjust apache.conf + - the webinterface now has a reply and a trash button + - multiple frontends are supported now + * adjusted the configure flags + - cgi scripts are now in /usr/lib/cgi-bin/lurker/ + * removed old-mailman2lurker.sh + * updated 'database regeneration' debconf template and de.po + * don't remove conf.d/lurker for unconfigured apaches + * ran ispell against all files in debian, fixed many typos. + + -- Jonas Meurer Tue, 28 Feb 2006 21:11:19 +0100 + +lurker (1.3-6) unstable; urgency=low + + * fix permission of /var/www/lurker/mindex + * run lurker-prune as user www-data in prerm + * fix instructions about integration with mailman, thanks to + Mihai Maties (closes: #347896) + * run lurker-params only if available, fallback to sed otherwise. + Thanks to Laurent Bonnaud (closes: #348643) + + -- Jonas Meurer Fri, 20 Jan 2006 12:29:21 +0100 + +lurker (1.3-5) unstable; urgency=low + + * added depends on adduser (>= 3.11) + * fixed systemgroup 'lurker' creation and removal + * improved README.procmail, thanks to Seb for the + inspirations + * added swedish debconf translation, thanks to Daniel Nylander + . (closes: #342653) + * build against libmimelib1c2a (closes: #344490) + + -- Jonas Meurer Tue, 27 Dec 2005 17:24:50 +0100 + +lurker (1.3-4) unstable; urgency=low + + * improved README.Debian: + - lurker-regenerate is not a change to upstream + - apache2 doesn't enable the rewrite module by default. + - make configuration setup more clear + - improve the order of sections + * check for rewrite module before automaticly configuring apache2. + don't configure apache2 in case that the module isn't enabled, but + output an error message instead. (closes: #326924) + * relicensed lurker-regenerate(1) and lurker-index-mm(1) manpages to + remove GFDL licensed documentation. GFDL is not DFSG-free. + * improve lurker <-> mailman configuration + - lurker-index-mm checks for configured list before checking file + permissions + - /var/lib/lurker/* needs group writable permissions + * suggest gnupg, as lurker uses it to verify pgp/gpg keys + * suggest mailman, in most cases a list management software and the archiver + are on the same host + + -- Jonas Meurer Wed, 26 Oct 2005 15:57:01 +0200 + +lurker (1.3-3) unstable; urgency=low + + * rebuild against libstdc++6 and libmimelib1c2 for transitions + unfortunately libmimelib1c2 depends on kdelibs4c2 what causes + many new depends for lurker, especially when installed on a box without + x11 and kde. I'll try to unfuzzy that in future. + * add -I/usr/include/qt3 to CXXFLAGS to workaround the now broken configure + script which does not include qt3 headers (mimelib didn't depend on them, + that's new with kde 3.4.2). + * check for /usr/bin/ucf before using it in postrm + * add debconf-2.0 as alternative for debconf in depends + * unfuzzied debconf translations + * fixed bashims and usage of chmod in maintainer scripts + * removed obsolete support for upgrades from versions before 1.0 + * updated address of the FSF in debian/copyright + * fixed some typos in debconf templates, thanks to Clytie Siddall + (closes: #312624) + * added vietnamese debconf templates, thanks to Clytie Siddall + (closes: #312623) + * updated german debconf templates, thanks to Jens Seidel + (closes: #313973) + + -- Jonas Meurer Sun, 4 Sep 2005 05:28:20 +0200 + +lurker (1.3-2) unstable; urgency=low + + * patched common/MessageId.cpp to make lurker compile with gcc-2.95 + * updated french debconf templates, thanks to Eric (closes: #308354) + + -- Jonas Meurer Tue, 10 May 2005 16:17:45 +0200 + +lurker (1.3-1) unstable; urgency=low + + * new bugfix-only upstream release + * updated czech debconf templates, thanks to Miroslav Kure + (closes: #307169) + + -- Jonas Meurer Wed, 4 May 2005 13:52:15 +0200 + +lurker (1.2-6) unstable; urgency=low + + * patch lurker/CharsetEscape.cpp: lurker parsed mutt-generated + subject headers incorrectly (closes: #306859) + * add a note in NEWS.Debian to inform admins about the fact that + they have to regenerate lurkers database to apply the parsing + fix. + * updated french debconf templates, thanks to Eric (closes: #298958) + + -- Jonas Meurer Fri, 29 Apr 2005 15:47:28 +0200 + +lurker (1.2-5) unstable; urgency=low + + * added czech debconf translation, thanks to Miroslav Klose + (closes: #288017) + * cleaned up maintainer scripts + - moved #DEBHELPER# to beginning of postrm, to place it before rm -rf + - fixed lurker apache config removal + - fixed postinst to remove obsolete apache configs at dpkg-reconfigure + - added prerm: run lurker-prune to clean cache if db exists + - moved to tempfile for save generation of temporary conffile + - fixed ucf calls, lurker.conf now really maintained by ucf + - added apache2 support at the automatic webserver configuration + * split lurker.conf into lurker.conf.template and lurker.conf.local at build + - keep lurker.conf clean of list configuration to make maintainer scripts + more happy with the configuration files + * improved documentation + - some proofreading of README.procmail and README.maildrop + - some proofreading and reorganization of README.Debian + - some proofreading and improvements of README.mailman (closes: #294130) + + -- Jonas Meurer Sun, 27 Feb 2005 15:50:26 +0100 + +lurker (1.2-4) unstable; urgency=low + + * rebuild against latest libmimelib1a + + -- Jonas Meurer Mon, 22 Nov 2004 01:27:18 +0100 + +lurker (1.2-3) unstable; urgency=low + + * the "what have i done?" release + * built in up-to-date sid to make autobuilders happy + * improved README.mailman + + -- Jonas Meurer Sun, 26 Sep 2004 16:27:51 +0200 + +lurker (1.2-2) unstable; urgency=high + + * rebuilt in sarge: libmimelib from unstable kept lurker out of sarge + * urgency high to push it into sarge + + -- Jonas Meurer Tue, 21 Sep 2004 19:03:03 +0200 + +lurker (1.2-1) unstable; urgency=low + + * new upstream version + * removed deutsch.patch (merged upstream) + * removed lurker-regenerate.1 manpage (merged upstream) + * added information about the regroupable option in README.Debian + + -- Jonas Meurer Mon, 30 Aug 2004 18:11:44 +0200 + +lurker (1.1-6) unstable; urgency=low + + Thanks to Christian Perrier: + + * updated French debconf translation (closes: #257549) + * patched german xsl template (closes: #261206) + * (hopefully) fixed debian/watch + * added a mailman2lurker rewrite in perl. much better code! + + -- Jonas Meurer Sun, 1 Aug 2004 17:05:17 +0200 + +lurker (1.1-5) unstable; urgency=low + + * removed libmimelib-dev from build-depends, as only libmimelib1-dev exists + * really installing README.mailman & README.maildrop to doc directory + * added mailman2lurker.sh script, written in bash. it really needs to be + rewritten in perl as soon as possible. the code is terrible! + + -- Jonas Meurer Sun, 4 Jul 2004 03:05:41 +0200 + +lurker (1.1-4) unstable; urgency=low + + * moved xsl stuff (fmt directory) to /etc/lurker (closes: #254470) + + -- Jonas Meurer Fri, 18 Jun 2004 22:08:11 +0200 + +lurker (1.1-3) unstable; urgency=low + + * fixed lurker.conf.mm (heading was to long) + + -- Jonas Meurer Wed, 9 Jun 2004 16:54:39 +0200 + +lurker (1.1-2) unstable; urgency=low + + * Added French debconf translation (closes: #246807) + * Added debian/watch file + * Improved and fixed lurker-index-mm + - uses /etc/lurker/lurker.conf.mm now for creating new lists + - removed annoying debugging stuff + - allow to configure default listname in lurker.conf.mm + - allow to configure default list url in lurker.conf.mm + * Updated README.Mailman + * added examples for lurker.conf and lurker.conf.mm in docs/lurker/examples + + -- Jonas Meurer Tue, 8 Jun 2004 23:50:34 +0200 + +lurker (1.1-1) unstable; urgency=low + + * improved and redesigned maintainer scripts: + - Modified check for older databases + - improved debconf style (check for files, scripts break more rarely) + - Handling lurker.conf with ucf now + - Updated to support new apache config style + - Check for apaches include dirs, if failed don't ask for update but + output a different debconf template. + * Acknowledged NMUs (closes: #200872, #233900, #235879, #240865) + * changed Build-Depends to libmimelib1-dev | libmimelib-dev. + * added po-debconf to Build-Depends + * added README.mailman and lurker-index-mm, support for mailman + + -- Jonas Meurer Fri, 21 May 2004 17:31:22 +0200 + +lurker (1.1-0.2) unstable; urgency=low + + * Rebuilt against libmimelib1-dev (closes: #240865) + * Include default config file (closes: #235879) + * Patch to add new translations (closes: #233900) + * Include a backup copy of the default lurker config in doc + * Fixed a problem with apache not restarting after lurker install + + -- Wesley W. Terpstra (Debian) Mon, 5 Apr 2004 18:51:23 +0200 + +lurker (1.1-0.1) unstable; urgency=low + + * New upstream release (NMU by request of maintainer) + - removed patches from 1.0-0unofficial (fixed upstream) + + -- Wesley W. Terpstra (Debian) Wed, 18 Feb 2004 15:22:54 +0100 + +lurker (1.0-0.2) unstable; urgency=low + + * Rebuilt against the current sid tree + + -- Wesley W. Terpstra (Debian) Fri, 5 Dec 2003 11:57:43 +0000 + +lurker (1.0-0.1) unstable; urgency=low + + * NMU by request of maintainer (closes: #200872) + + -- Wesley W. Terpstra (Debian) Fri, 5 Dec 2003 12:40:26 +0100 + +lurker (1.0-0unofficial) unstable; urgency=low + + * Unofficial debian packages for 1.0 + * Changed the rules file to use make + * Removed build-depends on jam and xsltproc + * Updated to standards-version 3.6.1.0 (no changes) + * Set act_ver in lurker.postinst to 1.0 so an automatic upgrade happens + * Move converted config file out of the way after auto-upgrade + * Work around known 1.0 bugs: + - Create missing mbox directory + - set the dbdir config setting + - use gzip -dfc for lurker-regenerate + - Tweak ui/common.xsl to have spaces in verion and admin-by + - Tweak ui/splash.xsl to sort by list id + + -- Wesley W. Terpstra (Debian) Thu, 13 Nov 2003 22:19:19 +0100 + +lurker (0.9-1) unstable; urgency=low + + * new upstream release (adds lurker-list and lurker-params to facilitate + script writing, is used for debconf code in debian scripts now) + * fixed the permissions of /var/www/lurker/list + + -- Jonas Meurer Sat, 14 Jun 2003 16:38:59 +0200 + +lurker (0.8-5) unstable; urgency=low + + * added README.maildrop + * upgraded the standards version + * fixed sed usage in automatic lurker.conf upgrade + + -- Jonas Meurer Tue, 3 Jun 2003 19:38:41 +0200 + +lurker (0.8-4) unstable; urgency=low + + * fixed the upload templates (some spelling mistakes) + made a new release to upload it although 0.8-3 is already in accepted + + -- Jonas Meurer Fri, 23 May 2003 16:41:37 +0200 + +lurker (0.8-3) unstable; urgency=low + + * fixed the 'remove apache include' bug (closes: #194427) + * fixed the upgrade message, will no longer be printed at first install + (closes: #194428) + * fixed the sed expression in postinst (closes: #194440) + + -- Jonas Meurer Fri, 23 May 2003 15:46:29 +0200 + +lurker (0.8-2) unstable; urgency=low + + * fixed cronjob (uses lurker-prune now) (closes: #194264) + * fixed script to configure lurker with debconf (closes: #194267) + * fixed upgrade stuff (closes: #194276) + * lurker-regenerate is executable, has a manpage and is in /usr/bin now + * fixed the apache include bug (closes: #194266) + + -- Jonas Meurer Thu, 22 May 2003 18:41:41 +0200 + +lurker (0.8-1) unstable; urgency=low + + * new upstream release (closes: #192378, #194069) + * added automatic database upgrade + * removed many senceless code in postinst and postrm, wwwconfig-common usage + is smarter now + * automatic config file upgrade + + -- Jonas Meurer Wed, 21 May 2003 23:30:09 +0200 + +lurker (0.7-1) unstable; urgency=low + + * new upstream release (closes: #194071) + * fixed rules and the configure prompt + * /var/lib/lurker is g+ws now + * added upstream manpage + * moved cgis to /usr/lib/cgi-bin + * added a lurker-index wrapper for config-file and umask + + -- Jonas Meurer Sun, 27 Apr 2003 18:08:02 +0200 + +lurker (0.6-2) unstable; urgency=low + + * NMU to quickly address some issues that were missed + * SymLinksIfOwnerMatch added to /etc/lurker/apache.conf -> nothing works without this + * /var/lib/lurker should be g+w + * -lssl in rules leads to linking against ssl which is not a dependency + * check for group before addgroup + + -- Wesley W. Terpstra (Debian) Tue, 22 Apr 2003 23:29:24 +0200 + +lurker (0.6-1) unstable; urgency=low + + * new upstream release (closes: #184933, #187507) + * fixed debian/lurker.config (closes: #164368) + * near-complete lurker rewrite in C++ + * new db format + * new config file format + * no deamon any longer, cronjob is needed + + -- Jonas Meurer Mon, 21 Apr 2003 17:56:14 +0200 + +lurker (0.1f-5) unstable; urgency=low + + * fixed depends and built against a new libc-client (closes: #182713) + + -- Jonas Meurer Sun, 23 Mar 2003 20:54:21 +0100 + +lurker (0.1f-4) unstable; urgency=low + + * fixed depends (closes: #181149) + + -- Jonas Meurer Thu, 20 Feb 2003 13:03:43 +0100 + +lurker (0.1f-3) unstable; urgency=low + + * added K-link rc{0,6}.d (closes: #173406) + * fixed depends and configure-run (closes: #171299) + + -- Jonas Meurer Thu, 9 Jan 2003 17:58:19 +0100 + +lurker (0.1f-2) unstable; urgency=low + + * fixed debconf stuff + + -- Jonas Meurer Sat, 23 Nov 2002 12:39:29 +0100 + +lurker (0.1f-1) unstable; urgency=low + + * new upstream release + * fixed lurker.mbox (now path to pidfile is correct) + + -- Jonas Meurer Wed, 30 Oct 2002 21:16:44 +0100 + +lurker (0.1e-3) unstable; urgency=low + + * improved init script. Now start restarts if lurkerd is already running. + That's better for dpkg-reconfigure lurker (now it doesn't break down at + start). + * changed the limit of 30 in the init script to 900. Now lurkerd has enough + time to sync it's database. + + -- Jonas Meurer Sun, 20 Oct 2002 14:38:53 +0200 + +lurker (0.1e-2) unstable; urgency=low + + * fixed policy version in control + * fixed debconf usage + + -- Jonas Meurer Sun, 22 Sep 2002 13:12:49 +0200 + +lurker (0.1e-1) unstable; urgency=low + + * new upstream version + * fixed init.d-script: lurker has time to sync its db at stop now + * fixed init.d-script: now it gives more information + * fixed conffile: /etc/lurker/apache.conf is also a conffile + * fixed conffile: /etc/init.d/lurker is now also a conffile + * fixed manpages + * lurker.conf is handled by debconf now + * fixed postinst + * removed the question at purge. If you purge something, you want all the + files to be removed. Otherwise you would just remove the package. + * fixed purge process + * applied upstream bugfix for SIGPIPE in 0.1f + * applied upstream bugfix for overly long caching in 0.1f + + -- Jonas Meurer Tue, 3 Sep 2002 22:38:37 +0200 + +lurker (0.1d-1) unstable; urgency=low + + * new upstream version + + -- Jonas Meurer Wed, 24 Jul 2002 11:30:08 +0200 + +lurker (0.1a-2) unstable; urgency=low + + * fixed lurker.postrm, now the purge procedure works + * corrected description, it's a archive tool, not a archive (closes: #150882) + * set architecture to any, builds on more than i386 (closes: #150793) + + -- Jonas Meurer Tue, 25 Jun 2002 07:39:16 +0200 + +lurker (0.1a-1) unstable; urgency=low + + * first debian unstable release (closes: #149026) + * fixed README.Debian + * first upstream release + * lurkerd runs now from init.d script + * lurkerd has a manpage now + + -- Jonas Meurer Wed, 19 Jun 2002 10:00:36 +0200 + +lurker (0.1-2) unstable; urgency=low + + * corrected build-depends and depends + * fixed copyright file + + -- Jonas Meurer Wed, 5 Jun 2002 10:11:45 +0200 + +lurker (0.1-1) unstable; urgency=low + + * Initial Release. + * please see the BUGS file. + + -- Jonas Meurer Tue, 4 Jun 2002 20:24:09 +0200 + --- lurker-2.1.orig/debian/mailman2lurker +++ lurker-2.1/debian/mailman2lurker @@ -0,0 +1,359 @@ +#!/usr/bin/perl -w + +eval 'exec /usr/bin/perl -w -S $0 ${1+"$@"}' + if 0; # not running under some shell + +# to create a manpage for mailman2lurker, invoke the following command: +# pod2man --section=8 --center="Administrative commands" --release="" mailman2lurker mailman2lurker.8 + +=head1 NAME + +mailman2lurker - Import mailman lists and their archives into a lurker database. + +=head1 SYNOPSIS + +Z<> B B<-i>|B<-p> [I] + +=head1 DESCRIPTION + +B has mainly two functions. First, it parses mailman's lists +and creates a lurker configuration include out of them. Second, it imports +archives from mailman lists into a lurker database. + +To build a new lurker database from mailmans archives, first run +'B'. Next you need to add 'B' into /etc/lurker/lurker.conf.local. +Finally import mailmans mboxes by running 'B'. + +If you want to add new lists to an already existing lurker configuration, run +'B' and afterwards 'B'. This will import only the mbox files of mailman lists that have been +added to the lurker configuration because they were new to lurker. + +=head1 COMMANDS + +=over 4 + +=item B<-p>, B<--parse> + +Parse mailman lists, and create a lurker configuration include file containing +all parsed lists. Lists that are already configured in lurker are ignored. + +=item B<-i>, B<--import> + +Import archives of all lists. This parses the lurker configuration and imports +the mailman mbox at /var/lib/mailman/archives/private/.mbox/.mbox +for every list. + +=head1 OPTIONS + +=over 4 + +=item B<-c>, B<--config> > + +Use > as lurker configuration file. Default: /etc/lurker/lurker.conf + +=item B<-o>, B<--outfile> > + +Write list configuration to >. If this is not specified, +.mailman will be used. +This option is only useful in conjunction with B<-p>. + +=item B<-g>, B<--group> > + +Use > for new lists. Default is 'undef'. +This option is only useful in conjunction with B<-p>. + +=item B<-a>, B<--listhost> > + +Use > as host for new list addresses. If a new list is called +'mylist' and > is lists.org, then the list address will be +mylist@lists.org. Default is 'example.org'. +This option is only useful in conjunction with B<-p>. + +=item B<-l>, B<--link> > + +Use > as base for links of new lists. If a list is called 'mylist', +and > is 'http://lists.org', then the link address will be +http://lists.org/mylist. Default is 'http://example.org'. +This option is only useful in conjunction with B<-p>. + +=item B<-s>, B<--lang> > + +Use > as language for new lists. Needs to be a language token. +Default is 'en'. This option is only useful in conjunction with B<-p>. + +=item B<-w>, B<--write-lists> > + +Write a list of all lists that have been added to the lurker configuration. +Safe that list in >. Default is off. +This option is only useful in conjunction with B<-p>. + +=item B<-x>, B<--list-cmd> > + +Use > to get the list of mailman lists that should be parsed. +When > is a command, it needs to end with ' |'. +Default is '/var/lib/mailman/bin/list_lists |'. +This option is only useful in conjunction with B<-p>. + +=item B<-f>, B<--listfile> > + +Import only lists that are listed in >. +This option is only useful in conjunction with B<-i>. + +=item B<-d>, B<--lists> [,I,I<...>]> + +Import only lists that are given as argument. +This option is only useful in conjunction with B<-i>. + +=item B<-h>, B<--help> + +Display a help message. + +=item B<-v>, B<--version> + +Display mailman2lurker's version number. + +=head1 SEE ALSO + +L, L + +=head1 AUTHOR + +This program was written by Jonas Meurer . + +=head1 COPYRIGHT + +mailman2lurker may be copied and modified under the terms of the GNU General +Public License. + +=cut + +our $Version="0.2"; + +use strict; +use Getopt::Long; +use File::Temp qw/ tempfile /; + +# Display mailman2lurker's version number. +sub version { + print "mailman2lurker version $Version\n"; + exit; +} + +# Display usage help. +sub usage() { + print STDERR < use this conffile (default: /etc/lurker/lurker.conf) + -i, --import import list archives from mailman's mbox files + -f, --listfile import only lists in . + -d, --lists import only lists that are given as argument. + -p, --parse create a lurker conf include from mailman lists + -o, --outfile write to this file. (default: .mailman) + -g, --group use this group for lists. (default: undef) + -a, --listhost use this host for lists. (default: example.org) + -l, --link use for the url link. (default: listurl) + -s, --lang use this language for new lists. (default: en) + -w, --write-lists write a list of parsed lists to . + -x, --list-cmd use this command/file as list of mailman lists. + (default: "/usr/lib/mailman/bin/list_lists |") + -h, --help Display this help message. + -v, --version Display mailman2lurker's version number. + +EOF + exit 1; +} + +sub check_group { + my ($group) = @_; + my $lurkergroups = "/usr/bin/lurker-list -g |"; + open LURKERGROUPS, $lurkergroups or die "Could not open $lurkergroups: $!"; + while () { + if (/^$group$/) { + print STDERR "Group $group already exists in lurker configuration, you need to configure another one with -g.\n"; + exit 1; + } + } + close LURKERGROUPS; +} + +sub lurker_lists { + my ($list, @lists); + my $lurkerlist = "/usr/bin/lurker-list -c $glob::lurkerconf -i |"; + open LURKERLIST, $lurkerlist or die "Could not open $lurkerlist: $!"; + while () { + chomp; + if (($list) = /^([0-9-_\w]*)$/) { + push @lists, $list; + } + } + close LURKERLIST; + return @lists; +} + +sub mailman_lists { + my ($list_cmd, $defgroup, $listhost, $listurl, $lang) = @_; + my ($list, $desc, %mmlists); + my ($fh, $filename) = tempfile(); + open my $ll_exec, $list_cmd or die "Could not open $list_cmd: $!"; + while (<$ll_exec>) { print $fh $_; }; + close $ll_exec; + close $fh; + + my $ll_charset = uc(`/usr/bin/file -i $filename | sed -e 's/^.*charset=//g'`); + chomp ($ll_charset); + + my @list_lists = `/usr/bin/iconv -f $ll_charset -t UTF-8 $filename`; + unlink($filename); + + for (@list_lists) { + chomp; + next unless (($list, $desc) = /^\s*([0-9-_\w]*)\s-\s(.*)\s*$/); + if ($desc eq "[no description available]") { + $desc = ""; + } + my $list_lc = lc($list); + if (not (grep(/$list_lc/, @glob::lurkerlists))) { + $mmlists{$list_lc} = { id => $list_lc, + group => $defgroup, + title => $list, + address => $list . '@' . $listhost, + link => $listurl . '/' . $list, + desc => $desc, + lang => $lang }; + } + } + my $mmlref = \%mmlists; + return $mmlref; +} + +sub dump_lists { + my ($dlref) = shift; + my %dlists = %$dlref; + my ($group, $writeflag) = ""; + open LOCALCONF, ">> $glob::localconf" or die "Could not open $glob::localconf: $!"; + if ($glob::writefile ne "") { + $writeflag = "yes"; + open WRITEFILE, "> $glob::writefile" or die "Could not open $glob::writefile: $!"; + } + #for $_ (sort { $dlists{$a}{id} cmp $dlists{$b}{id} } keys %dlists) { + for $_ (sort {($dlists{$a}{group} cmp $dlists{$b}{group} ) or ($dlists{$a}{id} cmp $dlists{$b}{id} ) } keys %dlists) { + unless ($dlists{$_}{group} eq $group) + { + $group = $dlists{$_}{group}; + print LOCALCONF "\n"; + print LOCALCONF "group = $group\n"; + print LOCALCONF " heading = $group\n"; + print LOCALCONF "\n"; + } + print LOCALCONF " list = $dlists{$_}{id}\n"; + print LOCALCONF " title = $dlists{$_}{title}\n"; + print LOCALCONF " language = $dlists{$_}{lang}\n"; + print LOCALCONF " address = $dlists{$_}{address}\n"; + print LOCALCONF " link = $dlists{$_}{link}\n"; + print LOCALCONF " description = $dlists{$_}{desc}\n"; + print LOCALCONF "\n"; + if ($writeflag) { print WRITEFILE "$dlists{$_}{id}\n"; } + } + if ($writeflag) { close WRITEFILE; } + close LOCALCONF; +} + +sub import_lists { + my $iulref = shift; + my @ulists = @$iulref; + my $ulfile = pop(@ulists); + my @lists; + if ($ulfile ne " ") { + if (-f $ulfile) { + open ULFILE, $ulfile or die "Could not open $ulfile: $!"; + while () { + chomp; + push @lists, $_; + } + close ULFILE; + } + else { + print STDERR "file $ulfile does not exist.\n"; + exit 1; + } + } + elsif (@ulists) { + @lists = @ulists; + } + else { + @lists = @glob::lurkerlists; + } + for my $list (@lists) { + my $mbox = "/var/lib/mailman/archives/private/$list.mbox/$list.mbox"; + if (-f $mbox) { + if(system("/usr/bin/lurker-index", "-c", "$glob::lurkerconf", "-l", "$list", "-i", "$mbox") != 0) { + print STDERR "archives for $list could not be imported.\n"; + } + } + else { + print STDERR "no archives available for $list at $mbox.\n"; + } + } +} + +my ($listhost, $defgroup, $listurl, $language, $ll_cmd) = + ("example.org", "undef", "http://example.org", "en", + "/usr/lib/mailman/bin/list_lists |"); +my ($import, $parse, $uselistfile, @uselists); +$glob::lurkerconf = "/etc/lurker/lurker.conf"; +$glob::localconf = "$glob::lurkerconf.mailman"; +$glob::writefile = ""; +@glob::lurkerlists = (); +my @list_props = qw/title address link language description/; + +# Bundling is nice anyway, and it is required or Getopt::Long will confuse +# -V and -v. +Getopt::Long::Configure("bundling"); + +GetOptions( + 'a|listhost=s' => \$listhost, + 'i|import' => sub { $import=1 }, + 'f|listfile=s' => \$uselistfile, + 'd|lists=s' => \@uselists, + 'c|config=s' => \$glob::lurkerconf, + 'g|group=s' => \$defgroup, + 'h|help' => \&usage, + 'l|link=s' => \$listurl, + 'o|outfile=s' => \$glob::localconf, + 'p|parse' => sub { $parse=1 }, + 's|language=s' => \$language, + 'v|version' => \&version, + 'w|write-lists=s' => \$glob::writefile, + 'x|list-cmd=s' => \$ll_cmd ); +@uselists = split(/,/,join(',',@uselists)); + +@glob::lurkerlists = lurker_lists(); + +if ($parse && $import) { + print STDERR "--parse and --import cannot be used together.\n"; + exit 1; +} +elsif ($parse) { + check_group($defgroup); + my $mmmlref = mailman_lists($ll_cmd, $defgroup, $listhost, $listurl, $language); + dump_lists($mmmlref); +} +elsif ($import && $uselistfile && @uselists) { + print STDERR "--listfile and --lists cannot be used together.\n"; + exit 1; +} +elsif ($import) { + if (not ($uselistfile)) { $uselistfile = " "; } + push @uselists, $uselistfile; + my $ulref = \@uselists; + import_lists($ulref); +} +else { + usage(); +} --- lurker-2.1.orig/debian/po/cs.po +++ lurker-2.1/debian/po/cs.po @@ -0,0 +1,161 @@ +# +# 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: lurker\n" +"Report-Msgid-Bugs-To: mejo@debian.org\n" +"POT-Creation-Date: 2006-12-20 05:02+0100\n" +"PO-Revision-Date: 2006-09-24 18:00+0200\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 +#. Choices +#: ../templates:1001 +msgid "apache, apache2, apache-ssl, apache-perl" +msgstr "apache, apache2, apache-ssl, apache-perl" + +#. Type: multiselect +#. Description +#: ../templates:1002 +msgid "Servers that you would like to be configured automatically:" +msgstr "Servery, které se mají nakonfigurovat automaticky:" + +#. Type: multiselect +#. Description +#: ../templates:1002 +msgid "" +"It is possible to configure your apache webservers automatically in the way " +"that lurker archive pages are available. This requires the servers to have " +"an include dir in /etc/apache*/conf.d, like the debian apache packages do. " +"You should be able to access lurker at http://localhost/lurker afterwards." +msgstr "" +"Je možné nastavit apache servery tak, aby automaticky zpřístupnily stránky s " +"archivy lurkeru. To vyžaduje, aby měly webové servery adresář include v /etc/" +"apache*/conf.d přesně tak, jak jej vytváří debianí balíky. Poté byste měli " +"byste mít k lurkeru přístup na adrese http://localhost/lurker." + +#. Type: note +#. Description +#: ../templates:2001 +msgid "No webserver will be configured automatically" +msgstr "Žádný webový server nebude nakonfigurován automaticky" + +#. Type: note +#. Description +#: ../templates:2001 +msgid "" +"It seems like you have not installed a supported webserver. The script did " +"not detect an apache include directory at /etc/apache*/conf.d. Therefore, " +"the script did not configure a webserver, and you have to configure manually " +"any webserver that you want to use with lurker." +msgstr "" +"Zdá se, že nemáte nainstalovaný žádný podporovaný webový server. Skript " +"nerozpoznal žádnou instalaci apache, která by poskytovala adresář /etc/" +"apache*/conf.d a tedy není co nakonfigurovat. To znamená, že budete muset " +"nastavit webový server pro použití s lurkerem ručně." + +#. Type: string +#. Description +#: ../templates:3001 +msgid "Archive Name:" +msgstr "jméno archivu:" + +#. Type: string +#. Description +#: ../templates:3001 +msgid "What name should lurker use when referring to the machine it runs on?" +msgstr "Jakým jménem by se měl lurker odkazovat na počítač, na kterém běží?" + +#. Type: string +#. Description +#: ../templates:4001 +msgid "Admin Name:" +msgstr "jméno administrátora:" + +#. Type: string +#. Description +#: ../templates:4001 +msgid "" +"This is the administrator information used at the bottom of generated pages. " +"You should probably set it to something useful." +msgstr "" +"Toto jsou informace o administrátorovi, které se zobrazují dole na " +"vygenerovaných stránkách. Měli byste zadat něco užitečného." + +#. Type: string +#. Description +#: ../templates:5001 +msgid "Admin Address:" +msgstr "adresa administrátora:" + +#. Type: select +#. Choices +#: ../templates:6001 +msgid "automatic, manual" +msgstr "automaticky, ručně" + +#. Type: select +#. Description +#: ../templates:6002 +msgid "Upgrade the lurker database automatically:" +msgstr "Aktualizovat databázi lurkeru automaticky:" + +#. Type: select +#. Description +#: ../templates:6002 +msgid "" +"The database format changed with this release. We provide a script to " +"automatically upgrade your database. It can be found at /usr/share/doc/" +"lurker/lurker-regenerate. Invoke it without arguments for manual database " +"upgrade [2]. Alternatively this can be done automatically for you now [1]. " +"Be aware of the fact that you need enough free space to temporarily save the " +"lurker database a second time." +msgstr "" +"Formát databáze se s touto verzí změnil. Pro automatický převod databáze " +"poskytujeme skript /usr/share/doc/lurker/lurker-regenerate. Buď můžete " +"nechat systém, aby nyní sám aktualizoval databázi, nebo to můžete udělat " +"kdykoliv později ručně (spuštěním zmíněného skriptu bez dalších argumentů). " +"Mějte prosím na paměti, že pro úspěšný převod musíte mít dostatek volného " +"místa na uložení nové kopie databáze." + +#. Type: password +#. Description +#: ../templates:7001 +msgid "Password for the lurker system group:" +msgstr "Heslo pro systémovou skupinu lurker:" + +#. Type: password +#. Description +#: ../templates:7001 +msgid "" +"A password for the lurker system group needs to be set. It is requested when " +"deleting mail from archive through the web button. You can change the " +"password later by running 'gpasswd lurker'." +msgstr "" +"Musíte nastavit heslo pro systémovou skupinu 'lurker'. Toto heslo je " +"vyžadováno při mazání pošty z archivu pomocí webového tlačítka. Heslo můžete " +"kdykoliv změnit příkazem 'gpasswd lurker'." + +#~ msgid "Local Mailing List Archive" +#~ msgstr "Lokální archiv poštovních konferencí" + +#~ msgid "Unconfigured" +#~ msgstr "Nenastaveno" + +#~ msgid "manual" +#~ msgstr "ručně" --- lurker-2.1.orig/debian/po/templates.pot +++ lurker-2.1/debian/po/templates.pot @@ -0,0 +1,126 @@ +# 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. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: mejo@debian.org\n" +"POT-Creation-Date: 2006-12-20 05:02+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 +#. Choices +#: ../templates:1001 +msgid "apache, apache2, apache-ssl, apache-perl" +msgstr "" + +#. Type: multiselect +#. Description +#: ../templates:1002 +msgid "Servers that you would like to be configured automatically:" +msgstr "" + +#. Type: multiselect +#. Description +#: ../templates:1002 +msgid "" +"It is possible to configure your apache webservers automatically in the way " +"that lurker archive pages are available. This requires the servers to have " +"an include dir in /etc/apache*/conf.d, like the debian apache packages do. " +"You should be able to access lurker at http://localhost/lurker afterwards." +msgstr "" + +#. Type: note +#. Description +#: ../templates:2001 +msgid "No webserver will be configured automatically" +msgstr "" + +#. Type: note +#. Description +#: ../templates:2001 +msgid "" +"It seems like you have not installed a supported webserver. The script did " +"not detect an apache include directory at /etc/apache*/conf.d. Therefore, " +"the script did not configure a webserver, and you have to configure manually " +"any webserver that you want to use with lurker." +msgstr "" + +#. Type: string +#. Description +#: ../templates:3001 +msgid "Archive Name:" +msgstr "" + +#. Type: string +#. Description +#: ../templates:3001 +msgid "What name should lurker use when referring to the machine it runs on?" +msgstr "" + +#. Type: string +#. Description +#: ../templates:4001 +msgid "Admin Name:" +msgstr "" + +#. Type: string +#. Description +#: ../templates:4001 +msgid "" +"This is the administrator information used at the bottom of generated pages. " +"You should probably set it to something useful." +msgstr "" + +#. Type: string +#. Description +#: ../templates:5001 +msgid "Admin Address:" +msgstr "" + +#. Type: select +#. Choices +#: ../templates:6001 +msgid "automatic, manual" +msgstr "" + +#. Type: select +#. Description +#: ../templates:6002 +msgid "Upgrade the lurker database automatically:" +msgstr "" + +#. Type: select +#. Description +#: ../templates:6002 +msgid "" +"The database format changed with this release. We provide a script to " +"automatically upgrade your database. It can be found at /usr/share/doc/" +"lurker/lurker-regenerate. Invoke it without arguments for manual database " +"upgrade [2]. Alternatively this can be done automatically for you now [1]. " +"Be aware of the fact that you need enough free space to temporarily save the " +"lurker database a second time." +msgstr "" + +#. Type: password +#. Description +#: ../templates:7001 +msgid "Password for the lurker system group:" +msgstr "" + +#. Type: password +#. Description +#: ../templates:7001 +msgid "" +"A password for the lurker system group needs to be set. It is requested when " +"deleting mail from archive through the web button. You can change the " +"password later by running 'gpasswd lurker'." +msgstr "" --- lurker-2.1.orig/debian/po/pt.po +++ lurker-2.1/debian/po/pt.po @@ -0,0 +1,146 @@ +# Portuguese translation of lurker's debconf messages. +# Copyright (C) 2007 +# This file is distributed under the same license as the lurker package. +# Ricardo Silva , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: lurker 2.1-7\n" +"Report-Msgid-Bugs-To: mejo@debian.org\n" +"POT-Creation-Date: 2006-12-20 05:02+0100\n" +"PO-Revision-Date: 2007-03-29 14:01+0100\n" +"Last-Translator: Ricardo Silva \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Choices +#: ../templates:1001 +msgid "apache, apache2, apache-ssl, apache-perl" +msgstr "apache, apache2, apache-ssl, apache-perl" + +#. Type: multiselect +#. Description +#: ../templates:1002 +msgid "Servers that you would like to be configured automatically:" +msgstr "Servidores que gostaria que fossem configurados automaticamente:" + +#. Type: multiselect +#. Description +#: ../templates:1002 +msgid "" +"It is possible to configure your apache webservers automatically in the way " +"that lurker archive pages are available. This requires the servers to have " +"an include dir in /etc/apache*/conf.d, like the debian apache packages do. " +"You should be able to access lurker at http://localhost/lurker afterwards." +msgstr "" +"É possível configurar os seus servidores apache automaticamente de forma " +"a que as páginas de arquivo do lurker estejam disponíveis. Isto requer que " +"os servidores tenham um directório de include em /etc/apache*/conf.d, como " +"os que os pacotes da Debian têm. Depois disso deve ser capaz de aceder ao " +"lurker em http://localhost/lurker." + +#. Type: note +#. Description +#: ../templates:2001 +msgid "No webserver will be configured automatically" +msgstr "Não será configurado nenhum servidor automaticamente" + +#. Type: note +#. Description +#: ../templates:2001 +msgid "" +"It seems like you have not installed a supported webserver. The script did " +"not detect an apache include directory at /etc/apache*/conf.d. Therefore, " +"the script did not configure a webserver, and you have to configure manually " +"any webserver that you want to use with lurker." +msgstr "" +"Parece que não tem nenhum servidor suportado instalado. O script não detectou " +"nenhum directório de include do apache em /etc/apache*/conf.d. Portanto o " +"script não configurou o servidor, e terá de configurar manualmente qualquer " +"servidor que deseja usar com o lurker." + +#. Type: string +#. Description +#: ../templates:3001 +msgid "Archive Name:" +msgstr "Nome do Arquivo:" + +#. Type: string +#. Description +#: ../templates:3001 +msgid "What name should lurker use when referring to the machine it runs on?" +msgstr "Que nome deve o lurker usar quando se referencia à máquina onde corre?" + +#. Type: string +#. Description +#: ../templates:4001 +msgid "Admin Name:" +msgstr "Nome do Administrador:" + +#. Type: string +#. Description +#: ../templates:4001 +msgid "" +"This is the administrator information used at the bottom of generated pages. " +"You should probably set it to something useful." +msgstr "" +"Esta é a informação do administrador usada no fundo das páginas geradas. " +"Provavelmente deve colocar informação útil aqui." + +#. Type: string +#. Description +#: ../templates:5001 +msgid "Admin Address:" +msgstr "Endereço do Administrador:" + +#. Type: select +#. Choices +#: ../templates:6001 +msgid "automatic, manual" +msgstr "automático, manual" + +#. Type: select +#. Description +#: ../templates:6002 +msgid "Upgrade the lurker database automatically:" +msgstr "Actualizar a base de dados do lurker automaticamente:" + +#. Type: select +#. Description +#: ../templates:6002 +msgid "" +"The database format changed with this release. We provide a script to " +"automatically upgrade your database. It can be found at /usr/share/doc/" +"lurker/lurker-regenerate. Invoke it without arguments for manual database " +"upgrade [2]. Alternatively this can be done automatically for you now [1]. " +"Be aware of the fact that you need enough free space to temporarily save the " +"lurker database a second time." +msgstr "" +"O formato da base de dados mudou com este lançamento. Nós fornecemos um " +"script para automaticamente migrar a sua base de dados. Pode ser encontrado " +"em /usr/share/doc/lurker/lurker-regenerate. Invoque-o sem argumentos para uma " +"migração automática da base de dados [2]. Alternativamente isto agora pode " +"ser feito automaticament, para si [1]. Esteja ciente do facto que precisa de " +"espaço temporário suficiente para guardar a base de dados do lurker uma " +"segunda vez." + +#. Type: password +#. Description +#: ../templates:7001 +msgid "Password for the lurker system group:" +msgstr "Palavra-chave para o grupo de sistema lurker:" + +#. Type: password +#. Description +#: ../templates:7001 +msgid "" +"A password for the lurker system group needs to be set. It is requested when " +"deleting mail from archive through the web button. You can change the " +"password later by running 'gpasswd lurker'." +msgstr "" +"Precisa de definir uma palavra-chave para o grupo de sistema lurker. " +"É pedida quando se apaga mails do arquivo através de um botão na web. " +"Pode mudar a palavra-chave mais tarde corrent 'gpasswd lurker'." --- lurker-2.1.orig/debian/po/fr.po +++ lurker-2.1/debian/po/fr.po @@ -0,0 +1,170 @@ +# translation of fr.po to French +# 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. +# Christian Perrier , 2004. +# Luc FROIDEFOND , 2006 +# +msgid "" +msgstr "" +"Project-Id-Version: lurker\n" +"Report-Msgid-Bugs-To: mejo@debian.org\n" +"POT-Creation-Date: 2006-12-20 05:02+0100\n" +"PO-Revision-Date: 2006-05-21 20:57+0200\n" +"Last-Translator: Florentin Duneau \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: Plural-Forms: nplurals=2; plural=n>1;\n" + +#. Type: multiselect +#. Choices +#: ../templates:1001 +msgid "apache, apache2, apache-ssl, apache-perl" +msgstr "Apache, Apache2, Apache-ssl, Apache-perl" + +#. Type: multiselect +#. Description +#: ../templates:1002 +msgid "Servers that you would like to be configured automatically:" +msgstr "Serveurs web configurer automatiquement:" + +#. Type: multiselect +#. Description +#: ../templates:1002 +msgid "" +"It is possible to configure your apache webservers automatically in the way " +"that lurker archive pages are available. This requires the servers to have " +"an include dir in /etc/apache*/conf.d, like the debian apache packages do. " +"You should be able to access lurker at http://localhost/lurker afterwards." +msgstr "" +"Il est possible de mettre automatiquement jour vos serveurs web pour " +"qu'ils intgrent lurker. Pour cela, il est ncessaire que les serveurs " +"utilisent un rpertoire /etc/apache*/conf.d comme le font les paquets des " +"serveurs Apache. Vous devriez ensuite pouvoir accder lurker grce au lien " +"http://localhost/lurker." + +#. Type: note +#. Description +#: ../templates:2001 +msgid "No webserver will be configured automatically" +msgstr "Aucun serveur web configur automatiquement" + +#. Type: note +#. Description +#: ../templates:2001 +msgid "" +"It seems like you have not installed a supported webserver. The script did " +"not detect an apache include directory at /etc/apache*/conf.d. Therefore, " +"the script did not configure a webserver, and you have to configure manually " +"any webserver that you want to use with lurker." +msgstr "" +"Vous n'avez install aucun serveur web compatible qui utilise un rpertoire /" +"etc/apache*/conf.d. Par consquent, aucun serveur web ne sera configur " +"automatiquement et vous devrez configurer vous-mme tout serveur web que " +"vous souhaitez utiliser avec lurker." + +#. Type: string +#. Description +#: ../templates:3001 +msgid "Archive Name:" +msgstr "Nom de l'archive:" + +#. Type: string +#. Description +#: ../templates:3001 +msgid "What name should lurker use when referring to the machine it runs on?" +msgstr "" +"Veuillez indiquer le nom utilis par lurker faisant rfrence la machine " +"sur laquelle il est install." + +#. Type: string +#. Description +#: ../templates:4001 +msgid "Admin Name:" +msgstr "Nom de l'administrateur:" + +#. Type: string +#. Description +#: ../templates:4001 +msgid "" +"This is the administrator information used at the bottom of generated pages. " +"You should probably set it to something useful." +msgstr "" +"Veuillez indiquer les informations sur l'administrateur qui seront affiches " +"en bas des pages produites." + +#. Type: string +#. Description +#: ../templates:5001 +msgid "Admin Address:" +msgstr "Adresse de l'administrateur:" + +#. Type: select +#. Choices +#: ../templates:6001 +msgid "automatic, manual" +msgstr "Automatique, Manuel" + +#. Type: select +#. Description +#: ../templates:6002 +msgid "Upgrade the lurker database automatically:" +msgstr "Mode de mise jour de votre base de donnes:" + +#. Type: select +#. Description +#: ../templates:6002 +msgid "" +"The database format changed with this release. We provide a script to " +"automatically upgrade your database. It can be found at /usr/share/doc/" +"lurker/lurker-regenerate. Invoke it without arguments for manual database " +"upgrade [2]. Alternatively this can be done automatically for you now [1]. " +"Be aware of the fact that you need enough free space to temporarily save the " +"lurker database a second time." +msgstr "" +"Dans cette version, le format de la base de donnes a chang. Le script /" +"usr/share/doc/lurker/lurker-regenerate est fourni pour mettre jour votre " +"base de donnes. Il peut tre utilis sans paramtre pour mettre jour vous-" +"mme la base de donnes, choisissez alors Manuel. Il est galement " +"possible de la mettre jour automatiquement, choisissez alors " +"Automatique. Veuillez vrifier que vous disposez de suffisamment " +"d'espace libre, au moins deux fois la taille de votre ancienne base de " +"donnes." + +#. Type: password +#. Description +#: ../templates:7001 +msgid "Password for the lurker system group:" +msgstr "Mot de passe du groupe systme lurker:" + +#. Type: password +#. Description +#: ../templates:7001 +msgid "" +"A password for the lurker system group needs to be set. It is requested when " +"deleting mail from archive through the web button. You can change the " +"password later by running 'gpasswd lurker'." +msgstr "" +"Un mot de passe pour le groupe systme lurker doit tre dfini. Il est " +"demand lors de la suppression de courriel de l'archive depuis l'interface " +"web. Vous pouvez le changer par la suite avec la commande gpasswd lurker." + +#~ msgid "nill@bitbucket.org" +#~ msgstr "nill@bitbucket.org" + +#~ msgid "Local Mailing List Archive" +#~ msgstr "Archive locale des listes de diffusion" + +#~ msgid "Unconfigured" +#~ msgstr "Non configur" + +#~ msgid "manual" +#~ msgstr "Manuel" --- lurker-2.1.orig/debian/po/ja.po +++ lurker-2.1/debian/po/ja.po @@ -0,0 +1,149 @@ +# Japanese debconf templates translation for lurker. +# Copyright (C) 2007 Noritada Kobayashi +# This file is distributed under the same license as the lurker package. +# +msgid "" +msgstr "" +"Project-Id-Version: lurker (debconf) 2.1-7\n" +"Report-Msgid-Bugs-To: mejo@debian.org\n" +"POT-Creation-Date: 2006-12-20 05:02+0100\n" +"PO-Revision-Date: 2007-03-04 10:38+0900\n" +"Last-Translator: Noritada Kobayashi \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +# FIXME: Do not mark for translation! +#. Type: multiselect +#. Choices +#: ../templates:1001 +msgid "apache, apache2, apache-ssl, apache-perl" +msgstr "apache, apache2, apache-ssl, apache-perl" + +#. Type: multiselect +#. Description +#: ../templates:1002 +msgid "Servers that you would like to be configured automatically:" +msgstr "自動的に設定を行うサーバ:" + +# FIXME: Are /etc/apache*/conf.d examples of "inclue dir"? +#. Type: multiselect +#. Description +#: ../templates:1002 +msgid "" +"It is possible to configure your apache webservers automatically in the way " +"that lurker archive pages are available. This requires the servers to have " +"an include dir in /etc/apache*/conf.d, like the debian apache packages do. " +"You should be able to access lurker at http://localhost/lurker afterwards." +msgstr "" +"lurker のアーカイブページを利用可能にするよう、Apache ウェブサーバを自動的に" +"設定することが可能です。そのためには、Debian の apache パッケージにある /etc/" +"apache*/conf.d のような include ディレクトリがサーバに存在する必要がありま" +"す。設定後、http://localhost/lurker の lurker にアクセス可能になるはずです。" + +#. Type: note +#. Description +#: ../templates:2001 +msgid "No webserver will be configured automatically" +msgstr "どのウェブサーバにも自動的な設定を行いません" + +#. Type: note +#. Description +#: ../templates:2001 +msgid "" +"It seems like you have not installed a supported webserver. The script did " +"not detect an apache include directory at /etc/apache*/conf.d. Therefore, " +"the script did not configure a webserver, and you have to configure manually " +"any webserver that you want to use with lurker." +msgstr "" +"サポートされているウェブサーバがインストールされていないようです。/etc/" +"apache*/conf.d にある Apache の include ディレクトリをスクリプトで検出できま" +"せんでした。そのため、スクリプトでウェブサーバを設定できないので、lurker を使" +"用するウェブサーバの設定は手動で行わなければなりません。" + +#. Type: string +#. Description +#: ../templates:3001 +msgid "Archive Name:" +msgstr "アーカイブ名:" + +#. Type: string +#. Description +#: ../templates:3001 +msgid "What name should lurker use when referring to the machine it runs on?" +msgstr "実行するマシンを lurker が参照するときに使用する名前は何にしますか?" + +#. Type: string +#. Description +#: ../templates:4001 +msgid "Admin Name:" +msgstr "管理者名:" + +#. Type: string +#. Description +#: ../templates:4001 +msgid "" +"This is the administrator information used at the bottom of generated pages. " +"You should probably set it to something useful." +msgstr "" +"これは生成されたページの最下部に置かれる管理者情報です。おそらく、何か便利な" +"情報を設定するべきです。" + +#. Type: string +#. Description +#: ../templates:5001 +msgid "Admin Address:" +msgstr "管理者のアドレス" + +# FIXME: Separate options. +#. Type: select +#. Choices +#: ../templates:6001 +msgid "automatic, manual" +msgstr "自動, 手動" + +# FIXME: It seems question and options are not corresponding well.... +#. Type: select +#. Description +#: ../templates:6002 +msgid "Upgrade the lurker database automatically:" +msgstr "lurker のデータベースを自動的にアップグレードしますか?" + +# FIXME: What is "[1]" and "[2]"? +# FIXME: What is "a second time"? +#. Type: select +#. Description +#: ../templates:6002 +msgid "" +"The database format changed with this release. We provide a script to " +"automatically upgrade your database. It can be found at /usr/share/doc/" +"lurker/lurker-regenerate. Invoke it without arguments for manual database " +"upgrade [2]. Alternatively this can be done automatically for you now [1]. " +"Be aware of the fact that you need enough free space to temporarily save the " +"lurker database a second time." +msgstr "" +"今回のリリースでデータベースの形式が変更されました。データベースを自動的に" +"アップグレードするスクリプトが提供されています。スクリプトは /usr/share/doc/" +"lurker/lurker-regenerate にあります。データベースを手動でアップグレードするに" +"は、引数を与えずに呼び出してください [2]。他方で、今、データベースのアップグ" +"レードを自動的に実行することも可能です [1]。lurker のデータベースを 2 度目に" +"一時的に保存するのに十分な空き領域が必要になることに注意してください。" + +#. Type: password +#. Description +#: ../templates:7001 +msgid "Password for the lurker system group:" +msgstr "lurker システムグループのパスワード:" + +#. Type: password +#. Description +#: ../templates:7001 +msgid "" +"A password for the lurker system group needs to be set. It is requested when " +"deleting mail from archive through the web button. You can change the " +"password later by running 'gpasswd lurker'." +msgstr "" +"lurker システムグループのパスワードを設定する必要があります。パスワードは、" +"ウェブページのボタンを用いてアーカイブからメールを削除する際に必要になりま" +"す。'gpasswd lurker' を実行して、パスワードを後で変更することも可能です。" --- lurker-2.1.orig/debian/po/vi.po +++ lurker-2.1/debian/po/vi.po @@ -0,0 +1,146 @@ +# Vietnamese translation for Lurker. +# Copyright © 2006 Free Software Foundation, Inc. +# Clytie Siddall , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: lurker 1.3-2\n" +"Report-Msgid-Bugs-To: mejo@debian.org\n" +"POT-Creation-Date: 2006-12-20 05:02+0100\n" +"PO-Revision-Date: 2006-12-19 18:47+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: Mac PO Editor 1.0a10\n" + +#. Type: multiselect +#. Choices +#: ../templates:1001 +msgid "apache, apache2, apache-ssl, apache-perl" +msgstr "apache, apache2, apache-ssl, apache-perl" + +#. Type: multiselect +#. Description +#: ../templates:1002 +msgid "Servers that you would like to be configured automatically:" +msgstr "Các trình phục vụ bạn muốn tự động cấu hình:" + +#. Type: multiselect +#. Description +#: ../templates:1002 +msgid "" +"It is possible to configure your apache webservers automatically in the way " +"that lurker archive pages are available. This requires the servers to have " +"an include dir in /etc/apache*/conf.d, like the debian apache packages do. " +"You should be able to access lurker at http://localhost/lurker afterwards." +msgstr "" +"Có thể tự động cấu hình các trình phục vụ Apache về cách cung cấp trang lưu " +"trữ của lurker. Cần thiết trình phục vụ có một thư mục gồm (include) được " +"ghi trong tập tin cấu hình « /etc/apache*/conf.d », giống như các gói Apache " +"của Debian. Sau đó, bạn nên có khả năng truy cập lurker ở địa chỉ « http://" +"localhost/lurker »." + +#. Type: note +#. Description +#: ../templates:2001 +msgid "No webserver will be configured automatically" +msgstr "Không có trình phục vụ Mạng sẽ tự động được cấu hình" + +#. Type: note +#. Description +#: ../templates:2001 +msgid "" +"It seems like you have not installed a supported webserver. The script did " +"not detect an apache include directory at /etc/apache*/conf.d. Therefore, " +"the script did not configure a webserver, and you have to configure manually " +"any webserver that you want to use with lurker." +msgstr "" +"Hình như bạn chưa cài đặt trình phục vụ Mạng được hỗ trợ. Văn lệnh chưa phát " +"hiện thư mục bao gồm (include) của Apache tại « /etc/apache*/conf.d ». Vì " +"vậy, văn lệnh chưa cấu hình trình phục vụ Mạng nào, và bạn sẽ phải tự cấu " +"hình trình phục vụ Mạng mà bạn muốn sử dụng với lurker." + +#. Type: string +#. Description +#: ../templates:3001 +msgid "Archive Name:" +msgstr "Tên kho :" + +#. Type: string +#. Description +#: ../templates:3001 +msgid "What name should lurker use when referring to the machine it runs on?" +msgstr "Khi tham chiếu đến máy trên đó nó chạy, trình lurker nên dùng tên nào?" + +#. Type: string +#. Description +#: ../templates:4001 +msgid "Admin Name:" +msgstr "Tên quản trị:" + +#. Type: string +#. Description +#: ../templates:4001 +msgid "" +"This is the administrator information used at the bottom of generated pages. " +"You should probably set it to something useful." +msgstr "" +"Đây là thông tin quản trị xuất hiện tại kết thức của mọi trang được tạo ra. " +"Bạn nên đặt giá trị có ích." + +#. Type: string +#. Description +#: ../templates:5001 +msgid "Admin Address:" +msgstr "Địa chỉ quản trị" + +#. Type: select +#. Choices +#: ../templates:6001 +msgid "automatic, manual" +msgstr "tự động, bằng tay" + +#. Type: select +#. Description +#: ../templates:6002 +msgid "Upgrade the lurker database automatically:" +msgstr "Tự động cập nhật cơ sở dữ liệu lurker:" + +#. Type: select +#. Description +#: ../templates:6002 +msgid "" +"The database format changed with this release. We provide a script to " +"automatically upgrade your database. It can be found at /usr/share/doc/" +"lurker/lurker-regenerate. Invoke it without arguments for manual database " +"upgrade [2]. Alternatively this can be done automatically for you now [1]. " +"Be aware of the fact that you need enough free space to temporarily save the " +"lurker database a second time." +msgstr "" +"Định dạng cơ sở dữ liệu đã thay đổi trong bản phát hành này. Chúng tôi cung " +"cấp một văn lệnh để tự động nâng cấp cơ sở dữ liệu của bạn. Nó nằm ở « /usr/" +"share/doc/lurker/lurker-regenerate ». Hãy gọi nó (không có đối số) để tự " +"nâng cấp cơ sở dữ liệu [2]. Hoặc việc này có thể tự động được chạy cho bạn " +"ngay bây giờ [1]. Ghi chú rằng bạn cũng cần có đủ sức chứa còn rảnh để lưu " +"tạm thời cơ sở dữ liệu lurker lần thứ hai." + +#. Type: password +#. Description +#: ../templates:7001 +msgid "Password for the lurker system group:" +msgstr "Mật khẩu cho nhóm hệ thống lurker:" + +#. Type: password +#. Description +#: ../templates:7001 +msgid "" +"A password for the lurker system group needs to be set. It is requested when " +"deleting mail from archive through the web button. You can change the " +"password later by running 'gpasswd lurker'." +msgstr "" +"Cần đặt mật khẩu cho nhóm hệ thống lurker. Nó được yêu cầu khi xoá thư khỏi " +"kho bằng cái nút Mạng. Bạn có thể thay đổi mật khẩu về sau bằng cách chạy " +"lệnh « gpasswd lurker »." --- lurker-2.1.orig/debian/po/sv.po +++ lurker-2.1/debian/po/sv.po @@ -0,0 +1,158 @@ +# 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: lurker 1.3-3\n" +"Report-Msgid-Bugs-To: mejo@debian.org\n" +"POT-Creation-Date: 2006-12-20 05:02+0100\n" +"PO-Revision-Date: 2006-09-28 07:59+0100\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Choices +#: ../templates:1001 +msgid "apache, apache2, apache-ssl, apache-perl" +msgstr "apache, apache2, apache-ssl, apache-perl" + +#. Type: multiselect +#. Description +#: ../templates:1002 +msgid "Servers that you would like to be configured automatically:" +msgstr "Servrar som du vill konfigurera automatiskt:" + +#. Type: multiselect +#. Description +#: ../templates:1002 +msgid "" +"It is possible to configure your apache webservers automatically in the way " +"that lurker archive pages are available. This requires the servers to have " +"an include dir in /etc/apache*/conf.d, like the debian apache packages do. " +"You should be able to access lurker at http://localhost/lurker afterwards." +msgstr "" +"Det r mjligt att konfigurera dina Apache-webbservrar automatiskt och p s " +"stt f lurkers arkivsidor tillgngliga. Detta krver att servrarna har en " +"include-katalog i /etc/apache*/conf.d p samma stt som Debians apache-paket " +"har. Du br kunna komma t lurker p adressen http://localhost/lurker efter " +"detta." + +#. Type: note +#. Description +#: ../templates:2001 +msgid "No webserver will be configured automatically" +msgstr "Ingen webbserver kommer att konfigureras automatiskt" + +#. Type: note +#. Description +#: ../templates:2001 +msgid "" +"It seems like you have not installed a supported webserver. The script did " +"not detect an apache include directory at /etc/apache*/conf.d. Therefore, " +"the script did not configure a webserver, and you have to configure manually " +"any webserver that you want to use with lurker." +msgstr "" +"Det verkar som om du inte har installerat en webbserver som stds hr. " +"Skriptet kunde inte identifiera en include-katalog fr apache i /etc/apache*/" +"conf.d. Drfr kunde inte skriptet konfigurera webbservern och du mste " +"konfigurera de webbservrar du vill anvnda fr lurker manuellt. " + +#. Type: string +#. Description +#: ../templates:3001 +msgid "Archive Name:" +msgstr "Arkivnamn:" + +#. Type: string +#. Description +#: ../templates:3001 +msgid "What name should lurker use when referring to the machine it runs on?" +msgstr "" +"Vilket namn ska lurker anvnda nr den refererar till den maskin den krs p?" + +#. Type: string +#. Description +#: ../templates:4001 +msgid "Admin Name:" +msgstr "Administratrens namn:" + +#. Type: string +#. Description +#: ../templates:4001 +msgid "" +"This is the administrator information used at the bottom of generated pages. " +"You should probably set it to something useful." +msgstr "" +"Detta r administratrens information som anvnds i nederkant av de " +"genererade sidorna. Du br antagligen stlla in detta till ngot anvndbart." + +#. Type: string +#. Description +#: ../templates:5001 +msgid "Admin Address:" +msgstr "Administratrens adress:" + +#. Type: select +#. Choices +#: ../templates:6001 +msgid "automatic, manual" +msgstr "automatisk, manuell" + +#. Type: select +#. Description +#: ../templates:6002 +msgid "Upgrade the lurker database automatically:" +msgstr "Uppgradera lurker-databasen automatiskt:" + +#. Type: select +#. Description +#: ../templates:6002 +msgid "" +"The database format changed with this release. We provide a script to " +"automatically upgrade your database. It can be found at /usr/share/doc/" +"lurker/lurker-regenerate. Invoke it without arguments for manual database " +"upgrade [2]. Alternatively this can be done automatically for you now [1]. " +"Be aware of the fact that you need enough free space to temporarily save the " +"lurker database a second time." +msgstr "" +"Databasformatet har ndrats i denna utgva. Vi tillhandahller ett skript " +"fr att automatiskt uppgradera din databas. Det kan hittas i /usr/share/doc/" +"lurker/lurker-regenerate. Starta det utan argument fr att uppgradera din " +"databas manuellt [2]. Alternativt kan du uppgradera automatiskt nu [1]. Tnk " +"p att du behver dubbelt s mycket ledigt utrymme som din gamla databas " +"anvnder nu." + +#. Type: password +#. Description +#: ../templates:7001 +msgid "Password for the lurker system group:" +msgstr "Lsenord fr lurkers systemgrupp:" + +#. Type: password +#. Description +#: ../templates:7001 +msgid "" +"A password for the lurker system group needs to be set. It is requested when " +"deleting mail from archive through the web button. You can change the " +"password later by running 'gpasswd lurker'." +msgstr "" +"Ett lsenord fr lurkers systemgrupp behver stllas in. Det efterfrgas nr " +"e-post tas bort frn arkivet genom webbknappen. Du kan ndra lsenordet " +"senare genom att kra \"gpasswd lurker\"." + +#~ msgid "nill@bitbucket.org" +#~ msgstr "nill@bitbucket.org" + +#~ msgid "Local Mailing List Archive" +#~ msgstr "Lokalt arkiv fr sndlistor" + +#~ msgid "Unconfigured" +#~ msgstr "Ej konfigurerad" + +#~ msgid "manual" +#~ msgstr "manuell" --- lurker-2.1.orig/debian/po/de.po +++ lurker-2.1/debian/po/de.po @@ -0,0 +1,164 @@ +# 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. +# , 2005. +# +# +msgid "" +msgstr "" +"Project-Id-Version: lurker\n" +"Report-Msgid-Bugs-To: mejo@debian.org\n" +"POT-Creation-Date: 2006-12-20 05:02+0100\n" +"PO-Revision-Date: 2005-09-04 04:11+0200\n" +"Last-Translator: Jonas Meurer \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Choices +#: ../templates:1001 +msgid "apache, apache2, apache-ssl, apache-perl" +msgstr "apache, apache2, apache-ssl, apache-perl" + +#. Type: multiselect +#. Description +#: ../templates:1002 +msgid "Servers that you would like to be configured automatically:" +msgstr "Webserver, die automatisch konfiguriert werden sollen:" + +#. Type: multiselect +#. Description +#: ../templates:1002 +msgid "" +"It is possible to configure your apache webservers automatically in the way " +"that lurker archive pages are available. This requires the servers to have " +"an include dir in /etc/apache*/conf.d, like the debian apache packages do. " +"You should be able to access lurker at http://localhost/lurker afterwards." +msgstr "" +"Es ist mglich, die apache Webserver automatisch so zu konfigurieren, dass " +"sie die Archivseiten anzeigen. Dazu muss der Webserver ein Include-" +"Verzeichnis in /etc/apache*/conf.d haben, wie die Debianpakete. Lurker " +"sollte danach unter http://localhost/lurker erreichbar sein." + +#. Type: note +#. Description +#: ../templates:2001 +msgid "No webserver will be configured automatically" +msgstr "Kein Webserver wird automatisch konfiguriert" + +#. Type: note +#. Description +#: ../templates:2001 +msgid "" +"It seems like you have not installed a supported webserver. The script did " +"not detect an apache include directory at /etc/apache*/conf.d. Therefore, " +"the script did not configure a webserver, and you have to configure manually " +"any webserver that you want to use with lurker." +msgstr "" +"Es war nicht mglich, installierte apaches auszumachen, die ein Include " +"Verzeichnis in /etc/apache*/conf.d haben. Deshalb wurde kein Webserver " +"automatisch konfiguriert, weswegen der entsprechende Webserver fr lurker " +"noch manuell konfiguriert werden muss." + +#. Type: string +#. Description +#: ../templates:3001 +msgid "Archive Name:" +msgstr "Archiv Name:" + +#. Type: string +#. Description +#: ../templates:3001 +msgid "What name should lurker use when referring to the machine it runs on?" +msgstr "Was soll lurker als Archiv-Namen benutzen?" + +#. Type: string +#. Description +#: ../templates:4001 +msgid "Admin Name:" +msgstr "Admin Name:" + +#. Type: string +#. Description +#: ../templates:4001 +msgid "" +"This is the administrator information used at the bottom of generated pages. " +"You should probably set it to something useful." +msgstr "" +"Diese Adminstrator Informationen werden unten in den generierten Seiten " +"angezeigt. Richtige Angaben sind empfehlenswert aber nicht notwendig." + +#. Type: string +#. Description +#: ../templates:5001 +msgid "Admin Address:" +msgstr "Admin Adresse:" + +#. Type: select +#. Choices +#: ../templates:6001 +msgid "automatic, manual" +msgstr "Automatisch, Manuell" + +#. Type: select +#. Description +#: ../templates:6002 +msgid "Upgrade the lurker database automatically:" +msgstr "Die Lurker Datenbank automatisch aktualisieren:" + +#. Type: select +#. Description +#: ../templates:6002 +msgid "" +"The database format changed with this release. We provide a script to " +"automatically upgrade your database. It can be found at /usr/share/doc/" +"lurker/lurker-regenerate. Invoke it without arguments for manual database " +"upgrade [2]. Alternatively this can be done automatically for you now [1]. " +"Be aware of the fact that you need enough free space to temporarily save the " +"lurker database a second time." +msgstr "" +"Das Datenbank-Format hat sich mit diesem Release gendert. Mithilfe eines " +"Scripts ist es mglich, die Datenbank automatisch zu migrieren. Es kann " +"unter /usr/share/doc/lurker/lurker-regenerate gefunden werden. Zum manuellen " +"migrieren der Datenbank[2] sollte es ohne Optionen aufgerufen werden. " +"Alternativ kann die Datenbank nun automatisch migriert werden. Es muss " +"beachtet werden, dass dazu gengend Speicherplatz bentigt wird, um die " +"Lurker-Datenbank kurzzeitig ein zweites Mal zu speichern." + +#. Type: password +#. Description +#: ../templates:7001 +msgid "Password for the lurker system group:" +msgstr "Passwort fr die Systemgruppe lurker:" + +#. Type: password +#. Description +#: ../templates:7001 +msgid "" +"A password for the lurker system group needs to be set. It is requested when " +"deleting mail from archive through the web button. You can change the " +"password later by running 'gpasswd lurker'." +msgstr "" +"Fr die Systemgruppe lurker muss ein Passwort gesetzt werden. Dieses wird " +"abgefragt, wenn Mails ber den Button im Webinterface gelscht werden. Das " +"Passwort kann spter mit 'gpasswd lurker' gendert werden." + +#~ msgid "nill@bitbucket.org" +#~ msgstr "nill@bitbucket.org" + +#~ msgid "Local Mailing List Archive" +#~ msgstr "Lokales MailingListen-Archiv" + +#~ msgid "Unconfigured" +#~ msgstr "Unkonfiguriert" + +#~ msgid "manual" +#~ msgstr "Manuel" --- lurker-2.1.orig/debian/po/POTFILES.in +++ lurker-2.1/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates --- lurker-2.1.orig/debian/README.mailman +++ lurker-2.1/debian/README.mailman @@ -0,0 +1,88 @@ +lurker with mailman +------------------- + + To use lurker as external archiver for mailman's lists, both mailman and +lurker need to be configured accordingly. + + This document explains how to setup lurker and mailman in a way that +lurker archives all mailing lists that mailman provides. Though, it doesn't +cover how to split archives into public and private ones. +Read about frontends in lurkers documentation if you want to do this. Or +simply use an mda such as procmail to archive only a subset of lists. +See README.procmail or README.maildrop for more information. + +-> Configuring lurker as external archiver for mailman: + + Primary, you need to add user 'list', or whoever runs mailman, to the +lurker system group. To do so, run +# adduser list lurker + + Now you have to add every mailing list that mailman knows of to lurkers +configuration file. As mailman doesn't support to use the external archiver +for only a subset of its lists, this has to cover at least all private OR +all public lists. Otherwise mail from the remaining lists will not be +archived, neither in pipermail nor in lurker. You can list all mailman lists +with the 'list_lists' command from mailman. Add every list to +/etc/lurker/lurker.conf.local or to a lurker configuration include file. + +This package provides a perl script to automate the lurker configuration. +It is available at /usr/bin/mailman2lurker. The script is mainly for +creating a skeleton lurker configuration include file of mailman's list_lists +output, and for importing mailman's mbox files into the lurker database. +See the mailman2lurker(1) manpage for more information. + + Please keep in mind, that new mailman lists that lurker is not aware of yet +are not archived. lurker-index will fail as the list is not configured in +lurkers configuration yet. +In the past, this package provided a (rather ugly) wrapper for lurker-index +to save mail of new lists in a temporarely group, but that is depreciated +now due to the fact that simple regrouping of lists in lurker is not +supported any longer. + + The prefered solution now is, to keep mailman's mbox archiving, and rerun +mailman2lurker everytime you think that one or some new mailman lists exist. +For that, especially the -w option to parse [-p] and the -f option to import +[-i] are interesting. Again, see the mailman2lurker(8) for more information. + + To make mailman use lurker as its external archiver, you need to add the +following to mailmans /etc/mailman/mm_cfg.py: + +---snip--- +# These variables control the use of an external archiver. +# Here lurker is used as external archiver. For compatibility reasons, the +# wrapper lurker-index-lc is used instead of lurker-index. It converts the +# list name to lowercase. +PUBLIC_EXTERNAL_ARCHIVER = '/usr/bin/lurker-index-lc -l %(listname)s -m' +#PRIVATE_EXTERNAL_ARCHIVER = '/usr/bin/lurker-index-lc -l %(listname)s -m' +---snip--- + + This ensures that mailman will deliver every posted and accepted mail for +public lists to lurker. as lurkers mailing list names are case sensitive, +but mailmans are case insensitive, the lurker-index-lc wrapper exists. +lurker-index-lc is a wrapper around lurker-index which converts mailing +list names to lowercase letters. + + To activate private list archiving to the same lurker database too, simply +uncomment the second line with PRIVATE_EXTERNAL_ARCHIVE. + + Now you can change mailman's URL to mailing list archives. That will +direct the "archive" links on listinfo pages to lurkers archives. +To do so, add the following to /etc/mailman/mm_cfg.py: + +---snip--- +# link to lurkers list overview +PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/lurker/list/%(listname)s.html' +---snip--- + + Last but not least import the mailman mbox files of lists (normally found +at /var/lib/mailman/archives/private/.mbox/.mbox) into +your new lurker database. This can either be done my using mailman2lurker, +or manually by running the following for every list: + +# lurker-index -l -i /path/to/.mbox + +Don't mind about mails already archived in lurker but also stored in these +mailboxes. lurker automatically filters out duplicates of already archived +mails. + + -- Jonas Meurer , Sun, 26 Sep 2004 16:25:11 +0200 --- lurker-2.1.orig/debian/README.procmail +++ lurker-2.1/debian/README.procmail @@ -0,0 +1,44 @@ +lurker with procmail +-------------------- + + One way to deliver list mails to lurker is to use procmail. Add one +rule for each list in your local procmailrc. + + This example rule delivers all mail to list 'example-list@lists.host.org' +to lurkers 'example-list' archive. It requires a X-Mailing-List header in +the mail. If your list mails don't have this header, you have to use +another filter rule. + + The owner of the procmailrc needs to be member of group 'lurker'. + +:0 w +* ^X-Mailing-List: .* +| lurker-index -l example-list -m + + If your lists are managed by mailman, the mails should have a List-Post +header, so here the appropriative rule would be: + +:0 w +* ^List-Post: +| lurker-index -l example-list -m + + + It's also possible to define one global rule for all lists with a +similar domain name. Be aware of the fact, that lurker will drop +mail to lists that it is not configured for. Thus you should always +configure new lists in lurker.conf(.local) before activating them, +otherwise you may loose mail for this list. + + Note that this can also provide a convenient way not to archive some +of your lists: the global rule always forwards mails to Lurker, but +only the lists defined in lurker.conf(.local) get archived. + + The following rule works for all lists with a X-Mailing-List header +and domain name 'lists.host.org'. + +:0 w +* ^X-Mailing-List: .*[<][a-z\-]*@lists.host.org[>] +* ^X-Mailing-List: .*[<] *\/[^ ][^@]* +| lurker-index -l $MATCH -m + + -- Jonas Meurer , Sat, 12 Feb 2005 13:55:34 +0100 --- lurker-2.1.orig/debian/patches/02_gcc4.3_include_fixes.dpatch +++ lurker-2.1/debian/patches/02_gcc4.3_include_fixes.dpatch @@ -0,0 +1,85 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_gcc4.333nclude_fixes.dpatch by Martin Michlmayr +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Add missing #includes to fix build with gcc-4.3 + +@DPATCH@ + +diff -rNu lurker-2.1.orig/index/Index.cpp lurker-2.1/index/Index.cpp +--- lurker-2.1.orig/index/Index.cpp 2006-02-24 14:17:29.000000000 +0100 ++++ lurker-2.1/index/Index.cpp 2007-04-03 13:37:39.000000000 +0200 +@@ -44,6 +44,7 @@ + + #include "Index.h" + ++#include + #include + #include + #include +diff -rNu lurker-2.1.orig/prune/attach.cpp lurker-2.1/prune/attach.cpp +--- lurker-2.1.orig/prune/attach.cpp 2006-02-19 02:17:22.000000000 +0100 ++++ lurker-2.1/prune/attach.cpp 2007-04-03 13:38:17.000000000 +0200 +@@ -27,6 +27,7 @@ + #include "PTable.h" + #include + ++#include + #include + + using namespace std; +diff -rNu lurker-2.1.orig/prune/prune.cpp lurker-2.1/prune/prune.cpp +--- lurker-2.1.orig/prune/prune.cpp 2006-02-24 15:12:38.000000000 +0100 ++++ lurker-2.1/prune/prune.cpp 2007-04-03 13:38:02.000000000 +0200 +@@ -37,6 +37,7 @@ + + #include + ++#include + #include + #include + #include +diff -rNu lurker-2.1.orig/render/attach.cpp lurker-2.1/render/attach.cpp +--- lurker-2.1.orig/render/attach.cpp 2006-03-01 15:55:44.000000000 +0100 ++++ lurker-2.1/render/attach.cpp 2007-04-03 13:38:31.000000000 +0200 +@@ -35,6 +35,7 @@ + #include "commands.h" + #include "Summary.h" + ++#include + #include + + using std::cout; +diff -rNu lurker-2.1.orig/render/jump.cpp lurker-2.1/render/jump.cpp +--- lurker-2.1.orig/render/jump.cpp 2006-02-19 02:17:22.000000000 +0100 ++++ lurker-2.1/render/jump.cpp 2007-04-03 13:39:00.000000000 +0200 +@@ -27,6 +27,7 @@ + #include "parse.h" + + #include ++#include + #include + + int main() +diff -rNu lurker-2.1.orig/render/keyword.cpp lurker-2.1/render/keyword.cpp +--- lurker-2.1.orig/render/keyword.cpp 2006-03-01 17:03:39.000000000 +0100 ++++ lurker-2.1/render/keyword.cpp 2007-04-03 13:39:10.000000000 +0200 +@@ -27,6 +27,7 @@ + #include + #include "parse.h" + ++#include + #include + #include + +diff -rNu lurker-2.1.orig/render/parse.cpp lurker-2.1/render/parse.cpp +--- lurker-2.1.orig/render/parse.cpp 2006-03-03 02:04:25.000000000 +0100 ++++ lurker-2.1/render/parse.cpp 2007-04-03 13:38:42.000000000 +0200 +@@ -24,6 +24,7 @@ + + #define _FILE_OFFSET_BITS 64 + ++#include + #include + + #include "parse.h" --- lurker-2.1.orig/debian/patches/01_umask.dpatch +++ lurker-2.1/debian/patches/01_umask.dpatch @@ -0,0 +1,310 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_umask.dpatch by Jonas Meurer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Allow to configure umask + +@DPATCH@ + +diff -rNu lurker-2.1/ChangeLog lurker-2.1.umask/ChangeLog +--- lurker-2.1/ChangeLog 2006-03-05 18:27:48.000000000 +0100 ++++ lurker-2.1.umask/ChangeLog 2006-03-12 14:14:14.000000000 +0100 +@@ -1,3 +1,7 @@ ++v2.2: ++ Added support for specifying a umask for the database ++ Removed idiotic/wrong use of 'sg' in INSTALL's import example ++ + v2.1: + lurker.cgi uses the environment to provide location information: + LURKER_CONFIG over-rides the default config file +diff -rNu lurker-2.1/INSTALL lurker-2.1.umask/INSTALL +--- lurker-2.1/INSTALL 2006-03-05 18:29:27.000000000 +0100 ++++ lurker-2.1.umask/INSTALL 2006-03-12 14:14:14.000000000 +0100 +@@ -86,15 +86,10 @@ + * ^X-Mailing-List: .* + | lurker-index -l japanese -m + +- Or with a lurker group: +- UMASK=002 +- :0 w +- * ^X-Mailing-List: .* +- | sg lurker -c "lurker-index -l japanese -m" ++ If you have a lurker group: ++ Set 'db_umask = 002' in the lurker.conf file. ++ chmod 02775 /usr/local/var/lib/lurker + +- In the this example 'sg' is used to change to the lurker group. +- The UMASK setting also tells procmail to make the files group writeable. +- + 5 Feed archived mail through lurker-index. + + lurker-index -l devel < debian-devel.mbox +diff -rNu lurker-2.1/common/ConfigFile.cpp lurker-2.1.umask/common/ConfigFile.cpp +--- lurker-2.1/common/ConfigFile.cpp 2006-03-05 19:09:24.000000000 +0100 ++++ lurker-2.1.umask/common/ConfigFile.cpp 2006-03-12 14:15:15.000000000 +0100 +@@ -1,4 +1,4 @@ +-/* $Id: ConfigFile.cpp,v 1.23 2006/03/01 14:02:51 terpstra Exp $ ++/* $Id: ConfigFile.cpp,v 1.25 2006/03/10 00:47:22 terpstra Exp $ + * + * ConfigFile.cpp - Knows how to load the config file + * +@@ -381,6 +381,7 @@ + : list(0), frontend(0), group(""), error(), lists(), groups(), + file(""), + dbdir(""), ++ db_umask(-1), + xslt("cat -"), + delete_message(""), + pgpv_mime("off"), +@@ -859,6 +860,22 @@ + } + dbdir = val; + } ++ else if (key == "db_umask") ++ { ++ if (lc != "") ++ { ++ error << "db_umask cannot be localized" << endl; ++ return -1; ++ } ++ ++ char* e; ++ db_umask = strtol(val.c_str(), &e, 8); ++ if (val.length() == 0 || *e != 0) ++ { ++ error << "db_mask must be given an octal number, not '" << val << "'" << endl; ++ return -1; ++ } ++ } + else if (key == "admin_name") + { + admin_name.translate(lc, val); +diff -rNu lurker-2.1/common/ConfigFile.h lurker-2.1.umask/common/ConfigFile.h +--- lurker-2.1/common/ConfigFile.h 2006-03-05 17:56:29.000000000 +0100 ++++ lurker-2.1.umask/common/ConfigFile.h 2006-03-12 14:14:57.000000000 +0100 +@@ -1,4 +1,4 @@ +-/* $Id: ConfigFile.h,v 1.13 2006/02/25 01:05:40 terpstra Exp $ ++/* $Id: ConfigFile.h,v 1.15 2006/03/10 00:47:22 terpstra Exp $ + * + * ConfigFile.h - Knows how to load the config file + * +@@ -152,6 +152,7 @@ + + // never localize paths, commands, or addresses + string dbdir; ++ int db_umask; + string xslt; + string delete_message; + string pgpv_mime; +diff -rNu lurker-2.1/index/lurker-params.1 lurker-2.1.umask/index/lurker-params.1 +--- lurker-2.1/index/lurker-params.1 2006-02-27 16:01:12.000000000 +0100 ++++ lurker-2.1.umask/index/lurker-params.1 2006-03-12 14:14:14.000000000 +0100 +@@ -3,7 +3,7 @@ + lurker\-params \(em parses parameters from the config file + .SH "SYNOPSIS" + .PP +-\fBlurker\-params\fR [\-c ] [\-f ] [\-d \-a \-n \-e \-x \-m \-i \-k \-w \-h \-r] ++\fBlurker\-params\fR [\-c ] [\-f ] [\-d \-u \-a \-n \-e \-x \-m \-i \-k \-w \-h \-r] + .SH "DESCRIPTION" + .PP + \fBlurker\-params\fR outputs various lurker settings +@@ -17,6 +17,8 @@ + (it defaults to selecting the fallback case for each field). + .IP "\fB\-d\fP" 10 + Output only the dbdir parameter ++.IP "\fB\-u\fP" 10 ++Output only the db_umask parameter + .IP "\fB\-a\fP" 10 + Output only the archive parameter + .IP "\fB\-n\fP" 10 +@@ -69,4 +71,4 @@ + still present in the latest official release. If the problem persists, + then send mail with instructions describing how to reproduce the bug to + . +-.\" created by instant / docbook-to-man, Mon 27 Feb 2006, 02:54 ++.\" created by instant / docbook-to-man, Fri 10 Mar 2006, 01:49 +diff -rNu lurker-2.1/index/lurker-params.sgml lurker-2.1.umask/index/lurker-params.sgml +--- lurker-2.1/index/lurker-params.sgml 2006-02-27 02:49:21.000000000 +0100 ++++ lurker-2.1.umask/index/lurker-params.sgml 2006-03-12 14:14:14.000000000 +0100 +@@ -58,7 +58,7 @@ + &dhpackage; + \-c <config-file> + \-f <locale> +- \-d \-a \-n \-e \-x \-m \-i \-k \-w \-h \-r ++ \-d \-u \-a \-n \-e \-x \-m \-i \-k \-w \-h \-r + + + +@@ -92,6 +92,12 @@ + + + ++ ++ ++ Output only the db_umask parameter ++ ++ ++ + + + Output only the archive parameter +diff -rNu lurker-2.1/index/main.cpp lurker-2.1.umask/index/main.cpp +--- lurker-2.1/index/main.cpp 2006-03-01 15:11:05.000000000 +0100 ++++ lurker-2.1.umask/index/main.cpp 2006-03-12 14:14:14.000000000 +0100 +@@ -1,4 +1,4 @@ +-/* $Id: main.cpp,v 1.49 2006/03/01 14:11:05 terpstra Exp $ ++/* $Id: main.cpp,v 1.50 2006/03/10 00:47:22 terpstra Exp $ + * + * main.cpp - Read the fed data into our database + * +@@ -633,6 +633,8 @@ + return LEX_DATAERR; + } + ++ if (cfg.db_umask != -1) umask(cfg.db_umask); ++ + string dbname = cfg.dbdir + "/db"; + ESort::Parameters params(synced); + // work around g++ 2.95 borkage +diff -rNu lurker-2.1/index/params.cpp lurker-2.1.umask/index/params.cpp +--- lurker-2.1/index/params.cpp 2006-02-27 02:45:29.000000000 +0100 ++++ lurker-2.1.umask/index/params.cpp 2006-03-12 14:14:14.000000000 +0100 +@@ -1,4 +1,4 @@ +-/* $Id: params.cpp,v 1.16 2006/02/26 14:09:07 terpstra Exp $ ++/* $Id: params.cpp,v 1.17 2006/03/10 00:47:22 terpstra Exp $ + * + * params.cpp - Parse the config file for helper scripts + * +@@ -38,11 +38,12 @@ + cerr << "Lurker-params (v" << VERSION << ") parses params from the config file.\n"; + cerr << "\n"; + cerr << "Usage: " << name << " [-c ] [-f ]\n"; +- cerr << " [-d -a -n -e -x -m -i -k -w -h -r]\n"; ++ cerr << " [-d -u -a -n -e -x -m -i -k -w -h -r]\n"; + cerr << "\n"; + cerr << "\t-c Use this config file for lurker settings\n"; + cerr << "\t-f Output the fields for this locale\n"; + cerr << "\t-d Output only the dbdir parameter\n"; ++ cerr << "\t-u Output only the db_umask parameter\n"; + cerr << "\t-a Output only the archive parameter\n"; + cerr << "\t-n Output only the administrator name\n"; + cerr << "\t-e Output only the administrator email address\n"; +@@ -66,6 +67,7 @@ + const char* config = DEFAULT_CONFIG_FILE; + int fields = 0; + bool dbdir = false; ++ bool db_umask = false; + bool archive = false; + bool admin_name = false; + bool admin_address = false; +@@ -78,7 +80,7 @@ + bool raw_email = false; + string lc; + +- while ((c = getopt(argc, (char*const*)argv, "c:f:danexmikwhr?")) != -1) ++ while ((c = getopt(argc, (char*const*)argv, "c:f:duanexmikwhr?")) != -1) + { + switch ((char)c) + { +@@ -92,6 +94,10 @@ + ++fields; + dbdir = true; + break; ++ case 'u': ++ ++fields; ++ db_umask = true; ++ break; + case 'a': + ++fields; + archive = true; +@@ -163,14 +169,18 @@ + return 1; + } + +- if (!fields || dbdir) cout << cfg.dbdir << "\n"; +- if (!fields || archive) cout << cfg.archive(lc) << "\n"; +- if (!fields || admin_name) cout << cfg.admin_name(lc)<< "\n"; +- if (!fields || admin_address) cout << cfg.admin_address << "\n"; +- if (!fields || xslt) cout << cfg.xslt << "\n"; +- if (!fields || pgpv_mime) cout << cfg.pgpv_mime << "\n"; +- if (!fields || pgpv_inline) cout << cfg.pgpv_inline << "\n"; +- if (!fields || delete_message)cout << cfg.delete_message<< "\n"; ++ if (!fields || dbdir) cout << cfg.dbdir << "\n"; ++ if (!fields || db_umask) ++ if (cfg.db_umask == -1) ++ cout << "user" << "\n"; ++ else cout << "0" << oct << cfg.db_umask << "\n"; ++ if (!fields || archive) cout << cfg.archive(lc) << "\n"; ++ if (!fields || admin_name) cout << cfg.admin_name(lc) << "\n"; ++ if (!fields || admin_address) cout << cfg.admin_address << "\n"; ++ if (!fields || xslt) cout << cfg.xslt << "\n"; ++ if (!fields || pgpv_mime) cout << cfg.pgpv_mime << "\n"; ++ if (!fields || pgpv_inline) cout << cfg.pgpv_inline << "\n"; ++ if (!fields || delete_message)cout << cfg.delete_message << "\n"; + if (!fields || web_cache) cout << (cfg.web_cache?"on":"off") << "\n"; + if (!fields || hide_email) cout << (cfg.hide_email?"on":"off") << "\n"; + if (!fields || raw_email) cout << (cfg.raw_email?"on":"off") << "\n"; +diff -rNu lurker-2.1/index/search.cpp lurker-2.1.umask/index/search.cpp +--- lurker-2.1/index/search.cpp 2006-02-27 02:53:55.000000000 +0100 ++++ lurker-2.1.umask/index/search.cpp 2006-03-12 14:14:14.000000000 +0100 +@@ -1,4 +1,4 @@ +-/* $Id: search.cpp,v 1.12 2006/02/27 01:53:55 terpstra Exp $ ++/* $Id: search.cpp,v 1.13 2006/03/10 00:47:22 terpstra Exp $ + * + * search.cpp - Search for messages in lurker database (optionally delete) + * +@@ -28,8 +28,11 @@ + #include + + #include ++#include ++#include + #include + #include ++#include + + using namespace std; + +@@ -124,6 +127,7 @@ + { + if (verbose) cerr << "opening " << cfg.dbdir << "/db read-write" << endl; + // Work around g++ 2.95 bug ++ if (cfg.db_umask != -1) umask(cfg.db_umask); + auto_ptr w + (ESort::Writer::opendb(cfg.dbdir + "/db")); + db = w.get(); +diff -rNu lurker-2.1/lurker.conf.in lurker-2.1.umask/lurker.conf.in +--- lurker-2.1/lurker.conf.in 2006-02-27 20:54:32.000000000 +0100 ++++ lurker-2.1.umask/lurker.conf.in 2006-03-12 14:14:14.000000000 +0100 +@@ -50,10 +50,13 @@ + # The substitution %c denotes the config file of the database to affect. + # The substitution %i is the lurker message ID of the target email. + # The recommended setup is to have a 'lurker' group owning /var/lib/lurker +-# Then for the example command to work, you must set 'gpasswd lurker'. +-# On some systems this is 'passwd -g lurker', there may be other variants. ++# Then for the example command to work, you must set 'gpasswd lurker'. ++# On some systems this is 'passwd -g lurker', there may be other variants. ++# Alternately, you can make the lurker db writable by the CGI. ++# Then use the second alternative after changing 'password'. + + delete_message = sg lurker -c "@BINDIR@/lurker-search -d -f -q -i -c %c %i" ++# delete_message = if test "password" = "`cat`"; then @BINDIR@/lurker-search -d -f -q -i -c %c %i; fi + + # The commands lurker uses to verify signatures. + # +@@ -102,6 +105,15 @@ + + dbdir = @LOCALSTATEDIR@/lib/@PACKAGE@ + ++# The umask to use when creating files in the database. ++# ++# If this is unset, the umask from the environment of the user is used. ++# You would want to set this to make sure that permissions stay correct. ++# If you want a group writable db, use 002 and a setgid dbdir (rwxrwsr-x). ++# If you want a user only db, use 022 and a dbdir with rwxr-xr-x. ++ ++db_umask = 002 ++ + # Include another file for additional configuration. + # + # If you have a large number of mailing lists it may help to group them. --- lurker-2.1.orig/debian/patches/00list +++ lurker-2.1/debian/patches/00list @@ -0,0 +1,2 @@ +01_umask +02_gcc4.3_include_fixes --- lurker-2.1.orig/debian/config +++ lurker-2.1/debian/config @@ -0,0 +1,65 @@ +#!/bin/sh +# config script for lurker +# +set -e + +. /usr/share/debconf/confmodule + +# Use a state machine to allow jumping back to previous questions. +STATE=1 +while [ "$STATE" != 0 ] && [ "$STATE" != 4 ]; do + case "$STATE" in + 1) + for entry in /etc/apache*/conf.d; do + apache="yes" + done + + if [ "$apache" = "yes" ]; then + db_input high lurker/apache_config || true + else + db_input high lurker/webserver || true + fi + + if [ -e /etc/lurker/lurker.conf ]; then + if [ -x "/usr/bin/lurker-params" ]; then + archve=`/usr/bin/lurker-params -c /etc/lurker/lurker.conf -a` + admnme=`/usr/bin/lurker-params -c /etc/lurker/lurker.conf -n` + admadr=`/usr/bin/lurker-params -c /etc/lurker/lurker.conf -e` + else + archve=`grep "^[[:space:]]*archive[[:space:]]*=" /etc/lurker/lurker.conf | sed 's/^[^=]*=[[:space:]]*\([[:graph:]]*[[:print:]]\)[[:space:]]*/\1/' | tail -1` + admnme=`grep "^[[:space:]]*admin_name[[:space:]]*=" /etc/lurker/lurker.conf | sed 's/^[^=]*=[[:space:]]*\([[:graph:]]*[[:print:]]\)[[:space:]]*/\1/' | tail -1` + admadr=`grep "^[[:space:]]*admin_address[[:space:]]*=" /etc/lurker/lurker.conf | sed 's/^[^=]*=[[:space:]]*\([[:graph:]]*[[:print:]]\)[[:space:]]*/\1/' | tail -1` + fi + if [ "$archve" ]; then db_set lurker/archive $archve; fi + if [ "$admnme" ]; then db_set lurker/admin_name $admnme; fi + if [ "$admadr" ]; then db_set lurker/admin_address $admadr; fi + fi + db_input low lurker/archive || true + db_input low lurker/admin_name || true + db_input low lurker/admin_address || true + ;; + + 2) + case "$1" in + configure) + if [ "$2" ] && dpkg --compare-versions "$2" "<" 1.0; then + if [ -e /var/lib/lurker/db ]; then + db_input high lurker/upgrade_db || true + fi + fi + ;; + esac + ;; + + 3) + db_input high lurker/group_passwd || true + ;; + esac + + if db_go || true; then + STATE=$(($STATE + 1)) + else + STATE=$(($STATE - 1)) + fi +done +exit 0 --- lurker-2.1.orig/debian/templates +++ lurker-2.1/debian/templates @@ -0,0 +1,55 @@ +Template: lurker/apache_config +Type: multiselect +_Choices: apache, apache2, apache-ssl, apache-perl +Default: +_Description: Servers that you would like to be configured automatically: + It is possible to configure your apache webservers automatically in the way + that lurker archive pages are available. This requires the servers to have + an include dir in /etc/apache*/conf.d, like the debian apache packages do. + You should be able to access lurker at http://localhost/lurker afterwards. + +Template: lurker/webserver +Type: note +_Description: No webserver will be configured automatically + It seems like you have not installed a supported webserver. The script + did not detect an apache include directory at /etc/apache*/conf.d. + Therefore, the script did not configure a webserver, and you have to + configure manually any webserver that you want to use with lurker. + +Template: lurker/archive +Type: string +Default: Local Mailing List Archive +_Description: Archive Name: + What name should lurker use when referring to the machine it runs on? + +Template: lurker/admin_name +Type: string +Default: Unconfigured +_Description: Admin Name: + This is the administrator information used at the bottom of generated + pages. You should probably set it to something useful. + +Template: lurker/admin_address +Type: string +Default: nill@bitbucket.org +_Description: Admin Address: + +Template: lurker/upgrade_db +Type: select +_Choices: automatic, manual +Default: manual +_Description: Upgrade the lurker database automatically: + The database format changed with this release. We provide a script to + automatically upgrade your database. It can be found at + /usr/share/doc/lurker/lurker-regenerate. Invoke it without arguments for + manual database upgrade [2]. Alternatively this can be done automatically + for you now [1]. Be aware of the fact that you need enough free space to + temporarily save the lurker database a second time. + +Template: lurker/group_passwd +Type: password +Default: +_Description: Password for the lurker system group: + A password for the lurker system group needs to be set. It is requested when + deleting mail from archive through the web button. + You can change the password later by running 'gpasswd lurker'. --- lurker-2.1.orig/debian/rules +++ lurker-2.1/debian/rules @@ -0,0 +1,108 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += --build $(DEB_HOST_GNU_TYPE) +else + confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +# Include dpatch stuff. +include /usr/share/dpatch/dpatch.make + +config.status: configure patch-stamp + dh_testdir + # Add here commands to configure the package. + CXXFLAGS="-I/usr/include/qt3" ./configure \ + $(confflags) \ + --prefix=/usr \ + --sysconfdir=/etc \ + --with-default-www-dir=/var/www/lurker \ + --with-default-config-dir=/etc/lurker \ + --with-cgi-bin-dir=/usr/lib/cgi-bin/lurker \ + --mandir=/usr/share/man \ + --localstatedir=/var + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + make + + pod2man --section=8 --center="Administrative commands" --release=" " debian/mailman2lurker debian/mailman2lurker.8 + +clean: unpatch + dh_testdir + dh_testroot + + if test -f Makefile; then make distclean; fi + dh_clean + rm -f build-stamp + + # remove splitted configs and generated manpage + rm -f lurker.conf.local lurker.conf.template debian/mailman2lurker.8 + + # update po files + debconf-updatepo + +install: build + dh_testdir + dh_testroot + dh_clean + dh_installdirs + + DESTDIR=$(CURDIR)/debian/lurker make install + + awk 'BEGIN { X=1 } { if ( X ) { print $$0'\n' } } /'"^# Mailing list configuration.$$"'/ { X=0 }' < lurker.conf | head -n -2 > lurker.conf.template + echo "# Include the configuration for local mailinglists" >> lurker.conf.template + echo "include = lurker.conf.local" >> lurker.conf.template + echo "#############################################################################" > lurker.conf.local + echo "# Mailing list configuration." >> lurker.conf.local + awk 'BEGIN { X=0 } { if ( X ) { print $$0'\n' } } /'"^# Mailing list configuration.$$"'/ { X=1 }' < lurker.conf >> lurker.conf.local + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: install + dh_testdir + dh_testroot + dh_installdebconf + dh_install + dh_installdocs + dh_installcron + dh_installchangelogs ChangeLog + dh_installman debian/lurker-index-lc.1 debian/mailman2lurker.8 + dh_installexamples lurker.conf + mv debian/lurker/var/www/lurker/ui debian/lurker/etc/lurker + dh_link etc/lurker/ui var/www/lurker/ui + + dh_strip + dh_compress + dh_fixperms + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- lurker-2.1.orig/debian/NEWS +++ lurker-2.1/debian/NEWS @@ -0,0 +1,34 @@ +lurker (2.1-2) unstable; urgency=low + + This package upgrade renames /usr/bin/lurker-index-mm to + /usr/bin/lurker-index-lc. Support for automatical list configuration + has been dropped, the wrapper is only left for converting listnames + into lowercase letters. For adding mailman lists to lurkers database, + the mailman2lurker script is appreciated. See man mailman2lurker(8) + and /usr/share/doc/lurker/README.mailman for further information. + + -- Jonas Meurer Thu, 9 Mar 2006 12:08:46 +0100 + +lurker (2.0-1) unstable; urgency=low + + This new upstream release brings some incompatibilities in the configuration: + - language is now a mandatory field for lists + - a single mailing list may host multiple written languages + - every list must now be contained in a group + - the regroupable option does not exist any more + + Apart from that, lurker 2.0 supports frontends now, which allow you + to configure seperate environments, for example for public and private + lists. See lurker.conf.local for examples. + + -- Jonas Meurer Mon, 27 Feb 2006 15:05:03 +0100 + +lurker (1.2-6) unstable; urgency=medium + + * This version fixes lurkers subject header parsing. Former versions + had problems with split subject lines, as mutt produces them in + some special cases. + * Unfortunately you have to regenerate lurkers database too fix + potential broken headers in your archives. + + -- Jonas Meurer Fri, 29 Apr 2005 15:51:22 +0200 --- lurker-2.1.orig/debian/lurker-index-lc.sgml +++ lurker-2.1/debian/lurker-index-lc.sgml @@ -0,0 +1,115 @@ + lurker-index-lc.1'. + You may view the manual page with: + `docbook-to-man lurker-index-lc.sgml | nroff -man | less'. + A typical entry in a Makefile or Makefile.am is: + +lurker-index-lc.1: lurker-index-lc.sgml + docbook-to-man $< > $@ + --> + + + Jonas"> + Meurer"> + + May 21, 2004"> + + 1"> + jonas@freesources.org"> + + LURKER-INDEX-LC"> + + + Debian"> + lurker"> + GNU"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + wrapper for lurker-index to lowercase mailing list names + + + + &dhpackage; + + + + DESCRIPTION + + &dhpackage; is a wrapper for lurker-index + which converts the mailing list name to lowercase letters. + + + + + SEE ALSO + + lurker-index(1) + + + + COPYRIGHT + + Copyright (C) 2003-2005: &dhusername; <&dhemail;> + + 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; version 2. + + 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 St, Fifth Floor, Boston, MA + 02110-1301, USA. + + + +
+ + + + --- lurker-2.1.orig/debian/compat +++ lurker-2.1/debian/compat @@ -0,0 +1 @@ +5 --- lurker-2.1.orig/debian/install +++ lurker-2.1/debian/install @@ -0,0 +1,5 @@ +lurker.conf.template usr/share/lurker +lurker.conf.local etc/lurker +apache.conf etc/lurker +debian/lurker-index-lc usr/bin +debian/mailman2lurker usr/bin --- lurker-2.1.orig/debian/README.Debian +++ lurker-2.1/debian/README.Debian @@ -0,0 +1,82 @@ +lurker for Debian +----------------- + + +-> changes to upstream: + + The configuration file lurker.conf has been split up into a static part +at /etc/lurker/lurker.conf, what contains global archive configuration, +and a local part at /etc/lurker/lurker.conf.local, intended for list +configuration and to define more include files. +You should keep your list configuration away from lurker.conf to make package +upgrades easier. + + The debian package provides lurker-index-lc, a wrapper around lurker-index. +It converts mailmans mailing list names to lowercase on the fly, as lurkers +list names are case sensitive while mailmans aren't. + + +-> initial setup: + + The first step to setup lurker, is to edit /etc/lurker/lurker.conf.local, +and add new lists there. See the example list configuration for more +information. + + Now you have to configure your mail system in a way that lurker imports +new list mail into its archives. There are three ways to achieve this: + +a) configure your mailing list processing software to use lurker as archiver. + - README.mailman explains how to do this with mailman +b) configure your mail delivery agent to deliver mails to lurker. + - README.maildrop explains how to do this with maildrop + - README.procmail explains how to do this with procmail +c) configure your mail transfer agent to deliver mails to lurker. + + Last but not least you can import the old mail archives into lurker archives. +Run 'lurker-index -l [list] -i [mbox/maildir]' for every list, where [list] +is the listname from lurker.conf and [mbox/maildir] is either a mbox file +or a Maildir directory. + + +-> the delete button: + + Since version 2.0, lurker supports a delete button in its web archives. +This button requires a password for authentication, and then markes the +corresponding mail as 'deleted' in its database. This will prevent the mail +from being listed in the web archives, even after reimporting the archives. +The password that is being asked is the password for the lurker system group. +You can set it by invoking 'gpasswd lurker'. + + +-> webserver: + + If you run one of the apache{2,-perl,-ssl} webservers, it may already be +configured in terms of a symlink at conf.d/lurker, depending on your +decision at the debconf question. In this case lurker should be accessible +at http://localhost/lurker + + In the case that you run apache2 without the rewrite module enabled, +the automatic configuration at installation time will fail. Unfortunately +apache2 disables the rewrite module by default, so you'll have to enable +it manually by running 'a2enmod rewrite'. +Afterwards you can configure apache2 for lurker by running +'dpkg-reconfigure lurker', or manually linking /etc/lurker/apache.conf +to /etc/apache2/conf.d: +# ln -s /etc/lurker/apache.conf /etc/apache2/conf.d/lurker + + If you run another webserver than apache{2,-perl,-ssl}, and you have +suggestions or patches to support your webserver configuration, please +file a wishlist bug against lurker in the debian bts. + + +-> permission management: + + To give a user write access to the db, simply add this user to the group +lurker with 'adduser [user] lurker'. /var/lib/lurker, the directory where +the database is stored, is owned by root.lurker. Group lurker has write +access to the directory. + + +-> see README.* files for further instructions. + + -- Jonas Meurer , Wed, 7 Sep 2005 16:03:58 +0200 --- lurker-2.1.orig/debian/control +++ lurker-2.1/debian/control @@ -0,0 +1,21 @@ +Source: lurker +Section: mail +Priority: optional +Maintainer: Jonas Meurer +Build-Depends: debhelper (>= 5.0.0), po-debconf, libmimelib1-dev, zlib1g-dev, dpatch +Standards-Version: 3.7.2.0 + +Package: lurker +Architecture: any +Depends: apache2 | apache (>> 1.3.29) | httpd, debconf (>= 0.2.26) | debconf-2.0, xsltproc, ucf, adduser (>= 3.11), passwd (>= 1:4.0.16-1), ${shlibs:Depends} +Suggests: gnupg, mailman +Description: Archive tool for mailing lists with search engine + lurker is an archiver which can handle extremely large amounts + of email. It is fast, intuitive, and customisable. + . + lurker archives your mailing lists and imports new mail. + It includes many features like powerful fast search engine, + chronological threading, file attachment support, + multi-lingual support, completely customisable output etc. + . + For more information see http://lurker.sourceforge.net/.