[arch-commits] Commit in openntpd/trunk (PKGBUILD openntpd.service)

Levente Polyak anthraxx at archlinux.org
Sun Jan 10 20:04:20 UTC 2021


    Date: Sunday, January 10, 2021 @ 20:04:20
  Author: anthraxx
Revision: 817433

upgpkg: openntpd 6.8p1-1: build against libressl and vendor NTP pool zone

- build against libressl FS#64050
- Use Arch Linux vendor NTP pool zone FS#59803

Modified:
  openntpd/trunk/PKGBUILD
  openntpd/trunk/openntpd.service

------------------+
 PKGBUILD         |   18 +++++++++---------
 openntpd.service |    2 +-
 2 files changed, 10 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-10 20:00:03 UTC (rev 817432)
+++ PKGBUILD	2021-01-10 20:04:20 UTC (rev 817433)
@@ -5,38 +5,38 @@
 # Contributor: Alexander Rødseth <rodseth at gmail.com>
 
 pkgname=openntpd
-pkgver=6.2p3
-pkgrel=4
+pkgver=6.8p1
+pkgrel=1
 pkgdesc='Free, easy to use implementation of the Network Time Protocol'
 url='http://www.openntpd.org/'
 arch=('x86_64')
 license=('BSD')
-depends=('openssl')
+depends=('glibc' 'libressl')
 conflicts=('ntp')
 backup=('etc/ntpd.conf')
-source=(https://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/${pkgname}-${pkgver}.tar.gz{,.asc}
+source=(https://cdn.openbsd.org/pub/OpenBSD/OpenNTPD/${pkgname}-${pkgver}.tar.gz{,.asc}
         openntpd.sysusers
         openntpd.service)
-sha512sums=('56a04bfd8b161b365607673ac80086ff53ae943938fa49bf52edbc541432eca30730a46a4af581fe26ce3bbceb144cb25982a38959b7a3f9304c727fe60f9f50'
+sha512sums=('200056bedb9c757aae1ce5d3f6655175ec058cb479429fe4704955f3a3fa15e8a9cb578ae4898ddb4cfc08c9742bbab6a7c92b5e569f06a148e40c448360b58f'
             'SKIP'
             'b6bb4f39eb435ce6c3314ea4a31430a1f8b70898d17d1fe07fa487bec0e79c022b004d3c11366f0f994546f454e5418caf5b3d7e6e1a205598d2bc8140417f7a'
-            'c58d48de67cd1ce0df7ea60def26db38b9d7409b64d097639a4cde3f4774a4bcc1159f993f37c5c61781cab1e2d1b8a35005030b28b0c9f0f6e0f81053586dfa')
+            '15c1a510fa8f43217b6a3fc3ba287176d04fbe0c4bbea616ab08d1c679ed9da6734233b70b4858093992a3fbf4346642353eb2626fd8e5668cda3712d5ea43b7')
 validpgpkeys=('A1EB079B8D3EB92B4EBD3139663AF51BD5E4D8D5') # Brent Cook <bcook at openbsd.org>
 
 prepare() {
   cd ${pkgname}-${pkgver}
   autoreconf -fiv
+  sed 's|pool.ntp.org|2.arch.pool.ntp.org|' -i ntpd.conf
 }
 
 build() {
   cd ${pkgname}-${pkgver}
-  CFLAGS+=' -fcommon' ./configure \
+  CFLAGS+=' -fcommon -I/usr/include/libressl -L/usr/lib/libressl -Wl,-rpath=/usr/lib/libressl' ./configure \
     --prefix=/usr \
     --sysconfdir=/etc \
     --sbindir=/usr/bin \
     --with-privsep-user=ntp \
-    --localstatedir=/var \
-    --with-adjtimex
+    --localstatedir=/var
   make
 }
 

Modified: openntpd.service
===================================================================
--- openntpd.service	2021-01-10 20:00:03 UTC (rev 817432)
+++ openntpd.service	2021-01-10 20:04:20 UTC (rev 817433)
@@ -5,7 +5,7 @@
 
 [Service]
 Type=forking
-ExecStart=/usr/bin/ntpd -s
+ExecStart=/usr/bin/ntpd
 
 [Install]
 WantedBy=multi-user.target



More information about the arch-commits mailing list