commit:     03efd9dc6df744e3776778c88b2a562ee5146bb9
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  9 12:07:33 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Tue Jul  9 12:08:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03efd9dc

net-vpn/tinc: add bash-completion alias for tincd

Closes: https://bugs.gentoo.org/925258
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 net-vpn/tinc/{tinc-1.1_pre18-r1.ebuild => tinc-1.1_pre18-r2.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-vpn/tinc/tinc-1.1_pre18-r1.ebuild 
b/net-vpn/tinc/tinc-1.1_pre18-r2.ebuild
similarity index 96%
rename from net-vpn/tinc/tinc-1.1_pre18-r1.ebuild
rename to net-vpn/tinc/tinc-1.1_pre18-r2.ebuild
index 0fe4682890c8..c7e7e106b87e 100644
--- a/net-vpn/tinc/tinc-1.1_pre18-r1.ebuild
+++ b/net-vpn/tinc/tinc-1.1_pre18-r2.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 MY_PV=${PV/_/}
 MY_P=${PN}-${MY_PV}
 
-inherit autotools flag-o-matic systemd
+inherit autotools bash-completion-r1 flag-o-matic systemd
 
 DESCRIPTION="tinc is an easy to configure VPN implementation"
 HOMEPAGE="https://www.tinc-vpn.org/";
@@ -80,6 +80,8 @@ src_install() {
        doconfd "${FILESDIR}"/tinc.networks
        newconfd "${FILESDIR}"/tincd.conf tincd
        newinitd "${FILESDIR}"/tincd-r2 tincd
+
+       bashcomp_alias tinc tincd
 }
 
 pkg_postinst() {

Reply via email to