|
|||||||||
Saturday the 17th of May, 2008 |
|||||||||
exim most recent diff
Scroll down toward the bottom of the page to get installation instructions for exim. The raw portfile for exim 4.66 is located here: http://exim.darwinports.com/dports/mail/exim/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/exim # $Id: Portfile 30236 2007-10-22 23:15:10Z jmpp PortSystem 1.0 Name: exim Version: 4.66 revision 1 Category: mail Description: complete replacement for sendmail Long Description: Exim is a mail transfer agent (MTA) developed at the University of Cambridge for use on Unix systems connected to the Internet. It is freely available under the terms of the GNU General Public Licence. In overall style it is similar to Smail 3, but its facilities are more extensive. Homepage: http://www.exim.org/ Platform: darwin Maintainers: nomaintainer master_sites ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/ ftp://ftp.exim.org/pub/exim/exim4/ use_bzip2 yes checksums md5 01288e44919d8abdde5a7bd2c200449b sha1 4a2ac2cd51865b57610e2b153e20c305b7f9f504 rmd160 4481c9ca4932be9ab5f4f0a66b99f3e2f8e6c5fa depends_build port:perl5.8 depends_lib port:db44 port:openssl port:sqlite3 startupitem.create yes startupitem.start "${prefix}/share/exim/exim.sh start" startupitem.stop "${prefix}/share/exim/exim.sh stop" set exim_user exim patch.pre_args -p1 configure { cd ${worksrcpath} system "cp src/EDITME Local/Makefile" reinplace "s|/usr/exim/bin|${prefix}/sbin|g" Local/Makefile reinplace "s|/usr/exim/configure|${prefix}/etc/exim/exim.conf|g" Local/Makefile reinplace "s|EXIM_USER=|EXIM_USER=${exim_user}|g" Local/Makefile 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|# WITH_CONTENT_SCAN=yes|WITH_CONTENT_SCAN=yes|g" Local/Makefile reinplace "s|# LOOKUP_PASSWD=yes|LOOKUP_PASSWD=yes|g" Local/Makefile reinplace "s|# LOOKUP_CDB=yes|LOOKUP_CDB=yes|g" Local/Makefile reinplace "s|# LOOKUP_DSEARCH=yes|LOOKUP_DSEARCH=yes|g" Local/Makefile reinplace "s|# SUPPORT_MAILDIR=yes|SUPPORT_MAILDIR=yes|g" Local/Makefile reinplace "s|# TLS_LIBS=-L/usr/local/openssl/lib|TLS_LIBS=-L${prefix}/lib|g" Local/Makefile reinplace "s|# TLS_INCLUDE=-I/usr/local/openssl/include|TLS_INCLUDE=-I${prefix}/include/openssl|g" Local/Makefile reinplace "s|# Exim: OS-specific make file for Darwin (Mac OS X).|INCLUDE=-I${prefix}/include/db44|g" OS/Makefile-Darwin reinplace "s|DBMLIB =|DBMLIB=${prefix}/lib/db44/libdb-4.dylib|g" OS/Makefile-Darwin reinplace "s|/etc/aliases|${destroot}${prefix}/etc/aliases|g" scripts/exim_install adduser ${exim_user} gid=[existsgroup mail] } destroot.destdir ROOT=${destroot} destroot.keepdirs ${destroot}${prefix}/var/spool/exim post-destroot { system "mv ${destroot}${prefix}/etc/exim/exim.conf ${destroot}${prefix}/etc/exim/exim.conf.sample" xinstall -o root -m 755 -d ${destroot}${prefix}/share/exim cd ${worksrcpath} system "cp -R doc/ ${destroot}${prefix}/share/exim" xinstall -o ${exim_user} -g mail -m 750 -d ${destroot}${prefix}/var/spool/exim xinstall -o root -m 755 -d ${destroot}${prefix}/etc/rc.d xinstall -o root -m 755 -c ${portpath}/files/exim.sh ${destroot}${prefix}/share/exim reinplace "s|__PREFIX|${prefix}|g" ${destroot}${prefix}/share/exim/exim.sh } platform darwin 6 { if {[variant_isset mysql] || [variant_isset mysql4]} { patchfiles-append patch-EDITME reinplace "s|LOOKUP_LIBS=-lresolv|LOOKUP_LIBS=-L${prefix}/lib/mysql -L${prefix}/lib -L/usr/lib -lmysqlclient|g" ${filespath}/patch-EDITME } } platform darwin 7 { patchfiles-append patch-EDITME if {[variant_isset mysql] || [variant_isset mysql4]} { reinplace "s|LOOKUP_LIBS=-lresolv|LOOKUP_LIBS=-L${prefix}/lib/mysql -L${prefix}/lib -L/usr/lib -lresolv -lmysqlclient|g" ${filespath}/patch-EDITME } } Variant: mysql4 { depends_lib-append lib:libmysqlclient:mysql4 } post-configure { reinplace "s|# AUTH_CRAM_MD5=yes|AUTH_CRAM_MD5=yes|g" Local/Makefile reinplace "s|# AUTH_PLAINTEXT=yes|AUTH_PLAINTEXT=yes|g" Local/Makefile reinplace "s|# AUTH_SPA=yes|AUTH_SPA=yes|g" Local/Makefile reinplace "s|# SUPPORT_TLS=yes|SUPPORT_TLS=yes|g" Local/Makefile reinplace "s|# TLS_LIBS=-lssl -lcrypto|TLS_LIBS=-lssl -lcrypto|g" Local/Makefile reinplace "s|# LDAP_LIB_TYPE=OPENLDAP2|LDAP_LIB_TYPE=OPENLDAP2|g" Local/Makefile reinplace "s|# LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq -lgds|LOOKUP_LIBS=-lldap|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 } } If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/eximYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using exim with these commands: % man exim Where to find more information:
|
![]() |
![]() Digg exim on MacOSX
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
aqua
archivers audio benchmarks cad comms cross databases devel editors emulators games genealogy gnome gnustep graphics irc java kde lang math multimedia net news palm perl python ruby science security shells sysutils textproc www x11 xfce zope
Current CVS DownloadsDarwin Ports Current :nightly CVS snapshot OpenDarwin CVSWeb SSH Key Gen |
|||||||
| |




