diff --git a/common/xbps-src/shutils/update_check.sh b/common/xbps-src/shutils/update_check.sh index d88fb12e253..4ce6129a511 100644 --- a/common/xbps-src/shutils/update_check.sh +++ b/common/xbps-src/shutils/update_check.sh @@ -22,7 +22,12 @@ update_check() { export LC_ALL=C if [ -z "$site" ]; then - printf '%s\n' "$homepage" + case "$distfiles" in + # only consider versions those exist in ftp.gnome.org + *ftp.gnome.org*) ;; + *) + printf '%s\n' "$homepage" ;; + esac for i in $distfiles; do printf '%s\n' "${i%/*}/" done @@ -126,7 +131,7 @@ update_check() { url="https://bitbucket.org/$pkgurlname/downloads" rx='/(get|downloads)/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar)';; *ftp.gnome.org*) - : ${pattern="\Q$pkgname\E-\K[0-9]+\.[0-9]*[02468]\.[0-9.]*[0-9](?=)"} + : ${pattern="\Q$pkgname\E-\K([13]\.[0-9]*[02468]|[4-9][0-9]+)\.[0-9.]*[0-9](?=)"} url="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/cache.json";; *kernel.org/pub/linux/kernel/*) rx=linux-'\K'${version%.*}'[\d.]+(?=\.tar\.xz)';; diff --git a/srcpkgs/NetworkManager/update b/srcpkgs/NetworkManager/update deleted file mode 100644 index a73db8805ed..00000000000 --- a/srcpkgs/NetworkManager/update +++ /dev/null @@ -1 +0,0 @@ -ignore="*.[0-9]*[13579].*" diff --git a/srcpkgs/adwaita-icon-theme/update b/srcpkgs/adwaita-icon-theme/update deleted file mode 100644 index a73db8805ed..00000000000 --- a/srcpkgs/adwaita-icon-theme/update +++ /dev/null @@ -1 +0,0 @@ -ignore="*.[0-9]*[13579].*" diff --git a/srcpkgs/clutter/update b/srcpkgs/clutter/update deleted file mode 100644 index 0980963f6df..00000000000 --- a/srcpkgs/clutter/update +++ /dev/null @@ -1,2 +0,0 @@ -site="${GNOME_SITE}/$pkgname/cache.json" -ignore="1.*[13579].*" diff --git a/srcpkgs/glib-networking/update b/srcpkgs/glib-networking/update deleted file mode 100644 index a73db8805ed..00000000000 --- a/srcpkgs/glib-networking/update +++ /dev/null @@ -1 +0,0 @@ -ignore="*.[0-9]*[13579].*" diff --git a/srcpkgs/gnome-control-center/update b/srcpkgs/gnome-control-center/update deleted file mode 100644 index a73db8805ed..00000000000 --- a/srcpkgs/gnome-control-center/update +++ /dev/null @@ -1 +0,0 @@ -ignore="*.[0-9]*[13579].*" diff --git a/srcpkgs/gnome-desktop/update b/srcpkgs/gnome-desktop/update deleted file mode 100644 index a73db8805ed..00000000000 --- a/srcpkgs/gnome-desktop/update +++ /dev/null @@ -1 +0,0 @@ -ignore="*.[0-9]*[13579].*" diff --git a/srcpkgs/gnome-online-accounts/update b/srcpkgs/gnome-online-accounts/update deleted file mode 100644 index a84fbbad8b1..00000000000 --- a/srcpkgs/gnome-online-accounts/update +++ /dev/null @@ -1,2 +0,0 @@ -site="${GNOME_SITE}/$pkgname/cache.json" -ignore="3.*[13579].*" diff --git a/srcpkgs/gobject-introspection/update b/srcpkgs/gobject-introspection/update deleted file mode 100644 index 0980963f6df..00000000000 --- a/srcpkgs/gobject-introspection/update +++ /dev/null @@ -1,2 +0,0 @@ -site="${GNOME_SITE}/$pkgname/cache.json" -ignore="1.*[13579].*" diff --git a/srcpkgs/gsettings-desktop-schemas/update b/srcpkgs/gsettings-desktop-schemas/update deleted file mode 100644 index a73db8805ed..00000000000 --- a/srcpkgs/gsettings-desktop-schemas/update +++ /dev/null @@ -1 +0,0 @@ -ignore="*.[0-9]*[13579].*" diff --git a/srcpkgs/gsound/update b/srcpkgs/gsound/update deleted file mode 100644 index a84fbbad8b1..00000000000 --- a/srcpkgs/gsound/update +++ /dev/null @@ -1,2 +0,0 @@ -site="${GNOME_SITE}/$pkgname/cache.json" -ignore="3.*[13579].*" diff --git a/srcpkgs/libgweather/update b/srcpkgs/libgweather/update index a84fbbad8b1..e69de29bb2d 100644 --- a/srcpkgs/libgweather/update +++ b/srcpkgs/libgweather/update @@ -1,2 +0,0 @@ -site="${GNOME_SITE}/$pkgname/cache.json" -ignore="3.*[13579].*" diff --git a/srcpkgs/mutter/update b/srcpkgs/mutter/update deleted file mode 100644 index a84fbbad8b1..00000000000 --- a/srcpkgs/mutter/update +++ /dev/null @@ -1,2 +0,0 @@ -site="${GNOME_SITE}/$pkgname/cache.json" -ignore="3.*[13579].*" diff --git a/srcpkgs/simple-scan/update b/srcpkgs/simple-scan/update deleted file mode 100644 index 92dea937506..00000000000 --- a/srcpkgs/simple-scan/update +++ /dev/null @@ -1 +0,0 @@ -ignore="[0-9].[0-9][13579]*"