diff options
author | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
commit | 18a41d682d6e91e0d28fce23eb75292f477bd620 (patch) | |
tree | bce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/chrony | |
parent | 0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff) |
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/chrony')
-rw-r--r-- | community/chrony/PKGBUILD | 48 | ||||
-rw-r--r-- | community/chrony/service | 11 |
2 files changed, 0 insertions, 59 deletions
diff --git a/community/chrony/PKGBUILD b/community/chrony/PKGBUILD deleted file mode 100644 index b6b088bee..000000000 --- a/community/chrony/PKGBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# $Id: PKGBUILD 95307 2013-08-09 02:41:57Z thestinger $ -# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> -# Maintainer: Daniel Micay <danielmicay@gmail.com> -# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> -# Contributor: Patrick Leslie Polzer <leslie.polzer@gmx.net> -# Contributor: cdhotfire <cdhotfire@gmail.com> -# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw> -# Contributor: Elisamuel Resto <ryuji@simplysam.us> - -pkgname=chrony -pkgver=1.29 -pkgrel=1 -pkgdesc='Lightweight NTP client and server' -arch=('i686' 'x86_64') -url="http://chrony.tuxfamily.org/" -options=(strip emptydirs) -license=('GPL') -depends=('readline' 'libcap') -backup=('etc/chrony.conf') -source=(http://download.tuxfamily.org/chrony/${pkgname}-${pkgver}.tar.gz - service) -sha256sums=('c685f072ba0663ab026a7f56870ab2c246bd97ca4629dd2e1899617bd16ad39b' - 'bef4305fa7e5828e1a1fd43aa8e631f22f21902f6cdc2d3b5b41a57bd9a175dc') - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr - make -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install - - install -Dm0644 "$srcdir/$pkgname-$pkgver/examples/chrony.conf.example" "$pkgdir/etc/chrony.conf" - - # Arch's kernel has enhanced RTC support, make chrony use it by default - sed -i '/^! \(rtconutc\|rtcfile \/var\/lib\/chrony\/rtc\)$/ s/^! //' \ - "$pkgdir/etc/chrony.conf" - - mv "$pkgdir/usr/sbin/chronyd" "$pkgdir/usr/bin" - rmdir "$pkgdir/usr/sbin" - - install -Dm644 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/chrony.service" - - install -dm755 "$pkgdir/usr/lib/systemd/ntp-units.d" - echo "$pkgname.service" > "$pkgdir/usr/lib/systemd/ntp-units.d/$pkgname.list" -} diff --git a/community/chrony/service b/community/chrony/service deleted file mode 100644 index 3a012ffac..000000000 --- a/community/chrony/service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Chrony Network Time Daemon -After=network.target - -[Service] -Type=forking -ExecStart=/usr/bin/chronyd -PIDFile=/var/run/chronyd.pid - -[Install] -WantedBy=multi-user.target |