Lines 2-8
Link Here
|
2 |
# $FreeBSD: head/mail/opensmtpd-devel/Makefile 390363 2015-06-23 10:43:59Z ashish $ |
2 |
# $FreeBSD: head/mail/opensmtpd-devel/Makefile 390363 2015-06-23 10:43:59Z ashish $ |
3 |
|
3 |
|
4 |
PORTNAME= opensmtpd |
4 |
PORTNAME= opensmtpd |
5 |
PORTVERSION= 201506112227 |
5 |
PORTVERSION= 5.7.3 |
6 |
PORTEPOCH= 1 |
6 |
PORTEPOCH= 1 |
7 |
CATEGORIES= mail |
7 |
CATEGORIES= mail |
8 |
MASTER_SITES= http://www.opensmtpd.org/archives/ \ |
8 |
MASTER_SITES= http://www.opensmtpd.org/archives/ \ |
Lines 18-55
Link Here
|
18 |
|
18 |
|
19 |
LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2 |
19 |
LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2 |
20 |
|
20 |
|
21 |
OPTIONS_DEFINE= CA_BUNDLE LIBASR MAILERCONF |
21 |
OPTIONS_DEFINE= CA_BUNDLE LIBASRDEVEL MAILERCONF PAM TABLE_DB |
22 |
|
22 |
|
23 |
OPTIONS_DEFAULT= CA_BUNDLE PAM |
23 |
OPTIONS_DEFAULT= CA_BUNDLE OPENSSL PAM TABLE_DB |
24 |
|
24 |
|
25 |
CA_BUNDLE_DESC= Install CA bundle for OpenSSL |
25 |
OPTIONS_RADIO= CRYPTO |
26 |
LIBASR_DESC= Use stable version of libasr |
26 |
OPTIONS_RADIO_CRYPTO= LIBRESSL LIBRESSL_DEVEL OPENSSL |
|
|
27 |
|
28 |
CA_BUNDLE_DESC= Install CA bundle for SSL |
29 |
LIBASRDEVEL_DESC= Use development version of libasr |
27 |
MAILERCONF_DESC= Activate OpenSMTPD in mailer.conf(5) |
30 |
MAILERCONF_DESC= Activate OpenSMTPD in mailer.conf(5) |
|
|
31 |
TABLE_DB_DESC= Build table-db plugin (aliases) |
32 |
CRYPTO_DESC= Choose which crypto engine to use |
33 |
LIBRESSL_DESC= Use security/libressl for ssl |
34 |
LIBRESSL_DEVEL_DESC= Use security/libressl-devel for ssl |
35 |
OPENSSL_DESC= Use security/openssl for ssl |
28 |
|
36 |
|
|
|
37 |
USES= cpe libtool |
38 |
USE_OPENSSL= yes |
39 |
WITH_OPENSSL_PORT= yes |
29 |
GNU_CONFIGURE= yes |
40 |
GNU_CONFIGURE= yes |
30 |
CONFIGURE_ARGS= --with-libevent-dir=${LOCALBASE} --sysconfdir=${PREFIX}/etc/mail/ \ |
41 |
CONFIGURE_ARGS= --with-libevent-dir=${LOCALBASE} --sysconfdir=${PREFIX}/etc/mail/ \ |
31 |
--with-mailwrapper --with-ssl-dir=${OPENSSLBASE} --enable-table-db |
42 |
--with-mailwrapper --with-ssl-dir=${OPENSSLBASE} |
|
|
43 |
|
44 |
CPE_VENDOR= openbsd |
32 |
|
45 |
|
33 |
USE_RC_SUBR= smtpd |
46 |
USE_RC_SUBR= smtpd |
34 |
SUB_FILES= pkg-install pkg-deinstall |
47 |
SUB_FILES= pkg-install pkg-deinstall pkg-message |
35 |
|
48 |
|
36 |
CONFLICTS_INSTALL= postfix-[0-9]* sendmail-[0-9]* opensmtpd-[0-9]* |
49 |
CONFLICTS_INSTALL= postfix-[0-9]* sendmail-[0-9]* opensmtpd-[0-9]* |
37 |
|
50 |
|
38 |
USERS= _smtpd _smtpq |
51 |
USERS= _smtpd _smtpq |
39 |
GROUPS= _smtpd |
52 |
GROUPS= _smtpd |
40 |
|
53 |
|
41 |
OPTIONS_SUB= yes |
54 |
OPTIONS_SUB= yes |
42 |
|
|
|
43 |
LIBASR_LIB_DEPENDS_OFF= libasr.so:${PORTSDIR}/dns/libasr-devel |
44 |
LIBASR_LIB_DEPENDS= libasr.so:${PORTSDIR}/dns/libasr |
45 |
|
55 |
|
46 |
CA_BUNDLE_CONFIGURE_ON= --with-ca-file=${LOCALBASE}/share/certs/ca-root-nss.crt |
56 |
CA_BUNDLE_CONFIGURE_ON= --with-ca-file=${LOCALBASE}/share/certs/ca-root-nss.crt |
47 |
CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss |
57 |
CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss |
48 |
|
58 |
|
49 |
USE_OPENSSL= yes |
59 |
LIBASRDEVEL_LIB_DEPENDS_OFF= libasr.so:${PORTSDIR}/dns/libasr |
50 |
WITH_OPENSSL_PORT= yes |
60 |
LIBASRDEVEL_LIB_DEPENDS= libasr.so:${PORTSDIR}/dns/libasr-devel |
51 |
|
61 |
|
52 |
post-deinstall: |
62 |
PAM_CONFIGURE_ON= --with-pam --with-pam-service=smtpd |
53 |
@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-DEINSTALL |
63 |
|
|
|
64 |
TABLE_DB_CONFIGURE_ON= --enable-table-db |
65 |
|
66 |
.include <bsd.port.options.mk> |
67 |
|
68 |
.if ${PORT_OPTIONS:MLIBRESSL} |
69 |
OPENSSL_PORT= security/libressl |
70 |
.endif |
71 |
|
72 |
.if ${PORT_OPTIONS:MLIBRESSL_DEVEL} |
73 |
OPENSSL_PORT= security/libressl-devel |
74 |
.endif |
54 |
|
75 |
|
55 |
.include <bsd.port.mk> |
76 |
.include <bsd.port.mk> |