From nobody Fri Dec 8 15:23:09 2023 X-Original-To: dev-commits-src-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 4Smw0j5bkXz52ssl; Fri, 8 Dec 2023 15:24:21 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from mailgate.Leidinger.net (bastille.leidinger.net [89.238.82.207]) (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 ECDSA (P-256) client-digest SHA256) (Client CN "mailgate.leidinger.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Smw0j2q90z4g7x; Fri, 8 Dec 2023 15:24:21 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Authentication-Results: mx1.freebsd.org; none List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1702049045; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=C8LjSRQF+PTZXu9Dg0/SEtdPTF00ntDUkZlU7kQi2Ys=; b=ta0Wh2h2bva3cBg4U0x5C3CglocJkh+v8VZh348ElZIv7CMZsEeHw0LWr2JgkO997yH/ai Qk12Pdty8iL37GcRZZygytVPTRbKC+ayOn4qNuzbg5l1IDkiM2ia14pzLMcxkOP/o0xIu0 EW22wxQUb6RJ1NPtMbOPL1qc0bAoP3dBQahDjV560s4xCqgrs1yMJ/tdm2V7hGpJ1dvq5t QP3kMv09VYPvGsTuR0HKApGkJENN+WOSRGERj3MMsAofN9uYY+HAaLoKJHbDAXrTPofcku 4QJgW3v2N+y3Ok3sxDgyNkVRRLE2dnAh237fcZsAt/zo8IKrGn8xrflsUAkFuA== Date: Fri, 08 Dec 2023 16:23:09 +0100 From: Alexander Leidinger To: Warner Losh Cc: Xin Li , Philip Paeps , src-committers , dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: b1c95af45488 - main - rc.conf: correct $ntp_leapfile_sources In-Reply-To: References: <202312070550.3B75o8WV066387@gitrepo.freebsd.org> <389AB29C-D5C0-4091-91ED-219F33351B35@freebsd.org> <20231207222716.obSthG6r@steffen%sdaoden.eu> <20231208010731.3hijmSTL@steffen%sdaoden.eu> Message-ID: <8cd8ef9a5a55deb56849318896acc711@Leidinger.net> Organization: No organization, this is a private message. Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=_94ba23622ac2fcea1eee5064a258bc5b"; micalg=pgp-sha256 X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:34240, ipnet:89.238.64.0/18, country:DE] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4Smw0j2q90z4g7x This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --=_94ba23622ac2fcea1eee5064a258bc5b Content-Type: multipart/alternative; boundary="=_0dbf177338c9cec8fba12e81a5ac9af6" --=_0dbf177338c9cec8fba12e81a5ac9af6 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8; format=flowed Am 2023-12-08 06:10, schrieb Warner Losh: > On Thu, Dec 7, 2023 at 6:07 PM Steffen Nurpmeso > wrote: > >> What i mean is, the FreeBSD project and its pkg database, isn't >> this a natural place for such a thing? With guaranteed / >> controlled availability. > > The ntp leap stuff does pre-date the pkg by a decade. Having a package > for it might be a natural evolution, Quick and dirty: ---snip--- PORTNAME= leapsecondfile DISTVERSION= 20230328 CATEGORIES= sysutils MASTER_SITES= https://data.iana.org/time-zones/tzdb/ DISTFILES= leap-seconds.list MAINTAINER= security-officer@FreeBSD.org COMMENT= Time Zone Database leap seconds file WWW= https://data.iana.org/time-zones/tzdb LICENSE= PD PLIST_FILES= etc/leap-seconds.list NO_ARCH= yes NO_BUILD= yes NO_EXTRACT= yes EXTRACT_CMD= cp EXTRACT_BEFORE_ARGS= EXTRACT_AFTER_ARGS=${WRKDIR}/ do-install: ${INSTALL_DATA} ${WRKDIR}/leap-seconds.list ${STAGEDIR}/${PREFIX}/etc/leap-seconds.list .include ---snip--- make makesum echo "NTP leap seconds file" > pkg-descr Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_0dbf177338c9cec8fba12e81a5ac9af6 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

