The source has been upgraded to 2006k Attached new Portfiles -- Bjarne D Mathiesen København N ; Danmark ; Europa ---------------------------------------------------------------------- denne besked er skrevet i et totalt M$-frit miljø # $Id: Portfile 26044 2007-06-10 00:57:23Z pguyot@kallisys.net $ PortSystem 1.0 name cclient version 2006k categories mail maintainers pguyot@kallisys.net description UW IMAP c-client library long_description \ C-client is a common API for accessing mailboxes. It is \ used internally by the popular PINE mail reader as well as the \ University of Washington's IMAP server. homepage http://www.washington.edu/imap/ platforms darwin master_sites ftp://ftp.cac.washington.edu/imap/ \ ftp://ftp.cac.washington.edu/imap/old/ \ macports:pguyot extract.suffix .tar.Z distname imap-${version} dist_subdir imap-uw worksrcdir imap-${version} checksums md5 3a98066870fb8075c744079309e379c8 depends_lib port:openssl \ lib:libz:zlib \ lib:libgssapi_krb5:kerberos5 use_configure no post-patch { cd ${worksrcpath} reinplace "s|/System/Library/OpenSSL SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib|${prefix}/etc/openssl SSLINCLUDE=${prefix}/include SSLLIB=${prefix}/lib|g" Makefile reinplace "s| -Wno-pointer-sign||g" src/osdep/unix/Makefile } build.target oxp EXTRACFLAGS=-fno-common variant ssl_plaintext { patchfiles patch-Makefile build.args SSLTYPE=unix } destroot { xinstall -m 755 -d ${destroot}${prefix}/include/c-client xinstall -m 644 -W ${worksrcpath}/c-client \ c-client.h dummy.h env.h env_unix.h fdstring.h flockcyg.h flocksim.h \ flstring.h fs.h ftl.h imap4r1.h linkage.c linkage.h mail.h \ misc.h netmsg.h newsrc.h nl.h nntp.h osdep.h \ pseudo.h rfc822.h smtp.h sslio.h tcp.h tcp_unix.h unix.h \ utf8.h utf8aux.h \ ${destroot}${prefix}/include/c-client xinstall -m 644 ${worksrcpath}/c-client/c-client.a \ ${destroot}${prefix}/lib/libc-client4.a system "cd ${destroot}${prefix}/lib/ && ranlib libc-client4.a" } livecheck.check regex livecheck.url http://www.washington.edu/imap/documentation/RELNOTES.html livecheck.regex {imap-(\w+)} # $Id: Portfile 30236 2007-10-22 23:15:10Z jmpp@macports.org $ PortSystem 1.0 name imap-uw version 2006k categories mail maintainers nomaintainer description University of Washington IMAP daemon long_description IMAP (Internet Message Access Protocol) is a method \ of accessing electronic messages kept on a (possibly \ shared) mail server. This port provides the \ University of Washington IMAP toolkit (IMAP \ supporting software developed by the UW). homepage http://www.washington.edu/imap/ master_sites ftp://ftp.cac.washington.edu/imap/ \ ftp://ftp.cac.washington.edu/imap/old/ \ opendarwin platforms darwin distname imap-${version} extract.suffix .tar.Z checksums md5 3a98066870fb8075c744079309e379c8 use_configure no build.target oxp # Patches for Darwin 7.x/Mac OS X 10.3.x support platform darwin 7 { patchfiles patch-src-osdep-unix-Makefile \ patch-src-osdep-unix-ckp_osx.c } # Default is to enable SSL support and plaintext authentication # permitted only in SSL/TLS sessions. # Variant to enable SSL support and plaintext authentication variant ssl_plain { patchfiles patch-Makefile build.args SSLTYPE=unix } # Variant to enable SSL with PAM support for Mac OS X variant ssl_pam { depends_lib lib:libssl.0.9:openssl patchfiles patch-Makefile build.target oxp build.args SSLTYPE=unix post-destroot { xinstall -m 0644 ${filespath}/README-MACOSX \ ${filespath}/etc-pam.d-imap \ ${filespath}/etc-xinetd.d-imap \ ${filespath}/etc-xinetd.d-imaps \ ${destroot}${prefix}/share/doc/${name}/ reinplace "s|__PREFIX|${prefix}|" \ ${filespath}/README-MACOSX \ ${destroot}${prefix}/share/doc/${name}/etc-xinetd.d-imap \ ${destroot}${prefix}/share/doc/${name}/etc-xinetd.d-imaps ui_msg "-----------------------------------------------------------" ui_msg "For use of IMAP-UW using SSL and PAM on Mac OS X 10.3," ui_msg "please see the following:" ui_msg "\t${prefix}/share/doc/${name}/README-MACOSX" ui_msg "for further installation and setup details." ui_msg "-----------------------------------------------------------" } } # Variant to enable IPv6 support (default is IPv4) variant ipv6 { build.args-append IP=6 } # Variant to disable plaintext authentication outside of SSL/TSL # i.e. prohibit unencrypted plaintext passwords variant nopwd { build.args-delete SSLTYPE=unix build.args-append SSLTYPE=unix.nopwd } # Variant to set the default for creating new mailboxes to "mbx" format variant mbx { build.args-append CREATEPROTO=mbxproto } # Variant to set the default mail subdirectory name to "Mail" variant subdir { patchfiles-append patch-env_unix.c } destroot { # Warn user if not running as root if {$env(USER) != "root"} { ui_msg "-----------------------------------------------------------" ui_msg "Note that you are not running as root, so files installed" ui_msg "by this port will not end up with proper ownership and" ui_msg "will likely not work correctly." ui_msg "-----------------------------------------------------------" } cd ${worksrcpath} xinstall -m 0755 -d ${destroot}${prefix}/libexec xinstall -m 0755 -d ${destroot}${prefix}/bin xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 0755 -d ${destroot}${prefix}/share/man/man8 xinstall -m 0755 -d ${destroot}${prefix}/share/man/man1 xinstall -m 0755 imapd/imapd ${destroot}${prefix}/libexec xinstall -m 0755 ipopd/ipop2d ${destroot}${prefix}/libexec xinstall -m 0755 ipopd/ipop3d ${destroot}${prefix}/libexec xinstall -m 0755 mailutil/mailutil ${destroot}${prefix}/bin xinstall -m 0755 tmail/tmail ${destroot}${prefix}/bin xinstall -m 0755 dmail/dmail ${destroot}${prefix}/bin xinstall -m 0755 mtest/mtest ${destroot}${prefix}/bin/mboxtest if {$env(USER) == "root"} { xinstall -g mail -m 2711 mlock/mlock ${destroot}${prefix}/libexec } else { xinstall -m 0711 mlock/mlock ${destroot}${prefix}/libexec } xinstall -m 0755 src/imapd/imapd.8 ${destroot}${prefix}/share/man/man8 xinstall -m 0755 src/ipopd/ipopd.8 ${destroot}${prefix}/share/man/man8 xinstall -m 0755 src/mailutil/mailutil.1 ${destroot}${prefix}/share/man/man1 xinstall -m 0755 src/tmail/tmail.1 ${destroot}${prefix}/share/man/man1 xinstall -m 0755 src/dmail/dmail.1 ${destroot}${prefix}/share/man/man1 xinstall -m 0644 docs/RELNOTES ${destroot}${prefix}/share/doc/${name} xinstall -m 0644 docs/FAQ.html ${destroot}${prefix}/share/doc/${name} foreach file [glob docs/*.txt] { xinstall -m 0644 ${file} ${destroot}${prefix}/share/doc/${name} } }