| Summary: | sys-freebsd/ubin-wrappers-0 relies on dowrap script being executable | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Ulrich Müller <ulm> |
| Component: | FreeBSD | Assignee: | Richard Yao (RETIRED) <ryao> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | qa |
| Priority: | Normal | Keywords: | QAcanfix |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 550434 | ||
| Attachments: | Proposed patch for ubin-wrappers-0.ebuild | ||
Looking at the dowrap script, it has more problems. It uses Portage internal functions (like helpers_die) and variables (like PORTAGE_INST_UID) which will make it fail with other package managers. Maybe it would be best to inline this as a function into the ebuild. Patch will follow. Created attachment 404156 [details, diff]
Proposed patch for ubin-wrappers-0.ebuild
I've verified that the installed package is identical to the one installed by the existing ebuild.
|
In src_install(): "${FILESDIR}/dowrap" "${EPREFIX}/bin/"{bunzip2,bzcat,cpio,egrep,fgrep,grep,gunzip,gzip,zcat} This relies on ${FILESDIR}/dowrap being executable. Please prefix the above line with an explicit /bin/bash call.