svn commit: r409808 - in head/mail: . opensmtpd-extras
Pietro Cerutti
gahr at FreeBSD.org
Mon Feb 29 12:06:34 UTC 2016
Author: gahr
Date: Mon Feb 29 12:06:32 2016
New Revision: 409808
URL: https://svnweb.freebsd.org/changeset/ports/409808
Log:
mail/opensmtpd-extras: new port - addons for mail/opensmtpd
Currently, only the "tables" components are included. Please feel free to
contribute with "filters", "queues", and "schedulers".
WWW: https://github.com/OpenSMTPD/OpenSMTPD-extras
Added:
head/mail/opensmtpd-extras/
head/mail/opensmtpd-extras/Makefile (contents, props changed)
head/mail/opensmtpd-extras/distinfo (contents, props changed)
head/mail/opensmtpd-extras/pkg-descr (contents, props changed)
Modified:
head/mail/Makefile
Modified: head/mail/Makefile
==============================================================================
--- head/mail/Makefile Mon Feb 29 12:04:05 2016 (r409807)
+++ head/mail/Makefile Mon Feb 29 12:06:32 2016 (r409808)
@@ -291,6 +291,7 @@
SUBDIR += openemm2015
SUBDIR += opensmtpd
SUBDIR += opensmtpd-devel
+ SUBDIR += opensmtpd-extras
SUBDIR += openwebmail
SUBDIR += osbf-lua
SUBDIR += ovs
Added: head/mail/opensmtpd-extras/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/opensmtpd-extras/Makefile Mon Feb 29 12:06:32 2016 (r409808)
@@ -0,0 +1,69 @@
+# Created by: gahr
+# $FreeBSD$
+
+PORTNAME= opensmtpd-extras
+PORTVERSION= 201602042118
+CATEGORIES= mail
+MASTER_SITES= http://www.opensmtpd.org/archives/
+
+MAINTAINER= gahr at FreeBSD.org
+COMMENT= Addons for OpenSMTPD
+
+LICENSE= ISCL
+
+OPTIONS_GROUP= TABLE
+OPTIONS_GROUP_TABLE= LDAP MYSQL PASSWD PGSQL PYTHON REDIS SMAP SQLITE
+OPTIONS_DEFAULT= LDAP MYSQL PASSWD PGSQL PYTHON REDIS SMAP SQLITE
+
+PASSWD_DESC= passwd(5) table support
+SMAP_DESC= Socketmap protocol support
+
+OPTIONS_SUB= yes
+
+LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2
+RUN_DEPENDS= ${LOCALBASE}/sbin/smtpctl:${PORTSDIR}/mail/opensmtpd
+
+USES= autoreconf libtool pkgconfig
+USE_OPENSSL= yes
+WITH_OPENSSL_PORT= yes
+GNU_CONFIGURE= yes
+PLIST_FILES= man/man3/filter_api.3.gz
+INSTALL_DIR= libexec/opensmtpd
+
+#
+# Tables
+#
+MYSQL_CONFIGURE_WITH= table-mysql
+MYSQL_VARS= USE_MYSQL=client \
+ LDFLAGS+=-L${LOCALBASE}/lib/mysql \
+ PLIST_FILES+=${INSTALL_DIR}/table-mysql
+
+PASSWD_CONFIGURE_WITH= table-passwd
+PASSWD_VARS= PLIST_FILES+=${INSTALL_DIR}/table-passwd \
+ PLIST_FILES+=man/man5/table-passwd.5.gz
+
+PGSQL_CONFIGURE_WITH= table-postgres
+PGSQL_USES= pgsql
+PGSQL_VARS= PLIST_FILES+=${INSTALL_DIR}/table-postgres
+
+PYTHON_CONFIGURE_WITH= table-python python-type=${PYTHON_VERSION}
+PYTHON_USES= python
+PYTHON_VARS= PLIST_FILES+=${INSTALL_DIR}/table-python
+
+REDIS_CONFIGURE_WITH= table-redis
+REDIS_CONFIGURE_ENV= REDIS_CONFIG=${LOCALBASE}/bin/pkgconf
+REDIS_LIB_DEPENDS= libhiredis.so:${PORTSDIR}/databases/hiredis
+REDIS_VARS= CFLAGS+=-I${LOCALBASE}/include/hiredis \
+ PLIST_FILES+=${INSTALL_DIR}/table-redis \
+ PLIST_FILES+=man/man5/table-redis.5.gz
+
+SMAP_CONFIGURE_WITH= table-socketmap
+SMAP_VARS= PLIST_FILES+=${INSTALL_DIR}/table-socketmap \
+ PLIST_FILES+=man/man5/table-socketmap.5.gz
+
+SQLITE_CONFIGURE_WITH= table-sqlite
+SQLITE_USES= sqlite
+SQLITE_VARS= PLIST_FILES+=${INSTALL_DIR}/table-sqlite \
+ PLIST_FILES+=man/man5/table-sqlite.5.gz
+
+.include <bsd.port.mk>
Added: head/mail/opensmtpd-extras/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/opensmtpd-extras/distinfo Mon Feb 29 12:06:32 2016 (r409808)
@@ -0,0 +1,2 @@
+SHA256 (opensmtpd-extras-201602042118.tar.gz) = 59480e4bc0c75ca554a0a833b51764e4b7de6acf9f1ebcd2e7f176c144da3b32
+SIZE (opensmtpd-extras-201602042118.tar.gz) = 142226
Added: head/mail/opensmtpd-extras/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/opensmtpd-extras/pkg-descr Mon Feb 29 12:06:32 2016 (r409808)
@@ -0,0 +1,3 @@
+OpenSMTPD addons.
+
+WWW: https://github.com/OpenSMTPD/OpenSMTPD-extras
More information about the svn-ports-all
mailing list