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
This commit is contained in:
parent
5e7462deb8
commit
15ad96b426
@ -33,21 +33,20 @@ endef
|
|||||||
|
|
||||||
define Package/rp-l2tpd
|
define Package/rp-l2tpd
|
||||||
$(call Package/rp-l2tpd/Default)
|
$(call Package/rp-l2tpd/Default)
|
||||||
|
# DEPENDS:=+rp-l2tpd-mod-cmd +rp-l2tpd-mod-ppp
|
||||||
TITLE+= daemon
|
TITLE+= daemon
|
||||||
MENU:=1
|
# MENU:=1
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/rp-l2tpd-mod-cmd
|
#define Package/rp-l2tpd-mod-cmd
|
||||||
$(call Package/rp-l2tpd/Default)
|
# $(call Package/rp-l2tpd/Default)
|
||||||
DEPENDS:=rp-l2tpd
|
# TITLE:=Simple command handler for the RR L2TP daemon
|
||||||
TITLE:=Simple command handler for the RR L2TP daemon
|
#endef
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/rp-l2tpd-mod-ppp
|
#define Package/rp-l2tpd-mod-ppp
|
||||||
$(call Package/rp-l2tpd/Default)
|
# $(call Package/rp-l2tpd/Default)
|
||||||
DEPENDS:=rp-l2tpd
|
# TITLE:=PPP handler for the RR L2TP daeomon
|
||||||
TITLE:=PPP handler for the RR L2TP daeomon
|
#endef
|
||||||
endef
|
|
||||||
|
|
||||||
# uses GNU configure
|
# uses GNU configure
|
||||||
MAKE_FLAGS += \
|
MAKE_FLAGS += \
|
||||||
@ -64,20 +63,23 @@ define Package/rp-l2tpd/install
|
|||||||
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/l2tpd $(1)/usr/sbin/
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/l2tpd $(1)/usr/sbin/
|
||||||
$(INSTALL_DIR) $(1)/etc/init.d
|
$(INSTALL_DIR) $(1)/etc/init.d
|
||||||
$(INSTALL_BIN) ./files/rp-l2tpd.init $(1)/etc/init.d/rp-l2tpd
|
$(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/
|
$(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/
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/l2tp-control $(1)/usr/sbin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/rp-l2tpd-mod-ppp/install
|
#define Package/rp-l2tpd-mod-cmd/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/l2tp
|
# $(INSTALL_DIR) $(1)/usr/lib/l2tp
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/l2tp/sync-pppd.so $(1)/usr/lib/l2tp/
|
# $(CP) $(PKG_INSTALL_DIR)/usr/lib/l2tp/cmd.so $(1)/usr/lib/l2tp/
|
||||||
endef
|
# $(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))
|
||||||
$(eval $(call BuildPackage,rp-l2tpd-mod-cmd))
|
#$(eval $(call BuildPackage,rp-l2tpd-mod-cmd))
|
||||||
$(eval $(call BuildPackage,rp-l2tpd-mod-ppp))
|
#$(eval $(call BuildPackage,rp-l2tpd-mod-ppp))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user