ports/57781: option to build mail/sendmail w/o shared memory support

Alex Vasylenko lxv at send2pr.sink.omut.org
Thu Oct 9 03:30:17 UTC 2003


>Number:         57781
>Category:       ports
>Synopsis:       option to build mail/sendmail w/o shared memory support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 08 20:30:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alex Vasylenko
>Release:        FreeBSD 4.8-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD 4.8-RELEASE-p4


	
>Description:
	Port mail/sendmail fails to build from within a jail when jail.sysvipc_allowed=0
>How-To-Repeat:
	Login into a jail && cd /usr/ports/mail/sendmail && make
	
>Fix:

diff -ur --unidirectional-new-file /usr/ports/mail/sendmail/Makefile ./Makefile
--- /usr/ports/mail/sendmail/Makefile	Wed Sep 24 10:25:30 2003
+++ ./Makefile	Wed Oct  8 20:21:40 2003
@@ -39,6 +39,7 @@
 # SENDMAIL_WITH_SASL2=yes
 # SENDMAIL_WITH_LDAP=yes
 # SENDMAIL_WITH_PICKY_HELO_CHECK=yes
+# SENDMAIL_WITHOUT_SHMEM=yes
 
 .if defined(SENDMAIL_WITH_SMTPS)
 .if !defined(SENDMAIL_WITH_TLS) && !defined(WITH_TLS)
@@ -87,6 +88,9 @@
 .endif
 .if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS)
 USE_OPENSSL=	yes
+.endif
+.if defined(SENDMAIL_WITHOUT_SHMEM)
+SITE+=	${FILESDIR}/site.config.m4.noshmem
 .endif
 
 # install directly if no mailwrapper support
diff -ur --unidirectional-new-file /usr/ports/mail/sendmail/files/site.config.m4.noshmem ./files/site.config.m4.noshmem
--- /usr/ports/mail/sendmail/files/site.config.m4.noshmem	Wed Dec 31 16:00:00 1969
+++ ./files/site.config.m4.noshmem	Wed Oct  8 19:43:09 2003
@@ -0,0 +1 @@
+APPENDDEF(`confENVDEF', `-DSM_CONF_SHM=0')
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list