Up to [NetBSD] / pkgsrc / mail / dspam
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Fix path to clamav.
Some pkglint -Wall fixes.
Updated p5-GD-Graph3d dependency.
Fix postgresql driver to escape strings properly. Fix a tiny pkglint warning. Bump revision.
Convert to use PLIST_VARS instead of manually passing "@comment " through PLIST_SUBST to the plist module.
Fix breakage caused by me when I renamed some PKG_OPTIONS incompletly Reported by Travis Mikalson in PR 36522
Update to 3.8.0 pkglintification Remove bdb option (this has been removed from src) Rename some options as they are (currently) DSPAM specific Change MASTER_SITES Fix permissions on installed files Thanks to xtraeme@ for reviewing the changes * jonz: removed depricated oracle driver * jonz: fix for dynamic storage drivers api * jonz: added connect check for pgsql * jonz: fix for segfault on undefined DeliveryHost or ClientHost * jonz: fix for segfault in vsyslog() * jonz: fix for segfault in dlopen() failure * jonz: added OSB tokenizer * jonz: fix for segfault on log write err * jonz: segfault fix for UIDInSignature See the CHANGELOG for all the details: http://dspam.nuclearelephant.com/text/CHANGELOG-3.8.0.txt
Whitespace cleanup, courtesy of pkglint. Patch provided by Sergey Svishchev in private mail.
Must set PKG_SUPPORTED_OPTIONS before including bsd.options.mk. Should fix PR 35439. And remove duplicate preferences-extension and ldap options.
Remove duplicate virtualusers option.
Update to 3.6.7: 3.6.7 is a maintenance release BUGFIX: Using UIDInSignature, wrong UID is written to message when using groups BUGFIX: PostgreSQL driver does not reconnect on failure in daemon mode BUGFIX: X-DSPAM-Probability sometimes misreported when multiple algorithms used BUGFIX: Agent segfaults when DeliveryHost or ClientHost not specified, --client BUGFIX: Agent segfaults on some systems when syslog is used BUGFIX: Agent segfaults when dlopen() to storage library fails BUGFIX: Infinite loop created when deleting preference, not using extensions BUGFIX: ATX (agent context) does not hold enough bits for 'flags' variable 3.6.6 is a maintenance release MAINT: Phased out deprecated Berkeley DB drivers MAINT: Phased out legacy tools (dspam_corpus, dspam_genaliases) BUGFIX: When using logfile, write errors result in segfault BUGFIX: Compiler warnings with sqlite_drv and sqlite3_drv BUGFIX: MySQLUIDInSignature causes segfault on retrain BUGFIX: trainPristine preference "off" does not override default
Update to 3.6.5 (provided by Unex in PR pkg/33427): RELEASE 3.6.5-STABLE MAINT: PgSQL SQL tuning MAINT: WebUI aesthetic and functional fixes MAINT: Added --disable-syslog and --with-logfile= configuration flags MAINT: Added -t flag for dspam_stats to total stats MAINT: Markov result used as X-DSPAM-Confidence when Markov used MAINT: Support for separate read/write servers to be used with mysql_drv BUGFIX: Spam are quarantined when --deliver=summary BUGFIX: Admin graphs malformatted when subject contains newline character BUGFIX: WebUI does not use MAX_COL_LEN BUGFIX: Output for dspam_admin aggr pref incorrect BUGFIX: Flat-file preference writes fail on some systems BUGFIX: Failure to connect to ClamAV causes segmentation fault BUGFIX: NULL username in system causes segmentation fault BUGFIX: ClamAV processing and cleanup issues BUGFIX: Fragment files overwritten on retrain BUGFIX: Miscellaneous invalid read / segmentation fault bugs BUGFIX: If TrainingMode not specified in dspam.conf or passed in, segmentation fault BUGFIX: No output returned when using --deliver=summary with dspamc RELEASE 3.6.4-STABLE DOC: Documented user preferences in README MAINT: Added dspam_train tool, replacing most functions of dspam_corpus MAINT: Code cleanup and performance improvements MAINT: Significant improvements in accuracy, specifically reduced false pos. MAINT: Removed experimental neural collaboration functions MAINT: Added ClassAlias configuration directive to dspam.conf MAINT: Added undo option for retraining via WebUI MAINT: Added storeFragments support to WebUI MAINT: Added mass-retraining support to WebUI BUGFIX: DSPAM segfaults when invalid UID specified using UIDInSignature BUGFIX: No output when using --classify with --client BUGFIX: dspam_corpus overrides default dspam.conf settings BUGFIX: Multi-driver builds fail when preferences-extension is not supported
Fix dspam building on NetBSD-1.6.x Problem identified by Alan Horn in PR# 32089
Update to dspam 3.6.1 ok'ed xtraeme@
Package changes:
- Add DSPAM_WWWUSER and DSPAM_WWWGROUP as BUILD_DEFS
(not everyone uses apache)
- Change group ownership on dspam.conf to ${DSPAM_WWWGROUP}
Pointed out in tech-pkg@ by matt (at) bodgit-n-scarper.com
- Remove patch-ac as that's been applied upstream
- PLIST fixes for css* tools installed with hash driver
From DSPAM RELEASE_NOTES:
BUGFIX: ParseToHeaders can segfault on malformatted To header
BUGFIX: TrackSources does not correctly parse messages when used with QMail
BUGFIX: Missing check for existing strcasestr
BUGFIX: X-DSPAM-Reclassified heading appears blank
BUGFIX: Plused-Detail support does not work with domains
BUGFIX: Hash databases are not 8-byte aligned (do not work with 64-bit systems)
BUGFIX: Certain daemon-mode operations append a trailing period
BUGFIX: DataSource 'document' option causes improper processing
BUGFIX: Segfaults occur on malformed Content-Type header
BUGFIX: History appears blank in dspam.cgi
fix typo (missing quote)
Update to dspam 3.60 ok'ed xtraeme@ From the RELEASE file: Automatic Whitelisting Improvements Dynamically Loadable Storage Driver Support PostgreSQL Performance Enhancements LDAP Verification Unified Spam Alias / UID in Signature Support Domain Based Delivery Hosts Integrated Clam A/V Support Markovian Discrimination Self-Contained Hash Driver Fallback Domain-Based User Support Improved, Unified Logging Activity logging has also been improved Plused Detail Support Message Fragments Support Domain Blocklisting Support User preferences made case-insensitive LMTP error codes now include messages from relay host RBLInoculate option allows RBL'd emails to be quarantined or learned as spam MySQL and PgSQL object creation scripts updated to improve performance Added 'date' to quarantine display and sorted most recent at top Significant code cleanup and audit Domain-based groups changed from @domain.tld to *@domain.tld X-DSPAM-Result expanded to support Virus, Blacklisted, and Blocklisted results DSPAM WebUI now supports history paging Rewritten documentation for ease of installation
o Fix PKG_SUPPORTED_OPTIONS to list all possible options [hi xtraeme!], otherwise whatever the user provides in PKG_OPTIONS_VAR gets silently ignored [hi dillo!]. o Fix PLIST which was missing a header file. PKGREVISION++.
Add missing argument for mysql storage: "--enable-mysql4-initialization" needed to properly start mysql4 databases.
* Enable support for sqlite3 storage driver. * Don't enable daemon mode globally, only for mysql/pgsql.
Update to 3.4.1. Changes: o Accuracy Enhancements o Bayesian Noise Reduction v2.0 o TUM-Mode Enhancements o Library Performance Enhancements o PostgreSQL Storage Driver Enhancements o SQLite3 Storage Driver Support o Daemonized LMTP Server o LMTP Delivery And more... more info in the RELEASE.NOTES file. pkgsrc changes: o Add a dspam rc.d script to start the daemon. o The cgi configuration files were modified to support CONF_FILES and PKG_SYSCONFDIR. When using a NetBSD system, mount_umap(8) will be useful to mount the cgi directory with www permissions, and you won't need to modify any file in there! yay.
Use mk/mysql.buildlink3.mk instead of databases/mysql-client/buildlink3.mk, so that we'd not force dependance on specific MySQL version, and instead pick the currently installed mysql*-client (or install the default if there is no mysql-client package installed yet) this makes package buildable with arbitrary MySQL version, such as 3.23.x, 4.0.x or 4.1.x
Remove trailing whitespace.
Update mail/dspam to 3.2.0 (latest stable version). Version 3.2 adds many significant enhancements, these include the introduction of a dspam.conf master configuration, an aesthetically redesigned web interface, support for SQLite, support for Windows, and and many other enhancements. More information: http://www.nuclearelephant.com/projects/dspam/text/RELEASE-3.2.0.txt pkgsrc changes: * Default storage driver has been changed to SQLite, to sync with dspam's defaults. * Deprecated options has been removed totally, now you'll have to specify them via PKG_OPTIONS.dspam=foo bar baz.
Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework. Instead of appending to
${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS. This causes
the default options to be the union of PKG_DEFAULT_OPTIONS and any
old USE_* and FOO_USE_* settings.
This fixes PR pkg/26590.
Support building more options: "long-usernames" allows usernames longer than allowed by the underlying operating system. This may be needed if you use DSPAM as a Postfix content filter. "spam-subject" prepends "[SPAM]" to the Subject: of messages classified as spam.
* Only include bdb.buildlink3.mk if we are using DB[34] as a storage driver backend. * Convert to use bsd.options.mk. DSPAM_DELIVERY_AGENT_ARGS has been deprecated -- just set DSPAM_DELIVERY_AGENT to the LDA instead of "custom". * Only install the documentation for the storage driver used by DSPAM. * Drop the default signature lifetime from 15 days to 14 days to match the DSPAM defaults. Bump the PKGREVISION to 2.