summarylogtreecommitdiffstats
path: root/gentoo-openl2tp-1.8-l2tpconfig.patch
blob: bf1644c9a14433d5b5104405e9efd7355f88bc29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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