2009-03-10 09:37:29 +01:00
|
|
|
# Template file for 'ntp'
|
|
|
|
pkgname=ntp
|
2011-10-06 09:29:27 +02:00
|
|
|
version=4.2.6p4
|
2011-10-11 08:13:10 +02:00
|
|
|
revision=3
|
2011-10-06 09:29:27 +02:00
|
|
|
homepage="http://www.ntp.org/"
|
|
|
|
distfiles="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-$version.tar.gz"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-10-06 09:29:27 +02:00
|
|
|
configure_args="--enable-linuxcap"
|
2009-03-10 09:37:29 +01:00
|
|
|
short_desc="The Network Time Protocol"
|
2011-10-06 09:29:27 +02:00
|
|
|
license="BSD"
|
2009-03-10 09:37:29 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-06 09:29:27 +02:00
|
|
|
checksum=dec30ea700d57b2d306ae61a3bcd8bc843443404a819a2f708b23a0ffc8581f3
|
2009-03-10 09:37:29 +01: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 08:31:44 +01:00
|
|
|
subpackages="$pkgname-perl"
|
2009-03-29 16:47:54 +02:00
|
|
|
conf_files="/etc/ntp.conf"
|
2011-10-11 03:04:44 +02:00
|
|
|
systemd_services="ntpd.service"
|
2009-03-10 09:37:29 +01:00
|
|
|
|
2009-12-08 23:08:46 +01:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run readline
|
2010-11-02 08:31:35 +01:00
|
|
|
Add_dependency run libssl
|
2009-12-08 23:08:46 +01:00
|
|
|
Add_dependency run libcap
|
2011-10-11 03:04:44 +02:00
|
|
|
|
2009-12-08 23:08:46 +01:00
|
|
|
Add_dependency build readline-devel
|
|
|
|
Add_dependency build openssl-devel
|
|
|
|
Add_dependency build libcap-devel
|
2009-03-10 09:37:29 +01:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
2011-10-11 03:04:44 +02:00
|
|
|
vinstall ${FILESDIR}/ntpd.service 644 lib/systemd/system
|
2011-10-06 10:06:16 +02:00
|
|
|
vinstall ${FILESDIR}/ntp.conf 644 etc
|
|
|
|
vinstall ${FILESDIR}/ntpd.logrotate 644 etc/logrotate.d ntpd
|
|
|
|
|
2011-10-11 03:04:44 +02:00
|
|
|
vmkdir usr/share/ntp
|
|
|
|
vmkdir usr/share/doc/ntp
|
2011-10-06 10:06:16 +02:00
|
|
|
vcopy html usr/share/doc/ntp
|
|
|
|
vcopy conf usr/share/ntp
|
2009-03-10 09:37:29 +01:00
|
|
|
}
|