From 79060be7bf66fbfb51ac5217a8f35beff164534c Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Tue, 5 Dec 2017 22:45:37 +0100 Subject: [PATCH] sipp: remove build timestamp Build timestamps prevent reproducible builds [0]. [0] https://reproducible-builds.org/docs/timestamps/ Signed-off-by: Alexander Couzens --- net/sipp/Makefile | 2 +- net/sipp/patches/110-reproducible-builds.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 net/sipp/patches/110-reproducible-builds.patch diff --git a/net/sipp/Makefile b/net/sipp/Makefile index 8b87888..3482db6 100644 --- a/net/sipp/Makefile +++ b/net/sipp/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=sipp PKG_VERSION:=3.5.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/SIPp/sipp/releases/download/v$(PKG_VERSION) diff --git a/net/sipp/patches/110-reproducible-builds.patch b/net/sipp/patches/110-reproducible-builds.patch new file mode 100644 index 0000000..0a00f68 --- /dev/null +++ b/net/sipp/patches/110-reproducible-builds.patch @@ -0,0 +1,11 @@ +--- a/src/sipp.cpp ++++ b/src/sipp.cpp +@@ -1396,7 +1396,7 @@ int main(int argc, char *argv[]) + #ifdef RTP_STREAM + "-RTPSTREAM" + #endif +- " built " __DATE__ ", " __TIME__); ++ ); + + printf + (" This program is free software; you can redistribute it and/or\n" -- 2.30.2