Сравнение openntpd-6.8_p1 с openntpd-6.8_p1-r1
/usr/portage/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 2023-10-09 14:52:34.672368481 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
... | ... | |
13 | 13 | |
14 | 14 |
LICENSE="BSD GPL-2" |
15 | 15 |
SLOT="0" |
16 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
|
17 |
IUSE="selinux" |
|
16 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
|
17 |
IUSE="constraints selinux" |
|
18 | 18 | |
19 | 19 |
DEPEND=" |
20 |
!net-misc/ntp[-openntpd]" |
|
20 |
!net-misc/ntp[-openntpd] |
|
21 |
constraints? ( dev-libs/libretls:= )" |
|
22 | ||
21 | 23 |
RDEPEND=" |
22 | 24 |
${DEPEND} |
23 | 25 |
acct-group/openntpd |
... | ... | |
41 | 43 |
sed -i 's:^server:#server:g' ntpd.conf || die |
42 | 44 |
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 |
43 | 45 | |
44 |
sed -ie 's/^constraints/#constraints/g' ntpd.conf || die |
|
46 |
use constraints || sed -ie 's/^constraints/#constraints/g' ntpd.conf || die |
|
45 | 47 |
} |
46 | 48 | |
47 | 49 |
src_configure() { |
48 | 50 |
econf \ |
49 | 51 |
--with-privsep-user=openntpd \ |
50 |
--disable-https-constraint |
|
52 |
$(use_enable constraints https-constraint) |
|
51 | 53 |
} |
52 | 54 | |
53 | 55 |
src_install() { |