View | Details | Raw Unified | Return to bug 94501
Collapse All | Expand All

(-)Makefile (-6 / +19 lines)
Lines 3-9 Link Here
3
# Whom:			Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
3
# Whom:			Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
4
#
4
#
5
# $FreeBSD: ports/mail/dspam-devel/Makefile,v 1.49 2006/02/27 15:47:41 garga Exp $
5
# $FreeBSD: ports/mail/dspam-devel/Makefile,v 1.49 2006/02/27 15:47:41 garga Exp $
6
# $Tecnik: ports/mail/dspam-devel/Makefile,v 1.36 2006/02/26 02:23:16 itetcu Exp $
6
# $Tecnik: ports/mail/dspam-devel/Makefile,v 1.38 2006/03/15 17:55:09 itetcu Exp $
7
#
7
#
8
8
9
# Note to commiters: If don't commit a maintainer patch and as a result PKGNAME
9
# Note to commiters: If don't commit a maintainer patch and as a result PKGNAME
Lines 13-19 Link Here
13
13
14
PORTNAME=	dspam-devel
14
PORTNAME=	dspam-devel
15
PORTVERSION=	${PORTVER_MAJ}${SNAP_DATE}
15
PORTVERSION=	${PORTVER_MAJ}${SNAP_DATE}
16
PORTREVISION=	1
17
CATEGORIES=	mail
16
CATEGORIES=	mail
18
MASTER_SITES=	# set later
17
MASTER_SITES=	# set later
19
18
Lines 21-30 Link Here
21
COMMENT=	Bayesian spam filter - development version
20
COMMENT=	Bayesian spam filter - development version
22
21
23
PORTVER_MAJ=	3.6.4
22
PORTVER_MAJ=	3.6.4
24
#SNAP_DATE=	.20060211.0037
23
SNAP_DATE=	.20060315.1518
25
_UPD_LINE_NO=	7
24
_UPD_LINE_NO=	17
26
25
27
MIN_OPTIONS_VER=	${PORTNAME}-3.6.3.20060203.1409
26
MIN_OPTIONS_VER=	${PORTNAME}-3.6.4.20060315.1518
28
27
29
.ifdef(SNAP_DATE)
28
.ifdef(SNAP_DATE)
30
MASTER_SITES=	http://people.tecnik93.com/~itetcu/FreeBSD/ports/${PORTNAME}/sources/
29
MASTER_SITES=	http://people.tecnik93.com/~itetcu/FreeBSD/ports/${PORTNAME}/sources/
Lines 39-45 Link Here
39
.endif
38
.endif
40
39
41
## debug / log / admin options
40
## debug / log / admin options
42
OPTIONS=	DEBUG "Enable debugging logging" on
41
OPTIONS=	SYSLOG "Logs via syslog" on
42
OPTIONS+=	DEBUG "Enable debugging logging" on
43
OPTIONS+=	VERBOSE_DEBUG "Enable debug in LOGDIR/dspam.debug" off
43
OPTIONS+=	VERBOSE_DEBUG "Enable debug in LOGDIR/dspam.debug" off
44
OPTIONS+=	BNR_DEBUG "Enable debug for BNR" off
44
OPTIONS+=	BNR_DEBUG "Enable debug for BNR" off
45
OPTIONS+=	PREF_EXT "Preferences in database not in files" off
45
OPTIONS+=	PREF_EXT "Preferences in database not in files" off
Lines 114-119 Link Here
114
114
115
_VAR_DIR=	/var
115
_VAR_DIR=	/var
116
LOG_DIR?=	${_VAR_DIR}/log/dspam
116
LOG_DIR?=	${_VAR_DIR}/log/dspam
117
LOGFILE?=	${LOG_DIR}/dspam.log
117
118
118
DSPAM_MODE?=	4510
119
DSPAM_MODE?=	4510
119
DSPAM_OWNER?=	root
120
DSPAM_OWNER?=	root
Lines 147-152 Link Here
147
		-e '/^%%FreeBSD/D' \
148
		-e '/^%%FreeBSD/D' \
148
		-e '/^%%Tecnik%%/D'
149
		-e '/^%%Tecnik%%/D'
149
150
151
.ifdef(WITH_SYSLOG)
152
CONFIGURE_ARGS+=	--enable-syslog
153
.else
154
CONFIGURE_ARGS+=	--disable-syslog
155
CONFIGURE_ARGS+=	--with-logfile=${LOGFILE}
156
.endif
157
150
.ifdef(WITH_DEBUG)
158
.ifdef(WITH_DEBUG)
151
CONFIGURE_ARGS+=	--enable-debug
159
CONFIGURE_ARGS+=	--enable-debug
152
.endif
160
.endif
Lines 460-465 Link Here
460
	@${ECHO_CMD} "DSPAM_HOME_GROUP=${DSPAM_HOME_GROUP}"
468
	@${ECHO_CMD} "DSPAM_HOME_GROUP=${DSPAM_HOME_GROUP}"
461
	@${ECHO_CMD} "DSPAM_HOME_MODE=${DSPAM_HOME_MODE} (default: 0770)"
469
	@${ECHO_CMD} "DSPAM_HOME_MODE=${DSPAM_HOME_MODE} (default: 0770)"
462
	@${ECHO_CMD} "LOG_DIR=${LOG_DIR} (default: ${_VAR_DIR}/log/dspam)"
470
	@${ECHO_CMD} "LOG_DIR=${LOG_DIR} (default: ${_VAR_DIR}/log/dspam)"
471
.	ifndef(WITH_SYSLOG)
472
	@${ECHO_CMD} "LOGFILE=${LOGFILE} (default: ${_VAR_DIR}/log/dspam/dspam.log)"
