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: Thu, 08 Aug 2019 18:21:41
Message-Id: 1565288475.70ab4e4e37a23720a608fbeed7ca2e3f416fe36c.juippis@gentoo
1 commit: 70ab4e4e37a23720a608fbeed7ca2e3f416fe36c
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Thu May 23 02:55:39 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 8 18:21:15 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70ab4e4e
7
8 app-arch/upx: updated to 3.95
9
10 Updated to recent version 3.95 (#645646), removed -Werror option (#618432).
11 Major cleanups to ebuild:
12
13 * Updated to EAPI 7
14 * Updated HOMEPAGE, removed redundant USEs
15 * Added myself to maintainers
16
17 Closes: https://bugs.gentoo.org/618432
18 Closes: https://bugs.gentoo.org/645646
19 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
20 Package-Manager: Portage-2.3.62, Repoman-2.3.11
21 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
22
23 app-arch/upx/Manifest | 1 +
24 app-arch/upx/metadata.xml | 9 ++++++---
25 app-arch/upx/upx-3.95.ebuild | 34 ++++++++++++++++++++++++++++++++++
26 3 files changed, 41 insertions(+), 3 deletions(-)
27
28 diff --git a/app-arch/upx/Manifest b/app-arch/upx/Manifest
29 index c31e4a5d396..d6869e48f9b 100644
30 --- a/app-arch/upx/Manifest
31 +++ b/app-arch/upx/Manifest
32 @@ -1,2 +1,3 @@
33 DIST lzma465.tar.bz2 288122 BLAKE2B 93fa080e6539bef79d8d0baff781b9e41329f649724991f608cfa9ee651e79b20cf38d27efa96fe848e61111ff355f58dfde81f0743e1d5f0d701d72e512c70d SHA512 690f005cfa9d3a65db03baddad57cf8dd79f861ac72d2e1bc18a151f3673d5f8043e3331f5dc3fba713dfd7b01ebf0817a2c0b6a1b22e1f7d8255a42b85ea4ac
34 DIST upx-3.91-src.tar.bz2 904747 BLAKE2B e9888368e5ddb62dc3cf14bd39a6101c31621c9a1ce2529957cb5c96bd70845db01a2e2f73a5b64dd7b33c9e18679f8e134fffdea41bc5b3663ff350c6de3a6c SHA512 7e9a392fe11daf7baf9632f2c448ef9936da7dfab215f86ba417e9f097770949acb653aaabe6cc5ed812efc486cb35e0c1e128c80026b02825713d8b12251cf5
35 +DIST upx-3.95-src.tar.xz 790776 BLAKE2B e7e5e24ba3675ab9f9f3daa36d6d3f00b6af614c2ca64c4d185a065afcdc02373ccf0200f7116ebbfaa1f9b961078f40296b1c716eca80aba86e95d6a9463b99 SHA512 0e1d3e26462057f16587197e73301957e870107808fdbcd24d9976094dfa0e5efbe8da0f9b6732a99f05990dcd4be242a87ea19a7110dc052c6dc982cd596416
36
37 diff --git a/app-arch/upx/metadata.xml b/app-arch/upx/metadata.xml
38 index a9b5374e66f..f0670e9f697 100644
39 --- a/app-arch/upx/metadata.xml
40 +++ b/app-arch/upx/metadata.xml
41 @@ -1,9 +1,12 @@
42 <?xml version="1.0" encoding="UTF-8"?>
43 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
44 <pkgmetadata>
45 - <!-- maintainer-needed -->
46 - <longdescription>UPX is a versatile executable packer with a excellent compression ratio</longdescription>
47 + <maintainer type="person">
48 + <email>azamat.hackimov@×××××.com</email>
49 + <name>Azamat H. Hackimov</name>
50 + </maintainer>
51 <upstream>
52 - <remote-id type="sourceforge">sevenzip</remote-id>
53 + <remote-id type="github">upx/upx</remote-id>
54 </upstream>
55 + <longdescription>UPX is a versatile executable packer with a excellent compression ratio</longdescription>
56 </pkgmetadata>
57
58 diff --git a/app-arch/upx/upx-3.95.ebuild b/app-arch/upx/upx-3.95.ebuild
59 new file mode 100644
60 index 00000000000..f0ea16873ab
61 --- /dev/null
62 +++ b/app-arch/upx/upx-3.95.ebuild
63 @@ -0,0 +1,34 @@
64 +# Copyright 1999-2019 Gentoo Authors
65 +# Distributed under the terms of the GNU General Public License v2
66 +
67 +EAPI=7
68 +
69 +inherit toolchain-funcs
70 +
71 +DESCRIPTION="Ultimate Packer for eXecutables (free version using UCL compression and not NRV)"
72 +HOMEPAGE="http://upx.github.io/"
73 +SRC_URI="https://github.com/upx/upx/releases/download/v${PV}/${P}-src.tar.xz"
74 +
75 +LICENSE="GPL-2+ UPX-exception" # Read the exception before applying any patches
76 +SLOT="0"
77 +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
78 +IUSE=""
79 +
80 +RDEPEND=">=dev-libs/ucl-1.03
81 + sys-libs/zlib
82 + !app-arch/upx-bin"
83 +DEPEND="${RDEPEND}
84 + dev-lang/perl"
85 +
86 +S="${WORKDIR}/${P}-src"
87 +
88 +src_compile() {
89 + tc-export CXX
90 + emake CXXFLAGS_WERROR="" all
91 +}
92 +
93 +src_install() {
94 + newbin src/upx.out upx
95 + dodoc BUGS NEWS PROJECTS README* THANKS doc/*.txt doc/upx.html
96 + doman doc/upx.1
97 +}