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 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name opensmtpd |
---|
6 | version 6.4.1p2 |
---|
7 | license bsd |
---|
8 | categories net |
---|
9 | platforms darwin |
---|
10 | description OpenSMTPD mailserver |
---|
11 | long_description OpenSMTPD is a FREE implementation of the server-side SMTP protocol as defined by RFC 5321, with some additional standard extensions. It allows ordinary machines to exchange emails with other systems speaking the SMTP protocol. |
---|
12 | homepage https://www.opensmtpd.org |
---|
13 | |
---|
14 | maintainers openmaintainer \ |
---|
15 | thrivedata.it:ian |
---|
16 | |
---|
17 | master_sites https://www.opensmtpd.org/archives/ |
---|
18 | |
---|
19 | checksums rmd160 6d41efd3f2fbbd1068a6c025bec4dd84370791a2\ |
---|
20 | sha256 b69b84934bcc4893ca334504411cd47f86ea04ac5e971a5746d44c473ac5f732 \ |
---|
21 | size 718862 |
---|
22 | |
---|
23 | depends_build port:autoconf \ |
---|
24 | port:automake \ |
---|
25 | port:bison \ |
---|
26 | port:libtool |
---|
27 | |
---|
28 | depends_lib port:libasr \ |
---|
29 | port:libevent \ |
---|
30 | port:libressl |
---|
31 | |
---|
32 | patchfiles patch-config-fixes.diff |
---|
33 | |
---|
34 | set sysconfdir ${prefix}/etc/${name} |
---|
35 | |
---|
36 | configure.args --with-libevent=${prefix} \ |
---|
37 | --with-libasr=${prefix} \ |
---|
38 | --sysconfdir=${sysconfdir} \ |
---|
39 | --with-user-smtpd=nobody \ |
---|
40 | --with-user-queue=nobody \ |
---|
41 | --with-group-queue=daemon |
---|
42 | |
---|
43 | post-destroot { |
---|
44 | file mkdir ${sysconfdir} |
---|
45 | touch ${sysconfdir}/aliases |
---|
46 | } |
---|
47 | |
---|
48 | startupitem.create yes |
---|
49 | startupitem.name opensmtpd |
---|
50 | startupitem.executable ${prefix}/sbin/smtpd -d |
---|