summaryrefslogtreecommitdiff
path: root/mail/sendmail
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2006-06-15 04:37:19 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2006-06-15 04:37:19 +0000
commitee605b40b48f60c8a591e179ae294e17400a979c (patch)
treef5af50dcd35e517367dd6109187dcf0260718f36 /mail/sendmail
parent- Correct the 'CONFLICTS' specification. (diff)
- Apply Patch for shared memory
http://www.sendmail.org/releases/8.13.7.html#ERRATA
Notes
Notes: svn path=/head/; revision=165488
Diffstat (limited to 'mail/sendmail')
-rw-r--r--mail/sendmail/Makefile1
-rw-r--r--mail/sendmail/files/patch-queue.c18
2 files changed, 19 insertions, 0 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 39fbbc11567f..4c1cbb81616b 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -7,6 +7,7 @@
PORTNAME= sendmail
PORTVERSION= 8.13.7
+PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/sendmail/&,}
diff --git a/mail/sendmail/files/patch-queue.c b/mail/sendmail/files/patch-queue.c
new file mode 100644
index 000000000000..3c059265f939
--- /dev/null
+++ b/mail/sendmail/files/patch-queue.c
@@ -0,0 +1,18 @@
+Index: queue.c
+===================================================================
+RCS file: /cvs/sendmail/queue.c,v
+retrieving revision 8.954
+retrieving revision 8.954.2.2
+diff -u -r8.954 -r8.954.2.2
+--- sendmail/queue.c 22 Apr 2006 01:07:00 -0000 8.954
++++ sendmail/queue.c 14 Jun 2006 21:50:56 -0000 8.954.2.2
+@@ -6695,8 +6695,7 @@
+ static time_t nextupdate = 0;
+
+ #if SM_CONF_SHM
+- /* only the daemon updates this structure */
+- if (ShmId == SM_SHM_NO_ID || DaemonPid != CurrentPid)
++ if (ShmId == SM_SHM_NO_ID && DaemonPid != CurrentPid)
+ return;
+ #endif /* SM_CONF_SHM */
+ now = curtime();