Ignore:
Timestamp:
Jun 16, 2004, 2:49:56 AM (15 years ago)
Author:
rshaw
Message:

Updated to latest release 2004 and +devel variant release
2004a.DEV.SNAP-0405261606. Added self to maintainer list.

Submitted by: rshaw
Approved by: mij

Location:
trunk/dports/mail/imap-uw
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/mail/imap-uw/Portfile

    r5102 r7523  
    1 # $Id: Portfile,v 1.18 2004/01/30 23:15:28 fenner Exp $
     1# $Id: Portfile,v 1.19 2004/06/16 02:49:56 rshaw Exp $
     2PortSystem              1.0
    23
    3 PortSystem 1.0
    4 name            imap-uw
    5 version         2002e
    6 revision        5
    7 categories      mail
    8 maintainers     mij@opendarwin.org
    9 description     University of Washington IMAP daemon
    10 homepage        http://www.washington.edu/imap/
    11 platforms       darwin
     4name                    imap-uw
     5version                 2004
     6categories              mail
     7maintainers             mij@opendarwin.org rshaw@opendarwin.org
     8description             University of Washington IMAP daemon
     9long_description        IMAP (Internet Message Access Protocol) is a method \
     10                                        of accessing electronic messages kept on a (possibly \
     11                                        shared) mail server. This port provides the \
     12                                        University of Washington IMAP toolkit (IMAP \
     13                                        supporting software developed by the UW).
     14homepage                http://www.washington.edu/imap/
     15master_sites    ftp://ftp.cac.washington.edu/imap/ \
     16                                opendarwin
     17platforms               darwin
    1218
    13 long_description $description
     19distname                imap-${version}
     20extract.suffix  .tar.Z
     21checksums               md5 ec3dafeeae320457a1d098157e9bf969
    1422
    15 dist_subdir     ${name}
    16 master_sites    ftp://ftp.cac.washington.edu/imap/ \
    17                 opendarwin
    18 
    19 extract.suffix  .tar.Z
    20 distname        imap-${version}
    21 checksums       md5 0d246d868f20d8c441d235b77c940676
    22 
    23 configure       {}
     23use_configure   no
    2424
    2525build.target    osx
    2626
    27 platform darwin 7 { patchfiles patch-src-osdep-unix-Makefile \
    28                       patch-src-osdep-unix-ckp_osx.c }
     27# Patches for Darwin 7.x/Mac OS X 10.3.x support
     28platform darwin 7 {
     29        patchfiles              patch-src-osdep-unix-Makefile \
     30                                        patch-src-osdep-unix-ckp_osx.c
     31}
    2932
    30 variant ssl_plain { patchfiles patch-Makefile
    31                     build.args SSLTYPE=unix }
     33# Default is to enable SSL support and plaintext authentication
     34# permitted only in SSL/TLS sessions.
    3235
    33 variant ssl_pam { version 2003.DEV.SNAP-0312072251
    34                   distname imap-${version}
    35                   checksums md5 cb1cee5c5970d76f0a1f59987318a9af
    36                   depends_lib lib:libssl.0.9:openssl
    37                   patchfiles patch-Makefile
    38                   build.target oxp
    39                   build.args    SSLTYPE=unix
    40                   post-destroot { file mkdir ${destroot}${prefix}/share/doc/${name}
    41                     file copy ${filespath}/README-MACOSX \
    42                       ${filespath}/etc-pam.d-imap \
    43                       ${filespath}/etc-xinetd.d-imap \
    44                       ${filespath}/etc-xinetd.d-imaps \
    45                       ${destroot}${prefix}/share/doc/${name}/
    46                     reinplace "s|__PREFIX|${prefix}|" \
    47                       ${filespath}/README-MACOSX \
    48                       ${destroot}${prefix}/share/doc/${name}/etc-xinetd.d-imap \
    49                       ${destroot}${prefix}/share/doc/${name}/etc-xinetd.d-imaps
    50                     ui_msg "For setup of IMAP-UW using SSL and PAM on Mac OS X 10.3, please see\n${prefix}/share/doc/${name}/README-MACOSX for details." } }
     36# Variant to enable SSL support and plaintext authentication
     37variant ssl_plain {
     38        patchfiles              patch-Makefile
     39        build.args              SSLTYPE=unix
     40}
    5141
    52 variant mbx     { build.args-append CREATEPROTO=mbxproto }
     42# Variant to enable SSL with PAM support for Mac OS X
     43variant ssl_pam {
     44        depends_lib             lib:libssl.0.9:openssl
    5345
    54 variant subdir  { patchfiles-append patch-env_unix.c }
     46        patchfiles              patch-Makefile
     47        build.target    oxp
     48        build.args              SSLTYPE=unix
    5549
    56 destroot        { system "install -m 755 -d ${destroot}${prefix}/libexec"
    57                   system "install -m 755 -d ${destroot}${prefix}/bin"
    58                   system "install -m 755 -d ${destroot}${prefix}/share/man/man8"
    59                   system "install -m 755 -d ${destroot}${prefix}/share/man/man1"
    60                   system "install -m 755 ${worksrcpath}/imapd/imapd ${destroot}${prefix}/libexec"
    61                   system "install -m 755 ${worksrcpath}/ipopd/ipop3d ${destroot}${prefix}/libexec/ipop2d"
    62                   system "install -m 755 ${worksrcpath}/ipopd/ipop3d ${destroot}${prefix}/libexec/ipop3d"
    63                   system "install -m 755 ${worksrcpath}/mailutil/mailutil ${destroot}${prefix}/bin"
    64                   system "install -m 755 ${worksrcpath}/tmail/tmail ${destroot}${prefix}/bin"
    65                   system "install -m 755 ${worksrcpath}/dmail/dmail ${destroot}${prefix}/bin"
    66                   system "install -m 755 ${worksrcpath}/mtest/mtest ${destroot}${prefix}/bin/mboxtest"
    67                   system "install -g mail -m 2711 ${worksrcpath}/mlock/mlock ${destroot}${prefix}/libexec"
    68                   system "install -m 755 ${worksrcpath}/src/imapd/imapd.8c ${destroot}${prefix}/share/man/man8/imapd.8"
    69                   system "install -m 755 ${worksrcpath}/src/ipopd/ipopd.8c ${destroot}${prefix}/share/man/man8/ipopd.8"
    70                   system "install -m 755 ${worksrcpath}/src/mailutil/mailutil.1 ${destroot}${prefix}/share/man/man1"
    71                   system "install -m 755 ${worksrcpath}/src/tmail/tmail.1 ${destroot}${prefix}/share/man/man1"
    72                   system "install -m 755 ${worksrcpath}/src/dmail/dmail.1 ${destroot}${prefix}/share/man/man1" }
     50        post-destroot {
     51                xinstall -m 0644 ${filespath}/README-MACOSX \
     52                        ${filespath}/etc-pam.d-imap \
     53                        ${filespath}/etc-xinetd.d-imap \
     54                        ${filespath}/etc-xinetd.d-imaps \
     55                        ${destroot}${prefix}/share/doc/${name}/
     56                reinplace "s|__PREFIX|${prefix}|" \
     57                        ${filespath}/README-MACOSX \
     58                        ${destroot}${prefix}/share/doc/${name}/etc-xinetd.d-imap \
     59                        ${destroot}${prefix}/share/doc/${name}/etc-xinetd.d-imaps
     60                ui_msg "-----------------------------------------------------------"
     61                ui_msg "For use of IMAP-UW using SSL and PAM on Mac OS X 10.3,"
     62                ui_msg "please see the following:"
     63                ui_msg "\t${prefix}/share/doc/${name}/README-MACOSX"
     64                ui_msg "for further installation and setup details."
     65                ui_msg "-----------------------------------------------------------"
     66        }
     67}
     68
     69# Variant to enable IPv6 support (default is IPv4)
     70variant ipv6 {
     71        build.args-append       IP=6
     72}
     73
     74# Variant to set the default for creating new mailboxes to "mbx" format
     75variant mbx     {
     76        build.args-append       CREATEPROTO=mbxproto
     77}
     78
     79# Variant to set the default mail subdirectory name to "Mail"
     80variant subdir {
     81        patchfiles-append       patch-env_unix.c
     82}
     83
     84destroot {
     85        # Warn user if not running as root
     86        if {$env(USER) != "root"} {
     87                ui_msg "-----------------------------------------------------------"
     88                ui_msg "Note that you are not running as root, so files installed"
     89                ui_msg "by this port will not end up with proper ownership and"
     90                ui_msg "will likely not work correctly."
     91                ui_msg "-----------------------------------------------------------"
     92        }
     93        cd ${worksrcpath}
     94        xinstall -m 0755 -d ${destroot}${prefix}/libexec
     95        xinstall -m 0755 -d ${destroot}${prefix}/bin
     96        xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}
     97        xinstall -m 0755 -d ${destroot}${prefix}/share/man/man8
     98        xinstall -m 0755 -d ${destroot}${prefix}/share/man/man1
     99        xinstall -m 0755 imapd/imapd ${destroot}${prefix}/libexec
     100        xinstall -m 0755 ipopd/ipop2d ${destroot}${prefix}/libexec
     101        xinstall -m 0755 ipopd/ipop3d ${destroot}${prefix}/libexec
     102        xinstall -m 0755 mailutil/mailutil ${destroot}${prefix}/bin
     103        xinstall -m 0755 tmail/tmail ${destroot}${prefix}/bin
     104        xinstall -m 0755 dmail/dmail ${destroot}${prefix}/bin
     105        xinstall -m 0755 mtest/mtest ${destroot}${prefix}/bin/mboxtest
     106        if {$env(USER) == "root"} {
     107                xinstall -g mail -m 2711 mlock/mlock ${destroot}${prefix}/libexec
     108        } else {
     109                xinstall -m 0711 mlock/mlock ${destroot}${prefix}/libexec
     110        }
     111        if {[variant_isset devel]} {
     112                xinstall -m 0755 src/imapd/imapd.8 ${destroot}${prefix}/share/man/man8
     113                xinstall -m 0755 src/ipopd/ipopd.8 ${destroot}${prefix}/share/man/man8
     114        } else {
     115                xinstall -m 0755 src/imapd/imapd.8c ${destroot}${prefix}/share/man/man8/imapd.8
     116                xinstall -m 0755 src/ipopd/ipopd.8c ${destroot}${prefix}/share/man/man8/ipopd.8
     117        }
     118        xinstall -m 0755 src/mailutil/mailutil.1 ${destroot}${prefix}/share/man/man1
     119        xinstall -m 0755 src/tmail/tmail.1 ${destroot}${prefix}/share/man/man1
     120        xinstall -m 0755 src/dmail/dmail.1 ${destroot}${prefix}/share/man/man1
     121        xinstall -m 0644 docs/RELNOTES ${destroot}${prefix}/share/doc/${name}
     122        xinstall -m 0644 docs/FAQ.html ${destroot}${prefix}/share/doc/${name}
     123        foreach file [glob docs/*.txt] {
     124                xinstall -m 0644 ${file} ${destroot}${prefix}/share/doc/${name}
     125        }
     126}
     127
     128variant devel {
     129        version         2004a.DEV.SNAP-0405261606
     130        distname        imap-${version}
     131        checksums       md5 2aa85954a1c83ccebb97f2ee2992ec76
     132}
     133
  • trunk/dports/mail/imap-uw/files/README-MACOSX

    r4228 r7523  
    22Author: Robert Shaw <rshaw@opendarwin.org>
    33
    4 Tested with IMAP-UW version 2003.DEV.SNAP-0312072251 on Mac OS X 10.3.1
     4Tested with IMAP-UW version 2004 and version 2004a.DEV.SNAP-0405261606 (variant
     5+devel) on Mac OS X 10.3.4.
     6
    57Built and installed using:
    68  sudo port install imap-uw +ssl_pam +subdir
     9OR
     10  sudo port install imap-uw +ssl_pam +subdir +devel
    711
    812This file outlines the set of steps needed to enable use of IMAP-UW with
Note: See TracChangeset for help on using the changeset viewer.