mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
net-misc/sntpd: drop old version
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
name="sntpd"
|
||||
pidfile="/run/sntpd.pid"
|
||||
|
||||
command="/usr/sbin/sntpd"
|
||||
command_args="${SNTPD_OPTS}"
|
||||
|
||||
depend() {
|
||||
use net dns logger
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
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 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="adjtimex systemd"
|
||||
|
||||
RDEPEND="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 sntpd
|
||||
newconfd "${FILESDIR}"/sntpd.confd sntpd
|
||||
}
|
||||
Reference in New Issue
Block a user