--- popfile-1.1.3+dfsg.orig/start_popfile.sh +++ popfile-1.1.3+dfsg/start_popfile.sh @@ -0,0 +1,27 @@ +#!/bin/sh + +CONFIGFILE=/etc/popfile/defaults + +UIPORT=7070 +UILOCAL=yes +POPPORT=7071 +POPLOCAL=yes + +if [ -e $CONFIGFILE ]; then . $CONFIGFILE; fi + +if [ "$UILOCAL" = "no" ]; then UILOCAL=0; else UILOCAL=1; fi +if [ "$POPLOCAL" = "no" ]; then POPLOCAL=0; else POPLOCAL=1; fi + +PARAMS="--set config_piddir=/var/run/popfile/ --set logger_logdir=/var/log/popfile/" +if [ ! -s /var/lib/popfile/popfile.cfg ] +then + PARAMS="$PARAMS --set html_port=$UIPORT --set html_local=$UILOCAL --set pop3_port=$POPPORT --set pop3_local=$POPLOCAL" +fi +PARAMS="$PARAMS $1" + +cd /var/lib/popfile +export POPFILE_ROOT=/usr/share/popfile +export POPFILE_USER=/var/lib/popfile +umask 0027 +exec /usr/share/popfile/popfile.pl $PARAMS + --- popfile-1.1.3+dfsg.orig/Makefile +++ popfile-1.1.3+dfsg/Makefile @@ -0,0 +1,27 @@ + +.PHONY: all install clean + +all: + cp v*.change changelog + +install: + cp *.gif *.pl *.sh *.png $(DESTDIR)/usr/share/popfile/ + cp stopwords popfile.pck $(DESTDIR)/usr/share/popfile/ + chmod +x $(DESTDIR)/usr/share/popfile/*.pl \ + $(DESTDIR)/usr/share/popfile/*.sh + cp -Rf Classifier $(DESTDIR)/usr/share/popfile/ + cp -Rf POPFile $(DESTDIR)/usr/share/popfile/ + cp -Rf Proxy $(DESTDIR)/usr/share/popfile/ + cp -Rf Services $(DESTDIR)/usr/share/popfile/ + cp -Rf UI $(DESTDIR)/usr/share/popfile/ + cp -Rf languages $(DESTDIR)/usr/share/popfile/ + cp -Rf skins $(DESTDIR)/usr/share/popfile/ + cp -Rf debian_wrappers/popfile-bayes $(DESTDIR)/usr/sbin/ + cp -Rf debian_wrappers/popfile-insert $(DESTDIR)/usr/sbin/ + cp -Rf debian_wrappers/popfile-pipe $(DESTDIR)/usr/sbin/ + chmod +x $(DESTDIR)/usr/sbin/* + +clean: + rm -f changelog + + --- popfile-1.1.3+dfsg.orig/debian/popfile.manpages +++ popfile-1.1.3+dfsg/debian/popfile.manpages @@ -0,0 +1,3 @@ +debian_wrappers/popfile-bayes.8 +debian_wrappers/popfile-insert.8 +debian_wrappers/popfile-pipe.8 --- popfile-1.1.3+dfsg.orig/debian/watch +++ popfile-1.1.3+dfsg/debian/watch @@ -0,0 +1,6 @@ +version=3 +opts=dversionmangle=s/\+dfsg\d*$//,\ +filenamemangle=s/.*popfile-(.*)\.zip.*/popfile_$1\.orig\.zip/ \ +http://getpopfile.org/download \ +/downloads/popfile-([\d.]+)\.zip.* \ +debian sh debian/repacksrc.sh --- popfile-1.1.3+dfsg.orig/debian/postinst +++ popfile-1.1.3+dfsg/debian/postinst @@ -0,0 +1,110 @@ +#! /bin/sh + +set -e + +CONFIGFILE=/etc/popfile/defaults +BACKUPFILE=/var/lib/popfile/backup-$2.tar.gz + +. /usr/share/debconf/confmodule + +case "$1" in + configure) + + ( + + echo "Creating user (ignore 'already exist' errors)" + mkdir -p /var/lib/popfile + adduser --system --home /usr/lib/popfile --no-create-home \ + --group --shell /bin/sh --home /var/lib/popfile popfile \ + || true >/dev/null + + mkdir -p /var/run/popfile + chown -R popfile:popfile /var/run/popfile + + mkdir -p /var/log/popfile + chown -R popfile:popfile /var/log/popfile + + if [ ! -e /var/lib/popfile/stopwords ] + then + cp /usr/share/popfile/stopwords /var/lib/popfile/ + fi + if [ -e /etc/popfile/popfile.cfg ] + then + cp -f /etc/popfile/popfile.cfg /var/lib/popfile/ + rm -f /etc/popfile/popfile.cfg + fi + chown -R popfile:popfile /var/lib/popfile + + mkdir -p /etc/popfile + + if [ -f /var/lib/popfile/popfile.cfg ] + then + chmod o-r /var/lib/popfile/popfile.cfg + fi + + ) 1>&2 + + db_get popfile/backupcorpus + if [ $RET = true ]; then BACKUPCORPUS="yes" + else BACKUPCORPUS="no"; fi + + db_get popfile/uiport + UIPORT="$RET" + + db_get popfile/uilocal + if [ $RET = true ]; then UILOCAL="yes" + else UILOCAL="no"; fi + + db_get popfile/popport + POPPORT="$RET" + + db_get popfile/poplocal + if [ $RET = true ] ; then POPLOCAL="yes" + else POPLOCAL="no"; fi + db_stop + + ( + + if dpkg --compare-versions "$2" lt-nl "0.22.0" >&2 + then + if [ "$BACKUPCORPUS" = "yes" -a ! -f $BACKUPFILE ] + then + ( cd /var/lib/popfile ; \ + tar --ignore-failed-read -zcf $BACKUPFILE \ + corpus messages popfile.cfg popfile.db stopwords ) + fi + fi + + touch $CONFIGFILE + for a in UIPORT UILOCAL POPPORT POPLOCAL + do + grep -q "^[[:space:]]*$a=.*" $CONFIGFILE \ + || ( echo ; echo "$a=" ) >> $CONFIGFILE + done + + sed -e "s/^[[:space:]]*UIPORT=.*/UIPORT=$UIPORT/" \ + -e "s/^[[:space:]]*UILOCAL=.*/UILOCAL=$UILOCAL/" \ + -e "s/^[[:space:]]*POPPORT=.*/POPPORT=$POPPORT/" \ + -e "s/^[[:space:]]*POPLOCAL=.*/POPLOCAL=$POPLOCAL/" \ + < $CONFIGFILE > $CONFIGFILE.tmp + mv -f $CONFIGFILE.tmp $CONFIGFILE + + ) 1>&2 + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 + + --- popfile-1.1.3+dfsg.orig/debian/popfile.config +++ popfile-1.1.3+dfsg/debian/popfile.config @@ -0,0 +1,37 @@ +#!/bin/sh -e + +CONFIGFILE=/etc/popfile/defaults + +. /usr/share/debconf/confmodule + +if [ -e $CONFIGFILE ] +then + UIPORT= + UILOCAL= + POPPORT= + POPLOCAL= + . $CONFIGFILE || true + if [ "$UIPORT" != "" ]; then db_set popfile/uiport $UIPORT; fi + if [ "$UILOCAL" != "" ] + then + if [ $UILOCAL = yes ]; then db_set popfile/uilocal true + else db_set popfile/uilocal false; fi + fi + if [ "$POPPORT" != "" ]; then db_set popfile/popport $POPPORT; fi + if [ "$POPLOCAL" != "" ] + then + if [ $POPLOCAL = yes ]; then db_set popfile/poplocal true + else db_set popfile/poplocal false; fi + fi +fi + +if dpkg --compare-versions "$2" lt-nl "0.22.0" >&2 +then + db_input medium popfile/backupcorpus || true +fi +db_input medium popfile/uiport || true +db_input medium popfile/uilocal || true +db_input medium popfile/popport || true +db_input medium popfile/poplocal || true +db_go || true + --- popfile-1.1.3+dfsg.orig/debian/popfile.templates +++ popfile-1.1.3+dfsg/debian/popfile.templates @@ -0,0 +1,37 @@ +Template: popfile/backupcorpus +Type: boolean +Default: true +_Description: Do you wish to backup popfile's internal data? + Popfile has changed the way it stores its internal data. It will + automatically upgrade from previous versions, but if you ever want to + downgrade you will need a backup of your old data. + . + A backup of your current data will be done in + /var/lib/popfile/backup-.tar.gz. You will only need this if you + wish to downgrade. + +Template: popfile/uiport +Type: string +Default: 7070 +_Description: Web UI Port: + This is the port on which popfile's web UI will listen. + +Template: popfile/uilocal +Type: boolean +Default: true +_Description: Web UI accepts only local connections? + Disabling the web UI for non local connections will increase security. + If you decide to let popfile accept non local connections remember to set a + password (in the security part of the web UI) as soon as possible. + +Template: popfile/popport +Type: string +Default: 7071 +_Description: POP Proxy Port: + This is the port on which popfile's POP proxy will listen. + +Template: popfile/poplocal +Type: boolean +Default: true +_Description: POP proxy accepts only local connections? + Disabling the POP proxy for non local connections will increase security. --- popfile-1.1.3+dfsg.orig/debian/changelog +++ popfile-1.1.3+dfsg/debian/changelog @@ -0,0 +1,251 @@ +popfile (1.1.3+dfsg-0ubuntu1~lucid1~ppa1) lucid; urgency=low + + * No-change backport to lucid + + -- Daniel Hahler Wed, 27 Feb 2013 19:43:27 +0100 + +popfile (1.1.3+dfsg-0ubuntu1) precise; urgency=low + + * New upstream release + + -- Daniel Hahler Fri, 27 Jan 2012 00:05:40 +0100 + +popfile (1.1.1+dfsg-0ubuntu2) lucid; urgency=low + + * Fix sqlite depends: switch from libdbd-sqlite2-perl to + libdbd-sqlite3-perl (LP: #564365) + + -- Daniel Hahler Fri, 16 Apr 2010 21:39:58 +0200 + +popfile (1.1.1+dfsg-0ubuntu1) lucid; urgency=low + + * Fix messed up orig.tar.gz (LP: #515904) + * debian/repacksrc.sh, debian/watch: fix orig.tar.gz filename and remove + windows newlines. Thanks phobie. + * debian/patches/01_logdir.dpatch: refreshed + * debian/control: Standards-Version: 3.8.3 + + -- Daniel Hahler Wed, 03 Feb 2010 22:19:24 +0100 + +popfile (1.1.1-0ubuntu1) lucid; urgency=low + + * New upstream release (LP: #479704) + * Fix debian/watch + * Fix Homepage link in control file (LP: #291668) + + -- Daniel Hahler Sun, 31 Jan 2010 00:03:17 +0100 + +popfile (1.0.1-0ubuntu2) intrepid; urgency=low + + * debian/init.d: add "--oknodo" to start-stop-daemon calls for "start" and + "stop" actions, so removal of the package does not fail in case no running + process is found (LP: #239386) + * debian/popfile.doc-base: removed; not used anymore, since the manual is + gone + + -- Daniel Hahler Thu, 24 Jul 2008 19:29:35 +0200 + +popfile (1.0.1-0ubuntu1) intrepid; urgency=low + + * New upstream version. + * Makefile: + - Do not install "manual" anymore (removed upstream). + * debian/control: + - add Vcs fields + - Standards-Version: 3.8.0; no other changes" + + -- Daniel Hahler Thu, 24 Jul 2008 01:46:28 +0200 + +popfile (1.0.0-0ubuntu2) hardy; urgency=low + + * Makefile: + - install Services directory, required for IMAP support. + Thanks Hirvinen (LP: #217072) + - Install *.png, too. This makes the logo appear in the UI and prevents + the logfile to grow because of 404 errors. + + -- Daniel Hahler Mon, 14 Apr 2008 21:05:26 +0200 + +popfile (1.0.0-0ubuntu1) hardy; urgency=low + + * New upstream release (LP: #186217) + * Dropped debian/patches/02_sqlite2.dpatch: applied upstream + * debian/control: + - Build-Depend on po-debconf (lintian) + - Standards-Version 3.7.3 (lintian) + - Moved Homepage out of description into new field + - Mention IMAP functionality in description + * debian/rules: + - Fix debian-rules-ignores-make-clean-error (lintian) + * debian/init.d: + - Add LSB init script header according to + http://wiki.debian.org/LSBInitScripts + * debian/popfile.doc-base: + - Fix doc-base-file-separator-extra-whitespaces (lintian) + * debian/postinst: Moved creation of /var/lib/popfile before call to adduser + to avoid warning from adduser that the homedir cannot be accessed. + + -- Daniel Hahler Tue, 12 Feb 2008 00:56:36 +0100 + +popfile (0.22.4-1ubuntu1) gutsy; urgency=low + + * Made sure that /var/run/popfile exists in init.d script + (LP: #126894) + * Changed chown separator from '.' to ':' + * Changed maintainer according to + https://wiki.ubuntu.com/DebianMaintainerField + * Standards-Version: 3.7.2 + * Changed Build-Depends-Indep to Build-Depends (lintian) + + -- dAniel hAhler Thu, 26 Jul 2007 01:09:02 +0200 + +popfile (0.22.4-1) unstable; urgency=low + + * New upstream release + * Fixed DOS attack via unspecified vectors involving character sets + within e-mail messages. [CVE-2006-0876] (closes: #354464) + * Vietnamese debconf template translation. (closes: #316978) + * Czech debconf template translation. (closes: #309231) + * Swedish debconf template translation. (closes: #344004) + + -- Lucas Wall Wed, 1 Mar 2006 22:29:05 -0300 + +popfile (0.22.2-3) unstable; urgency=low + + * Alternative debconf-2.0 depend added. + + -- Lucas Wall Mon, 26 Sep 2005 21:12:50 -0300 + +popfile (0.22.2-2) unstable; urgency=low + + * Switched to depend on package libdbd-sqlite2-perl. + + -- Lucas Wall Sun, 3 Apr 2005 15:52:03 -0300 + +popfile (0.22.2-1) unstable; urgency=low + + * New upstream release + + -- Lucas Wall Sun, 16 Jan 2005 16:22:53 -0300 + +popfile (0.22.1-2) unstable; urgency=low + + * Fixed typo in description. (closes: #277244) + * Fixed problem with SQLite module name change. (closes: #284520) + + -- Lucas Wall Tue, 7 Dec 2004 01:17:43 -0300 + +popfile (0.22.1-1) unstable; urgency=low + + * New upstream release + * Crash on parsing \x00 in header fixed. (closes: #273444) + * Added dependancy to libsoap-lite-perl required by XMLRPC + module. (closes: #273904) + + -- Lucas Wall Tue, 5 Oct 2004 06:47:45 -0300 + +popfile (0.22.0-1) unstable; urgency=low + + * New upstream release. + * Upstream included the new NNTP module in this version. (closes: #271054) + * Upload sponsored by Matthew Palmer + + -- Lucas Wall Thu, 9 Sep 2004 07:12:48 -0300 + +popfile (0.21.2-1) unstable; urgency=low + + * New upstream release + + -- Lucas Wall Wed, 4 Aug 2004 19:26:02 -0300 + +popfile (0.21.1-4) unstable; urgency=low + + * Added japanese debconf template translation. (closes: #258701) + * The wrapper script popfile-pipe does not "su" to user/group popfile. + * Wrapper scripts now correctly handle arguments with spaces. + + -- Lucas Wall Sun, 11 Jul 2004 20:29:02 -0300 + +popfile (0.21.1-3) unstable; urgency=low + + * Fixed permission problem in wrapper scripts. (closes: #247251) + * Pushed init order from 14 down to 20. + * Upload sponsored by Matthew Palmer . + + -- Lucas Wall Fri, 28 May 2004 02:10:27 -0300 + +popfile (0.21.1-2) unstable; urgency=low + + * Added french debconf templates translation. (closes: #243643) + * Added spanish debconf templates translation. + * Added wrapper scripts to run popfile command line tools. + * Fixed mailserver/username separator bug. (closes: #247070) + * Fixed bashism in init script. (closes: #247421) + + -- Lucas Wall Tue, 4 May 2004 23:20:44 -0300 + +popfile (0.21.1-1) unstable; urgency=low + + * New upstream release. + * Data backup only asked/made if really needed. + * Excesive configuration warning removed. + * Added po-debconf support. (closes: #236875) + + -- Lucas Wall Sat, 20 Mar 2004 01:28:50 -0300 + +popfile (0.20.1-4) unstable; urgency=low + + * Package uploaded to debian. (closes: #203349) + * Sponsored by Matthew Palmer + + -- Lucas Wall Sun, 15 Feb 2004 14:01:11 -0300 + +popfile (0.20.1-3) unstable; urgency=low + + * Stopwords added to instalation process. + + -- Lucas Wall Sat, 14 Feb 2004 17:06:21 -0300 + +popfile (0.20.1-2) unstable; urgency=low + + * Added /etc/default/popfile for user settings. + + -- Lucas Wall Sat, 14 Feb 2004 01:29:46 -0300 + +popfile (0.20.1-1) unstable; urgency=low + + * New upstream release + + -- Lucas Wall Fri, 7 Nov 2003 00:56:07 -0300 + +popfile (0.20.0a-1) unstable; urgency=low + + * New upstream release + + -- Lucas Wall Thu, 23 Oct 2003 09:18:48 -0300 + +popfile (0.19.1-3) unstable; urgency=low + + * Small improvement on init script. + + -- Lucas Wall Sun, 10 Aug 2003 21:50:13 -0300 + +popfile (0.19.1-2) unstable; urgency=low + + * Adjusted permissions on config file (to no world read). + * Start popfile with a more restrictive umask (with no world read). + + -- Lucas Wall Fri, 25 Jul 2003 11:41:22 -0300 + +popfile (0.19.1-1) unstable; urgency=low + + * New upstream release + + -- Lucas Wall Tue, 22 Jul 2003 15:01:38 -0300 + +popfile (0.19.0-1) unstable; urgency=low + + * Initial Release. + + -- Lucas Wall Mon, 30 Jun 2003 00:24:40 -0300 + --- popfile-1.1.3+dfsg.orig/debian/README.Debian +++ popfile-1.1.3+dfsg/debian/README.Debian @@ -0,0 +1,30 @@ +popfile for Debian +------------------ + +Paths have been changed from upstream. Directories for corpus, archive and +messages have been moved to /var/lib/popfile. Logs have changed to +/var/log/popfile and pid file to /var/run/popfile. + +Default ports have also been changed. With the default config file +connections to web and POP services are only accepted from localhost. Web +interface is configured in port 7070 and POP service in port 7071. + +If you wish to change settings from another machine run "dpkg-reconfigure +popfile", or set "html_local" to 0 in the config file, and connect to port +7070 with your browser. All config values can be changed from the web +interface. + +Remember to set a password if you open the web interface to the internet! + +The config file can be found in /var/lib/popfile/popfile.cfg, but its strongly +recommended not to change it manually. Use the web interface to change +settings. If you still need, or want, to fiddle with it do not change its +general format, keep one space between option tag and value, and stop the +daemon before modifying it. + +WARNING! Stop the daemon before manually changing the config file. The program +will rewrite its config file each time it stops. Further... When you first +start the daemon you will not find any config file. Stop the daemon and the +default config file will be written. + + -- Lucas Wall , Mon, 30 Jun 2003 00:24:40 -0300 --- popfile-1.1.3+dfsg.orig/debian/compat +++ popfile-1.1.3+dfsg/debian/compat @@ -0,0 +1 @@ +4 --- popfile-1.1.3+dfsg.orig/debian/popfile.links +++ popfile-1.1.3+dfsg/debian/popfile.links @@ -0,0 +1 @@ +/usr/share/doc/popfile/manual /usr/share/popfile/manual --- popfile-1.1.3+dfsg.orig/debian/docs +++ popfile-1.1.3+dfsg/debian/docs @@ -0,0 +1,2 @@ +changelog +debian/NEWS.Debian --- popfile-1.1.3+dfsg.orig/debian/NEWS.Debian +++ popfile-1.1.3+dfsg/debian/NEWS.Debian @@ -0,0 +1,15 @@ +popfile (0.22.0-1) unstable; urgency=low + + Popfile changed the way it stores data once more. So, if you answered yes to + the backup debconf question, you will find a tared backup in + /var/lib/popfile on your previous version in case you want to downgrade. + + This version includes the new NNTP and SMTP proxy modules. If you decide to + activate them remember to change the ports they listen to. This package runs + popfile as user popfile, not root, so you can't use ports <1024. + + There was a major update in the web ui skin support. If you used a skin + other than the default you might have to chose it again after the upgrade. + + -- Lucas Wall Thu, 9 Sep 2004 07:12:48 -0300 + --- popfile-1.1.3+dfsg.orig/debian/checkpos.sh +++ popfile-1.1.3+dfsg/debian/checkpos.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +for i in po/*.po +do + echo $i + msgfmt -o /dev/null --statistics $i +done + --- popfile-1.1.3+dfsg.orig/debian/init.d +++ popfile-1.1.3+dfsg/debian/init.d @@ -0,0 +1,82 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: popfile +# Required-Start: $local_fs $network +# Required-Stop: $local_fs $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start popfile proxy/daemon +### END INIT INFO + + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/share/popfile/start_popfile.sh +NAME=popfile +DESC=popfile +PIDFILE=/var/run/popfile/popfile.pid + +test -f $DAEMON || exit 0 + +set -e + +if [ -e /etc/default/popfile ] +then + . /etc/default/popfile +fi + +if [ ! -d /var/run/popfile ] ; then + install -o popfile -g popfile -m 755 -d /var/run/popfile || return 2 +fi + +EXTRA_OPTS= +if [ "$NICE_LEVEL" != "" ] +then + EXTRA_OPTS="$EXTRA_OPTS --nicelevel $NICE_LEVEL" +fi + +start() { + echo -n "Starting $DESC: " + NOSTART=0 + if [ -e $PIDFILE ]; then + if kill -0 `cat $PIDFILE` >/dev/null 2>&1; then + echo "$NAME already running." + NOSTART=1 + fi + fi + if [ "$NOSTART" = "0" ]; then + start-stop-daemon --start --exec $DAEMON --pidfile $PIDFILE \ + --chuid popfile --background --oknodo $EXTRA_OPTS -- $DAEMON_OPTS + echo "$NAME." + fi +} + +stop() { + echo -n "Stopping $DESC: " + if [ -e $PIDFILE ]; then + start-stop-daemon --stop --pidfile $PIDFILE --retry 60 --oknodo + echo "$NAME." + else + echo "$NAME not running." + fi +} + +case "$1" in + start) + start + ;; + stop) + stop + ;; + restart|force-reload) + stop + sleep 1 + start + ;; + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 --- popfile-1.1.3+dfsg.orig/debian/dirs +++ popfile-1.1.3+dfsg/debian/dirs @@ -0,0 +1,4 @@ +etc/popfile +usr/share/doc/popfile +usr/share/popfile +usr/sbin --- popfile-1.1.3+dfsg.orig/debian/repacksrc.sh +++ popfile-1.1.3+dfsg/debian/repacksrc.sh @@ -0,0 +1,19 @@ +#!/bin/sh -e + +# Called by "uscan --upstream-version 0" +# With "--upstream-version ../popfile_.orig.zip" + +VER=$2 +ZIPFILE=$3 +SRCDIR=popfile-$VER+dfsg +TGZFILE=popfile_$VER+dfsg.orig.tar.gz +TMPDIR=/tmp/popfilesrc_$$ + +mkdir -p $TMPDIR/$SRCDIR +unzip -q $ZIPFILE -d $TMPDIR/$SRCDIR +# Remove carriage returns +for curfile in `find $TMPDIR -type f -regex ".*\.p[lm]$"`; do + sed -e "s/\r$//" -i "$curfile" +done +tar -C $TMPDIR -zcf ../$TGZFILE $SRCDIR +rm -Rf $TMPDIR --- popfile-1.1.3+dfsg.orig/debian/reportbug.presubj +++ popfile-1.1.3+dfsg/debian/reportbug.presubj @@ -0,0 +1,12 @@ +Please include the appropriate sections of your log file with the bug report. +Note that, by default, popfile will log little information. You must increase +the values of GLOBAL_debug and logger_level (Advanced tab) and restart +popfile. + +If you are going to send your configuration (/var/lib/popfile/popfile.cfg) +check for passwords and delete them. You should only find hashes, but better +be cautious. + +If popfile crashes at startup it might be useful to start it manually to see +any startup error messages. Run /usr/share/popfile/start_popfile.sh as user +popfile. --- popfile-1.1.3+dfsg.orig/debian/postrm +++ popfile-1.1.3+dfsg/debian/postrm @@ -0,0 +1,29 @@ +#! /bin/sh + +set -e + +case "$1" in + purge) + + rm -Rf /var/run/popfile + rm -Rf /var/log/popfile + rm -Rf /var/lib/popfile + rm -Rf /etc/popfile + + deluser popfile >/dev/null 2>&1 || true + + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +#DEBHELPER# + +exit 0 --- popfile-1.1.3+dfsg.orig/debian/popfile.default +++ popfile-1.1.3+dfsg/debian/popfile.default @@ -0,0 +1,18 @@ +# Defaults for popfile initscript +# sourced by /etc/init.d/popfile +# installed at /etc/default/popfile by the maintainer scripts + +# +# This is a POSIX shell fragment +# + +# Additional options that are passed to the Daemon. +DAEMON_OPTS="" + +# Environment extra settings +#export LC_MESSAGES=C +#export LANG=da_DK + +# Change daemon nice level +#NICE_LEVEL=15 + --- popfile-1.1.3+dfsg.orig/debian/copyright +++ popfile-1.1.3+dfsg/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Lucas Wall on +Mon, 30 Jun 2003 00:24:40 -0300. + +It was downloaded from http://prdownloads.sourceforge.net/popfile + +Upstream Author: John Graham-Cumming + +Copyright: 2001-2006 John Graham-Cumming + + POPFile is free software; you can redistribute it and/or modify it + under the terms of version 2 of the GNU General Public License as + published by the Free Software Foundation. + + POPFile 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 POPFile; 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, version 2, can be found in /usr/share/common-licenses/GPL-2. + --- popfile-1.1.3+dfsg.orig/debian/rules +++ popfile-1.1.3+dfsg/debian/rules @@ -0,0 +1,61 @@ +#!/usr/bin/make -f +# 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 + +PACKAGE=popfile + +include /usr/share/dpatch/dpatch.make + +build: build-stamp +build-stamp: patch-stamp + dh_testdir + $(MAKE) + touch build-stamp + +clean: clean1 unpatch +clean1: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + [ ! -f Makefile ] || $(MAKE) clean + dh_clean + debconf-updatepo + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install DESTDIR=$(CURDIR)/debian/popfile + mkdir -p debian/popfile/usr/share/bug/popfile + cp debian/reportbug.presubj debian/popfile/usr/share/bug/popfile/presubj + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installdebconf + dh_installdocs + dh_installexamples + dh_installinit + dh_installman + dh_installchangelogs + dh_link + dh_compress + dh_fixperms + dh_installdeb + dh_perl + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install patch unpatch \ + clean1 --- popfile-1.1.3+dfsg.orig/debian/control +++ popfile-1.1.3+dfsg/debian/control @@ -0,0 +1,23 @@ +Source: popfile +Section: mail +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Lucas Wall +Build-Depends: debhelper (>> 4.1.16), dpatch, po-debconf +Standards-Version: 3.8.3 +Homepage: http://getpopfile.org/ +Vcs-Bzr: lp:~blueyed/popfile/ubuntu +Vcs-Browser: http://bazaar.launchpad.net/~blueyed/popfile/ubuntu + +Package: popfile +Architecture: all +Depends: debconf (>= 1.2.0) | debconf-2.0, ${perl:Depends}, libdbd-sqlite3-perl, libhtml-tagset-perl, adduser, libtimedate-perl, libhtml-template-perl, libsoap-lite-perl +Suggests: libtext-kakasi-perl, libio-socket-ssl-perl +Description: email classification tool + POPFile is an tool to classify email with a Naive Bayes classifier, a POP3 + proxy and a web interface. It runs on most platforms and with most email + clients. It's not only useful to filter spam, but also to sort legitimate + mail into different folders. POPFile can be trained to recognize and sort + mails even when no regular mail rules based on header can be made. + POPFile can be used also for IMAP. It will move messages into folders + and re-classify mails after they have been moved. --- popfile-1.1.3+dfsg.orig/debian/patches/01_logdir.dpatch +++ popfile-1.1.3+dfsg/debian/patches/01_logdir.dpatch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# vim: ft=diff +## 01_logdir.dpatch by Lucas Wall +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Changes log directory + +@DPATCH@ +diff -urNad popfile~/POPFile/Logger.pm popfile/POPFile/Logger.pm +--- popfile~/POPFile/Logger.pm 2010-02-03 21:53:30.000000000 +0100 ++++ popfile/POPFile/Logger.pm 2010-02-03 21:55:57.214419048 +0100 +@@ -82,7 +82,7 @@ + + # The default location for log files + +- $self->config_( 'logdir', './' ); ++ $self->config_( 'logdir', '/var/log/popfile/' ); + + # The output format for log files, can be default, tabbed or csv + --- popfile-1.1.3+dfsg.orig/debian/patches/00list +++ popfile-1.1.3+dfsg/debian/patches/00list @@ -0,0 +1 @@ +01_logdir --- popfile-1.1.3+dfsg.orig/debian/po/es.po +++ popfile-1.1.3+dfsg/debian/po/es.po @@ -0,0 +1,111 @@ +# +# 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: popfile 0.21.1-3\n" +"Report-Msgid-Bugs-To: ubuntu-motu@lists.ubuntu.com\n" +"POT-Creation-Date: 2007-07-29 22:17-0400\n" +"PO-Revision-Date: 2004-09-10 15:19-0300\n" +"Last-Translator: Lucas Wall \n" +"Language-Team: Debian Spanish \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../popfile.templates:1001 +msgid "Do you wish to backup popfile's internal data?" +msgstr "¿Desea guardar una copia de los datos internos?" + +#. Type: boolean +#. Description +#: ../popfile.templates:1001 +msgid "" +"Popfile has changed the way it stores its internal data. It will " +"automatically upgrade from previous versions, but if you ever want to " +"downgrade you will need a backup of your old data." +msgstr "" +"Popfile a cambiado la forma en que almacena sus datos internos. El programa " +"actualizará los datos en forma automática, pero si alguna vez necesita " +"volver a una versión anterior deberá contar con una copia de los datos " +"anteriores." + +#. Type: boolean +#. Description +#: ../popfile.templates:1001 +msgid "" +"A backup of your current data will be done in /var/lib/popfile/backup-" +".tar.gz. You will only need this if you wish to downgrade." +msgstr "" +"Una copia de su corpus actual será almacenada en /var/lib/popfile/backup-" +".tar.gz. Solo necesita dicha copia si desea volver a una versión " +"anterior del programa." + +#. Type: string +#. Description +#: ../popfile.templates:2001 +msgid "Web UI Port:" +msgstr "Puerto de la Interfaz Web:" + +#. Type: string +#. Description +#: ../popfile.templates:2001 +msgid "This is the port on which popfile's web UI will listen." +msgstr "Este es el puerto donde encontrará la interfaz web." + +#. Type: boolean +#. Description +#: ../popfile.templates:3001 +msgid "Web UI accepts only local connections?" +msgstr "¿La interfaz acepta solo conexiones locales?" + +#. Type: boolean +#. Description +#: ../popfile.templates:3001 +msgid "" +"Disabling the web UI for non local connections will increase security. If " +"you decide to let popfile accept non local connections remember to set a " +"password (in the security part of the web UI) as soon as possible." +msgstr "" +"Deshabilitar la interfaz web para conexiones no locales mejorará la " +"seguridad. Si desea permitir el acceso recuerde configurar una clave de " +"acceso (en la sección de seguridad de la interfaz web) lo más pronto posible." + +#. Type: string +#. Description +#: ../popfile.templates:4001 +msgid "POP Proxy Port:" +msgstr "Puerto del Proxy POP:" + +#. Type: string +#. Description +#: ../popfile.templates:4001 +msgid "This is the port on which popfile's POP proxy will listen." +msgstr "Este es el puerto donde popfile atiendo el proxy de POP." + +#. Type: boolean +#. Description +#: ../popfile.templates:5001 +msgid "POP proxy accepts only local connections?" +msgstr "¿El proxy POP acepta solo conexiones locales?" + +#. Type: boolean +#. Description +#: ../popfile.templates:5001 +msgid "" +"Disabling the POP proxy for non local connections will increase security." +msgstr "" +"Deshabilitar el proxy POP para conexiones no locales mejorará la seguridad." --- popfile-1.1.3+dfsg.orig/debian/po/vi.po +++ popfile-1.1.3+dfsg/debian/po/vi.po @@ -0,0 +1,106 @@ +# Vietnamese translation for popfile. +# Copyright © 2005 Free Software Foundation, Inc. +# Clytie Siddall , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: popfile 0.22.2-2\n" +"Report-Msgid-Bugs-To: ubuntu-motu@lists.ubuntu.com\n" +"POT-Creation-Date: 2007-07-29 22:17-0400\n" +"PO-Revision-Date: 2005-07-05 19:28+0930\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0\n" +"X-Generator: LocFactoryEditor 1.2.2\n" + +#. Type: boolean +#. Description +#: ../popfile.templates:1001 +msgid "Do you wish to backup popfile's internal data?" +msgstr "Bạn có muốn lÆ°u trữ các dữ liệu ná»™i bá»™ của trình popfile không?" + +#. Type: boolean +#. Description +#: ../popfile.templates:1001 +msgid "" +"Popfile has changed the way it stores its internal data. It will " +"automatically upgrade from previous versions, but if you ever want to " +"downgrade you will need a backup of your old data." +msgstr "" +"Trình popfile đã thay đổi cách lÆ°u dữ liệu ná»™i bá»™. Nó sẽ tá»± Ä‘á»™ng nâng cấp từ " +"phiên bản trÆ°á»›c, nhÆ°ng mà nếu lúc sau bạn muốn hạ cấp thì sẽ cần má»™t bản sao " +"của các dữ liệu cÅ©." + +#. Type: boolean +#. Description +#: ../popfile.templates:1001 +msgid "" +"A backup of your current data will be done in /var/lib/popfile/backup-" +".tar.gz. You will only need this if you wish to downgrade." +msgstr "" +"Các dữ liệu hiện thá»i của bạn sẽ được lÆ°u trữ vào «/var/lib/popfile/backup-" +".tar.gz». Tập tin này cần thiết chỉ nếu bạn muốn hạ cấp thôi." + +#. Type: string +#. Description +#: ../popfile.templates:2001 +msgid "Web UI Port:" +msgstr "Cổng UI Mạng:" + +#. Type: string +#. Description +#: ../popfile.templates:2001 +msgid "This is the port on which popfile's web UI will listen." +msgstr "" +"Giá trị này là cổng mà giao diện ngÆ°á»i dùng (UI) Mạng của trình popfile sẽ " +"lắng nghe trên nó." + +#. Type: boolean +#. Description +#: ../popfile.templates:3001 +msgid "Web UI accepts only local connections?" +msgstr "UI Mạng chấp nhận chỉ sá»± kết nối địa phÆ°Æ¡ng không?" + +#. Type: boolean +#. Description +#: ../popfile.templates:3001 +msgid "" +"Disabling the web UI for non local connections will increase security. If " +"you decide to let popfile accept non local connections remember to set a " +"password (in the security part of the web UI) as soon as possible." +msgstr "" +"An toàn hÆ¡n khi không cho phép giao diện ngÆ°á»i dùng (UI) Mạng chấp nhận sá»± " +"kết nối từ xa. Nếu bạn quyết định cho phép trình popfile chấp nhận sá»± kết " +"nối không phải địa phÆ°Æ¡ng thì hãy ghi nhá»› lập má»™t mật khẩu (trong phần bảo " +"mật của giao diện ngÆ°á»i dùng Mạng) càng sá»›m càng có thể." + +#. Type: string +#. Description +#: ../popfile.templates:4001 +msgid "POP Proxy Port:" +msgstr "Cổng ủy nhiệm POP:" + +#. Type: string +#. Description +#: ../popfile.templates:4001 +msgid "This is the port on which popfile's POP proxy will listen." +msgstr "" +"Giá trị này là cổng mà trình ủy nhiệm POP của popfile sẽ lắng nghe trên nó." + +#. Type: boolean +#. Description +#: ../popfile.templates:5001 +msgid "POP proxy accepts only local connections?" +msgstr "Ủy nhiệm POP chấp nhận chỉ sá»± kết nối địa phÆ°Æ¡ng không?" + +#. Type: boolean +#. Description +#: ../popfile.templates:5001 +msgid "" +"Disabling the POP proxy for non local connections will increase security." +msgstr "" +"An toàn hÆ¡n khi không cho phép trình ủy nhiệm POP chấp nhận sá»± kết nối từ xa." --- popfile-1.1.3+dfsg.orig/debian/po/POTFILES.in +++ popfile-1.1.3+dfsg/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] popfile.templates --- popfile-1.1.3+dfsg.orig/debian/po/fr.po +++ popfile-1.1.3+dfsg/debian/po/fr.po @@ -0,0 +1,118 @@ +# 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. +# +msgid "" +msgstr "" +"Project-Id-Version: popfile\n" +"Report-Msgid-Bugs-To: ubuntu-motu@lists.ubuntu.com\n" +"POT-Creation-Date: 2007-07-29 22:17-0400\n" +"PO-Revision-Date: 2004-09-11 11:11+0200\n" +"Last-Translator: Christian Perrier \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.3.1\n" +"Plural-Forms: Plural-Forms: nplurals=2; plural=n>1;\n" + +#. Type: boolean +#. Description +#: ../popfile.templates:1001 +msgid "Do you wish to backup popfile's internal data?" +msgstr "Faut-il sauvegarder les données internes de popfile ?" + +#. Type: boolean +#. Description +#: ../popfile.templates:1001 +msgid "" +"Popfile has changed the way it stores its internal data. It will " +"automatically upgrade from previous versions, but if you ever want to " +"downgrade you will need a backup of your old data." +msgstr "" +"La méthode de stockage des données internes a changé dans popfile. La mise à " +"jour depuis les anciennes versions sera automatique, mais si vous souhaitez " +"revenir à la version antérieure, vous aurez besoin de vos anciennes données." + +#. Type: boolean +#. Description +#: ../popfile.templates:1001 +msgid "" +"A backup of your current data will be done in /var/lib/popfile/backup-" +".tar.gz. You will only need this if you wish to downgrade." +msgstr "" +"Une sauvegarde des données actuelles va être réalisée dans /var/lib/popfile/" +"backup-.tar.gz. Elles ne seront nécessaires que si vous revenez à " +"la version antérieure." + +#. Type: string +#. Description +#: ../popfile.templates:2001 +msgid "Web UI Port:" +msgstr "Port de l'interface utilisateur web :" + +#. Type: string +#. Description +#: ../popfile.templates:2001 +msgid "This is the port on which popfile's web UI will listen." +msgstr "" +"Veuillez indiquer le port où le serveur de l'interface web de popfile sera à " +"l'écoute." + +#. Type: boolean +#. Description +#: ../popfile.templates:3001 +msgid "Web UI accepts only local connections?" +msgstr "Souhaitez-vous limiter l'interface web aux connexions locales ?" + +#. Type: boolean +#. Description +#: ../popfile.templates:3001 +msgid "" +"Disabling the web UI for non local connections will increase security. If " +"you decide to let popfile accept non local connections remember to set a " +"password (in the security part of the web UI) as soon as possible." +msgstr "" +"Pour améliorer la sécurité, vous pouvez désactiver l'interface web pour les " +"connexions non locales. Si vous autorisez les connexions autres que locales, " +"vous devez établir un mot de passe dès que possible (dans la partie " +"« Securité » ou « Security » de l'interface web)." + +#. Type: string +#. Description +#: ../popfile.templates:4001 +msgid "POP Proxy Port:" +msgstr "Port du mandataire POP :" + +#. Type: string +#. Description +#: ../popfile.templates:4001 +msgid "This is the port on which popfile's POP proxy will listen." +msgstr "Veuillez indiquer le port où le mandataire POP sera à l'écoute." + +#. Type: boolean +#. Description +#: ../popfile.templates:5001 +msgid "POP proxy accepts only local connections?" +msgstr "Souhaitez-vous limiter le mandataire POP aux connexions locales ?" + +#. Type: boolean +#. Description +#: ../popfile.templates:5001 +msgid "" +"Disabling the POP proxy for non local connections will increase security." +msgstr "" +"Pour améliorer la sécurité, vous pouvez désactiver le mandataire POP pour " +"les connexions non locales." --- popfile-1.1.3+dfsg.orig/debian/po/cs.po +++ popfile-1.1.3+dfsg/debian/po/cs.po @@ -0,0 +1,109 @@ +# +# 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: popfile\n" +"Report-Msgid-Bugs-To: ubuntu-motu@lists.ubuntu.com\n" +"POT-Creation-Date: 2007-07-29 22:17-0400\n" +"PO-Revision-Date: 2005-05-15 20:43+0200\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../popfile.templates:1001 +msgid "Do you wish to backup popfile's internal data?" +msgstr "Chcete zálohovat interní data popfile?" + +#. Type: boolean +#. Description +#: ../popfile.templates:1001 +msgid "" +"Popfile has changed the way it stores its internal data. It will " +"automatically upgrade from previous versions, but if you ever want to " +"downgrade you will need a backup of your old data." +msgstr "" +"Popfile zmÄ›nil způsob, jakým ukládá svá vnitÅ™ní data. PÅ™evod na novÄ›jší " +"verzi probÄ›hne automaticky, ale kdybyste se nÄ›kdy chtÄ›li vrátit k pÅ™edchozí " +"verzi, musíte mít zálohu svých starých dat." + +#. Type: boolean +#. Description +#: ../popfile.templates:1001 +msgid "" +"A backup of your current data will be done in /var/lib/popfile/backup-" +".tar.gz. You will only need this if you wish to downgrade." +msgstr "" +"Záloha aktuálních dat se uloží do souboru /var/lib/popfile/backup-." +"tar.gz. Tento soubor budete potÅ™ebouvat pouze pÅ™i degradaci na pÅ™edchozí " +"verze." + +#. Type: string +#. Description +#: ../popfile.templates:2001 +msgid "Web UI Port:" +msgstr "Port webového rozhraní:" + +#. Type: string +#. Description +#: ../popfile.templates:2001 +msgid "This is the port on which popfile's web UI will listen." +msgstr "Na tomto portu bude naslouchat webové rozhraní popfile." + +#. Type: boolean +#. Description +#: ../popfile.templates:3001 +msgid "Web UI accepts only local connections?" +msgstr "Má webové rozhraní pÅ™ijímat pouze místní spojení?" + +#. Type: boolean +#. Description +#: ../popfile.templates:3001 +msgid "" +"Disabling the web UI for non local connections will increase security. If " +"you decide to let popfile accept non local connections remember to set a " +"password (in the security part of the web UI) as soon as possible." +msgstr "" +"Zakázáním webového rozhraní pro vzdálená spojení se zvýší bezpeÄnost. " +"Rozhodnete-li se pÅ™ijímat i vzdálená spojení, nezapomeňte co nejrychleji " +"nastavit heslo (ve webovém rozhraní v Äásti bezpeÄnost)." + +#. Type: string +#. Description +#: ../popfile.templates:4001 +msgid "POP Proxy Port:" +msgstr "Port POP proxy:" + +#. Type: string +#. Description +#: ../popfile.templates:4001 +msgid "This is the port on which popfile's POP proxy will listen." +msgstr "Na tomto portu bude naslouchat popfile POP proxy." + +#. Type: boolean +#. Description +#: ../popfile.templates:5001 +msgid "POP proxy accepts only local connections?" +msgstr "Má POP proxy pÅ™ijímat pouze místní spojení?" + +#. Type: boolean +#. Description +#: ../popfile.templates:5001 +msgid "" +"Disabling the POP proxy for non local connections will increase security." +msgstr "Zakázáním POP proxy pro vzdálená spojení se zvýší bezpeÄnost." --- popfile-1.1.3+dfsg.orig/debian/po/sv.po +++ popfile-1.1.3+dfsg/debian/po/sv.po @@ -0,0 +1,111 @@ +# +# 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: popfile 0.22.2-3\n" +"Report-Msgid-Bugs-To: ubuntu-motu@lists.ubuntu.com\n" +"POT-Creation-Date: 2007-07-29 22:17-0400\n" +"PO-Revision-Date: 2005-12-19 12:54+0100\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../popfile.templates:1001 +msgid "Do you wish to backup popfile's internal data?" +msgstr "Önskar du att säkerhetskopiera popfiles interna data?" + +#. Type: boolean +#. Description +#: ../popfile.templates:1001 +msgid "" +"Popfile has changed the way it stores its internal data. It will " +"automatically upgrade from previous versions, but if you ever want to " +"downgrade you will need a backup of your old data." +msgstr "" +"Popfile har ändrat sättet att lagra sin interna data. Den kommer att " +"automatiskt uppgradas från föregående versioner men om du någon gång vill " +"nedgradera behöver du en säkerhetskopia av ditt gamla data." + +#. Type: boolean +#. Description +#: ../popfile.templates:1001 +msgid "" +"A backup of your current data will be done in /var/lib/popfile/backup-" +".tar.gz. You will only need this if you wish to downgrade." +msgstr "" +"En säkerhetskopia av din nuvarande data kommer att göras i /var/lib/popfile/" +"backup-.tar.gz. Du kommer endast behöva denna om du önskar " +"nedgradera." + +#. Type: string +#. Description +#: ../popfile.templates:2001 +msgid "Web UI Port:" +msgstr "Port för webbgränssnitt:" + +#. Type: string +#. Description +#: ../popfile.templates:2001 +msgid "This is the port on which popfile's web UI will listen." +msgstr "Detta är porten på vilken popfiles webbgränssnitt lyssnar på." + +#. Type: boolean +#. Description +#: ../popfile.templates:3001 +msgid "Web UI accepts only local connections?" +msgstr "Ska webbgränssnittet endast tillåta lokala anslutningar?" + +#. Type: boolean +#. Description +#: ../popfile.templates:3001 +msgid "" +"Disabling the web UI for non local connections will increase security. If " +"you decide to let popfile accept non local connections remember to set a " +"password (in the security part of the web UI) as soon as possible." +msgstr "" +"Stänga av webbgränssnittet för icke-lokala anslutningar förbättrar " +"säkerheten. Om du väljer att låta popfile ta emot icke-lokala anslutningar " +"bör du komma i håg att sätta ett lösenord (i säkerhetsdelen av " +"webbgränssnittet) så snart som möjligt." + +#. Type: string +#. Description +#: ../popfile.templates:4001 +msgid "POP Proxy Port:" +msgstr "Port för POP-proxy:" + +#. Type: string +#. Description +#: ../popfile.templates:4001 +msgid "This is the port on which popfile's POP proxy will listen." +msgstr "Detta är porten på vilken popfiles POP-proxy lyssnar på." + +#. Type: boolean +#. Description +#: ../popfile.templates:5001 +msgid "POP proxy accepts only local connections?" +msgstr "Ska POP-proxyn endast tillåta lokala anslutningar?" + +#. Type: boolean +#. Description +#: ../popfile.templates:5001 +msgid "" +"Disabling the POP proxy for non local connections will increase security." +msgstr "" +"Stänga av POP-proxyn för icke-lokala anslutningar förbättrar säkerheten." --- popfile-1.1.3+dfsg.orig/debian/po/ja.po +++ popfile-1.1.3+dfsg/debian/po/ja.po @@ -0,0 +1,113 @@ +# +# 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: popfile \n" +"Report-Msgid-Bugs-To: ubuntu-motu@lists.ubuntu.com\n" +"POT-Creation-Date: 2007-07-29 22:17-0400\n" +"PO-Revision-Date: 2004-09-11 13:08+0900\n" +"Last-Translator: Hideki Yamane \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=EUC-JP\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../popfile.templates:1001 +msgid "Do you wish to backup popfile's internal data?" +msgstr "popfile ¤ÎÆâÉô¥Ç¡¼¥¿¤ò¥Ð¥Ã¥¯¥¢¥Ã¥×¤·¤Þ¤¹¤«?" + +#. Type: boolean +#. Description +#: ../popfile.templates:1001 +msgid "" +"Popfile has changed the way it stores its internal data. It will " +"automatically upgrade from previous versions, but if you ever want to " +"downgrade you will need a backup of your old data." +msgstr "" +"popfile ¤ÏÆâÉô¥Ç¡¼¥¿¤ÎÊݸÊýË¡¤òÊѹ¹¤·¤Þ¤·¤¿¡£°ÊÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤«¤é¼«Æ°Åª¤Ë" +"¥¢¥Ã¥×¥°¥ì¡¼¥É¤¬¹Ô¤ï¤ì¤Þ¤¹¤¬¡¢¥À¥¦¥ó¥°¥ì¡¼¥É¤â¹Ô¤¤¤¿¤¤¤È¤¤¤¦¾ì¹ç¡¢°ÊÁ°¤Î¥Ç¡¼" +"¥¿¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¤¬É¬ÍפȤʤê¤Þ¤¹¡£" + +#. Type: boolean +#. Description +#: ../popfile.templates:1001 +msgid "" +"A backup of your current data will be done in /var/lib/popfile/backup-" +".tar.gz. You will only need this if you wish to downgrade." +msgstr "" +"¸½ºß¤Î¥Ç¡¼¥¿¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¤Ï¡¢/var/lib/popfile/backup-.tar.gz ¤Ø¹Ô¤ï" +"¤ì¤Þ¤¹¡£¤³¤ì¤Ï¡¢¥À¥¦¥ó¥°¥ì¡¼¥É¤ò¹Ô¤¤¤¿¤¤ºÝ¤Î¤ßɬÍפǤ¹¡£" + +#. Type: string +#. Description +#: ../popfile.templates:2001 +msgid "Web UI Port:" +msgstr "Web ¥æ¡¼¥¶¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹¤Î¥Ý¡¼¥ÈÈÖ¹æ:" + +#. Type: string +#. Description +#: ../popfile.templates:2001 +msgid "This is the port on which popfile's web UI will listen." +msgstr "" +"¤³¤ì¤Ï popfile ¤Î web ¥æ¡¼¥¶¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹¤¬ listen ¤¹¤ë¥Ý¡¼¥ÈÈÖ¹æ¤Ç¤¹¡£" + +#. Type: boolean +#. Description +#: ../popfile.templates:3001 +msgid "Web UI accepts only local connections?" +msgstr "web ¥æ¡¼¥¶¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹¤Ï local ¤«¤é¤ÎÀܳ¤Î¤ß¤ò¼õ¤±ÉÕ¤±¤Þ¤¹¤«?" + +#. Type: boolean +#. Description +#: ../popfile.templates:3001 +msgid "" +"Disabling the web UI for non local connections will increase security. If " +"you decide to let popfile accept non local connections remember to set a " +"password (in the security part of the web UI) as soon as possible." +msgstr "" +"web ¥æ¡¼¥¶¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹¤ËÂФ·¤Æ local °Ê³°¤«¤é¤ÎÀܳ¤ò̵¸ú¤Ë¤¹¤ë¤È¡¢¥»¥­¥å" +"¥ê¥Æ¥£¤¬¹â¤Þ¤ê¤Þ¤¹¡£popfile ¤Ë local °Ê³°¤«¤é¤ÎÀܳ¤òµö²Ä¤¹¤ë¤È·è¤á¤¿¾ì¹ç¡¢" +"(web ¥æ¡¼¥¶¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹¤Î¡Ö¥»¥­¥å¥ê¥Æ¥£¡×¤è¤ê) ¤¹¤°¤Ë¥Ñ¥¹¥ï¡¼¥É¤ò¥»¥Ã¥È¤¹" +"¤ë¤Î¤ò˺¤ì¤Ê¤¤¤Ç²¼¤µ¤¤¡£" + +#. Type: string +#. Description +#: ../popfile.templates:4001 +msgid "POP Proxy Port:" +msgstr "POP ¥×¥í¥­¥·¤Î¥Ý¡¼¥ÈÈÖ¹æ:" + +#. Type: string +#. Description +#: ../popfile.templates:4001 +msgid "This is the port on which popfile's POP proxy will listen." +msgstr "¤³¤ì¤Ï popfile ¤Î POP ¥×¥í¥­¥·¤¬ listen ¤¹¤ë¥Ý¡¼¥ÈÈÖ¹æ¤Ç¤¹¡£" + +#. Type: boolean +#. Description +#: ../popfile.templates:5001 +msgid "POP proxy accepts only local connections?" +msgstr "POP ¥×¥í¥­¥·¤Ï local ¤«¤é¤ÎÀܳ¤Î¤ß¤ò¼õ¤±ÉÕ¤±¤Þ¤¹¤«?" + +#. Type: boolean +#. Description +#: ../popfile.templates:5001 +msgid "" +"Disabling the POP proxy for non local connections will increase security." +msgstr "" +"POP ¥×¥í¥­¥·¤ËÂФ·¤Æ local °Ê³°¤«¤é¤ÎÀܳ¤ò̵¸ú¤Ë¤¹¤ë¤È¡¢¥»¥­¥å¥ê¥Æ¥£¤¬¹â¤Þ¤ê" +"¤Þ¤¹¡£" --- popfile-1.1.3+dfsg.orig/debian/po/templates.pot +++ popfile-1.1.3+dfsg/debian/po/templates.pot @@ -0,0 +1,92 @@ +# 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: ubuntu-motu@lists.ubuntu.com\n" +"POT-Creation-Date: 2007-07-29 22:17-0400\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 +#: ../popfile.templates:1001 +msgid "Do you wish to backup popfile's internal data?" +msgstr "" + +#. Type: boolean +#. Description +#: ../popfile.templates:1001 +msgid "" +"Popfile has changed the way it stores its internal data. It will " +"automatically upgrade from previous versions, but if you ever want to " +"downgrade you will need a backup of your old data." +msgstr "" + +#. Type: boolean +#. Description +#: ../popfile.templates:1001 +msgid "" +"A backup of your current data will be done in /var/lib/popfile/backup-" +".tar.gz. You will only need this if you wish to downgrade." +msgstr "" + +#. Type: string +#. Description +#: ../popfile.templates:2001 +msgid "Web UI Port:" +msgstr "" + +#. Type: string +#. Description +#: ../popfile.templates:2001 +msgid "This is the port on which popfile's web UI will listen." +msgstr "" + +#. Type: boolean +#. Description +#: ../popfile.templates:3001 +msgid "Web UI accepts only local connections?" +msgstr "" + +#. Type: boolean +#. Description +#: ../popfile.templates:3001 +msgid "" +"Disabling the web UI for non local connections will increase security. If " +"you decide to let popfile accept non local connections remember to set a " +"password (in the security part of the web UI) as soon as possible." +msgstr "" + +#. Type: string +#. Description +#: ../popfile.templates:4001 +msgid "POP Proxy Port:" +msgstr "" + +#. Type: string +#. Description +#: ../popfile.templates:4001 +msgid "This is the port on which popfile's POP proxy will listen." +msgstr "" + +#. Type: boolean +#. Description +#: ../popfile.templates:5001 +msgid "POP proxy accepts only local connections?" +msgstr "" + +#. Type: boolean +#. Description +#: ../popfile.templates:5001 +msgid "" +"Disabling the POP proxy for non local connections will increase security." +msgstr "" --- popfile-1.1.3+dfsg.orig/debian_wrappers/popfile-insert.8 +++ popfile-1.1.3+dfsg/debian_wrappers/popfile-insert.8 @@ -0,0 +1,27 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH POPFILE-INSERT 8 "May 2, 2004" +.SH NAME +popfile-insert \- feeds sample emails to a specified bucket to train POPFile +.SH SYNOPSIS +.B popfile-insert +.RI < bucketname > " " < files > " " ... +.SH DESCRIPTION +The insert.pl script provides a way to train your corpus by feeding it sample +emails for a particular bucket. Those emails are parsed and internally +.B reclassified +to the bucket you specify. +.PP +If you use this script to train POPFile via email samples, be careful about +sample size. We do +.B not +recommend you submit thousands of emails to the script, +you will end up with a huge corpus that offers little additional benefit to +classification accuracy. Your best approach would be to stick to small +representative samples of at most 100 emails per bucket. +.SH SEE ALSO +.BR popfile-bayes (8), +.BR popfile-pipe (8). +.br +.SH AUTHOR +This manual page was written by Lucas Wall , +for the Debian project (but may be used by others). --- popfile-1.1.3+dfsg.orig/debian_wrappers/popfile-pipe +++ popfile-1.1.3+dfsg/debian_wrappers/popfile-pipe @@ -0,0 +1,8 @@ +#!/bin/sh + +cd /usr/share/popfile +export POPFILE_ROOT=/usr/share/popfile +export POPFILE_USER=/var/lib/popfile +umask 0027 +exec /usr/share/popfile/pipe.pl "$@" + --- popfile-1.1.3+dfsg.orig/debian_wrappers/popfile-bayes.8 +++ popfile-1.1.3+dfsg/debian_wrappers/popfile-bayes.8 @@ -0,0 +1,17 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH POPFILE-BAYES 8 "May 2, 2004" +.SH NAME +popfile-bayes \- dumps the word matrix for a given message +.SH SYNOPSIS +.B popfile-bayes +.RI < files > " " ... +.SH DESCRIPTION +The bayes.pl script provides a way to see the word matrix for any text message +fed to the script. +.SH SEE ALSO +.BR popfile-insert (8), +.BR popfile-pipe (8). +.br +.SH AUTHOR +This manual page was written by Lucas Wall , +for the Debian project (but may be used by others). --- popfile-1.1.3+dfsg.orig/debian_wrappers/popfile-insert +++ popfile-1.1.3+dfsg/debian_wrappers/popfile-insert @@ -0,0 +1,16 @@ +#!/usr/bin/perl -w + +$bucket = shift; +@files = (); +chomp( $cwd = `pwd` ); +while( my $f = shift ) +{ + $f = $cwd . "/" . $f if ( $f =~ /^[^\/]/ ); + push( @files, $f ); +} +chdir "/usr/share/popfile"; +$ENV{'POPFILE_ROOT'} = "/usr/share/popfile"; +$ENV{'POPFILE_USER'} = "/var/lib/popfile"; +umask 0027; +exec "/usr/share/popfile/insert.pl", $bucket || "", @files; + --- popfile-1.1.3+dfsg.orig/debian_wrappers/popfile-bayes +++ popfile-1.1.3+dfsg/debian_wrappers/popfile-bayes @@ -0,0 +1,15 @@ +#!/usr/bin/perl -w + +@files = (); +chomp( $cwd = `pwd` ); +while( my $f = shift ) +{ + $f = $cwd . "/" . $f if ( $f =~ /^[^\/]/ ); + push( @files, $f ); +} +chdir "/usr/share/popfile"; +$ENV{'POPFILE_ROOT'} = "/usr/share/popfile"; +$ENV{'POPFILE_USER'} = "/var/lib/popfile"; +umask 0027; +exec "/usr/share/popfile/bayes.pl", @files; + --- popfile-1.1.3+dfsg.orig/debian_wrappers/popfile-pipe.8 +++ popfile-1.1.3+dfsg/debian_wrappers/popfile-pipe.8 @@ -0,0 +1,28 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH POPFILE-PIPE 8 "May 2, 2004" +.SH NAME +popfile-pipe \- allows message classification via a pipe +.SH SYNOPSIS +.B popfile-pipe +.SH DESCRIPTION +The pipe.pl script provides a way to have POPFile classify messages piped to +it by other processes that can then take the classified message and deal with +it. +.PP +It accepts the raw message text (you should include headers) on +.B stdin. +Then classifies the message and inserts the POPFile X-Text-Classification +and/or performs Subject line modification as configured in POPFile. +It finally emits the now classified message (including new header and modified +Subject line) on +.B stdout. +.PP +You should run this script as user and group popfile to avoid permission +problems with the data used by the daemon. +.SH SEE ALSO +.BR popfile-insert (8), +.BR popfile-bayes (8). +.br +.SH AUTHOR +This manual page was written by Lucas Wall , +for the Debian project (but may be used by others).