Diff ntpsec-1.2.2-r1 with a ntpsec-1.2.2a

/usr/portage/net-misc/ntpsec/ntpsec-1.2.2a.ebuild 2023-10-09 14:52:34.668368481 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
PYTHON_COMPAT=( python3_{9..11} )
6
DISTUTILS_EXT=1
7
PYTHON_COMPAT=( python3_{10..11} )
7 8
PYTHON_REQ_USE='threads(+)'
8 9
DISTUTILS_USE_SETUPTOOLS=no
9 10

  
......
13 14
	inherit git-r3
14 15
	EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
15 16
else
16
	SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${P}.tar.gz"
17
	KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
17
	VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/ntpsec.asc
18
	inherit verify-sig
19
	SRC_URI="
20
		https://ftp.ntpsec.org/pub/releases/${P}.tar.gz
21
		verify-sig? ( https://ftp.ntpsec.org/pub/releases/${P}.tar.gz.asc )
22
	"
23
	KEYWORDS="amd64 arm arm64 ~riscv ~x86"
24

  
25
	BDEPEND="verify-sig? ( sec-keys/openpgp-keys-ntpsec )"
18 26
fi
19 27

  
20 28
DESCRIPTION="The NTP reference implementation, refactored"
21 29
HOMEPAGE="https://www.ntpsec.org/"
22 30

  
31
LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
32
SLOT="0"
33

  
23 34
NTPSEC_REFCLOCK=(
24 35
	oncore trimble truetime gpsd jjy generic spectracom
25 36
	shm pps hpgps zyfer arbiter nmea modem local
......
27 38

  
28 39
IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
29 40

  
30
LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
31
SLOT="0"
32 41
IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear" #ionice
33 42
REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
34 43

  
35 44
# net-misc/pps-tools oncore,pps
36
DEPEND="${PYTHON_DEPS}
45
DEPEND="
46
	${PYTHON_DEPS}
37 47
	dev-libs/openssl:=
38 48
	dev-python/psutil[${PYTHON_USEDEP}]
39 49
	sys-libs/libcap
40 50
	libbsd? ( dev-libs/libbsd:0= )
41 51
	seccomp? ( sys-libs/libseccomp )
42 52
	rclock_oncore? ( net-misc/pps-tools )
43
	rclock_pps? ( net-misc/pps-tools )"
44
RDEPEND="${DEPEND}
53
	rclock_pps? ( net-misc/pps-tools )
54
"
55
RDEPEND="
56
	${DEPEND}
45 57
	!net-misc/ntp
46 58
	!net-misc/openntpd
47 59
	acct-group/ntp
48 60
	acct-user/ntp
49
	ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )"
50
BDEPEND=">=app-text/asciidoc-8.6.8
61
	ntpviz? (
62
		media-fonts/liberation-fonts
63
		sci-visualization/gnuplot
64
	)
65
"
66
BDEPEND+="
67
	>=app-text/asciidoc-8.6.8
51 68
	dev-libs/libxslt
52 69
	app-text/docbook-xsl-stylesheets
53
	sys-devel/bison"
70
	sys-devel/bison
71
"
54 72

  
55 73
PATCHES=(
56 74
	"${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
......
74 92
}
75 93

  
76 94
src_configure() {
77
	is-flagq -flto* && filter-flags -fuse-linker-plugin
78 95
	filter-lto
79 96

  
80 97
	local string_127=""
......
138 155
	chmod 770 "${ED}"/var/lib/ntp
139 156
	keepdir /var/lib/ntp
140 157

  
141
	# Install a log rotate script
158
	# Install a logrotate script
142 159
	mkdir -pv "${ED}"/etc/logrotate.d
143 160
	cp -v "${S}"/etc/logrotate-config.ntpd "${ED}"/etc/logrotate.d/ntpd
144 161

  
Thank you!