mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
net-firewall/ipset: Fix bash-completion script
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
This commit is contained in:
11
net-firewall/ipset/files/ipset-bash-completion.patch
Normal file
11
net-firewall/ipset/files/ipset-bash-completion.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/utils/ipset_bash_completion/ipset 2024-03-09 12:53:38.756882196 -0500
|
||||
+++ b/utils/ipset_bash_completion/ipset 2024-03-09 12:54:32.838917743 -0500
|
||||
@@ -1005,7 +1005,7 @@ if ((got_bashcompl)); then
|
||||
if ! declare -F _ipset_known_hosts &>/dev/null; then
|
||||
eval '_ipset_known_hosts() { '$(declare -f _known_hosts_real | \
|
||||
grep -v __ltrim_colon_completions | \
|
||||
- grep -Ev "^_known_hosts_real.*$" | grep -Ev "^(\{|\})")'; }'
|
||||
+ grep -Ev "^_known_hosts_real.*$" | grep -Ev "^(\{|\})")' }'
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -21,6 +21,8 @@ RDEPEND="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-bash-completion.patch" )
|
||||
|
||||
DOCS=( ChangeLog INSTALL README UPGRADE )
|
||||
|
||||
# configurable from outside, e.g. /etc/portage/make.conf
|
||||
|
||||
Reference in New Issue
Block a user