From a829a3b1a4b3eefc7adb1d630f071247e79b9f72 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 15 Dec 2012 02:31:42 -0800 Subject: Sat Dec 15 02:25:53 PST 2012 --- extra/ntp/PKGBUILD | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'extra/ntp/PKGBUILD') diff --git a/extra/ntp/PKGBUILD b/extra/ntp/PKGBUILD index 959a9f7bb..e3c7cf366 100644 --- a/extra/ntp/PKGBUILD +++ b/extra/ntp/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 165511 2012-08-21 15:29:07Z dreisner $ +# $Id: PKGBUILD 173225 2012-12-14 12:00:48Z bisson $ # Maintainer: Gaetan Bisson # Contributor: kevin pkgname=ntp pkgver=4.2.6.p5 _realver=4.2.6p5 -pkgrel=11 +pkgrel=12 pkgdesc='Network Time Protocol reference implementation' url='http://www.ntp.org/' license=('custom') @@ -18,15 +18,16 @@ source=("http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${_realver}.tar.gz" 'ntpdate' 'ntp.conf' 'ntpd.conf' - 'logrotate.d' - 'ntpd.service') + 'ntpd.service' + 'ntpdate.service') sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192' '4e324e625c1f080b5c028be5092aa71adbf9bd99' '01394b8a952f5edc85d19df8335eeac3980320f4' - 'eb1f63814b9adbd3d518e880fa3b38c375f0fe91' + 'f6a2292c26a201d9305669e99463fb54e5603b3f' '4537d1f58b299d463db5048129cb264511474b0b' - '4f76f7f9ffc8315ff9924f793f272d4f6939b816' - '25a27cecdb937f48fa7b7c71dcc8b31cdad89306') + 'ffbabfaab90f1ba4dc769c84fbbfe89c5c01ee95' + '0cb9dbd285e2e8ac51ff47dee08af69e12a09855' +) install=install @@ -42,7 +43,7 @@ build() { } package() { - cd "${srcdir}/${pkgname}-$_realver" + cd "${srcdir}/${pkgname}-${_realver}" make DESTDIR="${pkgdir}" install @@ -52,8 +53,8 @@ package() { 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 ../logrotate.d "${pkgdir}"/etc/logrotate.d/ntpd 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" cd html @@ -62,6 +63,6 @@ package() { mv man/man* "${pkgdir}"/usr/share/man mv "${pkgdir}/usr/share/man/man8/ntpd.8" "${pkgdir}/usr/share/man/man8/ntp-ntpd.8" # we should ditch openntpd - install -dm755 "$pkgdir/usr/lib/systemd/ntp-units.d" - echo "ntpd.service" > "$pkgdir/usr/lib/systemd/ntp-units.d/$pkgname.list" + install -dm755 "${pkgdir}/usr/lib/systemd/ntp-units.d" + echo 'ntpd.service' > "${pkgdir}/usr/lib/systemd/ntp-units.d/${pkgname}.list" } -- cgit v1.2.3-54-g00ecf