[MacPorts] #3194: UPDATE: exim-4.51

MacPorts noreply at macports.org
Thu Mar 24 08:04:12 PDT 2016


#3194: UPDATE: exim-4.51
----------------------+--------------------
  Reporter:  jbc@…    |      Owner:  cms@…
      Type:  update   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  1.0
Resolution:  invalid  |   Keywords:
      Port:  exim     |
----------------------+--------------------
Changes (by ryandesign@…):

 * type:  defect => update
 * port:   => exim


Old description:

> exim-4.51
>
> A portfile diff is inline below.
>
> This is a basic update to upgrade the current dp 4.42 port to version
> 4.51. This port seems to be
> abandoned: an update to 4.44 was posted to Bugzilla in January and never
> committed.
>
> http://www.exim.org/index.html
>
> Note that as of exim 4.50, exiscan is included in the exim source and no
> longer requires a separately
> downloaded patch. Also trying to get committed once more some basic
> lookup variants for exim.
>
> Tried to address Bug 1975 as suggested in a comment there, but the change
> to exim's DBM path for a
> Darwin build still does not allow exim to link against the dp-installed
> DB4; OS X's native db support is
> used instead.
>
> --- /Users/jbc/Desktop/Portfile Mon May  9 11:45:37 2005
> +++ /Users/jbc/Desktop/Portfile.new     Thu May 26 14:49:28 2005
> @@ -2,7 +2,7 @@
>
>  PortSystem 1.0
>  name            exim
> -version         4.42
> +version         4.51
>  revision       1
>  categories      mail
>  description     complete replacement for sendmail
> @@ -17,7 +17,7 @@
>  maintainers     cms at opendarwin.org
>  master_sites    ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/ \
>                  ftp://ftp.exim.org/pub/exim/exim4/
> -checksums      md5 b1b7b66f9713a777e92fd6650e6ba954
> +checksums      md5 5978939453d3e5ed6aa4060aff528d82
>  depends_build   bin:perl:perl5.8
>  depends_run
> path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup
>
> @@ -32,7 +32,8 @@
>                  reinplace "s|/var/spool/exim|${prefix}/var/spool/exim|g"
> Local/Makefile
>                  reinplace
> "s|EXIM_MONITOR=eximon.bin|#EXIM_MONITOR=eximon.bin|g" Local/Makefile
>                 reinplace
> "s|/etc/aliases|${destroot}${prefix}/etc/aliases|g" scripts/exim_install
> -               adduser ${exim_user} gid=[existsgroup mail] }
> +                               reinplace "s|DBMLIB =|DBMLIB
> =/opt/local/lib/libdb-4.2.dylib|g" OS/Makefile-
> Darwin
> +                               adduser ${exim_user} gid=[existsgroup
> mail] }
>
>  destroot.destdir       ROOT=${destroot}
>
> @@ -68,9 +69,13 @@
>  variant smtp-auth { }
>  variant tls { }
>
> -variant exiscan { patch_sites          http://duncanthrax.net/exiscan-
> acl/
> -                 patchfiles-append     exiscan-acl-4.42-27.patch
> -                         checksums-append      exiscan-acl-4.42-27.patch
> md5 3dc7322b6852eb05f7acc3a1108810d6 }
> +variant exiscan { }
> +
> +variant passwd { }
> +
> +variant cdb { }
> +
> +variant dsearch { }
>
>  variant mysql { depends_lib-append      lib:libmysqlclient:mysql }
>
> @@ -81,6 +86,22 @@
>  variant ldap { }
>
>  post-configure {
> +       if {[variant_isset exiscan ]} {
> +               reinplace "s|#
> WITH_CONTENT_SCAN=yes|WITH_CONTENT_SCAN=yes|g" Local/Makefile
> +       }
> +
> +       if {[variant_isset passwd]} {
> +               reinplace "s|# LOOKUP_PASSWD=yes|LOOKUP_PASSWD=yes|g"
> Local/Makefile
> +       }
> +
> +       if {[variant_isset cdb]} {
> +               reinplace "s|# LOOKUP_CDB=yes|LOOKUP_CDB=yes|g"
> Local/Makefile
> +       }
> +
> +       if {[variant_isset dsearch]} {
> +               reinplace "s|# LOOKUP_DSEARCH=yes|LOOKUP_DSEARCH=yes|g"
> Local/Makefile
> +       }
> +
>         if {[variant_isset mysql] || [variant_isset mysql4]} {
>                 reinplace "s|# LOOKUP_MYSQL=yes|LOOKUP_MYSQL=yes|g"
> Local/Makefile
>                 reinplace "s|# LOOKUP_INCLUDE=.*|LOOKUP_INCLUDE=-I
> ${prefix}/include/mysql -I
> ${prefix}/include -I /usr/include|g" Local/Makefile

New description:

 exim-4.51

 A portfile diff is inline below.

 This is a basic update to upgrade the current dp 4.42 port to version
 4.51. This port seems to be
 abandoned: an update to 4.44 was posted to Bugzilla in January and never
 committed.

 http://www.exim.org/index.html

 Note that as of exim 4.50, exiscan is included in the exim source and no
 longer requires a separately
 downloaded patch. Also trying to get committed once more some basic lookup
 variants for exim.

 Tried to address Bug #1975 as suggested in a comment there, but the change
 to exim's DBM path for a
 Darwin build still does not allow exim to link against the dp-installed
 DB4; OS X's native db support is
 used instead.

 {{{
 --- /Users/jbc/Desktop/Portfile Mon May  9 11:45:37 2005
 +++ /Users/jbc/Desktop/Portfile.new     Thu May 26 14:49:28 2005
 @@ -2,7 +2,7 @@

  PortSystem 1.0
  name            exim
 -version         4.42
 +version         4.51
  revision       1
  categories      mail
  description     complete replacement for sendmail
 @@ -17,7 +17,7 @@
  maintainers     cms at opendarwin.org
  master_sites    ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/ \
                  ftp://ftp.exim.org/pub/exim/exim4/
 -checksums      md5 b1b7b66f9713a777e92fd6650e6ba954
 +checksums      md5 5978939453d3e5ed6aa4060aff528d82
  depends_build   bin:perl:perl5.8
  depends_run
 path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup

 @@ -32,7 +32,8 @@
                  reinplace "s|/var/spool/exim|${prefix}/var/spool/exim|g"
 Local/Makefile
                  reinplace
 "s|EXIM_MONITOR=eximon.bin|#EXIM_MONITOR=eximon.bin|g" Local/Makefile
                 reinplace
 "s|/etc/aliases|${destroot}${prefix}/etc/aliases|g" scripts/exim_install
 -               adduser ${exim_user} gid=[existsgroup mail] }
 +                               reinplace "s|DBMLIB =|DBMLIB
 =/opt/local/lib/libdb-4.2.dylib|g" OS/Makefile-Darwin
 +                               adduser ${exim_user} gid=[existsgroup
 mail] }

  destroot.destdir       ROOT=${destroot}

 @@ -68,9 +69,13 @@
  variant smtp-auth { }
  variant tls { }

 -variant exiscan { patch_sites          http://duncanthrax.net/exiscan-
 acl/
 -                 patchfiles-append     exiscan-acl-4.42-27.patch
 -                         checksums-append      exiscan-acl-4.42-27.patch
 md5 3dc7322b6852eb05f7acc3a1108810d6 }
 +variant exiscan { }
 +
 +variant passwd { }
 +
 +variant cdb { }
 +
 +variant dsearch { }

  variant mysql { depends_lib-append      lib:libmysqlclient:mysql }

 @@ -81,6 +86,22 @@
  variant ldap { }

  post-configure {
 +       if {[variant_isset exiscan ]} {
 +               reinplace "s|#
 WITH_CONTENT_SCAN=yes|WITH_CONTENT_SCAN=yes|g" Local/Makefile
 +       }
 +
 +       if {[variant_isset passwd]} {
 +               reinplace "s|# LOOKUP_PASSWD=yes|LOOKUP_PASSWD=yes|g"
 Local/Makefile
 +       }
 +
 +       if {[variant_isset cdb]} {
 +               reinplace "s|# LOOKUP_CDB=yes|LOOKUP_CDB=yes|g"
 Local/Makefile
 +       }
 +
 +       if {[variant_isset dsearch]} {
 +               reinplace "s|# LOOKUP_DSEARCH=yes|LOOKUP_DSEARCH=yes|g"
 Local/Makefile
 +       }
 +
         if {[variant_isset mysql] || [variant_isset mysql4]} {
                 reinplace "s|# LOOKUP_MYSQL=yes|LOOKUP_MYSQL=yes|g"
 Local/Makefile
                 reinplace "s|# LOOKUP_INCLUDE=.*|LOOKUP_INCLUDE=-I
 ${prefix}/include/mysql -I ${prefix}/include -I /usr/include|g"
 Local/Makefile
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/3194#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list