1#!/bin/sh
2
3sumt_i386=0
4sumd_i386=0
5sumt_x86_64=0
6sumd_x86_64=0
7
8sum() {
9    t=$(size -arch $1 $2 | grep -v TEXT | awk '{print $1}')
10    d=$(size -arch $1 $2 | grep -v TEXT | awk '{print $5}')
11    eval sumt_$1=\$\(expr \$sumt_$1 + $t \)
12    eval sumd_$1=\$\(expr \$sumd_$1 + $d \)
13    size -arch $1 $2 | grep -v TEXT | sed 's/^/	/'
14}
15
16check() {
17
18echo "	__TEXT	__DATA	__OBJC	others	dec	hex"
19sum i386 $1
20sum x86_64 $1
21echo ""
22}
23
24p=/Network/Servers/xs1/release/Software/Barolo/Updates/Barolo11A390/Roots/Heimdal
25
26
27check $p/System/Library/PrivateFrameworks/Heimdal.framework/Heimdal 
28check $p/System/Library/Frameworks/GSS.framework/GSS
29check $p/System/Library/PrivateFrameworks/CommonAuth.framework/CommonAuth
30
31echo "i386: $sumt_i386 $sumd_i386"
32echo "x86_64: $sumt_x86_64 $sumd_x86_64"
33
34grep -A 3 -e '^MIT Kerberos - SnowLeopard GM' $0
35
36exit 0
37
38heimdal 11A271
39
40	__TEXT	__DATA	__OBJC	others	dec	hex
41	487424	40960	0	98304	626688	99000
42	585728	69632	0	106496	761856	ba000
43
44	__TEXT	__DATA	__OBJC	others	dec	hex
45	172032	12288	0	73728	258048	3f000
46	200704	20480	0	77824	299008	49000
47
48	__TEXT	__DATA	__OBJC	others	dec	hex
49	36864	4096	0	16384	57344	e000
50	45056	4096	0	20480	69632	11000
51
52Heimdal 11A251
53
54	__TEXT	__DATA	__OBJC	others	dec	hex
55	483328	40960	0	98304	622592	98000
56	585728	69632	0	106496	761856	ba000
57
58	__TEXT	__DATA	__OBJC	others	dec	hex
59	172032	12288	0	73728	258048	3f000
60	200704	16384	0	77824	294912	48000
61
62	__TEXT	__DATA	__OBJC	others	dec	hex
63	36864	4096	0	16384	57344	e000
64	45056	4096	0	20480	69632	11000
65
66Heimdal 11A251 - no PKINIT nor SCRAM nor NTLM
67
68	__TEXT	__DATA	__OBJC	others	dec	hex
69	323584	24576	0	81920	430080	69000
70	397312	36864	0	86016	520192	7f000
71
72	__TEXT	__DATA	__OBJC	others	dec	hex
73	139264	8192	0	57344	204800	32000
74	163840	12288	0	61440	237568	3a000
75
76	__TEXT	__DATA	__OBJC	others	dec	hex
77	8192	4096	0	8192	20480	5000
78	12288	4096	0	12288	28672	7000
79
80Heimdal 11A251 - no PKINIT
81
82	__TEXT	__DATA	__OBJC	others	dec	hex
83	323584	24576	0	81920	430080	69000
84	397312	36864	0	86016	520192	7f000
85
86	__TEXT	__DATA	__OBJC	others	dec	hex
87	163840	12288	0	69632	245760	3c000
88	192512	16384	0	73728	282624	45000
89
90	__TEXT	__DATA	__OBJC	others	dec	hex
91	36864	4096	0	16384	57344	e000
92	45056	4096	0	20480	69632	11000
93
94Heimdal 11A190 - gcc 4.2 - cdsa for RSA and DH
95
96	__TEXT	__DATA	__OBJC	others	dec	hex
97	471040	40960	0	98304	610304	95000
98	569344	77824	0	106496	753664	b8000
99
100	__TEXT	__DATA	__OBJC	others	dec	hex
101	176128	12288	0	69632	258048	3f000
102	200704	20480	0	73728	294912	48000
103
104	__TEXT	__DATA	__OBJC	others	dec	hex
105	28672	4096	0	16384	49152	c000
106	32768	4096	0	16384	53248	d000
107
108Heimdal 11A190 - gcc 4.2 - No weak crypto
109
110	__TEXT	__DATA	__OBJC	others	dec	hex
111	487424	40960	0	98304	626688	99000
112	585728	77824	0	102400	765952	bb000
113
114	__TEXT	__DATA	__OBJC	others	dec	hex
115	167936	12288	0	69632	249856	3d000
116	196608	20480	0	73728	290816	47000
117
118	__TEXT	__DATA	__OBJC	others	dec	hex
119	28672	4096	0	16384	49152	c000
120	32768	4096	0	16384	53248	d000
121
122Heimdal 11A190 - gcc 4.2 - CommonCrypto DES
123
124	__TEXT	__DATA	__OBJC	others	dec	hex
125	491520	40960	0	98304	630784	9a000
126	589824	77824	0	106496	774144	bd000
127
128	__TEXT	__DATA	__OBJC	others	dec	hex
129	176128	12288	0	69632	258048	3f000
130	200704	20480	0	73728	294912	48000
131
132	__TEXT	__DATA	__OBJC	others	dec	hex
133	28672	4096	0	16384	49152	c000
134	32768	4096	0	16384	53248	d000
135
136Heimdal 11A190 - gcc 4.2 - all template encoder
137	__TEXT	__DATA	__OBJC	others	dec	hex
138	499712	40960	0	98304	638976	9c000
139	602112	77824	0	106496	786432	c0000
140
141	__TEXT	__DATA	__OBJC	others	dec	hex
142	176128	12288	0	69632	258048	3f000
143	200704	20480	0	73728	294912	48000
144
145	__TEXT	__DATA	__OBJC	others	dec	hex
146	28672	4096	0	16384	49152	c000
147	32768	4096	0	16384	53248	d000
148
149Heimdal 11A190 - gcc 4.2
150	__TEXT	__DATA	__OBJC	others	dec	hex
151	569344	36864	0	98304	704512	ac000
152	679936	65536	0	106496	851968	d0000
153
154	__TEXT	__DATA	__OBJC	others	dec	hex
155	176128	12288	0	69632	258048	3f000
156	204800	20480	0	73728	299008	49000
157
158	__TEXT	__DATA	__OBJC	others	dec	hex
159	28672	4096	0	16384	49152	c000
160	32768	4096	0	16384	53248	d000
161
162
163Heimdal 11A149 - gcc-4.2 (heimbase)
164	__TEXT	__DATA	__OBJC	others	dec	hex
165	569344	36864	0	98304	704512	ac000
166	679936	65536	0	106496	851968	d0000
167
168	__TEXT	__DATA	__OBJC	others	dec	hex
169	176128	12288	0	65536	253952	3e000
170	204800	16384	0	69632	290816	47000
171
172Heimdal 11A141 - gcc-4.2
173	__TEXT	__DATA	__OBJC	others	dec	hex
174	565248	36864	0	98304	700416	ab000
175	675840	65536	0	102400	843776	ce000
176
177	__TEXT	__DATA	__OBJC	others	dec	hex
178	176128	12288	0	65536	253952	3e000
179	204800	16384	0	69632	290816	47000
180
181Heimdal 11A132a - gcc-4.2
182	__TEXT	__DATA	__OBJC	others	dec	hex
183	565248	36864	0	98304	700416	ab000
184	679936	65536	0	102400	847872	cf000
185
186	__TEXT	__DATA	__OBJC	others	dec	hex
187	176128	12288	0	65536	253952	3e000
188	204800	16384	0	69632	290816	47000
189
190Heimdal 11A127 - clang
191	__TEXT	__DATA	__OBJC	others	dec	hex
192	561152	28672	0	98304	688128	a8000
193	647168	53248	0	102400	802816	c4000
194
195Heimdal 11A104a, now with symbol files
196	Heimdal
197	__TEXT	__DATA	__OBJC	others	dec	hex
198	552960	36864	0	94208	684032	a7000
199	663552	65536	0	102400	831488	cb000
200
201	GSS
202	__TEXT	__DATA	__OBJC	others	dec	hex
203	167936	8192	0	61440	237568	3a000
204	196608	16384	0	65536	278528	44000
205
206heimdal - gcc4.2 snowleopard
207	__TEXT	__DATA	__OBJC	others	dec	hex
208	626688	45056	0	196608	868352	d4000
209	765952	81920	0	208896	1056768	102000
210
211
212heimdal - llvm-gcc4.2 snowleopard
213	__TEXT	__DATA	__OBJC	others	dec	hex
214	647168	45056	0	196608	888832	d9000
215	757760	69632	0	208896	1036288	fd000
216
217heimdal - llvm-gcc4.2 barolo11A44
218	__TEXT	__DATA	__OBJC	others	dec	hex
219	643072	45056	0	196608	884736	d8000
220	749568	69632	0	208896	1028096	fb000
221
222MIT Kerberos - SnowLeopard GM
223	__TEXT	__DATA	__OBJC	others	dec	hex
224	626688	32768	0	90112	749568	b7000
225	720896	53248	0	98304	872448	d5000
226