diff options
Diffstat (limited to 'recipes-extended/upx/upx_git.bb')
-rw-r--r-- | recipes-extended/upx/upx_git.bb | 35 |
1 files changed, 8 insertions, 27 deletions
diff --git a/recipes-extended/upx/upx_git.bb b/recipes-extended/upx/upx_git.bb index 12d12d60..02e70ffe 100644 --- a/recipes-extended/upx/upx_git.bb +++ b/recipes-extended/upx/upx_git.bb @@ -1,35 +1,16 @@ -HOMEPAGE = "http://upx.sourceforge.net" SUMMARY = "Ultimate executable compressor." - -SRCREV = "4e1ae22a1a07be5135c68b25ff05058ae8ae48e1" -SRC_URI = "gitsm://github.com/upx/upx;branch=devel;protocol=https \ - file://0001-MyCom.h-fix-build-with-gcc-11.patch;patchdir=src/lzma-sdk \ -" - -LICENSE = "GPLv2" +HOMEPAGE = "https://upx.github.io/" +LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=353753597aa110e0ded3508408c6374a" +SRCREV_upx = "099c3d829e80488af7395a4242b318877e980da4" +PV = "4.2.2+git${SRCPV}" -DEPENDS = "zlib libucl xz" +# Note: DO NOT use released tarball in favor of the git repository with submodules. +# it makes maintenance easier for CVEs or other issues. +SRC_URI = "gitsm://github.com/upx/upx;protocol=https;;name=upx;branch=devel" S = "${WORKDIR}/git" -PV = "3.96+${SRCPV}" - -EXTRA_OEMAKE += " \ - UPX_UCLDIR=${STAGING_DIR_TARGET} \ - UPX_LZMADIR=${STAGING_DIR_TARGET} \ -" - -# FIXME: The build fails if security flags are enabled -SECURITY_CFLAGS = "" - -do_compile() { - oe_runmake -C src all -} - -do_install:append() { - install -d ${D}${bindir} - install -m 755 ${B}/src/upx.out ${D}${bindir}/upx -} +inherit pkgconfig cmake BBCLASSEXTEND = "native" |