From nobody Fri Oct 27 16:35:20 2023 X-Original-To: dev-commits-ports-all@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 4SH7Z10qdRz4yRHD; Fri, 27 Oct 2023 16:35:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SH7Z10NMbz3Pyr; Fri, 27 Oct 2023 16:35:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698424521; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZAo25ueEDSXnn4E4gIb8xLBJP6m1UvtLS2EyPBjZ7D8=; b=iDvk+GeGemrip7XgoZY+NhOv0twyLvkKrsk/19LqCejerCgMAfLnvpu2o8gDziyLo3+TD0 fOrxcM8+crmzBWxwNKSoMBeADyqms2Kba2JA787fnMfk4yEIbZgFgSLj5DD50BdURWrbrF Ktb2/El5ghh912aZOD2YtdSPYYM+HMTShMke24X3UYP9MKvlO3345m2Llb+oVuKPWK2lNe t7nDoH4scGZU89mFwoy9QsUUvJ+K0j40WRQ68vDmIzocsA9WTaXKHlehRoI0OcXLjoJiwA ku6ALzDMdD3KOKd89YoVkbNnN/RyLOyiAFJa8FRW1R0CehMEbAlBwGX4Pkgxyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698424521; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZAo25ueEDSXnn4E4gIb8xLBJP6m1UvtLS2EyPBjZ7D8=; b=x+6jpTGIpyl9+3EeffBIBmFpgQB2oYg9vyxsK2HkE3NeK/lSrp5HRcxV/H4uhA6cLftM6L LYj6iCGmlHFbpntChuja9PBtILAj3YO69YBt3usDs1gQVuoBgMx6MdTMrN8QxnW6Wvu8i3 cY4Gu/rnasXRa/BAmjRwmf3XbIH7ZJbEyT4fXbknV7FYk6+G4BhafXnZsXb+xV+9QWEpUK dEIn+sDukBulf9ZBnXC1k9g3ZMXFq2SUjAcre7ztyGO8lEth/tY3IusHfHgxEv9CBcGmns Li2hLZyvAlgixPg0WDZTFe4q2/aiEJyME1+pJLH0ScZCi8SSkppLAkjUquwxpg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698424521; a=rsa-sha256; cv=none; b=oxJnca8B6TYmH7VV66Ll55qa84PElgGzjyeg2Ug1I58XmdAkktYvZO4OcLqaeqd+VOtXPR QJ5wTw04RBv0uoqtA9bttIOdmFDiioPm6aOUjbOtM2rVXt2E1eCMhf3YfUDErdxVmPeKWN 1cNTwqaAFpJObRaQirbQWfuQegnq9EStTqC42i6Yx5pAQtyoupyrmB21737FLMeNL9b4MZ TToCgbb+ooA3znpH1EHQ4p7jcdujjeEAZ8bAlxkpN1Yf5W61OI7dXx4ICNokFSq+UZeiDB bW5Fxo9nNbfQ+jFl/K50+QpCTp4StMa51Cod4TwYSAfEkRAcS5uQyKeuib5PEA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SH7Z06WLvz6MW; Fri, 27 Oct 2023 16:35:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39RGZKus092463; Fri, 27 Oct 2023 16:35:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39RGZKuX092460; Fri, 27 Oct 2023 16:35:20 GMT (envelope-from git) Date: Fri, 27 Oct 2023 16:35:20 GMT Message-Id: <202310271635.39RGZKuX092460@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: b72b56a1a629 - main - print/tex-xmltex: Update dists List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b72b56a1a629816d902c321b9c6217e12090b6b2 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=b72b56a1a629816d902c321b9c6217e12090b6b2 commit b72b56a1a629816d902c321b9c6217e12090b6b2 Author: Muhammad Moinur Rahman AuthorDate: 2023-10-27 14:56:52 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-10-27 16:35:03 +0000 print/tex-xmltex: Update dists - The distfile has been replaced with a locally modified distfile including all the patches required resulting in a smaller distfile. The delta is a huge step forward reducing the original file from 3.6GB to <1 MB. - There are still some ports which uses the original upstream distfile of 3.6GB but I will slowly replace them with smaller targeted dists to reduce the fetch target duration. - Not bumping as the resulting pkg is same. Sponsored by: Nepustil --- print/tex-xmltex/Makefile | 38 ++++++++++++++++++++++++++++---------- print/tex-xmltex/distinfo | 6 +++--- 2 files changed, 31 insertions(+), 13 deletions(-) diff --git a/print/tex-xmltex/Makefile b/print/tex-xmltex/Makefile index 08ca87e9670f..ce6957975453 100644 --- a/print/tex-xmltex/Makefile +++ b/print/tex-xmltex/Makefile @@ -2,9 +2,9 @@ PORTNAME= xmltex PORTVERSION= 1.9 PORTREVISION= 4 CATEGORIES= print -MASTER_SITES= TEX_CTAN/systems/texlive/${TEXLIVE_YEAR}/ +MASTER_SITES= LOCAL/tex PKGNAMEPREFIX= tex- -DISTNAME= texlive-${TEXLIVE_VERSION}-texmf +DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${TEXLIVE_VERSION}-freebsd DIST_SUBDIR= TeX EXTRACT_ONLY= @@ -14,12 +14,6 @@ COMMENT= Non-validating XML parser, written in TeX USES= tar:xz tex USE_TEX= pdftex fmtutil -EXTRACT_AFTER_ARGS=| ${TAR} -xf - -C ${STAGEDIR}${PREFIX}/share \ - --strip-components 1 --no-same-permission --no-same-owner \ - ${EXTRACT_FILES:S,^,${DISTNAME}/,} -EXTRACT_FILES= \ - texmf-dist/tex/xmltex \ - texmf-dist/doc/otherformats/xmltex NO_ARCH= yes NO_BUILD= yes @@ -27,7 +21,31 @@ TEX_FORMATS= xmltex TEXHASHDIRS= ${TEXMFDISTDIR} do-install: - ${CAT} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \ - ${EXTRACT_AFTER_ARGS} + ${TAR} -Jxf ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \ + -C ${STAGEDIR}${PREFIX}/share \ + --strip-components 1 --no-same-permission --no-same-owner + +.if defined(MAINTAINER_MODE) +_EXTRACT_FILES= \ + texmf-dist/tex/xmltex \ + texmf-dist/doc/otherformats/xmltex +_WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-${TEXLIVE_VERSION} + +_maintainer-extract: + ${MAKE} clean + ${MKDIR} ${_WRKSRC} + ${TAR} -xf ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME_TEXMF}${EXTRACT_SUFX} \ + -C ${_WRKSRC}$ \ + --strip-components 1 --no-same-permission --no-same-owner \ + ${_EXTRACT_FILES:S,^,${DISTNAME_TEXMF}/,} + +_maintainer-dist: _maintainer-extract + ${TAR} --options xz:compression-level=9 -Jcvf \ + ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-${TEXLIVE_VERSION}-freebsd.tar.xz \ + -C ${WRKDIR} ${PKGNAMEPREFIX}${PORTNAME}-${TEXLIVE_VERSION} + scp ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-${TEXLIVE_VERSION}-freebsd.tar.xz \ + bofh@freefall.freebsd.org://home/tex/public_distfiles/ + +.endif .include diff --git a/print/tex-xmltex/distinfo b/print/tex-xmltex/distinfo index ae0d84122d37..d302d70fb1cb 100644 --- a/print/tex-xmltex/distinfo +++ b/print/tex-xmltex/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1680903623 -SHA256 (TeX/texlive-20230313-texmf.tar.xz) = 4c4dc77a025acaad90fb6140db2802cdb7ca7a9a2332b5e3d66aa77c43a81253 -SIZE (TeX/texlive-20230313-texmf.tar.xz) = 3866405744 +TIMESTAMP = 1698416956 +SHA256 (TeX/tex-xmltex-20230313-freebsd.tar.xz) = fb8e6ce06d88b18743a3e22617454caf5a23559ea4aff2843adde0311a955b4f +SIZE (TeX/tex-xmltex-20230313-freebsd.tar.xz) = 75824