From e0142349ca58a604eb730c10333a21fe6ea189b2 Mon Sep 17 00:00:00 2001 From: Daniel Walrond Date: Wed, 4 Mar 2009 18:24:02 +0100 Subject: [PATCH 1/1] Initial commit. Imported Daniel Walrond's packaging as of version 1.2.15-1.1. --- debian/README.Debian | 76 ++++ debian/attic/mlmmj-bounce.1 | 35 ++ debian/attic/mlmmj-maintd.1 | 30 ++ debian/attic/mlmmj-make-ml.1 | 22 + debian/attic/mlmmj-process.1 | 33 ++ debian/attic/mlmmj-recieve.1 | 33 ++ debian/attic/mlmmj-send.1 | 56 +++ debian/attic/mlmmj-sub.1 | 41 ++ debian/attic/mlmmj-unsub.1 | 37 ++ debian/bogus-conffiles | 12 + debian/changelog | 383 ++++++++++++++++++ debian/compat | 1 + debian/control | 44 ++ debian/copyright | 34 ++ debian/cron.d | 1 + debian/dirs | 2 + debian/docs | 4 + debian/htpasswd | 1 + debian/mlmmj-php-web-admin.README.Debian | 15 + debian/mlmmj-php-web.README.Debian | 30 ++ debian/mlmmj.config | 19 + debian/mlmmj.postinst | 18 + debian/mlmmj.postrm | 25 ++ debian/mlmmj.templates | 12 + debian/mlmmj.templates.old | 14 + debian/patches/00list | 3 + debian/patches/01_debian_make_mlmmj-ml.dpatch | 212 ++++++++++ debian/patches/02_fix_mlmmj_php.dpatch | 77 ++++ debian/patches/05_fix_call_to_free.dpatch | 19 + .../05_fix_displayed_full_paths.dpatch | 37 ++ debian/po/POTFILES.in | 1 + debian/po/cs.po | 48 +++ debian/po/de.po | 49 +++ debian/po/es.po | 70 ++++ debian/po/fr.po | 52 +++ debian/po/nl.po | 36 ++ debian/po/pt.po | 50 +++ debian/po/templates.pot | 42 ++ debian/rules | 156 +++++++ debian/watch | 6 + 40 files changed, 1836 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/attic/mlmmj-bounce.1 create mode 100644 debian/attic/mlmmj-maintd.1 create mode 100644 debian/attic/mlmmj-make-ml.1 create mode 100644 debian/attic/mlmmj-process.1 create mode 100644 debian/attic/mlmmj-recieve.1 create mode 100644 debian/attic/mlmmj-send.1 create mode 100644 debian/attic/mlmmj-sub.1 create mode 100644 debian/attic/mlmmj-unsub.1 create mode 100644 debian/bogus-conffiles create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/cron.d create mode 100644 debian/dirs create mode 100644 debian/docs create mode 100644 debian/htpasswd create mode 100644 debian/mlmmj-php-web-admin.README.Debian create mode 100644 debian/mlmmj-php-web.README.Debian create mode 100644 debian/mlmmj.config create mode 100644 debian/mlmmj.postinst create mode 100644 debian/mlmmj.postrm create mode 100644 debian/mlmmj.templates create mode 100644 debian/mlmmj.templates.old create mode 100644 debian/patches/00list create mode 100644 debian/patches/01_debian_make_mlmmj-ml.dpatch create mode 100644 debian/patches/02_fix_mlmmj_php.dpatch create mode 100644 debian/patches/05_fix_call_to_free.dpatch create mode 100644 debian/patches/05_fix_displayed_full_paths.dpatch create mode 100644 debian/po/POTFILES.in create mode 100644 debian/po/cs.po create mode 100644 debian/po/de.po create mode 100644 debian/po/es.po create mode 100644 debian/po/fr.po create mode 100644 debian/po/nl.po create mode 100644 debian/po/pt.po create mode 100644 debian/po/templates.pot create mode 100755 debian/rules create mode 100644 debian/watch diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..cf2ac1b --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,76 @@ +mlmmj for Debian +---------------- + +INSTALLATION: + +1) Configure a recipient delimiter. The default is to use '+'. + + In postfix, add + recipient_delimiter = + + to /etc/postfix/main.cf + + In Exim, add + local_part_suffix = +* + local_part_suffix_optional + to the "userforward:" and the "localuser:" router in /etc/exim/exim.conf. + + If you are using another MTA, please refer its manual or + http://faqs.org/faqs/mail/addressing/ + which has some very useful information. + + This version of mlmmj supports setting the recipient delimiter on a + per list basis. This is done by means of the TUNABLE "delimiter", described + in detail in the TUNABLES document. + +2) Run /usr/bin/mlmmj-make-ml which will guide you through creating + actual mailing lists. + Details about the exact operations of mlmmj-make-ml are available in + /usr/share/doc/mlmmj/README + +3) If you didn't let mlmmj-make-ml modify /etc/aliases, you need to + make the changes to your mailserver aliases that came as output from + mlmmj-make-ml. Eg. + + mlmmj-test: | "/usr/bin/mlmmj-recieve -L /var/spool/mlmmj/mlmmj-test" + +4) Mailing lists created by mlmmj-make-ml are owned by nobody:nogroup, unless + the mlmmj-make-ml script is able to determine which MTA is handling your + lists. If that is the case, it will set permissions accordingly, and check + if any of your existing lists have seemingly wrong ownership. + If default ownership is applied, you will need to tweak ownerships yourself. + + The command to execute is: + + chown -R /var/spool/mlmmj/ + + where is the user that applies to your MTA, and is the + name of the list you just created. + If you would like your MTA added to the list of automatically detected ones, + please submit a bug against mlmmj in the Debian BTS (http://bugs.debian.org) + and include the user/group information needed to make mlmmj work with your + MTA. + +5) Look through /usr/share/doc/mlmmj/TUNABLES to check the options available + in mlmmj. + +GENERAL NOTES: + +* In order to comply with the FHS, the control and text subdirectories of each + list, are created in /etc/mlmmj/lists/ instead of under + /var/spool/mlmmj/. Symlinks are created to keep functionality + intact, so you should have no problems editing the files via their links + under /var +* Addtionally, /use/share/doc/mlmmj/README.Debian has information on access + control, moderation, archiving and lots of other features supported by + mlmmj. You would do well to read it. + +BUGS: + +* The list-subscribers feature was added in mlmmj 1.2.5 and a new list text + file was introduced accordingly. This file, called "listsubs" was not + installed by the mlmmj-make-ml script before 1.2.5-1 and as such the list + subscribers feature probably won't work in pre 1.2.5 lists, unless you + copy /usr/share/mlmmj/text.skel/listsubs into + /etc/mlmmj/lists//text in all your pre 1.2.5 lists. + + -- Søren Boll Overgaard , Tue, 31 Aug 2004 17:47:15 +0000 diff --git a/debian/attic/mlmmj-bounce.1 b/debian/attic/mlmmj-bounce.1 new file mode 100644 index 0000000..56f1d52 --- /dev/null +++ b/debian/attic/mlmmj-bounce.1 @@ -0,0 +1,35 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH MLMMJ-BOUNCE "1" "September 2004" "mlmmj-bounce version 1.0.0-RC2" "User Commands" +.SH NAME +mlmmj-bounce \- manual page for mlmmj-bounce version 1.0.0-RC2 +.SH SYNOPSIS +.B mlmmj-bounce +\fI-L /path/to/list -a john=doe.org \fR[\fI-n num | -p\fR] +.SH DESCRIPTION +.HP +\fB\-a\fR: Address string that bounces +.HP +\fB\-h\fR: This help +.HP +\fB\-L\fR: Full path to list directory +.HP +\fB\-n\fR: Message number in the archive +.HP +\fB\-p\fR: Send out a probe +.HP +\fB\-V\fR: Print version +.SH "SEE ALSO" +The full documentation for +.B mlmmj-bounce +is maintained as a Texinfo manual. If the +.B info +and +.B mlmmj-bounce +programs are properly installed at your site, the command +.IP +.B info mlmmj-bounce +.PP +should give you access to the complete manual. +.SH AUTHOR +This man page was written by Søren Boll Overgaard on 3. sep +2004, based on output from help2man diff --git a/debian/attic/mlmmj-maintd.1 b/debian/attic/mlmmj-maintd.1 new file mode 100644 index 0000000..613cfe0 --- /dev/null +++ b/debian/attic/mlmmj-maintd.1 @@ -0,0 +1,30 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH MLMMJ-MAINTD "1" "September 2004" "mlmmj-maintd version 1.0.0-RC2" "User Commands" +.SH NAME +mlmmj-maintd \- manual page for mlmmj-maintd version 1.0.0-RC2 +.SH SYNOPSIS +.B mlmmj-maintd +\fI-L /path/to/listdir \fR[\fI-F\fR] +.SH DESCRIPTION +.HP +\fB\-L\fR: Full path to list directory +.HP +\fB\-F\fR: Don't fork, performing one maintenance run only. +.IP +This option should be used when one wants to +avoid running another daemon, and use e.g. cron to control it instead. +.SH "SEE ALSO" +The full documentation for +.B mlmmj-maintd +is maintained as a Texinfo manual. If the +.B info +and +.B mlmmj-maintd +programs are properly installed at your site, the command +.IP +.B info mlmmj-maintd +.PP +should give you access to the complete manual. +.SH AUTHOR +This man page was written by Søren Boll Overgaard on 3. sep +2004, based on output from help2man diff --git a/debian/attic/mlmmj-make-ml.1 b/debian/attic/mlmmj-make-ml.1 new file mode 100644 index 0000000..4ed5d75 --- /dev/null +++ b/debian/attic/mlmmj-make-ml.1 @@ -0,0 +1,22 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH MLMMJ-MAKE-ML "1" "September 2004" "mlmmj-make-ml version 0.1" "User Commands" +.SH NAME +mlmmj-make-ml \- manual page for mlmmj-make-ml version 0.1 +.SH SYNOPSIS +.B mlmmj-make-ml +\fI[OPTIONS] +.SH DESCRIPTION +.HP +\fB\-h\fR: Display help +.HP +\fB\-L\fR: The name of the mailing list +.HP +\fB\-s\fR: The spool directory, if different from /var/spool/mlmmj +.HP +\fB\-a\fR: Create the needed entries in /etc/aliases +.HP +\fB\-z\fR: Do nothing for now. +.IP +.SH AUTHOR +This man page was written by Søren Boll Overgaard on 3. sep +2004, based on output from help2man diff --git a/debian/attic/mlmmj-process.1 b/debian/attic/mlmmj-process.1 new file mode 100644 index 0000000..b4bc77b --- /dev/null +++ b/debian/attic/mlmmj-process.1 @@ -0,0 +1,33 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH MLMMJ-PROCESS "1" "September 2004" "mlmmj-process version 1.0.0-RC2" "User Commands" +.SH NAME +mlmmj-process \- manual page for mlmmj-process version 1.0.0-RC2 +.SH SYNOPSIS +.B mlmmj-process +\fI-L /path/to/list -m /path/to/mail \fR[\fI-h\fR] [\fI-P\fR] [\fI-V\fR] +.SH DESCRIPTION +.HP +\fB\-h\fR: This help +.HP +\fB\-L\fR: Full path to list directory +.HP +\fB\-m\fR: Full path to mail file +.HP +\fB\-P\fR: Don't execute mlmmj-send +.HP +\fB\-V\fR: Print version +.SH "SEE ALSO" +The full documentation for +.B mlmmj-process +is maintained as a Texinfo manual. If the +.B info +and +.B mlmmj-process +programs are properly installed at your site, the command +.IP +.B info mlmmj-process +.PP +should give you access to the complete manual. +.SH AUTHOR +This man page was written by Søren Boll Overgaard on 3. sep +2004, based on output from help2man diff --git a/debian/attic/mlmmj-recieve.1 b/debian/attic/mlmmj-recieve.1 new file mode 100644 index 0000000..978d2c6 --- /dev/null +++ b/debian/attic/mlmmj-recieve.1 @@ -0,0 +1,33 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH MLMMJ-RECIEVE "1" "September 2004" "mlmmj-recieve version 1.0.0-RC2" "User Commands" +.SH NAME +mlmmj-recieve \- manual page for mlmmj-recieve version 1.0.0-RC2 +.SH SYNOPSIS +.B mlmmj-recieve +\fI-L /path/to/listdir \fR[\fI-h\fR] [\fI-V\fR] [\fI-P\fR] [\fI-F\fR] +.SH DESCRIPTION +.HP +\fB\-h\fR: This help +.HP +\fB\-F\fR: Don't fork in the background +.HP +\fB\-L\fR: Full path to list directory +.HP +\fB\-P\fR: Don't execute mlmmj-process +.HP +\fB\-V\fR: Print version +.SH "SEE ALSO" +The full documentation for +.B mlmmj-recieve +is maintained as a Texinfo manual. If the +.B info +and +.B mlmmj-recieve +programs are properly installed at your site, the command +.IP +.B info mlmmj-recieve +.PP +should give you access to the complete manual. +.SH AUTHOR +This man page was written by Søren Boll Overgaard on 3. sep +2004, based on output from help2man diff --git a/debian/attic/mlmmj-send.1 b/debian/attic/mlmmj-send.1 new file mode 100644 index 0000000..a666fe5 --- /dev/null +++ b/debian/attic/mlmmj-send.1 @@ -0,0 +1,56 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH MLMMJ-SEND "1" "September 2004" "mlmmj-send version 1.0.0-RC2" "User Commands" +.SH NAME +mlmmj-send \- manual page for mlmmj-send version 1.0.0-RC2 +.SH SYNOPSIS +.B mlmmj-send +[\fI-L /path/to/list || -l listctrl\fR] +.SH DESCRIPTION +.HP +\fB\-m\fR /path/to/mail [-a] [-D] [-F] [-h] [-r] [-R] [-s] [-T] [-V] +.HP +\fB\-a\fR: Don't archive the mail +.HP +\fB\-D\fR: Don't delete the mail after it's sent +.HP +\fB\-F\fR: What to use as MAIL FROM: +.HP +\fB\-h\fR: This help +.HP +\fB\-l\fR: List control variable: +.IP +\&'1' means 'send a single mail' +\&'2' means 'mail to moderators' +\&'3' means 'resend failed list mail' +\&'4' means 'send to file with recipients' +\&'5' means 'bounceprobe' +\&'6' means 'single listmail to single recipient' +.HP +\fB\-L\fR: Full path to list directory +.HP +\fB\-m\fR: Full path to mail file +.HP +\fB\-r\fR: Relayhost IP address (defaults to 127.0.0.1) +.HP +\fB\-R\fR: What to use as Reply-To: header +.HP +\fB\-s\fR: Subscribers file name +.HP +\fB\-T\fR: What to use as RCPT TO: +.HP +\fB\-V\fR: Print version +.SH "SEE ALSO" +The full documentation for +.B mlmmj-send +is maintained as a Texinfo manual. If the +.B info +and +.B mlmmj-send +programs are properly installed at your site, the command +.IP +.B info mlmmj-send +.PP +should give you access to the complete manual. +.SH AUTHOR +This man page was written by Søren Boll Overgaard on 3. sep +2004, based on output from help2man diff --git a/debian/attic/mlmmj-sub.1 b/debian/attic/mlmmj-sub.1 new file mode 100644 index 0000000..55bbe9f --- /dev/null +++ b/debian/attic/mlmmj-sub.1 @@ -0,0 +1,41 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH MLMMJ-SUB "1" "September 2004" "mlmmj-sub version 1.0.0-RC2" "User Commands" +.SH NAME +mlmmj-sub \- manual page for mlmmj-sub version 1.0.0-RC2 +.SH SYNOPSIS +.B mlmmj-sub +\fI-L /path/to/list -a john@doe.org \fR[\fI-c\fR] [\fI-C\fR] [\fI-h\fR] +.SH DESCRIPTION +.IP +[-L] [-U] [-V] +.HP +\fB\-a\fR: Email address to subscribe +.HP +\fB\-c\fR: Send welcome mail +.HP +\fB\-C\fR: Request mail confirmation +.HP +\fB\-h\fR: This help +.HP +\fB\-L\fR: Full path to list directory +.HP +\fB\-U\fR: Don't switch to the user id of the listdir owner +.HP +\fB\-V\fR: Print version +.PP +When no options are specified, subscription silently happens +.SH "SEE ALSO" +The full documentation for +.B mlmmj-sub +is maintained as a Texinfo manual. If the +.B info +and +.B mlmmj-sub +programs are properly installed at your site, the command +.IP +.B info mlmmj-sub +.PP +should give you access to the complete manual. +.SH AUTHOR +This man page was written by Søren Boll Overgaard on 3. sep +2004, based on output from help2man diff --git a/debian/attic/mlmmj-unsub.1 b/debian/attic/mlmmj-unsub.1 new file mode 100644 index 0000000..c05ad62 --- /dev/null +++ b/debian/attic/mlmmj-unsub.1 @@ -0,0 +1,37 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH MLMMJ-UNSUB "1" "September 2004" "mlmmj-unsub version 1.0.0-RC2" "User Commands" +.SH NAME +mlmmj-unsub \- manual page for mlmmj-unsub version 1.0.0-RC2 +.SH SYNOPSIS +.B mlmmj-unsub +\fI-L /path/to/list -a john@doe.org \fR[\fI-c\fR] [\fI-C\fR] [\fI-h\fR] [\fI-L\fR] [\fI-V\fR] +.SH DESCRIPTION +.HP +\fB\-a\fR: Email address to unsubscribe +.HP +\fB\-c\fR: Send goodbye mail +.HP +\fB\-C\fR: Request mail confirmation +.HP +\fB\-h\fR: This help +.HP +\fB\-L\fR: Full path to list directory +.HP +\fB\-V\fR: Print version +.PP +When no options are specified, unsubscription silently happens +.SH "SEE ALSO" +The full documentation for +.B mlmmj-unsub +is maintained as a Texinfo manual. If the +.B info +and +.B mlmmj-unsub +programs are properly installed at your site, the command +.IP +.B info mlmmj-unsub +.PP +should give you access to the complete manual. +.SH AUTHOR +This man page was written by Søren Boll Overgaard on 3. sep +2004, based on output from help2man diff --git a/debian/bogus-conffiles b/debian/bogus-conffiles new file mode 100644 index 0000000..91664e8 --- /dev/null +++ b/debian/bogus-conffiles @@ -0,0 +1,12 @@ +/etc/mlmmj/listtexts/access +/etc/mlmmj/listtexts/bounce-probe +/etc/mlmmj/listtexts/listhelp +/etc/mlmmj/listtexts/moderation +/etc/mlmmj/listtexts/notifysub +/etc/mlmmj/listtexts/notifyunsub +/etc/mlmmj/listtexts/notintocc +/etc/mlmmj/listtexts/sub-confirm +/etc/mlmmj/listtexts/sub-ok +/etc/mlmmj/listtexts/subonlypost +/etc/mlmmj/listtexts/unsub-confirm +/etc/mlmmj/listtexts/unsub-ok diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..64a1303 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,383 @@ +mlmmj (1.2.15-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix bashisms. (Closes: #465008) + * Include dutch translation. (Closes: #449404) + * debian/copyright: Reencode as UTF8. + * debian/rules: Fix ignoring make distclean failures. + + -- Marc 'HE' Brockschmidt Sat, 08 Mar 2008 23:38:39 +0100 + +mlmmj (1.2.15-1) unstable; urgency=low + + * New upstream release. + * debian/po/pt.po: Add translation by Miguel Figueiredo. Closes: #434063. + * Add check for mlmmj-maintd in crontab. Closes: #435999. + * Fix mmap of zero bytes. Closes: #435420. + * Depends on php5. Closes: #424802, #424835. + * Fix mail to multiple lists only sent to one list. Closes: #425572. + + -- Daniel Walrond Sun, 12 Aug 2007 18:38:37 +0000 + +mlmmj (1.2.14-1) unstable; urgency=low + + * New upstream release. + * New maintainer. Closes: #417827. + * Altered mail-transport-agent dependency. + * Change dependency from grep-dctrl to dctrl-tools. + * Removed extra '/' from usage output. + + -- Daniel Walrond Wed, 13 Jun 2007 17:49:17 +0000 + +mlmmj (1.2.11-8) unstable; urgency=medium + + * QA upload. + * Package is orphaned (#417827); set maintainer to Debian QA Group. + * Switch to debhelper 5. + * config.guess, config.sub: Not actually used; remove. + * debian/mlmmj.postrm: + - Don't assume debconf is available. Closes: #388600. + - Source /usr/share/debconf/confmodule only once. + - Avoid outputting to stdout lest we confuse debconf. + * debian/mlmmj.postinst: Source /usr/share/debconf/confmodule in case we + weren't preconfigured. + * debian/mlmmj-upgrade-lists.pl, debian/mlmmj-upgrade-lists.1: Remove + code for pre-woody compatibility, and update debconf templates + accordingly. Thanks to Helge Kreutzmann. Closes: #411513. + * debian/po/de.po: Add translation by Helge Kreutzmann. + Closes: #411512. + * debian/rules: + - Let dh_strip handle DEB_BUILD_OPTIONS=nostrip. + - Let dh_installdocs handle README.Debian files for subpackages. + - Don't specify `--host' to configure if it equals `--build'. + - Use mode 644 for listtexts. + + -- Matej Vela Wed, 2 May 2007 14:06:19 +0200 + +mlmmj (1.2.11-7.2) unstable; urgency=low + + * Orphaned. + + -- Søren Boll Overgaard Fri, 06 Apr 2007 20:18:55 +0000 + +mlmmj (1.2.11-7.1) unstable; urgency=low + + * Non-maintainer upload to fix longstanding l10n issues + * Debconf templates translations: + - Use the correct code for Czech. Closes: #382923 + - Added Spanish. Closes: #404824 + + -- Christian Perrier Fri, 26 Jan 2007 20:42:52 +0100 + +mlmmj (1.2.11-7) unstable; urgency=low + + * Include czech debconf translation (Closes: Bug#382923) + + -- Søren Boll Overgaard Mon, 14 Aug 2006 18:28:34 +0000 + +mlmmj (1.2.11-6) unstable; urgency=low + + * Updated french debconf translation (Closes: Bug#363912) + * Bumped standards version to 3.7.2. + + -- Søren Boll Overgaard Sun, 13 Aug 2006 18:57:15 +0000 + +mlmmj (1.2.11-5) unstable; urgency=low + + * Don't depend on debhelper. It was intended to be a build-dep. + Thanks Martin Samesch. + + -- Søren Boll Overgaard Mon, 22 May 2006 12:18:06 +0000 + +mlmmj (1.2.11-4) unstable; urgency=low + + * Fix debconf templates to comply with policy. + (Closes: Bug#354336, Bug#354435) + * Include french debconf translation. + (Closes: Bug#355836) + + -- Søren Boll Overgaard Tue, 4 Apr 2006 18:23:10 +0000 + +mlmmj (1.2.11-3) unstable; urgency=low + + * Switch to using po-debconf (Closes: Bug#351386) + + -- Søren Boll Overgaard Fri, 24 Feb 2006 19:27:39 +0000 + +mlmmj (1.2.11-2) unstable; urgency=low + + * Install translated list texts under /usr/share/mlmmj/text.skel// + (Closes: Bug#350124) + + -- Søren Boll Overgaard Sat, 28 Jan 2006 20:56:28 +0000 + +mlmmj (1.2.11-1) unstable; urgency=low + + * New upstream release + + -- Søren Boll Overgaard Mon, 23 Jan 2006 19:05:33 +0000 + +mlmmj (1.2.10-1) unstable; urgency=low + + * New upstream release + * Update README.Debian to include information about the "delimiter" + TUNABLE. + + -- Søren Boll Overgaard Wed, 18 Jan 2006 12:19:46 +0000 + +mlmmj (1.2.9-1) unstable; urgency=low + + * New upstream release + * Disable 05_fix_call_to_free.dpatch since it is now in upstream. + + -- Søren Boll Overgaard Wed, 14 Dec 2005 21:38:06 +0000 + +mlmmj (1.2.8-7) unstable; urgency=low + + * Change call to free() to a call to myfree() (Closes: Bug#327768) + + -- Søren Boll Overgaard Mon, 12 Sep 2005 20:10:22 +0200 + +mlmmj (1.2.8-6) unstable; urgency=low + + * Sigh, actually fix build-depends. + * Only run through configure once (Closes: Bug#325081) + + -- Søren Boll Overgaard Sun, 11 Sep 2005 20:16:38 +0200 + +mlmmj (1.2.8-5) unstable; urgency=low + + * Fix build-depends to fix FTBFS error. + + -- Søren Boll Overgaard Sun, 11 Sep 2005 17:42:27 +0200 + +mlmmj (1.2.8-4) unstable; urgency=low + + * Actually upload to unstable as was inteded with 1.2.8-3 + + -- Søren Boll Overgaard Sun, 11 Sep 2005 15:10:20 +0200 + +mlmmj (1.2.8-3) experimental; urgency=low + + * Fix a potential bug in mlmmj-make-ml which could cause $LISTDIR/index to + have wrong permissions, leading to broken archiving. + + -- Søren Boll Overgaard Sat, 10 Sep 2005 21:36:46 +0200 + +mlmmj (1.2.8-2) experimental; urgency=low + + * Upload to unstable + + -- Søren Boll Overgaard Sat, 27 Aug 2005 23:34:38 +0200 + +mlmmj (1.2.8-1) experimental; urgency=low + + * New upstream release + + -- Søren Boll Overgaard Sun, 26 Jun 2005 15:03:41 +0200 + +mlmmj (1.2.7-2) experimental; urgency=low + + * Detect the installed MTA when creating a new list. + Only works with postfix and Exim for now. + * Automatically run newaliases, instead of asking user to do it. + * Update README.Debian to reflect the current state of affairs. + + -- Søren Boll Overgaard Tue, 14 Jun 2005 21:50:36 +0200 + +mlmmj (1.2.7-1) experimental; urgency=low + + * New upstream release + + -- Søren Boll Overgaard Thu, 12 May 2005 18:34:23 +0200 + +mlmmj (1.2.5-1) unstable; urgency=low + + * New upstream release + + -- Søren Boll Overgaard Thu, 28 Apr 2005 14:40:29 +0200 + +mlmmj (1.2.4-3) unstable; urgency=low + + * Update README.Debian to explain permission issues related to various + MTAs (Closes: Bug#295535) + + -- Søren Boll Overgaard Sun, 24 Apr 2005 16:17:43 +0200 + +mlmmj (1.2.4-2) unstable; urgency=low + + * Make sure that permissions are set correctly when creating new lists. + That is, ensure that the binaries can read the configuration and write to + the spool. + (Closes: #295535) + + -- Søren Boll Overgaard Thu, 7 Apr 2005 14:02:34 +0200 + +mlmmj (1.2.4-1) unstable; urgency=low + + * New upstream release + + -- Søren Boll Overgaard Mon, 21 Feb 2005 20:13:47 +0000 + +mlmmj (1.2.3-1) unstable; urgency=low + + * New upstream release + * Minor changes to mlmmj-php-web to make errors more correct in a Debian + context. + + -- Søren Boll Overgaard Tue, 8 Feb 2005 21:20:25 +0000 + +mlmmj (1.2.2-3) unstable; urgency=low + + * Fix broken depends on specific php API in mlmmj-*-web packages + (Closes: Bug#294021, Closes: Bug#294020) + + -- Søren Boll Overgaard Mon, 7 Feb 2005 16:00:51 +0000 + +mlmmj (1.2.2-2) unstable; urgency=low + + * Don't install man page for mlmmj-upgrade-lists in mlmmj-php-web + + -- Søren Boll Overgaard Thu, 3 Feb 2005 15:33:20 +0000 + +mlmmj (1.2.2-1) unstable; urgency=low + + * New upstream release + + -- Søren Boll Overgaard Tue, 1 Feb 2005 16:42:25 +0000 + +mlmmj (1.2.1-2) unstable; urgency=low + + * Rewrite rules to avoid having binary-indep packages built by the + autobuilders (Closes: Bug#292499) + + -- Søren Boll Overgaard Sun, 30 Jan 2005 16:41:14 +0000 + +mlmmj (1.2.1-1) unstable; urgency=low + + * New upstream release + + -- Søren Boll Overgaard Wed, 26 Jan 2005 19:35:09 +0000 + +mlmmj (1.2.0-2) unstable; urgency=low + + * Add VERP support to the list of features at upstreams request + + -- Søren Boll Overgaard Wed, 26 Jan 2005 16:44:57 +0000 + +mlmmj (1.2.0-1) unstable; urgency=low + + * New upstream release + + -- Søren Boll Overgaard Sun, 23 Jan 2005 12:13:45 +0000 + +mlmmj (1.1.0-4) unstable; urgency=low + + * Fix multiple issues in patched mlmmj-make-ml (Thanks to Rune) + + -- Søren Boll Overgaard Sat, 22 Jan 2005 09:50:07 +0000 + +mlmmj (1.1.0-3) unstable; urgency=low + + * Don't fork mlmmj maintenance daemon to the background (Closes: Bug#286812) + + -- Søren Boll Overgaard Wed, 22 Dec 2004 22:15:36 +0000 + +mlmmj (1.1.0-2) unstable; urgency=low + + * Include /usr/bin/mlmmj-upgrade-lists which was accidently left out in + 1.1.0-1. + + -- Søren Boll Overgaard Mon, 6 Dec 2004 14:06:09 +0000 + +mlmmj (1.1.0-1) unstable; urgency=low + + * New upstream release + * Upstream now automatically installs listtexts under /usr/share/mlmmj/ + * Update mlmml-upgrade-texts and rename it to mlmmj-upgrade-lists + + -- Søren Boll Overgaard Wed, 1 Dec 2004 19:31:40 +0000 + +mlmmj (1.0.0-RELEASE+1.1.0-RC2-1) unstable; urgency=low + + * New upstream release + + -- Søren Boll Overgaard Mon, 22 Nov 2004 19:09:33 +0000 + +mlmmj (1.0.0-RELEASE+1.1.0-RC1-1) unstable; urgency=low + + * New upstream release + + -- Søren Boll Overgaard Fri, 12 Nov 2004 17:36:12 +0000 + +mlmmj (1.0.0-RELEASE-4) unstable; urgency=low + + * Install binary-indep files from the appropriate target in debian/rules + (Closes: Bug#276375) + + -- Søren Boll Overgaard Sun, 17 Oct 2004 08:56:12 +0000 + +mlmmj (1.0.0-RELEASE-3) unstable; urgency=low + + * Fix references to /usr/local in error messages from the mlmmj-* binaries. + (Thanks to Jesper Lund for pointing this out) + * Improve language in debian/control + * Remove verbose call to dh_installdebconf now that it works + + -- Søren Boll Overgaard Sun, 3 Oct 2004 08:30:15 +0000 + +mlmmj (1.0.0-RELEASE-2) unstable; urgency=low + + * Manpages written for Debian are now included upstream. Move our own to + the attic (but keep mlmmj-main-wrapper.1 around, since it is Debian + specific). + * Introduce debconf, and ask the user if he wants us to remove all + mlmmj lists and archives when the mlmmj package is removed. + Update debian/postrm and debian/control accordingly. + * Remind the user to clean up /etc/aliases if it contains references to + mlmmj binaries. We don't want to attempt to clean it automatically. + + -- Søren Boll Overgaard Fri, 17 Sep 2004 18:46:01 +0000 + +mlmmj (1.0.0-RELEASE-1) unstable; urgency=low + + * New upstream release + + -- Søren Boll Overgaard Thu, 9 Sep 2004 10:41:05 +0000 + +mlmmj (1.0.0-RC4-4) unstable; urgency=low + + * Update mlmmj-make-ml patch to store configurations under /etc/mlmmj + and just making the configuration stuff under /var symlinks. + + -- Søren Boll Overgaard Wed, 8 Sep 2004 19:56:43 +0000 + +mlmmj (1.0.0-RC4-3) unstable; urgency=low + + * add debian/watch + * fix mlmmj-maint-wrapper to only execute mlmmj-maintd for directories + + -- Søren Boll Overgaard Sun, 5 Sep 2004 18:37:06 +0000 + +mlmmj (1.0.0-RC4-2) unstable; urgency=low + + * Fix wrong suggests, which contains remnants of tests. + + -- Søren Boll Overgaard Sun, 5 Sep 2004 05:29:57 +0000 + +mlmmj (1.0.0-RC4-1) unstable; urgency=low + + * Install list texts as configuration files + * Initial Release. (closes: Bug#269249) + * Introduce mlmmj-maint-wrapper for running applicable instances of + mlmmj-maintd + * Split web stuff into separate packages, to avoid making mlmmj depend on + more stuff then necessary. + * Write man pages for a bunch of binaries. These should prove useful + upstream as well. + * Rename mlmmj-make-ml.sh to mlmmj-make-ml, since there is no point in + advertising that it is a shell script. + * Extensive changes to contrib/web/* to fit the Debian file system layout + + -- Søren Boll Overgaard Tue, 31 Aug 2004 17:47:15 +0000 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..00f65c2 --- /dev/null +++ b/debian/control @@ -0,0 +1,44 @@ +Source: mlmmj +Section: mail +Priority: optional +Maintainer: Daniel Walrond +Build-Depends: debhelper (>= 5), dpatch, sharutils +Standards-Version: 3.7.2 + +Package: mlmmj +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, exim4 | mail-transport-agent, dctrl-tools +Suggests: mlmmj-php-web, mlmmj-php-web-admin +Description: mail server independent mailing list manager + A mailing list manager with roughly the same functionality as ezmlm. + . + mlmmj features: + * A nice license + * Easy configuration + * MTA independendence + * Archive + * Custom headers / footer + * Fully automated bounce handling (similar to ezmlm) + * Complete requeueing functionality + * Moderation + * Subject prefixing + * Subscribers only posting + * Regular expression access control + * Functionality to retrieve old posts + * Various web interfaces + * VERP support + . + http://mlmmj.mmj.dk/ + +Package: mlmmj-php-web +Architecture: all +Depends: php5 | php4 +Description: web interface for mlmmj, written in php + Web based tools for mlmmj written in php. + +Package: mlmmj-php-web-admin +Architecture: all +Depends: mlmmj, php5 | php4 +Description: administrative web interface for mlmmj, written in php + Web based administrative tools for mlmmj written in php. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..de105ce --- /dev/null +++ b/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Søren Boll Overgaard on +Tue, 31 Aug 2004 17:47:15 +0000. + +It was downloaded from http://mlmmj.mmj.dk/ + +Upstream Authors: +Mads Martin Joergensen +Morten K. Poulsen + +Copyright: + + +The MIT License + +Copyright (c) 2002, 2003, 2004 Mads Martin Joergensen + 2004 Morten K. Poulsen + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. diff --git a/debian/cron.d b/debian/cron.d new file mode 100644 index 0000000..97d2c8c --- /dev/null +++ b/debian/cron.d @@ -0,0 +1 @@ +0 */2 * * * root /usr/bin/test -x /usr/bin/mlmmj-maintd && /usr/bin/mlmmj-maintd -F -d /var/spool/mlmmj diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..ca882bb --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..b335646 --- /dev/null +++ b/debian/docs @@ -0,0 +1,4 @@ +FAQ +README +README.access +TODO diff --git a/debian/htpasswd b/debian/htpasswd new file mode 100644 index 0000000..9210022 --- /dev/null +++ b/debian/htpasswd @@ -0,0 +1 @@ +mlmmj:oM3gBYi3DEDpc diff --git a/debian/mlmmj-php-web-admin.README.Debian b/debian/mlmmj-php-web-admin.README.Debian new file mode 100644 index 0000000..70e9085 --- /dev/null +++ b/debian/mlmmj-php-web-admin.README.Debian @@ -0,0 +1,15 @@ +mlmmj-php-web-admin for Debian +---------------- + +In order for mlmmj-php-web-admin to work correctly, you need to add the +AllowOverride All directive to your apache configuration for +/var/www/mlmmj-php-web-admin/ + +Also, you need to change permissions on the lists you wish to administer via +the web based interface. For each list you wish to administer, do + chown -R www-data /var/spool/mlmmj//control/ + +By default, you can log into the administration interface by hitting +http:///mlmmj-php-web-admin/ and logging in with mlmmj/mlmmj. + + -- Søren Boll Overgaard , Tue, 31 Aug 2004 17:47:15 +0000 diff --git a/debian/mlmmj-php-web.README.Debian b/debian/mlmmj-php-web.README.Debian new file mode 100644 index 0000000..da3a372 --- /dev/null +++ b/debian/mlmmj-php-web.README.Debian @@ -0,0 +1,30 @@ +README webinterface Jun 27th 2004 + +Ehh, what's that? + The mlmmj-webinterface was created to give people the opportunity to +{sub,unsub}scribe to a mailinglists via a webinterface (without having to +write an initial {sub,unsub}scribe-mail). + + + +How can I install/use the webinterface? + - Have a look at /usr/share/doc/mlmmj-php-web/examples/example.html and + copy one or both forms into your website. + - Adjust the options to satisfy your needs: + + The mailinglist your want to {sub,unsub}scribe to: + + + Do you want to subscribe or unsubscribe? + + + Where do you want to redirect your user after a failure? + + + What should be the success redirect? + + + +That's it - have a lot of fun! + + Christoph Thiel diff --git a/debian/mlmmj.config b/debian/mlmmj.config new file mode 100644 index 0000000..321c582 --- /dev/null +++ b/debian/mlmmj.config @@ -0,0 +1,19 @@ +#!/usr/bin/perl -w + +use strict; +use Debconf::Client::ConfModule ':all'; + +version('2.0'); + +if (scalar(@ARGV)<2) { + print "ERROR: Not enough args to config\n"; + exit 1; +} + +if ($ARGV[0] eq "configure" || $ARGV[0] eq "reconfigure") { + input("medium", "mlmmj/remove-on-purge"); + my @ret = go(); +} else { + print "ERROR: This should never happen!\n"; + exit 1; +} diff --git a/debian/mlmmj.postinst b/debian/mlmmj.postinst new file mode 100644 index 0000000..06bc6cb --- /dev/null +++ b/debian/mlmmj.postinst @@ -0,0 +1,18 @@ +#! /bin/sh +# postinst script for mlmmj +# +# see: dh_installdeb(1) + +set -e + +if [ -f /usr/share/debconf/confmodule ] +then +. /usr/share/debconf/confmodule +else + echo "No debconf installed" +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# diff --git a/debian/mlmmj.postrm b/debian/mlmmj.postrm new file mode 100644 index 0000000..6a71342 --- /dev/null +++ b/debian/mlmmj.postrm @@ -0,0 +1,25 @@ +#! /bin/sh +# postrm script for mlmmj +# +# see: dh_installdeb(1) + +set -e + +# Remove the mailing lists, if we were asked to do so +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_get mlmmj/remove-on-purge + if [ "$RET" = "true" ]; then + rm -rf /var/spool/mlmmj /etc/mlmmj/lists > /dev/null + fi +fi + +# Look for stale data in /etc/aliases +if [ "$1" = purge ] && grep -qs '/usr/bin/mlmmj' /etc/aliases; then + echo "W: /etc/aliases appears to contain references to mlmmj" >&2 +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# diff --git a/debian/mlmmj.templates b/debian/mlmmj.templates new file mode 100644 index 0000000..af22214 --- /dev/null +++ b/debian/mlmmj.templates @@ -0,0 +1,12 @@ +Template: mlmmj/remove-on-purge +Type: boolean +Default: false +_Description: Remove mlmmj lists on purge? + Removing mlmmj on purge includes the removal of all subscriber lists, + archives and configuration options for all lists currently stored. + . + Accepting here basically means that everything under /var/spool/mlmmj + and /etc/mlmmj/lists will be removed when this package is purged. Also + please note that any changes you might have made to /etc/aliases will not + be unmade automatically when this package is removed. (A notice will be + displayed however, to remind you to clean up your aliases.) diff --git a/debian/mlmmj.templates.old b/debian/mlmmj.templates.old new file mode 100644 index 0000000..b664e85 --- /dev/null +++ b/debian/mlmmj.templates.old @@ -0,0 +1,14 @@ +Template: mlmmj/remove-on-purge +Type: boolean +Default: false +Description: Remove mlmmj lists on purge + Do you want to remove all mlmmj lists when purging this package?. + . + Please note that this includes removing all subscriber lists, archives and + configuration options for all lists currently stored. + . + Answering yes here basically means that everything under /var/spool/mlmmj + and /etc/mlmmj/lists will be removed when this package is purged. + Also please note that any changes you might have made to /etc/aliases will + not be unmade automatically when this package is removed. + (A notice will be displayed however, to remind you to clean up your aliases) diff --git a/debian/patches/00list b/debian/patches/00list new file mode 100644 index 0000000..37a5da4 --- /dev/null +++ b/debian/patches/00list @@ -0,0 +1,3 @@ +01_debian_make_mlmmj-ml +05_fix_displayed_full_paths +02_fix_mlmmj_php diff --git a/debian/patches/01_debian_make_mlmmj-ml.dpatch b/debian/patches/01_debian_make_mlmmj-ml.dpatch new file mode 100644 index 0000000..86030cf --- /dev/null +++ b/debian/patches/01_debian_make_mlmmj-ml.dpatch @@ -0,0 +1,212 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_debian_make_mlmmj-ml.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad --exclude=CVS --exclude=.svn ./debian/mlmmj-make-ml.sh /tmp/dpep-work.l7evJe/mlmmj-1.2.8/debian/mlmmj-make-ml.sh +--- ./debian/mlmmj-make-ml.sh 1970-01-01 01:00:00.000000000 +0100 ++++ /tmp/dpep-work.l7evJe/mlmmj-1.2.8/debian/mlmmj-make-ml.sh 2005-09-10 21:33:20.000000000 +0200 +@@ -0,0 +1,201 @@ ++#!/bin/sh ++# ++# mlmmj-make-ml.sh - henne@hennevogel.de ++# ++# modified for Debian GNU/Linux by boll@debian.org ++ ++VERSION="0.1-debian (Modified for Debian GNU/Linux)" ++DEFAULTDIR="/var/spool/mlmmj" ++ETCDEFAULTDIR="/etc/mlmmj/lists" ++TEXTPATH="/usr/share/mlmmj/text.skel" ++SENDMAILPKG=`grep-dctrl -FProvides mail-transport-agent -a -FStatus installed -sPackage -n /var/lib/dpkg/status` ++NEWALIASES=`which newaliases` ++ ++USAGE=" ++mlmmj-make-ml $VERSION ++$0 [OPTIONS] ++-h display this help text ++-L the name of the mailinglist ++-s your spool directory if not $DEFAULTDIR ++-z nuffn for now ++" ++ ++echo ++echo "+------------------------------------------------------------+" ++echo "| Information: |" ++echo "| Please report bugs against mlmmj-make-ml to the Debian BTS |" ++echo "| at http://bugs.debian.org/ |" ++echo "+------------------------------------------------------------+" ++echo ++ ++ ++while getopts ":hL:s:az:" Option ++do ++case "$Option" in ++ h ) ++ echo "$USAGE" ++ exit 0 ++ ;; ++ z ) ++ echo -n "nothing" ++ exit 0 ++ ;; ++ L ) ++ LISTNAME="$OPTARG" ++ ;; ++ s ) ++ SPOOLDIR="$OPTARG" ++ ;; ++ * ) ++ printf "$0: invalid option\nTry $0 -h for more information.\n" ++ exit 1 ++ ;; ++esac ++done ++SHIFTVAL=$(( $OPTIND - 1 )) ++shift $SHIFTVAL ++ ++if [ -z "$SPOOLDIR" ]; then ++ SPOOLDIR="$DEFAULTDIR" ++fi ++ ++echo "Creating Directorys below $SPOOLDIR. Use '-s spooldir' to change" ++ ++if [ -z "$LISTNAME" ]; then ++ echo -n "What should the name of the Mailinglist be? [mlmmj-test] : " ++ read LISTNAME ++ if [ -z "$LISTNAME" ]; then ++ LISTNAME="mlmmj-test" ++ fi ++fi ++ ++LISTDIR="$SPOOLDIR/$LISTNAME" ++ETCLISTDIR="$ETCDEFAULTDIR/$LISTNAME" ++ ++mkdir -p $LISTDIR ++mkdir -p $ETCLISTDIR ++ ++for DIR in incoming queue queue/discarded archive subconf unsubconf \ ++ bounce moderation subscribers.d digesters.d requeue \ ++ nomailsubs.d ++do ++ mkdir "$LISTDIR"/"$DIR" ++done ++ ++for DIR in text control ++do ++ mkdir "$ETCLISTDIR"/"$DIR" ++ ln -s "$ETCLISTDIR"/"$DIR" "$LISTDIR"/"$DIR" ++done ++ ++test -f "$LISTDIR"/index || touch "$LISTDIR"/index ++ ++echo -n "The Domain for the List? [] : " ++read FQDN ++if [ -z "$FQDN" ]; then ++ FQDN="localhost.localdomain" ++fi ++ ++echo -n "The emailaddress of the list owner? [postmaster] : " ++read OWNER ++if [ -z "$OWNER" ]; then ++ OWNER="postmaster" ++fi ++echo "$OWNER" > "$ETCLISTDIR"/"control/owner" ++ ++if [ -z "$TEXTPATH" -o ! -d "$TEXTPATH" ]; then ++ echo "**NOTE** Could not copy the texts for the list" ++ echo "Please manually copy the files from $TEXTPATH" ++else ++ cp "$TEXTPATH"/* "$ETCLISTDIR"/"text" ++fi ++ ++LISTADDRESS="$LISTNAME@$FQDN" ++echo "$LISTADDRESS" > "$ETCLISTDIR"/control/"listaddress" ++ ++MLMMJRECIEVE=`which mlmmj-recieve 2>/dev/null` ++if [ -z "$MLMMJRECIEVE" ]; then ++ MLMMJRECIEVE="/usr/bin/mlmmj-recieve" ++fi ++ ++MLMMJMAINTD=`which mlmmj-maintd 2>/dev/null` ++if [ -z "$MLMMJMAINTD" ]; then ++ MLMMJMAINTD="/usr/bin/mlmmj-maintd" ++fi ++ ++ALIAS="$LISTNAME: \"|$MLMMJRECIEVE -L $SPOOLDIR/$LISTNAME/\"" ++ ++echo "I am adding the following to your /etc/aliases file:" ++echo "$ALIAS" ++echo -n "is this ok (if not, you need to do so yourself)? [y/N] : " ++read OKIDOKI ++case $OKIDOKI in ++ y|Y) ++ echo "$ALIAS" >> /etc/aliases ++ ;; ++ n|N) ++ exit 0 ++ ;; ++ *) ++ echo "Options were: y, Y, n or N" ++esac ++ ++echo "Detecting the installed MTA and changing ownership as needed..." ++ ++if [ "$SENDMAILPKG" = "postfix" ]; then ++ USER="nobody" ++ GROUP="nogroup" ++ echo "Postfix appears to be handling your mail, using ownership $USER:$GROUP..." ++elif [ "$SENDMAILPKG" = "exim4-daemon-light" ]; then ++ USER="Debian-exim" ++ GROUP="Debian-exim" ++ echo "Exim appears to be handling your mail, using ownership $USER:$GROUP..." ++else ++ USER="nobody" ++ GROUP="nogroup" ++ echo "Unable to detect MTA, using default ownership: $USER:$GROUP..." ++fi ++ ++chown -R $USER:$GROUP $LISTDIR $LISTDIR/* ++chmod -R 755 $LISTDIR ++chmod -R 755 $ETCLISTDIR ++ ++# Check if all lists are owned by the right user, if not, ask if we should fix ++# it. ++ ++ANOMALIES=0 ++ ++for ENTRY in `ls $SPOOLDIR` ++do ++ SOWNER=`stat -c %U $SPOOLDIR/$ENTRY` ++ SGROUP=`stat -c %G $SPOOLDIR/$ENTRY` ++ ++ if [ $SOWNER != $USER -o $SGROUP != $GROUP ] ++ then ++ ANOMALIES=1 ++ fi ++done ++ ++if [ $ANOMALIES -eq 1 ] ++ then ++ echo -n "It appears that not all lists have proper ownership, do you want me to fix this? [y/N] : " ++ read FIXOWNERSHIP ++ case $FIXOWNERSHIP in ++ y|Y) ++ chown -R $USER:$GROUP $SPOOLDIR/* ++ ++ ;; ++ n|N) ++ echo "Not fixing ownership" ++ ;; ++ *) ++ echo "Options were: y, Y, n or N" ++ esac ++ ++ ++fi ++ ++echo "Running $NEWALIASES" ++$NEWALIASES ++ ++echo "Done." diff --git a/debian/patches/02_fix_mlmmj_php.dpatch b/debian/patches/02_fix_mlmmj_php.dpatch new file mode 100644 index 0000000..e3c6aab --- /dev/null +++ b/debian/patches/02_fix_mlmmj_php.dpatch @@ -0,0 +1,77 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_fix_mlmmj_php.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mlmmj-1.2.7/contrib/web/php-admin/conf/config.php /tmp/dpep.1ZV6mc/mlmmj-1.2.7/contrib/web/php-admin/conf/config.php +--- mlmmj-1.2.7/contrib/web/php-admin/conf/config.php 2005-05-12 18:36:37.000000000 +0200 ++++ /tmp/dpep.1ZV6mc/mlmmj-1.2.7/contrib/web/php-admin/conf/config.php 2005-05-12 18:52:05.000000000 +0200 +@@ -1,6 +1,6 @@ + +diff -urNad mlmmj-1.2.7/contrib/web/php-admin/htdocs/dot.htaccess /tmp/dpep.1ZV6mc/mlmmj-1.2.7/contrib/web/php-admin/htdocs/dot.htaccess +--- mlmmj-1.2.7/contrib/web/php-admin/htdocs/dot.htaccess 2005-05-12 18:36:37.000000000 +0200 ++++ /tmp/dpep.1ZV6mc/mlmmj-1.2.7/contrib/web/php-admin/htdocs/dot.htaccess 2005-05-12 18:52:05.000000000 +0200 +@@ -1,4 +1,5 @@ + Require valid-user + AuthType Basic +-AuthName "mlmmj web-interface" +-AuthUserFile /home/mlmmj/htpasswd ++AuthName "mlmmj web-interface on Debian GNU/Linux" ++AuthUserFile /etc/mlmmj-php-web-admin/htpasswd ++php_value include_path "/usr/share/mlmmj-php-web-admin" +diff -urNad mlmmj-1.2.7/contrib/web/php-admin/htdocs/edit.php /tmp/dpep.1ZV6mc/mlmmj-1.2.7/contrib/web/php-admin/htdocs/edit.php +--- mlmmj-1.2.7/contrib/web/php-admin/htdocs/edit.php 2005-05-12 18:36:37.000000000 +0200 ++++ /tmp/dpep.1ZV6mc/mlmmj-1.2.7/contrib/web/php-admin/htdocs/edit.php 2005-05-12 18:52:05.000000000 +0200 +@@ -26,7 +26,7 @@ + * IN THE SOFTWARE. + */ + +-require("../conf/config.php"); ++require("conf/config.php"); + require("class.FastTemplate.php"); + + function mlmmj_boolean($name, $nicename, $text) +diff -urNad mlmmj-1.2.7/contrib/web/php-admin/htdocs/index.php /tmp/dpep.1ZV6mc/mlmmj-1.2.7/contrib/web/php-admin/htdocs/index.php +--- mlmmj-1.2.7/contrib/web/php-admin/htdocs/index.php 2005-05-12 18:36:37.000000000 +0200 ++++ /tmp/dpep.1ZV6mc/mlmmj-1.2.7/contrib/web/php-admin/htdocs/index.php 2005-05-12 18:52:05.000000000 +0200 +@@ -27,7 +27,7 @@ + */ + + require("class.FastTemplate.php"); +-require("../conf/config.php"); ++require("conf/config.php"); + + $tpl = new FastTemplate($templatedir); + +diff -urNad mlmmj-1.2.7/contrib/web/php-admin/htdocs/save.php /tmp/dpep.1ZV6mc/mlmmj-1.2.7/contrib/web/php-admin/htdocs/save.php +--- mlmmj-1.2.7/contrib/web/php-admin/htdocs/save.php 2005-05-12 18:36:37.000000000 +0200 ++++ /tmp/dpep.1ZV6mc/mlmmj-1.2.7/contrib/web/php-admin/htdocs/save.php 2005-05-12 18:52:05.000000000 +0200 +@@ -26,7 +26,7 @@ + * IN THE SOFTWARE. + */ + +-require("../conf/config.php"); ++require("conf/config.php"); + require("class.FastTemplate.php"); + + function mlmmj_boolean($name, $nicename, $text) +diff -urNad mlmmj-1.2.7/contrib/web/php-user/example.html /tmp/dpep.1ZV6mc/mlmmj-1.2.7/contrib/web/php-user/example.html +--- mlmmj-1.2.7/contrib/web/php-user/example.html 2004-07-09 22:28:16.000000000 +0200 ++++ /tmp/dpep.1ZV6mc/mlmmj-1.2.7/contrib/web/php-user/example.html 2005-05-12 18:53:51.000000000 +0200 +@@ -1,7 +1,7 @@ + + + +-mlmmj-webinterface ++mlmmj web interface + + + diff --git a/debian/patches/05_fix_call_to_free.dpatch b/debian/patches/05_fix_call_to_free.dpatch new file mode 100644 index 0000000..a440770 --- /dev/null +++ b/debian/patches/05_fix_call_to_free.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 05_fix_call_to_free.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad --exclude=CVS --exclude=.svn ./src/prepstdreply.c /tmp/dpep-work.Lj9E7s/mlmmj-1.2.8/src/prepstdreply.c +--- ./src/prepstdreply.c 2005-01-15 11:46:24.000000000 +0100 ++++ /tmp/dpep-work.Lj9E7s/mlmmj-1.2.8/src/prepstdreply.c 2005-09-12 20:05:45.000000000 +0200 +@@ -181,7 +181,7 @@ + if(replyto) { + myreplyto = substitute(replyto, listaddr, tokencount, data); + tmp = concatstr(3, "Reply-To: ", myreplyto, "\n"); +- free(myreplyto); ++ myfree(myreplyto); + myreplyto = tmp; + } else + myreplyto = NULL; diff --git a/debian/patches/05_fix_displayed_full_paths.dpatch b/debian/patches/05_fix_displayed_full_paths.dpatch new file mode 100644 index 0000000..b97716a --- /dev/null +++ b/debian/patches/05_fix_displayed_full_paths.dpatch @@ -0,0 +1,37 @@ +#! /bin/sh -e +## 05_fix_displayed_full_paths.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p1 ${patch_opts} < $0;; + -unpatch) patch -R -p1 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad /home/boll/mlmmj/mlmmj-1.0.0-RELEASE/include/mlmmj.h mlmmj-1.0.0-RELEASE/include/mlmmj.h +--- /home/boll/mlmmj/mlmmj-1.0.0-RELEASE/include/mlmmj.h 2004-09-07 11:49:10.000000000 +0000 ++++ mlmmj-1.0.0-RELEASE/include/mlmmj.h 2004-10-03 08:29:27.000000000 +0000 +@@ -70,7 +70,7 @@ + #define CHECKFULLPATH(name) if(strchr(name, '/') == NULL) { \ + fprintf(stderr, "All mlmmj binaries have to " \ + "be invoked with full path,\n" \ +- "e.g. /usr/local/bin/%s\n", name); \ ++ "e.g. /usr/bin/%s\n", name); \ + exit(EXIT_FAILURE); \ + }; + diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in new file mode 100644 index 0000000..8be8b24 --- /dev/null +++ b/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] mlmmj.templates diff --git a/debian/po/cs.po b/debian/po/cs.po new file mode 100644 index 0000000..df28827 --- /dev/null +++ b/debian/po/cs.po @@ -0,0 +1,48 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Martin Sin , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: mlmmj 1.2.11-5\n" +"Report-Msgid-Bugs-To: boll@debian.org\n" +"POT-Creation-Date: 2006-04-04 18:30+0000\n" +"PO-Revision-Date: 2006-08-13 16:04+0200\n" +"Last-Translator: Martin Sin \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../mlmmj.templates:4 +msgid "Remove mlmmj lists on purge?" +msgstr "Smazat při odstranění balíčku také seznamy mlmmj?" + +#. Type: boolean +#. Description +#: ../mlmmj.templates:4 +msgid "" +"Removing mlmmj on purge includes the removal of all subscriber lists, " +"archives and configuration options for all lists currently stored." +msgstr "" +"Tento způsob odstranění mlmmj zahrnuje smazání vÅ¡ech účastnických " +"seznamů, archivů a konfiguračních voleb vÅ¡ech uložených seznamů." + +#. Type: boolean +#. Description +#: ../mlmmj.templates:4 +msgid "" +"Accepting here basically means that everything under /var/spool/mlmmj and /" +"etc/mlmmj/lists will be removed when this package is purged. Also please " +"note that any changes you might have made to /etc/aliases will not be unmade " +"automatically when this package is removed. (A notice will be displayed " +"however, to remind you to clean up your aliases.)" +msgstr "" +"Budete-li souhlasit, bude při odstranění balíčku smazáno vÅ¡e v adresářích " +"/var/spool/mlmmj a /etc/mlmmj/lists. Nutno poznamenat, že při odstranění " +"balíčku nebudou automaticky zruÅ¡eny změny provedené v /etc/aliases. (Toto " +"upozornění se samozřejmě jeÅ¡tě zobrazí a připomene vám odstranění vlastních " +"aliasů.)" diff --git a/debian/po/de.po b/debian/po/de.po new file mode 100644 index 0000000..bf957e0 --- /dev/null +++ b/debian/po/de.po @@ -0,0 +1,49 @@ +# Translation of mlmmj debconf templates to German +# Copyright (C) Helge Kreutzmann , 2007. +# This file is distributed under the same license as the mlmmj package. +# +msgid "" +msgstr "" +"Project-Id-Version: mlmmj 1.2.11-7.1\n" +"Report-Msgid-Bugs-To: mlmmj@packages.debian.org\n" +"POT-Creation-Date: 2007-01-29 04:32+0100\n" +"PO-Revision-Date: 2007-02-19 16:10+0100\n" +"Last-Translator: Helge Kreutzmann \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: boolean +#. Description +#: ../mlmmj.templates:1001 +msgid "Remove mlmmj lists on purge?" +msgstr "Mlmmj-Listen beim vollständigen Löschen entfernen?" + +#. Type: boolean +#. Description +#: ../mlmmj.templates:1001 +msgid "" +"Removing mlmmj on purge includes the removal of all subscriber lists, " +"archives and configuration options for all lists currently stored." +msgstr "" +"Das Entfernen von Mlmmj beim vollständigen Löschen (»purge«) beinhaltet die " +"Entfernung aller Abonnenten-Listen, Archive und Konfigurationsoptionen für " +"alle derzeit gespeicherten Listen." + +#. Type: boolean +#. Description +#: ../mlmmj.templates:1001 +msgid "" +"Accepting here basically means that everything under /var/spool/mlmmj and /" +"etc/mlmmj/lists will be removed when this package is purged. Also please " +"note that any changes you might have made to /etc/aliases will not be unmade " +"automatically when this package is removed. (A notice will be displayed " +"however, to remind you to clean up your aliases.)" +msgstr "" +"Wird hier akzeptiert, bedeutet dies, das alles unter /var/spool/mlmmj und /" +"etc/mlmmj/lists entfernt werden wird, wenn dieses Paket vollständig gelöscht " +"wird. Beachten Sie auch, dass alle Änderungen, die Sie an /etc/aliases " +"vorgenommen haben nicht automatisch zurückgesetzt werden, wenn dieses Paket " +"entfernt wird (allerdings wird ein Hinweis angezeigt, der Sie daran " +"erinnert, Ihre Aliase aufzuräumen)." diff --git a/debian/po/es.po b/debian/po/es.po new file mode 100644 index 0000000..7df9066 --- /dev/null +++ b/debian/po/es.po @@ -0,0 +1,70 @@ +# translation of mlmmj's po-debconf to Spanish +# +# This file is distributed under the same license as the mlmmj package. +# +# Changes: +# - Initial translation +# José Ignacio Méndez González , 2006 +# - Revision +# David Martínez Moreno +# - Review and update +# Javier Fernández-Sanguino , 2006 +# +# Traductores, si no conoce el formato PO, merece la pena leer la +# documentación de gettext, especialmente las secciones dedicadas a este +# formato, por ejemplo ejecutando: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Equipo de traducción al español, por favor lean antes de traducir +# los siguientes documentos: +# +# - El proyecto de traducción de Debian al español +# http://www.debian.org/intl/spanish/ +# especialmente las notas y normas de traducción en +# http://www.debian.org/intl/spanish/notas +# +# - La guía de traducción de po's de debconf: +# /usr/share/doc/po-debconf/README-trans +# o http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Si tiene dudas o consultas sobre esta traducción consulte con el último +# traductor (campo Last-Translator) y ponga en copia a la lista de +# traducción de Debian al español () +# +msgid "" +msgstr "" +"Project-Id-Version: mlmmj 1.2.11-7\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-10-19 01:07+0200\n" +"PO-Revision-Date: 2006-12-28 13:50+0100\n" +"Last-Translator: Javier Fernández-Sanguino \n" +"Language-Team: Debian Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../mlmmj.templates:1001 +msgid "Remove mlmmj lists on purge?" +msgstr "¿Desea eliminar las listas mlmmj al purgar?" + +#. Type: boolean +#. Description +#: ../mlmmj.templates:1001 +msgid "" +"Removing mlmmj on purge includes the removal of all subscriber lists, " +"archives and configuration options for all lists currently stored." +msgstr "Si elimina mlmmj al purgar esto incluirá la eliminación de todas las listas de suscripción, archivos y opciones de configuración para todas las listas actualmente guardadas." + +#. Type: boolean +#. Description +#: ../mlmmj.templates:1001 +msgid "" +"Accepting here basically means that everything under /var/spool/mlmmj and /" +"etc/mlmmj/lists will be removed when this package is purged. Also please " +"note that any changes you might have made to /etc/aliases will not be unmade " +"automatically when this package is removed. (A notice will be displayed " +"however, to remind you to clean up your aliases.)" +msgstr "Si responde afirmativamente todo lo que esté bajo «/var/spool/mlmmj» y «/etc/mlmmj/lists» se eliminará cuando se purgue el paquete. Sepa también que cualquier cambio que pudiera haber hecho en /etc/aliases no se deshará de forma automática cuando se elimine este paquete. No obstante, se le mostrará un mensaje para recordarle que limpie su fichero «aliases»." diff --git a/debian/po/fr.po b/debian/po/fr.po new file mode 100644 index 0000000..0276adf --- /dev/null +++ b/debian/po/fr.po @@ -0,0 +1,52 @@ +# mail server independent mailing list manager. +# Copyright (C) 2004 +# This file is distributed under the same license as the mlmmj package. +# Søren Boll Overgaard , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: mlmmj 1.2.11-4\n" +"Report-Msgid-Bugs-To: boll@debian.org\n" +"POT-Creation-Date: 2006-04-04 18:30+0000\n" +"PO-Revision-Date: 2006-04-08 13:59+0100\n" +"Last-Translator: Steve Petruzzello \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: French\n" +"X-Poedit-SourceCharset: iso-8859-15\n" + +#. Type: boolean +#. Description +#: ../mlmmj.templates:4 +msgid "Remove mlmmj lists on purge?" +msgstr "Faut-il effacer les listes mlmmj à la purge du paquet ?" + +#. Type: boolean +#. Description +#: ../mlmmj.templates:4 +msgid "" +"Removing mlmmj on purge includes the removal of all subscriber lists, " +"archives and configuration options for all lists currently stored." +msgstr "" +"Veuillez noter que cela effacera également les listes d'inscription, les " +"archives ainsi que les options de configuration de toutes les listes " +"actuellement configurées." + +#. Type: boolean +#. Description +#: ../mlmmj.templates:4 +msgid "" +"Accepting here basically means that everything under /var/spool/mlmmj and /" +"etc/mlmmj/lists will be removed when this package is purged. Also please " +"note that any changes you might have made to /etc/aliases will not be unmade " +"automatically when this package is removed. (A notice will be displayed " +"however, to remind you to clean up your aliases.)" +msgstr "" +"Si vous choisissez cette option, tous les fichiers qui sont sous /var/spool/" +"mlmmj et /etc/mlmmj/lists seront effacés à la purge de ce paquet. Veuillez " +"cependant noter que tous les éventuels changements dans le fichier /etc/" +"aliases ne seront pas retirés à la purge de ce paquet. Un message " +"d'avertissement sera néanmoins affiché afin de vous rappeler de nettoyer vos " +"alias." diff --git a/debian/po/nl.po b/debian/po/nl.po new file mode 100644 index 0000000..8fd0ae7 --- /dev/null +++ b/debian/po/nl.po @@ -0,0 +1,36 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE 'S COPYRIGHT HOLDER +# This file is distributed under the same license as the package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: mlmmj\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-10-02 04:31+0200\n" +"PO-Revision-Date: 2007-10-25 19:38+0100\n" +"Last-Translator: Bart Cornelis \n" +"Language-Team: debian-l10n-dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Dutch\n" + +#. Type: boolean +#. Description +#: ../mlmmj.templates:1001 +msgid "Remove mlmmj lists on purge?" +msgstr "Wilt u de mlmmj-lijsten verwijderen wanneer dit pakket gewist wordt?" + +#. Type: boolean +#. Description +#: ../mlmmj.templates:1001 +msgid "Removing mlmmj on purge includes the removal of all subscriber lists, archives and configuration options for all lists currently stored." +msgstr "Als u het pakket 'mlmmj' wist worden alle abonneelijsten, archieven, en configuratie-opties van de momenteel opgeslagen lijsten verwijderd." + +#. Type: boolean +#. Description +#: ../mlmmj.templates:1001 +msgid "Accepting here basically means that everything under /var/spool/mlmmj and /etc/mlmmj/lists will be removed when this package is purged. Also please note that any changes you might have made to /etc/aliases will not be unmade automatically when this package is removed. (A notice will be displayed however, to remind you to clean up your aliases.)" +msgstr "Als u dit aanvaard betekend dit dat alles onder /var/spool/mlmmj en /etc/mlmmj/lists verwijderd wordt wanneer dit pakket gewist wordt. Merk op dat veranderingen die u eventueel in /etc/aliases maakt niet automatisch verwijderd worden wanneer dit pakket verwijderd wordt (Er wordt wel een bericht weergegeven om u eraan te herinneren dat uw aliases opgeruimd moeten worden)." + diff --git a/debian/po/pt.po b/debian/po/pt.po new file mode 100644 index 0000000..a3227e3 --- /dev/null +++ b/debian/po/pt.po @@ -0,0 +1,50 @@ +# translation of mlmmj to Portuguese +# Copyright (C) 2007 Américo Monteiro +# This file is distributed under the same license as the mlmmj package. +# +# Américo Monteiro , 2007. +msgid "" +msgstr "" +"Project-Id-Version: mlmmj 1.2.14-1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-06-24 04:32+0200\n" +"PO-Revision-Date: 2007-07-21 01:44+0100\n" +"Last-Translator: Américo Monteiro \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: boolean +#. Description +#: ../mlmmj.templates:1001 +msgid "Remove mlmmj lists on purge?" +msgstr "Remover as listas do mlmmj ao purgar?" + +#. Type: boolean +#. Description +#: ../mlmmj.templates:1001 +msgid "" +"Removing mlmmj on purge includes the removal of all subscriber lists, " +"archives and configuration options for all lists currently stored." +msgstr "" +"A remoção de mlmmj em modo purgar inclui a remoção de todas as listas de " +"subscrição, arquivos e opções de configuração para todas as listas " +"actualmente armazenadas." + +#. Type: boolean +#. Description +#: ../mlmmj.templates:1001 +msgid "" +"Accepting here basically means that everything under /var/spool/mlmmj and /" +"etc/mlmmj/lists will be removed when this package is purged. Also please " +"note that any changes you might have made to /etc/aliases will not be unmade " +"automatically when this package is removed. (A notice will be displayed " +"however, to remind you to clean up your aliases.)" +msgstr "" +"Aceitando aqui básicamente significa que tudo em /var/spool/mlmmj e em " +"/etc/mlmmj/lists será removido quando este pacote for purgado. E também, " +"por favor note que qualquer alteração que tenha feito em /etc/aliases não " +"será desfeita automaticamente quando este pacote for removido. (No entanto " +"um aviso será mostrado, para lembrá-lo de limpar os seus 'aliases'.)" diff --git a/debian/po/templates.pot b/debian/po/templates.pot new file mode 100644 index 0000000..5fc6c23 --- /dev/null +++ b/debian/po/templates.pot @@ -0,0 +1,42 @@ +# 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: boll@debian.org\n" +"POT-Creation-Date: 2006-04-04 18:30+0000\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: boolean +#. Description +#: ../mlmmj.templates:4 +msgid "Remove mlmmj lists on purge?" +msgstr "" + +#. Type: boolean +#. Description +#: ../mlmmj.templates:4 +msgid "" +"Removing mlmmj on purge includes the removal of all subscriber lists, " +"archives and configuration options for all lists currently stored." +msgstr "" + +#. Type: boolean +#. Description +#: ../mlmmj.templates:4 +msgid "" +"Accepting here basically means that everything under /var/spool/mlmmj and /" +"etc/mlmmj/lists will be removed when this package is purged. Also please " +"note that any changes you might have made to /etc/aliases will not be unmade " +"automatically when this package is removed. (A notice will be displayed " +"however, to remind you to clean up your aliases.)" +msgstr "" diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..443c296 --- /dev/null +++ b/debian/rules @@ -0,0 +1,156 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export PACKAGE=mlmmj +export DH_OPTIONS +export TEXTDIR = $(CURDIR)/debian/mlmmj/usr/share/mlmmj/text.skel +CONFIGURERUN=no + +include /usr/share/dpatch/dpatch.make + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +confflags := --prefix=/usr --mandir=/usr/share/man +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += --build=$(DEB_BUILD_GNU_TYPE) +else + confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) +endif + + +export CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + + +config.status: patch-stamp configure + ./configure $(confflags) + +build-arch: build-arch-stamp config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/mlmmj.sgml > mlmmj.1 + +build-arch-stamp: + touch build-arch-stamp +build-indep-stamp: + touch build-indep-stamp + +build-indep: build-indep-stamp config.status + +clean: unpatch + [ ! -f Makefile ] || $(MAKE) distclean + rm -f build-stamp build-indep-stamp build-arch-stamp config.log configure-stamp + rm -rf $(CURDIR)/debian/DEBIAN + dh_clean + +install-arch: build-arch + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/mlmmj. + $(MAKE) install DESTDIR=$(CURDIR)/debian/mlmmj + + # Install translated list texts + + install -d \ + $(TEXTDIR)/da/ \ + $(TEXTDIR)/cz/ \ + $(TEXTDIR)/it/ \ + $(TEXTDIR)/de/ \ + $(TEXTDIR)/es/ + install -m 644 listtexts/da/* $(TEXTDIR)/da/ + install -m 644 listtexts/cz/* $(TEXTDIR)/cz/ + install -m 644 listtexts/it/* $(TEXTDIR)/it/ + install -m 644 listtexts/de/* $(TEXTDIR)/de/ + install -m 644 listtexts/es/* $(TEXTDIR)/es/ + + # Don't advertise that mlmmj-make-ml is a shell script + # And install our own version of mlmmj-make-ml, until upstream + # has stabilised somewhat + rm -f $(CURDIR)/debian/mlmmj/usr/bin/mlmmj-make-ml.sh + install -m 755 -D $(CURDIR)/debian/mlmmj-make-ml.sh \ + $(CURDIR)/debian/mlmmj/usr/bin/mlmmj-make-ml + dh_install -s + +install-indep: build-indep + # mlmmj-php-web + install -m 644 -D $(CURDIR)/contrib/web/php-user/mlmmj.php \ + $(CURDIR)/debian/mlmmj-php-web/var/www/mlmmj-php-web/mlmmj.php + install -m 644 -D $(CURDIR)/contrib/web/php-user/README \ + $(CURDIR)/debian/mlmmj-php-web/usr/share/doc/mlmmj-php-web/README + install -m 644 -D $(CURDIR)/contrib/web/php-user/example.html \ + $(CURDIR)/debian/mlmmj-php-web/usr/share/doc/mlmmj-php-web/examples/examples.html + # mlmmj-php-web-admin + install -d $(CURDIR)/debian/mlmmj-php-web-admin/var/www/mlmmj-php-web-admin + install -m 644 $(CURDIR)/contrib/web/php-admin/htdocs/*.php \ + $(CURDIR)/debian/mlmmj-php-web-admin/var/www/mlmmj-php-web-admin/ + install -m 644 $(CURDIR)/contrib/web/php-admin/htdocs/dot.htaccess \ + $(CURDIR)/debian/mlmmj-php-web-admin/var/www/mlmmj-php-web-admin/.htaccess + install -m 644 -D $(CURDIR)/contrib/web/php-admin/README \ + $(CURDIR)/debian/mlmmj-php-web-admin/usr/share/doc/mlmmj-php-web-admin/README + install -d $(CURDIR)/debian/mlmmj-php-web-admin/usr/share/mlmmj-php-web-admin/conf + install -d $(CURDIR)/debian/mlmmj-php-web-admin/usr/share/mlmmj-php-web-admin/templates + install -m 644 $(CURDIR)/contrib/web/php-admin/conf/* \ + $(CURDIR)/debian/mlmmj-php-web-admin/usr/share/mlmmj-php-web-admin/conf/ + install -m 644 $(CURDIR)/contrib/web/php-admin/templates/* \ + $(CURDIR)/debian/mlmmj-php-web-admin/usr/share/mlmmj-php-web-admin/templates/ + install -m 644 -D $(CURDIR)/debian/htpasswd \ + $(CURDIR)/debian/mlmmj-php-web-admin/etc/mlmmj-php-web-admin/htpasswd + +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs -A FAQ TUNABLES TODO UPGRADE AUTHORS README README.access VERSION README.exim4 README.sendmail + dh_installdebconf + dh_installexamples +# dh_install +# dh_installmenu + dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit + dh_installcron +# dh_installinfo + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: build-arch install-arch + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +binary-indep: build-indep install-indep + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +binary: binary-arch binary-indep + +build: build-arch build-indep + +.PHONY: build-arch build-indep clean binary-indep binary-arch binary-common install-indep install-arch build configure diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..997a828 --- /dev/null +++ b/debian/watch @@ -0,0 +1,6 @@ +version=2 + +http://mlmmj.mmj.dk/files/ \ +.*/?mlmmj-(.*).tar.bz2.* + + -- 2.30.2