summaryrefslogtreecommitdiffstats
path: root/meta-yocto/conf/distro/include/package_regex.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-yocto/conf/distro/include/package_regex.inc')
-rw-r--r--meta-yocto/conf/distro/include/package_regex.inc265
1 files changed, 0 insertions, 265 deletions
diff --git a/meta-yocto/conf/distro/include/package_regex.inc b/meta-yocto/conf/distro/include/package_regex.inc
deleted file mode 100644
index 037fdaace6..0000000000
--- a/meta-yocto/conf/distro/include/package_regex.inc
+++ /dev/null
@@ -1,265 +0,0 @@
1# package_regex.inc - This file contains data that tracks
2# upstream project associated with a given recipe. This list is needed
3# for recipes that version information can not be automagically discovered.
4# As we automate this checking, this file will slowly be reduced.
5#"
6# This data is used by the package reporting system (packages.yoctoproject.org)
7#"
8# The format is as a bitbake variable override for each recipe
9#"
10# REGEX_URI_pn-<recipe name> = "recipe_url"
11# - This is the url used by the package checking system to
12# get the latest version of the package
13# REGEX_pn-<recipe name> = "package_regex"
14# - This is the regex the package checking system uses to
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.
20#
21
22COMMON_REGEX = "(?P<pver>(\d+[\.\-_]*)+)"
23
24# Generic regex don't match
25REGEX_URI_pn-wireless-tools = "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
26REGEX_pn-wireless-tools = "wireless_tools\.(?P<pver>(\d+)(\..*|))\.tar\.gz"
27
28REGEX_URI_pn-midori="http://midori-browser.org/download/source/"
29REGEX_pn-midori="midori_(?P<pver>((\d+[\.\-_]*)+))_all_\.tar\.bz2"
30
31REGEX_URI_pn-sqlite3="http://www.sqlite.org/"
32REGEX_pn-sqlite3="releaselog/${COMMON_REGEX}.html"
33
34REGEX_URI_pn-dhcp = "ftp://ftp.isc.org/isc/dhcp/"
35REGEX_pn-dhcp="(?P<pver>\d+\.\d+\.(\d+?))"
36
37REGEX_pn-foomatic-filters = "foomatic-filters-(?P<pver>((\d|\d\d)\.*)+)\.tar\.gz"
38REGEX_pn-xdg-utils = "xdg-utils-(?P<pver>((\d+[\.\-_]*)+)((rc|alpha|beta)\d+)?)\.(tar\.gz|tgz)"
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"
63
64# Isn't possible to download with the default URI web server returns
65# (403, 404, 550)
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"
71REGEX_URI_pn-chrpath = "http://alioth.debian.org/frs/?group_id=31052"
72
73REGEX_URI_pn-powertop = "https://01.org/powertop/downloads"
74REGEX_URI_pn-libsamplerate0 = "http://www.mega-nerd.com/SRC/download.html"
75REGEX_URI_pn-libxkbcommon = "http://xkbcommon.org/"
76REGEX_URI_pn-tslib = "https://github.com/kergoth/tslib/releases"
77REGEX_URI_pn-waffle="http://www.waffle-gl.org/releases.html"
78REGEX_URI_pn-lrzsz = "http://ohse.de/uwe/software/lrzsz.html"
79REGEX_URI_pn-libacpi = "http://www.ngolde.de/libacpi.html"
80REGEX_URI_pn-less = "http://www.greenwoodsoftware.com/less/download.html"
81REGEX_URI_pn-cups = "http://www.cups.org/software.php"
82REGEX_pn-cups = "cups-(?P<pver>\d+\.\d+(\.\d+)?)-source.tar"
83REGEX_URI_pn-bzip2 = "http://www.bzip.org/downloads.html"
84REGEX_URI_pn-minicom = "https://alioth.debian.org/frs/?group_id=30018"
85REGEX_URI_pn-sysstat = "http://sebastien.godard.pagesperso-orange.fr/download.html"
86REGEX_URI_pn-libical = "https://github.com/libical/libical/releases/"
87REGEX_URI_pn-libmpc = "http://www.multiprecision.org/index.php?prog=mpc&page=download"
88REGEX_URI_pn-taglib = "http://github.com/taglib/taglib/releases/"
89REGEX_URI_pn-libevent = "http://libevent.org/"
90REGEX_URI_pn-db = "http://www.oracle.com/technetwork/products/berkeleydb/downloads/index-082944.html"
91REGEX_URI_pn-python-smartpm="https://launchpad.net/smart/trunk/"
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"
95
96# The engine tries to use directory versioning but is a false-positive
97REGEX_URI_pn-intltool = "https://launchpad.net/intltool/trunk/"
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+)+)/"
117
118# PyPI sites
119REGEX_URI_pn-python-nose = "https://pypi.python.org/pypi/nose/"
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
123REGEX_URI_pn-python-distribute = "https://pypi.python.org/pypi/distribute/"
124REGEX_pn-python-distribute = "/distribute/(?P<pver>\d+.6.\d+)"
125REGEX_URI_pn-python-gitdb = "https://pypi.python.org/pypi/gitdb/"
126REGEX_URI_pn-python-async = "https://pypi.python.org/pypi/async/"
127REGEX_URI_pn-python-smmap = "https://pypi.python.org/pypi/smmap/"
128REGEX_pn-python-smmap = "/smmap/${COMMON_REGEX}"
129REGEX_URI_pn-python-git = "https://pypi.python.org/pypi/GitPython/"
130REGEX_pn-python-git = "/GitPython/${COMMON_REGEX}"
131REGEX_URI_pn-python-mako = "https://pypi.python.org/pypi/mako/"
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"
136
137# Sourceforge sites
138REGEX_URI_pn-python-scons = "http://sourceforge.net/projects/scons/files/scons/"
139REGEX_pn-python-scons = "/scons/${COMMON_REGEX}/"
140REGEX_URI_pn-expect = "http://sourceforge.net/projects/expect/files/Expect/"
141REGEX_pn-expect = "/Expect/${COMMON_REGEX}/"
142REGEX_URI_pn-docbook-xsl-stylesheets = "http://sourceforge.net/projects/docbook/files/docbook-xsl/"
143REGEX_pn-docbook-xsl-stylesheets = "/docbook-xsl/${COMMON_REGEX}/"
144REGEX_URI_pn-glew = "http://sourceforge.net/projects/glew/files/glew"
145REGEX_pn-glew = "/glew/${COMMON_REGEX}/"
146REGEX_URI_pn-menu-cache = "http://sourceforge.net/projects/lxde/files/menu-cache/1.0/"
147REGEX_URI_pn-x11vnc = "http://sourceforge.net/projects/libvncserver/files/x11vnc/"
148REGEX_pn-x11vnc = "/x11vnc/${COMMON_REGEX}/"
149REGEX_URI_pn-quota = "http://sourceforge.net/projects/linuxquota/files/quota-tools/"
150REGEX_pn-quota = "/quota-tools/${COMMON_REGEX}/"
151REGEX_URI_pn-lsb = "http://sourceforge.net/projects/lsb/files/lsb_release/"
152REGEX_pn-lsb = "/lsb_release/${COMMON_REGEX}/"
153REGEX_URI_pn-libpcre = "http://sourceforge.net/projects/pcre/files/pcre/"
154REGEX_pn-libpcre = "/pcre/${COMMON_REGEX}/"
155REGEX_URI_pn-libusb-compat = "http://sourceforge.net/projects/libusb/files/libusb-compat-0.1/"
156REGEX_pn-libusb-compat = "/libusb-compat-${COMMON_REGEX}/$"
157REGEX_URI_pn-sysfsutils = "http://sourceforge.net/projects/linux-diag/files/sysfsutils/"
158REGEX_pn-sysfsutils = "/sysfsutils/${COMMON_REGEX}/"
159REGEX_URI_pn-console-tools = "http://sourceforge.net/projects/lct/files/console-tools-devel/"
160REGEX_pn-console-tools = "/console-tools-devel/(?P<pver>(\d\d?\.)+\d\d?)/"
161REGEX_URI_pn-watchdog = "http://sourceforge.net/projects/watchdog/files/watchdog/"
162REGEX_pn-watchdog = "/watchdog/${COMMON_REGEX}/"
163REGEX_URI_pn-cracklib = "http://sourceforge.net/projects/cracklib/files/cracklib/"
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}/"
173
174REGEX_URI_pn-libpfm4 = "http://sourceforge.net/projects/perfmon2/files/libpfm4/"
175REGEX_URI_pn-liba52 = "http://liba52.sourceforge.net/downloads.html"
176REGEX_URI_pn-mpeg2dec = "http://libmpeg2.sourceforge.net/downloads.html"
177REGEX_URI_pn-pcmanfm = "http://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/"
178REGEX_URI_pn-libcgroup = "http://sourceforge.net/projects/libcg/files/libcgroup/"
179REGEX_URI_pn-cdrtools = "http://sourceforge.net/projects/cdrtools/files/alpha/"
180
181# GIT
182GITTAGREGEX_COMMON = "(?P<pver>\d+\.\d+(\.\d+)*)"
183
184GITTAGREGEX_pn-linux-yocto = "${GITTAGREGEX_COMMON}"
185GITTAGREGEX_pn-linux-yocto-tiny = "${GITTAGREGEX_COMMON}"
186GITTAGREGEX_pn-linux-yocto-dev = "${GITTAGREGEX_COMMON}"
187GITTAGREGEX_pn-uclibc = "${GITTAGREGEX_COMMON}"
188GITTAGREGEX_pn-glibc = "${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+)+)"
199
200# GNOME related.
201#
202# GNOME2_STABLE picks stable releases in the 2.x series (so not 2.90 onwards,
203# which were GNOME 3 betas.
204#
205# GNOME_STABLE picks the latest stable release.
206
207GNOME2_STABLE = "(?P<pver>2\.([0-8]*[02468])+\.\d+)"
208GNOME_STABLE = "(?P<pver>\d+\.(\d*[02468])+\.\d+)"
209
210REGEX_pn-glib-2.0 = "${GNOME_STABLE}"
211REGEX_pn-atk = "${GNOME_STABLE}"
212REGEX_pn-at-spi2-core = "${GNOME_STABLE}"
213REGEX_pn-at-spi2-atk = "${GNOME_STABLE}"
214REGEX_pn-gdk-pixbuf = "${GNOME_STABLE}"
215REGEX_pn-pango = "${GNOME_STABLE}"
216REGEX_pn-gtk+ = "${GNOME2_STABLE}"
217REGEX_pn-gtk+3 = "${GNOME_STABLE}"
218REGEX_pn-gtk-engines = "${GNOME2_STABLE}"
219REGEX_pn-glib-networking = "${GNOME_STABLE}"
220REGEX_pn-librsvg = "${GNOME_STABLE}"
221REGEX_pn-libsoup-2.4 = "${GNOME_STABLE}"
222REGEX_pn-vala = "${GNOME_STABLE}"
223REGEX_pn-clutter-1.0 = "${GNOME_STABLE}"
224REGEX_pn-clutter-gtk-1.0 = "${GNOME_STABLE}"
225REGEX_pn-clutter-gst-3.0 = "${GNOME_STABLE}"
226REGEX_pn-cogl-1.0 = "${GNOME_STABLE}"
227
228# not GNOME related but uses same even-minor-release-is-stable logic
229REGEX_pn-dbus = "${GNOME_STABLE}"
230REGEX_pn-dbus-test = "${GNOME_STABLE}"
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}"