summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-12-26 18:58:42 +0100
committerJustin Lecher <jlec@gentoo.org>2015-12-26 18:58:51 +0100
commit258b64db9acfdbc04832a6b3a316daa5824394b9 (patch)
tree03cc7cc9b109359680982015a942f57f58f19c8e /dev-python/pysvn/files
parentwww-apps/jekyll-sass-converter: Remove old (diff)
downloadgentoo-258b64db9acfdbc04832a6b3a316daa5824394b9.tar.gz
gentoo-258b64db9acfdbc04832a6b3a316daa5824394b9.tar.bz2
gentoo-258b64db9acfdbc04832a6b3a316daa5824394b9.zip
dev-python/pysvn: Drop vulnerable version for CVE-2015-0853
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=560530 obsoletes: Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=420191 Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/pysvn/files')
-rw-r--r--dev-python/pysvn/files/pysvn-1.7.10-respect_flags.patch95
-rw-r--r--dev-python/pysvn/files/pysvn-1.7.9-respect_flags.patch96
2 files changed, 0 insertions, 191 deletions
diff --git a/dev-python/pysvn/files/pysvn-1.7.10-respect_flags.patch b/dev-python/pysvn/files/pysvn-1.7.10-respect_flags.patch
deleted file mode 100644
index 18c7ea630dcf..000000000000
--- a/dev-python/pysvn/files/pysvn-1.7.10-respect_flags.patch
+++ /dev/null
@@ -1,95 +0,0 @@
-diff -ur pysvn-1.7.9.orig/Source/setup_configure.py pysvn-1.7.9/Source/setup_configure.py
---- Source/setup_configure.py 2014-02-02 22:19:59.000000000 +0800
-+++ Source/setup_configure.py 2014-08-15 08:15:44.676746371 +0800
-@@ -848,8 +848,8 @@
- def __init__( self, setup ):
- Compiler.__init__( self, setup )
-
-- self._addVar( 'CCC', 'g++' )
-- self._addVar( 'CC', 'gcc' )
-+ self._addVar( 'CCC', '$(CXX)' )
-+ self._addVar( 'CC', '$(CC)' )
-
- def getPythonExtensionFileExt( self ):
- return '.so'
-@@ -975,8 +975,8 @@
- else:
- arch_options = ''
-
-- self._addVar( 'CCC', 'g++ %s' % (arch_options,) )
-- self._addVar( 'CC', 'gcc %s' % (arch_options,) )
-+ self._addVar( 'CCC', '$(CXX) %s' % (arch_options,) )
-+ self._addVar( 'CC', '$(CC) %s' % (arch_options,) )
-
- self._find_paths_pycxx_dir = [
- '../Import/pycxx-%d.%d.%d' % pycxx_version,
-@@ -1031,11 +1031,11 @@
-
- def setupUtilities( self ):
- self._addVar( 'CCCFLAGS',
-- '-g '
-+ '$(CXXFLAGS) '
- '-Wall -fPIC -fexceptions -frtti '
- '-I. -I%(APR_INC)s -I%(APU_INC)s -I%(SVN_INC)s '
- '-D%(DEBUG)s' )
-- self._addVar( 'LDEXE', '%(CCC)s -g' )
-+ self._addVar( 'LDEXE', '$(CXX) $(LDFLAGS)' )
-
- def setupPySvn( self ):
- self._pysvnModuleSetup()
-@@ -1047,7 +1047,7 @@
- self._addVar( 'PYTHON_INC', distutils.sysconfig.get_python_inc() )
-
- py_cflags_list = [
-- '-g',
-+ '$(CXXFLAGS) ',
- '-Wall -fPIC -fexceptions -frtti',
- '-I. -I%(APR_INC)s -I%(APU_INC)s -I%(SVN_INC)s',
- '-DPYCXX_PYTHON_2TO3 -I%(PYCXX)s -I%(PYCXX_SRC)s -I%(PYTHON_INC)s',
-@@ -1073,13 +1073,12 @@
-
- self._addVar( 'CCCFLAGS', ' '.join( py_cflags_list ) )
- self._addVar( 'LDLIBS', ' '.join( py_ld_libs ) )
-- self._addVar( 'LDSHARED', '%(CCC)s -bundle -g '
-+ self._addVar( 'LDSHARED', '$(CXX) $(LDFLAGS) -bundle '
- '-framework System '
- '%(PYTHON_FRAMEWORK)s '
- '-framework CoreFoundation '
- '-framework Kerberos '
-- '-framework Security '
-- '%(LDLIBS)s' )
-+ '-framework Security' )
-
- class UnixCompilerGCC(CompilerGCC):
- def __init__( self, setup ):
-@@ -1139,11 +1138,11 @@
-
- def setupUtilities( self ):
- self._addVar( 'CCCFLAGS',
-- '-g '
-+ '$(CXXFLAGS) '
- '-Wall -fPIC -fexceptions -frtti '
- '-I. -I%(APR_INC)s -I%(APU_INC)s -I%(SVN_INC)s '
- '-D%(DEBUG)s' )
-- self._addVar( 'LDEXE', '%(CCC)s -g' )
-+ self._addVar( 'LDEXE', '$(CXX) $(LDFLAGS)' )
-
- def setupPySvn( self ):
- self._pysvnModuleSetup()
-@@ -1154,6 +1153,7 @@
- self._addVar( 'PYTHON_ARCH_SPECIFIC_INC', distutils.sysconfig.get_python_inc( True ) )
-
- py_cflags_list = [
-+ '$(CXXFLAGS)',
- '-Wall -fPIC -fexceptions -frtti',
- '-I. -I%(APR_INC)s -I%(APU_INC)s -I%(SVN_INC)s',
- '-DPYCXX_PYTHON_2TO3 -I%(PYCXX)s -I%(PYCXX_SRC)s -I%(PYTHON_INC)s',
-@@ -1171,7 +1171,7 @@
-
- self._addVar( 'CCCFLAGS', ' '.join( py_cflags_list ) )
- self._addVar( 'LDLIBS', ' '.join( self._getLdLibs() ) )
-- self._addVar( 'LDSHARED', '%(CCC)s -shared -g' )
-+ self._addVar( 'LDSHARED', '$(CXX) $(LDFLAGS) -shared' )
-
- #--------------------------------------------------------------------------------
- class LinuxCompilerGCC(UnixCompilerGCC):
diff --git a/dev-python/pysvn/files/pysvn-1.7.9-respect_flags.patch b/dev-python/pysvn/files/pysvn-1.7.9-respect_flags.patch
deleted file mode 100644
index 7f1c35e59cb3..000000000000
--- a/dev-python/pysvn/files/pysvn-1.7.9-respect_flags.patch
+++ /dev/null
@@ -1,96 +0,0 @@
-diff -ur pysvn-1.7.9.orig/Source/setup_configure.py pysvn-1.7.9/Source/setup_configure.py
---- Source/setup_configure.py 2014-02-02 22:19:59.000000000 +0800
-+++ Source/setup_configure.py 2014-08-15 08:15:44.676746371 +0800
-@@ -848,8 +848,8 @@
- def __init__( self, setup ):
- Compiler.__init__( self, setup )
-
-- self._addVar( 'CCC', 'g++' )
-- self._addVar( 'CC', 'gcc' )
-+ self._addVar( 'CCC', '$(CXX)' )
-+ self._addVar( 'CC', '$(CC)' )
-
- def getPythonExtensionFileExt( self ):
- return '.so'
-@@ -975,8 +975,8 @@
- else:
- arch_options = ''
-
-- self._addVar( 'CCC', 'g++ %s' % (arch_options,) )
-- self._addVar( 'CC', 'gcc %s' % (arch_options,) )
-+ self._addVar( 'CCC', '$(CXX) %s' % (arch_options,) )
-+ self._addVar( 'CC', '$(CC) %s' % (arch_options,) )
-
- self._find_paths_pycxx_dir = [
- '../Import/pycxx-%d.%d.%d' % pycxx_version,
-@@ -1031,12 +1031,12 @@
-
- def setupUtilities( self ):
- self._addVar( 'CCCFLAGS',
-- '-g '
-+ '$(CXXFLAGS) '
- '-no-long-double '
- '-Wall -fPIC -fexceptions -frtti '
- '-I. -I%(APR_INC)s -I%(APU_INC)s -I%(SVN_INC)s '
- '-D%(DEBUG)s' )
-- self._addVar( 'LDEXE', '%(CCC)s -g' )
-+ self._addVar( 'LDEXE', '$(CXX) $(LDFLAGS)' )
-
- def setupPySvn( self ):
- self._pysvnModuleSetup()
-@@ -1048,7 +1048,7 @@
- self._addVar( 'PYTHON_INC', distutils.sysconfig.get_python_inc() )
-
- py_cflags_list = [
-- '-g',
-+ '$(CXXFLAGS) ',
- '-no-long-double',
- '-Wall -fPIC -fexceptions -frtti',
- '-I. -I%(APR_INC)s -I%(APU_INC)s -I%(SVN_INC)s',
-@@ -1075,13 +1075,12 @@
-
- self._addVar( 'CCCFLAGS', ' '.join( py_cflags_list ) )
- self._addVar( 'LDLIBS', ' '.join( py_ld_libs ) )
-- self._addVar( 'LDSHARED', '%(CCC)s -bundle -g '
-+ self._addVar( 'LDSHARED', '$(CXX) $(LDFLAGS) -bundle '
- '-framework System '
- '%(PYTHON_FRAMEWORK)s '
- '-framework CoreFoundation '
- '-framework Kerberos '
-- '-framework Security '
-- '%(LDLIBS)s' )
-+ '-framework Security' )
-
- class UnixCompilerGCC(CompilerGCC):
- def __init__( self, setup ):
-@@ -1141,11 +1140,11 @@
-
- def setupUtilities( self ):
- self._addVar( 'CCCFLAGS',
-- '-g '
-+ '$(CXXFLAGS) '
- '-Wall -fPIC -fexceptions -frtti '
- '-I. -I%(APR_INC)s -I%(APU_INC)s -I%(SVN_INC)s '
- '-D%(DEBUG)s' )
-- self._addVar( 'LDEXE', '%(CCC)s -g' )
-+ self._addVar( 'LDEXE', '$(CXX) $(LDFLAGS)' )
-
- def setupPySvn( self ):
- self._pysvnModuleSetup()
-@@ -1156,6 +1155,7 @@
- self._addVar( 'PYTHON_ARCH_SPECIFIC_INC', distutils.sysconfig.get_python_inc( True ) )
-
- py_cflags_list = [
-+ '$(CXXFLAGS)',
- '-Wall -fPIC -fexceptions -frtti',
- '-I. -I%(APR_INC)s -I%(APU_INC)s -I%(SVN_INC)s',
- '-DPYCXX_PYTHON_2TO3 -I%(PYCXX)s -I%(PYCXX_SRC)s -I%(PYTHON_INC)s',
-@@ -1173,7 +1173,7 @@
-
- self._addVar( 'CCCFLAGS', ' '.join( py_cflags_list ) )
- self._addVar( 'LDLIBS', ' '.join( self._getLdLibs() ) )
-- self._addVar( 'LDSHARED', '%(CCC)s -shared -g' )
-+ self._addVar( 'LDSHARED', '$(CXX) $(LDFLAGS) -shared' )
-
- #--------------------------------------------------------------------------------
- class LinuxCompilerGCC(UnixCompilerGCC):