source: trunk/dports/mail/ssmtp/Portfile

Last change on this file was 146517, checked in by raimue@…, 15 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            ssmtp
7version         2.64
8revision        3
9categories      mail
10license         GPL-2+
11maintainers     khindenburg openmaintainer
12description     Sendmail alternative for small routers (outgoing mail only)
13long_description    This is sSMTP, a program that replaces sendmail on workstations that \
14                    should send their mail via the departmental mailhub from which they pick up \
15                    their mail (via pop, imap, rsmtp, pop_fetch, NFS... or the like).  This \
16                    program accepts mail and sends it to the mailhub, optionally replacing the \
17                    domain in the From: line with a different one.
18platforms       darwin freebsd
19homepage        http://packages.qa.debian.org/s/ssmtp.html
20master_sites    debian:s/${name}/ \
21                ftp://ftp.icm.edu.pl/pub/Linux/debian/pool/main/s/${name}/
22use_bzip2       yes
23distfiles       ${name}_${version}.orig${extract.suffix}
24checksums       md5 65b4e0df4934a6cd08c506cabcbe584f \
25                sha1 db0cc6b4f82ab8b4c79335933db9c4db706324d1 \
26                rmd160 ea6472e52a499c39d1d8ce7e13add9d8e9accbfb
27
28depends_lib     path:lib/libssl.dylib:openssl
29
30# Look in most recent .debian file for patches - ssmtp_2.64-#.debian.tar.bz2
31patchfiles      02-557725-solaris.patch patch-ssmtp.c patch-generate_config \
32                patch-Makefile.in patch-configure.in \
33                04-508759-garbage.patch \
34                patch-ssmtp.conf.diff
35
36use_autoconf    yes
37configure.args  --enable-ssl
38
39destroot.destdir prefix=${destroot}${prefix} \
40                 mandir=${destroot}${prefix}/share/man/man8
41
42post-destroot {
43    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
44    xinstall -m 644 -W ${worksrcpath} README INSTALL COPYING \
45        ${destroot}${prefix}/share/doc/${name}
46
47    xinstall -m 644 ${worksrcpath}/ssmtp.conf ${destroot}${prefix}/etc/${name}/ssmtp.conf.sample
48}
49
50notes "
51Before using, create the configuration file ${prefix}/etc/ssmtp/ssmtp.conf by using ${prefix}/etc/ssmtp/ssmtp.conf.sample as a reference.
52"
53
54livecheck.type      regex
55livecheck.url       http://packages.debian.org/stable/mail/${name}
56livecheck.regex     ${name} .(\[0-9.\]+)
Note: See TracBrowser for help on using the repository browser.