Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 612844

Summary: net-libs/adns: accesses FILESDIR in pkg_postinst()
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 586416    

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.