You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
730 B
26 lines
730 B
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
DESCRIPTION="Manages the {,/usr}/sbin/iptables symlink"
|
|
HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-iptables.git/"
|
|
SRC_URI="https://dev.gentoo.org/~chutzpah/dist/iptables/${P}.tar.xz
|
|
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
|
|
|
RDEPEND="app-admin/eselect"
|
|
|
|
src_install() {
|
|
insinto /usr/share/eselect/modules
|
|
doins iptables.eselect
|
|
|
|
local symlink
|
|
for symlink in {eb,arp}tables; do
|
|
dosym iptables.eselect /usr/share/eselect/modules/${symlink}.eselect
|
|
done
|
|
}
|