From: Alexander Couzens Date: Mon, 4 Dec 2017 23:27:50 +0000 (+0100) Subject: wavemon: use SOURCE_DATE_EPOCH as BUILD_DATE X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=9d1b1c2c35d4dba9579938e6fa2d33aae8dc1ed9;p=openwrt-packages.git wavemon: use SOURCE_DATE_EPOCH as BUILD_DATE Build timestamps prevent reproducible builds [0]. SOURCE_DATE_EPOCH [1] can replace BUILD_DATE in a determinisc way. [0] https://reproducible-builds.org/docs/timestamps/ [1] https://reproducible-builds.org/specs/source-date-epoch/ Signed-off-by: Alexander Couzens --- diff --git a/net/wavemon/Makefile b/net/wavemon/Makefile index 4610d5d6d..1a32ed254 100644 --- a/net/wavemon/Makefile +++ b/net/wavemon/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wavemon PKG_VERSION:=0.8.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_MIRROR_HASH:=e00710049c34bf45735085ad59eedf54190e78d1c5f6b43d28ae9bc93d07681e @@ -44,7 +44,8 @@ define Package/wavemon/description endef CONFIGURE_VARS += \ - ac_cv_lib_cap_cap_get_flag=no + ac_cv_lib_cap_cap_get_flag=no \ + BUILD_DATE=$(SOURCE_DATE_EPOCH) TARGET_CFLAGS += -pthread -I$(STAGING_DIR)/usr/include/libnl3