summaryrefslogtreecommitdiffstats
path: root/meta-yocto
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2015-07-29 12:35:59 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-31 15:50:48 +0100
commit87d6468ddcd0e127fe5d8400d3c5ecae5337a07e (patch)
tree7816e1d722662428c351120985dfee7943c8958d /meta-yocto
parente73ba3b3cb132afde65de5b329c72c73b0db93b1 (diff)
downloadpoky-87d6468ddcd0e127fe5d8400d3c5ecae5337a07e.tar.gz
package_regex.inc: updates to fix upstream version checks for multple packages
With this commit the percentage of recipes for which the upstream version check works should be improved significantly :-) (From meta-yocto rev: a1076652e8e6c7316bfe7018df53dd156770e31c) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto')
-rw-r--r--meta-yocto/conf/distro/include/package_regex.inc145
1 files changed, 121 insertions, 24 deletions
diff --git a/meta-yocto/conf/distro/include/package_regex.inc b/meta-yocto/conf/distro/include/package_regex.inc
index da5d126f4d..037fdaace6 100644
--- a/meta-yocto/conf/distro/include/package_regex.inc
+++ b/meta-yocto/conf/distro/include/package_regex.inc
@@ -13,47 +13,73 @@
13# REGEX_pn-<recipe name> = "package_regex" 13# REGEX_pn-<recipe name> = "package_regex"
14# - This is the regex the package checking system uses to 14# - This is the regex the package checking system uses to
15# parse the page found at REGEX_URI_pn-<recipe name> 15# parse the page found at REGEX_URI_pn-<recipe name>
16# GITTAGREGEX_pn-<recipe name> = "git_tag_regex"
17# - When source code is fetched from git, git tags are used to
18# determine the upstream release version. This regex can be used
19# to filter only relevant tags.
16# 20#
17 21
18COMMON_REGEX = "(?P<pver>(\d+[\.-_]*)+)" 22COMMON_REGEX = "(?P<pver>(\d+[\.\-_]*)+)"
19 23
20# Generic regex don't match 24# Generic regex don't match
21REGEX_URI_pn-wireless-tools = "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html" 25REGEX_URI_pn-wireless-tools = "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
22REGEX_pn-wireless-tools = "wireless_tools\.(?P<pver>(\d+)(\..*|))\.tar\.gz" 26REGEX_pn-wireless-tools = "wireless_tools\.(?P<pver>(\d+)(\..*|))\.tar\.gz"
23 27
24REGEX_URI_pn-midori="http://midori-browser.org/download/source/" 28REGEX_URI_pn-midori="http://midori-browser.org/download/source/"
25REGEX_pn-midori="midori_(?P<pver>((\d+[\.-_]*)+))_all_\.tar\.bz2" 29REGEX_pn-midori="midori_(?P<pver>((\d+[\.\-_]*)+))_all_\.tar\.bz2"
26 30
27REGEX_URI_pn-sqlite3="http://www.sqlite.org/" 31REGEX_URI_pn-sqlite3="http://www.sqlite.org/"
28REGEX_pn-sqlite3="${COMMON_REGEX}" 32REGEX_pn-sqlite3="releaselog/${COMMON_REGEX}.html"
29 33
30REGEX_URI_pn-dhcp = "ftp://ftp.isc.org/isc/dhcp/" 34REGEX_URI_pn-dhcp = "ftp://ftp.isc.org/isc/dhcp/"
31REGEX_pn-dhcp="(?P<pver>\d+\.\d+\.(\d+?))" 35REGEX_pn-dhcp="(?P<pver>\d+\.\d+\.(\d+?))"
32 36
33REGEX_pn-foomatic-filters = "foomatic-filters-(?P<pver>((\d|\d\d)\.*)+)\.tar\.gz" 37REGEX_pn-foomatic-filters = "foomatic-filters-(?P<pver>((\d|\d\d)\.*)+)\.tar\.gz"
34REGEX_pn-xdg-utils = "xdg-utils-(?P<pver>((\d+[\.-_]*)+)((rc|alpha|beta)\d+)?)\.(tar\.gz|tgz)" 38REGEX_pn-xdg-utils = "xdg-utils-(?P<pver>((\d+[\.\-_]*)+)((rc|alpha|beta)\d+)?)\.(tar\.gz|tgz)"
35REGEX_pn-rpm="rpm-${COMMON_REGEX}-.*$" 39REGEX_pn-rpm="rpm-${COMMON_REGEX}-.*$"
40REGEX_pn-libtheora = "libtheora-(?P<pver>\d+(\.\d)+)\.(tar\.gz|tgz)"
41
42REGEX_pn-iputils="iputils-(?P<pver>s\d+).tar"
43REGEX_pn-nettle = "nettle-(?P<pver>\d+(\.\d+)+)\.tar"
44
45# Exclude NC versions which lack AES encryption
46REGEX_pn-db = "db-(?P<pver>\d+\.\d+(\.\d+)?).tar"
47
48REGEX_URI_pn-autogen = "http://ftp.gnu.org/gnu/autogen/"
49REGEX_pn-autogen = "rel(?P<pver>\d+(\.\d+)+)/"
50
51# python recipe is actually python 2.x
52# also, exclude pre-releases for both python 2.x and 3.x
53REGEX_pn-python = "[Pp]ython-(?P<pver>2(\.\d+)+).tar"
54REGEX_pn-python3 = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"
55
56# exclude betas
57REGEX_pn-tiff = "tiff-(?P<pver>\d+(\.\d+)+).tar"
58
59# exclude version 5.5.2 which triggers a false positive
60REGEX_pn-unzip = "unzip(?P<pver>(?!552).+)\.tgz"
61# similar for zip
62REGEX_pn-zip = "^zip(?P<pver>(?!232).+)\.tgz"
36 63
37# Isn't possible to download with the default URI web server returns 64# Isn't possible to download with the default URI web server returns
38# (403, 404, 550) 65# (403, 404, 550)
39REGEX_URI_pn-json-c = "https://github.com/json-c/json-c/releases" 66REGEX_URI_pn-dosfstools = "https://github.com/dosfstools/dosfstools/releases"
67REGEX_pn-json-c = "json-c-(?P<pver>\d+(\.\d+)+).tar"
68# json-c releases page is fetching the list of releases in some weird XML format
69# from https://s3.amazonaws.com/json-c_releases and processes it with javascript :-/
70#REGEX_URI_pn-json-c = "https://s3.amazonaws.com/json-c_releases/releases/index.html"
40REGEX_URI_pn-chrpath = "http://alioth.debian.org/frs/?group_id=31052" 71REGEX_URI_pn-chrpath = "http://alioth.debian.org/frs/?group_id=31052"
41REGEX_URI_pn-adt-installer = "http://code.google.com/p/opkg/downloads/list"
42 72
43REGEX_URI_pn-distcc = "http://code.google.com/p/distcc/downloads/list"
44REGEX_URI_pn-ossp-uuid = "http://www.ossp.org/pkg/lib/uuid/"
45REGEX_URI_pn-powertop = "https://01.org/powertop/downloads" 73REGEX_URI_pn-powertop = "https://01.org/powertop/downloads"
46REGEX_URI_pn-libsamplerate0 = "http://www.mega-nerd.com/SRC/download.html" 74REGEX_URI_pn-libsamplerate0 = "http://www.mega-nerd.com/SRC/download.html"
47REGEX_URI_pn-libxkbcommon = "http://xkbcommon.org/" 75REGEX_URI_pn-libxkbcommon = "http://xkbcommon.org/"
48REGEX_URI_pn-tslib = "https://github.com/kergoth/tslib/releases" 76REGEX_URI_pn-tslib = "https://github.com/kergoth/tslib/releases"
49REGEX_URI_pn-waffle="http://www.waffle-gl.org/releases.html" 77REGEX_URI_pn-waffle="http://www.waffle-gl.org/releases.html"
50REGEX_URI_pn-qt4-embedded="http://www.qt.io/download-open-source/"
51REGEX_URI_pn-qt4-x11-free="http://www.qt.io/download-open-source/"
52REGEX_URI_pn-fotowall = "https://code.google.com/p/fotowall/downloads/list"
53REGEX_URI_pn-lrzsz = "http://ohse.de/uwe/software/lrzsz.html" 78REGEX_URI_pn-lrzsz = "http://ohse.de/uwe/software/lrzsz.html"
54REGEX_URI_pn-libacpi = "http://www.ngolde.de/libacpi.html" 79REGEX_URI_pn-libacpi = "http://www.ngolde.de/libacpi.html"
55REGEX_URI_pn-less = "http://www.greenwoodsoftware.com/less/download.html" 80REGEX_URI_pn-less = "http://www.greenwoodsoftware.com/less/download.html"
56REGEX_URI_pn-cups = "http://www.cups.org/software.php" 81REGEX_URI_pn-cups = "http://www.cups.org/software.php"
82REGEX_pn-cups = "cups-(?P<pver>\d+\.\d+(\.\d+)?)-source.tar"
57REGEX_URI_pn-bzip2 = "http://www.bzip.org/downloads.html" 83REGEX_URI_pn-bzip2 = "http://www.bzip.org/downloads.html"
58REGEX_URI_pn-minicom = "https://alioth.debian.org/frs/?group_id=30018" 84REGEX_URI_pn-minicom = "https://alioth.debian.org/frs/?group_id=30018"
59REGEX_URI_pn-sysstat = "http://sebastien.godard.pagesperso-orange.fr/download.html" 85REGEX_URI_pn-sysstat = "http://sebastien.godard.pagesperso-orange.fr/download.html"
@@ -61,44 +87,63 @@ REGEX_URI_pn-libical = "https://github.com/libical/libical/releases/"
61REGEX_URI_pn-libmpc = "http://www.multiprecision.org/index.php?prog=mpc&page=download" 87REGEX_URI_pn-libmpc = "http://www.multiprecision.org/index.php?prog=mpc&page=download"
62REGEX_URI_pn-taglib = "http://github.com/taglib/taglib/releases/" 88REGEX_URI_pn-taglib = "http://github.com/taglib/taglib/releases/"
63REGEX_URI_pn-libevent = "http://libevent.org/" 89REGEX_URI_pn-libevent = "http://libevent.org/"
64REGEX_URI_pn-libproxy = "http://code.google.com/p/libproxy/downloads/list"
65REGEX_URI_pn-db = "http://www.oracle.com/technetwork/products/berkeleydb/downloads/index-082944.html" 90REGEX_URI_pn-db = "http://www.oracle.com/technetwork/products/berkeleydb/downloads/index-082944.html"
66REGEX_URI_pn-python-smartpm="https://launchpad.net/smart/trunk/" 91REGEX_URI_pn-python-smartpm="https://launchpad.net/smart/trunk/"
67REGEX_URI_pn-libatomics-ops="http://www.hpl.hp.com/research/linux/atomic_ops/download.php4"
68REGEX_URI_pn-libmad = "ftp://ftp.mars.org/pub/mpeg/"
69REGEX_URI_pn-lsof = "ftp://sunsite.ualberta.ca/pub/Mirror/lsof/" 92REGEX_URI_pn-lsof = "ftp://sunsite.ualberta.ca/pub/Mirror/lsof/"
93REGEX_URI_pn-pbzip2 = "http://compression.ca/pbzip2/"
94REGEX_URI_pn-quicky = "http://qt-apps.org/content/download.php?content=80325&id=1&tan=10417482"
70 95
71# The engine tries to use directory versioning but is a false-positive 96# The engine tries to use directory versioning but is a false-positive
72REGEX_URI_pn-intltool = "https://launchpad.net/intltool/trunk/" 97REGEX_URI_pn-intltool = "https://launchpad.net/intltool/trunk/"
73REGEX_URI_pn-libnfsidmap = "http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/" 98REGEX_URI_pn-libnfsidmap = "http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/"
99REGEX_URI_pn-mpfr = "http://www.mpfr.org/mpfr-current/"
100REGEX_URI_pn-nss = "https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Releases"
101REGEX_pn-nss = "NSS_(?P<pver>.+)_release_notes"
102
103REGEX_URI_pn-docbook-sgml-dtd-3.1 = "http://www.docbook.org/sgml/"
104REGEX_pn-docbook-sgml-dtd-3.1 = "(?P<pver>3\..+)/"
105REGEX_URI_pn-docbook-sgml-dtd-4.1 = "http://www.docbook.org/sgml/"
106REGEX_pn-docbook-sgml-dtd-4.1 = "(?P<pver>4\.1(\.\d+)*)/"
107
108# Qt recipes should be kept at 4.x
109REGEX_URI_pn-qt4-embedded = "http://download.qt.io/official_releases/qt/4.8/"
110REGEX_pn-qt4-embedded = "(?P<pver>\d+(\.\d+)+)/"
111REGEX_URI_pn-qt4-x11-free = "http://download.qt.io/official_releases/qt/4.8/"
112REGEX_pn-qt4-x11-free = "(?P<pver>\d+(\.\d+)+)/"
113REGEX_URI_pn-nativesdk-qt4-tools = "http://download.qt.io/official_releases/qt/4.8/"
114REGEX_pn-nativesdk-qt4-tools = "(?P<pver>\d+(\.\d+)+)/"
115REGEX_URI_pn-qt4-native = "http://download.qt.io/official_releases/qt/4.8/"
116REGEX_pn-qt4-native = "(?P<pver>\d+(\.\d+)+)/"
74 117
75# PyPI sites 118# PyPI sites
76REGEX_URI_pn-python-nose = "https://pypi.python.org/pypi/nose/" 119REGEX_URI_pn-python-nose = "https://pypi.python.org/pypi/nose/"
77REGEX_pn-python-nose = "/nose/${COMMON_REGEX}" 120REGEX_pn-python-nose = "/nose/${COMMON_REGEX}"
121# python-distribute 0.7.x is a simple compatibility layer that installs Setuptools 0.7+.
122# so we stick to 0.6.x series
78REGEX_URI_pn-python-distribute = "https://pypi.python.org/pypi/distribute/" 123REGEX_URI_pn-python-distribute = "https://pypi.python.org/pypi/distribute/"
79REGEX_pn-python-distribute = "/distribute/${COMMON_REGEX}" 124REGEX_pn-python-distribute = "/distribute/(?P<pver>\d+.6.\d+)"
80REGEX_URI_pn-python3-distribute = "https://pypi.python.org/pypi/distribute/"
81REGEX_pn-python3-distribute = "/distribute/${COMMON_REGEX}"
82REGEX_URI_pn-python-gitdb = "https://pypi.python.org/pypi/gitdb/" 125REGEX_URI_pn-python-gitdb = "https://pypi.python.org/pypi/gitdb/"
83REGEX_pn-python-gitdb = "/gitdb/${COMMON_REGEX}"
84REGEX_URI_pn-python-async = "https://pypi.python.org/pypi/async/" 126REGEX_URI_pn-python-async = "https://pypi.python.org/pypi/async/"
85REGEX_pn-python-async = "/async/${COMMON_REGEX}"
86REGEX_URI_pn-python-smmap = "https://pypi.python.org/pypi/smmap/" 127REGEX_URI_pn-python-smmap = "https://pypi.python.org/pypi/smmap/"
87REGEX_pn-python-smmap = "/smmap/${COMMON_REGEX}" 128REGEX_pn-python-smmap = "/smmap/${COMMON_REGEX}"
88REGEX_URI_pn-python-git = "https://pypi.python.org/pypi/GitPython/" 129REGEX_URI_pn-python-git = "https://pypi.python.org/pypi/GitPython/"
89REGEX_pn-python-git = "/GitPython/${COMMON_REGEX}" 130REGEX_pn-python-git = "/GitPython/${COMMON_REGEX}"
90REGEX_URI_pn-python-mako = "https://pypi.python.org/pypi/mako/" 131REGEX_URI_pn-python-mako = "https://pypi.python.org/pypi/mako/"
91REGEX_pn-python-mako = "/Mako/${COMMON_REGEX}" 132REGEX_pn-python-mako = "/Mako/${COMMON_REGEX}"
133REGEX_URI_pn-python-pexpect = "https://pypi.python.org/pypi/pexpect"
134REGEX_URI_pn-python3-pip = "https://pypi.python.org/pypi/pip"
135REGEX_URI_pn-python3-setuptools = "https://pypi.python.org/pypi/setuptools"
92 136
93# Sourceforge sites 137# Sourceforge sites
138REGEX_URI_pn-python-scons = "http://sourceforge.net/projects/scons/files/scons/"
139REGEX_pn-python-scons = "/scons/${COMMON_REGEX}/"
94REGEX_URI_pn-expect = "http://sourceforge.net/projects/expect/files/Expect/" 140REGEX_URI_pn-expect = "http://sourceforge.net/projects/expect/files/Expect/"
95REGEX_pn-expect = "/Expect/${COMMON_REGEX}/" 141REGEX_pn-expect = "/Expect/${COMMON_REGEX}/"
96REGEX_URI_pn-docbook-xsl-stylesheets = "http://sourceforge.net/projects/docbook/files/docbook-xsl/" 142REGEX_URI_pn-docbook-xsl-stylesheets = "http://sourceforge.net/projects/docbook/files/docbook-xsl/"
97REGEX_pn-docbook-xsl-stylesheets = "/docbook-xsl/${COMMON_REGEX}/" 143REGEX_pn-docbook-xsl-stylesheets = "/docbook-xsl/${COMMON_REGEX}/"
98REGEX_URI_pn-glew = "http://sourceforge.net/projects/glew/files/glew" 144REGEX_URI_pn-glew = "http://sourceforge.net/projects/glew/files/glew"
99REGEX_pn-glew = "/glew/${COMMON_REGEX}/" 145REGEX_pn-glew = "/glew/${COMMON_REGEX}/"
100REGEX_URI_pn-menu-cache = "http://sourceforge.net/projects/lxde/files/menu-cache/" 146REGEX_URI_pn-menu-cache = "http://sourceforge.net/projects/lxde/files/menu-cache/1.0/"
101REGEX_pn-menu-cache = "/menu-cache/${COMMON_REGEX}/"
102REGEX_URI_pn-x11vnc = "http://sourceforge.net/projects/libvncserver/files/x11vnc/" 147REGEX_URI_pn-x11vnc = "http://sourceforge.net/projects/libvncserver/files/x11vnc/"
103REGEX_pn-x11vnc = "/x11vnc/${COMMON_REGEX}/" 148REGEX_pn-x11vnc = "/x11vnc/${COMMON_REGEX}/"
104REGEX_URI_pn-quota = "http://sourceforge.net/projects/linuxquota/files/quota-tools/" 149REGEX_URI_pn-quota = "http://sourceforge.net/projects/linuxquota/files/quota-tools/"
@@ -112,27 +157,45 @@ REGEX_pn-libusb-compat = "/libusb-compat-${COMMON_REGEX}/$"
112REGEX_URI_pn-sysfsutils = "http://sourceforge.net/projects/linux-diag/files/sysfsutils/" 157REGEX_URI_pn-sysfsutils = "http://sourceforge.net/projects/linux-diag/files/sysfsutils/"
113REGEX_pn-sysfsutils = "/sysfsutils/${COMMON_REGEX}/" 158REGEX_pn-sysfsutils = "/sysfsutils/${COMMON_REGEX}/"
114REGEX_URI_pn-console-tools = "http://sourceforge.net/projects/lct/files/console-tools-devel/" 159REGEX_URI_pn-console-tools = "http://sourceforge.net/projects/lct/files/console-tools-devel/"
115REGEX_pn-console-tools = "/console-tools-devel/${COMMON_REGEX}/" 160REGEX_pn-console-tools = "/console-tools-devel/(?P<pver>(\d\d?\.)+\d\d?)/"
116REGEX_URI_pn-watchdog = "http://sourceforge.net/projects/watchdog/files/watchdog/" 161REGEX_URI_pn-watchdog = "http://sourceforge.net/projects/watchdog/files/watchdog/"
117REGEX_pn-watchdog = "/watchdog/${COMMON_REGEX}/" 162REGEX_pn-watchdog = "/watchdog/${COMMON_REGEX}/"
118REGEX_URI_pn-cracklib = "http://sourceforge.net/projects/cracklib/files/cracklib/" 163REGEX_URI_pn-cracklib = "http://sourceforge.net/projects/cracklib/files/cracklib/"
119REGEX_pn-cracklib = "/cracklib/${COMMON_REGEX}/" 164REGEX_pn-cracklib = "/cracklib/${COMMON_REGEX}/"
165REGEX_URI_pn-gptfdisk = "http://sourceforge.net/projects/gptfdisk/files/gptfdisk/"
166REGEX_pn-gptfdisk = "/gptfdisk/${COMMON_REGEX}/"
167REGEX_URI_pn-libpng12 = "http://sourceforge.net/projects/libpng/files/libpng12/"
168REGEX_pn-libpng12 = "/libpng12/${COMMON_REGEX}/"
169REGEX_URI_pn-docbook-dsssl-stylesheets = "http://sourceforge.net/projects/docbook/files/docbook-dsssl/"
170REGEX_pn-docbook-dsssl-stylesheets = "/docbook-dsssl/${COMMON_REGEX}/"
171REGEX_URI_pn-openjade = "http://sourceforge.net/projects/openjade/files/openjade/"
172REGEX_pn-openjade = "/openjade/${COMMON_REGEX}/"
120 173
121REGEX_URI_pn-libpfm4 = "http://sourceforge.net/projects/perfmon2/files/libpfm4/" 174REGEX_URI_pn-libpfm4 = "http://sourceforge.net/projects/perfmon2/files/libpfm4/"
122REGEX_URI_pn-liba52 = "http://liba52.sourceforge.net/downloads.html" 175REGEX_URI_pn-liba52 = "http://liba52.sourceforge.net/downloads.html"
123REGEX_URI_pn-mpeg2dec = "http://libmpeg2.sourceforge.net/downloads.html" 176REGEX_URI_pn-mpeg2dec = "http://libmpeg2.sourceforge.net/downloads.html"
124REGEX_URI_pn-pcmanfm = "http://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/" 177REGEX_URI_pn-pcmanfm = "http://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/"
125REGEX_URI_pn-libcgroup = "http://sourceforge.net/projects/libcg/files/libcgroup/" 178REGEX_URI_pn-libcgroup = "http://sourceforge.net/projects/libcg/files/libcgroup/"
179REGEX_URI_pn-cdrtools = "http://sourceforge.net/projects/cdrtools/files/alpha/"
126 180
127# GIT 181# GIT
128GITTAGREGEX_COMMON = "(?P<pver>\d+\.\d+\.(\d\.?)*)" 182GITTAGREGEX_COMMON = "(?P<pver>\d+\.\d+(\.\d+)*)"
129 183
130GITTAGREGEX_pn-linux-yocto = "${GITTAGREGEX_COMMON}" 184GITTAGREGEX_pn-linux-yocto = "${GITTAGREGEX_COMMON}"
131GITTAGREGEX_pn-linux-yocto-tiny = "${GITTAGREGEX_COMMON}" 185GITTAGREGEX_pn-linux-yocto-tiny = "${GITTAGREGEX_COMMON}"
132GITTAGREGEX_pn-linux-yocto-dev = "${GITTAGREGEX_COMMON}" 186GITTAGREGEX_pn-linux-yocto-dev = "${GITTAGREGEX_COMMON}"
133GITTAGREGEX_pn-uclibc = "${GITTAGREGEX_COMMON}" 187GITTAGREGEX_pn-uclibc = "${GITTAGREGEX_COMMON}"
134GITTAGREGEX_pn-glibc = "${GITTAGREGEX_COMMON}" 188GITTAGREGEX_pn-glibc = "${GITTAGREGEX_COMMON}"
135GITTAGREGEX_pn-xf86-video-omap = "${GITTAGREGEX_COMMON}" 189GITTAGREGEX_pn-cross-localedef = "${GITTAGREGEX_COMMON}"
190GITTAGREGEX_pn-binutils = "binutils-(?P<pver>\d+_(\d_?)*)"
191GITTAGREGEX_pn-bootchart2 = "${GITTAGREGEX_COMMON}"
192GITTAGREGEX_pn-remake = "(?P<pver>(\d+(\.\d+)+)\+dbg.+)"
193GITTAGREGEX_pn-tcf-agent = "(?P<pver>(\d+(\.\d+)+))"
194GITTAGREGEX_pn-chkconfig-alternatives = "chkconfig-(?P<pver>(\d+(\.\d+)+))"
195GITTAGREGEX_pn-sgmlspl = "(?P<pver>(\d+(\.\d+)+))"
196
197# Exclude x.99.x versions
198GITTAGREGEX_pn-mx-1.0 = "(?P<pver>^\d+(\.(?!99)\d+)+)"
136 199
137# GNOME related. 200# GNOME related.
138# 201#
@@ -166,3 +229,37 @@ REGEX_pn-cogl-1.0 = "${GNOME_STABLE}"
166REGEX_pn-dbus = "${GNOME_STABLE}" 229REGEX_pn-dbus = "${GNOME_STABLE}"
167REGEX_pn-dbus-test = "${GNOME_STABLE}" 230REGEX_pn-dbus-test = "${GNOME_STABLE}"
168 231
232# same logic applies to gstreamer releases
233REGEX_pn-gstreamer1.0 = "${GNOME_STABLE}"
234REGEX_pn-gstreamer1.0-libav = "${GNOME_STABLE}"
235REGEX_pn-gstreamer1.0-plugins-bad = "${GNOME_STABLE}"
236REGEX_pn-gstreamer1.0-plugins-base = "${GNOME_STABLE}"
237REGEX_pn-gstreamer1.0-plugins-good = "${GNOME_STABLE}"
238REGEX_pn-gstreamer1.0-plugins-ugly = "${GNOME_STABLE}"
239REGEX_pn-gstreamer1.0-rtsp-server = "${GNOME_STABLE}"
240
241# and perl
242REGEX_pn-perl = "${GNOME_STABLE}"
243
244# Keep old gcc versions at their major versions
245REGEX_pn-gcc-source-4.9.2 = "gcc-(?P<pver>4\.9\.\d+).tar"
246REGEX_pn-gcc-source-4.8.4 = "gcc-(?P<pver>4\.8\.\d+).tar"
247
248# these packages are taken from snapshots.debian.org; that source is static and goes stale
249# so we check the latest upstream from a directory that does get updated
250REGEX_URI_pn-apt = "${DEBIAN_MIRROR}/main/a/apt/"
251REGEX_URI_pn-resolvconf = "${DEBIAN_MIRROR}/main/r/resolvconf/"
252REGEX_URI_pn-net-tools = "${DEBIAN_MIRROR}/main/n/net-tools/"
253
254# same for packages from launchpad
255REGEX_URI_pn-base-passwd = "${DEBIAN_MIRROR}/main/b/base-passwd/"
256
257# for these packages we're mostly interested in tracking debian patches,
258# and not in the upstream version where all development has effectively stopped
259DEBIAN_PATCH_REGEX = "(?P<pver>((\d+\.*)+)-((\d+\.*)+))\.(diff|debian\.tar)\.(gz|xz)"
260REGEX_pn-net-tools = "${DEBIAN_PATCH_REGEX}"
261REGEX_pn-apmd = "${DEBIAN_PATCH_REGEX}"
262REGEX_pn-blktool = "${DEBIAN_PATCH_REGEX}"
263# mailx is fetched from launchpad
264REGEX_URI_pn-mailx = "${DEBIAN_MIRROR}/main/h/heirloom-mailx/"
265REGEX_pn-mailx = "${DEBIAN_PATCH_REGEX}"