summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-06-16 08:12:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-06-16 08:12:57 +0000
commit0d66dfd6af57eac3b0b0c7bb06d5b6e7451d7187 (patch)
tree5380578f312586ce0204717115ebf95da8f48b3b
parent9b94cf44042407257683ee3d9c174b2946928b9d (diff)
downloadaports-0d66dfd6af57eac3b0b0c7bb06d5b6e7451d7187.tar.bz2
aports-0d66dfd6af57eac3b0b0c7bb06d5b6e7451d7187.tar.xz
extra/chrony: add default config
-rw-r--r--extra/chrony/APKBUILD10
-rw-r--r--extra/chrony/chrony.conf7
2 files changed, 14 insertions, 3 deletions
diff --git a/extra/chrony/APKBUILD b/extra/chrony/APKBUILD
index d6eb661ff..21f8924a6 100644
--- a/extra/chrony/APKBUILD
+++ b/extra/chrony/APKBUILD
@@ -1,11 +1,11 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=chrony
pkgver=1.23
-pkgrel=1
+pkgrel=2
pkgdesc="NTP client and server programs"
url="http://chrony.sunsite.dk/"
license="GPL-2"
-depends="uclibc"
+depends=
makedepends="texinfo"
subpackages="$pkgname-doc"
source="http://chrony.sunsite.dk/download/$pkgname-$pkgver.tar.gz
@@ -16,6 +16,7 @@ source="http://chrony.sunsite.dk/download/$pkgname-$pkgver.tar.gz
$pkgname-1.23-reply-ip.diff
chronyd.confd
chronyd.initd
+ chrony.conf
"
build() {
@@ -45,6 +46,8 @@ build() {
mkdir -p "$pkgdir"/var/lib/chrony \
"$pkgdir"/var/log/chrony \
"$pkgdir"/etc/chrony
+ touch "$pkgdir"/etc/chrony/chrony.drift
+ install -m644 "$srcdir"/chrony.conf "$pkgdir"/etc/chrony/chrony.conf
}
md5sums="ffce77695e55d8efda19ab0b78309c23 chrony-1.23.tar.gz
bd6bd57363865d3ed0c3187d0c9f7151 chrony-1.20-conf.c-gentoo.diff
@@ -53,4 +56,5 @@ d47015a34b6b2f9eebca77ef939cec72 chrony-1.21-makefile.diff
39cbce9f66638b67623e1ee6bb0f943f chrony-1.23-sources.diff
caa6589a1a1cd56f64957e312d1ef84c chrony-1.23-reply-ip.diff
d5c09be46226774d22c08c5a4c28093a chronyd.confd
-dac8aa4913d7c323abfa1719ddd7e5e4 chronyd.initd"
+dac8aa4913d7c323abfa1719ddd7e5e4 chronyd.initd
+46f42c52953d398ca44d6baa449618d7 chrony.conf"
diff --git a/extra/chrony/chrony.conf b/extra/chrony/chrony.conf
new file mode 100644
index 000000000..d99b1e01d
--- /dev/null
+++ b/extra/chrony/chrony.conf
@@ -0,0 +1,7 @@
+# default config
+
+server pool.ntp.org
+initstepslew 10 pool.ntp.org
+commandkey 10
+keyfile /etc/chrony/chrony.keys
+driftfile /etc/chrony/chrony.drift