From 319bc5aa0d47024df8eea3153f84eb8c9f17e00e9db886fd2aed6c39b4219b91 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Wed, 16 Mar 2016 09:34:36 +0000 Subject: [PATCH] Updating link to change in openSUSE:Factory/alpine revision 39.0 OBS-URL: https://build.opensuse.org/package/show/server:mail/alpine?expand=0&rev=f38703a4199ba5bd36f90507354b7a26 --- alpine-timestamp.patch | 48 ++++++++++++++++++++++++++++++++++++++++++ alpine.changes | 6 ++++++ alpine.spec | 4 +++- 3 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 alpine-timestamp.patch diff --git a/alpine-timestamp.patch b/alpine-timestamp.patch new file mode 100644 index 0000000..a1886f9 --- /dev/null +++ b/alpine-timestamp.patch @@ -0,0 +1,48 @@ +--- + alpine/Makefile | 4 ++-- + alpine/Makefile.am | 4 ++-- + alpine/Makefile.in | 4 ++-- + 3 files changed, 6 insertions(+), 6 deletions(-) + +Index: alpine-2.20/alpine/Makefile +=================================================================== +--- alpine-2.20.orig/alpine/Makefile ++++ alpine-2.20/alpine/Makefile +@@ -888,8 +888,8 @@ uninstall-am: uninstall-binPROGRAMS + + + date.c: +- echo "char datestamp[]="\"`date`\"";" > date.c +- echo "char hoststamp[]="\"`hostname`\"";" >> date.c ++ echo 'char datestamp[]="today";' > date.c ++ echo 'char hoststamp[]="sand";' >> date.c + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. +Index: alpine-2.20/alpine/Makefile.am +=================================================================== +--- alpine-2.20.orig/alpine/Makefile.am ++++ alpine-2.20/alpine/Makefile.am +@@ -48,5 +48,5 @@ AM_LDFLAGS = `cat @top_srcdir@/c-client/ + CLEANFILES = date.c + + date.c: +- echo "char datestamp[]="\"`date`\"";" > date.c +- echo "char hoststamp[]="\"`hostname`\"";" >> date.c ++ echo 'char datestamp[]="today";' > date.c ++ echo 'char hoststamp[]="sand";' >> date.c +Index: alpine-2.20/alpine/Makefile.in +=================================================================== +--- alpine-2.20.orig/alpine/Makefile.in ++++ alpine-2.20/alpine/Makefile.in +@@ -888,8 +888,8 @@ uninstall-am: uninstall-binPROGRAMS + + + date.c: +- echo "char datestamp[]="\"`date`\"";" > date.c +- echo "char hoststamp[]="\"`hostname`\"";" >> date.c ++ echo 'char datestamp[]="today";' > date.c ++ echo 'char hoststamp[]="sand";' >> date.c + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/alpine.changes b/alpine.changes index 7eebf9b..5050ac5 100644 --- a/alpine.changes +++ b/alpine.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 4 17:53:58 UTC 2016 - olaf@aepfle.de + +- Remove timestamp from binary + alpine-timestamp.patch + ------------------------------------------------------------------- Wed Mar 25 16:59:29 UTC 2015 - jengelh@inai.de diff --git a/alpine.spec b/alpine.spec index 6313d5f..cd4ec1f 100644 --- a/alpine.spec +++ b/alpine.spec @@ -1,7 +1,7 @@ # # spec file for package alpine # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,6 +36,7 @@ Patch2: make-use-of-strncat-safer.diff Patch3: operation-may-be-undefined-warning.diff Patch4: fix-implicit.patch Patch5: alpine-gcc44.diff +Patch6: alpine-timestamp.patch Patch10: pico-fix-spurious-undef-warnings.diff Patch20: pine-expression-warnings.diff Patch40: pico-stripwhitespace.diff @@ -135,6 +136,7 @@ fi %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 %patch10 -p1 %patch20 -p1 %patch40 -p1