Diff ebtables-2.0.10.4-r1 with a ebtables-2.0.10.4-r2

/usr/portage/net-firewall/ebtables/ebtables-2.0.10.4-r2.ebuild 2018-03-07 22:38:00.000000000 +0300
1 1
# Copyright 1999-2018 Gentoo Foundation
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI="4"
4
EAPI="6"
5 5

  
6
inherit versionator eutils toolchain-funcs multilib flag-o-matic
6
inherit versionator toolchain-funcs flag-o-matic
7 7

  
8 8
MY_PV=$(replace_version_separator 3 '-' )
9 9
MY_P=${PN}-v${MY_PV}
......
19 19

  
20 20
# The ebtables-save script is written in perl.
21 21
RDEPEND="perl? ( dev-lang/perl )
22
	!<net-firewall/iptables-1.6.2-r2[nftables(-)]
23
	!net-misc/ethertypes
24
"
22
	net-misc/ethertypes"
25 23

  
26 24
S=${WORKDIR}/${MY_P}
27 25

  
......
34 32

  
35 33
src_prepare() {
36 34
	# Enhance ebtables-save to take table names as parameters bug #189315
37
	epatch "${FILESDIR}/${PN}-2.0.8.1-ebt-save.diff"
35
	local PATCHES=( "${FILESDIR}/${PN}-2.0.8.1-ebt-save.diff" )
36

  
37
	default
38 38

  
39 39
	sed -i -e "s,^MANDIR:=.*,MANDIR:=/usr/share/man," \
40 40
		-e "s,^BINDIR:=.*,BINDIR:=/sbin," \
......
62 62
		if ! use perl; then
63 63
			rm "${ED}"/sbin/ebtables-save || die
64 64
		fi
65
		# Bug 647458
66
		rm "${ED%/}"/etc/ethertypes || die
65 67
	else
66 68
		into /
67 69
		newsbin static ebtables
68
		insinto /etc
69
		doins ethertypes
70 70
	fi
71 71
	dodoc ChangeLog THANKS
72 72
}
Thank you!