blob: 0e19da00148c7275c296a3292f243d6e2bb5052b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Description: Portable version of OpenBSD's NTP implementation
# URL: http://www.openntpd.org/
# Maintainer: Erich Eckner, crux at eckner dot net
# Contributor: Lin SiFuh, #crux at libera dot chat
name=openntpd
version=6.8p1
release=1
source=(http://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/${name}-${version}.tar.gz
ntpd)
build() {
cd "${name}"-"${version}"
./configure --prefix=/usr \
--with-adjtimex \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--with-privsep-user=ntp
make
make DESTDIR="${PKG}" install
install -D -m 0755 "${SRC}"/ntpd "${PKG}"/etc/rc.d/ntpd
}
|