Commit graph

49 commits

Author SHA1 Message Date
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Ion-Mihai Tetcu
b494b68934 Update to 3.10.1, which fixes MySQL queries problems introduced in 3.10.0
MFC after:	5 days
2011-08-18 06:50:52 +00:00
Ion-Mihai Tetcu
f39850a8bd Update to the official 3.10.0 release
MFC:		1 day
2011-08-04 10:00:19 +00:00
Ion-Mihai Tetcu
8258534967 Update to 3.10.0 rc1, which is pretty much the upcoming 3.10.0 release,
so unIGNORE.

Adjust the port to be closer to mail/dspam.
2011-08-01 10:34:44 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Ion-Mihai Tetcu
8a598fd851 Update to 3.8.0
- Official "stable" release
- fixed message corruption problems with direct delivery (when using direct
delivery (e.g. DeliveryHost), certain servers require a linefeed after
carriage return otherwise the message will become malformatted).
- added a patch to fix CRLF pairs that are not correctly stripped out when
saving the message to the quarantine mbox file; useful if using LMTP or
SMTP (as opposed to running the client directly from a delivery script),
*AND* you are using the quarantine feature [1] I'm interested if anything
breaks in the WebUI if you're not using either SMTP or LMTP.

[1] patch from John Peacock <jpeacock@rowman.com>
    http://mailing-list.nuclearelephant.com/6023.html
