/
01-reproduceable_build.patch
102 lines (91 loc) · 3.94 KB
/
01-reproduceable_build.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
diff -u -u -r a/Main/SOGo.m b/Main/SOGo.m
--- a/Main/SOGo.m 2017-03-24 14:46:32.000000000 +0100
+++ b/Main/SOGo.m 2017-03-31 03:23:18.604053569 +0200
@@ -99,8 +99,8 @@
SoClassSecurityInfo *sInfo;
NSArray *basicRoles;
- [self logWithFormat: @"version %@ (build %@) -- starting",
- SOGoVersion, SOGoBuildDate];
+ [self logWithFormat: @"version %@ -- starting",
+ SOGoVersion];
defaults = [SOGoSystemDefaults sharedSystemDefaults];
doCrashOnSessionCreate = [defaults crashOnSessionCreate];
Only in b/Main: SOGo.m.orig
diff -u -u -r a/SoObjects/SOGo/GNUmakefile b/SoObjects/SOGo/GNUmakefile
--- a/SoObjects/SOGo/GNUmakefile 2017-03-24 14:46:32.000000000 +0100
+++ b/SoObjects/SOGo/GNUmakefile 2017-03-31 03:23:18.605053566 +0200
@@ -89,9 +89,6 @@
SOGoCredentialsFile.h \
SOGoTextTemplateFile.h
-all::
- @touch SOGoBuild.m
-
SOGo_OBJC_FILES = \
SOGoBuild.m \
SOGoProductLoader.m \
Only in b/SoObjects/SOGo: GNUmakefile.orig
diff -u -u -r a/SoObjects/SOGo/SOGoBuild.h b/SoObjects/SOGo/SOGoBuild.h
--- a/SoObjects/SOGo/SOGoBuild.h 2017-03-24 14:46:32.000000000 +0100
+++ b/SoObjects/SOGo/SOGoBuild.h 2017-03-31 03:23:18.605053566 +0200
@@ -23,7 +23,6 @@
#ifndef BUILD_H
#define BUILD_H
-extern NSString *SOGoBuildDate;
extern NSString *SOGoVersion;
#endif /* BUILD_H */
diff -u -u -r a/SoObjects/SOGo/SOGoBuild.m b/SoObjects/SOGo/SOGoBuild.m
--- a/SoObjects/SOGo/SOGoBuild.m 2017-03-24 14:46:32.000000000 +0100
+++ b/SoObjects/SOGo/SOGoBuild.m 2017-03-31 03:23:18.605053566 +0200
@@ -22,7 +22,6 @@
#import <Foundation/NSString.h>
-NSString *SOGoBuildDate = SOGO_BUILD_DATE;
NSString *SOGoVersion = (SOGO_MAJOR_VERSION
@"." SOGO_MINOR_VERSION
@"." SOGO_SUBMINOR_VERSION);
diff -u -u -r a/UI/SOGoUI/UIxComponent.h b/UI/SOGoUI/UIxComponent.h
--- a/UI/SOGoUI/UIxComponent.h 2017-03-24 14:46:32.000000000 +0100
+++ b/UI/SOGoUI/UIxComponent.h 2017-03-31 03:23:18.605053566 +0200
@@ -122,7 +122,6 @@
- (WOResponse *) redirectToLocation: (NSString *) newLocation;
/* Debugging */
-- (NSString *) buildDate;
- (BOOL) isUIxDebugEnabled;
@end
diff -u -u -r a/UI/SOGoUI/UIxComponent.m b/UI/SOGoUI/UIxComponent.m
--- a/UI/SOGoUI/UIxComponent.m 2017-03-24 14:46:32.000000000 +0100
+++ b/UI/SOGoUI/UIxComponent.m 2017-03-31 03:23:18.605053566 +0200
@@ -751,11 +751,6 @@
/* debugging */
-- (NSString *) buildDate
-{
- return SOGoBuildDate;
-}
-
- (BOOL) isUIxDebugEnabled
{
SOGoSystemDefaults *sd;
diff -u -u -r a/UI/Templates/MainUI/SOGoRootPage.wox b/UI/Templates/MainUI/SOGoRootPage.wox
--- a/UI/Templates/MainUI/SOGoRootPage.wox 2017-03-24 14:46:32.000000000 +0100
+++ b/UI/Templates/MainUI/SOGoRootPage.wox 2017-03-31 03:23:18.606053563 +0200
@@ -152,8 +152,6 @@
<md-dialog flex="50" flex-xs="100">
<md-dialog-content class="md-dialog-content">
<p><a href="http://sogo.nu/" target="_new">sogo.nu</a></p>
- <p>Version <var:string value="version"/> (<var:string value="buildDate" />)</p>
- <br/>
<p><var:string label:value="AboutBox" const:escapeHTML="NO"/></p>
<!--<img class="full-image" const:alt="Inverse" rsrc:src="img/inverse.png"/>-->
</md-dialog-content>
Only in b/UI/Templates/MainUI: SOGoRootPage.wox.orig
diff -u -u -r a/UI/Templates/UIxPageFrame.wox b/UI/Templates/UIxPageFrame.wox
--- a/UI/Templates/UIxPageFrame.wox 2017-03-24 14:46:32.000000000 +0100
+++ b/UI/Templates/UIxPageFrame.wox 2017-03-31 03:23:18.606053563 +0200
@@ -18,7 +18,6 @@
<meta name="description" content="SOGo Web Interface" />
<meta name="author" content="Inverse inc." />
<meta name="robots" content="stop" />
- <meta name="build" var:content="buildDate" />
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1" />
<link href="mailto:support@inverse.ca" rev="made" />
<link rel="shortcut icon" var:href="siteFavicon" type="image/x-icon" />
Only in b/UI/Templates: UIxPageFrame.wox.orig