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$(UPDMINOREXT)\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$(UPDMINOREXT)\libeay32.lib $(SOLARVER)\$(INPATH)\lib$(UPDMINOREXT)\ssleay32.lib"
32 Name="VCCLCompilerTool"
33 - AdditionalIncludeDirectories="$(opensslDir)\inc64"
34 + AdditionalIncludeDirectories="$(SOLARVERSION)\$(INPATH)\inc$(UPDMINOREXT)\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$(UPDMINOREXT)\libeay32.lib $(SOLARVER)\$(INPATH)\lib$(UPDMINOREXT)\ssleay32.lib"
50 Name="VCCLCompilerTool"
51 - AdditionalIncludeDirectories="$(opensslDir)\inc32"
52 + AdditionalIncludeDirectories="$(SOLARVERSION)\$(INPATH)\inc$(UPDMINOREXT)\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$(UPDMINOREXT)\libeay32.lib $(SOLARVER)\$(INPATH)\lib$(UPDMINOREXT)\ssleay32.lib"
68 Name="VCCLCompilerTool"
69 - AdditionalIncludeDirectories="$(opensslDir)\inc64"
70 + AdditionalIncludeDirectories="$(SOLARVERSION)\$(INPATH)\inc$(UPDMINOREXT)\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$(UPDMINOREXT)\libeay32.lib $(SOLARVER)\$(INPATH)\lib$(UPDMINOREXT)\ssleay32.lib"
86 Name="VCCLCompilerTool"
87 - AdditionalIncludeDirectories="$(opensslDir)\inc32"
88 + AdditionalIncludeDirectories="$(SOLARVERSION)\$(INPATH)\inc$(UPDMINOREXT)\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$(UPDMINOREXT)\libeay32.lib $(SOLARVER)\$(INPATH)\lib$(UPDMINOREXT)\ssleay32.lib"
104 Name="VCCLCompilerTool"
105 - AdditionalIncludeDirectories="$(opensslDir)\inc64"
106 + AdditionalIncludeDirectories="$(SOLARVERSION)\$(INPATH)\inc$(UPDMINOREXT)\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$(UPDMINOREXT)\libeay32.lib $(SOLARVER)\$(INPATH)\lib$(UPDMINOREXT)\ssleay32.lib"
122 Name="VCCLCompilerTool"
123 - AdditionalIncludeDirectories="$(opensslDir)\inc32"
124 + AdditionalIncludeDirectories="$(SOLARVERSION)\$(INPATH)\inc$(UPDMINOREXT)\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$(UPDMINOREXT)\libeay32.lib $(SOLARVER)\$(INPATH)\lib$(UPDMINOREXT)\ssleay32.lib"
140 Name="VCCLCompilerTool"
141 - AdditionalIncludeDirectories="$(opensslDir)\inc64"
142 + AdditionalIncludeDirectories="$(SOLARVERSION)\$(INPATH)\inc$(UPDMINOREXT)\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$(UPDMINOREXT)\libeay32.lib $(SOLARVER)\$(INPATH)\lib$(UPDMINOREXT)\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 + UPDMINOR = os.environ.get('UPDMINOREXT')
162 + ooosslinc = os.environ.get('SOLARVERSION') + '/' + \
163 + os.environ.get('INPATH') + '/' + \
165 + if UPDMINOR != None:
166 + ooosslinc = ooosslinc + UPDMINOR
167 + ooosslinc = ooosslinc + '/external/'
168 search_for_ssl_incs_in = [
170 '/usr/local/ssl/include',
171 '/usr/contrib/ssl/include/'
174 ['/usr/kerberos/include'])
177 + ooossllib = os.environ.get('SOLARVER') + '/' + \
178 + os.environ.get('INPATH') + '/' + \
180 + if UPDMINOR != None:
181 + ooosslinc = ooosslinc + UPDMINOR
182 + ooosslinc = ooosslinc + '/'
183 ssl_libs = find_library_file(self.compiler, 'ssl',lib_dirs,
184 - ['/usr/local/ssl/lib',
186 + '/usr/local/ssl/lib',
187 '/usr/contrib/ssl/lib/'
190 --- misc/Python-2.6.1/Modules/Setup.dist 2009-12-17 15:16:50.000000000 +0000
191 +++ misc/build/Python-2.6.1/Modules/Setup.dist 2009-12-17 15:17:49.000000000 +0000
192 @@ -248,14 +248,14 @@
193 # Message-Digest Algorithm, described in RFC 1321. The necessary files
194 # md5.c and md5.h are included here.
196 -#_md5 md5module.c md5.c
197 +_md5 md5module.c md5.c
200 # The _sha module implements the SHA checksum algorithms.
201 # (NIST's Secure Hash Algorithms.)
203 -#_sha256 sha256module.c
204 -#_sha512 sha512module.c
206 +_sha256 sha256module.c
207 +_sha512 sha512module.c
210 # SGI IRIX specific modules -- off by default.