commit: 37e665dde0a560e70df2490b5f57fc5b4539325a
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 13 21:39:42 2025 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Nov 13 21:39:42 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37e665dd
app-arch/unrar: drop 7.1.6, 7.1.7
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
app-arch/unrar/Manifest | 2 -
app-arch/unrar/unrar-7.1.6.ebuild | 79 ---------------------------------------
app-arch/unrar/unrar-7.1.7.ebuild | 79 ---------------------------------------
3 files changed, 160 deletions(-)
diff --git a/app-arch/unrar/Manifest b/app-arch/unrar/Manifest
index d1f0959c6b64..c1ed716928b7 100644
--- a/app-arch/unrar/Manifest
+++ b/app-arch/unrar/Manifest
@@ -1,3 +1 @@
DIST unrar-7.1.10.tar.gz 268008 BLAKE2B
958dad50a84650e35a12d798b51519a2902cf6770bb6d65bdb11d07937d20190dc8e9a70073c0e3f999c071a5b749424faf6fcea3883957ecc5edab49cd724cd
SHA512
37c524578211798c02ed460bb39cdde3fadb97d6d34e93a9eb380e61e5b852480a0b3b2a10dde9f9c67b92331ba7784f8ced0c3da6e834e132b7f87f16e9adea
-DIST unrar-7.1.6.tar.gz 267638 BLAKE2B
29940a5219b40ef6385c3dfb142c34c08560f42915e2fba91a9a61d0166fbfaf6048672c31755fb5e734b3cc609156e5b06712213334780e3b8a1d4e43dfd42d
SHA512
b56213d7df87970da66170d1bae7baffc591169b80db06d2dfd0d07644f467b252d6623aa153684b360ce9a092e93a5560330f7b9c14dd3ff7269741b17bb90c
-DIST unrar-7.1.7.tar.gz 267949 BLAKE2B
43b3b51b90b45bcea6afa273476cabbff8cca46d191612d015f55a58d8abf03aa9361ba5114afd981adc1e03a026dbeca3745933ddbfde7ad65618bfac470521
SHA512
852be9336e64fe99e40b6bb332043356fc8f97eadccaa2f29169b69debd96d0effefbad3a707e7953d562f59ddffe7707ec546a98d118724670a9421bfc155a6
diff --git a/app-arch/unrar/unrar-7.1.6.ebuild
b/app-arch/unrar/unrar-7.1.6.ebuild
deleted file mode 100644
index 38d0240ba00c..000000000000
--- a/app-arch/unrar/unrar-7.1.6.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit multilib toolchain-funcs
-
-MY_PN="${PN}src"
-
-DESCRIPTION="Uncompress rar files"
-HOMEPAGE="https://www.rarlab.com/rar_add.htm"
-SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/unrar"
-
-LICENSE="unRAR"
-SLOT="0/7" # subslot = soname version
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-
-PATCHES=( "${FILESDIR}/${PN}-6.2.6-honor-flags.patch" )
-
-src_prepare() {
- default
-
- local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
- if [[ ${CHOST} == *-darwin* ]] ; then
- sed_args+=( -e "s:-shared:-dynamiclib -install_name
${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
- else
- sed_args+=( -e "s:-shared:& -Wl,-soname
-Wl,libunrar$(get_libname ${PV%.*.*}):" )
- fi
- sed -i "${sed_args[@]}" makefile || die
-}
-
-src_configure() {
- mkdir -p build-{lib,bin} || die
- printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die
- cp build-{lib,bin}/Makefile || die
-}
-
-src_compile() {
- unrar_make() {
- emake AR="$(tc-getAR)" CXX="$(tc-getCXX)"
CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
- }
-
- unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib
- ln -s libunrar$(get_libname ${PV%.*.*})
build-lib/libunrar$(get_libname) || die
- ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname
${PV}) || die
-
- unrar_make -C build-bin
-}
-
-src_install() {
- dobin build-bin/unrar
- dodoc readme.txt
-
- dolib.so build-lib/libunrar*
-
- # unrar doesn't officially install headers, but unofficially, software
- # depends on it anyway. There is no standard for where to install them,
- # but the most common location (shared by nearly all vendors) is
"unrar".
- # FreeBSD alone uses "libunrar". Gentoo formerly used "libunrar6" and
- # had a compat symlink for FreeBSD, then passed the compat location in
- # ./configure scripts e.g. for sys-fs/rar2fs. Software in the wild
- # seems to expect either "unrar" or "libunrar".
- # See: https://bugs.gentoo.org/916036
- #
- # We now use the "standard" (hah) location, and keep the compat symlink
but
- # change the destination. The version-suffixed location lacks utility,
but
- # we would keep it if we could, just in case -- unfortunately portage is
- # buggy: https://bugs.gentoo.org/834600
- #
- # Hopefully, no one has ever actually used it and therefore this does
not
- # matter. The odds are on our side, since it periodically changed
location
- # arbitrarily.
- insinto /usr/include/unrar
- doins *.hpp
- dosym unrar /usr/include/libunrar
-
- find "${ED}" -type f -name "*.a" -delete || die
-}
diff --git a/app-arch/unrar/unrar-7.1.7.ebuild
b/app-arch/unrar/unrar-7.1.7.ebuild
deleted file mode 100644
index 38d0240ba00c..000000000000
--- a/app-arch/unrar/unrar-7.1.7.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit multilib toolchain-funcs
-
-MY_PN="${PN}src"
-
-DESCRIPTION="Uncompress rar files"
-HOMEPAGE="https://www.rarlab.com/rar_add.htm"
-SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/unrar"
-
-LICENSE="unRAR"
-SLOT="0/7" # subslot = soname version
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-
-PATCHES=( "${FILESDIR}/${PN}-6.2.6-honor-flags.patch" )
-
-src_prepare() {
- default
-
- local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
- if [[ ${CHOST} == *-darwin* ]] ; then
- sed_args+=( -e "s:-shared:-dynamiclib -install_name
${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
- else
- sed_args+=( -e "s:-shared:& -Wl,-soname
-Wl,libunrar$(get_libname ${PV%.*.*}):" )
- fi
- sed -i "${sed_args[@]}" makefile || die
-}
-
-src_configure() {
- mkdir -p build-{lib,bin} || die
- printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die
- cp build-{lib,bin}/Makefile || die
-}
-
-src_compile() {
- unrar_make() {
- emake AR="$(tc-getAR)" CXX="$(tc-getCXX)"
CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
- }
-
- unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib
- ln -s libunrar$(get_libname ${PV%.*.*})
build-lib/libunrar$(get_libname) || die
- ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname
${PV}) || die
-
- unrar_make -C build-bin
-}
-
-src_install() {
- dobin build-bin/unrar
- dodoc readme.txt
-
- dolib.so build-lib/libunrar*
-
- # unrar doesn't officially install headers, but unofficially, software
- # depends on it anyway. There is no standard for where to install them,
- # but the most common location (shared by nearly all vendors) is
"unrar".
- # FreeBSD alone uses "libunrar". Gentoo formerly used "libunrar6" and
- # had a compat symlink for FreeBSD, then passed the compat location in
- # ./configure scripts e.g. for sys-fs/rar2fs. Software in the wild
- # seems to expect either "unrar" or "libunrar".
- # See: https://bugs.gentoo.org/916036
- #
- # We now use the "standard" (hah) location, and keep the compat symlink
but
- # change the destination. The version-suffixed location lacks utility,
but
- # we would keep it if we could, just in case -- unfortunately portage is
- # buggy: https://bugs.gentoo.org/834600
- #
- # Hopefully, no one has ever actually used it and therefore this does
not
- # matter. The odds are on our side, since it periodically changed
location
- # arbitrarily.
- insinto /usr/include/unrar
- doins *.hpp
- dosym unrar /usr/include/libunrar
-
- find "${ED}" -type f -name "*.a" -delete || die
-}