1 |
commit: 59698abcabd93bfcc95244f65009b4345182c1c7 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 7 19:34:19 2022 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 7 19:34:57 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=59698abc |
7 |
|
8 |
app-arch/bzip2-1.0.8-r3: revision bump |
9 |
|
10 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
11 |
|
12 |
app-arch/bzip2/Manifest | 2 +- |
13 |
...zip2-1.0.6-r10.ebuild => bzip2-1.0.8-r3.ebuild} | 39 +++++++++++----------- |
14 |
2 files changed, 20 insertions(+), 21 deletions(-) |
15 |
|
16 |
diff --git a/app-arch/bzip2/Manifest b/app-arch/bzip2/Manifest |
17 |
index 03ffea8912..099151807c 100644 |
18 |
--- a/app-arch/bzip2/Manifest |
19 |
+++ b/app-arch/bzip2/Manifest |
20 |
@@ -1,2 +1,2 @@ |
21 |
-DIST bzip2-1.0.6.tar.gz 782025 BLAKE2B b31533af7c71d715e6600874bb0a11b9b3aebbb08af0414a6d88bd5a2ad879a482ad408338159cb6c241815da8f48798d2ea7789ea971431d0be42ee827b0a7e SHA512 00ace5438cfa0c577e5f578d8a808613187eff5217c35164ffe044fbafdfec9e98f4192c02a7d67e01e5a5ccced630583ad1003c37697219b0f147343a3fdd12 |
22 |
DIST bzip2-1.0.8.tar.gz 810029 BLAKE2B 22ab3acd84f4db8c3d6f59340c252faedfd4447cea00dafbd652e65b6cf8a20adf6835c22e58563004cfafdb15348c924996230b4b23cae42da5e25eeac4bdad SHA512 083f5e675d73f3233c7930ebe20425a533feedeaaa9d8cc86831312a6581cefbe6ed0d08d2fa89be81082f2a5abdabca8b3c080bf97218a1bd59dc118a30b9f3 |
23 |
+DIST bzip2-1.0.8.tar.gz.sig 310 BLAKE2B 0d702dcb19f7738da9f05ee9d719f5cd3653540365e78db143404e599ea54bc6f9d5e6a38cdf5cdd3c6550243d34266343467c6b1db9d5d3c134f9353b00f395 SHA512 4a4a3fa0ec1c10a704b9870e8e629fd007cca55184423c6bfc3049a702fb41e4aeb73bfe9ca7442c27d32d278f1f34f27523a6be67d35b37896acdded12bf40d |
24 |
|
25 |
diff --git a/app-arch/bzip2/bzip2-1.0.6-r10.ebuild b/app-arch/bzip2/bzip2-1.0.8-r3.ebuild |
26 |
similarity index 78% |
27 |
rename from app-arch/bzip2/bzip2-1.0.6-r10.ebuild |
28 |
rename to app-arch/bzip2/bzip2-1.0.8-r3.ebuild |
29 |
index 990d3c1c6e..1c2b65d3b8 100644 |
30 |
--- a/app-arch/bzip2/bzip2-1.0.6-r10.ebuild |
31 |
+++ b/app-arch/bzip2/bzip2-1.0.8-r3.ebuild |
32 |
@@ -1,33 +1,36 @@ |
33 |
-# Copyright 1999-2021 Gentoo Authors |
34 |
+# Copyright 1999-2022 Gentoo Authors |
35 |
# Distributed under the terms of the GNU General Public License v2 |
36 |
|
37 |
# XXX: atm, libbz2.a is always PIC :(, so it is always built quickly |
38 |
# (since we're building shared libs) ... |
39 |
|
40 |
-EAPI=6 |
41 |
+EAPI=7 |
42 |
|
43 |
-inherit toolchain-funcs multilib-minimal prefix |
44 |
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/bzip2.gpg |
45 |
+inherit toolchain-funcs multilib-minimal usr-ldscript verify-sig prefix |
46 |
|
47 |
DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux" |
48 |
HOMEPAGE="https://sourceware.org/bzip2/" |
49 |
-SRC_URI="mirror://gentoo/${P}.tar.gz" |
50 |
+SRC_URI="https://sourceware.org/pub/${PN}/${P}.tar.gz" |
51 |
+SRC_URI+=" verify-sig? ( https://sourceware.org/pub/${PN}/${P}.tar.gz.sig )" |
52 |
|
53 |
LICENSE="BZIP2" |
54 |
SLOT="0/1" # subslot = SONAME |
55 |
KEYWORDS="~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
56 |
IUSE="static static-libs" |
57 |
|
58 |
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-bzip2 )" |
59 |
+RDEPEND="!app-arch/lbzip2[symlink(-)] |
60 |
+ !app-arch/pbzip2[symlink(-)]" |
61 |
+ |
62 |
PATCHES=( |
63 |
"${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch |
64 |
- "${FILESDIR}"/${PN}-1.0.6-saneso.patch |
65 |
+ "${FILESDIR}"/${PN}-1.0.8-saneso.patch |
66 |
"${FILESDIR}"/${PN}-1.0.4-man-links.patch #172986 |
67 |
"${FILESDIR}"/${PN}-1.0.6-progress.patch |
68 |
"${FILESDIR}"/${PN}-1.0.3-no-test.patch |
69 |
- "${FILESDIR}"/${PN}-1.0.4-POSIX-shell.patch #193365 |
70 |
- "${FILESDIR}"/${PN}-1.0.6-mingw.patch #393573 |
71 |
- "${FILESDIR}"/${PN}-1.0.6-out-of-tree-build.patch |
72 |
- "${FILESDIR}"/${PN}-1.0.6-CVE-2016-3189.patch #620466 |
73 |
- "${FILESDIR}"/${PN}-1.0.6-ubsan-error.patch |
74 |
+ "${FILESDIR}"/${PN}-1.0.8-mingw.patch #393573 |
75 |
+ "${FILESDIR}"/${PN}-1.0.8-out-of-tree-build.patch |
76 |
) |
77 |
|
78 |
DOCS=( CHANGES README{,.COMPILATION.PROBLEMS,.XML.STUFF} manual.pdf ) |
79 |
@@ -48,13 +51,6 @@ src_prepare() { |
80 |
hprefixify -w "/^PATH=/" bz{diff,grep,more} |
81 |
# this a makefile for Darwin, which already "includes" saneso |
82 |
cp "${FILESDIR}"/${P}-Makefile-libbz2_dylib Makefile-libbz2_dylib || die |
83 |
- |
84 |
- if [[ ${CHOST} == *-cygwin* ]] ; then |
85 |
- sed -i -e "s/-o libbz2\.so\.${PV}/-Wl,--out-implib=libbz2$(get_libname ${PV})/" \ |
86 |
- -e "s/-Wl,-soname -Wl,libbz2\.so\.1/-o cygbz2-${PV%%.*}.dll/" \ |
87 |
- -e "s/libbz2\.so/libbz2$(get_libname)/g" \ |
88 |
- Makefile-libbz2_so |
89 |
- fi |
90 |
} |
91 |
|
92 |
bemake() { |
93 |
@@ -67,7 +63,6 @@ bemake() { |
94 |
} |
95 |
|
96 |
multilib_src_compile() { |
97 |
- local checkopts= |
98 |
case "${CHOST}" in |
99 |
*-darwin*) |
100 |
bemake PREFIX="${EPREFIX}"/usr -f "${S}"/Makefile-libbz2_dylib all |
101 |
@@ -77,10 +72,15 @@ multilib_src_compile() { |
102 |
;; |
103 |
esac |
104 |
# Make sure we link against the shared lib #504648 |
105 |
- ln -sf libbz2$(get_libname ${PV}) libbz2$(get_libname) |
106 |
+ ln -sf libbz2$(get_libname ${PV}) libbz2$(get_libname) || die |
107 |
bemake -f "${S}"/Makefile all LDFLAGS="${LDFLAGS} $(usex static -static '')" |
108 |
} |
109 |
|
110 |
+multilib_src_test() { |
111 |
+ cp "${S}"/sample* "${BUILD_DIR}" || die |
112 |
+ bemake -f "${S}"/Makefile check |
113 |
+} |
114 |
+ |
115 |
multilib_src_install() { |
116 |
into /usr |
117 |
|
118 |
@@ -89,7 +89,6 @@ multilib_src_install() { |
119 |
# .x.x - SONAME some distros use #338321 |
120 |
# .x - SONAME Gentoo uses |
121 |
dolib.so libbz2$(get_libname ${PV}) |
122 |
- [[ ${CHOST} == *-cygwin* ]] && dobin cygbz2-${PV%%.*}.dll |
123 |
local v |
124 |
for v in libbz2$(get_libname) libbz2$(get_libname ${PV%%.*}) libbz2$(get_libname ${PV%.*}) ; do |
125 |
dosym libbz2$(get_libname ${PV}) /usr/$(get_libdir)/${v} |