Lines 7-13
EAPI="5"
Link Here
|
7 |
# Force users doing their own patches to install their own tools |
7 |
# Force users doing their own patches to install their own tools |
8 |
AUTOTOOLS_AUTO_DEPEND=no |
8 |
AUTOTOOLS_AUTO_DEPEND=no |
9 |
|
9 |
|
10 |
inherit eutils multilib toolchain-funcs autotools |
10 |
inherit eutils multilib systemd toolchain-funcs autotools |
11 |
|
11 |
|
12 |
DESCRIPTION="Linux kernel (2.4+) firewall, NAT and packet mangling tools" |
12 |
DESCRIPTION="Linux kernel (2.4+) firewall, NAT and packet mangling tools" |
13 |
HOMEPAGE="http://www.netfilter.org/projects/iptables/" |
13 |
HOMEPAGE="http://www.netfilter.org/projects/iptables/" |
Lines 80-85
src_install() {
Link Here
|
80 |
newconfd "${FILESDIR}"/ip6tables-1.4.13.confd ip6tables |
80 |
newconfd "${FILESDIR}"/ip6tables-1.4.13.confd ip6tables |
81 |
fi |
81 |
fi |
82 |
|
82 |
|
|
|
83 |
systemd_dounit "${FILESDIR}"/systemd/iptables-{re,}store.service |
84 |
systemd_enable_service shutdown.target iptables-store.service |
85 |
systemd_enable_service basic.target iptables-restore.service |
86 |
if use ipv6 ; then |
87 |
systemd_dounit "${FILESDIR}"/systemd/ip6tables-{re,}store.service |
88 |
systemd_enable_service shutdown.target ip6tables-store.service |
89 |
systemd_enable_service basic.target ip6tables-restore.service |
90 |
fi |
91 |
|
83 |
# Move important libs to /lib |
92 |
# Move important libs to /lib |
84 |
gen_usr_ldscript -a ip{4,6}tc iptc xtables |
93 |
gen_usr_ldscript -a ip{4,6}tc iptc xtables |
85 |
|
94 |
|
86 |
- |
|
|