• Levente Polyak's avatar
    makepkg: add tool details to buildinfo to aid determining flags · a33cdac1
    Levente Polyak authored
    
    
    If a makepkg consumer uses a build wrapper to override compiler
    flags this may lead to unreproducible packages as there is no way to
    know which exact files were used for tooling that tries to reproduce
    said package.
    
    Instead of vendoring the whole used makepkg.conf file into buildinfo,
    this patch adds two new properties to the .BUILDINFO file named
    BUILDTOOL and BUILDTOOLVER which by default are simply makepkg's own
    values. Downstream consumers may override those values: For example in
    Arch Linux the devtools package can set those values and allow
    reproducible builds tooling to fetch the appropriate makepkg.conf.
    Signed-off-by: Levente Polyak's avatarLevente Polyak <anthraxx@archlinux.org>
    Signed-off-by: Allan McRae's avatarAllan McRae <allan@archlinux.org>
    a33cdac1
makepkg.sh.in 40.9 KB