diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | htpdate.service | 6 |
3 files changed, 8 insertions, 10 deletions
@@ -1,9 +1,7 @@ | |||
1 | # Generated by mksrcinfo v8 | ||
2 | # Thu Jan 25 14:13:04 UTC 2018 | ||
3 | pkgbase = htpdate | 1 | pkgbase = 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 | ||
17 | pkgname = htpdate | 15 | pkgname = htpdate |
18 | 16 | ||
@@ -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> |
4 | pkgname=htpdate | 4 | pkgname=htpdate |
5 | pkgver=1.2.0 | 5 | pkgver=1.2.0 |
6 | pkgrel=1 | 6 | pkgrel=2 |
7 | pkgdesc="A client for time synchronisation" | 7 | pkgdesc="A client for time synchronisation" |
8 | arch=(i686 x86_64) | 8 | arch=(i686 x86_64) |
9 | url="http://www.vervest.org/htp/" | 9 | url="http://www.vervest.org/htp/" |
@@ -11,7 +11,7 @@ license=(GPL2) | |||
11 | depends=('glibc') | 11 | depends=('glibc') |
12 | source=("http://www.vervest.org/htp/archive/c/${pkgname}-${pkgver}.tar.xz" "htpdate.service") | 12 | source=("http://www.vervest.org/htp/archive/c/${pkgname}-${pkgver}.tar.xz" "htpdate.service") |
13 | md5sums=('9d5ca69be06edf5d535b52b5f790da4e' | 13 | md5sums=('9d5ca69be06edf5d535b52b5f790da4e' |
14 | 'fd11d26ebff84d9538ce9ab6238fae73') | 14 | 'ed9c9b1222e90e6ee0751f8f88772606') |
15 | build() { | 15 | build() { |
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] |
2 | Description=Htpdate Daemon | 2 | Description=Htpdate daemon |
3 | 3 | ||
4 | [Service] | 4 | [Service] |
5 | Type=forking | 5 | Type=forking |
6 | PIDFile=/run/htpdate.pid | 6 | PIDFile=/var/run/htpdate.pid |
7 | ExecStart=/usr/bin/htpdate -D -s -i /run/htpdate.pid www.linux.org www.freebsd.org | 7 | ExecStart=/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] |
10 | WantedBy=multi-user.target | 10 | WantedBy=multi-user.target |