From 0dccf910fa8936f6d02499f785f105fe0ec3c3fa Mon Sep 17 00:00:00 2001 From: Dennis Eisele Date: Wed, 26 Jan 2022 23:27:35 +0100 Subject: [PATCH] net-vpn/strongswan: change postemerge message for non-root Thanks-to: Ronald Closes: 424373,468674 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Dennis Eisele Closes: https://github.com/gentoo/gentoo/pull/23976 Signed-off-by: Florian Schmaus --- net-vpn/strongswan/strongswan-5.9.2-r2.ebuild | 15 +++++---------- net-vpn/strongswan/strongswan-5.9.4-r1.ebuild | 11 +++-------- 2 files changed, 8 insertions(+), 18 deletions(-) diff --git a/net-vpn/strongswan/strongswan-5.9.2-r2.ebuild b/net-vpn/strongswan/strongswan-5.9.2-r2.ebuild index b537c194e0613..8d920548b62e8 100644 --- a/net-vpn/strongswan/strongswan-5.9.2-r2.ebuild +++ b/net-vpn/strongswan/strongswan-5.9.2-r2.ebuild @@ -276,18 +276,13 @@ pkg_postinst() { if use non-root; then elog elog "${PN} has been installed without superuser privileges (USE=non-root)." - elog "This imposes several limitations mainly to the IKEv1 daemon 'pluto'" - elog "but also a few to the IKEv2 daemon 'charon'." + elog "This imposes a few limitations mainly to the daemon 'charon' in" + elog "regards of the use of iptables." elog - elog "Please carefully read: http://wiki.strongswan.org/wiki/nonRoot" + elog "Please carefully read: https://wiki.strongswan.org/projects/strongswan/wiki/ReducedPrivileges" elog - elog "pluto uses a helper script by default to insert/remove routing and" - elog "policy rules upon connection start/stop which requires superuser" - elog "privileges. charon in contrast does this internally and can do so" - elog "even with reduced (user) privileges." - elog - elog "Thus if you require IKEv1 (pluto) or need to specify a custom updown" - elog "script to pluto or charon which requires superuser privileges, you" + elog "Thus if you require to specify a custom updown" + elog "script to charon which requires superuser privileges, you" elog "can work around this limitation by using sudo to grant the" elog "user \"ipsec\" the appropriate rights." elog "For example (the default case):" diff --git a/net-vpn/strongswan/strongswan-5.9.4-r1.ebuild b/net-vpn/strongswan/strongswan-5.9.4-r1.ebuild index 5d6ceeabdcccc..32650ad0af2b5 100644 --- a/net-vpn/strongswan/strongswan-5.9.4-r1.ebuild +++ b/net-vpn/strongswan/strongswan-5.9.4-r1.ebuild @@ -282,15 +282,10 @@ pkg_postinst() { elog "This imposes several limitations mainly to the IKEv1 daemon 'pluto'" elog "but also a few to the IKEv2 daemon 'charon'." elog - elog "Please carefully read: http://wiki.strongswan.org/wiki/nonRoot" + elog "Please carefully read: http://wiki.strongswan.org/projects/strongswan/wiki/ReducedPrivileges" elog - elog "pluto uses a helper script by default to insert/remove routing and" - elog "policy rules upon connection start/stop which requires superuser" - elog "privileges. charon in contrast does this internally and can do so" - elog "even with reduced (user) privileges." - elog - elog "Thus if you require IKEv1 (pluto) or need to specify a custom updown" - elog "script to pluto or charon which requires superuser privileges, you" + elog "Thus if you require to specify a custom updown" + elog "script to charon which requires superuser privileges, you" elog "can work around this limitation by using sudo to grant the" elog "user \"ipsec\" the appropriate rights." elog "For example (the default case):"