Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Oct 2003 20:27:25 -0700 (PDT)
From:      Alex Vasylenko <lxv@send2pr.sink.omut.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Dirk Meyer <dinoex@FreeBSD.org>
Subject:    ports/57781: option to build mail/sendmail w/o shared memory support
Message-ID:  <200310090327.h993RPB1058444@mix.omut.org>
Resent-Message-ID: <200310090330.h993UFhv039644@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310090327.h993RPB1058444>