summarylogtreecommitdiffstats
path: root/gentoo-openl2tp-1.8-l2tpconfig.patch
diff options
context:
space:
mode:
authorKanogin Alex2016-01-17 18:46:34 +0300
committerKanogin Alex2016-01-17 18:46:34 +0300
commit16e6e97b7f695931da39bf259b6f5946a21b9d04 (patch)
treef501e8b0ff85f19b27a7d4578b707bceebb83db2 /gentoo-openl2tp-1.8-l2tpconfig.patch
downloadaur-16e6e97b7f695931da39bf259b6f5946a21b9d04.tar.gz
Initial commit
Diffstat (limited to 'gentoo-openl2tp-1.8-l2tpconfig.patch')
-rw-r--r--gentoo-openl2tp-1.8-l2tpconfig.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/gentoo-openl2tp-1.8-l2tpconfig.patch b/gentoo-openl2tp-1.8-l2tpconfig.patch
new file mode 100644
index 000000000000..bf1644c9a144
--- /dev/null
+++ b/gentoo-openl2tp-1.8-l2tpconfig.patch
@@ -0,0 +1,15 @@
+diff -Naur openl2tp-1.7.man//Makefile openl2tp-1.7/Makefile
+--- openl2tp-1.7.man//Makefile 2010-09-05 11:02:18.000000000 +0400
++++ openl2tp-1.7/Makefile 2010-09-05 12:25:51.694863508 +0400
+@@ -314,9 +314,9 @@
+ $(INSTALL) openl2tpd $(DESTDIR)/usr/sbin
+
+ install-app:
+- $(INSTALL) -d $(DESTDIR)/usr/bin
++ $(INSTALL) -d $(DESTDIR)/usr/sbin
+ ifeq ($(L2TP_FEATURE_RPC_MANAGEMENT),y)
+- $(INSTALL) l2tpconfig $(DESTDIR)/usr/bin
++ $(INSTALL) -m 0500 l2tpconfig $(DESTDIR)/usr/sbin
+ endif
+ $(INSTALL) -d $(DESTDIR)$(SYS_LIBDIR)/openl2tp
+ $(INSTALL) -m 0644 l2tp_rpc.x $(DESTDIR)$(SYS_LIBDIR)/openl2tp/l2tp_rpc.x