Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 222581 Details for
Bug 299390
sys-libs/gdbm-1.8.3-r4: enabling LFS seems to break with db's generated by non-LFS gdbm
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
fixed bugs, add x64 support
gdbm_convert.sh (text/plain), 1.15 KB, created by
Greg Turner
on 2010-03-07 21:03:30 UTC
(
hide
)
Description:
fixed bugs, add x64 support
Filename:
MIME Type:
Creator:
Greg Turner
Created:
2010-03-07 21:03:30 UTC
Size:
1.15 KB
patch
obsolete
>#!/bin/bash > >thetmpdir="/tmp/remove_me" >attachmentid=215326 > >mkdir "${thetmpdir}" >cd "${thetmpdir}" > >eval "$( emerge --info | egrep '^PORTDIR=|^PORTAGE_TMPDIR=' \ > | sed 's/^\(.*\)=/\L\1=/')" > >ebuild "${portdir}/sys-libs/gdbm/gdbm-1.8.3-r3.ebuild" install \ > && gdbmtmp="${portage_tmpdir}/portage/sys-libs/gdbm-1.8.3-r3" \ > && if [[ -f "${gdbmtmp}/image/usr/lib64/libgdbm.a" ]] ; then > cp -v "${gdbmtmp}/image/usr/lib64/libgdbm.a" . > else > cp -v "${gdbmtmp}/image/usr/lib/libgdbm.a" . > fi || { echo something bad happend.; exit 1 ; } > >ebuild "${portdir}/sys-libs/gdbm/gdbm-1.8.3-r3.ebuild" clean > >wget -S -O converter.c "http://bugs.gentoo.org/attachment.cgi?id=${attachmentid}" \ > && gcc converter.c -o converter libgdbm.a -ldl \ > && find /etc /var -type f -exec file {} + \ > | grep 'GNU dbm 1.x or ndbm database' | sed 's/:.*$//' \ > | while read f ; do > echo converting "$f" > echo would run ./converter "$f" || { echo sorry, converting "$f" failed; break; } > echo "Successful. You may wish to remove ${f}.upgrade.tmp" > done > >echo "You may wish to remove ${thetmpdir}" >echo "If conversion was successful, it serves no further purpose." >
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 Raw
Actions:
View
Attachments on
bug 299390
:
215240
|
215326
|
222571
| 222581