summaryrefslogtreecommitdiff
path: root/net-misc/openntpd/openntpd-6.8_p1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-04 22:28:33 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-04 22:28:33 +0100
commita978c074e4272bb901fbe4a10de0a7b2af574f17 (patch)
tree8c764c1cc0576389ce22abd317bceba71ea5732d /net-misc/openntpd/openntpd-6.8_p1.ebuild
parent40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (diff)
gentoo resync : 04.05.2021
Diffstat (limited to 'net-misc/openntpd/openntpd-6.8_p1.ebuild')
-rw-r--r--net-misc/openntpd/openntpd-6.8_p1.ebuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/net-misc/openntpd/openntpd-6.8_p1.ebuild b/net-misc/openntpd/openntpd-6.8_p1.ebuild
index ce6e6c788913..ee0f69ce5392 100644
--- a/net-misc/openntpd/openntpd-6.8_p1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,12 +14,10 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
LICENSE="BSD GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="libressl selinux"
+IUSE="selinux"
DEPEND="
- !net-misc/ntp[-openntpd]
- libressl? ( dev-libs/libressl:0= )"
-
+ !net-misc/ntp[-openntpd]"
RDEPEND="
${DEPEND}
acct-group/openntpd
@@ -43,14 +41,13 @@ src_prepare() {
sed -i 's:^server:#server:g' ntpd.conf || die
printf "\n# Choose servers announced from Gentoo NTP Pool\nservers 0.gentoo.pool.ntp.org\nservers 1.gentoo.pool.ntp.org\nservers 2.gentoo.pool.ntp.org\nservers 3.gentoo.pool.ntp.org\n" >> ntpd.conf || die
- # disable constraint config if libressl not enabled
- use libressl || sed -ie 's/^constraints/#constraints/g' ntpd.conf || die
+ sed -ie 's/^constraints/#constraints/g' ntpd.conf || die
}
src_configure() {
econf \
--with-privsep-user=openntpd \
- $(use_enable libressl https-constraint)
+ --disable-https-constraint
}
src_install() {