mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
keepalived: enable reproducible-build
Before keepalived version '2.3.0' the compilation was not reproducable
because the compile date and other information has been added to the binary.
Starting with version '2.3.0', there is a new compilation option
'--enable-reproducible-build' that makes the binary reproducible.
The data that prevented this has been moved to a separate file,
'/etc/keepalived/keepalived.config-opts'.
This commit enables the reproducable build.
[1] 30d2f75978
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
committed by
Florian Eckert
parent
5d8cf24665
commit
9db0eab9c5
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=keepalived
|
PKG_NAME:=keepalived
|
||||||
PKG_VERSION:=2.3.3
|
PKG_VERSION:=2.3.3
|
||||||
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:=https://www.keepalived.org/software
|
PKG_SOURCE_URL:=https://www.keepalived.org/software
|
||||||
@@ -84,6 +84,7 @@ endef
|
|||||||
|
|
||||||
CONFIGURE_ARGS+= \
|
CONFIGURE_ARGS+= \
|
||||||
--enable-json \
|
--enable-json \
|
||||||
|
--enable-reproducible-build \
|
||||||
--with-init=SYSV \
|
--with-init=SYSV \
|
||||||
--disable-track-process \
|
--disable-track-process \
|
||||||
--runstatedir="/var/run"
|
--runstatedir="/var/run"
|
||||||
@@ -216,6 +217,8 @@ endif
|
|||||||
$(INSTALL_DIR) $(1)/etc/keepalived
|
$(INSTALL_DIR) $(1)/etc/keepalived
|
||||||
$(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/keepalived/keepalived.conf.sample \
|
$(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/keepalived/keepalived.conf.sample \
|
||||||
$(1)/etc/keepalived/keepalived.conf
|
$(1)/etc/keepalived/keepalived.conf
|
||||||
|
$(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/keepalived/keepalived.config-opts \
|
||||||
|
$(1)/etc/keepalived/
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/etc/uci-defaults
|
$(INSTALL_DIR) $(1)/etc/uci-defaults
|
||||||
$(INSTALL_BIN) ./files/etc/uci-defaults/keepalived \
|
$(INSTALL_BIN) ./files/etc/uci-defaults/keepalived \
|
||||||
|
|||||||
Reference in New Issue
Block a user