aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-02-19 11:52:57 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-02-19 11:52:57 +0000
commitc9aa24341f4396d30c4e2f91883f8759d709a3f9 (patch)
treecde7d50ad13061294fb740fc0e45120454ef7bc4
parent87ff43214204caa3434ca0b55a26f8eb8dc7db95 (diff)
archivers/rar-i386: Add rar-i386 7.01 (copied from rar)
rar 7.10 only provides amd64 version.
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/rar-i386/Makefile36
-rw-r--r--archivers/rar-i386/distinfo3
-rw-r--r--archivers/rar-i386/pkg-descr16
4 files changed, 56 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index fd8efa47ed90..12665aa8764a 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -228,6 +228,7 @@
SUBDIR += qpress
SUBDIR += quazip
SUBDIR += rar
+ SUBDIR += rar-i386
SUBDIR += rpm2cpio
SUBDIR += rpm4
SUBDIR += rubygem-archive-zip
diff --git a/archivers/rar-i386/Makefile b/archivers/rar-i386/Makefile
new file mode 100644
index 000000000000..c0b34100ca80
--- /dev/null
+++ b/archivers/rar-i386/Makefile
@@ -0,0 +1,36 @@
+PORTNAME= rar
+PORTVERSION= 7.01
+CATEGORIES= archivers
+MASTER_SITES= https://www.rarlab.com/rar/
+DISTNAME= rarbsd-x32-${PORTVERSION:R}${PORTVERSION:E}
+PKGNAMESUFFIX= -i386
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= File archiver (binary port, legacy version for i386 only)
+WWW= https://www.rarlab.com/
+
+LICENSE= RAR
+LICENSE_NAME= RAR license
+LICENSE_FILE= ${WRKSRC}/license.txt
+# Only unmodified original package can be distributed
+LICENSE_PERMS= auto-accept dist-mirror pkg-mirror
+
+ONLY_FOR_ARCHS= i386
+ONLY_FOR_ARCHS_REASON= amd64 users should use archivers/rar
+
+USES= cpe
+
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/rar
+
+PLIST_FILES= bin/rar etc/rarfiles.lst lib/default.sfx share/man/cat1/rar.1.gz
+
+CPE_VENDOR= rarlab
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/rar ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/rarfiles.lst ${STAGEDIR}${PREFIX}/etc
+ ${INSTALL_DATA} ${WRKSRC}/default.sfx ${STAGEDIR}${PREFIX}/lib
+ ${INSTALL_MAN} ${WRKSRC}/rar.txt ${STAGEDIR}${PREFIX}/share/man/cat1/rar.1
+
+.include <bsd.port.mk>
diff --git a/archivers/rar-i386/distinfo b/archivers/rar-i386/distinfo
new file mode 100644
index 000000000000..207c44cac9d0
--- /dev/null
+++ b/archivers/rar-i386/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1716448636
+SHA256 (rarbsd-x32-701.tar.gz) = 987a4df7b691beda9af816852152058e317ede8afd0ea1c9bc3a479fb024b8dd
+SIZE (rarbsd-x32-701.tar.gz) = 742088
diff --git a/archivers/rar-i386/pkg-descr b/archivers/rar-i386/pkg-descr
new file mode 100644
index 000000000000..4df22263abff
--- /dev/null
+++ b/archivers/rar-i386/pkg-descr
@@ -0,0 +1,16 @@
+RAR archiver:
+
+- RAR introduces an original compression algorithm. It provides high compression
+ ratios on executable files, object libraries, large text files, etc.
+
+- RAR provides functionality for creating a 'solid' archive, which can raise the
+ compression ratio by 10% - 50% over more common methods, particularly when
+ packing large numbers of small files.
+
+- RAR offers the ability to create and change SFX archives using default and
+ external SFX modules.
+
+- RAR offers the ability to create a multi-volume archive as SFX.
+
+- RAR offers a number of service functions, such as encrypting files, adding
+ archive comments and repairing physically damaged archives.