Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/upx-bin/
Date: Mon, 28 Nov 2022 07:11:13
Message-Id: 1669619457.b90559cfec2e4797c9f98ab761ffcefb836f4053.juippis@gentoo
1 commit: b90559cfec2e4797c9f98ab761ffcefb836f4053
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Tue Nov 22 07:26:03 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 28 07:10:57 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b90559cf
7
8 app-arch/upx-bin: add 4.0.1
9
10 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/28381
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 app-arch/upx-bin/Manifest | 7 +++++++
15 app-arch/upx-bin/upx-bin-4.0.1.ebuild | 39 +++++++++++++++++++++++++++++++++++
16 2 files changed, 46 insertions(+)
17
18 diff --git a/app-arch/upx-bin/Manifest b/app-arch/upx-bin/Manifest
19 index b341cdc6921d..87ef58e1a60b 100644
20 --- a/app-arch/upx-bin/Manifest
21 +++ b/app-arch/upx-bin/Manifest
22 @@ -5,3 +5,10 @@ DIST upx-4.0.0-i386_linux.tar.xz 540496 BLAKE2B 2e284c59f5330ce64d1bf99e2dae65db
23 DIST upx-4.0.0-mipsel_linux.tar.xz 552492 BLAKE2B eeb3bf051d5770cd4cc3a776ff3bd824408fec284adb30aacd592d7b1705778cedad37ced0f7b4a9568f234209c69d3e73f8553d8ec638e6e064775332f88df5 SHA512 c29dd06e64a7c79a0e157e4eb135dd9540b40e58611c0b77c3cfab9c1ebac174c2dae512a3f2427b6f4a5c8f94d52e0574845056331067fe3954c616e8115427
24 DIST upx-4.0.0-powerpc64le_linux.tar.xz 560504 BLAKE2B c34d3259af01990f934b643dd59fef89dcb7d7471aa5012b231e584c80eb7b763b331c9433813ea573e9b638077ab701d1cf02e387418e601eba08de5efe7497 SHA512 46319b4737e6d8f6dd4f6b72ddcfe3a2e6755b87a58ec789017a598f3ddc44706770f5fe3e820de6df8348fc6ad42baced240aad77275c867f55d6d4e13b7ab0
25 DIST upx-4.0.0-powerpc_linux.tar.xz 552572 BLAKE2B 2569b29618d828c8a7ff08cb2e302c6201b8422f0ba8eaa78b483c770839795121d12165dd8448812524f63dce115a9d0cfbe07ffde4465ddde7aad0bace136d SHA512 6b9135d482704a81e14d99b223c7f623f79933f09901f94c31a605da3ae0118af513785c9efec6c66d1395d27ce56fe2e25b2830b34652264c8298bae975b882
26 +DIST upx-4.0.1-amd64_linux.tar.xz 560000 BLAKE2B 10d1e3b0aa53a4b86974bb0e8fa8a5adbb6112a0c2134748e62a6890c8c02446311ab0b33e61dc98dd5905d70bbff1265169027e81149d527b547eaa822b482f SHA512 907e178c19673fc5e9a26733b03d5e5b442c2cae01e03abbe44f170671efb601a337cfdaba17f2e56217a3bebea6a29318d80f81e9853000d4012a742795e533
27 +DIST upx-4.0.1-arm64_linux.tar.xz 570728 BLAKE2B c23db0fcf6ca79a464151518befe4ddccc347b7364e679f3d87f5dfea3c7b10bc33559125e664fc08508335eddbc263cc7ff2383274b9f15c29b03ecfcdeb33b SHA512 6e1bebd7e561409c2f37cdcbfb2a7a6f923b11acce21df5f21abfa2db172932129ebf06311ab167b8e05886d4b457c9ade6d6e8181c1c90a7ef843fbdae6b089
28 +DIST upx-4.0.1-armeb_linux.tar.xz 571196 BLAKE2B 0719eaccdb3e940d95d8104bd27fa9d9fddb8212200d6598d78a10070f0f21b7371a1e64b6c9d50f823631120505a181f66f73e4352430f1dec876072ad1a12c SHA512 5fa40d3fc06092a4c301c3ef347c242b8ebdee2bdcd3621755e50d4cdbcf826627b5da2aedcface2d4591a9770184a7186b16b9872cdf114b1cbab5c5cf47f71
29 +DIST upx-4.0.1-i386_linux.tar.xz 595536 BLAKE2B e68211c6db05fddb5fadb4c628d7ce0c29dc9f80c1770ce9ddf90a7a6e780e5d1cf3426a5fe76765b81aeb8bc9df7a468a0d8bd4918c7cd15da4747dc248080b SHA512 c700a7138fbcbb1c510c56f49a43c17604ef2aa192c0c8336d59bf9a5454635131b48c004a070833198cd0df23c2600d46f9293b990a43576762e0eb3334203f
30 +DIST upx-4.0.1-mipsel_linux.tar.xz 650372 BLAKE2B e5294055953ff599ae1f5ce0cc39dbd42fb0a53bdd6a8b833e97bb2717225dbd0c6c449274a3d4fb400ac86caf6e118617784bbe722843adf1767c866fef58a7 SHA512 266292e6027852d017b0e2725db4216230b362f7e2070008dde020b2d83c980ba7b50219f3d3a9914ef8f185799abb14cdfc55620bf532a1678bd3c1c5ccb025
31 +DIST upx-4.0.1-powerpc64le_linux.tar.xz 651596 BLAKE2B 4c9ebdc3c4873cbb2cd9483ba406f2600e9c54e54bb29c928b9f5ca0726f1ecc49c5f62be1d29ce8f2a750f269d32ee3a5165c60aaa4de923f4f8571a0f08829 SHA512 9d9618341f55af77ce02dfb7587b6a90c8657fedff6be0f39c7c1ae83134aeeddccf1713a13835c44d9f9f6d9021294b8bce7fc527f3e76825c96a4cbbb55843
32 +DIST upx-4.0.1-powerpc_linux.tar.xz 649004 BLAKE2B 0dc543960946fc4293ae985ea04a60dea5052c661ed2f9b5aa18764bf3072a502cff7e183233abda24b713a38cc70d6e7495dbf9a980405eb3e7c3dbff765667 SHA512 7f40898b6ab03de038c37b524db93639a8cb3b502a15bff28f61d50f9fc3eef1e89e3226d2c15fc0a52db4efd7c4b384303932e43f57d75f9d18a09057ed4292
33
34 diff --git a/app-arch/upx-bin/upx-bin-4.0.1.ebuild b/app-arch/upx-bin/upx-bin-4.0.1.ebuild
35 new file mode 100644
36 index 000000000000..a6902194c16d
37 --- /dev/null
38 +++ b/app-arch/upx-bin/upx-bin-4.0.1.ebuild
39 @@ -0,0 +1,39 @@
40 +# Copyright 1999-2022 Gentoo Authors
41 +# Distributed under the terms of the GNU General Public License v2
42 +
43 +EAPI=8
44 +
45 +inherit pax-utils
46 +
47 +MY_P="${PN/-bin}-${PV}"
48 +
49 +DESCRIPTION="Ultimate Packer for eXecutables, binary version with proprietary NRV compression"
50 +HOMEPAGE="https://upx.github.io/"
51 +SRC_URI="x86? ( https://github.com/upx/upx/releases/download/v${PV}/${MY_P}-i386_linux.tar.xz )
52 + amd64? ( https://github.com/upx/upx/releases/download/v${PV}/${MY_P}-amd64_linux.tar.xz )
53 + arm64? ( https://github.com/upx/upx/releases/download/v${PV}/${MY_P}-arm64_linux.tar.xz )
54 + arm? ( https://github.com/upx/upx/releases/download/v${PV}/${MY_P}-armeb_linux.tar.xz )
55 + mips? ( https://github.com/upx/upx/releases/download/v${PV}/${MY_P}-mipsel_linux.tar.xz )
56 + ppc? ( https://github.com/upx/upx/releases/download/v${PV}/${MY_P}-powerpc_linux.tar.xz )
57 + ppc64? ( https://github.com/upx/upx/releases/download/v${PV}/${MY_P}-powerpc64le_linux.tar.xz )"
58 +
59 +LICENSE="GPL-2+ UPX-exception"
60 +SLOT="0"
61 +KEYWORDS="-* ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86"
62 +RESTRICT="strip"
63 +
64 +RDEPEND="!app-arch/upx"
65 +BDEPEND="app-arch/xz-utils[extra-filters]"
66 +
67 +S="${WORKDIR}"
68 +
69 +QA_PREBUILT="/opt/bin/upx"
70 +
71 +src_install() {
72 + cd ${MY_P}* || die
73 + into /opt
74 + dobin upx
75 + pax-mark -m "${ED}"/opt/bin/upx
76 + doman upx.1
77 + dodoc NEWS README THANKS upx-doc.html upx-doc.txt
78 +}