| Summary: | Add socket map support to the sendmail port (from 8.13.0) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Michael O. Boev <mike> | ||||||
| Component: | Individual Port(s) | Assignee: | Dirk Meyer <dinoex> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Only Me | ||||||||
| Priority: | Normal | ||||||||
| Version: | Latest | ||||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
Responsible Changed From-To: freebsd-ports-bugs->dinoex Over to maintainer. State Changed From-To: open->feedback patch does not apply. your mailere rapped the lines in the patch, please resubmit again in a followup to this PR The patch is now also at: http://tric.ru/users/mike/20040326/extra-patch-socketmap.patch The WHOLE port patch is also there: http://tric.ru/users/mike/20040326/sendmail.port Thanks. State Changed From-To: feedback->closed committed with minor changes, thanks. Now that the port is at 8.13.0, the socketmap.patch patch (backport to
8.12) is redundant and breaks the port.
So, please,
1) remove the files/socketmap.patch file from the mail/sendmail
directory and
2) remove the reference to it from Makefile.
--- sendmail.orig/Makefile Mon Jul 19 03:27:46 2004
+++ sendmail/Makefile Thu Jul 22 12:33:47 2004
@@ -100,9 +100,6 @@
.else
CONFLICTS+= sendmail*+sasl2*-8.*
.endif
-.if defined(SENDMAIL_WITH_SOCKETMAP)
-EXTRA_PATCHES+= ${FILESDIR}/socketmap.patch
-.endif
.if defined(SENDMAIL_WITH_CYRUSLOOKUP)
EXTRA_PATCHES+= ${FILESDIR}/cyruslookup.patch
.endif
This way the port builds with SENDMAIL_WITH_SOCKETMAP or
SENDMAIL_WITH_CYRUSLOOKUP defined.
|
This will allow for easier integration with e.g. ports/mail/cyrus-imapd22, which already includes smmapd for realtime checking whether the mailbox exists and is not over quota. The patch adds 1) an extra knob in Makefile (WITH_SENDMAIL_SOCKETMAP). 2) the knob adds SITE+= ${FILESDIR}/site.config.m4.socketmap and EXTRA_PATCHES+= ${FILESDIR}/extra-patch-socketmap.patch 3) the extra-patch-socketmap.patch is actually http://www.sendmail.org/~ca/email/patches/sendmail-8.12.7-socketmap-v4.patch slightly hacked (the pathnames) so it cleanly applies through ports(7). Fix: Please apply the following diff... PORTNAME= sendmail PORTVERSION= 8.12.11 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/sendmail/&,} @@ -96,6 +97,10 @@ .endif .if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS) USE_OPENSSL= yes +.endif +.if defined(SENDMAIL_WITH_SOCKETMAP) +SITE+= ${FILESDIR}/site.config.m4.socketmap +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-socketmap.patch .endif # install directly if no mailwrapper support diff -ruN sendmail.orig/files/extra-patch-socketmap.patch sendmail/files/extra-patch-socketmap.patch