Date: Sun, 05 Jul 2026 03:43:34 +0000 From: Jason E. Hale <jhale@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 285971b53781 - main - archivers/libunrar: Update to 7.2.7 Message-ID: <6a49d2e6.18134.2fc7287@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=285971b537810fff2d0cc09696e66b425ac2aeb7 commit 285971b537810fff2d0cc09696e66b425ac2aeb7 Author: Jason E. Hale <jhale@FreeBSD.org> AuthorDate: 2026-07-05 03:43:07 +0000 Commit: Jason E. Hale <jhale@FreeBSD.org> CommitDate: 2026-07-05 03:43:07 +0000 archivers/libunrar: Update to 7.2.7 Bump PORTREVISION on filesystems/rar2fs which builds against the source. --- archivers/libunrar/Makefile | 2 +- archivers/libunrar/distinfo | 6 +++--- archivers/libunrar/files/patch-os.hpp | 6 +++--- archivers/libunrar/files/patch-rijndael.cpp | 26 ++++++++++++++------------ filesystems/rar2fs/Makefile | 2 +- 5 files changed, 22 insertions(+), 20 deletions(-) diff --git a/archivers/libunrar/Makefile b/archivers/libunrar/Makefile index a79b0fff77e1..8f1b89f5af2e 100644 --- a/archivers/libunrar/Makefile +++ b/archivers/libunrar/Makefile @@ -1,5 +1,5 @@ PORTNAME= libunrar -PORTVERSION= 7.2.3 +PORTVERSION= 7.2.7 PORTEPOCH= 1 CATEGORIES= archivers MASTER_SITES= http://www.rarlab.com/rar/ diff --git a/archivers/libunrar/distinfo b/archivers/libunrar/distinfo index 4af125a61462..699b21b96342 100644 --- a/archivers/libunrar/distinfo +++ b/archivers/libunrar/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1767422746 -SHA256 (unrarsrc-7.2.3.tar.gz) = 3995af0aa32b1505a566da053725551a1f0698dc42b2fdf7ba7d65db0d004e33 -SIZE (unrarsrc-7.2.3.tar.gz) = 270056 +TIMESTAMP = 1783220690 +SHA256 (unrarsrc-7.2.7.tar.gz) = 01d903a7dcf413cb2925696d7796e48e38d471f79bfe7ef3ad2aebf6c12dbefd +SIZE (unrarsrc-7.2.7.tar.gz) = 270458 diff --git a/archivers/libunrar/files/patch-os.hpp b/archivers/libunrar/files/patch-os.hpp index f3936d120c1b..4328e98d7527 100644 --- a/archivers/libunrar/files/patch-os.hpp +++ b/archivers/libunrar/files/patch-os.hpp @@ -1,6 +1,6 @@ ---- os.hpp.orig 2025-02-12 14:05:27 UTC +--- os.hpp.orig 2026-06-27 11:35:31 UTC +++ os.hpp -@@ -158,10 +158,13 @@ +@@ -162,10 +162,13 @@ #if defined(__aarch64__) && (defined(__ARM_FEATURE_CRYPTO) || defined(__ARM_FEATURE_CRC32)) #include <arm_neon.h> @@ -15,7 +15,7 @@ #ifdef __ARM_FEATURE_CRYPTO #define USE_NEON_AES #endif -@@ -169,6 +172,10 @@ +@@ -173,6 +176,10 @@ #define USE_NEON_CRC32 #endif #endif diff --git a/archivers/libunrar/files/patch-rijndael.cpp b/archivers/libunrar/files/patch-rijndael.cpp index ab554519c3b9..7abad2007f7d 100644 --- a/archivers/libunrar/files/patch-rijndael.cpp +++ b/archivers/libunrar/files/patch-rijndael.cpp @@ -1,4 +1,4 @@ ---- rijndael.cpp.orig 2025-02-12 14:05:27 UTC +--- rijndael.cpp.orig 2026-06-27 11:35:32 UTC +++ rijndael.cpp @@ -3,6 +3,7 @@ **************************************************************************/ @@ -16,7 +16,7 @@ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -@@ -82,21 +84,50 @@ Rijndael::Rijndael() +@@ -82,16 +84,20 @@ Rijndael::Rijndael() Rijndael::Rijndael() { @@ -37,6 +37,8 @@ } +@@ -104,6 +110,31 @@ void Rijndael::Init(bool Encrypt,const byte *key,uint + void Rijndael::Init(bool Encrypt,const byte *key,uint keyLen,const byte * initVector) { +#if defined(OPENSSL_AES) @@ -67,7 +69,7 @@ // Check SIMD here instead of constructor, so if object is a part of some // structure memset'ed before use, these variables are not lost. #if defined(USE_SSE) -@@ -116,7 +147,7 @@ void Rijndael::Init(bool Encrypt,const byte *key,uint +@@ -123,7 +154,7 @@ void Rijndael::Init(bool Encrypt,const byte *key,uint #endif #elif defined(USE_NEON_AES) @@ -76,7 +78,7 @@ // getauxval isn't available in OS X uint Value=0; size_t Size=sizeof(Value); -@@ -126,6 +157,12 @@ void Rijndael::Init(bool Encrypt,const byte *key,uint +@@ -133,6 +164,12 @@ void Rijndael::Init(bool Encrypt,const byte *key,uint // because "hw.optional.arm.FEAT_AES" was missing in OS X 11, but AES // still was supported by Neon. AES_Neon=RetCode!=0 || Value!=0; @@ -89,7 +91,7 @@ #else AES_Neon=(getauxval(AT_HWCAP) & HWCAP_AES)!=0; #endif -@@ -166,6 +203,7 @@ void Rijndael::Init(bool Encrypt,const byte *key,uint +@@ -173,6 +210,7 @@ void Rijndael::Init(bool Encrypt,const byte *key,uint if(!Encrypt) keyEncToDec(); @@ -97,7 +99,7 @@ } -@@ -174,6 +212,15 @@ void Rijndael::blockEncrypt(const byte *input,size_t i +@@ -181,6 +219,15 @@ void Rijndael::blockEncrypt(const byte *input,size_t i if (inputLen <= 0) return; @@ -113,7 +115,7 @@ size_t numBlocks = inputLen/16; #if defined(USE_SSE) if (AES_NI) -@@ -238,9 +285,11 @@ void Rijndael::blockEncrypt(const byte *input,size_t i +@@ -245,9 +292,11 @@ void Rijndael::blockEncrypt(const byte *input,size_t i input += 16; } Copy128(m_initVector,prevBlock); @@ -125,7 +127,7 @@ #ifdef USE_SSE void Rijndael::blockEncryptSSE(const byte *input,size_t numBlocks,byte *outBuffer) { -@@ -306,6 +355,7 @@ void Rijndael::blockEncryptNeon(const byte *input,size +@@ -313,6 +362,7 @@ void Rijndael::blockEncryptNeon(const byte *input,size return; } #endif @@ -133,7 +135,7 @@ void Rijndael::blockDecrypt(const byte *input, size_t inputLen, byte *outBuffer) -@@ -313,6 +363,15 @@ void Rijndael::blockDecrypt(const byte *input, size_t +@@ -320,6 +370,15 @@ void Rijndael::blockDecrypt(const byte *input, size_t if (inputLen <= 0) return; @@ -149,7 +151,7 @@ size_t numBlocks=inputLen/16; #if defined(USE_SSE) if (AES_NI) -@@ -381,9 +440,11 @@ void Rijndael::blockDecrypt(const byte *input, size_t +@@ -388,9 +447,11 @@ void Rijndael::blockDecrypt(const byte *input, size_t } memcpy(m_initVector,iv,16); @@ -161,7 +163,7 @@ #ifdef USE_SSE void Rijndael::blockDecryptSSE(const byte *input, size_t numBlocks, byte *outBuffer) { -@@ -450,8 +511,10 @@ void Rijndael::blockDecryptNeon(const byte *input, siz +@@ -457,8 +518,10 @@ void Rijndael::blockDecryptNeon(const byte *input, siz memcpy(m_initVector,iv,16); } #endif @@ -172,7 +174,7 @@ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // ALGORITHM ////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -@@ -580,6 +643,7 @@ void Rijndael::GenerateTables() +@@ -587,6 +650,7 @@ void Rijndael::GenerateTables() U1[b][0]=U2[b][1]=U3[b][2]=U4[b][3]=T5[I][0]=T6[I][1]=T7[I][2]=T8[I][3]=gmul(b,0xe); } } diff --git a/filesystems/rar2fs/Makefile b/filesystems/rar2fs/Makefile index 1801b5ef2f02..85a61e1356d0 100644 --- a/filesystems/rar2fs/Makefile +++ b/filesystems/rar2fs/Makefile @@ -1,7 +1,7 @@ PORTNAME= rar2fs DISTVERSIONPREFIX= v DISTVERSION= 1.29.7 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= filesystems PKGNAMEPREFIX= fusefs-home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a49d2e6.18134.2fc7287>
