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/
Date: Tue, 25 Feb 2020 06:05:11
Message-Id: 1582610688.72b4da71f8754510153532a6bf3681f65fd6505f.juippis@gentoo
1 commit: 72b4da71f8754510153532a6bf3681f65fd6505f
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Sat Feb 15 07:19:43 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 25 06:04:48 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72b4da71
7
8 app-arch/upx: update to 3.96
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 app-arch/upx/Manifest | 1 +
15 app-arch/upx/upx-3.96.ebuild | 34 ++++++++++++++++++++++++++++++++++
16 2 files changed, 35 insertions(+)
17
18 diff --git a/app-arch/upx/Manifest b/app-arch/upx/Manifest
19 index b1b537bdcd1..3aa001eabb8 100644
20 --- a/app-arch/upx/Manifest
21 +++ b/app-arch/upx/Manifest
22 @@ -1 +1,2 @@
23 DIST upx-3.95-src.tar.xz 790776 BLAKE2B e7e5e24ba3675ab9f9f3daa36d6d3f00b6af614c2ca64c4d185a065afcdc02373ccf0200f7116ebbfaa1f9b961078f40296b1c716eca80aba86e95d6a9463b99 SHA512 0e1d3e26462057f16587197e73301957e870107808fdbcd24d9976094dfa0e5efbe8da0f9b6732a99f05990dcd4be242a87ea19a7110dc052c6dc982cd596416
24 +DIST upx-3.96-src.tar.xz 792524 BLAKE2B 21af85dbcfdd1bf0151a653c865db13c9f30b9de0b9b4b94557ddd55736c7053dd829c5d72b9a7e5aa94a71ecc0151145dd66d7d98ded178c50ff7357d0ba442 SHA512 2d4d1be21d274d9bfdee9b9815396f5e5ff0bcdfb781b7be5fafa4d1e224028e412ec5f5ba607c482671aae27ccf9069abb2db0fb58f78f3a102a51897df2b11
25
26 diff --git a/app-arch/upx/upx-3.96.ebuild b/app-arch/upx/upx-3.96.ebuild
27 new file mode 100644
28 index 00000000000..73fe7d2befe
29 --- /dev/null
30 +++ b/app-arch/upx/upx-3.96.ebuild
31 @@ -0,0 +1,34 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit toolchain-funcs
38 +
39 +DESCRIPTION="Ultimate Packer for eXecutables (free version using UCL compression and not NRV)"
40 +HOMEPAGE="http://upx.github.io/"
41 +SRC_URI="https://github.com/upx/upx/releases/download/v${PV}/${P}-src.tar.xz"
42 +
43 +LICENSE="GPL-2+ UPX-exception" # Read the exception before applying any patches
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
46 +IUSE=""
47 +
48 +RDEPEND=">=dev-libs/ucl-1.03
49 + sys-libs/zlib
50 + !app-arch/upx-bin"
51 +DEPEND="${RDEPEND}
52 + dev-lang/perl"
53 +
54 +S="${WORKDIR}/${P}-src"
55 +
56 +src_compile() {
57 + tc-export CXX
58 + emake CXXFLAGS_WERROR="" all
59 +}
60 +
61 +src_install() {
62 + newbin src/upx.out upx
63 + dodoc BUGS NEWS PROJECTS README* THANKS doc/*.txt doc/upx.html
64 + doman doc/upx.1
65 +}