Am 2023-12-08 06:10, schrieb Warner Losh:

 

On Thu, Dec 7, 2023 at 6:07=E2=80= =AFPM Steffen Nurpmeso <steffen@sdaoden.eu> wrote:
What i mean is, the FreeBS= D project and its pkg database, isn't
this a natural place for such a = thing?  With guaranteed /
controlled availability.
 
The ntp leap stuff does pre-date the pkg by a decade. Having a package
for it might be a natural evolution,
 

Quick and dirty:

---snip---

PORTNAME=3D  = ;     leapsecondfile
DISTVERSION=3D    20230328
CATEGORIES=3D   &n= bsp; sysutils
MASTER_SITES=3D   https://data.iana.org/time-zones/tzdb/<= br />DISTFILES=3D &n= bsp;    leap-seconds.list
 
MAINTAINER=3D     security-officer@Fre= eBSD.org
COMMENT=3D        Time Zone Database leap seconds file=
WWW=3D =            https://data.iana.org/time-zones/t= zdb
&nbs= p;
LICEN= SE=3D        PD
 
PLIST_FILES=3D    etc/leap-seconds.lis= t
 =
NO_ARCH= =3D        yes
NO_BUILD=3D       yes
NO_EXTRACT=3D  = ;   yes
EXTRACT_CMD=3D    cp
EXTRACT_BEFORE_ARGS=3D
EXTRACT_AFTER_ARGS=3D${WRKDIR}/=
 <= /span>
do-insta= ll:
&nbs= p;       ${INSTALL_DATA} ${WRKDIR}/leap-seconds.list ${STAGE= DIR}/${PREFIX}/etc/leap-seconds.list
 
.include <bsd.port.mk>

---snip---

make makesum

echo "NTP leap seconds file" > pkg-descr

Bye,
Alexander.


--
--=_0dbf177338c9cec8fba12e81a5ac9af6-- --=_94ba23622ac2fcea1eee5064a258bc5b Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc; size=833 Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmVzNO4ACgkQEg2wmwP4 2IbFMg/9EjXNWsdAfG4lXLgKKxdvV93Cn3987JiPtxXZ9/V9DJJOSMPiuTRiwfy1 s4HxXs+GXZGCr5FdWvXcSOExYZU4v19UDU+xm7S9PAjXFd4yjYmI6o+Dzgngr312 /E2AyqtqtA/q1+6XwO1saj3MQHYr49JmoTSdgGxppuhZBMYyysLuqOe8WJhm4HWA WxOgQevBqUq+hQtKFVMBrsbxLzJczXZArBPNXSulgPmwZjRPp7jTxOpiPwkPpMML xi0Xs2TFrv1zQWD5IsTdrQZ9ZI+LL43HaOaR4Ht+LE4PbJkeDYxA0bbawWsaifun PXifScCOsbjRnzzp6cawJqjfK0kL2OyfbBXa/FLPVlOGdUP9AjPVNQBUJipyiC8y wguxSVvjA6Jlk1gasPO3Vv+XM5ERxoWlVG5wXQHnmnXn4I1/7Mo8oJQ3+8VrQ7HP rJm/b7tU1A9wJgGnPLBLv8xub9rZOJac+E8oNeW0jP+ClS8eHyoeW8QuqVBaqnP+ beszeGIwbgaA2NZKbzExEmSLG/fTZBGXP10JHySMxxAHiDd17E8dqPIOFIXuk2d+ DWDxzk+vIvqjViFHwbBB1d9uWeVHEsBsPeReLtWP1NcbijYU5ZCDwRKue+OHPA2c IuvClVCp5+mXLlX9sfI/OdOu1eVFXT5wZdb6oyKxHjrbZ+hZTks= =M0sl -----END PGP SIGNATURE----- --=_94ba23622ac2fcea1eee5064a258bc5b--