From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7E6F71382C5 for ; Tue, 27 Feb 2018 07:14:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7F140E0875; Tue, 27 Feb 2018 07:14:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4DF3AE0875 for ; Tue, 27 Feb 2018 07:14:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 56731335C07 for ; Tue, 27 Feb 2018 07:14:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A8CD1D8 for ; Tue, 27 Feb 2018 07:14:21 +0000 (UTC) From: "Steve Arnold" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Steve Arnold" Message-ID: <1519715614.8b1d82cd97939eca1f801304c9a516533b1b9a9f.nerdboy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild net-misc/ntpsec/ntpsec-9999.ebuild X-VCS-Directories: net-misc/ntpsec/ X-VCS-Committer: nerdboy X-VCS-Committer-Name: Steve Arnold X-VCS-Revision: 8b1d82cd97939eca1f801304c9a516533b1b9a9f X-VCS-Branch: master Date: Tue, 27 Feb 2018 07:14:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e02dcb99-404e-4932-8c06-b57028df83a2 X-Archives-Hash: ce4e6c4fee5d345a95b4a57df901d037 commit: 8b1d82cd97939eca1f801304c9a516533b1b9a9f Author: Stephen L Arnold gentoo org> AuthorDate: Tue Feb 27 07:13:34 2018 +0000 Commit: Steve Arnold gentoo org> CommitDate: Tue Feb 27 07:13:34 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b1d82cd net-misc/ntpsec: fix debug flag in git ebuild and add einfo refclocks Package-Manager: Portage-2.3.24, Repoman-2.3.6 net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild | 9 +++++++++ net-misc/ntpsec/ntpsec-9999.ebuild | 17 +++++++++++++++-- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild b/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild index e0b19c3eb0d..3d627137b63 100644 --- a/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild +++ b/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild @@ -143,3 +143,12 @@ src_install() { cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/ } + +pkg_postinst() { + einfo "If you want to serve time on your local network, then" + einfo "you should disable all the ref_clocks unless you have" + einfo "one and can get stable time from it. Feel free to try" + einfo "it but PPS probably won't work unless you have a UART" + einfo "GPS that actually provides PPS messages." +} + diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild index a565abf1c84..6b202f93605 100644 --- a/net-misc/ntpsec/ntpsec-9999.ebuild +++ b/net-misc/ntpsec/ntpsec-9999.ebuild @@ -32,7 +32,7 @@ IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_} LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0" SLOT="0" -IUSE="${IUSE_NTPSEC_REFCLOCK} doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice +IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice REQUIRED_USE="${PYTHON_REQUIRED_USE}" # net-misc/pps-tools oncore,pps @@ -57,6 +57,8 @@ DEPEND="${CDEPEND} !net-misc/openntpd " +WAF_BINARY="${S}/waf" + pkg_setup() { enewgroup ntp 123 enewuser ntp 123 -1 /dev/null ntp @@ -95,7 +97,9 @@ src_configure() { $(use samba && echo "--enable-mssntp") $(use seccomp && echo "--enable-seccomp") $(use smear && echo "--enable-leap-smear") - $(use tests && echo "--alltests")) + $(use tests && echo "--alltests") + $(use debug && echo "--enable-debug") + ) python_configure() { waf-utils_src_configure "${myconf[@]}" @@ -104,6 +108,7 @@ src_configure() { } src_compile() { + unset MAKEOPTS python_compile() { waf-utils_src_compile } @@ -139,3 +144,11 @@ src_install() { cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/ } + +pkg_postinst() { + einfo "If you want to serve time on your local network, then" + einfo "you should disable all the ref_clocks unless you have" + einfo "one and can get stable time from it. Feel free to try" + einfo "it but PPS probably won't work unless you have a UART" + einfo "GPS that actually provides PPS messages." +}