Date: Tuesday, January 9, 2018 @ 23:33:34 Author: eschwartz Revision: 280793
archrelease: copy trunk to community-x86_64 Added: openntpd/repos/community-x86_64/PKGBUILD (from rev 280792, openntpd/trunk/PKGBUILD) openntpd/repos/community-x86_64/openntpd.service (from rev 280792, openntpd/trunk/openntpd.service) openntpd/repos/community-x86_64/openntpd.sysusers (from rev 280792, openntpd/trunk/openntpd.sysusers) Deleted: openntpd/repos/community-x86_64/PKGBUILD openntpd/repos/community-x86_64/openntpd.install openntpd/repos/community-x86_64/openntpd.service -------------------+ PKGBUILD | 112 ++++++++++++++++++++++++++-------------------------- openntpd.install | 7 --- openntpd.service | 22 +++++----- openntpd.sysusers | 1 4 files changed, 69 insertions(+), 73 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-01-09 23:33:02 UTC (rev 280792) +++ PKGBUILD 2018-01-09 23:33:34 UTC (rev 280793) @@ -1,55 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Vesa Kaihlavirta <ve...@iki.fi> -# Contributor: Mark Rosenstand <m...@borkware.net> -# Contributor: Giorgio Lando <patroc...@gmail.com> (adjtimex patch) -# Contributor: Alexander Rødseth <rods...@gmail.com> - -pkgname=openntpd -pkgver=6.2p3 -pkgrel=1 -pkgdesc='Free, easy to use implementation of the Network Time Protocol' -url='http://www.openntpd.org/' -arch=('i686' 'x86_64') -license=('BSD') -depends=('openssl') -conflicts=('ntp') -backup=('etc/ntpd.conf') -install=${pkgname}.install -source=(https://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/${pkgname}-${pkgver}.tar.gz{,.asc} - openntpd.service) -sha512sums=('56a04bfd8b161b365607673ac80086ff53ae943938fa49bf52edbc541432eca30730a46a4af581fe26ce3bbceb144cb25982a38959b7a3f9304c727fe60f9f50' - 'SKIP' - 'c58d48de67cd1ce0df7ea60def26db38b9d7409b64d097639a4cde3f4774a4bcc1159f993f37c5c61781cab1e2d1b8a35005030b28b0c9f0f6e0f81053586dfa') -validpgpkeys=('A1EB079B8D3EB92B4EBD3139663AF51BD5E4D8D5') # Brent Cook <bc...@openbsd.org> - -prepare() { - cd ${pkgname}-${pkgver} - autoreconf -fiv -} - -build() { - cd ${pkgname}-${pkgver} - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --sbindir=/usr/bin \ - --with-privsep-user=ntp \ - --localstatedir=/var \ - --with-adjtimex - make -} - -package() { - cd ${pkgname}-${pkgver} - make DESTDIR="${pkgdir}" install - - rmdir "${pkgdir}/var/run" - install -d "${pkgdir}/var/lib/ntp" - install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}" - install -Dm 644 "${srcdir}/openntpd.service" -t "${pkgdir}/usr/lib/systemd/system" - - install -d "${pkgdir}/usr/lib/systemd/ntp-units.d" - echo ${pkgname}.service > "${pkgdir}/usr/lib/systemd/ntp-units.d/${pkgname}.list" -} - -# vim: ts=2 sw=2 et: Copied: openntpd/repos/community-x86_64/PKGBUILD (from rev 280792, openntpd/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-01-09 23:33:34 UTC (rev 280793) @@ -0,0 +1,57 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Vesa Kaihlavirta <ve...@iki.fi> +# Contributor: Mark Rosenstand <m...@borkware.net> +# Contributor: Giorgio Lando <patroc...@gmail.com> (adjtimex patch) +# Contributor: Alexander Rødseth <rods...@gmail.com> + +pkgname=openntpd +pkgver=6.2p3 +pkgrel=2 +pkgdesc='Free, easy to use implementation of the Network Time Protocol' +url='http://www.openntpd.org/' +arch=('x86_64') +license=('BSD') +depends=('openssl') +conflicts=('ntp') +backup=('etc/ntpd.conf') +source=(https://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/${pkgname}-${pkgver}.tar.gz{,.asc} + openntpd.sysusers + openntpd.service) +sha512sums=('56a04bfd8b161b365607673ac80086ff53ae943938fa49bf52edbc541432eca30730a46a4af581fe26ce3bbceb144cb25982a38959b7a3f9304c727fe60f9f50' + 'SKIP' + 'b6bb4f39eb435ce6c3314ea4a31430a1f8b70898d17d1fe07fa487bec0e79c022b004d3c11366f0f994546f454e5418caf5b3d7e6e1a205598d2bc8140417f7a' + 'c58d48de67cd1ce0df7ea60def26db38b9d7409b64d097639a4cde3f4774a4bcc1159f993f37c5c61781cab1e2d1b8a35005030b28b0c9f0f6e0f81053586dfa') +validpgpkeys=('A1EB079B8D3EB92B4EBD3139663AF51BD5E4D8D5') # Brent Cook <bc...@openbsd.org> + +prepare() { + cd ${pkgname}-${pkgver} + autoreconf -fiv +} + +build() { + cd ${pkgname}-${pkgver} + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --sbindir=/usr/bin \ + --with-privsep-user=ntp \ + --localstatedir=/var \ + --with-adjtimex + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + + rmdir "${pkgdir}/var/run" + install -d "${pkgdir}/var/lib/ntp" + install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm 644 "${srcdir}/openntpd.service" -t "${pkgdir}/usr/lib/systemd/system" + install -Dm 644 "${srcdir}/openntpd.sysusers" -t "${pkgdir}/usr/lib/sysusers.d/openntpd.conf" + + install -d "${pkgdir}/usr/lib/systemd/ntp-units.d" + echo ${pkgname}.service > "${pkgdir}/usr/lib/systemd/ntp-units.d/${pkgname}.list" +} + +# vim: ts=2 sw=2 et: Deleted: openntpd.install =================================================================== --- openntpd.install 2018-01-09 23:33:02 UTC (rev 280792) +++ openntpd.install 2018-01-09 23:33:34 UTC (rev 280793) @@ -1,7 +0,0 @@ -post_install() { - getent group ntp &>/dev/null || groupadd -g 87 ntp >/dev/null - getent passwd ntp &>/dev/null || useradd -u 87 -g ntp -d /var/lib/ntp \ - -c 'Network Time Protocol' -s /usr/bin/nologin ntp >/dev/null -} - -# vim: ts=2 sw=2 et ft=sh Deleted: openntpd.service =================================================================== --- openntpd.service 2018-01-09 23:33:02 UTC (rev 280792) +++ openntpd.service 2018-01-09 23:33:34 UTC (rev 280793) @@ -1,11 +0,0 @@ -[Unit] -Description=OpenNTP Daemon -After=network.target -Conflicts=systemd-timesyncd.service - -[Service] -Type=forking -ExecStart=/usr/bin/ntpd -s - -[Install] -WantedBy=multi-user.target Copied: openntpd/repos/community-x86_64/openntpd.service (from rev 280792, openntpd/trunk/openntpd.service) =================================================================== --- openntpd.service (rev 0) +++ openntpd.service 2018-01-09 23:33:34 UTC (rev 280793) @@ -0,0 +1,11 @@ +[Unit] +Description=OpenNTP Daemon +After=network.target +Conflicts=systemd-timesyncd.service + +[Service] +Type=forking +ExecStart=/usr/bin/ntpd -s + +[Install] +WantedBy=multi-user.target Copied: openntpd/repos/community-x86_64/openntpd.sysusers (from rev 280792, openntpd/trunk/openntpd.sysusers) =================================================================== --- openntpd.sysusers (rev 0) +++ openntpd.sysusers 2018-01-09 23:33:34 UTC (rev 280793) @@ -0,0 +1 @@ +u ntp 87 "Network Time Protocol" /var/lib/ntp