public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/rar/
Date: Fri, 24 May 2024 23:35:42 +0000 (UTC)	[thread overview]
Message-ID: <1716593712.7f7f746617ce50945cefe8cd5598e47d2f379831.conikost@gentoo> (raw)

commit:     7f7f746617ce50945cefe8cd5598e47d2f379831
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri May 24 21:10:17 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri May 24 23:35:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f7f7466

app-arch/rar: add 7.01

Closes: https://bugs.gentoo.org/932310
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 app-arch/rar/Manifest        |   3 ++
 app-arch/rar/rar-7.01.ebuild | 123 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 126 insertions(+)

diff --git a/app-arch/rar/Manifest b/app-arch/rar/Manifest
index aefd06729f16..d75b72048545 100644
--- a/app-arch/rar/Manifest
+++ b/app-arch/rar/Manifest
@@ -1,3 +1,6 @@
 DIST rarlinux-x32-700.tar.gz 739081 BLAKE2B 3f0d18ba3c9ff6b606bbddd3aafcc70209d87a1aa08877fa8ee62e4c28a56b0dd0d38304d273abb708fa1a9fb1d2264df0dc7eb2ac6dbd1264b250df40f141c5 SHA512 a1f1d1f203ae2f98949346ad331a27ce2d120bf28f289fc42d286fae5c9392af033a4ff72fbe078a130b9267eb42e9739db35aa98ce07f4d97566299aa233934
+DIST rarlinux-x32-701.tar.gz 739420 BLAKE2B 9550c74d2f9a5bbd821fc2d313a1aa3fdca1f88675056e42507e9b40f7c456e20e0834149e6a925abc88d04aa23d5ccecb0f6efa7ba2d21629f030531b9e84d2 SHA512 2d8488106ed8ed5a67a1de114414a7fe58ab8a139b4f5fd78d5f334e59339e192d51574e3d36fdc7e5d4068cc9e33ec03e4ef6c0907193b407167c616f1ab357
 DIST rarlinux-x64-700.tar.gz 730268 BLAKE2B 6a3c4890232b6bdc24a6e321bff66c8a41c3c64b7da8dbcd40714de647edabb32f8719be882335895a09453f36e247b7ce96edf8089f8fa6ea08489d69eb7813 SHA512 988b755d1b52051f5d4115a64f598e5d6a6a9d1756e8136a00a159001199bf684c4961245c1010f0414e174f61964e1e3f32f437810708cd77742b9b89946166
+DIST rarlinux-x64-701.tar.gz 730436 BLAKE2B 271b18f636250876adf924752298e283922c87d1ea71084ebd4263f5c8db189b093faf0b66362db781ad0fd9c6154a9a3a1e7d013c7c6cee56ad8fd7fb772fa7 SHA512 3effdc32f5dbad414d4a434b4ec430c0dc29fd6a758036395712f61c588067547c3919025545d27e9a7fef6ba8de1773f2dd9a7e20dfa2178b2b9f9bd2440ff9
 DIST winrar-x64-700.exe 3911632 BLAKE2B f2191937e1e3d0938f0ca2c56467c838415401a20a0966efad050e9fde5fe7fc6e05694c98fd06daa6fe4d7c03f588e60d456d8d510c849929a52dab36d6a10a SHA512 bc94f526d4dd751a44071dd6f540f2957d96f5c6500d7e5bb41ec6581bb0a584a6bb91fe13f7a1d9c7749c4601b1fe95f2a12a204b73bdc9a37c83cff7ac35c3
+DIST winrar-x64-701.exe 3912088 BLAKE2B 46d379c51d6c2eba1b632c3f4e6f56529a0218db3cf4d4a4e52de08103d1de15dd6974c5375885dd19d1a29279f664d6df49056f57c71d8d3858bb0266d4eb99 SHA512 61daee2ce82c3b8e79f7598a79d72e337220ced7607e3ed878a3059ac03257542147dbd377e902cc95f04324e2fb7c5e07d1410f0a1815d5a05c5320e5715ef6

diff --git a/app-arch/rar/rar-7.01.ebuild b/app-arch/rar/rar-7.01.ebuild
new file mode 100644
index 000000000000..3b246fc046e2
--- /dev/null
+++ b/app-arch/rar/rar-7.01.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV="${PV/./}"
+URI_AMD64="https://www.rarlab.com/rar/rarlinux-x64-${MY_PV}.tar.gz"
+URI_X86="https://www.rarlab.com/rar/rarlinux-x32-${MY_PV}.tar.gz"
+URI_WIN64="https://www.rarlab.com/rar/winrar-x64-${MY_PV}.exe"
+
+inherit unpacker
+
+DESCRIPTION="RAR compressor/uncompressor"
+HOMEPAGE="https://www.rarlab.com/"
+SRC_URI="
+	all-sfx? (
+		${URI_AMD64}
+		${URI_X86}
+		${URI_WIN64}
+	)
+	amd64? ( ${URI_AMD64} )
+	x86? ( ${URI_X86} )
+"
+S="${WORKDIR}/${PN}"
+
+LICENSE="BSD BSD-2 RAR"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="all-sfx"
+RESTRICT="bindist mirror"
+
+RDEPEND="sys-libs/glibc"
+BDEPEND="all-sfx? ( app-arch/unrar )"
+
+DOCS=( "acknow.txt" "rar.txt" "readme.txt" "whatsnew.txt" )
+
+QA_PREBUILT="
+	opt/rar/default.sfx
+	opt/rar/default-elf32.sfx
+	opt/rar/default-elf64.sfx
+	opt/rar/default-win32.sfx
+	opt/rar/default-win64.sfx
+	opt/rar/unrar
+	opt/rar/rar
+	opt/rar/WinCon.SFX
+	opt/rar/WinCon64.SFX
+	opt/rar/Zip.SFX
+	opt/rar/Zip64.SFX
+"
+
+src_unpack() {
+	local _file
+
+	for _file in ${A}; do
+		if [[ "${_file}" == rarli* ]]; then
+			if [[ "${_file}" =~ x64 ]]; then
+				if ! use amd64; then
+					continue
+				fi
+
+				unpack "${_file}"
+			elif [[ ! "${_file}" =~ x64 ]]; then
+				if ! use x86; then
+					continue
+				fi
+
+				unpack "${_file}"
+			else
+				die "Unknown SRC file '${_file}'!"
+			fi
+		fi
+	done
+
+	if use all-sfx ; then
+		mkdir sfx
+		cd sfx
+		for _file in ${A}; do
+			if [[ "${_file}" == rarli* ]]; then
+				unpack "${_file}"
+				if [[ "${_file}" =~ x64 ]]; then
+					mv rar/default.sfx default-elf64.sfx || die
+				else
+					mv rar/default.sfx default-elf32.sfx || die
+				fi
+			elif [[ "${_file}" == winrar* ]]; then
+				ln -s "${DISTDIR}"/${_file} w64.rar || die
+				# Use shipped unrar, as current version in tree segfaults
+				# Bug #932666
+				# unpack_rar ./w64.rar
+				"${S}"/unrar x ./w64.rar || die
+				mv Default.SFX default-win64.sfx || die
+				mv Default32.SFX default-win32.sfx || die
+			else
+				die "Unknown SFX file '${_file}'!"
+			fi
+		done
+	fi
+}
+
+src_compile() { :; }
+
+src_install() {
+	exeinto /opt/rar
+	doexe rar unrar
+
+	insinto /opt/rar
+	doins rarfiles.lst
+
+	if use all-sfx; then
+		doins "${WORKDIR}"/sfx/*.{sfx,SFX}
+	else
+		doins default.sfx
+	fi
+
+	dodir /opt/bin
+	dosym ../rar/rar /opt/bin/rar
+	dosym ../rar/unrar /opt/bin/unrar
+
+	docinto html
+	dodoc order.htm
+
+	einstalldocs
+}


             reply	other threads:[~2024-05-24 23:35 UTC|newest]

Thread overview: 98+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-24 23:35 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-28 20:48 [gentoo-commits] repo/gentoo:master commit in: app-arch/rar/ Conrad Kostecki
2025-03-28 20:27 Conrad Kostecki
2025-02-22 23:40 Conrad Kostecki
2024-04-17 11:39 Conrad Kostecki
2024-04-17 11:39 Conrad Kostecki
2024-04-17 11:39 Conrad Kostecki
2024-03-09 13:57 Conrad Kostecki
2023-11-11 23:37 Conrad Kostecki
2023-11-11 23:37 Conrad Kostecki
2023-11-11 23:37 Conrad Kostecki
2023-10-05 14:06 Conrad Kostecki
2023-08-19 18:46 Conrad Kostecki
2023-08-19 18:46 Conrad Kostecki
2023-08-19 18:46 Conrad Kostecki
2023-08-05 20:32 Conrad Kostecki
2023-07-05 20:41 Conrad Kostecki
2023-07-05 20:41 Conrad Kostecki
2023-06-02  7:56 Conrad Kostecki
2023-03-25  0:11 Conrad Kostecki
2023-03-25  0:11 Conrad Kostecki
2023-03-25  0:11 Conrad Kostecki
2023-03-04  0:00 Conrad Kostecki
2023-03-04  0:00 Conrad Kostecki
2023-02-20 23:22 Conrad Kostecki
2022-06-05 14:06 Conrad Kostecki
2022-06-05 14:06 Conrad Kostecki
2022-06-05 14:06 Conrad Kostecki
2022-06-05 14:06 Conrad Kostecki
2022-06-05 14:06 Conrad Kostecki
2022-06-05 14:06 Conrad Kostecki
2022-01-26  2:31 Thomas Deutschmann
2021-11-03  1:45 Thomas Deutschmann
2021-07-06 23:44 Thomas Deutschmann
2021-06-14 13:28 Thomas Deutschmann
2021-06-13 18:21 Thomas Deutschmann
2021-05-18 16:30 Thomas Deutschmann
2021-04-12 18:14 Thomas Deutschmann
2021-02-10 22:21 Thomas Deutschmann
2021-02-10 22:21 Thomas Deutschmann
2020-12-07 14:10 Thomas Deutschmann
2020-11-12 19:47 Thomas Deutschmann
2020-10-23  1:19 Thomas Deutschmann
2020-07-05 19:12 Thomas Deutschmann
2020-07-05 19:12 Thomas Deutschmann
2020-06-29 14:56 Thomas Deutschmann
2020-04-03  9:28 Thomas Deutschmann
2020-04-03  9:28 Thomas Deutschmann
2020-03-30 16:44 Thomas Deutschmann
2019-12-22 22:08 Thomas Deutschmann
2019-12-22 22:08 Thomas Deutschmann
2019-12-11 14:59 Thomas Deutschmann
2019-06-27 21:45 Thomas Deutschmann
2019-06-27 21:45 Thomas Deutschmann
2019-04-29 11:33 Thomas Deutschmann
2019-03-13 22:58 Thomas Deutschmann
2019-03-13 22:58 Thomas Deutschmann
2019-02-26 19:49 Thomas Deutschmann
2019-02-22 14:08 Thomas Deutschmann
2019-02-22 14:08 Thomas Deutschmann
2019-02-22 14:08 Thomas Deutschmann
2018-10-01 15:17 Thomas Deutschmann
2018-09-04  9:50 Thomas Deutschmann
2018-07-10 23:39 Thomas Deutschmann
2018-07-10 23:39 Thomas Deutschmann
2018-06-26 11:07 Thomas Deutschmann
2018-06-26 11:07 Thomas Deutschmann
2018-06-26 11:07 Thomas Deutschmann
2018-06-07  0:26 Thomas Deutschmann
2018-05-13 21:44 Thomas Deutschmann
2018-04-21 18:42 Thomas Deutschmann
2018-03-31 12:42 Thomas Deutschmann
2018-03-11 15:51 Thomas Deutschmann
2017-09-25 17:40 Thomas Deutschmann
2017-08-18 19:13 Thomas Deutschmann
2017-08-14 12:44 Thomas Deutschmann
2017-07-25 11:26 Thomas Deutschmann
2017-07-08 13:38 Thomas Deutschmann
2017-07-08 13:38 Thomas Deutschmann
2017-06-29  8:06 Agostino Sarubbo
2017-06-28 16:59 Thomas Deutschmann
2017-05-09 17:16 Thomas Deutschmann
2017-05-05 11:16 Thomas Deutschmann
2017-05-02 10:26 Thomas Deutschmann
2017-04-13 17:05 Thomas Deutschmann
2017-04-13 17:05 Thomas Deutschmann
2017-04-13 17:05 Thomas Deutschmann
2017-04-13 17:05 Thomas Deutschmann
2016-12-08  2:40 Sam Jorna
2016-10-25 22:48 Ulrich Müller
2016-10-25 22:40 Kristian Fiskerstrand
2016-08-07  7:42 Pacho Ramos
2016-01-05 13:42 Agostino Sarubbo
2015-12-13 11:22 Ian Delaney
2015-12-08 17:38 Patrice Clement
2015-12-08 17:38 Patrice Clement
2015-12-08 17:38 Patrice Clement
2015-12-08 17:38 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1716593712.7f7f746617ce50945cefe8cd5598e47d2f379831.conikost@gentoo \
    --to=conikost@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox