[arch-commits] Commit in chrony/repos/community-x86_64 (6 files)
Levente Polyak
anthraxx at archlinux.org
Thu May 13 15:35:20 UTC 2021
Date: Thursday, May 13, 2021 @ 15:35:20
Author: anthraxx
Revision: 933302
archrelease: copy trunk to community-x86_64
Added:
chrony/repos/community-x86_64/PKGBUILD
(from rev 933301, chrony/trunk/PKGBUILD)
chrony/repos/community-x86_64/chrony.sysusers
(from rev 933301, chrony/trunk/chrony.sysusers)
chrony/repos/community-x86_64/chrony.tmpfiles
(from rev 933301, chrony/trunk/chrony.tmpfiles)
Deleted:
chrony/repos/community-x86_64/PKGBUILD
chrony/repos/community-x86_64/chrony.sysusers
chrony/repos/community-x86_64/chrony.tmpfiles
-----------------+
PKGBUILD | 181 +++++++++++++++++++++++++++---------------------------
chrony.sysusers | 2
chrony.tmpfiles | 2
3 files changed, 93 insertions(+), 92 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-13 15:35:15 UTC (rev 933301)
+++ PKGBUILD 2021-05-13 15:35:20 UTC (rev 933302)
@@ -1,90 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Daniel Micay <danielmicay at gmail.com>
-# Contributor: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
-# Contributor: Patrick Leslie Polzer <leslie.polzer at gmx.net>
-# Contributor: cdhotfire <cdhotfire at gmail.com>
-# Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>
-# Contributor: Elisamuel Resto <ryuji at simplysam.us>
-
-pkgname=chrony
-pkgver=4.0
-pkgrel=1
-pkgdesc='Lightweight NTP client and server'
-url='https://chrony.tuxfamily.org/'
-arch=('x86_64')
-license=('GPL2')
-depends=('glibc' 'libcap' 'libcap.so' 'libedit' 'libedit.so' 'libseccomp' 'libseccomp.so'
- 'nettle' 'libnettle.so' 'gnutls')
-makedepends=('asciidoctor')
-options=('!emptydirs')
-backup=('etc/chrony.conf')
-source=(https://download.tuxfamily.org/chrony/${pkgname}-${pkgver}.tar.gz
- ${pkgname}-${pkgver}.tar.gz.asc::https://download.tuxfamily.org/chrony/${pkgname}-${pkgver}-tar-gz-asc.txt
- chrony.sysusers
- chrony.tmpfiles)
-sha256sums=('be27ea14c55e7a4434b2fa51d53018c7051c42fa6a3198c9aa6a1658bae0c625'
- 'SKIP'
- '56aa817638c8f959169d514f1e7fc727ef31e7d3beda4fca5165292c7602ee42'
- 'c0b52787f68f3ef365eef64f53f22b4fb0046a91f0e38923f9d16f1ca19c3f3a')
-b2sums=('1d4035977be3603b34024c5c1c2aa5f2b4aca03fe7dc1eb41be2e9aeefa06e20a5f74776c50bdadaffba10ae25e7980bcbd9cf2b999bd73087728afe7a80253e'
- 'SKIP'
- 'e310a05f95d84741f7ddbbc496c52a9f603bb79afc47e57d291a92ae02efb630a357fda378ab5a11875c3997d073e05019d88dce7bbf4377a0228f328ba78fec'
- 'e709df2f97b523ef1c7a9dae3232ccbd235ac8f025eba866165272f8ba0372a0aba965d3aae1402395e43331bd629b9d8f3fbffd75fc254f4a7e5ecd47f73130')
-validpgpkeys=('8B1F4A9ADA73D401E3085A0B5FF06F29BA1E013B') # Miroslav Lichvar <mlichvar at redhat.com> has a dsa1024 key *in the wild*
-
-prepare() {
- cd ${pkgname}-${pkgver}
- sed -i \
- -e 's|pool pool.ntp.org|pool 2.arch.pool.ntp.org|g' \
- -e 's|server foo.example.net|server 0.arch.pool.ntp.org|g' \
- -e 's|server bar.example.net|server 1.arch.pool.ntp.org|g' \
- -e 's|server baz.example.net|server 3.arch.pool.ntp.org|g' \
- examples/chrony.conf.example*
- sed 's|/usr/sbin|/usr/bin|g' -i examples/*.service
-}
-
-build() {
- cd ${pkgname}-${pkgver}
- ./configure \
- --prefix=/usr \
- --enable-readline \
- --enable-scfilter \
- --enable-ntp-signd \
- --with-user=chrony \
- --with-sendmail=/usr/bin/sendmail \
- --with-hwclockfile=/etc/adjtime \
- --sbindir=/usr/bin \
- --with-pidfile=/run/chrony/chronyd.pid
- make
-}
-
-check() {
- cd ${pkgname}-${pkgver}
- make check
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" install install-docs
-
- install -Dm 644 "${srcdir}/chrony.sysusers" "${pkgdir}/usr/lib/sysusers.d/chrony.conf"
- install -Dm 644 "${srcdir}/chrony.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/chrony.conf"
- install -Dm 644 examples/{chronyd,chrony-wait}.service -t "${pkgdir}/usr/lib/systemd/system"
- install -Dm 644 examples/chrony.logrotate "${pkgdir}/etc/logrotate.d/chrony"
- install -Dm 644 README NEWS FAQ -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -Dm 644 examples/* -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
- echo "chronyd.service" | install -Dm 644 /dev/stdin "${pkgdir}/usr/lib/systemd/ntp-units.d/chrony.list"
-
- install -Dm 644 examples/chrony.conf.example3 "${pkgdir}/etc/chrony.conf"
- sed -i \
- -e '/^! pool /s/^! //' \
- -e '/^! leapsectz right\/UTC/s/^! //' \
- -e '/^! makestep 1.0 3/s/^! //' \
- -e '/^! rtcsync/s/^! //' \
- "${pkgdir}/etc/chrony.conf"
-
- rmdir "${pkgdir}"{/var/lib/chrony,/var/lib}
-}
-
-# vim: ts=2 sw=2 et:
Copied: chrony/repos/community-x86_64/PKGBUILD (from rev 933301, chrony/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-13 15:35:20 UTC (rev 933302)
@@ -0,0 +1,91 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# Contributor: Patrick Leslie Polzer <leslie.polzer at gmx.net>
+# Contributor: cdhotfire <cdhotfire at gmail.com>
+# Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>
+# Contributor: Elisamuel Resto <ryuji at simplysam.us>
+
+pkgname=chrony
+pkgver=4.1
+pkgrel=1
+pkgdesc='Lightweight NTP client and server'
+url='https://chrony.tuxfamily.org/'
+arch=('x86_64')
+license=('GPL2')
+depends=('glibc' 'libcap' 'libcap.so' 'libedit' 'libedit.so' 'libseccomp' 'libseccomp.so'
+ 'nettle' 'libnettle.so' 'gnutls')
+makedepends=('asciidoctor')
+options=('!emptydirs')
+backup=('etc/chrony.conf')
+source=(https://download.tuxfamily.org/chrony/${pkgname}-${pkgver}.tar.gz
+ ${pkgname}-${pkgver}.tar.gz.asc::https://download.tuxfamily.org/chrony/${pkgname}-${pkgver}-tar-gz-asc.txt
+ chrony.sysusers
+ chrony.tmpfiles)
+sha256sums=('ed76f2d3f9347ac6221a91ad4bd553dd0565ac188cd7490d0801d08f7171164c'
+ 'SKIP'
+ '56aa817638c8f959169d514f1e7fc727ef31e7d3beda4fca5165292c7602ee42'
+ 'c0b52787f68f3ef365eef64f53f22b4fb0046a91f0e38923f9d16f1ca19c3f3a')
+b2sums=('f9c4b44c521ee592c109b8a3d500b9cb3ea4fbf0d7dce9d8754498ad41ce2ac87c913cf72a38557ce5f28208672163b21b067307f723fd91cc91d71f69e739ef'
+ 'SKIP'
+ 'e310a05f95d84741f7ddbbc496c52a9f603bb79afc47e57d291a92ae02efb630a357fda378ab5a11875c3997d073e05019d88dce7bbf4377a0228f328ba78fec'
+ 'e709df2f97b523ef1c7a9dae3232ccbd235ac8f025eba866165272f8ba0372a0aba965d3aae1402395e43331bd629b9d8f3fbffd75fc254f4a7e5ecd47f73130')
+validpgpkeys=(
+ '8F375C7E8D0EE125A3D3BD51537E2B76F7680DAC' # Miroslav Lichvar <mlichvar at redhat.com>
+)
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ sed -i \
+ -e 's|pool pool.ntp.org|pool 2.arch.pool.ntp.org|g' \
+ -e 's|server foo.example.net|server 0.arch.pool.ntp.org|g' \
+ -e 's|server bar.example.net|server 1.arch.pool.ntp.org|g' \
+ -e 's|server baz.example.net|server 3.arch.pool.ntp.org|g' \
+ examples/chrony.conf.example*
+ sed 's|/usr/sbin|/usr/bin|g' -i examples/*.service
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure \
+ --prefix=/usr \
+ --enable-scfilter \
+ --enable-ntp-signd \
+ --with-user=chrony \
+ --with-sendmail=/usr/bin/sendmail \
+ --with-hwclockfile=/etc/adjtime \
+ --sbindir=/usr/bin \
+ --with-pidfile=/run/chrony/chronyd.pid
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install install-docs
+
+ install -Dm 644 "${srcdir}/chrony.sysusers" "${pkgdir}/usr/lib/sysusers.d/chrony.conf"
+ install -Dm 644 "${srcdir}/chrony.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/chrony.conf"
+ install -Dm 644 examples/{chronyd,chrony-wait}.service -t "${pkgdir}/usr/lib/systemd/system"
+ install -Dm 644 examples/chrony.logrotate "${pkgdir}/etc/logrotate.d/chrony"
+ install -Dm 644 README NEWS FAQ -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 examples/* -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
+ echo "chronyd.service" | install -Dm 644 /dev/stdin "${pkgdir}/usr/lib/systemd/ntp-units.d/chrony.list"
+
+ install -Dm 644 examples/chrony.conf.example3 "${pkgdir}/etc/chrony.conf"
+ sed -i \
+ -e '/^! pool /s/^! //' \
+ -e '/^! leapsectz right\/UTC/s/^! //' \
+ -e '/^! makestep 1.0 3/s/^! //' \
+ -e '/^! rtcsync/s/^! //' \
+ "${pkgdir}/etc/chrony.conf"
+
+ rmdir "${pkgdir}"{/var/lib/chrony,/var/lib}
+}
+
+# vim: ts=2 sw=2 et:
Deleted: chrony.sysusers
===================================================================
--- chrony.sysusers 2021-05-13 15:35:15 UTC (rev 933301)
+++ chrony.sysusers 2021-05-13 15:35:20 UTC (rev 933302)
@@ -1 +0,0 @@
-u chrony - "Network Time Protocol" /var/lib/chrony
Copied: chrony/repos/community-x86_64/chrony.sysusers (from rev 933301, chrony/trunk/chrony.sysusers)
===================================================================
--- chrony.sysusers (rev 0)
+++ chrony.sysusers 2021-05-13 15:35:20 UTC (rev 933302)
@@ -0,0 +1 @@
+u chrony - "Network Time Protocol" /var/lib/chrony
Deleted: chrony.tmpfiles
===================================================================
--- chrony.tmpfiles 2021-05-13 15:35:15 UTC (rev 933301)
+++ chrony.tmpfiles 2021-05-13 15:35:20 UTC (rev 933302)
@@ -1 +0,0 @@
-d /var/lib/chrony 0755 chrony chrony - -
Copied: chrony/repos/community-x86_64/chrony.tmpfiles (from rev 933301, chrony/trunk/chrony.tmpfiles)
===================================================================
--- chrony.tmpfiles (rev 0)
+++ chrony.tmpfiles 2021-05-13 15:35:20 UTC (rev 933302)
@@ -0,0 +1 @@
+d /var/lib/chrony 0755 chrony chrony - -
More information about the arch-commits
mailing list