1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
Commit Graph

69 Commits

Author SHA1 Message Date
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
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Renato Botelho
a91a09ed82 - Tarball was rerolled -- Add a missed html file:
%%CGI%%www/vhosts/dspam/templates/nav_fragment.html

Noticed by:	maintainer via IRC
2006-02-17 16:41:05 +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
Edwin Groothuis
d568611c3e eplace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 05:52:28 +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
Ade Lovett
54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +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
Joe Marcus Clarke
e638ed3a71 We no longer need to remove libdata/pkgconfig since it is in both mtree
files.  This one was tricky to find since it was hidden behind the %B
variable.

Reported by:	pointyhat via kris
2005-05-20 06:25:54 +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
David E. O'Brien
c3d8037aeb At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
2005-04-12 03:26:56 +00:00
David E. O'Brien
f2fc2d60ae Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
2005-04-11 08:04:41 +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
Palle Girgensohn
34fa6c853e Split the postgresql ports into a server and a client part.
All ports depending on postgresql shall use the USE_PGSQL=yes knob
defined in Mk/bsd.ports.mk. Bumping portrevisions where needed.

PR:		75344
Approved by:	portmgr@ (kris), ade & sean (mentors)
2005-01-31 00:35:55 +00:00
Edwin Groothuis
9982ff321e Remove rmdir of libdata/pkgconfig
Noticed by: pointyhat/kris
2005-01-20 06:30:37 +00:00
Edwin Groothuis
f87e3e80b8 Fix pkg-plist
Submitted by:	Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
2005-01-14 21:20:35 +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
Norikatsu Shigemura
617938836d Clean up SQLite and related ports.
o Move databases/sqlite to databases/sqlite2.
o Fix dependency on databases/sqlite.
o Update sqlite2 to 2.8.15.
o Bump PORTREVISION, accordingly.

Approved by:	portmgr, maintainers of sqlite and related ports
2004-12-23 08:25:47 +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
0219ec1da0 - Reported by many, approved by maintainer:
Makefile cleanups from Palle Girgensohn (PR 70112), many thanks !
  - Fix typo in CYRUS22 option.
  - Fix typo in CGI option and build the PLIST correctly.
  - Fix typo in post-install target in the POSTGRESQL{73|74} case.
  - Correct WITH_POSTGRESQL -> WITH_POSTGRESQL73 and WITH_POSTGRESQL74
- Ion-Mihai Tetcu (maintainer)
  Removed bogus pkg-install
- From me (andreas):
  Add user and system logging, otherwise you won't get nice
  statistics/graphs using the CGI interface...
- Bumped Port Revision because of important fixes

PR:		70112
Submitted by:	Palle Girgensohn <girgen@pingpong.net>
2004-08-08 15:51:36 +00:00
Andreas Klemm
5ffa610531 "Do NOT add --user $USER to the call of dspam binary"
is a wrong instruction in pkg-message file
since some things have been changed in the developement version

Submitted by:	Sebastian Yepes F. [ESN]" <esn@x123.info>
Reviewed by:	Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
2004-08-07 12:46:15 +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
Andreas Klemm
536f212d47 Mark port as broken after repository copy, to prevent package building.
Will commit changes asap.
2004-07-21 17:22:23 +00:00
Joe Marcus Clarke
9e5632dd66 Apply a big libtool patch to allow porters to use the libtool installed by
the libtoolX ports instead of the one included with each port.  Ports that
set USE_LIBTOOL_VER=X will now use the ports version of libtool instead of
the included version.  To restore previous behavior, use the new macro,
USE_INC_LIBTOOL_VER.  Both macros accept the same argument: a libtool version.

For example, to use the ports version of libtool-1.5, add the following to
your Makefile:

USE_LIBTOOL_VER=        15

To use the included version of libtool with extra hacks provided by
libtool-1.5, add the following to your Makefile:

USE_INC_LIBTOOL_VER=    15

With this change, ports that had to add additional libtool hacks to prevent
.la files from being installed or to fix certain threading issues can now
delete those hacks (after appropriate testing, of course).

PR:		63944
Based on work by:eik and marcus
Approved by:	ade (autotools maintainer)
Tested by:	kris on pointyhat
Bound to be hidden problems:	You bet
2004-07-09 17:43:11 +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