/[smeserver]/rpms/ppp/sme9/ppp-2.4.5-var_run_ppp.patch
ViewVC logotype

Annotation of /rpms/ppp/sme9/ppp-2.4.5-var_run_ppp.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Wed Mar 6 22:45:24 2013 UTC (11 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: ppp-2_4_5-24_fc19, ppp-2_4_5-24_el6_sme, HEAD
Initial import

1 slords 1.1 diff -up ppp-2.4.5/pppd/pathnames.h.var_run_ppp ppp-2.4.5/pppd/pathnames.h
2     --- ppp-2.4.5/pppd/pathnames.h.var_run_ppp 2010-11-23 10:14:24.557427000 +0100
3     +++ ppp-2.4.5/pppd/pathnames.h 2010-11-23 10:24:07.432426793 +0100
4     @@ -6,8 +6,9 @@
5    
6     #ifdef HAVE_PATHS_H
7     #include <paths.h>
8     -
9     +#define _PPP_SUBDIR "ppp/"
10     #else /* HAVE_PATHS_H */
11     +#define _PPP_SUBDIR
12     #ifndef _PATH_VARRUN
13     #define _PATH_VARRUN "/etc/ppp/"
14     #endif
15     @@ -46,13 +54,9 @@
16     #endif /* IPX_CHANGE */
17    
18     #ifdef __STDC__
19     -#define _PATH_PPPDB _ROOT_PATH _PATH_VARRUN "pppd2.tdb"
20     +#define _PATH_PPPDB _ROOT_PATH _PATH_VARRUN _PPP_SUBDIR "pppd2.tdb"
21     #else /* __STDC__ */
22     -#ifdef HAVE_PATHS_H
23     -#define _PATH_PPPDB "/var/run/pppd2.tdb"
24     -#else
25     -#define _PATH_PPPDB "/etc/ppp/pppd2.tdb"
26     -#endif
27     +#define _PATH_PPPDB _PATH_VARRUN _PPP_SUBDIR "pppd2.tdb"
28     #endif /* __STDC__ */
29    
30     #ifdef PLUGIN

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed