mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-15 04:17:29 +00:00
A full check-upgrade-status sweep of meta-oe found 121 recipes reporting UNKNOWN_BROKEN: their upstream version check resolved no version. This adds the correct check metadata to each so the version check works again. Fixes, by mechanism: - wget/tarball recipes: add UPSTREAM_CHECK_URI + UPSTREAM_CHECK_REGEX pointing at the real release listing (SourceForge files pages, GitHub releases pages, GNU/ftp mirrors, distro pools). - git recipes with release tags in a non-default format: add UPSTREAM_CHECK_GITTAGREGEX matching the actual tag scheme. - git repos with no tags at all: UPSTREAM_CHECK_COMMITS = "1". - recipes whose upstream has no checkable release channel, or whose PV format cannot be compared against upstream tags (CPAN zero-padded versions, AUTOINC "git" PVs, dash-separated tags the checker cannot convert): UPSTREAM_VERSION_UNKNOWN = "1" with an explanatory comment. Also override GITHUB_BASE_URI for libppd's sibling libcupsfilters where the github-releases class default pointed at a non-existent org (404). Only version-check metadata is touched; no SRC_URI, SRCREV, PV, or checksum is changed, so nothing that gets built is affected. Each fix was verified with devtool check-upgrade-status: 120 of 121 now resolve (MATCH, UPDATE, COMMITS, or an honestly-declared UNKNOWN). The remaining recipe (libubox) already has correct metadata and only fails locally because the git:// port to git.openwrt.org is firewalled on the build host. Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
28 lines
961 B
BlitzBasic
28 lines
961 B
BlitzBasic
LICENSE = "GPL-3.0-or-later"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=87212b5f1ae096371049a12f80034f32"
|
|
|
|
SRC_URI = "https://github.com/rrthomas/psutils/releases/download/v${PV}/psutils-${PV}.tar.gz"
|
|
SRC_URI[sha256sum] = "6f8339fd5322df5c782bfb355d9f89e513353220fca0700a5a28775404d7e98b"
|
|
|
|
UPSTREAM_CHECK_URI = "https://github.com/rrthomas/psutils/releases"
|
|
UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"
|
|
|
|
inherit perlnative autotools
|
|
|
|
export PERL = "/usr/bin/env perl"
|
|
|
|
DEPENDS += "libpaper-native"
|
|
|
|
do_install:append() {
|
|
sed -i -e 's|${STAGING_BINDIR_NATIVE}/perl-native/|/usr/bin/env |g' ${D}${bindir}/pstops
|
|
for f in psbook psresize psnup psselect; do
|
|
grep -v '${B}' ${D}${bindir}/$f > ${D}${bindir}/$f.temp
|
|
install -m 0755 ${D}${bindir}/$f.temp ${D}${bindir}/$f
|
|
rm -f ${D}${bindir}/$f.temp
|
|
done
|
|
}
|
|
|
|
BBCLASSEXTEND += "native"
|
|
# /usr/bin/pstops contained in package psutils requires perl
|
|
RDEPENDS:${PN} += "perl"
|