mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-05 11:35:01 +00:00
* Remove old saslauthd bugfix, included in 4.24.
* Add bugfix for numeric overflow. * Update clamav installation instructions for changes to the clamav port. Bump PORTREVISION accordingly. Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com>
This commit is contained in:
parent
1ee54f7360
commit
2f8efac5b6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92561
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= exim
|
||||
PORTVERSION= 4.24
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ${MASTER_SITE_EXIM}
|
||||
MASTER_SITE_SUBDIR= exim4
|
||||
|
@ -3,10 +3,10 @@ It is important to follow them in sequence.
|
||||
|
||||
* Install security/clamav from the ports tree.
|
||||
|
||||
* Add user clamav to the mail group in /etc/group.
|
||||
* Confirm that user clamav was added to the mail group in /etc/group.
|
||||
|
||||
* Create /var/log/clamav and /var/run/clamav, and change the ownership
|
||||
of both to clamav:clamav.
|
||||
* Confirm that /var/log/clamav and /var/run/clamav exist and are owned
|
||||
by clamav:clamav.
|
||||
|
||||
* In Exim's configure file, set av_scanner=clamd:/var/run/clamav/clamd
|
||||
|
||||
@ -28,47 +28,18 @@ It is important to follow them in sequence.
|
||||
|
||||
You may wish to make other changes as well.
|
||||
|
||||
* Install the shell script included at the end of these instructions as
|
||||
/usr/local/etc/rc.d/clamd.sh, taking care to make it executable.
|
||||
* Make sure clamd_enable="YES" has been added to /etc/rc.conf; this is
|
||||
required by the clamav port's startup script,
|
||||
%%RC_DIR%%/clamd%%RC_SUFX%% .
|
||||
|
||||
* Run freshclam.
|
||||
|
||||
* Add a cron job that runs freshclam --daemon-notify --quiet at least
|
||||
once a day.
|
||||
|
||||
* Start clamd with /usr/local/etc/rc.d/clamd.sh start .
|
||||
* Start clamd with %%RC_DIR%%/clamd%%RC_SUFX%% start .
|
||||
|
||||
* Start Exim with %%RC_DIR%%/exim%%RC_SUFX%% start .
|
||||
|
||||
Sheldon Hearn <sheldonh@FreeBSD.org>
|
||||
|
||||
#!/bin/sh
|
||||
#
|
||||
PREFIX=/usr/local
|
||||
CLAMAV_BIN=${PREFIX}/sbin
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
[ -x ${CLAMAV_BIN}/clamd ] && {
|
||||
${CLAMAV_BIN}/clamd
|
||||
echo -n ' clamd'
|
||||
}
|
||||
;;
|
||||
|
||||
stop)
|
||||
kill `cat /var/run/clamav/clamd.pid`
|
||||
if [ $? = 0 ] ; then
|
||||
echo -n ' clamd'
|
||||
fi
|
||||
;;
|
||||
|
||||
restart)
|
||||
/usr/local/etc/rc.d/clamd.sh stop && \
|
||||
/usr/local/etc/rc.d/clamd.sh start
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "usage: `basename $0` {start|stop|restart}" >&2
|
||||
exit 64
|
||||
;;
|
||||
esac
|
||||
|
@ -1,12 +1,10 @@
|
||||
--- src/expand.c.orig Mon Aug 18 14:52:54 2003
|
||||
+++ src/expand.c Fri Aug 29 17:51:12 2003
|
||||
@@ -1462,6 +1462,9 @@
|
||||
if (yield != NULL)
|
||||
{
|
||||
int rc;
|
||||
+
|
||||
+ if ( sub[2] == NULL ) sub[3] = NULL;
|
||||
+
|
||||
rc = auth_call_saslauthd(sub[0], sub[1], sub[2], sub[3],
|
||||
&expand_string_message);
|
||||
if (rc == ERROR || rc == DEFER) return NULL;
|
||||
--- /var/tmp/usr/ports/mail/exim/work/exim-4.24/src/expand.c.orig Mon Sep 22 10:29:56 2003
|
||||
+++ /var/tmp/usr/ports/mail/exim/work/exim-4.24/src/expand.c Tue Oct 28 15:39:43 2003
|
||||
@@ -4114,6 +4114,7 @@
|
||||
|
||||
if (s == NULL) return -1;
|
||||
|
||||
+errno = 0;
|
||||
value = strtol(CS s, CSS &endptr, 0);
|
||||
|
||||
if (endptr == s)
|
||||
|
Loading…
x
Reference in New Issue
Block a user