diff options
author | Fabian Groffen <grobian@gentoo.org> | 2011-02-01 11:42:02 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2011-02-01 11:42:02 +0000 |
commit | ec7a9acbad715e82042af1778a9006d9e0a577e0 (patch) | |
tree | 6cf0614b16febf93aee23cfeaabb5760e9afb2d3 /mail-mta | |
parent | Version bump to 1.9.2 (diff) | |
download | historical-ec7a9acbad715e82042af1778a9006d9e0a577e0.tar.gz historical-ec7a9acbad715e82042af1778a9006d9e0a577e0.tar.bz2 historical-ec7a9acbad715e82042af1778a9006d9e0a577e0.zip |
Grabbed some fixes from upstream to resolve misc building issues
Package-Manager: portage-2.1.9.24/cvs/Linux x86_64
Diffstat (limited to 'mail-mta')
-rw-r--r-- | mail-mta/exim/ChangeLog | 9 | ||||
-rw-r--r-- | mail-mta/exim/Manifest | 7 | ||||
-rw-r--r-- | mail-mta/exim/exim-4.74-r1.ebuild (renamed from mail-mta/exim/exim-4.74.ebuild) | 6 | ||||
-rw-r--r-- | mail-mta/exim/files/exim-4.74-makefile-command-envs.patch | 59 | ||||
-rw-r--r-- | mail-mta/exim/files/exim-4.74-makefile-posix.patch | 86 | ||||
-rw-r--r-- | mail-mta/exim/files/exim-4.74-pcre.patch | 29 |
6 files changed, 192 insertions, 4 deletions
diff --git a/mail-mta/exim/ChangeLog b/mail-mta/exim/ChangeLog index 91e3368878f4..e5ea63d449f6 100644 --- a/mail-mta/exim/ChangeLog +++ b/mail-mta/exim/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for mail-mta/exim # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.174 2011/02/01 08:03:32 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.175 2011/02/01 11:42:02 grobian Exp $ + +*exim-4.74-r1 (01 Feb 2011) + + 01 Feb 2011; Fabian Groffen <grobian@gentoo.org> -exim-4.74.ebuild, + +exim-4.74-r1.ebuild, +files/exim-4.74-makefile-command-envs.patch, + +files/exim-4.74-makefile-posix.patch, +files/exim-4.74-pcre.patch: + Grabbed some fixes from upstream to resolve misc building issues *exim-4.74 (01 Feb 2011) diff --git a/mail-mta/exim/Manifest b/mail-mta/exim/Manifest index ba609084cd27..24c8d7018a80 100644 --- a/mail-mta/exim/Manifest +++ b/mail-mta/exim/Manifest @@ -3,6 +3,9 @@ AUX exim-4.14-tail.patch 446 RMD160 685e27ff995710f3b8d77d8785b04503170e7e27 SHA AUX exim-4.20-maildir.patch 478 RMD160 50c6a1dd6ae3f7bb1776696d3d0d7a161c351fce SHA1 c8287f7e44d93b0ca8761b8f7111974cfe1280a5 SHA256 2704c4db67bb7c58c2421656d942f533d1eedf1df187e76297ab72d2c2a2fb4c AUX exim-4.43-r2-localscan_dlopen.patch 9236 RMD160 d33f7bcf72f947e8d1a3d917713630100c175491 SHA1 e4239a1bf0261f99491b4a29b26bbe8d9beffbd8 SHA256 3ec15d2dfdf251c70647c3def09711385f23983eceeecb6ec9d42b39f54b198d AUX exim-4.69-r1.27021.patch 1447 RMD160 79269b955efee9c4bb99fc99cc026ec1b48f9712 SHA1 6c00bf72b31e51973efef2308f109ff90e077815 SHA256 dc81115be1324cf2d61ff2e2393462bd31aa63551a8b58d9dac39293bec058d5 +AUX exim-4.74-makefile-command-envs.patch 2157 RMD160 d84238bfc27c2b43e125416480824a06055b2eda SHA1 14c6cc1ca8e90ce32b9daa9c9349029d16e8db10 SHA256 78d37ada9eca81e5af0ff8d0b72ee50ac10f82e96febd9a0df21ac4dd04b3a87 +AUX exim-4.74-makefile-posix.patch 2481 RMD160 16dd801d493052bac75dad5681d690c13ae7997b SHA1 66403644bdd439246e0dcba5fb9845d285fe0308 SHA256 8c298b869556ba3f84256081acb23e487f9e56509da1c3153915bfd6bae3f7cc +AUX exim-4.74-pcre.patch 901 RMD160 9092fddcbe708324edf97c61e5054ad96cc2e9b6 SHA1 9e95c060806bd58b988d792e6b2a09df498cac5d SHA256 aa5dddba316473be96deaab4ecbc1ed391e231eeabcc78b47ac2baad75184a31 AUX exim.confd 62 RMD160 d8dcabf184ffb9066ad45c3e77cce1ec0392a143 SHA1 c56feda3c3193fad26852310da8ef24ef91f60f6 SHA256 668f912565a59926957090c6143f669f0e9de2cf441507d3c05fcd046865b401 AUX exim.logrotate 194 RMD160 a92ecf3088d66e712797180a229a76c8130d7dae SHA1 0186763995134f2ce11d9562e0ac8c89a061543c SHA256 2265e5b73d8268575dbbc79d85b36dcd4724cb5da399d91e6225760cf524c1a4 AUX exim.rc6 731 RMD160 07036a18cf072edb4a44b2ecdee21274542d1740 SHA1 bc92933d66befc68906bf9a5b83091c606323c1e SHA256 7c13ad60d4c6c9a29071aff8b68e81a6dd513b018cf0774e446c1afc3dcdc3c4 @@ -14,6 +17,6 @@ DIST system_filter.exim.gz 3075 RMD160 47bcc6de402d896b73fd01d7f0d3c3ecbad9cf0b EBUILD exim-4.71.ebuild 9916 RMD160 a708d38ba81a15700d9810c6f22f972cdc312fff SHA1 a15878207dda69b4d220777df9248ef62def1248 SHA256 7068644545877b382d370b15525c0122ace9867cbbdb41792695c434bd05a158 EBUILD exim-4.72-r1.ebuild 10133 RMD160 87cf75f3c802613de2018643fd1a1790fdc685b9 SHA1 0b2fa065fa7f9cb74d6a20196601488ba56fe189 SHA256 2b1f08028107221e86c120ba9e68a80c511f2d0cca7ee7b30cf2df6c8e4d973a EBUILD exim-4.72.ebuild 10068 RMD160 1940c906af69bd4e38bd8b0c83a254692059a68c SHA1 d10e8a16c193789f871171a2ee5dd9968ea3eb29 SHA256 49b8025f03e6cdefa374ae42bb2de9293251f4e912dfed94224c47ff0d8b1ac4 -EBUILD exim-4.74.ebuild 10080 RMD160 2245cc69e918be1b9d14728a44b0c3b600e65491 SHA1 0fa4601bd85a1a4ca550ff8cfed97c186283cdf6 SHA256 8008018d7f7ba080d31b9e571d5353c91e62fac1068aa007af9d3316f4c3652e -MISC ChangeLog 37026 RMD160 0f5ba190afd06850f0a329e12bd35bd3e9317421 SHA1 2ddcb80baa2b971598d8e5e332b52907fd60c2be SHA256 9ba49102fb000e38be11a883a66c5ba4bf814841267b8d1ed991471bcf3268aa +EBUILD exim-4.74-r1.ebuild 10241 RMD160 5c5ad228b35944d85cfc0c690b0262ed43b0cbbb SHA1 c7ff31bde3a6316ccc9e84e6b859657685d073ff SHA256 ca71130d836316fb9957f2f8869b5edee0c5c291db717c6a90779f58462896a7 +MISC ChangeLog 37333 RMD160 4f584563e2dd1a174113dfbd9d386f0ae7ab626a SHA1 2de9586034868adeec3afe67cb0354dcf813404f SHA256 8cc480a89d4867c599068bf4ffe5da21a86b349bd5cf0110acbb515cce6f40dd MISC metadata.xml 1592 RMD160 59ac880d053a0d42943a5e52c59aa421b2d2bee2 SHA1 9d70060015df2145f9f26fd6324781edbfbac7d0 SHA256 dd21024ba268cf4e55a8fe38d858ad03c50a7f616c60d66bdad0244cc52e6c5f diff --git a/mail-mta/exim/exim-4.74.ebuild b/mail-mta/exim/exim-4.74-r1.ebuild index 711ca97f26ee..93b1036064a3 100644 --- a/mail-mta/exim/exim-4.74.ebuild +++ b/mail-mta/exim/exim-4.74-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.74.ebuild,v 1.1 2011/02/01 08:03:32 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.74-r1.ebuild,v 1.1 2011/02/01 11:42:02 grobian Exp $ EAPI="3" @@ -61,6 +61,10 @@ src_prepare() { epatch "${FILESDIR}"/exim-4.14-tail.patch epatch "${FILESDIR}"/exim-4.43-r2-localscan_dlopen.patch epatch "${FILESDIR}"/exim-4.69-r1.27021.patch + # from upstream + epatch "${FILESDIR}"/${P}-pcre.patch + epatch "${FILESDIR}"/${P}-makefile-posix.patch + epatch "${FILESDIR}"/${P}-makefile-command-envs.patch use maildir && epatch "${FILESDIR}"/exim-4.20-maildir.patch use dsn && epatch "${DISTDIR}"/exim_${DSN_EXIM_V}_dsn_${DSN_V}.patch diff --git a/mail-mta/exim/files/exim-4.74-makefile-command-envs.patch b/mail-mta/exim/files/exim-4.74-makefile-command-envs.patch new file mode 100644 index 000000000000..30a1091f9f60 --- /dev/null +++ b/mail-mta/exim/files/exim-4.74-makefile-command-envs.patch @@ -0,0 +1,59 @@ +From: Phil Pennock <pdp@exim.org> +Date: Fri, 28 Jan 2011 00:07:05 +0000 (-0500) +Subject: Permit make values to be indented or in env. +X-Git-Url: http://git.exim.org/exim.git/commitdiff_plain/0cc9542ab26b35cba3a5523acb8991eb18ce0656 + +Permit make values to be indented or in env. + +It appears some make(1)s are not complaining about variables defined +with leading whitespace on the line. Permit that where we can, for the +lookups, but it's not tenable for CFLAGS_DYNAMIC. + +Some people are specifying knobs on the make command-line, so we get +them via the environment. + +Tested: indented LOOKUP_CDB and commented out LOOKUP_DNSDB, supplying it +via { make LOOKUP_DNSDB=yes }. { exim -d --version } shows both are +built-in, no results from { fgrep DNSDB build-*/Makefile }. +--- + +diff --git a/src/scripts/lookups-Makefile b/src/scripts/lookups-Makefile +index dd0472b..d5c450e 100755 +--- a/src/scripts/lookups-Makefile ++++ b/src/scripts/lookups-Makefile +@@ -21,6 +21,9 @@ tab=' ' + # We always do something now, since there should always be a lookup, + # and now we need to run in order to put the OBJ=$(OBJ)+ rules in. + ++# nb: do not permit leading whitespace for this, as CFLAGS_DYNAMIC is exported ++# to the lookups subdir via a line with leading whitespace which otherwise ++# matches + if grep -q "^CFLAGS_DYNAMIC[ $tab]*=" "$defs_source" + then + # we have a definition, we're good to go +@@ -32,14 +35,23 @@ fi + + tmp="$target.t" + ++# For the want_ checks, we need to let the user override values from the make ++# command-line, not just check the Makefile. ++ + want_dynamic() { + local dyn_name="$1" +- grep -q "^LOOKUP_${dyn_name}[ $tab]*=[ $tab]*2" "$defs_source" ++ local re="LOOKUP_${dyn_name}[ $tab]*=[ $tab]*2" ++ env | grep -q "^$re" ++ if [ $? -eq 0 ]; then return 0; fi ++ grep -q "^[ $tab]*$re" "$defs_source" + } + + want_at_all() { + local want_name="$1" +- grep -q "^LOOKUP_${want_name}[ $tab]*=[ $tab]*." "$defs_source" ++ local re="LOOKUP_${want_name}[ $tab]*=[ $tab]*." ++ env | grep -q "^$re" ++ if [ $? -eq 0 ]; then return 0; fi ++ grep -q "^[ $tab]*$re" "$defs_source" + } + + # The values of these variables will be emitted into the Makefile. diff --git a/mail-mta/exim/files/exim-4.74-makefile-posix.patch b/mail-mta/exim/files/exim-4.74-makefile-posix.patch new file mode 100644 index 000000000000..54cf0388a2f7 --- /dev/null +++ b/mail-mta/exim/files/exim-4.74-makefile-posix.patch @@ -0,0 +1,86 @@ +From: Tony Finch <dot@dotat.at> +Date: Thu, 27 Jan 2011 16:26:36 +0000 (+0000) +Subject: Fix portability of Makefiles to HP-UX and other non-extended makes. +X-Git-Url: http://git.exim.org/exim.git/commitdiff_plain/159f52d231c010cbc4e149502b7f906293233f94 + +Fix portability of Makefiles to HP-UX and other non-extended makes. +--- + +diff --git a/src/scripts/lookups-Makefile b/src/scripts/lookups-Makefile +index 2c4dc96..dd0472b 100755 +--- a/src/scripts/lookups-Makefile ++++ b/src/scripts/lookups-Makefile +@@ -19,7 +19,7 @@ tag_marker='MAGIC-TAG-MODS-OBJ-RULES-GO-HERE' + tab=' ' + + # We always do something now, since there should always be a lookup, +-# and now we need to run in order to put the OBJ+= rules in. ++# and now we need to run in order to put the OBJ=$(OBJ)+ rules in. + + if grep -q "^CFLAGS_DYNAMIC[ $tab]*=" "$defs_source" + then +@@ -42,6 +42,11 @@ want_at_all() { + grep -q "^LOOKUP_${want_name}[ $tab]*=[ $tab]*." "$defs_source" + } + ++# The values of these variables will be emitted into the Makefile. ++ ++MODS="" ++OBJ="" ++ + emit_module_rule() { + local lookup_name="$1" + local mod_name +@@ -59,13 +64,13 @@ emit_module_rule() { + echo >&2 "Inhibited dynamic modules prevents building dynamic $lookup_name" + exit 1 + fi +- echo "MODS += ${mod_name}.so" ++ MODS="${MODS} ${mod_name}.so" + grep "^LOOKUP_${lookup_name}_" "$defs_source" + echo "LOOKUP_${mod_name}_INCLUDE = \$(LOOKUP_${lookup_name}_INCLUDE)" + echo "LOOKUP_${mod_name}_LIBS = \$(LOOKUP_${lookup_name}_LIBS)" + elif want_at_all "$lookup_name" + then +- echo "OBJ += ${mod_name}.o" ++ OBJ="${OBJ} ${mod_name}.o" + fi + } + +@@ -83,9 +88,18 @@ done + + if want_at_all LDAP + then +- echo "OBJ += ldap.o" ++ OBJ="${OBJ} ldap.o" + fi + ++# Because the variable is EXPERIMENTAL_SPF and not LOOKUP_SPF we ++# always include spf.o and compile a dummy if EXPERIMENTAL_SPF is not ++# defined. ++ ++OBJ="${OBJ} spf.o" ++ ++echo "MODS = $MODS" ++echo "OBJ = $OBJ" ++ + sed -n "/$tag_marker/,\$p" < "$input" + + exec >&5 +diff --git a/src/src/lookups/Makefile b/src/src/lookups/Makefile +index 623f24f..2495348 100644 +--- a/src/src/lookups/Makefile ++++ b/src/src/lookups/Makefile +@@ -8,12 +8,6 @@ + # This is called from the main make file, after cd'ing + # to the lookups subdirectory. + +-# because the variable is EXPERIMENTAL_SPF and not LOOKUP_SPF +-# we put this one here by default and compile a dummy if +-# EXPERIMENTAL_SPF is not defined +-OBJ=spf.o +-MODS= +- + # MAGIC-TAG-MODS-OBJ-RULES-GO-HERE + + diff --git a/mail-mta/exim/files/exim-4.74-pcre.patch b/mail-mta/exim/files/exim-4.74-pcre.patch new file mode 100644 index 000000000000..361b03e75290 --- /dev/null +++ b/mail-mta/exim/files/exim-4.74-pcre.patch @@ -0,0 +1,29 @@ +From: Nigel Metheringham <nigel@exim.org> +Date: Wed, 26 Jan 2011 11:04:32 +0000 (+0000) +Subject: Workround compile error with old PCRE versions +X-Git-Url: http://git.exim.org/exim.git/commitdiff_plain/aa097c4c00f62487128d74f65c521f9e877b184f + +Workround compile error with old PCRE versions + +Fixes bug #1073 +--- + +diff --git a/src/src/exim.c b/src/src/exim.c +index e236975..b3035ca 100644 +--- a/src/src/exim.c ++++ b/src/src/exim.c +@@ -931,8 +931,13 @@ DEBUG(D_any) do { + " Runtime: %s\n", + PCRE_MAJOR, PCRE_MINOR, + /* PRE_PRERELEASE is either defined and empty or a string. +- * This should work: */ ++ * unless its an ancient version of PCRE in which case it ++ * is not defined */ ++#ifdef PCRE_PRERELEASE + PCRE_PRERELEASE "", ++#else ++ "", ++#endif + pcre_version()); + + init_lookup_list(); |