summaryrefslogtreecommitdiff
path: root/extra/ntp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ntp/PKGBUILD')
-rw-r--r--extra/ntp/PKGBUILD21
1 files changed, 6 insertions, 15 deletions
diff --git a/extra/ntp/PKGBUILD b/extra/ntp/PKGBUILD
index edaaa9464..3fc20f5b8 100644
--- a/extra/ntp/PKGBUILD
+++ b/extra/ntp/PKGBUILD
@@ -1,32 +1,26 @@
-# $Id: PKGBUILD 184344 2013-05-06 10:28:53Z bisson $
+# $Id: PKGBUILD 191962 2013-08-02 03:24:15Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: kevin <kevin@archlinux.org>
pkgname=ntp
pkgver=4.2.6.p5
_realver=4.2.6p5
-pkgrel=14
+pkgrel=17
pkgdesc='Network Time Protocol reference implementation'
url='http://www.ntp.org/'
license=('custom')
arch=('i686' 'x86_64' 'mips64el')
makedepends=('perl-html-parser')
depends=('openssl' 'libcap' 'libedit')
-backup=('etc/ntp.conf' 'etc/conf.d/ntpd.conf')
+backup=('etc/ntp.conf')
source=("http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${_realver}.tar.gz"
- 'ntpd'
- 'ntpdate'
'ntp.conf'
- 'ntpd.conf'
'ntpd.service'
'ntpdate.service')
sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
- '4e324e625c1f080b5c028be5092aa71adbf9bd99'
- '01394b8a952f5edc85d19df8335eeac3980320f4'
- 'f6a2292c26a201d9305669e99463fb54e5603b3f'
- '4537d1f58b299d463db5048129cb264511474b0b'
- 'ffbabfaab90f1ba4dc769c84fbbfe89c5c01ee95'
- '0cb9dbd285e2e8ac51ff47dee08af69e12a09855'
+ 'd3496dbeb7d531dd6ab071dbce3262c3c9618d8b'
+ 'ff8370719f003f184563b7d6068c03086678482f'
+ 'e1c48cba549b7d21501aadf513926e463884c090'
)
install=install
@@ -50,10 +44,7 @@ package() {
rmdir "${pkgdir}"/usr/{lib,sbin}
install -d -o 87 "${pkgdir}"/var/lib/ntp
- install -Dm755 ../ntpd "${pkgdir}"/etc/rc.d/ntpd
- install -Dm755 ../ntpdate "${pkgdir}"/etc/rc.d/ntpdate
install -Dm644 ../ntp.conf "${pkgdir}"/etc/ntp.conf
- install -Dm644 ../ntpd.conf "${pkgdir}"/etc/conf.d/ntpd.conf
install -Dm644 ../ntpd.service "${pkgdir}"/usr/lib/systemd/system/ntpd.service
install -Dm644 ../ntpdate.service "${pkgdir}"/usr/lib/systemd/system/ntpdate.service
install -Dm644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"