1 --- misc/Python-2.6.1/PCbuild/build_ssl.py 2009-11-02 08:24:35.140625000 +0000
2 +++ misc/build/Python-2.6.1/PCbuild/build_ssl.py 2009-11-02 08:25:11.750000000 +0000
6 if __name__=='__main__':
9 --- misc/Python-2.6.1/PCbuild/_ssl.vcproj 2009-11-02 08:24:35.140625000 +0000
10 +++ misc/build/Python-2.6.1/PCbuild/_ssl.vcproj 2009-11-02 08:24:35.140625000 +0000
14 Name="VCCLCompilerTool"
15 - AdditionalIncludeDirectories="$(opensslDir)\inc32"
16 + AdditionalIncludeDirectories="$(SOLARVERSION)\$(INPATH)\inc\external"
19 Name="VCManagedResourceCompilerTool"
24 - AdditionalDependencies="ws2_32.lib $(opensslDir)\out32\libeay32.lib $(opensslDir)\out32\ssleay32.lib"
25 + AdditionalDependencies="ws2_32.lib $(SOLARVER)\$(INPATH)\lib\libeay32.lib $(SOLARVER)\$(INPATH)\lib\ssleay32.lib"
32 Name="VCCLCompilerTool"
33 - AdditionalIncludeDirectories="$(opensslDir)\inc64"
34 + AdditionalIncludeDirectories="$(SOLARVERSION)\$(INPATH)\inc\external"
37 Name="VCManagedResourceCompilerTool"
42 - AdditionalDependencies="ws2_32.lib $(opensslDir)\out64\libeay32.lib $(opensslDir)\out64\ssleay32.lib"
43 + AdditionalDependencies="ws2_32.lib $(SOLARVER)\$(INPATH)\lib\libeay32.lib $(SOLARVER)\$(INPATH)\lib\ssleay32.lib"
50 Name="VCCLCompilerTool"
51 - AdditionalIncludeDirectories="$(opensslDir)\inc32"
52 + AdditionalIncludeDirectories="$(SOLARVERSION)\$(INPATH)\inc\external"
55 Name="VCManagedResourceCompilerTool"
60 - AdditionalDependencies="ws2_32.lib $(opensslDir)\out32\libeay32.lib $(opensslDir)\out32\ssleay32.lib"
61 + AdditionalDependencies="ws2_32.lib $(SOLARVER)\$(INPATH)\lib\libeay32.lib $(SOLARVER)\$(INPATH)\lib\ssleay32.lib"
68 Name="VCCLCompilerTool"
69 - AdditionalIncludeDirectories="$(opensslDir)\inc64"
70 + AdditionalIncludeDirectories="$(SOLARVERSION)\$(INPATH)\inc\external"
73 Name="VCManagedResourceCompilerTool"
78 - AdditionalDependencies="ws2_32.lib $(opensslDir)\out64\libeay32.lib $(opensslDir)\out64\ssleay32.lib"
79 + AdditionalDependencies="ws2_32.lib $(SOLARVER)\$(INPATH)\lib\libeay32.lib $(SOLARVER)\$(INPATH)\lib\ssleay32.lib"
86 Name="VCCLCompilerTool"
87 - AdditionalIncludeDirectories="$(opensslDir)\inc32"
88 + AdditionalIncludeDirectories="$(SOLARVERSION)\$(INPATH)\inc\external"
91 Name="VCManagedResourceCompilerTool"
96 - AdditionalDependencies="ws2_32.lib $(opensslDir)\out32\libeay32.lib $(opensslDir)\out32\ssleay32.lib"
97 + AdditionalDependencies="ws2_32.lib $(SOLARVER)\$(INPATH)\lib\libeay32.lib $(SOLARVER)\$(INPATH)\lib\ssleay32.lib"
104 Name="VCCLCompilerTool"
105 - AdditionalIncludeDirectories="$(opensslDir)\inc64"
106 + AdditionalIncludeDirectories="$(SOLARVERSION)\$(INPATH)\inc\external"
109 Name="VCManagedResourceCompilerTool"
114 - AdditionalDependencies="ws2_32.lib $(opensslDir)\out64\libeay32.lib $(opensslDir)\out64\ssleay32.lib"
115 + AdditionalDependencies="ws2_32.lib $(SOLARVER)\$(INPATH)\lib\libeay32.lib $(SOLARVER)\$(INPATH)\lib\ssleay32.lib"
122 Name="VCCLCompilerTool"
123 - AdditionalIncludeDirectories="$(opensslDir)\inc32"
124 + AdditionalIncludeDirectories="$(SOLARVERSION)\$(INPATH)\inc\external"
127 Name="VCManagedResourceCompilerTool"
132 - AdditionalDependencies="ws2_32.lib $(opensslDir)\out32\libeay32.lib $(opensslDir)\out32\ssleay32.lib"
133 + AdditionalDependencies="ws2_32.lib $(SOLARVER)\$(INPATH)\lib\libeay32.lib $(SOLARVER)\$(INPATH)\lib\ssleay32.lib"
140 Name="VCCLCompilerTool"
141 - AdditionalIncludeDirectories="$(opensslDir)\inc64"
142 + AdditionalIncludeDirectories="$(SOLARVERSION)\$(INPATH)\inc\external"
145 Name="VCManagedResourceCompilerTool"
150 - AdditionalDependencies="ws2_32.lib $(opensslDir)\out64\libeay32.lib $(opensslDir)\out64\ssleay32.lib"
151 + AdditionalDependencies="ws2_32.lib $(SOLARVER)\$(INPATH)\lib\libeay32.lib $(SOLARVER)\$(INPATH)\lib\ssleay32.lib"
155 --- misc/Python-2.6.1/setup.py 2009-11-02 10:12:43.000000000 +0000
156 +++ misc/build/Python-2.6.1/setup.py 2009-11-02 10:18:19.000000000 +0000
158 exts.append( Extension('_socket', ['socketmodule.c'],
159 depends = ['socketmodule.h']) )
160 # Detect SSL support for the socket module (via _ssl)
161 + ooosslinc = os.environ.get('SOLARVERSION') + '/' + \
162 + os.environ.get('INPATH') + '/' + \
164 + ooosslinc = ooosslinc + '/external/'
165 search_for_ssl_incs_in = [
167 '/usr/local/ssl/include',
168 '/usr/contrib/ssl/include/'
171 ['/usr/kerberos/include'])
174 + ooossllib = os.environ.get('SOLARVER') + '/' + \
175 + os.environ.get('INPATH') + '/' + \
177 + ooosslinc = ooosslinc + '/'
178 ssl_libs = find_library_file(self.compiler, 'ssl',lib_dirs,
179 - ['/usr/local/ssl/lib',
181 + '/usr/local/ssl/lib',
182 '/usr/contrib/ssl/lib/'
185 --- misc/Python-2.6.1/Modules/Setup.dist 2009-12-17 15:16:50.000000000 +0000
186 +++ misc/build/Python-2.6.1/Modules/Setup.dist 2009-12-17 15:17:49.000000000 +0000
187 @@ -248,14 +248,14 @@
188 # Message-Digest Algorithm, described in RFC 1321. The necessary files
189 # md5.c and md5.h are included here.
191 -#_md5 md5module.c md5.c
192 +_md5 md5module.c md5.c
195 # The _sha module implements the SHA checksum algorithms.
196 # (NIST's Secure Hash Algorithms.)
198 -#_sha256 sha256module.c
199 -#_sha512 sha512module.c
201 +_sha256 sha256module.c
202 +_sha512 sha512module.c
205 # SGI IRIX specific modules -- off by default.