Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 2014 10:39:31 +0000 (UTC)
From:      Vsevolod Stakhov <vsevolod@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361050 - in head/mail/exim: . files
Message-ID:  <201407071039.s67AdVAp099950@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vsevolod
Date: Mon Jul  7 10:39:30 2014
New Revision: 361050
URL: http://svnweb.freebsd.org/changeset/ports/361050
QAT: https://qat.redports.org/buildarchive/r361050/

Log:
  - Enable compiler flags responsive for exporting symbols to the elf file.
   This is specifically important for DSO modules enabled in exim by default.
   Without these flags modules were unable to use exim's API that has made this
   feature completely unusable. [1]
  - Fix minor issue with strip command by passing STRIP_CMD in the MAKE_ENV
  - Bump portrevision
  
  Submitted by:	Victor Ustugov <victor at corvax.kiev.ua>

Modified:
  head/mail/exim/Makefile
  head/mail/exim/files/patch-src::EDITME

Modified: head/mail/exim/Makefile
==============================================================================
--- head/mail/exim/Makefile	Mon Jul  7 10:29:17 2014	(r361049)
+++ head/mail/exim/Makefile	Mon Jul  7 10:39:30 2014	(r361050)
@@ -3,7 +3,7 @@
 
 PORTNAME=	exim
 PORTVERSION?=	${EXIM_VERSION}
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	mail ipv6
 MASTER_SITES=	${MASTER_SITE_EXIM:S/$/:exim/}
 MASTER_SITE_SUBDIR=	exim4/:exim
@@ -130,7 +130,7 @@ PORT_EXAMPLES=	convert4r3 convert4r4 tra
 
 DAILY_SCRIPTS=	150.exim-tidydb 460.exim-mail-rejects
 
-MAKE_ENV+=	OSTYPE="${OPSYS}" ARCHTYPE="${ARCH}" DUMMY_LDFLAGS="${DUMMY_LDFLAGS}"
+MAKE_ENV+=	OSTYPE="${OPSYS}" ARCHTYPE="${ARCH}" DUMMY_LDFLAGS="${DUMMY_LDFLAGS}" STRIP_COMMAND="${STRIP_CMD}"
 
 EXIM_USER?=	mailnull
 EXIM_GROUP?=	mail
@@ -148,6 +148,8 @@ LOG_FILE_PATH?=		${LOGDIR}/%slog
 CONFIG_FILE_PATH?=	${PREFIX}/etc/exim/configure
 ALT_CONFIG_PREFIX?=	${PREFIX}/etc/exim/
 
+EXIM_DYNAMIC_LDFLAGS=	-fPIC -rdynamic -export-dynamic
+
 SED_SCRIPT=	-e 's,%%PREFIX%%,${PREFIX},g' \
 		-e 's,%%DOCSDIR%%,${DOCSDIR},g' \
 		-e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g' \
@@ -163,7 +165,8 @@ SEDLIST+=	-e 's,XX_CFLAGS_XX,${CFLAGS:S/
 		-e 's,XX_ALT_CONFIG_PREFIX_XX,${ALT_CONFIG_PREFIX:S/,/\\,/g},' \
 		-e 's,XX_EXIM_USER_XX,${EXIM_USER:S/,/\\,/g},' \
 		-e 's,XX_EXIM_GROUP_XX,${EXIM_GROUP:S/,/\\,/g},' \
-		-e 's,XX_DEFAULT_CHARSET_XX,${WITH_DEFAULT_CHARSET:S/,/\\,/g},'
+		-e 's,XX_DEFAULT_CHARSET_XX,${WITH_DEFAULT_CHARSET:S/,/\\,/g},' \
+		-e 's,XX_DYNAMIC_LDFLAGS_XX,${EXIM_DYNAMIC_LDFLAGS:S/,/\\,/g},'
 
 PLIST_SUB+=	EXIM_VERSION="${EXIM_VERSION}-${PORTREVISION}" \
 		EXIM_USER=${EXIM_USER} \

Modified: head/mail/exim/files/patch-src::EDITME
==============================================================================
--- head/mail/exim/files/patch-src::EDITME	Mon Jul  7 10:29:17 2014	(r361049)
+++ head/mail/exim/files/patch-src::EDITME	Mon Jul  7 10:39:30 2014	(r361050)
@@ -123,7 +123,7 @@
  # but of course there may need to be other things in CFLAGS and EXTRALIBS_EXIM
  # as well.
 +CFLAGS=XX_CFLAGS_XX XX_SPF_FLAGS_XX XX_SRS_FLAGS_XX XX_SQLITE_FLAGS_XX
-+EXTRALIBS=XX_TCP_WRAPPERS_LIBS_XX XX_PAM_LIBS_XX XX_ICONV_LIBS_XX XX_SPF_LIBS_XX XX_SRS_LIBS_XX XX_RADIUS_LIBS_XX XX_SQLITE_LIBS_XX XX_DMARC_LIBS_XX XX_REDIS_LIBS_XX
++EXTRALIBS=XX_TCP_WRAPPERS_LIBS_XX XX_PAM_LIBS_XX XX_ICONV_LIBS_XX XX_SPF_LIBS_XX XX_SRS_LIBS_XX XX_RADIUS_LIBS_XX XX_SQLITE_LIBS_XX XX_DMARC_LIBS_XX XX_REDIS_LIBS_XX XX_DYNAMIC_LDFLAGS_XX
  #
  # To use a name other than exim in the tcpwrappers config file,
  # e.g. if you're running multiple daemons with different access lists,



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