[pacman-dev] [PATCH] makepkg: improve srcdir check and add pkgdir

Nathan Wayde disposaboy at konnichi.com
Sat Oct 2 05:50:40 EDT 2010


On 02/10/10 02:08, Dan McGee wrote:
> [...]
>
> One thought I did have, and this is just a thought, is to store
> $pkgdir and $srcdir in the built package in PKGINFO as a way to use
> these values later.
>
> -Dan
>

I would advise against storing it in the PKGINFO if it means that it 
ends up in the final built package's .PKGINFO because it has the 
potential to create an info leak, i.e if you built the pkg outside of a 
chroot the path is now exposed to everyone who gets a copy of that pkg.


More information about the pacman-dev mailing list