Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 150983 Details for
Bug 219294
>=sys-apps/portage-2.1.5_rc3 broken emerge-webrsync on BSD
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gentoo-fbsd changes
emerge-webrsync-fbsd.patch (text/plain), 1.60 KB, created by
RB
on 2008-04-25 23:37:49 UTC
(
hide
)
Description:
gentoo-fbsd changes
Filename:
MIME Type:
Creator:
RB
Created:
2008-04-25 23:37:49 UTC
Size:
1.60 KB
patch
obsolete
>--- /usr/sbin/emerge-webrsync.old 2008-04-25 14:32:41 -0600 >+++ /usr/sbin/emerge-webrsync 2008-04-25 15:21:29 -0600 >@@ -91,7 +91,11 @@ > > get_utc_second_from_string() { > local s="$1" >- date -d "${s:0:4}-${s:4:2}-${s:6:2}" -u +"%s" >+ if [[ ${USERLAND} == BSD ]] ; then >+ date -juf "%Y%m%d" "$s" +"%s" >+ else >+ date -d "${s:0:4}-${s:4:2}-${s:6:2}" -u +"%s" >+ fi > } > > get_portage_timestamp() { >@@ -133,7 +137,7 @@ > if type -P md5sum > /dev/null; then > md5sum -c $digest && r=0 > elif type -P md5 > /dev/null; then >- [ "$(md5 -q $file)" == "$(cut -d \ -f 1 \"$digest\")" ] && r=0 >+ [ "$(md5 -q $file)" == "$(cut -d ' ' -f 1 $digest)" ] && r=0 > else > eecho "cannot check digest: no suitable md5/md5sum binaries found" > fi >@@ -239,8 +243,8 @@ > local signature="${file}.gpgsig" > > if [ -s "${file}" -a -s "${digest}" -a -s "${signature}" ] ; then >- check_file_digest "${digest}" "${file}" && \ >- check_file_signature "${signature}" "${file}" && \ >+ check_file_digest "${DISTDIR}/${digest}" "${DISTDIR}/${file}" && \ >+ check_file_signature "${DISTDIR}/${signature}" "${DISTDIR}/${file}" && \ > have_files=1 > fi > >@@ -248,8 +252,8 @@ > fetch_file "${mirror}/snapshots/${digest}" "${digest}" && \ > fetch_file "${mirror}/snapshots/${signature}" "${signature}" && \ > fetch_file "${mirror}/snapshots/${file}" "${file}" && \ >- check_file_digest "${digest}" "${file}" && \ >- check_file_signature "${signature}" "${file}" && \ >+ check_file_digest "${DISTDIR}/${digest}" "${DISTDIR}/${file}" && \ >+ check_file_signature "${DISTDIR}/${signature}" "${DISTDIR}/${file}" && \ > have_files=1 > fi >
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 219294
:
150978
| 150983