Browse Source

Merge pull request #8162 from neheb/key

keyutils: Make reproducible
lilik-openwrt-22.03
Hannu Nyman 6 years ago
committed by GitHub
parent
commit
80622fef63
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 2 deletions
  1. +2
    -2
      libs/keyutils/Makefile
  2. +11
    -0
      libs/keyutils/patches/010-reproducible-build.patch

+ 2
- 2
libs/keyutils/Makefile View File

@ -1,4 +1,4 @@
#
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=keyutils
PKG_VERSION:=1.6
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://people.redhat.com/dhowells/keyutils/


+ 11
- 0
libs/keyutils/patches/010-reproducible-build.patch View File

@ -0,0 +1,11 @@
--- a/Makefile
+++ b/Makefile
@@ -108,7 +108,7 @@ all: keyctl request-key key.dns_resolver
###############################################################################
#RPATH = -Wl,-rpath,$(LIBDIR)
-VCPPFLAGS := -DPKGBUILD="\"$(shell date -u +%F)\""
+VCPPFLAGS := -DPKGBUILD="\"for OpenWrt"\"
VCPPFLAGS += -DPKGVERSION="\"keyutils-$(VERSION)\""
VCPPFLAGS += -DAPIVERSION="\"libkeyutils-$(APIVERSION)\""

Loading…
Cancel
Save