Install this version:
emerge -a =net-misc/sntpd-3.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.1 | 8 | ~alpha amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc x86 | 0 |
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit systemd
DESCRIPTION="A NTP (RFC-1305 and RFC-4330) client and server for unix-alike systems"
HOMEPAGE="https://github.com/troglobit/sntpd"
SRC_URI="https://github.com/troglobit/${PN}/releases/download/v${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc x86"
IUSE="adjtimex systemd"
RDEPEND="
adjtimex? ( !net-misc/adjtimex )
systemd? ( sys-apps/systemd )
"
DEPEND="${RDEPEND}"
src_configure() {
local myeconfargs=(
$(use_with adjtimex)
$(use_with systemd systemd $(systemd_get_systemunitdir))
--with-ntpclient
)
econf "${myeconfargs[@]}"
}
src_install() {
default
newinitd "${FILESDIR}"/sntpd.initd-r1 sntpd
newconfd "${FILESDIR}"/sntpd.confd sntpd
}
Manage flags for this package:
euse -i <flag> -p net-misc/sntpd |
euse -E <flag> -p net-misc/sntpd |
euse -D <flag> -p net-misc/sntpd
adjtimex? ( !net-misc/adjtimex ) systemd? ( sys-apps/systemd )
adjtimex? ( !net-misc/adjtimex ) systemd? ( sys-apps/systemd )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | sntpd-3.1.tar.gz | 157608 bytes | https://github.com/troglobit/sntpd/releases/download/v3.1/sntpd-3.1.tar.gz |