aboutsummaryrefslogtreecommitdiffstats
path: root/main/ppp/fix-paths.patch
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2014-12-03 19:45:58 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2014-12-05 13:49:09 +0000
commit818c813530b73fb30bf1edd81185761aeb03f727 (patch)
tree1fc8d05837a2ab39e8bfce568648bc00049612f5 /main/ppp/fix-paths.patch
parent867c186c4b61de0e38e7351ed0509798bed47ae1 (diff)
downloadaports-818c813530b73fb30bf1edd81185761aeb03f727.tar.bz2
aports-818c813530b73fb30bf1edd81185761aeb03f727.tar.xz
main/ppp: upgrade to 2.4.7, split to modules
Diffstat (limited to 'main/ppp/fix-paths.patch')
-rw-r--r--main/ppp/fix-paths.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/main/ppp/fix-paths.patch b/main/ppp/fix-paths.patch
new file mode 100644
index 0000000000..0b08f7fb4e
--- /dev/null
+++ b/main/ppp/fix-paths.patch
@@ -0,0 +1,24 @@
+--- a/pppd/plugins/pppol2tp/Makefile.linux
++++ b/pppd/plugins/pppol2tp/Makefile.linux
+@@ -6,7 +6,7 @@
+
+ #***********************************************************************
+
+-DESTDIR = @DESTDIR@
++DESTDIR = $(INSTROOT)@DESTDIR@
+ LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION)
+
+ VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
+
+--- a/pppd/plugins/radius/pathnames.h
++++ b/pppd/plugins/radius/pathnames.h
+@@ -22,7 +22,7 @@
+
+ /* normally defined in the Makefile */
+ #ifndef _PATH_ETC_RADIUSCLIENT_CONF
+-#define _PATH_ETC_RADIUSCLIENT_CONF "/etc/radiusclient.conf"
++#define _PATH_ETC_RADIUSCLIENT_CONF "/etc/radiusclient/radiusclient.conf"
+ #endif
+
+ #endif /* PATHNAMES_H */
+