Сравнение adjtimex-1.29-r3 с adjtimex-1.29-r4

/usr/portage/net-misc/adjtimex/adjtimex-1.29-r4.ebuild 2025-07-29 16:22:17.276467512 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2025 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI="7"
4
EAPI=8
5 5

  
6 6
inherit fixheadtails toolchain-funcs
7 7

  
8
DEBIAN_PV="10"
8
DEBIAN_PV="12"
9 9
MY_P="${P/-/_}"
10 10
DEBIAN_URI="mirror://debian/pool/main/${PN:0:1}/${PN}"
11 11
DEBIAN_PATCH="${MY_P}-${DEBIAN_PV}.debian.tar.xz"
......
13 13

  
14 14
DESCRIPTION="Display or set the kernel time variables"
15 15
HOMEPAGE="https://www.ibiblio.org/pub/Linux/system/admin/time/adjtimex.lsm https://github.com/rogers0/adjtimex"
16
SRC_URI="${DEBIAN_URI}/${DEBIAN_PATCH}
17
	${DEBIAN_URI}/${DEBIAN_SRC}"
16
SRC_URI="
17
	${DEBIAN_URI}/${DEBIAN_PATCH}
18
	${DEBIAN_URI}/${DEBIAN_SRC}
19
"
18 20

  
19 21
LICENSE="GPL-2"
20 22
SLOT="0"
21
KEYWORDS="~alpha amd64 ppc x86"
23
KEYWORDS="~alpha ~amd64 ~ppc ~x86"
22 24

  
23 25
RDEPEND="!net-misc/sntpd[adjtimex]"
24 26

  
......
31 33
src_prepare() {
32 34
	# Debian series first
33 35
	DEBPATCHDIR="${S}"/debian/patches/
34
	for f in $(cat "$DEBPATCHDIR/series") ; do
35
		eapply "$DEBPATCHDIR"/$f
36
	local f
37
	for f in $(cat "${DEBPATCHDIR}/series") ; do
38
		eapply "${DEBPATCHDIR}"/${f}
36 39
	done
37 40

  
38 41
	# Then gentoo changes
39 42
	for i in debian/adjtimexconfig debian/adjtimexconfig.8 ; do
40 43
		sed -e 's|/etc/default/adjtimex|/etc/conf.d/adjtimex|' \
41
			-i.orig ${i}
44
			-i.orig ${i} || die
42 45
		sed -e 's|^/sbin/adjtimex |/usr/sbin/adjtimex |' \
43
			-i.orig ${i}
46
			-i.orig ${i} || die
44 47
	done
45 48

  
46 49
	eapply "${FILESDIR}"/${PN}-1.29-r2-gentoo-utc.patch
Спасибо!