2009-05-13 20:25:23 +02:00
|
|
|
# Description: Time setting software implementing RFC 868 (inetd time) and RFC 2030 (SNTP/NTP) protocols
|
2021-12-13 11:53:51 +01:00
|
|
|
# URL: https://github.com/leahneukirchen/outils
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2009-05-13 20:25:23 +02:00
|
|
|
|
2020-07-18 08:57:20 +00:00
|
|
|
name=rdate
|
2023-10-27 17:21:27 +02:00
|
|
|
version=0.13
|
2020-03-13 15:11:26 +01:00
|
|
|
release=1
|
2021-12-13 11:53:51 +01:00
|
|
|
source=(https://github.com/leahneukirchen/outils/archive/v$version/outils-$version.tar.gz
|
|
|
|
ntpleaps.patch rdate)
|
2009-05-13 20:25:23 +02:00
|
|
|
|
|
|
|
build() {
|
2021-12-13 11:53:51 +01:00
|
|
|
cd outils-$version
|
2017-08-27 14:45:15 +02:00
|
|
|
|
2021-12-13 11:53:51 +01:00
|
|
|
# FS1462
|
|
|
|
patch -p0 -d src/usr.sbin/rdate -i $SRC/ntpleaps.patch
|
2017-08-27 14:45:15 +02:00
|
|
|
|
2021-12-13 11:53:51 +01:00
|
|
|
make PREFIX=/usr src/usr.sbin/rdate/rdate
|
2020-03-13 15:11:26 +01:00
|
|
|
|
2021-12-13 11:53:51 +01:00
|
|
|
install -d $PKG/{usr/{bin,share/man/man8},etc/cron/daily}
|
|
|
|
install -m 0755 src/usr.sbin/rdate/rdate $PKG/usr/bin
|
|
|
|
install -m 0644 src/usr.sbin/rdate/rdate.8 $PKG/usr/share/man/man8
|
|
|
|
install -m 0755 $SRC/rdate $PKG/etc/cron/daily
|
2009-05-13 20:25:23 +02:00
|
|
|
}
|