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 4063D138359 for ; Sun, 23 Aug 2020 18:14:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66508E0827; Sun, 23 Aug 2020 18:14:23 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 299E2E082D for ; Sun, 23 Aug 2020 18:14:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 C500F335D92 for ; Sun, 23 Aug 2020 18:14:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3F81230A for ; Sun, 23 Aug 2020 18:14:20 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1598203295.a02b68f254776a06d4c16c67b62c352af63ba84c.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpclient/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/ntpclient/ntpclient-2.2018.244-r1.ebuild X-VCS-Directories: net-misc/ntpclient/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: a02b68f254776a06d4c16c67b62c352af63ba84c X-VCS-Branch: master Date: Sun, 23 Aug 2020 18:14:20 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 80294b49-a11b-47d8-a00b-723ea352b198 X-Archives-Hash: 8e4721e378068dc3e5690af44434af83 commit: a02b68f254776a06d4c16c67b62c352af63ba84c Author: Conrad Kostecki gentoo org> AuthorDate: Sun Aug 23 16:17:31 2020 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sun Aug 23 17:21:35 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a02b68f2 net-misc/ntpclient: rename version for pkgrename Upstream renamed ntpclient to sntpd. Since old ntpclient is at version 2018_244, but new ntpd is at version 3.0, we need to rename old ntpclient to a lower version than 3.0. This will trigger a rebuild due downgrade for affected users, but since this is a small package, this shouldn't be much of a problem. The changes will ensure, that the current stable version will continue to work after pkgrename. Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Conrad Kostecki gentoo.org> net-misc/ntpclient/ntpclient-2.2018.244-r1.ebuild | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/net-misc/ntpclient/ntpclient-2.2018.244-r1.ebuild b/net-misc/ntpclient/ntpclient-2.2018.244-r1.ebuild new file mode 100644 index 00000000000..f6b938200cc --- /dev/null +++ b/net-misc/ntpclient/ntpclient-2.2018.244-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="ntpclient" +MY_PV="${PV/2./}" +MY_P="${MY_PN}-${MY_PV/./_}" + +DESCRIPTION="A NTP (RFC-1305 and RFC-4330) client for unix-alike systems" +HOMEPAGE="https://github.com/troglobit/sntpd" +SRC_URI="https://github.com/troglobit/sntpd/releases/download/${MY_PV}/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86" +IUSE="debug embedded obsolete +syslog" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${MY_PN}-${MY_PV}-linux-headers-5.2.patch" +) + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable debug replay) + $(use_enable embedded mini) + $(use_enable obsolete) + $(use_enable !obsolete siocgstamp) + $(use_enable syslog) + ) + + econf "${myeconfargs[@]}" +}