diff -ur dspam/Makefile dspam-merge/Makefile --- dspam/Makefile 2014-09-17 13:43:12.000000000 -0700 +++ dspam-merge/Makefile 2014-09-18 01:37:41.618206000 -0700 @@ -1,22 +1,23 @@ # Created by: Dominic Marks -# $FreeBSD: head/mail/dspam/Makefile 368416 2014-09-17 20:43:12Z cs $ +# $FreeBSD: head/mail/dspam/Makefile 367990 2014-09-11 21:54:45Z tijl $ # Note to committers: If don't commit a maintainer patch and as a result PKGNAME # or user variables (WITH*) changes please add an entry in ${FILESDIR}/UPDATING # Thanks. PORTNAME= dspam -PORTVERSION= 3.9.0 -PORTREVISION= 8 +PORTVERSION= 3.10.2 +PORTREVISION= 0 CATEGORIES= mail -MASTER_SITES= SF \ - http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/ +MASTER_SITES= SF MASTER_SITE_SUBDIR=${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= danny@dannywarren.com COMMENT= Bayesian spam filter -MIN_OPTIONS_VER= ${PORTNAME}-3.9.0 +LICENSE= AGPLv3 + +OPTIONS_SUB= yes OPTIONS_DEFINE= SYSLOG DEBUG VERBOSE_DEBUG BNR_DEBUG PREF_EXT DAEMON \ CLAMAV CLAMAV_LOCAL EXTERNAL_LOOKUP \ @@ -30,22 +31,27 @@ OPTIONS_RADIO= LDA OPTIONS_RADIO_LDA= CYRUS23 CYRUS24 DOVECOT1 \ - DOVECOT2 EXIM MAILDROP PROCMAIL SAFECAT SENDMAIL + DOVECOT2 EXIM MAILDROP PROCMAIL SAFECAT SENDMAIL + +OPTIONS_DEFAULT= SYSLOG DEBUG DAEMON CLAMAV CLAMAV_LOCAL \ + HASH MYSQL MYSQL_COMPRESS PGSQL SQLITE3 + + VERBOSE_DEBUG_DESC= Debug in LOGDIR/dspam.debug -BNR_DEBUG_DESC= Debug for BNR -PREF_EXT_DESC= Preferences in database not in files -DAEMON_DESC= Daemonize dspam; speaks LMTP or DLMTP -CLAMAV_DESC= ClamAV support +BNR_DEBUG_DESC= Debug for Bayesian Noise Reduction +PREF_EXT_DESC= Preferences in database not in files +DAEMON_DESC= Daemonize dspam; speaks LMTP or DLMTP +CLAMAV_DESC= ClamAV support CLAMAV_LOCAL_DESC= RUN_DEPEND on selected ClamAV -MYSQL_DESC= MySQL 5.X.x as back-end +MYSQL_DESC= MySQL 5.X.x as back-end MYSQL_COMPRESS_DESC= Compress dspam <--> MySQL MYSQL_LOCAL_DESC= RUN_DEPEND on MySQL server -PGSQL_DESC= PostgreSQL as back-end +PGSQL_DESC= PostgreSQL as back-end PGSQL_LOCAL_DESC= RUN_DEPEND on PostgreSQL server -SQLITE2_DESC= SQLite v2.x as back-end -SQLITE3_DESC= SQLite v3.x as back-end -HASH_DESC= Hash driver +SQLITE2_DESC= SQLite v2.x as back-end +SQLITE3_DESC= SQLite v3.x as back-end +HASH_DESC= Hash driver EXTERNAL_LOOKUP_DESC= RCPT verification via extlookup USER_HOMEDIR_DESC= Store user data in ~/.dspam TRUSTED_USERS_DESC= Disable trusted user security @@ -53,22 +59,19 @@ LONG_USERNAMES_DESC= Usernames longer that OS supports LARGE_SCALE_DESC= File structure for large scale DOMAIN_SCALE_DESC= File structure for multiple domains -CYRUS23_DESC= Cyrus's 2.3 deliver as LDA -CYRUS24_DESC= Cyrus's 2.4 deliver as LDA -DOVECOT1_DESC= Dovecot 1.2 deliver as LDA -DOVECOT2_DESC= Dovecot 2.2 dovecot-lda as LDA -EXIM_DESC= Exim as local delivery agent -MAILDROP_DESC= Maildrop as local delivery agent -PROCMAIL_DESC= Procmail as local delivery agent -SAFECAT_DESC= Safecat as local delivery agent -SENDMAIL_DESC= Sendmail as local delivery agent +CYRUS23_DESC= Cyrus's 2.3 deliver as LDA +CYRUS24_DESC= Cyrus's 2.4 deliver as LDA +DOVECOT1_DESC= Dovecot 1.2 deliver as LDA +DOVECOT2_DESC= Dovecot 2.2 dovecot-lda as LDA +EXIM_DESC= Exim as local delivery agent +MAILDROP_DESC= Maildrop as local delivery agent +PROCMAIL_DESC= Procmail as local delivery agent +SAFECAT_DESC= Safecat as local delivery agent +SENDMAIL_DESC= Sendmail as local delivery agent NICESENDMAIL_DESC= Play nice with sendmail server POSTFIX_MBC_DESC= Dspam as mailbox_command in Postfix -QMAIL_DESC= Play nice with Qmail mail server -WEBUI_DESC= Install WebUI, pulls in Apache or see below - -OPTIONS_DEFAULT= SYSLOG DEBUG DAEMON CLAMAV CLAMAV_LOCAL \ - HASH MYSQL MYSQL_COMPRESS PGSQL SQLITE3 +QMAIL_DESC= Play nice with Qmail mail server +WEBUI_DESC= Install WebUI, pulls in Apache or see below MAKE_JOBS_UNSAFE= yes USES= perl5 libtool shebangfix @@ -78,14 +81,12 @@ LDFLAGS+= -L${LOCALBASE}/lib SHEBANG_FILES= src/tools/dspam_logrotate \ - src/tools/dspam_notify.pl \ + src/tools/dspam_notify.in \ src/tools/dspam_train.in \ - webui/cgi-bin/templates/de/strings.pl \ + webui/cgi-bin/templates/*/strings.pl \ webui/cgi-bin/templates/strings.pl \ - webui/cgi-bin/templates/fr/strings.pl \ - webui/cgi-bin/templates/es-es/strings.pl \ - webui/cgi-bin/templates/pt-br/strings.pl \ - webui/cgi-bin/*.cgi + webui/cgi-bin/*.cgi \ + webui/cgi-bin/*.pl .ifdef(GDBS) CFLAGS+= -g -DDEBUG @@ -112,11 +113,13 @@ DSPAM_HOME_GROUP?= ${DSPAM_GROUP} DSPAM_HOME_MODE?= 0770 -.for s in OWNER GROUP HOME_OWNER HOME_GROUP -PLIST_SUB+= DSPAM_$s=${DSPAM_$s} -.endfor - -.include +PLIST_SUB+= DSPAM_HOME=${DSPAM_HOME} \ + DSPAM_OWNER=${DSPAM_OWNER} \ + DSPAM_GROUP=${DSPAM_GROUP} \ + DSPAM_MODE=${DSPAM_MODE} \ + DSPAM_HOME_OWNER=${DSPAM_HOME_OWNER} \ + DSPAM_HOME_GROUP=${DSPAM_HOME_GROUP} \ + DSPAM_HOME_MODE=${DSPAM_HOME_MODE} CONFIGURE_ARGS+= --sysconfdir=${DSPAM_ETC} CONFIGURE_ARGS+= --with-logdir=${LOG_DIR} @@ -126,19 +129,26 @@ CONFIGURE_ARGS+= --with-dspam-home-owner=${DSPAM_HOME_OWNER} CONFIGURE_ARGS+= --with-dspam-home-group=${DSPAM_HOME_GROUP} CONFIGURE_ARGS+= --with-dspam-home-mode=${DSPAM_HOME_MODE} -PLIST_SUB+= DSPAM_HOME=${DSPAM_HOME} +PLIST_SUB+= DSPAM_HOME=${DSPAM_HOME} \ + DSPAM_HOME_OWNER=${DSPAM_HOME_OWNER} \ + DSPAM_HOME_GROUP=${DSPAM_HOME_GROUP} \ + DSPAM_HOME_MODE=${DSPAM_HOME_MODE} CONFIGURE_ARGS+= --with-dspam-owner=${DSPAM_OWNER} CONFIGURE_ARGS+= --with-dspam-group=${DSPAM_GROUP} # we set DSPAM_MODE at the end as some LDAs want specific mode +PLIST_SUB+= DSPAM_OWNER=${DSPAM_OWNER} \ + DSPAM_GROUP=${DSPAM_GROUP} \ + DSPAM_MODE=${DSPAM_MODE} _SED_SCRIPT= -e 's,%%DOCSDIR%%,${DOCSDIR},g' \ -e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g' \ -e 's,%%DSPAM_HOME%%,${DSPAM_HOME},g' \ -e 's,%%PORTNAME%%,${PORTNAME},g' \ -e 's,%%_VAR_DIR%%,${_VAR_DIR},g' \ - -e '/^%%FreeBSD/D' \ - -e '/^%%Tecnik%%/D' + -e '/^%%FreeBSD/D' + +.include .if ${PORT_OPTIONS:MSYSLOG} CONFIGURE_ARGS+= --enable-syslog @@ -267,9 +277,6 @@ .if ${PORT_OPTIONS:MEXTERNAL_LOOKUP} CONFIGURE_ARGS+= --enable-external-lookup USE_OPENLDAP= YES -#CPPFLAGS+= -I${LOCALBASE}/include -#LDFLAGS+= -lldap -llber -#CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" .endif .if ${PORT_OPTIONS:MUSER_HOMEDIR} @@ -395,9 +402,8 @@ @${ECHO_CMD} "" @${ECHO_CMD} "Last ${FILESDIR}/UPDATING entry:" @${ECHO_CMD} "###########################################################################" - @${SED} -n < ${FILESDIR}/UPDATING "/^# ${PKGNAME}/,/^#####/p" + @${SED} -n < ${FILESDIR}/UPDATING "/^# ${PORTNAME}-${PORTVERSION}/,/^#####/p" @${ECHO_CMD} "" - @sleep 5 .endif pre-extract: @@ -424,7 +430,6 @@ @${ECHO_CMD} "${WWWDIR}" . endif @${ECHO_CMD} "" - @sleep 5 .endif post-patch: @@ -438,7 +443,9 @@ ${WRKSRC}/src/tools.sqlite_drv/purge-2.sql @${REINPLACE_CMD} -e "s|where julianday('now')-julianday(created_on) > 14;|where julianday('now')-julianday(created_on) > ${SIGNATURE_LIFE};|" \ ${WRKSRC}/src/tools.sqlite_drv/purge-3.sql - @${REINPLACE_CMD} -e "s|%%PERL%%|${PERL}|; s|%%DSPAM_PATH%%|${PREFIX}/bin|" ${WRKSRC}/scripts/train.pl + @${REINPLACE_CMD} -e "s^%%PERL%%^${PERL}^" \ + ${WRKSRC}/src/tools/dspam_train.in \ + ${WRKSRC}/src/tools/dspam_notify.in pre-configure: .if ${PORT_OPTIONS:MVIRT_USERS} && !( defined(USE_MYSQL) || \ @@ -478,9 +485,9 @@ ######## # stupid hack until I figure out where/how to patch @${MKDIR} ${STAGEDIR}${PREFIX}/libdata/pkgconfig - @${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig/dspam.pc \ - ${STAGEDIR}${PREFIX}/libdata/pkgconfig/dspam.pc - ${RM} -R ${STAGEDIR}${PREFIX}/lib/pkgconfig || true + ${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig/dspam.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/dspam.pc + ${TEST} `ls -1 ${STAGEDIR}${PREFIX}/lib/pkgconfig | wc -l` -eq 0 && \ + ${RM} -R ${STAGEDIR}${PREFIX}/lib/pkgconfig || true .if ${PORT_OPTIONS:MEXAMPLES} .ifdef(USE_MYSQL) @@ -540,7 +547,7 @@ @cd ${FILESDIR} && ${INSTALL_DATA} UPDATING ${STAGEDIR}${DOCSDIR}/UPDATING .endif - @${MKDIR} -m ${DSPAM_HOME_MODE} ${STAGEDIR}${DSPAM_HOME} + @${MKDIR} ${STAGEDIR}${DSPAM_HOME} .for _file in firstrun.txt firstspam.txt quarantinefull.txt @if ! ${TEST} -e ${WRKSRC}/txt/${_file}.sample;\ then\ @@ -553,4 +560,6 @@ @${MKDIR} -m ${DSPAM_HOME_MODE} ${STAGEDIR}${LOG_DIR} -.include + @${CAT} ${WRKSRC}/README.FreeBSD + +.include diff -ur dspam/distinfo dspam-merge/distinfo --- dspam/distinfo 2014-01-22 07:30:13.000000000 -0800 +++ dspam-merge/distinfo 2014-09-16 18:49:54.077477449 -0700 @@ -1,2 +1,2 @@ -SHA256 (dspam-3.9.0.tar.gz) = fb2b0d0e49d44e077e665041041035c3a882d858c03265dd0955664c0fa934ae -SIZE (dspam-3.9.0.tar.gz) = 973232 +SHA256 (dspam-3.10.2.tar.gz) = ae76569604021f35b741fb95198a1e611a8c64c3838661973a6cf360bba593a9 +SIZE (dspam-3.10.2.tar.gz) = 1035054 diff -ur dspam/files/UPDATING dspam-merge/files/UPDATING --- dspam/files/UPDATING 2014-01-23 16:14:07.000000000 -0800 +++ dspam-merge/files/UPDATING 2014-09-18 01:20:57.160382000 -0700 @@ -17,6 +17,35 @@ make extract; more `find . -type f -maxdepth 2 -name UPGRADING` ########################################################################### +# dspam-3.10.2 +# + +Upstream Changes: +- Support for Postgresql 9.1 added +- Support for Postgresql <8.1 dropped (EOL) +- Support for MySQL 5.5 added +- Support for MySQL <5.0 dropped +- Updated license from GPLv2 to AGPLv3 +- Bug in RSET handling during LHLO phase +- Location of configuration files in dspam home (/var/dspam) can be changed + through dspam.conf +- Various fixes to the webui templates +- Various small bugs and memleaks +- Missing documentation added to tarball +- Many bugfixes + +Port Changes: +- Merge mail/dspam-devel and mail/dspam (PR #193693) +- Port cleanup by various submitters, thanks! [1][2][3][4][5] + +[1] Patch from (PR #180695, #191610) +[2] Patch from Radim Kolar (PR #167289) +[3] Patch from Olli Hauer (PR #148485) +[4] Patch from (PR #191610) +[5] Patch from Rene Ladan (PR #191797) + + +########################################################################### # dspam-3.9.0 # diff -ur dspam/files/dspam.in dspam-merge/files/dspam.in --- dspam/files/dspam.in 2014-01-23 16:14:07.000000000 -0800 +++ dspam-merge/files/dspam.in 2014-09-18 00:27:40.111226000 -0700 @@ -1,6 +1,5 @@ #!/bin/sh # $FreeBSD: head/mail/dspam/files/dspam.in 340872 2014-01-24 00:14:07Z mat $ -# formerly $ FreeBSD: ports/mail/dspam/files/dspam,v 1.1 2005/05/05 21:03:37 pav Exp $ # # PROVIDE: dspam @@ -26,18 +25,15 @@ #defaults : ${dspam_enable="NO"} : ${dspam_debug="NO"} -pidfile=${dspam_pidfile:-/var/run/dspam.pid} +: ${dspam_pidfile:-/var/run/dspam.pid} command=%%PREFIX%%/bin/${name} -start_precmd=dspam_checkdebug -required_files=%%PREFIX%%/etc/${name}.conf +start_precmd=dspam_checkdebug extra_commands=reload -reload() -{ - kill -HUP `cat $pidfile` -} +required_dirs=%%DSPAM_HOME%% +required_files=%%PREFIX%%/etc/${name}.conf dspam_checkdebug() { @@ -49,6 +45,9 @@ fi } -required_dirs=%%DSPAM_HOME%% +reload() +{ + kill -HUP `cat $pidfile` +} run_rc_command "$1" Only in dspam/files: patch-scripts__train.pl diff -ur dspam/files/patch-src__dspam.conf.in dspam-merge/files/patch-src__dspam.conf.in --- dspam/files/patch-src__dspam.conf.in 2014-01-22 09:40:44.000000000 -0800 +++ dspam-merge/files/patch-src__dspam.conf.in 2014-09-18 00:44:34.662674873 -0700 @@ -1,14 +1,14 @@ ---- ./src/dspam.conf.in.orig 2010-01-11 23:21:58.000000000 +0200 -+++ ./src/dspam.conf.in 2010-01-17 18:49:37.000000000 +0200 +--- src/dspam.conf.in.orig 2014-09-18 00:33:02.874722063 -0700 ++++ src/dspam.conf.in 2014-09-18 00:41:49.434685786 -0700 @@ -56,6 +56,7 @@ # necessary if you plan on allowing untrusted processing. # #UntrustedDeliveryAgent "/usr/bin/procmail -d %u" -+#QuarantineAgent "@delivery_agent@" ++#UntrustedDeliveryAgent "@delivery_agent@" # - # SMTP or LMTP Delivery: Alternatively, you may wish to use SMTP or LMTP -@@ -330,7 +331,7 @@ + # SMTP or LMTP Delivery: Alternatively, you may wish to use SMTP or LMTP +@@ -350,7 +351,7 @@ # Storage driver settings: Specific to a particular storage driver. Uncomment # the configuration specific to your installation, if applicable. # @@ -17,7 +17,7 @@ #MySQLPort #MySQLUser dspam #MySQLPass changeme -@@ -341,7 +342,7 @@ +@@ -361,7 +362,7 @@ # If you are using replication for clustering, you can also specify a separate # server to perform all writes to. # @@ -26,21 +26,21 @@ #MySQLWritePort #MySQLWriteUser dspam #MySQLWritePass changeme -@@ -778,6 +779,7 @@ - #ServerHost 127.0.0.1 - #ServerPort 24 - #ServerQueueSize 32 -+# keep this is sync with /usr/local/etc/rc.d/dspam[.sh] rc.d script - #ServerPID /var/run/dspam.pid +@@ -406,7 +407,7 @@ + # in /var/run/postgresql/.s.PGSQL.5432 specify just the path where the socket + # resits (without .s.PGSQL.5432). - # -@@ -814,14 +816,15 @@ +-#PgSQLServer /var/run/postgresql/ ++#PgSQLServer /tmp/ + #PgSQLPort + #PgSQLUser dspam + #PgSQLPass changeme +@@ -845,14 +846,14 @@ # you are running the client and server on the same machine, as it eliminates # much of the bandwidth overhead. # -#ServerDomainSocketPath "/tmp/dspam.sock" -+# keep this is sync with /usr/local/etc/rc.d/dspam[.sh] rc.d script -+#ServerDomainSocketPath "/var/run/dspam.sock" ++#ServerDomainSocketPath "/var/run/dspam.sock" # # Client Mode: If you are running DSPAM in client/server mode, uncomment and diff -ur dspam/pkg-descr dspam-merge/pkg-descr --- dspam/pkg-descr 2014-01-22 07:44:51.000000000 -0800 +++ dspam-merge/pkg-descr 2014-09-16 23:28:21.733976000 -0700 @@ -4,4 +4,4 @@ for mail clients, other anti-spam tools, and similar projects requiring drop-in spam filtering. -WWW: http://dspam.nuclearelephant.com +WWW: http://dspam.sourceforge.net/ diff -ur dspam/pkg-message dspam-merge/pkg-message --- dspam/pkg-message 2014-01-22 07:52:06.000000000 -0800 +++ dspam-merge/pkg-message 2014-09-18 01:39:01.702543000 -0700 @@ -1,41 +1,15 @@ -------------------------------------------------------------------------------- - Reporting problems, asking questions: - - FreeBSD specific port-related problems/questions/patches: maintainer -(and ports@ if you feel the need); send-pr only if you get no timely reply - - dspam specific questions: dspam/dspam-dev mailing list (maintainer cc'ed) - - dspam specific patches: dspam/dspam-dev mailing list (maintainer cc'ed) - Please be sure to include in your email/pr relevant information such as: - uname -a, dspam --version, %%_VAR_DIR%%/db/ports/%%PORTNAME%%/options, MTA setup. -Asking about updates or telling me there is one: there's no need, I am one of -the developers. +########################################################################### -%%WebUI%% The CGI files had been installed in -%%WebUI%% %%WWWDIR%% -%%WebUI%% Copy -%%WebUI%% %%WWWDIR%%/default.prefs.sample -%%WebUI%% to -%%WebUI%% %%WWWDIR%%/default.prefs -%%WebUI%% and edit it to your needs. -%%WebUI%% Copy -%%WebUI%% %%WWWDIR%%/configure.pl.sample -%%WebUI%% to -%%WebUI%% %%WWWDIR%%/configure.pl -%%WebUI%% and edit it to your needs. -%%WebUI%% If you symlink this file in %%DSPAM_HOME%%/ -%%WebUI%% an administrator can edit these options in the DSPAM Admin Suite. -%%WebUI%% Define administrators by copying -%%WebUI%% %%WWWDIR%%/admins.sample -%%WebUI%% to -%%WebUI%% %%WWWDIR%%/admins -%%WebUI%% and edit the file to your needs. -%%WebUI%% If you have problems (after upgrading) check permissions. +%%WebUI%% The CGI files had been installed to: +%%WebUI%% %%WWWDIR%% +%%WebUI%% +%%DAEMON%% To enable the dspam deamon set dspam_enable="YES" in: +%%DAEMON%% /etc/rc.conf %%DAEMON%% -%%DAEMON%% To enable the dspam deamon put dspam_enable="YES" in your -%%DAEMON%% /etc/rc.conf + Additional setup instructions can be found at: + %%DOCSDIR%% + %%EXAMPLESDIR%% + +########################################################################### - You'll find additional setup instructions under - %%DOCSDIR%% -and - %%EXAMPLESDIR%% ------------------------------------------------------------------------------- diff -ur dspam/pkg-plist dspam-merge/pkg-plist --- dspam/pkg-plist 2014-08-05 21:34:23.000000000 -0700 +++ dspam-merge/pkg-plist 2014-09-18 01:34:53.806966000 -0700 @@ -1,8 +1,16 @@ -%%HASH%%bin/cssstat -%%HASH%%bin/csscompress %%HASH%%bin/cssclean +%%HASH%%bin/csscompress %%HASH%%bin/cssconvert +%%HASH%%bin/cssstat +@owner %%DSPAM_OWNER%% +@group %%DSPAM_GROUP%% +@mode %%DSPAM_MODE%% bin/dspam +@exec chown %%DSPAM_OWNER%%:%%DSPAM_GROUP%% %D/%F +@exec chmod %%DSPAM_MODE%% %D/%F +@mode +@group wheel +@owner root bin/dspamc bin/dspam_2sql bin/dspam_admin @@ -11,23 +19,25 @@ bin/dspam_dump bin/dspam_logrotate bin/dspam_merge +bin/dspam_notify %%PGSQL%%bin/dspam_pg2int8 bin/dspam_stats bin/dspam_train +@mode 0640 @owner %%DSPAM_OWNER%% @group %%DSPAM_GROUP%% -@mode 640 @sample etc/dspam.conf.sample +@exec chown %%DSPAM_OWNER%%:%%DSPAM_GROUP%% %D/%F +@exec chmod 0640 %D/%F +@group wheel +@owner root @mode -@group -@owner include/dspam/buffer.h include/dspam/config.h include/dspam/config_shared.h include/dspam/decode.h include/dspam/diction.h include/dspam/error.h -include/dspam/external_lookup.h include/dspam/heap.h include/dspam/libdspam.h include/dspam/libdspam_objects.h @@ -41,20 +51,24 @@ lib/libdspam.so.7 lib/libdspam.so.7.0.0 man/man1/dspam.1.gz +man/man1/dspam_admin.1.gz man/man1/dspam_clean.1.gz +man/man1/dspam_crc.1.gz man/man1/dspam_dump.1.gz +man/man1/dspam_logrotate.1.gz man/man1/dspam_merge.1.gz man/man1/dspam_stats.1.gz man/man1/dspam_train.1.gz -man/man3/libdspam.3.gz -man/man3/dspam_init.3.gz -man/man3/dspam_create.3.gz man/man3/dspam_addattribute.3.gz man/man3/dspam_attach.3.gz -man/man3/dspam_process.3.gz -man/man3/dspam_getsource.3.gz +man/man3/dspam_clearattributes.3.gz +man/man3/dspam_create.3.gz man/man3/dspam_destroy.3.gz man/man3/dspam_detach.3.gz +man/man3/dspam_getsource.3.gz +man/man3/dspam_init.3.gz +man/man3/dspam_process.3.gz +man/man3/libdspam.3.gz %%DYNAMIC%%%%HASH%%lib/dspam/libhash_drv.a %%DYNAMIC%%%%HASH%%lib/dspam/libhash_drv.so %%DYNAMIC%%%%HASH%%lib/dspam/libhash_drv.so.7 @@ -76,8 +90,10 @@ %%PORTDOCS%%%%DOCSDIR%%/CHANGELOG %%PORTDOCS%%%%DOCSDIR%%/LICENSE %%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/RELEASE.NOTES %%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD +%%PORTDOCS%%%%DOCSDIR%%/RELEASE.NOTES +%%PORTDOCS%%%%DOCSDIR%%/UPDATING +%%PORTDOCS%%%%DOCSDIR%%/UPGRADING %%PORTDOCS%%%%DOCSDIR%%/courier.txt %%PORTDOCS%%%%DOCSDIR%%/exim.txt %%PORTDOCS%%%%DOCSDIR%%/markov.txt @@ -89,8 +105,6 @@ %%PORTDOCS%%%%DOCSDIR%%/relay.txt %%PORTDOCS%%%%DOCSDIR%%/sendmail.txt %%PORTDOCS%%%%DOCSDIR%%/sqlite_drv.txt -%%PORTDOCS%%%%DOCSDIR%%/UPDATING -%%PORTDOCS%%%%DOCSDIR%%/UPGRADING %%PORTDOCS%%@dirrm %%DOCSDIR%% %%PORTEXAMPLES%%%%MYSQL%%%%EXAMPLESDIR%%/mysql/mysql_objects-4.1.sql %%PORTEXAMPLES%%%%MYSQL%%%%EXAMPLESDIR%%/mysql/mysql_objects-space.sql @@ -228,6 +242,14 @@ firstspam.txt.sample quarantinefull.txt.sample @cwd / -@dirrmtry %%LOG_DIR%% +@owner %%DSPAM_HOME_OWNER%% +@group %%DSPAM_HOME_GROUP%% +@mode %%DSPAM_HOME_MODE%% @dirrm %%DSPAM_HOME%% +@mode @exec chown %%DSPAM_HOME_OWNER%%:%%DSPAM_HOME_GROUP%% %%DSPAM_HOME%% +@exec chmod %%DSPAM_HOME_MODE%% %%DSPAM_HOME%% +@exec chown %%DSPAM_HOME_OWNER%%:%%DSPAM_HOME_GROUP%% %%LOG_DIR%% +@dirrmtry %%LOG_DIR%% +@group wheel +@owner root