summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ntp/ntp.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/ntp/ntp.inc')
-rw-r--r--meta-networking/recipes-support/ntp/ntp.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/ntp/ntp.inc b/meta-networking/recipes-support/ntp/ntp.inc
index 8381b9e7cb..7876c0b79d 100644
--- a/meta-networking/recipes-support/ntp/ntp.inc
+++ b/meta-networking/recipes-support/ntp/ntp.inc
@@ -25,13 +25,17 @@ SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.g
25 file://ntpd.list \ 25 file://ntpd.list \
26" 26"
27 27
28inherit autotools update-rc.d systemd 28inherit autotools update-rc.d useradd systemd
29 29
30# The ac_cv_header_readline_history is to stop ntpdc depending on either 30# The ac_cv_header_readline_history is to stop ntpdc depending on either
31# readline or curses 31# readline or curses
32EXTRA_OECONF += "--with-net-snmp-config=no --without-ntpsnmpd ac_cv_header_readline_history_h=no" 32EXTRA_OECONF += "--with-net-snmp-config=no --without-ntpsnmpd ac_cv_header_readline_history_h=no"
33CFLAGS_append = " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED" 33CFLAGS_append = " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED"
34 34
35USERADD_PACKAGES = "${PN}"
36USERADD_PARAM_${PN} = "--system --home-dir /var/lib/ntp \
37 --shell /bin/false --user-group ntp"
38
35PACKAGECONFIG ??= "" 39PACKAGECONFIG ??= ""
36PACKAGECONFIG[openssl] = "--with-openssl-libdir=${STAGING_LIBDIR} \ 40PACKAGECONFIG[openssl] = "--with-openssl-libdir=${STAGING_LIBDIR} \
37 --with-openssl-incdir=${STAGING_INCDIR} \ 41 --with-openssl-incdir=${STAGING_INCDIR} \