postfix: move to PCRE2 library
Move to PCRE2 library as PCRE is EOL and won't receive any security updates anymore. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
4b7d365b86
commit
f585559690
1 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ define Package/postfix
|
||||||
postfix=25:postfix=25 \
|
postfix=25:postfix=25 \
|
||||||
postdrop=26:postdrop=26
|
postdrop=26:postdrop=26
|
||||||
URL:=http://www.postfix.org/
|
URL:=http://www.postfix.org/
|
||||||
DEPENDS:=+POSTFIX_CDB:tinycdb +POSTFIX_TLS:libopenssl +POSTFIX_SASL:libsasl2 +POSTFIX_LDAP:libopenldap +POSTFIX_DB:libdb47 +POSTFIX_SQLITE:libsqlite3 +POSTFIX_MYSQL:libmysqlclient +POSTFIX_PGSQL:libpq +POSTFIX_EAI:icu +POSTFIX_PCRE:libpcre
|
DEPENDS:=+POSTFIX_CDB:tinycdb +POSTFIX_TLS:libopenssl +POSTFIX_SASL:libsasl2 +POSTFIX_LDAP:libopenldap +POSTFIX_DB:libdb47 +POSTFIX_SQLITE:libsqlite3 +POSTFIX_MYSQL:libmysqlclient +POSTFIX_PGSQL:libpq +POSTFIX_EAI:icu +POSTFIX_PCRE:libpcre2
|
||||||
MENU:=1
|
MENU:=1
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -172,8 +172,8 @@ ifdef CONFIG_POSTFIX_PGSQL
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_POSTFIX_PCRE
|
ifdef CONFIG_POSTFIX_PCRE
|
||||||
CCARGS+=-DHAS_PCRE -I$(STAGING_DIR)/usr/include/
|
CCARGS+=-DHAS_PCRE2 -I$(STAGING_DIR)/usr/include/
|
||||||
AUXLIBS+=-L$(STAGING_DIR)/usr/lib -lpcre
|
AUXLIBS+=-L$(STAGING_DIR)/usr/lib -lpcre2-8
|
||||||
else
|
else
|
||||||
CCARGS+=-DNO_PCRE
|
CCARGS+=-DNO_PCRE
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue