commit:     25c953827cce632bb1466880c79ab8fa01aec013
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  4 18:10:12 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Jun  4 18:10:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25c95382

app-arch/unrar: Drop old versions

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 app-arch/unrar/Manifest                      |  4 --
 app-arch/unrar/files/unrar-5.9.3-build.patch | 35 ---------------
 app-arch/unrar/unrar-6.1.7.ebuild            | 65 ----------------------------
 app-arch/unrar/unrar-6.2.1.ebuild            | 65 ----------------------------
 app-arch/unrar/unrar-6.2.3.ebuild            | 65 ----------------------------
 app-arch/unrar/unrar-6.2.5.ebuild            | 65 ----------------------------
 6 files changed, 299 deletions(-)

diff --git a/app-arch/unrar/Manifest b/app-arch/unrar/Manifest
index dc8ee7904006..4b1625ef8058 100644
--- a/app-arch/unrar/Manifest
+++ b/app-arch/unrar/Manifest
@@ -1,6 +1,2 @@
-DIST unrar-6.1.7.tar.gz 236798 BLAKE2B 
e33a7500b4a03a54f84b018ab90934366f52ef54c83257ed7fe4419ba993d2a8c21de26f445ae18d870aa5232cfbf1f5d8fbc0b3965803aeec6cac5e5a38e949
 SHA512 
b1a95358ff66b0e049597bbc4e1786d0bc909a8aff4aca94ee793d0d5a3c8b052eb347d88f44b6bc2e6231e777f1b711c198711118ae9ffbe8db2f72e7fbe846
-DIST unrar-6.2.1.tar.gz 242918 BLAKE2B 
55cd5d11caae2e6cef2a36f5656b76d96946d6d7df3f34d7c65cc31b43b820d955da4751666797f8147c6a7b20c3429527b2b1629842334d3bec6de49e1d6a72
 SHA512 
920819b4b3e76004492813b4c22309443976fe5e7c873032bc084603b902c6873775cb90cb173d78de3624a3161a2238c9ece1e817f6b7d915937e2e18d8def9
-DIST unrar-6.2.3.tar.gz 245210 BLAKE2B 
85dc22e52404a57286a19c901543aaeffd4526a2f7653f35b4d60c8c7c0965401f9b9658f79b1a06fc56365268a7c4895a560f04cff5d926fbc20ffa4f3d8f10
 SHA512 
070d027134210db930500f612bae41390af53d810160f8e5368640b6afee1a26650fc3473f8b563248b47ecc082dfd30b6fca318de6539c7795ac93af39f3357
-DIST unrar-6.2.5.tar.gz 245711 BLAKE2B 
6cdb899ecb996184769eda11b113e8cdb39f89d6be9c3109fbb6b72a8778109db02c9a7b8451190c3eb994dbd3c628d7c8bdc6a9316aff0596d1a10d903d39f1
 SHA512 
0b85f085e3419d4d044c70a20abdd28f4528ffcf719703a30656ea906610cd5aa5826f57ef63e2db4e541a2f01c6c5504c19bc67319bf48c377784a30fb4b20e
 DIST unrar-6.2.6.tar.gz 246212 BLAKE2B 
f12e8d2f6935feb06321660bffacc11af2fc14f011872b5af35df80cf881f3d21c39f211100351ffe7cf0e2134f3a26d0e9a3b8160a3474866aa433e092c5851
 SHA512 
c2dc4176426dd73cfcbb3af135f8eb44ad455ea29e0e45b23e6987dd33658530444e35598fd5ffae0e27a466a9e01daf4b167edd69a686b62fd3b5a0f3bf81f6
 DIST unrar-6.2.8.tar.gz 246249 BLAKE2B 
3766f7ebd0379835cff7cce8bb2deaf86d3de7c4a37d211d8a41effeb13a5a9efc53deabb5f10cd7f49d8e144cd9c1a93cce2ca3ae74e8a2142ab3ae97ab4759
 SHA512 
9b956d0c4b6a13f9ff4d9e57de7284dc879070746e3792e7640481a5b5b8336142b21c4d0c66c64627630cafbed0ff019a41b8f8536299ac7cbfdb933f92f75a

diff --git a/app-arch/unrar/files/unrar-5.9.3-build.patch 
b/app-arch/unrar/files/unrar-5.9.3-build.patch
deleted file mode 100644
index d9cbcfd8683a..000000000000
--- a/app-arch/unrar/files/unrar-5.9.3-build.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Makefile: Fix parallel build issue
-
-If clean runs in parallel with $(OBJECTS), it is possible to build some
-objects first, then the clean target fires and deletes some, and then we
-try to link and fail.
-
-Gentoo-Bug: https://bugs.gentoo.org/528218
-
---- unrar/makefile
-+++ unrar/makefile
-@@ -142,21 +142,18 @@
-       @rm -f $(OBJECTS) $(UNRAR_OBJ) $(LIB_OBJ)
-       @rm -f unrar libunrar.*
- 
--unrar:        clean $(OBJECTS) $(UNRAR_OBJ)
--      @rm -f unrar
-+unrar:        $(OBJECTS) $(UNRAR_OBJ)
-       $(LINK) -o unrar $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS)     
-       $(STRIP) unrar
- 
- sfx:  WHAT=SFX_MODULE
--sfx:  clean $(OBJECTS)
--      @rm -f default.sfx
-+sfx:  $(OBJECTS)
-       $(LINK) -o default.sfx $(LDFLAGS) $(OBJECTS)
-       $(STRIP) default.sfx
- 
- lib:  WHAT=RARDLL
- lib:  CXXFLAGS+=$(LIBFLAGS)
--lib:  clean $(OBJECTS) $(LIB_OBJ)
--      @rm -f libunrar.*
-+lib:  $(OBJECTS) $(LIB_OBJ)
-       $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
-       $(AR) rcs libunrar.a $(OBJECTS) $(LIB_OBJ)
- 

diff --git a/app-arch/unrar/unrar-6.1.7.ebuild 
b/app-arch/unrar/unrar-6.1.7.ebuild
deleted file mode 100644
index 6ab4fcd0d527..000000000000
--- a/app-arch/unrar/unrar-6.1.7.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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/6" # subslot = soname version
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-5.9.3-build.patch
-       "${FILESDIR}"/${PN}-5.5.5-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*
-
-       insinto /usr/include/libunrar${PV%.*.*}
-       doins *.hpp
-       dosym libunrar${PV%.*.*} /usr/include/libunrar
-
-       find "${ED}" -type f -name "*.a" -delete || die
-}

diff --git a/app-arch/unrar/unrar-6.2.1.ebuild 
b/app-arch/unrar/unrar-6.2.1.ebuild
deleted file mode 100644
index d88dc52b0061..000000000000
--- a/app-arch/unrar/unrar-6.2.1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2022 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/6" # subslot = soname version
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-5.9.3-build.patch
-       "${FILESDIR}"/${PN}-5.5.5-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*
-
-       insinto /usr/include/libunrar${PV%.*.*}
-       doins *.hpp
-       dosym libunrar${PV%.*.*} /usr/include/libunrar
-
-       find "${ED}" -type f -name "*.a" -delete || die
-}

diff --git a/app-arch/unrar/unrar-6.2.3.ebuild 
b/app-arch/unrar/unrar-6.2.3.ebuild
deleted file mode 100644
index c26be6755db2..000000000000
--- a/app-arch/unrar/unrar-6.2.3.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2023 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/6" # subslot = soname version
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-5.9.3-build.patch
-       "${FILESDIR}"/${PN}-5.5.5-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*
-
-       insinto /usr/include/libunrar${PV%.*.*}
-       doins *.hpp
-       dosym libunrar${PV%.*.*} /usr/include/libunrar
-
-       find "${ED}" -type f -name "*.a" -delete || die
-}

diff --git a/app-arch/unrar/unrar-6.2.5.ebuild 
b/app-arch/unrar/unrar-6.2.5.ebuild
deleted file mode 100644
index c26be6755db2..000000000000
--- a/app-arch/unrar/unrar-6.2.5.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2023 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/6" # subslot = soname version
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-5.9.3-build.patch
-       "${FILESDIR}"/${PN}-5.5.5-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*
-
-       insinto /usr/include/libunrar${PV%.*.*}
-       doins *.hpp
-       dosym libunrar${PV%.*.*} /usr/include/libunrar
-
-       find "${ED}" -type f -name "*.a" -delete || die
-}

Reply via email to