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

(-)Makefile (-4 / +6 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	opensmtpd
4
PORTNAME=	opensmtpd
5
PORTVERSION=	5.4.4
5
PORTVERSION=	5.4.4
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/ \
Lines 11-28 Link Here
11
DISTNAME=	${PORTNAME}-${PORTVERSION}p1
11
DISTNAME=	${PORTNAME}-${PORTVERSION}p1
12
12
13
MAINTAINER=	ashish@FreeBSD.org
13
MAINTAINER=	ashish@FreeBSD.org
14
COMMENT=	OpenSMTPD is a free MTA
14
COMMENT=	Security- and simplicity-focused SMTP server from OpenBSD
15
15
16
LICENSE=	ISCL
16
LICENSE=	ISCL
17
17
18
LIB_DEPENDS=	libevent.so:${PORTSDIR}/devel/libevent2
18
LIB_DEPENDS=	libevent.so:${PORTSDIR}/devel/libevent2
19
19
20
OPTIONS_DEFINE=	CA_BUNDLE PAM SQLITE MYSQL PGSQL LDAP REDIS LIBASRDEVEL
20
OPTIONS_DEFINE=	CA_BUNDLE PAM SQLITE MYSQL PGSQL LDAP REDIS LIBASRDEVEL \
21
		REPLACE_MAILERCONF
21
22
22
OPTIONS_DEFAULT=	CA_BUNDLE PAM
23
OPTIONS_DEFAULT=	CA_BUNDLE PAM REPLACE_MAILERCONF
23
24
24
CA_BUNDLE_DESC=	Install CA bundle for OpenSSL
25
CA_BUNDLE_DESC=	Install CA bundle for OpenSSL
25
LIBASRDEVEL_DESC=	Use development version of libasr
26
LIBASRDEVEL_DESC=	Use development version of libasr
27
REPLACE_MAILERCONF=	Activate OpenSMTPD in /etc/mailer.conf
26
28
27
USES=		libtool
29
USES=		libtool
28
USE_OPENSSL=	yes
30
USE_OPENSSL=	yes
(-)files/pkg-install.in (-1 / +1 lines)
Lines 3-9 Link Here
3
PKGNAME=$1
3
PKGNAME=$1
4
TARGET=$2
4
TARGET=$2
5
5
6
if [ "$TARGET" = POST-INSTALL ]; then
6
if [ "$TARGET" = POST-INSTALL -a -z "%%REPLACE_MAILERCONF%%" ]; then
7
	sed -e '/^[^#]/s/^/### smtpd: /g' -i '' /etc/mail/mailer.conf
7
	sed -e '/^[^#]/s/^/### smtpd: /g' -i '' /etc/mail/mailer.conf
8
	cat >>/etc/mail/mailer.conf <<EOF
8
	cat >>/etc/mail/mailer.conf <<EOF
9
sendmail        %%PREFIX%%/sbin/smtpctl
9
sendmail        %%PREFIX%%/sbin/smtpctl

Return to bug 198375