View | Details | Raw Unified | Return to bug 262100
Collapse All | Expand All

(-)b/mail/postfix-current/Makefile (-7 / +8 lines)
Lines 1-7 Link Here
1
# Created by: Torsten Blum <torstenb@FreeBSD.org>
1
# Created by: Torsten Blum <torstenb@FreeBSD.org>
2
2
3
PORTNAME=	postfix
3
PORTNAME=	postfix
4
DISTVERSION=	3.7-20211107
4
DISTVERSION=	3.8-20220220
5
PORTREVISION?=	0
5
PORTREVISION?=	0
6
PORTEPOCH=	6
6
PORTEPOCH=	6
7
CATEGORIES=	mail
7
CATEGORIES=	mail
Lines 60-67 USERS= postfix Link Here
60
GROUPS=		mail maildrop postfix
60
GROUPS=		mail maildrop postfix
61
61
62
OPTIONS_DEFINE=		BDB BLACKLISTD CDB DOCS EAI INST_BASE LDAP LMDB MYSQL \
62
OPTIONS_DEFINE=		BDB BLACKLISTD CDB DOCS EAI INST_BASE LDAP LMDB MYSQL \
63
			NIS PCRE PGSQL SASL SQLITE TEST TLS
63
			NIS PCRE2 PGSQL SASL SQLITE TEST TLS
64
OPTIONS_DEFAULT?=	BLACKLISTD EAI PCRE TLS
64
OPTIONS_DEFAULT?=	BLACKLISTD EAI PCRE2 TLS
65
OPTIONS_RADIO=		RG1
65
OPTIONS_RADIO=		RG1
66
OPTIONS_RADIO_RG1=	SASLKMIT SASLKRB5
66
OPTIONS_RADIO_RG1=	SASLKMIT SASLKRB5
67
.if ${FLAVOR:U} == ldap
67
.if ${FLAVOR:U} == ldap
Lines 81-86 EAI_DESC= Email Address Internationalization (SMTPUTF8) support Link Here
81
INST_BASE_DESC=		Install into /usr and /etc/postfix
81
INST_BASE_DESC=		Install into /usr and /etc/postfix
82
LDAP_DESC=		LDAP maps (uses WITH_OPENLDAP_VER)
82
LDAP_DESC=		LDAP maps (uses WITH_OPENLDAP_VER)
83
LMDB_DESC=		LMDB maps
83
LMDB_DESC=		LMDB maps
84
PCRE2_DESC=		Use Perl Compatible Regular Expressions, version 2
84
RG1_DESC=		Kerberos network authentication protocol type
85
RG1_DESC=		Kerberos network authentication protocol type
85
SASLKMIT_DESC=		If your SASL req. MIT Kerberos5, select this
86
SASLKMIT_DESC=		If your SASL req. MIT Kerberos5, select this
86
SASLKRB5_DESC=		If your SASL req. Kerberos5, select this
87
SASLKRB5_DESC=		If your SASL req. Kerberos5, select this
Lines 94-100 EAI_LIB_DEPENDS= libicuuc.so:devel/icu Link Here
94
LDAP_USE=			OPENLDAP=yes
95
LDAP_USE=			OPENLDAP=yes
95
LMDB_LIB_DEPENDS=		liblmdb.so:databases/lmdb
96
LMDB_LIB_DEPENDS=		liblmdb.so:databases/lmdb
96
MYSQL_USES?=			mysql
97
MYSQL_USES?=			mysql
97
PCRE_LIB_DEPENDS=		libpcre.so:devel/pcre
98
PCRE2_LIB_DEPENDS=		libpcre2-8.so:devel/pcre2
98
PGSQL_USES=			pgsql
99
PGSQL_USES=			pgsql
99
SASLKMIT_LIB_DEPENDS=		libkrb5.so:security/krb5
100
SASLKMIT_LIB_DEPENDS=		libkrb5.so:security/krb5
100
SASL_LIB_DEPENDS=		libsasl2.so:security/cyrus-sasl2
101
SASL_LIB_DEPENDS=		libsasl2.so:security/cyrus-sasl2
Lines 197-206 POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -licuuc Link Here
197
POSTFIX_CCARGS+=	-DNO_EAI
198
POSTFIX_CCARGS+=	-DNO_EAI
198
.endif
199
.endif
199
200
200
.if ${PORT_OPTIONS:MPCRE}
201
.if ${PORT_OPTIONS:MPCRE2}
201
DYN_EXT+=		pcre
202
DYN_EXT+=		pcre
202
POSTFIX_CCARGS+=	-DHAS_PCRE -I${LOCALBASE}/include
203
POSTFIX_CCARGS+=	-DHAS_PCRE=2 -I${LOCALBASE}/include
203
POSTFIX_DYN_AUXLIBS+=	"AUXLIBS_PCRE=`${LOCALBASE}/bin/pcre-config --libs`"
204
POSTFIX_DYN_AUXLIBS+=	"AUXLIBS_PCRE=`${LOCALBASE}/bin/pcre2-config --libs8`"
204
.else
205
.else
205
POSTFIX_CCARGS+=	-DNO_PCRE
206
POSTFIX_CCARGS+=	-DNO_PCRE
206
.endif
207
.endif
(-)b/mail/postfix-current/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1636470430
1
TIMESTAMP = 1645464564
2
SHA256 (postfix/postfix-3.7-20211107.tar.gz) = 08b7c864819e7dfbd44c4513509afeca76ffcb8d9cfa5a97149aa4235c41f160
2
SHA256 (postfix/postfix-3.8-20220220.tar.gz) = 242b20fe8a74381f7190233eb52dd5407124e42fcdab88adbfb2ec58b8bb8b0c
3
SIZE (postfix/postfix-3.7-20211107.tar.gz) = 4771175
3
SIZE (postfix/postfix-3.8-20220220.tar.gz) = 4821731
(-)a/mail/postfix-current/files/patch-makedefs (-27 lines)
Removed Link Here
1
--- makedefs.orig	2021-04-24 20:49:37 UTC
2
+++ makedefs
3
@@ -309,6 +309,24 @@ case "$SYSTEM.$RELEASE" in
4
 		: ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
