From c03f38eaa8981e659994d0b09aeefcdb103ab3ac Mon Sep 17 00:00:00 2001 From: Hamish Guthrie Date: Fri, 13 Apr 2007 20:07:48 +0000 Subject: [PATCH] Merge pluggable handlers into the main rp-l2tp ipkg package. SVN-Revision: 6946 --- net/rp-l2tp/Makefile | 46 +++++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/net/rp-l2tp/Makefile b/net/rp-l2tp/Makefile index 12eaa616f..1f286e246 100644 --- a/net/rp-l2tp/Makefile +++ b/net/rp-l2tp/Makefile @@ -33,21 +33,20 @@ endef define Package/rp-l2tpd $(call Package/rp-l2tpd/Default) +# DEPENDS:=+rp-l2tpd-mod-cmd +rp-l2tpd-mod-ppp TITLE+= daemon - MENU:=1 +# MENU:=1 endef -define Package/rp-l2tpd-mod-cmd - $(call Package/rp-l2tpd/Default) - DEPENDS:=rp-l2tpd - TITLE:=Simple command handler for the RR L2TP daemon -endef +#define Package/rp-l2tpd-mod-cmd +# $(call Package/rp-l2tpd/Default) +# TITLE:=Simple command handler for the RR L2TP daemon +#endef -define Package/rp-l2tpd-mod-ppp - $(call Package/rp-l2tpd/Default) - DEPENDS:=rp-l2tpd - TITLE:=PPP handler for the RR L2TP daeomon -endef +#define Package/rp-l2tpd-mod-ppp +# $(call Package/rp-l2tpd/Default) +# TITLE:=PPP handler for the RR L2TP daeomon +#endef # uses GNU configure MAKE_FLAGS += \ @@ -64,20 +63,23 @@ define Package/rp-l2tpd/install $(CP) $(PKG_INSTALL_DIR)/usr/sbin/l2tpd $(1)/usr/sbin/ $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/rp-l2tpd.init $(1)/etc/init.d/rp-l2tpd -endef - -define Package/rp-l2tpd-mod-cmd/install - $(INSTALL_DIR) $(1)/usr/lib/l2tp $(CP) $(PKG_INSTALL_DIR)/usr/lib/l2tp/cmd.so $(1)/usr/lib/l2tp/ - $(INSTALL_DIR) $(1)/usr/sbin + $(CP) $(PKG_INSTALL_DIR)/usr/lib/l2tp/sync-pppd.so $(1)/usr/lib/l2tp/ $(CP) $(PKG_INSTALL_DIR)/usr/sbin/l2tp-control $(1)/usr/sbin/ endef -define Package/rp-l2tpd-mod-ppp/install - $(INSTALL_DIR) $(1)/usr/lib/l2tp - $(CP) $(PKG_INSTALL_DIR)/usr/lib/l2tp/sync-pppd.so $(1)/usr/lib/l2tp/ -endef +#define Package/rp-l2tpd-mod-cmd/install +# $(INSTALL_DIR) $(1)/usr/lib/l2tp +# $(CP) $(PKG_INSTALL_DIR)/usr/lib/l2tp/cmd.so $(1)/usr/lib/l2tp/ +# $(INSTALL_DIR) $(1)/usr/sbin +# $(CP) $(PKG_INSTALL_DIR)/usr/sbin/l2tp-control $(1)/usr/sbin/ +#endef + +#define Package/rp-l2tpd-mod-ppp/install +# $(INSTALL_DIR) $(1)/usr/lib/l2tp +# $(CP) $(PKG_INSTALL_DIR)/usr/lib/l2tp/sync-pppd.so $(1)/usr/lib/l2tp/ +#endef $(eval $(call BuildPackage,rp-l2tpd)) -$(eval $(call BuildPackage,rp-l2tpd-mod-cmd)) -$(eval $(call BuildPackage,rp-l2tpd-mod-ppp)) +#$(eval $(call BuildPackage,rp-l2tpd-mod-cmd)) +#$(eval $(call BuildPackage,rp-l2tpd-mod-ppp)) -- 2.30.2