Thu Feb 29 21:34:34 2024 UTC (88d)
opensmtpd-extras: disable broken python table


(vins)
diff -r1.1 -r1.2 pkgsrc/mail/opensmtpd-extras/PLIST
diff -r1.1 -r1.2 pkgsrc/mail/opensmtpd-extras/options.mk

cvs diff -r1.1 -r1.2 pkgsrc/mail/opensmtpd-extras/PLIST (expand / switch to unified diff)

--- pkgsrc/mail/opensmtpd-extras/PLIST 2024/02/29 20:57:37 1.1
+++ pkgsrc/mail/opensmtpd-extras/PLIST 2024/02/29 21:34:33 1.2
@@ -1,21 +1,20 @@ @@ -1,21 +1,20 @@
1@comment $NetBSD: PLIST,v 1.1 2024/02/29 20:57:37 vins Exp $ 1@comment $NetBSD: PLIST,v 1.2 2024/02/29 21:34:33 vins Exp $
2libexec/opensmtpd/queue-null 2libexec/opensmtpd/queue-null
3${PLIST.python}libexec/opensmtpd/queue-python 3${PLIST.python}libexec/opensmtpd/queue-python
4libexec/opensmtpd/queue-ram 4libexec/opensmtpd/queue-ram
5libexec/opensmtpd/queue-stub 5libexec/opensmtpd/queue-stub
6${PLIST.python}libexec/opensmtpd/scheduler-python 6${PLIST.python}libexec/opensmtpd/scheduler-python
7libexec/opensmtpd/scheduler-ram 7libexec/opensmtpd/scheduler-ram
8libexec/opensmtpd/scheduler-stub 8libexec/opensmtpd/scheduler-stub
9${PLIST.ldap}libexec/opensmtpd/table-ldap 9${PLIST.ldap}libexec/opensmtpd/table-ldap
10${PLIST.mysql}libexec/opensmtpd/table-mysql 10${PLIST.mysql}libexec/opensmtpd/table-mysql
11libexec/opensmtpd/table-passwd 11libexec/opensmtpd/table-passwd
12${PLIST.pgsql}libexec/opensmtpd/table-postgres 12${PLIST.pgsql}libexec/opensmtpd/table-postgres
13${PLIST.python}libexec/opensmtpd/table-python 
14${PLIST.redis}libexec/opensmtpd/table-redis 13${PLIST.redis}libexec/opensmtpd/table-redis
15libexec/opensmtpd/table-socketmap 14libexec/opensmtpd/table-socketmap
16${PLIST.sqlite}libexec/opensmtpd/table-sqlite 15${PLIST.sqlite}libexec/opensmtpd/table-sqlite
17libexec/opensmtpd/table-stub 16libexec/opensmtpd/table-stub
18man/man5/table-passwd.5 17man/man5/table-passwd.5
19${PLIST.redis}man/man5/table-redis.5 18${PLIST.redis}man/man5/table-redis.5
20man/man5/table-socketmap.5 19man/man5/table-socketmap.5
21${PLIST.sqlite}man/man5/table-sqlite.5 20${PLIST.sqlite}man/man5/table-sqlite.5

cvs diff -r1.1 -r1.2 pkgsrc/mail/opensmtpd-extras/options.mk (expand / switch to unified diff)

--- pkgsrc/mail/opensmtpd-extras/options.mk 2024/02/29 20:57:37 1.1
+++ pkgsrc/mail/opensmtpd-extras/options.mk 2024/02/29 21:34:33 1.2
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: options.mk,v 1.1 2024/02/29 20:57:37 vins Exp $ 1# $NetBSD: options.mk,v 1.2 2024/02/29 21:34:33 vins Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.opensmtpd-extras 3PKG_OPTIONS_VAR= PKG_OPTIONS.opensmtpd-extras
4 4
5PKG_SUPPORTED_OPTIONS+= ldap mysql perl pgsql python redis sqlite 5PKG_SUPPORTED_OPTIONS+= ldap mysql perl pgsql python redis sqlite
6PKG_SUGGESTED_OPTIONS= ldap sqlite 6PKG_SUGGESTED_OPTIONS= ldap sqlite
7 7
8PLIST_VARS+= ldap mysql pgsql python redis sqlite 8PLIST_VARS+= ldap mysql pgsql python redis sqlite
9 9
10.include "../../mk/bsd.options.mk" 10.include "../../mk/bsd.options.mk"
11 11
12### 12###
13### SQLite based OpenSMTPD table 13### SQLite based OpenSMTPD table
14### 14###
@@ -61,24 +61,22 @@ PLIST.redis= yes @@ -61,24 +61,22 @@ PLIST.redis= yes
61. include "../../lang/perl5/buildlink3.mk" 61. include "../../lang/perl5/buildlink3.mk"
62USE_TOOLS+= perl:run 62USE_TOOLS+= perl:run
63CONFIGURE_ENV+= need_perl=yes 63CONFIGURE_ENV+= need_perl=yes
64CONFIGURE_ENV+= PERL_CONFIG=${PERL5:Q} 64CONFIGURE_ENV+= PERL_CONFIG=${PERL5:Q}
65CONFIGURE_ARGS+= --with-perl=${BUILDLINK_PREFIX.perl:Q} 65CONFIGURE_ARGS+= --with-perl=${BUILDLINK_PREFIX.perl:Q}
66.endif 66.endif
67 67
68### 68###
69### Python bindings for OpenSMTPD 69### Python bindings for OpenSMTPD
70### 70###
71.if !empty(PKG_OPTIONS:Mpython) 71.if !empty(PKG_OPTIONS:Mpython)
72# current implementation is incompatible and does not build with python3 72# current implementation is incompatible and does not build with python3
73PYTHON_VERSIONS_ACCEPTED= 27 73PYTHON_VERSIONS_ACCEPTED= 27
74LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib 
75. include "../../converters/libiconv/buildlink3.mk" 74. include "../../converters/libiconv/buildlink3.mk"
76. include "../../devel/gettext-lib/buildlink3.mk" 75. include "../../devel/gettext-lib/buildlink3.mk"
77. include "../../lang/python/application.mk" 76. include "../../lang/python/application.mk"
78CONFIGURE_ARGS+= --with-python=${PREFIX:Q} 77CONFIGURE_ARGS+= --with-python=${PREFIX:Q}
79CONFIGURE_ARGS+= --with-python-type=python${PYVERSSUFFIX} 78CONFIGURE_ARGS+= --with-python-type=python${PYVERSSUFFIX}
80CONFIGURE_ARGS+= --with-queue-python 79CONFIGURE_ARGS+= --with-queue-python
81CONFIGURE_ARGS+= --with-table-python 
82CONFIGURE_ARGS+= --with-scheduler-python 80CONFIGURE_ARGS+= --with-scheduler-python
83PLIST.python= yes 81PLIST.python= yes
84.endif 82.endif