Diff rdate-1.10 with a rdate-1.10.2
/usr/portage/net-misc/rdate/rdate-1.10.2.ebuild 2023-10-09 14:52:34.676368481 +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 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 |
inherit autotools |
|
6 |
MY_P="openrdate" |
|
7 | 7 | |
8 |
MY_P=openrdate |
|
8 |
inherit autotools |
|
9 | 9 | |
10 | 10 |
DESCRIPTION="Use TCP or UDP to retrieve the current time of another machine" |
11 | 11 |
HOMEPAGE="https://github.com/resurrecting-open-source-projects/openrdate" |
12 | 12 |
SRC_URI="https://github.com/resurrecting-open-source-projects/${MY_P}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
13 |
S="${WORKDIR}/${MY_P}-${PV}" |
|
13 | 14 | |
14 | 15 |
LICENSE="BSD-4" |
15 | 16 |
SLOT="0" |
16 | 17 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86" |
17 |
IUSE="" |
|
18 | 18 | |
19 | 19 |
DEPEND="dev-libs/libbsd" |
20 |
RDEPEND=${DEPEND} |
|
20 |
RDEPEND="${DEPEND}" |
|
21 | 21 | |
22 |
S=${WORKDIR}/${MY_P}-${PV} |
|
22 |
PATCHES=( |
|
23 |
"${FILESDIR}"/${PN}-1.10.2-fix-musl-compat-stdint.patch |
|
24 |
"${FILESDIR}"/${PN}-1.10.2-respect-AR.patch |
|
25 |
) |
|
23 | 26 | |
24 | 27 |
src_prepare() { |
25 | 28 |
default |
29 | ||
26 | 30 |
eautoreconf |
27 | 31 |
} |
28 | 32 | |
29 | 33 |
src_install() { |
30 | 34 |
default |
35 | ||
31 | 36 |
newinitd "${FILESDIR}"/rdate-initd-1.4-r3 rdate |
32 | 37 |
newconfd "${FILESDIR}"/rdate-confd rdate |
33 | 38 |
} |