2006-02-24 08:01:50 +00:00
|
|
|
# Description: Network time protocol client/server
|
2023-02-01 11:04:59 +01:00
|
|
|
# URL: https://chrony.tuxfamily.org/
|
2021-05-14 13:40:37 +02:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2023-01-31 10:42:35 +01:00
|
|
|
# Depends on: libcap libedit ncurses
|
|
|
|
# Optional: gnutls nettle nss
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=chrony
|
2022-09-01 09:37:52 +02:00
|
|
|
version=4.3
|
2017-01-18 15:43:40 +01:00
|
|
|
release=1
|
2023-02-01 11:04:59 +01:00
|
|
|
source=(https://download.tuxfamily.org/$name/$name-$version.tar.gz
|
2021-05-14 13:40:37 +02:00
|
|
|
chronyd)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2021-05-14 13:40:37 +02:00
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2015-10-19 12:22:18 +02:00
|
|
|
|
2022-02-15 14:04:21 +01:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--chronyrundir=/run/chrony \
|
|
|
|
--with-pidfile=/run/chrony/chronyd.pid \
|
|
|
|
--with-user=chrony
|
2016-11-25 17:51:29 +01:00
|
|
|
|
2021-05-14 13:40:37 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2022-02-15 14:04:21 +01:00
|
|
|
install -d -o chrony -g chrony -m 0750 $PKG/var/{lib,log}/chrony
|
2021-05-14 13:40:37 +02:00
|
|
|
install -D -m 0755 $SRC/chronyd $PKG/etc/rc.d/chronyd
|
|
|
|
install examples/chrony.conf.example1 $PKG/etc/chrony.conf
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|