Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 215151 Details for
Bug 288361
app-admin/python-updater: Potentially unsafe import (CVE requested)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Changes generated by sed
python-updater-0.7-fix_import.patch (text/plain), 1.22 KB, created by
Arfrever Frehtes Taifersar Arahesis (RETIRED)
on 2010-01-04 11:14:56 UTC
(
hide
)
Description:
Changes generated by sed
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis (RETIRED)
Created:
2010-01-04 11:14:56 UTC
Size:
1.22 KB
patch
obsolete
>--- python-updater >+++ python-updater >@@ -34,7 +34,6 @@ > VERBOSE=0 > PKGS_TO_REMERGE="" > PKGS_COUNT_REMERGE=0 >-PORTAGE_PYTHON="/usr/bin/python" > PYTHON_VERSIONS="3.2 3.1 3.0 2.7 2.6 2.5 2.4 2.3 2.2 2.1" > > SUPPORTED_PMS="portage pkgcore paludis" >@@ -132,26 +131,6 @@ > return 1 > } > >-# get_portage_python(oldpy,newpy) >-# Find where portage is, in pythonX.Y or somewhere else? >-get_portage_python() { >- if [[ $# -lt 2 ]]; then >- eerror "get_portage_python(): Missing arguments." >- exit 1 >- fi >- local oldpy="$1" newpy="$2" >- >- pybin=/usr/bin/python >- for py in ${pybin} ${pybin}${oldpy} ${pybin}${newpy}; do >- if ${py} -c "import portage" > /dev/null 2>&1; then >- echo -n "${py}" >- return 0 >- fi >- done >- eerror "Couldn't determine portage python" >- return 1 >-} >- > # get_portage_portdir() > # Check if portage knows about PORTDIR and return it > get_portage_portdir() { >@@ -294,11 +273,6 @@ > fi > fi > >-# Get portage python >-PORTAGE_PYTHON="$(get_portage_python ${OLD_PY_VER} ${NEW_PY_VER})" >-[[ $? != 0 ]] && exit 1 >- >- > einfo "Starting Python Updater from ${OLD_PY_VER} to ${NEW_PY_VER} :" > if [[ CHECK_SONAME -ne 0 ]]; then > if ! type -P scanelf >/dev/null 2>&1; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 288361
:
214227
|
214636
|
215099
| 215151 |
216245