Changeset View
Changeset View
Standalone View
Standalone View
opensmtpd-extras/Makefile
Context not available. | |||||
PORTNAME= opensmtpd-extras | PORTNAME= opensmtpd-extras | ||||
PORTVERSION= 201605232202 | PORTVERSION= 201605232202 | ||||
PORTREVISION?= 1 | PORTREVISION?= 2 | ||||
adamw: Just one more thing, Dima. If you're manually setting PORTREVISION in the slave ports, can you… | |||||
Not Done Inline ActionsPlease do add a comment about checking/clearing PORTREVISION in the dependent ports. adamw: Please do add a comment about checking/clearing PORTREVISION in the dependent ports. | |||||
CATEGORIES+= mail | CATEGORIES+= mail | ||||
MASTER_SITES= http://www.opensmtpd.org/archives/ | MASTER_SITES= http://www.opensmtpd.org/archives/ | ||||
Not Done Inline ActionsI thought some of the pre-existing filters needed pkgconfig? Are you sure it doesn't break anything by removing it here? adamw: I thought some of the pre-existing filters needed pkgconfig? Are you sure it doesn't break… | |||||
adamwUnsubmitted Not Done Inline ActionsFor consistency, OPTIONS_DEFAULT should contain ${OPTIONS_GROUP_TOOLS}, not TOOL_STATS. adamw: For consistency, `OPTIONS_DEFAULT` should contain `${OPTIONS_GROUP_TOOLS}`, not `TOOL_STATS`. | |||||
adamwUnsubmitted Not Done Inline ActionsCan we sort this please? adamw: Can we sort this please? | |||||
adamwUnsubmitted Not Done Inline ActionsCan you change the text here for me? I figure if I make a separate commit it'll just make your life even harder trying to keep the patch up to date~ FILTER_DNSBL_DESC= Check incoming senders against DNSBLs adamw: Can you change the text here for me? I figure if I make a separate commit it'll just make your… | |||||
adamwUnsubmitted Not Done Inline ActionsAnd again here... FILTER_PAUSE_DESC= Pause before SMTP greeting to reduce spam adamw: And again here...
```
FILTER_PAUSE_DESC= Pause before SMTP greeting to reduce spam
``` | |||||
Context not available. | |||||
OPENSMTP_DEVEL_RUN_DEPENDS= smtpctl:${PORTSDIR}/mail/opensmtpd-devel | OPENSMTP_DEVEL_RUN_DEPENDS= smtpctl:${PORTSDIR}/mail/opensmtpd-devel | ||||
.if empty(SLAVE_PORT) | .if empty(SLAVE_PORT) | ||||
OPTIONS_GROUP= FILTER TABLE | OPTIONS_GROUP= TOOLS TABLE FILTER FILTER_EXP QUEUE SCHEDULER | ||||
OPTIONS_GROUP_FILTER= CLAMAV DKIM DNSBL PAUSE REGEX SPAMASSASSIN | OPTIONS_GROUP_FILTER= FILTER_CLAMAV FILTER_DKIM FILTER_DNSBL FILTER_MONKEY FILTER_PAUSE FILTER_REGEX FILTER_SPAMASSASSIN | ||||
OPTIONS_GROUP_TABLE= LDAP MYSQL PASSWD PGSQL PYTHON REDIS SMAP SQLITE | OPTIONS_GROUP_FILTER_EXP= FILTER_LUA FILTER_PERL FILTER_PYTHON | ||||
OPTIONS_DEFAULT= ${OPTIONS_GROUP_FILTER} ${OPTIONS_GROUP_TABLE} | OPTIONS_GROUP_QUEUE= QUEUE_PYTHON QUEUE_RAM | ||||
OPTIONS_GROUP_SCHEDULER= SCHEDULER_PYTHON SCHEDULER_RAM | |||||
OPTIONS_GROUP_TABLE= TABLE_LDAP TABLE_MYSQL TABLE_PASSWD TABLE_PGSQL TABLE_PYTHON TABLE_REDIS TABLE_SOCKETMAP TABLE_SQLITE | |||||
OPTIONS_GROUP_TOOLS= TOOL_STATS | |||||
OPTIONS_DEFAULT= ${OPTIONS_GROUP_FILTER} ${OPTIONS_GROUP_TABLE} TOOL_STATS | |||||
# Groups | # Groups | ||||
FILTER_DESC= BASE FILTERS | FILTER_DESC= BASE FILTERS | ||||
FILTER_EXP_DESC= EXPERIMENTAL FILTERS | |||||
QUEUE_DESC= EXPERIMENTAL QUEUES | |||||
SCHEDULER_DESC= EXPERIMENTAL SCHEDULERS | |||||
TABLE_DESC= BASE TABLES | TABLE_DESC= BASE TABLES | ||||
TOOLS_DESC= BASE TOOLS | |||||
# Filters | # Filters | ||||
CLAMAV_DESC= Check messages with ClamAV | FILTER_CLAMAV_DESC= Check messages with ClamAV | ||||
DKIM_DESC= Sign messages with DKIM | FILTER_DKIM_DESC= Sign messages with DKIM | ||||
DNSBL_DESC= Check messages against DNSBLs | FILTER_DNSBL_DESC= Check messages against DNSBLs | ||||
PAUSE_DESC= Pause incoming messages to reduce spam | FILTER_LUA_DESC= Lua-filter interface | ||||
SPAMASSASSIN_DESC= Check messages with SpamAssassin | FILTER_MONKEY_DESC= Filter to arbitrary reject or delay mails | ||||
FILTER_PAUSE_DESC= Pause incoming messages to reduce spam | |||||
FILTER_PERL_DESC= Perl-filter interface | |||||
FILTER_PYTHON_DESC= Python-filter interface | |||||
FILTER_REGEX_DESC= ${REGEX_DESC} | |||||
FILTER_SPAMASSASSIN_DESC= Check messages with SpamAssassin | |||||
#Queues | |||||
QUEUE_PYTHON_DESC= The queue-python | |||||
QUEUE_RAM_DESC= The queue-ram | |||||
#Schedulers | |||||
SCHEDULER_PYTHON_DESC= The scheduler-python | |||||
SCHEDULER_RAM_DESC= The scheduler-ram | |||||
# Tables | # Tables | ||||
PASSWD_DESC= passwd(5) table support | TABLE_LDAP_DESC= LDAP table support | ||||
SMAP_DESC= Socketmap protocol support | TABLE_MYSQL_DESC= MySQL table support | ||||
TABLE_PASSWD_DESC= passwd(5) table support | |||||
TABLE_PGSQL_DESC= PgSQL table support | |||||
TABLE_PYTHON_DESC= Python table support | |||||
TABLE_REDIS_DESC= REDIS table support | |||||
TABLE_SOCKETMAP_DESC= Socketmap protocol support | |||||
TABLE_SQLITE_DESC= SQLite table support | |||||
#Tools | |||||
TOOL_STATS_DESC= Stats tool for OpenSMTPD | |||||
PLIST_FILES= man/man3/filter_api.3.gz | PLIST_FILES= man/man3/filter_api.3.gz | ||||
INSTALL_DIR= ${LOCALBASE}/libexec/opensmtpd | INSTALL_DIR= ${LOCALBASE}/libexec/opensmtpd | ||||
NO_ARCH= yes | NO_ARCH= yes | ||||
# | # | ||||
# Tools | |||||
# | |||||
TOOL_STATS_RUN_DEPENDS= tool-stats:${PORTSDIR}/mail/opensmtpd-extras-tool-stats | |||||
# | |||||
# Filters | # Filters | ||||
# | # | ||||
adamwUnsubmitted Not Done Inline ActionsThere's no need for b.p.o.mk here anymore; it can be removed. adamw: There's no need for b.p.o.mk here anymore; it can be removed. | |||||
CLAMAV_RUN_DEPENDS= ${INSTALL_DIR}/filter-clamav:mail/opensmtpd-extras-filter-clamav | FILTER_CLAMAV_RUN_DEPENDS= ${INSTALL_DIR}/filter-clamav:mail/opensmtpd-extras-filter-clamav | ||||
DKIM_RUN_DEPENDS= ${INSTALL_DIR}/filter-dkim-signer:mail/opensmtpd-extras-filter-dkim | FILTER_DKIM_RUN_DEPENDS= ${INSTALL_DIR}/filter-dkim-signer:mail/opensmtpd-extras-filter-dkim | ||||
DNSBL_RUN_DEPENDS= ${INSTALL_DIR}/filter-dnsbl:mail/opensmtpd-extras-filter-dnsbl | FILTER_DNSBL_RUN_DEPENDS= ${INSTALL_DIR}/filter-dnsbl:mail/opensmtpd-extras-filter-dnsbl | ||||
PAUSE_RUN_DEPENDS= ${INSTALL_DIR}/filter-pause:mail/opensmtpd-extras-filter-pause | FILTER_LUA_RUN_DEPENDS= ${INSTALL_DIR}/filter-lua:mail/opensmtpd-extras-filter-lua | ||||
REGEX_RUN_DEPENDS= ${INSTALL_DIR}/filter-regex:mail/opensmtpd-extras-filter-regex | FILTER_MONKEY_RUN_DEPENDS= ${INSTALL_DIR}/filter-monkey:mail/opensmtpd-extras-filter-monkey | ||||
SPAMASSASSIN_RUN_DEPENDS= ${INSTALL_DIR}/filter-spamassassin:mail/opensmtpd-extras-filter-spamassassin | FILTER_PAUSE_RUN_DEPENDS= ${INSTALL_DIR}/filter-pause:mail/opensmtpd-extras-filter-pause | ||||
FILTER_PERL_RUN_DEPENDS= ${INSTALL_DIR}/filter-perl:mail/opensmtpd-extras-filter-perl | |||||
FILTER_PYTHON_RUN_DEPENDS= ${INSTALL_DIR}/filter-python:mail/opensmtpd-extras-filter-python | |||||
FILTER_REGEX_RUN_DEPENDS= ${INSTALL_DIR}/filter-regex:mail/opensmtpd-extras-filter-regex | |||||
FILTER_SPAMASSASSIN_RUN_DEPENDS= ${INSTALL_DIR}/filter-spamassassin:mail/opensmtpd-extras-filter-spamassassin | |||||
# | # | ||||
# Queues | |||||
# | |||||
QUEUE_PYTHON_RUN_DEPENDS= ${INSTALL_DIR}/queue-python:mail/opensmtpd-extras-queue-python | |||||
QUEUE_RAM_RUN_DEPENDS= ${INSTALL_DIR}/queue-ram:mail/opensmtpd-extras-queue-ram | |||||
# | |||||
# Schedulers | |||||
# | |||||
SCHEDULER_PYTHON_RUN_DEPENDS= ${INSTALL_DIR}/scheduler-python:mail/opensmtpd-extras-scheduler-python | |||||
SCHEDULER_RAM_RUN_DEPENDS= ${INSTALL_DIR}/scheduler-ram:mail/opensmtpd-extras-scheduler-ram | |||||
# | |||||
# Tables | # Tables | ||||
# | # | ||||
MYSQL_RUN_DEPENDS= ${INSTALL_DIR}/table-mysql:mail/opensmtpd-extras-table-mysql | TABLE_MYSQL_RUN_DEPENDS= ${INSTALL_DIR}/table-mysql:mail/opensmtpd-extras-table-mysql | ||||
PASSWD_RUN_DEPENDS= ${INSTALL_DIR}/table-passwd:mail/opensmtpd-extras-table-passwd | TABLE_PASSWD_RUN_DEPENDS= ${INSTALL_DIR}/table-passwd:mail/opensmtpd-extras-table-passwd | ||||
PGSQL_RUN_DEPENDS= ${INSTALL_DIR}/table-postgres:mail/opensmtpd-extras-table-postgresql | TABLE_PGSQL_RUN_DEPENDS= ${INSTALL_DIR}/table-postgres:mail/opensmtpd-extras-table-postgresql | ||||
PYTHON_RUN_DEPENDS= ${INSTALL_DIR}/table-python:mail/opensmtpd-extras-table-python | TABLE_PYTHON_RUN_DEPENDS= ${INSTALL_DIR}/table-python:mail/opensmtpd-extras-table-python | ||||
REDIS_RUN_DEPENDS= ${INSTALL_DIR}/table-redis:mail/opensmtpd-extras-table-redis | TABLE_REDIS_RUN_DEPENDS= ${INSTALL_DIR}/table-redis:mail/opensmtpd-extras-table-redis | ||||
SMAP_RUN_DEPENDS= ${INSTALL_DIR}/table-socketmap:mail/opensmtpd-extras-table-socketmap | TABLE_SOCKETMAP_RUN_DEPENDS= ${INSTALL_DIR}/table-socketmap:mail/opensmtpd-extras-table-socketmap | ||||
SQLITE_RUN_DEPENDS= ${INSTALL_DIR}/table-sqlite:mail/opensmtpd-extras-table-sqlite | TABLE_SQLITE_RUN_DEPENDS= ${INSTALL_DIR}/table-sqlite:mail/opensmtpd-extras-table-sqlite | ||||
.else | .else | ||||
.include <bsd.port.options.mk> | |||||
# Only install this for the opensmtpd-extras master port | # Only install this for the opensmtpd-extras master port | ||||
pre-patch: | pre-patch: | ||||
@${REINPLACE_CMD} -e '/man_MANS.*filter_api.3/s/^/#/' \ | @${REINPLACE_CMD} -e '/man_MANS.*filter_api.3/s/^/#/' \ | ||||
Context not available. |
Just one more thing, Dima. If you're manually setting PORTREVISION in the slave ports, can you add a reminder note here saying be sure to check for and remove PORTREVISION in slave ports?
It's the kind of thing I forget all the time.