summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD4
-rw-r--r--htpdate.service6
3 files changed, 8 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0586bb7..4665f95 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
1# Generated by mksrcinfo v8
2# Thu Jan 25 14:13:04 UTC 2018
3pkgbase = htpdate 1pkgbase = htpdate
4 pkgdesc = A client for time synchronisation 2 pkgdesc = A client for time synchronisation
5 pkgver = 1.2.0 3 pkgver = 1.2.0
6 pkgrel = 1 4 pkgrel = 2
7 url = http://www.vervest.org/htp/ 5 url = http://www.vervest.org/htp/
8 arch = i686 6 arch = i686
9 arch = x86_64 7 arch = x86_64
@@ -11,8 +9,8 @@ pkgbase = htpdate
11 depends = glibc 9 depends = glibc
12 source = http://www.vervest.org/htp/archive/c/htpdate-1.2.0.tar.xz 10 source = http://www.vervest.org/htp/archive/c/htpdate-1.2.0.tar.xz
13 source = htpdate.service 11 source = htpdate.service
14 md5sums = 51fcfe05fc4f8be6b19ecbaf88e8deaa 12 md5sums = 9d5ca69be06edf5d535b52b5f790da4e
15 md5sums = b419153625904d9a5544e585f69c66c5 13 md5sums = ed9c9b1222e90e6ee0751f8f88772606
16 14
17pkgname = htpdate 15pkgname = htpdate
18 16
diff --git a/PKGBUILD b/PKGBUILD
index 0ddc3c4..f29ee6e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
3# Contributor: Hussam Al-Tayeb <hussam at visp dot net dot lb> 3# Contributor: Hussam Al-Tayeb <hussam at visp dot net dot lb>
4pkgname=htpdate 4pkgname=htpdate
5pkgver=1.2.0 5pkgver=1.2.0
6pkgrel=1 6pkgrel=2
7pkgdesc="A client for time synchronisation" 7pkgdesc="A client for time synchronisation"
8arch=(i686 x86_64) 8arch=(i686 x86_64)
9url="http://www.vervest.org/htp/" 9url="http://www.vervest.org/htp/"
@@ -11,7 +11,7 @@ license=(GPL2)
11depends=('glibc') 11depends=('glibc')
12source=("http://www.vervest.org/htp/archive/c/${pkgname}-${pkgver}.tar.xz" "htpdate.service") 12source=("http://www.vervest.org/htp/archive/c/${pkgname}-${pkgver}.tar.xz" "htpdate.service")
13md5sums=('9d5ca69be06edf5d535b52b5f790da4e' 13md5sums=('9d5ca69be06edf5d535b52b5f790da4e'
14 'fd11d26ebff84d9538ce9ab6238fae73') 14 'ed9c9b1222e90e6ee0751f8f88772606')
15build() { 15build() {
16 cd ${pkgname}-${pkgver} 16 cd ${pkgname}-${pkgver}
17 make 17 make
diff --git a/htpdate.service b/htpdate.service
index 116aaba..21946d2 100644
--- a/htpdate.service
+++ b/htpdate.service
@@ -1,10 +1,10 @@
1[Unit] 1[Unit]
2Description=Htpdate Daemon 2Description=Htpdate daemon
3 3
4[Service] 4[Service]
5Type=forking 5Type=forking
6PIDFile=/run/htpdate.pid 6PIDFile=/var/run/htpdate.pid
7ExecStart=/usr/bin/htpdate -D -s -i /run/htpdate.pid www.linux.org www.freebsd.org 7ExecStart=/usr/bin/htpdate -D -a -s -i /var/run/htpdate.pid www.linux.org www.freebsd.org ntp.neu.edu.cn www.kernel.org
8 8
9[Install] 9[Install]
10WantedBy=multi-user.target 10WantedBy=multi-user.target