net-vpn/strongswan: change postemerge message for non-root

Thanks-to: Ronald <ronald654@gmail.com>
Closes: 424373,468674
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Dennis Eisele <kernlpanic@dennis-eisele.de>
Closes: https://github.com/gentoo/gentoo/pull/23976
Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
Dennis Eisele
2022-01-27 16:32:12 +01:00
committed by Florian Schmaus
parent 56a08576a2
commit 0dccf910fa
2 changed files with 8 additions and 18 deletions
+5 -10
View File
@@ -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):"
@@ -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):"