debian/0000755000000000000000000000000012143177445007176 5ustar debian/rules0000755000000000000000000000210512141740572010247 0ustar #!/usr/bin/make -f CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif build-arch: build build-indep: build build: build-stamp dh_auto_build -- PCRE=1 $(MAKE) -f tools/dist.mk manual build-stamp: dh_testdir dh_auto_configure $(MAKE) depend PREFIX=/usr PCRE=1 touch $@ clean: dh_testdir dh_testroot test -f config.mk || sh configure $(MAKE) clean rm -f config.h config.mk MANUAL dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs $(MAKE) PREFIX=/usr MANDIR=/usr/share/man PCRE=1 DESTDIR=$(CURDIR)/debian/fdm install binary-indep: build install binary-arch: build install dh_testdir dh_testroot dh_installchangelogs CHANGES dh_installdocs dh_installexamples examples/f-terbeck.conf examples/n-marriott.conf examples/t-ulmer.conf examples/w-maier.conf fdm-sanitize dh_installman dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure debian/changelog0000644000000000000000000001545012143174747011057 0ustar fdm (1.7-2) unstable; urgency=low * Backport new upstream option `no-tls1' to support more broken servers. * Incrementing Standards-Version; no changes needed. * Add debian/watch file; from Axel Beckert * Add Vcs-* headers to debian/control; again from Axel Beckert. Thanks! -- Frank Terbeck Fri, 10 May 2013 15:45:11 +0200 fdm (1.7-1) unstable; urgency=low * New upstream release * Incrementing Standards-Version; no changes needed. * Refreshed quilt patches, that needed it. * Removed 03manpath.patch, since MANPATH can be set via a make variable now. (Moving next patch up: 04kfreebsd.patch -> 03kfreebsd.patch) * Move to debhelper 9 to get support for dpkg-buildflags, so lintian doesn't warn about missing hardening flags anymore. (Incrementing compat level and adjusting debhelper dependency.) * Thanks to Axel Beckert and Michael Prokop for helping with this particular update! -- Frank Terbeck Mon, 06 May 2013 16:46:43 +0200 fdm (1.6+cvs20111013-2) unstable; urgency=low * Add patch (04kfreebsd) by Robert Millan to fix build failures on kfreebsd. (Closes: #648246) -- Frank Terbeck Wed, 23 Nov 2011 11:27:00 +0100 fdm (1.6+cvs20111013-1) unstable; urgency=low * Imported upstream CVS on Oct 13th, 2011 - Removing a number of patches which are included upstream now. - Includes patch which should build with --as-needed. (Closes: #631689) * Depending on libtdb-dev now (Closes: #639176) * Moving away from explicit quilt-enabled build to pure-3.0 (quilt). * Adjusting debian/rules to changes in upstream build system. * Incrementing Standards-Version; no changes needed. * Use $(MAKE) everywhere in debian/rules. * Adding recommended targets to debian/rules to make lintian happy. * Remove `MANUAL' in `clean' of `debian/rules' to leave a clean build directory. * Use `--abort-on-upstream-changes' at all costs. -- Frank Terbeck Thu, 13 Oct 2011 21:05:14 +0200 fdm (1.6-4) unstable; urgency=low * The "package housekeeping" release. * Incrementing Standards-Version; no changes needed. * Use `debian/source/format' and select "3.0 (quilt)" to make lintian happy. No other changes required. -- Frank Terbeck Sun, 05 Sep 2010 12:29:57 +0200 fdm (1.6-3) unstable; urgency=low * New patch: 06sslretval.patch: Improve SSL error-handling which led to excessive memory allocation with broken mails. (Closes: #595057) * New patch: 07incrlinelim.patch: Increase the maximum line limit for a mail. This is upstream's recommended workaround to let fdm download broken mails which caused #595057. -- Frank Terbeck Sun, 05 Sep 2010 12:21:09 +0200 fdm (1.6-2) unstable; urgency=low * Adding -lcrypto do $(LIBS) to support GNU gold (Closes: #554287) * Adding 05savemove.patch from Louis Opter. Sorry for the incredibly long delay. It fell through the cracks. (Closes: #538194) * Incrementing Standards-Version, no changes needed * Adding debian/README.source to please lintian yet again. -- Frank Terbeck Wed, 11 Nov 2009 11:51:21 +0100 fdm (1.6-1) unstable; urgency=low * New upstream version (Closes: #523673) * Switching licencing of debian packaging to ISC, which is the same licence fdm itself. This will obsolete the need for the openssl-gpl-override. * Incrementing compat level, no changes needed. * Incrementing Standards-Version; adding 'set -e' to the package's post* scripts as the policy wants it (although I really fail to see how that implicit technique is any better than the explicit and very clear '|| exit 1' which the package used before). * Removing 04support_debianbsds.diff, included upstream. -- Frank Terbeck Tue, 14 Apr 2009 05:34:40 +0200 fdm (1.5-3) unstable; urgency=low * The "this time I tried kfreebsd in qemu" release * Update 04support_debianbsds.diff to actually build on GNU/k*BSD. -- Frank Terbeck Sun, 27 Apr 2008 08:41:35 +0200 fdm (1.5-2) unstable; urgency=low * Switching patch management from dpatch to quilt. * Add 04support_debianbsds.diff to (hopefully) support GNU/k*BSD. -- Frank Terbeck Wed, 16 Apr 2008 00:49:21 +0200 fdm (1.5-1) unstable; urgency=low * New upstream version * Adding Homepage control field * Requiring at least version 1.1.1~svn26294-1.1 of tdb-dev in Build-Depends: (Closes: #456871) * Incrementing Standards-Version and compat level, no changes needed * Adding a lintian override for possible-gpl-code-linked-with-openssl fdm is licensed under the ISC-license. Only the packaging is GPLed. -- Frank Terbeck Sun, 09 Mar 2008 14:27:21 +0100 fdm (1.4-1) unstable; urgency=low * New upstream release. * Removing 05fix_cmdline_macros.dpatch and 06fix_regex_match_tags.dpatch, fixed upstream. * Adding dependency for the newly required trivial database, documented in NEWS. * Removing 04enable_pcre.dpatch. Unneeded, if PCRE=1 is used constantly throughout debian/rules. * Fixed typo in this changelog. -- Frank Terbeck Tue, 02 Oct 2007 20:52:19 +0200 fdm (1.3c-3) unstable; urgency=low * Including a patch (06fix_regex_match_tags.dpatch) that fixes a problem that breaks regex substitution macros for certain messages. (Closes: #440231) -- Frank Terbeck Fri, 31 Aug 2007 02:22:31 +0200 fdm (1.3c-2) unstable; urgency=low * Including a patch (05fix_cmdline_macros.dpatch) that fixes a problem that breaks macros defined on the commandline. (Closes: #440172) * Updated a few comments in dpatches. -- Frank Terbeck Thu, 30 Aug 2007 16:09:21 +0200 fdm (1.3c-1) unstable; urgency=low * New upstream release. * Updated debian/copyright: compat/vis.{c,h} are gone compat/tree.h was added. * Updated 02gmake_use_iquote.dpatch. * Listing sample configs from examples/ explicitly in debian/rules. -- Frank Terbeck Mon, 13 Aug 2007 15:35:25 +0200 fdm (1.2-1) unstable; urgency=low * New upstream release. * Added NEWS file to inform the user about the move to PCRE. * Removing 01gmake_destdir.dpatch, 02gmake_install_bin.dpatch, 05fix_ragged.dpatch and 06fix_MANUAL_typo.dpatch. Included upstream. -- Frank Terbeck Wed, 27 Jun 2007 11:33:00 +0200 fdm (1.1-2) unstable; urgency=low * Changing Priority to optional. -- Frank Terbeck Mon, 07 May 2007 19:51:07 +0200 fdm (1.1-1) unstable; urgency=low * Initial release. (Closes: #419048) * Changed CHILDUSER macro to debianfdm in fdm.h. -- Frank Terbeck Tue, 10 Apr 2007 19:52:08 +0200 debian/control0000644000000000000000000000231112143174103010562 0ustar Source: fdm Section: mail Priority: optional Maintainer: Frank Terbeck Build-Depends: debhelper (>= 9~), libssl-dev, zlib1g-dev, libpcre3-dev, libtdb-dev, bison, flex Homepage: http://fdm.sf.net Vcs-Browser: https://github.com/ft/debian_fdm/ Vcs-Git: git://github.com/ft/debian_fdm.git Standards-Version: 3.9.4 Package: fdm Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, adduser Description: fetching, filtering and delivering emails fdm is a program to fetch mail and deliver it in various ways depending on a user-supplied ruleset. Mail may be fetched from stdin, IMAP or POP3 servers, or from local maildirs, and filtered based on whether it matches a regexp, its size or age, or the output of a shell command. It can be rewritten by an external process, dropped, left on the server or delivered into maildirs, mboxes, to a file or pipe, or any combination. . fdm is designed to be lightweight but powerful, with a compact but clear configuration syntax. It is primarily designed for single-user uses but may also be configured to deliver mail in a multi-user setup. In this case, it uses privilege separation to minimise the amount of code running as the root user. debian/README.Debian0000644000000000000000000000140712141467256011241 0ustar fdm for Debian ============== When trying to deal with problems in fdm, it is commonly a good idea, to send in fdm's output with a high level of verbosity enabled. However, such a high level of verbosity will output user names and passwords as well, which you normally do not want others to know about. For that purpose, fdm's upstream author provides a small awk script, that is supposed to filter out such authentication information from fdm's output. This script, called 'fdm-sanitize', is shipped in the 'examples' subdirectory of the package's documentation directory. Thus, to generate debugging output, you can do something like this: % fdm -vvvv f 2>&1 | fdm-sanitize | tee saved-output -- Frank Terbeck , Fri Apr 13 16:38:21 CEST 2007 debian/README.source0000644000000000000000000000047612141467256011364 0ustar This package is using quilt to make alterations to the upstream sources. No special action needs to be taken, the debian/rules file should take care of everything in a fairly automatic manner. In order to please lintian this file is now put in place. Refer to /usr/share/doc/quilt/README.source for further details. debian/docs0000644000000000000000000000002312141467256010044 0ustar README TODO MANUAL debian/compat0000644000000000000000000000000212141725662010372 0ustar 9 debian/postinst0000644000000000000000000000027012141467256011003 0ustar #! /bin/sh set -e #DEBHELPER# if ! getent 'passwd' 'debianfdm' > /dev/null ; then adduser --quiet --system --no-create-home --disabled-login --disabled-password debianfdm fi exit 0 debian/watch0000644000000000000000000000040512143174223010215 0ustar version=3 # qa.debian.org runs a redirector which allows a simpler form of URL # for SourceForge based projects. The format below will automatically # be rewritten to use the redirector. http://sf.net/fdm/fdm-(.+)\.(?:zip|tgz|tbz2|txz|tar\.gz|tar\.bz2|tar\.xz) debian/dirs0000644000000000000000000000005612141467256010063 0ustar usr/bin usr/share/man/man1 usr/share/man/man5 debian/patches/0000755000000000000000000000000012142702621010612 5ustar debian/patches/series0000644000000000000000000000013412142701361012025 0ustar 01rename_childuser.patch 02incrlinelim.patch 03kfreebsd.patch 04-upstream-tls1-option.patch debian/patches/01rename_childuser.patch0000644000000000000000000000265112141474501015313 0ustar Change the user used by fdm if run as root to 'debianfdm' instead of '_fdm' which is not allowed in debian. (Actually I don't quite remember if it's strictly not permitted by debian's policy, but I've stopped caring.) Index: debian_fdm/MANUAL.in =================================================================== --- debian_fdm.orig/MANUAL.in 2013-05-05 16:59:02.000000000 +0200 +++ debian_fdm/MANUAL.in 2013-05-05 16:59:06.000000000 +0200 @@ -92,11 +92,11 @@ $ export PREFIX=/opt # defaults to /usr/local $ sudo make install -If being run as root, fdm requires a user named "_fdm" to exist. It will drop +If being run as root, fdm requires a user named "debianfdm" to exist. It will drop privileges to this user and its primary group. The user may be added on OpenBSD with, for example: - # useradd -u 999 -s /bin/nologin -d /var/empty -g=uid _fdm + # useradd -u 999 -s /bin/nologin -d /var/empty -g=uid debianfdm It is not necessary to add a user if fdm is always started by a non-root user. Index: debian_fdm/fdm.h =================================================================== --- debian_fdm.orig/fdm.h 2013-05-05 16:59:02.000000000 +0200 +++ debian_fdm/fdm.h 2013-05-05 16:59:06.000000000 +0200 @@ -54,7 +54,7 @@ #include #include -#define CHILDUSER "_fdm" +#define CHILDUSER "debianfdm" #define CONFFILE ".fdm.conf" #define SYSCONFFILE "/etc/fdm.conf" #define LOCKFILE ".fdm.lock" debian/patches/02incrlinelim.patch0000644000000000000000000000204412141474501014304 0ustar Increase the maximum line length limit used by fdm to work around problems with badly formed emails, which also led to #595057. Without this, fdm will refuse to download such badly formed mails bigger than 1MiB. This is upstream's recommended workaround for now: Nicholas Marriott wrote: [...] > i suggest you run CVS HEAD or at least fdm 1.6 and bump the line limit > for now until i have time to look into a more permanent solution (unless > you want to do it or persuade someone else to). if you make the line > limit longer than your maximum-size setting then fdm will hit the latter > first ...and `IO_MAXLINELEN' is that limit. Index: debian_fdm/io.h =================================================================== --- debian_fdm.orig/io.h 2013-05-05 16:59:02.000000000 +0200 +++ debian_fdm/io.h 2013-05-05 16:59:10.000000000 +0200 @@ -35,7 +35,7 @@ }; /* Limits at which to fail. */ -#define IO_MAXLINELEN (1024 * 1024) /* 1 MB */ +#define IO_MAXLINELEN (32 * 1024 * 1024) /* 32 MB */ /* IO line endings. */ #define IO_CRLF "\r\n" debian/patches/04-upstream-tls1-option.patch0000644000000000000000000001503612142702621016110 0ustar Index: debian_fdm/connect.c =================================================================== --- debian_fdm.orig/connect.c 2013-05-09 12:57:30.000000000 +0200 +++ debian_fdm/connect.c 2013-05-09 13:16:19.000000000 +0200 @@ -40,6 +40,7 @@ int getport(char *); int httpproxy(struct server *, struct proxy *, struct io *, int, char **); int socks5proxy(struct server *, struct proxy *, struct io *, int, char **); + SSL *makessl(struct server *, int, int, int, char **); char * @@ -534,7 +535,10 @@ int n, mode; ctx = SSL_CTX_new(SSLv23_client_method()); - SSL_CTX_set_options(ctx, SSL_OP_ALL); + if (srv->tls1) + SSL_CTX_set_options(ctx, SSL_OP_ALL); + else + SSL_CTX_set_options(ctx, SSL_OP_ALL | SSL_OP_NO_TLSv1); SSL_CTX_set_default_verify_paths(ctx); SSL_CTX_set_verify(ctx, SSL_VERIFY_NONE, NULL); Index: debian_fdm/fdm.conf.5 =================================================================== --- debian_fdm.orig/fdm.conf.5 2013-05-09 12:57:30.000000000 +0200 +++ debian_fdm/fdm.conf.5 2013-05-09 13:16:19.000000000 +0200 @@ -360,6 +360,7 @@ .Op Ic no-apop .Op Ic no-uidl .Op Ic no-verify +.Op Ic no-tls1 .Xc These statements define a POP3 or POP3S account. The @@ -420,6 +421,15 @@ .Xr fdm 1 not use the UIDL command to retrieve mails. This is mainly useful for broken POP3 servers. +.Pp +The +.Ic no-tls1 +keyword instructs +.Xr fdm 1 +not to use the TLSv1 protocol with SSL connections. Some broken servers will +fail in the handshake phase if the +.Ic tls1 +flag is not unset. .It Xo Ic pop3 Ic pipe Ar command .Op Ar userpass .Op Ar only @@ -458,6 +468,7 @@ .Op Ar folders .Op Ar only .Op Ic no-verify +.Op Ic no-tls1 .Op Ic no-cram-md5 .Op Ic no-login .Xc @@ -559,6 +570,7 @@ .Op Ar userpass .Ic group Ar group .Ic cache Ar cache +.Op Ic no-tls1 .Xc .It Xo Ic nntps Ic server Ar host .Op Ic port Ar port @@ -568,6 +580,7 @@ .Ar group ... .Li } .Ic cache Ar cache +.Op Ic no-tls1 .Xc An NNTP account. Articles are fetched from the specified group or groups and delivered. Index: debian_fdm/fdm.h =================================================================== --- debian_fdm.orig/fdm.h 2013-05-09 12:58:03.000000000 +0200 +++ debian_fdm/fdm.h 2013-05-09 13:16:19.000000000 +0200 @@ -217,6 +217,7 @@ char *port; struct addrinfo *ai; int ssl; + int tls1; int verify; }; Index: debian_fdm/lex.c =================================================================== --- debian_fdm.orig/lex.c 2013-05-09 12:57:30.000000000 +0200 +++ debian_fdm/lex.c 2013-05-09 13:16:19.000000000 +0200 @@ -150,6 +150,7 @@ { "no-create", TOKNOCREATE }, { "no-login", TOKNOLOGIN }, { "no-received", TOKNORECEIVED }, + { "no-tls1", TOKNOTLS1 }, { "no-uidl", TOKNOUIDL }, { "no-verify", TOKNOVERIFY }, { "none", TOKNONE }, Index: debian_fdm/parse.y =================================================================== --- debian_fdm.orig/parse.y 2013-05-09 12:57:30.000000000 +0200 +++ debian_fdm/parse.y 2013-05-09 13:16:19.000000000 +0200 @@ -201,6 +201,7 @@ %token TOKNONE %token TOKNORECEIVED %token TOKNOT +%token TOKNOTLS1 %token TOKNOUIDL %token TOKNOVERIFY %token TOKOLDONLY @@ -301,7 +302,7 @@ %type expritem %type exprop %type fetchtype -%type cont not disabled keep execpipe writeappend compress verify +%type cont not disabled keep execpipe writeappend compress verify tls1 %type apop poptype imaptype nntptype nocrammd5 nologin uidl %type localgid %type lock locklist @@ -1324,10 +1325,11 @@ data->path.str = $2; data->compress = $3; } - | imaptype server userpassnetrc folder1 verify nocrammd5 nologin + | imaptype server userpassnetrc folder1 verify nocrammd5 nologin tls1 /** [$1: imaptype (int)] [$2: server (struct { ... } server)] */ /** [$3: userpassnetrc (struct { ... } userpass)] [$4: folder1 (char *)] */ /** [$5: verify (int)] [$6: nocrammd5 (int)] [$7: nologin (int)] */ +/** [$8: tls1 (int)] */ { struct deliver_imap_data *data; @@ -1353,6 +1355,7 @@ data->folder.str = $4; data->server.ssl = $1; data->server.verify = $5; + data->server.tls1 = $8; data->server.host = $2.host; if ($2.port != NULL) data->server.port = $2.port; @@ -2216,6 +2219,16 @@ $$ = 0; } +/** TLS1: (int) */ +tls1: TOKNOTLS1 + { + $$ = 0; + } + | /* empty */ + { + $$ = 1; + } + /** UIDL: (int) */ uidl: TOKNOUIDL { @@ -2387,11 +2400,11 @@ } /** FETCHTYPE: (struct { ... } fetch) */ -fetchtype: poptype server userpassnetrc poponly apop verify uidl +fetchtype: poptype server userpassnetrc poponly apop verify uidl tls1 /** [$1: poptype (int)] [$2: server (struct { ... } server)] */ /** [$3: userpassnetrc (struct { ... } userpass)] */ /** [$4: poponly (struct { ... } poponly)] [$5: apop (int)] [$6: verify (int)] */ -/** [$7: uidl (int)] */ +/** [$7: uidl (int)] [$8: tls1 (int)] */ { struct fetch_pop3_data *data; @@ -2414,6 +2427,7 @@ data->server.ssl = $1; data->server.verify = $6; + data->server.tls1 = $8; data->server.host = $2.host; if ($2.port != NULL) data->server.port = $2.port; @@ -2452,7 +2466,8 @@ /** [$3: userpassnetrc (struct { ... } userpass)] */ /** [$4: folderlist (struct strings *)] [$5: imaponly (enum fetch_only)] */ /** [$6: verify (int)] [$7: nocrammd5 (int)] */ - nologin + nologin tls1 +/** [$8: nologin (int)] [$9: tls1 (int)] */ { struct fetch_imap_data *data; @@ -2476,6 +2491,7 @@ data->folders = $4; data->server.ssl = $1; data->server.verify = $6; + data->server.tls1 = $9; data->server.host = $2.host; if ($2.port != NULL) data->server.port = $2.port; @@ -2530,11 +2546,11 @@ $$.data = data; data->mboxes = $1; } - | nntptype server userpassnetrc groups TOKCACHE replpathv verify + | nntptype server userpassnetrc groups TOKCACHE replpathv verify tls1 /** [$1: nntptype (int)] [$2: server (struct { ... } server)] */ /** [$3: userpassnetrc (struct { ... } userpass)] */ /** [$4: groups (struct strings *)] [$6: replpathv (char *)] */ -/** [$7: verify (int)] */ +/** [$7: verify (int)] [$8: tls1 (int)] */ { struct fetch_nntp_data *data; char *cause; @@ -2573,6 +2589,7 @@ data->server.ssl = $1; data->server.verify = $7; + data->server.tls1 = $8; data->server.host = $2.host; if ($2.port != NULL) data->server.port = $2.port; debian/patches/03kfreebsd.patch0000644000000000000000000000153512141474610013572 0ustar Build fix for kfreebsd by Robert Millan . This addresses #648246: As soon as it's verified that the patch works, it needs to be forwarded to upstream for inclusion. Index: debian_fdm/configure =================================================================== --- debian_fdm.orig/configure 2011-11-23 11:18:11.000000000 +0100 +++ debian_fdm/configure 2011-11-23 11:18:28.000000000 +0100 @@ -26,12 +26,16 @@ EOF ;; # ------------------------------------------------------------------------------ - Linux) + Linux|GNU|GNU/*) cat <>$CONFIG_H #define HAVE_SETRESUID #define HAVE_SETRESGID +EOF + if [ $FDM_PLATFORM = Linux ] ; then + cat << EOF >>$CONFIG_H #define HAVE_MREMAP EOF + fi cat <>$CONFIG_MK SRCS+= compat/strlcat.c \ compat/strlcpy.c \ debian/source/0000755000000000000000000000000012141467256010476 5ustar debian/source/format0000644000000000000000000000001412141467256011704 0ustar 3.0 (quilt) debian/postrm0000644000000000000000000000015712141467256010450 0ustar #! /bin/sh set -e #DEBHELPER# if getent 'passwd' 'debianfdm' > /dev/null ; then userdel debianfdm fi exit 0 debian/copyright0000644000000000000000000000744012141467256011136 0ustar This package was debianized by Frank Terbeck on Tue, 10 Apr 2007 19:52:08 +0200. It was downloaded from: Upstream Author: Nicholas Marriott Copyright: 2006-2008 Nicholas Marriott License: Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. netrc_token() in netrc.c, compat/queue.h: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. compat/tree.h: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Debian packaging is copyright 2007-2009 Frank Terbeck and is licensed under the ISC licence, which is quoted on top of this file. debian/NEWS0000644000000000000000000000341212141467256007675 0ustar fdm (1.4-1) unstable; urgency=low In version 1.4 there is a small change in the syntax of fdm.conf. Quoting upstream's CHANGES file: account and all tokens are now normal match conditions. So, you can do useless stuff like: match all and all or all ... AND, more importantly, matching accounts now CHANGES to require an operator and follow the normal left-to-right precedence. So: match all account "a*" ... Becomes: match account "a*" ... And: match "a regexp" or age > 10 accounts { "acc1" acc2" } ... Becomes: match accounts { "acc1" "acc2 " } and "a regexp" or age > 10 ... fdm 1.4 will emit a warning and convert the old style into the new style, but in 1.5 the warning will become an error, and in 1.6 the old code will be removed entirely. So update your rulesets! Note that due to limitations in yacc, the line number of the rule in the warning may be off by a few lines (usually one line too far). So, fdm 1.4 still supports the old syntax for transitional purposes. Please update your config file(s) to the new syntax, so that updating to version 1.5 will be as painless as possible for you. Also note that as of version 1.4 of fdm, the trivial database (tdb) (http://sourceforge.net/projects/tdb/) is used by fdm for its built-in cache. This is the reason for the new dependency for libtdb1. -- Frank Terbeck Tue, 02 Oct 2007 20:44:33 +0200 fdm (1.2-1) unstable; urgency=low Starting with version 1.2 of fdm, the program includes optional support for Perl-like regular expression via the PCRE library. This debian package is enabling this feature by default. -- Frank Terbeck Wed, 27 Jun 2007 11:42:28 +0200