@ -8,14 +8,14 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := postfix
PKG_NAME := postfix
PKG_VERSION := 3.5.7
PKG_RELEASE := 2
PKG_VERSION := 3.5.8
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := \
PKG_SOURCE_URL := \
https://cdn.postfix.johnriley.me/mirrors/postfix-release/official/ \
https://cdn.postfix.johnriley.me/mirrors/postfix-release/official/ \
http://ftp.porcupine.org/mirrors/postfix-release/official/
http://ftp.porcupine.org/mirrors/postfix-release/official/
PKG_HASH := b7a474f14e153dc7cbf6af38419729bc5af5c3c37aecf6b327a8f962158f0961
PKG_HASH := 22582628cf3edc18c5155c9ff44543dd95a9435fb68135d76a99f572cb07456f
PKG_MAINTAINER := Denis Shulyaka <Shulyaka@gmail.com>
PKG_MAINTAINER := Denis Shulyaka <Shulyaka@gmail.com>
PKG_LICENSE := IPL-1.0
PKG_LICENSE := IPL-1.0
@ -179,6 +179,7 @@ else
e n d i f
e n d i f
CCARGS += -DDEF_DB_TYPE= \" $( default_database_type) \"
CCARGS += -DDEF_DB_TYPE= \" $( default_database_type) \"
TARGET_LDFLAGS += $( if $( CONFIG_USE_GLIBC) ,-lresolv)
# prevent postfix-install from executing postconf at build time
# prevent postfix-install from executing postconf at build time
# by explicitly providing the default values to postfix-install
# by explicitly providing the default values to postfix-install
@ -216,7 +217,7 @@ endef
d e f i n e B u i l d / C o m p i l e
d e f i n e B u i l d / C o m p i l e
# Currently postfix has a bug with Makefiles that CCARGS are not passed to the compiler, so we are copying them to CC as a workaround
# Currently postfix has a bug with Makefiles that CCARGS are not passed to the compiler, so we are copying them to CC as a workaround
cd $( PKG_BUILD_DIR) ; $( MAKE) $( TARGET_CONFIGURE_OPTS) CC = '$(TARGET_CC) $(CCARGS)'
cd $( PKG_BUILD_DIR) ; $( MAKE) $( TARGET_CONFIGURE_OPTS) CC = '$(TARGET_CC) $(CCARGS) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) '
$( foreach p, \
$( foreach p, \
default_database_type config_directory command_directory daemon_directory \
default_database_type config_directory command_directory daemon_directory \
shlib_directory manpage_directory data_directory queue_directory \
shlib_directory manpage_directory data_directory queue_directory \