5
 		: ${PLUGIN_LD="${CC} -shared"}
6
 		;;
7
+  FreeBSD.13*)	SYSTYPE=FREEBSD13
8
+		: ${CC=cc}
9
+		: ${SHLIB_SUFFIX=.so}
10
+		: ${SHLIB_CFLAGS=-fPIC}
11
+		: ${SHLIB_LD="${CC} -shared"' -Wl,-soname,${LIB}'}
12
+		: ${SHLIB_RPATH='-Wl,-rpath,${SHLIB_DIR}'}
13
+		: ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
14
+		: ${PLUGIN_LD="${CC} -shared"}
15
+		;;
16
+  FreeBSD.14*)	SYSTYPE=FREEBSD14
17
+		: ${CC=cc}
18
+		: ${SHLIB_SUFFIX=.so}
19
+		: ${SHLIB_CFLAGS=-fPIC}
20
+		: ${SHLIB_LD="${CC} -shared"' -Wl,-soname,${LIB}'}
21
+		: ${SHLIB_RPATH='-Wl,-rpath,${SHLIB_DIR}'}
22
+		: ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
23
+		: ${PLUGIN_LD="${CC} -shared"}
24
+		;;
25
  DragonFly.*)	SYSTYPE=DRAGONFLY
26
 		;;
27
   OpenBSD.2*)	SYSTYPE=OPENBSD2
(-)a/mail/postfix-current/files/patch-src_util_sys__defs.h (-12 lines)
Removed Link Here
1
--- src/util/sys_defs.h.orig	2020-05-21 18:34:23 UTC
2
+++ src/util/sys_defs.h
3
@@ -30,7 +30,8 @@
4
 #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
5
     || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \
6
     || defined(FREEBSD8) || defined(FREEBSD9) || defined(FREEBSD10) \
7
-    || defined(FREEBSD11) || defined(FREEBSD12) \
8
+    || defined(FREEBSD11) || defined(FREEBSD12) || defined(FREEBSD13) \
9
+    || defined(FREEBSD14) \
10
     || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
11
     || defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
12
     || defined(OPENBSD5) || defined(OPENBSD6) \
(-)b/mail/postfix-current/pkg-plist (-4 / +3 lines)
Lines 29-35 lib/postfix/libpostfix-util.so Link Here
29
%%LDAP%%lib/postfix/postfix-ldap.so
29
%%LDAP%%lib/postfix/postfix-ldap.so
30
%%LMDB%%lib/postfix/postfix-lmdb.so
30
%%LMDB%%lib/postfix/postfix-lmdb.so
31
%%MYSQL%%lib/postfix/postfix-mysql.so
31
%%MYSQL%%lib/postfix/postfix-mysql.so
32
%%PCRE%%lib/postfix/postfix-pcre.so
32
%%PCRE2%%lib/postfix/postfix-pcre.so
33
%%PGSQL%%lib/postfix/postfix-pgsql.so
33
%%PGSQL%%lib/postfix/postfix-pgsql.so
34
%%SQLITE%%lib/postfix/postfix-sqlite.so
34
%%SQLITE%%lib/postfix/postfix-sqlite.so
35
libexec/postfix/anvil
35
libexec/postfix/anvil
Lines 42-48 libexec/postfix/dynamicmaps.cf Link Here
42
%%LDAP%%libexec/postfix/dynamicmaps.cf.d/ldap.cf
42
%%LDAP%%libexec/postfix/dynamicmaps.cf.d/ldap.cf
43
%%LMDB%%libexec/postfix/dynamicmaps.cf.d/lmdb.cf
43
%%LMDB%%libexec/postfix/dynamicmaps.cf.d/lmdb.cf
44
%%MYSQL%%libexec/postfix/dynamicmaps.cf.d/mysql.cf
44
%%MYSQL%%libexec/postfix/dynamicmaps.cf.d/mysql.cf
45
%%PCRE%%libexec/postfix/dynamicmaps.cf.d/pcre.cf
45
%%PCRE2%%libexec/postfix/dynamicmaps.cf.d/pcre.cf
46
%%PGSQL%%libexec/postfix/dynamicmaps.cf.d/pgsql.cf
46
%%PGSQL%%libexec/postfix/dynamicmaps.cf.d/pgsql.cf
47
%%SQLITE%%libexec/postfix/dynamicmaps.cf.d/sqlite.cf
47
%%SQLITE%%libexec/postfix/dynamicmaps.cf.d/sqlite.cf
48
libexec/postfix/error
48
libexec/postfix/error
Lines 63-69 libexec/postfix/postfix-files Link Here
63
%%LDAP%%libexec/postfix/postfix-files.d/ldap-files
63
%%LDAP%%libexec/postfix/postfix-files.d/ldap-files
64
%%LMDB%%libexec/postfix/postfix-files.d/lmdb-files
64
%%LMDB%%libexec/postfix/postfix-files.d/lmdb-files
65
%%MYSQL%%libexec/postfix/postfix-files.d/mysql-files
65
%%MYSQL%%libexec/postfix/postfix-files.d/mysql-files
66
%%PCRE%%libexec/postfix/postfix-files.d/pcre-files
66
%%PCRE2%%libexec/postfix/postfix-files.d/pcre-files
67
%%PGSQL%%libexec/postfix/postfix-files.d/pgsql-files
67
%%PGSQL%%libexec/postfix/postfix-files.d/pgsql-files
68
%%SQLITE%%libexec/postfix/postfix-files.d/sqlite-files
68
%%SQLITE%%libexec/postfix/postfix-files.d/sqlite-files
69
libexec/postfix/postfix-script
69
libexec/postfix/postfix-script
70
- 

Return to bug 262100