150-uppercase_letters.patch 776 B

12345678910111213141516171819202122
  1. --- a/ipkg-build
  2. +++ b/ipkg-build
  3. @@ -133,7 +133,7 @@ You probably want to chown these to a sy
  4. disallowed_filename=`disallowed_field Filename`
  5. [ "$?" -ne 0 ] && PKG_ERROR=1
  6. - if echo $pkg | grep '[^a-z0-9.+-]'; then
  7. + if echo $pkg | grep '[^a-zA-Z0-9_.+-]'; then
  8. echo "*** Error: Package name $name contains illegal characters, (other than [a-z0-9.+-])" >&2
  9. PKG_ERROR=1;
  10. fi
  11. --- a/ipkg-buildpackage
  12. +++ b/ipkg-buildpackage
  13. @@ -69,7 +69,7 @@ pkg_appears_sane_control() {
  14. required_field Maintainer >/dev/null
  15. required_field Description >/dev/null
  16. - if echo $pkg | grep '[^a-z0-9.+-]'; then
  17. + if echo $pkg | grep '[^a-zA-Z0-9.+-]'; then
  18. echo "ipkg-build: Error: Package name $name contains illegal characters, (other than [a-z0-9.+-])"
  19. PKG_ERROR=1;
  20. fi