summaryrefslogtreecommitdiff
path: root/packages/linux
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2005-05-10 10:24:14 +0000
committerRod Whitby <rod@whitby.id.au>2005-05-10 10:24:14 +0000
commited48619d4862933989925344a58779903f07623d (patch)
tree9bbea5a4abf6851da7378545df312378d3d5b449 /packages/linux
parentf0148a25ca9abe5b28ab3c0f093489c22cd90bb2 (diff)
Unslung 4.20-beta release candidate, OpenSlug 1.10-beta release candidate: updated anonymiser patches, and bumped the versions.
BKrev: 42808bcewosvMJJ_2wvpMLMtt4Qq4g
Diffstat (limited to 'packages/linux')
-rw-r--r--packages/linux/openslug-kernel-2.6.11.2/anonymiser.patch22
-rw-r--r--packages/linux/unslung-kernel-2.3r25/anonymiser.patch24
2 files changed, 46 insertions, 0 deletions
diff --git a/packages/linux/openslug-kernel-2.6.11.2/anonymiser.patch b/packages/linux/openslug-kernel-2.6.11.2/anonymiser.patch
index e69de29bb2..3384b15fe2 100644
--- a/packages/linux/openslug-kernel-2.6.11.2/anonymiser.patch
+++ b/packages/linux/openslug-kernel-2.6.11.2/anonymiser.patch
@@ -0,0 +1,22 @@
+--- linux-2.6.11.2/scripts/mkcompile_h.orig 2005-05-07 05:27:02.440000000 +0000
++++ linux-2.6.11.2/scripts/mkcompile_h 2005-05-07 05:28:30.360000000 +0000
+@@ -43,16 +43,9 @@
+ echo \#define UTS_VERSION \"`echo $UTS_VERSION | $UTS_TRUNCATE`\"
+
+ echo \#define LINUX_COMPILE_TIME \"`LC_ALL=C LANG=C date +%T`\"
+- echo \#define LINUX_COMPILE_BY \"`whoami`\"
+- echo \#define LINUX_COMPILE_HOST \"`hostname | $UTS_TRUNCATE`\"
+-
+- if [ -x /bin/dnsdomainname ]; then
+- echo \#define LINUX_COMPILE_DOMAIN \"`dnsdomainname | $UTS_TRUNCATE`\"
+- elif [ -x /bin/domainname ]; then
+- echo \#define LINUX_COMPILE_DOMAIN \"`domainname | $UTS_TRUNCATE`\"
+- else
+- echo \#define LINUX_COMPILE_DOMAIN
+- fi
++ echo \#define LINUX_COMPILE_BY \"openslug\"
++ echo \#define LINUX_COMPILE_HOST \"openslug.org\"
++ echo \#define LINUX_COMPILE_DOMAIN \"openslug.org\"
+
+ echo \#define LINUX_COMPILER \"`$CC -v 2>&1 | tail -n 1`\"
+ ) > .tmpcompile
diff --git a/packages/linux/unslung-kernel-2.3r25/anonymiser.patch b/packages/linux/unslung-kernel-2.3r25/anonymiser.patch
index e69de29bb2..61201031fa 100644
--- a/packages/linux/unslung-kernel-2.3r25/anonymiser.patch
+++ b/packages/linux/unslung-kernel-2.3r25/anonymiser.patch
@@ -0,0 +1,24 @@
+--- linux-2.4.22/Makefile.orig 2004-12-26 13:11:25.000000000 +1030
++++ linux-2.4.22/Makefile 2004-12-26 13:12:32.000000000 +1030
+@@ -431,12 +431,15 @@
+ @LANG=C echo ' '`date` >> .ver1
+ @echo \#define UTS_VERSION \"`cat .ver1 | $(uts_truncate)`\" > .ver
+ @LANG=C echo \#define LINUX_COMPILE_TIME \"`date +%T`\" >> .ver
+- @echo \#define LINUX_COMPILE_BY \"`whoami`\" >> .ver
+- @echo \#define LINUX_COMPILE_HOST \"`hostname | $(uts_truncate)`\" >> .ver
+- @([ -x /bin/dnsdomainname ] && /bin/dnsdomainname > .ver1) || \
+- ([ -x /bin/domainname ] && /bin/domainname > .ver1) || \
+- echo > .ver1
+- @echo \#define LINUX_COMPILE_DOMAIN \"`cat .ver1 | $(uts_truncate)`\" >> .ver
++# @echo \#define LINUX_COMPILE_BY \"`whoami`\" >> .ver
++ @echo \#define LINUX_COMPILE_BY \"unslung\" >> .ver
++# @echo \#define LINUX_COMPILE_HOST \"`hostname | $(uts_truncate)`\" >> .ver
++ @echo \#define LINUX_COMPILE_HOST \"unslung.org\" >> .ver
++# @([ -x /bin/dnsdomainname ] && /bin/dnsdomainname > .ver1) || \
++# ([ -x /bin/domainname ] && /bin/domainname > .ver1) || \
++# echo > .ver1
++# @echo \#define LINUX_COMPILE_DOMAIN \"`cat .ver1 | $(uts_truncate)`\" >> .ver
++ @echo \#define LINUX_COMPILE_DOMAIN \"unslung.org\" >> .ver
+ @echo \#define LINUX_COMPILER \"`$(CC) $(CFLAGS) -v 2>&1 | tail -n 1`\" >> .ver
+ @mv -f .ver $@
+ @rm -f .ver1