View | Details | Raw Unified | Return to bug 206989
Collapse All | Expand All

(-)./Makefile (-5 / +24 lines)
Lines 3-14 Link Here
3
3
4
PORTNAME=	opensmtpd
4
PORTNAME=	opensmtpd
5
PORTVERSION=	5.7.3
5
PORTVERSION=	5.7.3
6
PORTREVISION=	1
6
PORTREVISION=	2
7
PORTEPOCH=	1
7
PORTEPOCH=	1
8
CATEGORIES=	mail
8
CATEGORIES=	mail
9
MASTER_SITES=	http://www.opensmtpd.org/archives/ \
9
MASTER_SITES=	http://www.opensmtpd.org/archives/ \
10
		http://distfiles.pirateparty.in/ashish/
10
		http://distfiles.pirateparty.in/ashish/
11
DISTNAME=	${PORTNAME}-${PORTVERSION}p2
11
DISTVERSIONSUFFIX=	p2
12
12
13
MAINTAINER=	ashish@FreeBSD.org
13
MAINTAINER=	ashish@FreeBSD.org
14
COMMENT=	Security- and simplicity-focused SMTP server from OpenBSD
14
COMMENT=	Security- and simplicity-focused SMTP server from OpenBSD
Lines 20-35 Link Here
20
20
21
OPTIONS_DEFINE=	CA_BUNDLE LIBASRDEVEL MAILERCONF PAM TABLE_DB
21
OPTIONS_DEFINE=	CA_BUNDLE LIBASRDEVEL MAILERCONF PAM TABLE_DB
22
22
23
OPTIONS_DEFAULT=	CA_BUNDLE PAM TABLE_DB
23
OPTIONS_RADIO=		CRYPTO
24
OPTIONS_RADIO_CRYPTO=	LIBRESSL LIBRESSL_DEVEL OPENSSL_BASE OPENSSL_PORT
24
25
25
CA_BUNDLE_DESC=	Install CA bundle for OpenSSL
26
OPTIONS_DEFAULT=	CA_BUNDLE PAM TABLE_DB OPENSSL_BASE
27
28
CA_BUNDLE_DESC=		Install CA bundle for OpenSSL
26
LIBASRDEVEL_DESC=	Use development version of libasr
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)
28
TABLE_DB_DESC=		Build table-db plugin (aliases)
31
TABLE_DB_DESC=		Build table-db plugin (aliases)
32
CRYPTO_DESC=		Choose which crypto engine to use
33
LIBRESSL_DESC=		SSL/TLS support via security/libressl
34
LIBRESSL_DEVEL_DESC=	SSL/TLS support via security/libressl-devel
35
OPENSSL_BASE_DESC=	SSL/TLS support via OpenSSL from base
36
OPENSSL_PORT_DESC=	SSL/TLS support via OpenSSL from port
29
37
30
USES=		cpe libtool
38
USES=		cpe libtool
31
USE_OPENSSL=	yes
39
USE_OPENSSL=	yes
32
WITH_OPENSSL_PORT=	yes
33
GNU_CONFIGURE=	yes
40
GNU_CONFIGURE=	yes
34
CONFIGURE_ARGS=	--with-libevent-dir=${LOCALBASE} --sysconfdir=${PREFIX}/etc/mail/ \
41
CONFIGURE_ARGS=	--with-libevent-dir=${LOCALBASE} --sysconfdir=${PREFIX}/etc/mail/ \
35
		--with-mailwrapper --with-ssl-dir=${OPENSSLBASE}
42
		--with-mailwrapper --with-ssl-dir=${OPENSSLBASE}
Lines 56-59 Link Here
56
63
57
TABLE_DB_CONFIGURE_ON=	--enable-table-db
64
TABLE_DB_CONFIGURE_ON=	--enable-table-db
58
65
66
.include <bsd.port.options.mk>
67
68
.if !${PORT_OPTIONS:MOPENSSL_BASE}
69
WITH_OPENSSL_PORT=	yes
70
.endif
71
72
.if ${PORT_OPTIONS:MLIBRESSL}
73
OPENSSL_PORT=	security/libressl
74
.elif ${PORT_OPTIONS:MLIBRESSL_DEVEL}
75
OPENSSL_PORT=	security/libressl-devel
76
.endif
77
59
.include <bsd.port.mk>
78
.include <bsd.port.mk>
(-)./pkg-plist (-6 / +6 lines)
Lines 1-15 Link Here
1
etc/mail/smtpd.conf.sample
1
@sample etc/mail/smtpd.conf.sample
2
libexec/opensmtpd/encrypt
2
libexec/opensmtpd/encrypt
3
libexec/opensmtpd/mail.local
3
libexec/opensmtpd/mail.local
4
%%TABLE_DB%%libexec/opensmtpd/makemap
4
%%TABLE_DB%%libexec/opensmtpd/makemap
5
sbin/smtpctl
5
sbin/smtpctl
6
sbin/smtpd
6
sbin/smtpd
7
man/man5/aliases.5.gz
8
man/man5/forward.5.gz
9
man/man5/smtpd.conf.5.gz
10
man/man5/table.5.gz
7
%%TABLE_DB%%man/man8/makemap.8.gz
11
%%TABLE_DB%%man/man8/makemap.8.gz
8
%%TABLE_DB%%man/man8/newaliases.8.gz
12
%%TABLE_DB%%man/man8/newaliases.8.gz
9
man/man8/sendmail.8.gz
13
man/man8/sendmail.8.gz
10
man/man8/smtpd.8.gz
11
man/man8/smtpctl.8.gz
14
man/man8/smtpctl.8.gz
12
man/man5/table.5.gz
15
man/man8/smtpd.8.gz
13
man/man5/smtpd.conf.5.gz
14
man/man5/forward.5.gz
15
man/man5/aliases.5.gz

Return to bug 206989