diff options
Diffstat (limited to 'manualPorts/openntpd/Pkgfile')
-rw-r--r-- | manualPorts/openntpd/Pkgfile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/manualPorts/openntpd/Pkgfile b/manualPorts/openntpd/Pkgfile new file mode 100644 index 0000000..0e19da0 --- /dev/null +++ b/manualPorts/openntpd/Pkgfile @@ -0,0 +1,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 + +} |