Diff netifrc-0.7.5 with a netifrc-0.7.6
/usr/portage/net-misc/netifrc/netifrc-0.7.6.ebuild 2023-10-09 14:52:34.664368481 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 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 systemd udev |
7 | 7 | |
8 | 8 |
DESCRIPTION="Gentoo Network Interface Management Scripts" |
9 | 9 |
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Netifrc" |
10 | 10 | |
11 |
if [[ ${PV} == "9999" ]]; then |
|
12 |
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/netifrc.git" |
|
13 |
#EGIT_REPO_URI="https://github.com/gentoo/${PN}" # Alternate |
|
11 |
if [[ ${PV} == 9999 ]]; then |
|
12 |
EGIT_REPO_URI=" |
|
13 |
https://anongit.gentoo.org/git/proj/netifrc.git |
|
14 |
https://github.com/gentoo/${PN} |
|
15 |
" |
|
14 | 16 |
inherit git-r3 |
15 | 17 |
else |
16 | 18 |
SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.gz" |
17 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" |
|
19 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
|
18 | 20 |
fi |
19 | 21 | |
20 | 22 |
LICENSE="BSD-2 GPL-2" |
21 | 23 |
SLOT="0" |
22 | 24 |
IUSE="+dhcp" |
23 | 25 | |
24 |
RDEPEND="sys-apps/gentoo-functions |
|
26 |
RDEPEND=" |
|
27 |
sys-apps/gentoo-functions |
|
25 | 28 |
>=sys-apps/openrc-0.15 |
26 |
dhcp? ( || ( net-misc/dhcpcd net-misc/dhcp[client] ) )" |
|
29 |
dhcp? ( || ( net-misc/dhcpcd net-misc/dhcp[client] ) ) |
|
30 |
" |
|
27 | 31 |
BDEPEND="kernel_linux? ( virtual/pkgconfig )" |
28 | 32 | |
29 | 33 |
src_prepare() { |
30 |
if [[ ${PV} == "9999" ]] ; then |
|
34 |
if [[ ${PV} == 9999 ]] ; then |
|
31 | 35 |
local ver="git-${EGIT_VERSION:0:6}" |
32 | 36 |
sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die |
33 | 37 |
einfo "Producing ChangeLog from Git history" |