94 lines
3.2 KiB
Diff
94 lines
3.2 KiB
Diff
--- PLUGINS
|
|
+++ PLUGINS
|
|
@@ -14,7 +14,7 @@
|
|
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/<version> directory for the file, where
|
|
+will look in the /usr/lib64/pppd/<version> directory for the file, where
|
|
<version> 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
|
|
+++ README
|
|
@@ -178,8 +178,8 @@
|
|
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/<pppd-version> (for
|
|
- example, /usr/lib/pppd/2.4.1b1) for shared objects for plugins if
|
|
+* The plugin option now looks in /usr/lib64/pppd/<pppd-version> (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
|
|
+++ 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
|
|
+++ pppd/plugins/Makefile.linux
|
|
@@ -7,7 +7,7 @@
|
|
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
|
|
# Uncomment the next line to include the radius authentication plugin
|
|
--- pppd/plugins/pppoatm/Makefile.linux
|
|
+++ pppd/plugins/pppoatm/Makefile.linux
|
|
@@ -7,7 +7,7 @@
|
|
#***********************************************************************
|
|
|
|
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
|
|
+++ 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
|
|
+++ pppd/plugins/rp-pppoe/Makefile.linux
|
|
@@ -15,7 +15,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
|
|
+++ pppd/pppd.8
|
|
@@ -889,7 +889,7 @@
|
|
.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
|