From ed8dc9c80f53e6cdc2f7405c3be5eb5d256bcb05 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 17 Mar 2024 19:00:49 -0400 Subject: net-misc/omnisync: update EAPI 7 -> 8 Signed-off-by: Eli Schwartz Signed-off-by: Sam James --- net-misc/omnisync/omnisync-1.0_p20200130-r1.ebuild | 44 ++++++++++++++++++++++ net-misc/omnisync/omnisync-1.0_p20200130.ebuild | 44 ---------------------- 2 files changed, 44 insertions(+), 44 deletions(-) create mode 100644 net-misc/omnisync/omnisync-1.0_p20200130-r1.ebuild delete mode 100644 net-misc/omnisync/omnisync-1.0_p20200130.ebuild (limited to 'net-misc/omnisync') diff --git a/net-misc/omnisync/omnisync-1.0_p20200130-r1.ebuild b/net-misc/omnisync/omnisync-1.0_p20200130-r1.ebuild new file mode 100644 index 000000000000..149c6e96da64 --- /dev/null +++ b/net-misc/omnisync/omnisync-1.0_p20200130-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic vcs-snapshot + +SNAPSHOT="c55215330b1e8a61af6d34d57d3d8236c8cc7d5b" + +DESCRIPTION="A driver for NTPd for people who are firewall-challenged" +HOMEPAGE="https://www.vanheusden.com/time/omnisync" +LICENSE="GPL-2" +SRC_URI="https://gitlab.com/grknight/omnisync/-/archive/${SNAPSHOT}/omnisync-${SNAPSHOT}.tar.bz2 -> ${P}.tar.bz2" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="net-libs/gnutls:= net-analyzer/net-snmp:=" +DEPEND="${RDEPEND}" +DOCS=( readme.txt Changes ) + +src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/861683 + # appears to be terminally dead + filter-lto + + cmake_src_configure +} + +src_install() { + cmake_src_install + newinitd "${FILESDIR}/${PN}.initd" ${PN} + newconfd "${FILESDIR}/${PN}.confd" ${PN} + einstalldocs +} + +pkg_postinst() { + local isConfigured=$(grep 'OMNISYNC_MODE=""' "${ROOT}/etc/conf.d/${PN}") + if [[ -n "${isConfigured}" ]] ; then + elog "Be sure to configure ${PN} in ${ROOT}/etc/conf.d before trying to start the service" + fi +} diff --git a/net-misc/omnisync/omnisync-1.0_p20200130.ebuild b/net-misc/omnisync/omnisync-1.0_p20200130.ebuild deleted file mode 100644 index 13ad5096ab1c..000000000000 --- a/net-misc/omnisync/omnisync-1.0_p20200130.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake flag-o-matic vcs-snapshot - -SNAPSHOT="c55215330b1e8a61af6d34d57d3d8236c8cc7d5b" - -DESCRIPTION="A driver for NTPd for people who are firewall-challenged" -HOMEPAGE="https://www.vanheusden.com/time/omnisync" -LICENSE="GPL-2" -SRC_URI="https://gitlab.com/grknight/omnisync/-/archive/${SNAPSHOT}/omnisync-${SNAPSHOT}.tar.bz2 -> ${P}.tar.bz2" - -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="net-libs/gnutls:= net-analyzer/net-snmp:=" -DEPEND="${RDEPEND}" -DOCS=( readme.txt Changes ) - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/861683 - # appears to be terminally dead - filter-lto - - cmake_src_configure -} - -src_install() { - cmake_src_install - newinitd "${FILESDIR}/${PN}.initd" ${PN} - newconfd "${FILESDIR}/${PN}.confd" ${PN} - einstalldocs -} - -pkg_postinst() { - local isConfigured=$(grep 'OMNISYNC_MODE=""' "${ROOT}/etc/conf.d/${PN}") - if [[ -n "${isConfigured}" ]] ; then - elog "Be sure to configure ${PN} in ${ROOT}/etc/conf.d before trying to start the service" - fi -} -- cgit v1.2.3-65-gdbad