pkgsrc-wip/mailfilter/patches/patch-ad
Leonard Schmidt f69fb83340 Update to 0.7.1, thanks to the FreeBSD ports for some hints and patches.
mailfilter 0.7.1  (Sat Nov 27 14:24:08 CET 2004) [development version]

  - RUDIMENTARY IMAP support  (not usable yet)

  - Preliminary support for SSL has been added
    (if OpenSSL is installed, it can be enabled by specifying protocol
    "pop3/ssl", or "apop/ssl" and by using port 995 in case of POP,
    instead of 110)

  - APOP support has been ported over to the 0.7.x development branch

  - MAXLENGTH keyword default is no longer ignored, or misinterpreted

mailfilter 0.7  (Sat Feb 14 17:59:26 CET 2004) [development version]

  - Revised and faster networking code

  - New rcfile parsing and setup capabilities
    Note, the rcfile format has changed!  Parameter strings have to be
    in quotes now, e.g.

    SERVER = "my.server"

    This also hits all your created rules. It is not necessary if your
    parameter is a number e.g. the port number.

  - New keyword MAXSCORE_SCORE (see man pages)

  - Keyword SHOW_HEADERS expects a path name now, indicating where
    to store the headers

  - Verbosity levels have been adjusted slightly

mailfilter 0.6.2 (Sun Aug  8 14:17:18 CEST 2004) [stable version]

  - Fixed a crash which would occur if the Date field contains no
      ":" separator

mailfilter 0.6.1 (Sat Feb 14 17:59:26 CET 2004) [stable version]

  - New keyword MAXSIZE_SCORE (see man pages)

  - New scripts in contrib/

  - Mails which do not contain a valid Message-ID are no longer
    treated as being duplicates

  - Additional Polish rcfile example configurations in the doc/
    directory

mailfilter 0.6   (Sun Oct 26 17:20:59 CET 2003) [stable version]

  - Polish translation added

mailfilter 0.5.2  (Sat Oct 11 12:00:05 CEST 2003) [development version]

  - (Buggy) Windows support has been removed

  - (Hopefully) resolved compile problems: since mailfilter does not
    compile with GNU-flex anymore, the code has been adjusted to depend
    on a flex version which is available from http://lex.sf.net/

  - New user-contributions and scripts in contrib/

  - Minor documentation changes in the FAQ

mailfilter 0.5.1  (Sat Apr 12 08:46:25 CEST 2003) [development version]

  - Added '-r'/'--return-value' in order to make mailfilter return
    a positive integer if it scanned any messages in any POP account
    (see mailfilter (1) man page for details)

  - Added contrib directory with extra scripts and programs which can
    be used in combination with mailfilter (read its README file for
    further details)

  - Added a scoring mechanism (see man pages for further details) to
    allow more efficient filtering on mailing lists, for example

  - Fixed configuraton and compilation woes with various versions of
    gcc, flex, bison and the autotools (mainly relevant for developers)

  - Added `--test' as command-line switch to merely simulate deletes

mailfilter 0.5.0  (Sun Aug 25 14:52:54 EST 2002) [development version]

  - Updated documentation and man pages

  - APOP support (courtesy Greg Louis)

  - Greek language translation (courtesy Dimitrios Kamenopoulos)

  - Fixed Makefile bug that caused recompilation upon make install
    (courtesy Joerg Jaspert)

  - Updated Windows-related configuration and installation files

  - Windows users can now use "_mailfilterrc" instead of ".mailfilterrc"

mailfilter 0.4.0  (Wed May 29 10:10:18 CEST 2002) [stable version]

  - Updated documentation

  - Updated language translations (German, Spanish)

mailfilter 0.3.3  (Mon Apr 22 17:38:10 CEST 2002) [development version]

  - Mailfilter now supports POP3 servers that make use of several streams/
    connections/whatever to send back acknowledgements during the login
    period

  - Added Russian translation, courtesy Ilgiz Kalmetev

  - Fixed a bug that caused mailfilter to crash under certain conditions,
    upon syntax errors in the rcfile

  - The -L and -v command line switches override any rcfile directives
    (again), as it should be

  - Syntax errors in configuration files are reported correctly now

  - Headers are not logged twice anymore, if SHOW_HEADERS=yes and VERBOSE=6

  - Nested rcfiles possible now (use INCLUDE as keyword)

  - Exotic POP3 servers that do not use "TOP %n 0" to show the message
    headers, can now be used by defining an alternative command in the
    config.h file (recompilation is necessary, however)

mailfilter 0.3.2  (Wed Feb 20 09:38:41 CET 2002) [development version]

  - Improved rcfile parsing, trailing white space characters are possible
    now

  - Improved logging and verbosity capabilities (see mailfilterrc(5) for
    details)

  - Usernames and passwords may consist exclusively of digits now

  - Fixed a type conversion problem in signal handling code, such that
    compilation works again with FreeBSD 4.4-RELEASE

  - Minor documentation updates (faq, man pages, etc.)

  - Fixed a minor incompatibility with Windows configuration files,
    such that bison gets invoked correctly

mailfilter 0.3.1  (Sun Dec  2 11:11:52 GMT 2001) [development version]

  - Improved rcfile parsing and added support for multi-case keywords
    and the like

    (If you run into problems compiling the program, please look into
     doc/FAQ, as a couple of Linux distributors use(d) a broken version
     of flex!)

  - Spanish translation (courtesy Carlos Valdivia Yagüe)

  - Updated and corrected the program's FAQ (e. g. thanks to Brian
    Hall we have now an example shell script that shows how Mailfilter
    can be tunneled via ssh)

  - Bug fix: Mailfilter now displays the correct filter and subject
    string of a mail if a (normalised) filter matched

  - Bug fix: mails that contain subject strings with only a white
    space character, are now handled correctly

  - Added time out signal handler for network connection code

  - Added signal handler to catch SIGINT, i.e. ctrl-c

mailfilter 0.3.0  (Wed Nov  7 14:17:44 GMT 2001) [development version]

  - Program compiles and runs (again) under MS-Windows with Cygwin and
    the like (see doc/README.Windows)

  - rcfile must be in $HOME now and is not expected to be in
    /home/<username> anymore

  - Upon popular demand the default setting of MAXLENGTH is '0' now,
    i.e. the feature is disabled by default

  - Restructured the verbosity levels; see mailfilterrc(5) man
    page for details, please

  - Removed internal string handling bugs that confused the
    Regular Expression compilation
2005-11-06 11:25:56 +00:00

36 lines
783 B
Text

$NetBSD: patch-ad,v 1.1 2005/11/06 11:25:57 leonardschmidt Exp $
--- src/rcfile.ll.orig 2004-07-31 20:00:59.000000000 +0000
+++ src/rcfile.ll
@@ -44,7 +44,7 @@
extern "C"
{
-#include "wordexp.h"
+#include "glob.h"
}
using namespace std;
@@ -125,7 +125,7 @@ CTRL_CHAR .
<INCL>[^ \t\n]+ {
/* Include further rcfiles: */
- wordexp_t result;
+ glob_t result;
if (include_stack_ptr >= MAX_INCLUDE_DEPTH)
{
@@ -136,10 +136,10 @@ CTRL_CHAR .
try
{
- if (wordexp (yytext, &result, 0) == 0)
+ if (glob (yytext, 0, NULL, &result) == 0)
{
- sub_file = result.we_wordv[0];
- wordfree (&result);
+ sub_file = result.gl_pathv[0];
+ globfree (&result);
}
else
{