1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-25 17:36:13 +01:00

Merge pull request #20 from AMDmi3/freebsd

Minor fixes for FreeBSD
This commit is contained in:
Adrian Schröter 2013-02-05 23:15:25 -08:00
commit 8c3e61bee6
2 changed files with 3 additions and 1 deletions

View File

@ -496,6 +496,8 @@ def _build_opener(url):
elif os.path.isdir(i):
capath = i
break
if not cafile and not capath:
raise Exception('No CA certificates found')
ctx = oscssl.mySSLContext()
if ctx.load_verify_locations(capath=capath, cafile=cafile) != 1:
raise Exception('No CA certificates found')

View File

@ -57,7 +57,7 @@ setup(name='osc',
author = 'openSUSE project',
author_email = 'opensuse-buildservice@opensuse.org',
license = 'GPL',
platforms = ['Linux', 'Mac OSX', 'Windows XP/2000/NT', 'Windows 95/98/ME'],
platforms = ['Linux', 'Mac OSX', 'Windows XP/2000/NT', 'Windows 95/98/ME', 'FreeBSD'],
keywords = ['openSUSE', 'SUSE', 'RPM', 'build', 'buildservice'],
url = 'http://en.opensuse.org/openSUSE:OSC',
download_url = 'https://github.com/openSUSE/osc',