2013-06-28 * Fix three crashes in command line and environment variable parsers that caused NULL pointer dereferences with long option variants of bogofilter --syslog-tag, or bogoutil --timestamp-date, or when bogotune -M<file> cannot derive the bogofilter directory. Reported by Alexandre Rebert, found with Mayhem tool. * Add getopt_long_chk(), a getopt_long variant that checks if the overlapping short and long options agree on whether their argument is not required, mandatory, or optional. If they disagree, the program aborts. * Fix a crash in command line parser that causes a NULL pointer dereference when --db-cachesize is used without argument. Found with getopt_long_chk(). 2013-01-20 * Change lexer API/ABI a bit so as to work with flex 2.5.36 generated lexers (for instance, on Fedora 18 "Spherical Cow") that flip the type of yyleng from int to size_t. We use a signed long internally. 2012-12-30 * The bogofilter project was updated to the new SourceForge.net platform. This has caused the URLs to change. Use one of these commands for a read-only checkout: svn checkout svn://svn.code.sf.net/p/bogofilter/code/trunk bogofilter svn checkout http://svn.code.sf.net/p/bogofilter/code/trunk bogofilter And developers would use, replacing joe by their sf.net login: svn checkout --username=joe svn+ssh://m-a@svn.code.sf.net/p/bogofilter/code/trunk bogofilter 2012-12-03 * Add bogofilter-SA-2012-01 (CVE-2012-5468). * Fix XML form of Bulgarian FAQ so that it validates; and validate XHTML at build time. * Mark Berkeley DB 5.2.42 and 5.3.21 supported.
28 lines
753 B
Makefile
28 lines
753 B
Makefile
# $NetBSD: Makefile,v 1.56 2014/11/22 01:36:43 mef Exp $
|
|
|
|
DISTNAME= bogofilter-1.2.4
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bogofilter/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://bogofilter.sourceforge.net/
|
|
COMMENT= Bayesian spam filter written in C
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
|
|
INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/bogofilter
|
|
|
|
EGDIR= ${PREFIX}/share/examples/bogofilter
|
|
CONF_FILES= ${EGDIR}/bogofilter.cf.example ${PKG_SYSCONFDIR}/bogofilter.cf
|
|
|
|
USE_TOOLS+= perl:run
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../math/gsl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|