From 41a19dfd2ee5ee4fbee7a6d1c80838c5158d0fc1 Mon Sep 17 00:00:00 2001 From: Michal Sekletar Date: Thu, 17 May 2012 16:11:58 +0200 Subject: [PATCH] Fixed compilation of pppd without USE_EAPTLS --- ppp-2.4.5-eaptls-mppe-0.99.patch | 4 ++-- ppp.spec | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ppp-2.4.5-eaptls-mppe-0.99.patch b/ppp-2.4.5-eaptls-mppe-0.99.patch index eb6c2a6..04d6b26 100644 --- a/ppp-2.4.5-eaptls-mppe-0.99.patch +++ b/ppp-2.4.5-eaptls-mppe-0.99.patch @@ -400,9 +400,9 @@ diff -Naur ppp-2.4.5/pppd/auth.c ppp-2.4.5-eaptls-mppe-0.99/pppd/auth.c - have_srp_secret(user, (explicit_remote? remote_name: NULL), 0, NULL)); + have_srp_secret(user, (explicit_remote? remote_name: NULL), 0, NULL) +#ifdef USE_EAPTLS -+ || have_eaptls_secret_client(user, (explicit_remote? remote_name: NULL))) ++ || have_eaptls_secret_client(user, (explicit_remote? remote_name: NULL)) +#endif -+ ; ++ ); hadchap = -1; if (go->neg_upap && !uselogin && !have_pap_secret(NULL)) diff --git a/ppp.spec b/ppp.spec index d9a19a7..5d23cef 100644 --- a/ppp.spec +++ b/ppp.spec @@ -1,7 +1,7 @@ Summary: The Point-to-Point Protocol daemon Name: ppp Version: 2.4.5 -Release: 19%{?dist} +Release: 20%{?dist} License: BSD and LGPLv2+ and GPLv2+ and Public Domain Group: System Environment/Daemons URL: http://www.samba.org/ppp @@ -157,6 +157,9 @@ rm -rf $RPM_BUILD_ROOT %doc PLUGINS %changelog +* Thu May 17 2012 Michal Sekletar +- Resolves: #771340 - fixed compilation of pppd without USE_EAPTLS + * Sat Jan 14 2012 Fedora Release Engineering - 2.4.5-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild