mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 17:04:32 +04:00
sendmail: fix build on hosts with Berkley DB installed
Buildbot caught an error: "Berkeley DB file locking needs flock() for version 5.x (and greater?)" It is caused by leakage of host-installed Berkley DB into the build. Since libmilter is not using the DB and because of convoluted build process of sendmail, we do the workaround - define a macro which prevents the error without affecting libmilter binary. Also change source URL from FTP to HTTPS. Signed-off-by: Aleksey Vasilenko <aleksey.vasilenko@gmail.com>
This commit is contained in:
committed by
Wesley Gimenes
parent
f03521b198
commit
d84ce3454a
@@ -8,10 +8,10 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=sendmail
|
PKG_NAME:=sendmail
|
||||||
PKG_VERSION:=8.18.1
|
PKG_VERSION:=8.18.1
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=ftp://ftp.sendmail.org/pub/sendmail
|
PKG_SOURCE_URL:=https://ftp.sendmail.org
|
||||||
PKG_HASH:=cbf1f309c38e4806f7cf3ead24260f17d1fe8fb63256d13edb3cdd1a098f0770
|
PKG_HASH:=cbf1f309c38e4806f7cf3ead24260f17d1fe8fb63256d13edb3cdd1a098f0770
|
||||||
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
define(`confCC', `TARGET_CC')
|
define(`confCC', `TARGET_CC')
|
||||||
define(`confCCOPTS', `TARGET_CFLAGS')
|
define(`confCCOPTS', `TARGET_CFLAGS')
|
||||||
APPENDDEF(`confENVDEF',`-DSTARTTLS')
|
APPENDDEF(`confENVDEF',`-DSTARTTLS')
|
||||||
|
APPENDDEF(`confENVDEF',`-DHASFLOCK')
|
||||||
APPENDDEF(`confLIBS', `-lssl -lcrypto')
|
APPENDDEF(`confLIBS', `-lssl -lcrypto')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user