bool "Compile with debug options"
default n
-config FREECWMP_DEVEL_DEBUG
- bool "Compile with development debug options"
+config FREECWMP_DEVEL
+ bool "Compile with development options"
default n
endif
#
-# Copyright (C) 2012 OpenWrt.org
+# 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:=2012-09-25
+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:=4bfbd994921dee06a7a28bed1f2dee3d527490f4
+PKG_SOURCE_VERSION:=c1a9c1883189fec77cba32c46bc26658ca3f8123
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_FIXUP:=autoreconf
CONFIG_FREECWMP_ACS_MULTI \
CONFIG_FREECWMP_ACS_HDM \
CONFIG_FREECWMP_DEBUG \
- CONFIG_FREECWMP_DEVEL_DEBUG
+ CONFIG_FREECWMP_DEVEL
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
--enable-debug
endif
-ifeq ($(CONFIG_FREECWMP_DEVEL_DEBUG),y)
+ifeq ($(CONFIG_FREECWMP_DEVEL),y)
CONFIGURE_ARGS += \
--enable-devel
endif
#!/bin/sh /etc/rc.common
-# Copyright (C) 2012 OpenWrt.org
+# Copyright (C) 2012-2013 OpenWrt.org
START=90
start() {
- freecwmpd 2>/dev/null >/dev/null &
+ service_start freecwmpd
}
stop() {
- killall -9 freecwmpd 2>/dev/null >/dev/null
+ service_stop freecwmpd
}