]> code.ossystems Code Review - openembedded-core.git/commitdiff
package_regex.inc: split the rest of the entries to their recipes
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Mon, 16 Nov 2015 16:05:13 +0000 (18:05 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Dec 2015 10:20:09 +0000 (10:20 +0000)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
42 files changed:
meta/conf/distro/include/package_regex.inc
meta/recipes-bsp/libacpi/libacpi_0.2.bb
meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
meta/recipes-connectivity/dhcp/dhcp.inc
meta/recipes-connectivity/nfs-utils/libnfsidmap_0.25.bb
meta/recipes-connectivity/wireless-tools/wireless-tools_30.pre9.bb
meta/recipes-devtools/autogen/autogen-native_5.18.5.bb
meta/recipes-devtools/chrpath/chrpath_0.16.bb
meta/recipes-devtools/cmake/cmake.inc
meta/recipes-devtools/dosfstools/dosfstools_3.0.28.bb
meta/recipes-devtools/intltool/intltool.inc
meta/recipes-devtools/json-c/json-c_0.12.bb
meta/recipes-devtools/rpm/rpm_5.4.14.bb
meta/recipes-extended/bzip2/bzip2_1.0.6.bb
meta/recipes-extended/cups/cups.inc
meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb
meta/recipes-extended/iputils/iputils_s20121221.bb
meta/recipes-extended/less/less_479.bb
meta/recipes-extended/lsof/lsof_4.89.bb
meta/recipes-extended/minicom/minicom_2.7.bb
meta/recipes-extended/pbzip2/pbzip2_1.1.12.bb
meta/recipes-extended/sysstat/sysstat.inc
meta/recipes-extended/xdg-utils/xdg-utils_1.1.1.bb
meta/recipes-graphics/cairo/cairo_1.14.4.bb
meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
meta/recipes-graphics/tslib/tslib_1.1.bb
meta/recipes-graphics/waffle/waffle_1.5.1.bb
meta/recipes-graphics/xorg-lib/libxkbcommon_0.5.0.bb
meta/recipes-kernel/powertop/powertop_2.7.bb
meta/recipes-multimedia/libsamplerate/libsamplerate0_0.1.8.bb
meta/recipes-multimedia/libtheora/libtheora_1.1.1.bb
meta/recipes-multimedia/webp/libwebp_0.4.3.bb
meta/recipes-qt/qt-apps/quicky_0.4.bb
meta/recipes-support/libevent/libevent_2.0.22.bb
meta/recipes-support/libical/libical_1.0.0.bb
meta/recipes-support/libmpc/libmpc_1.0.3.bb
meta/recipes-support/libxslt/libxslt_1.1.28.bb
meta/recipes-support/mpfr/mpfr_3.1.3.bb
meta/recipes-support/nettle/nettle.inc
meta/recipes-support/nss/nss_3.19.2.bb
meta/recipes-support/sqlite/sqlite3_3.9.2.bb
meta/recipes-support/taglib/taglib_1.9.1.bb

index c392d6bdcb97621734ea5df8df1e90a852c47900..9fc115723733882d474e1e0c49d57ac3718c64c8 100644 (file)
 #         determine the upstream release version. This regex can be used
 #         to filter only relevant tags.
 #
-
-COMMON_REGEX = "(?P<pver>(\d+[\.\-_]*)+)"
-
-# Generic regex don't match
-REGEX_URI_pn-wireless-tools = "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
-REGEX_pn-wireless-tools = "wireless_tools\.(?P<pver>(\d+)(\..*|))\.tar\.gz"
-
-REGEX_URI_pn-sqlite3="http://www.sqlite.org/"
-REGEX_pn-sqlite3="releaselog/${COMMON_REGEX}.html"
-
-REGEX_URI_pn-dhcp = "ftp://ftp.isc.org/isc/dhcp/"
-REGEX_pn-dhcp="(?P<pver>\d+\.\d+\.(\d+?))/"
-
-REGEX_pn-foomatic-filters = "foomatic-filters-(?P<pver>((\d|\d\d)\.*)+)\.tar\.gz"
-REGEX_pn-xdg-utils = "xdg-utils-(?P<pver>((\d+[\.\-_]*)+)((rc|alpha|beta)\d+)?)\.(tar\.gz|tgz)"
-REGEX_pn-rpm="rpm-${COMMON_REGEX}-.*$"
-REGEX_pn-libtheora = "libtheora-(?P<pver>\d+(\.\d)+)\.(tar\.gz|tgz)"
-
-REGEX_pn-iputils="iputils-(?P<pver>s\d+).tar"
-REGEX_pn-nettle = "nettle-(?P<pver>\d+(\.\d+)+)\.tar"
-
-REGEX_pn-cairo = "cairo-(?P<pver>\d+(\.\d+)+)\.tar"
-REGEX_pn-cmake = "cmake-(?P<pver>\d+(\.\d+)+)\.tar"
-REGEX_pn-libsdl = "SDL-(?P<pver>\d+(\.\d+)+)\.tar"
-REGEX_pn-libxslt = "libxslt-(?P<pver>\d+(\.\d+)+)\.tar"
-
-REGEX_URI_pn-autogen = "http://ftp.gnu.org/gnu/autogen/"
-REGEX_pn-autogen = "rel(?P<pver>\d+(\.\d+)+)/"
-
-# Isn't possible to download with the default URI web server returns
-# (403, 404, 550)
-REGEX_URI_pn-dosfstools = "https://github.com/dosfstools/dosfstools/releases"
-REGEX_pn-json-c = "json-c-(?P<pver>\d+(\.\d+)+).tar"
-# json-c releases page is fetching the list of releases in some weird XML format
-# from https://s3.amazonaws.com/json-c_releases and processes it with javascript :-/
-#REGEX_URI_pn-json-c = "https://s3.amazonaws.com/json-c_releases/releases/index.html"
-REGEX_URI_pn-chrpath = "http://alioth.debian.org/frs/?group_id=31052"
-
-REGEX_URI_pn-powertop = "https://01.org/powertop/downloads"
-REGEX_URI_pn-libsamplerate0 = "http://www.mega-nerd.com/SRC/download.html"
-REGEX_URI_pn-libxkbcommon = "http://xkbcommon.org/"
-REGEX_URI_pn-tslib = "https://github.com/kergoth/tslib/releases"
-REGEX_URI_pn-waffle="http://www.waffle-gl.org/releases.html"
-REGEX_URI_pn-lrzsz = "http://ohse.de/uwe/software/lrzsz.html"
-REGEX_URI_pn-libacpi = "http://www.ngolde.de/libacpi.html"
-REGEX_URI_pn-less  = "http://www.greenwoodsoftware.com/less/download.html"
-REGEX_URI_pn-cups = "http://www.cups.org/software.php"
-REGEX_pn-cups = "cups-(?P<pver>\d+\.\d+(\.\d+)?)-source.tar"
-REGEX_URI_pn-bzip2 = "http://www.bzip.org/downloads.html"
-REGEX_URI_pn-minicom = "https://alioth.debian.org/frs/?group_id=30018"
-REGEX_URI_pn-sysstat = "http://sebastien.godard.pagesperso-orange.fr/download.html"
-REGEX_URI_pn-libical = "https://github.com/libical/libical/releases/"
-REGEX_URI_pn-libmpc = "http://www.multiprecision.org/index.php?prog=mpc&page=download"
-REGEX_URI_pn-taglib = "http://github.com/taglib/taglib/releases/"
-REGEX_URI_pn-libevent = "http://libevent.org/"
-REGEX_URI_pn-db = "http://www.oracle.com/technetwork/products/berkeleydb/downloads/index-082944.html"
-REGEX_URI_pn-python-smartpm="https://launchpad.net/smart/trunk/"
-REGEX_URI_pn-lsof = "ftp://sunsite.ualberta.ca/pub/Mirror/lsof/"
-REGEX_URI_pn-pbzip2 = "http://compression.ca/pbzip2/"
-REGEX_URI_pn-quicky = "http://qt-apps.org/content/download.php?content=80325&id=1&tan=10417482"
-REGEX_URI_pn-libwebp = "http://downloads.webmproject.org/releases/webp/index.html"
-
-# The engine tries to use directory versioning but is a false-positive
-REGEX_URI_pn-intltool = "https://launchpad.net/intltool/trunk/"
-REGEX_URI_pn-libnfsidmap = "http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/"
-REGEX_URI_pn-mpfr = "http://www.mpfr.org/mpfr-current/"
-REGEX_URI_pn-nss = "https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Releases"
-REGEX_pn-nss = "NSS_(?P<pver>.+)_release_notes"
index bf302f3ce445a0413f59ab00453222dafe055d63..3dd9ab640e6cc28645a991b3d4d2aeb662e6e95b 100644 (file)
@@ -16,6 +16,8 @@ SRC_URI = "http://www.ngolde.de/download/libacpi-${PV}.tar.gz \
 SRC_URI[md5sum] = "05b53dd7bead66dda35fec502b91066c"
 SRC_URI[sha256sum] = "13086e31d428b9c125954d48ac497b754bbbce2ef34ea29ecd903e82e25bad29"
 
+UPSTREAM_CHECK_URI = "http://www.ngolde.de/libacpi.html"
+
 inherit lib_package
 
 COMPATIBLE_HOST = '(x86_64|i.86).*-(linux|freebsd.*)'
index e0ce57d020040b15e9c8c16652fcc3a4fa59aef6..4b349be32f7586aeb300894b1c7b5fc773fb7af3 100644 (file)
@@ -24,6 +24,8 @@ SRC_URI = "http://www.ohse.de/uwe/releases/lrzsz-${PV}.tar.gz \
 SRC_URI[md5sum] = "b5ce6a74abc9b9eb2af94dffdfd372a4"
 SRC_URI[sha256sum] = "c28b36b14bddb014d9e9c97c52459852f97bd405f89113f30bee45ed92728ff1"
 
+UPSTREAM_CHECK_URI = "http://ohse.de/uwe/software/lrzsz.html"
+
 inherit autotools gettext
 
 do_install() {
index d883a8df48a29a05a4018cb2c924414c199b9e36..a673dbc87812221eb7f33da532f115f8cc06dd2f 100644 (file)
@@ -20,6 +20,9 @@ SRC_URI = "ftp://ftp.isc.org/isc/dhcp/${PV}/dhcp-${PV}.tar.gz \
            file://dhcpd.service file://dhcrelay.service \
            file://dhcpd6.service "
 
+UPSTREAM_CHECK_URI = "ftp://ftp.isc.org/isc/dhcp/"
+UPSTREAM_CHECK_REGEX = "(?P<pver>\d+\.\d+\.(\d+?))/"
+
 inherit autotools systemd
 
 SYSTEMD_PACKAGES = "${PN}-server ${PN}-relay"
index 5b578e9a1ce057cd55786a3f825838a7b21229f4..2565771006a097abffc8efb35d0668a2e97c43ad 100644 (file)
@@ -14,6 +14,8 @@ SRC_URI = "http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/${BPN}-${P
 SRC_URI[md5sum] = "2ac4893c92716add1a1447ae01df77ab"
 SRC_URI[sha256sum] = "656d245d84400e1030f8f40a5a27da76370690c4a932baf249110f047fe7efcf"
 
+UPSTREAM_CHECK_URI = "http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/"
+
 inherit autotools
 
 EXTRA_OECONF = "--disable-ldap"
index 38ad86e82d76cbdd6210fe2c09f13ef420204a0c..b6f33e5eb779880014ea8ea8af982e1eb22c2d8c 100644 (file)
@@ -17,6 +17,9 @@ SRC_URI = "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.$
 SRC_URI[md5sum] = "ca91ba7c7eff9bfff6926b1a34a4697d"
 SRC_URI[sha256sum] = "abd9c5c98abf1fdd11892ac2f8a56737544fe101e1be27c6241a564948f34c63"
 
+UPSTREAM_CHECK_URI = "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
+UPSTREAM_CHECK_REGEX = "wireless_tools\.(?P<pver>(\d+)(\..*|))\.tar\.gz"
+
 S = "${WORKDIR}/wireless_tools.30"
 
 CFLAGS =+ "-I${S}"
index 2a2851283b0e689ac76835c423825552251aee83..373dd899946b50e84e2b38749e691a2c7837502a 100644 (file)
@@ -17,6 +17,9 @@ SRC_URI = "${GNU_MIRROR}/autogen/rel${PV}/autogen-${PV}.tar.gz \
 SRC_URI[md5sum] = "385d7c7dfbe60babbee261c054923a53"
 SRC_URI[sha256sum] = "7bbdb73b5518baf64c6d3739fb2ecc66d2cccda888ce5ad573abe235ab5d96ba"
 
+UPSTREAM_CHECK_URI = "http://ftp.gnu.org/gnu/autogen/"
+UPSTREAM_CHECK_REGEX = "rel(?P<pver>\d+(\.\d+)+)/"
+
 DEPENDS = "guile-native libtool-native libxml2-native"
 
 inherit autotools texinfo native pkgconfig
index 0a3b06e73bf9e25cb0100ec91844ac52e27054b4..e115eb5c95865a7bc482f7eac949e34cd498d230 100644 (file)
@@ -13,6 +13,8 @@ SRC_URI = "http://alioth.debian.org/frs/download.php/file/3979/chrpath-0.16.tar.
 SRC_URI[md5sum] = "2bf8d1d1ee345fc8a7915576f5649982"
 SRC_URI[sha256sum] = "bb0d4c54bac2990e1bdf8132f2c9477ae752859d523e141e72b3b11a12c26e7b"
 
+UPSTREAM_CHECK_URI = "http://alioth.debian.org/frs/?group_id=31052"
+
 inherit autotools
 
 # We don't have a staged chrpath-native for ensuring our binary is
index c912bcce32ae0dba6d90a167ddca4192eb3381ca..a14ce350fc98817d634c8090abcd2c6683a7a0c8 100644 (file)
@@ -19,6 +19,8 @@ SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \
 SRC_URI[md5sum] = "5febbd11bcaac854a27eebaf4a124be2"
 SRC_URI[sha256sum] = "e75a178d6ebf182b048ebfe6e0657c49f0dc109779170bad7ffcb17463f2fc22"
 
+UPSTREAM_CHECK_REGEX = "cmake-(?P<pver>\d+(\.\d+)+)\.tar"
+
 inherit autotools
 
 # Ugly hack to work around undefined OE_QMAKE_PATH_EXTERNAL_HOST_BINS variable
index ac131cb72a834279643cd78d6d394764114263a6..addcbf607c67497194ac28dd183c5030b522b1cf 100644 (file)
@@ -13,6 +13,8 @@ SRC_URI = "https://github.com/dosfstools/dosfstools/releases/download/v3.0.28/do
 SRC_URI[md5sum] = "6a047a6c65186b9ebb1853709adb36db"
 SRC_URI[sha256sum] = "ee95913044ecf2719b63ea11212917649709a6e53209a72d622135aaa8517ee2"
 
+UPSTREAM_CHECK_URI = "https://github.com/dosfstools/dosfstools/releases"
+
 FILES_${PN} = "${base_sbindir}"
 FILES_${PN}-doc = "${mandir} ${docdir}"
 
index be777042080e384cf69ec81e89a11db1f573de06..eb7ae004aa8abaefb72f3189822233662412e5e5 100644 (file)
@@ -4,6 +4,9 @@ LICENSE = "GPLv2"
 
 URLV="${@'.'.join(d.getVar('PV',1).split('.')[0:2])}"
 SRC_URI = "http://launchpad.net/${BPN}/trunk/${PV}/+download/${BP}.tar.gz"
+
+UPSTREAM_CHECK_URI = "https://launchpad.net/intltool/trunk/"
+
 S = "${WORKDIR}/intltool-${PV}"
 
 DEPENDS = "libxml-parser-perl-native"
index cfef03d2e86b1ce63d03f95e0d950efb52b95a28..b56b37e8645cebb7e330c0db3134b32bcbf6bc30 100644 (file)
@@ -11,6 +11,11 @@ SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \
 SRC_URI[md5sum] = "3ca4bbb881dfc4017e8021b5e0a8c491"
 SRC_URI[sha256sum] = "000c01b2b3f82dcb4261751eb71f1b084404fb7d6a282f06074d3c17078b9f3f"
 
+UPSTREAM_CHECK_REGEX = "json-c-(?P<pver>\d+(\.\d+)+).tar"
+# json-c releases page is fetching the list of releases in some weird XML format
+# from https://s3.amazonaws.com/json-c_releases and processes it with javascript :-/
+#UPSTREAM_CHECK_URI = "https://s3.amazonaws.com/json-c_releases/releases/index.html"
+
 RPROVIDES_${PN} = "libjson"
 
 inherit autotools
index 8e1d3cbfc6a33ed39440463fca47fefbbef04aca..774a1a30e0a94efe170d7eb3d8c4f5a8ade0e075 100644 (file)
@@ -112,6 +112,8 @@ SRC_URI = "http://www.rpm5.org/files/rpm/rpm-5.4/rpm-5.4.14-0.20131024.src.rpm;e
 SRC_URI[md5sum] = "25093d399a0b5d1342d24900a91b347d"
 SRC_URI[sha256sum] = "676e3ab41f72e3b504e04109cfb565a300742f56a7da084f202013b30eeae467"
 
+UPSTREAM_CHECK_REGEX = "rpm-(?P<pver>(\d+[\.\-_]*)+)-.*$"
+
 inherit autotools gettext
 
 acpaths = "-I ${S}/db/dist/aclocal -I ${S}/db/dist/aclocal_java"
index d7b8c0655aa9f753543d1e19e67bd7ace521ac9b..f717d85f4f22a111b3d624cc569abdaf74eb6930 100644 (file)
@@ -17,6 +17,8 @@ SRC_URI = "http://www.bzip.org/${PV}/${BP}.tar.gz \
 SRC_URI[md5sum] = "00b516f4704d4a7cb50a1d97e6e8e15b"
 SRC_URI[sha256sum] = "a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd"
 
+UPSTREAM_CHECK_URI = "http://www.bzip.org/downloads.html"
+
 PACKAGES =+ "libbz2"
 
 CFLAGS_append = " -fPIC -fpic -Winline -fno-strength-reduce -D_FILE_OFFSET_BITS=64"
index 2c34da98ded6aa2181cfeb31c0b025ee6c64fb48..13234fc3a0f17069641323427ed47cf6526530a8 100644 (file)
@@ -12,6 +12,9 @@ SRC_URI = "http://www.cups.org/software/${PV}/${BP}-source.tar.bz2 \
            file://cups.service \
          "
 
+UPSTREAM_CHECK_URI = "http://www.cups.org/software.php"
+UPSTREAM_CHECK_REGEX = "cups-(?P<pver>\d+\.\d+(\.\d+)?)-source.tar"
+
 LEAD_SONAME = "libcupsdriver.so"
 
 CLEANBROKEN = "1"
index 790c98138bd14f56dff80c86fa9bc9fb6014129e..0cffedd660ad92c073cdf4c2f62dc48a7fc64070 100644 (file)
@@ -20,6 +20,8 @@ SRC_URI = "http://www.openprinting.org/download/foomatic/foomatic-filters-${PV}.
 SRC_URI[md5sum] = "b05f5dcbfe359f198eef3df5b283d896"
 SRC_URI[sha256sum] = "a2e2e53e502571e88eeb9010c45a0d54671f15707ee104f5c9c22b59ea7a33e3"
 
+UPSTREAM_CHECK_REGEX = "foomatic-filters-(?P<pver>((\d|\d\d)\.*)+)\.tar\.gz"
+
 inherit autotools pkgconfig
 
 EXTRA_OECONF += "--disable-file-converter-check --with-file-converter=texttops"
index e87a32a7dee0d5e9b09a409ddb41bee018fd6b06..49913d68bd665b854c53cdae569bb8dcfc721537 100644 (file)
@@ -24,6 +24,8 @@ SRC_URI = "http://www.skbuff.net/iputils/${BPN}-${PV}.tar.bz2 \
 SRC_URI[md5sum] = "6072aef64205720dd1893b375e184171"
 SRC_URI[sha256sum] = "450f549fc5b620c23c5929aa6d54b7ddfc7ee1cb1e8efdc5e8bb21d8d0c5319f"
 
+UPSTREAM_CHECK_REGEX = "iputils-(?P<pver>s\d+).tar"
+
 do_compile () {
        oe_runmake 'CC=${CC} -D_GNU_SOURCE' VPATH="${STAGING_LIBDIR}:${STAGING_DIR_HOST}/${base_libdir}" all man
 }
index 618954b0f0f7bfdc938c229bec98c1e0062face7..c1858f0265076294b24286207d8e81e5f3bbf6c3 100644 (file)
@@ -30,6 +30,8 @@ SRC_URI = "http://www.greenwoodsoftware.com/${BPN}/${BPN}-${PV}.tar.gz \
 SRC_URI[md5sum] = "049f51ccfe2686009c6ce943eeb4bbaf"
 SRC_URI[sha256sum] = "5bf06cb30ee2a2bd1f79f39aa91e46444e7cb19b48c95c4992fa63cfe4527a80"
 
+UPSTREAM_CHECK_URI = "http://www.greenwoodsoftware.com/less/download.html"
+
 inherit autotools update-alternatives
 
 do_install () {
index 0e9d07119c96c1bdb953ad0a89bc28e57cdc9ec5..5cce0ef876c7d528133828c324fa33cba0a87d4e 100644 (file)
@@ -9,6 +9,8 @@ SRC_URI = "ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_${PV}.tar.bz2"
 SRC_URI[md5sum] = "1b9cd34f3fb86856a125abbf2be3a386"
 SRC_URI[sha256sum] = "81ac2fc5fdc944793baf41a14002b6deb5a29096b387744e28f8c30a360a3718"
 
+UPSTREAM_CHECK_URI = "ftp://sunsite.ualberta.ca/pub/Mirror/lsof/"
+
 LOCALSRC = "file://${WORKDIR}/lsof_${PV}/lsof_${PV}_src.tar"
 S = "${WORKDIR}/lsof_${PV}_src"
 
index 1575cfbc7ea12f653983e32319aedc50386619d7..3118686e19deeba92bc728c9fa057fd967581415 100644 (file)
@@ -15,6 +15,8 @@ SRC_URI = "https://alioth.debian.org/frs/download.php/latestfile/3/${BP}.tar.gz
 SRC_URI[md5sum] = "7044ca3e291268c33294f171d426dc2d"
 SRC_URI[sha256sum] = "9ac3a663b82f4f5df64114b4792b9926b536c85f59de0f2d2b321c7626a904f4"
 
+UPSTREAM_CHECK_URI = "https://alioth.debian.org/frs/?group_id=30018"
+
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[lockdev] = "--enable-lockdev,--disable-lockdev,lockdev"
 
index 0330981af3374899ab9bdc809c9d057f946ec6e2..b3f2920554e2c02821eb5c62e66f23cffff5370c 100644 (file)
@@ -16,6 +16,8 @@ SRC_URI = "https://launchpad.net/${BPN}/1.1/${PV}/+download/${BP}.tar.gz"
 SRC_URI[md5sum] = "91a4911b13305850423840eb0fa6f4f9"
 SRC_URI[sha256sum] = "573bb358a5a7d3bf5f42f881af324cedf960c786e8d66dd03d448ddd8a0166ee"
 
+UPSTREAM_CHECK_URI = "http://compression.ca/pbzip2/"
+
 do_configure[noexec] = "1"
 
 EXTRA_OEMAKE = "CXX='${CXX} ${CXXFLAGS}' LDFLAGS='${LDFLAGS}'"
index 5c761fa69324fafb5edd092dd29d6c244b2ee47c..85be902a869c0f8189b4a035382ce84c73f86e32 100644 (file)
@@ -9,6 +9,8 @@ SRC_URI = "http://pagesperso-orange.fr/sebastien.godard/sysstat-${PV}.tar.xz \
            file://sysstat.service \
           "
 
+UPSTREAM_CHECK_URI = "http://sebastien.godard.pagesperso-orange.fr/download.html"
+
 DEPENDS += "base-passwd"
 
 inherit autotools-brokensep gettext systemd
index 677f0a6619382d8bef314ca42e81bbdb12bc3552..4f39594f75376914251f7eadbc5dc019b631d58e 100644 (file)
@@ -24,6 +24,8 @@ SRC_URI = "http://portland.freedesktop.org/download/${BPN}-${PV}.tar.gz \
 SRC_URI[md5sum] = "2d0aec6037769a5f138ff404b1bb4b15"
 SRC_URI[sha256sum] = "b0dd63a2576e0bb16f1aa78d6ddf7d6784784a098d4df17161cd6a17c7bc4125"
 
+UPSTREAM_CHECK_REGEX = "xdg-utils-(?P<pver>((\d+[\.\-_]*)+)((rc|alpha|beta)\d+)?)\.(tar\.gz|tgz)"
+
 inherit autotools-brokensep distro_features_check
 
 # The xprop requires x11 in DISTRO_FEATURES
index 17ea851c9f0388003c43e72de1ec818e3a3cc0c6..a47bfa54549585aeecb9c57bad55098bcaa47c3b 100644 (file)
@@ -7,6 +7,8 @@ SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.xz"
 SRC_URI[md5sum] = "90a929e8fe66fb5d19b5adaaea1e9a12"
 SRC_URI[sha256sum] = "f6ec9c7c844db9ec011f0d66b57ef590c45adf55393d1fc249003512522ee716"
 
+UPSTREAM_CHECK_REGEX = "cairo-(?P<pver>\d+(\.\d+)+)\.tar"
+
 PACKAGES =+ "cairo-gobject cairo-script-interpreter cairo-perf-utils"
 
 SUMMARY_${PN} = "The Cairo 2D vector graphics library"
index b50859ae18eaec62a06de3c521c83d75348f214f..8b9e050f9ed22dff86e2a38a57226a46d7434c2c 100644 (file)
@@ -26,6 +26,8 @@ SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
            file://pkgconfig.patch \
           "
 
+UPSTREAM_CHECK_REGEX = "SDL-(?P<pver>\d+(\.\d+)+)\.tar"
+
 S = "${WORKDIR}/SDL-${PV}"
 
 SRC_URI[md5sum] = "9d96df8417572a2afb781a7c4c811a85"
index 6d8c7dd7ebffb17a49d4ce36f1eb22f5b074c5c2..8e304a6efd276d7a0c968a53c26a600a4fbec722 100644 (file)
@@ -18,6 +18,7 @@ SRC_URI = "https://github.com/kergoth/tslib/releases/download/${PV}/tslib-${PV}.
 SRC_URI[md5sum] = "14771f8607b341bb4b297819d37e837d"
 SRC_URI[sha256sum] = "fe35e5f710ea933b118f710e2ce4403ac076fe69926b570333867d4de082a51c"
 
+UPSTREAM_CHECK_URI = "https://github.com/kergoth/tslib/releases"
 
 inherit autotools pkgconfig
 
index af8402053236478bca63eef25ed25930da77fac7..6e779485b7247e1dd4fd38dbe9c050772372a9ac 100644 (file)
@@ -9,6 +9,8 @@ SRC_URI = "http://waffle-gl.org/files/release/${BPN}-${PV}/${BPN}-${PV}.tar.xz \
 SRC_URI[md5sum] = "c0d802bc3d0aba87c51e423a3a8bdd69"
 SRC_URI[sha256sum] = "cbab0e926515064e818bf089a5af04be33307e5f40d07659fb40d59b2bfe20aa"
 
+UPSTREAM_CHECK_URI = "http://www.waffle-gl.org/releases.html"
+
 inherit cmake distro_features_check lib_package
 
 # This should be overridden per-machine to reflect the capabilities of the GL
index a166b5760327d83c95f5e16684ad9a593afb23d5..de22a81972454818bfdcc399a4dcfd5f5c643186 100644 (file)
@@ -12,6 +12,8 @@ SRC_URI = "http://xkbcommon.org/download/${BPN}-${PV}.tar.xz"
 SRC_URI[md5sum] = "2e1faeafcc609c30af3a561a91e84158"
 SRC_URI[sha256sum] = "90bd7824742b9a6f52a6cf80e2cadd6f5349cf600a358d08260772615b89d19c"
 
+UPSTREAM_CHECK_URI = "http://xkbcommon.org/"
+
 inherit autotools pkgconfig
 
 EXTRA_OECONF = "--disable-docs"
index 5ba07e9ab9a8bbb02f5a9dca867754b800c05975..e2d0ae53e2ebd24fd828624f17b526538ed585cc 100644 (file)
@@ -11,6 +11,8 @@ SRC_URI = "http://01.org/sites/default/files/downloads/powertop/powertop-${PV}.t
 SRC_URI[md5sum] = "e0d686e47daaf7e9d89031f7763432ef"
 SRC_URI[sha256sum] = "8d4b1490e2baad4467c0ded3c423db4472dcbf7b2dd8f8f2a928f54047c678ca"
 
+UPSTREAM_CHECK_URI = "https://01.org/powertop/downloads"
+
 inherit autotools gettext pkgconfig
 
 # we need to explicitly link with libintl in uClibc systems
index f06935c8ba0101e4a53ea9e8ca25a8b9573727c1..1c37681963034170b89c0e91df665032a705bc55 100644 (file)
@@ -11,6 +11,9 @@ SRC_URI = "http://www.mega-nerd.com/SRC/libsamplerate-${PV}.tar.gz"
 
 SRC_URI[md5sum] = "1c7fb25191b4e6e3628d198a66a84f47"
 SRC_URI[sha256sum] = "93b54bdf46d5e6d2354b7034395fe329c222a966790de34520702bb9642f1c06"
+
+UPSTREAM_CHECK_URI = "http://www.mega-nerd.com/SRC/download.html"
+
 S = "${WORKDIR}/libsamplerate-${PV}"
 
 inherit autotools pkgconfig
index 18cb168c527f74707ef4afd3e1c2c3c6ffea8986..664d8480a22c0a3442cc20c0d11600a0f8e1caa4 100644 (file)
@@ -15,6 +15,8 @@ SRC_URI = "http://downloads.xiph.org/releases/theora/libtheora-${PV}.tar.bz2 \
 SRC_URI[md5sum] = "292ab65cedd5021d6b7ddd117e07cd8e"
 SRC_URI[sha256sum] = "b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc"
 
+UPSTREAM_CHECK_REGEX = "libtheora-(?P<pver>\d+(\.\d)+)\.(tar\.gz|tgz)"
+
 inherit autotools pkgconfig
 
 EXTRA_OECONF = "--disable-examples"
index c4b80f6cf99c21926eab7448ff0efe93d73dabab..1285bc1cdbba0dc5388c1164a172ab186b0f9ac2 100644 (file)
@@ -17,6 +17,8 @@ SRC_URI = "http://downloads.webmproject.org/releases/webp/${BP}.tar.gz"
 SRC_URI[md5sum] = "08813525eeeffe7e305b4cbfade8ae9b"
 SRC_URI[sha256sum] = "efbe0d58fda936f2ed99d0b837ed7087d064d6838931f282c4618d2a3f7390c4"
 
+UPSTREAM_CHECK_URI = "http://downloads.webmproject.org/releases/webp/index.html"
+
 EXTRA_OECONF = " \
     --disable-experimental \
     --disable-wic \
index bcaa562dbe3f9aafb076d69f342cdbf6e2f4ee64..3c7a4f09d03f33467593e448254039862656e4d2 100644 (file)
@@ -11,6 +11,8 @@ SRC_URI = "http://qt-apps.org/CONTENT/content-files/80325-quicky-0.4.tar.gz"
 SRC_URI[md5sum] = "824d9e477ee9c4994f73a3cb215161d9"
 SRC_URI[sha256sum] = "9c66376e0035d44547612bf629890769a6178c3e7eafbcf95f1c6207ac0f352a"
 
+UPSTREAM_CHECK_URI = "http://qt-apps.org/content/download.php?content=80325&id=1&tan=10417482"
+
 inherit qt4x11
 
 do_install() {
index 58c263c4d3e48047cb8afdb897285881962ba329..df8a31c58db8b030f8c990e17be5d2244c98df37 100644 (file)
@@ -14,6 +14,8 @@ SRC_URI = " \
 SRC_URI[md5sum] = "c4c56f986aa985677ca1db89630a2e11"
 SRC_URI[sha256sum] = "71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3"
 
+UPSTREAM_CHECK_URI = "http://libevent.org/"
+
 S = "${WORKDIR}/${BPN}-${PV}-stable"
 
 PACKAGECONFIG ??= ""
index be6b635caff3f9b42f8198c2248731fd798682af..026e7f1b26e38a8bc45560059ac7de00714144c8 100644 (file)
@@ -10,4 +10,6 @@ SRC_URI = "https://github.com/${BPN}/${BPN}/archive/v${PV}.tar.gz"
 SRC_URI[md5sum] = "f4b8e33ae5efb2f025eb43ce69682a36"
 SRC_URI[sha256sum] = "0072e83834092315772e6719b85fc8b11530b1ff53f4d108315fb38cddbce8c2"
 
+UPSTREAM_CHECK_URI = "https://github.com/libical/libical/releases/"
+
 inherit autotools
index f3e5a18ea9d8c36347990531bad60a1008c49f98..4f1f5242fb1c9bad7dfb07c81d2fbf64ab753282 100644 (file)
@@ -8,6 +8,8 @@ SRC_URI = "http://www.multiprecision.org/mpc/download/mpc-${PV}.tar.gz"
 SRC_URI[md5sum] = "d6a1d5f8ddea3abd2cc3e98f58352d26"
 SRC_URI[sha256sum] = "617decc6ea09889fb08ede330917a00b16809b8db88c29c31bfbb49cbf88ecc3"
 
+UPSTREAM_CHECK_URI = "http://www.multiprecision.org/index.php?prog=mpc&page=download"
+
 S = "${WORKDIR}/mpc-${PV}"
 BBCLASSEXTEND = "native nativesdk"
 
index 87fabecda0bef46e1614c8faa8da28681a3153c9..bedc03e95dc90c0b3924fd57ddf1474934f97e3c 100644 (file)
@@ -15,6 +15,9 @@ SRC_URI = "ftp://xmlsoft.org/libxslt//libxslt-${PV}.tar.gz \
 
 SRC_URI[md5sum] = "9667bf6f9310b957254fdcf6596600b7"
 SRC_URI[sha256sum] = "5fc7151a57b89c03d7b825df5a0fae0a8d5f05674c0e7cf2937ecec4d54a028c"
+
+UPSTREAM_CHECK_REGEX = "libxslt-(?P<pver>\d+(\.\d+)+)\.tar"
+
 S = "${WORKDIR}/libxslt-${PV}"
 
 BINCONFIG = "${bindir}/xslt-config"
index af19b54516fbfba099ea681e5444b6b4026c3acd..ee8a23893781c3d1a0e97ca13e02a4c24cf27e8e 100644 (file)
@@ -12,6 +12,8 @@ SRC_URI = "http://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.xz \
 SRC_URI[md5sum] = "6969398cd2fbc56a6af570b5273c56a9"
 SRC_URI[sha256sum] = "6835a08bd992c8257641791e9a6a2b35b02336c8de26d0a8577953747e514a16"
 
+UPSTREAM_CHECK_URI = "http://www.mpfr.org/mpfr-current/"
+
 S = "${WORKDIR}/mpfr-${PV}"
 
 BBCLASSEXTEND = "native nativesdk"
index fafff6d8d926680d94717f530dc2b58caa3606b5..ba97ddba155e42ec4d8d1c3ff4d3d829c5b439c1 100644 (file)
@@ -16,6 +16,8 @@ SRC_URI = "http://www.lysator.liu.se/~nisse/archive/${BP}.tar.gz \
 SRC_URI[md5sum] = "003d5147911317931dd453520eb234a5"
 SRC_URI[sha256sum] = "bc71ebd43435537d767799e414fce88e521b7278d48c860651216e1fc6555b40"
 
+UPSTREAM_CHECK_REGEX = "nettle-(?P<pver>\d+(\.\d+)+)\.tar"
+
 EXTRA_OECONF = "--disable-openssl"
 
 inherit autotools ptest
index 23a4a1f8de056065195ca808976b7af276e91143..65f32044c934611c6b98016cd8a458fad8657df2 100644 (file)
@@ -27,6 +27,9 @@ SRC_URI = "\
 SRC_URI[md5sum] = "b02ffd1e8e8ef5f8512fa02d8ca9db3d"
 SRC_URI[sha256sum] = "1306663e8f61d8449ad8cbcffab743a604dcd9f6f34232c210847c51dce2c9ae"
 
+UPSTREAM_CHECK_URI = "https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Releases"
+UPSTREAM_CHECK_REGEX = "NSS_(?P<pver>.+)_release_notes"
+
 inherit siteinfo
 
 DEPENDS = "sqlite3 nspr zlib nss-native"
index 83685e0fa31b4a1507cf010374d3544475d64cc5..18b1a2b57dee4597598fe1cce275976b58c7f7a2 100644 (file)
@@ -15,6 +15,9 @@ SRC_URI = "http://www.sqlite.org/2015/sqlite-autoconf-${SQLITE_PV}.tar.gz"
 SRC_URI[md5sum] = "bc4eb5b3fc5cfcb6e059794306cac1ca"
 SRC_URI[sha256sum] = "064c0abe9c9177534d4c770bca7a5902f9924b629ac886b4c08956be6dfbc36b"
 
+UPSTREAM_CHECK_URI = "http://www.sqlite.org/"
+UPSTREAM_CHECK_REGEX = "releaselog/(?P<pver>(\d+[\.\-_]*)+)\.html"
+
 S = "${WORKDIR}/sqlite-autoconf-${SQLITE_PV}"
 
 # Provide column meta-data API
index 1f278144e35e6d6f436a37c568755a72f9a38603..d125308ccdbee00b46ab11507dabff6f819a3050 100644 (file)
@@ -12,6 +12,8 @@ SRC_URI = "http://taglib.github.io/releases/${BP}.tar.gz"
 SRC_URI[md5sum] = "0d35df96822bbd564c5504cb3c2e4d86"
 SRC_URI[sha256sum] = "72d371cd1419a87ae200447a53bff2be219283071e80fd12337928cc967dc71a"
 
+UPSTREAM_CHECK_URI = "http://github.com/taglib/taglib/releases/"
+
 BINCONFIG = "${bindir}/taglib-config"
 
 inherit cmake pkgconfig binconfig-disabled