source: trunk/dports/mail/mailx/Portfile

Last change on this file was 147098, checked in by dluke@…, 20 months ago

mailx: update openssl patch to no longer support SSLv2 (fixes #50967)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# $Id: Portfile 147098 2016-03-27 02:47:31Z ryandesign@macports.org $
2
3PortSystem 1.0
4name            mailx
5version         12.4
6revision        5
7categories      mail
8license         {BSD-old BSD}
9maintainers     toby
10description     Heirloom mailx
11long_description \
12    Mailx is derived from Berkeley Mail and is intended provide the \
13    functionality of the POSIX mailx command with additional support for MIME, \
14    IMAP, POP3, SMTP, and S/MIME. It provides enhanced features for \
15    interactive use, such as caching and disconnected operation for IMAP, \
16    message threading, scoring, and filtering. It is also usable as a mail \
17    batch language, both for sending and receiving mail.
18homepage        http://heirloom.sourceforge.net/mailx.html
19platforms       darwin
20
21master_sites    sourceforge:project/heirloom/heirloom-mailx/${version}
22use_bzip2       yes
23checksums       md5 0c93759e34200eb56a0e7c464680a54a \
24                sha1 b1e105adf9d36269daf317dedf68b6e4cca404a7 \
25                rmd160 8244d04d0a0058fdbe9867ca503c7cda8d580154
26
27depends_lib     port:kerberos5 \
28                port:libiconv \
29                path:lib/libssl.dylib:openssl
30
31patchfiles      patch-Makefile \
32                patch-junk.c \
33                patch-maildir.c \
34                patch-makeconfig \
35                patch-openssl.c
36
37# CVE-2004-2771, CVE-2014-7844
38# http://seclists.org/oss-sec/2014/q4/1066
39patchfiles-append \
40                patch-0001-outof-Introduce-expandaddr-flag.diff \
41                patch-0002-unpack-Disable-option-processing-for-email-addresses.diff \
42                patch-0003-fio_c-Unconditionally-require-wordexp-support.diff \
43                patch-0004-globname-Invoke-wordexp-with-WRDE_NOCMD-CVE-2004-277.diff
44
45post-patch {
46    reinplace "s|__PREFIX__|${prefix}|" "${worksrcpath}/Makefile"
47    reinplace "s|__DESTROOT__|${destroot}|" "${worksrcpath}/Makefile"
48    reinplace "s|__CC__|${configure.cc}|" "${worksrcpath}/Makefile"
49    reinplace "s|__CFLAGS__|${configure.cflags} [get_canonical_archflags cc]|" "${worksrcpath}/Makefile"
50    reinplace "s|__LDFLAGS__|${configure.ldflags} [get_canonical_archflags ld]|" "${worksrcpath}/Makefile"
51}
52
53configure.cmd   /bin/sh
54configure.args  makeconfig
55configure.pre_args
56configure.universal_args
57
58livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.