2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2005-05-16 19:36:46 +02:00
|
|
|
#
|
2013-06-06 01:53:28 +02:00
|
|
|
# openntpd
|
2005-05-16 19:36:46 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2005-05-16 19:36:46 +02:00
|
|
|
|
2015-03-25 14:17:16 +01:00
|
|
|
OPENNTPD_VERSION = 5.7p4
|
2015-01-09 00:06:37 +01:00
|
|
|
OPENNTPD_SITE = http://ftp.openbsd.org/pub/OpenBSD/OpenNTPD
|
2012-11-13 02:05:53 +01:00
|
|
|
OPENNTPD_LICENSE = MIT-like, BSD-2c, BSD-3c
|
2015-01-15 13:31:04 +01:00
|
|
|
OPENNTPD_LICENSE_FILES = COPYING
|
2005-05-16 19:36:46 +02:00
|
|
|
|
2015-01-21 00:31:26 +01:00
|
|
|
define OPENNTPD_INSTALL_INIT_SYSTEMD
|
|
|
|
$(INSTALL) -D -m 0644 package/openntpd/ntpd.service \
|
2015-03-20 20:13:56 +01:00
|
|
|
$(TARGET_DIR)/usr/lib/systemd/system/ntpd.service
|
2015-01-21 00:31:26 +01:00
|
|
|
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
2015-03-20 20:13:56 +01:00
|
|
|
ln -fs ../../../../usr/lib/systemd/system/ntpd.service \
|
2015-01-21 00:31:26 +01:00
|
|
|
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ntpd.service
|
|
|
|
endef
|
|
|
|
|
2014-06-11 13:33:15 +02:00
|
|
|
define OPENNTPD_INSTALL_INIT_SYSV
|
|
|
|
$(INSTALL) -m 0755 -D package/openntpd/S49ntp \
|
|
|
|
$(TARGET_DIR)/etc/init.d/S49ntp
|
|
|
|
endef
|
|
|
|
|
|
|
|
define OPENNTPD_USERS
|
2014-11-03 00:39:51 +01:00
|
|
|
_ntp -1 _ntp -1 * - - - Network Time Protocol daemon
|
2014-06-11 13:33:15 +02:00
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|