mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
postfix: update to 3.5.8
Pass TARGET_[C/LD]FLAGS to reduce filesize. Fix glibc compilation by adding lresolv. Remove uClibc-ng patch as that's now gone. Refreshed other patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -8,14 +8,14 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
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_URL:= \
|
||||
https://cdn.postfix.johnriley.me/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_LICENSE:=IPL-1.0
|
||||
@@ -179,6 +179,7 @@ else
|
||||
endif
|
||||
|
||||
CCARGS+=-DDEF_DB_TYPE=\"$(default_database_type)\"
|
||||
TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lresolv)
|
||||
|
||||
# prevent postfix-install from executing postconf at build time
|
||||
# by explicitly providing the default values to postfix-install
|
||||
@@ -216,7 +217,7 @@ endef
|
||||
|
||||
define Build/Compile
|
||||
# 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, \
|
||||
default_database_type config_directory command_directory daemon_directory \
|
||||
shlib_directory manpage_directory data_directory queue_directory \
|
||||
|
||||
Reference in New Issue
Block a user