pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Update mail/clamsmtp to 0.8.
details: https://anonhg.NetBSD.org/pkgsrc/rev/c37f5c4ecc4e
branches: trunk
changeset: 480830:c37f5c4ecc4e
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Tue Sep 21 10:16:05 2004 +0000
description:
Update mail/clamsmtp to 0.8.
Changes:
0.8
- clamsmtpd now uses a configuration file
- Transparent proxy support [Andreas Steinmetz]
- Compile option -Wall only enabled on debug builds
- Sample script changed due to configuartion file
- Fixed other minor bugs
diffstat:
doc/CHANGES | 3 ++-
mail/clamsmtp/Makefile | 13 +++++++++++--
mail/clamsmtp/PLIST | 5 ++++-
mail/clamsmtp/distinfo | 6 +++---
mail/clamsmtp/files/clamsmtpd.sh | 6 ++----
5 files changed, 22 insertions(+), 11 deletions(-)
diffs (99 lines):
diff -r c9fff3f99aa9 -r c37f5c4ecc4e doc/CHANGES
--- a/doc/CHANGES Tue Sep 21 08:42:03 2004 +0000
+++ b/doc/CHANGES Tue Sep 21 10:16:05 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.7193 2004/09/21 08:42:03 wiz Exp $
+$NetBSD: CHANGES,v 1.7194 2004/09/21 10:16:05 xtraeme Exp $
Changes to the packages collection and infrastructure in 2004:
@@ -4300,3 +4300,4 @@
Updated verilog-current to 20040915 [dmcmahill 2004-09-21]
Updated bidwatcher to 1.3.16 [tron 2004-09-21]
Updated libmikmod to 3.1.11.1 [wiz 2004-09-21]
+ Updated clamsmtp to 0.8 [xtraeme 2004-09-21]
diff -r c9fff3f99aa9 -r c37f5c4ecc4e mail/clamsmtp/Makefile
--- a/mail/clamsmtp/Makefile Tue Sep 21 08:42:03 2004 +0000
+++ b/mail/clamsmtp/Makefile Tue Sep 21 10:16:05 2004 +0000
@@ -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 @@
# 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 -r c9fff3f99aa9 -r c37f5c4ecc4e mail/clamsmtp/PLIST
--- a/mail/clamsmtp/PLIST Tue Sep 21 08:42:03 2004 +0000
+++ b/mail/clamsmtp/PLIST Tue Sep 21 10:16:05 2004 +0000
@@ -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 -r c9fff3f99aa9 -r c37f5c4ecc4e mail/clamsmtp/distinfo
--- a/mail/clamsmtp/distinfo Tue Sep 21 08:42:03 2004 +0000
+++ b/mail/clamsmtp/distinfo Tue Sep 21 10:16:05 2004 +0000
@@ -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 -r c9fff3f99aa9 -r c37f5c4ecc4e mail/clamsmtp/files/clamsmtpd.sh
--- a/mail/clamsmtp/files/clamsmtpd.sh Tue Sep 21 08:42:03 2004 +0000
+++ b/mail/clamsmtp/files/clamsmtpd.sh Tue Sep 21 10:16:05 2004 +0000
@@ -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 @@
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 @@
: ${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_start()
{
@ECHO@ "Starting ${name}."
- doit="${command} ${clamsmtpd_flags} -p ${pidfile} ${clamsmtpd_addr}"
+ doit="${command} ${clamsmtpd_flags} -p ${pidfile}"
@SU@ -m ${clamsmtpd_user} -c "$doit"
}
Home |
Main Index |
Thread Index |
Old Index