From nobody Fri Dec 10 17:19:05 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 13A6518E3FAB; Fri, 10 Dec 2021 17:19:11 +0000 (UTC) (envelope-from fluffy@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J9d1B5L8Jz3k9g; Fri, 10 Dec 2021 17:19:10 +0000 (UTC) (envelope-from fluffy@FreeBSD.org) Received: from [192.168.1.65] (37-145-188-182.broadband.corbina.ru [37.145.188.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fluffy) by smtp.freebsd.org (Postfix) with ESMTPSA id BF7E2253F9; Fri, 10 Dec 2021 17:19:09 +0000 (UTC) (envelope-from fluffy@FreeBSD.org) Date: Fri, 10 Dec 2021 20:19:05 +0300 From: Dima Panov To: dev-commits-ports-all@FreeBSD.org, ports-committers@FreeBSD.org, dev-commits-ports-main@FreeBSD.org, Max Brazhnikov Message-ID: <3e4756c6-2dff-4505-8972-5a5b6388a1b3@Canary> In-Reply-To: <202112101517.1BAFHOaI083539@gitrepo.freebsd.org> References: <202112101517.1BAFHOaI083539@gitrepo.freebsd.org> Subject: Re: git: cba515834b61 - main - archivers/7-zip: add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="61b38c09_1befd79f_397"; protocol="application/pgp-signature" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639156750; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/FfL7e//k1hH0liz1UxB9nMmSoljO3kLk+/gnrm0Op4=; b=RYIdr2EM8XcX0kvP1CSA1FXzU2xGkDZmCtXwE54R4lBsHcwCdiYa7MlLIDGT2TucEuQYjp ApYgxi+fek5fscWzafL+vMRYEVCRRD6fYshYVUgqHAjgGxP9pOaXykpxZmRg3wUc/54K+z lDoIFGP1DdLNWTTJH0Oe1nTICtYH37orzYapTKK+DbUVJBZTs7vAmXogZU1/UEcBWz7tTn jZwLpb0KBfMqi4V6ix3uMuW0pJOfiTSHpmxPu9t91p87EZJ6F8TIGxS1krkfCsGzhPC1Hx D2zJ9CViMfAuyaQtAKLAKvKwXY6LUAOM3vuonEDF8RBFUNt5TrybQmFAKl+zDQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639156750; a=rsa-sha256; cv=none; b=LR7a3fLaMAphEIGsYqzKX+CiTqYe/cQ6edImgwfATYyOR9CVdjlzRN5KqPtLB4b7LpIH62 iRe0EB4gxgugdQC2qQAxCVOP8lPjuPgr+IdeTMrKwF4VO6eSpnHMhLU1e1S77moSEyWTLM hxUQaH3WZLGYB9r1dXx0iNASIgLe06+s+j2uSjqbSSwOzW32Zk/xgwAbTJe+DlrvaFLahV webOgB0/XcBpWNWzycLhIWAffjZSxOHzpoMsgM3pq6cXWhWGQObF8x5cOVGUasEPfKYEXo n/KgXnd8E+A3oNlWEOFwzgIBSxqNxynY5qQX4/12j7p2f7R2h5SJ3Pqf4+blwA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --61b38c09_1befd79f_397 Content-Type: multipart/alternative; boundary="61b38c09_7fdcc233_397" --61b38c09_7fdcc233_397 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Moin=21 Isn=E2=80=99t it a duplicate of archivers/p7zip=3F -- Dima. (desktop, kde, x11, office, ports-secteam)=40=46reeBSD team (fluffy=40=46reeBSD.org, https://t.me/dima=5Fpanov) > On =46riday, Dec 10, 2021 at 6:17 PM, Max Brazhnikov wrote: > The branch main has been updated by makc: > > URL: https://cgit.=46reeBSD.org/ports/commit/=3Fid=3Dcba515834b610de4ee= 050a032e5eed4b9180fbac > > commit cba515834b610de4ee050a032e5eed4b9180fbac > Author: Max Brazhnikov > AuthorDate: 2021-12-10 15:11:29 +0000 > Commit: Max Brazhnikov > CommitDate: 2021-12-10 15:13:26 +0000 > > archivers/7-zip: add new port > > This is console version of original 7-Zip archiver released for Linux: > https://sourceforge.net/p/sevenzip/discussion/45797/thread/cec5e63147/ > > The sources are packed with 7z, therefore p7zip is required to build th= is port. > --- > archivers/7-zip/Makefile =7C 40 ++++++++++++++++++++++ > archivers/7-zip/distinfo =7C 3 ++ > archivers/7-zip/files/patch-CPP=5F7zip=5F7zip=5F=5Fgcc.mak =7C 20 +++++= ++++++ > archivers/7-zip/files/patch-CPP=5F7zip=5Fvar=5F=5Fgcc.mak =7C 12 ++++++= + > .../7-zip/files/patch-CPP=5FWindows=5FSystemInfo.cpp =7C 18 ++++++++++ > archivers/7-zip/pkg-descr =7C 9 +++++ > archivers/Makefile =7C 1 + > 7 files changed, 103 insertions(+) > > diff --git a/archivers/7-zip/Makefile b/archivers/7-zip/Makefile > new file mode 100644 > index 000000000000..1be9bc4e5268 > --- /dev/null > +++ b/archivers/7-zip/Makefile > =40=40 -0,0 +1,40 =40=40 > +PORTNAME=3D 7-zip > +DISTVERSION=3D 21.06 > +CATEGORIES=3D archivers > +MASTER=5FSITES=3D https://www.7-zip.org/a/ > +DISTNAME=3D 7z=24=7BDISTVERSION:S/.//=7D-src > + > +MAINTAINER=3D makc=40=46reeBSD.org > +COMMENT=3D Console version of the 7-Zip file archiver > + > +LIB=5FDEPENDS=3D libsysinfo.so:devel/libsysinfo > + > +USES=3D 7z dos2unix gmake localbase > + > +MAKE=46ILE=3D ../../cmpl=5Fclang.mak > +MAKE=5FARGS=3D LOCAL=5F=46LAGS=3D=22=24=7BC=46LAGS=7D=22 =5C > + LOCAL=5FLIBS=3D=22=24=7BLIBS=7D -lsysinfo=22 > + > +NO=5FWRKSUBDIR=3D yes > +BUILD=5FWRKSRC=3D =24=7BWRKSRC=7D/CPP/7zip/Bundles/Alone2 > +DOS2UNIX=5F=46ILES=3D CPP/7zip/7zip=5Fgcc.mak =5C > + CPP/7zip/var=5Fgcc.mak =5C > + CPP/Windows/SystemInfo.cpp > + > +PLIST=5F=46ILES=3D bin/7zz > +PORTDOCS=3D 7zC.txt 7z=46ormat.txt Methods.txt lzma.txt readme.txt =5C= > + src-history.txt > + > +OPTIONS=5FDE=46INE=3D DOCS > + > +post-patch: > + =24=7BECHO=5FCMD=7D > =24=7BWRKSRC=7D/CPP/7zip/warn=5Fclang.mak > + > +do-install: > + =24=7BINSTALL=5FPROGRAM=7D =24=7BBUILD=5FWRKSRC=7D/b/c/7zz =24=7BSTAG= EDIR=7D/=24=7BPRE=46IX=7D/bin > + > +do-install-DOCS-on: > + =24=7BMKDIR=7D =24=7BSTAGEDIR=7D=24=7BDOCSDIR=7D && =5C > + =24=7BINSTALL=5FDATA=7D =24=7BPORTDOCS:C,=5E,=24=7BWRKSRC=7D/DOC/,=7D= =24=7BSTAGEDIR=7D=24=7BDOCSDIR=7D > + > +.include > diff --git a/archivers/7-zip/distinfo b/archivers/7-zip/distinfo > new file mode 100644 > index 000000000000..3e4e5ddbc137 > --- /dev/null > +++ b/archivers/7-zip/distinfo > =40=40 -0,0 +1,3 =40=40 > +TIMESTAMP =3D 1639126647 > +SHA256 (7z2106-src.7z) =3D 675eaa90de3c6a3cd69f567bba4faaea309199ca75a= 6ad12bac731dcdae717ac > +SIZE (7z2106-src.7z) =3D 1215031 > diff --git a/archivers/7-zip/files/patch-CPP=5F7zip=5F7zip=5F=5Fgcc.mak= b/archivers/7-zip/files/patch-CPP=5F7zip=5F7zip=5F=5Fgcc.mak > new file mode 100644 > index 000000000000..593e77c4da87 > --- /dev/null > +++ b/archivers/7-zip/files/patch-CPP=5F7zip=5F7zip=5F=5Fgcc.mak > =40=40 -0,0 +1,20 =40=40 > +--- CPP/7zip/7zip=5Fgcc.mak.orig 2021-12-10 11:04:08 UTC > ++++ CPP/7zip/7zip=5Fgcc.mak > +=40=40 -22,7 +22,7 =40=40 C=46LAGS=5FBASE=5FLIST =3D -c > + =23 C=46LAGS=5FBASE=5FLIST =3D -S > + C=46LAGS=5FBASE =3D -O2 =24(C=46LAGS=5FBASE=5FLIST) =24(C=46LAGS=5FWA= RN=5FWALL) =24(C=46LAGS=5FWARN) =5C > + -DNDEBUG -D=5FREENTRANT -D=5F=46ILE=5FO=46=46SET=5FBITS=3D64 -D=5FLAR= GE=46ILE=5FSOURCE =5C > +- -fPIC > ++ -fPIC =24(LOCAL=5F=46LAGS) > + > + =23 -D=5F7ZIP=5FA=46=46INITY=5FDISABLE > + > +=40=40 -111,7 +111,7 =40=40 MY=5FMKDIR=3Dmkdir -p > + > + =23 LOCAL=5FLIBS=3D-lpthread > + =23 LOCAL=5FLIBS=5FDLL=3D=24(LOCAL=5FLIBS) -ldl > +-LIB2 =3D -lpthread -ldl > ++LIB2 =3D =24(LOCAL=5FLIBS) -lpthread > + > + > + > diff --git a/archivers/7-zip/files/patch-CPP=5F7zip=5Fvar=5F=5Fgcc.mak = b/archivers/7-zip/files/patch-CPP=5F7zip=5Fvar=5F=5Fgcc.mak > new file mode 100644 > index 000000000000..0e08d8ce2f50 > --- /dev/null > +++ b/archivers/7-zip/files/patch-CPP=5F7zip=5Fvar=5F=5Fgcc.mak > =40=40 -0,0 +1,12 =40=40 > +--- CPP/7zip/var=5Fgcc.mak.orig 2021-12-10 10:31:55 UTC > ++++ CPP/7zip/var=5Fgcc.mak > +=40=40 -6,7 +6,7 =40=40 IS=5FARM64=3D > + CROSS=5FCOMPILE=3D > + MY=5FARCH=3D > + USE=5FASM=3D > +-CC=3D=24(CROSS=5FCOMPILE)gcc > +-CXX=3D=24(CROSS=5FCOMPILE)g++ > ++CC=3D=24(CC) > ++CXX=3D=24(CXX) > + > + =23 -march=3Darmv8-a+crc+crypto > diff --git a/archivers/7-zip/files/patch-CPP=5FWindows=5FSystemInfo.cpp= b/archivers/7-zip/files/patch-CPP=5FWindows=5FSystemInfo.cpp > new file mode 100644 > index 000000000000..bc362d111086 > --- /dev/null > +++ b/archivers/7-zip/files/patch-CPP=5FWindows=5FSystemInfo.cpp > =40=40 -0,0 +1,18 =40=40 > +--- CPP/Windows/SystemInfo.cpp.orig 2021-12-10 11:30:40 UTC > ++++ CPP/Windows/SystemInfo.cpp > +=40=40 -20,6 +20,15 =40=40 > + > + =23include > + > ++=23if defined(=5F=5F=46reeBSD=5F=5F) > ++unsigned long getauxval(unsigned long type) > ++=7B > ++ unsigned long aux =3D 0; > ++ elf=5Faux=5Finfo(type, &aux, sizeof(aux)); > ++ return aux; > ++=7D > ++=23endif > ++ > + // =23undef AT=5FHWCAP // to debug > + // =23undef AT=5FHWCAP2 // to debug > + > diff --git a/archivers/7-zip/pkg-descr b/archivers/7-zip/pkg-descr > new file mode 100644 > index 000000000000..daf58f3ec94b > --- /dev/null > +++ b/archivers/7-zip/pkg-descr > =40=40 -0,0 +1,9 =40=40 > +7-Zip is a file archiver with a high compression ratio in 7z format wi= th LZMA > +and LZMA2 compression. Supported formats: > + > +* Packing / unpacking: 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM > +* Unpacking only: AR, ARJ, CAB, CHM, CPIO, Cram=46S, DMG, EXT, =46AT, = GPT, H=46S, > + IHEX, ISO, LZH, LZMA, MBR, MSI, NSIS, NT=46S, QCOW2, RAR, RPM, Squash= =46S, UD=46, > + UE=46I, VDI, VHD, VMDK, WIM, XAR and Z > + > +WWW: https://www.7-zip.org/ > diff --git a/archivers/Makefile b/archivers/Makefile > index 2cf1501e299f..caea780b16f5 100644 > --- a/archivers/Makefile > +++ b/archivers/Makefile > =40=40 -1,5 +1,6 =40=40 > COMMENT =3D Archivers > > + SUBDIR +=3D 7-zip > SUBDIR +=3D 9e > SUBDIR +=3D R-cran-zip > SUBDIR +=3D advancecomp --61b38c09_7fdcc233_397-- --61b38c09_1befd79f_397 Content-Type: application/pgp-signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: Canary PGP V3 iQJVBAABCgA/OBxEaW1hIFBhbm92IChGcmVlQlNELk9SRyBDb21taXR0ZXIpIDxm bHVmZnlARnJlZUJTRC5PUkc+BQJhs4wJAAoJEPuLoJ3VOY8pfDwQANaGggv7U00U ESvilKlGqEuqABhBX9h95O5uP15SXSpD/4SqZxe3g3AvIYQOFXOi9GVmJNZ42SV+ uNZ4UoVoXIM4b5nRQ6kxVXt1hnCZewRTT9k3yOZASyVRJ/97xpXgjb3FAKNGyDGc 3Smr9hIpTdx/E0PvtVYTFN6ySm7akmSaMj18gMlBRt6mTXgDLZE60hWw26KumLeF gr8Y42+w1ww5668xwDqankbFs9PcJg91QUnGTEORPsj5UeIds81m3PPuHERz20sI vvG2IRteMATPqMQ24bBxxcotHNLEtet8wDLm7k1Je+r/2rJnQGr4l4/Dp5sC948W lIrl1QRsFTFcPd3CqKZzqe7LMkCATDujLiTuRrlHNINUl/dpgX3yO8RZRcxyuQ2x ZZ6/BZ6fuvsABISYDOlmv9hgUvhF8JiFItIOWOulOcvDOHbOzJZ5Apmcw+wFl0gs ts6dghSNOj02zeYEXWzMa+jfdzI8AfGc9m4fGL3MxenCp5PBFbkOicqE7fiJSHfa Qhjh7PFPnSYObpEPKpe90FZeRh/BC8iG7x3JdR6OaPmAIzABi9DRNhhbTyeqOGaK UiVrhWyYRzPR9/CoJek7jLvd/eAU/yimuVbFnO75rZweN+nut9qxN9mkXSdJOAvp yAeJTWfBqrRzS+bTXbhk39k5OOQF933V =jL32 -----END PGP SIGNATURE----- --61b38c09_1befd79f_397--