[pacman-dev] [PATCH] Do not allow pkgnames to start with a hyphen

Cedric Staniewski cedric at gmx.ca
Thu Jul 2 10:45:14 EDT 2009


Dan McGee wrote:
> I think I'm with Allan here. I'll keep the makepkg check and drop this
> one in the patch I apply.
> 
> -Dan

I do not have a strong opinion about adding this check, but I think it
is as useful/useless as the ones for empty pkgname or pkgver.

Actually a hyphen-prefixed pkgname would break repo-add in the same way
as an empty pkgname would do, but if one assumes that the .PKGINFO is
always correct, the checks for empty pkgname or pkgver are useless, too.

Cedric


More information about the pacman-dev mailing list