260aaf48f8
Packaged in wip by Petar Bogdanovic. The mail gopher (mopher) is an extension to all mail transfer agents that implement the Sendmail Milter API. It reads a list of rules and acts on each incoming mail delivery attempt based on various criteria and existing states. Mopher supports indiscriminate and selective grey- and whitelisting of either individual addresses or whole domains (based on reverse lookups and rules provided by Mozilla's Public Suffix List). Access to tables and state-related data passes through a generic interface and is then translated by one of the available backend drivers.
32 lines
854 B
Makefile
32 lines
854 B
Makefile
# $NetBSD: options.mk,v 1.1 2014/12/01 13:58:15 gdt Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.mopher
|
|
PKG_SUPPORTED_OPTIONS= mysql spf
|
|
PKG_SUGGESTED_OPTIONS= spf
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}
|
|
|
|
# The use of db method is selected by config file; multiple methods
|
|
# can be compiled as modules. Non-optional modules are memdb (a memory
|
|
# hash-table; not persistent) and bdb, which either uses dbopen(3) from
|
|
# libc or the legacy Berkeley DB API from one of the db packages.
|
|
|
|
# mysql
|
|
.if !empty(PKG_OPTIONS:Mmysql)
|
|
CONFIGURE_ARGS+= --with-mysql
|
|
PLIST.mysql= yes
|
|
.include "../../mk/mysql.buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-mysql
|
|
.endif
|
|
|
|
# spf
|
|
.if !empty(PKG_OPTIONS:Mspf)
|
|
CONFIGURE_ARGS+= --with-spf2
|
|
PLIST.spf= yes
|
|
.include "../../mail/libspf2/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-spf2
|
|
.endif
|