diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2014-10-11 21:35:01 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2014-10-11 21:35:01 +0200 |
commit | 7cf4fd534acad542a101d7c5ebf5388952f48680 (patch) | |
tree | 527f987c465aa15e7a03bbc491c27552b94e64ca /xlint | |
parent | 9eadebb67a12780b2923c1d28dc0c3091707f14e (diff) | |
download | xtools-7cf4fd534acad542a101d7c5ebf5388952f48680.tar.gz xtools-7cf4fd534acad542a101d7c5ebf5388952f48680.tar.xz xtools-7cf4fd534acad542a101d7c5ebf5388952f48680.zip |
xlint: detect $*_SITE
Diffstat (limited to 'xlint')
-rwxr-xr-x | xlint | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/xlint b/xlint index 1303340..a69ab03 100755 --- a/xlint +++ b/xlint @@ -95,4 +95,16 @@ for template; do scan '^(?!\s*('"$variables"'))[^\s=-]+=' \ "custom variables should use _ prefix: \2" -1 scan '^[^ =]*=(""|''|)$' "variable set to empty string: \2" -1 + scan 'distfiles=.*sourceforge\.net' 'use $SOURCEFORGE_SITE' + scan 'distfiles=.*savannah.nongnu\.org' 'use $NONGNU_SITE' + scan 'distfiles=.*archive\.ubuntu\.com' 'use $UBUNTU_SITE' + scan 'distfiles=.*xorg\.freedesktop\.org' 'use $XORG_SITE' + scan 'distfiles=.*debian\.org' 'use $DEBIAN_SITE' + scan 'distfiles=.*gnome\.org/pub' 'use $GNOME_SITE' + scan 'distfiles=.*www\.kernel\.org' 'use $KERNEL_SITE' + scan 'distfiles=.*cpan\.org' 'use $CPAN_SITE' + scan 'distfiles=.*pypi\.python\.org' 'use $PYPI_SITE' + scan 'distfiles=.*ftp\.mozilla\.org' 'use $MOZILLA_SITE' + scan 'distfiles=.*ftp\.gnu\.org/pub/gnu' 'use $GNU_SITE' + scan 'distfiles=.*freedesktop\.org/software' 'use $FREEDESKTOP_SITE' done |