Am 2023-12-08 06:10, schrieb Warner Losh:
On Thu, Dec 7, 2023 at 6:07 PM Steffen Nurpmeso <stef...@sdaoden.eu> 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-offi...@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 <bsd.port.mk> ---snip--- make makesum echo "NTP leap seconds file" > pkg-descr Bye, Alexander. -- http://www.Leidinger.net alexan...@leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netch...@freebsd.org : PGP 0x8F31830F9F2772BF
signature.asc
Description: OpenPGP digital signature