Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 612844 - net-libs/adns: accesses FILESDIR in pkg_postinst()
Summary: net-libs/adns: accesses FILESDIR in pkg_postinst()
Status: RESOLVED FIXED
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:
Depends on:
Blocks: filesdir-bad-scope
  Show dependency tree
 
Reported: 2017-03-16 20:25 UTC by Michał Górny
Modified: 2017-03-26 12:35 UTC (History)
0 users

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-16 20:25:14 UTC
ewarn "$(<${FILESDIR}/README.security)"

You can't access FILESDIR in pkg_postinst(). This doesn't work for binary packages, and may be rejected by Portage altogether soonish. Look at how readme.gentoo* eclass solves it.