--- PLUGINS.orig +++ PLUGINS @@ -14,7 +14,7 @@ plugin support only under Linux and Sola Plugins are loaded into pppd using the `plugin' option, which takes one argument, the name of a shared object file. The plugin option is a privileged option. If the name given does not contain a slash, pppd -will look in the /usr/lib/pppd/ directory for the file, where +will look in the /usr/lib64/pppd/ directory for the file, where is the version number of pppd, for example, 2.4.2. I suggest that you either give the full path name of the shared object file or just the base name; if you don't, it may be possible for --- README.orig +++ README @@ -261,8 +261,8 @@ What was new in ppp-2.4.1. per-tty options file are parsed correctly, and don't override values from the command line in most cases. -* The plugin option now looks in /usr/lib/pppd/ (for - example, /usr/lib/pppd/2.4.1b1) for shared objects for plugins if +* The plugin option now looks in /usr/lib64/pppd/ (for + example, /usr/lib64/pppd/2.4.1b1) for shared objects for plugins if there is no slash in the plugin name. * When loading a plugin, pppd will now check the version of pppd for --- pppd/pathnames.h.orig +++ pppd/pathnames.h @@ -57,9 +57,9 @@ #ifdef PLUGIN #ifdef __STDC__ -#define _PATH_PLUGIN DESTDIR "/lib/pppd/" VERSION +#define _PATH_PLUGIN DESTDIR "/lib64/pppd/" VERSION #else /* __STDC__ */ -#define _PATH_PLUGIN "/usr/lib/pppd" +#define _PATH_PLUGIN "/usr/lib64/pppd" #endif /* __STDC__ */ #endif /* PLUGIN */ --- pppd/plugins/Makefile.linux.orig +++ pppd/plugins/Makefile.linux @@ -7,7 +7,7 @@ INSTALL = install DESTDIR = $(INSTROOT)@DESTDIR@ BINDIR = $(DESTDIR)/sbin MANDIR = $(DESTDIR)/share/man/man8 -LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION) +LIBDIR = $(DESTDIR)/lib64/pppd/$(VERSION) SUBDIRS := rp-pppoe pppoatm pppol2tp # Uncomment the next line to include the radius authentication plugin --- pppd/plugins/pppoatm/Makefile.linux.orig +++ pppd/plugins/pppoatm/Makefile.linux @@ -7,7 +7,7 @@ INSTALL = install #*********************************************************************** DESTDIR = $(INSTROOT)@DESTDIR@ -LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION) +LIBDIR = $(DESTDIR)/lib64/pppd/$(VERSION) VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h) --- pppd/plugins/pppol2tp/Makefile.linux.orig +++ pppd/plugins/pppol2tp/Makefile.linux @@ -7,7 +7,7 @@ INSTALL = install #*********************************************************************** DESTDIR = @DESTDIR@ -LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION) +LIBDIR = $(DESTDIR)/lib64/pppd/$(VERSION) VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h) --- pppd/plugins/radius/Makefile.linux.orig +++ pppd/plugins/radius/Makefile.linux @@ -5,7 +5,7 @@ DESTDIR = $(INSTROOT)@DESTDIR@ MANDIR = $(DESTDIR)/share/man/man8 -LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION) +LIBDIR = $(DESTDIR)/lib64/pppd/$(VERSION) VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h) --- pppd/plugins/rp-pppoe/Makefile.linux.orig +++ pppd/plugins/rp-pppoe/Makefile.linux @@ -16,7 +16,7 @@ DESTDIR = $(INSTROOT)@DESTDIR@ BINDIR = $(DESTDIR)/sbin -LIBDIR = $(DESTDIR)/lib/pppd/$(PPPDVERSION) +LIBDIR = $(DESTDIR)/lib64/pppd/$(PPPDVERSION) PPPDVERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h) --- pppd/pppd.8.orig +++ pppd/pppd.8 @@ -946,7 +946,7 @@ persistent connections. .B plugin \fIfilename Load the shared library object file \fIfilename\fR as a plugin. This is a privileged option. If \fIfilename\fR does not contain a slash -(/), pppd will look in the \fB/usr/lib/pppd/\fIversion\fR directory +(/), pppd will look in the \fB/usr/lib64/pppd/\fIversion\fR directory for the plugin, where \fIversion\fR is the version number of pppd (for example, 2.4.2). .TP