New package: chrony-1.26.
This commit is contained in:
parent
8ec441c0d3
commit
c0a6a15dc6
2 changed files with 47 additions and 0 deletions
10
srcpkgs/chrony/files/chrony.service
Normal file
10
srcpkgs/chrony/files/chrony.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Chrony Network Time Daemon
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/sbin/chronyd
|
||||
PIDFile=/var/run/chronyd.pid
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
37
srcpkgs/chrony/template
Normal file
37
srcpkgs/chrony/template
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Template file for 'chrony'
|
||||
pkgname=chrony
|
||||
version=1.26
|
||||
homepage="http://chrony.tuxfamily.org/"
|
||||
distfiles="http://download.tuxfamily.org/chrony/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
short_desc="Sets your computer's clock from time servers on the Net"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-2"
|
||||
checksum=fb191ca4ba59e192c96d022618ca3eaee49f3c11f9af8dd7297020b27bf3e05b
|
||||
long_desc="
|
||||
It consists of a pair of programs: chronyd. This is a daemon which runs in
|
||||
background on the system. It obtains measurements (e.g. via the network) of
|
||||
the system's offset relative to other systems, and adjusts the system time
|
||||
accordingly. For isolated systems, the user can periodically enter the
|
||||
correct time by hand (using chronyc). In either case, chronyd determines the
|
||||
rate at which the computer gains or loses time, and compensates for this.
|
||||
Chronyd implements the NTP protocol and can act as either a client or a
|
||||
server. chronyc: this is a command-line driven control and monitoring program.
|
||||
An administrator can use this to fine-tune various parameters within the
|
||||
daemon, add or delete servers etc whilst the daemon is running."
|
||||
|
||||
systemd_services="chrony.service"
|
||||
conf_files="/etc/chrony.conf"
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libcap
|
||||
Add_dependency run readline
|
||||
|
||||
Add_dependency build libcap-devel
|
||||
Add_dependency build readline-devel
|
||||
|
||||
post_install() {
|
||||
vinstall examples/chrony.conf.example 644 etc chrony.conf
|
||||
vinstall ${FILESDIR}/chrony.service 644 lib/systemd/system
|
||||
rm -rf ${DESTDIR}/usr/share/doc
|
||||
}
|
Loading…
Reference in a new issue