Diff openntpd-6.2_p3-r2 with a openntpd-6.8_p1
/usr/portage/net-misc/openntpd/openntpd-6.8_p1.ebuild 2023-10-09 14:52:34.672368481 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2021 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 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" |
|
16 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
|
17 | 17 |
IUSE="selinux" |
18 | 18 | |
19 | 19 |
DEPEND=" |
20 | 20 |
!net-misc/ntp[-openntpd]" |
21 | ||
22 | 21 |
RDEPEND=" |
23 | 22 |
${DEPEND} |
24 | 23 |
acct-group/openntpd |
... | ... | |
27 | 26 | |
28 | 27 |
S="${WORKDIR}/${MY_P}" |
29 | 28 | |
30 |
PATCHES=( |
|
31 |
"${FILESDIR}/openntpd-6.2p3-fno-common.patch" |
|
32 |
) |
|
33 | ||
34 | 29 |
src_prepare() { |
35 | 30 |
default |
36 | 31 | |
... | ... | |
43 | 38 |
sed -i 's:"/db/ntpd.drift":"/openntpd/ntpd.drift":' src/ntpd.h || die |
44 | 39 | |
45 | 40 |
# fix default config to use gentoo pool |
46 |
sed -i 's:servers pool.ntp.org:#servers pool.ntp.org:' ntpd.conf || die |
|
41 |
sed -i 's:^server:#server:g' ntpd.conf || die |
|
47 | 42 |
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 |
48 | 43 | |
49 | 44 |
sed -ie 's/^constraints/#constraints/g' ntpd.conf || die |
... | ... | |
52 | 47 |
src_configure() { |
53 | 48 |
econf \ |
54 | 49 |
--with-privsep-user=openntpd \ |
55 |
--with-privsep-path=/var/lib/openntpd/chroot \ |
|
56 | 50 |
--disable-https-constraint |
57 | 51 |
} |
58 | 52 |