473
.	endif
463
.	ifdef(WITH_CGI)
474
.	ifdef(WITH_CGI)
464
		@${ECHO_CMD} "Define CGI_PATH before make-ing if you need the CGI files"
475
		@${ECHO_CMD} "Define CGI_PATH before make-ing if you need the CGI files"
465
		@${ECHO_CMD} "installed in other place that this installation's default"
476
		@${ECHO_CMD} "installed in other place that this installation's default"
Lines 529-535 Link Here
529
	@${FALSE}
540
	@${FALSE}
530
.endif
541
.endif
531
.ifdef(SNAP_DATE)
542
.ifdef(SNAP_DATE)
543
	@${ECHO_CMD}
532
	@${ECHO_CMD} "You can safely ignore the following auto*  errors"
544
	@${ECHO_CMD} "You can safely ignore the following auto*  errors"
545
	@${ECHO_CMD}
533
	@(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./autogen.sh)
546
	@(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./autogen.sh)
534
.endif
547
.endif
535
548
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (dspam-3.6.4.tar.gz) = e9fdb00a23a99e05c9e4c22aa8aa3655
1
MD5 (dspam-devel-3.6.4.20060315.1518.tar.gz) = c40ec96422922451f4875bdb6089aa1f
2
SHA256 (dspam-3.6.4.tar.gz) = bdb10acbff97483db8ef7aafee8ba2e9113f6b7d5fc76cf569334b32937ca304
2
SHA256 (dspam-devel-3.6.4.20060315.1518.tar.gz) = fcb81c908da122307b8685b5668618c2d3eb52fe3023e058c53335700a12b8f7
3
SIZE (dspam-3.6.4.tar.gz) = 743664
3
SIZE (dspam-devel-3.6.4.20060315.1518.tar.gz) = 401405
(-)pkg-plist (+1 lines)
Lines 81-86 Link Here
81
%%MYSQL%%@dirrm %%EXAMPLESDIR%%/mysql
81
%%MYSQL%%@dirrm %%EXAMPLESDIR%%/mysql
82
%%PGSQL%%%%EXAMPLESDIR%%/pgsql/pgsql_objects.sql
82
%%PGSQL%%%%EXAMPLESDIR%%/pgsql/pgsql_objects.sql
83
%%PGSQL%%%%EXAMPLESDIR%%/pgsql/purge.sql
83
%%PGSQL%%%%EXAMPLESDIR%%/pgsql/purge.sql
84
%%PGSQL%%%%EXAMPLESDIR%%/pgsql/purge-pe.sql
84
%%PGSQL%%%%EXAMPLESDIR%%/pgsql/virtual_users.sql
85
%%PGSQL%%%%EXAMPLESDIR%%/pgsql/virtual_users.sql
85
%%PGSQL%%@dirrm %%EXAMPLESDIR%%/pgsql
86
%%PGSQL%%@dirrm %%EXAMPLESDIR%%/pgsql
86
%%SQLITE%%%%EXAMPLESDIR%%/sqlite/purge-2.sql
87
%%SQLITE%%%%EXAMPLESDIR%%/sqlite/purge-2.sql
(-)files/UPDATING (+18 lines)
Lines 11-16 Link Here
11
make extract;  more `find . -type f -maxdepth 2 -name UPGRADING`
11
make extract;  more `find . -type f -maxdepth 2 -name UPGRADING`
12
12
13
###########################################################################
13
###########################################################################
14
# dspam-devel-3.6.4.20060315.1518
15
#
16
17
New feature:
18
- support for reading from multiple mysql servers; support for separate
19
read/write servers to be used with mysql_drv; see dspam.conf
20
- SYSLOG options knob: log to via syslog if "on" or in flat file if "off"
21
- dspam_stats: -t for displaying a total of all stats included in the 
22
original query
23
24
Bugfixes:
25
- fixed a bug causing --deliver=summary to return no output when used in
26
dspamc
27
- fixed a segfault which can occur if TrainingMode is not specified in
28
dspam.conf
29
30
31
###########################################################################
14
# dspam-devel-3.6.4_1 (Added post-factum, mega libtool commit)
32
# dspam-devel-3.6.4_1 (Added post-factum, mega libtool commit)
15
#
33
#
16
34
(-)files/dspam-devel.sh.in (-1 / +1 lines)
Lines 1-7 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
# $FreeBSD: ports/mail/dspam-devel/files/dspam-devel.sh.in,v 1.9 2006/02/27 15:47:42 garga Exp $
2
# $FreeBSD: ports/mail/dspam-devel/files/dspam-devel.sh.in,v 1.9 2006/02/27 15:47:42 garga Exp $
3
# formerly $ FreeBSD: ports/mail/dspam-devel/files/dspam.rc,v 1.2 2005/02/25 03:09:26 leeym Exp $
3
# formerly $ FreeBSD: ports/mail/dspam-devel/files/dspam.rc,v 1.2 2005/02/25 03:09:26 leeym Exp $
4
# $Tecnik: ports/mail/dspam-devel/files/dspam-devel.sh.in,v 1.8 2006/02/26 00:08:23 itetcu Exp $
4
# $Tecnik: ports/mail/dspam-devel/files/dspam-devel.sh.in,v 1.9 2006/03/15 17:55:13 itetcu Exp $
5
5
6
# PROVIDE: dspam
6
# PROVIDE: dspam
7
# REQUIRE: DAEMON %%MYSQL%% %%PGSQL%% %%CLAMD%%
7
# REQUIRE: DAEMON %%MYSQL%% %%PGSQL%% %%CLAMD%%

Return to bug 94501