mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-23 20:58:33 +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>
31 lines
1011 B
BlitzBasic
31 lines
1011 B
BlitzBasic
DESCRIPTION = "A library of C++ classes for flexible logging to files, syslog, IDSA and other destinations."
|
|
HOMEPAGE = "http://sourceforge.net/projects/log4cpp/"
|
|
LICENSE = "LGPL-2.1-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
|
|
|
|
SRC_URI = "http://downloads.sourceforge.net/${BPN}/${BP}.tar.gz \
|
|
file://fix-pc.patch;striplevel=2 \
|
|
"
|
|
SRC_URI[sha256sum] = "a036bc6bd6044479e6c456de7edd042b060ea5c843e47beb75f59baea9b20e3a"
|
|
UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/log4cpp/files/log4cpp-1.1.x%20%28new%29/log4cpp-1.1/"
|
|
UPSTREAM_CHECK_REGEX = "log4cpp-(?P<pver>\d+(\.\d+)+)\.tar"
|
|
|
|
S = "${UNPACKDIR}/${BPN}"
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
EXTRA_AUTORECONF += "-I m4"
|
|
|
|
EXTRA_OECONF = "\
|
|
--enable-doxygen=no \
|
|
--enable-dot=no \
|
|
--enable-html-docs=no \
|
|
--enable-latex-docs=no \
|
|
"
|
|
|
|
CXXFLAGS += "-std=c++14"
|
|
|
|
do_install:append() {
|
|
sed -i -e 's|${DEBUG_PREFIX_MAP}||g; s|--sysroot=${STAGING_DIR_TARGET}||g' ${D}${bindir}/log4cpp-config
|
|
}
|