summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-06-17 22:20:22 +0000
committerJay Freeman <saurik@saurik.com>2008-06-17 22:20:22 +0000
commitb67347bbf4b0f5a2ad102c00fc1b213ad30993d0 (patch)
tree48c31abd7e013c022d5866075ddd1b3d64af5be9
parent00f9a8f26321d0e37ecab72777bd77aab249d4ab (diff)
Removed a number of evil timestamps from builds.
git-svn-id: http://svn.telesphoreo.org/trunk@323 514c082c-b64e-11dc-b46d-3d985efe055d
-rw-r--r--data/apt/timestamp.diff98
-rw-r--r--data/lsof/timestamp.diff34
-rw-r--r--data/nano/timestamp.diff13
-rw-r--r--data/openssl/timestamp.diff11
4 files changed, 156 insertions, 0 deletions
diff --git a/data/apt/timestamp.diff b/data/apt/timestamp.diff
new file mode 100644
index 000000000..bedb9cadf
--- /dev/null
+++ b/data/apt/timestamp.diff
@@ -0,0 +1,98 @@
+diff -ru apt-0.6.46.4.1/cmdline/apt-cache.cc apt-0.6.46.4.1+iPhone/cmdline/apt-cache.cc
+--- apt-0.6.46.4.1/cmdline/apt-cache.cc 2006-12-04 14:37:35.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/cmdline/apt-cache.cc 2008-06-16 19:48:11.000000000 +0000
+@@ -1649,8 +1649,8 @@
+ /* */
+ bool ShowHelp(CommandLine &Cmd)
+ {
+- ioprintf(cout,_("%s %s for %s %s compiled on %s %s\n"),PACKAGE,VERSION,
+- COMMON_OS,COMMON_CPU,__DATE__,__TIME__);
++ ioprintf(cout,_("%s %s for %s %s\n"),PACKAGE,VERSION,
++ COMMON_OS,COMMON_CPU);
+
+ if (_config->FindB("version") == true)
+ return true;
+diff -ru apt-0.6.46.4.1/cmdline/apt-cdrom.cc apt-0.6.46.4.1+iPhone/cmdline/apt-cdrom.cc
+--- apt-0.6.46.4.1/cmdline/apt-cdrom.cc 2006-12-04 14:37:35.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/cmdline/apt-cdrom.cc 2008-06-16 19:47:49.000000000 +0000
+@@ -135,8 +135,8 @@
+ /* */
+ int ShowHelp()
+ {
+- ioprintf(cout,_("%s %s for %s %s compiled on %s %s\n"),PACKAGE,VERSION,
+- COMMON_OS,COMMON_CPU,__DATE__,__TIME__);
++ ioprintf(cout,_("%s %s for %s %s\n"),PACKAGE,VERSION,
++ COMMON_OS,COMMON_CPU);
+ if (_config->FindB("version") == true)
+ return 0;
+
+diff -ru apt-0.6.46.4.1/cmdline/apt-config.cc apt-0.6.46.4.1+iPhone/cmdline/apt-config.cc
+--- apt-0.6.46.4.1/cmdline/apt-config.cc 2006-12-04 14:37:35.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/cmdline/apt-config.cc 2008-06-16 19:47:55.000000000 +0000
+@@ -67,8 +67,8 @@
+ /* */
+ int ShowHelp()
+ {
+- ioprintf(cout,_("%s %s for %s %s compiled on %s %s\n"),PACKAGE,VERSION,
+- COMMON_OS,COMMON_CPU,__DATE__,__TIME__);
++ ioprintf(cout,_("%s %s for %s %s\n"),PACKAGE,VERSION,
++ COMMON_OS,COMMON_CPU);
+ if (_config->FindB("version") == true)
+ return 0;
+
+diff -ru apt-0.6.46.4.1/cmdline/apt-extracttemplates.cc apt-0.6.46.4.1+iPhone/cmdline/apt-extracttemplates.cc
+--- apt-0.6.46.4.1/cmdline/apt-extracttemplates.cc 2006-12-04 14:37:35.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/cmdline/apt-extracttemplates.cc 2008-06-16 19:48:06.000000000 +0000
+@@ -222,8 +222,8 @@
+ /* */
+ int ShowHelp(void)
+ {
+- ioprintf(cout,_("%s %s for %s %s compiled on %s %s\n"),PACKAGE,VERSION,
+- COMMON_OS,COMMON_CPU,__DATE__,__TIME__);
++ ioprintf(cout,_("%s %s for %s %s\n"),PACKAGE,VERSION,
++ COMMON_OS,COMMON_CPU);
+
+ if (_config->FindB("version") == true)
+ return 0;
+diff -ru apt-0.6.46.4.1/cmdline/apt-get.cc apt-0.6.46.4.1+iPhone/cmdline/apt-get.cc
+--- apt-0.6.46.4.1/cmdline/apt-get.cc 2006-12-04 14:37:35.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/cmdline/apt-get.cc 2008-06-16 19:47:43.000000000 +0000
+@@ -2384,8 +2384,8 @@
+ /* */
+ bool ShowHelp(CommandLine &CmdL)
+ {
+- ioprintf(cout,_("%s %s for %s %s compiled on %s %s\n"),PACKAGE,VERSION,
+- COMMON_OS,COMMON_CPU,__DATE__,__TIME__);
++ ioprintf(cout,_("%s %s for %s %s\n"),PACKAGE,VERSION,
++ COMMON_OS,COMMON_CPU);
+
+ if (_config->FindB("version") == true)
+ {
+diff -ru apt-0.6.46.4.1/cmdline/apt-sortpkgs.cc apt-0.6.46.4.1+iPhone/cmdline/apt-sortpkgs.cc
+--- apt-0.6.46.4.1/cmdline/apt-sortpkgs.cc 2006-12-04 14:37:35.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/cmdline/apt-sortpkgs.cc 2008-06-16 19:48:00.000000000 +0000
+@@ -141,8 +141,8 @@
+ /* */
+ int ShowHelp()
+ {
+- ioprintf(cout,_("%s %s for %s %s compiled on %s %s\n"),PACKAGE,VERSION,
+- COMMON_OS,COMMON_CPU,__DATE__,__TIME__);
++ ioprintf(cout,_("%s %s for %s %s\n"),PACKAGE,VERSION,
++ COMMON_OS,COMMON_CPU);
+ if (_config->FindB("version") == true)
+ return 0;
+
+diff -ru apt-0.6.46.4.1/ftparchive/apt-ftparchive.cc apt-0.6.46.4.1+iPhone/ftparchive/apt-ftparchive.cc
+--- apt-0.6.46.4.1/ftparchive/apt-ftparchive.cc 2006-12-04 14:37:36.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/ftparchive/apt-ftparchive.cc 2008-06-16 19:48:17.000000000 +0000
+@@ -547,8 +547,8 @@
+ /* */
+ bool ShowHelp(CommandLine &CmdL)
+ {
+- ioprintf(cout,_("%s %s for %s %s compiled on %s %s\n"),PACKAGE,VERSION,
+- COMMON_OS,COMMON_CPU,__DATE__,__TIME__);
++ ioprintf(cout,_("%s %s for %s %s\n"),PACKAGE,VERSION,
++ COMMON_OS,COMMON_CPU);
+ if (_config->FindB("version") == true)
+ return true;
+
diff --git a/data/lsof/timestamp.diff b/data/lsof/timestamp.diff
new file mode 100644
index 000000000..780099cef
--- /dev/null
+++ b/data/lsof/timestamp.diff
@@ -0,0 +1,34 @@
+diff -ru lsof-33/lsof/dialects/darwin/kmem/Makefile lsof-33+iPhone/lsof/dialects/darwin/kmem/Makefile
+--- lsof-33/lsof/dialects/darwin/kmem/Makefile 2007-05-24 22:35:11.000000000 +0000
++++ lsof-33+iPhone/lsof/dialects/darwin/kmem/Makefile 2008-06-17 22:11:04.000000000 +0000
+@@ -88,7 +88,6 @@
+ @echo '#define LSOF_BLDCMT "${LSOF_BLDCMT}"' > version.h;
+ @echo '#define LSOF_CC "${CC}"' >> version.h
+ @echo '#define LSOF_CCV "${CCV}"' >> version.h
+- @echo '#define LSOF_CCDATE "'`date`'"' >> version.h
+ @echo '#define LSOF_CCFLAGS "'`echo ${CFLAGS} | sed 's/\\\\(/\\(/g' | sed 's/\\\\)/\\)/g' | sed 's/"/\\\\"/g'`'"' >> version.h
+ @echo '#define LSOF_CINFO "${CINFO}"' >> version.h
+ @if [ "X${LSOF_HOST}" = "X" ]; then \
+diff -ru lsof-33/lsof/dialects/darwin/libproc/Makefile lsof-33+iPhone/lsof/dialects/darwin/libproc/Makefile
+--- lsof-33/lsof/dialects/darwin/libproc/Makefile 2007-06-05 21:11:21.000000000 +0000
++++ lsof-33+iPhone/lsof/dialects/darwin/libproc/Makefile 2008-06-17 22:11:05.000000000 +0000
+@@ -92,7 +92,6 @@
+ @echo '#define LSOF_BLDCMT "${LSOF_BLDCMT}"' > version.h;
+ @echo '#define LSOF_CC "${CC}"' >> version.h
+ @echo '#define LSOF_CCV "${CCV}"' >> version.h
+- @echo '#define LSOF_CCDATE "'`date`'"' >> version.h
+ @echo '#define LSOF_CCFLAGS "'`echo ${CFLAGS} | sed 's/\\\\(/\\(/g' | sed 's/\\\\)/\\)/g' | sed 's/"/\\\\"/g'`'"' >> version.h
+ @echo '#define LSOF_CINFO "${CINFO}"' >> version.h
+ @if [ "X${LSOF_HOST}" = "X" ]; then \
+diff -ru lsof-33/lsof/usage.c lsof-33+iPhone/lsof/usage.c
+--- lsof-33/lsof/usage.c 2007-05-24 22:35:11.000000000 +0000
++++ lsof-33+iPhone/lsof/usage.c 2008-06-17 22:11:20.000000000 +0000
+@@ -825,8 +825,6 @@
+ (void) fprintf(stderr, " configuration info: %s\n", cp);
+ #endif /* defined(LSOF_CINFO) */
+
+- if ((cp = isnullstr(LSOF_CCDATE)))
+- (void) fprintf(stderr, " constructed: %s\n", cp);
+ cp = isnullstr(LSOF_HOST);
+ if (!(cp1 = isnullstr(LSOF_LOGNAME)))
+ cp1 = isnullstr(LSOF_USER);
diff --git a/data/nano/timestamp.diff b/data/nano/timestamp.diff
new file mode 100644
index 000000000..660577f99
--- /dev/null
+++ b/data/nano/timestamp.diff
@@ -0,0 +1,13 @@
+diff -ru nano-2.0.7/src/nano.c nano-2.0.7+iPhone/src/nano.c
+--- nano-2.0.7/src/nano.c 2007-12-18 22:00:17.000000000 +0000
++++ nano-2.0.7+iPhone/src/nano.c 2008-06-16 20:43:20.000000000 +0000
+@@ -884,8 +884,7 @@
+ * it was compiled with. */
+ void version(void)
+ {
+- printf(_(" GNU nano version %s (compiled %s, %s)\n"), VERSION,
+- __TIME__, __DATE__);
++ printf(_(" GNU nano version %s\n"), VERSION);
+ printf(" (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007\n");
+ printf(" Free Software Foundation, Inc.\n");
+ printf(
diff --git a/data/openssl/timestamp.diff b/data/openssl/timestamp.diff
new file mode 100644
index 000000000..f1e61a446
--- /dev/null
+++ b/data/openssl/timestamp.diff
@@ -0,0 +1,11 @@
+diff -ru openssl-0.9.8g/crypto/Makefile openssl-0.9.8g+iPhone/crypto/Makefile
+--- openssl-0.9.8g/crypto/Makefile 2006-02-04 01:48:41.000000000 +0000
++++ openssl-0.9.8g+iPhone/crypto/Makefile 2008-06-17 20:45:57.000000000 +0000
+@@ -54,7 +54,6 @@
+ echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
+ echo ' #define CFLAGS "$(CC) $(CFLAG)"'; \
+ echo ' #define PLATFORM "$(PLATFORM)"'; \
+- echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
+ echo '#endif' ) >buildinf.h
+
+ x86cpuid-elf.s: x86cpuid.pl perlasm/x86asm.pl