[arch-commits] Commit in ntp/trunk (PKGBUILD ntpdate.service)
Date: Thursday, December 13, 2012 @ 22:14:18 Author: bisson Revision: 173223 fix FS#33090 Added: ntp/trunk/ntpdate.service Modified: ntp/trunk/PKGBUILD -+ PKGBUILD| 16 ++-- ntpdate.service | 12 2 files changed, 22 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-12-14 01:35:42 UTC (rev 173222) +++ PKGBUILD2012-12-14 03:14:18 UTC (rev 173223) @@ -5,7 +5,7 @@ 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,13 +18,16 @@ 'ntpdate' 'ntp.conf' 'ntpd.conf' -'ntpd.service') +'ntpd.service' +'ntpdate.service') sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192' '4e324e625c1f080b5c028be5092aa71adbf9bd99' '01394b8a952f5edc85d19df8335eeac3980320f4' 'f6a2292c26a201d9305669e99463fb54e5603b3f' '4537d1f58b299d463db5048129cb264511474b0b' - 'ffbabfaab90f1ba4dc769c84fbbfe89c5c01ee95') + 'ffbabfaab90f1ba4dc769c84fbbfe89c5c01ee95' + '0cb9dbd285e2e8ac51ff47dee08af69e12a09855' +) install=install @@ -40,7 +43,7 @@ } package() { - cd "${srcdir}/${pkgname}-$_realver" + cd "${srcdir}/${pkgname}-${_realver}" make DESTDIR="${pkgdir}" install @@ -51,6 +54,7 @@ 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" cd html @@ -59,6 +63,6 @@ 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" } Added: ntpdate.service === --- ntpdate.service (rev 0) +++ ntpdate.service 2012-12-14 03:14:18 UTC (rev 173223) @@ -0,0 +1,12 @@ +[Unit] +Description=One-Shot Network Time Service +After=network.target nss-lookup.target + +[Service] +Type=oneshot +PrivateTmp=true +ExecStart=/usr/bin/ntpd -q -g -u ntp:ntp +ControlGroup=cpu:/ + +[Install] +WantedBy=multi-user.target
[arch-commits] Commit in ntp/trunk (PKGBUILD ntpdate.service)
Date: Thursday, August 1, 2013 @ 05:30:58 Author: bisson Revision: 191878 remove ControlGroup from ntpdate.service too Modified: ntp/trunk/PKGBUILD ntp/trunk/ntpdate.service -+ PKGBUILD|4 ++-- ntpdate.service |1 - 2 files changed, 2 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-08-01 02:23:42 UTC (rev 191877) +++ PKGBUILD2013-08-01 03:30:58 UTC (rev 191878) @@ -5,7 +5,7 @@ pkgname=ntp pkgver=4.2.6.p5 _realver=4.2.6p5 -pkgrel=16 +pkgrel=17 pkgdesc='Network Time Protocol reference implementation' url='http://www.ntp.org/' license=('custom') @@ -20,7 +20,7 @@ sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192' 'd3496dbeb7d531dd6ab071dbce3262c3c9618d8b' 'ff8370719f003f184563b7d6068c03086678482f' - '0cb9dbd285e2e8ac51ff47dee08af69e12a09855' + 'e1c48cba549b7d21501aadf513926e463884c090' ) install=install Modified: ntpdate.service === --- ntpdate.service 2013-08-01 02:23:42 UTC (rev 191877) +++ ntpdate.service 2013-08-01 03:30:58 UTC (rev 191878) @@ -6,7 +6,6 @@ Type=oneshot PrivateTmp=true ExecStart=/usr/bin/ntpd -q -g -u ntp:ntp -ControlGroup=cpu:/ [Install] WantedBy=multi-user.target
[arch-commits] Commit in ntp/trunk (PKGBUILD ntpdate.service)
Date: Tuesday, March 11, 2014 @ 05:39:48 Author: bisson Revision: 207490 implement FS#39326 Modified: ntp/trunk/PKGBUILD ntp/trunk/ntpdate.service -+ PKGBUILD|4 ++-- ntpdate.service |3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-03-11 02:45:16 UTC (rev 207489) +++ PKGBUILD2014-03-11 04:39:48 UTC (rev 207490) @@ -5,7 +5,7 @@ pkgname=ntp pkgver=4.2.6.p5 _realver=4.2.6p5 -pkgrel=18 +pkgrel=19 pkgdesc='Network Time Protocol reference implementation' url='http://www.ntp.org/' license=('custom') @@ -20,7 +20,7 @@ sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192' 'd3496dbeb7d531dd6ab071dbce3262c3c9618d8b' 'dd24216e8333e12d5080965696602591c72537b1' - 'e1c48cba549b7d21501aadf513926e463884c090' + '059b382d1af0c55202e2d17f2ae065a2cbfec9ee' ) install=install Modified: ntpdate.service === --- ntpdate.service 2014-03-11 02:45:16 UTC (rev 207489) +++ ntpdate.service 2014-03-11 04:39:48 UTC (rev 207490) @@ -1,11 +1,12 @@ [Unit] Description=One-Shot Network Time Service After=network.target nss-lookup.target +Before=ntpd.service [Service] Type=oneshot PrivateTmp=true -ExecStart=/usr/bin/ntpd -q -g -u ntp:ntp +ExecStart=/usr/bin/ntpd -q -n -g -u ntp:ntp [Install] WantedBy=multi-user.target