From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,T_SCC_BODY_TEXT_LINE,URIBL_CSS autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 15932 invoked from network); 9 Jul 2022 03:55:39 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 9 Jul 2022 03:55:39 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id 8179920A00 for ; Fri, 8 Jul 2022 23:55:37 -0400 (EDT) (envelope-from bounce.mM7b20bd28c4745193c7c3cdcd.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 7E8EA2BC5561; Fri, 8 Jul 2022 23:55:37 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=Vd7XAU/R header.a=rsa-sha256 header.s=20210112 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=skip.tavakkolian@gmail.com smtp.helo=mail-yb1-f175.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type:list-help:list-id:list-post :list-subscribe:reply-to:content-transfer-encoding :list-unsubscribe; s=sysmsg-1; t=1657338937; bh=PzpYunUA4eT8bP8A QBmn2IVEVzavsDMgpN9f+hxeGDA=; b=EakM88OjGl02yAYT74MPpg2Tuzr1d8iy 85b8sE0Foug8ldACSGzqelq0x9oBqWHCMyCsjcvp/SLzu4n/D5GhISbPygYB/GGB 9AdBEWkMiXIhi7kmnPeustp9m6CGArjTDpMTew6dbMiQrg1YOOgQm+/fPn2KKh2H uCp6x9nejD4= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1657338937; b=lVX5lRWozXYIgLkJ9YYizK9zqg1ioG+XRz1rx4u2MXNPYU9Gi+ 4rwqs+hJaSsJb3g7I9SSOUZBipab6hywqpFgOKKlG92ynMIe6pM4Pzrod1MjyMYq eP1s348zLd3MIqp9aUrW/M1MYaVxzXO5JtqOMfhz+aHOGYEQLyWquGp+U= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=Vd7XAU/R header.a=rsa-sha256 header.s=20210112 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=skip.tavakkolian@gmail.com smtp.helo=mail-yb1-f175.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=Vd7XAU/R header.a=rsa-sha256 header.s=20210112 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.219.175 (mail-yb1-f175.google.com); spf=pass smtp.mailfrom=skip.tavakkolian@gmail.com smtp.helo=mail-yb1-f175.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=FPEU/lni; x-me-sender=none; x-ptr=pass smtp.helo=mail-yb1-f175.google.com policy.ptr=mail-yb1-f175.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt4.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt4.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h= mime-version:references:in-reply-to:from:date:message-id:subject :to:content-type:list-help:list-id:list-post:list-subscribe :reply-to:content-transfer-encoding:list-unsubscribe; s=dkim-1; t=1657338937; x=1657425337; bh=IooXkbFg4qbc0KbhP/vLEhpISLIFKwSQ XiTRW4NwXUA=; b=o7dk9fcyaKWldssJb11FS2yfoNMKdfV/AQe2aG2tYCZAS75K IRGiGBfeXkEhV/5dOU8C0P03XbwgRs9X2gsoU624LlQ7EcL30iNd6uLQEMlLCoYw ZJlQR1lytTODjfANCFppHgNOYoP1XdciUVzvzUdy5M/VN1W1BY5R1nOTxNw= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 6309F2BC5148 for <9fans@9fans.net>; Fri, 8 Jul 2022 23:55:24 -0400 (EDT) (envelope-from skip.tavakkolian@gmail.com) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id F18DA61D450; Fri, 8 Jul 2022 23:55:24 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1657338924; b=EI18ir74k/5gLh0oJcpEEUpnuEf3Ou6lwoyvd1LWfBLR7aVD2P CVojSOPQTo6YGB7lpGkKs6k68h0cWv3SFtOiPGHilMdda9cKtH3HgRKFygodHK3N 2V1TRDOpceaAec1Cb2criKtC8lSCK/lwd0J43CTjGYM17NH9QRhiIImvnBUyn11E 5JWV/a0LykFGArxFu2umdvmK8n6/Wr7s0WasLj28fWmTuLSjZYTtSicx1kubT+m4 3f2ewHK4F+nzPl0mKeLUOQu+GBrRh3VRwJ/H7GdlGw6HIV6yUR42KCcDMUcZsJyK ghxszby0sfStCYt9D2yxn9/30rAofpgECzEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; s=arcseal; t=1657338924; bh=QQ1SGvPxLbIsi72RBV9jKBG8L276sjvuBQmMgTP1wPk=; b=btr1qsw6h8zJ R8EOeSUFlOrgWgfiY7hAR1l9mSUjbH2aM855wtoTuTwrz/iVGx45spW+sDEbiyje 4vH6+N0kFONeh+odmsw282OFF0gE0YZ05cjQs2/hnt1zUe/D7r2b8Os5ayiDqlln y//01M/+o/nqcTQ2HMTg6AVqrdtbGV5eLT5ekENOJLsW164J05MctOA7RJwrlSZ3 8AG664wfU37r0nNWjvHob13YCTqI/1cieFvGPgwdwlscFjUDthFfbUFp14XdDsML Su0NGYQRiJD1JeNSq+Vz/1eYzDCUjBT2sEX1uyIw79efT/QD0EdLSC4rgYnnmQV6 hxJ8bcalKg== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=Vd7XAU/R header.a=rsa-sha256 header.s=20210112 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.219.175 (mail-yb1-f175.google.com); spf=pass smtp.mailfrom=skip.tavakkolian@gmail.com smtp.helo=mail-yb1-f175.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=FPEU/lni; x-me-sender=none; x-ptr=pass smtp.helo=mail-yb1-f175.google.com policy.ptr=mail-yb1-f175.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt4.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt4.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeikedgjeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeggfhgjhf ffkffuvfgtsegrtderredttdejnecuhfhrohhmpefukhhiphcuvfgrvhgrkhhkohhlihgr nhcuoehskhhiphdrthgrvhgrkhhkohhlihgrnhesghhmrghilhdrtghomheqnecuggftrf grthhtvghrnhepvddvueffueehieelgefhiedvhffhfefgheevffetfeffveetlefghfeh heeujeeinecuffhomhgrihhnpegtthgrnhdrohhrghdpkhgvrhhgihhsrdgtohhmpdhssg hfrgdrfhhrpdhtohhpihgtsghogidrtghomhdpthhhvghmrghinhhtvgigrhgvphhoshhi thhorhihihhstghtrghnrdhnohifpdhhthhtphhsrgguughrvghsshhinhhsthgvrgguth hotghirhgtuhhmvhgvnhhtthhhvghprhhosghlvghmrdhishenucfkphepvddtledrkeeh rddvudelrddujeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvth epvddtledrkeehrddvudelrddujeehpdhhvghlohepmhgrihhlqdihsgduqdhfudejhedr ghhoohhglhgvrdgtohhmpdhmrghilhhfrhhomhepoehskhhiphdrthgrvhgrkhhkohhlih grnhesghhmrghilhdrtghomheq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (gmail.com ... _spf.google.com: Sender is authorized to use 'skip.tavakkolian@gmail.com' in 'mfrom' identity (mechanism 'include:_netblocks.google.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="skip.tavakkolian@gmail.com"; helo=mail-yb1-f175.google.com; client-ip=209.85.219.175 Received: from mail-yb1-f175.google.com (mail-yb1-f175.google.com [209.85.219.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Fri, 8 Jul 2022 23:55:23 -0400 (EDT) (envelope-from skip.tavakkolian@gmail.com) Received: by mail-yb1-f175.google.com with SMTP id y195so785300yby.0 for <9fans@9fans.net>; Fri, 08 Jul 2022 20:55:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=QQ1SGvPxLbIsi72RBV9jKBG8L276sjvuBQmMgTP1wPk=; b=FPEU/lni8nrjy07nYaKOpg63J871OF1dXsppeaIW4fJoQDszs2FEDNAxBF2MFT7cT7 RIl+oXqMAn5Yp3yH0dfYGPkLlDtBpuLbBeBB35D3VB9Om0RDlJN8RaU0FfRMj9RJ4KxM b/NMaHcIuUhQgGFO2w0vJ1Fd0S3dH9ZqVfIsaHdoVDD/RtrG57B17zvi5AYzk627QtC9 64qTFQ8ClXbOm54g4NrQGqZAxBbzZdfrR1PBPZjYZN+jD42CwbfwnshsOWkyvpHQN5bh WNvermJ5sAI9v9FPrEmPcWAaOl01vmd4HwDevfPPr10NHBA+0mnF3+ZrociHt6bITmWl WueA== X-Gm-Message-State: AJIora9AonU4ucSsnet5OsnkrJOUF1/LFMNjgCPQ4Fmm3k8sQPCsXKfF H5191HyD6abGk3jpdpOrNBBKgVTCf3u5jeIz2NnB0LcM X-Google-Smtp-Source: AGRyM1sat6qXGs8Baj0JgYDGAv4QiFiaZ6Tr7Nud4dBgcRBIP53UVbt1cJVXK4DYdvBbVfSaPL7cRP/l1VPnsjuUjZ0= X-Received: by 2002:a25:d00b:0:b0:66e:e393:aa68 with SMTP id h11-20020a25d00b000000b0066ee393aa68mr3102421ybg.65.1657338922972; Fri, 08 Jul 2022 20:55:22 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Skip Tavakkolian Date: Fri, 8 Jul 2022 20:55:10 -0700 Message-ID: Subject: Re: [9fans] hget'ing from a cdn To: 9fans <9fans@9fans.net> Content-Type: multipart/alternative; boundary=000000000000c6b84b05e357497f Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: f92e1fd6-ff3a-11ec-8424-abe642ec54c8 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNThiYjZiNDYyZmY1MjUzMi1NN2IyMGJkMjhjNDc0NTE5M2M3YzNj?= =?UTF-8?B?ZGNkPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Content-Transfer-Encoding: 7bit List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M7b20bd28c4745193c7c3cdcd:1:MSqJH50fk8NKY414W-AfHIj5lIjPN19uW7MH1sg2THA --000000000000c6b84b05e357497f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Use a client written in Go? On Fri, Jul 8, 2022, 12:53 PM wrote: > Hello, >=20 > Pkg in kerTeX are created by processing and first retrieving files using > hget(1) for http served files. >=20 > The main TeX repository is CTAN. Now, there is an address: > mirrors.ctan.org (http/https), that is in fact redirecting dynamically > to various mirrors (this changes almost on any invocation). >=20 > There is a difference in implementation between Plan9 legacy and 9front, > hget(1) being, if I'm not mistaken, a binary in Plan9 legacy, and a rc > script in 9front. >=20 > The problem is that the redirection is not handled at least by one of > these and I have to keep a static cache on my website server to mirror > the files so that users can use the downloads.kergis.com/kertex/ > (http/https) address instead to circumvent the problem. >=20 > Is there a way to make it work ideally on both flavors, so that the > pkg/recipes are indeed "live" taking whatever is current on CTAN using > whatever mirror? >=20 > TIA, > -- > Thierry Laronde > http://www.kergis.com/ > http://kertex.kergis.com/ > http://www.sbfa.fr/ > Key fingerprint =3D 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T58bb6b462ff52532-M7b20b= d28c4745193c7c3cdcd Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --000000000000c6b84b05e357497f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Use a client written in Go?

<= div class=3D"gmail_quote">
On Fri, Jul= 8, 2022, 12:53 PM <tlaronde@po= lynum.com> wrote:
Hello,
Pkg in kerTeX are created by processing and first retrieving files using hget(1) for http served files.

The main TeX repository is CTAN. Now, there is an address:
mi= rrors.ctan.org (http/https), that is in fact redirecting dynamically to various mirrors (this changes almost on any invocation).

There is a difference in implementation between Plan9 legacy and 9front, hget(1) being, if I'm not mistaken, a binary in Plan9 legacy, and a rc<= br /> script in 9front.

The problem is that the redirection is not handled at least by one of
these and I have to keep a static cache on my website server to mirror
the files so that users can use the downloads.kergis.c= om/kertex/
(http/https) address instead to circumvent the problem.

Is there a way to make it work ideally on both flavors, so that the
pkg/recipes are indeed "live" taking whatever is current on CTAN = using
whatever mirror?

TIA,
--
        Thierry Laronde <tlaronde +AT+ polynum +dot+= com>
                     = ;http://www.kergis.com/
                    http://kertex.kergis.com/
                     = ;  http://www.sbfa.fr/
Key fingerprint =3D 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C=

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T58bb6b462ff52532-Mc948b2a7249= c2e203a3c7aa7
Delivery options: https://9fans.topic= box.com/groups/9fans/subscription
<= /html> = --000000000000c6b84b05e357497f--