From: hcg Date: Fri, 13 Apr 2007 20:07:48 +0000 (+0000) Subject: Merge pluggable handlers into the main rp-l2tp ipkg package. X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=15ad96b4265e6cc011d2ef4a81fc399399cb73b4;p=packages.git Merge pluggable handlers into the main rp-l2tp ipkg package. git-svn-id: svn://svn.openwrt.org/openwrt/packages@6946 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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))