summaryrefslogtreecommitdiff
path: root/community-testing/chrony
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/chrony')
-rw-r--r--community-testing/chrony/PKGBUILD39
-rw-r--r--community-testing/chrony/rc.d37
-rw-r--r--community-testing/chrony/service10
3 files changed, 0 insertions, 86 deletions
diff --git a/community-testing/chrony/PKGBUILD b/community-testing/chrony/PKGBUILD
deleted file mode 100644
index d066a606e..000000000
--- a/community-testing/chrony/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# $Id: PKGBUILD 72549 2012-06-16 17:08:48Z dreisner $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: 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.26
-pkgrel=3
-pkgdesc='Lightweight NTP client and server'
-arch=('i686' 'x86_64')
-url="http://chrony.tuxfamily.org/"
-options=('strip')
-license=('GPL')
-depends=('readline' 'libcap')
-backup=('etc/chrony.conf')
-source=(http://download.tuxfamily.org/chrony/${pkgname}-${pkgver}.tar.gz
- rc.d
- service)
-md5sums=('ad6dd619ff1986e4ff780363c64e2246'
- 'd8b653c8bcc76cef00aa10fbd3eeb4f7'
- 'd78e6189c6f51a2af30a65bdedcdb2eb')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
- make DESTDIR=$pkgdir install
-
- install -Dm0644 $srcdir/$pkgname-$pkgver/examples/chrony.conf.example $pkgdir/etc/chrony.conf
- install -Dm0755 $srcdir/rc.d $pkgdir/etc/rc.d/chrony
- install -Dm644 $srcdir/service $pkgdir/usr/lib/systemd/system/chrony.service
-}
diff --git a/community-testing/chrony/rc.d b/community-testing/chrony/rc.d
deleted file mode 100644
index ec042d798..000000000
--- a/community-testing/chrony/rc.d
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/chronyd`
-case "$1" in
- start)
- stat_busy "Starting chrony Daemon"
- if [ -z "$PID" ]; then
- /usr/sbin/chronyd $NTPD_ARGS &
- fi
- if [ ! -z "$PID" -o $? -gt 0 ]; then
- stat_fail
- else
- add_daemon chrony
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping chrony Daemon"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon chrony
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
diff --git a/community-testing/chrony/service b/community-testing/chrony/service
deleted file mode 100644
index 8bc8da9d2..000000000
--- a/community-testing/chrony/service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=Chrony Network Time Daemon
-
-[Service]
-Type=forking
-ExecStart=/usr/sbin/chronyd
-PIDFile=/var/run/chronyd.pid
-
-[Install]
-WantedBy=multi-user.target