2009-03-10 08:37:29 +00:00
|
|
|
# Template file for 'ntp'
|
|
|
|
pkgname=ntp
|
2011-12-28 05:04:35 +00:00
|
|
|
version=4.2.6p5
|
2011-10-06 07:29:27 +00:00
|
|
|
homepage="http://www.ntp.org/"
|
|
|
|
distfiles="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-$version.tar.gz"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-10-06 07:29:27 +00:00
|
|
|
configure_args="--enable-linuxcap"
|
2012-05-23 16:26:56 +00:00
|
|
|
depends="readline"
|
|
|
|
makedepends="readline-devel openssl-devel libcap-devel"
|
2012-06-03 07:08:53 +00:00
|
|
|
revision=1
|
2009-03-10 08:37:29 +00:00
|
|
|
short_desc="The Network Time Protocol"
|
2011-10-06 07:29:27 +00:00
|
|
|
license="BSD"
|
2009-03-10 08:37:29 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-12-28 05:04:35 +00:00
|
|
|
checksum=d6ab8371f9d31e594eb6922823d5ccd03dcc4e9d84b0e23ea25ac1405432f91c
|
2009-03-10 08:37:29 +00:00
|
|
|
long_desc="
|
|
|
|
The Network Time Protocol (NTP) is used to synchronize a computer's
|
|
|
|
time with another reference time source. This package includes ntpd
|
|
|
|
(a daemon which continuously adjusts system time) and utilities used
|
|
|
|
to query and configure the ntpd daemon."
|
|
|
|
|
2009-11-22 07:31:44 +00:00
|
|
|
subpackages="$pkgname-perl"
|
2009-03-29 14:47:54 +00:00
|
|
|
conf_files="/etc/ntp.conf"
|
2011-11-10 11:53:43 +00:00
|
|
|
systemd_services="ntpd.service on"
|
2009-03-10 08:37:29 +00:00
|
|
|
|
2011-10-11 01:04:44 +00:00
|
|
|
|
2009-03-10 08:37:29 +00:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
2011-10-11 01:04:44 +00:00
|
|
|
vinstall ${FILESDIR}/ntpd.service 644 lib/systemd/system
|
2011-10-06 08:06:16 +00:00
|
|
|
vinstall ${FILESDIR}/ntp.conf 644 etc
|
|
|
|
vinstall ${FILESDIR}/ntpd.logrotate 644 etc/logrotate.d ntpd
|
|
|
|
|
2011-10-11 01:04:44 +00:00
|
|
|
vmkdir usr/share/ntp
|
|
|
|
vmkdir usr/share/doc/ntp
|
2011-10-06 08:06:16 +00:00
|
|
|
vcopy html usr/share/doc/ntp
|
|
|
|
vcopy conf usr/share/ntp
|
2009-03-10 08:37:29 +00:00
|
|
|
}
|