|
4 | 4 |
|
5 | 5 | pkgname=ntp |
6 | 6 | _pkgname=ntp #-dev |
7 | | -_pkgver=4.2.8p15 |
| 7 | +_pkgver=4.2.8p17 |
8 | 8 | pkgver=${_pkgver/p/.p} |
9 | | -pkgrel=2 |
| 9 | +pkgrel=1 |
10 | 10 | pkgdesc='Network Time Protocol reference implementation' |
11 | | -url='http://www.ntp.org/' |
| 11 | +url='https://www.ntp.org/' |
12 | 12 | license=('custom') |
13 | 13 | arch=('x86_64') |
14 | 14 | depends=('openssl' 'perl' 'libcap' 'libedit') |
15 | 15 | backup=('etc/ntp.conf') |
16 | 16 | source=("https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/${_pkgname}-${_pkgver}.tar.gz" |
17 | | - 'ntp-4.2.8_p15-glibc-2.34.patch' |
18 | 17 | 'ntp.conf' |
19 | 18 | 'ntpd.service' |
20 | 19 | 'ntpdate.service' |
21 | 20 | 'noroot.patch' |
22 | 21 | 'ntp.sysusers') |
23 | | -sha1sums=('e34e5b6f48c3ed1bbcfb03080dec1b8f91e19381' |
24 | | - '1423b8ef72a3806ed74affc1973f66ed7cfa2afb' |
25 | | - 'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1' |
26 | | - '0cccca872385e0142888ab48d273fec0669b30a8' |
27 | | - '059b382d1af0c55202e2d17f2ae065a2cbfec9ee' |
| 22 | +sha256sums=('103dd272e6a66c5b8df07dce5e9a02555fcd6f1397bdfb782237328e89d3a866' |
| 23 | + 'abccefe0b3a65cd375d5071ce780be8d2d205439aa6d34bcd3c56de6e80ba821' |
| 24 | + '1edd7e7916766b4aebb4d96a5da4b0a1086f43d3e0e4ffc90c2e4f92bd13ce7e' |
| 25 | + '63b0f8c03905daecad3f901664db70a608519b6ca4f4e7b159ab2c971cffacf4' |
28 | 26 | 'SKIP' |
29 | | - 'e8d1c895eabeb45b1a5f096fa5fc3c088eb3ee71') |
| 27 | + 'f839a3b6d8e64fcd9332274131b4d5aa0b2c272db072dc310af1735ef286746a') |
30 | 28 | options=('!emptydirs') |
31 | 29 |
|
32 | 30 | prepare() { |
33 | | - cd "${srcdir}/${_pkgname}-${_pkgver}" |
34 | | - patch -Np1 -i ../ntp-4.2.8_p15-glibc-2.34.patch |
| 31 | + cd "${_pkgname}-${_pkgver}" |
35 | 32 | patch --strip=1 --input="${srcdir}/noroot.patch" |
36 | 33 | } |
37 | 34 |
|
38 | 35 | build() { |
39 | | - cd "${srcdir}/${_pkgname}-${_pkgver}" |
| 36 | + cd "${_pkgname}-${_pkgver}" |
40 | 37 |
|
41 | 38 | ./configure --prefix=/usr --libexecdir=/usr/lib --enable-linuxcaps --enable-ntp-signd |
42 | 39 | make |
43 | 40 | } |
44 | 41 |
|
45 | 42 | package() { |
46 | | - cd "${srcdir}/${_pkgname}-${_pkgver}" |
| 43 | + cd "${_pkgname}-${_pkgver}" |
47 | 44 |
|
48 | 45 | make DESTDIR="${pkgdir}" install |
49 | 46 |
|
|
0 commit comments