Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 308359 Details for
Bug 408801
unpacker.eclass - unpack rpms
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
replace ar in unpack_deb
replace_ar.patch (text/plain), 831 bytes, created by
Christoph Junghans (RETIRED)
on 2012-04-10 03:07:35 UTC
(
hide
)
Description:
replace ar in unpack_deb
Filename:
MIME Type:
Creator:
Christoph Junghans (RETIRED)
Created:
2012-04-10 03:07:35 UTC
Size:
831 bytes
patch
obsolete
>--- /usr/portage/eclass/unpacker.eclass 2012-04-04 21:31:13.000000000 -0600 >+++ unpacker.eclass 2012-04-08 21:55:44.000000000 -0600 >@@ -253,8 +253,26 @@ > > unpack_banner "${deb}" > >- ar x "${deb}" >- unpack ./data.tar* >+ # on AIX ar doesn't work out as ar used a different format >+ if [[ ${EPREFIX} ]]; then >+ { >+ read # global header >+ [[ ${REPLY} = "!<arch>" ]] || die "${deb} does not seem to be a deb archive" >+ local f timestamp uid gid mode size magic >+ while read f timestamp uid gid mode size magic; do >+ [[ -n ${f} && -n ${size} ]] || continue # ignore empty lines >+ if [[ ${f} = "data.tar"* ]]; then >+ head -c "${size}" > "${f}" >+ else >+ head -c "${size}" > /dev/null # trash it >+ fi >+ done >+ } < "${deb}" >+ else >+ ar x "${deb}" >+ fi >+ >+ unpacker ./data.tar* > } > > # @FUNCTION: _unpacker
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 408801
:
305843
|
306377
|
308253
| 308359 |
308845