Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 613120 - net-irc/epic4: accesses ${WORKDIR} in pkg_postinst()
Summary: net-irc/epic4: accesses ${WORKDIR} in pkg_postinst()
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: 613110
  Show dependency tree
 
Reported: 2017-03-18 15:30 UTC by Michał Górny
Modified: 2019-04-20 08:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-03-18 15:30:12 UTC
cp "${WORKDIR}"/epic4-local "${EROOT}"/usr/share/epic/script/local

This is 100% wrong. It breaks binary packages, and even in source build there is no guarantee that S wouldn't be removed before postinst.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-04-20 08:03:20 UTC
Package removed.