2007-04-13 22:41:05 +00:00
Ion-Mihai Tetcu
8063cb761e Bump PORTEPOCH :( to fix the ersion number going backwards.
Submitted by:	erwin's automated check
Pointyhat by:	itetcu (me)
2006-12-17 09:36:58 +00:00
Ion-Mihai Tetcu
30d300ebcb - added safecat as LDA [1]
- give user the possibility to configure where dspam.conf is [1]
- bump PORTVERSION for OPTIONS chage for [1]
- display UPDATING entry smarter [2]

Submitted by:	Emil Isberg <emil@pyttemjuk.se> [1]
		Phil Pennock <pdp@spodhuis.demon.nl> [2] (suggestion by vd@)
2006-11-12 16:08:20 +00:00
Ion-Mihai Tetcu
eee8dfa950 Fix copy/paste from mail/dspam typo. 2006-10-10 11:30:06 +00:00
Ion-Mihai Tetcu
c5b78cda39 Update to 3.6.8 20061010.1118 cvs snap:
Mark BROKEN on HEAD because it fails to configure with PGSQL, a fix it's on the
way, but I want to update the port for 6.2 release and the freeze it's comming.

Port changes:
- fix longtime standing bug regarding CLAMAV: if "WITHOUT_CLAMAV_LOCAL=true"
clamav support wasn't compiled in
- added Cyrus's 2.3 deliver as LDA OPTION

Change features:
- removed oracle driver (unmaintained, didn't work on FreeBSD anyway)

New features:
- ability to add tagline to messages based on their classification; see
tagSpam and tagNonspam preferences in README

Bug fixes:
- fixed bugs from last release causing pgsql to fail on connection + other
fixes
- bugfix for segfault on mysql fail and null strlen calls for username
2006-10-10 11:28:49 +00:00
Ion-Mihai Tetcu
d987bd6826 Update to a new CVS HEAD snapshot. Please note that, among other changes, this
update breaks Dspam API/ABI. Also this is different from upcomming 3.6.7
update for mail/dspam, which will be only a bug-fix release.

Dropped (very) old sql migration scripts.

Approved by:	lawrance (mentor, implicit)
2006-06-05 08:50:55 +00:00
Ion-Mihai Tetcu
57e90b44ba Update to 3.6.6 (stable) release.
(At this moment it should be indentical to mail/dspam.)

Removed features:
- Phased out deprecated Berkeley DB drivers
Bugfixes:
- when using logfile, write errors result in segfault

Approved by:	lawrance (mentor)
2006-05-15 00:47:04 +00:00
Ion-Mihai Tetcu
78d4ba5e7d - Update to a new snap and fix a bug in it so that it builds pgsql driver.
- fix OPTIONS version check
- fix rc.d script for dspam_debug enebled
- mirror DISTFILES on MASTER_SITE_LOCAL also

New feature:
- Fallback domains (see 2.6 in README)
Bug fixes:
- trainPristine preference turned "off" now overrides config turned "on"
- segfault fix for when correcting messages using UIDInSignature
Removed features:
- dspam_corpus (replaced by newer dspam_train)
- dspam_genaliases (replaced by parse-to-headers, virtual users, etc)

Approved by:	lawrance (mentor)
2006-05-13 13:16:08 +00:00
Pav Lucistnik
48bbb6cb44 - Fix typo in MIN_OPTIONS_VER
- Update rc script

PR:		ports/96542
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
2006-05-01 14:57:48 +00:00
Erwin Lansing
08e784c6f7 Update to 3.6.5 stable release, identical to our previous snap.
PR:		96319
Submitted by:	Ion-Mihai IOnut Tetcu <itetcu@people.tecnik93.com> (maintainer)
2006-04-25 16:58:04 +00:00
Cheng-Lung Sung
7d36804283 Sync with CVS in preparation to 3.6.5 release.
Bug-fixes:
- invalid read/segfault (dspam.c)
- segfault on problems establishing connectivity to clamav (dspam.c)
- segfault on NULL username (mysql_drv.c)
- bug causing writing of flat-file preferences to fail (pref.c)
- fragment file overwritten on retrain (cgi)
- corrects the output of "dspam_admin aggr pref" (tools/dspam_admin.c)
- prevent quarantining of message when delivering summary

WebUI: a lot of fixes and improvements

PostgeSQL: improvements to purge scripts and object creation script

Port changes:
------------------

Add MySQL 5.1 as backend.
Default MySQL version is now 5.0

Optionally depend on LightHTTPD instead of Apache if WITH_CGI=on

Fix OPTIONS handling for INDEX (describe); this is a long standing bug
and a *big* pontyhat for me; it affected _only_ dependecies recorded in
INDEX _if_ OPTIONS were not set (like for package building); however,
the package itself was always built right, dependecies recorded OK, etc.

Add SCE-tindy as MASTER_SITE, much faster site that my other server.

PR:		ports/96159
Submitted by:	maintainer (Ion-Mihai "IOnut" Tetcu)
2006-04-24 16:17:37 +00:00
Renato Botelho
7c0c49b86c - Update to 3.6.4.20060315.1518
PR:		ports/94501
Submitted by:	maintainer
2006-03-15 22:07:15 +00:00
Renato Botelho
27ee63e23b Unbreak after mega-libtool-commit: put the new PKGNAME in files/UPDATING.
PR:		ports/93847
Submitted by:	maintainer
Approved by:	portmgr (linimon)
2006-02-27 15:47:42 +00:00
Sam Lawrance
a64c16a3ad Update to 3.6.4.
- dspam_train: support for training using an index file to define the order
  of ham/spam
- dspam_stats: OR --> OCA

PR:		ports/93278
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
2006-02-14 12:02:33 +00:00
Sam Lawrance
9043e58d3f Update to 3.6.3 20060211.0037 cvs snap.
PR:		ports/93173
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
2006-02-12 01:27:37 +00:00
Renato Botelho
c1349884a0 Update to 3.6.3 20060208.1807 cvs snap. [1]
Rewrite minimum OPTIONS version check, the old way was broken if the OPTIONS
where set in /var/db/ports/PORTNAME/options.
Drop old knobs check, hard to maintain and conflicting with KNOBS.

[1] beginning with this update the SNAP_DATE is UTC instead of EST (GMT+2).

PR:		ports/93067
Submitted by:	maintainer
2006-02-10 17:02:54 +00:00
Renato Botelho
20bfef583b o Update to 3.6.3 20060203.1409 cvs snap.
o Drop NEURAL_NET (removed upstream) and TRAIN_SCRIPT (now always installed and
   depend on PERL5 for it).
 o Add an other check for old (unsupported) options.
 o Some Makefile clean-ups.
 o Fix spelling in pkg-message [1]
 o s/pkg_version/${PKG_VERSION}/
 o Fix removal of EXAMPLESDIR on pkg-plist [2]

PR:		ports/92774
Submitted by:	maintainer, garga [2]
Obtained from:	edwin [1]
Approved by:	maintainer [2]
2006-02-06 13:47:48 +00:00
Renato Botelho
16d8c853c3 - Update to 3.6.3.
- Changed mastersites to official mirrors for release version and keep my site
  for cvs snaps.
- A few file/patch* are removed, they are now incorporated in vendor sources.
- Drop USE_REINPLACE, it's no longe needed.

PR:		ports/92335
Submitted by:	maintainer
2006-01-27 09:53:56 +00:00
Andrej Zverev
14b23de271 - Fix memory leak in BNR (resurrect files/patch-src_libdspam.c from Attic
but with totally different content imported from vendor CVS).
- Bump PORTREVISION.

PR:		ports/90361
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
2005-12-15 06:42:16 +00:00
Sam Lawrance
f0e1aca691 Update to 3.6.2:
BUGFIX: segfaults in daemon mode with hash_drv plus other hash_dvr fixes
  BUGFIX: for how token values are calculated, cutting false positives nearly
  in half plus fixes for LDAP (close LDAP connection after calls, create database even
  if LDAP fails)

Drop local patch files/patch-src_libdspam.c incorporated upstream.

Since we could be running clamd on an other server make CLAMAV* options to only
enable clam support in dspam and provide an other option CLAMAV_LOCAL to
RUN_DEPEND on it locally; for POLA make this option default to on. RUN_DEPENDS
on package instead of clamd.conf in CLAMAV_LOCAL case.

Add MYSQL_LOCAL and POSTGRESQL_LOCAL options to RUN_DEPEND on servers.

REQUIRE mysql, postgresql or clam in rc script only if WITH_LOCAL_* is defined.

PR:		ports/90265
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
2005-12-12 07:25:35 +00:00
Pav Lucistnik
93e98b9364 - Nit 2005-11-17 14:47:43 +00:00
Pav Lucistnik
c1a55c468c - Fix WITH_CGI (convert to new USE_APACHE)
PR:		ports/89152
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
2005-11-17 14:46:54 +00:00
Marcus Alves Grando
07a08f5dae Update to 3.6.1
Add TRAIN_SCRIPT in OPTIONS
Use USE_DBD and USE_SQLITE
Add SHA256

PR:		88688
Submitted by:	"Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com> (maintainer)
2005-11-11 12:24:37 +00:00
Renato Botelho
b9e1295155 Teach startup script about dspam_pidfile variable. We can't use
/var/run/dspam.pid together with dspam_user="dspam" option (for example).

PR:		ports/87718
Submitted by:	Denis Shaposhnikov <dsh@vlink.ru>
Approved by:	maintainer
2005-10-20 17:13:49 +00:00
Renato Botelho
3cb8f7572a - Update to 3.6.0
PR:		ports/87555
Submitted by:	maintainer
2005-10-17 18:14:41 +00:00
Sam Lawrance
f696d5c806 Add a file I missed on the last commit, which was:
Update to 3.5.2 cvs-snap of 20050725.0800

  PR:		ports/84301
  Submitted by:	Ion-Mihai Tetcu <itetcu@people.tecnik93.com> (maintainer)
  Misc. kudos:	Jens Holmqvist <zparta@hispan.se>
  		Elliot Finley <efinley@efinley.com>
  		Alexandr Smirnov <phpclub@rambler.ru>
2005-07-30 15:32:53 +00:00
Sam Lawrance
5715b416e0 Update to 3.5.2 cvs-snap of 20050725.0800
PR:		ports/84301
Submitted by:	Ion-Mihai Tetcu <itetcu@people.tecnik93.com> (maintainer)
Misc. kudos:	Jens Holmqvist <zparta@hispan.se>
		Elliot Finley <efinley@efinley.com>
		Alexandr Smirnov <phpclub@rambler.ru>
2005-07-30 15:27:22 +00:00
Jean-Yves Lefort
001d214004 - Update to 3.5.0.20050512.1145 [1]
- Fix CONFLICTS

PR:		ports/81080 [1]
Submitted by:	maintainer [1]
2005-05-16 11:29:41 +00:00
Vanilla I. Shu
36ed0dcbae - Support for clamd virus checking via TCP (see ClamAVHost, ClamAVPort and
ClamAVResponse in dspam.conf)
- Support "user+detail" inbound emails and "+quarantine" outbound emails
(see EnablePlusedDetail and QuarantineMailbox in dspam.conf)

- BUG FIX: "obscure" [1] bug causing dspam to crash under certain conditions
when the loose signature was provided without the appropriate delimiter
- BUG FIX: fix sqlite3 dependency check [2]
- BUG FIX: don't strip binary if we want GDB suport
- BUG FIX: DOMAIN_SCALE and LARGE_SCALE are incompatible catch this before
./cofigure fails [3]

[1] "Obscure" = it took me about 4 hours and a 500 queue processed one by
one by hand to catch and reproduce the problem after 7 days of mail
processing w/o error
[2] Pointed out by vanilla@ for mail/dspam but true here also
[3] Pointed out by Arvinn Lokkebakken <arvinn@whitebird.no> for mail/dspam
but true here also

PR:		ports/80791
Submitted by:	maintainer
2005-05-09 15:55:42 +00:00
Pav Lucistnik
950120851f - Update to 3.5.0.20050428.1100
PR:		ports/80443
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
2005-05-05 21:05:12 +00:00
Pav Lucistnik
1ea3dfc1be - Update to RC2A snapshot of 20050302.1715
PR:		ports/78418
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
2005-03-06 23:32:23 +00:00
Yen-Ming Lee
e739b59dee Update to dspam-devel-3.4.r1.20050216.0945
PR:		77807
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
2005-02-25 03:09:26 +00:00
Edwin Groothuis
d4f7d5e67f mail-dspam-devel: corect deinstall, package, describe; update; bugfixes; ................
After private debuging, the 25th night spent on-line with
	the author and two minor versions all to make it work on
	FreeBSD like it should, discovering some other bugs in
	proccess,

	TA DA !
	bring in the compleate daemonized version and adjust it for
	package building

	dspam-devel-3.3.4 (newer versions sigbus - threads problem)

	The daemon mode seems to be working now, so the port act like it should:
	- if enabled with WITH_DEAMON we install the rc script; to start it at
	boot put 'dspam_enable="YES"' in /etc/rc.conf and set the appropriate
	options in dspam.conf
	- read section "2.3 Client/Server Mode" from dspam README to learn how to
	use dspam in daemon mode
	- a simple portupgrade from previous versions will work with no problems
	with your current setup, even if compiled with WITH_DEAMON (default)

	- change default DB back-end to MySQL to make daemon mode work for package
	building
	- add MySQL v5.0.x support -- MYSQL50 [1]
	- USE_MYSQL and have make describe output right
	- change of name: SQLITE --> SQLITE2, as we now have sqlite3 support
	- add Sqlite v3.x support -- SQLITE3
	- add BNR_DEBUG option
	- drop QUARANTINE_AGENT as is not supported by ./configure anymore and
	set in dspam.conf UntrustedDeliveryAgent and QuarantineAgent to default to
	TrustedDeliveryAgent, but leave them commented out [2]
	- add support for exim [4] which we build with the same database back-end
	as dspam if possible
	- fix PREF_EXT and BDB4 cases as well in our Makefile
	- change default DSPAM_HOME_MODE to 0770, it's a directory, you know ;) [3]
	- DSPAM_HOME_{OWNER,GROUP} default to DSPAM_{OWNER,GROUP}
	- default maximum message size to 300KB in dspam.conf
	- correct long-standing copy/paste bug (DSPAM_{GROUP,MODE} were set to
	DSPAM_HOME_{GROUP,MODE})
	- Makefile clean-ups
	- fix deinstall to delete dspam.conf if it hasn't been customized, as
	requested by kris@ with "Ports Janitor" hat :) and save the net and myself
	some bugging mails

	[1] based on ports/74761 by Gea-Suan Lin <gslin@netnews.NCTU.edu.tw>
	[2] based on ports/75548 by Julien Gabel <jpeg@thilelli.net>
	[3] based on ports/75549 by Julien Gabel <jpeg@thilelli.net>
	[4] suggested, incorrectly, in ports/74762 by Shahbaz Javeed <sjaveed@adderpit.com>

	Note to committer: all those PR are closed.

PR:		ports/75647
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
2005-01-12 07:28:34 +00:00
Tilman Keskinoz
952ce06a57 Update to SNAP_DATE 20041201.1330, which supports daemonized dspam
PR:		74599
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
2004-12-04 17:46:30 +00:00
Pav Lucistnik
657643d179 - Update to 3.3.0.20041125.0945 snapshot
PR:		ports/74429
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
2004-11-28 01:09:18 +00:00
Andreas Klemm
d8ef620f3e rm files/README.CGI:
- its not up-to-date
- maintainer doesn't want to maintain this extra file
- bump of PORTREVISION not necessary

Submitted by:	Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
2004-08-06 04:06:24 +00:00
Andreas Klemm
7fb2fff93e - dspam-devel port (dspam 3.1.0)
- 1st release of this port after repository copy
- Plus one port dependency fix from me, if "WITH_APACHE2=yes" is set.
  To prevent overinstallation of apache2, although its already present.
  Am using sbin/apachectl now as trigger instead of httpd.conf,
  which has different pathnames in apache/apache2,
- PR will be closed by me

PR:		68358
Submitted by:	Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
Reviewed by:	Andreas Klemm <andreas@FreeBSD.org>
2004-08-05 20:39:41 +00:00
Pav Lucistnik
07015f1114 - Fix up MySQL 2.x -> 3.x migration instructions
Submitted by:	Ion-Mihai Tetcu <itetcu@apropo.ro>
Approved by:	maintainer
2004-07-06 14:43:28 +00:00
Pav Lucistnik
a6f3cddb60 - Update to 3.0.0
PR:		ports/68625
Submitted by:	Rob Evers <rob@debank.tv> (maintainer)
2004-07-04 11:58:16 +00:00
Pav Lucistnik
1b4430531e - Update to 2.10.6
- Add a lot of new OPTIONS
- Fix plist for MySQL option
- Make userdir configurable
- Make signature life configurable
- Add patch to fix delivering to LDA

PR:		ports/65384, ports/66199
Submitted by:	Rob Evers <rob@debank.tv> (maintainer)
		Ion-Mihai Tetcu, Andreas Klemm
2004-05-04 18:43:30 +00:00
Yen-Ming Lee
32d0b41294 Update mail/dspam
Add ENABLE_SPAM_DELIVERY knob
  Make dspam play with qmail
  Install MySQL documentation
  Install a dummy mysql.data file

PR:		61089
Submitted by:	Mark Daniel Reidel <mark@reidel.info>
Reviewed by:	Rob Evers <rob@debank.tv>
2004-01-09 02:17:48 +00:00
Sergei Kolobov
3bbf74e145 - Update to 2.8
- Add new knobs: WITH_MYSQL, WITH_MAILDROP, WITH_PROCMAIL

While I'm here:
- Reset maintainer to ports@FreeBSD.org - Dominic Marks released
  maintainership of his ports on 2003-09-16 (see ports/56935)

PR:		60138
Submitted by:	Rob Evers <rob@debank.tv>
2003-12-11 14:42:27 +00:00
Oliver Lehmann
be36e123b9 Upgrade dspam to 2.7.1 (no response from maintainer for 10 days)
PR:		ports/57144
Submitted By:	Marius Strom <marius@marius.org>
2003-10-03 23:37:55 +00:00
Oliver Lehmann
9ecf0513f4 Add dspam 2.6.3, a server-side bayesian spam filter.
PR:		55222
Submitted by:	Dominic Marks <dom@wirespeed.org.uk>
2003-08-04 11:38:19 +00:00