nixpkgs/pkgs/tools/networking/network-manager/l2tp/fix-paths.patch
Will Dietz cdf96e8a08 networkmanager-l2tp: 1.2.10 -> 1.2.12
Same patchups but moved to new file.
2019-04-02 17:57:00 +01:00

22 lines
533 B
Diff

diff --git a/shared/utils.c b/shared/utils.c
index c978a1f..d2c36cd 100644
--- a/shared/utils.c
+++ b/shared/utils.c
@@ -52,7 +52,7 @@ nm_find_ipsec (void)
{
static const char *ipsec_binary_paths[] =
{
- "/sbin/ipsec",
+ "@strongswan@/bin/ipsec",
"/usr/sbin/ipsec",
"/usr/local/sbin/ipsec",
"/sbin/strongswan",
@@ -77,7 +77,7 @@ nm_find_l2tpd (void)
{
static const char *l2tp_binary_paths[] =
{
- "/sbin/xl2tpd",
+ "@xl2tpd@/bin/xl2tpd",
"/usr/sbin/xl2tpd",
"/usr/local/sbin/xl2tpd",
NULL