[packages/ppp] bcond for MPPC support

atler atler at pld-linux.org
Mon Apr 6 13:11:12 CEST 2015


commit ce925c33b83a4f6317510f089a51cd9043515b2c
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Apr 6 13:08:55 2015 +0200

    bcond for MPPC support
    
    MPPC patch breaks compatiblity with NetworkManager-pptp

 ppp.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/ppp.spec b/ppp.spec
index 7f66b09..3d9017a 100644
--- a/ppp.spec
+++ b/ppp.spec
@@ -3,6 +3,7 @@
 # - check if %{_libdir}/pppd/%{version} path is needed, if not drop the symlink
 
 # Conditional build:
+%bcond_without	mppc	# without MPPC support
 %bcond_without	pppoatm	# without PPPoATM plugin (which requires kernel 2.4 and atm-devel)
 %bcond_without	srp	# without SRP support
 #
@@ -128,7 +129,9 @@ Wtyczka PPPoATM dla pppd.
 %if "%{_lib}" == "lib64"
 %patch9 -p1
 %endif
+%if %{with mppc}
 %patch10 -p1
+%endif
 %patch11 -p1
 %if "%{_lib}" == "libx32"
 %patch12 -p1
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ppp.git/commitdiff/ce925c33b83a4f6317510f089a51cd9043515b2c



More information about the pld-cvs-commit mailing list