diff --git a/mote/v2/openwrt/.config b/mote/v2/openwrt/.config new file mode 100644 index 0000000..ad1704a --- /dev/null +++ b/mote/v2/openwrt/.config @@ -0,0 +1,1571 @@ +# +# Automatically generated make config: don't edit +# OpenWrt version: Backfire (r22269) +# Sat Aug 7 14:55:22 2010 +# +CONFIG_HAVE_DOT_CONFIG=y +# CONFIG_TARGET_ppc40x is not set +# CONFIG_TARGET_ppc44x is not set +CONFIG_TARGET_atheros=y +# CONFIG_TARGET_ar71xx is not set +# CONFIG_TARGET_avr32 is not set +# CONFIG_TARGET_brcm63xx is not set +# CONFIG_TARGET_brcm47xx is not set +# CONFIG_TARGET_brcm_2_4 is not set +# CONFIG_TARGET_octeon is not set +# CONFIG_TARGET_cobalt is not set +# CONFIG_TARGET_ifxmips is not set +# CONFIG_TARGET_adm5120 is not set +# CONFIG_TARGET_xburst is not set +# CONFIG_TARGET_ixp4xx is not set +# CONFIG_TARGET_kirkwood is not set +# CONFIG_TARGET_orion is not set +# CONFIG_TARGET_rb532 is not set +# CONFIG_TARGET_rdc is not set +# CONFIG_TARGET_au1000 is not set +# CONFIG_TARGET_ar7 is not set +# CONFIG_TARGET_uml is not set +# CONFIG_TARGET_x86 is not set +# CONFIG_TARGET_brcm63xx_Broadcom is not set +# CONFIG_TARGET_brcm63xx_Atheros is not set +# CONFIG_TARGET_brcm63xx_Ralink is not set +# CONFIG_TARGET_brcm63xx_NoWiFi is not set +# CONFIG_TARGET_brcm63xx_GW6X00 is not set +# CONFIG_TARGET_rb532_Default is not set +# CONFIG_TARGET_rdc_ar525w is not set +# CONFIG_TARGET_rdc_bifferboard is not set +# CONFIG_TARGET_rdc_r8610 is not set +# CONFIG_TARGET_rdc_sitecom is not set +# CONFIG_TARGET_ixp4xx_generic_Default is not set +# CONFIG_TARGET_ixp4xx_generic_Atheros-ath5k is not set +# CONFIG_TARGET_ixp4xx_generic_NSLU2 is not set +# CONFIG_TARGET_ixp4xx_generic_NAS100d is not set +# CONFIG_TARGET_ixp4xx_generic_DSMG600RevA is not set +# CONFIG_TARGET_ixp4xx_generic_USR8200 is not set +# CONFIG_TARGET_ixp4xx_harddisk_FSG3 is not set +# CONFIG_TARGET_cobalt_Default is not set +# CONFIG_TARGET_avr32_Default is not set +# CONFIG_TARGET_adm5120_router_le_Generic is not set +# CONFIG_TARGET_adm5120_router_le_CAS630 is not set +# CONFIG_TARGET_adm5120_router_le_CAS630W is not set +# CONFIG_TARGET_adm5120_router_le_CAS670 is not set +# CONFIG_TARGET_adm5120_router_le_CAS670W is not set +# CONFIG_TARGET_adm5120_router_le_CAS700 is not set +# CONFIG_TARGET_adm5120_router_le_CAS700W is not set +# CONFIG_TARGET_adm5120_router_le_CAS771 is not set +# CONFIG_TARGET_adm5120_router_le_CAS771W is not set +# CONFIG_TARGET_adm5120_router_le_CAS790 is not set +# CONFIG_TARGET_adm5120_router_le_CAS861 is not set +# CONFIG_TARGET_adm5120_router_le_CAS861W is not set +# CONFIG_TARGET_adm5120_router_le_NFS101U is not set +# CONFIG_TARGET_adm5120_router_le_NFS101WU is not set +# CONFIG_TARGET_adm5120_router_le_NP27G is not set +# CONFIG_TARGET_adm5120_router_le_NP28G is not set +# CONFIG_TARGET_adm5120_router_le_WP54 is not set +# CONFIG_TARGET_adm5120_router_le_BR6104K is not set +# CONFIG_TARGET_adm5120_router_le_BR6104KP is not set +# CONFIG_TARGET_adm5120_router_le_BR6104WG is not set +# CONFIG_TARGET_adm5120_router_le_BR6114WG is not set +# CONFIG_TARGET_adm5120_router_le_EASY5120RT is not set +# CONFIG_TARGET_adm5120_router_le_EASY5120PATA is not set +# CONFIG_TARGET_adm5120_router_le_PMUGW is not set +# CONFIG_TARGET_adm5120_router_le_5GXI is not set +# CONFIG_TARGET_adm5120_router_le_RouterBoard is not set +# CONFIG_TARGET_adm5120_router_be_Generic is not set +# CONFIG_TARGET_adm5120_router_be_P334WT is not set +# CONFIG_TARGET_adm5120_router_be_P335WT is not set +# CONFIG_TARGET_brcm_2_4_Broadcom is not set +# CONFIG_TARGET_brcm_2_4_BroadcomMimo is not set +# CONFIG_TARGET_brcm_2_4_None is not set +# CONFIG_TARGET_brcm_2_4_USBGeneric is not set +# CONFIG_TARGET_brcm_2_4_WL500G is not set +# CONFIG_TARGET_brcm_2_4_WL500GD is not set +# CONFIG_TARGET_brcm_2_4_WL500GP is not set +# CONFIG_TARGET_brcm_2_4_WL700GE is not set +# CONFIG_TARGET_brcm_2_4_WLHDD is not set +# CONFIG_TARGET_brcm_2_4_WRT300Nv11 is not set +# CONFIG_TARGET_brcm_2_4_WRT54G3G is not set +# CONFIG_TARGET_kirkwood_Default is not set +# CONFIG_TARGET_brcm47xx_Broadcom-b43 is not set +# CONFIG_TARGET_brcm47xx_Atheros is not set +# CONFIG_TARGET_brcm47xx_Atheros-ath5k is not set +# CONFIG_TARGET_brcm47xx_None is not set +# CONFIG_TARGET_brcm47xx_WGT634U is not set +# CONFIG_TARGET_brcm47xx_WL500GPv1 is not set +# CONFIG_TARGET_brcm47xx_WRT350Nv1 is not set +# CONFIG_TARGET_brcm47xx_WRTSL54GS is not set +# CONFIG_TARGET_ar71xx_Default is not set +# CONFIG_TARGET_ar71xx_DefaultNoWifi is not set +# CONFIG_TARGET_ar71xx_Madwifi is not set +# CONFIG_TARGET_ar71xx_AP81 is not set +# CONFIG_TARGET_ar71xx_AP83 is not set +# CONFIG_TARGET_ar71xx_PB42 is not set +# CONFIG_TARGET_ar71xx_PB44 is not set +# CONFIG_TARGET_ar71xx_A02RBW300N is not set +# CONFIG_TARGET_ar71xx_WZRHPG300NH is not set +# CONFIG_TARGET_ar71xx_WP543 is not set +# CONFIG_TARGET_ar71xx_DIR600A1 is not set +# CONFIG_TARGET_ar71xx_DIR615C1 is not set +# CONFIG_TARGET_ar71xx_DIR825B1 is not set +# CONFIG_TARGET_ar71xx_WRT160NL is not set +# CONFIG_TARGET_ar71xx_WRT400N is not set +# CONFIG_TARGET_ar71xx_WNDR3700 is not set +# CONFIG_TARGET_ar71xx_MZKW04NU is not set +# CONFIG_TARGET_ar71xx_MZKW300NH is not set +# CONFIG_TARGET_ar71xx_TLWR741NDV1 is not set +# CONFIG_TARGET_ar71xx_TLWR841NV15 is not set +# CONFIG_TARGET_ar71xx_TLWR841NDV3 is not set +# CONFIG_TARGET_ar71xx_TLWR841NDV5 is not set +# CONFIG_TARGET_ar71xx_TLWR941NDV2 is not set +# CONFIG_TARGET_ar71xx_TLWR941NDV3 is not set +# CONFIG_TARGET_ar71xx_TLWR941NDV4 is not set +# CONFIG_TARGET_ar71xx_TLWR1043NDV1 is not set +# CONFIG_TARGET_ar71xx_TEW632BRP is not set +# CONFIG_TARGET_ar71xx_TEW652BRP is not set +# CONFIG_TARGET_ar71xx_UBNTRS is not set +# CONFIG_TARGET_ar71xx_UBNTRSPRO is not set +# CONFIG_TARGET_ar71xx_UBNT is not set +# CONFIG_TARGET_ppc44x_Default is not set +# CONFIG_TARGET_uml_Default is not set +# CONFIG_TARGET_ar7_Annex-A is not set +# CONFIG_TARGET_ar7_Annex-B is not set +# CONFIG_TARGET_ar7_Texas is not set +# CONFIG_TARGET_ar7_None is not set +# CONFIG_TARGET_xburst_qi_lb60_Default is not set +# CONFIG_TARGET_xburst_n516_Default is not set +# CONFIG_TARGET_xburst_n526_Default is not set +# CONFIG_TARGET_ppc40x_Default is not set +# CONFIG_TARGET_au1000_au1500_Atheros is not set +# CONFIG_TARGET_au1000_au1500_InternetBox is not set +# CONFIG_TARGET_au1000_au1500_MeshCube is not set +# CONFIG_TARGET_au1000_au1550_DBAu1550 is not set +CONFIG_TARGET_atheros_Default=y +# CONFIG_TARGET_orion_generic_Default is not set +# CONFIG_TARGET_orion_harddisk_Default is not set +# CONFIG_TARGET_octeon_generic is not set +# CONFIG_TARGET_octeon_mototech is not set +# CONFIG_TARGET_octeon_simulator is not set +# CONFIG_TARGET_x86_generic_Generic is not set +# CONFIG_TARGET_x86_generic_Alix is not set +# CONFIG_TARGET_x86_generic_Soekris45xx is not set +# CONFIG_TARGET_x86_generic_Soekris48xx is not set +# CONFIG_TARGET_x86_generic_Wrap is not set +# CONFIG_TARGET_x86_olpc_Default is not set +# CONFIG_TARGET_x86_xen_domu_Default is not set +# CONFIG_TARGET_x86_ep80579_Default is not set +# CONFIG_TARGET_ifxmips_None is not set +# CONFIG_TARGET_ifxmips_Atheros is not set +# CONFIG_TARGET_ifxmips_Ralink is not set +CONFIG_TARGET_BOARD="atheros" +CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" +CONFIG_LINUX_2_6_30=y +CONFIG_DEFAULT_base-files=y +CONFIG_DEFAULT_busybox=y +CONFIG_DEFAULT_dnsmasq=y +CONFIG_DEFAULT_dropbear=y +CONFIG_DEFAULT_firewall=y +CONFIG_DEFAULT_gpioctl=y +CONFIG_DEFAULT_hotplug2=y +CONFIG_DEFAULT_iptables=y +CONFIG_DEFAULT_kmod-ipt-nathelper=y +CONFIG_DEFAULT_kmod-madwifi=y +CONFIG_DEFAULT_libc=y +CONFIG_DEFAULT_libgcc=y +CONFIG_DEFAULT_mtd=y +CONFIG_DEFAULT_opkg=y +CONFIG_DEFAULT_ppp=y +CONFIG_DEFAULT_ppp-mod-pppoe=y +CONFIG_DEFAULT_swconfig=y +CONFIG_DEFAULT_uci=y +CONFIG_DEFAULT_udevtrigger=y +CONFIG_DEFAULT_wpad-mini=y +CONFIG_LINUX_2_6=y +CONFIG_AUDIO_SUPPORT=y +CONFIG_GPIO_SUPPORT=y +CONFIG_PCI_SUPPORT=y +CONFIG_USB_SUPPORT=y +CONFIG_BIG_ENDIAN=y +CONFIG_USES_SQUASHFS=y +CONFIG_USES_JFFS2=y +CONFIG_mips=y +CONFIG_ARCH="mips" + +# +# Target Images +# +# CONFIG_TARGET_ROOTFS_INITRAMFS is not set + +# +# Root filesystem archives +# +# CONFIG_TARGET_ROOTFS_CPIOGZ is not set +# CONFIG_TARGET_ROOTFS_TARGZ is not set + +# +# Root filesystem images +# +# CONFIG_TARGET_ROOTFS_EXT2FS is not set +CONFIG_TARGET_ROOTFS_JFFS2=y +CONFIG_TARGET_ROOTFS_SQUASHFS=y + +# +# Image Options +# + +# +# Global build settings +# +# CONFIG_ALL is not set + +# +# General build options +# +CONFIG_BUILD_PATENTED=y +CONFIG_LARGEFILE=y +CONFIG_SHADOW_PASSWORDS=y +# CONFIG_CLEAN_IPKG is not set + +# +# Kernel build options +# +CONFIG_KERNEL_DEBUG_FS=y +# CONFIG_KERNEL_PROFILING is not set +# CONFIG_KERNEL_KALLSYMS is not set + +# +# Package build options +# +# CONFIG_DEBUG is not set +CONFIG_IPV6=y + +# +# Stripping options +# +# CONFIG_NO_STRIP is not set +# CONFIG_USE_STRIP is not set +CONFIG_USE_SSTRIP=y +# CONFIG_STRIP_KERNEL_EXPORTS is not set +# CONFIG_USE_MKLIBS is not set +# CONFIG_DEVEL is not set +# CONFIG_BROKEN is not set +CONFIG_DOWNLOAD_FOLDER="" +CONFIG_LOCALMIRROR="" +CONFIG_AUTOREBUILD=y +CONFIG_BUILD_SUFFIX="" +CONFIG_TARGET_ROOTFS_DIR="" +# CONFIG_CCACHE is not set +CONFIG_EXTERNAL_KERNEL_TREE="" +CONFIG_KERNEL_GIT_CLONE_URI="" +CONFIG_KERNEL_GIT_LOCAL_REPOSITORY="" +CONFIG_TARGET_OPTIMIZATION="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" +CONFIG_SOFT_FLOAT=y +# CONFIG_EXTRA_TARGET_ARCH is not set +CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS="" +CONFIG_BINUTILS_VERSION="2.19.1" +CONFIG_GCC_VERSION_4_3_3_CS=y +CONFIG_EXTRA_GCC_CONFIG_OPTIONS="" +# CONFIG_SSP_SUPPORT is not set +CONFIG_INSTALL_LIBSTDCPP=y +# CONFIG_INSTALL_LIBGCJ is not set +CONFIG_USE_UCLIBC=y +# CONFIG_GDB is not set +# CONFIG_INSIGHT is not set +CONFIG_GCC_VERSION="4.3.3+cs" +CONFIG_GCC_VERSION_4=y +CONFIG_GCC_VERSION_4_3=y +CONFIG_UCLIBC_VERSION="0.9.30.1" +CONFIG_LIBC="uClibc" +CONFIG_LIBC_VERSION="0.9.30.1" +CONFIG_TARGET_SUFFIX="uclibc" +# CONFIG_IB is not set +# CONFIG_SDK is not set +# CONFIG_MAKE_TOOLCHAIN is not set +# CONFIG_IMAGEOPT is not set +CONFIG_UCI_PRECONFIG_network_lan_dns="" +CONFIG_UCI_PRECONFIG_network_lan_proto="static" +CONFIG_UCI_PRECONFIG_network_lan_gateway="" +CONFIG_UCI_PRECONFIG_network_lan_netmask="255.255.255.0" +CONFIG_UCI_PRECONFIG_network_lan_ipaddr="192.168.1.1" +# CONFIG_PREINITOPT is not set +CONFIG_TARGET_PREINIT_SUPPRESS_STDERR=y +CONFIG_TARGET_PREINIT_TIMEOUT=2 +# CONFIG_TARGET_PREINIT_SHOW_NETMSG is not set +# CONFIG_TARGET_PREINIT_SUPPRESS_FAILSAFE_NETMSG is not set +CONFIG_TARGET_PREINIT_IFNAME="" +CONFIG_TARGET_PREINIT_IP="192.168.1.1" +CONFIG_TARGET_PREINIT_NETMASK="255.255.255.0" +CONFIG_TARGET_PREINIT_BROADCAST="192.168.1.255" +# CONFIG_INITOPT is not set +CONFIG_TARGET_INIT_PATH="/bin:/sbin:/usr/bin:/usr/sbin" +CONFIG_TARGET_INIT_ENV="" +CONFIG_TARGET_INIT_CMD="/sbin/init" +CONFIG_TARGET_INIT_SUPPRESS_STDERR=y + +# +# Base system +# +CONFIG_PACKAGE_base-files=y +# CONFIG_PACKAGE_block-hotplug is not set +# CONFIG_PACKAGE_block-mount is not set +# CONFIG_PACKAGE_br2684ctl is not set +# CONFIG_PACKAGE_bridge is not set +CONFIG_PACKAGE_busybox=y + +# +# Configuration +# +# CONFIG_BUSYBOX_CONFIG_FEATURE_DEVFS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_2_4_MODULES is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_2_6_MODULES=y +# CONFIG_BUSYBOX_CONFIG_NOMMU is not set +# CONFIG_CONFIG_BUSYBOX_CONFIG_FEATURE_SH_IS_HUSH is not set +# CONFIG_BUSYBOX_CONFIG_HUSH is not set +CONFIG_BUSYBOX_CONFIG_HAVE_DOT_CONFIG=y + +# +# Busybox Settings +# + +# +# General Configuration +# +# CONFIG_BUSYBOX_CONFIG_DESKTOP is not set +# CONFIG_BUSYBOX_CONFIG_EXTRA_COMPAT is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_BUFFERS_USE_MALLOC is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set +CONFIG_BUSYBOX_CONFIG_SHOW_USAGE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VERBOSE_USAGE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_COMPRESS_USAGE=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_INSTALLER is not set +# CONFIG_BUSYBOX_CONFIG_LOCALE_SUPPORT is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_ASSUME_UNICODE is not set +CONFIG_BUSYBOX_CONFIG_LONG_OPTS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_DEVPTS=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_CLEAN_UP is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_PIDFILE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_SUID=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_SUID_CONFIG is not set +# CONFIG_BUSYBOX_CONFIG_SELINUX is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_PREFER_APPLETS=y +CONFIG_BUSYBOX_CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe" +CONFIG_BUSYBOX_CONFIG_FEATURE_SYSLOG=y +CONFIG_BUSYBOX_CONFIG_FEATURE_HAVE_RPC=y + +# +# Build Options +# +# CONFIG_BUSYBOX_CONFIG_STATIC is not set +# CONFIG_BUSYBOX_CONFIG_PIE is not set +CONFIG_BUSYBOX_CONFIG_LFS=y +CONFIG_BUSYBOX_CONFIG_CROSS_COMPILER_PREFIX="" +CONFIG_BUSYBOX_CONFIG_EXTRA_CFLAGS="" + +# +# Debugging Options +# +# CONFIG_BUSYBOX_CONFIG_DEBUG is not set +# CONFIG_BUSYBOX_CONFIG_WERROR is not set +CONFIG_BUSYBOX_CONFIG_NO_DEBUG_LIB=y +# CONFIG_BUSYBOX_CONFIG_DMALLOC is not set +# CONFIG_BUSYBOX_CONFIG_EFENCE is not set +CONFIG_BUSYBOX_CONFIG_INCLUDE_SUSv2=y + +# +# Installation Options +# +# CONFIG_BUSYBOX_CONFIG_INSTALL_NO_USR is not set +CONFIG_BUSYBOX_CONFIG_INSTALL_APPLET_SYMLINKS=y +# CONFIG_BUSYBOX_CONFIG_INSTALL_APPLET_HARDLINKS is not set +# CONFIG_BUSYBOX_CONFIG_INSTALL_APPLET_SCRIPT_WRAPPERS is not set +# CONFIG_BUSYBOX_CONFIG_INSTALL_APPLET_DONT is not set +CONFIG_BUSYBOX_CONFIG_PREFIX="./_install" + +# +# Busybox Library Tuning +# +CONFIG_BUSYBOX_CONFIG_PASSWORD_MINLEN=6 +CONFIG_BUSYBOX_CONFIG_MD5_SIZE_VS_SPEED=2 +CONFIG_BUSYBOX_CONFIG_FEATURE_FAST_TOP=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_ETC_NETWORKS is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING=y +CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_MAX_LEN=512 +# CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_VI is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_HISTORY=256 +# CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_SAVEHISTORY is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_TAB_COMPLETION=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_USERNAME_COMPLETION is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_FANCY_PROMPT=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_ASK_TERMINAL is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_NON_POSIX_CP=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_VERBOSE_CP_MESSAGE is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_COPYBUF_KB=4 +# CONFIG_BUSYBOX_CONFIG_MONOTONIC_SYSCALL is not set +CONFIG_BUSYBOX_CONFIG_IOCTL_HEX2STR_ERROR=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_HWIB is not set + +# +# Applets +# + +# +# Archival Utilities +# +# CONFIG_BUSYBOX_CONFIG_FEATURE_SEAMLESS_LZMA is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_SEAMLESS_BZ2 is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_SEAMLESS_Z is not set +# CONFIG_BUSYBOX_CONFIG_AR is not set +CONFIG_BUSYBOX_CONFIG_BUNZIP2=y +# CONFIG_BUSYBOX_CONFIG_BZIP2 is not set +# CONFIG_BUSYBOX_CONFIG_CPIO is not set +# CONFIG_BUSYBOX_CONFIG_DPKG is not set +# CONFIG_BUSYBOX_CONFIG_DPKG_DEB is not set +CONFIG_BUSYBOX_CONFIG_GUNZIP=y +CONFIG_BUSYBOX_CONFIG_GZIP=y +# CONFIG_BUSYBOX_CONFIG_LZOP is not set +# CONFIG_BUSYBOX_CONFIG_RPM2CPIO is not set +# CONFIG_BUSYBOX_CONFIG_RPM is not set +CONFIG_BUSYBOX_CONFIG_TAR=y +CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_CREATE=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_AUTODETECT is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_FROM=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_UNAME_GNAME is not set +# CONFIG_BUSYBOX_CONFIG_UNCOMPRESS is not set +# CONFIG_BUSYBOX_CONFIG_UNLZMA is not set +# CONFIG_BUSYBOX_CONFIG_UNZIP is not set + +# +# Coreutils +# +CONFIG_BUSYBOX_CONFIG_BASENAME=y +# CONFIG_BUSYBOX_CONFIG_CAL is not set +CONFIG_BUSYBOX_CONFIG_CAT=y +# CONFIG_BUSYBOX_CONFIG_CATV is not set +CONFIG_BUSYBOX_CONFIG_CHGRP=y +CONFIG_BUSYBOX_CONFIG_CHMOD=y +CONFIG_BUSYBOX_CONFIG_CHOWN=y +CONFIG_BUSYBOX_CONFIG_CHROOT=y +# CONFIG_BUSYBOX_CONFIG_CKSUM is not set +# CONFIG_BUSYBOX_CONFIG_COMM is not set +CONFIG_BUSYBOX_CONFIG_CP=y +CONFIG_BUSYBOX_CONFIG_CUT=y +CONFIG_BUSYBOX_CONFIG_DATE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_DATE_ISOFMT=y +CONFIG_BUSYBOX_CONFIG_DD=y +CONFIG_BUSYBOX_CONFIG_FEATURE_DD_SIGNAL_HANDLING=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_DD_IBS_OBS is not set +CONFIG_BUSYBOX_CONFIG_DF=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_DF_FANCY is not set +CONFIG_BUSYBOX_CONFIG_DIRNAME=y +# CONFIG_BUSYBOX_CONFIG_DOS2UNIX is not set +CONFIG_BUSYBOX_CONFIG_DU=y +CONFIG_BUSYBOX_CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y +CONFIG_BUSYBOX_CONFIG_ECHO=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_ECHO=y +CONFIG_BUSYBOX_CONFIG_ENV=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_ENV_LONG_OPTIONS is not set +# CONFIG_BUSYBOX_CONFIG_EXPAND is not set +CONFIG_BUSYBOX_CONFIG_EXPR=y +CONFIG_BUSYBOX_CONFIG_EXPR_MATH_SUPPORT_64=y +CONFIG_BUSYBOX_CONFIG_FALSE=y +# CONFIG_BUSYBOX_CONFIG_FOLD is not set +# CONFIG_BUSYBOX_CONFIG_FSYNC is not set +CONFIG_BUSYBOX_CONFIG_HEAD=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_HEAD=y +CONFIG_BUSYBOX_CONFIG_HOSTID=y +CONFIG_BUSYBOX_CONFIG_ID=y +# CONFIG_BUSYBOX_CONFIG_INSTALL is not set +CONFIG_BUSYBOX_CONFIG_LENGTH=y +CONFIG_BUSYBOX_CONFIG_LN=y +# CONFIG_BUSYBOX_CONFIG_LOGNAME is not set +CONFIG_BUSYBOX_CONFIG_LS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_FILETYPES=y +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_FOLLOWLINKS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_RECURSIVE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_SORTFILES=y +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_TIMESTAMPS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_USERNAME=y +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_COLOR=y +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_COLOR_IS_DEFAULT=y +CONFIG_BUSYBOX_CONFIG_MD5SUM=y +CONFIG_BUSYBOX_CONFIG_MKDIR=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_MKDIR_LONG_OPTIONS is not set +CONFIG_BUSYBOX_CONFIG_MKFIFO=y +CONFIG_BUSYBOX_CONFIG_MKNOD=y +CONFIG_BUSYBOX_CONFIG_MV=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_MV_LONG_OPTIONS is not set +CONFIG_BUSYBOX_CONFIG_NICE=y +# CONFIG_BUSYBOX_CONFIG_NOHUP is not set +# CONFIG_BUSYBOX_CONFIG_OD is not set +# CONFIG_BUSYBOX_CONFIG_PRINTENV is not set +CONFIG_BUSYBOX_CONFIG_PRINTF=y +CONFIG_BUSYBOX_CONFIG_PWD=y +# CONFIG_BUSYBOX_CONFIG_READLINK is not set +# CONFIG_BUSYBOX_CONFIG_REALPATH is not set +CONFIG_BUSYBOX_CONFIG_RM=y +CONFIG_BUSYBOX_CONFIG_RMDIR=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_RMDIR_LONG_OPTIONS is not set +CONFIG_BUSYBOX_CONFIG_SEQ=y +# CONFIG_BUSYBOX_CONFIG_SHA1SUM is not set +# CONFIG_BUSYBOX_CONFIG_SHA256SUM is not set +# CONFIG_BUSYBOX_CONFIG_SHA512SUM is not set +CONFIG_BUSYBOX_CONFIG_SLEEP=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_SLEEP=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_FLOAT_SLEEP is not set +CONFIG_BUSYBOX_CONFIG_SORT=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_SORT_BIG is not set +# CONFIG_BUSYBOX_CONFIG_SPLIT is not set +# CONFIG_BUSYBOX_CONFIG_STAT is not set +# CONFIG_BUSYBOX_CONFIG_STTY is not set +# CONFIG_BUSYBOX_CONFIG_SUM is not set +CONFIG_BUSYBOX_CONFIG_SYNC=y +# CONFIG_BUSYBOX_CONFIG_TAC is not set +CONFIG_BUSYBOX_CONFIG_TAIL=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_TAIL=y +CONFIG_BUSYBOX_CONFIG_TEE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_TEE_USE_BLOCK_IO=y +CONFIG_BUSYBOX_CONFIG_TEST=y +CONFIG_BUSYBOX_CONFIG_FEATURE_TEST_64=y +CONFIG_BUSYBOX_CONFIG_TOUCH=y +CONFIG_BUSYBOX_CONFIG_TR=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_TR_CLASSES is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_TR_EQUIV is not set +CONFIG_BUSYBOX_CONFIG_TRUE=y +# CONFIG_BUSYBOX_CONFIG_TTY is not set +CONFIG_BUSYBOX_CONFIG_UNAME=y +# CONFIG_BUSYBOX_CONFIG_UNEXPAND is not set +CONFIG_BUSYBOX_CONFIG_UNIQ=y +# CONFIG_BUSYBOX_CONFIG_USLEEP is not set +# CONFIG_BUSYBOX_CONFIG_UUDECODE is not set +# CONFIG_BUSYBOX_CONFIG_UUENCODE is not set +CONFIG_BUSYBOX_CONFIG_WC=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_WC_LARGE is not set +# CONFIG_BUSYBOX_CONFIG_WHO is not set +# CONFIG_BUSYBOX_CONFIG_WHOAMI is not set +CONFIG_BUSYBOX_CONFIG_YES=y + +# +# Common options for cp and mv +# +CONFIG_BUSYBOX_CONFIG_FEATURE_PRESERVE_HARDLINKS=y + +# +# Common options for ls, more and telnet +# +CONFIG_BUSYBOX_CONFIG_FEATURE_AUTOWIDTH=y + +# +# Common options for df, du, ls +# +CONFIG_BUSYBOX_CONFIG_FEATURE_HUMAN_READABLE=y + +# +# Common options for md5sum, sha1sum +# +CONFIG_BUSYBOX_CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y + +# +# Console Utilities +# +# CONFIG_BUSYBOX_CONFIG_CHVT is not set +CONFIG_BUSYBOX_CONFIG_CLEAR=y +# CONFIG_BUSYBOX_CONFIG_DEALLOCVT is not set +# CONFIG_BUSYBOX_CONFIG_DUMPKMAP is not set +# CONFIG_BUSYBOX_CONFIG_KBD_MODE is not set +# CONFIG_BUSYBOX_CONFIG_LOADFONT is not set +# CONFIG_BUSYBOX_CONFIG_LOADKMAP is not set +# CONFIG_BUSYBOX_CONFIG_OPENVT is not set +CONFIG_BUSYBOX_CONFIG_RESET=y +# CONFIG_BUSYBOX_CONFIG_RESIZE is not set +# CONFIG_BUSYBOX_CONFIG_SETCONSOLE is not set +# CONFIG_BUSYBOX_CONFIG_SETFONT is not set +# CONFIG_BUSYBOX_CONFIG_SETKEYCODES is not set +# CONFIG_BUSYBOX_CONFIG_SETLOGCONS is not set +# CONFIG_BUSYBOX_CONFIG_SHOWKEY is not set + +# +# Debian Utilities +# +CONFIG_BUSYBOX_CONFIG_MKTEMP=y +# CONFIG_BUSYBOX_CONFIG_PIPE_PROGRESS is not set +# CONFIG_BUSYBOX_CONFIG_RUN_PARTS is not set +CONFIG_BUSYBOX_CONFIG_START_STOP_DAEMON=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_START_STOP_DAEMON_FANCY is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS is not set +CONFIG_BUSYBOX_CONFIG_WHICH=y + +# +# Editors +# +CONFIG_BUSYBOX_CONFIG_AWK=y +CONFIG_BUSYBOX_CONFIG_FEATURE_AWK_LIBM=y +# CONFIG_BUSYBOX_CONFIG_CMP is not set +CONFIG_BUSYBOX_CONFIG_DIFF=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_DIFF_BINARY is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_DIFF_DIR is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_DIFF_MINIMAL is not set +# CONFIG_BUSYBOX_CONFIG_ED is not set +# CONFIG_BUSYBOX_CONFIG_PATCH is not set +CONFIG_BUSYBOX_CONFIG_SED=y +CONFIG_BUSYBOX_CONFIG_VI=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_MAX_LEN=1024 +# CONFIG_BUSYBOX_CONFIG_FEATURE_VI_8BIT is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_COLON=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_YANKMARK=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_SEARCH=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_USE_SIGNALS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_DOT_CMD=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_READONLY=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_SETOPTS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_SET=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_WIN_RESIZE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y +CONFIG_BUSYBOX_CONFIG_FEATURE_ALLOW_EXEC=y + +# +# Finding Utilities +# +CONFIG_BUSYBOX_CONFIG_FIND=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_PRINT0=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_MTIME is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_MMIN is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_PERM=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_TYPE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_XDEV=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_MAXDEPTH=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_NEWER is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_INUM is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_EXEC=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_USER=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_GROUP=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_NOT=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_DEPTH=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_PAREN=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_SIZE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_PRUNE=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_DELETE is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_PATH=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_REGEX=y +CONFIG_BUSYBOX_CONFIG_GREP=y +CONFIG_BUSYBOX_CONFIG_FEATURE_GREP_EGREP_ALIAS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_GREP_FGREP_ALIAS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_GREP_CONTEXT=y +CONFIG_BUSYBOX_CONFIG_XARGS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION=y +CONFIG_BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y +CONFIG_BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT=y +CONFIG_BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y + +# +# Init Utilities +# +CONFIG_BUSYBOX_CONFIG_INIT=y +CONFIG_BUSYBOX_CONFIG_FEATURE_USE_INITTAB=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_KILL_REMOVED is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_INIT_SCTTY is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_INIT_SYSLOG=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_EXTRA_QUIET is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_INIT_COREDUMPS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_INITRD is not set +CONFIG_BUSYBOX_CONFIG_HALT=y +CONFIG_BUSYBOX_CONFIG_MESG=y + +# +# Login/Password Management Utilities +# +# CONFIG_BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS is not set +# CONFIG_BUSYBOX_CONFIG_USE_BB_PWD_GRP is not set +# CONFIG_BUSYBOX_CONFIG_USE_BB_CRYPT is not set +# CONFIG_BUSYBOX_CONFIG_ADDGROUP is not set +# CONFIG_BUSYBOX_CONFIG_DELGROUP is not set +# CONFIG_BUSYBOX_CONFIG_ADDUSER is not set +# CONFIG_BUSYBOX_CONFIG_DELUSER is not set +# CONFIG_BUSYBOX_CONFIG_GETTY is not set +# CONFIG_BUSYBOX_CONFIG_LOGIN is not set +CONFIG_BUSYBOX_CONFIG_PASSWD=y +CONFIG_BUSYBOX_CONFIG_FEATURE_PASSWD_WEAK_CHECK=y +# CONFIG_BUSYBOX_CONFIG_CRYPTPW is not set +# CONFIG_BUSYBOX_CONFIG_CHPASSWD is not set +# CONFIG_BUSYBOX_CONFIG_SU is not set +# CONFIG_BUSYBOX_CONFIG_SULOGIN is not set +# CONFIG_BUSYBOX_CONFIG_VLOCK is not set + +# +# Linux Ext2 FS Progs +# +# CONFIG_BUSYBOX_CONFIG_CHATTR is not set +# CONFIG_BUSYBOX_CONFIG_FSCK is not set +# CONFIG_BUSYBOX_CONFIG_LSATTR is not set + +# +# Linux Module Utilities +# +# CONFIG_BUSYBOX_CONFIG_MODPROBE_SMALL is not set +CONFIG_BUSYBOX_CONFIG_INSMOD=y +CONFIG_BUSYBOX_CONFIG_RMMOD=y +CONFIG_BUSYBOX_CONFIG_LSMOD=y +CONFIG_BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT=y +# CONFIG_BUSYBOX_CONFIG_MODPROBE is not set +# CONFIG_BUSYBOX_CONFIG_DEPMOD is not set + +# +# Options common to multiple modutils +# +CONFIG_BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE=y +CONFIG_BUSYBOX_CONFIG_DEFAULT_MODULES_DIR="/lib/modules" + +# +# Linux System Utilities +# +# CONFIG_BUSYBOX_CONFIG_ACPID is not set +CONFIG_BUSYBOX_CONFIG_BLKID=y +CONFIG_BUSYBOX_CONFIG_DMESG=y +CONFIG_BUSYBOX_CONFIG_FEATURE_DMESG_PRETTY=y +# CONFIG_BUSYBOX_CONFIG_FBSET is not set +# CONFIG_BUSYBOX_CONFIG_FDFLUSH is not set +# CONFIG_BUSYBOX_CONFIG_FDFORMAT is not set +# CONFIG_BUSYBOX_CONFIG_FDISK is not set +CONFIG_BUSYBOX_CONFIG_FDISK_SUPPORT_LARGE_DISKS=y +# CONFIG_BUSYBOX_CONFIG_FINDFS is not set +# CONFIG_BUSYBOX_CONFIG_FREERAMDISK is not set +# CONFIG_BUSYBOX_CONFIG_FSCK_MINIX is not set +# CONFIG_BUSYBOX_CONFIG_MKFS_MINIX is not set +# CONFIG_BUSYBOX_CONFIG_MKFS_VFAT is not set +# CONFIG_BUSYBOX_CONFIG_GETOPT is not set +CONFIG_BUSYBOX_CONFIG_HEXDUMP=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_HEXDUMP_REVERSE is not set +# CONFIG_BUSYBOX_CONFIG_HD is not set +CONFIG_BUSYBOX_CONFIG_HWCLOCK=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS is not set +# CONFIG_BUSYBOX_CONFIG_IPCRM is not set +# CONFIG_BUSYBOX_CONFIG_IPCS is not set +# CONFIG_BUSYBOX_CONFIG_LOSETUP is not set +# CONFIG_BUSYBOX_CONFIG_MDEV is not set +CONFIG_BUSYBOX_CONFIG_MKSWAP=y +CONFIG_BUSYBOX_CONFIG_FEATURE_MKSWAP_UUID=y +# CONFIG_BUSYBOX_CONFIG_MORE is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_USE_TERMIOS is not set +CONFIG_BUSYBOX_CONFIG_VOLUMEID=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_EXT=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_REISERFS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_FAT=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_HFS=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_JFS is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_XFS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_NTFS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_ISO9660=y +CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_UDF=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_LUKS is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_LINUXSWAP=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_CRAMFS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_ROMFS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_SYSV is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_OCFS2 is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_VOLUMEID_LINUXRAID=y +CONFIG_BUSYBOX_CONFIG_MOUNT=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_FAKE is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_VERBOSE is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_HELPERS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_LABEL is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_NFS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_CIFS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_FLAGS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_FSTAB=y +CONFIG_BUSYBOX_CONFIG_PIVOT_ROOT=y +CONFIG_BUSYBOX_CONFIG_RDATE=y +# CONFIG_BUSYBOX_CONFIG_RDEV is not set +# CONFIG_BUSYBOX_CONFIG_READPROFILE is not set +# CONFIG_BUSYBOX_CONFIG_RTCWAKE is not set +# CONFIG_BUSYBOX_CONFIG_SCRIPT is not set +# CONFIG_BUSYBOX_CONFIG_SCRIPTREPLAY is not set +# CONFIG_BUSYBOX_CONFIG_SETARCH is not set +CONFIG_BUSYBOX_CONFIG_SWAPONOFF=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_SWAPON_PRI is not set +CONFIG_BUSYBOX_CONFIG_SWITCH_ROOT=y +CONFIG_BUSYBOX_CONFIG_UMOUNT=y +CONFIG_BUSYBOX_CONFIG_FEATURE_UMOUNT_ALL=y + +# +# Common options for mount/umount +# +CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_MTAB_SUPPORT is not set + +# +# Miscellaneous Utilities +# +# CONFIG_BUSYBOX_CONFIG_ADJTIMEX is not set +# CONFIG_BUSYBOX_CONFIG_BBCONFIG is not set +# CONFIG_BUSYBOX_CONFIG_BEEP is not set +# CONFIG_BUSYBOX_CONFIG_CHAT is not set +# CONFIG_BUSYBOX_CONFIG_CHRT is not set +CONFIG_BUSYBOX_CONFIG_CROND=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_CROND_D is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_CROND_DIR="/var/spool/cron" +CONFIG_BUSYBOX_CONFIG_CRONTAB=y +# CONFIG_BUSYBOX_CONFIG_DC is not set +# CONFIG_BUSYBOX_CONFIG_DEVFSD is not set +# CONFIG_BUSYBOX_CONFIG_DEVMEM is not set +# CONFIG_BUSYBOX_CONFIG_EJECT is not set +# CONFIG_BUSYBOX_CONFIG_FBSPLASH is not set +# CONFIG_BUSYBOX_CONFIG_FLASH_LOCK is not set +# CONFIG_BUSYBOX_CONFIG_FLASH_UNLOCK is not set +# CONFIG_BUSYBOX_CONFIG_FLASH_ERASEALL is not set +# CONFIG_BUSYBOX_CONFIG_IONICE is not set +# CONFIG_BUSYBOX_CONFIG_INOTIFYD is not set +# CONFIG_BUSYBOX_CONFIG_LAST is not set +CONFIG_BUSYBOX_CONFIG_LESS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_MAXLINES=9999999 +# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_BRACKETS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_FLAGS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_MARKS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_REGEXP is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_WINCH is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_DASHCMD is not set +# CONFIG_BUSYBOX_CONFIG_HDPARM is not set +CONFIG_BUSYBOX_CONFIG_LOCK=y +# CONFIG_BUSYBOX_CONFIG_MAKEDEVS is not set +# CONFIG_BUSYBOX_CONFIG_MAN is not set +# CONFIG_BUSYBOX_CONFIG_MICROCOM is not set +# CONFIG_BUSYBOX_CONFIG_MOUNTPOINT is not set +# CONFIG_BUSYBOX_CONFIG_MT is not set +# CONFIG_BUSYBOX_CONFIG_RAIDAUTORUN is not set +# CONFIG_BUSYBOX_CONFIG_READAHEAD is not set +# CONFIG_BUSYBOX_CONFIG_RUNLEVEL is not set +# CONFIG_BUSYBOX_CONFIG_RX is not set +# CONFIG_BUSYBOX_CONFIG_SETSID is not set +CONFIG_BUSYBOX_CONFIG_STRINGS=y +# CONFIG_BUSYBOX_CONFIG_TASKSET is not set +CONFIG_BUSYBOX_CONFIG_TIME=y +# CONFIG_BUSYBOX_CONFIG_TIMEOUT is not set +# CONFIG_BUSYBOX_CONFIG_TTYSIZE is not set +# CONFIG_BUSYBOX_CONFIG_VOLNAME is not set +CONFIG_BUSYBOX_CONFIG_WATCHDOG=y + +# +# Networking Utilities +# +CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_UNIX_LOCAL is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_PREFER_IPV4_ADDRESS=y +CONFIG_BUSYBOX_CONFIG_VERBOSE_RESOLUTION_ERRORS=y +# CONFIG_BUSYBOX_CONFIG_ARP is not set +CONFIG_BUSYBOX_CONFIG_ARPING=y +CONFIG_BUSYBOX_CONFIG_BRCTL=y +CONFIG_BUSYBOX_CONFIG_FEATURE_BRCTL_FANCY=y +CONFIG_BUSYBOX_CONFIG_FEATURE_BRCTL_SHOW=y +# CONFIG_BUSYBOX_CONFIG_DNSD is not set +# CONFIG_BUSYBOX_CONFIG_ETHER_WAKE is not set +# CONFIG_BUSYBOX_CONFIG_FAKEIDENTD is not set +# CONFIG_BUSYBOX_CONFIG_FTPD is not set +# CONFIG_BUSYBOX_CONFIG_FTPGET is not set +# CONFIG_BUSYBOX_CONFIG_FTPPUT is not set +# CONFIG_BUSYBOX_CONFIG_HOSTNAME is not set +# CONFIG_BUSYBOX_CONFIG_HTTPD is not set +CONFIG_BUSYBOX_CONFIG_IFCONFIG=y +CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_STATUS=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_SLIP is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_HW=y +CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS=y +# CONFIG_BUSYBOX_CONFIG_IFENSLAVE is not set +# CONFIG_BUSYBOX_CONFIG_IFPLUGD is not set +# CONFIG_BUSYBOX_CONFIG_IFUPDOWN is not set +# CONFIG_BUSYBOX_CONFIG_INETD is not set +# CONFIG_BUSYBOX_CONFIG_IP is not set +# CONFIG_BUSYBOX_CONFIG_IPCALC is not set +# CONFIG_BUSYBOX_CONFIG_NAMEIF is not set +CONFIG_BUSYBOX_CONFIG_NC=y +CONFIG_BUSYBOX_CONFIG_NETMSG=y +# CONFIG_BUSYBOX_CONFIG_NC_SERVER is not set +# CONFIG_BUSYBOX_CONFIG_NC_EXTRA is not set +CONFIG_BUSYBOX_CONFIG_NETSTAT=y +CONFIG_BUSYBOX_CONFIG_FEATURE_NETSTAT_WIDE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_NETSTAT_PRG=y +CONFIG_BUSYBOX_CONFIG_NSLOOKUP=y +CONFIG_BUSYBOX_CONFIG_PING=y +CONFIG_BUSYBOX_CONFIG_PING6=y +CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_PING=y +# CONFIG_BUSYBOX_CONFIG_PSCAN is not set +CONFIG_BUSYBOX_CONFIG_ROUTE=y +# CONFIG_BUSYBOX_CONFIG_SLATTACH is not set +CONFIG_BUSYBOX_CONFIG_TELNET=y +CONFIG_BUSYBOX_CONFIG_FEATURE_TELNET_TTYPE=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_TELNET_AUTOLOGIN is not set +CONFIG_BUSYBOX_CONFIG_TELNETD=y +CONFIG_BUSYBOX_CONFIG_FEATURE_TELNETD_STANDALONE=y +# CONFIG_BUSYBOX_CONFIG_TFTP is not set +# CONFIG_BUSYBOX_CONFIG_TFTPD is not set +CONFIG_BUSYBOX_CONFIG_TRACEROUTE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_TRACEROUTE_VERBOSE=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set +# CONFIG_BUSYBOX_CONFIG_APP_UDHCPD is not set +CONFIG_BUSYBOX_CONFIG_APP_UDHCPC=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_UDHCPC_ARPING is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_UDHCP_PORT is not set +CONFIG_BUSYBOX_CONFIG_UDHCP_DEBUG=0 +CONFIG_BUSYBOX_CONFIG_FEATURE_UDHCP_RFC3397=y +CONFIG_BUSYBOX_CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script" +CONFIG_BUSYBOX_CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80 +CONFIG_BUSYBOX_CONFIG_VCONFIG=y +CONFIG_BUSYBOX_CONFIG_WGET=y +CONFIG_BUSYBOX_CONFIG_FEATURE_WGET_STATUSBAR=y +CONFIG_BUSYBOX_CONFIG_FEATURE_WGET_AUTHENTICATION=y +CONFIG_BUSYBOX_CONFIG_FEATURE_WGET_LONG_OPTIONS=y +# CONFIG_BUSYBOX_CONFIG_ZCIP is not set +# CONFIG_BUSYBOX_CONFIG_TCPSVD is not set +# CONFIG_BUSYBOX_CONFIG_TUNCTL is not set +# CONFIG_BUSYBOX_CONFIG_UDPSVD is not set + +# +# Print Utilities +# +# CONFIG_BUSYBOX_CONFIG_LPD is not set +# CONFIG_BUSYBOX_CONFIG_LPR is not set +# CONFIG_BUSYBOX_CONFIG_LPQ is not set + +# +# Mail Utilities +# +# CONFIG_BUSYBOX_CONFIG_MAKEMIME is not set +# CONFIG_BUSYBOX_CONFIG_POPMAILDIR is not set +# CONFIG_BUSYBOX_CONFIG_REFORMIME is not set +# CONFIG_BUSYBOX_CONFIG_SENDMAIL is not set + +# +# Process Utilities +# +CONFIG_BUSYBOX_CONFIG_FREE=y +# CONFIG_BUSYBOX_CONFIG_FUSER is not set +CONFIG_BUSYBOX_CONFIG_KILL=y +CONFIG_BUSYBOX_CONFIG_KILLALL=y +CONFIG_BUSYBOX_CONFIG_KILLALL5=y +# CONFIG_BUSYBOX_CONFIG_NMETER is not set +CONFIG_BUSYBOX_CONFIG_PGREP=y +CONFIG_BUSYBOX_CONFIG_PIDOF=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_PIDOF_SINGLE is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_PIDOF_OMIT is not set +CONFIG_BUSYBOX_CONFIG_PKILL=y +CONFIG_BUSYBOX_CONFIG_PS=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_PS_WIDE is not set +# CONFIG_BUSYBOX_CONFIG_RENICE is not set +CONFIG_BUSYBOX_CONFIG_BB_SYSCTL=y +CONFIG_BUSYBOX_CONFIG_TOP=y +CONFIG_BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_TOP_SMP_CPU is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_TOP_DECIMALS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_TOP_SMP_PROCESS is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_TOPMEM is not set +CONFIG_BUSYBOX_CONFIG_UPTIME=y +# CONFIG_BUSYBOX_CONFIG_WATCH is not set + +# +# Runit Utilities +# +# CONFIG_BUSYBOX_CONFIG_RUNSV is not set +# CONFIG_BUSYBOX_CONFIG_RUNSVDIR is not set +# CONFIG_BUSYBOX_CONFIG_SV is not set +# CONFIG_BUSYBOX_CONFIG_SVLOGD is not set +# CONFIG_BUSYBOX_CONFIG_CHPST is not set +# CONFIG_BUSYBOX_CONFIG_SETUIDGID is not set +# CONFIG_BUSYBOX_CONFIG_ENVUIDGID is not set +# CONFIG_BUSYBOX_CONFIG_ENVDIR is not set +# CONFIG_BUSYBOX_CONFIG_SOFTLIMIT is not set + +# +# Shells +# +CONFIG_BUSYBOX_CONFIG_FEATURE_SH_IS_ASH=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_IS_HUSH is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_IS_NONE is not set +CONFIG_BUSYBOX_CONFIG_ASH=y +CONFIG_BUSYBOX_CONFIG_ASH_BASH_COMPAT=y +CONFIG_BUSYBOX_CONFIG_ASH_JOB_CONTROL=y +# CONFIG_BUSYBOX_CONFIG_ASH_READ_NCHARS is not set +CONFIG_BUSYBOX_CONFIG_ASH_READ_TIMEOUT=y +CONFIG_BUSYBOX_CONFIG_ASH_ALIAS=y +CONFIG_BUSYBOX_CONFIG_ASH_GETOPTS=y +CONFIG_BUSYBOX_CONFIG_ASH_BUILTIN_ECHO=y +CONFIG_BUSYBOX_CONFIG_ASH_BUILTIN_PRINTF=y +CONFIG_BUSYBOX_CONFIG_ASH_BUILTIN_TEST=y +CONFIG_BUSYBOX_CONFIG_ASH_CMDCMD=y +# CONFIG_BUSYBOX_CONFIG_ASH_MAIL is not set +# CONFIG_BUSYBOX_CONFIG_ASH_OPTIMIZE_FOR_SIZE is not set +# CONFIG_BUSYBOX_CONFIG_ASH_RANDOM_SUPPORT is not set +CONFIG_BUSYBOX_CONFIG_ASH_EXPAND_PRMT=y +# CONFIG_BUSYBOX_CONFIG_LASH is not set +# CONFIG_BUSYBOX_CONFIG_MSH is not set +CONFIG_BUSYBOX_CONFIG_SH_MATH_SUPPORT=y +CONFIG_BUSYBOX_CONFIG_SH_MATH_SUPPORT_64=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_EXTRA_QUIET is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_STANDALONE is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_NOFORK is not set +# CONFIG_BUSYBOX_CONFIG_CTTYHACK is not set + +# +# System Logging Utilities +# +CONFIG_BUSYBOX_CONFIG_SYSLOGD=y +CONFIG_BUSYBOX_CONFIG_FEATURE_ROTATE_LOGFILE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_REMOTE_LOG=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_SYSLOGD_DUP is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG=y +CONFIG_BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16 +CONFIG_BUSYBOX_CONFIG_LOGREAD=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set +CONFIG_BUSYBOX_CONFIG_KLOGD=y +CONFIG_BUSYBOX_CONFIG_LOGGER=y +CONFIG_PACKAGE_dnsmasq=y +CONFIG_PACKAGE_dropbear=y +# CONFIG_PACKAGE_ead is not set +CONFIG_PACKAGE_firewall=y +CONFIG_PACKAGE_hotplug2=y +CONFIG_PACKAGE_libc=y +CONFIG_PACKAGE_libgcc=y +# CONFIG_PACKAGE_libpthread is not set +# CONFIG_PACKAGE_librt is not set +# CONFIG_PACKAGE_libstdcpp is not set +CONFIG_PACKAGE_mtd=y +CONFIG_PACKAGE_opkg=y +# CONFIG_PACKAGE_qos-scripts is not set +CONFIG_PACKAGE_swconfig=y +CONFIG_PACKAGE_uci=y +# CONFIG_PACKAGE_ucitrigger is not set +# CONFIG_PACKAGE_udev is not set +CONFIG_PACKAGE_udevtrigger=y +CONFIG_PACKAGE_wireless-tools=y + +# +# Libraries +# + +# +# Filesystem +# +# CONFIG_PACKAGE_libblkid is not set +# CONFIG_PACKAGE_libext2fs is not set +# CONFIG_PACKAGE_libuuid is not set + +# +# SSL +# +CONFIG_PACKAGE_libcyassl=y +# CONFIG_PACKAGE_libopenssl is not set +CONFIG_PACKAGE_libiptc=y +# CONFIG_PACKAGE_libiw is not set +# CONFIG_PACKAGE_libltdl is not set +CONFIG_PACKAGE_liblua=y +CONFIG_PACKAGE_libncurses=y +# CONFIG_PACKAGE_libnl is not set +CONFIG_PACKAGE_libnl-tiny=y +# CONFIG_PACKAGE_libpcap is not set +# CONFIG_PACKAGE_libreadline is not set +CONFIG_PACKAGE_libuci=y +CONFIG_PACKAGE_libuci-lua=y +CONFIG_PACKAGE_libxtables=y +# CONFIG_PACKAGE_linux-atm is not set +CONFIG_PACKAGE_zlib=y + +# +# Network +# +# CONFIG_PACKAGE_arptables is not set +# CONFIG_PACKAGE_crda is not set +# CONFIG_PACKAGE_ebtables is not set +# CONFIG_PACKAGE_ebtables-utils is not set +# CONFIG_PACKAGE_genl is not set +# CONFIG_PACKAGE_hostapd is not set +# CONFIG_PACKAGE_hostapd-mini is not set +# CONFIG_PACKAGE_ifenslave is not set +# CONFIG_PACKAGE_ip is not set +# CONFIG_PACKAGE_ipset is not set +CONFIG_PACKAGE_iptables=y +CONFIG_PACKAGE_iptables-mod-conntrack=y +# CONFIG_PACKAGE_iptables-mod-conntrack-extra is not set +# CONFIG_PACKAGE_iptables-mod-extra is not set +# CONFIG_PACKAGE_iptables-mod-filter is not set +# CONFIG_PACKAGE_iptables-mod-imq is not set +# CONFIG_PACKAGE_iptables-mod-ipopt is not set +# CONFIG_PACKAGE_iptables-mod-iprange is not set +# CONFIG_PACKAGE_iptables-mod-ipsec is not set +# CONFIG_PACKAGE_iptables-mod-ipset is not set +CONFIG_PACKAGE_iptables-mod-nat=y +# CONFIG_PACKAGE_iptables-mod-nat-extra is not set +# CONFIG_PACKAGE_iptables-mod-ulog is not set +# CONFIG_PACKAGE_iptables-utils is not set +# CONFIG_PACKAGE_iw is not set +CONFIG_PACKAGE_ppp=y +# CONFIG_PACKAGE_chat is not set +# CONFIG_PACKAGE_ppp-mod-pppoa is not set +CONFIG_PACKAGE_ppp-mod-pppoe=y +# CONFIG_PACKAGE_ppp-mod-radius is not set +# CONFIG_PACKAGE_pppdump is not set +# CONFIG_PACKAGE_pppstats is not set +# CONFIG_PACKAGE_pptp is not set +# CONFIG_PACKAGE_tc is not set +# CONFIG_PACKAGE_uhttpd is not set +# CONFIG_PACKAGE_wpa-supplicant is not set +# CONFIG_WPA_SUPPLICANT_NO_TIMESTAMP_CHECK is not set +# CONFIG_PACKAGE_wpa-supplicant-mini is not set +# CONFIG_PACKAGE_wpad is not set +CONFIG_PACKAGE_wpad-mini=y +# CONFIG_PACKAGE_wprobe-export is not set +# CONFIG_PACKAGE_wprobe-util is not set + +# +# IPv6 +# +# CONFIG_PACKAGE_6in4 is not set +# CONFIG_PACKAGE_ip6tables is not set + +# +# LuCI +# + +# +# Collections +# +# CONFIG_PACKAGE_luci is not set +# CONFIG_PACKAGE_luci-light is not set +# CONFIG_PACKAGE_luci-medium is not set +# CONFIG_PACKAGE_luci-ssl is not set + +# +# Components +# +# CONFIG_PACKAGE_luci-admin-core is not set +# CONFIG_PACKAGE_luci-admin-full is not set +# CONFIG_PACKAGE_luci-admin-mini is not set +# CONFIG_PACKAGE_luci-admin-rpc is not set +# CONFIG_PACKAGE_luci-app-ddns is not set +# CONFIG_PACKAGE_luci-app-firewall is not set +# CONFIG_PACKAGE_luci-app-hd-idle is not set +# CONFIG_PACKAGE_luci-app-initmgr is not set +# CONFIG_PACKAGE_luci-app-livestats is not set +# CONFIG_PACKAGE_luci-app-mmc-over-gpio is not set +# CONFIG_PACKAGE_luci-app-ntpc is not set +# CONFIG_PACKAGE_luci-app-olsr is not set +# CONFIG_PACKAGE_luci-app-openvpn is not set +# CONFIG_PACKAGE_luci-app-p2pblock is not set +# CONFIG_PACKAGE_luci-app-p910nd is not set +# CONFIG_PACKAGE_luci-app-polipo is not set +# CONFIG_PACKAGE_luci-app-qos is not set +# CONFIG_PACKAGE_luci-app-samba is not set +# CONFIG_PACKAGE_luci-app-statistics is not set +# CONFIG_PACKAGE_luci-app-tinyproxy is not set +# CONFIG_PACKAGE_luci-app-upnp is not set +# CONFIG_PACKAGE_luci-app-ushare is not set + +# +# Freifunk +# +# CONFIG_PACKAGE_luci-app-ffwizard-leipzig is not set +# CONFIG_PACKAGE_luci-app-siitwizard is not set +# CONFIG_PACKAGE_luci-app-splash is not set +# CONFIG_PACKAGE_luci-freifunk-community is not set +# CONFIG_PACKAGE_luci-mod-freifunk is not set +# CONFIG_PACKAGE_luci-theme-fledermaus is not set +# CONFIG_PACKAGE_luci-theme-freifunk is not set +# CONFIG_PACKAGE_luci-theme-freifunk-bno is not set +# CONFIG_PACKAGE_luci-theme-freifunk-hannover is not set +# CONFIG_PACKAGE_remote-update is not set + +# +# Libraries +# +# CONFIG_PACKAGE_luci-cbi is not set +CONFIG_PACKAGE_luci-core=y +# CONFIG_PACKAGE_luci-core_compile is not set +# CONFIG_PACKAGE_luci-core_stripped is not set +CONFIG_PACKAGE_luci-core_source=y +# CONFIG_PACKAGE_luci-fastindex is not set +CONFIG_PACKAGE_luci-http=y +CONFIG_PACKAGE_luci-httpclient=y +# CONFIG_PACKAGE_luci-ipkg is not set +CONFIG_PACKAGE_luci-json=y +# CONFIG_PACKAGE_luci-lmo is not set +# CONFIG_PACKAGE_luci-lucid is not set +CONFIG_PACKAGE_luci-nixio=y +# CONFIG_PACKAGE_luci-nixio_notls is not set +# CONFIG_PACKAGE_luci-nixio_axtls is not set +CONFIG_PACKAGE_luci-nixio_cyassl=y +# CONFIG_PACKAGE_luci-nixio_openssl is not set +# CONFIG_PACKAGE_luci-px5g is not set +# CONFIG_PACKAGE_luci-sgi-cgi is not set +# CONFIG_PACKAGE_luci-sgi-uhttpd is not set +CONFIG_PACKAGE_luci-sys=y +CONFIG_PACKAGE_luci-uci=y +# CONFIG_PACKAGE_luci-uvl is not set +# CONFIG_PACKAGE_luci-web is not set + +# +# Themes +# +CONFIG_PACKAGE_luci-theme-base=y +CONFIG_PACKAGE_luci-theme-openwrt=y +# CONFIG_PACKAGE_luci-theme-openwrtlight is not set + +# +# Translations +# +# CONFIG_PACKAGE_luci-i18n-catalan is not set +# CONFIG_PACKAGE_luci-i18n-english is not set +# CONFIG_PACKAGE_luci-i18n-french is not set +# CONFIG_PACKAGE_luci-i18n-german is not set +# CONFIG_PACKAGE_luci-i18n-greek is not set +# CONFIG_PACKAGE_luci-i18n-italian is not set +# CONFIG_PACKAGE_luci-i18n-japanese is not set +# CONFIG_PACKAGE_luci-i18n-portuguese is not set +# CONFIG_PACKAGE_luci-i18n-portuguese_brazilian is not set +# CONFIG_PACKAGE_luci-i18n-russian is not set +# CONFIG_PACKAGE_luci-i18n-spanish is not set + +# +# Kernel modules +# + +# +# Block Devices +# +# CONFIG_PACKAGE_kmod-aoe is not set +# CONFIG_PACKAGE_kmod-ata-core is not set +# CONFIG_PACKAGE_kmod-dm is not set +# CONFIG_PACKAGE_kmod-ide-core is not set +# CONFIG_PACKAGE_kmod-loop is not set +# CONFIG_PACKAGE_kmod-nbd is not set +# CONFIG_PACKAGE_kmod-scsi-core is not set +# CONFIG_PACKAGE_kmod-scsi-generic is not set + +# +# Cryptographic API modules +# +# CONFIG_PACKAGE_kmod-crypto-core is not set + +# +# Filesystems +# +# CONFIG_PACKAGE_kmod-fs-autofs4 is not set +# CONFIG_PACKAGE_kmod-fs-btrfs is not set +# CONFIG_PACKAGE_kmod-fs-cifs is not set +# CONFIG_PACKAGE_kmod-fs-exportfs is not set +# CONFIG_PACKAGE_kmod-fs-ext2 is not set +# CONFIG_PACKAGE_kmod-fs-ext3 is not set +# CONFIG_PACKAGE_kmod-fs-ext4 is not set +# CONFIG_PACKAGE_kmod-fs-hfs is not set +# CONFIG_PACKAGE_kmod-fs-hfsplus is not set +# CONFIG_PACKAGE_kmod-fs-isofs is not set +# CONFIG_PACKAGE_kmod-fs-mbcache is not set +# CONFIG_PACKAGE_kmod-fs-minix is not set +# CONFIG_PACKAGE_kmod-fs-msdos is not set +# CONFIG_PACKAGE_kmod-fs-nfs is not set +# CONFIG_PACKAGE_kmod-fs-nfs-common is not set +# CONFIG_PACKAGE_kmod-fs-nfsd is not set +# CONFIG_PACKAGE_kmod-fs-ntfs is not set +# CONFIG_PACKAGE_kmod-fs-reiserfs is not set +# CONFIG_PACKAGE_kmod-fs-udf is not set +# CONFIG_PACKAGE_kmod-fs-vfat is not set +# CONFIG_PACKAGE_kmod-fs-xfs is not set +# CONFIG_PACKAGE_kmod-fuse is not set +# CONFIG_PACKAGE_kmod-nls-base is not set +# CONFIG_PACKAGE_kmod-nls-cp1250 is not set +# CONFIG_PACKAGE_kmod-nls-cp1251 is not set +# CONFIG_PACKAGE_kmod-nls-cp437 is not set +# CONFIG_PACKAGE_kmod-nls-cp775 is not set +# CONFIG_PACKAGE_kmod-nls-cp850 is not set +# CONFIG_PACKAGE_kmod-nls-cp852 is not set +# CONFIG_PACKAGE_kmod-nls-cp866 is not set +# CONFIG_PACKAGE_kmod-nls-iso8859-1 is not set +# CONFIG_PACKAGE_kmod-nls-iso8859-13 is not set +# CONFIG_PACKAGE_kmod-nls-iso8859-15 is not set +# CONFIG_PACKAGE_kmod-nls-iso8859-2 is not set +# CONFIG_PACKAGE_kmod-nls-koi8r is not set +# CONFIG_PACKAGE_kmod-nls-utf8 is not set + +# +# FireWire support +# +# CONFIG_PACKAGE_kmod-ieee1394 is not set + +# +# Hardware Monitoring Support +# +# CONFIG_PACKAGE_kmod-hwmon-core is not set + +# +# I2C support +# +# CONFIG_PACKAGE_kmod-i2c-core is not set +# CONFIG_PACKAGE_kmod-i2c-gpio-custom is not set + +# +# Netfilter Extensions +# +# CONFIG_PACKAGE_kmod-arptables is not set +# CONFIG_PACKAGE_kmod-ebtables is not set +# CONFIG_PACKAGE_kmod-ip6tables is not set +CONFIG_PACKAGE_kmod-ipt-core=y +CONFIG_PACKAGE_kmod-ipt-conntrack=y +# CONFIG_PACKAGE_kmod-ipt-conntrack-extra is not set +# CONFIG_PACKAGE_kmod-ipt-extra is not set +# CONFIG_PACKAGE_kmod-ipt-filter is not set +# CONFIG_PACKAGE_kmod-ipt-imq is not set +# CONFIG_PACKAGE_kmod-ipt-ipopt is not set +# CONFIG_PACKAGE_kmod-ipt-iprange is not set +# CONFIG_PACKAGE_kmod-ipt-ipsec is not set +# CONFIG_PACKAGE_kmod-ipt-ipset is not set +CONFIG_PACKAGE_kmod-ipt-nat=y +# CONFIG_PACKAGE_kmod-ipt-nat-extra is not set +CONFIG_PACKAGE_kmod-ipt-nathelper=y +# CONFIG_PACKAGE_kmod-ipt-nathelper-extra is not set +# CONFIG_PACKAGE_kmod-ipt-queue is not set +# CONFIG_PACKAGE_kmod-ipt-ulog is not set +# CONFIG_PACKAGE_kmod-nf-conntrack-netlink is not set +# CONFIG_PACKAGE_kmod-nfnetlink is not set +# CONFIG_PACKAGE_kmod-nfnetlink-log is not set +# CONFIG_PACKAGE_kmod-nfnetlink-queue is not set + +# +# Network Devices +# +# CONFIG_PACKAGE_kmod-e1000 is not set +# CONFIG_PACKAGE_kmod-gigaset is not set +# CONFIG_PACKAGE_kmod-hfcmulti is not set +# CONFIG_PACKAGE_kmod-libphy is not set +# CONFIG_PACKAGE_kmod-macvlan is not set +# CONFIG_PACKAGE_kmod-siit is not set +# CONFIG_PACKAGE_kmod-tg3 is not set + +# +# Network Support +# +# CONFIG_PACKAGE_kmod-appletalk is not set +# CONFIG_PACKAGE_kmod-atm is not set +# CONFIG_PACKAGE_kmod-ax25 is not set +# CONFIG_PACKAGE_kmod-bonding is not set +# CONFIG_PACKAGE_kmod-capi is not set +# CONFIG_PACKAGE_kmod-gre is not set +# CONFIG_PACKAGE_kmod-ip6-tunnel is not set +# CONFIG_PACKAGE_kmod-ipip is not set +# CONFIG_PACKAGE_kmod-ipsec is not set +# CONFIG_PACKAGE_kmod-iptunnel4 is not set +# CONFIG_PACKAGE_kmod-iptunnel6 is not set +# CONFIG_PACKAGE_kmod-ipv6 is not set +# CONFIG_PACKAGE_kmod-isdn4linux is not set +# CONFIG_PACKAGE_kmod-misdn is not set +# CONFIG_PACKAGE_kmod-mp-alg is not set +CONFIG_PACKAGE_kmod-ppp=y +# CONFIG_PACKAGE_kmod-mppe is not set +# CONFIG_PACKAGE_kmod-pktgen is not set +# CONFIG_PACKAGE_kmod-ppp-synctty is not set +# CONFIG_PACKAGE_kmod-pppoa is not set +CONFIG_PACKAGE_kmod-pppoe=y +# CONFIG_PACKAGE_kmod-pppol2tp is not set +# CONFIG_PACKAGE_kmod-sched is not set +# CONFIG_PACKAGE_kmod-sit is not set +# CONFIG_PACKAGE_kmod-tun is not set +# CONFIG_PACKAGE_kmod-wprobe is not set + +# +# OCF Configuration +# + +# +# Other modules +# +# CONFIG_PACKAGE_kmod-block2mtd is not set +# CONFIG_PACKAGE_kmod-bluetooth is not set +# CONFIG_PACKAGE_kmod-button-hotplug is not set +# CONFIG_PACKAGE_kmod-compcache is not set +CONFIG_PACKAGE_kmod-crc-ccitt=y +# CONFIG_PACKAGE_kmod-crc-itu-t is not set +# CONFIG_PACKAGE_kmod-crc16 is not set +# CONFIG_PACKAGE_kmod-crc7 is not set +# CONFIG_PACKAGE_kmod-eeprom-93cx6 is not set +# CONFIG_PACKAGE_kmod-gpio-dev is not set +# CONFIG_PACKAGE_kmod-hid is not set +# CONFIG_PACKAGE_kmod-input-core is not set +# CONFIG_PACKAGE_kmod-input-evdev is not set +# CONFIG_PACKAGE_kmod-input-gpio-buttons is not set +# CONFIG_PACKAGE_kmod-input-gpio-keys is not set +# CONFIG_PACKAGE_kmod-input-joydev is not set +# CONFIG_PACKAGE_kmod-input-polldev is not set +# CONFIG_PACKAGE_kmod-leds-gpio is not set +# CONFIG_PACKAGE_kmod-ledtrig-morse is not set +# CONFIG_PACKAGE_kmod-ledtrig-netdev is not set +# CONFIG_PACKAGE_kmod-mmc is not set +# CONFIG_PACKAGE_kmod-mmc-over-gpio is not set +# CONFIG_PACKAGE_kmod-pcspkr is not set +# CONFIG_PACKAGE_kmod-softdog is not set +# CONFIG_PACKAGE_kmod-ssb is not set +# CONFIG_PACKAGE_kmod-textsearch is not set +# CONFIG_PACKAGE_kmod-wrt55agv2-spidevs is not set + +# +# SPI Support +# +# CONFIG_PACKAGE_kmod-mmc-spi is not set +CONFIG_PACKAGE_kmod-spi-bitbang=y +CONFIG_PACKAGE_kmod-spi-dev=y +CONFIG_PACKAGE_kmod-spi-gpio=y +# CONFIG_PACKAGE_kmod-spi-gpio-old is not set +# CONFIG_PACKAGE_kmod-spi-ks8995 is not set + +# +# Sound Support +# +# CONFIG_PACKAGE_kmod-sound-core is not set + +# +# USB Support +# +# CONFIG_PACKAGE_kmod-usb-core is not set + +# +# Video Support +# +# CONFIG_PACKAGE_kmod-video-core is not set + +# +# Voice over IP +# + +# +# W1 support +# +# CONFIG_PACKAGE_kmod-w1 is not set + +# +# Wireless Drivers +# +# CONFIG_PACKAGE_kmod-acx is not set +# CONFIG_PACKAGE_kmod-ar9170 is not set +# CONFIG_PACKAGE_kmod-ath is not set +# CONFIG_PACKAGE_kmod-ath5k is not set +# CONFIG_PACKAGE_kmod-ath9k is not set +# CONFIG_PACKAGE_kmod-b43 is not set +# CONFIG_PACKAGE_kmod-b43legacy is not set +# CONFIG_PACKAGE_kmod-carl9170 is not set +# CONFIG_PACKAGE_kmod-cfg80211 is not set +# CONFIG_PACKAGE_kmod-hostap is not set +# CONFIG_PACKAGE_kmod-hostap-pci is not set +# CONFIG_PACKAGE_kmod-hostap-plx is not set +# CONFIG_PACKAGE_kmod-lib80211 is not set +# CONFIG_PACKAGE_kmod-libertas-sd is not set +# CONFIG_PACKAGE_kmod-libertas-usb is not set +# CONFIG_PACKAGE_kmod-mac80211 is not set +# CONFIG_PACKAGE_kmod-mac80211-hwsim is not set +CONFIG_PACKAGE_kmod-madwifi=y + +# +# Configuration +# +# CONFIG_MADWIFI_COMPRESSION is not set +CONFIG_MADWIFI_SINGLE_MODULE=y +CONFIG_MADWIFI_RCA_MINSTREL=y +# CONFIG_MADWIFI_RCA_SAMPLERATE is not set +# CONFIG_PACKAGE_kmod-mwl8k is not set +# CONFIG_PACKAGE_kmod-net-airo is not set +# CONFIG_PACKAGE_kmod-net-hermes is not set +# CONFIG_PACKAGE_kmod-net-hermes-pci is not set +# CONFIG_PACKAGE_kmod-net-hermes-plx is not set +# CONFIG_PACKAGE_kmod-net-ipw2100 is not set +# CONFIG_PACKAGE_kmod-net-ipw2200 is not set +# CONFIG_PACKAGE_kmod-net-libipw is not set +# CONFIG_PACKAGE_kmod-net-prism54 is not set +# CONFIG_PACKAGE_kmod-p54-common is not set +# CONFIG_PACKAGE_kmod-p54-pci is not set +# CONFIG_PACKAGE_kmod-p54-usb is not set +# CONFIG_PACKAGE_kmod-rt2400-pci is not set +# CONFIG_PACKAGE_kmod-rt2500-pci is not set +# CONFIG_PACKAGE_kmod-rt2500-usb is not set +# CONFIG_PACKAGE_kmod-rt2800-lib is not set +# CONFIG_PACKAGE_kmod-rt2800-pci is not set +# CONFIG_PACKAGE_kmod-rt2800-usb is not set +# CONFIG_PACKAGE_kmod-rt2x00-lib is not set +# CONFIG_PACKAGE_kmod-rt2x00-pci is not set +# CONFIG_PACKAGE_kmod-rt2x00-usb is not set +# CONFIG_PACKAGE_kmod-rt61-pci is not set +# CONFIG_PACKAGE_kmod-rt73-usb is not set +# CONFIG_PACKAGE_kmod-rtl8180 is not set +# CONFIG_PACKAGE_kmod-rtl8187 is not set +# CONFIG_PACKAGE_kmod-zd1211rw is not set + +# +# Xen paravirtualized guest support +# + +# +# Boot Loaders +# + +# +# Utilities +# + +# +# Boot Loaders +# + +# +# Filesystem +# +# CONFIG_PACKAGE_badblocks is not set +# CONFIG_PACKAGE_blkid is not set +# CONFIG_PACKAGE_e2fsprogs is not set +# CONFIG_PACKAGE_resize2fs is not set +# CONFIG_PACKAGE_tune2fs is not set +# CONFIG_PACKAGE_uuidgen is not set + +# +# disc +# +CONFIG_EXTROOT_SETTLETIME=20 +# CONFIG_PACKAGE_cfdisk is not set +# CONFIG_PACKAGE_fdisk is not set +# CONFIG_PACKAGE_sfdisk is not set +# CONFIG_PACKAGE_swap-utils is not set + +# +# terminal +# +# CONFIG_PACKAGE_setterm is not set +CONFIG_PACKAGE_avrdude=y +# CONFIG_PACKAGE_comgt is not set +# CONFIG_PACKAGE_dropbearconvert is not set +CONFIG_PACKAGE_fconfig=y +# CONFIG_PACKAGE_flock is not set +# CONFIG_PACKAGE_gdb is not set +# CONFIG_PACKAGE_gdbserver is not set +CONFIG_PACKAGE_gpioctl=y +# CONFIG_PACKAGE_hwclock is not set +# CONFIG_PACKAGE_kexec-tools is not set +# CONFIG_PACKAGE_ldconfig is not set +# CONFIG_PACKAGE_ldd is not set +# CONFIG_PACKAGE_losetup is not set +# CONFIG_PACKAGE_mount-utils is not set +# CONFIG_PACKAGE_ocf-crypto-headers is not set +# CONFIG_PACKAGE_openssl-util is not set +# CONFIG_PACKAGE_px5g is not set +# CONFIG_PACKAGE_robocfg is not set +CONFIG_PACKAGE_spidev-test=y +# CONFIG_PACKAGE_uboot-envtools is not set + +# +# Languages +# + +# +# Lua +# +CONFIG_PACKAGE_lua=y +# CONFIG_PACKAGE_lua-examples is not set +CONFIG_PACKAGE_luac=y diff --git a/mote/v2/openwrt/package/luci/.svn/all-wcprops b/mote/v2/openwrt/package/luci/.svn/all-wcprops new file mode 100644 index 0000000..7a88bc9 --- /dev/null +++ b/mote/v2/openwrt/package/luci/.svn/all-wcprops @@ -0,0 +1,11 @@ +K 25 +svn:wc:ra_dav:version-url +V 51 +/!svn/ver/6030/luci/tags/0.9.0/contrib/package/luci +END +Makefile +K 25 +svn:wc:ra_dav:version-url +V 60 +/!svn/ver/6030/luci/tags/0.9.0/contrib/package/luci/Makefile +END diff --git a/mote/v2/openwrt/package/luci/.svn/dir-prop-base b/mote/v2/openwrt/package/luci/.svn/dir-prop-base new file mode 100644 index 0000000..01a74d0 --- /dev/null +++ b/mote/v2/openwrt/package/luci/.svn/dir-prop-base @@ -0,0 +1,5 @@ +K 13 +svn:mergeinfo +V 237 +/luci/trunk/contrib/package/luci:4883,4886-4890,4941-4944,4950,4958-4959,5007-5013,5022-5023,5028-5118,5130-5143,5145-5153,5155-5161,5177-5182,5184-5189,5193-5194,5198,5315-5316,5516,5530,5902-5903,5908-5911,5919,5956,5958,5987,6024-6025 +END diff --git a/mote/v2/openwrt/package/luci/.svn/entries b/mote/v2/openwrt/package/luci/.svn/entries new file mode 100644 index 0000000..91180c2 --- /dev/null +++ b/mote/v2/openwrt/package/luci/.svn/entries @@ -0,0 +1,65 @@ +10 + +dir +6231 +http://svn.luci.subsignal.org/luci/tags/0.9.0/contrib/package/luci +http://svn.luci.subsignal.org + + + +2010-04-05T17:48:51.300506Z +6030 +jow +has-props + + + + + + + + + + + + + +ab181a69-ba2e-0410-a84d-ff88ab4c47bc + +ipkg +dir + +Makefile +file + + + + +2010-05-08T19:05:28.000000Z +b582584a16f51d5fc2d96aebdc65c95f +2010-04-05T17:48:51.300506Z +6030 +jow +has-props + + + + + + + + + + + + + + + + + + + + +31424 + diff --git a/mote/v2/openwrt/package/luci/.svn/prop-base/Makefile.svn-base b/mote/v2/openwrt/package/luci/.svn/prop-base/Makefile.svn-base new file mode 100644 index 0000000..8dc483d --- /dev/null +++ b/mote/v2/openwrt/package/luci/.svn/prop-base/Makefile.svn-base @@ -0,0 +1,5 @@ +K 13 +svn:mergeinfo +V 316 +/luci/trunk/contrib/package/luci/Makefile:4883,4886-4890,4941-4944,4948,4950,4952,4958-4959,5007-5013,5022-5023,5028-5118,5124,5130-5143,5145-5153,5155-5161,5177-5182,5184-5189,5193-5194,5198,5315-5316,5516,5530,5534,5560,5590-5592,5642,5726,5730-5731,5760,5769,5902-5903,5908-5911,5919,5956,5958,5980,5987,6024-6025 +END diff --git a/mote/v2/openwrt/package/luci/.svn/text-base/Makefile.svn-base b/mote/v2/openwrt/package/luci/.svn/text-base/Makefile.svn-base new file mode 100644 index 0000000..10d50d2 --- /dev/null +++ b/mote/v2/openwrt/package/luci/.svn/text-base/Makefile.svn-base @@ -0,0 +1,1200 @@ +include $(TOPDIR)/rules.mk + +PKG_BRANCH:=tags/0.9.0 + +ifeq ($(DUMP),) + USELOCAL:=$(shell grep luci ../../../.project 2>/dev/null >/dev/null && echo 1) +endif + +PKG_NAME:=luci +PKG_RELEASE:=1 + +ifeq ($(USELOCAL),1) + PKG_VERSION:=0.9+svn +else + PKG_SOURCE_URL:=http://svn.luci.subsignal.org/luci/$(PKG_BRANCH) + ifeq ($(DUMP),) + PKG_REV:=HEAD + PKG_VERSION:=0.9.0 + endif + PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) + PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz + PKG_SOURCE_PROTO:=svn + PKG_SOURCE_VERSION:=$(PKG_REV) +endif + +PKG_BUILD_DEPENDS:=$(if $(STAGING_DIR_ROOT),lua/host) +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install + +LUA_TARGET:=source +LUCI_CFLAGS:= +PKG_SELECTED_MODULES:= + + +include $(INCLUDE_DIR)/package.mk + +ifeq ($(USELOCAL),1) + define Build/Prepare + mkdir -p $(PKG_BUILD_DIR) + $(TAR) c -C ../../../ . \ + --exclude=.pc --exclude=.svn --exclude=.git \ + --exclude='boa-0*' --exclude='*.o' --exclude='*.so' \ + --exclude=dist | \ + tar x -C $(PKG_BUILD_DIR)/ + endef +endif + +define Build/Configure +endef + +### Templates ### + +define Package/luci/libtemplate + SECTION:=luci + CATEGORY:=LuCI + TITLE:=LuCI - Lua Configuration Interface + URL:=http://luci.freifunk-halle.net/ + MAINTAINER:=Steven Barth + SUBMENU:=Libraries + DEPENDS:=+luci-core +endef + +define Package/luci/fftemplate + $(call Package/luci/libtemplate) + SUBMENU:=Freifunk + DEPENDS:=+luci-mod-freifunk +endef + +define Package/luci/i18ntemplate + $(call Package/luci/libtemplate) + SUBMENU:=Translations + DEPENDS:=+luci-web +endef + +define Package/luci/thtemplate + $(call Package/luci/libtemplate) + SUBMENU:=Themes + DEPENDS:=+luci-web +endef + +define Package/luci/webtemplate + $(call Package/luci/libtemplate) + SUBMENU:=Components +endef + +define Package/luci/collectiontemplate + $(call Package/luci/libtemplate) + SUBMENU:=Collections +endef + + +define Package/luci/install/template + $(CP) -a $(PKG_BUILD_DIR)/$(2)/dist/* $(1)/ -R + $(CP) -a $(PKG_BUILD_DIR)/$(2)/ipkg/* $(1)/CONTROL/ 2>/dev/null || true +endef + + + +### Core package ### + +define Package/luci-core + $(call Package/luci/libtemplate) + DEPENDS:=+lua +luci-nixio + TITLE:=LuCI core libraries +endef + +define Package/luci-core/install + $(call Package/luci/install/template,$(1),libs/core) + $(PKG_BUILD_DIR)/build/mkversion.sh $(1)/usr/lib/lua/luci/version.lua \ + "OpenWrt Firmware" \ + "$(OPENWRTVERSION)" \ + "$(PKG_BRANCH)" \ + "$(PKG_VERSION)" +endef + +define Package/luci-core/config + choice + prompt "Build Target" + default PACKAGE_luci-core_compile + + config PACKAGE_luci-core_compile + bool "Precompiled" + + config PACKAGE_luci-core_stripped + bool "Stripped" + + config PACKAGE_luci-core_source + bool "Full Source" + + endchoice +endef + +ifneq ($(CONFIG_PACKAGE_luci-core_compile),) + LUA_TARGET:=compile +endif + +ifneq ($(CONFIG_PACKAGE_luci-core_stripped),) + LUA_TARGET:=strip +endif + +ifneq ($(CONFIG_PACKAGE_luci-core_zipped),) + LUA_TARGET:=gzip +endif + + +### Libraries ### +define Package/luci-cbi + $(call Package/luci/libtemplate) + DEPENDS+=+luci-web +luci-uvl +luci-uci + TITLE:=Configuration Binding Interface +endef + +define Package/luci-cbi/install + $(call Package/luci/install/template,$(1),libs/cbi) +endef + + +define Package/luci-uci + $(call Package/luci/libtemplate) + DEPENDS+=+libuci-lua + TITLE:=High-Level UCI API +endef + +define Package/luci-uci/install + $(call Package/luci/install/template,$(1),libs/uci) +endef + + +define Package/luci-fastindex + $(call Package/luci/libtemplate) + TITLE:=Fastindex indexing module +endef + +define Package/luci-fastindex/install + $(call Package/luci/install/template,$(1),libs/fastindex) +endef + + +define Package/luci-http + $(call Package/luci/libtemplate) + TITLE:=HTTP Protocol implementation +endef + +define Package/luci-http/install + $(call Package/luci/install/template,$(1),libs/http) +endef + + +define Package/luci-httpclient + $(call Package/luci/libtemplate) + TITLE:=HTTP(S) client library + DEPENDS+=+luci-http +luci-nixio +endef + +define Package/luci-httpclient/install + $(call Package/luci/install/template,$(1),libs/httpclient) +endef + + +define Package/luci-ipkg + $(call Package/luci/libtemplate) + TITLE:=LuCI IPKG/OPKG call abstraction library +endef + +define Package/luci-ipkg/install + $(call Package/luci/install/template,$(1),libs/ipkg) +endef + + +define Package/luci-json + $(call Package/luci/libtemplate) + TITLE:=LuCI JSON Library +endef + +define Package/luci-json/install + $(call Package/luci/install/template,$(1),libs/json) +endef + + +define Package/luci-lmo + $(call Package/luci/libtemplate) + TITLE:=lmo +endef + +define Package/luci-lmo/install + $(call Package/luci/install/template,$(1),libs/lmo) +endef + + +define Package/luci-lucid + $(call Package/luci/libtemplate) + TITLE:=LuCId Superserver + DEPENDS+=+luci-nixio +luci-http +luci-px5g +endef + +define Package/luci-lucid/install + $(call Package/luci/install/template,$(1),libs/lucid) + $(call Package/luci/install/template,$(1),libs/lucid-http) +endef + + + +NIXIO_TLS:= + +define Package/luci-nixio + $(call Package/luci/libtemplate) + TITLE:=NIXIO POSIX Library + DEPENDS:=+PACKAGE_luci-nixio_openssl:libopenssl +PACKAGE_luci-nixio_cyassl:libcyassl +endef + +define Package/luci-nixio/install + $(call Package/luci/install/template,$(1),libs/nixio) +endef + +define Package/luci-nixio/config + choice + prompt "TLS Provider" + default PACKAGE_luci-nixio_notls + + config PACKAGE_luci-nixio_notls + bool "Disabled" + + config PACKAGE_luci-nixio_axtls + bool "Builtin (axTLS)" + + config PACKAGE_luci-nixio_cyassl + bool "CyaSSL" + select PACKAGE_libcyassl + + config PACKAGE_luci-nixio_openssl + bool "OpenSSL" + select PACKAGE_libopenssl + endchoice +endef + +ifneq ($(CONFIG_PACKAGE_luci-nixio_axtls),) + NIXIO_TLS:=axtls +endif + +ifneq ($(CONFIG_PACKAGE_luci-nixio_openssl),) + NIXIO_TLS:=openssl +endif + +ifneq ($(CONFIG_PACKAGE_luci-nixio_cyassl),) + NIXIO_TLS:=cyassl + LUCI_CFLAGS+=-I$(STAGING_DIR)/usr/include/cyassl +endif + + +define Package/luci-px5g + $(call Package/luci/libtemplate) + TITLE:=PX5G RSA Keymaster + DEPENDS:=+luci-nixio +endef + +define Package/luci-px5g/install + $(call Package/luci/install/template,$(1),libs/px5g) +endef + + +define Package/luci-sys + $(call Package/luci/libtemplate) + TITLE:=LuCI Linux/POSIX system library +endef + +define Package/luci-sys/install + $(call Package/luci/install/template,$(1),libs/sys) +endef + + +define Package/luci-web + $(call Package/luci/libtemplate) + DEPENDS+=+luci-http +luci-sys +luci-nixio +luci-uci \ + +luci-sgi-cgi +luci-lmo + TITLE:=MVC Webframework + $(call Config,luci.main.lang,string,en,Default Language) +endef + +define Package/luci-web/conffiles +/etc/config/luci +endef + +define Package/luci-web/install + $(call Package/luci/install/template,$(1),libs/web) +endef + + +define Package/luci-uvl + $(call Package/luci/libtemplate) + DEPENDS+=+luci-sys +luci-uci +luci-core + TITLE:=UVL - UCI Validation Layer +endef + +define Package/luci-uvl/install + $(call Package/luci/install/template,$(1),libs/uvl) +endef + + + +### Community Packages ### + +define Package/luci-freifunk-community + $(call Package/luci/fftemplate) + DEPENDS+= \ + +luci-web +luci-app-splash \ + +luci-app-ffwizard-leipzig \ + +luci-i18n-german \ + +PACKAGE_luci-freifunk-community:olsrd-luci +PACKAGE_luci-freifunk-community:olsrd-luci-mod-dyn-gw-plain \ + +PACKAGE_luci-freifunk-community:olsrd-luci-mod-txtinfo +PACKAGE_luci-freifunk-community:olsrd-luci-mod-nameservice \ + +PACKAGE_luci-freifunk-community:olsrd-luci-mod-watchdog +PACKAGE_luci-freifunk-community:kmod-tun \ + +PACKAGE_luci-freifunk-community:ip +PACKAGE_luci-freifunk-community:freifunk-watchdog +luci-app-olsr + TITLE:=Freifunk Community Meta-Package +endef + +define Package/luci-freifunk-community/install + $(call Package/luci/install/template,$(1),applications/freifunk-community) +endef + +### Modules ### + +define Package/luci-admin-core + $(call Package/luci/webtemplate) + DEPENDS+=+luci-web +luci-cbi +luci-i18n-english + TITLE:=Web UI Core Module +endef + +define Package/luci-admin-core/install + $(call Package/luci/install/template,$(1),modules/admin-core) + touch $(1)/etc/init.d/luci_fixtime || true +endef + + +define Package/luci-admin-mini + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-core + TITLE:=LuCI Essentials - stripped down and user-friendly +endef + +define Package/luci-admin-mini/install + $(call Package/luci/install/template,$(1),modules/admin-mini) +endef + + +define Package/luci-admin-full + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-core +luci-ipkg + TITLE:=LuCI Administration - full-featured for full control +endef + +define Package/luci-admin-full/install + $(call Package/luci/install/template,$(1),modules/admin-full) +endef + + +define Package/luci-admin-rpc + $(call Package/luci/webtemplate) + DEPENDS+=+luci-json + TITLE:=LuCI RPC - JSON-RPC API +endef + +define Package/luci-admin-rpc/install + $(call Package/luci/install/template,$(1),modules/rpc) +endef + + +define Package/luci-mod-freifunk + $(call Package/luci/fftemplate) + DEPENDS:=+luci-admin-full +luci-json +PACKAGE_luci-mod-freifunk:freifunk-firewall + TITLE:=LuCI Freifunk module +endef + +define Package/luci-mod-freifunk/conffiles +/etc/config/freifunk +endef + +define Package/luci-mod-freifunk/install + $(call Package/luci/install/template,$(1),modules/freifunk) +endef + + + +### Applications ### + +define Package/luci-app-ffwizard-leipzig + $(call Package/luci/fftemplate) + TITLE:=Freifunk Leipzig configuration wizard +endef + +define Package/luci-app-ffwizard-leipzig/install + $(call Package/luci/install/template,$(1),applications/luci-ffwizard-leipzig) +endef + + +define Package/luci-app-siitwizard + $(call Package/luci/fftemplate) + TITLE:=SIIT IPv4-over-IPv6 configuration wizard + DEPENDS:=+luci-admin-core +PACKAGE_luci-app-siitwizard:kmod-siit +endef + +define Package/luci-app-siitwizard/install + $(call Package/luci/install/template,$(1),applications/luci-siitwizard) +endef + + +define Package/luci-app-firewall + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-core +PACKAGE_luci-app-firewall:firewall + TITLE:=Firewall and Portforwarding application +endef + +define Package/luci-app-firewall/install + $(call Package/luci/install/template,$(1),applications/luci-fw) +endef + + +define Package/luci-app-olsr + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-full +PACKAGE_luci-app-olsr:olsrd-luci \ + +PACKAGE_luci-app-olsr:olsrd-luci-mod-txtinfo + TITLE:=OLSR configuration and status module +endef + +define Package/luci-app-olsr/install + $(call Package/luci/install/template,$(1),applications/luci-olsr) +endef + + +define Package/luci-app-qos + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-core +PACKAGE_luci-app-qos:qos-scripts + TITLE:=Quality of Service configuration module +endef + +define Package/luci-app-qos/install + $(call Package/luci/install/template,$(1),applications/luci-qos) +endef + + +define Package/luci-app-splash + $(call Package/luci/fftemplate) + DEPENDS+=+PACKAGE_luci-app-splash:luci-nixio \ + +PACKAGE_luci-app-splash:tc +PACKAGE_luci-app-splash:kmod-sched \ + +PACKAGE_luci-app-splash:iptables-mod-nat-extra \ + +PACKAGE_luci-app-splash:iptables-mod-ipopt + TITLE:=Freifunk DHCP-Splash application +endef + +define Package/luci-app-splash/conffiles +/etc/config/luci_splash +endef + +define Package/luci-app-splash/install + $(call Package/luci/install/template,$(1),applications/luci-splash) +endef + + +define Package/luci-app-statistics + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-full +PACKAGE_luci-app-statistics:collectd \ + +PACKAGE_luci-app-statistics:rrdtool1 \ + +PACKAGE_luci-app-statistics:collectd-mod-rrdtool \ + +PACKAGE_luci-app-statistics:collectd-mod-wireless \ + +PACKAGE_luci-app-statistics:collectd-mod-interface \ + +PACKAGE_luci-app-statistics:collectd-mod-load + TITLE:=LuCI Statistics Application +endef + +define Package/luci-app-statistics/conffiles +/etc/config/luci_statistics +endef + +define Package/luci-app-statistics/install + $(call Package/luci/install/template,$(1),applications/luci-statistics) +endef + +define Package/luci-app-upnp + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-core +PACKAGE_luci-app-upnp:miniupnpd + TITLE:=Universal Plug & Play configuration module +endef + +define Package/luci-app-upnp/install + $(call Package/luci/install/template,$(1),applications/luci-upnp) +endef + + +define Package/luci-app-ntpc + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ntpc:ntpclient + TITLE:=NTP time synchronisation client configuration module +endef + +define Package/luci-app-ntpc/install + $(call Package/luci/install/template,$(1),applications/luci-ntpc) +endef + + +define Package/luci-app-ddns + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ddns:ddns-scripts + TITLE:=Dynamic DNS configuration module +endef + +define Package/luci-app-ddns/install + $(call Package/luci/install/template,$(1),applications/luci-ddns) +endef + + +define Package/luci-app-samba + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-full +PACKAGE_luci-app-samba:samba3 + TITLE:=Network Shares - Samba SMB/CIFS module +endef + +define Package/luci-app-samba/install + $(call Package/luci/install/template,$(1),applications/luci-samba) +endef + + +define Package/luci-app-mmc-over-gpio + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-full +PACKAGE_luci-app-mmc-over-gpio:kmod-mmc-over-gpio + TITLE:=mmc_over_gpio +endef + +define Package/luci-app-mmc-over-gpio/install + $(call Package/luci/install/template,$(1),applications/luci-mmc-over-gpio) +endef + + +define Package/luci-app-p910nd + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-full +PACKAGE_luci-app-p910nd:p910nd + TITLE:=p910nd - Printer server module +endef + +define Package/luci-app-p910nd/install + $(call Package/luci/install/template,$(1),applications/luci-p910nd) +endef + + +define Package/luci-app-ushare + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-full +PACKAGE_luci-app-ushare:ushare + TITLE:=ushare - UPnP A/V & DLNA Media Server +endef + +define Package/luci-app-ushare/install + $(call Package/luci/install/template,$(1),applications/luci-ushare) +endef + +define Package/luci-app-hd-idle + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-full +PACKAGE_luci-app-hd-idle:hd-idle + TITLE:=hd-idle +endef + +define Package/luci-app-hd-idle/install + $(call Package/luci/install/template,$(1),applications/luci-hd-idle) +endef + +define Package/luci-app-tinyproxy + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-full +PACKAGE_luci-app-tinyproxy:tinyproxy + TITLE:=Tinyproxy - HTTP(S)-Proxy +endef + +define Package/luci-app-tinyproxy/install + $(call Package/luci/install/template,$(1),applications/luci-tinyproxy) +endef + +define Package/luci-app-initmgr + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-full + TITLE:=LuCI Initscript Management +endef + +define Package/luci-app-initmgr/install + $(call Package/luci/install/template,$(1),applications/luci-initmgr) +endef + +define Package/luci-app-livestats + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-core +luci-admin-rpc + TITLE:=LuCI Realtime Statistics +endef + +define Package/luci-app-livestats/install + $(call Package/luci/install/template,$(1),applications/luci-livestats) +endef + +define Package/luci-app-polipo + $(call Package/luci/webtemplate) + TITLE:=LuCI Support for the Polipo Proxy + DEPENDS+=+luci-admin-core +PACKAGE_luci-app-polipo:polipo +endef + +define Package/luci-app-polipo/install + $(call Package/luci/install/template,$(1),applications/luci-polipo) +endef + +define Package/luci-app-openvpn + $(call Package/luci/webtemplate) + TITLE:=LuCI Support for OpenVPN + DEPENDS+=+luci-admin-core +PACKAGE_luci-app-openvpn:openvpn +endef + +define Package/luci-app-openvpn/install + $(call Package/luci/install/template,$(1),applications/luci-openvpn) +endef + +define Package/luci-app-p2pblock + $(call Package/luci/webtemplate) + TITLE:=LuCI Support for the Freifunk P2P-Block addon + DEPENDS+=+luci-admin-core +luci-app-firewall \ + +PACKAGE_luci-app-p2pblock:freifunk-p2pblock +endef + +define Package/luci-app-p2pblock/install + $(call Package/luci/install/template,$(1),applications/luci-p2pblock) +endef + + +### Server Gateway Interfaces ### + +define Package/luci-sgi-cgi + $(call Package/luci/libtemplate) + TITLE:=SGI for CGI +endef + +define Package/luci-sgi-cgi/install + $(call Package/luci/install/template,$(1),libs/sgi-cgi) +endef + +define Package/luci-sgi-uhttpd + $(call Package/luci/libtemplate) + TITLE:=Binding for the uHTTPd server + DEPENDS+=+uhttpd +uhttpd-mod-lua +endef + +define Package/luci-sgi-uhttpd/install + $(call Package/luci/install/template,$(1),libs/sgi-uhttpd) +endef + + +### Themes ### +define Package/luci-theme-base + $(call Package/luci/thtemplate) + DEPENDS:= + TITLE:=Common base for all themes +endef + +define Package/luci-theme-base/install + $(call Package/luci/install/template,$(1),themes/base) +endef + +define Package/luci-theme-fledermaus + $(call Package/luci/fftemplate) + DEPENDS:=+luci-web + TITLE:=Fledermaus Theme +endef + +define Package/luci-theme-fledermaus/install + $(call Package/luci/install/template,$(1),themes/fledermaus) +endef + +define Package/luci-theme-freifunk + $(call Package/luci/fftemplate) + DEPENDS:=+luci-web + MAINTAINER:=Stefan Pirwitz + TITLE:=alternative Freifunk Theme +endef + +define Package/luci-theme-freifunk/install + $(call Package/luci/install/template,$(1),themes/freifunk) +endef + +define Package/luci-theme-freifunk-bno + $(call Package/luci/fftemplate) + DEPENDS:=+luci-web + MAINTAINER:=Stefan Pirwitz + TITLE:=Freifunk Berlin Nordost Theme +endef + +define Package/luci-theme-freifunk-bno/install + $(call Package/luci/install/template,$(1),themes/freifunk-bno) +endef + +define Package/luci-theme-freifunk-hannover + $(call Package/luci/fftemplate) + DEPENDS:=+luci-web + MAINTAINER:=Mikolas Bingemer + TITLE:=Freifunk Hannover Theme +endef + +define Package/luci-theme-freifunk-hannover/install + $(call Package/luci/install/template,$(1),themes/freifunk-hannover) +endef + +define Package/luci-theme-openwrt + $(call Package/luci/thtemplate) + TITLE:=OpenWrt.org (default) + DEPENDS:=+luci-theme-base luci-core + DEFAULT:=y if PACKAGE_luci-core +endef + +define Package/luci-theme-openwrt/install + $(call Package/luci/install/template,$(1),themes/openwrt.org) +endef + +define Package/luci-theme-openwrtlight + $(call Package/luci/thtemplate) + TITLE:=OpenWrt.org - light variant without images + DEPENDS:=+luci-theme-base +endef + +define Package/luci-theme-openwrtlight/install + $(call Package/luci/install/template,$(1),themes/openwrt-light) +endef + + +### Translations ### +define Package/luci-i18n-german + $(call Package/luci/i18ntemplate) + TITLE:=German +endef + +define Package/luci-i18n-german/install + $(call Package/luci/install/template,$(1),i18n/german) +endef + + +define Package/luci-i18n-english + $(call Package/luci/i18ntemplate) + TITLE:=English +endef + +define Package/luci-i18n-english/install + $(call Package/luci/install/template,$(1),i18n/english) +endef + + +define Package/luci-i18n-french + $(call Package/luci/i18ntemplate) + TITLE:=French (by Florian Fainelli) +endef + +define Package/luci-i18n-french/install + $(call Package/luci/install/template,$(1),i18n/french) +endef + + +define Package/luci-i18n-italian + $(call Package/luci/i18ntemplate) + TITLE:=Italian (by Matteo Croce) +endef + +define Package/luci-i18n-italian/install + $(call Package/luci/install/template,$(1),i18n/italian) +endef + + +define Package/luci-i18n-russian + $(call Package/luci/i18ntemplate) + TITLE:=Russian (by Skryabin Dmitry) +endef + +define Package/luci-i18n-russian/install + $(call Package/luci/install/template,$(1),i18n/russian) +endef + + +define Package/luci-i18n-portuguese_brazilian + $(call Package/luci/i18ntemplate) + TITLE:=Portuguese (Brazilian) (by Carlos Cesario) +endef + +define Package/luci-i18n-portuguese_brazilian/install + $(call Package/luci/install/template,$(1),i18n/portuguese_brazilian) +endef + + +define Package/luci-i18n-japanese + $(call Package/luci/i18ntemplate) + TITLE:=Japanese (by Tsukasa Hamano) +endef + +define Package/luci-i18n-japanese/install + $(call Package/luci/install/template,$(1),i18n/japanese) +endef + + +define Package/luci-i18n-greek + $(call Package/luci/i18ntemplate) + TITLE:=Greek (by Vasilis Tsiligiannis) +endef + +define Package/luci-i18n-greek/install + $(call Package/luci/install/template,$(1),i18n/greek) +endef + + +define Package/luci-i18n-catalan + $(call Package/luci/i18ntemplate) + TITLE:=Catalan (by Eduard Duran) +endef + +define Package/luci-i18n-catalan/install + $(call Package/luci/install/template,$(1),i18n/catalan) +endef + + +define Package/luci-i18n-portuguese + $(call Package/luci/i18ntemplate) + TITLE:=Portuguese (by Jose Monteiro) +endef + +define Package/luci-i18n-portuguese/install + $(call Package/luci/install/template,$(1),i18n/portuguese) +endef + + +define Package/luci-i18n-spanish + $(call Package/luci/i18ntemplate) + TITLE:=Spanish (by Guillermo Javier Nardoni) +endef + +define Package/luci-i18n-spanish/install + $(call Package/luci/install/template,$(1),i18n/spanish) +endef + + +### Collections ### +define Package/luci + $(call Package/luci/collectiontemplate) + TITLE:=Standard OpenWrt set including full and mini admin and the standard theme + DEPENDS:=+uhttpd +luci-admin-full +luci-admin-mini +luci-theme-openwrt \ + +luci-app-firewall +luci-app-initmgr +endef + +define Package/luci/install + true +endef + + +define Package/luci-ssl + $(call Package/luci/collectiontemplate) + TITLE:=Standard OpenWrt set with https support + DEPENDS:=+uhttpd +uhttpd-mod-tls +px5g +luci-admin-full +luci-admin-mini \ + +luci-theme-openwrt +luci-app-firewall +luci-app-initmgr +endef + +define Package/luci-ssl/install + true +endef + + +define Package/luci-medium + $(call Package/luci/collectiontemplate) + TITLE:=Medium package set using only admin full and a theme without graphics + DEPENDS:=+uhttpd +luci-admin-full +luci-theme-openwrtlight +endef + +define Package/luci-medium/install + true +endef + + +define Package/luci-light + $(call Package/luci/collectiontemplate) + TITLE:=Minimum package set using only admin mini and a theme without graphics + DEPENDS:=+uhttpd +luci-admin-mini +luci-theme-openwrtlight +endef + +define Package/luci-light/install + true +endef + + +### Compile ### +ifneq ($(CONFIG_PACKAGE_luci-core),) + PKG_SELECTED_MODULES+=libs/core +endif +ifneq ($(CONFIG_PACKAGE_luci-cbi),) + PKG_SELECTED_MODULES+=libs/cbi +endif +ifneq ($(CONFIG_PACKAGE_luci-fastindex),) + PKG_SELECTED_MODULES+=libs/fastindex +endif +ifneq ($(CONFIG_PACKAGE_luci-http),) + PKG_SELECTED_MODULES+=libs/http +endif +ifneq ($(CONFIG_PACKAGE_luci-httpclient),) + PKG_SELECTED_MODULES+=libs/httpclient +endif +ifneq ($(CONFIG_PACKAGE_luci-ipkg),) + PKG_SELECTED_MODULES+=libs/ipkg +endif +ifneq ($(CONFIG_PACKAGE_luci-json),) + PKG_SELECTED_MODULES+=libs/json +endif +ifneq ($(CONFIG_PACKAGE_luci-lmo),) + PKG_SELECTED_MODULES+=libs/lmo +endif +ifneq ($(CONFIG_PACKAGE_luci-lucid),) + PKG_SELECTED_MODULES+=libs/lucid libs/lucid-http +endif +ifneq ($(CONFIG_PACKAGE_luci-nixio),) + PKG_SELECTED_MODULES+=libs/nixio +endif +ifneq ($(CONFIG_PACKAGE_luci-px5g),) + PKG_SELECTED_MODULES+=libs/px5g +endif +ifneq ($(CONFIG_PACKAGE_luci-uci),) + PKG_SELECTED_MODULES+=libs/uci +endif +ifneq ($(CONFIG_PACKAGE_luci-sys),) + PKG_SELECTED_MODULES+=libs/sys +endif +ifneq ($(CONFIG_PACKAGE_luci-web),) + PKG_SELECTED_MODULES+=libs/web +endif +ifneq ($(CONFIG_PACKAGE_luci-uvl),) + PKG_SELECTED_MODULES+=libs/uvl +endif + +ifneq ($(CONFIG_PACKAGE_luci-admin-core),) + PKG_SELECTED_MODULES+=modules/admin-core +endif +ifneq ($(CONFIG_PACKAGE_luci-admin-mini),) + PKG_SELECTED_MODULES+=modules/admin-mini +endif +ifneq ($(CONFIG_PACKAGE_luci-admin-full),) + PKG_SELECTED_MODULES+=modules/admin-full +endif +ifneq ($(CONFIG_PACKAGE_luci-admin-rpc),) + PKG_SELECTED_MODULES+=modules/rpc +endif +ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk),) + PKG_SELECTED_MODULES+=modules/freifunk +endif + +ifneq ($(CONFIG_PACKAGE_luci-freifunk-community),) + PKG_SELECTED_MODULES+=applications/freifunk-community +endif + +ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig),) + PKG_SELECTED_MODULES+=applications/luci-ffwizard-leipzig +endif +ifneq ($(CONFIG_PACKAGE_luci-app-siitwizard),) + PKG_SELECTED_MODULES+=applications/luci-siitwizard +endif +ifneq ($(CONFIG_PACKAGE_luci-app-firewall),) + PKG_SELECTED_MODULES+=applications/luci-fw +endif +ifneq ($(CONFIG_PACKAGE_luci-app-olsr),) + PKG_SELECTED_MODULES+=applications/luci-olsr +endif +ifneq ($(CONFIG_PACKAGE_luci-app-qos),) + PKG_SELECTED_MODULES+=applications/luci-qos +endif +ifneq ($(CONFIG_PACKAGE_luci-app-splash),) + PKG_SELECTED_MODULES+=applications/luci-splash +endif +ifneq ($(CONFIG_PACKAGE_luci-app-statistics),) + PKG_SELECTED_MODULES+=applications/luci-statistics +endif +ifneq ($(CONFIG_PACKAGE_luci-app-upnp),) + PKG_SELECTED_MODULES+=applications/luci-upnp +endif +ifneq ($(CONFIG_PACKAGE_luci-app-ntpc),) + PKG_SELECTED_MODULES+=applications/luci-ntpc +endif +ifneq ($(CONFIG_PACKAGE_luci-app-ddns),) + PKG_SELECTED_MODULES+=applications/luci-ddns +endif +ifneq ($(CONFIG_PACKAGE_luci-app-samba),) + PKG_SELECTED_MODULES+=applications/luci-samba +endif +ifneq ($(CONFIG_PACKAGE_luci-app-mmc-over-gpio),) + PKG_SELECTED_MODULES+=applications/luci-mmc-over-gpio +endif +ifneq ($(CONFIG_PACKAGE_luci-app-p910nd),) + PKG_SELECTED_MODULES+=applications/luci-p910nd +endif +ifneq ($(CONFIG_PACKAGE_luci-app-ushare),) + PKG_SELECTED_MODULES+=applications/luci-ushare +endif +ifneq ($(CONFIG_PACKAGE_luci-app-hd-idle),) + PKG_SELECTED_MODULES+=applications/luci-hd-idle +endif +ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy),) + PKG_SELECTED_MODULES+=applications/luci-tinyproxy +endif +ifneq ($(CONFIG_PACKAGE_luci-app-initmgr),) + PKG_SELECTED_MODULES+=applications/luci-initmgr +endif +ifneq ($(CONFIG_PACKAGE_luci-app-livestats),) + PKG_SELECTED_MODULES+=applications/luci-livestats +endif +ifneq ($(CONFIG_PACKAGE_luci-app-polipo),) + PKG_SELECTED_MODULES+=applications/luci-polipo +endif +ifneq ($(CONFIG_PACKAGE_luci-app-openvpn),) + PKG_SELECTED_MODULES+=applications/luci-openvpn +endif +ifneq ($(CONFIG_PACKAGE_luci-app-p2pblock),) + PKG_SELECTED_MODULES+=applications/luci-p2pblock +endif + + +ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),) + PKG_SELECTED_MODULES+=libs/sgi-cgi +endif +ifneq ($(CONFIG_PACKAGE_luci-sgi-uhttpd),) + PKG_SELECTED_MODULES+=libs/sgi-uhttpd +endif +ifneq ($(CONFIG_PACKAGE_luci-sgi-luci),) + PKG_SELECTED_MODULES+=libs/sgi-luci +endif + +ifneq ($(CONFIG_PACKAGE_luci-theme-base),) + PKG_SELECTED_MODULES+=themes/base +endif +ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus),) + PKG_SELECTED_MODULES+=themes/fledermaus +endif +ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-bno),) + PKG_SELECTED_MODULES+=themes/freifunk-bno +endif +ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-hannover),) + PKG_SELECTED_MODULES+=themes/freifunk-hannover +endif +ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk),) + PKG_SELECTED_MODULES+=themes/freifunk +endif +ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt),) + PKG_SELECTED_MODULES+=themes/openwrt.org +endif +ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight),) + PKG_SELECTED_MODULES+=themes/openwrt-light +endif + +ifneq ($(CONFIG_PACKAGE_luci-i18n-german),) + PKG_SELECTED_MODULES+=i18n/german +endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-english),) + PKG_SELECTED_MODULES+=i18n/english +endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-french),) + PKG_SELECTED_MODULES+=i18n/french +endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-italian),) + PKG_SELECTED_MODULES+=i18n/italian +endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-russian),) + PKG_SELECTED_MODULES+=i18n/russian +endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian),) + PKG_SELECTED_MODULES+=i18n/portuguese_brazilian +endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-japanese),) + PKG_SELECTED_MODULES+=i18n/japanese +endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-greek),) + PKG_SELECTED_MODULES+=i18n/greek +endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-catalan),) + PKG_SELECTED_MODULES+=i18n/catalan +endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese),) + PKG_SELECTED_MODULES+=i18n/portuguese +endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-spanish),) + PKG_SELECTED_MODULES+=i18n/spanish +endif + + +MAKE_FLAGS += \ + MODULES="$(PKG_SELECTED_MODULES)" \ + LUA_TARGET="$(LUA_TARGET)" \ + LUA_SHLIBS="-llua -lm -ldl -lcrypt" \ + CFLAGS="$(TARGET_CFLAGS) $(LUCI_CFLAGS) -I$(STAGING_DIR)/usr/include" \ + LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \ + NIXIO_TLS="$(NIXIO_TLS)" OS="Linux" + + +$(eval $(call BuildPackage,luci-core)) +$(eval $(call BuildPackage,luci-cbi)) +$(eval $(call BuildPackage,luci-fastindex)) +$(eval $(call BuildPackage,luci-http)) +$(eval $(call BuildPackage,luci-httpclient)) +$(eval $(call BuildPackage,luci-ipkg)) +$(eval $(call BuildPackage,luci-json)) +$(eval $(call BuildPackage,luci-lmo)) +$(eval $(call BuildPackage,luci-lucid)) +$(eval $(call BuildPackage,luci-nixio)) +$(eval $(call BuildPackage,luci-px5g)) +$(eval $(call BuildPackage,luci-uci)) +$(eval $(call BuildPackage,luci-sys)) +$(eval $(call BuildPackage,luci-web)) +$(eval $(call BuildPackage,luci-uvl)) + +$(eval $(call BuildPackage,luci-admin-core)) +$(eval $(call BuildPackage,luci-admin-mini)) +$(eval $(call BuildPackage,luci-admin-full)) +$(eval $(call BuildPackage,luci-admin-rpc)) +$(eval $(call BuildPackage,luci-mod-freifunk)) + +$(eval $(call BuildPackage,luci-freifunk-community)) + +$(eval $(call BuildPackage,luci-app-ffwizard-leipzig)) +$(eval $(call BuildPackage,luci-app-siitwizard)) +$(eval $(call BuildPackage,luci-app-firewall)) +$(eval $(call BuildPackage,luci-app-olsr)) +$(eval $(call BuildPackage,luci-app-qos)) +$(eval $(call BuildPackage,luci-app-splash)) +$(eval $(call BuildPackage,luci-app-statistics)) +$(eval $(call BuildPackage,luci-app-upnp)) +$(eval $(call BuildPackage,luci-app-ntpc)) +$(eval $(call BuildPackage,luci-app-ddns)) +$(eval $(call BuildPackage,luci-app-samba)) +$(eval $(call BuildPackage,luci-app-mmc-over-gpio)) +$(eval $(call BuildPackage,luci-app-p910nd)) +$(eval $(call BuildPackage,luci-app-ushare)) +$(eval $(call BuildPackage,luci-app-hd-idle)) +$(eval $(call BuildPackage,luci-app-tinyproxy)) +$(eval $(call BuildPackage,luci-app-initmgr)) +$(eval $(call BuildPackage,luci-app-livestats)) +$(eval $(call BuildPackage,luci-app-polipo)) +$(eval $(call BuildPackage,luci-app-openvpn)) +$(eval $(call BuildPackage,luci-app-p2pblock)) + +$(eval $(call BuildPackage,luci-sgi-cgi)) +$(eval $(call BuildPackage,luci-sgi-uhttpd)) + +$(eval $(call BuildPackage,luci-theme-base)) +$(eval $(call BuildPackage,luci-theme-fledermaus)) +$(eval $(call BuildPackage,luci-theme-freifunk)) +$(eval $(call BuildPackage,luci-theme-freifunk-bno)) +$(eval $(call BuildPackage,luci-theme-freifunk-hannover)) +$(eval $(call BuildPackage,luci-theme-openwrt)) +$(eval $(call BuildPackage,luci-theme-openwrtlight)) + +$(eval $(call BuildPackage,luci-i18n-german)) +$(eval $(call BuildPackage,luci-i18n-english)) +$(eval $(call BuildPackage,luci-i18n-french)) +$(eval $(call BuildPackage,luci-i18n-italian)) +$(eval $(call BuildPackage,luci-i18n-russian)) +$(eval $(call BuildPackage,luci-i18n-portuguese_brazilian)) +$(eval $(call BuildPackage,luci-i18n-japanese)) +$(eval $(call BuildPackage,luci-i18n-greek)) +$(eval $(call BuildPackage,luci-i18n-catalan)) +$(eval $(call BuildPackage,luci-i18n-portuguese)) +$(eval $(call BuildPackage,luci-i18n-spanish)) + +$(eval $(call BuildPackage,luci)) +$(eval $(call BuildPackage,luci-ssl)) +$(eval $(call BuildPackage,luci-medium)) +$(eval $(call BuildPackage,luci-light)) diff --git a/mote/v2/openwrt/package/luci/Makefile b/mote/v2/openwrt/package/luci/Makefile new file mode 100644 index 0000000..10d50d2 --- /dev/null +++ b/mote/v2/openwrt/package/luci/Makefile @@ -0,0 +1,1200 @@ +include $(TOPDIR)/rules.mk + +PKG_BRANCH:=tags/0.9.0 + +ifeq ($(DUMP),) + USELOCAL:=$(shell grep luci ../../../.project 2>/dev/null >/dev/null && echo 1) +endif + +PKG_NAME:=luci +PKG_RELEASE:=1 + +ifeq ($(USELOCAL),1) + PKG_VERSION:=0.9+svn +else + PKG_SOURCE_URL:=http://svn.luci.subsignal.org/luci/$(PKG_BRANCH) + ifeq ($(DUMP),) + PKG_REV:=HEAD + PKG_VERSION:=0.9.0 + endif + PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) + PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz + PKG_SOURCE_PROTO:=svn + PKG_SOURCE_VERSION:=$(PKG_REV) +endif + +PKG_BUILD_DEPENDS:=$(if $(STAGING_DIR_ROOT),lua/host) +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install + +LUA_TARGET:=source +LUCI_CFLAGS:= +PKG_SELECTED_MODULES:= + + +include $(INCLUDE_DIR)/package.mk + +ifeq ($(USELOCAL),1) + define Build/Prepare + mkdir -p $(PKG_BUILD_DIR) + $(TAR) c -C ../../../ . \ + --exclude=.pc --exclude=.svn --exclude=.git \ + --exclude='boa-0*' --exclude='*.o' --exclude='*.so' \ + --exclude=dist | \ + tar x -C $(PKG_BUILD_DIR)/ + endef +endif + +define Build/Configure +endef + +### Templates ### + +define Package/luci/libtemplate + SECTION:=luci + CATEGORY:=LuCI + TITLE:=LuCI - Lua Configuration Interface + URL:=http://luci.freifunk-halle.net/ + MAINTAINER:=Steven Barth + SUBMENU:=Libraries + DEPENDS:=+luci-core +endef + +define Package/luci/fftemplate + $(call Package/luci/libtemplate) + SUBMENU:=Freifunk + DEPENDS:=+luci-mod-freifunk +endef + +define Package/luci/i18ntemplate + $(call Package/luci/libtemplate) + SUBMENU:=Translations + DEPENDS:=+luci-web +endef + +define Package/luci/thtemplate + $(call Package/luci/libtemplate) + SUBMENU:=Themes + DEPENDS:=+luci-web +endef + +define Package/luci/webtemplate + $(call Package/luci/libtemplate) + SUBMENU:=Components +endef + +define Package/luci/collectiontemplate + $(call Package/luci/libtemplate) + SUBMENU:=Collections +endef + + +define Package/luci/install/template + $(CP) -a $(PKG_BUILD_DIR)/$(2)/dist/* $(1)/ -R + $(CP) -a $(PKG_BUILD_DIR)/$(2)/ipkg/* $(1)/CONTROL/ 2>/dev/null || true +endef + + + +### Core package ### + +define Package/luci-core + $(call Package/luci/libtemplate) + DEPENDS:=+lua +luci-nixio + TITLE:=LuCI core libraries +endef + +define Package/luci-core/install + $(call Package/luci/install/template,$(1),libs/core) + $(PKG_BUILD_DIR)/build/mkversion.sh $(1)/usr/lib/lua/luci/version.lua \ + "OpenWrt Firmware" \ + "$(OPENWRTVERSION)" \ + "$(PKG_BRANCH)" \ + "$(PKG_VERSION)" +endef + +define Package/luci-core/config + choice + prompt "Build Target" + default PACKAGE_luci-core_compile + + config PACKAGE_luci-core_compile + bool "Precompiled" + + config PACKAGE_luci-core_stripped + bool "Stripped" + + config PACKAGE_luci-core_source + bool "Full Source" + + endchoice +endef + +ifneq ($(CONFIG_PACKAGE_luci-core_compile),) + LUA_TARGET:=compile +endif + +ifneq ($(CONFIG_PACKAGE_luci-core_stripped),) + LUA_TARGET:=strip +endif + +ifneq ($(CONFIG_PACKAGE_luci-core_zipped),) + LUA_TARGET:=gzip +endif + + +### Libraries ### +define Package/luci-cbi + $(call Package/luci/libtemplate) + DEPENDS+=+luci-web +luci-uvl +luci-uci + TITLE:=Configuration Binding Interface +endef + +define Package/luci-cbi/install + $(call Package/luci/install/template,$(1),libs/cbi) +endef + + +define Package/luci-uci + $(call Package/luci/libtemplate) + DEPENDS+=+libuci-lua + TITLE:=High-Level UCI API +endef + +define Package/luci-uci/install + $(call Package/luci/install/template,$(1),libs/uci) +endef + + +define Package/luci-fastindex + $(call Package/luci/libtemplate) + TITLE:=Fastindex indexing module +endef + +define Package/luci-fastindex/install + $(call Package/luci/install/template,$(1),libs/fastindex) +endef + + +define Package/luci-http + $(call Package/luci/libtemplate) + TITLE:=HTTP Protocol implementation +endef + +define Package/luci-http/install + $(call Package/luci/install/template,$(1),libs/http) +endef + + +define Package/luci-httpclient + $(call Package/luci/libtemplate) + TITLE:=HTTP(S) client library + DEPENDS+=+luci-http +luci-nixio +endef + +define Package/luci-httpclient/install + $(call Package/luci/install/template,$(1),libs/httpclient) +endef + + +define Package/luci-ipkg + $(call Package/luci/libtemplate) + TITLE:=LuCI IPKG/OPKG call abstraction library +endef + +define Package/luci-ipkg/install + $(call Package/luci/install/template,$(1),libs/ipkg) +endef + + +define Package/luci-json + $(call Package/luci/libtemplate) + TITLE:=LuCI JSON Library +endef + +define Package/luci-json/install + $(call Package/luci/install/template,$(1),libs/json) +endef + + +define Package/luci-lmo + $(call Package/luci/libtemplate) + TITLE:=lmo +endef + +define Package/luci-lmo/install + $(call Package/luci/install/template,$(1),libs/lmo) +endef + + +define Package/luci-lucid + $(call Package/luci/libtemplate) + TITLE:=LuCId Superserver + DEPENDS+=+luci-nixio +luci-http +luci-px5g +endef + +define Package/luci-lucid/install + $(call Package/luci/install/template,$(1),libs/lucid) + $(call Package/luci/install/template,$(1),libs/lucid-http) +endef + + + +NIXIO_TLS:= + +define Package/luci-nixio + $(call Package/luci/libtemplate) + TITLE:=NIXIO POSIX Library + DEPENDS:=+PACKAGE_luci-nixio_openssl:libopenssl +PACKAGE_luci-nixio_cyassl:libcyassl +endef + +define Package/luci-nixio/install + $(call Package/luci/install/template,$(1),libs/nixio) +endef + +define Package/luci-nixio/config + choice + prompt "TLS Provider" + default PACKAGE_luci-nixio_notls + + config PACKAGE_luci-nixio_notls + bool "Disabled" + + config PACKAGE_luci-nixio_axtls + bool "Builtin (axTLS)" + + config PACKAGE_luci-nixio_cyassl + bool "CyaSSL" + select PACKAGE_libcyassl + + config PACKAGE_luci-nixio_openssl + bool "OpenSSL" + select PACKAGE_libopenssl + endchoice +endef + +ifneq ($(CONFIG_PACKAGE_luci-nixio_axtls),) + NIXIO_TLS:=axtls +endif + +ifneq ($(CONFIG_PACKAGE_luci-nixio_openssl),) + NIXIO_TLS:=openssl +endif + +ifneq ($(CONFIG_PACKAGE_luci-nixio_cyassl),) + NIXIO_TLS:=cyassl + LUCI_CFLAGS+=-I$(STAGING_DIR)/usr/include/cyassl +endif + + +define Package/luci-px5g + $(call Package/luci/libtemplate) + TITLE:=PX5G RSA Keymaster + DEPENDS:=+luci-nixio +endef + +define Package/luci-px5g/install + $(call Package/luci/install/template,$(1),libs/px5g) +endef + + +define Package/luci-sys + $(call Package/luci/libtemplate) + TITLE:=LuCI Linux/POSIX system library +endef + +define Package/luci-sys/install + $(call Package/luci/install/template,$(1),libs/sys) +endef + + +define Package/luci-web + $(call Package/luci/libtemplate) + DEPENDS+=+luci-http +luci-sys +luci-nixio +luci-uci \ + +luci-sgi-cgi +luci-lmo + TITLE:=MVC Webframework + $(call Config,luci.main.lang,string,en,Default Language) +endef + +define Package/luci-web/conffiles +/etc/config/luci +endef + +define Package/luci-web/install + $(call Package/luci/install/template,$(1),libs/web) +endef + + +define Package/luci-uvl + $(call Package/luci/libtemplate) + DEPENDS+=+luci-sys +luci-uci +luci-core + TITLE:=UVL - UCI Validation Layer +endef + +define Package/luci-uvl/install + $(call Package/luci/install/template,$(1),libs/uvl) +endef + + + +### Community Packages ### + +define Package/luci-freifunk-community + $(call Package/luci/fftemplate) + DEPENDS+= \ + +luci-web +luci-app-splash \ + +luci-app-ffwizard-leipzig \ + +luci-i18n-german \ + +PACKAGE_luci-freifunk-community:olsrd-luci +PACKAGE_luci-freifunk-community:olsrd-luci-mod-dyn-gw-plain \ + +PACKAGE_luci-freifunk-community:olsrd-luci-mod-txtinfo +PACKAGE_luci-freifunk-community:olsrd-luci-mod-nameservice \ + +PACKAGE_luci-freifunk-community:olsrd-luci-mod-watchdog +PACKAGE_luci-freifunk-community:kmod-tun \ + +PACKAGE_luci-freifunk-community:ip +PACKAGE_luci-freifunk-community:freifunk-watchdog +luci-app-olsr + TITLE:=Freifunk Community Meta-Package +endef + +define Package/luci-freifunk-community/install + $(call Package/luci/install/template,$(1),applications/freifunk-community) +endef + +### Modules ### + +define Package/luci-admin-core + $(call Package/luci/webtemplate) + DEPENDS+=+luci-web +luci-cbi +luci-i18n-english + TITLE:=Web UI Core Module +endef + +define Package/luci-admin-core/install + $(call Package/luci/install/template,$(1),modules/admin-core) + touch $(1)/etc/init.d/luci_fixtime || true +endef + + +define Package/luci-admin-mini + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-core + TITLE:=LuCI Essentials - stripped down and user-friendly +endef + +define Package/luci-admin-mini/install + $(call Package/luci/install/template,$(1),modules/admin-mini) +endef + + +define Package/luci-admin-full + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-core +luci-ipkg + TITLE:=LuCI Administration - full-featured for full control +endef + +define Package/luci-admin-full/install + $(call Package/luci/install/template,$(1),modules/admin-full) +endef + + +define Package/luci-admin-rpc + $(call Package/luci/webtemplate) + DEPENDS+=+luci-json + TITLE:=LuCI RPC - JSON-RPC API +endef + +define Package/luci-admin-rpc/install + $(call Package/luci/install/template,$(1),modules/rpc) +endef + + +define Package/luci-mod-freifunk + $(call Package/luci/fftemplate) + DEPENDS:=+luci-admin-full +luci-json +PACKAGE_luci-mod-freifunk:freifunk-firewall + TITLE:=LuCI Freifunk module +endef + +define Package/luci-mod-freifunk/conffiles +/etc/config/freifunk +endef + +define Package/luci-mod-freifunk/install + $(call Package/luci/install/template,$(1),modules/freifunk) +endef + + + +### Applications ### + +define Package/luci-app-ffwizard-leipzig + $(call Package/luci/fftemplate) + TITLE:=Freifunk Leipzig configuration wizard +endef + +define Package/luci-app-ffwizard-leipzig/install + $(call Package/luci/install/template,$(1),applications/luci-ffwizard-leipzig) +endef + + +define Package/luci-app-siitwizard + $(call Package/luci/fftemplate) + TITLE:=SIIT IPv4-over-IPv6 configuration wizard + DEPENDS:=+luci-admin-core +PACKAGE_luci-app-siitwizard:kmod-siit +endef + +define Package/luci-app-siitwizard/install + $(call Package/luci/install/template,$(1),applications/luci-siitwizard) +endef + + +define Package/luci-app-firewall + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-core +PACKAGE_luci-app-firewall:firewall + TITLE:=Firewall and Portforwarding application +endef + +define Package/luci-app-firewall/install + $(call Package/luci/install/template,$(1),applications/luci-fw) +endef + + +define Package/luci-app-olsr + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-full +PACKAGE_luci-app-olsr:olsrd-luci \ + +PACKAGE_luci-app-olsr:olsrd-luci-mod-txtinfo + TITLE:=OLSR configuration and status module +endef + +define Package/luci-app-olsr/install + $(call Package/luci/install/template,$(1),applications/luci-olsr) +endef + + +define Package/luci-app-qos + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-core +PACKAGE_luci-app-qos:qos-scripts + TITLE:=Quality of Service configuration module +endef + +define Package/luci-app-qos/install + $(call Package/luci/install/template,$(1),applications/luci-qos) +endef + + +define Package/luci-app-splash + $(call Package/luci/fftemplate) + DEPENDS+=+PACKAGE_luci-app-splash:luci-nixio \ + +PACKAGE_luci-app-splash:tc +PACKAGE_luci-app-splash:kmod-sched \ + +PACKAGE_luci-app-splash:iptables-mod-nat-extra \ + +PACKAGE_luci-app-splash:iptables-mod-ipopt + TITLE:=Freifunk DHCP-Splash application +endef + +define Package/luci-app-splash/conffiles +/etc/config/luci_splash +endef + +define Package/luci-app-splash/install + $(call Package/luci/install/template,$(1),applications/luci-splash) +endef + + +define Package/luci-app-statistics + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-full +PACKAGE_luci-app-statistics:collectd \ + +PACKAGE_luci-app-statistics:rrdtool1 \ + +PACKAGE_luci-app-statistics:collectd-mod-rrdtool \ + +PACKAGE_luci-app-statistics:collectd-mod-wireless \ + +PACKAGE_luci-app-statistics:collectd-mod-interface \ + +PACKAGE_luci-app-statistics:collectd-mod-load + TITLE:=LuCI Statistics Application +endef + +define Package/luci-app-statistics/conffiles +/etc/config/luci_statistics +endef + +define Package/luci-app-statistics/install + $(call Package/luci/install/template,$(1),applications/luci-statistics) +endef + +define Package/luci-app-upnp + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-core +PACKAGE_luci-app-upnp:miniupnpd + TITLE:=Universal Plug & Play configuration module +endef + +define Package/luci-app-upnp/install + $(call Package/luci/install/template,$(1),applications/luci-upnp) +endef + + +define Package/luci-app-ntpc + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ntpc:ntpclient + TITLE:=NTP time synchronisation client configuration module +endef + +define Package/luci-app-ntpc/install + $(call Package/luci/install/template,$(1),applications/luci-ntpc) +endef + + +define Package/luci-app-ddns + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ddns:ddns-scripts + TITLE:=Dynamic DNS configuration module +endef + +define Package/luci-app-ddns/install + $(call Package/luci/install/template,$(1),applications/luci-ddns) +endef + + +define Package/luci-app-samba + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-full +PACKAGE_luci-app-samba:samba3 + TITLE:=Network Shares - Samba SMB/CIFS module +endef + +define Package/luci-app-samba/install + $(call Package/luci/install/template,$(1),applications/luci-samba) +endef + + +define Package/luci-app-mmc-over-gpio + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-full +PACKAGE_luci-app-mmc-over-gpio:kmod-mmc-over-gpio + TITLE:=mmc_over_gpio +endef + +define Package/luci-app-mmc-over-gpio/install + $(call Package/luci/install/template,$(1),applications/luci-mmc-over-gpio) +endef + + +define Package/luci-app-p910nd + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-full +PACKAGE_luci-app-p910nd:p910nd + TITLE:=p910nd - Printer server module +endef + +define Package/luci-app-p910nd/install + $(call Package/luci/install/template,$(1),applications/luci-p910nd) +endef + + +define Package/luci-app-ushare + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-full +PACKAGE_luci-app-ushare:ushare + TITLE:=ushare - UPnP A/V & DLNA Media Server +endef + +define Package/luci-app-ushare/install + $(call Package/luci/install/template,$(1),applications/luci-ushare) +endef + +define Package/luci-app-hd-idle + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-full +PACKAGE_luci-app-hd-idle:hd-idle + TITLE:=hd-idle +endef + +define Package/luci-app-hd-idle/install + $(call Package/luci/install/template,$(1),applications/luci-hd-idle) +endef + +define Package/luci-app-tinyproxy + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-full +PACKAGE_luci-app-tinyproxy:tinyproxy + TITLE:=Tinyproxy - HTTP(S)-Proxy +endef + +define Package/luci-app-tinyproxy/install + $(call Package/luci/install/template,$(1),applications/luci-tinyproxy) +endef + +define Package/luci-app-initmgr + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-full + TITLE:=LuCI Initscript Management +endef + +define Package/luci-app-initmgr/install + $(call Package/luci/install/template,$(1),applications/luci-initmgr) +endef + +define Package/luci-app-livestats + $(call Package/luci/webtemplate) + DEPENDS+=+luci-admin-core +luci-admin-rpc + TITLE:=LuCI Realtime Statistics +endef + +define Package/luci-app-livestats/install + $(call Package/luci/install/template,$(1),applications/luci-livestats) +endef + +define Package/luci-app-polipo + $(call Package/luci/webtemplate) + TITLE:=LuCI Support for the Polipo Proxy + DEPENDS+=+luci-admin-core +PACKAGE_luci-app-polipo:polipo +endef + +define Package/luci-app-polipo/install + $(call Package/luci/install/template,$(1),applications/luci-polipo) +endef + +define Package/luci-app-openvpn + $(call Package/luci/webtemplate) + TITLE:=LuCI Support for OpenVPN + DEPENDS+=+luci-admin-core +PACKAGE_luci-app-openvpn:openvpn +endef + +define Package/luci-app-openvpn/install + $(call Package/luci/install/template,$(1),applications/luci-openvpn) +endef + +define Package/luci-app-p2pblock + $(call Package/luci/webtemplate) + TITLE:=LuCI Support for the Freifunk P2P-Block addon + DEPENDS+=+luci-admin-core +luci-app-firewall \ + +PACKAGE_luci-app-p2pblock:freifunk-p2pblock +endef + +define Package/luci-app-p2pblock/install + $(call Package/luci/install/template,$(1),applications/luci-p2pblock) +endef + + +### Server Gateway Interfaces ### + +define Package/luci-sgi-cgi + $(call Package/luci/libtemplate) + TITLE:=SGI for CGI +endef + +define Package/luci-sgi-cgi/install + $(call Package/luci/install/template,$(1),libs/sgi-cgi) +endef + +define Package/luci-sgi-uhttpd + $(call Package/luci/libtemplate) + TITLE:=Binding for the uHTTPd server + DEPENDS+=+uhttpd +uhttpd-mod-lua +endef + +define Package/luci-sgi-uhttpd/install + $(call Package/luci/install/template,$(1),libs/sgi-uhttpd) +endef + + +### Themes ### +define Package/luci-theme-base + $(call Package/luci/thtemplate) + DEPENDS:= + TITLE:=Common base for all themes +endef + +define Package/luci-theme-base/install + $(call Package/luci/install/template,$(1),themes/base) +endef + +define Package/luci-theme-fledermaus + $(call Package/luci/fftemplate) + DEPENDS:=+luci-web + TITLE:=Fledermaus Theme +endef + +define Package/luci-theme-fledermaus/install + $(call Package/luci/install/template,$(1),themes/fledermaus) +endef + +define Package/luci-theme-freifunk + $(call Package/luci/fftemplate) + DEPENDS:=+luci-web + MAINTAINER:=Stefan Pirwitz + TITLE:=alternative Freifunk Theme +endef + +define Package/luci-theme-freifunk/install + $(call Package/luci/install/template,$(1),themes/freifunk) +endef + +define Package/luci-theme-freifunk-bno + $(call Package/luci/fftemplate) + DEPENDS:=+luci-web + MAINTAINER:=Stefan Pirwitz + TITLE:=Freifunk Berlin Nordost Theme +endef + +define Package/luci-theme-freifunk-bno/install + $(call Package/luci/install/template,$(1),themes/freifunk-bno) +endef + +define Package/luci-theme-freifunk-hannover + $(call Package/luci/fftemplate) + DEPENDS:=+luci-web + MAINTAINER:=Mikolas Bingemer + TITLE:=Freifunk Hannover Theme +endef + +define Package/luci-theme-freifunk-hannover/install + $(call Package/luci/install/template,$(1),themes/freifunk-hannover) +endef + +define Package/luci-theme-openwrt + $(call Package/luci/thtemplate) + TITLE:=OpenWrt.org (default) + DEPENDS:=+luci-theme-base luci-core + DEFAULT:=y if PACKAGE_luci-core +endef + +define Package/luci-theme-openwrt/install + $(call Package/luci/install/template,$(1),themes/openwrt.org) +endef + +define Package/luci-theme-openwrtlight + $(call Package/luci/thtemplate) + TITLE:=OpenWrt.org - light variant without images + DEPENDS:=+luci-theme-base +endef + +define Package/luci-theme-openwrtlight/install + $(call Package/luci/install/template,$(1),themes/openwrt-light) +endef + + +### Translations ### +define Package/luci-i18n-german + $(call Package/luci/i18ntemplate) + TITLE:=German +endef + +define Package/luci-i18n-german/install + $(call Package/luci/install/template,$(1),i18n/german) +endef + + +define Package/luci-i18n-english + $(call Package/luci/i18ntemplate) + TITLE:=English +endef + +define Package/luci-i18n-english/install + $(call Package/luci/install/template,$(1),i18n/english) +endef + + +define Package/luci-i18n-french + $(call Package/luci/i18ntemplate) + TITLE:=French (by Florian Fainelli) +endef + +define Package/luci-i18n-french/install + $(call Package/luci/install/template,$(1),i18n/french) +endef + + +define Package/luci-i18n-italian + $(call Package/luci/i18ntemplate) + TITLE:=Italian (by Matteo Croce) +endef + +define Package/luci-i18n-italian/install + $(call Package/luci/install/template,$(1),i18n/italian) +endef + + +define Package/luci-i18n-russian + $(call Package/luci/i18ntemplate) + TITLE:=Russian (by Skryabin Dmitry) +endef + +define Package/luci-i18n-russian/install + $(call Package/luci/install/template,$(1),i18n/russian) +endef + + +define Package/luci-i18n-portuguese_brazilian + $(call Package/luci/i18ntemplate) + TITLE:=Portuguese (Brazilian) (by Carlos Cesario) +endef + +define Package/luci-i18n-portuguese_brazilian/install + $(call Package/luci/install/template,$(1),i18n/portuguese_brazilian) +endef + + +define Package/luci-i18n-japanese + $(call Package/luci/i18ntemplate) + TITLE:=Japanese (by Tsukasa Hamano) +endef + +define Package/luci-i18n-japanese/install + $(call Package/luci/install/template,$(1),i18n/japanese) +endef + + +define Package/luci-i18n-greek + $(call Package/luci/i18ntemplate) + TITLE:=Greek (by Vasilis Tsiligiannis) +endef + +define Package/luci-i18n-greek/install + $(call Package/luci/install/template,$(1),i18n/greek) +endef + + +define Package/luci-i18n-catalan + $(call Package/luci/i18ntemplate) + TITLE:=Catalan (by Eduard Duran) +endef + +define Package/luci-i18n-catalan/install + $(call Package/luci/install/template,$(1),i18n/catalan) +endef + + +define Package/luci-i18n-portuguese + $(call Package/luci/i18ntemplate) + TITLE:=Portuguese (by Jose Monteiro) +endef + +define Package/luci-i18n-portuguese/install + $(call Package/luci/install/template,$(1),i18n/portuguese) +endef + + +define Package/luci-i18n-spanish + $(call Package/luci/i18ntemplate) + TITLE:=Spanish (by Guillermo Javier Nardoni) +endef + +define Package/luci-i18n-spanish/install + $(call Package/luci/install/template,$(1),i18n/spanish) +endef + + +### Collections ### +define Package/luci + $(call Package/luci/collectiontemplate) + TITLE:=Standard OpenWrt set including full and mini admin and the standard theme + DEPENDS:=+uhttpd +luci-admin-full +luci-admin-mini +luci-theme-openwrt \ + +luci-app-firewall +luci-app-initmgr +endef + +define Package/luci/install + true +endef + + +define Package/luci-ssl + $(call Package/luci/collectiontemplate) + TITLE:=Standard OpenWrt set with https support + DEPENDS:=+uhttpd +uhttpd-mod-tls +px5g +luci-admin-full +luci-admin-mini \ + +luci-theme-openwrt +luci-app-firewall +luci-app-initmgr +endef + +define Package/luci-ssl/install + true +endef + + +define Package/luci-medium + $(call Package/luci/collectiontemplate) + TITLE:=Medium package set using only admin full and a theme without graphics + DEPENDS:=+uhttpd +luci-admin-full +luci-theme-openwrtlight +endef + +define Package/luci-medium/install + true +endef + + +define Package/luci-light + $(call Package/luci/collectiontemplate) + TITLE:=Minimum package set using only admin mini and a theme without graphics + DEPENDS:=+uhttpd +luci-admin-mini +luci-theme-openwrtlight +endef + +define Package/luci-light/install + true +endef + + +### Compile ### +ifneq ($(CONFIG_PACKAGE_luci-core),) + PKG_SELECTED_MODULES+=libs/core +endif +ifneq ($(CONFIG_PACKAGE_luci-cbi),) + PKG_SELECTED_MODULES+=libs/cbi +endif +ifneq ($(CONFIG_PACKAGE_luci-fastindex),) + PKG_SELECTED_MODULES+=libs/fastindex +endif +ifneq ($(CONFIG_PACKAGE_luci-http),) + PKG_SELECTED_MODULES+=libs/http +endif +ifneq ($(CONFIG_PACKAGE_luci-httpclient),) + PKG_SELECTED_MODULES+=libs/httpclient +endif +ifneq ($(CONFIG_PACKAGE_luci-ipkg),) + PKG_SELECTED_MODULES+=libs/ipkg +endif +ifneq ($(CONFIG_PACKAGE_luci-json),) + PKG_SELECTED_MODULES+=libs/json +endif +ifneq ($(CONFIG_PACKAGE_luci-lmo),) + PKG_SELECTED_MODULES+=libs/lmo +endif +ifneq ($(CONFIG_PACKAGE_luci-lucid),) + PKG_SELECTED_MODULES+=libs/lucid libs/lucid-http +endif +ifneq ($(CONFIG_PACKAGE_luci-nixio),) + PKG_SELECTED_MODULES+=libs/nixio +endif +ifneq ($(CONFIG_PACKAGE_luci-px5g),) + PKG_SELECTED_MODULES+=libs/px5g +endif +ifneq ($(CONFIG_PACKAGE_luci-uci),) + PKG_SELECTED_MODULES+=libs/uci +endif +ifneq ($(CONFIG_PACKAGE_luci-sys),) + PKG_SELECTED_MODULES+=libs/sys +endif +ifneq ($(CONFIG_PACKAGE_luci-web),) + PKG_SELECTED_MODULES+=libs/web +endif +ifneq ($(CONFIG_PACKAGE_luci-uvl),) + PKG_SELECTED_MODULES+=libs/uvl +endif + +ifneq ($(CONFIG_PACKAGE_luci-admin-core),) + PKG_SELECTED_MODULES+=modules/admin-core +endif +ifneq ($(CONFIG_PACKAGE_luci-admin-mini),) + PKG_SELECTED_MODULES+=modules/admin-mini +endif +ifneq ($(CONFIG_PACKAGE_luci-admin-full),) + PKG_SELECTED_MODULES+=modules/admin-full +endif +ifneq ($(CONFIG_PACKAGE_luci-admin-rpc),) + PKG_SELECTED_MODULES+=modules/rpc +endif +ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk),) + PKG_SELECTED_MODULES+=modules/freifunk +endif + +ifneq ($(CONFIG_PACKAGE_luci-freifunk-community),) + PKG_SELECTED_MODULES+=applications/freifunk-community +endif + +ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig),) + PKG_SELECTED_MODULES+=applications/luci-ffwizard-leipzig +endif +ifneq ($(CONFIG_PACKAGE_luci-app-siitwizard),) + PKG_SELECTED_MODULES+=applications/luci-siitwizard +endif +ifneq ($(CONFIG_PACKAGE_luci-app-firewall),) + PKG_SELECTED_MODULES+=applications/luci-fw +endif +ifneq ($(CONFIG_PACKAGE_luci-app-olsr),) + PKG_SELECTED_MODULES+=applications/luci-olsr +endif +ifneq ($(CONFIG_PACKAGE_luci-app-qos),) + PKG_SELECTED_MODULES+=applications/luci-qos +endif +ifneq ($(CONFIG_PACKAGE_luci-app-splash),) + PKG_SELECTED_MODULES+=applications/luci-splash +endif +ifneq ($(CONFIG_PACKAGE_luci-app-statistics),) + PKG_SELECTED_MODULES+=applications/luci-statistics +endif +ifneq ($(CONFIG_PACKAGE_luci-app-upnp),) + PKG_SELECTED_MODULES+=applications/luci-upnp +endif +ifneq ($(CONFIG_PACKAGE_luci-app-ntpc),) + PKG_SELECTED_MODULES+=applications/luci-ntpc +endif +ifneq ($(CONFIG_PACKAGE_luci-app-ddns),) + PKG_SELECTED_MODULES+=applications/luci-ddns +endif +ifneq ($(CONFIG_PACKAGE_luci-app-samba),) + PKG_SELECTED_MODULES+=applications/luci-samba +endif +ifneq ($(CONFIG_PACKAGE_luci-app-mmc-over-gpio),) + PKG_SELECTED_MODULES+=applications/luci-mmc-over-gpio +endif +ifneq ($(CONFIG_PACKAGE_luci-app-p910nd),) + PKG_SELECTED_MODULES+=applications/luci-p910nd +endif +ifneq ($(CONFIG_PACKAGE_luci-app-ushare),) + PKG_SELECTED_MODULES+=applications/luci-ushare +endif +ifneq ($(CONFIG_PACKAGE_luci-app-hd-idle),) + PKG_SELECTED_MODULES+=applications/luci-hd-idle +endif +ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy),) + PKG_SELECTED_MODULES+=applications/luci-tinyproxy +endif +ifneq ($(CONFIG_PACKAGE_luci-app-initmgr),) + PKG_SELECTED_MODULES+=applications/luci-initmgr +endif +ifneq ($(CONFIG_PACKAGE_luci-app-livestats),) + PKG_SELECTED_MODULES+=applications/luci-livestats +endif +ifneq ($(CONFIG_PACKAGE_luci-app-polipo),) + PKG_SELECTED_MODULES+=applications/luci-polipo +endif +ifneq ($(CONFIG_PACKAGE_luci-app-openvpn),) + PKG_SELECTED_MODULES+=applications/luci-openvpn +endif +ifneq ($(CONFIG_PACKAGE_luci-app-p2pblock),) + PKG_SELECTED_MODULES+=applications/luci-p2pblock +endif + + +ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),) + PKG_SELECTED_MODULES+=libs/sgi-cgi +endif +ifneq ($(CONFIG_PACKAGE_luci-sgi-uhttpd),) + PKG_SELECTED_MODULES+=libs/sgi-uhttpd +endif +ifneq ($(CONFIG_PACKAGE_luci-sgi-luci),) + PKG_SELECTED_MODULES+=libs/sgi-luci +endif + +ifneq ($(CONFIG_PACKAGE_luci-theme-base),) + PKG_SELECTED_MODULES+=themes/base +endif +ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus),) + PKG_SELECTED_MODULES+=themes/fledermaus +endif +ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-bno),) + PKG_SELECTED_MODULES+=themes/freifunk-bno +endif +ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-hannover),) + PKG_SELECTED_MODULES+=themes/freifunk-hannover +endif +ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk),) + PKG_SELECTED_MODULES+=themes/freifunk +endif +ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt),) + PKG_SELECTED_MODULES+=themes/openwrt.org +endif +ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight),) + PKG_SELECTED_MODULES+=themes/openwrt-light +endif + +ifneq ($(CONFIG_PACKAGE_luci-i18n-german),) + PKG_SELECTED_MODULES+=i18n/german +endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-english),) + PKG_SELECTED_MODULES+=i18n/english +endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-french),) + PKG_SELECTED_MODULES+=i18n/french +endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-italian),) + PKG_SELECTED_MODULES+=i18n/italian +endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-russian),) + PKG_SELECTED_MODULES+=i18n/russian +endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian),) + PKG_SELECTED_MODULES+=i18n/portuguese_brazilian +endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-japanese),) + PKG_SELECTED_MODULES+=i18n/japanese +endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-greek),) + PKG_SELECTED_MODULES+=i18n/greek +endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-catalan),) + PKG_SELECTED_MODULES+=i18n/catalan +endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese),) + PKG_SELECTED_MODULES+=i18n/portuguese +endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-spanish),) + PKG_SELECTED_MODULES+=i18n/spanish +endif + + +MAKE_FLAGS += \ + MODULES="$(PKG_SELECTED_MODULES)" \ + LUA_TARGET="$(LUA_TARGET)" \ + LUA_SHLIBS="-llua -lm -ldl -lcrypt" \ + CFLAGS="$(TARGET_CFLAGS) $(LUCI_CFLAGS) -I$(STAGING_DIR)/usr/include" \ + LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \ + NIXIO_TLS="$(NIXIO_TLS)" OS="Linux" + + +$(eval $(call BuildPackage,luci-core)) +$(eval $(call BuildPackage,luci-cbi)) +$(eval $(call BuildPackage,luci-fastindex)) +$(eval $(call BuildPackage,luci-http)) +$(eval $(call BuildPackage,luci-httpclient)) +$(eval $(call BuildPackage,luci-ipkg)) +$(eval $(call BuildPackage,luci-json)) +$(eval $(call BuildPackage,luci-lmo)) +$(eval $(call BuildPackage,luci-lucid)) +$(eval $(call BuildPackage,luci-nixio)) +$(eval $(call BuildPackage,luci-px5g)) +$(eval $(call BuildPackage,luci-uci)) +$(eval $(call BuildPackage,luci-sys)) +$(eval $(call BuildPackage,luci-web)) +$(eval $(call BuildPackage,luci-uvl)) + +$(eval $(call BuildPackage,luci-admin-core)) +$(eval $(call BuildPackage,luci-admin-mini)) +$(eval $(call BuildPackage,luci-admin-full)) +$(eval $(call BuildPackage,luci-admin-rpc)) +$(eval $(call BuildPackage,luci-mod-freifunk)) + +$(eval $(call BuildPackage,luci-freifunk-community)) + +$(eval $(call BuildPackage,luci-app-ffwizard-leipzig)) +$(eval $(call BuildPackage,luci-app-siitwizard)) +$(eval $(call BuildPackage,luci-app-firewall)) +$(eval $(call BuildPackage,luci-app-olsr)) +$(eval $(call BuildPackage,luci-app-qos)) +$(eval $(call BuildPackage,luci-app-splash)) +$(eval $(call BuildPackage,luci-app-statistics)) +$(eval $(call BuildPackage,luci-app-upnp)) +$(eval $(call BuildPackage,luci-app-ntpc)) +$(eval $(call BuildPackage,luci-app-ddns)) +$(eval $(call BuildPackage,luci-app-samba)) +$(eval $(call BuildPackage,luci-app-mmc-over-gpio)) +$(eval $(call BuildPackage,luci-app-p910nd)) +$(eval $(call BuildPackage,luci-app-ushare)) +$(eval $(call BuildPackage,luci-app-hd-idle)) +$(eval $(call BuildPackage,luci-app-tinyproxy)) +$(eval $(call BuildPackage,luci-app-initmgr)) +$(eval $(call BuildPackage,luci-app-livestats)) +$(eval $(call BuildPackage,luci-app-polipo)) +$(eval $(call BuildPackage,luci-app-openvpn)) +$(eval $(call BuildPackage,luci-app-p2pblock)) + +$(eval $(call BuildPackage,luci-sgi-cgi)) +$(eval $(call BuildPackage,luci-sgi-uhttpd)) + +$(eval $(call BuildPackage,luci-theme-base)) +$(eval $(call BuildPackage,luci-theme-fledermaus)) +$(eval $(call BuildPackage,luci-theme-freifunk)) +$(eval $(call BuildPackage,luci-theme-freifunk-bno)) +$(eval $(call BuildPackage,luci-theme-freifunk-hannover)) +$(eval $(call BuildPackage,luci-theme-openwrt)) +$(eval $(call BuildPackage,luci-theme-openwrtlight)) + +$(eval $(call BuildPackage,luci-i18n-german)) +$(eval $(call BuildPackage,luci-i18n-english)) +$(eval $(call BuildPackage,luci-i18n-french)) +$(eval $(call BuildPackage,luci-i18n-italian)) +$(eval $(call BuildPackage,luci-i18n-russian)) +$(eval $(call BuildPackage,luci-i18n-portuguese_brazilian)) +$(eval $(call BuildPackage,luci-i18n-japanese)) +$(eval $(call BuildPackage,luci-i18n-greek)) +$(eval $(call BuildPackage,luci-i18n-catalan)) +$(eval $(call BuildPackage,luci-i18n-portuguese)) +$(eval $(call BuildPackage,luci-i18n-spanish)) + +$(eval $(call BuildPackage,luci)) +$(eval $(call BuildPackage,luci-ssl)) +$(eval $(call BuildPackage,luci-medium)) +$(eval $(call BuildPackage,luci-light)) diff --git a/mote/v2/openwrt/package/luci/ipkg/.svn/all-wcprops b/mote/v2/openwrt/package/luci/ipkg/.svn/all-wcprops new file mode 100644 index 0000000..d24c23a --- /dev/null +++ b/mote/v2/openwrt/package/luci/ipkg/.svn/all-wcprops @@ -0,0 +1,5 @@ +K 25 +svn:wc:ra_dav:version-url +V 56 +/!svn/ver/6030/luci/tags/0.9.0/contrib/package/luci/ipkg +END diff --git a/mote/v2/openwrt/package/luci/ipkg/.svn/entries b/mote/v2/openwrt/package/luci/ipkg/.svn/entries new file mode 100644 index 0000000..23878f3 --- /dev/null +++ b/mote/v2/openwrt/package/luci/ipkg/.svn/entries @@ -0,0 +1,28 @@ +10 + +dir +6231 +http://svn.luci.subsignal.org/luci/tags/0.9.0/contrib/package/luci/ipkg +http://svn.luci.subsignal.org + + + +2010-04-05T17:48:51.300506Z +6030 +jow + + + + + + + + + + + + + + +ab181a69-ba2e-0410-a84d-ff88ab4c47bc + diff --git a/mote/v2/openwrt/package/remote-update/.svn/all-wcprops b/mote/v2/openwrt/package/remote-update/.svn/all-wcprops new file mode 100644 index 0000000..ad83a97 --- /dev/null +++ b/mote/v2/openwrt/package/remote-update/.svn/all-wcprops @@ -0,0 +1,11 @@ +K 25 +svn:wc:ra_dav:version-url +V 60 +/!svn/ver/6030/luci/tags/0.9.0/contrib/package/remote-update +END +Makefile +K 25 +svn:wc:ra_dav:version-url +V 69 +/!svn/ver/6030/luci/tags/0.9.0/contrib/package/remote-update/Makefile +END diff --git a/mote/v2/openwrt/package/remote-update/.svn/dir-prop-base b/mote/v2/openwrt/package/remote-update/.svn/dir-prop-base new file mode 100644 index 0000000..1cd0860 --- /dev/null +++ b/mote/v2/openwrt/package/remote-update/.svn/dir-prop-base @@ -0,0 +1,5 @@ +K 13 +svn:mergeinfo +V 251 +/luci/trunk/contrib/package/remote-update:4883,4886-4890,4941-4944,4950,4958-4959,5007-5013,5022-5023,5028-5118,5130-5143,5145-5153,5155-5161,5177-5182,5184-5189,5193-5194,5198,5303,5315-5316,5407,5516,5530,5560,5572,5902-5903,5908-5911,5919,6024-6025 +END diff --git a/mote/v2/openwrt/package/remote-update/.svn/entries b/mote/v2/openwrt/package/remote-update/.svn/entries new file mode 100644 index 0000000..d86ee64 --- /dev/null +++ b/mote/v2/openwrt/package/remote-update/.svn/entries @@ -0,0 +1,65 @@ +9 + +dir +6150 +http://svn.luci.subsignal.org/luci/tags/0.9.0/contrib/package/remote-update +http://svn.luci.subsignal.org + + + +2010-04-05T17:48:51.300506Z +6030 +jow +has-props + +svn:special svn:externals svn:needs-lock + + + + + + + + + + + +ab181a69-ba2e-0410-a84d-ff88ab4c47bc + +files +dir + +Makefile +file + + + + +2010-05-08T19:05:28.000000Z +770ef42e59979ac6d149757a4a999136 +2010-04-05T17:46:20.798880Z +6029 +jow +has-props + + + + + + + + + + + + + + + + + + + + +882 + diff --git a/mote/v2/openwrt/package/remote-update/.svn/format b/mote/v2/openwrt/package/remote-update/.svn/format new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/mote/v2/openwrt/package/remote-update/.svn/format @@ -0,0 +1 @@ +9 diff --git a/mote/v2/openwrt/package/remote-update/.svn/prop-base/Makefile.svn-base b/mote/v2/openwrt/package/remote-update/.svn/prop-base/Makefile.svn-base new file mode 100644 index 0000000..0da2f42 --- /dev/null +++ b/mote/v2/openwrt/package/remote-update/.svn/prop-base/Makefile.svn-base @@ -0,0 +1,5 @@ +K 13 +svn:mergeinfo +V 265 +/luci/trunk/contrib/package/remote-update/Makefile:4883,4886-4890,4941-4944,4950,4958-4959,5007-5013,5022-5023,5025,5028-5118,5130-5143,5145-5153,5155-5161,5177-5182,5184-5189,5193-5194,5198,5303,5315-5316,5407,5516,5530,5560,5572,5902-5903,5908-5911,5919,6024-6025 +END diff --git a/mote/v2/openwrt/package/remote-update/.svn/text-base/Makefile.svn-base b/mote/v2/openwrt/package/remote-update/.svn/text-base/Makefile.svn-base new file mode 100644 index 0000000..b1b8f6f --- /dev/null +++ b/mote/v2/openwrt/package/remote-update/.svn/text-base/Makefile.svn-base @@ -0,0 +1,43 @@ +# +# Copyright (C) 2009 Jo-Philipp Wich +# +# This is free software, licensed under the Apache 2.0 license. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=remote-update +PKG_RELEASE:=4 + +PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) + +include $(INCLUDE_DIR)/package.mk + +define Package/remote-update + SECTION:=luci + CATEGORY:=LuCI + SUBMENU:=Freifunk + TITLE:=Freifunk remote update utility. + DEPENDS:=@TARGET_atheros||@TARGET_ar71xx||@TARGET_brcm_2_4 +endef + +define Package/remote-update/description + The freifunk remote-update utility uses sysupgrade to reflash the currently + running firmware while keeping most of the existing configuratio. +endef + +define Build/Prepare + mkdir -p $(PKG_BUILD_DIR) +endef + +define Build/Configure +endef + +define Build/Compile +endef + +define Package/remote-update/install + $(CP) ./files/* $(1)/ +endef + +$(eval $(call BuildPackage,remote-update)) diff --git a/mote/v2/openwrt/package/remote-update/Makefile b/mote/v2/openwrt/package/remote-update/Makefile new file mode 100644 index 0000000..b1b8f6f --- /dev/null +++ b/mote/v2/openwrt/package/remote-update/Makefile @@ -0,0 +1,43 @@ +# +# Copyright (C) 2009 Jo-Philipp Wich +# +# This is free software, licensed under the Apache 2.0 license. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=remote-update +PKG_RELEASE:=4 + +PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) + +include $(INCLUDE_DIR)/package.mk + +define Package/remote-update + SECTION:=luci + CATEGORY:=LuCI + SUBMENU:=Freifunk + TITLE:=Freifunk remote update utility. + DEPENDS:=@TARGET_atheros||@TARGET_ar71xx||@TARGET_brcm_2_4 +endef + +define Package/remote-update/description + The freifunk remote-update utility uses sysupgrade to reflash the currently + running firmware while keeping most of the existing configuratio. +endef + +define Build/Prepare + mkdir -p $(PKG_BUILD_DIR) +endef + +define Build/Configure +endef + +define Build/Compile +endef + +define Package/remote-update/install + $(CP) ./files/* $(1)/ +endef + +$(eval $(call BuildPackage,remote-update)) diff --git a/mote/v2/openwrt/package/remote-update/files/.svn/all-wcprops b/mote/v2/openwrt/package/remote-update/files/.svn/all-wcprops new file mode 100644 index 0000000..70ddfee --- /dev/null +++ b/mote/v2/openwrt/package/remote-update/files/.svn/all-wcprops @@ -0,0 +1,5 @@ +K 25 +svn:wc:ra_dav:version-url +V 66 +/!svn/ver/6030/luci/tags/0.9.0/contrib/package/remote-update/files +END diff --git a/mote/v2/openwrt/package/remote-update/files/.svn/entries b/mote/v2/openwrt/package/remote-update/files/.svn/entries new file mode 100644 index 0000000..4e922eb --- /dev/null +++ b/mote/v2/openwrt/package/remote-update/files/.svn/entries @@ -0,0 +1,31 @@ +9 + +dir +6150 +http://svn.luci.subsignal.org/luci/tags/0.9.0/contrib/package/remote-update/files +http://svn.luci.subsignal.org + + + +2010-04-05T17:48:51.300506Z +6030 +jow + + +svn:special svn:externals svn:needs-lock + + + + + + + + + + + +ab181a69-ba2e-0410-a84d-ff88ab4c47bc + +usr +dir + diff --git a/mote/v2/openwrt/package/remote-update/files/.svn/format b/mote/v2/openwrt/package/remote-update/files/.svn/format new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/mote/v2/openwrt/package/remote-update/files/.svn/format @@ -0,0 +1 @@ +9 diff --git a/mote/v2/openwrt/package/remote-update/files/usr/.svn/all-wcprops b/mote/v2/openwrt/package/remote-update/files/usr/.svn/all-wcprops new file mode 100644 index 0000000..836cbbf --- /dev/null +++ b/mote/v2/openwrt/package/remote-update/files/usr/.svn/all-wcprops @@ -0,0 +1,5 @@ +K 25 +svn:wc:ra_dav:version-url +V 70 +/!svn/ver/6030/luci/tags/0.9.0/contrib/package/remote-update/files/usr +END diff --git a/mote/v2/openwrt/package/remote-update/files/usr/.svn/entries b/mote/v2/openwrt/package/remote-update/files/usr/.svn/entries new file mode 100644 index 0000000..2094e2d --- /dev/null +++ b/mote/v2/openwrt/package/remote-update/files/usr/.svn/entries @@ -0,0 +1,31 @@ +9 + +dir +6150 +http://svn.luci.subsignal.org/luci/tags/0.9.0/contrib/package/remote-update/files/usr +http://svn.luci.subsignal.org + + + +2009-11-22T22:26:44.515057Z +5573 +jow + + +svn:special svn:externals svn:needs-lock + + + + + + + + + + + +ab181a69-ba2e-0410-a84d-ff88ab4c47bc + +sbin +dir + diff --git a/mote/v2/openwrt/package/remote-update/files/usr/.svn/format b/mote/v2/openwrt/package/remote-update/files/usr/.svn/format new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/mote/v2/openwrt/package/remote-update/files/usr/.svn/format @@ -0,0 +1 @@ +9 diff --git a/mote/v2/openwrt/package/remote-update/files/usr/sbin/.svn/all-wcprops b/mote/v2/openwrt/package/remote-update/files/usr/sbin/.svn/all-wcprops new file mode 100644 index 0000000..11c7c3f --- /dev/null +++ b/mote/v2/openwrt/package/remote-update/files/usr/sbin/.svn/all-wcprops @@ -0,0 +1,11 @@ +K 25 +svn:wc:ra_dav:version-url +V 75 +/!svn/ver/6030/luci/tags/0.9.0/contrib/package/remote-update/files/usr/sbin +END +remote-update +K 25 +svn:wc:ra_dav:version-url +V 89 +/!svn/ver/6030/luci/tags/0.9.0/contrib/package/remote-update/files/usr/sbin/remote-update +END diff --git a/mote/v2/openwrt/package/remote-update/files/usr/sbin/.svn/entries b/mote/v2/openwrt/package/remote-update/files/usr/sbin/.svn/entries new file mode 100644 index 0000000..bc06723 --- /dev/null +++ b/mote/v2/openwrt/package/remote-update/files/usr/sbin/.svn/entries @@ -0,0 +1,62 @@ +9 + +dir +6150 +http://svn.luci.subsignal.org/luci/tags/0.9.0/contrib/package/remote-update/files/usr/sbin +http://svn.luci.subsignal.org + + + +2009-11-22T22:26:44.515057Z +5573 +jow + + +svn:special svn:externals svn:needs-lock + + + + + + + + + + + +ab181a69-ba2e-0410-a84d-ff88ab4c47bc + +remote-update +file + + + + +2010-05-08T19:05:28.000000Z +3ff7efd28ed4bffef1e55976c8e1e8e8 +2009-11-22T22:26:44.515057Z +5573 +jow +has-props + + + + + + + + + + + + + + + + + + + + +6188 + diff --git a/mote/v2/openwrt/package/remote-update/files/usr/sbin/.svn/format b/mote/v2/openwrt/package/remote-update/files/usr/sbin/.svn/format new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/mote/v2/openwrt/package/remote-update/files/usr/sbin/.svn/format @@ -0,0 +1 @@ +9 diff --git a/mote/v2/openwrt/package/remote-update/files/usr/sbin/.svn/prop-base/remote-update.svn-base b/mote/v2/openwrt/package/remote-update/files/usr/sbin/.svn/prop-base/remote-update.svn-base new file mode 100644 index 0000000..869ac71 --- /dev/null +++ b/mote/v2/openwrt/package/remote-update/files/usr/sbin/.svn/prop-base/remote-update.svn-base @@ -0,0 +1,5 @@ +K 14 +svn:executable +V 1 +* +END diff --git a/mote/v2/openwrt/package/remote-update/files/usr/sbin/.svn/text-base/remote-update.svn-base b/mote/v2/openwrt/package/remote-update/files/usr/sbin/.svn/text-base/remote-update.svn-base new file mode 100644 index 0000000..6e45e48 --- /dev/null +++ b/mote/v2/openwrt/package/remote-update/files/usr/sbin/.svn/text-base/remote-update.svn-base @@ -0,0 +1,306 @@ +#!/bin/sh + +local tempfile=/tmp/remote-upgrade.img +local D2='\([0-9]\{2\}\)' +local D4='\([0-9]\{4\}\)' +local NL=' +' + +find_architecture() +{ + local ifs="$IFS"; IFS="-" + set -- $(opkg list_installed kernel) + IFS="$ifs" + + echo "$3" +} + +find_image() +{ + case "$1" in + atheros) + echo "openwrt-atheros-combined.squashfs.img" + ;; + ar71xx) + echo "openwrt-ar71xx-combined.squashfs.img" + ;; + brcm) + echo "openwrt-brcm-2.4-squashfs.trx" + ;; + esac +} + +check_image() +{ + local file; for file in /lib/upgrade/*.sh; do . $file; done + if platform_check_image "$1" >/dev/null 2>/dev/null; then + return 0 + fi + return 1 +} + +find_remote_checksum() +{ + wget -qO- ${1%/*}/md5sums 2>/dev/null | \ + sed -ne '/'$2'/ { s/ .*//p }' +} + +find_local_checksum() +{ + set -- $(md5sum "$tempfile") + echo $1 +} + +find_remote_info() +{ + wget -qO- "${1%/*}/VERSION.txt" 2>/dev/null +} + +find_remote_version() +{ + find_remote_info "$1" | \ + sed -ne "s!.*$D4/$D2/$D2 $D2:$D2.*!\\1\\2\\3\\4\\5!p;t" +} + +find_local_version() +{ + if [ -f /rom/etc/banner ]; then + sed -ne "s!.*$D4/$D2/$D2 $D2:$D2.*!\\1\\2\\3\\4\\5!p;t" \ + /rom/etc/banner + else + date +"%Y%m%d%H%M" -r /bin/sh + fi +} + +stop_service() +{ + [ -x /etc/init.d/$1 ] && { + echo -n "Stopping service $1 ... " + /etc/init.d/$1 stop >/dev/null 2>/dev/null + echo "done" + } +} + +do_wait() +{ + if [ ${1:-0} -gt 0 ]; then + echo -n "${2:-Waiting} " + for i in $(seq 1 $1); do + printf "%-2dseconds" $(($1-$i)) + sleep 1 + echo -en "\b\b\b\b\b\b\b\b\b" + done + echo "${NL}" + fi +} + +version_compare() +{ + local v1="$1" + local v2="$2" + + while [ -n "$v1" -o -n "$v2" ]; do + if [ -z "${v2:0:4}" -o "${v1:0:4}" -gt "${v2:0:4}" ]; then + return 1 + elif [ -z "${v1:0:4}" -o "${v1:0:4}" -lt "${v2:0:4}" ]; then + return 2 + fi + + v1="${v1:4}" + v2="${v2:4}" + done + + return 0 +} + +usage() +{ + cat <] -c + remote-update [-v] [-y] [-u ] -w + remote-update [-d] [-n] [-v] [-y] [-s ] [-u ] + +Actions: + -h Display this help message and exit. + -c Check for firmware update and exit. + -w Fetch image and exit, do not perform flash write. + +Options: + -d Do not detach from terminal. + -n Do not backup configuration. + -v Skip verification of downloaded image. + -y Assume defaults for all questions. + + -s + Sleep given amount of seconds before starting flash write. + If ommitted and '-y' is not used, 5 seconds are assumed. + + -u + Fetch firmware image from given url. A file "md5sums" is expected + in the same remote directory. If there is no such file, use -v to + suppress verification. + +EOT + + exit 1 +} + + +while getopts "s:u:cdnvwyh" flag; do + case $flag in + s) sleeptime="$OPTARG";; + u) updateurl="$OPTARG";; + c) checkupdate=1;; + d) nodetach=1;; + n) nobackup=1;; + v) noverify=1;; + w) noflash=1;; + y) noquestions=1;; + *) usage;; + esac +done + + +local image_url="$updateurl" +local image_name="${image_url##*/}" + +[ -z "$image_url" ] && { + local arch=$(find_architecture) + local image=$(find_image "$arch") + local repo=$(uci get freifunk.upgrade.repository 2>/dev/null) + repo=${repo:-$(uci get system.upgrade.repository 2>/dev/null)} + + [ -z "$arch" ] && { + echo "Can not determine the current architecture." + exit 1 + } + + [ -z "$repo" ] && { + echo "No repository configured in 'system.upgrade.repository'." + echo "Use the '-u' flag to specify an image location." + exit 1 + } + + [ -z "$image" ] && { + echo "No suitable image for the '$arch' architecture." + echo "Your platform is not supported." + exit 1 + } + + echo "Architecture: $arch" + echo "Repository: $repo" + + image_name="$image" + image_url="${repo%/}/$arch/$image" +} + + +if [ "$checkupdate" = 1 ]; then + local v1=$(find_local_version) + local v2=$(find_remote_version "$image_url") + + [ -n "$v1" -a -n "$v2" ] && { + version_compare "$v1" "$v2" + [ $? == 2 ] && { + echo "Update available!${NL}Local: $v1${NL}Remote: $v2${NL}--" + find_remote_info "$image_url" + exit 0 + } || { + echo "Local version $v1 is up to date" + exit 2 + } + } || { + echo "No remote time stamp found." + exit 1 + } +else + if [ "$noquestions" != 1 ]; then + echo -n "${NL}About to download $image_name. Continue? [y] " + read answer + case "$answer" in + [nN]) exit 1;; + esac + fi + + echo -n "Downloading $image_name ... " + rm -f $tempfile + wget -qO $tempfile "$image_url" 2>/dev/null + [ $? == 0 ] && echo done || { + echo failed + rm -f $tempfile + exit 1 + } + + if [ "$noverify" != 1 ]; then + echo -n "Verifying $image_name ... " + + local md5_remote=$(find_remote_checksum "$image_url" "$image_name") + local md5_local=$(find_local_checksum) + + check_image "$tempfile" + local image_ok=$? + + if [ $image_ok = 0 -a -n "$md5_remote" -a -n "$md5_local" -a "$md5_remote" = "$md5_local" ]; then + echo "done" + else + if [ $image_ok != 0 ]; then + echo "unsupported image type" + else + echo "checksum mismatch! (local:${md5_local:-(none)} remote:${md5_remote:-(none)})" + fi + + local answer=n + if [ "$noquestions" != 1 ]; then + echo -n "${NL}Verification failed. Continue anyway? [n] " + read answer + fi + + case "$answer" in + [yYjJ]*) : ;; + *) + echo "Aborting." + rm -f $tempfile + exit 1 + ;; + esac + fi + fi + + if [ "$noflash" != 1 ]; then + if [ -f "$tempfile" ]; then + if [ "$noquestions" == 1 ]; then + do_wait ${sleeptime:-5} "${NL}About to start flashing, hit to abort!${NL}${NL}Starting in" + else + if [ -z "$nobackup" ]; then + echo -n "${NL}Keep configuration files? [y] " + read answer + case "$answer" in + [nN]) nobackup=1;; + esac + fi + + echo -n "${NL}About to start flashing!${NL}Hit to continue or to abort.${NL}" + read answer + fi + + for s in lucid collectd; do stop_service $s; done + + if [ "$nodetach" != 1 ]; then + echo -n "Starting sysupgrade in background ... " + /bin/busybox start-stop-daemon -S -b -x /sbin/sysupgrade -- ${nobackup:+-n} "$tempfile" + echo "done" + else + echo "Executing sysupgrade ... " + exec /sbin/sysupgrade ${nobackup:+-n} "$tempfile" + fi + else + echo "No upgrade image found!" + exit 1 + fi + else + echo "Image saved in '$tempfile'" + fi +fi diff --git a/mote/v2/openwrt/package/remote-update/files/usr/sbin/remote-update b/mote/v2/openwrt/package/remote-update/files/usr/sbin/remote-update new file mode 100755 index 0000000..6e45e48 --- /dev/null +++ b/mote/v2/openwrt/package/remote-update/files/usr/sbin/remote-update @@ -0,0 +1,306 @@ +#!/bin/sh + +local tempfile=/tmp/remote-upgrade.img +local D2='\([0-9]\{2\}\)' +local D4='\([0-9]\{4\}\)' +local NL=' +' + +find_architecture() +{ + local ifs="$IFS"; IFS="-" + set -- $(opkg list_installed kernel) + IFS="$ifs" + + echo "$3" +} + +find_image() +{ + case "$1" in + atheros) + echo "openwrt-atheros-combined.squashfs.img" + ;; + ar71xx) + echo "openwrt-ar71xx-combined.squashfs.img" + ;; + brcm) + echo "openwrt-brcm-2.4-squashfs.trx" + ;; + esac +} + +check_image() +{ + local file; for file in /lib/upgrade/*.sh; do . $file; done + if platform_check_image "$1" >/dev/null 2>/dev/null; then + return 0 + fi + return 1 +} + +find_remote_checksum() +{ + wget -qO- ${1%/*}/md5sums 2>/dev/null | \ + sed -ne '/'$2'/ { s/ .*//p }' +} + +find_local_checksum() +{ + set -- $(md5sum "$tempfile") + echo $1 +} + +find_remote_info() +{ + wget -qO- "${1%/*}/VERSION.txt" 2>/dev/null +} + +find_remote_version() +{ + find_remote_info "$1" | \ + sed -ne "s!.*$D4/$D2/$D2 $D2:$D2.*!\\1\\2\\3\\4\\5!p;t" +} + +find_local_version() +{ + if [ -f /rom/etc/banner ]; then + sed -ne "s!.*$D4/$D2/$D2 $D2:$D2.*!\\1\\2\\3\\4\\5!p;t" \ + /rom/etc/banner + else + date +"%Y%m%d%H%M" -r /bin/sh + fi +} + +stop_service() +{ + [ -x /etc/init.d/$1 ] && { + echo -n "Stopping service $1 ... " + /etc/init.d/$1 stop >/dev/null 2>/dev/null + echo "done" + } +} + +do_wait() +{ + if [ ${1:-0} -gt 0 ]; then + echo -n "${2:-Waiting} " + for i in $(seq 1 $1); do + printf "%-2dseconds" $(($1-$i)) + sleep 1 + echo -en "\b\b\b\b\b\b\b\b\b" + done + echo "${NL}" + fi +} + +version_compare() +{ + local v1="$1" + local v2="$2" + + while [ -n "$v1" -o -n "$v2" ]; do + if [ -z "${v2:0:4}" -o "${v1:0:4}" -gt "${v2:0:4}" ]; then + return 1 + elif [ -z "${v1:0:4}" -o "${v1:0:4}" -lt "${v2:0:4}" ]; then + return 2 + fi + + v1="${v1:4}" + v2="${v2:4}" + done + + return 0 +} + +usage() +{ + cat <] -c + remote-update [-v] [-y] [-u ] -w + remote-update [-d] [-n] [-v] [-y] [-s ] [-u ] + +Actions: + -h Display this help message and exit. + -c Check for firmware update and exit. + -w Fetch image and exit, do not perform flash write. + +Options: + -d Do not detach from terminal. + -n Do not backup configuration. + -v Skip verification of downloaded image. + -y Assume defaults for all questions. + + -s + Sleep given amount of seconds before starting flash write. + If ommitted and '-y' is not used, 5 seconds are assumed. + + -u + Fetch firmware image from given url. A file "md5sums" is expected + in the same remote directory. If there is no such file, use -v to + suppress verification. + +EOT + + exit 1 +} + + +while getopts "s:u:cdnvwyh" flag; do + case $flag in + s) sleeptime="$OPTARG";; + u) updateurl="$OPTARG";; + c) checkupdate=1;; + d) nodetach=1;; + n) nobackup=1;; + v) noverify=1;; + w) noflash=1;; + y) noquestions=1;; + *) usage;; + esac +done + + +local image_url="$updateurl" +local image_name="${image_url##*/}" + +[ -z "$image_url" ] && { + local arch=$(find_architecture) + local image=$(find_image "$arch") + local repo=$(uci get freifunk.upgrade.repository 2>/dev/null) + repo=${repo:-$(uci get system.upgrade.repository 2>/dev/null)} + + [ -z "$arch" ] && { + echo "Can not determine the current architecture." + exit 1 + } + + [ -z "$repo" ] && { + echo "No repository configured in 'system.upgrade.repository'." + echo "Use the '-u' flag to specify an image location." + exit 1 + } + + [ -z "$image" ] && { + echo "No suitable image for the '$arch' architecture." + echo "Your platform is not supported." + exit 1 + } + + echo "Architecture: $arch" + echo "Repository: $repo" + + image_name="$image" + image_url="${repo%/}/$arch/$image" +} + + +if [ "$checkupdate" = 1 ]; then + local v1=$(find_local_version) + local v2=$(find_remote_version "$image_url") + + [ -n "$v1" -a -n "$v2" ] && { + version_compare "$v1" "$v2" + [ $? == 2 ] && { + echo "Update available!${NL}Local: $v1${NL}Remote: $v2${NL}--" + find_remote_info "$image_url" + exit 0 + } || { + echo "Local version $v1 is up to date" + exit 2 + } + } || { + echo "No remote time stamp found." + exit 1 + } +else + if [ "$noquestions" != 1 ]; then + echo -n "${NL}About to download $image_name. Continue? [y] " + read answer + case "$answer" in + [nN]) exit 1;; + esac + fi + + echo -n "Downloading $image_name ... " + rm -f $tempfile + wget -qO $tempfile "$image_url" 2>/dev/null + [ $? == 0 ] && echo done || { + echo failed + rm -f $tempfile + exit 1 + } + + if [ "$noverify" != 1 ]; then + echo -n "Verifying $image_name ... " + + local md5_remote=$(find_remote_checksum "$image_url" "$image_name") + local md5_local=$(find_local_checksum) + + check_image "$tempfile" + local image_ok=$? + + if [ $image_ok = 0 -a -n "$md5_remote" -a -n "$md5_local" -a "$md5_remote" = "$md5_local" ]; then + echo "done" + else + if [ $image_ok != 0 ]; then + echo "unsupported image type" + else + echo "checksum mismatch! (local:${md5_local:-(none)} remote:${md5_remote:-(none)})" + fi + + local answer=n + if [ "$noquestions" != 1 ]; then + echo -n "${NL}Verification failed. Continue anyway? [n] " + read answer + fi + + case "$answer" in + [yYjJ]*) : ;; + *) + echo "Aborting." + rm -f $tempfile + exit 1 + ;; + esac + fi + fi + + if [ "$noflash" != 1 ]; then + if [ -f "$tempfile" ]; then + if [ "$noquestions" == 1 ]; then + do_wait ${sleeptime:-5} "${NL}About to start flashing, hit to abort!${NL}${NL}Starting in" + else + if [ -z "$nobackup" ]; then + echo -n "${NL}Keep configuration files? [y] " + read answer + case "$answer" in + [nN]) nobackup=1;; + esac + fi + + echo -n "${NL}About to start flashing!${NL}Hit to continue or to abort.${NL}" + read answer + fi + + for s in lucid collectd; do stop_service $s; done + + if [ "$nodetach" != 1 ]; then + echo -n "Starting sysupgrade in background ... " + /bin/busybox start-stop-daemon -S -b -x /sbin/sysupgrade -- ${nobackup:+-n} "$tempfile" + echo "done" + else + echo "Executing sysupgrade ... " + exec /sbin/sysupgrade ${nobackup:+-n} "$tempfile" + fi + else + echo "No upgrade image found!" + exit 1 + fi + else + echo "Image saved in '$tempfile'" + fi +fi