The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / openntpd / openntpd.mk
1 ################################################################################
2 #
3 # openntpd
4 #
5 ################################################################################
6
7 OPENNTPD_VERSION = 5.7p4
8 OPENNTPD_SITE = http://ftp.openbsd.org/pub/OpenBSD/OpenNTPD
9 OPENNTPD_LICENSE = MIT-like, BSD-2c, BSD-3c
10 OPENNTPD_LICENSE_FILES = COPYING
11
12 define OPENNTPD_INSTALL_INIT_SYSTEMD
13         $(INSTALL) -D -m 0644 package/openntpd/ntpd.service \
14                 $(TARGET_DIR)/usr/lib/systemd/system/ntpd.service
15         mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
16         ln -fs ../../../../usr/lib/systemd/system/ntpd.service \
17                 $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ntpd.service
18 endef
19
20 define OPENNTPD_INSTALL_INIT_SYSV
21         $(INSTALL) -m 0755 -D package/openntpd/S49ntp \
22                 $(TARGET_DIR)/etc/init.d/S49ntp
23 endef
24
25 define OPENNTPD_USERS
26         _ntp -1 _ntp -1 * - - - Network Time Protocol daemon
27 endef
28
29 $(eval $(autotools-package))