mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
620968a43a
Search criteria used: - 11.4 - OSREL* - OSVER* - *_FreeBSD_11 Input from: - adridg: devel/qca-legacy - jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds - sunpoet: security/p5-*OpenSSL* Reviewed by: doceng, kde, multimedia, perl, python, ruby, rust Differential Revision: https://reviews.freebsd.org/D32008 Test Plan: make index
62 lines
1.6 KiB
Makefile
62 lines
1.6 KiB
Makefile
# Created by: Ashish SHUKLA <ashish@FreeBSD.org>
|
|
|
|
PORTNAME= opensmtpd
|
|
PORTVERSION= 6.8.0
|
|
DISTVERSIONSUFFIX= p2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.opensmtpd.org/archives/
|
|
|
|
MAINTAINER= fluffy@FreeBSD.org
|
|
COMMENT= Security- and simplicity-focused SMTP server from OpenBSD
|
|
|
|
LICENSE= ISCL
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libevent.so:devel/libevent
|
|
|
|
OPTIONS_DEFINE= CA_BUNDLE LIBASRDEVEL MAILERCONF PAM TABLE_DB
|
|
|
|
OPTIONS_DEFAULT= CA_BUNDLE PAM TABLE_DB
|
|
|
|
CA_BUNDLE_DESC= Use NSS CA bundle for SSL instead of /etc/ssl/cert.pem
|
|
LIBASRDEVEL_DESC= Use development version of libasr
|
|
MAILERCONF_DESC= Activate OpenSMTPD in mailer.conf(5)
|
|
TABLE_DB_DESC= Build table-db plugin (aliases)
|
|
|
|
USES= bison cpe groff libtool localbase ssl
|
|
GNU_CONFIGURE= yes
|
|
|
|
CPE_VENDOR= openbsd
|
|
|
|
USE_RC_SUBR= smtpd
|
|
SUB_FILES= pkg-install pkg-deinstall pkg-message
|
|
|
|
CONFLICTS_INSTALL= postfix-[0-9]* sendmail-[0-9]* opensmtpd-devel-[0-9]*
|
|
|
|
USERS= _smtpd _smtpq
|
|
GROUPS= _smtpd _smtpq
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
CA_BUNDLE_CONFIGURE_WITH= path-CAfile=${LOCALBASE}/share/certs/ca-root-nss.crt
|
|
CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
|
|
|
LIBASRDEVEL_LIB_DEPENDS_OFF= libasr.so:dns/libasr
|
|
LIBASRDEVEL_LIB_DEPENDS= libasr.so:dns/libasr-devel
|
|
|
|
PAM_CONFIGURE_WITH= auth-pam=smtpd
|
|
TABLE_DB_CONFIGURE_WITH= table-db
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/mail/ \
|
|
--with-libevent=${LOCALBASE} \
|
|
--with-path-mbox=/var/mail \
|
|
--with-user-smtpd=_smtpd \
|
|
--with-user-queue=_smtpq \
|
|
--with-group-queue=_smtpq
|
|
|
|
post-install-TABLE_DB-on:
|
|
@${LN} -sf ${PREFIX}/sbin/smtpctl ${STAGEDIR}${PREFIX}/libexec/opensmtpd/makemap
|
|
|
|
.include <bsd.port.mk>
|