diff options
author | Sam James <sam@gentoo.org> | 2023-04-23 16:51:55 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-04-23 16:52:32 +0100 |
commit | 38bac18e75d84d6bbd293b095c0a01d3e2b283e6 (patch) | |
tree | ed3cadf94d4182da0c8158fb44e07591bc4e8e03 /net-vpn | |
parent | net-vpn/networkmanager-l2tp: fix patch rename metadata (diff) | |
download | gentoo-38bac18e75d84d6bbd293b095c0a01d3e2b283e6.tar.gz gentoo-38bac18e75d84d6bbd293b095c0a01d3e2b283e6.tar.bz2 gentoo-38bac18e75d84d6bbd293b095c0a01d3e2b283e6.zip |
net-vpn/networkmanager-fortisslvpn: fix patch rename metadata
Closes: https://bugs.gentoo.org/904879
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-vpn')
4 files changed, 40 insertions, 2 deletions
diff --git a/net-vpn/networkmanager-fortisslvpn/files/networkmanager-fortisslvpn-1.4.0-ppp-2.5.0-1.patch b/net-vpn/networkmanager-fortisslvpn/files/networkmanager-fortisslvpn-1.4.0-ppp-2.5.0-1.patch index 71da31e3e435..15d26822b71c 100644 --- a/net-vpn/networkmanager-fortisslvpn/files/networkmanager-fortisslvpn-1.4.0-ppp-2.5.0-1.patch +++ b/net-vpn/networkmanager-fortisslvpn/files/networkmanager-fortisslvpn-1.4.0-ppp-2.5.0-1.patch @@ -11,6 +11,19 @@ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Eivind Næss <eivnaes@yahoo.com> +--- + Makefile.am | 5 +- + configure.ac | 37 +++++++- + src/nm-fortisslvpn-pppd-compat.h | 93 +++++++++++++++++++ + src/nm-fortisslvpn-pppd-plugin.c | 24 ++--- + ...-status.h => nm-fortisslvpn-pppd-status.h} | 0 + src/nm-fortisslvpn-service.c | 2 +- + 6 files changed, 145 insertions(+), 16 deletions(-) + create mode 100644 src/nm-fortisslvpn-pppd-compat.h + rename src/{nm-ppp-status.h => nm-fortisslvpn-pppd-status.h} (100%) + +diff --git a/Makefile.am b/Makefile.am +index b2e5533..e1e5ec9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -81,7 +81,7 @@ libexec_PROGRAMS += src/nm-fortisslvpn-service @@ -32,6 +45,8 @@ Signed-off-by: Eivind Næss <eivnaes@yahoo.com> nodist_src_nm_fortisslvpn_pppd_plugin_la_SOURCES = \ src/nm-fortisslvpn-pppd-service-dbus.h src_nm_fortisslvpn_pppd_plugin_la_CPPFLAGS = $(src_cppflags) +diff --git a/configure.ac b/configure.ac +index a998707..877493e 100644 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,10 @@ AC_PROG_CC @@ -98,6 +113,9 @@ Signed-off-by: Eivind Næss <eivnaes@yahoo.com> dnl dnl Checks for typedefs, structures, and compiler characteristics. dnl +diff --git a/src/nm-fortisslvpn-pppd-compat.h b/src/nm-fortisslvpn-pppd-compat.h +new file mode 100644 +index 0000000..9a02908 --- /dev/null +++ b/src/nm-fortisslvpn-pppd-compat.h @@ -0,0 +1,93 @@ @@ -194,6 +212,8 @@ Signed-off-by: Eivind Næss <eivnaes@yahoo.com> + +#endif // #if WITH_PPP_VERSION < PPP_VERSION(2,5,0) +#endif // #ifdef __NM_FORTISSLVPN_PPPD_COMPAT_H__ +diff --git a/src/nm-fortisslvpn-pppd-plugin.c b/src/nm-fortisslvpn-pppd-plugin.c +index f2ad262..c2efb9a 100644 --- a/src/nm-fortisslvpn-pppd-plugin.c +++ b/src/nm-fortisslvpn-pppd-plugin.c @@ -23,12 +23,6 @@ @@ -266,9 +286,12 @@ Signed-off-by: Eivind Næss <eivnaes@yahoo.com> +#endif return 0; } +diff --git a/src/nm-ppp-status.h b/src/nm-fortisslvpn-pppd-status.h similarity index 100% rename from src/nm-ppp-status.h rename to src/nm-fortisslvpn-pppd-status.h +diff --git a/src/nm-fortisslvpn-service.c b/src/nm-fortisslvpn-service.c +index 6c340d0..a8483c2 100644 --- a/src/nm-fortisslvpn-service.c +++ b/src/nm-fortisslvpn-service.c @@ -40,7 +40,7 @@ diff --git a/net-vpn/networkmanager-fortisslvpn/files/networkmanager-fortisslvpn-1.4.0-ppp-2.5.0-2.patch b/net-vpn/networkmanager-fortisslvpn/files/networkmanager-fortisslvpn-1.4.0-ppp-2.5.0-2.patch index a0b14d390e9f..d322ba4bfe9f 100644 --- a/net-vpn/networkmanager-fortisslvpn/files/networkmanager-fortisslvpn-1.4.0-ppp-2.5.0-2.patch +++ b/net-vpn/networkmanager-fortisslvpn/files/networkmanager-fortisslvpn-1.4.0-ppp-2.5.0-2.patch @@ -10,6 +10,12 @@ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Eivind Næss <eivnaes@yahoo.com> +--- + configure.ac | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 877493e..a5b4abb 100644 --- a/configure.ac +++ b/configure.ac @@ -47,11 +47,7 @@ AC_CHECK_HEADERS(pppd/pppd.h,, diff --git a/net-vpn/networkmanager-fortisslvpn/files/networkmanager-fortisslvpn-1.4.0-ppp-2.5.0-3.patch b/net-vpn/networkmanager-fortisslvpn/files/networkmanager-fortisslvpn-1.4.0-ppp-2.5.0-3.patch index 30092c021bd3..441b8e103398 100644 --- a/net-vpn/networkmanager-fortisslvpn/files/networkmanager-fortisslvpn-1.4.0-ppp-2.5.0-3.patch +++ b/net-vpn/networkmanager-fortisslvpn/files/networkmanager-fortisslvpn-1.4.0-ppp-2.5.0-3.patch @@ -12,6 +12,13 @@ inline function ppp_add_notify(). Additional formatting changes to the nm-fortisslvpn-pppd-compat.h based on review from Lubomir. +--- + src/nm-fortisslvpn-pppd-compat.h | 112 ++++++++++++++++++++----------- + src/nm-fortisslvpn-pppd-plugin.c | 6 -- + 2 files changed, 71 insertions(+), 47 deletions(-) + +diff --git a/src/nm-fortisslvpn-pppd-compat.h b/src/nm-fortisslvpn-pppd-compat.h +index 9a02908..5d2d02a 100644 --- a/src/nm-fortisslvpn-pppd-compat.h +++ b/src/nm-fortisslvpn-pppd-compat.h @@ -1,32 +1,15 @@ @@ -170,6 +177,8 @@ on review from Lubomir. -#endif // #ifdef __NM_FORTISSLVPN_PPPD_COMPAT_H__ +#endif /* #if WITH_PPP_VERSION < PPP_VERSION(2,5,0) */ +#endif /* #ifdef __NM_FORTISSLVPN_PPPD_COMPAT_H__ */ +diff --git a/src/nm-fortisslvpn-pppd-plugin.c b/src/nm-fortisslvpn-pppd-plugin.c +index c2efb9a..0f1c687 100644 --- a/src/nm-fortisslvpn-pppd-plugin.c +++ b/src/nm-fortisslvpn-pppd-plugin.c @@ -438,14 +438,8 @@ plugin_init (void) diff --git a/net-vpn/networkmanager-fortisslvpn/networkmanager-fortisslvpn-1.4.0-r2.ebuild b/net-vpn/networkmanager-fortisslvpn/networkmanager-fortisslvpn-1.4.0-r2.ebuild index b04017413c2d..0495b82d0473 100644 --- a/net-vpn/networkmanager-fortisslvpn/networkmanager-fortisslvpn-1.4.0-r2.ebuild +++ b/net-vpn/networkmanager-fortisslvpn/networkmanager-fortisslvpn-1.4.0-r2.ebuild @@ -42,10 +42,10 @@ PATCHES=( ) src_prepare() { - default - # Fix deprecated location, #709450 sed -i 's|/appdata|/metainfo|g' Makefile.{in,am} || die + + gnome2_src_prepare } src_configure() { |