2006-02-23 15:26:10 +00:00
|
|
|
|
# Description: portable version of openbsd's ntpd implementation
|
|
|
|
|
# URL: http://www.openntpd.org/
|
2008-06-18 02:27:51 +02:00
|
|
|
|
# Maintainer: Simon Glo<6C>ner, viper at hometux dot de
|
2008-02-03 16:33:10 -05:00
|
|
|
|
# Packager: Matt Housh, jaeger at morpheus dot net
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
name=openntpd
|
2006-05-17 21:29:19 +00:00
|
|
|
|
version=3.9p1
|
2008-06-18 02:27:51 +02:00
|
|
|
|
release=2
|
2006-02-23 15:26:10 +00:00
|
|
|
|
source=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/$name-$version.tar.gz \
|
|
|
|
|
ntpd)
|
|
|
|
|
|
|
|
|
|
build() {
|
2008-06-18 02:27:51 +02:00
|
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
|
--prefix=/usr \
|
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
|
--with-privsep-user=ntp
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
|
|
install -D -m 0755 $SRC/ntpd $PKG/etc/rc.d/ntpd
|
2006-02-23 15:26:10 +00:00
|
|
|
|
}
|