--- mailutils-2.1+dfsg1.orig/debian/mailutils-guile.examples +++ mailutils-2.1+dfsg1/debian/mailutils-guile.examples @@ -0,0 +1 @@ +examples/scheme/reply.scm --- mailutils-2.1+dfsg1.orig/debian/control +++ mailutils-2.1+dfsg1/debian/control @@ -0,0 +1,155 @@ +Source: mailutils +Section: mail +Priority: optional +Maintainer: Jordi Mallach +Uploaders: Luk Claes +Standards-Version: 3.8.3 +Vcs-Svn: svn://svn.debian.org/pkg-mailutils/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-mailutils +Homepage: http://www.gnu.org/software/mailutils/ +Build-Depends: cdbs (>= 0.4.4), + bison, + debhelper (>= 7), + dejagnu, + flex, + gawk, + gettext, + help2man, + guile-1.8-dev (>= 1.8.7+1-1.1), + libfribidi-dev, + libgdbm-dev, + libgnutls-dev, + libgsasl7-dev (>= 0.2.5), + libkrb5-dev, + libldap2-dev, + liblocale-gettext-perl, + libltdl3-dev, + libmysqlclient-dev, + libpam0g-dev, + libreadline-dev, + libwrap0-dev, + python-dev (>= 2.5), + python-support, + zlib1g-dev, + texinfo, + quilt +XS-Python-Version: >= 2.5 + +Package: libmailutils2 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Replaces: libmailutils1 +Conflicts: libmailutils0, libmailutils1 +Description: GNU Mail abstraction library + This is GNU's Mail abstraction library. This library allows programs to + hook into a single library for many different types of mail backends. + The following backend stores are currently provided: mbox, mh, maildir, + pop3, imap4. + +Package: libmailutils-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, libmailutils2 (= ${binary:Version}), ${misc:Depends} +Replaces: libmailutils0-dev +Conflicts: libmailutils0-dev, libsieve2-dev +Description: Development files for GNU mailutils + This package includes the development files for GNU mailutils and + GNU's Mail abstraction library. + +Package: mailutils +Architecture: any +Depends: ${shlibs:Depends}, exim4 | mail-transport-agent, ${misc:Depends} +Conflicts: bsd-mailx (<< 8.1.2-0.20071201cvs-1), heirloom-mailx, elm-me+ (<< 2.4pl25ME+99c-3) +Provides: mail-reader, mailx +Suggests: mailutils-mh +Description: GNU mailutils utilities for handling mail + This package contains the GNU mailutils versions of dotlock, frm, from + maidag, mail, messages, mimeview, movemail, readmsg and sieve. They are + capable of speaking POP3, IMAP, mbox, MH and Maildir. + . + dotlock -- lock mail spool files. + frm -- display From: lines. + from -- display from and subject. + maidag -- the mail delivery agent. + mail -- the standard /bin/mail interface, mail sender and reader. + messages -- count the number of messages in a mailbox. + mimeview -- display files, using mailcap mechanism. + movemail -- move messages across mailboxes. + readmsg -- extract selected messages from a mailbox. + sieve -- a mail filtering tool. + +Package: mailutils-imap4d +Section: net +Architecture: any +Conflicts: imap-server +Provides: imap-server +Depends: ${shlibs:Depends}, netbase, update-inetd, ${misc:Depends} +Description: GNU mailutils-based IMAP4 Daemon + The GNU mailutils IMAP4 daemon implements the Internet Message Access + Protocol, version 4rev1 as per RFC 2060. It supports the "Namespace" + capability and GSSAPI authentication mechanism. It is able to get the + authentication information from the system user database as well as from + a SQL database of arbitrary structure. The PAM framework can also be + used for authentication purposes. Additionally, mailutils imap4d supports + virtual mail domains and has TLS support via GNUtls. GNU mailutils supports + the mbox, MH and Maildir mailbox formats. + +Package: mailutils-pop3d +Section: net +Architecture: any +Provides: pop3-server +Conflicts: pop3-server +Depends: ${shlibs:Depends}, netbase, update-inetd, ${misc:Depends} +Description: GNU mailutils-based POP3 Daemon + The GNU mailutils POP3 daemon supports the basic POP3 protocol with the + CAPA, RESP-CODES, PIPELINING and UIDL extensions. It also supports APOP + authentication. The user credentials for APOP can be stored in a variety + of DBM formats. It is able to get the authentication information from + the system user database as well as from a SQL database of arbitrary + structure. The PAM framework can also be used for authentication + purposes. Additionally, mailutils pop3d supports virtual mail domains and + has TLS support via GNUtls. GNU mailutils supports the mbox, MH and + Maildir mailbox formats. + +Package: mailutils-comsatd +Section: net +Architecture: any +Replaces: mailutils (<< 20030216-1) +Conflicts: biff +Depends: ${shlibs:Depends}, netbase, update-inetd, ${misc:Depends} +Description: GNU mailutils-based comsatd daemon + The GNU mailutils comsat daemon receives reports of incoming mail and + notifies users who wish to get this service. + +Package: mailutils-guile +Architecture: any +Depends: ${shlibs:Depends}, guile-1.8, libmailutils-dev, ${misc:Depends} +Replaces: libmailutils2 (<< 1:2.1), mailutils (<< 1:2.1) +Description: GNU mailutils Guile interpreter and modules + These are the GNU mailutils Guile utilities and modules. In particular, + the "guimb" mail processor and the sieve.scm sieve to Scheme translator + are included, along with several .scm modules for use with Guile. + +Package: mailutils-mh +Architecture: any +Provides: mail-reader +Depends: ${shlibs:Depends}, ${misc:Depends} +Replaces: libmailutils1, libmailutils2 (<< 1:2.1) +Suggests: mailutils, mh-e +Description: GNU mailutils-based MH utilities + These are the GNU mailutils MH utilities. It is an implementation of MH, a + collection of small shell programs to read and handle mail in a very flexible + way. + +Package: python-mailutils +Section: python +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} +Description: GNU Mail abstraction library (Python interface) + GNU Mailutils is a rich and powerful protocol-independent mail framework. + It contains a series of useful mail libraries, clients, and servers. + . + This is the Python interface to the Mailutils library. --- mailutils-2.1+dfsg1.orig/debian/mailutils-pop3d.prerm +++ mailutils-2.1+dfsg1/debian/mailutils-pop3d.prerm @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +update-inetd --remove pop3 + +#DEBHELPER# --- mailutils-2.1+dfsg1.orig/debian/rules +++ mailutils-2.1+dfsg1/debian/rules @@ -0,0 +1,88 @@ +#!/usr/bin/make -f +# This file is PUBLIC DOMAIN. +# +# Copyright © 2001,2003, 2009 Jeff Bailey, Jordi Mallach. + +DEB_PYTHON_SYSTEM := pysupport + +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/rules/utils.mk + +# 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) + +PYVERS := $(shell pyversions --requested --version debian/control) +PYDEFAULTVER := $(shell pyversions --default --version) + +ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) + CONFIGURE_FLAGS += --build=$(DEB_BUILD_GNU_TYPE) +else + CONFIGURE_FLAGS += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) +endif + +# Work-around for upstream rules that try to use $(HOME), which should +# never be touched during the package build +export HOME=$(CURDIR)/junkhome + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + RUNTESTFLAGS = -v -v -v --debug +endif + +DEB_CONFIGURE_USER_FLAGS += \ + --with-lispdir=\$${prefix}/share/emacs/site-lisp \ + --enable-virtual-domains --enable-mh \ + --with-gnutls --with-gdbm --with-gssapi --with-gsasl \ + --with-mysql --disable-rpath + +ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) +DEB_MAKE_CHECK_TARGET = check RUNTESTFLAGS="$(RUNTESTFLAGS)" +else +DEB_MAKE_CHECK_TARGET = +endif + +clean:: + rm -f *.1 *.8 + +install/mailutils:: + # These binaries conflict with elm-me. We need to rename them, as + # we're using alternatives for them. + cd debian/tmp; \ + for i in dotlock frm from messages movemail readmsg; do \ + mv usr/bin/$$i usr/bin/$$i.mailutils; \ + done + + # Generate manpages, but remove the s[ug]id bits from binaries + # so LD_LIBRARY_PATH works. + chmod 755 $(CURDIR)/debian/tmp/usr/bin/dotlock.mailutils + sh debian/mangen.sh $(CURDIR)/debian/tmp/usr + # Restore correct perms to the binaries that need it. + chmod 2755 $(CURDIR)/debian/tmp/usr/bin/dotlock.mailutils + +binary-install/python-mailutils:: + dh_pysupport -ppython-mailutils + +DEB_FIXPERMS_EXCLUDE = dotlock.mailutils + +DEB_INSTALL_DOCS_mailutils = AUTHORS NEWS README THANKS TODO +DEB_INSTALL_DOCS_mailutils-mh = mh/TODO + +DEB_SHLIBDEPS_INCLUDE := $(CURDIR)/debian/libmailutils2/usr/lib + +ORIG_VERSION := $(shell dpkg-parsechangelog | gawk '/^Version:/ { sub(".*:", "", $$2); sub("+.*", "", $$2); print $$2 }') +get-orig-source:: + uscan --force-download --no-symlink --destdir ../tarballs + tar -C ../tarballs -zxf ../tarballs/mailutils-$(ORIG_VERSION).tar.gz + rm -rf ../tarballs/mailutils-$(ORIG_VERSION)/doc/texinfo ../tarballs/mailutils-$(ORIG_VERSION)/doc/rfc + sed -i -e's/ texinfo rfc//g' ../tarballs/mailutils-$(ORIG_VERSION)/doc/Makefile.* + sed -i -e'/ doc\/texinfo\/Makefile/d' ../tarballs/mailutils-$(ORIG_VERSION)/configure.ac + sed -i -e'/ doc\/rfc\/Makefile/d' ../tarballs/mailutils-$(ORIG_VERSION)/configure.ac + sed -i -e'/CONFIG_FILES doc\/texinfo\/Makefile/d' ../tarballs/mailutils-$(ORIG_VERSION)/configure + sed -i -e'/CONFIG_FILES doc\/rfc\/Makefile/d' ../tarballs/mailutils-$(ORIG_VERSION)/configure + sed -i -e's/ doc\/texinfo\/Makefile//' ../tarballs/mailutils-$(ORIG_VERSION)/configure + sed -i -e's/ doc\/rfc\/Makefile//' ../tarballs/mailutils-$(ORIG_VERSION)/configure + cd ../tarballs && tar zcf mailutils_$(ORIG_VERSION)+dfsg1.orig.tar.gz mailutils-$(ORIG_VERSION) + rm -rf ../tarballs/mailutils-$(ORIG_VERSION) ../tarballs/mailutils-$(ORIG_VERSION).tar.gz --- mailutils-2.1+dfsg1.orig/debian/mailutils.preinst +++ mailutils-2.1+dfsg1/debian/mailutils.preinst @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +if [ \( "$1" = install -o "$1" = upgrade \) -a \ + -n "`dpkg-divert --package mailutils --list /usr/bin/frm.elm-me+`" ]; then + rm -f /usr/bin/frm.elm-me+ + dpkg-divert --package mailutils --remove --quiet \ + --divert /usr/bin/frm.elm-me+ /usr/bin/frm +fi + +#DEBHELPER# --- mailutils-2.1+dfsg1.orig/debian/libmailutils-dev.manpages +++ mailutils-2.1+dfsg1/debian/libmailutils-dev.manpages @@ -0,0 +1 @@ +mailutils-config.1 --- mailutils-2.1+dfsg1.orig/debian/compat +++ mailutils-2.1+dfsg1/debian/compat @@ -0,0 +1 @@ +7 --- mailutils-2.1+dfsg1.orig/debian/watch +++ mailutils-2.1+dfsg1/debian/watch @@ -0,0 +1,3 @@ +version=2 +opts="dversionmangle=s/\+dfsg\d+$//" \ +http://ftp.gnu.org/gnu/mailutils/mailutils-([\d\.]+)\.tar\.(gz|bz2) --- mailutils-2.1+dfsg1.orig/debian/copyright +++ mailutils-2.1+dfsg1/debian/copyright @@ -0,0 +1,64 @@ +This is the Debian prepackaged version of the GNU Mail utilities. + +This package was put together by Jeff Bailey , +from sources obtained from CVS: + :pserver:anoncvs@cvs.gnu.org:/cvs co mailutils + +Since Sun, 29 Dec 2002 14:25:00 +0100, Jordi Mallach has +been officially maintaining these packages, with Jeff as co-maintainer. + +Information on this project can generally be found at: +http://savannah.gnu.org/projects/mailutils/ + +Copyright: + +The libraries in GNU mailutils are licensed under the LGPLv3 with the +following statement: + + GNU Mailutils -- a suite of utilities for electronic mail + Copyright (C) 1999, 2000, 2001, 2002, 2005, + 2007 Free Software Foundation, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General + Public License along with this library; if not, write to the + Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301 USA */ + +Most of the components are licensed under the GPLv3 with the following +statement: + + GNU Mailutils -- a suite of utilities for electronic mail + Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, + 2005, 2006, 2007 Free Software Foundation, Inc. + + GNU Mailutils is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + GNU Mailutils 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 GNU Mailutils; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301 USA + +The full texts of the GNU General Public License version 3 and +the GNU Lesser General Public License version 3 can be found +on Debian systems in +/usr/share/common-licenses/GPL-3 +and +/usr/share/common-licenses/LGPL-3 --- mailutils-2.1+dfsg1.orig/debian/mailutils-mh.emacsen-startup +++ mailutils-2.1+dfsg1/debian/mailutils-mh.emacsen-startup @@ -0,0 +1,12 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file for the Debian GNU/Linux mailutils-mh package + +(if (not (file-exists-p "/usr/bin/mu-mh/inc")) + (message "Package mailutils-mh removed but not purged. Skipping setup.") + + ;; This sets up Emacs20's and Emacs21's MH-E to use GNU mailutils MH. + ;; The MH-E Debian package (> 8.0) will find us (or nmh) on its own. + (setq mh-progs "/usr/bin/mu-mh" + mh-lib "/usr/share/mailutils/mh" + mh-lib-progs mh-progs)) --- mailutils-2.1+dfsg1.orig/debian/mailutils.manpages +++ mailutils-2.1+dfsg1/debian/mailutils.manpages @@ -0,0 +1,11 @@ +dotlock.mailutils.1 +frm.mailutils.1 +from.mailutils.1 +mail.1 +messages.mailutils.1 +mimeview.1 +movemail.mailutils.1 +readmsg.mailutils.1 +sieve.1 + +maidag.8 --- mailutils-2.1+dfsg1.orig/debian/mailutils-mh.install +++ mailutils-2.1+dfsg1/debian/mailutils-mh.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/mu-mh/* +debian/tmp/usr/share/mailutils/mh/* --- mailutils-2.1+dfsg1.orig/debian/libmailutils2.README.Debian +++ mailutils-2.1+dfsg1/debian/libmailutils2.README.Debian @@ -0,0 +1,10 @@ +libmailutils2 for Debian +============================= + +Support for PostgreSQL is not enabled for licensing reasons. PostgreSQL +uses OpenSSL for encryption, and due to incompatibilities between the GPL +and the OpenSSL license, it is not possible to link GNU mailutils to +PostgreSQL's client library. Until this is resolved (ie, PostgreSQL +switches to GnuTLS, the package can't add PostgreSQL support. + + Jordi Mallach Tue, 31 Oct 2006 11:58:24 +0100 --- mailutils-2.1+dfsg1.orig/debian/mangen.inc +++ mailutils-2.1+dfsg1/debian/mangen.inc @@ -0,0 +1,6 @@ +[see also] +The complete GNU mailutils manual is not available in Debian systems +due to licensing reasons. You can find this manual online in the +GNU mailutils webpage: +.br +http://www.gnu.org/software/mailutils/manual/index.html. --- mailutils-2.1+dfsg1.orig/debian/mailutils-pop3d.manpages +++ mailutils-2.1+dfsg1/debian/mailutils-pop3d.manpages @@ -0,0 +1,2 @@ +pop3d.8 +popauth.1 --- mailutils-2.1+dfsg1.orig/debian/mailutils-comsatd.prerm +++ mailutils-2.1+dfsg1/debian/mailutils-comsatd.prerm @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +update-inetd --remove biff + +#DEBHELPER# --- mailutils-2.1+dfsg1.orig/debian/mailutils-imap4d.install +++ mailutils-2.1+dfsg1/debian/mailutils-imap4d.install @@ -0,0 +1 @@ +debian/tmp/usr/sbin/imap4d --- mailutils-2.1+dfsg1.orig/debian/python-mailutils.install +++ mailutils-2.1+dfsg1/debian/python-mailutils.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/python*/site-packages/mailutils/*.py --- mailutils-2.1+dfsg1.orig/debian/mailutils-pop3d.examples +++ mailutils-2.1+dfsg1/debian/mailutils-pop3d.examples @@ -0,0 +1 @@ +examples/config/gnu-pop3d.pam --- mailutils-2.1+dfsg1.orig/debian/mailutils-pop3d.init.WIP +++ mailutils-2.1+dfsg1/debian/mailutils-pop3d.init.WIP @@ -0,0 +1,68 @@ +#!/bin/sh +# /etc/init.d/mailutils-pop3d +# +# This file is in the PUBLIC DOMAIN +# Written by Jeff Bailey + +set -e + +DAEMON=/usr/sbin/pop3d +NAME=mailutils-pop3d +PIDFILE=/var/run/${NAME}.pid + +test -x $DAEMON || exit 0 + +if test -f /etc/default/mailutils-pop3d; then + . /etc/default/mailutils-pop3d +fi + +# Only start if RUN_AS_DAEMON is set. +if [ ! $RUN_AS_DAEMON ]; then + exit 0 +fi + +# Ask for a pidfile if we've defined one +if [ $PIDFILE ]; then + ARGS="$ARGS --pidfile=$PIDFILE" +fi + +if [ $MAX_CHILDREN ]; then + ARGS="$ARGS --daemon=$MAX_CHILDREN" +fi + +if [ $AUTHENTICATION ]; then + ARGS="$ARGS --authentication=$AUTHENTICATION" +fi + +if [ $AUTHORISATION ]; then + ARGS="$ARGS --authorization=$AUTHORISATION" +fi + +if [ $TIMEOUT ]; then + ARGS="$ARGS --timeout=$TIMEOUT" +fi + +case "$1" in + start) + echo -n "Starting POP3 server: " + # Work around strange bug where pop3d will sometimes spin out. + ulimit -d 100000 -l 100000 -m 100000 -s 100000 -v 100000 + start-stop-daemon --start --pidfile $PIDFILE -- $ARGS + echo $NAME + ;; + stop) + echo -n "Stopping POP3 server: " + start-stop-daemon --stop --pidfile $PIDFILE + echo $NAME + ;; + reload|force-reload|restart) + $0 stop + $0 start + ;; + *) + echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload}" + exit 1 + ;; +esac + +exit 0 --- mailutils-2.1+dfsg1.orig/debian/mailutils-imap4d.prerm +++ mailutils-2.1+dfsg1/debian/mailutils-imap4d.prerm @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +update-inetd --remove imap + +#DEBHELPER# --- mailutils-2.1+dfsg1.orig/debian/mailutils-pop3d.default.WIP +++ mailutils-2.1+dfsg1/debian/mailutils-pop3d.default.WIP @@ -0,0 +1,11 @@ +# Unset this if running from inetd +RUN_AS_DAEMON=1 + +MAX_CHILDREN=25 + +#AUTHENTICATION=generic + +#AUTHORISATION=virtdomain + +# The RFC says this should be a minimum of 18000 seconds or so. +#TIMEOUT=30 --- mailutils-2.1+dfsg1.orig/debian/libmailutils2.install +++ mailutils-2.1+dfsg1/debian/libmailutils2.install @@ -0,0 +1,4 @@ +debian/tmp/usr/lib/lib*.so.* +debian/tmp/usr/lib/mailutils/*.so +debian/tmp/usr/share/locale/* +debian/tmp/usr/share/mailutils/*/modules --- mailutils-2.1+dfsg1.orig/debian/mailutils.TODO +++ mailutils-2.1+dfsg1/debian/mailutils.TODO @@ -0,0 +1,7 @@ +mailutils for Debian TODO +----------------------------- + +- let the user choose if they want TLS & non-TLS or just one of them. +- better descriptions. + + -- Jordi Mallach Sat, 18 Jan 2003 19:37:47 +0100 --- mailutils-2.1+dfsg1.orig/debian/mailutils.prerm +++ mailutils-2.1+dfsg1/debian/mailutils.prerm @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +if [ "$1" = "remove" ]; then + for bin in dotlock frm from messages movemail readmsg; do + update-alternatives --remove $bin /usr/bin/$bin.mailutils + done + update-alternatives --remove mailx /usr/bin/mail +fi + +#DEBHELPER# --- mailutils-2.1+dfsg1.orig/debian/mailutils-comsatd.install +++ mailutils-2.1+dfsg1/debian/mailutils-comsatd.install @@ -0,0 +1 @@ +debian/tmp/usr/sbin/comsatd --- mailutils-2.1+dfsg1.orig/debian/mailutils.examples +++ mailutils-2.1+dfsg1/debian/mailutils.examples @@ -0,0 +1 @@ +debian/mail.rc --- mailutils-2.1+dfsg1.orig/debian/README.source +++ mailutils-2.1+dfsg1/debian/README.source @@ -0,0 +1,7 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +You can find detailed information on how to manage these patches using +quilt in the /usr/share/doc/quilt/README.source, included in the quilt +package. --- mailutils-2.1+dfsg1.orig/debian/libmailutils2.shlibs +++ mailutils-2.1+dfsg1/debian/libmailutils2.shlibs @@ -0,0 +1,14 @@ +libmailutils 2 libmailutils2 (>> 1:2.1) +libmu_auth 2 libmailutils2 (>> 1:2.1) +libmu_cfg 0 libmailutils2 (>> 1:2.1) +libmu_cpp 2 libmailutils2 (>> 1:2.1) +libmu_imap 2 libmailutils2 (>> 1:2.1) +libmu_maildir 2 libmailutils2 (>> 1:2.1) +libmu_mailer 2 libmailutils2 (>> 1:2.1) +libmu_mbox 2 libmailutils2 (>> 1:2.1) +libmu_mh 2 libmailutils2 (>> 1:2.1) +libmu_nntp 2 libmailutils2 (>> 1:2.1) +libmu_pop 2 libmailutils2 (>> 1:2.1) +libmu_py 2 libmailutils2 (>> 1:2.1) +libmu_scm 2 libmailutils2 (>> 1:2.1) +libmu_sieve 2 libmailutils2 (>> 1:2.1) --- mailutils-2.1+dfsg1.orig/debian/mail.rc +++ mailutils-2.1+dfsg1/debian/mail.rc @@ -0,0 +1,22 @@ +# Default .mailrc +# Set prompt string +set prompt="& " +# Indentprefix is used for quoting messages +set indentprefix="> " +# Assume 20 lines per screen +set screen=20 +# Ask for CC before sending the message +set askcc +# Use '.' to terminate composition of messages +set dot +# Emulate mailx's behaviour +#set mailx +# Preserve aborted messages in 'dead.letter' +set save appenddeadletter +# Hold read or saved messages in the system mailbox +set hold +# Display only these headers: +retain from to subject cc reply-to date +# Uncomment and set this to the list of your email addresses: +#alt none@none.org +# End of .mailrc --- mailutils-2.1+dfsg1.orig/debian/mangen.sh +++ mailutils-2.1+dfsg1/debian/mangen.sh @@ -0,0 +1,57 @@ +#!/bin/sh + +## mangen.sh +## Copyright (C) 2004 Free Software Foundation, Inc. +## +## GNU Mailutils is free software; you can redistribute it and/or +## modify it under the terms of the GNU General Public License as +## published by the Free Software Foundation; either version 2, or (at +## your option) any later version. +## +## This program is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +## +## All mail utilities must be already installed! +## Requires `help2man'. Assume standard `/usr/local' by default. + +set -e + +if test -z "$1"; then + prefix="/usr/local" +else + prefix=$1 +fi + +export LD_LIBRARY_PATH="$prefix/lib" + +help2man="help2man" + +bin1="dotlock.mailutils frm.mailutils from.mailutils guimb mail mailutils-config messages.mailutils mimeview movemail.mailutils popauth readmsg.mailutils sieve" +sbin8="comsatd imap4d maidag pop3d" +libexec8="" + +for program in $bin1; do + echo "Creating $program.1..." + desc=`$prefix/bin/$program --help | sed -n '2s/.*-- //p'` + $help2man -N -i debian/mangen.inc -s 1 -S FSF -n "$desc" $prefix/bin/$program >$program.1 +done + +for program in $sbin8; do + desc=`$prefix/sbin/$program --help | sed -n '2s/.*-- //p'` + echo "Creating $program.8..." + $help2man -N -i debian/mangen.inc -s 8 -S FSF -n "$desc" $prefix/sbin/$program >$program.8 +done + +for program in $libexec8; do + desc=`$prefix/lib/mailutils/$program --help | sed -n '2s/.*-- //p'` + echo "Creating $program.8..." + $help2man -N -i debian/mangen.inc -s 8mailutils -S FSF -n "$desc" $prefix/lib/mailutils/$program >$program.8 +done + +exit 0 --- mailutils-2.1+dfsg1.orig/debian/mailutils-imap4d.examples +++ mailutils-2.1+dfsg1/debian/mailutils-imap4d.examples @@ -0,0 +1 @@ +examples/config/gnu-imap4d.pam --- mailutils-2.1+dfsg1.orig/debian/mailutils.postinst +++ mailutils-2.1+dfsg1/debian/mailutils.postinst @@ -0,0 +1,35 @@ +#!/bin/sh + +set -e + +if [ "$1" = "configure" ]; then + + # Cleanup the SNAFU in 0.4+20041404-1 due to bad alternatives installation. + if dpkg --compare-versions "$2" eq "1:0.4+20040414-1" || \ + dpkg --compare-versions "$2" eq "1:0.4+20040414-2"; then + if readlink -f /etc/alternatives/configure.1.gz; then : ; + else rm -f /etc/alternatives/configure.1.gz; fi + if readlink -f /usr/share/man/man1/configure.1.gz; then : ; + else rm -f /usr/share/man/man1/configure.1.gz; fi + fi + + for bin in frm from messages movemail readmsg; do + update-alternatives --install /usr/bin/$bin $bin \ + /usr/bin/$bin.mailutils 20 \ + --slave /usr/share/man/man1/$bin.1.gz $bin.1.gz \ + /usr/share/man/man1/$bin.mailutils.1.gz + done + # dotlock needs a low priority, so maildrop can be the default for now. + update-alternatives --install /usr/bin/dotlock dotlock \ + /usr/bin/dotlock.mailutils 4 \ + --slave /usr/share/man/man1/dotlock.1.gz dotlock.1.gz \ + /usr/share/man/man1/dotlock.mailutils.1.gz + # Install an alternative for mailx, pointing to /usr/bin/mail, with + # a lower priority than bsd-mailx. + update-alternatives --install /usr/bin/mailx mailx \ + /usr/bin/mail 30 \ + --slave /usr/share/man/man1/mailx.1.gz mailx.1.gz \ + /usr/share/man/man1/mail.1.gz +fi + +#DEBHELPER# --- mailutils-2.1+dfsg1.orig/debian/mailutils-guile.manpages +++ mailutils-2.1+dfsg1/debian/mailutils-guile.manpages @@ -0,0 +1 @@ +guimb.1 --- mailutils-2.1+dfsg1.orig/debian/mailutils.lintian-overrides +++ mailutils-2.1+dfsg1/debian/mailutils.lintian-overrides @@ -0,0 +1 @@ +mailutils: setgid-binary usr/bin/dotlock.mailutils 2755 root/mail --- mailutils-2.1+dfsg1.orig/debian/mailutils-imap4d.manpages +++ mailutils-2.1+dfsg1/debian/mailutils-imap4d.manpages @@ -0,0 +1 @@ +imap4d.8 --- mailutils-2.1+dfsg1.orig/debian/changelog +++ mailutils-2.1+dfsg1/debian/changelog @@ -0,0 +1,1257 @@ +mailutils (1:2.1+dfsg1-4) unstable; urgency=low + + * Fix lenny upgrades of mailutils-mh by adding missing replaces, + (thanks Nikolaus Schulz, closes: #564882). + * Fix Lintian override for dotlock's setgid binary. + * Remove Suggests to mailutils-doc, which is long gone. + + -- Jordi Mallach Sat, 16 Jan 2010 10:57:44 +0100 + +mailutils (1:2.1+dfsg1-3) unstable; urgency=medium + + * Add spelling_fixes.diff, to fix a pair of spelling fixes in MH and + maidag. + * Add ia64_include_setjmp.diff, to fix a FTBFS on ia64 (closes: #554592). + * Add fetch_64.diff, to fix a testsuite error on amd64 by changing some + format specifiers and variable types (thanks Sergey Poznyakoff, + closes: #552964). + * Add a lintian override for docklock's setgid bit. + * Don't ship a default mail.rc, as bsd-mailx is already shipping + /etc/mail.rc and this causes a file conflict. Instead, distribute it as + an example in the package documentation (closes: #553040). + * Move guile examples to mailutils-guile. + * Add a missing alternative for from (Thanks Tomas Cassidy, LP 444138). + + -- Jordi Mallach Wed, 16 Dec 2009 15:01:02 +0100 + +mailutils (1:2.1+dfsg1-2) unstable; urgency=low + + * Correct dependency on libmailutils-dev for mailutils-guile. + * Build-Depend on guile-1.8 (>= 1.8.7+1-1.1), which has transitioned + to readline6, to fix builds in buildds. + * Use gawk in the get-orig-source target; as this isn't used during the + build, we're not adding build deps, although it currently does not work + with mawk. + * Drop .la files from libmailutils-dev. + * Add readmsg_command_line_segfaults.diff by Steve Cotton to fix a + segfault in readmsg when using the -a and -p options (closes: #517457). + Thanks! + + -- Jordi Mallach Wed, 28 Oct 2009 13:55:24 +0100 + +mailutils (1:2.1+dfsg1-1) unstable; urgency=low + + [ Clint Adams ] + * Bump to Standards-Version 3.8.3. + * Remove myself from Uploaders. + + [ Jordi Mallach ] + * New upstream release (closes: #548203). + * Remove Jeff Bailey from Uploaders, with his consent. + * Add a get-orig-source target to retrieve and cleanup a tarball + without the non-free bits (rfc and texinfo docs). + * Generate a new mailutils-guile package to ship the .scm files, and make + it depend on libmailutils2-dev. Move note from libmailutils2.README.Debian + to mailutils-guile.README.Debian to explain why the dep is needed + (closes: #403537). + * Move guimb and sieve.scm to mailutils-guile. + * Move mh .el script and helper files to mailutils-mh. + * Replace libmysqlclient15-dev with libmysqlclient-dev in Build-Depends. + * Replace libreadline5-dev with libreadline-dev. + * Require guile-1.8-dev on all architectures, ia64 seems finally ready. + * Add python-dev to Build-Depends. + * Install python extensions to new package python-mailutils. + * Drop libidn11-dev from Build-Depends. Nothing appears to use it anymore. + * Adapt for some sub-library changes. + * Update shlibs. + * Drop Conflicts on libsieve2-1, there are no more fileclashes. + * Handle that --enable-mh-utils is now --enable-mh. + * Add ${misc:Depends} to all packages. + * Move to debhelper compat level 7. + * Add a README.source with a pointer to the quilt docs. + * Remove alignment patch, fixed upstream. + * Remove mail_doc_prefix patch, changes in upstream code have obsoleted it. + * Remove unused remove_nonfree_docs patch. + * Generate maidag manpage. + * Stop generating mail.local and mail.remote mailpages. These two programs + have been superseded by maidag. + * Add an alternative for mailx, pointing to /usr/bin/mail, and remove + the old static links. Replace the mailx conflict with a conflict on + just heirloom-mailx, which also installs alternatives for /usr/bin/mail. + + -- Jordi Mallach Sat, 17 Oct 2009 17:29:42 +0200 + +mailutils (1:2.0+dfsg1-4) unstable; urgency=high + + * Fix redefined weak symbol to avoid FTBFS on mips (Closes: #516632). + + -- Luk Claes Sat, 11 Jul 2009 10:05:23 +0200 + +mailutils (1:2.0+dfsg1-3) unstable; urgency=low + + * Fix alignment by updating ASSOC_ELEM_SIZE (Closes: #516507, #534980). + + -- Luk Claes Thu, 02 Jul 2009 08:03:48 +0200 + +mailutils (1:2.0+dfsg1-2) unstable; urgency=low + + * Fix plugin install rules to avoid installing files to both + libmailutils2 and mailutils, making the package installable + again (closes: #516541). + + -- Jordi Mallach Fri, 27 Feb 2009 15:21:08 +0100 + +mailutils (1:2.0+dfsg1-1) unstable; urgency=low + + [ Jordi Mallach ] + * New upstream release. + * Add libwrap0-dev to Build-Depends to enable tcp-wrappers support. + * Add libldap2-dev to Build-Depends to enable LDAP authentication support. + * Add texinfo to Build-Depends as libmu_scm needs it during the build. + * Add avoid_cp_during_testsuite.diff in an attempt to resolve the + testsuite errors. The problem was caused by modern versions of + coreutils's cp closing stdin when exiting, something that made the + DejaGnu tests fail (closes: #461998). + Big thanks to Simon Josefsson and Sergey Poznyakoff for finally tracking + down this ugly bug. + * Re-enable the testsuite. + * Rename and adapt some older patches to avoid using quilt options that + would break dpkg's new quilt source format. + * Soname has bumped, rename and adjust things accordingly to libmailutils2. + * Add new programs maildag and sieve.scm to mailutils. + * Add mailutils modules to libmailutils2. + * Add mailutils.m4 to libmailutils-dev. + * Update libmailutils2.shlibs with newly introduced MU libs. + * Add Luk Claes to Uploaders. + * Minor fixes to mailutils.README.Debian. + + [ Clint Adams ] + * Add watch file. + * Bump to Standards-Version 3.8.0. + * Drop debian/patches/fr_po_typo_fix.diff (merged upstream). + * Remove debian/patches/avoid_cp_during_testsuite.diff (merged + upstream). + + -- Clint Adams Sun, 08 Feb 2009 15:02:05 -0500 + +mailutils (1:1.2+dfsg1-4) unstable; urgency=low + + * Avoid Build-Depending on a virtual package alternative, using + "guile-1.8-dev [!ia64], guile-1.6-dev [ia64]", as sbuild will only + consider the first alternative. + + -- Jordi Mallach Fri, 01 Aug 2008 00:16:54 +0200 + +mailutils (1:1.2+dfsg1-3) unstable; urgency=medium + + * Add libguile-dev as a Build-Depend alternative to guile-1.8-dev, which + isn't available on ia64. Thanks Luk Claes. + * Add ${shlibs:Depends} to libmailutils1-dev. + * Wrap Build-Depends. + * Add Vcs-Svn, Vcs-Browser and Homepage control fields. + + -- Jordi Mallach Thu, 31 Jul 2008 01:30:11 +0200 + +mailutils (1:1.2+dfsg1-2) unstable; urgency=medium + + * Disable testsuite, as it now fails on all architectures, although it + worked correctly months ago (closes: #461998, #471759, #489112). + * Add necessary conflicts with libsieve2-1 and libsieve2-dev, a better + fix (hopefully not involving package splitting as this was rejected by + ftpmaster time ago) should be found post lenny (closes: #411070). + * Rebuilding will remove the old gnutls13 dependency (closes: #491481). + * Fix DEB_SHLIBDEPS_INCLUDE to look in the correct lib directory. + + -- Jordi Mallach Mon, 28 Jul 2008 13:40:27 +0200 + +mailutils (1:1.2+dfsg1-1) unstable; urgency=low + + [ Jordi Mallach ] + * New upstream release. + * debian/copyright: updated. GNU mailutils is now licensed under the terms + of the GNU GPL version 3. + * debian/libmailutils1.shlibs: bump to 1.2, as new symbols have been added. + * debian/rules: support 'nocheck' (to skip testsuite) in DEB_BUILD_OPTIONS + as inspired by Michael Banck in #380383. + + [ Clint Adams ] + * Bump to Standards-Version 3.7.3 + * Add myself to Uploaders. + * Switch from simple-patchsys to quilt. + * Change ${Source:Version} to ${binary:Version} for libmailutils-dev. + * Fix typo in French translation, thanks to Arthur Petitpierre. + closes: #440300. + * Add dependency on update-inetd for mailutils-comsatd, mailutils-pop3d, + mailutils-imap4d. + + -- Clint Adams Fri, 18 Jan 2008 21:27:35 -0500 + +mailutils (1:1.1+dfsg1-3.1) unstable; urgency=high + + * Non-maintainer upload. + * Fix issue with mails containing \0. Thanks to Ben Hutchings for + the patch. Closes: #361354 + + -- Andreas Barth Mon, 4 Dec 2006 11:21:05 +0000 + +mailutils (1:1.1+dfsg1-3) unstable; urgency=medium + + * debian/control: switch back to guile-1.6 as guile-1.8 is not yet ready + on a number of architectures. + + -- Jordi Mallach Mon, 13 Nov 2006 14:40:43 +0100 + +mailutils (1:1.1+dfsg1-2) unstable; urgency=medium + + [ Jordi Mallach ] + * debian/mangen.inc: add a newline before the URL so it's not wrapped + in standard-size terminals. + * debian/rules: install upstream changelog in all packages; other common + docs in mailutils. + * debian/control: switch to guile-1.8-dev. + + [ Steve Langasek ] + * debian/rules: don't rely on $HOME pointing anywhere useful -- point it + instead at a local directory for the testsuite. + + -- Jordi Mallach Mon, 13 Nov 2006 01:03:57 +0100 + +mailutils (1:1.1+dfsg1-1) unstable; urgency=medium + + * New upstream release. + - imap4d should act correctly when two clients access and modify a + mailbox in parallel, not causing mailbox corruption + (closes: #350754). + * The source tarball has been trimmed of non-free elements: + - the GNU mailutils texinfo documentation under the GNU FDL with Cover + and Backcover texts. + - the rfc documentation (closes: #393396). + * debian/control: + - add libltdl3-dev to Build-Depends. + - remove no longer needed bzip2 Build-Depends. + - as we now lack texinfo docs, drop Build-Depends on texinfo, texi2html. + - mention the lack of PostgreSQL support due to OpenSSL vs. GPL + incompatibilities in mailutils and libmailutils1 README.Debian + (closes: #391031) + - get rid of mailutils-doc, the remaining contents have been moved + around the relevant packages. + - get rid of Build-Depend-Indep as well. + - adjust description to mention mimeview. + * debian/copyright: + - don't mention FDL licensed components and remove the full GNU FDL text. + - add pointers to common-licenses for GPL and LGPL. + * debian/rules: don't build html from texinfo sources. + * debian/mailutils-doc.*: removed, relevant stuff moved elsewhere. + * debian/mailutils.install: install mimeview. + * debian/mangen.sh: + - don't point at the texinfo manual in manpages. + - add mimeview.1 to generated manpages. + - add sensible manpage descriptions (closes: #368628). + - include mangen.inc in the generated manpages. + * debian/mangen.inc: point to the GNU site for the online mailutils + texinfo manual. + * debian/libmailutils1.shlibs: bump to 1.1. + * debian/patches/01_mail_segfault.patch: removed, fixed upstream. + * debian/patches/02_testsuite_8bit_output.patch: removed, partially fixed + upstream. + * debian/patches/03_mail_doc_prefix.patch: remove texinfo hunk. + * debian/patches/01_program_descriptions.patch: improve the program + description output in --help for comsatd and movemail. + + -- Jordi Mallach Tue, 31 Oct 2006 20:24:18 +0100 + +mailutils (1:1.0-1) unstable; urgency=low + + * New upstream stable release. + * debian/patches/01_mail_segfault.patch: patch from CVS to fix a segfault + in mail (thanks Sergey Poznyakoff and Daniel Kahn; closes: #379156). + * debian/patches/02_testsuite_8bit_output.patch: disable parts of the + testsuite which assume expect can handle 8bit output as expected. Thanks + Sergey. + * debian/libmailutils-dev.doc-base, debian/libmailutils-dev.info: removed, + as muint.info is not longer in the distribution and has been moved to + mailutils.info. + * debian/rules (DEB_INSTALL_DOCS_mailutils-mh): don't install mh/README, + proper documentation now exists in mailutils.info. + * debian/control: make mailutils-mh suggest mailutils-doc. + + -- Jordi Mallach Wed, 26 Jul 2006 13:09:28 +0200 + +mailutils (1:0.6.95-1) unstable; urgency=low + + * New upstream release. + - fixes behaviour of top-repl (closes: #369026). + * debian/libmailutils1.install: install mailutils.scm (closes: #373113). + + -- Jordi Mallach Tue, 16 May 2006 01:17:32 +0200 + +mailutils (1:0.6.94-1) unstable; urgency=low + + * New upstream prerelease. + * debian/patches/00_CVS_20060228.patch, + debian/patches/01_lib_linking.patch, + debian/patches/02_libsieve_version-info.patch, + debian/patches/99_autotools_update.patch: removed, obsolete. + * debian/patches/04_mail_cursor_type.patch: removed, fixed upstream. + + -- Jordi Mallach Thu, 27 Apr 2006 08:40:07 +0200 + +mailutils (1:0.6.93-3) unstable; urgency=low + + * debian/control: mailutils depends on exim4 | mail-transport-agent + + -- Jeff Bailey Mon, 27 Mar 2006 09:55:29 -0500 + +mailutils (1:0.6.93-2) unstable; urgency=low + + * debian/copyright: Update FSF's address. + * debian/control: Update to Standards-Version 3.6.2.1. + * debian/patches/04_mail_cursor_type.patch: fix conflicting declaration + of "cursor" (closes: #355295). + + -- Jordi Mallach Mon, 6 Mar 2006 11:39:56 +0100 + +mailutils (1:0.6.93-1) unstable; urgency=medium + + * New upstream prerelease. + - random testsuite failures don't appear to happen anymore + (closes: #192962). + - movemail won't lose email if destination device is full + (closes: #344420). + - frm won't segfault when LANG=POSIX (closes: #306892, #348464; + thanks Horkan Smith). + - movemail can write lines longer than 254 chars to IMAP correctly + (closes: #336555). + * debian/control: + - switch to libmysqlclient15-dev (closes: #343777) and + libgnutls-dev (closes: #335766). + - rename libmailutils0 to libmailutils1 and libmailutils0-dev to + libmailutils-dev. + * debian/rules: + - add CDBS utils. + - don't overwrite DEB_CONFIGURE_USER_FLAGS. + * debian/patches/00_CVS_20060228.patch: CVS update, including: + - fixes for improper linking of mailbox libraries + - fix for a frm segfault + - library versioning + * debian/patches/01_lib_linking.patch: further linking fixes for libsieve + and libmu_scm. libmuauth will be fixed in the next release. + * debian/patches/02_libsieve_version-info: correct versioning of libsieve. + * debian/patches/03_mail_doc_prefix.patch: Use "/usr/bin/mail" instead + of "/bin/mail" in runtime and texinfo documentation, as both mailutils + and mailx install "mail" in that directory (closes: #287892). + * debian/patches/99_autotools_update.patch: generated by running + "automake-1.9". + * debian/patches/01_frm_segfault.patch, 02_sql_injection.patch, + 03_imap4d_gcc4_ftbfs.patch, 04_imap4d_ulong_max.patch, + 05_imap4d_bad_uid.patch, 06_fribidi_ftbfs.patch, + 07_CAN-2005-2878_imap4d_search_format_string.patch: Removed, all are now + obsolete, applied upstream or were taken from CVS. + + -- Jordi Mallach Thu, 2 Mar 2006 17:56:20 +0100 + +mailutils (1:0.6.90-3) unstable; urgency=HIGH + + * debian/patches/05_imap4d_bad_uid.patch: fix the imap4d testsuite to + match the new non-existing UID behaviour. + * [SECURITY: CAN-2005-2878] + debian/patches/07_CAN-2005-2878_imap4d_search_format_string.patch: patch + from Sergey Poznyakoff to fix a format string vulnerability in + imap4d's SEARCH function (closes: #327424). + + -- Jordi Mallach Wed, 14 Sep 2005 11:33:15 +0200 + +mailutils (1:0.6.90-2) unstable; urgency=medium + + * debian/patches/01_frm_segfault.patch: patch from CVS to fix frm + segfaults that survived 0.6.90 (thanks Todd Lipcon, closes: #306892). + * debian/patches/05_imap4d_bad_uid.patch: modified patch from Bas Wijnen + to fix the behaviour of imap4d when fetching non-existing UIDs + (closes: #317842, #312245). + * debian/patches/06_fribidi_ftbfs.patch: patch from Matt Kraai to fix a + FTBFS in the Fribidi code (closes: #318200). + * debian/changelog: add CVE numbers to recent vulnerabilities. + + -- Jordi Mallach Wed, 10 Aug 2005 14:02:07 +0200 + +mailutils (1:0.6.90-1) unstable; urgency=low + + * New upstream release. + + fixes segfaults in frm (closes: #306892, #302320). + + fixes segfaults in mail, when using "!". + * debian/control: build-depend on libfribidi-dev. + * debian/mailutils.install: don't install .la and .a files. + * debian/mail.rc: show Cc: by default (closes: #309391). + * debian/patches/01_mail_metamail.patch: removed, obsolete. + * debian/patches/04_IDEF0954_IDEF0955_IDEF0956_IDEF0957.patch: replace + with 04_imap4d_ulong_max.patch, to fix post 0.6.90 32-bit assumptions. + + -- Jordi Mallach Tue, 24 May 2005 01:32:42 +0200 + +mailutils (1:0.6.1-4) unstable; urgency=high + + * debian/patches/04_IDEF0954_IDEF0955_IDEF0956_IDEF0957.patch: fix + IDEF0956.exp to not assume ULONG_MAX = 2^32 on 64 bit architectures + (closes: #310294). + + -- Jordi Mallach Mon, 23 May 2005 23:28:45 +0200 + +mailutils (1:0.6.1-3) unstable; urgency=HIGH + + * "Hey, I did finish that triathlon" release. + * [SECURITY] debian/patches/04_IDEF0954_IDEF0955_IDEF0956_IDEF0957.patch: + backport fixes to vulnerabilities discovered by iDEFENSE with + IDs IDEF0954, IDEF0955, IDEF0956 and IDEF0957 (closes: #309751). + - [CAN-2005-1520] format string error. + - [CAN-2005-1521] denial of service. + - [CAN-2005-1522] integer overflow. + - [CAN-2005-1523] potential buffer overflow. + Thanks to Sergey Poznyakoff. + * debian/changelog: insert missing changelog entry for 20011103-1.1. + + -- Jordi Mallach Sun, 22 May 2005 17:13:58 +0200 + +mailutils (1:0.6.1-2) unstable; urgency=HIGH + + * debian/patches/01_mail_metamail.patch: patch from CVS to allow decoding + of mail without interpreting MIME parts if "metamail" is unset. Sergey + thinks that this is the cause for the random testsuite failures + (closes: #265490). + * [SECURITY: CAN-2005-1824] debian/patches/02_sql_injection.patch: + add "\" to the list of escaped characters, to fix a sql injection + vulnerability in the SQL authentication module (thanks, Primoz Bratanic; + closes: #308031). + * debian/patches/03_imap4d_gcc4_ftbfs.patch: patch from Andreas Jochens to + fix a FTBFS on amd64/gcc-4.0 (closes: #300869). + + -- Jordi Mallach Sun, 15 May 2005 17:35:58 +0200 + +mailutils (1:0.6.1-1) unstable; urgency=low + + * New upstream release. + - fixes a typo spotted by David Coe (closes: #284547). + * debian/control: + - switch to libgsasl7-dev, which brings back GSASL support. + - replace texi2html with texinfo, to get html docs built again, + as mailutils now relies on makeinfo (closes: #300190). + - add from to the package description. + * debian/mailutils.install: + - install bin/from, which is now a compatible replacement for + BSD from. + * debian/mangen.sh: add from.mailutils to the list of files to be + generated. + * debian/mailutils.manpages: install from.mailutils.1. + * debian/libmailutils0.shlibs: update for 0.6.1 (closes: #292200). + * debian/mailutils-doc.doc-base: update paths for html docs. + * debian/rules: + - install from as from.mailutils. Don't install alternatives for now + as bsdmainutils doesn't provide them yet. + - look for html docs in the correct path. + * debian/patches/01_html_doc.patch: removed, obsolete. + * debian/patches/02_imap4d_getline_type.patch: removed, fixed upstream. + + -- Jordi Mallach Sat, 19 Mar 2005 05:56:07 +0100 + +mailutils (1:0.6-2) unstable; urgency=low + + * debian/patches/02_imap4d_getline_type.patch: fix FTBFS caused by + conflicting types for getline() (thanks, Kurt Roeckx; closes: #288103). + + -- Jordi Mallach Sat, 1 Jan 2005 22:15:01 +0100 + +mailutils (1:0.6-1) unstable; urgency=medium + + * The "Third time's a charm" release. + * New upstream release. + * debian/control: + - switch to libmysqlclient12 again, using the first version that + isn't linked against libssl. + - switch to libreadline5-dev, to solve unresolvable build-depends + (thanks, Bastian Blank; closes: #287928). + * debian/mailutils-doc.examples: update paths. + * debian/patches/02_filter_iconv_fix.patch: removed, included upstream. + * debian/patches/03_drop_option_T.patch: likewise. + + -- Jordi Mallach Fri, 31 Dec 2004 02:22:26 +0100 + +mailutils (1:0.5-4) unstable; urgency=HIGH + + * Jordi Mallach: + - [SECURITY: CAN-2004-0984] debian/patches/03_drop_option_T.patch: + apply patch from Max Vozeler to fix a privilege escalation + vulnerability in mailutils' dotlock implementation. + - debian/rules: fix typo to install the correct docs in mailutils-mh. + - debian/mangen.sh: correct sbin8 manpage suffix. + - debian/mailutils-{comsatd,imap4d,pop3d}.manpages: fix manpage names. + * Jeff Bailey: + - debian/mailutils-pop3d.init.WIP: add pidfile support. + + -- Jordi Mallach Thu, 4 Nov 2004 18:52:45 +0100 + +mailutils (1:0.5-3) unstable; urgency=high + + * The "OpenSSL must die" release. + * debian/control: revert the libmysqlclient change in the last upload. + The new mysql licence doesn't fix that mailutils still links to libssl + for imap4d and pop3d, which is a violation of mailutils licence. + Going back to the old libmysqlclient10 which has no OpenSSL + dependencies. + + -- Jordi Mallach Mon, 30 Aug 2004 10:29:45 +0200 + +mailutils (1:0.5-2) unstable; urgency=low + + * The "I could poke jdub right now" release. + * debian/control: + + remove comsatd from the list of included utilities in the + mailutils package, and add frm. + + switch to gnutls11 (closes: #263681). + + switch from libmysqlclient10 to the new libmysqlclient12 with + Free Software licences exception. + + change Jeff's e-mail address to jbailey@raspberryginger.com. + * debian/mangen.sh: install comsatd, imap4d and pop3d manpages in the + correct section. + * debian/libmailutils0.shlibs: don't be stupid, bump all to 0.5. + + -- Jordi Mallach Fri, 13 Aug 2004 19:06:40 +0200 + +mailutils (1:0.5-1) unstable; urgency=low + + * New upstream release. + * Start using officially released tarballs from now on. + * debian/rules: + + remove tarball method packaging. Remove all instances of $(SRC_DIR). + + remove rules to install examples. + * debian/mailutils-doc.examples: new, move examples from rules here. + * debian/libmailutils.shlibs: update shlibs for libs that need it. + * debian/patches/02_filter_iconv_fix.patch: fix from post-0.5 CVS to + fix a testsuite failure in mailbox. + + -- Jordi Mallach Tue, 29 Jun 2004 10:26:03 +0200 + +mailutils (1:0.4+20040601-2) unstable; urgency=low + + * debian/mangen.sh: apply a few suggestions from Jeroen van Wolffelaar: + get rid of the "&& echo" after the help2man statements, so mangen.sh + exits if the generation fails. Also, add the mailutils install dir to + LD_LIBRARY_PATH so the binaries actually work. This fixes the "0-sized + manpages" bug when building mailutils in a chroot. Thanks, Jeroen! + * debian/rules: remove s[gu]id bits from installed binaries before running + mangen.sh, and restore them after the generation, so LD_LIBRARY_PATH is + applied. Thanks, manty! + + -- Jordi Mallach Tue, 8 Jun 2004 12:47:04 +0200 + +mailutils (1:0.4+20040601-1) unstable; urgency=low + + * New CVS snapshot. + + fixes a testsuite failure in amd64 (thanks calc and maswan). + + -- Jordi Mallach Tue, 1 Jun 2004 17:56:59 +0200 + +mailutils (1:0.4+20040525-1) unstable; urgency=low + + * New CVS snapshot. + * debian/rules: use DEB_SHLIBDEPS_INCLUDE to set the correct library + search path for dh_shlibdeps (closes: #251002). + * debian/control: add build dependency on liblocale-gettext-perl, while + help2man doesn't directly depend on that. + * debian/mangen.sh: set section to "8mailutils" for mail.local and + mail.remote (really closes: #244953). + * debian/rules: don't bother renaming mail.local.8, dh_installman does + the right thing anyway. + * debian/mailutils.manpages: updated. + + -- Jordi Mallach Sun, 30 May 2004 21:00:19 +0200 + +mailutils (1:0.4+20040414-4) unstable; urgency=low + + * debian/mailutils.links: symlink mailx.1.gz to mail.1.gz. + * debian/rules: + + rename mail.local.8 to mail.local.8mailutils, to avoid a + file clash with sendmail packages (closes: #244953). + + rename movemail to movemail.mailutils so we can use alternatives + for it as well. + + call mangen.sh with the path to the binaries instead of hardcoding + it in the script. + * debian/{mailutils.install,mangen.sh}: update for new movemail name. + * debian/mailutils.manpages: update manpage names. + * debian/mailutils.{postinst,prerm}: add an alternative for movemail, + with greater priority than the version provided by XEmacs (10). + Thanks to Aaron M. Ucko for the suggestion. + + -- Jordi Mallach Sun, 9 May 2004 11:27:27 +0200 + +mailutils (1:0.4+20040414-3) unstable; urgency=low + + * debian/control: I lose, add texi2html to Build-Depends too. I'm either + using Build-Depends-Indep incorrectly or still getting cdbs wrong. We'll + find out soon (closes: #244032). + * debian/mailutils.postinst: children, don't touch Debian packages when + sleep deprived. Fixup dangling symlink in alternatives caused by a silly + typo. Thanks, Aaron M. Ucko (closes: #243891). + * debian/rules: move manpage generation to install::, so the programs + are already available in debian/tmp. + + -- Jordi Mallach Fri, 16 Apr 2004 17:13:12 +0200 + +mailutils (1:0.4+20040414-2) unstable; urgency=low + + * debian/mailutils-{imap4d,pop3d}.install: remove upstream manpages, they + are not useful now. + * debian/rules: try to replace common-build-arch:: and + common-build-indep:: usages with just build-arch:: and + build/mailutils-doc. This should fix the FTBFS due to missing texi2html. + * debian/mangen.sh: fix path for libexec binaries. Why this is working + anyway, I don't know. + + -- Jordi Mallach Wed, 14 Apr 2004 18:55:47 +0200 + +mailutils (1:0.4+20040414-1) unstable; urgency=low + + * The "Wanted docs? Here's some..." release. + * New CVS snapshot. + + the alias option now works in mailrc (closes: #242585). + + fixes a pointer conversion on 64-bit platforms (closes: #226690). + + imap4d supports Maildir (closes: #217712). + * debian/control: add Build-Depends-Indep. + * debian/mangen.sh: new, script from Wojciech Polak to generate manpages + with help2man, tweaked a bit for the Debian build system and FHS. + * debian/rules: + + remove unneeded "-C" from DEB_MAKE_CHECK_TARGET rule + (thanks, Michael K. Edwards). + + build and install html documentation (thanks, Michael K. Edwards). + + use the simple-patchsys. + + run mangen.sh on build-arch. This provides manpages for all mailutils + binaries (closes: #116978, #199194, #203265). + + move cdbs includes to the top, leaving only the tarball defines before + it. This has the bonus of fixing the testsuite run. + + use install/ instead of binary-install/. + * debian/mailutils-doc.doc-base: new doc-base file for the HTML and info + documentation. + * debian/libmailutils0-dev.doc-base: likewise, for the architecture manual. + * debian/{libmailutils0-dev,mailutils,mailutils-comsatd,mailutils-imap4d, + mailutils-pop3d}.manpages: install manpages. + * debian/mailutils.postinst: add manpage slave alternatives. + * debian/mailutils-doc.TODO: remove manpages item. + * debian/libmailutils0-dev.install: include mailutils-config + (thanks, Joachim Nilsson; closes: #242816). + * debian/libmailutils0-dev.info: install muint.info. + * debian/libmailutils0.shlibs: update shlibs. + * debian/patches/01_html_doc.patch: new, patch from Michael K. Edwards to + fix HTML docs build. + + -- Jordi Mallach Wed, 14 Apr 2004 15:05:57 +0200 + +mailutils (1:0.4+20040116-1) unstable; urgency=low + + * The "Abuse your free inodes" release. + * New CVS snapshot. + + finally includes Maildir support to the daemons and utilities. + * debian/control: + + build-depend on new gnutls10-dev. + + adjust descriptions to mention Maildir support. + * debian/libmailutils0.shlibs: bump to current version. + + -- Jordi Mallach Fri, 16 Jan 2004 13:58:49 +0100 + +mailutils (1:0.4+20040101-2) unstable; urgency=low + + * debian/control: build-depend on new libidn11-dev (closes: #227754). + + -- Jordi Mallach Wed, 14 Jan 2004 00:35:08 +0100 + +mailutils (1:0.4+20040101-1) unstable; urgency=medium + + * The "2004 will suck less, I tell you!" release. + * New CVS snapshot. + * Bump epoch to add the upstream version to the version number. We are + going to use CVS tarballs for a while still, until we consider + official versions are useful enough. + * Use a tar.bz2 tarball from now on, to cut some source package size. + * debian/control: + + build-depend on bzip2. + + adjust mailutils' description for the addition of movemail. + * debian/{control,copyright,mailutils-mh.emacsen-startup, + mailutils-doc.README.Debian}: s/Mailutils/mailutils/. The official + upstream name is "GNU mailutils", lowercase. Thanks to + Bill Wohler for the suggestion. + * debian/mailutils.install: add new program movemail. + * debian/rules: + + make dh_fixperms not change the permissions of dotlock, to + preserve the sgid bit. This was probably lost in the switch to + CDBS (closes: #224569). + + ljlane's new awk magic to grok the epoch in our version extraction. + + -- Jordi Mallach Thu, 1 Jan 2004 23:46:18 +0100 + +mailutils (20031104-1) unstable; urgency=low + + * New CVS snapshot. + + fixes major mailutils-mh breakage reported by Peter S. Galbraith. + * debian/control: build depend on guile-1.6-dev, drop libguile-dev + and guile1.4. For some reason, building against 1.4 fails now. A good + excuse to transition. + * debian/mailutils-pop3d.init.WIP: new init script by Jeff Bailey. + Disabled for now, we have problems to stop the running pop3d processes. + * debian/mailutils-pop3d.default.WIP: default options for pop3d. + + -- Jordi Mallach Tue, 4 Nov 2003 18:44:47 +0100 + +mailutils (20031031-1) unstable; urgency=low + + * New CVS snapshot (mailutils release 0.4). + + fixes imap4d manpage (closes: #210241). + + adds -a option to GNU mail (closes: #218467). + + mail -s or with quotes should work ok now (closes: #218456). + + more mh improvements. + * First release coming from svn.debian.org! + + -- Jordi Mallach Fri, 31 Oct 2003 16:44:10 +0100 + +mailutils (20030902-1) unstable; urgency=low + + * The "Don't fall off your bicycle, it's painful" release. + * New CVS snapshot. + + even more mh improvements. Includes `ali', apparently a very + useful artifact, as well as `replgroupcomps' and `components'. + MH-E users, enjoy! + * debian/control: bump Standards-Version to 3.6.1.0. + * debian/libmailutils0.shlibs: bump dependencies and add entries + for new libs. + + -- Jordi Mallach Tue, 2 Sep 2003 01:55:46 +0200 + +mailutils (20030818-1) unstable; urgency=low + + * New CVS snapshot. + + fixes UIDL management bug in pop3d (closes: #205828). + + adds a config option to make GNU mail act like mailx with respect + to header prompting. Default to GNU mail behaviour (closes: #205613). + + fixes mail.rc support. + + fixes return value when interrupting mail in mailx emulation mode. + + greatly improves mh support for use with current MH-E releases. + * debian/control: + + remove mailutils-el entirely and move mailutils-mh.el + to mailutils-mh (thanks, Peter S. Galbraith; closes: #203265). + + add Suggests: mh-e to mailutils-mh. + * debian/mail.rc: add the mailx configuration option. + * debian/mailutils-mh.emacsen-startup: emacsen script to set up old + MH-E to use us (Peter S. Galbraith). + * debian/mailutils-el.*: removed. + + -- Jordi Mallach Mon, 18 Aug 2003 21:01:15 +0200 + +mailutils (20030809-2) unstable; urgency=low + + * The "Olympic triathlons can make you tired" release. + * debian/control: remove erroneous Provides: mh from mailutils-mh (thanks + again, Peter). + + -- Jordi Mallach Sun, 10 Aug 2003 16:39:15 +0200 + +mailutils (20030809-1) unstable; urgency=low + + * New CVS snapshot. + * debian/control: + + add short descriptions for all the programs included in the mailutils + package (closes: #198353). + + remove mh conflict from mailutils-mh (thanks, Peter S. Galbraith; + closes: #204412). + + switch to libgnutls7-dev. + + Standards-Version: 3.6.0.0. + * debian/libmailutils0.shlibs: bump to current version. + + -- Jordi Mallach Sat, 9 Aug 2003 18:40:07 +0200 + +mailutils (20030607-2) unstable; urgency=low + + * And for our next trick, let's switch to CDBS. + * debian/control: add cdbs to build-deps, drop dbs and bump debhelper + to (>= 4.1.0). + * debian/rules: new minimal rules file, written by Jeff Bailey. + + -- Jordi Mallach Wed, 25 Jun 2003 18:59:06 +0200 + +mailutils (20030607-1) unstable; urgency=low + + * New CVS snapshot (mailutils release 0.3.1). + * debian/control: + + remove conflict on nmh, as we removed the conflicting manpage + long ago (thanks, David B. Harris; closes: #174656). + + update gdbm build-depend to libgdbm-dev (thanks James for the warning). + + bump Standards-Version to 3.5.10.0 (no changes required). + * debian/rules: configure with --disable-rpath. + * debian/mailutils-doc.README.Debian: update configure options. + + -- Jordi Mallach Sat, 7 Jun 2003 14:50:51 +0200 + +mailutils (20030425-1) unstable; urgency=low + + * New CVS snapshot. + + adds PostgreSQL support, which we can't use for now, due to the OpenSSL + license again... + * debian/rules: change --enable-mysql to --with-mysql, renamed upstream. + * debian/mailutils-doc.README.Debian: document new configure option. + * debian/libmailutils0.shlibs: bump shlibs. + + -- Jordi Mallach Sun, 27 Apr 2003 01:57:04 +0200 + +mailutils (20030411-4) unstable; urgency=low + + * debian/control: build-depend on libmysqlclient10-dev again, to use + the LGPL fork. + * debian/rules: add --enable-mysql to configure options. + + -- Jordi Mallach Tue, 15 Apr 2003 13:43:15 +0200 + +mailutils (20030411-3) unstable; urgency=low + + * debian/control: fun, fun. Stop build-depending on libmysqlclient-dev + temporarily, as libmysqlclient12 now depends on OpenSSL, and we can't + link against it due to GPL incompatibility (see #188723) + * debian/rules: remove --enable-mysql. + + -- Jordi Mallach Sat, 12 Apr 2003 18:13:06 +0200 + +mailutils (20030411-2) unstable; urgency=low + + * debian/control: yuck, update Build-Depends to new libmysqlclient-dev. + + -- Jordi Mallach Fri, 11 Apr 2003 16:42:13 +0200 + +mailutils (20030411-1) unstable; urgency=low + + * New CVS snapshot. + + hopefully fixes m68k this time. + + -- Jordi Mallach Fri, 11 Apr 2003 14:53:29 +0200 + +mailutils (20030404-1) unstable; urgency=low + + * New CVS snapshot. + + should fix the testsuite error on the m68k buildd (thanks, Adam Conrad). + * debian/control: change libmailutils0-dev to section libdevel, to match the + overrides file. + * debian/libmailutils0.shlibs: update to current version. + * debian/rules: do not "export" DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE, + just define them. + + -- Jordi Mallach Fri, 4 Apr 2003 00:36:35 +0200 + +mailutils (20030322-1) unstable; urgency=low + + * New CVS snapshot. + * libmailutils0.shlibs: updated. + + -- Jordi Mallach Sat, 22 Mar 2003 22:31:46 +0100 + +mailutils (20030221-3) unstable; urgency=low + + * debian/control: + + add build dependency on libgsasl1-dev and libidn9-dev. + + Standards-Version: 3.5.9.0 (no changes). + * debian/rules: configure with --with-gsasl. + * debian/mailutils-doc.README.Debian: document new configuration option. + * debian/mailutils-mh.install: simplify list with a wildcard. + + -- Jordi Mallach Mon, 17 Mar 2003 15:17:57 +0100 + +mailutils (20030221-2) unstable; urgency=low + + * The "no, I'm not build-depending on Emacs, no" release. + * debian/rules: add --with-lispdir=\$${prefix}/share/emacs/site-lisp, to + workaround a missing build-dep on some emacs flavour. + * debian/mailutils-doc.README.Debian: document this. + * debian/mailutils.links: remove dangling symlink for mailx.1. + + -- Jordi Mallach Tue, 25 Feb 2003 13:08:35 +0100 + +mailutils (20030221-1) unstable; urgency=low + + * New CVS snapshot (mailutils release 0.3). + * debian/control: + + create a new binary package "mailutils-comsatd", and make it replace + older mailutils. Conflict with "biff", which provides similar + functionality and uses the same inetd space. + + create another binary package "mailutils-mh" with the mh utilities. + + yet another binary package "mailutils-el", which just has the new + mailutils-mh.el emacsen stuff. Otherwise, we'd make mailutils depend on + emacsen, which is Bad and Evil and probably based on a "rogue country". + + Standards-Version: 3.5.8.0. + * debian/libmailutils0.shlibs: tighten to current release. + * debian/mailutils-comsatd.install: install usr/sbin/comsatd. + * debian/mailutils-comsatd.postinst: install "biff" inetd entry. + * debian/mailutils-comsatd.prerm: remove inetd entry. + * debian/mailutils-doc.README.Debian: update build options. + * debian/mailutils-doc.TODO: updated. + * debian/mailutils-el.install: install mailutils-mh.el. + * debian/mailutils-el.emacsen-install: added. If this works, it's pure luck. + * debian/mailutils-el.emacsen-remove: added. + * debian/mailutils-mh.install: install mh utilities. + * debian/mailutils.install: remove comsatd from this package. + * debian/mailutils.postinst: remove manpage slave alternatives. + * debian/mailutils.undocumented: removed, deprecated by policy. + * debian/rules: + + configure with --enable-mh-utils. + + remove calls to dh_undocumented. + + add call to dh_installemacsen to binary-indep. + + install examples in mailutils-doc. + + install mh's README and TODO in mailutils-mh. + + -- Jordi Mallach Fri, 21 Feb 2003 21:50:23 +0100 + +mailutils (20030122-1) unstable; urgency=low + + * New CVS snapshot. + + includes libmu_scm/Makefile.am fix from Stephen Marenka which fixes a + FTBFS in some m68k autobuilders (closes: #177019). Thanks! + + introduces TLS support via GNUtls! + * debian/control: + + add Build-Depends on libgnutls5, remove automake1.7. + + improve descriptions a bit. + * debian/copyright: + + add myself to the packaging history. + + remove CMU copyright notice for sieve, it has been rewritten under the + GPL. + + the documentation is now under the FDL, note that and add the complete + text of the license. + * debian/libmailutils0.shlibs: bump version requirement. + * debian/mailutils-doc.README.Debian: document new configure options. + * debian/mailutils-doc.TODO: added with some pending things. + * debian/mailutils-{imap4d,pop3d}.{postinst,prerm}: set -e on all scripts. + * debian/rules: + + add --with-gnutls to configure call. + + add debug flags to the testsuite if compiling with D_B_O "noopt". + + -- Jordi Mallach Wed, 22 Jan 2003 19:10:32 +0100 + +mailutils (20030109-1) unstable; urgency=low + + * New CVS snapshot. + + fixes sieve segfault on ia64 (closes: #175726). + * debian/control: + + add Conflicts: nmh to mailutils, for now, till nmh gets fixed + (workaround for #174656, #174658 and #175301, nmh needs fixing). + + remove folders from mailutils' description. + * debian/mailutils.install: something weird happened with /usr/bin/folders + on the last upload, but it should have never been installed (and less as + a symlink to my build dir)... removed. + * debian/mailutils.undocumented: removed folders.1. + + -- Jordi Mallach Thu, 9 Jan 2003 18:22:05 +0100 + +mailutils (20021229-1) unstable; urgency=low + + * New CVS snapshot (mailutils release 0.2.1). + + Mailutils now has NLS support. + * debian/control: + + gave in, and swapped the Maintainer: and Uploaders: fields. + So... "New Maintainer". + + add Build-Depend on gettext. + + add new binaries to mailutils' description. + * debian/libmailutils0.install: include gettext mo files. + * debian/libmailutils0.shlib: bump version, new symbols have been added. + * debian/mailutils.install: include missing programs: dotlock, folders, + comsatd; and helper programs mail.local and mail.remote. + * debian/mailutils.postinst: install an alternative for dotlock. + The priority is less than maildrop's binary, for now. + * debian/mailutils.prerm: remove the new alternative. + * debian/mailutils.undocumented: add entries for the new binaries. + * debian/rules: + + configure with --libexec=\$${prefix}/lib/mailutils. + + add dotlock to list of binaries that are renamed to foo.mailutils, + to use it with alternatives. + + -- Jordi Mallach Sun, 29 Dec 2002 14:25:00 +0100 + +mailutils (20021210-2) unstable; urgency=low + + * debian/mailutils.install: really add /usr/lib/mailutils as I intended, + not just /usr/lib (closes: #172584). + + -- Jordi Mallach Wed, 11 Dec 2002 16:04:05 +0100 + +mailutils (20021210-1) unstable; urgency=low + + * New CVS snapshot. Should fix the two testsuit errors spotted by + autobuilders. + * debian/libmailutils0.shlib: added. For some reason, using old libs with + newer imap4d's can cause problems, so tighten the dependencies + (closes: #168637). + * debian/libmailutils0.README.Debian: add a note about the usage of the + guile modules, which require the installation of libmailutils0-dev. + * debian/mailutils.install: add /usr/lib/mailutils stuff (second part of + #168251). + * debian/patches/00_libmu_scm_symlinks: removed, accepted upstream. + * debian/rules: no more need to call automake. + + -- Jordi Mallach Tue, 10 Dec 2002 17:38:05 +0100 + +mailutils (20021209-1) unstable; urgency=low + + * New CVS snapshot. + * debian/control: switch to automake1.7 in Build-Depends. + * debian/rules: run automake before running configure. + * debian/patches/00_libmu_scm_symlinks: fix creation of absolute links + (closes: #168251). + * debian/mailutils.postinst: forget about weird stuff and just do what + everyone else does with alternatives (closes: #164909). + + -- Jordi Mallach Mon, 9 Dec 2002 14:53:31 +0100 + +mailutils (20021017-1) unstable; urgency=low + + * New CVS snapshot. + * debian/control: drop automake1.6 build dependency. + * debian/patches/00_sieve_build_fix: removed, fixed upstream. + * debian/patches/01_mail.local_build_fix: likewise. + * debian/mailutils.preinst: remove the leftover frm diversion. + Patch from Matej Vela, thanks! (closes: #164909) + * debian/mailutils.postinst: duh, fix (or try to) an always-false + condition. Thanks again to Matej. + * debian/rules: + + remove automake call, Makefile.am is fixed. + + extract the upstream version number from debian/changelog, instead of + hardcoding it with every snapshot. + + -- Jordi Mallach Fri, 18 Oct 2002 13:07:35 +0200 + +mailutils (20021007-1) unstable; urgency=medium + + * New CVS snapshot. + * Should fix the undefined references in libmailbox, as reported by + Matthew Whitworth (closes: #163372). + * debian/README: renamed to mailutils-doc.README.Debian, so it actually + gets installed somewhere. + * debian/control: + + add 'Conflicts: elm-me+ (<< 2.4pl25ME+99c-3)'. + + add 'Build-Depends: automake1.6'. + + mention other tools in "mailutils", it not only contains mailx. + * debian/patches/00_sieve_build_fix: declare addrdebug unconditionally in + addr.c. + * debian/patches/01_mail.local_build_fix: add mailbox/ to INCLUDES in + Makefile.am. + * debian/mailutils.{postrm,prerm}: add alternatives for frm, message and + readmsg, priority 20 (mailutils' part of #141183). + * debian/mailutils.{postrm,preinst}: removed. + * debian/mailutils.{install,undocumented}: change binary names for frm, + messages and readmsg. + * debian/rules: run automake-1.6 before configuring. + * PLEASE NOTE: with this revision, systems with elm-me+ and mailutils + installed will default to having frm, messages and readmsg from elm-me+. + Use update-alternatives to change the defaults. + + -- Jordi Mallach Sun, 13 Oct 2002 13:37:54 +0200 + +mailutils (20020904-2) unstable; urgency=low + + * debian/control: + + temporarily add zlib1g-dev in Build-Depends, which (I guess) should + be done by libmysqlclient10-dev. + + fix typo in Build-Depends. + + remove extra depends on libmailutils, which is already handled by + dpkg-shlibdeps. + + make mailutils Suggest: mailutils-doc too. + * debian/rules: make linda shut up about the space in "#! /usr/bin/make". + + -- Jordi Mallach Thu, 5 Sep 2002 02:31:33 +0200 + +mailutils (20020904-1) unstable; urgency=low + + * New CVS snapshot (mailutils release 0.1). + * Stop making Debian native packages. + * debian/control: + + add libmysqlclient-dev and libkrb5-dev to Build-Depends:. + + add better descriptions for imap4d and pop3d (closes: #157866). + * debian/rules: + + add support for DEB_BUILD_OPTIONS "noopt". + + add MySQL, GSSAPI and virtual domains support in the configure call, + and set the default mail spool to /var/mail. + * debian/README: updated for new configure options. + * debian/mailutils-pop3d.install: install popauth.1. + * debian/mailutils-pop3d.undocumented: removed. + + -- Jordi Mallach Thu, 05 Sep 2002 00:44:22 +0200 + +mailutils (20020902-1) unstable; urgency=low + + * New CVS snapshot. + * debian/mail.rc: fix copy & paste error (closes: #158029). Thanks Casey! + + -- Jordi Mallach Mon, 2 Sep 2002 14:16:46 +0200 + +mailutils (20020823-1) unstable; urgency=low + + * New CVS snapshot. + + should fix build error on Alpha and the testsuites for + s390, ia64, powerpc and m68k (should fix #157943). + * debian/links: install a symlink for mail.1 -> mailx.1 too. + + -- Jordi Mallach Fri, 23 Aug 2002 17:35:53 +0200 + +mailutils (20020822-1) unstable; urgency=low + + * New CVS snapshot. + + imap4d marks read mails properly (part of #153034). + + mail should now be able to send mail through SSMTP or Qmail + (closes: #155475). + * debian/control: + + add myself to Uploaders:. + + versioned Build-Depend: debhelper (>= 4.0.0). + * debian/mailutils.links: add link from /usr/bin/mailx to /usr/bin/mail + (closes: #154748) + * debian/mail.rc: global mail.rc from Sergey Poznyakoff. + * debian/rules: install mail.rc by hand in debian/tmp. + * debian/mailutils.install: install debian/mail.rc in /etc (closes: #116377). + * debian/mailutils-{imap4d,pop3d}.{postinst,prerm}: call update-inetd + unconditionally. If you want to disable imap or pop entries in + /etc/inetd.conf, use a simple comment "#", not ##, as (poorly) + documented by update-inetd(8) (closes: #154448). Thanks to Kamion + for the advice. + * debian/mailutils.files: removed. + * imap4d not seeing mails was fixed in 20020805-1 (closes: #157344). + * ACK Alfie's NMU. Thanks! (closes: #155601). + + -- Jordi Mallach Thu, 22 Aug 2002 20:05:00 +0200 + +mailutils (20020805-1.1) unstable; urgency=low + + * NMU: Fixed rulesfile to make it install binaries again (Closes: #155601) + + -- Gerfried Fuchs Fri, 16 Aug 2002 09:35:04 +0200 + +mailutils (20020805-1) unstable; urgency=low + + * This is the "Jordi Mallach" release. + + * Update from CVS. Fixes IMAP problems (Closes: #155091) + Tx. to Jordi Mallach + + * Use dh_install instead of dh_movefiles. + + * No longer builds in the srcdir. + + * Only add pop3d and imap4d to inetd.conf on install (Closes: #154448) + Tx again to Jordi Mallach. + + * Include more docs (Closes: #155103) + Guess who this time? Jordi Mallach! Woo! + + * Bah! elm-me+ as no maintainer. Fine, I'll divert /usr/bin/frm. + (Closes: #116374, #139762) Tx Joey Hess, `russell' + + * Install mailutils correctly in inetd. (Closes: #151279) + Tx to Matt Zimmerman for noting this. + + -- Jeff Bailey Mon, 5 Aug 2002 10:11:33 -0400 + +mailutils (20020713-1) unstable; urgency=low + + * Update from CVS. Thanks Janico Greifenberg (Closes: #146823) + + * Call make check. + + * Added 'README.Debian' file. Let me know if you want more + information in there. Thanks to Jurgen A. Erhard (Closes: #139679) + + * Fix typo in libmailutils0 description. Thanks to Matt Zimmerman + (Closes: #124998) + + * Clarify licensing, add note about sieve license. Thanks to + Takuo KITAME (Closes: #126094) + + * And tight depends against libmailutils0. Thanks to Kevin + Everets (Closes: #140302) + + -- Jeff Bailey Sun, 14 Jul 2002 01:15:23 -0400 + +mailutils (20020409-1) unstable; urgency=low + + * Update from CVS to see if locking works. Thanks to Jordi Mallach for + his tests. + + -- Jeff Bailey Tue, 9 Apr 2002 08:35:31 -0400 + +mailutils (20020404-1) unstable; urgency=low + + * References to maildir removed and options renamed. (Closes: #139678) + From Jurgen A. Erhard (Sorry about the `u'...) + + * This update fixes an LSUB bug, and should hopefully make `mail' work + correctly out of the box. We'll see how it goes. + + -- Jeff Bailey Thu, 4 Apr 2002 11:56:27 -0500 + +mailutils (20020326-1) unstable; urgency=low + + * Well. Critical bugs. This snapshot supposedly includes the fix. + I don't know that for certain, so I'm not Closes'ing any of them + until I get successful reports. But for you crazies who read this, + hopefully this will solve your problems. + + -- Jeff Bailey Tue, 26 Mar 2002 12:34:13 -0500 + +mailutils (20020221-1) unstable; urgency=low + + * GAH! Has it been so long since I did my NM that I can't get the + closes regexps right? If your bug gets notified from this, + it was fixed in Yesterday's update. + Closes: #126755, #134332, #134330, #126095, #126098, #119010, #116976, #116977 + * New snapshot gives the ability to choose which PAM file you want + from the command line. + * Make sure that the info files are registered. Thanks to Sam Roberts for + bringing this to my attention. + * Other random bug fixes. + + -- Jeff Bailey Thu, 21 Feb 2002 21:06:53 -0500 + +mailutils (20020218-1) unstable; urgency=low + + * Use prototypes on functions when they're available + in the header. From John R.Daily (Closes #126755) + * Why would you ever want to *remove* mailutils? *sigh* + Fix removal of imap4d from inetd.conf. From Norbert Veber + (Closes #134332) + * Avoid infinite recursion. From Norbert Veber (Closes #134330) + * Setup configure for cross-building. + * Newer version. From Takuo KITAME (Closes #126095) + * List an upstream URL in copyright. From Takuo KITAME (Closes #126098) + * Use unsigned int in both pop3d.h and pop3d.c + That section of code doesn't exist anymore. Thanks for the NMU + From James Troup and LaMont Jones (Closes #119010) + * Man pages for pop3d and imap3d now included (Closes #116976, #116977) + * Add --with-gdbm, include popauth + + -- Jeff Bailey Sat, 10 Nov 2001 15:43:47 -0500 + +mailutils (20011103-1.1) unstable; urgency=low + + * NMU + * Fix build failure on ia64. Closes: #119010. + + -- LaMont Jones Mon, 24 Dec 2001 22:41:06 -0700 + +mailutils (20011103-1) unstable; urgency=low + + * New CVS snapshot should fix building on 64 bit platforms. + * New package mailutils-doc for documentation. + * Use DESTDIR, not prefix for installing + + -- Jeff Bailey Wed, 7 Nov 2001 10:47:36 -0500 + +mailutils (20011022-1) unstable; urgency=low + + * Move libmailutils0-dev package to devel where it should be. + * Add missing Build Depends (Closes: #116089) + * Provide a useful short description for libmailutils0-dev (Closes: #116075) + * Make sure sysconfdir is set to /etc. This half finishes 116377, + I still need to write the documentation for the config file. + + -- Jeff Bailey Mon, 22 Oct 2001 14:21:25 -0400 + +mailutils (20011015-1) unstable; urgency=low + + * Initial Release (Closes: #115435). + + -- Jeff Bailey Fri, 12 Oct 2001 21:13:34 -0500 --- mailutils-2.1+dfsg1.orig/debian/mailutils-comsatd.manpages +++ mailutils-2.1+dfsg1/debian/mailutils-comsatd.manpages @@ -0,0 +1 @@ +comsatd.8 --- mailutils-2.1+dfsg1.orig/debian/mailutils.install +++ mailutils-2.1+dfsg1/debian/mailutils.install @@ -0,0 +1,10 @@ +debian/tmp/usr/bin/dotlock.mailutils +debian/tmp/usr/bin/frm.mailutils +debian/tmp/usr/bin/from.mailutils +debian/tmp/usr/bin/mail +debian/tmp/usr/bin/messages.mailutils +debian/tmp/usr/bin/mimeview +debian/tmp/usr/bin/movemail.mailutils +debian/tmp/usr/bin/readmsg.mailutils +debian/tmp/usr/bin/sieve +debian/tmp/usr/sbin/maidag --- mailutils-2.1+dfsg1.orig/debian/libmailutils-dev.install +++ mailutils-2.1+dfsg1/debian/libmailutils-dev.install @@ -0,0 +1,5 @@ +debian/tmp/usr/bin/mailutils-config +debian/tmp/usr/lib/lib*.a +debian/tmp/usr/lib/lib*.so +debian/tmp/usr/include/mailutils/* +debian/tmp/usr/share/aclocal/mailutils.m4 --- mailutils-2.1+dfsg1.orig/debian/mailutils-comsatd.postinst +++ mailutils-2.1+dfsg1/debian/mailutils-comsatd.postinst @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +update-inetd --group MAIL --add "biff \tdgram \tudp \twait \troot \t/usr/sbin/comsatd comsatd -i" + +#DEBHELPER# --- mailutils-2.1+dfsg1.orig/debian/mailutils-guile.install +++ mailutils-2.1+dfsg1/debian/mailutils-guile.install @@ -0,0 +1,3 @@ +debian/tmp/usr/bin/guimb +debian/tmp/usr/bin/sieve.scm +debian/tmp/usr/share/guile/* --- mailutils-2.1+dfsg1.orig/debian/mailutils-pop3d.install +++ mailutils-2.1+dfsg1/debian/mailutils-pop3d.install @@ -0,0 +1,2 @@ +debian/tmp/usr/sbin/pop3d +debian/tmp/usr/bin/popauth --- mailutils-2.1+dfsg1.orig/debian/mailutils-imap4d.postinst +++ mailutils-2.1+dfsg1/debian/mailutils-imap4d.postinst @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +update-inetd --group MAIL --add "imap \tstream \ttcp \tnowait \troot \t/usr/sbin/imap4d imap4d -i" + +#DEBHELPER# --- mailutils-2.1+dfsg1.orig/debian/mailutils.README.Debian +++ mailutils-2.1+dfsg1/debian/mailutils.README.Debian @@ -0,0 +1,25 @@ +mailutils for Debian +============================= + +Welcome to GNU mailutils. It has been configured with the following +options: + + --prefix=/usr --infodir=\$${prefix}/share/info + --mandir=\$${prefix}/share/man --libexecdir=\$${prefix}/lib/mailutils + --with-mail-spool=/var/mail --sysconfdir=/etc + --with-lispdir=\$${prefix}/share/emacs/site-lisp + --enable-virtual-domains --enable-mh-utils + --with-gnutls --with-gdbm --with-gssapi --with-gsasl + --with-mysql --disable-rpath + +This package is work in progress, and feedback is appreciated, either +through bug reports in the Debian BTS, or upstream at +bug-mailutils@gnu.org. + +Support for PostgreSQL is not enabled for licensing reasons. PostgreSQL +uses OpenSSL for encryption, and due to incompatibilities between the GPL +and the OpenSSL license, it is not possible to link GNU mailutils to +PostgreSQL's client library. Until this is resolved (ie, PostgreSQL +switches to gnutls), the package can't add PostgreSQL support. + + Jordi Mallach Tue, 31 Oct 2006 11:58:24 +0100 --- mailutils-2.1+dfsg1.orig/debian/mailutils-comsatd.examples +++ mailutils-2.1+dfsg1/debian/mailutils-comsatd.examples @@ -0,0 +1 @@ +examples/config/dot.biffrc --- mailutils-2.1+dfsg1.orig/debian/mailutils-guile.README.Debian +++ mailutils-2.1+dfsg1/debian/mailutils-guile.README.Debian @@ -0,0 +1,10 @@ +mailutils-guile for Debian +============================== + +This package includes a few guile dynamic libraries, but they can't be +used without their corresponding .so files. These files are in the +libmailutils-dev package, so mailutils-guile needs to depend on it to make +the .scm files usable. + + + -- Jordi Mallach Sun, 27 Sep 2009 21:33:42 +0200 --- mailutils-2.1+dfsg1.orig/debian/mailutils-pop3d.postinst +++ mailutils-2.1+dfsg1/debian/mailutils-pop3d.postinst @@ -0,0 +1,8 @@ +#! /bin/sh + +set -e + +update-inetd --group MAIL --add "pop3 \tstream \ttcp \tnowait \troot \t/usr/sbin/pop3d pop3d -i" + +#DEBHELPER# + --- mailutils-2.1+dfsg1.orig/debian/patches/series +++ mailutils-2.1+dfsg1/debian/patches/series @@ -0,0 +1,6 @@ +fetch_64.diff +ia64_include_setjmp.diff +mips_weak_symbols.diff +program_descriptions.diff +readmsg_command_line_segfaults.diff +spelling_fixes.diff --- mailutils-2.1+dfsg1.orig/debian/patches/spelling_fixes.diff +++ mailutils-2.1+dfsg1/debian/patches/spelling_fixes.diff @@ -0,0 +1,26 @@ +diff --git a/maidag/lmtp.c b/maidag/lmtp.c +index 386debe..6842f53 100644 +--- a/maidag/lmtp.c ++++ b/maidag/lmtp.c +@@ -536,7 +536,7 @@ lmtp_loop (FILE *in, FILE *out, unsigned int timeout) + mu_rtrim_cset (sp, "\r\n"); + + if (lmtp_transcript) +- mu_diag_output (MU_DIAG_INFO, "LMTP recieve: %s", buf); ++ mu_diag_output (MU_DIAG_INFO, "LMTP receive: %s", buf); + + if (next_state != state_none) + { +diff --git a/mh/mh_whatnow.c b/mh/mh_whatnow.c +index f8f5646..56551fa 100644 +--- a/mh/mh_whatnow.c ++++ b/mh/mh_whatnow.c +@@ -467,7 +467,7 @@ static struct helpdata whatnow_helptab[] = { + N_("List the message being distributed/replied-to on the terminal.") }, + { "edit []", + N_("Edit the message. If EDITOR is omitted use the one that was used on" +- " the preceeding round unless the profile entry \"LASTEDITOR-next\"" ++ " the preceding round unless the profile entry \"LASTEDITOR-next\"" + " names an alternate editor.") }, + { "list [<>]", + N_("List the draft on the terminal.") }, --- mailutils-2.1+dfsg1.orig/debian/patches/program_descriptions.diff +++ mailutils-2.1+dfsg1/debian/patches/program_descriptions.diff @@ -0,0 +1,65 @@ +diff --git a/comsat/comsat.c b/comsat/comsat.c +index 66dd429..b33f1df 100644 +--- a/comsat/comsat.c ++++ b/comsat/comsat.c +@@ -54,7 +54,7 @@ typedef struct utmp UTMP; + #define MAX_TTY_SIZE (sizeof (PATH_TTY_PFX) + sizeof (((UTMP*)0)->ut_line)) + + const char *program_version = "comsatd (" PACKAGE_STRING ")"; +-static char doc[] = "GNU comsatd"; ++static char doc[] = N_("GNU comsatd -- the Comsat daemon"); + static char args_doc[] = N_("\n--test MBOX-URL MSG-QID"); + + #define OPT_FOREGROUND 256 +diff --git a/guimb/main.c b/guimb/main.c +index 23d472f..5cdd7ab 100644 +--- a/guimb/main.c ++++ b/guimb/main.c +@@ -125,7 +125,7 @@ parse_opt (int key, char *arg, struct argp_state *state) + const char *program_version = "guimb (" PACKAGE_STRING ")"; + static char doc[] = + N_("GNU guimb -- process contents of the specified mailboxes " +-"using a Scheme program or expression."); ++"using a Scheme program or expression"); + static char args_doc[] = N_("[mailbox...]"); + + static struct argp argp = { +diff --git a/mail/mail.c b/mail/mail.c +index 426a164..dc4ccd9 100644 +--- a/mail/mail.c ++++ b/mail/mail.c +@@ -30,7 +30,7 @@ static mu_list_t command_list; /* List of commands to be executed after parsin + command line */ + + const char *program_version = "mail (" PACKAGE_STRING ")"; +-static char doc[] = N_("GNU mail -- process mail messages.\n" ++static char doc[] = N_("GNU mail -- process mail messages\n" + "If -f or --file is given, mail operates on the mailbox named " + "by the first argument, or the user's mbox, if no argument given.\n"); + static char args_doc[] = N_("[address...]\n-f [OPTION...] [file]\n--file [OPTION...] [file]\n--file=file [OPTION...]"); +diff --git a/mimeview/mimeview.c b/mimeview/mimeview.c +index 78e98cc..800201c 100644 +--- a/mimeview/mimeview.c ++++ b/mimeview/mimeview.c +@@ -31,7 +31,7 @@ + #include "mailcap.h" + + const char *program_version = "mimeview (" PACKAGE_STRING ")"; +-static char doc[] = N_("GNU mimeview -- display files, using mailcap mechanism.") ++static char doc[] = N_("GNU mimeview -- display files, using mailcap mechanism") + "\v" + N_("Default mime.types file is ") DEFAULT_CUPS_CONFDIR "/mime.types" + N_("\n\nDebug flags are:\n\ +diff --git a/movemail/movemail.c b/movemail/movemail.c +index 89c083d..2a7830f 100644 +--- a/movemail/movemail.c ++++ b/movemail/movemail.c +@@ -34,7 +34,7 @@ + #include + + const char *program_version = "movemail (" PACKAGE_STRING ")"; +-static char doc[] = N_("GNU movemail"); ++static char doc[] = N_("GNU movemail -- move messages across mailboxes"); + static char args_doc[] = N_("inbox-url destfile [POP-password]"); + + #define OPT_EMACS 256 --- mailutils-2.1+dfsg1.orig/debian/patches/mips_weak_symbols.diff +++ mailutils-2.1+dfsg1/debian/patches/mips_weak_symbols.diff @@ -0,0 +1,12 @@ +--- a/include/mailutils/gsasl.h ++++ b/include/mailutils/gsasl.h +@@ -30,7 +30,7 @@ + + int mu_gsasl_module_init (enum mu_gocs_op, void *); + +-struct mu_gsasl_module_data mu_gsasl_module_data; ++extern struct mu_gsasl_module_data mu_gsasl_module_data; + + #ifdef USE_GSASL + #include + --- mailutils-2.1+dfsg1.orig/debian/patches/ia64_include_setjmp.diff +++ mailutils-2.1+dfsg1/debian/patches/ia64_include_setjmp.diff @@ -0,0 +1,12 @@ +diff --git a/libmu_scm/mu_guile.c b/libmu_scm/mu_guile.c +index 6992c76..b1162ce 100644 +--- a/libmu_scm/mu_guile.c ++++ b/libmu_scm/mu_guile.c +@@ -17,6 +17,7 @@ + Boston, MA 02110-1301 USA */ + + #include "mu_scm.h" ++#include + + static SCM + eval_catch_body (void *list) --- mailutils-2.1+dfsg1.orig/debian/patches/readmsg_command_line_segfaults.diff +++ mailutils-2.1+dfsg1/debian/patches/readmsg_command_line_segfaults.diff @@ -0,0 +1,16 @@ +--- a/readmsg/readmsg.c ++++ b/readmsg/readmsg.c +@@ -104,11 +104,11 @@ readmsg_parse_opt (int key, char *arg, struct argp_state *astate) + break; + + case 'p': +- mu_argp_node_list_new (&lst, "form-feeds", arg); ++ mu_argp_node_list_new (&lst, "form-feeds", "yes"); + break; + + case 'a': +- mu_argp_node_list_new (&lst, "show-all-match", arg); ++ mu_argp_node_list_new (&lst, "show-all-match", "yes"); + break; + + case ARGP_KEY_INIT: --- mailutils-2.1+dfsg1.orig/debian/patches/fetch_64.diff +++ mailutils-2.1+dfsg1/debian/patches/fetch_64.diff @@ -0,0 +1,22 @@ +diff --git a/imap4d/fetch.c b/imap4d/fetch.c +index 16caf33..faca25e 100644 +--- a/imap4d/fetch.c ++++ b/imap4d/fetch.c +@@ -930,7 +930,7 @@ _frt_size (struct fetch_function_closure *ffc, + + mu_message_size (frt->msg, &size); + mu_message_lines (frt->msg, &lines); +- util_send ("%s %u", ffc->name, size + lines); ++ util_send ("%s %lu", ffc->name, (unsigned long) (size + lines)); + return RESP_OK; + } + +@@ -1312,7 +1312,7 @@ static size_t + parsebuf_get_number (imap4d_parsebuf_t p) + { + char *cp; +- unsigned n = strtoul (p->token, &cp, 10); ++ unsigned long n = strtoul (p->token, &cp, 10); + + if (*cp) + imap4d_parsebuf_exit (p, "Syntax error: expected number");