sipp: remove build timestamp 221/head
authorAlexander Couzens <lynxis@fe80.eu>
Tue, 5 Dec 2017 21:45:37 +0000 (22:45 +0100)
committerAlexander Couzens <lynxis@fe80.eu>
Tue, 5 Dec 2017 22:21:41 +0000 (23:21 +0100)
Build timestamps prevent reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
net/sipp/Makefile
net/sipp/patches/110-reproducible-builds.patch [new file with mode: 0644]

index 8b87888f311cbfe32972638ecb3ba5f5c08c7243..3482db62a4f8fbcf17d4ca3152d3ca9d4f8db73a 100644 (file)
@@ -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 (file)
index 0000000..0a00f68
--- /dev/null
@@ -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"