From 2b6f2378834c410e1fd5ef8a87e2f122a6cf2793 Mon Sep 17 00:00:00 2001 From: Piotr Wójcik Date: Thu, 27 Jun 2019 17:32:26 +0200 Subject: xlint: sync common hosting sites with xbps-src --- xlint | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'xlint') diff --git a/xlint b/xlint index 8b26944..21af25b 100755 --- a/xlint +++ b/xlint @@ -255,7 +255,7 @@ for template; do fi done fi - + if ! sed -n '/^version=/{n;/revision=/b;q1}' "$template"; then scan 'revision=' "revision does not appear immediately after version" fi @@ -284,16 +284,17 @@ for template; do scan 'distfiles=.*downloads\.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=.*x\.org/releases/individual' 'use $XORG_SITE' scan 'distfiles=.*ftp.*debian\.org' 'use $DEBIAN_SITE' scan 'distfiles=.*gnome\.org/pub' 'use $GNOME_SITE' scan 'distfiles=.*www\.kernel\.org/pub/linux' 'use $KERNEL_SITE' scan 'distfiles=.*cpan\.org/modules/by-module' 'use $CPAN_SITE' - scan 'distfiles=.*pypi\.python\.org' 'use $PYPI_SITE' + scan 'distfiles=.*files\.pythonhosted\.org/packages' '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' scan 'distfiles=.*download.kde.org/stable' 'use $KDE_SITE' + scan 'distfiles=.*xorg\.freedesktop\.org/wiki/' 'use $XORG_HOME' scan 'usr/lib/python3.[0-9]/site-packages' 'use $py3_sitelib' scan '^wrksrc=(\$\{[^}]+\}|[^${}/])*/.+' 'wrksrc should be a top-level directory' scan '^\t*function\b' 'do not use the function keyword' -- cgit 1.4.1