Commit graph

26 commits

Author SHA1 Message Date
taca
550967c220 Fix path to clamav. 2010-12-31 06:13:46 +00:00
martti
92093c9c7f Some pkglint -Wall fixes. 2010-03-10 13:43:38 +00:00
sno
2850d198da Updated p5-GD-Graph3d dependency. 2009-08-17 19:09:13 +00:00
roy
b764dbdac3 Fix postgresql driver to escape strings properly.
Fix a tiny pkglint warning.
Bump revision.
2009-03-13 10:11:14 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
adrianp
081d84f114 Fix breakage caused by me when I renamed some PKG_OPTIONS incompletly
Reported by Travis Mikalson in PR 36522
2007-06-22 13:14:22 +00:00
adrianp
69d0dbcad7 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
2007-05-07 09:29:54 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
obache
140b2a28be Must set PKG_SUPPORTED_OPTIONS before including bsd.options.mk.
Should fix PR 35439.

And remove duplicate preferences-extension and ldap options.
2007-01-18 14:22:38 +00:00
xtraeme
847c32d954 Remove duplicate virtualusers option. 2006-12-10 00:30:01 +00:00
xtraeme
8d08d304f7 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
2006-06-05 15:49:05 +00:00
xtraeme
b189699cfe 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
2006-05-06 08:36:10 +00:00
adrianp
7e723cc81b Fix dspam building on NetBSD-1.6.x
Problem identified by Alan Horn in PR# 32089
2006-01-02 19:59:33 +00:00
adrianp
67edfebd6a 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
2005-11-12 16:53:19 +00:00
recht
97d51d7c1a fix typo (missing quote) 2005-10-29 12:36:50 +00:00
adrianp
5666683929 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
2005-10-20 08:33:13 +00:00
cube
c96fc5c185 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++.
2005-05-25 15:36:06 +00:00
xtraeme
8596ac4197 Add missing argument for mysql storage: "--enable-mysql4-initialization"
needed to properly start mysql4 databases.
2005-04-14 23:37:11 +00:00
xtraeme
25474ba313 * Enable support for sqlite3 storage driver.
* Don't enable daemon mode globally, only for mysql/pgsql.
2005-04-14 05:32:37 +00:00
xtraeme
52dd527b2f 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.
2005-03-21 21:35:52 +00:00
xtraeme
c5b686aff3 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
2004-10-29 07:07:44 +00:00
wiz
fd7576a082 Remove trailing whitespace. 2004-10-28 13:32:20 +00:00
xtraeme
a913388e91 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.
2004-10-22 05:43:28 +00:00
jlam
9d5426ff76 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.
2004-08-22 19:32:51 +00:00
jlam
cce4afe622 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.
2004-08-09 07:02:59 +00:00
jlam
a448c47ada * 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.
2004-08-06 21:24:13 +00:00