[pacman-dev] updpkgsums deletes more variables than it should
Andrew Gregory
andrew.gregory.8 at gmail.com
Tue Feb 3 14:48:07 UTC 2015
On 02/03/15 at 02:27pm, David Macek wrote:
> Hi all.
>
> It seems to me that updpkgsums destroys variables that it should
> not, specifically those with a suffix, e.g. "md5sums_extra".
>
> This is the regex in question:
> /^[[:blank:]]*(md|sha)[[:digit:]]+sums(_[^=]+)?=/,/\)[[:blank:]]*(#.*)?$/
>
> I couldn't find anything that would suggest that such variable names
> are reserved for pacman.
man PKGBUILD:
Additional architecture-specific sources can be added by appending an
underscore and the architecture name e.g., source_x86_64=(). There
must be a corresponding integrity array with checksums, e.g.
md5sums_x86_64=().
md5sums_extra looks like an architecture-specific checksum to
makepkg/updpkgsums.
apg
More information about the pacman-dev
mailing list