about summary refs log tree commit diff
path: root/xlint
diff options
context:
space:
mode:
authorPiotr Wójcik <chocimier@tlen.pl>2019-06-27 17:32:26 +0200
committerLeah Neukirchen <chneukirchen@gmail.com>2019-06-30 18:01:32 +0200
commit2b6f2378834c410e1fd5ef8a87e2f122a6cf2793 (patch)
treedbb378bea7b0b2e47c098dfa71a7cce8c98c3ab0 /xlint
parentc4d9a3b23238150b7bd78c6652e93c9afe7acdc9 (diff)
downloadxtools-2b6f2378834c410e1fd5ef8a87e2f122a6cf2793.tar.gz
xtools-2b6f2378834c410e1fd5ef8a87e2f122a6cf2793.tar.xz
xtools-2b6f2378834c410e1fd5ef8a87e2f122a6cf2793.zip
xlint: sync common hosting sites with xbps-src
Diffstat (limited to 'xlint')
-rwxr-xr-xxlint7
1 files changed, 4 insertions, 3 deletions
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'