You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-dialup/openl2tp/files/openl2tp-1.8-l2tpconfig.patch

16 lines
621 B

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