Date: Mon, 14 Nov 2005 16:15:11 GMT From: skv@FreeBSD.org To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/89011: Change port: mail/exim - add DomainKeys support Message-ID: <200511141615.jAEGFBH4034273@freefall.freebsd.org> Resent-Message-ID: <200511141620.jAEGK9aU034390@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 89011 >Category: ports >Synopsis: Change port: mail/exim - add DomainKeys support >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Nov 14 16:20:09 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Sergey Skvortsov >Release: FreeBSD 4.11-STABLE i386 >Organization: <Organization of PR author (multiple lines)> >Environment: <Relevant environment information (multiple lines)> >Description: Add Yahoo DomainKeys support to Exim port. >How-To-Repeat: <Code/input/activities to reproduce the problem (multiple lines)> >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/exim/Makefile,v retrieving revision 1.209 diff -u -r1.209 Makefile --- Makefile 8 Oct 2005 22:02:37 -0000 1.209 +++ Makefile 14 Nov 2005 16:04:34 -0000 @@ -229,6 +229,9 @@ # Enable Sender Policy Framework (SPF) checking in exiscan-acl #WITH_SPF= yes # +# Enable DomainKeys support +#WITH_DOMAINKEYS= yes +# # Enable Sender Rewriting Scheme (SRS) #WITH_SRS= yes # @@ -494,6 +497,15 @@ -e 's,XX_SPF_LIBS_XX,,' .endif +.if defined(WITH_DOMAINKEYS) +LIB_DEPENDS+= domainkeys.3:${PORTSDIR}/mail/libdomainkeys +SEDLIST+= -e 's,XX_DOMAINKEYS_FLAGS_XX,-DDOMAINKEYS,' \ + -e 's,XX_DOMAINKEYS_LIBS_XX,-ldomainkeys,' \ + -e 's,^\# (EXPERIMENTAL_DOMAINKEYS=),\1,' +.else +SEDLIST+= -e 's,XX_DOMAINKEYS_FLAGS_XX,,; s,XX_DOMAINKEYS_LIBS_XX,,' +.endif + .if defined(WITH_SRS) LIB_DEPENDS+= srs2.0:${PORTSDIR}/mail/libsrs2 SEDLIST+= -e 's,XX_SRS_FLAGS_XX,-DSRS,' \ Index: options =================================================================== RCS file: /home/ncvs/ports/mail/exim/options,v retrieving revision 1.6 diff -u -r1.6 options --- options 28 Sep 2005 10:12:53 -0000 1.6 +++ options 14 Nov 2005 16:04:08 -0000 @@ -131,6 +131,10 @@ # srs_recipient (string*) SRS recipient # srs_status (string*) SRS status +#WITHOUT_DOMAINKEYS +# Enable Yahoo DomainKeys support +# DomainKeys support depends on exiscan. + #WITHOUT_TCP_WRAPPERS # Link against libwrap to support /etc/hosts.allow access control. @@ -262,6 +266,9 @@ .ifndef WITH_SRS WITHOUT_SRS?=yes .endif +.ifndef WITH_DOMAINKEYS +WITH_DOMAINKEYS?=yes +.endif .ifndef WITH_TCP_WRAPPERS WITHOUT_TCP_WRAPPERS?=yes .endif Index: files/patch-src::EDITME =================================================================== RCS file: /home/ncvs/ports/mail/exim/files/patch-src::EDITME,v retrieving revision 1.23 diff -u -r1.23 patch-src::EDITME --- files/patch-src::EDITME 28 Sep 2005 10:12:53 -0000 1.23 +++ files/patch-src::EDITME 14 Nov 2005 16:05:06 -0000 @@ -120,8 +120,8 @@ -# CFLAGS=-O -I/usr/local/include -# EXTRALIBS_EXIM=-L/usr/local/lib -lwrap -# -+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 ++CFLAGS=XX_CFLAGS_XX XX_SPF_FLAGS_XX XX_SRS_FLAGS_XX XX_DOMAINKEYS_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_DOMAINKEYS_LIBS_XX XX_RADIUS_LIBS_XX XX_SQLITE_LIBS_XX + # but of course there may need to be other things in CFLAGS and EXTRALIBS_EXIM # as well. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511141615.jAEGFBH4034273>