freecwmp: move to management feed
authorLuka Perkov <luka@openwrt.org>
Thu, 12 Jun 2014 15:13:21 +0000 (15:13 +0000)
committerLuka Perkov <luka@openwrt.org>
Thu, 12 Jun 2014 15:13:21 +0000 (15:13 +0000)
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 41164

utils/freecwmp/Config.in [deleted file]
utils/freecwmp/Makefile [deleted file]
utils/freecwmp/files/freecwmpd.init [deleted file]

diff --git a/utils/freecwmp/Config.in b/utils/freecwmp/Config.in
deleted file mode 100644 (file)
index 3b81e60..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-if PACKAGE_freecwmp-curl || PACKAGE_freecwmp-zstream
-
-config FREECWMP_SCRIPTS_FULL
-       bool "Install all freecwmp scripts"
-       default y
-
-choice
-       prompt "Select ACS sever"
-       default FREECWMP_ACS_MULTI
-
-config FREECWMP_ACS_MULTI
-       bool "No specific ACS, follow standard"
-
-config FREECWMP_ACS_HDM
-       bool "HDM"
-endchoice
-
-config FREECWMP_DEBUG
-       bool "Compile with debug options"
-       default n
-
-config FREECWMP_DEVEL
-       bool "Compile with development options"
-       default n
-
-endif
diff --git a/utils/freecwmp/Makefile b/utils/freecwmp/Makefile
deleted file mode 100644 (file)
index c0cfd0c..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-#
-# Copyright (C) 2012-2013 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=freecwmp
-PKG_VERSION:=2013-02-18
-PKG_RELEASE=$(PKG_SOURCE_VERSION)
-
-PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=git://dev.freecwmp.org/freecwmp
-PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=c1a9c1883189fec77cba32c46bc26658ca3f8123
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
-
-PKG_FIXUP:=autoreconf
-
-PKG_CONFIG_DEPENDS:= \
-       CONFIG_FREECWMP_ACS_MULTI \
-       CONFIG_FREECWMP_ACS_HDM \
-       CONFIG_FREECWMP_DEBUG \
-       CONFIG_FREECWMP_DEVEL
-
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/freecwmp/Default
-  SECTION:=utils
-  CATEGORY:=Utilities
-  TITLE:=CWMP client
-  DEPENDS:=+libfreecwmp +libuci +libubox +libubus +libmicroxml +shflags
-endef
-
-define Package/freecwmp/description
- A free client implementation of CWMP (TR-069) protocol
-endef
-
-define Package/freecwmp-curl
-  $(call Package/freecwmp/Default)
-  TITLE+= (using libcurl)
-  DEPENDS+= +libcurl
-  VARIANT:=curl
-endef
-
-define Package/freecwmp-zstream
-  $(call Package/freecwmp/Default)
-  TITLE+= (using libzstream)
-  DEPENDS+= +libzstream
-  VARIANT:=zstream
-endef
-
-define Package/freecwmp-zstream/config
-       source "$(SOURCE)/Config.in"
-endef
-
-USE_LOCAL=$(shell ls ./src/ 2>/dev/null >/dev/null && echo 1)
-ifneq ($(USE_LOCAL),)
-define Build/Prepare
-       $(CP) ./src/* $(PKG_BUILD_DIR)/
-endef
-endif
-
-TARGET_CFLAGS += \
-       -D_GNU_SOURCE
-
-TARGET_LDFLAGS += \
-       -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
-
-CONFIGURE_ARGS += \
-       --with-libfreecwmp-include-path=$(STAGING_DIR)/usr/include \
-       --with-uci-include-path=$(STAGING_DIR)/usr/include \
-       --with-libubox-include-path=$(STAGING_DIR)/usr/include \
-       --with-libubus-include-path=$(STAGING_DIR)/usr/include
-
-ifeq ($(BUILD_VARIANT),zstream)
-CONFIGURE_ARGS += \
-       --enable-http=zstream \
-       --with-zstream-include-path=$(STAGING_DIR)/usr/include
-endif
-
-ifeq ($(BUILD_VARIANT),curl)
-CONFIGURE_ARGS += \
-       --enable-http=curl
-endif
-
-ifeq ($(CONFIG_FREECWMP_ACS_MULTI),y)
-CONFIGURE_ARGS += \
-       --enable-acs=multi
-endif
-
-ifeq ($(CONFIG_FREECWMP_ACS_HDM),y)
-CONFIGURE_ARGS += \
-       --enable-acs=hdm
-endif
-
-ifeq ($(CONFIG_FREECWMP_DEBUG),y)
-CONFIGURE_ARGS += \
-       --enable-debug
-endif
-
-ifeq ($(CONFIG_FREECWMP_DEVEL),y)
-CONFIGURE_ARGS += \
-       --enable-devel
-endif
-
-define Package/freecwmp-$(BUILD_VARIANT)/conffiles
-/etc/config/freecwmp
-/usr/share/freecwmp/defaults
-endef
-
-define Package/freecwmp-$(BUILD_VARIANT)/install
-       $(INSTALL_DIR) $(1)/usr/sbin
-       $(CP) $(PKG_BUILD_DIR)/bin/freecwmpd $(1)/usr/sbin
-       $(INSTALL_DIR) $(1)/etc/config
-       $(INSTALL_CONF) $(PKG_BUILD_DIR)/ext/openwrt/config/freecwmp $(1)/etc/config
-       $(INSTALL_DIR) $(1)/etc/init.d
-       $(INSTALL_BIN) ./files/freecwmpd.init $(1)/etc/init.d/freecwmpd
-ifeq ($(CONFIG_FREECWMP_SCRIPTS_FULL),y)
-       $(INSTALL_DIR) $(1)/usr/share/freecwmp
-       $(CP) $(PKG_BUILD_DIR)/ext/openwrt/scripts/defaults $(1)/usr/share/freecwmp
-       $(CP) $(PKG_BUILD_DIR)/ext/openwrt/scripts/functions $(1)/usr/share/freecwmp
-       $(INSTALL_DIR) $(1)/usr/sbin
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/ext/openwrt/scripts/freecwmp.sh $(1)/usr/sbin/freecwmp
-endif
-endef
-
-$(eval $(call BuildPackage,freecwmp-curl))
-$(eval $(call BuildPackage,freecwmp-zstream))
diff --git a/utils/freecwmp/files/freecwmpd.init b/utils/freecwmp/files/freecwmpd.init
deleted file mode 100644 (file)
index b9b7a0c..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh /etc/rc.common
-# Copyright (C) 2012-2013 OpenWrt.org
-
-START=90
-
-start() {
-       service_start /usr/sbin/freecwmpd
-}
-
-stop() {
-       service_stop /usr/sbin/freecwmpd
-}