diff options
Diffstat (limited to 'mail/clamsmtp')
-rw-r--r-- | mail/clamsmtp/Makefile | 13 | ||||
-rw-r--r-- | mail/clamsmtp/PLIST | 5 | ||||
-rw-r--r-- | mail/clamsmtp/distinfo | 6 | ||||
-rw-r--r-- | mail/clamsmtp/files/clamsmtpd.sh | 6 |
4 files changed, 20 insertions, 10 deletions
diff --git a/mail/clamsmtp/Makefile b/mail/clamsmtp/Makefile index 5a0fd576ae8..6b800fed628 100644 --- a/mail/clamsmtp/Makefile +++ b/mail/clamsmtp/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.8 2004/08/30 06:52:30 xtraeme Exp $ +# $NetBSD: Makefile,v 1.9 2004/09/21 10:16:05 xtraeme Exp $ -DISTNAME= clamsmtp-0.7 +DISTNAME= clamsmtp-0.8 CATEGORIES= mail MASTER_SITES= http://memberwebs.com/nielsen/software/clamsmtp/ @@ -21,5 +21,14 @@ FILES_SUBST+= CLAMAV_USER=${CLAMAV_USER} # Doesn't work with GNU pth (missing required mutex features) PTHREAD_OPTS+= require native +EGDIR= ${PREFIX}/share/examples/${PKGBASE} +CONF_FILES= ${EGDIR}/clamsmtpd.conf \ + ${PKG_SYSCONFDIR}/clamsmtpd.conf + +INSTALLATION_DIRS= share/examples/${PKGBASE} + +post-install: + ${INSTALL_DATA} ${WRKSRC}/doc/clamsmtpd.conf ${EGDIR} + .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/mail/clamsmtp/PLIST b/mail/clamsmtp/PLIST index eba12ff31e7..2b52abd913f 100644 --- a/mail/clamsmtp/PLIST +++ b/mail/clamsmtp/PLIST @@ -1,3 +1,6 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/21 03:54:24 xtraeme Exp $ +@comment $NetBSD: PLIST,v 1.2 2004/09/21 10:16:05 xtraeme Exp $ man/man8/clamsmtpd.8 +man/man5/clamsmtpd.conf.5 sbin/clamsmtpd +share/examples/clamsmtp/clamsmtpd.conf +@dirrm share/examples/clamsmtp diff --git a/mail/clamsmtp/distinfo b/mail/clamsmtp/distinfo index 0a9184ad00c..e1ffcdd1d1c 100644 --- a/mail/clamsmtp/distinfo +++ b/mail/clamsmtp/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2004/08/30 06:52:30 xtraeme Exp $ +$NetBSD: distinfo,v 1.6 2004/09/21 10:16:05 xtraeme Exp $ -SHA1 (clamsmtp-0.7.tar.gz) = a44bb901cd475234124060af91b7d6b6c64aebea -Size (clamsmtp-0.7.tar.gz) = 121807 bytes +SHA1 (clamsmtp-0.8.tar.gz) = 89a3c1728702236e6a8654530cbf6bd86a462354 +Size (clamsmtp-0.8.tar.gz) = 128783 bytes diff --git a/mail/clamsmtp/files/clamsmtpd.sh b/mail/clamsmtp/files/clamsmtpd.sh index 1a7488e7ce3..d9526f7d316 100644 --- a/mail/clamsmtp/files/clamsmtpd.sh +++ b/mail/clamsmtp/files/clamsmtpd.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: clamsmtpd.sh,v 1.3 2004/08/04 06:50:16 jlam Exp $ +# $NetBSD: clamsmtpd.sh,v 1.4 2004/09/21 10:16:05 xtraeme Exp $ # # PROVIDE: clamsmtpd # REQUIRE: LOGIN clamd @@ -26,7 +26,6 @@ name="clamsmtpd" rcvar=$name command="@PREFIX@/sbin/${name}" pidfile=/var/run/clamsmtpd.pid -: ${clamsmtpd_addr="localhost:10026"} start_precmd="clamsmtpd_prestart" start_cmd="clamsmtpd_start" @@ -39,7 +38,6 @@ if [ -f "${clamav_conffile}" ]; then : ${clamsmtpd_user=`@AWK@ 'BEGIN {r = "@CLAMAV_USER@"}; /^#/ {next}; /^User[ ]/ {r = $2}; END {print r}' ${clamav_conffile}`} - : ${clamsmtpd_flags="-c ${socket}"} else : ${clamsmtpd_user="@CLAMAV_USER@"} fi @@ -53,7 +51,7 @@ clamsmtpd_prestart() clamsmtpd_start() { @ECHO@ "Starting ${name}." - doit="${command} ${clamsmtpd_flags} -p ${pidfile} ${clamsmtpd_addr}" + doit="${command} ${clamsmtpd_flags} -p ${pidfile}" @SU@ -m ${clamsmtpd_user} -c "$doit" } |