└── intelliroot ├── .gitattributes ├── package ├── base-files │ └── files │ │ ├── etc │ │ ├── openwrt_version │ │ ├── shells │ │ ├── hosts │ │ ├── device_info │ │ ├── diag.sh │ │ ├── rc.button │ │ │ ├── failsafe │ │ │ ├── power │ │ │ └── reset │ │ ├── inittab │ │ ├── init.d │ │ │ ├── umount │ │ │ ├── sysctl │ │ │ ├── sysfixtime │ │ │ └── done │ │ ├── rc.local │ │ ├── shadow │ │ ├── sysupgrade.conf │ │ ├── passwd │ │ ├── group │ │ ├── openwrt_release │ │ ├── hotplug.d │ │ │ └── net │ │ │ │ └── 00-sysctl │ │ └── config │ │ │ └── system │ │ ├── sbin │ │ ├── firstboot │ │ └── hotplug-call │ │ ├── rom │ │ └── note │ │ └── lib │ │ ├── preinit │ │ ├── 02_default_set_state │ │ ├── 99_10_run_init │ │ ├── 50_indicate_regular_preinit │ │ ├── 70_initramfs_test │ │ ├── 40_run_failsafe_hook │ │ ├── 10_indicate_failsafe │ │ └── 99_10_failsafe_login │ │ └── upgrade │ │ └── keep.d │ │ └── base-files-essential ├── network │ ├── config │ │ ├── netifd │ │ │ ├── files │ │ │ │ ├── sbin │ │ │ │ │ ├── ifdown │ │ │ │ │ ├── devstatus │ │ │ │ │ └── ifstatus │ │ │ │ └── etc │ │ │ │ │ └── hotplug.d │ │ │ │ │ └── iface │ │ │ │ │ └── 00-netstate │ │ │ └── patches │ │ │ │ └── 001-musl_af_inet_include.patch │ │ ├── qos-scripts │ │ │ └── files │ │ │ │ ├── usr │ │ │ │ └── bin │ │ │ │ │ ├── qos-start │ │ │ │ │ └── qos-stop │ │ │ │ └── etc │ │ │ │ └── hotplug.d │ │ │ │ └── iface │ │ │ │ └── 10-qos │ │ ├── soloscli │ │ │ └── patches │ │ │ │ ├── 002-cflags.patch │ │ │ │ └── 001-no-driver.patch │ │ ├── swconfig │ │ │ ├── src │ │ │ │ └── Makefile │ │ │ └── files │ │ │ │ └── switch.sh │ │ └── firewall │ │ │ └── files │ │ │ ├── firewall.user │ │ │ └── firewall.hotplug │ ├── services │ │ ├── ead │ │ │ └── src │ │ │ │ ├── tinysrp │ │ │ │ ├── stamp-h.in │ │ │ │ └── acconfig.h │ │ │ │ └── passwd │ │ ├── openvpn-easy-rsa │ │ │ └── files │ │ │ │ ├── easy-rsa.index │ │ │ │ └── easy-rsa.serial │ │ ├── openvpn │ │ │ ├── files │ │ │ │ └── openvpn.upgrade │ │ │ └── patches │ │ │ │ └── 110-musl_compat.patch │ │ ├── mdns │ │ │ └── files │ │ │ │ └── mdns.config │ │ ├── ppp │ │ │ ├── files │ │ │ │ ├── etc │ │ │ │ │ └── ppp │ │ │ │ │ │ ├── chap-secrets │ │ │ │ │ │ ├── radius │ │ │ │ │ │ ├── servers │ │ │ │ │ │ └── dictionary.asnet │ │ │ │ │ │ ├── options.pptp │ │ │ │ │ │ ├── options │ │ │ │ │ │ ├── radius.conf │ │ │ │ │ │ └── filter │ │ │ │ └── lib │ │ │ │ │ └── netifd │ │ │ │ │ └── ppp-down │ │ │ └── patches │ │ │ │ ├── 133-fix_sha1_include.patch │ │ │ │ ├── 510-pptp_compile_fix.patch │ │ │ │ └── 130-no_cdefs_h.patch │ │ ├── relayd │ │ │ └── files │ │ │ │ └── relay.hotplug │ │ ├── dnsmasq │ │ │ └── files │ │ │ │ └── dnsmasq.hotplug │ │ ├── samba36 │ │ │ ├── files │ │ │ │ └── samba.config │ │ │ └── patches │ │ │ │ └── 300-assert_debug_level.patch │ │ ├── uhttpd │ │ │ └── files │ │ │ │ └── ubus.default │ │ ├── dropbear │ │ │ ├── files │ │ │ │ └── dropbear.config │ │ │ └── patches │ │ │ │ ├── 500-set-default-path.patch │ │ │ │ └── 150-dbconvert_standalone.patch │ │ ├── odhcpd │ │ │ └── files │ │ │ │ ├── odhcpd-update │ │ │ │ ├── odhcpd.init │ │ │ │ └── odhcpd.defaults │ │ ├── hostapd │ │ │ ├── files │ │ │ │ └── wps-hotplug.sh │ │ │ └── patches │ │ │ │ ├── 420-fix_wps_pin_crash.patch │ │ │ │ ├── 110-bool_fix.patch │ │ │ │ ├── 471-wpa_cli_ifdef.patch │ │ │ │ └── 310-rescan_immediately.patch │ │ ├── igmpproxy │ │ │ ├── files │ │ │ │ └── igmpproxy.config │ │ │ └── patches │ │ │ │ └── 010-missing_include.patch │ │ └── lldpd │ │ │ ├── files │ │ │ └── lldpd.config │ │ │ └── patches │ │ │ └── 002-no-stack-protector.patch │ ├── ipv6 │ │ └── 6rd │ │ │ └── src │ │ │ └── Makefile │ └── utils │ │ ├── iproute2 │ │ └── patches │ │ │ ├── 001-config.patch │ │ │ ├── 120-libnetlink-pic.patch │ │ │ ├── 007-no_arpd.patch │ │ │ ├── 100-allow_pfifo_fast.patch │ │ │ ├── 110-extra-ccopts.patch │ │ │ └── 008-no_netem.patch │ │ ├── iptables │ │ └── patches │ │ │ └── 100-bash-location.patch │ │ ├── maccalc │ │ └── src │ │ │ └── Makefile │ │ ├── comgt │ │ └── files │ │ │ ├── getcardinfo.gcom │ │ │ ├── getstrength.gcom │ │ │ ├── 3g.chat │ │ │ ├── getimsi.gcom │ │ │ ├── directip-stop.gcom │ │ │ ├── getcnum.gcom │ │ │ ├── getcarrier.gcom │ │ │ └── evdo.chat │ │ ├── curl │ │ └── patches │ │ │ └── 100-check_long_long.patch │ │ ├── conntrack-tools │ │ └── patches │ │ │ └── 100-compile_fix.patch │ │ ├── iputils │ │ └── patches │ │ │ └── 011-ping6_use_gnu_source.patch │ │ ├── xtables-addons │ │ ├── patches │ │ │ ├── 001-no_depmod.patch │ │ │ ├── 004-fix-kernel-3.14.patch │ │ │ └── 003-fix-kernel-3.9.patch │ │ └── patches-1.x │ │ │ └── 001-no_depmod.patch │ │ └── wireless-tools │ │ └── patches │ │ └── 002-fix-iwconfig-power-argument-parsing.patch ├── kernel │ ├── trelay │ │ ├── src │ │ │ └── Makefile │ │ └── files │ │ │ ├── trelay.config │ │ │ └── trelay.hotplug │ ├── avila-wdt │ │ └── src │ │ │ └── Makefile │ ├── spi-ks8995 │ │ └── src │ │ │ ├── Makefile │ │ │ └── Kconfig │ ├── wrt55agv2-spidevs │ │ └── src │ │ │ ├── Makefile │ │ │ └── Kconfig │ ├── gpio-button-hotplug │ │ └── src │ │ │ └── Makefile │ ├── button-hotplug │ │ └── src │ │ │ ├── Makefile │ │ │ └── Kconfig │ ├── i2c-gpio-custom │ │ └── src │ │ │ ├── Makefile │ │ │ └── Kconfig │ ├── spi-gpio-custom │ │ └── src │ │ │ └── Makefile │ ├── w1-gpio-custom │ │ └── src │ │ │ ├── Makefile │ │ │ └── Kconfig │ ├── rotary-gpio-custom │ │ └── src │ │ │ ├── Makefile │ │ │ └── Kconfig │ ├── lantiq │ │ ├── ltq-hcd │ │ │ └── src │ │ │ │ ├── ifxusb_version.h │ │ │ │ └── ifxhcd_intr.c │ │ ├── ltq-adsl │ │ │ └── Config.in │ │ └── ltq-vdsl-fw │ │ │ └── src │ │ │ └── Makefile │ ├── mmc_over_gpio │ │ └── files │ │ │ └── mmc_over_gpio.config │ ├── mac80211 │ │ └── patches │ │ │ ├── 040-brcmutil_option.patch │ │ │ ├── 070-add-missing-header.patch │ │ │ ├── 010-disable_rfkill.patch │ │ │ ├── 200-ath5k_pci_dependency.patch │ │ │ ├── 540-ath9k_reduce_ani_interval.patch │ │ │ ├── 310-ap_scan.patch │ │ │ └── 410-ath9k_allow_adhoc_and_ap.patch │ ├── om-watchdog │ │ └── files │ │ │ └── om-watchdog │ ├── broadcom-wl │ │ └── patches │ │ │ ├── 011-fix_compile_3_4.patch │ │ │ ├── 015-support-probe-of-wds-interfaces.patch │ │ │ ├── 913-avoid-dbe-on-ifs_ctl-readw-hack.patch │ │ │ ├── 110-add_number_to_dev_name.patch │ │ │ ├── 013-interface-name.patch │ │ │ └── 010-remove_irqf_samble_random.patch │ └── ep80579-drivers │ │ └── patches │ │ ├── 210-can_include_linux_fs_h.patch │ │ ├── 200-can_fix_ioctl_numbers.patch │ │ └── 701-iegbe_poll_dev.patch ├── system │ ├── fstools │ │ └── files │ │ │ ├── mount.hotplug │ │ │ ├── fstab.default │ │ │ └── fstab.init │ ├── mountd │ │ ├── files │ │ │ ├── mountd.config │ │ │ └── mountd.init │ │ └── patches │ │ │ ├── 050-no_error_h.patch │ │ │ └── 040-optional-daemonize.patch │ ├── opkg │ │ ├── files │ │ │ ├── opkg.conf │ │ │ └── opkg-smime.conf │ │ └── patches │ │ │ ├── 011-old-config-location.patch │ │ │ ├── 030-fix-double-free.patch │ │ │ └── 080-suppress-blank-package-fields.patch │ ├── rpcd │ │ └── files │ │ │ ├── rpcd.config │ │ │ └── rpcd.init │ ├── ubox │ │ └── patches │ │ │ └── 100-insmod-segfault.patch │ ├── mtd │ │ └── src │ │ │ ├── fis.h │ │ │ └── Makefile │ ├── procd │ │ └── files │ │ │ └── hotplug-preinit.json │ └── udev │ │ └── patches │ │ └── 0003-add_btn_trigger_happy_define.patch ├── devel │ ├── valgrind │ │ ├── src │ │ │ └── abort.c │ │ └── patches │ │ │ ├── 120-no_linux_ptrace_h.patch │ │ │ └── 100-fix_configure_check.patch │ └── oprofile │ │ └── patches │ │ └── 100-use_insmod_instead_of_modprobe.patch ├── utils │ ├── usbmode │ │ └── files │ │ │ ├── usbmode.hotplug │ │ │ └── usbmode.init │ ├── ugps │ │ └── files │ │ │ └── gps.config │ ├── e2fsprogs │ │ ├── files │ │ │ └── e2fsck.conf │ │ └── patches │ │ │ ├── 002-no_malloc_h.patch │ │ │ └── 003-com_err_version.patch │ ├── busybox │ │ ├── patches │ │ │ ├── 100-trylink_bash.patch │ │ │ ├── 101-gen_build_files_bash.patch │ │ │ ├── 001-resource_h_include.patch │ │ │ ├── 130-mconf_missing_sigwinch.patch │ │ │ ├── 240-telnetd_intr.patch │ │ │ ├── 260-arping_missing_includes.patch │ │ │ ├── 002-upstream_ash_fix.patch │ │ │ └── 203-udhcpc_renew_no_deconfig.patch │ │ └── convert_defaults.pl │ ├── robocfg │ │ └── src │ │ │ └── Makefile │ ├── fbtest │ │ └── src │ │ │ └── Makefile │ ├── px5g-standalone │ │ └── src │ │ │ └── Makefile │ ├── lua │ │ ├── patches │ │ │ ├── 015-lnum-ppc-compat.patch │ │ │ └── 011-lnum-use-double.patch │ │ └── patches-host │ │ │ ├── 015-lnum-ppc-compat.patch │ │ │ └── 011-lnum-use-double.patch │ └── mdadm │ │ └── patches │ │ └── 000-compile.patch ├── boot │ ├── uboot-ar71xx │ │ ├── files │ │ │ └── board │ │ │ │ └── zyxel │ │ │ │ └── nbg460n │ │ │ │ └── config.mk │ │ └── patches │ │ │ └── 020-freebsd-compat.patch │ ├── rbcfg │ │ └── src │ │ │ └── Makefile │ ├── uboot-sunxi │ │ └── uEnv.txt │ ├── uboot-envtools │ │ ├── patches │ │ │ ├── 100-fw_env_gnu_source.patch │ │ │ └── 001-compile.patch │ │ └── Config.in │ ├── uboot-imx6 │ │ └── patches │ │ │ └── 100-wandboard-enable-fit.patch │ ├── yamonenv │ │ └── patches │ │ │ └── 001-yamonenv_mtd_partition.patch │ ├── uboot-lantiq │ │ └── README │ └── uboot-omap │ │ └── patches │ │ └── 001-switch_omap4_ext4.patch └── libs │ ├── openssl │ └── patches │ │ ├── 170-bash_path.patch │ │ └── 140-makefile-dirs.patch │ ├── toolchain │ └── eglibc-files │ │ └── etc │ │ └── nsswitch.conf │ ├── libnl-tiny │ ├── files │ │ └── libnl-tiny.pc │ └── src │ │ └── Makefile │ ├── gettext │ └── src │ │ └── LICENSE │ ├── libpcap │ ├── patches │ │ ├── 203-undef_iw_mode_monitor.patch │ │ └── 103-makefile_flex_workaround.patch │ └── Config.in │ ├── libiconv │ └── src │ │ └── LICENSE │ ├── polarssl │ └── patches │ │ ├── 100-disable_sslv3.patch │ │ └── 300-CVE-2015-1182.patch │ ├── nettle │ └── Config.in │ ├── ncurses │ └── patches │ │ └── 200-fix_missing_include.patch │ ├── gettext-full │ └── patches │ │ └── 100-error_progname.patch │ ├── libnfnetlink │ └── patches │ │ └── 100-missing_include.patch │ ├── cyassl │ └── patches │ │ └── 100-respect_cflags.patch │ └── uclibc++ │ └── patches │ └── 002-path_to_bash.patch ├── scripts ├── md5sum ├── config │ ├── lxdialog │ │ └── .gitignore │ ├── README │ └── .gitignore ├── freebsd.sh ├── clang-gcc-wrapper └── relink-lib.sh ├── include ├── site │ ├── linux-gnu │ ├── linux-uclibc │ ├── mips-linux-gnu │ ├── mipsel-linux-gnu │ ├── sparc-linux-gnu │ ├── arm-openwrt-linux-gnu │ ├── arm-openwrt-linux-gnueabi │ ├── arm-openwrt-linux-musl │ ├── armeb-openwrt-linux-gnu │ ├── avr32-openwrt-linux-gnu │ ├── cris-openwrt-linux-gnu │ ├── i486-openwrt-linux-gnu │ ├── i686-openwrt-linux-gnu │ ├── m68k-openwrt-linux-gnu │ ├── mips-openwrt-linux-gnu │ ├── sparc-openwrt-linux-gnu │ ├── sparc-openwrt-linux-uclibc │ ├── arm-openwrt-linux-uclibc │ ├── armeb-openwrt-linux-gnueabi │ ├── armeb-openwrt-linux-musl │ ├── cris-openwrt-linux-uclibc │ ├── i486-openwrt-linux-musl │ ├── i486-openwrt-linux-uclibc │ ├── i686-openwrt-linux-musl │ ├── i686-openwrt-linux-uclibc │ ├── m68k-openwrt-linux-uclibc │ ├── mips-openwrt-linux-musl │ ├── mips-openwrt-linux-uclibc │ ├── mips64-openwrt-linux-gnu │ ├── mips64el-openwrt-linux-gnu │ ├── mipsel-openwrt-linux-gnu │ ├── powerpc-openwrt-linux-gnu │ ├── x86_64-openwrt-linux-gnu │ ├── arm-openwrt-linux-muslgnueabi │ ├── arm-openwrt-linux-uclibcgnueabi │ ├── armeb-openwrt-linux-uclibc │ ├── avr32-openwrt-linux-uclibc │ ├── mips64-openwrt-linux-uclibc │ ├── mips64el-openwrt-linux-uclibc │ ├── mipsel-openwrt-linux-musl │ ├── mipsel-openwrt-linux-uclibc │ ├── powerpc-openwrt-linux-gnuspe │ ├── powerpc-openwrt-linux-musl │ ├── powerpc-openwrt-linux-uclibc │ ├── x86_64-openwrt-linux-musl │ ├── x86_64-openwrt-linux-uclibc │ ├── armeb-openwrt-linux-muslgnueabi │ ├── armeb-openwrt-linux-uclibcgnueabi │ ├── powerpc-openwrt-linux-uclibcspe │ └── mipsel-openwrt-linux2.4-uclibc ├── device_table.txt └── uclibc++.mk ├── toolchain ├── musl │ ├── include │ │ └── bits │ │ │ └── wordsize.h │ ├── Config.version │ ├── Config.in │ ├── patches │ │ └── 100-add_glob_onlydir.patch │ └── headers │ │ └── Makefile ├── gcc │ ├── files │ │ └── alternate-arch-cc.in │ └── patches │ │ ├── 4.4.7 │ │ ├── 302-c99-snprintf.patch │ │ └── 999-coldfire.patch │ │ ├── 4.6-linaro │ │ ├── 302-c99-snprintf.patch │ │ └── 900-bad-mips16-crt │ │ ├── 4.8.0 │ │ └── 900-bad-mips16-crt.patch │ │ └── 4.8-linaro │ │ └── 900-bad-mips16-crt.patch ├── eglibc │ ├── include │ │ └── libintl.h │ └── patches │ │ ├── 2.15 │ │ └── 200-add-dl-search-paths.patch │ │ └── 2.19 │ │ └── 200-add-dl-search-paths.patch ├── info.mk ├── uClibc │ ├── config-0.9.33.2 │ │ ├── debug │ │ ├── m68k │ │ ├── powerpc │ │ ├── x86_64 │ │ ├── powerpc.e500 │ │ ├── arm │ │ ├── armeb │ │ ├── cris │ │ ├── sparc │ │ ├── sparc.leon │ │ └── avr32 │ ├── Config.version │ └── patches-0.9.33.2 │ │ ├── 410-llvm_workaround.patch │ │ ├── 200-no_forced_unwind.patch │ │ ├── 137-inet_fix_threaded_res_init.patch │ │ ├── 210-mips_use_pic_crt1.patch │ │ ├── 131-inet-fix-__read_etc_hosts_r-segfault.patch │ │ ├── 132-inet_fix_res_init.patch │ │ ├── 120-adjtimex.patch │ │ └── 140-avr32_atomic_fix.patch └── binutils │ └── patches │ ├── 2.20.1 │ └── 111-pr7093.elf32-arm.c.patch │ ├── 2.22 │ ├── 200-musl.patch │ └── 400-fix_arm_gc_sections.patch │ └── 2.23.1 │ └── 200-musl.patch ├── tools ├── mtd-utils │ ├── include │ │ ├── fls.h │ │ └── linux │ │ │ └── types.h │ └── patches │ │ └── 131-fix_lib_compile.patch ├── ccache │ └── files │ │ ├── ccache_cc │ │ └── ccache_cxx ├── automake │ ├── files │ │ └── aclocal │ └── patches │ │ └── 100-aclocal-skip-not-existing-directories.patch ├── include │ └── byteswap.h ├── pkg-config │ └── files │ │ └── pkg-config ├── squashfs4 │ └── patches │ │ └── 150-freebsd_fixes.patch ├── lzma-old │ └── patches │ │ └── 110-ranlib.patch ├── b43-tools │ └── patches │ │ ├── 002-no_libfl.patch │ │ └── 001-fw-dirname.patch ├── mkimage │ └── patches │ │ ├── 010-freebsd-ulong-fix.patch │ │ └── 040-include_order.patch ├── padjffs2 │ └── src │ │ └── Makefile ├── elftosb │ └── patches │ │ └── 001-libm.patch ├── mklibs │ └── patches │ │ ├── 011-remove_multiarch.patch │ │ └── 001-compile.patch ├── e2fsprogs │ └── patches │ │ └── 002-dont-build-e4defrag.patch ├── ipkg-utils │ └── patches │ │ ├── 111-buildpackage_conffiles.patch │ │ └── 140-portability.patch ├── missing-macros │ └── src │ │ └── m4 │ │ └── fake-intltool.m4 └── scons │ ├── files │ └── pywrap.sh │ └── patches │ └── 001-platform_env.patch ├── target ├── linux │ ├── x86 │ │ ├── image │ │ │ ├── grub-early.cfg │ │ │ ├── olpc.fth │ │ │ ├── grub-iso.cfg │ │ │ ├── mkimg_sitecom.pl │ │ │ └── grub.cfg │ │ ├── olpc │ │ │ ├── target.mk │ │ │ └── base-files │ │ │ │ └── lib │ │ │ │ └── preinit │ │ │ │ └── 15_essential_fs_x86 │ │ ├── kvm_guest │ │ │ └── target.mk │ │ ├── xen_domu │ │ │ ├── target.mk │ │ │ └── base-files │ │ │ │ ├── etc │ │ │ │ └── inittab │ │ │ │ └── lib │ │ │ │ └── preinit │ │ │ │ └── 45_mount_xenfs │ │ ├── generic │ │ │ └── target.mk │ │ ├── base-files │ │ │ ├── etc │ │ │ │ ├── inittab │ │ │ │ ├── defconfig │ │ │ │ │ └── net4826 │ │ │ │ │ │ └── network │ │ │ │ └── init.d │ │ │ │ │ └── defconfig │ │ │ └── lib │ │ │ │ ├── preinit │ │ │ │ ├── 20_check_iso │ │ │ │ └── 15_essential_fs_x86 │ │ │ │ └── soekris.sh │ │ ├── base-files.mk │ │ ├── thincan │ │ │ ├── base-files │ │ │ │ └── etc │ │ │ │ │ └── init.d │ │ │ │ │ └── alsa │ │ │ └── config-3.10 │ │ ├── alix2 │ │ │ └── base-files │ │ │ │ └── etc │ │ │ │ └── hotplug.d │ │ │ │ └── button │ │ │ │ └── 50-reboot │ │ ├── geos │ │ │ └── base-files │ │ │ │ └── etc │ │ │ │ └── hotplug.d │ │ │ │ └── button │ │ │ │ └── 50-reboot │ │ ├── net5501 │ │ │ └── base-files │ │ │ │ └── etc │ │ │ │ ├── hotplug.d │ │ │ │ └── button │ │ │ │ │ └── 50-reboot │ │ │ │ └── config │ │ │ │ └── system │ │ ├── rdc │ │ │ ├── base-files │ │ │ │ ├── etc │ │ │ │ │ └── diag.sh │ │ │ │ └── lib │ │ │ │ │ └── upgrade │ │ │ │ │ └── platform.sh │ │ │ └── profiles │ │ │ │ ├── ar525w.mk │ │ │ │ ├── sitecom.mk │ │ │ │ └── bifferboard.mk │ │ └── patches-3.10 │ │ │ ├── 009-rdc321x_select_embedded.patch │ │ │ ├── 150-pit-tick-rate.patch │ │ │ └── 120-panic_on_unrecovered_nmi.patch │ ├── ar71xx │ │ ├── generic │ │ │ ├── config-default │ │ │ ├── target.mk │ │ │ └── profiles │ │ │ │ ├── nclink.mk │ │ │ │ ├── rosewill.mk │ │ │ │ ├── senao.mk │ │ │ │ ├── gl-connect.mk │ │ │ │ ├── oolite.mk │ │ │ │ ├── 01-minimal.mk │ │ │ │ └── atlantis.mk │ │ ├── base-files.mk │ │ ├── base-files │ │ │ ├── etc │ │ │ │ ├── inittab │ │ │ │ └── uci-defaults │ │ │ │ │ ├── 09_fix-trx-header │ │ │ │ │ ├── 09_fix-seama-header │ │ │ │ │ └── 03_network-vlan-migration │ │ │ └── lib │ │ │ │ └── preinit │ │ │ │ └── 03_preinit_do_ar71xx.sh │ │ ├── image │ │ │ └── lzma-loader │ │ │ │ └── src │ │ │ │ ├── lzma-data.lds │ │ │ │ └── loader2.lds │ │ ├── files │ │ │ ├── arch │ │ │ │ └── mips │ │ │ │ │ └── ath79 │ │ │ │ │ └── pci-ath9k-fixup.h │ │ │ ├── include │ │ │ │ └── linux │ │ │ │ │ └── platform_data │ │ │ │ │ └── gpio-latch.h │ │ │ └── drivers │ │ │ │ └── net │ │ │ │ └── ethernet │ │ │ │ └── atheros │ │ │ │ └── ag71xx │ │ │ │ └── Makefile │ │ ├── nand │ │ │ ├── target.mk │ │ │ └── profiles │ │ │ │ └── zyxel.mk │ │ ├── mikrotik │ │ │ ├── target.mk │ │ │ └── profiles │ │ │ │ ├── 01-minimal.mk │ │ │ │ └── 02-ath5k.mk │ │ └── patches-3.10 │ │ │ ├── 509-MIPS-ath79-process-board-kernel-option.patch │ │ │ ├── 430-drivers-link-spi-before-mtd.patch │ │ │ ├── 412-mtd-m25p80-zero-partition-parser-data.patch │ │ │ └── 510-MIPS-ath79-init-gpio-pin-of-wmac-device.patch │ ├── imx6 │ │ ├── base-files.mk │ │ ├── patches-3.10 │ │ │ └── 100-bootargs.patch │ │ ├── image │ │ │ └── ubinize.cfg │ │ ├── base-files │ │ │ └── lib │ │ │ │ └── upgrade │ │ │ │ └── platform.sh │ │ └── profiles │ │ │ └── 110-wandboard.mk │ ├── generic │ │ ├── base-files │ │ │ └── init │ │ ├── files │ │ │ ├── arch │ │ │ │ └── mips │ │ │ │ │ └── fw │ │ │ │ │ └── myloader │ │ │ │ │ └── Makefile │ │ │ ├── crypto │ │ │ │ └── ocf │ │ │ │ │ ├── kirkwood │ │ │ │ │ ├── mvHal │ │ │ │ │ │ ├── mv_hal │ │ │ │ │ │ │ ├── pci │ │ │ │ │ │ │ │ ├── mvPciRegs.h │ │ │ │ │ │ │ │ └── mvCompVer.txt │ │ │ │ │ │ │ ├── ddr1_2 │ │ │ │ │ │ │ │ ├── mvDramIfConfig.S │ │ │ │ │ │ │ │ └── mvCompVer.txt │ │ │ │ │ │ │ ├── ddr2 │ │ │ │ │ │ │ │ └── mvCompVer.txt │ │ │ │ │ │ │ ├── eth │ │ │ │ │ │ │ │ └── mvCompVer.txt │ │ │ │ │ │ │ ├── gpp │ │ │ │ │ │ │ │ └── mvCompVer.txt │ │ │ │ │ │ │ ├── pex │ │ │ │ │ │ │ │ └── mvCompVer.txt │ │ │ │ │ │ │ ├── spi │ │ │ │ │ │ │ │ └── mvCompVer.txt │ │ │ │ │ │ │ ├── twsi │ │ │ │ │ │ │ │ └── mvCompVer.txt │ │ │ │ │ │ │ ├── cntmr │ │ │ │ │ │ │ │ └── mvCompVer.txt │ │ │ │ │ │ │ ├── pci-if │ │ │ │ │ │ │ │ └── mvCompVer.txt │ │ │ │ │ │ │ └── sflash │ │ │ │ │ │ │ │ └── mvCompVer.txt │ │ │ │ │ │ ├── common │ │ │ │ │ │ │ └── mvCompVer.txt │ │ │ │ │ │ └── kw_family │ │ │ │ │ │ │ ├── mvCompVer.txt │ │ │ │ │ │ │ └── ctrlEnv │ │ │ │ │ │ │ └── sys │ │ │ │ │ │ │ └── mvAhbToMbusRegs.h │ │ │ │ │ └── cesa │ │ │ │ │ │ └── mvCompVer.txt │ │ │ │ │ ├── ocfnull │ │ │ │ │ └── Makefile │ │ │ │ │ ├── safe │ │ │ │ │ └── Makefile │ │ │ │ │ ├── c7108 │ │ │ │ │ └── Makefile │ │ │ │ │ ├── pasemi │ │ │ │ │ └── Makefile │ │ │ │ │ ├── talitos │ │ │ │ │ └── Makefile │ │ │ │ │ ├── ubsec_ssb │ │ │ │ │ └── Makefile │ │ │ │ │ ├── hifn │ │ │ │ │ └── Makefile │ │ │ │ │ └── cryptocteon │ │ │ │ │ ├── README.txt │ │ │ │ │ └── Makefile │ │ │ ├── fs │ │ │ │ └── yaffs2 │ │ │ │ │ └── NOTE.openwrt │ │ │ └── drivers │ │ │ │ └── net │ │ │ │ └── phy │ │ │ │ └── b53 │ │ │ │ └── Makefile │ │ ├── image │ │ │ ├── initramfs-base-files.txt │ │ │ ├── Makefile │ │ │ └── lzma-loader │ │ │ │ └── src │ │ │ │ ├── lzma-copy.lds.in │ │ │ │ └── lzma.lds.in │ │ └── patches-3.10 │ │ │ ├── 252-mv_cesa_depends.patch │ │ │ ├── 322-ppc4xx-crypto-compile-fix.patch │ │ │ ├── 996-zsmalloc_allow_module_build.patch │ │ │ ├── 661-fq_codel_keep_dropped_stats.patch │ │ │ ├── 258-netfilter_netlink_kconfig_hack.patch │ │ │ ├── 061-arm_xz_decompressor_build_fix.patch │ │ │ ├── 651-wireless_mesh_header.patch │ │ │ ├── 616-net_optimize_xfrm_calls.patch │ │ │ ├── 641-bridge_always_accept_eap.patch │ │ │ ├── 451-mtd-nand-fix-return-code-of-nand_correct_data-function.patch │ │ │ ├── 321-powerpc_crtsavres_prereq.patch │ │ │ ├── 732-phy-ar8216-led-support.patch │ │ │ ├── 310-arm_module_unresolved_weak_sym.patch │ │ │ └── 655-increase_skb_pad.patch │ ├── avr32 │ │ ├── base-files.mk │ │ ├── image │ │ │ ├── u-boot │ │ │ │ └── patches │ │ │ │ │ └── 100-ngw100_enable_lzma_support.patch │ │ │ └── Config.in │ │ ├── base-files │ │ │ └── etc │ │ │ │ ├── diag.sh │ │ │ │ └── uci-defaults │ │ │ │ └── 02_network │ │ └── patches-3.10 │ │ │ └── 110-openwrt_flashmap.patch │ ├── brcm47xx │ │ ├── base-files.mk │ │ ├── base-files │ │ │ ├── etc │ │ │ │ └── uci-defaults │ │ │ │ │ └── 09_fix_crc │ │ │ └── lib │ │ │ │ └── upgrade │ │ │ │ └── platform.sh │ │ ├── legacy │ │ │ ├── target.mk │ │ │ └── config-default │ │ ├── generic │ │ │ └── target.mk │ │ ├── mips74k │ │ │ └── target.mk │ │ ├── image │ │ │ └── lzma-loader │ │ │ │ └── src │ │ │ │ ├── loader.lds.in │ │ │ │ └── decompress.lds.in │ │ └── patches-3.10 │ │ │ └── 610-pci_ide_fix.patch │ ├── brcm63xx │ │ ├── base-files.mk │ │ ├── base-files │ │ │ ├── lib │ │ │ │ ├── preinit │ │ │ │ │ ├── 03_do_brcm63xx.sh │ │ │ │ │ ├── 05_init_interfaces_brcm63xx │ │ │ │ │ ├── 20_failsafe_net_echo_brcm63xx │ │ │ │ │ └── 05_failsafe_config_switch_brcm63xx │ │ │ │ └── upgrade │ │ │ │ │ └── platform.sh │ │ │ └── etc │ │ │ │ └── diag.sh │ │ ├── generic │ │ │ ├── target.mk │ │ │ └── profiles │ │ │ │ └── 103-Ralink.mk │ │ ├── smp │ │ │ ├── target.mk │ │ │ ├── config-default │ │ │ └── profiles │ │ │ │ ├── 103-Ralink.mk │ │ │ │ └── 104-No-WiFi.mk │ │ ├── image │ │ │ └── lzma-loader │ │ │ │ └── src │ │ │ │ ├── loader.lds.in │ │ │ │ └── decompress.lds.in │ │ └── patches-3.10 │ │ │ ├── 351-set-board-usbh-ports.patch │ │ │ └── 517-RTA1205W_16_uart_fixes.patch │ ├── brcm2708 │ │ ├── image │ │ │ ├── cmdline.txt │ │ │ └── Config.in │ │ ├── base-files │ │ │ └── etc │ │ │ │ ├── inittab │ │ │ │ └── uci-defaults │ │ │ │ └── 02_network │ │ ├── patches-3.10 │ │ │ └── 0028-Add-non-mainline-source-for-rtl8192cu-wireless-drive.patch │ │ └── profiles │ │ │ └── 100-RaspberryPi.mk │ ├── atheros │ │ └── base-files │ │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 01_leds │ └── Makefile ├── sdk │ ├── files │ │ ├── Config.in │ │ └── README.SDK │ └── Config.in ├── toolchain │ ├── files │ │ └── README.TOOLCHAIN │ └── Config.in └── imagebuilder │ ├── files │ └── repositories.conf │ └── Config.in ├── docs ├── .gitignore └── openwrt.sty ├── BSDmakefile └── .gitignore /intelliroot/.gitattributes: -------------------------------------------------------------------------------- 1 | * -text 2 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/etc/openwrt_version: -------------------------------------------------------------------------------- 1 | %V 2 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/etc/shells: -------------------------------------------------------------------------------- 1 | /bin/ash 2 | -------------------------------------------------------------------------------- /intelliroot/package/network/config/netifd/files/sbin/ifdown: -------------------------------------------------------------------------------- 1 | ifup -------------------------------------------------------------------------------- /intelliroot/scripts/md5sum: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cat "$@" | md5 3 | -------------------------------------------------------------------------------- /intelliroot/include/site/linux-gnu: -------------------------------------------------------------------------------- 1 | . $TOPDIR/include/site/linux 2 | -------------------------------------------------------------------------------- /intelliroot/scripts/config/lxdialog/.gitignore: -------------------------------------------------------------------------------- 1 | lxdialog 2 | *.o 3 | -------------------------------------------------------------------------------- /intelliroot/include/site/linux-uclibc: -------------------------------------------------------------------------------- 1 | . $TOPDIR/include/site/linux 2 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/etc/hosts: -------------------------------------------------------------------------------- 1 | 127.0.0.1 localhost 2 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/trelay/src/Makefile: -------------------------------------------------------------------------------- 1 | obj-m := trelay.o 2 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/avila-wdt/src/Makefile: -------------------------------------------------------------------------------- 1 | obj-m := avila-wdt.o 2 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/ead/src/tinysrp/stamp-h.in: -------------------------------------------------------------------------------- 1 | timestamp 2 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/openvpn-easy-rsa/files/easy-rsa.index: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /intelliroot/package/system/fstools/files/mount.hotplug: -------------------------------------------------------------------------------- 1 | /sbin/block hotplug 2 | -------------------------------------------------------------------------------- /intelliroot/toolchain/musl/include/bits/wordsize.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /intelliroot/package/devel/valgrind/src/abort.c: -------------------------------------------------------------------------------- 1 | void abort(void) 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/openvpn-easy-rsa/files/easy-rsa.serial: -------------------------------------------------------------------------------- 1 | 01 2 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/openvpn/files/openvpn.upgrade: -------------------------------------------------------------------------------- 1 | /etc/openvpn/ 2 | -------------------------------------------------------------------------------- /intelliroot/package/utils/usbmode/files/usbmode.hotplug: -------------------------------------------------------------------------------- 1 | /etc/init.d/usbmode start 2 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/sbin/firstboot: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | /sbin/jffs2reset 4 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/spi-ks8995/src/Makefile: -------------------------------------------------------------------------------- 1 | obj-${CONFIG_SPI_KS8995} += spi_ks8995.o -------------------------------------------------------------------------------- /intelliroot/package/kernel/wrt55agv2-spidevs/src/Makefile: -------------------------------------------------------------------------------- 1 | obj-m += wrt55agv2_spidevs.o 2 | -------------------------------------------------------------------------------- /intelliroot/package/utils/ugps/files/gps.config: -------------------------------------------------------------------------------- 1 | config gps 2 | option 'tty' 'ttyACM0' 3 | -------------------------------------------------------------------------------- /intelliroot/tools/mtd-utils/include/fls.h: -------------------------------------------------------------------------------- 1 | #include 2 | #define fls local_fls 3 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/gpio-button-hotplug/src/Makefile: -------------------------------------------------------------------------------- 1 | obj-m += gpio-button-hotplug.o 2 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/mdns/files/mdns.config: -------------------------------------------------------------------------------- 1 | config mdns 2 | list network lan 3 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/image/grub-early.cfg: -------------------------------------------------------------------------------- 1 | configfile (hd0,msdos1)/boot/grub/grub.cfg 2 | -------------------------------------------------------------------------------- /intelliroot/tools/ccache/files/ccache_cc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ccache "${TARGET_CC_NOCACHE}" "$@" 3 | -------------------------------------------------------------------------------- /intelliroot/package/boot/uboot-ar71xx/files/board/zyxel/nbg460n/config.mk: -------------------------------------------------------------------------------- 1 | TEXT_BASE = 0x81E00000 2 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/button-hotplug/src/Makefile: -------------------------------------------------------------------------------- 1 | obj-${CONFIG_BUTTON_HOTPLUG} += button-hotplug.o -------------------------------------------------------------------------------- /intelliroot/package/utils/e2fsprogs/files/e2fsck.conf: -------------------------------------------------------------------------------- 1 | [options] 2 | broken_system_clock = true 3 | 4 | -------------------------------------------------------------------------------- /intelliroot/target/sdk/files/Config.in: -------------------------------------------------------------------------------- 1 | source "Config-build.in" 2 | source "tmp/.config-package.in" 3 | -------------------------------------------------------------------------------- /intelliroot/tools/automake/files/aclocal: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | aclocal.real $ACLOCAL_INCLUDE $@ 3 | -------------------------------------------------------------------------------- /intelliroot/tools/ccache/files/ccache_cxx: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ccache "${TARGET_CXX_NOCACHE}" "$@" 3 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/i2c-gpio-custom/src/Makefile: -------------------------------------------------------------------------------- 1 | obj-${CONFIG_I2C_GPIO_CUSTOM} += i2c-gpio-custom.o -------------------------------------------------------------------------------- /intelliroot/package/kernel/spi-gpio-custom/src/Makefile: -------------------------------------------------------------------------------- 1 | obj-${CONFIG_SPI_GPIO_CUSTOM} += spi-gpio-custom.o -------------------------------------------------------------------------------- /intelliroot/package/kernel/w1-gpio-custom/src/Makefile: -------------------------------------------------------------------------------- 1 | obj-${CONFIG_W1_MASTER_GPIO_CUSTOM} += w1-gpio-custom.o -------------------------------------------------------------------------------- /intelliroot/package/network/services/ppp/files/etc/ppp/chap-secrets: -------------------------------------------------------------------------------- 1 | #USERNAME PROVIDER PASSWORD IPADDRESS 2 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/ppp/files/etc/ppp/radius/servers: -------------------------------------------------------------------------------- 1 | # SERVER SECRET 2 | localhost secret 3 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/generic/config-default: -------------------------------------------------------------------------------- 1 | CONFIG_CMDLINE="rootfstype=squashfs,jffs2 noinitrd" 2 | -------------------------------------------------------------------------------- /intelliroot/toolchain/gcc/files/alternate-arch-cc.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec @CC_BASE@ @EXTRA_ARCH_OPTS@ "$@" 4 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/button-hotplug/src/Kconfig: -------------------------------------------------------------------------------- 1 | config BUTTON_HOTPLUG 2 | tristate "Button Hotplug driver" 3 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/rotary-gpio-custom/src/Makefile: -------------------------------------------------------------------------------- 1 | obj-${CONFIG_ROTARY_GPIO_CUSTOM} += rotary-gpio-custom.o 2 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/etc/device_info: -------------------------------------------------------------------------------- 1 | DEVICE_MANUFACTURER="%M" 2 | DEVICE_PRODUCT="%P" 3 | DEVICE_REVISION="%h" 4 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/etc/diag.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2006-2009 OpenWrt.org 3 | 4 | set_state() { :; } 5 | -------------------------------------------------------------------------------- /intelliroot/package/system/mountd/files/mountd.config: -------------------------------------------------------------------------------- 1 | config mountd mountd 2 | option timeout 60 3 | option path /tmp/mounts/ 4 | -------------------------------------------------------------------------------- /intelliroot/target/linux/imx6/base-files.mk: -------------------------------------------------------------------------------- 1 | define Package/base-files/install-target 2 | rm -f $(1)/etc/config/network 3 | endef 4 | -------------------------------------------------------------------------------- /intelliroot/include/site/mips-linux-gnu: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/mips-linux 4 | . $TOPDIR/include/site/linux-gnu 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/trelay/files/trelay.config: -------------------------------------------------------------------------------- 1 | config trelay 2 | option enabled 0 3 | option dev1 eth0 4 | option dev2 wlan0 5 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/relayd/files/relay.hotplug: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | /etc/init.d/relayd enabled && /etc/init.d/relayd start 3 | -------------------------------------------------------------------------------- /intelliroot/package/system/fstools/files/fstab.default: -------------------------------------------------------------------------------- 1 | [ ! -f /etc/config/fstab ] && ( block detect > /etc/config/fstab ) 2 | exit 0 3 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/base-files.mk: -------------------------------------------------------------------------------- 1 | define Package/base-files/install-target 2 | rm -f $(1)/etc/config/network 3 | endef 4 | -------------------------------------------------------------------------------- /intelliroot/target/toolchain/files/README.TOOLCHAIN: -------------------------------------------------------------------------------- 1 | This is the OpenWrt SDK. It contains just the toolchain created 2 | by buildroot. 3 | -------------------------------------------------------------------------------- /intelliroot/include/site/mipsel-linux-gnu: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/mipsel-linux 4 | . $TOPDIR/include/site/linux-gnu 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/sparc-linux-gnu: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/sparc-linux 4 | . $TOPDIR/include/site/linux-gnu 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/package/network/config/qos-scripts/files/usr/bin/qos-start: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | qos-stop 3 | /usr/lib/qos/generate.sh all | sh 4 | 5 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/base-files/init: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2006 OpenWrt.org 3 | export INITRAMFS=1 4 | exec /sbin/init 5 | -------------------------------------------------------------------------------- /intelliroot/include/site/arm-openwrt-linux-gnu: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/arm-linux 4 | . $TOPDIR/include/site/linux-gnu 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/arm-openwrt-linux-gnueabi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/arm-linux 4 | . $TOPDIR/include/site/linux-gnu 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/arm-openwrt-linux-musl: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/arm-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/armeb-openwrt-linux-gnu: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/armeb-linux 4 | . $TOPDIR/include/site/linux-gnu 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/avr32-openwrt-linux-gnu: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/avr32-linux 4 | . $TOPDIR/include/site/linux-gnu 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/cris-openwrt-linux-gnu: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/cris-linux 4 | . $TOPDIR/include/site/linux-gnu 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/i486-openwrt-linux-gnu: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/i486-linux 4 | . $TOPDIR/include/site/linux-gnu 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/i686-openwrt-linux-gnu: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/i686-linux 4 | . $TOPDIR/include/site/linux-gnu 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/m68k-openwrt-linux-gnu: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/m68k-linux 4 | . $TOPDIR/include/site/linux-gnu 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/mips-openwrt-linux-gnu: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/mips-linux 4 | . $TOPDIR/include/site/linux-gnu 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/sparc-openwrt-linux-gnu: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/sparc-linux 4 | . $TOPDIR/include/site/linux-gnu 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/sparc-openwrt-linux-uclibc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/sparc-linux 4 | . $TOPDIR/include/site/linux 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/etc/rc.button/failsafe: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | [ "${TYPE}" = "switch" ] || echo ${BUTTON} > /tmp/failsafe_button 4 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/etc/rc.button/power: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | [ "${ACTION}" = "released" ] || exit 0 4 | 5 | exec /sbin/poweroff 6 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/spi-ks8995/src/Kconfig: -------------------------------------------------------------------------------- 1 | config SPI_KS8995 2 | tristate "Micrel/Kendin KS8995 Ethernet switch" 3 | depends on SPI 4 | -------------------------------------------------------------------------------- /intelliroot/package/system/opkg/files/opkg.conf: -------------------------------------------------------------------------------- 1 | dest root / 2 | dest ram /tmp 3 | lists_dir ext /var/opkg-lists 4 | option overlay_root /overlay 5 | -------------------------------------------------------------------------------- /intelliroot/target/linux/avr32/base-files.mk: -------------------------------------------------------------------------------- 1 | define Package/base-files/install-target 2 | rm -f $(1)/etc/config/network 3 | endef 4 | 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm47xx/base-files.mk: -------------------------------------------------------------------------------- 1 | define Package/base-files/install-target 2 | rm -f $(1)/etc/config/network 3 | endef 4 | 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm63xx/base-files.mk: -------------------------------------------------------------------------------- 1 | define Package/base-files/install-target 2 | rm -f $(1)/etc/config/network 3 | endef 4 | 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/toolchain/eglibc/include/libintl.h: -------------------------------------------------------------------------------- 1 | #ifndef __FAKE_LIBINTL_H 2 | #define __FAKE_LIBINTL_H 3 | 4 | #define _(X) (X) 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /intelliroot/include/site/arm-openwrt-linux-uclibc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/arm-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/armeb-openwrt-linux-gnueabi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/armeb-linux 4 | . $TOPDIR/include/site/linux-gnu 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/armeb-openwrt-linux-musl: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/armeb-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/cris-openwrt-linux-uclibc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/cris-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/i486-openwrt-linux-musl: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/i486-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/i486-openwrt-linux-uclibc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/i486-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/i686-openwrt-linux-musl: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/i686-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/i686-openwrt-linux-uclibc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/i686-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/m68k-openwrt-linux-uclibc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/m68k-linux 4 | . $TOPDIR/include/site/linux-gnu 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/mips-openwrt-linux-musl: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/mips-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/mips-openwrt-linux-uclibc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/mips-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/mips64-openwrt-linux-gnu: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/mips64-linux 4 | . $TOPDIR/include/site/linux-gnu 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/mips64el-openwrt-linux-gnu: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/mips64-linux 4 | . $TOPDIR/include/site/linux-gnu 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/mipsel-openwrt-linux-gnu: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/mipsel-linux 4 | . $TOPDIR/include/site/linux-gnu 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/powerpc-openwrt-linux-gnu: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/powerpc-linux 4 | . $TOPDIR/include/site/linux-gnu 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/x86_64-openwrt-linux-gnu: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/x86_64-linux 4 | . $TOPDIR/include/site/linux-gnu 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/lantiq/ltq-hcd/src/ifxusb_version.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef IFXUSB_VERSION 3 | #define IFXUSB_VERSION "3.2 B110801" 4 | #endif 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/scripts/config/README: -------------------------------------------------------------------------------- 1 | These files were taken from the Linux 3.9 Kernel 2 | Configuration System and modified for the OpenWrt Buildroot. 3 | -------------------------------------------------------------------------------- /intelliroot/include/site/arm-openwrt-linux-muslgnueabi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/arm-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/arm-openwrt-linux-uclibcgnueabi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/arm-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/armeb-openwrt-linux-uclibc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/armeb-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/avr32-openwrt-linux-uclibc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/avr32-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/mips64-openwrt-linux-uclibc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/mips64-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/mips64el-openwrt-linux-uclibc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/mips64-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/mipsel-openwrt-linux-musl: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/mipsel-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/mipsel-openwrt-linux-uclibc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/mipsel-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/powerpc-openwrt-linux-gnuspe: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/powerpc-linux 4 | . $TOPDIR/include/site/linux-gnu 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/powerpc-openwrt-linux-musl: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/powerpc-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/powerpc-openwrt-linux-uclibc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/powerpc-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/x86_64-openwrt-linux-musl: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/x86_64-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/x86_64-openwrt-linux-uclibc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/x86_64-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/scripts/config/.gitignore: -------------------------------------------------------------------------------- 1 | *.o 2 | conf* 3 | !conf*.c 4 | !conf*.h 5 | mconf* 6 | !mconf*.c 7 | !mconf*.h 8 | mconf_check 9 | *.*.c 10 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/olpc/target.mk: -------------------------------------------------------------------------------- 1 | BOARDNAME:=OLPC XO-1 2 | DEFAULT_PACKAGES += kmod-natsemi kmod-ne2k-pci kmod-libertas 3 | FEATURES += broken 4 | -------------------------------------------------------------------------------- /intelliroot/include/site/armeb-openwrt-linux-muslgnueabi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/armeb-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/armeb-openwrt-linux-uclibcgnueabi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/armeb-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/include/site/powerpc-openwrt-linux-uclibcspe: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/powerpc-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/etc/inittab: -------------------------------------------------------------------------------- 1 | ::sysinit:/etc/init.d/rcS S boot 2 | ::shutdown:/etc/init.d/rcS K shutdown 3 | ::askconsole:/bin/ash --login 4 | -------------------------------------------------------------------------------- /intelliroot/toolchain/musl/Config.version: -------------------------------------------------------------------------------- 1 | if USE_MUSL 2 | 3 | config MUSL_VERSION 4 | string 5 | depends on USE_MUSL 6 | default "1.1.4" 7 | 8 | endif 9 | -------------------------------------------------------------------------------- /intelliroot/tools/include/byteswap.h: -------------------------------------------------------------------------------- 1 | #if defined(__linux__) || defined(__CYGWIN__) 2 | #include_next 3 | #else 4 | #include 5 | #endif 6 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/base-files/etc/inittab: -------------------------------------------------------------------------------- 1 | ::sysinit:/etc/init.d/rcS S boot 2 | ::shutdown:/etc/init.d/rcS K shutdown 3 | ::askconsole:/bin/ash --login 4 | -------------------------------------------------------------------------------- /intelliroot/toolchain/info.mk: -------------------------------------------------------------------------------- 1 | TARGET_CROSS= 2 | GCC_VERSION=unknown 3 | LIBC_TYPE=unknown 4 | LIBC_URL=unknown 5 | LIBC_VERSION=unknown 6 | LIBC_SO_VERSION=unknown 7 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/rom/note: -------------------------------------------------------------------------------- 1 | SQUASHFS USERS: 2 | After firstboot has been run, / will be jffs2 and /rom will be squashfs 3 | (* except when in failsafe) 4 | -------------------------------------------------------------------------------- /intelliroot/package/network/ipv6/6rd/src/Makefile: -------------------------------------------------------------------------------- 1 | all: 6rdcalc 2 | 3 | 6rdcalc: 6rdcalc.c 4 | $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< 5 | 6 | clean: 7 | rm -f 6rdcalc 8 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm47xx/base-files/etc/uci-defaults/09_fix_crc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright (C) 2007 OpenWrt.org 4 | # 5 | # 6 | 7 | mtd fixtrx firmware 8 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/trelay/files/trelay.hotplug: -------------------------------------------------------------------------------- 1 | case "$ACTION" in 2 | add|register) 3 | [ -f /var/run/trelay.active ] && /etc/init.d/trelay start 4 | ;; 5 | esac 6 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/w1-gpio-custom/src/Kconfig: -------------------------------------------------------------------------------- 1 | config W1_MASTER_GPIO_CUSTOM 2 | tristate "Custom GPIO-based W1 driver" 3 | depends on GENERIC_GPIO 4 | select W1_GPIO -------------------------------------------------------------------------------- /intelliroot/package/system/rpcd/files/rpcd.config: -------------------------------------------------------------------------------- 1 | 2 | config login 3 | option username 'root' 4 | option password '$p$root' 5 | list read '*' 6 | list write '*' 7 | 8 | -------------------------------------------------------------------------------- /intelliroot/tools/pkg-config/files/pkg-config: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | pkg-config.real $@ --define-variable=prefix=${STAGING_PREFIX} --define-variable=exec_prefix=${STAGING_PREFIX} 4 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/lantiq/ltq-hcd/src/ifxhcd_intr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtlantsEmbedded/IntelliPi/HEAD/intelliroot/package/kernel/lantiq/ltq-hcd/src/ifxhcd_intr.c -------------------------------------------------------------------------------- /intelliroot/package/kernel/wrt55agv2-spidevs/src/Kconfig: -------------------------------------------------------------------------------- 1 | config WRT55AGV2_SPIDEVS 2 | tristate "SPI device support for the WRT55AG v2 board" 3 | depends on SPI && MIPS_ATHEROS 4 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/ppp/files/etc/ppp/radius/dictionary.asnet: -------------------------------------------------------------------------------- 1 | VENDOR ASNET 50000 2 | ATTRIBUTE Speed-Down 1 string ASNET 3 | ATTRIBUTE Speed-Up 2 string ASNET 4 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/arch/mips/fw/myloader/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile for the Compex's MyLoader support on MIPS architecture 3 | # 4 | 5 | lib-y += myloader.o 6 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/kvm_guest/target.mk: -------------------------------------------------------------------------------- 1 | BOARDNAME:=KVM Guest 2 | FEATURES:=ext4 pci usb 3 | DEFAULT_PACKAGES += kmod-virtio-balloon kmod-virtio-net kmod-virtio-random 4 | -------------------------------------------------------------------------------- /intelliroot/include/site/mipsel-openwrt-linux2.4-uclibc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . $TOPDIR/include/site/mipsel-linux 4 | . $TOPDIR/include/site/linux-uclibc 5 | ac_cv_header_sys_inotify_h=no 6 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/dnsmasq/files/dnsmasq.hotplug: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | [ "$ACTION" = ifup ] || exit 0 4 | 5 | /etc/init.d/dnsmasq enabled && /etc/init.d/dnsmasq start 6 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/ppp/files/etc/ppp/options.pptp: -------------------------------------------------------------------------------- 1 | noipdefault 2 | noauth 3 | nobsdcomp 4 | nodeflate 5 | idle 0 6 | mppe required,no40,no56,stateless 7 | maxfail 0 8 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/xen_domu/target.mk: -------------------------------------------------------------------------------- 1 | BOARDNAME:=Xen Paravirt Guest 2 | DEFAULT_PACKAGES += kmod-xen-fs kmod-xen-evtchn kmod-xen-netdev kmod-xen-kbddev 3 | FEATURES:=display 4 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/etc/init.d/umount: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006 OpenWrt.org 3 | 4 | STOP=99 5 | stop() { 6 | sync 7 | /bin/umount -a -d -r 8 | } 9 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm2708/image/cmdline.txt: -------------------------------------------------------------------------------- 1 | dwc_otg.lpm_enable=0 rpitestmode=1 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait 2 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm63xx/base-files/lib/preinit/03_do_brcm63xx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | do_brcm63xx() { 4 | . /lib/brcm63xx.sh 5 | } 6 | 7 | boot_hook_add preinit_main do_brcm63xx 8 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/generic/target.mk: -------------------------------------------------------------------------------- 1 | BOARDNAME:=Generic 2 | 3 | define Target/Description 4 | Build firmware images for x86 based boards 5 | (e.g : Soekris, ...) 6 | endef 7 | 8 | -------------------------------------------------------------------------------- /intelliroot/toolchain/musl/Config.in: -------------------------------------------------------------------------------- 1 | # Debug version. 2 | 3 | config MUSL_ENABLE_DEBUG 4 | bool "Build with debug information" 5 | depends on TOOLCHAINOPTS && USE_MUSL 6 | default n 7 | -------------------------------------------------------------------------------- /intelliroot/toolchain/uClibc/config-0.9.33.2/debug: -------------------------------------------------------------------------------- 1 | DODEBUG=y 2 | DODEBUG_PT=y 3 | PTHREADS_DEBUG_SUPPORT=y 4 | SUPPORT_LD_DEBUG=y 5 | SUPPORT_LD_DEBUG_EARLY=y 6 | UCLIBC_MALLOC_DEBUGGING=y 7 | -------------------------------------------------------------------------------- /intelliroot/docs/.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | *.aux 3 | *.toc 4 | *.out 5 | *.lg 6 | *.dvi 7 | *.idv 8 | *.4ct 9 | *.4tc 10 | *.xref 11 | *.tmp 12 | *.dvi 13 | *.html 14 | *.css 15 | *.pdf 16 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/etc/rc.local: -------------------------------------------------------------------------------- 1 | # Put your custom commands here that should be executed once 2 | # the system init finished. By default this file does nothing. 3 | 4 | exit 0 5 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/etc/shadow: -------------------------------------------------------------------------------- 1 | root:$1$bsk0FpNT$gHYWq3x5OcW6f5E1TJSh90:16549:0:99999:7::: 2 | daemon:*:0:0:99999:7::: 3 | network:*:0:0:99999:7::: 4 | nobody:*:0:0:99999:7::: 5 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm63xx/generic/target.mk: -------------------------------------------------------------------------------- 1 | BOARDNAME:=generic 2 | 3 | define Target/Description 4 | Build firmware images for BCM63XX boards without SMP support. 5 | endef 6 | 7 | 8 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/image/olpc.fth: -------------------------------------------------------------------------------- 1 | \ Boot script 2 | " u:\boot\vmlinuz" to boot-device 3 | " @CMDLINE@ noinitrd console=ttyS0,115200 console=tty0" to boot-file 4 | unfreeze 5 | boot 6 | -------------------------------------------------------------------------------- /intelliroot/package/network/config/qos-scripts/files/etc/hotplug.d/iface/10-qos: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | [ "$ACTION" = ifup ] && /etc/init.d/qos enabled && /usr/lib/qos/generate.sh interface "$INTERFACE" | sh 3 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm2708/image/Config.in: -------------------------------------------------------------------------------- 1 | config BRCM2708_SD_BOOT_PARTSIZE 2 | int "Boot (SD Card) filesystem partition size (in MB)" 3 | depends on TARGET_brcm2708 4 | default 20 5 | 6 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/base-files/etc/inittab: -------------------------------------------------------------------------------- 1 | ::sysinit:/etc/init.d/rcS S boot 2 | ::shutdown:/etc/init.d/rcS K shutdown 3 | ttyS0::askfirst:/bin/ash --login 4 | tty1::askfirst:/bin/ash --login 5 | -------------------------------------------------------------------------------- /intelliroot/toolchain/uClibc/config-0.9.33.2/m68k: -------------------------------------------------------------------------------- 1 | ARCH_BIG_ENDIAN=y 2 | LINUXTHREADS_OLD=y 3 | TARGET_ARCH="m68k" 4 | TARGET_SUBARCH="" 5 | TARGET_m68k=y 6 | # UCLIBC_HAS_THREADS_NATIVE is not set 7 | -------------------------------------------------------------------------------- /intelliroot/toolchain/uClibc/config-0.9.33.2/powerpc: -------------------------------------------------------------------------------- 1 | ARCH_BIG_ENDIAN=y 2 | CONFIG_CLASSIC=y 3 | # CONFIG_E500 is not set 4 | TARGET_ARCH="powerpc" 5 | TARGET_SUBARCH="classic" 6 | TARGET_powerpc=y 7 | -------------------------------------------------------------------------------- /intelliroot/toolchain/uClibc/config-0.9.33.2/x86_64: -------------------------------------------------------------------------------- 1 | ARCH_LITTLE_ENDIAN=y 2 | # LINUXTHREADS_NEW is not set 3 | TARGET_ARCH="x86_64" 4 | TARGET_x86_64=y 5 | UCLIBC_BSD_SPECIFIC=y 6 | UCLIBC_HAS_FPU=y 7 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/etc/init.d/sysctl: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006 OpenWrt.org 3 | 4 | START=11 5 | start() { 6 | [ -f /etc/sysctl.conf ] && sysctl -p -e >&- 7 | } 8 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/etc/sysupgrade.conf: -------------------------------------------------------------------------------- 1 | ## This file contains files and directories that should 2 | ## be preserved during an upgrade. 3 | 4 | # /etc/example.conf 5 | # /etc/openvpn/ 6 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/lib/preinit/02_default_set_state: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | define_default_set_state() { 4 | . /etc/diag.sh 5 | } 6 | 7 | boot_hook_add preinit_main define_default_set_state 8 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/ead/src/tinysrp/acconfig.h: -------------------------------------------------------------------------------- 1 | #undef SHA1HANDSOFF 2 | 3 | #undef POSIX_TERMIOS 4 | 5 | #undef POSIX_SIGTYPE 6 | 7 | #undef VERSION 8 | 9 | #undef volatile 10 | -------------------------------------------------------------------------------- /intelliroot/package/utils/busybox/patches/100-trylink_bash.patch: -------------------------------------------------------------------------------- 1 | --- a/scripts/trylink 2 | +++ b/scripts/trylink 3 | @@ -1,4 +1,4 @@ 4 | -#!/bin/sh 5 | +#!/usr/bin/env bash 6 | 7 | debug=false 8 | 9 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/image/lzma-loader/src/lzma-data.lds: -------------------------------------------------------------------------------- 1 | OUTPUT_ARCH(mips) 2 | SECTIONS { 3 | .data.lzma : { 4 | _lzma_data_start = .; 5 | *(.data) 6 | _lzma_data_end = .; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /intelliroot/toolchain/uClibc/config-0.9.33.2/powerpc.e500: -------------------------------------------------------------------------------- 1 | ARCH_BIG_ENDIAN=y 2 | # CONFIG_CLASSIC is not set 3 | CONFIG_E500=y 4 | TARGET_ARCH="powerpc" 5 | TARGET_SUBARCH="classic" 6 | TARGET_powerpc=y 7 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/base-files/lib/preinit/20_check_iso: -------------------------------------------------------------------------------- 1 | check_for_iso() { 2 | grep -qE '/dev/root.*iso9660' /proc/mounts && ramoverlay 3 | } 4 | 5 | boot_hook_add preinit_mount_root check_for_iso 6 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/etc/passwd: -------------------------------------------------------------------------------- 1 | root:x:0:0:root:/root:/bin/ash 2 | daemon:*:1:1:daemon:/var:/bin/false 3 | network:*:101:101:network:/var:/bin/false 4 | nobody:*:65534:65534:nobody:/var:/bin/false 5 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/lantiq/ltq-adsl/Config.in: -------------------------------------------------------------------------------- 1 | config LANTIQ_DSL_DEBUG 2 | bool "verbose debugging" 3 | depends on PACKAGE_kmod-ltq-dsl 4 | help 5 | Say Y, if you need ltq-dsl to display debug messages. 6 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/ead/src/passwd: -------------------------------------------------------------------------------- 1 | root:$1$MCGAgYw.$Ip1GcyeUliId3wzVcKR/e/:0:0:root:/root:/bin/ash 2 | nobody:*:65534:65534:nobody:/var:/bin/false 3 | daemon:*:65534:65534:daemon:/var:/bin/false 4 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/samba36/files/samba.config: -------------------------------------------------------------------------------- 1 | config samba 2 | option 'name' 'OpenWrt' 3 | option 'workgroup' 'WORKGROUP' 4 | option 'description' 'OpenWrt' 5 | option 'homes' '1' 6 | 7 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/uhttpd/files/ubus.default: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ -z "$(uci -q get uhttpd.main.ubus_prefix)" ]; then 4 | uci set uhttpd.main.ubus_prefix=/ubus 5 | uci commit uhttpd 6 | fi 7 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/etc/group: -------------------------------------------------------------------------------- 1 | root:x:0: 2 | daemon:x:1: 3 | adm:x:4: 4 | mail:x:8: 5 | audio:x:29: 6 | www-data:x:33: 7 | ftp:x:55: 8 | users:x:100: 9 | network:x:101: 10 | nogroup:x:65534: 11 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/dropbear/files/dropbear.config: -------------------------------------------------------------------------------- 1 | config dropbear 2 | option PasswordAuth 'on' 3 | option RootPasswordAuth 'on' 4 | option Port '22' 5 | # option BannerFile '/etc/banner' 6 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/odhcpd/files/odhcpd-update: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Make dnsmasq reread hostfile 3 | 4 | pid=$(pidof dnsmasq) 5 | [ "$(readlink /proc/$pid/exe)" = "/usr/sbin/dnsmasq" ] && kill -SIGHUP $pid 6 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm63xx/base-files/lib/preinit/05_init_interfaces_brcm63xx: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set_preinit_iface() { 4 | ifconfig $ifname 0.0.0.0 up 5 | } 6 | 7 | boot_hook_add preinit_main set_preinit_iface 8 | -------------------------------------------------------------------------------- /intelliroot/target/toolchain/Config.in: -------------------------------------------------------------------------------- 1 | config MAKE_TOOLCHAIN 2 | bool "Build the OpenWrt based Toolchain" 3 | depends on !EXTERNAL_TOOLCHAIN 4 | help 5 | This is essentially the toolchain created by OpenWrt. 6 | 7 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/image/lzma-loader/src/loader2.lds: -------------------------------------------------------------------------------- 1 | OUTPUT_ARCH(mips) 2 | SECTIONS { 3 | .text : { 4 | startup = .; 5 | *(.text) 6 | *(.text.*) 7 | *(.data) 8 | *(.data.*) 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /intelliroot/toolchain/uClibc/config-0.9.33.2/arm: -------------------------------------------------------------------------------- 1 | ARCH_ANY_ENDIAN=y 2 | ARCH_LITTLE_ENDIAN=y 3 | ARCH_WANTS_LITTLE_ENDIAN=y 4 | # COMPILE_IN_THUMB_MODE is not set 5 | TARGET_ARCH="arm" 6 | TARGET_arm=y 7 | # USE_BX is not set 8 | -------------------------------------------------------------------------------- /intelliroot/toolchain/uClibc/config-0.9.33.2/armeb: -------------------------------------------------------------------------------- 1 | ARCH_ANY_ENDIAN=y 2 | ARCH_BIG_ENDIAN=y 3 | ARCH_WANTS_BIG_ENDIAN=y 4 | # COMPILE_IN_THUMB_MODE is not set 5 | TARGET_ARCH="arm" 6 | TARGET_arm=y 7 | # USE_BX is not set 8 | -------------------------------------------------------------------------------- /intelliroot/BSDmakefile: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2006 OpenWrt.org 2 | # 3 | # This is free software, licensed under the GNU General Public License v2. 4 | # See /LICENSE for more information. 5 | # 6 | world ${.TARGETS}: 7 | @gmake $@ 8 | -------------------------------------------------------------------------------- /intelliroot/include/device_table.txt: -------------------------------------------------------------------------------- 1 | # minimal device table file for OpenWrt 2 | 3 | # 4 | /dev d 755 0 0 - - - - - 5 | /dev/console c 600 0 0 5 1 0 0 - 6 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/ppp/files/etc/ppp/options: -------------------------------------------------------------------------------- 1 | #debug 2 | logfile /dev/null 3 | noipdefault 4 | noaccomp 5 | nopcomp 6 | nocrtscts 7 | lock 8 | maxfail 0 9 | lcp-echo-failure 5 10 | lcp-echo-interval 1 11 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/base-files/lib/preinit/03_preinit_do_ar71xx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | do_ar71xx() { 4 | . /lib/ar71xx.sh 5 | 6 | ar71xx_board_detect 7 | } 8 | 9 | boot_hook_add preinit_main do_ar71xx 10 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/etc/openwrt_release: -------------------------------------------------------------------------------- 1 | DISTRIB_ID="%D" 2 | DISTRIB_RELEASE="%C" 3 | DISTRIB_REVISION="%R" 4 | DISTRIB_CODENAME="%n" 5 | DISTRIB_TARGET="%S" 6 | DISTRIB_DESCRIPTION="%D %N %V" 7 | DISTRIB_TAINTS="%t" 8 | -------------------------------------------------------------------------------- /intelliroot/package/system/opkg/files/opkg-smime.conf: -------------------------------------------------------------------------------- 1 | dest root / 2 | dest ram /tmp 3 | lists_dir ext /var/opkg-lists 4 | option overlay_root /overlay 5 | option check_signature 1 6 | option signature_ca_file /etc/ssl/certs/opkg.pem 7 | -------------------------------------------------------------------------------- /intelliroot/package/utils/robocfg/src/Makefile: -------------------------------------------------------------------------------- 1 | 2 | all: robocfg 3 | 4 | %.o: %.c 5 | $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $^ 6 | 7 | robocfg: robocfg.o 8 | $(CC) -o $@ $^ 9 | 10 | clean: 11 | rm -f *.o robocfg 12 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/generic/target.mk: -------------------------------------------------------------------------------- 1 | BOARDNAME:=Generic 2 | FEATURES += squashfs 3 | 4 | define Target/Description 5 | Build firmware images for generic Atheros AR71xx/AR913x/AR934x based boards. 6 | endef 7 | 8 | 9 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm63xx/smp/target.mk: -------------------------------------------------------------------------------- 1 | BOARDNAME:=smp 2 | 3 | define Target/Description 4 | Build firmware images for BCM63XX boards with SMP support. 5 | Currently only BCM6362 and BCM6368 supported. 6 | endef 7 | 8 | 9 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/mv_hal/pci/mvPciRegs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtlantsEmbedded/IntelliPi/HEAD/intelliroot/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/mv_hal/pci/mvPciRegs.h -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/fs/yaffs2/NOTE.openwrt: -------------------------------------------------------------------------------- 1 | The yaffs2 source has been fetched from the yaffs2 GIT tree. 2 | 3 | URL: git://www.aleph1.co.uk/yaffs2 4 | Version: bc76682d93955cfb33051beb503ad9f8a5450578 (2013-12-03) 5 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/files/arch/mips/ath79/pci-ath9k-fixup.h: -------------------------------------------------------------------------------- 1 | #ifndef _PCI_ATH9K_FIXUP 2 | #define _PCI_ATH9K_FIXUP 3 | 4 | void pci_enable_ath9k_fixup(unsigned slot, u16 *cal_data) __init; 5 | 6 | #endif /* _PCI_ATH9K_FIXUP */ 7 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/kirkwood/cesa/mvCompVer.txt: -------------------------------------------------------------------------------- 1 | Global HAL Version: FEROCEON_HAL_3_1_7 2 | Unit HAL Version: 3.1.4 3 | Description: This component includes an implementation of the unit HAL drivers 4 | 5 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/base-files.mk: -------------------------------------------------------------------------------- 1 | ifneq ($(CONFIG_TARGET_x86_generic_Soekris48xx)$(CONFIG_TARGET_x86_generic_Soekris45xx),) 2 | define Package/base-files/install-target 3 | rm -f $(1)/etc/config/network 4 | endef 5 | endif 6 | 7 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm2708/base-files/etc/inittab: -------------------------------------------------------------------------------- 1 | ::sysinit:/etc/init.d/rcS S boot 2 | ::shutdown:/etc/init.d/rcS K shutdown 3 | tts/0::askfirst:/bin/ash --login 4 | ttyAMA0::askfirst:/bin/ash --login 5 | tty1::askfirst:/bin/ash --login 6 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/common/mvCompVer.txt: -------------------------------------------------------------------------------- 1 | Global HAL Version: FEROCEON_HAL_3_1_7 2 | Unit HAL Version: 3.1.4 3 | Description: This component includes an implementation of the unit HAL drivers 4 | 5 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/xen_domu/base-files/etc/inittab: -------------------------------------------------------------------------------- 1 | ::sysinit:/etc/init.d/rcS S boot 2 | ::shutdown:/etc/init.d/rcS K stop 3 | tts/0::askfirst:/bin/ash --login 4 | hvc0::askfirst:/bin/ash --login 5 | tty1::askfirst:/bin/ash --login 6 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm47xx/legacy/target.mk: -------------------------------------------------------------------------------- 1 | FEATURES += low_mem pcmcia 2 | BOARDNAME:=Legacy (802.11g) 3 | 4 | define Target/Description 5 | Build generic firmware for legacy 802.11g Broadcom BCM47xx 6 | and BCM53xx MIPS devices. 7 | endef 8 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/kw_family/mvCompVer.txt: -------------------------------------------------------------------------------- 1 | Global HAL Version: FEROCEON_HAL_3_1_7 2 | Unit HAL Version: 3.1.5 3 | Description: This component includes an implementation of the unit HAL drivers 4 | 5 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIfConfig.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtlantsEmbedded/IntelliPi/HEAD/intelliroot/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvDramIfConfig.S -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/mv_hal/ddr2/mvCompVer.txt: -------------------------------------------------------------------------------- 1 | Global HAL Version: FEROCEON_HAL_3_1_7 2 | Unit HAL Version: 3.1.4 3 | Description: This component includes an implementation of the unit HAL drivers 4 | 5 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/mv_hal/eth/mvCompVer.txt: -------------------------------------------------------------------------------- 1 | Global HAL Version: FEROCEON_HAL_3_1_7 2 | Unit HAL Version: 3.1.4 3 | Description: This component includes an implementation of the unit HAL drivers 4 | 5 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/mv_hal/gpp/mvCompVer.txt: -------------------------------------------------------------------------------- 1 | Global HAL Version: FEROCEON_HAL_3_1_7 2 | Unit HAL Version: 3.1.4 3 | Description: This component includes an implementation of the unit HAL drivers 4 | 5 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/mv_hal/pci/mvCompVer.txt: -------------------------------------------------------------------------------- 1 | Global HAL Version: FEROCEON_HAL_3_1_7 2 | Unit HAL Version: 3.1.2 3 | Description: This component includes an implementation of the unit HAL drivers 4 | 5 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/mv_hal/pex/mvCompVer.txt: -------------------------------------------------------------------------------- 1 | Global HAL Version: FEROCEON_HAL_3_1_7 2 | Unit HAL Version: 3.1.4 3 | Description: This component includes an implementation of the unit HAL drivers 4 | 5 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/mv_hal/spi/mvCompVer.txt: -------------------------------------------------------------------------------- 1 | Global HAL Version: FEROCEON_HAL_3_1_7 2 | Unit HAL Version: 3.1.3 3 | Description: This component includes an implementation of the unit HAL drivers 4 | 5 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/mv_hal/twsi/mvCompVer.txt: -------------------------------------------------------------------------------- 1 | Global HAL Version: FEROCEON_HAL_3_1_7 2 | Unit HAL Version: 3.1.5 3 | Description: This component includes an implementation of the unit HAL drivers 4 | 5 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/thincan/base-files/etc/init.d/alsa: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006 OpenWrt.org 3 | START=50 4 | 5 | start() { 6 | amixer set PCM 50% unmute 7 | amixer set Headphone 100% unmute 8 | } 9 | 10 | -------------------------------------------------------------------------------- /intelliroot/toolchain/uClibc/config-0.9.33.2/cris: -------------------------------------------------------------------------------- 1 | ARCH_LITTLE_ENDIAN=y 2 | CONFIG_CRIS=y 3 | # CONFIG_CRISV32 is not set 4 | LINUXTHREADS_OLD=y 5 | TARGET_ARCH="cris" 6 | TARGET_cris=y 7 | UCLIBC_HAS_FPU=y 8 | # UCLIBC_HAS_THREADS_NATIVE is not set 9 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/mv_hal/cntmr/mvCompVer.txt: -------------------------------------------------------------------------------- 1 | Global HAL Version: FEROCEON_HAL_3_1_7 2 | Unit HAL Version: 3.1.3 3 | Description: This component includes an implementation of the unit HAL drivers 4 | 5 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/mv_hal/ddr1_2/mvCompVer.txt: -------------------------------------------------------------------------------- 1 | Global HAL Version: FEROCEON_HAL_3_1_7 2 | Unit HAL Version: 3.1.3 3 | Description: This component includes an implementation of the unit HAL drivers 4 | 5 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/mv_hal/pci-if/mvCompVer.txt: -------------------------------------------------------------------------------- 1 | Global HAL Version: FEROCEON_HAL_3_1_7 2 | Unit HAL Version: 3.1.3 3 | Description: This component includes an implementation of the unit HAL drivers 4 | 5 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/mv_hal/sflash/mvCompVer.txt: -------------------------------------------------------------------------------- 1 | Global HAL Version: FEROCEON_HAL_3_1_7 2 | Unit HAL Version: 3.1.3 3 | Description: This component includes an implementation of the unit HAL drivers 4 | 5 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/base-files/lib/preinit/15_essential_fs_x86: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2006-2010 OpenWrt.org 3 | # Copyright (C) 2010 Vertical Communications 4 | 5 | do_mount_procfs() { 6 | mount -o noatime -t proc none /proc 7 | } 8 | 9 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/image/grub-iso.cfg: -------------------------------------------------------------------------------- 1 | @SERIAL_CONFIG@ 2 | @TERMINAL_CONFIG@ 3 | 4 | set default="0" 5 | set timeout="@TIMEOUT@" 6 | set root='(cd)' 7 | 8 | menuentry "OpenWrt" { 9 | linux /boot/vmlinuz @CMDLINE@ noinitrd 10 | } 11 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/olpc/base-files/lib/preinit/15_essential_fs_x86: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2006-2010 OpenWrt.org 3 | # Copyright (C) 2010 Vertical Communications 4 | 5 | do_mount_procfs() { 6 | mount -o noatime -t proc none /proc 7 | } 8 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/etc/hotplug.d/net/00-sysctl: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ -f /etc/sysctl.conf ] && [ "$ACTION" = add ]; then 4 | sed -ne "/^[[:space:]]*net\..*\.$DEVICENAME\./p" /etc/sysctl.conf | \ 5 | sysctl -e -p - | logger -t sysctl 6 | fi 7 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/hostapd/files/wps-hotplug.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ "$ACTION" = "pressed" -a "$BUTTON" = "wps" ]; then 4 | for dir in /var/run/hostapd*; do 5 | [ -d "$dir" ] || continue 6 | hostapd_cli -p "$dir" wps_pbc 7 | done 8 | fi 9 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/lib/preinit/99_10_run_init: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2006 OpenWrt.org 3 | # Copyright (C) 2010 Vertical Communications 4 | 5 | run_init() { 6 | preinit_ip_deconfig 7 | } 8 | 9 | boot_hook_add preinit_main run_init 10 | -------------------------------------------------------------------------------- /intelliroot/package/utils/fbtest/src/Makefile: -------------------------------------------------------------------------------- 1 | CC = gcc 2 | CFLAGS = -Wall 3 | OBJS = fbtest.o 4 | 5 | all: fbtest 6 | 7 | %.o: %.c 8 | $(CC) $(CFLAGS) -c -o $@ $< 9 | 10 | fbtest: $(OBJS) 11 | $(CC) -o $@ $(OBJS) 12 | 13 | clean: 14 | rm -f rbcfg *.o 15 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvAhbToMbusRegs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtlantsEmbedded/IntelliPi/HEAD/intelliroot/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/kw_family/ctrlEnv/sys/mvAhbToMbusRegs.h -------------------------------------------------------------------------------- /intelliroot/toolchain/uClibc/config-0.9.33.2/sparc: -------------------------------------------------------------------------------- 1 | ARCH_BIG_ENDIAN=y 2 | # CONFIG_SPARC_V7 is not set 3 | # CONFIG_SPARC_V8 is not set 4 | CONFIG_SPARC_V9=y 5 | # CONFIG_SPARC_V9B is not set 6 | TARGET_ARCH="sparc" 7 | TARGET_sparc=y 8 | UCLIBC_HAS_LONG_DOUBLE_MATH=y 9 | -------------------------------------------------------------------------------- /intelliroot/package/boot/rbcfg/src/Makefile: -------------------------------------------------------------------------------- 1 | CC = gcc 2 | CFLAGS = -Wall 3 | OBJS = main.o cyg_crc32.o 4 | 5 | all: rbcfg 6 | 7 | %.o: %.c 8 | $(CC) $(CFLAGS) -c -o $@ $< 9 | 10 | rbcfg: $(OBJS) 11 | $(CC) -o $@ $(OBJS) 12 | 13 | clean: 14 | rm -f rbcfg *.o 15 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/iproute2/patches/001-config.patch: -------------------------------------------------------------------------------- 1 | --- /dev/null 2 | +++ b/Config 3 | @@ -0,0 +1,4 @@ 4 | +# Fixed config to disable ATM support even if present on host system 5 | +TC_CONFIG_ATM:=n 6 | +TC_CONFIG_ACTION_GACT=y 7 | +TC_CONFIG_ACTION_PROB=y 8 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm47xx/generic/target.mk: -------------------------------------------------------------------------------- 1 | BOARDNAME:=Generic 2 | FEATURES+=pcmcia 3 | 4 | define Target/Description 5 | Build generic firmware for all Broadcom BCM47xx and BCM53xx MIPS 6 | devices. It runs on both architectures BMIPS3300 and MIPS 74K. 7 | endef 8 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm47xx/mips74k/target.mk: -------------------------------------------------------------------------------- 1 | BOARDNAME:=MIPS 74K 2 | CPU_TYPE:=74kc 3 | CPU_SUBTYPE:=dsp2 4 | FEATURES+=mips16 5 | 6 | define Target/Description 7 | Build firmware for Broadcom BCM47xx and BCM53xx devices with 8 | MIPS 74K CPU. 9 | endef 10 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/alix2/base-files/etc/hotplug.d/button/50-reboot: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | logger -t button -p daemon.info "$BUTTON/$ACTION" 4 | 5 | case "$BUTTON/$ACTION" in 6 | 7 | reset/released) 8 | reboot -f 9 | ;; 10 | 11 | esac 12 | 13 | exit 0 14 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/geos/base-files/etc/hotplug.d/button/50-reboot: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | logger -t button -p daemon.info "$BUTTON/$ACTION" 4 | 5 | case "$BUTTON/$ACTION" in 6 | 7 | reset/released) 8 | reboot -f 9 | ;; 10 | 11 | esac 12 | 13 | exit 0 14 | -------------------------------------------------------------------------------- /intelliroot/toolchain/uClibc/config-0.9.33.2/sparc.leon: -------------------------------------------------------------------------------- 1 | ARCH_BIG_ENDIAN=y 2 | # CONFIG_SPARC_V7 is not set 3 | CONFIG_SPARC_V8=y 4 | # CONFIG_SPARC_V9 is not set 5 | # CONFIG_SPARC_V9B is not set 6 | TARGET_ARCH="sparc" 7 | TARGET_sparc=y 8 | UCLIBC_HAS_LONG_DOUBLE_MATH=y 9 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/iptables/patches/100-bash-location.patch: -------------------------------------------------------------------------------- 1 | --- a/iptables/iptables-apply 2 | +++ b/iptables/iptables-apply 3 | @@ -1,4 +1,4 @@ 4 | -#!/bin/bash 5 | +#!/usr/bin/env bash 6 | # 7 | # iptables-apply -- a safer way to update iptables remotely 8 | # 9 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/maccalc/src/Makefile: -------------------------------------------------------------------------------- 1 | CC = gcc 2 | CFLAGS = -Wall 3 | OBJS = main.o 4 | 5 | all: maccalc 6 | 7 | %.o: %.c 8 | $(CC) $(CFLAGS) -c -o $@ $< 9 | 10 | maccalc: $(OBJS) 11 | $(CC) -o $@ $(OBJS) 12 | 13 | clean: 14 | rm -f maccalc *.o 15 | -------------------------------------------------------------------------------- /intelliroot/target/linux/atheros/base-files/etc/uci-defaults/01_leds: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 2012 OpenWrt.org 3 | # 4 | 5 | . /lib/functions/uci-defaults.sh 6 | 7 | ucidef_set_led_netdev "wlan" "wlan" "wlan" "wlan0" 8 | 9 | ucidef_commit_leds 10 | 11 | exit 0 12 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm2708/patches-3.10/0028-Add-non-mainline-source-for-rtl8192cu-wireless-drive.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtlantsEmbedded/IntelliPi/HEAD/intelliroot/target/linux/brcm2708/patches-3.10/0028-Add-non-mainline-source-for-rtl8192cu-wireless-drive.patch -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/net5501/base-files/etc/hotplug.d/button/50-reboot: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | logger -t button -p daemon.info "$BUTTON/$ACTION" 4 | 5 | case "$BUTTON/$ACTION" in 6 | 7 | reset/released) 8 | reboot -f 9 | ;; 10 | 11 | esac 12 | 13 | exit 0 14 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/lib/upgrade/keep.d/base-files-essential: -------------------------------------------------------------------------------- 1 | # Essential files that will be always kept 2 | /etc/hosts 3 | /etc/inittab 4 | /etc/group 5 | /etc/passwd 6 | /etc/profile 7 | /etc/shadow 8 | /etc/shells 9 | /etc/sysctl.conf 10 | /etc/rc.local 11 | -------------------------------------------------------------------------------- /intelliroot/package/libs/openssl/patches/170-bash_path.patch: -------------------------------------------------------------------------------- 1 | --- a/util/domd 2 | +++ b/util/domd 3 | @@ -1,4 +1,4 @@ 4 | -#!/bin/sh 5 | +#!/usr/bin/env bash 6 | # Do a makedepend, only leave out the standard headers 7 | # Written by Ben Laurie 19 Jan 1999 8 | 9 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/nand/target.mk: -------------------------------------------------------------------------------- 1 | BOARDNAME := Generic devices with NAND flash 2 | FEATURES += squashfs nand rtc 3 | 4 | define Target/Description 5 | Build firmware images for Atheros AR71xx/AR913x based boards with 6 | NAND flash, e.g. Netgear WNDR4300. 7 | endef 8 | -------------------------------------------------------------------------------- /intelliroot/package/network/config/soloscli/patches/002-cflags.patch: -------------------------------------------------------------------------------- 1 | --- a/soloscli/Makefile 2 | +++ b/soloscli/Makefile 3 | @@ -4,9 +4,6 @@ 4 | # Last Mod: 2009-06-16 5 | # 6 | 7 | -CC=gcc 8 | -CFLAGS=-Wall 9 | - 10 | soloscli: soloscli.c soloscli.h 11 | 12 | clean: 13 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/comgt/files/getcardinfo.gcom: -------------------------------------------------------------------------------- 1 | opengt 2 | set com 115200n81 3 | set comecho off 4 | set senddelay 0.02 5 | waitquiet 0.2 0.2 6 | flash 0.1 7 | 8 | :start 9 | send "ATI^m" 10 | get 1 "" $s 11 | print $s 12 | 13 | :continue 14 | exit 0 15 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/comgt/files/getstrength.gcom: -------------------------------------------------------------------------------- 1 | opengt 2 | set com 115200n81 3 | set comecho off 4 | set senddelay 0.02 5 | waitquiet 0.2 0.2 6 | flash 0.1 7 | 8 | :start 9 | send "AT+CSQ^m" 10 | get 1 "" $s 11 | print $s 12 | 13 | :continue 14 | exit 0 15 | -------------------------------------------------------------------------------- /intelliroot/toolchain/uClibc/Config.version: -------------------------------------------------------------------------------- 1 | config UCLIBC_VERSION 2 | string 3 | depends on USE_UCLIBC 4 | default "0.9.33.2" if UCLIBC_VERSION_0_9_33 5 | default "0.9.33.2" 6 | 7 | config UCLIBC_VERSION_0_9_33 8 | default y if !TOOLCHAINOPTS && USE_UCLIBC 9 | bool 10 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/ppp/files/etc/ppp/radius.conf: -------------------------------------------------------------------------------- 1 | authserver localhost:1812 2 | acctserver localhost:1813 3 | dictionary /etc/ppp/radius/dictionary 4 | servers /etc/ppp/radius/servers 5 | mapfile /dev/null 6 | seqfile /tmp/radius.seq 7 | radius_timeout 5 8 | radius_retries 3 9 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/mikrotik/target.mk: -------------------------------------------------------------------------------- 1 | BOARDNAME:=Mikrotik devices with NAND flash 2 | FEATURES += targz 3 | 4 | define Target/Description 5 | Build firmware images for Atheros AR71xx/AR913x based Mikrotik boards. 6 | e.g. MikroTik RB-4xx or RB-750 7 | endef 8 | 9 | 10 | -------------------------------------------------------------------------------- /intelliroot/package/network/config/swconfig/src/Makefile: -------------------------------------------------------------------------------- 1 | ifndef CFLAGS 2 | CFLAGS = -O2 -g -I ../src 3 | endif 4 | LIBS=-lnl -lnl-genl 5 | 6 | all: swconfig 7 | 8 | %.o: %.c 9 | $(CC) $(CFLAGS) -c -o $@ $^ 10 | 11 | swconfig: cli.o swlib.o uci.o 12 | $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) 13 | -------------------------------------------------------------------------------- /intelliroot/package/utils/usbmode/files/usbmode.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2013 OpenWrt.org 3 | 4 | START=20 5 | USE_PROCD=1 6 | 7 | start_service() 8 | { 9 | procd_open_instance 10 | procd_set_param command "/sbin/usbmode" -s 11 | procd_close_instance 12 | } 13 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm47xx/legacy/config-default: -------------------------------------------------------------------------------- 1 | CONFIG_B44=y 2 | CONFIG_B44_PCI=y 3 | CONFIG_B44_PCICORE_AUTOSELECT=y 4 | CONFIG_B44_PCI_AUTOSELECT=y 5 | # CONFIG_BCM47XX_BCMA is not set 6 | # CONFIG_BCMA is not set 7 | # CONFIG_MTD_NAND is not set 8 | # CONFIG_SSB_DRIVER_GIGE is not set 9 | -------------------------------------------------------------------------------- /intelliroot/package/boot/uboot-sunxi/uEnv.txt: -------------------------------------------------------------------------------- 1 | fdt_high=ffffffff 2 | loadkernel=fatload mmc 0 0x46000000 uImage 3 | loaddtb=fatload mmc 0 0x49000000 dtb 4 | bootargs=console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait 5 | uenvcmd=run loadkernel && run loaddtb && bootm 0x46000000 - 0x49000000 6 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm47xx/image/lzma-loader/src/loader.lds.in: -------------------------------------------------------------------------------- 1 | OUTPUT_ARCH(mips) 2 | ENTRY(startup) 3 | SECTIONS { 4 | . = TEXT_START; 5 | .text : { 6 | *(.text) 7 | *(.rodata) 8 | } 9 | 10 | .data : { 11 | *(.data) 12 | } 13 | 14 | .bss : { 15 | *(.bss) 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm63xx/image/lzma-loader/src/loader.lds.in: -------------------------------------------------------------------------------- 1 | OUTPUT_ARCH(mips) 2 | ENTRY(startup) 3 | SECTIONS { 4 | . = TEXT_START; 5 | .text : { 6 | *(.text) 7 | *(.rodata) 8 | } 9 | 10 | .data : { 11 | *(.data) 12 | } 13 | 14 | .bss : { 15 | *(.bss) 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /intelliroot/tools/squashfs4/patches/150-freebsd_fixes.patch: -------------------------------------------------------------------------------- 1 | --- a/squashfs-tools/pseudo.c 2 | +++ b/squashfs-tools/pseudo.c 3 | @@ -32,6 +32,7 @@ 4 | #include 5 | #include 6 | #include 7 | +#include 8 | 9 | #include "pseudo.h" 10 | 11 | -------------------------------------------------------------------------------- /intelliroot/package/system/mountd/patches/050-no_error_h.patch: -------------------------------------------------------------------------------- 1 | --- a/lib/fs.c 2 | +++ b/lib/fs.c 3 | @@ -2,7 +2,6 @@ 4 | #include 5 | #include 6 | #include 7 | -#include 8 | #include 9 | #include 10 | #include 11 | -------------------------------------------------------------------------------- /intelliroot/package/utils/busybox/patches/101-gen_build_files_bash.patch: -------------------------------------------------------------------------------- 1 | --- a/scripts/gen_build_files.sh 2 | +++ b/scripts/gen_build_files.sh 3 | @@ -1,4 +1,4 @@ 4 | -#!/bin/sh 5 | +#!/usr/bin/env bash 6 | 7 | # Note: was using sed OPTS CMD -- FILES 8 | # but users complain that many sed implementations 9 | -------------------------------------------------------------------------------- /intelliroot/package/utils/e2fsprogs/patches/002-no_malloc_h.patch: -------------------------------------------------------------------------------- 1 | --- a/util/symlinks.c 2 | +++ b/util/symlinks.c 3 | @@ -8,7 +8,6 @@ 4 | #endif 5 | #include 6 | #include 7 | -#include 8 | #include 9 | #include 10 | #include 11 | -------------------------------------------------------------------------------- /intelliroot/scripts/freebsd.sh: -------------------------------------------------------------------------------- 1 | env PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/ pkg_add -r gmake-3.82.tbz bash-4.1.11.tbz python27-2.7.2_3.tbz gtar-1.26.tbz findutils-4.5.10_2.tbz coreutils-8.12.tbz getopt-1.1.4_2.tbz wget-1.13.4_1.tbz gnugrep-2.9.tbz gawk-4.0.0.tbz 2 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm63xx/base-files/lib/preinit/20_failsafe_net_echo_brcm63xx: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | indicate_failsafe() { 4 | preinit_net_echo() { 5 | port_net_echo $1 6 | } 7 | echo "- failsafe -" 8 | preinit_net_echo "Entering Failsafe!\n" 9 | indicate_failsafe_led 10 | } 11 | 12 | 13 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/ocfnull/Makefile: -------------------------------------------------------------------------------- 1 | # for SGlinux builds 2 | -include $(ROOTDIR)/modules/.config 3 | 4 | obj-$(CONFIG_OCF_OCFNULL) += ocfnull.o 5 | 6 | obj ?= . 7 | EXTRA_CFLAGS += -I$(obj)/.. 8 | 9 | ifdef TOPDIR 10 | -include $(TOPDIR)/Rules.make 11 | endif 12 | 13 | -------------------------------------------------------------------------------- /intelliroot/package/libs/openssl/patches/140-makefile-dirs.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile.org 2 | +++ b/Makefile.org 3 | @@ -136,7 +136,7 @@ FIPSCANLIB= 4 | 5 | BASEADDR= 6 | 7 | -DIRS= crypto ssl engines apps test tools 8 | +DIRS= crypto ssl apps 9 | ENGDIRS= ccgost 10 | SHLIBDIRS= crypto ssl 11 | 12 | -------------------------------------------------------------------------------- /intelliroot/package/libs/toolchain/eglibc-files/etc/nsswitch.conf: -------------------------------------------------------------------------------- 1 | passwd:files 2 | shadow:files 3 | group:files 4 | hosts:dns files 5 | bootparams:files 6 | ethers:files 7 | netmasks:files 8 | networks:files 9 | protocols:files 10 | rpc:files 11 | services:files 12 | automount:files 13 | aliases:files 14 | -------------------------------------------------------------------------------- /intelliroot/package/network/config/qos-scripts/files/usr/bin/qos-stop: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | for iface in $(tc qdisc show | grep -E '(hfsc|ingress)' | awk '{print $5}'); do 3 | tc qdisc del dev "$iface" ingress 2>&- >&- 4 | tc qdisc del dev "$iface" root 2>&- >&- 5 | done 6 | /usr/lib/qos/generate.sh firewall stop | sh 7 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/igmpproxy/files/igmpproxy.config: -------------------------------------------------------------------------------- 1 | config igmpproxy 2 | option quickleave 1 3 | 4 | config phyint 5 | option network wan 6 | option direction upstream 7 | list altnet 192.168.1.0/24 8 | 9 | config phyint 10 | option network lan 11 | option direction downstream 12 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/iproute2/patches/120-libnetlink-pic.patch: -------------------------------------------------------------------------------- 1 | --- a/lib/Makefile 2 | +++ b/lib/Makefile 3 | @@ -1,6 +1,6 @@ 4 | include ../Config 5 | 6 | -CFLAGS += -fPIC 7 | +CFLAGS += $(FPIC) 8 | 9 | UTILOBJ=utils.o rt_names.o ll_types.o ll_proto.o ll_addr.o inet_proto.o 10 | 11 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/safe/Makefile: -------------------------------------------------------------------------------- 1 | # for SGlinux builds 2 | -include $(ROOTDIR)/modules/.config 3 | 4 | obj-$(CONFIG_OCF_SAFE) += safe.o 5 | 6 | obj ?= . 7 | EXTRA_CFLAGS += -I$(obj)/.. -I$(obj)/ 8 | 9 | ifdef TOPDIR 10 | -include $(TOPDIR)/Rules.make 11 | endif 12 | 13 | -------------------------------------------------------------------------------- /intelliroot/tools/mtd-utils/patches/131-fix_lib_compile.patch: -------------------------------------------------------------------------------- 1 | --- a/lib/Makefile 2 | +++ b/lib/Makefile 3 | @@ -7,7 +7,7 @@ SUBDIRS = 4 | # CFLAGS += -Werror 5 | CPPFLAGS += -I../include 6 | LIBS = libmtd 7 | -TARGETS = libmtd.a 8 | +override TARGETS = libmtd.a 9 | 10 | include ../common.mk 11 | 12 | -------------------------------------------------------------------------------- /intelliroot/package/boot/uboot-envtools/patches/100-fw_env_gnu_source.patch: -------------------------------------------------------------------------------- 1 | --- a/tools/env/fw_env.c 2 | +++ b/tools/env/fw_env.c 3 | @@ -8,6 +8,7 @@ 4 | * SPDX-License-Identifier: GPL-2.0+ 5 | */ 6 | 7 | +#define _GNU_SOURCE 8 | #include 9 | #include 10 | #include 11 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/mmc_over_gpio/files/mmc_over_gpio.config: -------------------------------------------------------------------------------- 1 | config 'mmc_over_gpio' 2 | option 'name' 'default' 3 | option 'enabled' '0' 4 | option 'DI_pin' '@GPIO_DI_PIN@' 5 | option 'DO_pin' '@GPIO_DO_PIN@' 6 | option 'CLK_pin' '@GPIO_CLK_PIN@' 7 | option 'CS_pin' '@GPIO_CS_PIN@' 8 | option 'mode' '0' 9 | -------------------------------------------------------------------------------- /intelliroot/package/network/config/netifd/files/sbin/devstatus: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . /usr/share/libubox/jshn.sh 3 | DEVICE="$1" 4 | 5 | [ -n "$DEVICE" ] || { 6 | echo "Usage: $0 " 7 | exit 1 8 | } 9 | 10 | json_init 11 | json_add_string name "$DEVICE" 12 | ubus call network.device status "$(json_dump)" 13 | -------------------------------------------------------------------------------- /intelliroot/package/network/config/soloscli/patches/001-no-driver.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile 2 | +++ b/Makefile 3 | @@ -11,7 +11,7 @@ else 4 | KDIR ?= /lib/modules/$(shell uname -r)/build 5 | PWD := $(shell pwd) 6 | 7 | -all: soloscli driver 8 | +all: soloscli 9 | 10 | soloscli: soloscli/soloscli 11 | 12 | -------------------------------------------------------------------------------- /intelliroot/target/imagebuilder/files/repositories.conf: -------------------------------------------------------------------------------- 1 | ## Place your custom repositories here, they must match the architecture and version. 2 | # src/gz %n %U 3 | # src custom file:///usr/src/openwrt/bin/%T/packages 4 | 5 | ## This is the local package repository, do not remove! 6 | src imagebuilder file:packages 7 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/c7108/Makefile: -------------------------------------------------------------------------------- 1 | # for SGlinux builds 2 | -include $(ROOTDIR)/modules/.config 3 | 4 | obj-$(CONFIG_OCF_C7108) += aes-7108.o 5 | 6 | obj ?= . 7 | EXTRA_CFLAGS += -I$(obj)/.. -I$(obj)/ 8 | 9 | ifdef TOPDIR 10 | -include $(TOPDIR)/Rules.make 11 | endif 12 | 13 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/pasemi/Makefile: -------------------------------------------------------------------------------- 1 | # for SGlinux builds 2 | -include $(ROOTDIR)/modules/.config 3 | 4 | obj-$(CONFIG_OCF_PASEMI) += pasemi.o 5 | 6 | obj ?= . 7 | EXTRA_CFLAGS += -I$(obj)/.. -I$(obj)/ 8 | 9 | ifdef TOPDIR 10 | -include $(TOPDIR)/Rules.make 11 | endif 12 | 13 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/talitos/Makefile: -------------------------------------------------------------------------------- 1 | # for SGlinux builds 2 | -include $(ROOTDIR)/modules/.config 3 | 4 | obj-$(CONFIG_OCF_TALITOS) += talitos.o 5 | 6 | obj ?= . 7 | EXTRA_CFLAGS += -I$(obj)/.. -I$(obj)/ 8 | 9 | ifdef TOPDIR 10 | -include $(TOPDIR)/Rules.make 11 | endif 12 | 13 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/lantiq/ltq-vdsl-fw/src/Makefile: -------------------------------------------------------------------------------- 1 | PROG=w921v_fw_cutter 2 | OBJS=w921v_fw_cutter.c LzmaDecode.c LzmaWrapper.c 3 | 4 | all: $(PROG) 5 | 6 | $(PROG): $(OBJS) 7 | $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ 8 | 9 | clean: 10 | rm *.o $(PROG) 11 | 12 | %.o: %.c 13 | $(CC) $(CFLAGS) -c $^ -o $@ 14 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/ppp/patches/133-fix_sha1_include.patch: -------------------------------------------------------------------------------- 1 | --- a/pppd/sha1.c 2 | +++ b/pppd/sha1.c 3 | @@ -18,7 +18,7 @@ 4 | 5 | #include 6 | #include /* htonl() */ 7 | -#include 8 | +#include "pppd.h" 9 | #include "sha1.h" 10 | 11 | static void 12 | -------------------------------------------------------------------------------- /intelliroot/tools/lzma-old/patches/110-ranlib.patch: -------------------------------------------------------------------------------- 1 | --- a/C/7zip/Compress/LZMA_Lib/makefile 2 | +++ b/C/7zip/Compress/LZMA_Lib/makefile 3 | @@ -29,6 +29,7 @@ all: $(PROG) 4 | 5 | $(PROG): $(OBJS) 6 | $(AR) r $(PROG) $(OBJS) 7 | + ranlib $(PROG) 8 | 9 | ZLib.o: ZLib.cpp 10 | $(CXX) $(CFLAGS) ZLib.cpp 11 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/ubsec_ssb/Makefile: -------------------------------------------------------------------------------- 1 | # for SGlinux builds 2 | -include $(ROOTDIR)/modules/.config 3 | 4 | obj-$(CONFIG_OCF_UBSEC_SSB) += ubsec_ssb.o 5 | 6 | obj ?= . 7 | EXTRA_CFLAGS += -I$(obj)/.. -I$(obj)/ 8 | 9 | ifdef TOPDIR 10 | -include $(TOPDIR)/Rules.make 11 | endif 12 | 13 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/image/mkimg_sitecom.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | 3 | open (bzimg, @ARGV[0]); 4 | while () { $i .= $_; } 5 | $i .= pack "v", -(unpack "%v*", $i); 6 | print "CSYS"; 7 | print pack("V", length($i)); 8 | print pack("V", 0); 9 | print "WRRM"; 10 | print pack("V", length($i)); 11 | print $i; 12 | -------------------------------------------------------------------------------- /intelliroot/package/boot/uboot-envtools/Config.in: -------------------------------------------------------------------------------- 1 | config UBOOT_ENVTOOLS_UBI 2 | bool "Support environment in UBI volume" 3 | depends on PACKAGE_uboot-envtools 4 | default n 5 | help 6 | Add support for reading and writing U-Boot environment 7 | stored in UBI volume(s). 8 | 9 | Increases binary size by about 8 kB 10 | -------------------------------------------------------------------------------- /intelliroot/package/boot/uboot-imx6/patches/100-wandboard-enable-fit.patch: -------------------------------------------------------------------------------- 1 | --- a/include/configs/wandboard.h 2 | +++ b/include/configs/wandboard.h 3 | @@ -238,4 +238,7 @@ 4 | #define CONFIG_CMD_CACHE 5 | #endif 6 | 7 | +#define CONFIG_FIT 8 | +#define CONFIG_FIT_VERBOSE 9 | + 10 | #endif /* __CONFIG_H * */ 11 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/mac80211/patches/040-brcmutil_option.patch: -------------------------------------------------------------------------------- 1 | --- a/drivers/net/wireless/brcm80211/Kconfig 2 | +++ b/drivers/net/wireless/brcm80211/Kconfig 3 | @@ -1,5 +1,5 @@ 4 | config BRCMUTIL 5 | - tristate 6 | + tristate "Broadcom 802.11 driver utility functions" 7 | depends on m 8 | 9 | config BRCMSMAC 10 | -------------------------------------------------------------------------------- /intelliroot/package/libs/libnl-tiny/files/libnl-tiny.pc: -------------------------------------------------------------------------------- 1 | prefix=/usr 2 | exec_prefix=/usr 3 | libdir=${exec_prefix}/lib 4 | includedir=${prefix}/include/libnl-tiny 5 | 6 | Name: libnl-tiny 7 | Description: Convenience library for netlink sockets 8 | Version: 2.0 9 | Libs: -L${libdir} -lnl-tiny 10 | Cflags: -I${includedir} 11 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/comgt/files/3g.chat: -------------------------------------------------------------------------------- 1 | ABORT BUSY 2 | ABORT 'NO CARRIER' 3 | ABORT ERROR 4 | REPORT CONNECT 5 | TIMEOUT 10 6 | "" "AT&F" 7 | OK "ATE1" 8 | OK 'AT+CGDCONT=1,"IP","$USE_APN"' 9 | SAY "Calling UMTS/GPRS" 10 | TIMEOUT 30 11 | OK "ATD$DIALNUMBER" 12 | CONNECT ' ' 13 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/rdc/base-files/etc/diag.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2007-2013 OpenWrt.org 3 | 4 | . /lib/functions/leds.sh 5 | 6 | status_led="rdc321x:dmz" 7 | 8 | set_state() { 9 | case "$1" in 10 | preinit) 11 | status_led_on 12 | ;; 13 | done) 14 | status_led_off 15 | ;; 16 | esac 17 | } 18 | -------------------------------------------------------------------------------- /intelliroot/package/devel/valgrind/patches/120-no_linux_ptrace_h.patch: -------------------------------------------------------------------------------- 1 | --- a/coregrind/vgdb.c 2 | +++ b/coregrind/vgdb.c 3 | @@ -102,7 +102,6 @@ I_die_here : (PTRACEINVOKER) architectur 4 | #include 5 | #if defined(VGO_linux) 6 | # include 7 | -# include 8 | #endif 9 | #endif 10 | 11 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/iproute2/patches/007-no_arpd.patch: -------------------------------------------------------------------------------- 1 | --- a/misc/Makefile 2 | +++ b/misc/Makefile 3 | @@ -1,7 +1,7 @@ 4 | SSOBJ=ss.o ssfilter.o 5 | LNSTATOBJ=lnstat.o lnstat_util.o 6 | 7 | -TARGETS=ss nstat ifstat rtacct arpd lnstat 8 | +TARGETS=ss nstat ifstat rtacct lnstat 9 | 10 | include ../Config 11 | 12 | -------------------------------------------------------------------------------- /intelliroot/tools/b43-tools/patches/002-no_libfl.patch: -------------------------------------------------------------------------------- 1 | --- a/assembler/main.c 2 | +++ b/assembler/main.c 3 | @@ -1268,6 +1268,11 @@ static void initialize(void) 4 | #endif /* YYDEBUG */ 5 | } 6 | 7 | +int yywrap(void) 8 | +{ 9 | + return 1; 10 | +} 11 | + 12 | int main(int argc, char **argv) 13 | { 14 | int err, res = 1; 15 | -------------------------------------------------------------------------------- /intelliroot/tools/mkimage/patches/010-freebsd-ulong-fix.patch: -------------------------------------------------------------------------------- 1 | --- a/include/image.h 2 | +++ b/include/image.h 3 | @@ -44,6 +44,10 @@ 4 | 5 | #endif /* USE_HOSTCC */ 6 | 7 | +#ifndef ulong 8 | +#define ulong unsigned long 9 | +#endif 10 | + 11 | #if defined(CONFIG_FIT) 12 | #include 13 | #include 14 | -------------------------------------------------------------------------------- /intelliroot/tools/padjffs2/src/Makefile: -------------------------------------------------------------------------------- 1 | CC = gcc 2 | CFLAGS = 3 | WFLAGS = -Wall -Werror 4 | padjffs2-objs = padjffs2.o 5 | 6 | all: padjffs2 7 | 8 | %.o: %.c 9 | $(CC) $(CFLAGS) $(WFLAGS) -c -o $@ $< 10 | 11 | padjffs2: $(padjffs2-objs) 12 | $(CC) $(LDFLAGS) -o $@ $(padjffs2-objs) 13 | 14 | clean: 15 | rm -f padjffs2 *.o 16 | -------------------------------------------------------------------------------- /intelliroot/package/network/config/netifd/files/etc/hotplug.d/iface/00-netstate: -------------------------------------------------------------------------------- 1 | [ ifup = "$ACTION" ] && { 2 | uci_toggle_state network "$INTERFACE" up 1 3 | [ -n "$DEVICE" ] && { 4 | uci_toggle_state network "$INTERFACE" device "$(uci -q get network.$INTERFACE.ifname)" 5 | uci_toggle_state network "$INTERFACE" ifname "$DEVICE" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/igmpproxy/patches/010-missing_include.patch: -------------------------------------------------------------------------------- 1 | --- a/src/os-linux.h 2 | +++ b/src/os-linux.h 3 | @@ -3,6 +3,7 @@ 4 | #include 5 | #include 6 | #include 7 | +#include 8 | 9 | static inline u_short ip_data_len(const struct ip *ip) 10 | { 11 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/curl/patches/100-check_long_long.patch: -------------------------------------------------------------------------------- 1 | --- a/configure.ac 2 | +++ b/configure.ac 3 | @@ -2877,6 +2877,7 @@ CURL_VERIFY_RUNTIMELIBS 4 | 5 | AC_CHECK_SIZEOF(size_t) 6 | AC_CHECK_SIZEOF(long) 7 | +AC_CHECK_SIZEOF(long long) 8 | AC_CHECK_SIZEOF(int) 9 | AC_CHECK_SIZEOF(short) 10 | CURL_CONFIGURE_LONG 11 | -------------------------------------------------------------------------------- /intelliroot/package/utils/busybox/patches/001-resource_h_include.patch: -------------------------------------------------------------------------------- 1 | --- a/include/libbb.h 2 | +++ b/include/libbb.h 3 | @@ -35,6 +35,7 @@ 4 | #include 5 | #include 6 | #include 7 | +#include 8 | #include 9 | #include 10 | #include 11 | -------------------------------------------------------------------------------- /intelliroot/package/utils/px5g-standalone/src/Makefile: -------------------------------------------------------------------------------- 1 | CFLAGS?=-O2 2 | CFLAGS+= 3 | SFLAGS:=--std=gnu99 4 | WFLAGS:=-Wall -Werror -pedantic 5 | LDFLAGS?= 6 | BINARY:=px5g 7 | 8 | all: $(BINARY) 9 | 10 | $(BINARY): *.c library/*.c 11 | $(CC) -I. $(CFLAGS) $(SFLAGS) $(WFLAGS) $(LDFLAGS) -o $@ $+ 12 | 13 | clean: 14 | rm -f $(BINARY) 15 | -------------------------------------------------------------------------------- /intelliroot/toolchain/uClibc/patches-0.9.33.2/410-llvm_workaround.patch: -------------------------------------------------------------------------------- 1 | --- a/libc/stdio/_stdio.c 2 | +++ b/libc/stdio/_stdio.c 3 | @@ -124,7 +124,7 @@ static FILE _stdio_streams[] = { 4 | __FLAG_NBF|__FLAG_WRITEONLY, \ 5 | 2, \ 6 | NULL, \ 7 | - NULL, \ 8 | + 0, \ 9 | 0 ) 10 | }; 11 | 12 | -------------------------------------------------------------------------------- /intelliroot/.gitignore: -------------------------------------------------------------------------------- 1 | *.o 2 | .DS_Store 3 | .*.swp 4 | /env 5 | /dl 6 | /.config 7 | /.config.old 8 | /bin 9 | /build_dir 10 | /staging_dir 11 | /tmp 12 | /logs 13 | /feeds 14 | /feeds.conf 15 | /files 16 | /package/feeds 17 | /package/openwrt-packages 18 | *.orig 19 | *.rej 20 | *~ 21 | .#* 22 | *# 23 | .emacs.desktop* 24 | TAGS*~ 25 | git-src -------------------------------------------------------------------------------- /intelliroot/package/network/utils/conntrack-tools/patches/100-compile_fix.patch: -------------------------------------------------------------------------------- 1 | --- a/src/parse.c 2 | +++ b/src/parse.c 3 | @@ -16,6 +16,7 @@ 4 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 5 | */ 6 | 7 | +#include 8 | #include "network.h" 9 | 10 | #include 11 | -------------------------------------------------------------------------------- /intelliroot/package/utils/busybox/patches/130-mconf_missing_sigwinch.patch: -------------------------------------------------------------------------------- 1 | --- a/scripts/kconfig/mconf.c 2 | +++ b/scripts/kconfig/mconf.c 3 | @@ -27,6 +27,10 @@ 4 | #include 5 | #include 6 | 7 | +#ifndef SIGWINCH 8 | +#define SIGWINCH 28 9 | +#endif 10 | + 11 | #define LKC_DIRECT_LINK 12 | #include "lkc.h" 13 | 14 | -------------------------------------------------------------------------------- /intelliroot/target/linux/imx6/patches-3.10/100-bootargs.patch: -------------------------------------------------------------------------------- 1 | --- a/arch/arm/boot/dts/imx6dl-wandboard.dts 2 | +++ b/arch/arm/boot/dts/imx6dl-wandboard.dts 3 | @@ -18,6 +18,10 @@ 4 | memory { 5 | reg = <0x10000000 0x40000000>; 6 | }; 7 | + 8 | + chosen { 9 | + bootargs = "console=ttymxc0,115200"; 10 | + }; 11 | }; 12 | 13 | &fec { 14 | -------------------------------------------------------------------------------- /intelliroot/target/sdk/Config.in: -------------------------------------------------------------------------------- 1 | config SDK 2 | bool "Build the OpenWrt SDK" 3 | depends on !EXTERNAL_TOOLCHAIN 4 | help 5 | This is essentially a stripped-down version of the buildroot 6 | with a precompiled toolchain. It can be used to develop and 7 | test packages for OpenWrt before including them in the buildroot 8 | 9 | 10 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/etc/init.d/sysfixtime: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2013-2014 OpenWrt.org 3 | 4 | START=00 5 | 6 | boot() { 7 | local curtime="$(date +%s)" 8 | local maxtime="$(find /etc -type f -exec date -r {} +%s \; | sort -nr | head -n1)" 9 | [ $curtime -lt $maxtime ] && date -s @$maxtime 10 | } 11 | 12 | -------------------------------------------------------------------------------- /intelliroot/package/boot/yamonenv/patches/001-yamonenv_mtd_partition.patch: -------------------------------------------------------------------------------- 1 | --- a/src/yamonenv.c 2 | +++ b/src/yamonenv.c 3 | @@ -12,7 +12,7 @@ 4 | #include 5 | #include 6 | 7 | -#define DEFAULT_YAMON_ENV_FILE "/dev/mtd/3" 8 | +#define DEFAULT_YAMON_ENV_FILE "/dev/mtd3" 9 | 10 | 11 | // control byte definitions: 12 | -------------------------------------------------------------------------------- /intelliroot/package/libs/gettext/src/LICENSE: -------------------------------------------------------------------------------- 1 | Each source file contains the following message: 2 | 3 | Copyright (C) 1995-2010 Free Software Foundation, Inc. 4 | This file is free software; the Free Software Foundation 5 | gives unlimited permission to copy and/or distribute it, 6 | with or without modifications, as long as this notice is preserved. 7 | 8 | -------------------------------------------------------------------------------- /intelliroot/package/utils/busybox/patches/240-telnetd_intr.patch: -------------------------------------------------------------------------------- 1 | --- a/networking/telnetd.c 2 | +++ b/networking/telnetd.c 3 | @@ -331,6 +331,7 @@ make_new_session( 4 | 5 | /* Restore default signal handling ASAP */ 6 | bb_signals((1 << SIGCHLD) + (1 << SIGPIPE), SIG_DFL); 7 | + signal(SIGINT, SIG_DFL); 8 | 9 | pid = getpid(); 10 | 11 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm47xx/image/lzma-loader/src/decompress.lds.in: -------------------------------------------------------------------------------- 1 | OUTPUT_ARCH(mips) 2 | ENTRY(entry) 3 | SECTIONS { 4 | . = BZ_TEXT_START; 5 | .text : { 6 | *(.text.entry) 7 | *(.text) 8 | *(.rodata) 9 | } 10 | 11 | .data : { 12 | *(.data) 13 | } 14 | 15 | .bss : { 16 | *(.bss) 17 | } 18 | 19 | workspace = .; 20 | } 21 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm63xx/image/lzma-loader/src/decompress.lds.in: -------------------------------------------------------------------------------- 1 | OUTPUT_ARCH(mips) 2 | ENTRY(entry) 3 | SECTIONS { 4 | . = BZ_TEXT_START; 5 | .text : { 6 | *(.text.entry) 7 | *(.text) 8 | *(.rodata) 9 | } 10 | 11 | .data : { 12 | *(.data) 13 | } 14 | 15 | .bss : { 16 | *(.bss) 17 | } 18 | 19 | workspace = .; 20 | } 21 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/image/initramfs-base-files.txt: -------------------------------------------------------------------------------- 1 | nod /dev/console 600 0 0 c 5 1 2 | nod /dev/null 666 0 0 c 1 3 3 | nod /dev/zero 666 0 0 c 1 5 4 | nod /dev/tty 666 0 0 c 5 0 5 | nod /dev/tty0 660 0 0 c 4 0 6 | nod /dev/tty1 660 0 0 c 4 1 7 | nod /dev/random 666 0 0 c 1 8 8 | nod /dev/urandom 666 0 0 c 1 9 9 | dir /dev/pts 755 0 0 10 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/image/grub.cfg: -------------------------------------------------------------------------------- 1 | @SERIAL_CONFIG@ 2 | @TERMINAL_CONFIG@ 3 | 4 | set default="0" 5 | set timeout="@TIMEOUT@" 6 | set root='(hd0,msdos1)' 7 | 8 | menuentry "OpenWrt" { 9 | linux /boot/vmlinuz @CMDLINE@ noinitrd 10 | } 11 | menuentry "OpenWrt (failsafe)" { 12 | linux /boot/vmlinuz failsafe=true @CMDLINE@ noinitrd 13 | } 14 | -------------------------------------------------------------------------------- /intelliroot/toolchain/musl/patches/100-add_glob_onlydir.patch: -------------------------------------------------------------------------------- 1 | --- a/include/glob.h 2 | +++ b/include/glob.h 3 | @@ -31,6 +31,8 @@ void globfree(glob_t *); 4 | #define GLOB_NOESCAPE 0x40 5 | #define GLOB_PERIOD 0x80 6 | 7 | +#define GLOB_ONLYDIR 0x100 8 | + 9 | #define GLOB_NOSPACE 1 10 | #define GLOB_ABORTED 2 11 | #define GLOB_NOMATCH 3 12 | -------------------------------------------------------------------------------- /intelliroot/tools/elftosb/patches/001-libm.patch: -------------------------------------------------------------------------------- 1 | --- elftosb-10.12.01/makefile.rules 2012-03-15 11:01:44.979020178 -0400 2 | +++ elftosb-10.12.01/makefile.rules 2012-03-15 11:01:16.332761989 -0400 3 | @@ -101,7 +101,7 @@ 4 | keygen.o 5 | 6 | 7 | -LIBS = -lstdc++ 8 | +LIBS = -lstdc++ -lm 9 | 10 | 11 | ifeq ("${UNAMES}", "Linux") 12 | -------------------------------------------------------------------------------- /intelliroot/docs/openwrt.sty: -------------------------------------------------------------------------------- 1 | \ProvidesPackage{openwrt} 2 | 3 | \usepackage[latin9]{inputenc} 4 | \usepackage[bookmarks=true color=blue colorlinks=true]{hyperref} 5 | \usepackage[T1]{fontenc} 6 | \usepackage{ae,aecompl,aeguill} 7 | \usepackage{fancyvrb} 8 | \usepackage{enumerate} 9 | \setlength{\parindent}{0pt} 10 | \setlength{\parskip}\medskipamount 11 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/ppp/patches/510-pptp_compile_fix.patch: -------------------------------------------------------------------------------- 1 | --- a/pppd/plugins/pptp/pptp.c 2 | +++ b/pppd/plugins/pptp/pptp.c 3 | @@ -48,7 +48,7 @@ 4 | 5 | #include "pptp_callmgr.h" 6 | #include 7 | -#include 8 | +#include 9 | #include 10 | 11 | #include 12 | -------------------------------------------------------------------------------- /intelliroot/package/system/mountd/files/mountd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | 3 | START=80 4 | 5 | SERVICE_DAEMONIZE=1 6 | SERVICE_WRITE_PID=1 7 | SERVICE_PID_FILE=/var/run/mountd.pid 8 | 9 | MOUNTD_BIN=/sbin/mountd 10 | 11 | start() 12 | { 13 | service_start $MOUNTD_BIN -f 14 | } 15 | 16 | stop() 17 | { 18 | service_stop $MOUNTD_BIN 19 | } 20 | -------------------------------------------------------------------------------- /intelliroot/package/utils/busybox/patches/260-arping_missing_includes.patch: -------------------------------------------------------------------------------- 1 | --- a/networking/arping.c 2 | +++ b/networking/arping.c 3 | @@ -24,6 +24,8 @@ 4 | 5 | #include 6 | #include 7 | +#include 8 | +#include 9 | #include 10 | #include 11 | 12 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-trx-header: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright (C) 2010 OpenWrt.org 4 | # 5 | 6 | . /lib/ar71xx.sh 7 | 8 | board=$(ar71xx_board_name) 9 | 10 | fixtrx() { 11 | mtd -o 32 fixtrx firmware 12 | } 13 | 14 | case "$board" in 15 | mynet-rext |\ 16 | wrt160nl) 17 | fixtrx 18 | ;; 19 | esac 20 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm63xx/base-files/lib/preinit/05_failsafe_config_switch_brcm63xx: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | failsafe_ip() { 4 | [ -n "$pi_ifname" ] && grep -q "$pi_ifname" /proc/net/dev && { 5 | ifconfig $pi_ifname $pi_ip netmask $pi_netmask broadcast $pi_broadcast up 6 | } 7 | } 8 | 9 | boot_hook_add failsafe failsafe_ip 10 | 11 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/hifn/Makefile: -------------------------------------------------------------------------------- 1 | # for SGlinux builds 2 | -include $(ROOTDIR)/modules/.config 3 | 4 | obj-$(CONFIG_OCF_HIFN) += hifn7751.o 5 | obj-$(CONFIG_OCF_HIFNHIPP) += hifnHIPP.o 6 | 7 | obj ?= . 8 | EXTRA_CFLAGS += -I$(obj)/.. -I$(obj)/ 9 | 10 | ifdef TOPDIR 11 | -include $(TOPDIR)/Rules.make 12 | endif 13 | 14 | -------------------------------------------------------------------------------- /intelliroot/target/linux/imx6/image/ubinize.cfg: -------------------------------------------------------------------------------- 1 | [rootfs] 2 | # Volume mode (other option is static) 3 | mode=ubi 4 | # Source image 5 | image=root.ubifs 6 | # Volume ID in UBI image 7 | vol_id=0 8 | # Allow for dynamic resize 9 | vol_type=dynamic 10 | # Volume name 11 | vol_name=rootfs 12 | # Autoresize volume at first mount 13 | vol_flags=autoresize 14 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/xen_domu/base-files/lib/preinit/45_mount_xenfs: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2010 OpenWrt.org 3 | 4 | do_mount_xenfs() { 5 | [ -f /etc/modules.d/??-xenfs ] && { 6 | insmod $(cat /etc/modules.d/??-xenfs) 7 | mount -o noatime none /proc/xen -t xenfs 8 | } 9 | } 10 | 11 | boot_hook_add preinit_mount_root do_mount_xenfs 12 | -------------------------------------------------------------------------------- /intelliroot/toolchain/musl/headers/Makefile: -------------------------------------------------------------------------------- 1 | PATH_PREFIX:=.. 2 | 3 | include ../common.mk 4 | 5 | HOST_STAMP_BUILT:=$(HOST_BUILD_DIR)/.headers_built 6 | HOST_STAMP_INSTALLED:=$(TOOLCHAIN_DIR)/stamp/.uclibc_headers_installed 7 | 8 | define Host/Compile 9 | 10 | endef 11 | 12 | define Host/Install 13 | endef 14 | 15 | $(eval $(call HostBuild)) 16 | 17 | -------------------------------------------------------------------------------- /intelliroot/toolchain/uClibc/patches-0.9.33.2/200-no_forced_unwind.patch: -------------------------------------------------------------------------------- 1 | --- a/Rules.mak 2 | +++ b/Rules.mak 3 | @@ -707,7 +707,6 @@ endif 4 | ifeq ($(UCLIBC_HAS_THREADS),y) 5 | ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y) 6 | PTNAME := nptl 7 | - CFLAGS += -DHAVE_FORCED_UNWIND 8 | else 9 | ifeq ($(LINUXTHREADS_OLD),y) 10 | PTNAME := linuxthreads.old 11 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/lib/preinit/50_indicate_regular_preinit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2006 OpenWrt.org 3 | # Copyright (C) 2010 Vertical Communications 4 | 5 | indicate_regular_preinit() { 6 | preinit_net_echo "Continuing with Regular Preinit\n" 7 | pi_indicate_led 8 | } 9 | 10 | boot_hook_add preinit_main indicate_regular_preinit 11 | -------------------------------------------------------------------------------- /intelliroot/package/libs/libpcap/patches/203-undef_iw_mode_monitor.patch: -------------------------------------------------------------------------------- 1 | --- a/pcap-linux.c 2 | +++ b/pcap-linux.c 3 | @@ -249,6 +249,8 @@ static const char rcsid[] _U_ = 4 | typedef int socklen_t; 5 | #endif 6 | 7 | +#undef IW_MODE_MONITOR 8 | + 9 | #ifndef MSG_TRUNC 10 | /* 11 | * This is being compiled on a system that lacks MSG_TRUNC; define it 12 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/ppp/files/lib/netifd/ppp-down: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | PPP_IPPARAM="$6" 3 | 4 | . /lib/netifd/netifd-proto.sh 5 | proto_init_update "$IFNAME" 0 6 | proto_send_update "$PPP_IPPARAM" 7 | 8 | [ -d /etc/ppp/ip-down.d ] && { 9 | for SCRIPT in /etc/ppp/ip-down.d/* 10 | do 11 | [ -x "$SCRIPT" ] && "$SCRIPT" "$@" 12 | done 13 | } 14 | -------------------------------------------------------------------------------- /intelliroot/scripts/clang-gcc-wrapper: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | _cc="${HOSTCC_REAL:-gcc}" 3 | case "$1" in 4 | -print-file-name=*) 5 | dirs="$($_cc -print-search-dirs | grep -m1 libraries | sed -e 's,:, ,' -e 's,.* =,,')" 6 | dirs="$dirs /usr/lib /usr/local/lib" 7 | find $dirs -name "${1#*=}" | head -n1 8 | ;; 9 | *) 10 | exec $_cc "$@" 11 | ;; 12 | esac 13 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/patches-3.10/252-mv_cesa_depends.patch: -------------------------------------------------------------------------------- 1 | --- a/drivers/crypto/Kconfig 2 | +++ b/drivers/crypto/Kconfig 3 | @@ -164,6 +164,7 @@ config CRYPTO_DEV_MV_CESA 4 | depends on PLAT_ORION 5 | select CRYPTO_ALGAPI 6 | select CRYPTO_AES 7 | + select CRYPTO_HASH2 8 | select CRYPTO_BLKCIPHER2 9 | select CRYPTO_HASH 10 | help 11 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/rdc/base-files/lib/upgrade/platform.sh: -------------------------------------------------------------------------------- 1 | PART_NAME=firmware 2 | 3 | platform_check_image() { 4 | [ "$(get_magic_word $(find_mtd_part firmware))" -eq "$(get_magic_word "$1")" ] && return 0 5 | 6 | echo "Invalid image type. Please use an appropriate .bin file" 7 | return 1 8 | } 9 | 10 | # use default for platform_do_upgrade() 11 | -------------------------------------------------------------------------------- /intelliroot/toolchain/uClibc/patches-0.9.33.2/137-inet_fix_threaded_res_init.patch: -------------------------------------------------------------------------------- 1 | --- a/libc/inet/resolv.c 2 | +++ b/libc/inet/resolv.c 3 | @@ -3581,6 +3581,7 @@ res_init(void) 4 | if (!_res.id) 5 | _res.id = res_randomid(); 6 | 7 | + __res_sync = NULL; 8 | __res_vinit(&_res, 1); 9 | __res_sync = res_sync_func; 10 | 11 | -- 12 | cgit v0.9.1 13 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/lib/preinit/70_initramfs_test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2006 OpenWrt.org 3 | # Copyright (C) 2010 Vertical Communications 4 | 5 | initramfs_test() { 6 | if [ -n "$INITRAMFS" ]; then 7 | boot_run_hook initramfs 8 | preinit_ip_deconfig 9 | break 10 | fi 11 | } 12 | 13 | boot_hook_add preinit_main initramfs_test 14 | -------------------------------------------------------------------------------- /intelliroot/package/libs/libiconv/src/LICENSE: -------------------------------------------------------------------------------- 1 | The source file iconv.m4 contains the following message 2 | 3 | Copyright (C) 2000-2002, 2007-2010 Free Software Foundation, Inc. 4 | This file is free software; the Free Software Foundation 5 | gives unlimited permission to copy and/or distribute it, 6 | with or without modifications, as long as this notice is preserved. 7 | -------------------------------------------------------------------------------- /intelliroot/package/system/opkg/patches/011-old-config-location.patch: -------------------------------------------------------------------------------- 1 | --- a/src/opkg-cl.c 2 | +++ b/src/opkg-cl.c 3 | @@ -207,6 +207,9 @@ args_parse(int argc, char *argv[]) 4 | } 5 | } 6 | 7 | + if(!conf->conf_file && !conf->offline_root) 8 | + conf->conf_file = xstrdup("/etc/opkg.conf"); 9 | + 10 | if (parse_err) 11 | return parse_err; 12 | else 13 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/etc/config/system: -------------------------------------------------------------------------------- 1 | config system 2 | option hostname IntelliPi 3 | option timezone UTC 4 | 5 | config timeserver ntp 6 | list server 0.openwrt.pool.ntp.org 7 | list server 1.openwrt.pool.ntp.org 8 | list server 2.openwrt.pool.ntp.org 9 | list server 3.openwrt.pool.ntp.org 10 | option enabled 1 11 | option enable_server 0 12 | -------------------------------------------------------------------------------- /intelliroot/package/boot/uboot-lantiq/README: -------------------------------------------------------------------------------- 1 | # How to refresh patches 2 | 3 | $ git clone git@github.com:danielschwierzeck/u-boot-lantiq.git 4 | $ mkdir -p $OPENWRT_ROOT/packages/boot/uboot-lantiq/patches 5 | $ cd u-boot-lantiq.git 6 | $ git format-patch -p -k --no-renames --no-binary -o $OPENWRT_ROOT/package/boot/uboot-lantiq/patches v2013.10..u-boot-lantiq-v2013.10-openwrtN 7 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/om-watchdog/files/om-watchdog: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | GPIO=$1 4 | 5 | trap "" INT HUP 6 | 7 | echo $GPIO > /sys/class/gpio/export 8 | echo out > /sys/class/gpio/gpio${GPIO}/direction 9 | 10 | while true; do 11 | echo 1 > /sys/class/gpio/gpio${GPIO}/value 12 | sleep 1 13 | echo 0 > /sys/class/gpio/gpio${GPIO}/value 14 | sleep 180 15 | done 16 | -------------------------------------------------------------------------------- /intelliroot/package/libs/polarssl/patches/100-disable_sslv3.patch: -------------------------------------------------------------------------------- 1 | --- a/include/polarssl/config.h 2 | +++ b/include/polarssl/config.h 3 | @@ -859,8 +859,8 @@ 4 | * POLARSSL_SHA1_C 5 | * 6 | * Comment this macro to disable support for SSL 3.0 7 | - */ 8 | #define POLARSSL_SSL_PROTO_SSL3 9 | + */ 10 | 11 | /** 12 | * \def POLARSSL_SSL_PROTO_TLS1 13 | -------------------------------------------------------------------------------- /intelliroot/package/system/mountd/patches/040-optional-daemonize.patch: -------------------------------------------------------------------------------- 1 | --- a/main.c 2 | +++ b/main.c 3 | @@ -13,7 +13,9 @@ 4 | 5 | int main(int argc, char *argv[]) 6 | { 7 | - daemon(0,0); 8 | + if ((argc < 2) || strcmp(argv[1], "-f")) 9 | + daemon(0,0); 10 | + 11 | daemonize = 1; 12 | log_start(); 13 | log_printf("Starting OpenWrt (auto)mountd V1\n"); 14 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm2708/base-files/etc/uci-defaults/02_network: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2014 OpenWrt.org 3 | 4 | [ -e /etc/config/network ] && exit 0 5 | 6 | touch /etc/config/network 7 | 8 | . /lib/functions/uci-defaults.sh 9 | 10 | ucidef_set_interface_loopback 11 | ucidef_set_interface_lan "eth0" 12 | 13 | uci commit network 14 | 15 | exit 0 16 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm63xx/smp/config-default: -------------------------------------------------------------------------------- 1 | CONFIG_CPU_RMAP=y 2 | # CONFIG_KEXEC is not set 3 | CONFIG_MUTEX_SPIN_ON_OWNER=y 4 | CONFIG_NR_CPUS=2 5 | CONFIG_RCU_STALL_COMMON=y 6 | CONFIG_RFS_ACCEL=y 7 | CONFIG_RPS=y 8 | CONFIG_SMP=y 9 | CONFIG_SMP_UP=y 10 | CONFIG_STOP_MACHINE=y 11 | CONFIG_TREE_RCU=y 12 | CONFIG_USE_GENERIC_SMP_HELPERS=y 13 | CONFIG_XPS=y 14 | -------------------------------------------------------------------------------- /intelliroot/toolchain/gcc/patches/4.4.7/302-c99-snprintf.patch: -------------------------------------------------------------------------------- 1 | --- a/libstdc++-v3/include/c_global/cstdio 2 | +++ b/libstdc++-v3/include/c_global/cstdio 3 | @@ -139,7 +139,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) 4 | 5 | _GLIBCXX_END_NAMESPACE 6 | 7 | -#if _GLIBCXX_USE_C99 8 | +#if _GLIBCXX_USE_C99 || defined __UCLIBC__ 9 | 10 | #undef snprintf 11 | #undef vfscanf 12 | -------------------------------------------------------------------------------- /intelliroot/toolchain/gcc/patches/4.6-linaro/302-c99-snprintf.patch: -------------------------------------------------------------------------------- 1 | --- a/libstdc++-v3/include/c_global/cstdio 2 | +++ b/libstdc++-v3/include/c_global/cstdio 3 | @@ -137,7 +137,7 @@ namespace std 4 | using ::vsprintf; 5 | } // namespace 6 | 7 | -#if _GLIBCXX_USE_C99 8 | +#if _GLIBCXX_USE_C99 || defined __UCLIBC__ 9 | 10 | #undef snprintf 11 | #undef vfscanf 12 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/etc/init.d/done: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006 OpenWrt.org 3 | 4 | START=95 5 | boot() { 6 | [ -d /tmp/root ] && mount_root done 7 | 8 | # process user commands 9 | [ -f /etc/rc.local ] && { 10 | sh /etc/rc.local 11 | } 12 | 13 | # set leds to normal state 14 | . /etc/diag.sh 15 | set_state done 16 | } 17 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/lib/preinit/40_run_failsafe_hook: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2006-2010 OpenWrt.org 3 | # Copyright (C) 2010 Vertical Communications 4 | 5 | run_failsafe_hook() { 6 | if [ "$FAILSAFE" = "true" ]; then 7 | boot_run_hook failsafe 8 | lock -w /tmp/.failsafe 9 | fi 10 | } 11 | 12 | boot_hook_add preinit_main run_failsafe_hook 13 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/mac80211/patches/070-add-missing-header.patch: -------------------------------------------------------------------------------- 1 | --- a/compat/backport-3.15.c 2 | +++ b/compat/backport-3.15.c 3 | @@ -12,6 +12,7 @@ 4 | #include 5 | #include 6 | #include 7 | +#include 8 | #include 9 | 10 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0)) 11 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/hostapd/patches/420-fix_wps_pin_crash.patch: -------------------------------------------------------------------------------- 1 | --- a/hostapd/ctrl_iface.c 2 | +++ b/hostapd/ctrl_iface.c 3 | @@ -540,6 +540,9 @@ static int hostapd_ctrl_iface_wps_ap_pin 4 | char *pos; 5 | const char *pin_txt; 6 | 7 | + if (!hapd->wps) 8 | + return -1; 9 | + 10 | pos = os_strchr(txt, ' '); 11 | if (pos) 12 | *pos++ = '\0'; 13 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/openvpn/patches/110-musl_compat.patch: -------------------------------------------------------------------------------- 1 | --- a/src/openvpn/syshead.h 2 | +++ b/src/openvpn/syshead.h 3 | @@ -214,10 +214,6 @@ 4 | 5 | #ifdef TARGET_LINUX 6 | 7 | -#if defined(HAVE_NETINET_IF_ETHER_H) 8 | -#include 9 | -#endif 10 | - 11 | #ifdef HAVE_LINUX_IF_TUN_H 12 | #include 13 | #endif 14 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/comgt/files/getimsi.gcom: -------------------------------------------------------------------------------- 1 | opengt 2 | set com 115200n81 3 | set comecho off 4 | set senddelay 0.02 5 | waitquiet 0.2 0.2 6 | flash 0.1 7 | 8 | :start 9 | send "AT+CIMI^m" 10 | get 1 "^m" $s 11 | get 1 "^m" $s 12 | let x = len($s) 13 | if x<2 goto continue 14 | let $s = $right($s, x-1) 15 | print $s 16 | :continue 17 | exit 0 18 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/files/include/linux/platform_data/gpio-latch.h: -------------------------------------------------------------------------------- 1 | #ifndef _GPIO_LATCH_H_ 2 | #define _GPIO_LATCH_H_ 3 | 4 | #define GPIO_LATCH_DRIVER_NAME "gpio-latch" 5 | 6 | struct gpio_latch_platform_data { 7 | int base; 8 | int num_gpios; 9 | int *gpios; 10 | int le_gpio_index; 11 | bool le_active_low; 12 | }; 13 | 14 | #endif /* _GPIO_LATCH_H_ */ 15 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm63xx/patches-3.10/351-set-board-usbh-ports.patch: -------------------------------------------------------------------------------- 1 | --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c 2 | +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c 3 | @@ -620,6 +620,7 @@ static struct board_info __initdata boar 4 | .has_ohci0 = 1, 5 | .has_pccard = 1, 6 | .has_ehci0 = 1, 7 | + .num_usbh_ports = 2, 8 | 9 | .leds = { 10 | { 11 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/base-files/etc/defconfig/net4826/network: -------------------------------------------------------------------------------- 1 | config interface loopback 2 | option ifname lo 3 | option proto static 4 | option ipaddr 127.0.0.1 5 | option netmask 255.0.0.0 6 | 7 | config interface lan 8 | option ifname eth0 9 | option type bridge 10 | option proto static 11 | option ipaddr 192.168.1.1 12 | option netmask 255.255.255.0 13 | -------------------------------------------------------------------------------- /intelliroot/tools/mklibs/patches/011-remove_multiarch.patch: -------------------------------------------------------------------------------- 1 | --- a/src/mklibs 2 | +++ b/src/mklibs 3 | @@ -263,6 +263,7 @@ def extract_soname(so_file): 4 | return "" 5 | 6 | def multiarch(paths): 7 | + return paths 8 | devnull = open('/dev/null', 'w') 9 | dpkg_architecture = subprocess.Popen( 10 | ['dpkg-architecture', '-qDEB_HOST_MULTIARCH'], 11 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/broadcom-wl/patches/011-fix_compile_3_4.patch: -------------------------------------------------------------------------------- 1 | --- a/driver/wl_linux.c 2 | +++ b/driver/wl_linux.c 3 | @@ -49,7 +49,9 @@ 4 | #include 5 | #endif 6 | 7 | +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0) 8 | #include 9 | +#endif 10 | #include 11 | #include 12 | #include 13 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/rotary-gpio-custom/src/Kconfig: -------------------------------------------------------------------------------- 1 | config ROTARY_GPIO_CUSTOM 2 | tristate "Custom GPIO-based rotary driver" 3 | depends on GENERIC_GPIO 4 | help 5 | This is a driver to register 1 to 4 custom rotary encoder using 6 | GPIO lines. 7 | 8 | This support is also available as a module. If so, the module 9 | will be called rotary-gpio-custom. 10 | -------------------------------------------------------------------------------- /intelliroot/package/libs/libpcap/Config.in: -------------------------------------------------------------------------------- 1 | menu "Configuration" 2 | depends on PACKAGE_libpcap 3 | 4 | config PCAP_HAS_USB 5 | bool "Include USB support" 6 | depends on PACKAGE_kmod-usb-core 7 | default n 8 | 9 | config PCAP_HAS_BT 10 | bool "Include bluetooth support" 11 | depends on PACKAGE_kmod-bluetooth 12 | depends on BROKEN 13 | default n 14 | 15 | endmenu 16 | -------------------------------------------------------------------------------- /intelliroot/package/libs/nettle/Config.in: -------------------------------------------------------------------------------- 1 | # nettle avanced configuration 2 | 3 | menu "Configuration" 4 | depends on PACKAGE_libnettle 5 | 6 | config LIBNETTLE_MINI 7 | bool "use mini-gmp instead of gmp; the library will be much smaller at a 10x performance penalty. Note that this option may have side effects to programs that link to both nettle and gmp." 8 | 9 | endmenu 10 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/image/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2010 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | include $(TOPDIR)/rules.mk 8 | include $(INCLUDE_DIR)/image.mk 9 | 10 | # use default targets for everything 11 | 12 | $(eval $(call BuildImage)) 13 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/patches-3.10/322-ppc4xx-crypto-compile-fix.patch: -------------------------------------------------------------------------------- 1 | --- a/drivers/crypto/amcc/crypto4xx_core.c 2 | +++ b/drivers/crypto/amcc/crypto4xx_core.c 3 | @@ -19,6 +19,7 @@ 4 | */ 5 | 6 | #include 7 | +#include 8 | #include 9 | #include 10 | #include 11 | -------------------------------------------------------------------------------- /intelliroot/tools/e2fsprogs/patches/002-dont-build-e4defrag.patch: -------------------------------------------------------------------------------- 1 | --- a/misc/Makefile.in 2 | +++ b/misc/Makefile.in 3 | @@ -11,7 +11,7 @@ INSTALL = @INSTALL@ 4 | 5 | @MCONFIG@ 6 | 7 | -@DEFRAG_CMT@@LINUX_CMT@E4DEFRAG_PROG= e4defrag 8 | +@DEFRAG_CMT@@LINUX_CMT@E4DEFRAG_PROG= 9 | @DEFRAG_CMT@@LINUX_CMT@E4DEFRAG_MAN= e4defrag.8 10 | 11 | @IMAGER_CMT@E2IMAGE_PROG= e2image 12 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/odhcpd/files/odhcpd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | 3 | START=35 4 | STOP=85 5 | USE_PROCD=1 6 | 7 | start_service() { 8 | procd_open_instance 9 | procd_set_param command /usr/sbin/odhcpd 10 | procd_set_param respawn 11 | procd_close_instance 12 | } 13 | 14 | service_triggers() 15 | { 16 | procd_add_reload_trigger "dhcp" 17 | } 18 | 19 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/iputils/patches/011-ping6_use_gnu_source.patch: -------------------------------------------------------------------------------- 1 | --- a/ping6.c 2 | +++ b/ping6.c 3 | @@ -66,6 +66,8 @@ char copyright[] = 4 | * More statistics could always be gathered. 5 | * This program has to run SUID to ROOT to access the ICMP socket. 6 | */ 7 | + 8 | +#define _GNU_SOURCE 9 | #include "ping_common.h" 10 | 11 | #include 12 | -------------------------------------------------------------------------------- /intelliroot/target/linux/avr32/image/u-boot/patches/100-ngw100_enable_lzma_support.patch: -------------------------------------------------------------------------------- 1 | --- a/include/configs/atngw100.h 2 | +++ b/include/configs/atngw100.h 3 | @@ -65,6 +65,7 @@ 4 | #define CONFIG_USART_ID 1 5 | /* User serviceable stuff */ 6 | #define CONFIG_DOS_PARTITION 7 | +#define CONFIG_LZMA 8 | 9 | #define CONFIG_CMDLINE_TAG 10 | #define CONFIG_SETUP_MEMORY_TAGS 11 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm63xx/generic/profiles/103-Ralink.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | define Profile/Ralink 9 | NAME:=Ralink WiFi 10 | PACKAGES:=kmod-rt61-pci wpad-mini 11 | endef 12 | $(eval $(call Profile,Ralink)) 13 | 14 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm63xx/smp/profiles/103-Ralink.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | define Profile/Ralink 9 | NAME:=Ralink WiFi 10 | PACKAGES:=kmod-rt61-pci wpad-mini 11 | endef 12 | $(eval $(call Profile,Ralink)) 13 | 14 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/base-files/lib/soekris.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | net48xx_board_name () { 4 | local name 5 | local pci=`wc -l /proc/bus/pci/devices` 6 | 7 | case "$pci" in 8 | *"8"*) 9 | name="net4826" 10 | ;; 11 | *1[0-4]*) 12 | name="net4801" 13 | ;; 14 | *) 15 | name="net4826" 16 | ;; 17 | esac 18 | echo $name 19 | } 20 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/ep80579-drivers/patches/210-can_include_linux_fs_h.patch: -------------------------------------------------------------------------------- 1 | --- a/Embedded/src/CAN/can_main.c 2 | +++ b/Embedded/src/CAN/can_main.c 3 | @@ -70,6 +70,8 @@ 4 | 5 | #include "can_main.h" 6 | #include "can_ioctl.h" 7 | +#include 8 | + 9 | 10 | MODULE_AUTHOR("Intel(R) Corporation"); 11 | MODULE_DESCRIPTION("Controller Area Network Driver"); 12 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/i2c-gpio-custom/src/Kconfig: -------------------------------------------------------------------------------- 1 | config I2C_GPIO_CUSTOM 2 | tristate "Custom GPIO-based I2C driver" 3 | depends on GENERIC_GPIO 4 | select I2C_GPIO 5 | help 6 | This is an I2C driver to register 1 to 4 custom I2C buses using 7 | GPIO lines. 8 | 9 | This support is also available as a module. If so, the module 10 | will be called i2c-gpio-custom. 11 | -------------------------------------------------------------------------------- /intelliroot/package/network/config/netifd/files/sbin/ifstatus: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | INTERFACE="$1" 3 | 4 | [ -n "$INTERFACE" ] || { 5 | echo "Usage: $0 " 6 | exit 1 7 | } 8 | 9 | ubus -S list "network.interface.$INTERFACE" >/dev/null || { 10 | echo "Interface $INTERFACE not found" 11 | exit 1 12 | } 13 | ubus call network.interface status "{ \"interface\" : \"$INTERFACE\" }" 14 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/comgt/files/directip-stop.gcom: -------------------------------------------------------------------------------- 1 | opengt 2 | set com 115200n81 3 | set comecho off 4 | set senddelay 0.05 5 | waitquiet 1 0.2 6 | 7 | :start 8 | send "AT!SCACT=0,3^m" 9 | waitfor 5 "OK" 10 | if % = 0 goto hangupok 11 | print "WWAN error. Hangup failed.\r\n" 12 | exit 1 13 | 14 | :hangupok 15 | print "WWAN connection established.\r\n" 16 | exit 0 17 | -------------------------------------------------------------------------------- /intelliroot/package/system/rpcd/files/rpcd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | 3 | START=12 4 | 5 | USE_PROCD=1 6 | NAME=rpcd 7 | PROG=/sbin/rpcd 8 | 9 | start_service() { 10 | procd_open_instance 11 | procd_set_param command "$PROG" 12 | procd_close_instance 13 | } 14 | 15 | stop() { 16 | service_stop /sbin/rpcd 17 | } 18 | 19 | reload() { 20 | service_reload /sbin/rpcd 21 | } 22 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/drivers/net/phy/b53/Makefile: -------------------------------------------------------------------------------- 1 | obj-$(CONFIG_B53) += b53_common.o 2 | 3 | obj-$(CONFIG_B53_PHY_FIXUP) += b53_phy_fixup.o 4 | 5 | obj-$(CONFIG_B53_MMAP_DRIVER) += b53_mmap.o 6 | obj-$(CONFIG_B53_SRAB_DRIVER) += b53_srab.o 7 | obj-$(CONFIG_B53_PHY_DRIVER) += b53_mdio.o 8 | obj-$(CONFIG_B53_SPI_DRIVER) += b53_spi.o 9 | 10 | ccflags-y += -Werror 11 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/rdc/profiles/ar525w.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2010 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | define Profile/ar525w 9 | NAME:=Airlink AR525W 10 | PACKAGES:=kmod-rt61-pci kmod-switch-ip17xx swconfig 11 | endef 12 | $(eval $(call Profile,ar525w)) 13 | -------------------------------------------------------------------------------- /intelliroot/toolchain/gcc/patches/4.8.0/900-bad-mips16-crt.patch: -------------------------------------------------------------------------------- 1 | --- a/libgcc/config/mips/t-mips16 2 | +++ b/libgcc/config/mips/t-mips16 3 | @@ -43,3 +43,6 @@ SYNC_CFLAGS = -mno-mips16 4 | 5 | # Version these symbols if building libgcc.so. 6 | SHLIB_MAPFILES += $(srcdir)/config/mips/libgcc-mips16.ver 7 | + 8 | +CRTSTUFF_T_CFLAGS += -mno-mips16 9 | +CRTSTUFF_T_CFLAGS_S += -mno-mips16 10 | -------------------------------------------------------------------------------- /intelliroot/toolchain/uClibc/config-0.9.33.2/avr32: -------------------------------------------------------------------------------- 1 | ARCH_BIG_ENDIAN=y 2 | CONFIG_AVR32_AP7=y 3 | FORCE_SHAREABLE_TEXT_SEGMENTS=y 4 | LINKRELAX=y 5 | LINUXTHREADS_OLD=y 6 | TARGET_ARCH="avr32" 7 | TARGET_avr32=y 8 | UCLIBC_HAS_FPU=y 9 | # UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set 10 | # UCLIBC_HAS_STRING_ARCH_OPT is not set 11 | # UCLIBC_HAS_THREADS_NATIVE is not set 12 | UNIX98PTY_ONLY=y 13 | -------------------------------------------------------------------------------- /intelliroot/package/devel/oprofile/patches/100-use_insmod_instead_of_modprobe.patch: -------------------------------------------------------------------------------- 1 | --- a/utils/opcontrol 2 | +++ b/utils/opcontrol 3 | @@ -249,7 +249,7 @@ load_module_26() 4 | { 5 | grep oprofilefs /proc/filesystems >/dev/null 6 | if test "$?" -ne 0; then 7 | - modprobe oprofile 8 | + insmod oprofile 9 | if test "$?" != "0"; then 10 | # couldn't load the module 11 | return 12 | -------------------------------------------------------------------------------- /intelliroot/package/libs/ncurses/patches/200-fix_missing_include.patch: -------------------------------------------------------------------------------- 1 | --- a/ncurses/curses.priv.h 2 | +++ b/ncurses/curses.priv.h 3 | @@ -54,6 +54,11 @@ extern "C" { 4 | 5 | #include 6 | 7 | +#if NEED_WCHAR_H 8 | +#include 9 | +#include 10 | +#endif 11 | + 12 | #if USE_RCS_IDS 13 | #define MODULE_ID(id) static const char Ident[] = id; 14 | #else 15 | -------------------------------------------------------------------------------- /intelliroot/package/system/ubox/patches/100-insmod-segfault.patch: -------------------------------------------------------------------------------- 1 | --- a/kmodloader.c 2 | +++ b/kmodloader.c 3 | @@ -605,6 +605,9 @@ static int main_insmod(int argc, char ** 4 | cur += sprintf(cur, "%s", argv[i]); 5 | } 6 | 7 | + if (init_module_folders()) 8 | + return -1; 9 | + 10 | if (get_module_path(argv[1])) { 11 | name = argv[1]; 12 | } else if (!get_module_path(name)) { 13 | -------------------------------------------------------------------------------- /intelliroot/package/utils/lua/patches/015-lnum-ppc-compat.patch: -------------------------------------------------------------------------------- 1 | --- a/src/lua.h 2 | +++ b/src/lua.h 3 | @@ -79,7 +79,7 @@ typedef void * (*lua_Alloc) (void *ud, v 4 | * not acceptable for 5.1, maybe 5.2 onwards? 5 | * 9: greater than existing (5.1) type values. 6 | */ 7 | -#define LUA_TINT (-2) 8 | +#define LUA_TINT 9 9 | 10 | #define LUA_TNIL 0 11 | #define LUA_TBOOLEAN 1 12 | -------------------------------------------------------------------------------- /intelliroot/target/linux/avr32/base-files/etc/diag.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2013 OpenWrt.org 3 | 4 | . /lib/functions/leds.sh 5 | 6 | set_state() { 7 | status_led="sys" 8 | 9 | case "$1" in 10 | preinit) 11 | status_led_blink_preinit 12 | ;; 13 | 14 | failsafe) 15 | status_led_blink_failsafe 16 | ;; 17 | 18 | done) 19 | status_led_on 20 | ;; 21 | esac 22 | } 23 | -------------------------------------------------------------------------------- /intelliroot/target/linux/avr32/base-files/etc/uci-defaults/02_network: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright (C) 2013 OpenWrt.org 4 | # 5 | 6 | [ -e /etc/config/network ] && exit 0 7 | 8 | touch /etc/config/network 9 | 10 | . /lib/functions/uci-defaults.sh 11 | 12 | ucidef_set_interface_loopback 13 | ucidef_set_interfaces_lan_wan "eth1" "eth0" 14 | 15 | uci commit network 16 | 17 | exit 0 18 | -------------------------------------------------------------------------------- /intelliroot/target/sdk/files/README.SDK: -------------------------------------------------------------------------------- 1 | This is the OpenWrt SDK. It contains a stripped-down version of 2 | the buildroot. You can use it to test/develop packages without 3 | having to compile your own toolchain or any of the libraries 4 | included with OpenWrt. 5 | 6 | To use it, just put your buildroot-compatible package directory 7 | in the subdir 'package/' and run 'make' from this directory. 8 | -------------------------------------------------------------------------------- /intelliroot/toolchain/gcc/patches/4.8-linaro/900-bad-mips16-crt.patch: -------------------------------------------------------------------------------- 1 | --- a/libgcc/config/mips/t-mips16 2 | +++ b/libgcc/config/mips/t-mips16 3 | @@ -43,3 +43,6 @@ SYNC_CFLAGS = -mno-mips16 4 | 5 | # Version these symbols if building libgcc.so. 6 | SHLIB_MAPFILES += $(srcdir)/config/mips/libgcc-mips16.ver 7 | + 8 | +CRTSTUFF_T_CFLAGS += -mno-mips16 9 | +CRTSTUFF_T_CFLAGS_S += -mno-mips16 10 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/broadcom-wl/patches/015-support-probe-of-wds-interfaces.patch: -------------------------------------------------------------------------------- 1 | --- a/shared/wl.c 2 | +++ b/shared/wl.c 3 | @@ -27,7 +27,7 @@ wl_probe(char *name) 4 | { 5 | int ret, val; 6 | 7 | - if ((name[0] != 'w') || (name[1] != 'l')) 8 | + if ((name[0] != 'w') || ((name[1] != 'l') && ((name[1] != 'd') || (name[2] != 's')))) 9 | return -1; 10 | 11 | /* Check interface */ 12 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/broadcom-wl/patches/913-avoid-dbe-on-ifs_ctl-readw-hack.patch: -------------------------------------------------------------------------------- 1 | --- a/driver/linux_osl.c 2 | +++ b/driver/linux_osl.c 3 | @@ -723,6 +723,9 @@ osl_readl(volatile uint32 *r) 4 | uint16 5 | osl_readw(volatile uint16 *r) 6 | { 7 | + uint32 addr = (uintptr)r & 0xffff3fff; 8 | + if (addr == 0xa8000688) /* ifs_ctl */ 9 | + readl(r); 10 | return (readw(r)); 11 | } 12 | 13 | -------------------------------------------------------------------------------- /intelliroot/package/utils/lua/patches-host/015-lnum-ppc-compat.patch: -------------------------------------------------------------------------------- 1 | --- a/src/lua.h 2 | +++ b/src/lua.h 3 | @@ -79,7 +79,7 @@ typedef void * (*lua_Alloc) (void *ud, v 4 | * not acceptable for 5.1, maybe 5.2 onwards? 5 | * 9: greater than existing (5.1) type values. 6 | */ 7 | -#define LUA_TINT (-2) 8 | +#define LUA_TINT 9 9 | 10 | #define LUA_TNIL 0 11 | #define LUA_TBOOLEAN 1 12 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/cryptocteon/README.txt: -------------------------------------------------------------------------------- 1 | 2 | You will need the CRYPTO package installed to build this driver, and 3 | potentially the ADK. 4 | 5 | cavium_crypto sourced from: 6 | 7 | adk/components/source/cavium_ipsec_kame/cavium_ipsec.c 8 | 9 | and significantly modified to suit use with OCF. All original 10 | copyright/ownership headers retained. 11 | 12 | -------------------------------------------------------------------------------- /intelliroot/toolchain/gcc/patches/4.4.7/999-coldfire.patch: -------------------------------------------------------------------------------- 1 | --- a/gcc/config.gcc 2 | +++ b/gcc/config.gcc 3 | @@ -1537,6 +1537,7 @@ m68k-*-linux*) # Motorola m68k's runnin 4 | if test x$sjlj != x1; then 5 | tmake_file="$tmake_file m68k/t-slibgcc-elf-ver" 6 | fi 7 | + tmake_file="m68k/t-floatlib m68k/t-m68kbare m68k/t-m68kelf" 8 | ;; 9 | m68k-*-rtems*) 10 | default_m68k_cpu=68020 11 | -------------------------------------------------------------------------------- /intelliroot/tools/ipkg-utils/patches/111-buildpackage_conffiles.patch: -------------------------------------------------------------------------------- 1 | --- a/ipkg-buildpackage 2 | +++ b/ipkg-buildpackage 3 | @@ -190,7 +190,7 @@ fi 4 | mkdir /tmp/${pkg}/CONTROL 5 | 6 | files_required="control" 7 | -files_optional="preinst postinst prerm postrm" 8 | +files_optional="preinst postinst prerm postrm conffiles" 9 | 10 | for i in ${files_required} ; do 11 | file=${CONTROL}/$i 12 | -------------------------------------------------------------------------------- /intelliroot/package/system/mtd/src/fis.h: -------------------------------------------------------------------------------- 1 | #ifndef __FIS_H 2 | #define __FIS_H 3 | 4 | struct fis_part { 5 | unsigned char name[16]; 6 | uint32_t offset; 7 | uint32_t loadaddr; 8 | uint32_t size; 9 | }; 10 | 11 | int fis_validate(struct fis_part *old, int n_old, struct fis_part *new, int n_new); 12 | int fis_remap(struct fis_part *old, int n_old, struct fis_part *new, int n_new); 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /intelliroot/target/imagebuilder/Config.in: -------------------------------------------------------------------------------- 1 | config IB 2 | bool "Build the OpenWrt Image Builder" 3 | depends on !PROFILE_KCONFIG 4 | depends on !EXTERNAL_TOOLCHAIN 5 | help 6 | This is essentially a stripped-down version of the buildroot 7 | with precompiled packages, kernel image and image building tools. 8 | You can use it to generate custom images without compiling anything 9 | 10 | 11 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-seama-header: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright (C) 2013 OpenWrt.org 4 | # 5 | 6 | . /lib/ar71xx.sh 7 | 8 | fix_seama_header() { 9 | local part=$1 10 | 11 | mtd fixseama $part 12 | } 13 | 14 | board=$(ar71xx_board_name) 15 | 16 | case "$board" in 17 | mynet-n600 | \ 18 | mynet-n750) 19 | fix_seama_header kernel 20 | ;; 21 | esac 22 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/patches-3.10/509-MIPS-ath79-process-board-kernel-option.patch: -------------------------------------------------------------------------------- 1 | --- a/arch/mips/ath79/setup.c 2 | +++ b/arch/mips/ath79/setup.c 3 | @@ -218,6 +218,8 @@ void __init plat_time_init(void) 4 | mips_hpt_frequency = clk_get_rate(clk) / 2; 5 | } 6 | 7 | +__setup("board=", mips_machtype_setup); 8 | + 9 | static int __init ath79_setup(void) 10 | { 11 | ath79_gpio_init(); 12 | -------------------------------------------------------------------------------- /intelliroot/toolchain/uClibc/patches-0.9.33.2/210-mips_use_pic_crt1.patch: -------------------------------------------------------------------------------- 1 | --- a/libc/sysdeps/linux/mips/Makefile.arch 2 | +++ b/libc/sysdeps/linux/mips/Makefile.arch 3 | @@ -20,6 +20,8 @@ ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y) 4 | SSRC += vfork.S clone.S 5 | endif 6 | 7 | +CFLAGS-crt1.S += $(PICFLAG) 8 | + 9 | ASFLAGS-syscall_error.S += -D_LIBC_REENTRANT 10 | 11 | ARCH_HEADERS := sgidefs.h 12 | -------------------------------------------------------------------------------- /intelliroot/package/libs/gettext-full/patches/100-error_progname.patch: -------------------------------------------------------------------------------- 1 | --- a/gettext-runtime/intl/intl-compat.c 2 | +++ b/gettext-runtime/intl/intl-compat.c 3 | @@ -129,3 +129,7 @@ bind_textdomain_codeset (const char *dom 4 | { 5 | return libintl_bind_textdomain_codeset (domainname, codeset); 6 | } 7 | + 8 | +#ifdef __UCLIBC__ 9 | +DLL_EXPORTED void (*error_print_progname)(void) = NULL; 10 | +#endif 11 | -------------------------------------------------------------------------------- /intelliroot/package/utils/e2fsprogs/patches/003-com_err_version.patch: -------------------------------------------------------------------------------- 1 | --- a/lib/et/Makefile.in 2 | +++ b/lib/et/Makefile.in 3 | @@ -25,8 +25,8 @@ SHARE_FILES= et_c.awk et_h.awk 4 | LIBRARY= libcom_err 5 | LIBDIR= et 6 | 7 | -ELF_VERSION = 2.1 8 | -ELF_SO_VERSION = 2 9 | +ELF_VERSION = 0.0 10 | +ELF_SO_VERSION = 0 11 | ELF_IMAGE = libcom_err 12 | ELF_MYDIR = et 13 | ELF_INSTALL_DIR = $(root_libdir) 14 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm47xx/base-files/lib/upgrade/platform.sh: -------------------------------------------------------------------------------- 1 | PART_NAME=firmware 2 | 3 | platform_check_image() { 4 | [ "$#" -gt 1 ] && return 1 5 | 6 | case "$(get_magic_word "$1")" in 7 | # .trx files 8 | 4844) return 0;; 9 | *) 10 | echo "Invalid image type. Please use only .trx files" 11 | return 1 12 | ;; 13 | esac 14 | } 15 | 16 | # use default for platform_do_upgrade() 17 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/patches-3.10/996-zsmalloc_allow_module_build.patch: -------------------------------------------------------------------------------- 1 | --- a/drivers/staging/zsmalloc/Kconfig 2 | +++ b/drivers/staging/zsmalloc/Kconfig 3 | @@ -1,5 +1,5 @@ 4 | config ZSMALLOC 5 | - bool "Memory allocator for compressed pages" 6 | + tristate "Memory allocator for compressed pages" 7 | default n 8 | help 9 | zsmalloc is a slab-based memory allocator designed to store 10 | -------------------------------------------------------------------------------- /intelliroot/target/linux/imx6/base-files/lib/upgrade/platform.sh: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2010 OpenWrt.org 3 | # 4 | 5 | . /lib/imx6.sh 6 | 7 | platform_check_image() { 8 | local board=$(imx6_board_name) 9 | 10 | case "$board" in 11 | gw54xx) 12 | nand_do_platform_check $board $1 13 | return $?; 14 | ;; 15 | esac 16 | 17 | echo "Sysupgrade is not yet supported on $board." 18 | return 1 19 | } 20 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/etc/rc.button/reset: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | [ "${ACTION}" = "released" ] || exit 0 4 | 5 | . /lib/functions.sh 6 | 7 | logger "$BUTTON pressed for $SEEN seconds" 8 | 9 | if [ "$SEEN" -lt 1 ] 10 | then 11 | echo "REBOOT" > /dev/console 12 | sync 13 | reboot 14 | elif [ "$SEEN" -gt 5 ] 15 | then 16 | echo "FACTORY RESET" > /dev/console 17 | jffs2reset -y && reboot & 18 | fi 19 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/odhcpd/files/odhcpd.defaults: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | uci -q get dhcp.odhcpd && exit 0 3 | touch /etc/config/dhcp 4 | 5 | uci batch < 5 | #endif 6 | 7 | -#include "ansidecl.h" 8 | - 9 | /* The following contortions are an attempt to use the C preprocessor 10 | to determine an unsigned integral type that is 32 bits wide. An 11 | alternative approach is to use autoconf's AC_CHECK_SIZEOF macro, but 12 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm63xx/patches-3.10/517-RTA1205W_16_uart_fixes.patch: -------------------------------------------------------------------------------- 1 | --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c 2 | +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c 3 | @@ -839,6 +839,7 @@ static struct board_info __initdata boar 4 | .name = "RTA1025W_16", 5 | .expected_cpu_id = 0x6348, 6 | 7 | + .has_uart0 = 1, 8 | .has_enet0 = 1, 9 | .has_enet1 = 1, 10 | .has_pci = 1, 11 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/image/lzma-loader/src/lzma-copy.lds.in: -------------------------------------------------------------------------------- 1 | OUTPUT_ARCH(mips) 2 | ENTRY(_start) 3 | SECTIONS 4 | { 5 | /* Read-only sections, merged into text segment: */ 6 | . = @LOADADDR@; 7 | .text : 8 | { 9 | _ftext = . ; 10 | *(.text) 11 | *(.rodata) 12 | } =0 13 | 14 | .reginfo : { *(.reginfo) } 15 | 16 | .bss : 17 | { 18 | *(.bss) 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /intelliroot/package/network/config/swconfig/files/switch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2009 OpenWrt.org 3 | 4 | setup_switch_dev() { 5 | local name 6 | config_get name "$1" name 7 | name="${name:-$1}" 8 | [ -d "/sys/class/net/$name" ] && ifconfig "$name" up 9 | swconfig dev "$name" load network 10 | } 11 | 12 | setup_switch() { 13 | config_load network 14 | config_foreach setup_switch_dev switch 15 | } 16 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/iproute2/patches/100-allow_pfifo_fast.patch: -------------------------------------------------------------------------------- 1 | --- a/tc/q_fifo.c 2 | +++ b/tc/q_fifo.c 3 | @@ -98,5 +98,6 @@ struct qdisc_util pfifo_head_drop_qdisc_ 4 | extern int prio_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt); 5 | struct qdisc_util pfifo_fast_qdisc_util = { 6 | .id = "pfifo_fast", 7 | + .parse_qopt = fifo_parse_opt, 8 | .print_qopt = prio_print_opt, 9 | }; 10 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/iproute2/patches/110-extra-ccopts.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile 2 | +++ b/Makefile 3 | @@ -29,7 +29,7 @@ ADDLIB+=ipx_ntop.o ipx_pton.o 4 | CC = gcc 5 | HOSTCC = gcc 6 | DEFINES += -D_GNU_SOURCE 7 | -CCOPTS = -O2 8 | +CCOPTS = -O2 $(EXTRA_CCOPTS) 9 | WFLAGS := -Wall -Wstrict-prototypes -Wmissing-prototypes 10 | WFLAGS += -Wmissing-declarations -Wold-style-definition -Wformat=2 11 | 12 | -------------------------------------------------------------------------------- /intelliroot/package/devel/valgrind/patches/100-fix_configure_check.patch: -------------------------------------------------------------------------------- 1 | --- a/configure.in 2 | +++ b/configure.in 3 | @@ -260,7 +260,7 @@ case "${host_os}" in 4 | # Ok, this is linux. Check the kernel version 5 | AC_MSG_CHECKING([for the kernel version]) 6 | 7 | - kernel=`uname -r` 8 | + kernel=${UNAME_R:-`uname -r`} 9 | 10 | case "${kernel}" in 11 | 2.6.*|3.*) 12 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/hostapd/patches/110-bool_fix.patch: -------------------------------------------------------------------------------- 1 | --- a/src/ap/ieee802_1x.c 2 | +++ b/src/ap/ieee802_1x.c 3 | @@ -2119,9 +2119,9 @@ void ieee802_1x_notify_pre_auth(struct e 4 | } 5 | 6 | 7 | -static const char * bool_txt(Boolean bool) 8 | +static const char * bool_txt(Boolean bool_val) 9 | { 10 | - return bool ? "TRUE" : "FALSE"; 11 | + return bool_val ? "TRUE" : "FALSE"; 12 | } 13 | 14 | 15 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/hostapd/patches/471-wpa_cli_ifdef.patch: -------------------------------------------------------------------------------- 1 | --- a/wpa_supplicant/wpa_cli.c 2 | +++ b/wpa_supplicant/wpa_cli.c 3 | @@ -26,6 +26,10 @@ 4 | #endif /* ANDROID */ 5 | 6 | 7 | +#ifndef CONFIG_P2P 8 | +#define CONFIG_P2P 9 | +#endif 10 | + 11 | static const char *wpa_cli_version = 12 | "wpa_cli v" VERSION_STR "\n" 13 | "Copyright (c) 2004-2014, Jouni Malinen and contributors"; 14 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/ppp/files/etc/ppp/filter: -------------------------------------------------------------------------------- 1 | # 2 | # Expression: outbound and not icmp[0] != 8 and not tcp[13] & 4 != 0 3 | # 4 | 19 5 | 48 0 0 0 6 | 21 0 16 1 7 | 40 0 0 2 8 | 21 0 13 33 9 | 48 0 0 13 10 | 21 0 5 1 11 | 40 0 0 10 12 | 69 9 0 8191 13 | 177 0 0 4 14 | 80 0 0 4 15 | 21 6 7 8 16 | 21 0 5 6 17 | 40 0 0 10 18 | 69 3 0 8191 19 | 177 0 0 4 20 | 80 0 0 17 21 | 69 1 0 4 22 | 6 0 0 4 23 | 6 0 0 0 24 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/comgt/files/getcnum.gcom: -------------------------------------------------------------------------------- 1 | opengt 2 | set com 115200n81 3 | set comecho off 4 | set senddelay 0.02 5 | waitquiet 0.2 0.2 6 | flash 0.1 7 | 8 | :start 9 | send "AT+CNUM^m" 10 | get 1 "^m" $n 11 | get 1 ":" $n 12 | get 1 "\"" $n 13 | get 1 "\"" $n 14 | get 1 "\"" $n 15 | get 1 "\"" $n 16 | let n = len($n) 17 | if n<1 goto continue 18 | print $n 19 | :continue 20 | exit 0 21 | -------------------------------------------------------------------------------- /intelliroot/package/system/opkg/patches/030-fix-double-free.patch: -------------------------------------------------------------------------------- 1 | --- a/libopkg/opkg_remove.c 2 | +++ b/libopkg/opkg_remove.c 3 | @@ -138,7 +138,6 @@ opkg_remove_dependent_pkgs(pkg_t *pkg, a 4 | for (i = 0; i < dependent_pkgs->len; i++) { 5 | err = opkg_remove_pkg(dependent_pkgs->pkgs[i],0); 6 | if (err) { 7 | - pkg_vec_free(dependent_pkgs); 8 | break; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /intelliroot/package/utils/busybox/patches/002-upstream_ash_fix.patch: -------------------------------------------------------------------------------- 1 | --- a/shell/ash.c 2 | +++ b/shell/ash.c 3 | @@ -13014,7 +13014,7 @@ init(void) 4 | setvar2("PPID", utoa(getppid())); 5 | #if ENABLE_ASH_BASH_COMPAT 6 | p = lookupvar("SHLVL"); 7 | - setvar2("SHLVL", utoa(p ? atoi(p) + 1 : 1)); 8 | + setvar("SHLVL", utoa((p ? atoi(p) : 0) + 1), VEXPORT); 9 | #endif 10 | p = lookupvar("PWD"); 11 | if (p) { 12 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/rdc/profiles/sitecom.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2010 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | define Profile/sitecom 9 | NAME:=Devices from Sitecom (WL-153, DC-230) 10 | PACKAGES:=kmod-rt61-pci kmod-usb-core kmod-usb-ohci kmod-usb2 11 | endef 12 | $(eval $(call Profile,sitecom)) 13 | -------------------------------------------------------------------------------- /intelliroot/toolchain/uClibc/patches-0.9.33.2/131-inet-fix-__read_etc_hosts_r-segfault.patch: -------------------------------------------------------------------------------- 1 | --- a/libc/inet/resolv.c 2 | +++ b/libc/inet/resolv.c 3 | @@ -1631,6 +1631,7 @@ int attribute_hidden __read_etc_hosts_r( 4 | * struct in[6]_addr 5 | * char line_buffer[BUFSZ+]; 6 | */ 7 | + memset(buf, 0, buflen); 8 | parser->data = buf; 9 | parser->data_len = aliaslen; 10 | parser->line_len = buflen - aliaslen; 11 | -------------------------------------------------------------------------------- /intelliroot/toolchain/uClibc/patches-0.9.33.2/132-inet_fix_res_init.patch: -------------------------------------------------------------------------------- 1 | --- a/libc/inet/resolv.c 2 | +++ b/libc/inet/resolv.c 3 | @@ -3654,11 +3654,11 @@ res_init(void) 4 | */ 5 | if (!_res.id) 6 | _res.id = res_randomid(); 7 | - __res_sync = res_sync_func; 8 | 9 | __UCLIBC_MUTEX_UNLOCK(__resolv_lock); 10 | 11 | __res_vinit(&_res, 1); 12 | + __res_sync = res_sync_func; 13 | 14 | return 0; 15 | } 16 | -------------------------------------------------------------------------------- /intelliroot/package/boot/uboot-ar71xx/patches/020-freebsd-compat.patch: -------------------------------------------------------------------------------- 1 | --- a/include/compiler.h 2 | +++ b/include/compiler.h 3 | @@ -46,7 +46,7 @@ extern int errno; 4 | #ifdef __linux__ 5 | # include 6 | # include 7 | -#elif defined(__MACH__) 8 | +#elif defined(__MACH__) || defined(__FreeBSD__) 9 | # include 10 | typedef unsigned long ulong; 11 | typedef unsigned int uint; 12 | -------------------------------------------------------------------------------- /intelliroot/package/network/config/firewall/files/firewall.user: -------------------------------------------------------------------------------- 1 | # This file is interpreted as shell script. 2 | # Put your custom iptables rules here, they will 3 | # be executed with each firewall (re-)start. 4 | 5 | # Internal uci firewall chains are flushed and recreated on reload, so 6 | # put custom rules into the root chains e.g. INPUT or FORWARD or into the 7 | # special user chains, e.g. input_wan_rule or postrouting_lan_rule. 8 | -------------------------------------------------------------------------------- /intelliroot/package/utils/lua/patches/011-lnum-use-double.patch: -------------------------------------------------------------------------------- 1 | --- a/src/lnum_config.h 2 | +++ b/src/lnum_config.h 3 | @@ -11,7 +11,7 @@ 4 | ** Default number modes 5 | */ 6 | #if (!defined LNUM_DOUBLE) && (!defined LNUM_FLOAT) && (!defined LNUM_LDOUBLE) 7 | -# define LNUM_FLOAT 8 | +# define LNUM_DOUBLE 9 | #endif 10 | #if (!defined LNUM_INT16) && (!defined LNUM_INT32) && (!defined LNUM_INT64) 11 | # define LNUM_INT32 12 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/patches-3.10/009-rdc321x_select_embedded.patch: -------------------------------------------------------------------------------- 1 | --- a/arch/x86/Kconfig 2 | +++ b/arch/x86/Kconfig 3 | @@ -483,6 +483,8 @@ config X86_RDC321X 4 | depends on X86_EXTENDED_PLATFORM 5 | select M486 6 | select X86_REBOOTFIXUPS 7 | + select EMBEDDED 8 | + select ARCH_REQUIRE_GPIOLIB 9 | ---help--- 10 | This option is needed for RDC R-321x system-on-chip, also known 11 | as R-8610-(G). 12 | -------------------------------------------------------------------------------- /intelliroot/toolchain/uClibc/patches-0.9.33.2/120-adjtimex.patch: -------------------------------------------------------------------------------- 1 | --- a/include/sys/timex.h 2 | +++ b/include/sys/timex.h 3 | @@ -116,9 +116,8 @@ struct timex 4 | 5 | __BEGIN_DECLS 6 | 7 | -#if 0 8 | -extern int __adjtimex (struct timex *__ntx) __THROW; 9 | -#endif 10 | +#undef __adjtimex 11 | +#define __adjtimex adjtimex 12 | extern int adjtimex (struct timex *__ntx) __THROW; 13 | libc_hidden_proto(adjtimex) 14 | 15 | -------------------------------------------------------------------------------- /intelliroot/tools/mklibs/patches/001-compile.patch: -------------------------------------------------------------------------------- 1 | --- a/configure.ac 2 | +++ b/configure.ac 3 | @@ -1,4 +1,4 @@ 4 | -AC_INIT([mklibs],m4_esyscmd(dpkg-parsechangelog | perl -ne 'print $1 if m/^Version: (.*)$/;')) 5 | +AC_INIT([mklibs],m4_esyscmd([head -n1 debian/changelog | awk -F'[\\\\(\\\\)]' '{ print $2 }' | xargs -I{} echo -n {}])) 6 | AM_INIT_AUTOMAKE([foreign no-define]) 7 | AC_CONFIG_HEADERS([config.h]) 8 | AM_MAINTAINER_MODE 9 | -------------------------------------------------------------------------------- /intelliroot/package/libs/libnfnetlink/patches/100-missing_include.patch: -------------------------------------------------------------------------------- 1 | --- a/include/libnfnetlink/libnfnetlink.h 2 | +++ b/include/libnfnetlink/libnfnetlink.h 3 | @@ -15,6 +15,7 @@ 4 | #define aligned_u64 unsigned long long __attribute__((aligned(8))) 5 | #endif 6 | 7 | +#include 8 | #include /* for sa_family_t */ 9 | #include 10 | #include 11 | -------------------------------------------------------------------------------- /intelliroot/package/libs/libpcap/patches/103-makefile_flex_workaround.patch: -------------------------------------------------------------------------------- 1 | 2 | Copyright (C) 2006 Markus Wigge 3 | 4 | --- a/Makefile.in 5 | +++ b/Makefile.in 6 | @@ -59,7 +59,7 @@ LN_S = @LN_S@ 7 | MKDEP = @MKDEP@ 8 | CCOPT = @V_CCOPT@ 9 | INCLS = -I. @V_INCLS@ 10 | -DEFS = @DEFS@ @V_DEFS@ 11 | +DEFS = -D_BSD_SOURCE @DEFS@ @V_DEFS@ 12 | ADDLOBJS = @ADDLOBJS@ 13 | ADDLARCHIVEOBJS = @ADDLARCHIVEOBJS@ 14 | LIBS = @LIBS@ 15 | -------------------------------------------------------------------------------- /intelliroot/package/libs/polarssl/patches/300-CVE-2015-1182.patch: -------------------------------------------------------------------------------- 1 | --- a/library/asn1parse.c 2 | +++ b/library/asn1parse.c 3 | @@ -278,6 +278,8 @@ int asn1_get_sequence_of( unsigned char 4 | if( cur->next == NULL ) 5 | return( POLARSSL_ERR_ASN1_MALLOC_FAILED ); 6 | 7 | + memset( cur->next, 0, sizeof( asn1_sequence ) ); 8 | + 9 | cur = cur->next; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /intelliroot/package/utils/busybox/convert_defaults.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | while (<>) { 4 | /^(# )?CONFIG_([^=]+)(=(.+)| is not set)/ and do { 5 | my $default = $4; 6 | $1 and $default = "n"; 7 | my $name = $2; 8 | my $type = "bool"; 9 | $default =~ /^\"/ and $type = "string"; 10 | $default =~ /^\d/ and $type = "int"; 11 | print "config BUSYBOX_DEFAULT_$name\n\t$type\n\tdefault $default\n"; 12 | }; 13 | } 14 | -------------------------------------------------------------------------------- /intelliroot/package/utils/lua/patches-host/011-lnum-use-double.patch: -------------------------------------------------------------------------------- 1 | --- a/src/lnum_config.h 2 | +++ b/src/lnum_config.h 3 | @@ -11,7 +11,7 @@ 4 | ** Default number modes 5 | */ 6 | #if (!defined LNUM_DOUBLE) && (!defined LNUM_FLOAT) && (!defined LNUM_LDOUBLE) 7 | -# define LNUM_FLOAT 8 | +# define LNUM_DOUBLE 9 | #endif 10 | #if (!defined LNUM_INT16) && (!defined LNUM_INT32) && (!defined LNUM_INT64) 11 | # define LNUM_INT32 12 | -------------------------------------------------------------------------------- /intelliroot/target/linux/avr32/image/Config.in: -------------------------------------------------------------------------------- 1 | config AVR32_UBOOT 2 | bool "Build U-Boot bootloader" 3 | depends on TARGET_avr32 4 | default n 5 | 6 | config AVR32_UBOOT_TARGET 7 | string "U-Boot target board" 8 | depends on TARGET_avr32 9 | depends on AVR32_UBOOT 10 | default "atngw100" 11 | help 12 | For all supported boards there are ready-to-use default 13 | configurations available; just type "". 14 | -------------------------------------------------------------------------------- /intelliroot/target/linux/avr32/patches-3.10/110-openwrt_flashmap.patch: -------------------------------------------------------------------------------- 1 | --- a/arch/avr32/boards/atngw100/flash.c 2 | +++ b/arch/avr32/boards/atngw100/flash.c 3 | @@ -45,7 +45,7 @@ static struct mtd_partition flash_parts[ 4 | .mask_flags = MTD_WRITEABLE, 5 | }, 6 | { 7 | - .name = "root", 8 | + .name = "firmware", 9 | .offset = 0x00020000, 10 | .size = 0x007d0000, 11 | }, 12 | -------------------------------------------------------------------------------- /intelliroot/include/uclibc++.mk: -------------------------------------------------------------------------------- 1 | ifndef DUMP 2 | ifdef __package_mk 3 | $(error uclibc++.mk must be included before package.mk) 4 | endif 5 | endif 6 | 7 | PKG_PREPARED_DEPENDS += CONFIG_USE_UCLIBCXX 8 | CXX_DEPENDS = +USE_UCLIBCXX:uclibcxx +USE_LIBSTDCXX:libstdcpp 9 | 10 | ifneq ($(CONFIG_USE_UCLIBCXX),) 11 | ifneq ($(CONFIG_CCACHE),) 12 | TARGET_CXX_NOCACHE=g++-uc 13 | else 14 | TARGET_CXX=g++-uc 15 | endif 16 | endif 17 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/mac80211/patches/010-disable_rfkill.patch: -------------------------------------------------------------------------------- 1 | --- a/backport-include/linux/rfkill.h 2 | +++ b/backport-include/linux/rfkill.h 3 | @@ -2,6 +2,10 @@ 4 | #define __COMPAT_RFKILL_H 5 | #include 6 | 7 | +#undef CONFIG_RFKILL 8 | +#undef CONFIG_RFKILL_LEDS 9 | +#undef CONFIG_RFKILL_MODULE 10 | + 11 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0) 12 | #include_next 13 | #else 14 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/xtables-addons/patches/001-no_depmod.patch: -------------------------------------------------------------------------------- 1 | --- 2 | Makefile.in | 3 +-- 3 | 1 file changed, 1 insertion(+), 2 deletions(-) 4 | 5 | --- a/Makefile.am 6 | +++ b/Makefile.am 7 | @@ -11,9 +11,6 @@ FORCE: 8 | xtables-addons.8: FORCE 9 | ${MAKE} -f Makefile.mans all; 10 | 11 | -install-exec-hook: 12 | - depmod -a || :; 13 | - 14 | clean-local-mans: 15 | ${MAKE} -f Makefile.mans clean; 16 | 17 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm47xx/patches-3.10/610-pci_ide_fix.patch: -------------------------------------------------------------------------------- 1 | --- a/include/linux/ide.h 2 | +++ b/include/linux/ide.h 3 | @@ -195,7 +195,11 @@ static inline void ide_std_init_ports(st 4 | hw->io_ports.ctl_addr = ctl_addr; 5 | } 6 | 7 | +#if defined CONFIG_BCM47XX 8 | +# define MAX_HWIFS 2 9 | +#else 10 | #define MAX_HWIFS 10 11 | +#endif 12 | 13 | /* 14 | * Now for the data we need to maintain per-drive: ide_drive_t 15 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/patches-3.10/661-fq_codel_keep_dropped_stats.patch: -------------------------------------------------------------------------------- 1 | --- a/net/sched/sch_fq_codel.c 2 | +++ b/net/sched/sch_fq_codel.c 3 | @@ -195,7 +195,6 @@ static int fq_codel_enqueue(struct sk_bu 4 | list_add_tail(&flow->flowchain, &q->new_flows); 5 | q->new_flow_count++; 6 | flow->deficit = q->quantum; 7 | - flow->dropped = 0; 8 | } 9 | if (++sch->q.qlen <= sch->limit) 10 | return NET_XMIT_SUCCESS; 11 | -------------------------------------------------------------------------------- /intelliroot/package/boot/uboot-omap/patches/001-switch_omap4_ext4.patch: -------------------------------------------------------------------------------- 1 | --- a/include/configs/omap4_common 2 | +++ b/include/configs/omap4_common.h 3 | @@ -143,7 +143,7 @@ 4 | "vram=16M\0" \ 5 | "mmcdev=0\0" \ 6 | "mmcroot=/dev/mmcblk0p2 rw\0" \ 7 | - "mmcrootfstype=ext3 rootwait\0" \ 8 | + "mmcrootfstype=ext4 rootwait\0" \ 9 | "mmcargs=setenv bootargs console=${console} " \ 10 | "vram=${vram} " \ 11 | "root=${mmcroot} " \ 12 | -------------------------------------------------------------------------------- /intelliroot/package/network/config/firewall/files/firewall.hotplug: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | [ "$ACTION" = ifup -o "$ACTION" = ifupdate ] || exit 0 4 | [ "$ACTION" = ifupdate -a -z "$IFUPDATE_ADDRESSES" -a -z "$IFUPDATE_DATA" ] && exit 0 5 | 6 | /etc/init.d/firewall enabled || exit 0 7 | 8 | fw3 -q network "$INTERFACE" >/dev/null || exit 0 9 | 10 | logger -t firewall "Reloading firewall due to $ACTION of $INTERFACE ($DEVICE)" 11 | fw3 -q reload 12 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/iproute2/patches/008-no_netem.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile 2 | +++ b/Makefile 3 | @@ -36,7 +36,7 @@ WFLAGS += -Wmissing-declarations -Wold-s 4 | CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES) 5 | YACCFLAGS = -d -t -v 6 | 7 | -SUBDIRS=lib ip tc bridge misc netem genl man 8 | +SUBDIRS=lib ip tc bridge misc genl man 9 | 10 | LIBNETLINK=../lib/libnetlink.a ../lib/libutil.a 11 | LDLIBS += $(LIBNETLINK) 12 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/xtables-addons/patches/004-fix-kernel-3.14.patch: -------------------------------------------------------------------------------- 1 | --- a/extensions/compat_xtables.h 2 | +++ b/extensions/compat_xtables.h 3 | @@ -89,4 +89,11 @@ static inline void proc_net_remove(struc 4 | } 5 | #endif 6 | 7 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) 8 | +static inline u32 net_random(void) 9 | +{ 10 | + return prandom_u32(); 11 | +} 12 | +#endif 13 | + 14 | #endif /* _XTABLES_COMPAT_H */ 15 | -------------------------------------------------------------------------------- /intelliroot/package/utils/busybox/patches/203-udhcpc_renew_no_deconfig.patch: -------------------------------------------------------------------------------- 1 | --- a/networking/udhcp/dhcpc.c 2 | +++ b/networking/udhcp/dhcpc.c 3 | @@ -1087,7 +1087,6 @@ static void perform_renew(void) 4 | state = RENEW_REQUESTED; 5 | break; 6 | case RENEW_REQUESTED: /* impatient are we? fine, square 1 */ 7 | - udhcp_run_script(NULL, "deconfig"); 8 | case REQUESTING: 9 | case RELEASED: 10 | change_listen_mode(LISTEN_RAW); 11 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm2708/profiles/100-RaspberryPi.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2012 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | define Profile/RaspberryPi 9 | NAME:=RaspberryPi 10 | endef 11 | 12 | define Profile/RaspberryPi/Description 13 | RaspberryPi board 14 | endef 15 | 16 | $(eval $(call Profile,RaspberryPi)) 17 | 18 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/patches-3.10/258-netfilter_netlink_kconfig_hack.patch: -------------------------------------------------------------------------------- 1 | --- a/net/netfilter/Kconfig 2 | +++ b/net/netfilter/Kconfig 3 | @@ -2,7 +2,7 @@ menu "Core Netfilter Configuration" 4 | depends on NET && INET && NETFILTER 5 | 6 | config NETFILTER_NETLINK 7 | - tristate 8 | + tristate "Netfilter NFNETLINK interface" 9 | 10 | config NETFILTER_NETLINK_ACCT 11 | tristate "Netfilter NFACCT over NFNETLINK interface" 12 | -------------------------------------------------------------------------------- /intelliroot/toolchain/binutils/patches/2.20.1/111-pr7093.elf32-arm.c.patch: -------------------------------------------------------------------------------- 1 | --- a/bfd/elf32-arm.c 2 | +++ b/bfd/elf32-arm.c 3 | @@ -5511,6 +5511,10 @@ bfd_elf32_arm_init_maps (bfd *abfd) 4 | if (! is_arm_elf (abfd)) 5 | return; 6 | 7 | + /* PR 7093: Make sure that we are dealing with an arm elf binary. */ 8 | + if (! is_arm_elf (abfd)) 9 | + return; 10 | + 11 | if ((abfd->flags & DYNAMIC) != 0) 12 | return; 13 | 14 | -------------------------------------------------------------------------------- /intelliroot/tools/missing-macros/src/m4/fake-intltool.m4: -------------------------------------------------------------------------------- 1 | # stripped intltool.m4 to make automake happy 2 | # serial 1 3 | AC_DEFUN([IT_PROG_INTLTOOL], 4 | [ 5 | AC_SUBST(ALL_LINGUAS) 6 | 7 | DATADIRNAME=share 8 | AC_SUBST(DATADIRNAME) 9 | ]) 10 | 11 | # deprecated macros 12 | AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL]) 13 | 14 | # A hint is needed for aclocal from Automake <= 1.9.4: 15 | # AC_DEFUN([AC_PROG_INTLTOOL], ...) 16 | 17 | -------------------------------------------------------------------------------- /intelliroot/tools/mtd-utils/include/linux/types.h: -------------------------------------------------------------------------------- 1 | #ifndef _LINUX_TYPES_H 2 | #define _LINUX_TYPES_H 3 | 4 | #include 5 | 6 | typedef uint16_t __u16; 7 | typedef uint32_t __u32; 8 | typedef uint64_t __u64; 9 | 10 | typedef __u16 __le16; 11 | typedef __u32 __le32; 12 | typedef __u64 __le64; 13 | typedef __u64 off64_t; 14 | 15 | typedef __u16 __sum16; 16 | typedef __u32 __wsum; 17 | 18 | #endif /* _LINUX_TYPES_H */ 19 | -------------------------------------------------------------------------------- /intelliroot/tools/scons/files/pywrap.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | case "${0##*/}" in 4 | pywrap.sh) arg1="";; 5 | *) arg1="$0.py" ;; 6 | esac 7 | 8 | for bin in python python2 python2.7 python2.6 python2.5 python2.4; do 9 | case "$($bin -V 2>&1)" in 10 | "Python 2"*) exec $bin $arg1 "$@" ;; 11 | esac 12 | done 13 | 14 | echo "Unable to find a Python 2.x interpreter for executing ${arg1:+$arg1 }$@ !" >&2 15 | exit 1 16 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/ppp/patches/130-no_cdefs_h.patch: -------------------------------------------------------------------------------- 1 | --- a/pppd/plugins/rp-pppoe/config.h 2 | +++ b/pppd/plugins/rp-pppoe/config.h 3 | @@ -102,7 +102,7 @@ 4 | #define HAVE_NETPACKET_PACKET_H 1 5 | 6 | /* Define if you have the header file. */ 7 | -#define HAVE_SYS_CDEFS_H 1 8 | +/* #undef HAVE_SYS_CDEFS_H */ 9 | 10 | /* Define if you have the header file. */ 11 | /* #undef HAVE_SYS_DLPI_H */ 12 | -------------------------------------------------------------------------------- /intelliroot/package/system/fstools/files/fstab.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # (C) 2013 openwrt.org 3 | 4 | START=40 5 | 6 | start() { 7 | echo "this file has been obseleted. please call \"/sbin/block mount\" directly" 8 | /sbin/block mount 9 | } 10 | 11 | stop() { 12 | echo "this file has been obseleted. please call \"/sbin/block umount\" directly" 13 | /sbin/block umount 14 | } 15 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/patches-3.10/061-arm_xz_decompressor_build_fix.patch: -------------------------------------------------------------------------------- 1 | --- a/arch/arm/boot/compressed/decompress.c 2 | +++ b/arch/arm/boot/compressed/decompress.c 3 | @@ -48,6 +48,7 @@ extern char * strstr(const char * s1, co 4 | #ifdef CONFIG_KERNEL_XZ 5 | #define memmove memmove 6 | #define memcpy memcpy 7 | +extern char * strstr(const char *, const char *); 8 | #include "../../../../lib/decompress_unxz.c" 9 | #endif 10 | 11 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/patches-3.10/651-wireless_mesh_header.patch: -------------------------------------------------------------------------------- 1 | --- a/include/linux/netdevice.h 2 | +++ b/include/linux/netdevice.h 3 | @@ -139,7 +139,7 @@ static inline bool dev_xmit_complete(int 4 | */ 5 | 6 | #if defined(CONFIG_WLAN) || IS_ENABLED(CONFIG_AX25) 7 | -# if defined(CONFIG_MAC80211_MESH) 8 | +# if 1 || defined(CONFIG_MAC80211_MESH) 9 | # define LL_MAX_HEADER 128 10 | # else 11 | # define LL_MAX_HEADER 96 12 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/rdc/profiles/bifferboard.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2010 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | define Profile/bifferboard 9 | NAME:=Bifferboard 10 | PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 \ 11 | kmod-usb-storage kmod-scsi-core kmod-fs-ext4 12 | endef 13 | $(eval $(call Profile,bifferboard)) 14 | -------------------------------------------------------------------------------- /intelliroot/toolchain/gcc/patches/4.6-linaro/900-bad-mips16-crt: -------------------------------------------------------------------------------- 1 | --- gcc/gcc/config/mips/t-libgcc-mips16~ 2013-03-26 09:09:34.209077496 -0400 2 | +++ gcc/gcc/config/mips/t-libgcc-mips16 2013-03-26 18:21:01.717303669 -0400 3 | @@ -43,3 +43,6 @@ 4 | 5 | # Version these symbols if building libgcc.so. 6 | SHLIB_MAPFILES += $(srcdir)/config/mips/libgcc-mips16.ver 7 | + 8 | +CRTSTUFF_T_CFLAGS += -mno-mips16 9 | +CRTSTUFF_T_CFLAGS_S += -mno-mips16 10 | -------------------------------------------------------------------------------- /intelliroot/tools/scons/patches/001-platform_env.patch: -------------------------------------------------------------------------------- 1 | --- a/engine/SCons/Platform/__init__.py 2 | +++ b/engine/SCons/Platform/__init__.py 3 | @@ -63,6 +63,8 @@ def platform_default(): 4 | care about the machine architecture. 5 | """ 6 | osname = os.name 7 | + if 'PLATFORM' in os.environ: 8 | + return os.environ['PLATFORM'] 9 | if osname == 'java': 10 | osname = os._osType 11 | if osname == 'posix': 12 | -------------------------------------------------------------------------------- /intelliroot/package/libs/cyassl/patches/100-respect_cflags.patch: -------------------------------------------------------------------------------- 1 | --- a/configure.ac 2 | +++ b/configure.ac 3 | @@ -47,7 +47,7 @@ AC_SUBST([CYASSL_LIBRARY_VERSION]) 4 | 5 | # capture user C_EXTRA_FLAGS from ./configure line, CFLAGS may hold -g -O2 even 6 | # if user doesn't override, no way to tell 7 | -USER_C_EXTRA_FLAGS="$C_EXTRA_FLAGS" 8 | +USER_C_EXTRA_FLAGS="$CFLAGS" 9 | 10 | LT_PREREQ([2.2]) 11 | LT_INIT([disable-static],[win32-dll]) 12 | -------------------------------------------------------------------------------- /intelliroot/package/system/mtd/src/Makefile: -------------------------------------------------------------------------------- 1 | CC = gcc 2 | CFLAGS += -Wall 3 | LDFLAGS += -lubox 4 | 5 | obj = mtd.o jffs2.o crc32.o md5.o 6 | obj.seama = seama.o md5.o 7 | obj.ar71xx = trx.o $(obj.seama) 8 | obj.brcm = trx.o 9 | obj.brcm47xx = $(obj.brcm) 10 | obj.brcm63xx = imagetag.o 11 | obj.ramips = $(obj.seama) 12 | 13 | ifdef FIS_SUPPORT 14 | obj += fis.o 15 | endif 16 | 17 | mtd: $(obj) $(obj.$(TARGET)) 18 | clean: 19 | rm -f *.o jffs2 20 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/patches-3.10/616-net_optimize_xfrm_calls.patch: -------------------------------------------------------------------------------- 1 | --- a/net/netfilter/nf_nat_core.c 2 | +++ b/net/netfilter/nf_nat_core.c 3 | @@ -89,6 +89,9 @@ int nf_xfrm_me_harder(struct sk_buff *sk 4 | struct dst_entry *dst; 5 | int err; 6 | 7 | + if (!dev_net(skb->dev)->xfrm.policy_count[XFRM_POLICY_OUT]) 8 | + return 0; 9 | + 10 | err = xfrm_decode_session(skb, &fl, family); 11 | if (err < 0) 12 | return err; 13 | 14 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/mac80211/patches/200-ath5k_pci_dependency.patch: -------------------------------------------------------------------------------- 1 | --- a/drivers/net/wireless/ath/ath5k/Kconfig 2 | +++ b/drivers/net/wireless/ath/ath5k/Kconfig 3 | @@ -55,7 +55,7 @@ config ATH5K_TRACER 4 | 5 | config ATH5K_AHB 6 | bool "Atheros 5xxx AHB bus support" 7 | - depends on (ATHEROS_AR231X && !PCI) 8 | + depends on ATHEROS_AR231X 9 | ---help--- 10 | This adds support for WiSoC type chipsets of the 5xxx Atheros 11 | family. 12 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/xtables-addons/patches-1.x/001-no_depmod.patch: -------------------------------------------------------------------------------- 1 | --- 2 | Makefile.in | 3 +-- 3 | 1 file changed, 1 insertion(+), 2 deletions(-) 4 | 5 | --- a/Makefile.am 6 | +++ b/Makefile.am 7 | @@ -11,9 +11,6 @@ FORCE: 8 | xtables-addons.8: FORCE 9 | ${MAKE} -f Makefile.mans all; 10 | 11 | -install-exec-hook: 12 | - depmod -a || :; 13 | - 14 | config.status: Makefile.iptrules.in 15 | 16 | tmpdir := $(shell mktemp -dtu) 17 | -------------------------------------------------------------------------------- /intelliroot/target/linux/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2007 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | include $(TOPDIR)/rules.mk 8 | include $(INCLUDE_DIR)/target.mk 9 | 10 | export TARGET_BUILD=1 11 | 12 | prereq clean download prepare compile install menuconfig nconfig oldconfig update refresh: FORCE 13 | @+$(NO_TRACE_MAKE) -C $(BOARD) $@ 14 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/patches-3.10/641-bridge_always_accept_eap.patch: -------------------------------------------------------------------------------- 1 | --- a/net/bridge/br_input.c 2 | +++ b/net/bridge/br_input.c 3 | @@ -81,7 +81,7 @@ int br_handle_frame_finish(struct sk_buf 4 | br_multicast_rcv(br, p, skb)) 5 | goto drop; 6 | 7 | - if (p->state == BR_STATE_LEARNING) 8 | + if ((p->state == BR_STATE_LEARNING) && skb->protocol != htons(ETH_P_PAE)) 9 | goto drop; 10 | 11 | BR_INPUT_SKB_CB(skb)->brdev = br->dev; 12 | -------------------------------------------------------------------------------- /intelliroot/target/linux/imx6/profiles/110-wandboard.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2013 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | define Profile/IMX6DL_WANDBOARD 9 | NAME:=Wandboard Dual 10 | PACKAGES:= \ 11 | kmod-thermal-imx kmod-usb-chipidea kmod-usb-mxs-phy \ 12 | uboot-envtools 13 | endef 14 | 15 | $(eval $(call Profile,IMX6DL_WANDBOARD)) 16 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/broadcom-wl/patches/110-add_number_to_dev_name.patch: -------------------------------------------------------------------------------- 1 | --- a/driver/wl_linux.c 2 | +++ b/driver/wl_linux.c 3 | @@ -1425,7 +1425,7 @@ wl_alloc_if(wl_info_t *wl, int iftype, u 4 | dev = alloc_etherdev(sizeof(wl_if_t)); 5 | wlif = netdev_priv(dev); 6 | bzero(wlif, sizeof(wl_if_t)); 7 | - strncpy(dev->name, name, IFNAMSIZ); 8 | + snprintf(dev->name, IFNAMSIZ, name, subunit); 9 | 10 | wlif->type = iftype; 11 | wlif->dev = dev; 12 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/comgt/files/getcarrier.gcom: -------------------------------------------------------------------------------- 1 | opengt 2 | set senddelay 0.05 3 | waitquiet 1 0.2 4 | let c=1 5 | :loop 6 | inc c 7 | send "AT+CGATT?^m" 8 | waitfor 5 "+CGATT: 1","+CGATT: 0" 9 | print "\n." 10 | if % = -1 goto error 11 | if c > 10 goto toolong 12 | if % = 0 goto out 13 | sleep 2 14 | if % = 1 goto loop 15 | :toolong 16 | exit 1 17 | :error 18 | exit 0 19 | :out 20 | exit 0 21 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/patches-3.10/430-drivers-link-spi-before-mtd.patch: -------------------------------------------------------------------------------- 1 | --- a/drivers/Makefile 2 | +++ b/drivers/Makefile 3 | @@ -62,8 +62,8 @@ obj-$(CONFIG_IDE) += ide/ 4 | obj-$(CONFIG_SCSI) += scsi/ 5 | obj-$(CONFIG_ATA) += ata/ 6 | obj-$(CONFIG_TARGET_CORE) += target/ 7 | -obj-$(CONFIG_MTD) += mtd/ 8 | obj-$(CONFIG_SPI) += spi/ 9 | +obj-$(CONFIG_MTD) += mtd/ 10 | obj-y += hsi/ 11 | obj-y += net/ 12 | obj-$(CONFIG_ATM) += atm/ 13 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/patches-3.10/451-mtd-nand-fix-return-code-of-nand_correct_data-function.patch: -------------------------------------------------------------------------------- 1 | --- a/drivers/mtd/nand/nand_ecc.c 2 | +++ b/drivers/mtd/nand/nand_ecc.c 3 | @@ -507,7 +507,7 @@ int __nand_correct_data(unsigned char *b 4 | return 1; /* error in ECC data; no action needed */ 5 | 6 | pr_err("%s: uncorrectable ECC error", __func__); 7 | - return -1; 8 | + return -EBADMSG; 9 | } 10 | EXPORT_SYMBOL(__nand_correct_data); 11 | 12 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/patches-3.10/150-pit-tick-rate.patch: -------------------------------------------------------------------------------- 1 | --- a/include/linux/timex.h 2 | +++ b/include/linux/timex.h 3 | @@ -144,6 +144,10 @@ int read_current_timer(unsigned long *ti 4 | void ntp_notify_cmos_timer(void); 5 | 6 | /* The clock frequency of the i8253/i8254 PIT */ 7 | +#ifdef CONFIG_X86_RDC321X 8 | +#define PIT_TICK_RATE 1041816ul 9 | +#else 10 | #define PIT_TICK_RATE 1193182ul 11 | +#endif 12 | 13 | #endif /* LINUX_TIMEX_H */ 14 | -------------------------------------------------------------------------------- /intelliroot/toolchain/binutils/patches/2.22/200-musl.patch: -------------------------------------------------------------------------------- 1 | --- a/config.sub 2 | +++ b/config.sub 3 | @@ -125,6 +125,7 @@ esac 4 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 5 | case $maybe_os in 6 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ 7 | + linux-musl* | \ 8 | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ 9 | knetbsd*-gnu* | netbsd*-gnu* | \ 10 | kopensolaris*-gnu* | \ 11 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/wireless-tools/patches/002-fix-iwconfig-power-argument-parsing.patch: -------------------------------------------------------------------------------- 1 | --- a/iwconfig.c 2 | +++ b/iwconfig.c 3 | @@ -1034,8 +1034,8 @@ set_power_info(int skfd, 4 | wrq.u.power.disabled = 0; 5 | 6 | /* Is there any value to grab ? */ 7 | - value = strtod(args[0], &unit); 8 | - if(unit != args[0]) 9 | + value = strtod(args[i], &unit); 10 | + if(unit != args[i]) 11 | { 12 | struct iw_range range; 13 | int flags; 14 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/net5501/base-files/etc/config/system: -------------------------------------------------------------------------------- 1 | config system 2 | option hostname OpenWrt 3 | option timezone UTC 4 | 5 | config timeserver ntp 6 | list server 0.openwrt.pool.ntp.org 7 | list server 1.openwrt.pool.ntp.org 8 | list server 2.openwrt.pool.ntp.org 9 | list server 3.openwrt.pool.ntp.org 10 | 11 | config led 12 | option default 1 13 | option name Heartbeat 14 | option sysfs 'net5501:1' 15 | option trigger heartbeat 16 | 17 | -------------------------------------------------------------------------------- /intelliroot/toolchain/binutils/patches/2.23.1/200-musl.patch: -------------------------------------------------------------------------------- 1 | --- a/config.sub 2 | +++ b/config.sub 3 | @@ -125,6 +125,7 @@ esac 4 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 5 | case $maybe_os in 6 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ 7 | + linux-musl* | \ 8 | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ 9 | knetbsd*-gnu* | netbsd*-gnu* | \ 10 | kopensolaris*-gnu* | \ 11 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/broadcom-wl/patches/013-interface-name.patch: -------------------------------------------------------------------------------- 1 | --- a/driver/wl_linux.c 2 | +++ b/driver/wl_linux.c 3 | @@ -1583,7 +1583,7 @@ wl_add_if(wl_info_t *wl, struct wlc_if* 4 | 5 | wl_if_setup(wlif->dev); 6 | 7 | - sprintf(wlif->dev->name, "%s%d.%d", devname, wl->pub->unit, wlif->subunit); 8 | + sprintf(wlif->dev->name, "%s%d-%d", devname, wl->pub->unit, wlif->subunit); 9 | if (remote) 10 | bcopy(remote, &wlif->remote, ETHER_ADDR_LEN); 11 | 12 | -------------------------------------------------------------------------------- /intelliroot/package/system/procd/files/hotplug-preinit.json: -------------------------------------------------------------------------------- 1 | [ 2 | [ "case", "ACTION", { 3 | "add": [ 4 | [ "if", 5 | [ "has", "FIRMWARE" ], 6 | [ 7 | [ "exec", "/sbin/hotplug-call", "%SUBSYSTEM%" ], 8 | [ "load-firmware", "/lib/firmware" ], 9 | [ "return" ] 10 | ] 11 | ], 12 | ], 13 | }, ], 14 | [ "if", 15 | [ "and", 16 | [ "eq", "SUBSYSTEM", "button" ], 17 | ], 18 | [ "exec", "/etc/rc.button/failsafe" ] 19 | ], 20 | ] 21 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/generic/profiles/nclink.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2014 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | define Profile/SMART-300 9 | NAME:=NC-LINK SMART-300 10 | endef 11 | 12 | define Profile/SMART-300/Description 13 | Package set optimized for the NC-LINK SMART-300. 14 | endef 15 | $(eval $(call Profile,SMART-300)) 16 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm63xx/base-files/lib/upgrade/platform.sh: -------------------------------------------------------------------------------- 1 | PART_NAME=linux 2 | platform_check_image() { 3 | [ "$#" -gt 1 ] && return 1 4 | case "$(get_magic_word "$1")" in 5 | 3600|3700|3800) 6 | # 6348GW-11 boards use openwrt-96348GW-11-squashfs-cfe.bin files 7 | return 0 8 | ;; 9 | *) 10 | echo "Invalid image type. Please use only .bin files" 11 | return 1 12 | ;; 13 | esac 14 | } 15 | 16 | # use default for platform_do_upgrade() 17 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/files/crypto/ocf/cryptocteon/Makefile: -------------------------------------------------------------------------------- 1 | # for SGlinux builds 2 | -include $(ROOTDIR)/modules/.config 3 | 4 | obj-$(CONFIG_OCF_CRYPTOCTEON) += cryptocteon.o 5 | 6 | obj ?= . 7 | EXTRA_CFLAGS += -I$(obj)/.. -I$(obj)/ 8 | 9 | ifdef CONFIG_OCF_CRYPTOCTEON 10 | # you need the cavium crypto component installed 11 | EXTRA_CFLAGS += -I$(ROOTDIR)/prop/include 12 | endif 13 | 14 | ifdef TOPDIR 15 | -include $(TOPDIR)/Rules.make 16 | endif 17 | 18 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/mac80211/patches/540-ath9k_reduce_ani_interval.patch: -------------------------------------------------------------------------------- 1 | --- a/drivers/net/wireless/ath/ath9k/ani.h 2 | +++ b/drivers/net/wireless/ath/ath9k/ani.h 3 | @@ -42,7 +42,7 @@ 4 | #define ATH9K_ANI_PERIOD 300 5 | 6 | /* in ms */ 7 | -#define ATH9K_ANI_POLLINTERVAL 1000 8 | +#define ATH9K_ANI_POLLINTERVAL 300 9 | 10 | #define ATH9K_SIG_FIRSTEP_SETTING_MIN 0 11 | #define ATH9K_SIG_FIRSTEP_SETTING_MAX 20 12 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/hostapd/patches/310-rescan_immediately.patch: -------------------------------------------------------------------------------- 1 | --- a/wpa_supplicant/wpa_supplicant.c 2 | +++ b/wpa_supplicant/wpa_supplicant.c 3 | @@ -2752,7 +2752,7 @@ static struct wpa_supplicant * wpa_suppl 4 | if (wpa_s == NULL) 5 | return NULL; 6 | wpa_s->scan_req = INITIAL_SCAN_REQ; 7 | - wpa_s->scan_interval = 5; 8 | + wpa_s->scan_interval = 1; 9 | wpa_s->new_connection = 1; 10 | wpa_s->parent = wpa_s; 11 | wpa_s->sched_scanning = 0; 12 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/generic/profiles/rosewill.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2013 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | define Profile/RNXN360RT 9 | NAME:=Rosewill RNX-N360RT 10 | PACKAGES:= 11 | endef 12 | 13 | define Profile/RNXN360RT/Description 14 | Package set optimized for the Rosewill RNX-N360RT. 15 | endef 16 | $(eval $(call Profile,RNXN360RT)) 17 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm63xx/smp/profiles/104-No-WiFi.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2009 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | define Profile/NoWiFi 9 | NAME:=No WiFi 10 | PACKAGES:= 11 | endef 12 | 13 | define Profile/NoWiFi/description 14 | Package set compatible with BCM63xx routers without Wi-Fi. 15 | endef 16 | 17 | $(eval $(call Profile,NoWiFi)) 18 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/patches-3.10/321-powerpc_crtsavres_prereq.patch: -------------------------------------------------------------------------------- 1 | --- a/arch/powerpc/Makefile 2 | +++ b/arch/powerpc/Makefile 3 | @@ -106,7 +106,6 @@ CPP = $(CC) -E $(KBUILD_CFLAGS) 4 | 5 | CHECKFLAGS += -m$(CONFIG_WORD_SIZE) -D__powerpc__ -D__powerpc$(CONFIG_WORD_SIZE)__ 6 | 7 | -KBUILD_LDFLAGS_MODULE += arch/powerpc/lib/crtsavres.o 8 | 9 | # No AltiVec or VSX instructions when building kernel 10 | KBUILD_CFLAGS += $(call cc-option,-mno-altivec) 11 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/patches-3.10/732-phy-ar8216-led-support.patch: -------------------------------------------------------------------------------- 1 | --- a/drivers/net/phy/Kconfig 2 | +++ b/drivers/net/phy/Kconfig 3 | @@ -140,6 +140,10 @@ config AR8216_PHY 4 | select ETHERNET_PACKET_MANGLE 5 | select SWCONFIG 6 | 7 | +config AR8216_PHY_LEDS 8 | + bool "Atheros AR8216 switch LED support" 9 | + depends on (AR8216_PHY && LEDS_CLASS) 10 | + 11 | config RTL8306_PHY 12 | tristate "Driver for Realtek RTL8306S switches" 13 | select SWCONFIG 14 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/base-files/etc/init.d/defconfig: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # 3 | # Copyright (C) 2010 Thinktube Inc. 4 | # 5 | 6 | START=05 7 | 8 | start() { 9 | . /lib/soekris.sh 10 | 11 | local board=$(net48xx_board_name) 12 | 13 | [ ! -d /etc/defconfig/$board ] && board="net4826" 14 | 15 | for f in $( ls /etc/defconfig/$board ); do 16 | if [ ! -e /etc/config/$f ]; then 17 | cp /etc/defconfig/$board/$f /etc/config/ 18 | fi 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /intelliroot/tools/automake/patches/100-aclocal-skip-not-existing-directories.patch: -------------------------------------------------------------------------------- 1 | --- a/aclocal.in 2 | +++ b/aclocal.in 3 | @@ -327,6 +327,12 @@ 4 | 5 | foreach my $m4dir (@dirlist) 6 | { 7 | + if (! -d $m4dir) 8 | + { 9 | + msg ('override', "warning: skipping not existing directory `$m4dir'"); 10 | + next; 11 | + } 12 | + 13 | if (! opendir (DIR, $m4dir)) 14 | { 15 | if ($install && $type == FT_USER && $first_user_m4dir) 16 | -------------------------------------------------------------------------------- /intelliroot/tools/b43-tools/patches/001-fw-dirname.patch: -------------------------------------------------------------------------------- 1 | --- a/fwcutter/fwcutter.c 2 | +++ b/fwcutter/fwcutter.c 3 | @@ -50,13 +50,8 @@ 4 | #include "fwcutter.h" 5 | #include "fwcutter_list.h" 6 | 7 | -#if defined(__DragonFly__) || defined(__FreeBSD__) 8 | -#define V3_FW_DIRNAME "v3" 9 | -#define V4_FW_DIRNAME "v4" 10 | -#else 11 | #define V3_FW_DIRNAME "b43legacy" 12 | #define V4_FW_DIRNAME "b43" 13 | -#endif 14 | 15 | static struct cmdline_args cmdargs; 16 | 17 | -------------------------------------------------------------------------------- /intelliroot/tools/mkimage/patches/040-include_order.patch: -------------------------------------------------------------------------------- 1 | --- a/tools/Makefile 2 | +++ b/tools/Makefile 3 | @@ -173,7 +173,7 @@ 4 | # Define _GNU_SOURCE to obtain the getline prototype from stdio.h 5 | # 6 | HOST_EXTRACFLAGS += -include $(srctree)/include/libfdt_env.h \ 7 | - $(patsubst -I%,-idirafter%, $(UBOOTINCLUDE)) \ 8 | + -I$(srctree)/include \ 9 | -I$(srctree)/lib/libfdt \ 10 | -I$(srctree)/tools \ 11 | -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) \ 12 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/sbin/hotplug-call: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2006-2010 OpenWrt.org 3 | 4 | export HOTPLUG_TYPE="$1" 5 | 6 | . /lib/functions.sh 7 | 8 | PATH=/bin:/sbin:/usr/bin:/usr/sbin 9 | LOGNAME=root 10 | USER=root 11 | export PATH LOGNAME USER 12 | export DEVICENAME="${DEVPATH##*/}" 13 | 14 | [ \! -z "$1" -a -d /etc/hotplug.d/$1 ] && { 15 | for script in $(ls /etc/hotplug.d/$1/* 2>&-); do ( 16 | [ -f $script ] && . $script 17 | ); done 18 | } 19 | -------------------------------------------------------------------------------- /intelliroot/package/libs/libnl-tiny/src/Makefile: -------------------------------------------------------------------------------- 1 | CC=gcc 2 | WFLAGS=-Wall 3 | CFLAGS=-O2 4 | INCLUDES=-Iinclude 5 | 6 | LIBNAME=libnl-tiny.so 7 | 8 | all: $(LIBNAME) 9 | 10 | %.o: %.c 11 | $(CC) $(WFLAGS) -c -o $@ $(INCLUDES) $(CFLAGS) $< 12 | 13 | LIBNL_OBJ=nl.o handlers.o msg.o attr.o cache.o cache_mngt.o object.o socket.o error.o 14 | GENL_OBJ=genl.o genl_family.o genl_ctrl.o genl_mngt.o unl.o 15 | 16 | $(LIBNAME): $(LIBNL_OBJ) $(GENL_OBJ) 17 | $(CC) -shared -o $@ $^ 18 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/generic/profiles/senao.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2012 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | define Profile/CAP4200AG 9 | NAME:=Senao CAP4200AG 10 | PACKAGES:=kmod-ath9k 11 | endef 12 | 13 | define Profile/CAP4200AG/Description 14 | Package set optimized for the Senao CAP4200AG. 15 | endef 16 | 17 | $(eval $(call Profile,CAP4200AG)) 18 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/mac80211/patches/310-ap_scan.patch: -------------------------------------------------------------------------------- 1 | --- a/net/mac80211/cfg.c 2 | +++ b/net/mac80211/cfg.c 3 | @@ -1902,7 +1902,7 @@ static int ieee80211_scan(struct wiphy * 4 | * the frames sent while scanning on other channel will be 5 | * lost) 6 | */ 7 | - if (sdata->u.ap.beacon && 8 | + if (0 && sdata->u.ap.beacon && 9 | (!(wiphy->features & NL80211_FEATURE_AP_SCAN) || 10 | !(req->flags & NL80211_SCAN_FLAG_AP))) 11 | return -EOPNOTSUPP; 12 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/lldpd/files/lldpd.config: -------------------------------------------------------------------------------- 1 | config lldpd config 2 | option enable_cdp 1 3 | option enable_fdp 1 4 | option enable_sonmp 1 5 | option enable_edp 1 6 | 7 | option lldp_class 4 8 | option lldp_location "2:FR:6:Commercial Rd:3:Roseville:19:4" 9 | 10 | # if empty, the distribution description is sent 11 | #option lldp_description "OpenWrt System" 12 | 13 | # interfaces to listen on 14 | list interface "loopback" 15 | list interface "lan" 16 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-vlan-migration: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright (C) 2010 OpenWrt.org 4 | # 5 | 6 | local dev="$(uci -q get network.@switch_vlan[0].device)" 7 | local vlan="$(uci -q get network.@switch_vlan[0].vlan)" 8 | 9 | if [ "$dev" = "rtl8366s" ] && [ "$vlan" = 0 ]; then 10 | logger -t vlan-migration "VLAN 0 is invalid for RTL8366s, changing to 1" 11 | uci set network.@switch_vlan[0].vlan=1 12 | uci commit network 13 | fi 14 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile for the Atheros AR71xx built-in ethernet macs 3 | # 4 | 5 | ag71xx-y += ag71xx_main.o 6 | ag71xx-y += ag71xx_ethtool.o 7 | ag71xx-y += ag71xx_phy.o 8 | ag71xx-y += ag71xx_mdio.o 9 | ag71xx-y += ag71xx_ar7240.o 10 | 11 | ag71xx-$(CONFIG_AG71XX_DEBUG_FS) += ag71xx_debugfs.o 12 | ag71xx-$(CONFIG_AG71XX_AR8216_SUPPORT) += ag71xx_ar8216.o 13 | 14 | obj-$(CONFIG_AG71XX) += ag71xx.o 15 | 16 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/patches-3.10/412-mtd-m25p80-zero-partition-parser-data.patch: -------------------------------------------------------------------------------- 1 | --- a/drivers/mtd/devices/m25p80.c 2 | +++ b/drivers/mtd/devices/m25p80.c 3 | @@ -1072,6 +1072,7 @@ static int m25p_probe(struct spi_device 4 | if (info->flags & M25P_NO_ERASE) 5 | flash->mtd.flags |= MTD_NO_ERASE; 6 | 7 | + memset(&ppdata, '\0', sizeof(ppdata)); 8 | ppdata.of_node = spi->dev.of_node; 9 | flash->mtd.dev.parent = &spi->dev; 10 | flash->page_size = info->page_size; 11 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/patches-3.10/510-MIPS-ath79-init-gpio-pin-of-wmac-device.patch: -------------------------------------------------------------------------------- 1 | --- a/arch/mips/ath79/dev-wmac.c 2 | +++ b/arch/mips/ath79/dev-wmac.c 3 | @@ -24,7 +24,10 @@ 4 | #include "dev-wmac.h" 5 | 6 | static u8 ath79_wmac_mac[ETH_ALEN]; 7 | -static struct ath9k_platform_data ath79_wmac_data; 8 | + 9 | +static struct ath9k_platform_data ath79_wmac_data = { 10 | + .led_pin = -1, 11 | +}; 12 | 13 | static struct resource ath79_wmac_resources[] = { 14 | { 15 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/thincan/config-3.10: -------------------------------------------------------------------------------- 1 | CONFIG_8139TOO=y 2 | # CONFIG_8139TOO_8129 is not set 3 | # CONFIG_8139TOO_PIO is not set 4 | # CONFIG_8139TOO_TUNE_TWISTER is not set 5 | # CONFIG_8139_OLD_RX_RESET is not set 6 | CONFIG_BLK_DEV_NBD=y 7 | # CONFIG_EMBEDDED is not set 8 | CONFIG_IP_PNP=y 9 | # CONFIG_IP_PNP_BOOTP is not set 10 | CONFIG_IP_PNP_DHCP=y 11 | # CONFIG_IP_PNP_RARP is not set 12 | CONFIG_LOCKD=y 13 | CONFIG_NFS_FS=y 14 | CONFIG_ROOT_NFS=y 15 | CONFIG_SUNRPC=y 16 | -------------------------------------------------------------------------------- /intelliroot/toolchain/uClibc/patches-0.9.33.2/140-avr32_atomic_fix.patch: -------------------------------------------------------------------------------- 1 | --- a/libc/sysdeps/linux/avr32/bits/atomic.h 2 | +++ b/libc/sysdeps/linux/avr32/bits/atomic.h 3 | @@ -28,6 +28,7 @@ typedef uintmax_t uatomic_max_t; 4 | 5 | #define __arch_compare_and_exchange_val_32_acq(mem, newval, oldval) \ 6 | ({ \ 7 | + __uint32_t __result; \ 8 | __typeof__(*(mem)) __prev; \ 9 | __asm__ __volatile__( \ 10 | "/* __arch_compare_and_exchange_val_32_acq */\n" \ 11 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/lib/preinit/10_indicate_failsafe: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2006 OpenWrt.org 3 | # Copyright (C) 2010 Vertical Communications 4 | 5 | # commands for emitting messages to network in failsafe mode 6 | 7 | indicate_failsafe_led () { 8 | set_state failsafe 9 | } 10 | 11 | indicate_failsafe() { 12 | echo "- failsafe -" 13 | preinit_net_echo "Entering Failsafe!\n" 14 | indicate_failsafe_led 15 | } 16 | 17 | boot_hook_add failsafe indicate_failsafe 18 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/ep80579-drivers/patches/200-can_fix_ioctl_numbers.patch: -------------------------------------------------------------------------------- 1 | --- a/Embedded/src/CAN/icp_can_user.h 2 | +++ b/Embedded/src/CAN/icp_can_user.h 3 | @@ -63,6 +63,8 @@ 4 | #ifndef __ICP_CAN_USER_H__ 5 | #define __ICP_CAN_USER_H__ 6 | 7 | +#include 8 | + 9 | /***************************************************************************** 10 | * Device IO control codes. 11 | *****************************************************************************/ 12 | -------------------------------------------------------------------------------- /intelliroot/package/network/config/netifd/patches/001-musl_af_inet_include.patch: -------------------------------------------------------------------------------- 1 | diff -urN netifd-2012-10-29/utils.c netifd-2012-10-29.new/utils.c 2 | --- netifd-2012-10-29/utils.c 2012-11-23 17:15:39.000000000 +0100 3 | +++ netifd-2012-10-29.new/utils.c 2012-11-23 17:16:53.409244361 +0100 4 | @@ -17,6 +17,7 @@ 5 | 6 | #include 7 | #include 8 | +#include 9 | 10 | void 11 | __vlist_simple_init(struct vlist_simple_tree *tree, int offset) 12 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/comgt/files/evdo.chat: -------------------------------------------------------------------------------- 1 | # This is a simple chat script based off of the one provided by Sierra Wireless 2 | # for CDMA connections. It should work for both Sprint and Verizon networks. 3 | 4 | ABORT BUSY 5 | ABORT 'NO CARRIER' 6 | ABORT ERROR 7 | ABORT 'NO DIAL TONE' 8 | ABORT 'NO ANSWER' 9 | ABORT DELAYED 10 | REPORT CONNECT 11 | TIMEOUT 10 12 | '' AT 13 | OK ATZ 14 | SAY 'Calling CDMA/EVDO' 15 | TIMEOUT 30 16 | OK ATDT#777 17 | CONNECT '' 18 | -------------------------------------------------------------------------------- /intelliroot/package/system/udev/patches/0003-add_btn_trigger_happy_define.patch: -------------------------------------------------------------------------------- 1 | --- a/extras/input_id/input_id.c 2 | +++ b/extras/input_id/input_id.c 3 | @@ -30,6 +30,10 @@ 4 | #include "libudev.h" 5 | #include "libudev-private.h" 6 | 7 | +#ifndef BTN_TRIGGER_HAPPY 8 | +#define BTN_TRIGGER_HAPPY 0x2c0 9 | +#endif 10 | + 11 | /* we must use this kernel-compatible implementation */ 12 | #define BITS_PER_LONG (sizeof(unsigned long) * 8) 13 | #define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1) 14 | -------------------------------------------------------------------------------- /intelliroot/scripts/relink-lib.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | [ $# -lt 4 -o -z "$1" -o -z "$2" -o -z "$3" -o -z "$4" ] && { 3 | echo "Usage: $0 " 4 | exit 1 5 | } 6 | 7 | cross="$1"; shift 8 | ref="$1"; shift 9 | pic="$1"; shift 10 | dest="$1"; shift 11 | 12 | SYMBOLS="$(${cross}nm "$ref" | grep -E '........ [TW] ' | awk '$3 {printf "-u%s ", $3}')" 13 | set -x 14 | ${cross}gcc -nostdlib -nostartfiles -shared -Wl,--gc-sections -o "$dest" $SYMBOLS "$pic" "$@" 15 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/generic/profiles/gl-connect.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2014 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | define Profile/GLINET 9 | NAME:=GL.iNet 10 | PACKAGES:=kmod-usb-core kmod-usb2 11 | endef 12 | 13 | define Profile/GLINET/Description 14 | Package set optimized for the GL-Connect GL.iNet v1. 15 | endef 16 | 17 | $(eval $(call Profile,GLINET)) 18 | -------------------------------------------------------------------------------- /intelliroot/target/linux/brcm63xx/base-files/etc/diag.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2007-2013 OpenWrt.org 3 | 4 | . /lib/functions/leds.sh 5 | . /lib/brcm63xx.sh 6 | 7 | set_state() { 8 | case "$1" in 9 | preinit) 10 | status_led_set_timer 200 200 11 | ;; 12 | failsafe) 13 | status_led_set_timer 50 50 14 | ;; 15 | done) 16 | if [ "${status_led/power}" != "$status_led" ]; then 17 | status_led_on 18 | else 19 | status_led_off 20 | fi 21 | ;; 22 | esac 23 | } 24 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/patches-3.10/310-arm_module_unresolved_weak_sym.patch: -------------------------------------------------------------------------------- 1 | --- a/arch/arm/kernel/module.c 2 | +++ b/arch/arm/kernel/module.c 3 | @@ -81,6 +81,10 @@ apply_relocate(Elf32_Shdr *sechdrs, cons 4 | return -ENOEXEC; 5 | } 6 | 7 | + if ((IS_ERR_VALUE(sym->st_value) || !sym->st_value) && 8 | + ELF_ST_BIND(sym->st_info) == STB_WEAK) 9 | + continue; 10 | + 11 | loc = dstsec->sh_addr + rel->r_offset; 12 | 13 | switch (ELF32_R_TYPE(rel->r_info)) { 14 | -------------------------------------------------------------------------------- /intelliroot/target/linux/x86/patches-3.10/120-panic_on_unrecovered_nmi.patch: -------------------------------------------------------------------------------- 1 | --- a/drivers/mfd/rdc321x-southbridge.c 2 | +++ b/drivers/mfd/rdc321x-southbridge.c 3 | @@ -86,6 +86,8 @@ static int rdc321x_sb_probe(struct pci_d 4 | rdc321x_gpio_pdata.sb_pdev = pdev; 5 | rdc321x_wdt_pdata.sb_pdev = pdev; 6 | 7 | + panic_on_unrecovered_nmi = 1; 8 | + 9 | return mfd_add_devices(&pdev->dev, -1, 10 | rdc321x_sb_cells, ARRAY_SIZE(rdc321x_sb_cells), 11 | NULL, 0, NULL); 12 | -------------------------------------------------------------------------------- /intelliroot/package/base-files/files/lib/preinit/99_10_failsafe_login: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2006 OpenWrt.org 3 | # Copyright (C) 2010 Vertical Communications 4 | 5 | failsafe_netlogin () { 6 | telnetd -l /bin/login.sh <> /dev/null 2>&1 7 | } 8 | 9 | failsafe_shell() { 10 | lock /tmp/.failsafe 11 | ash --login 12 | echo "Please reboot system when done with failsafe network logins" 13 | } 14 | 15 | boot_hook_add failsafe failsafe_netlogin 16 | boot_hook_add failsafe failsafe_shell 17 | -------------------------------------------------------------------------------- /intelliroot/package/boot/uboot-envtools/patches/001-compile.patch: -------------------------------------------------------------------------------- 1 | --- a/tools/env/Makefile 2 | +++ b/tools/env/Makefile 3 | @@ -10,6 +10,10 @@ 4 | # with "CC" here for the maximum code reuse of scripts/Makefile.host. 5 | HOSTCC = $(CC) 6 | 7 | +ifneq ($(TARGET_CFLAGS),) 8 | +HOSTCFLAGS = $(TARGET_CFLAGS) 9 | +endif 10 | + 11 | # Compile for a hosted environment on the target 12 | HOST_EXTRACFLAGS = $(patsubst -I%,-idirafter%, $(UBOOTINCLUDE)) \ 13 | -idirafter $(srctree)/tools/env \ 14 | -------------------------------------------------------------------------------- /intelliroot/package/network/utils/xtables-addons/patches/003-fix-kernel-3.9.patch: -------------------------------------------------------------------------------- 1 | --- a/extensions/compat_xtables.h 2 | +++ b/extensions/compat_xtables.h 3 | @@ -82,4 +82,11 @@ static inline void proc_remove(struct pr 4 | } 5 | #endif 6 | 7 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 0) 8 | +static inline void proc_net_remove(struct net *net, const char *name) 9 | +{ 10 | + remove_proc_entry(name, net->proc_net); 11 | +} 12 | +#endif 13 | + 14 | #endif /* _XTABLES_COMPAT_H */ 15 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/generic/profiles/oolite.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2009 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | define Profile/OOLITE 9 | NAME:=OOLITE 10 | PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev 11 | endef 12 | 13 | 14 | define Profile/OOLITE/Description 15 | Package set optimized for the OOLITE. 16 | endef 17 | $(eval $(call Profile,OOLITE)) 18 | 19 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/mikrotik/profiles/01-minimal.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2009 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | define Profile/DefaultNoWifi 9 | NAME:=Default Profile (no WiFi) 10 | PACKAGES:= 11 | endef 12 | 13 | define Profile/DefaultNoWifi/Description 14 | Default package set compatible with most boards. 15 | endef 16 | $(eval $(call Profile,DefaultNoWifi)) 17 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/image/lzma-loader/src/lzma.lds.in: -------------------------------------------------------------------------------- 1 | OUTPUT_ARCH(mips) 2 | ENTRY(@ENTRY@) 3 | SECTIONS 4 | { 5 | /* Read-only sections, merged into text segment: */ 6 | . = @LOADADDR@; 7 | .text : 8 | { 9 | _ftext = . ; 10 | *(.text.entry) 11 | *(.text) 12 | *(.rodata) 13 | lzma_start = .; 14 | kernel.o 15 | lzma_end = .; 16 | } =0 17 | 18 | .reginfo : { *(.reginfo) } 19 | 20 | .bss : 21 | { 22 | *(.bss) 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /intelliroot/target/linux/generic/patches-3.10/655-increase_skb_pad.patch: -------------------------------------------------------------------------------- 1 | --- a/include/linux/skbuff.h 2 | +++ b/include/linux/skbuff.h 3 | @@ -1849,7 +1849,7 @@ static inline int pskb_network_may_pull( 4 | * NET_IP_ALIGN(2) + ethernet_header(14) + IP_header(20/40) + ports(8) 5 | */ 6 | #ifndef NET_SKB_PAD 7 | -#define NET_SKB_PAD max(32, L1_CACHE_BYTES) 8 | +#define NET_SKB_PAD max(64, L1_CACHE_BYTES) 9 | #endif 10 | 11 | extern int ___pskb_trim(struct sk_buff *skb, unsigned int len); 12 | -------------------------------------------------------------------------------- /intelliroot/toolchain/binutils/patches/2.22/400-fix_arm_gc_sections.patch: -------------------------------------------------------------------------------- 1 | --- a/bfd/elf32-arm.c 2 | +++ b/bfd/elf32-arm.c 3 | @@ -12408,7 +12408,8 @@ elf32_arm_check_relocs (bfd *abfd, struc 4 | 5 | /* If the symbol is a function that doesn't bind locally, 6 | this relocation will need a PLT entry. */ 7 | - root_plt->refcount += 1; 8 | + if (root_plt->refcount != -1) 9 | + root_plt->refcount += 1; 10 | 11 | if (!call_reloc_p) 12 | arm_plt->noncall_refcount++; 13 | -------------------------------------------------------------------------------- /intelliroot/toolchain/eglibc/patches/2.15/200-add-dl-search-paths.patch: -------------------------------------------------------------------------------- 1 | add /usr/lib to default search path for the dynamic linker 2 | 3 | --- a/libc/Makeconfig 4 | +++ b/libc/Makeconfig 5 | @@ -539,6 +539,9 @@ 6 | default-rpath = $(libdir) 7 | endif 8 | 9 | +# Add /usr/lib to default search path for the dynamic linker 10 | +user-defined-trusted-dirs := /usr/lib 11 | + 12 | ifndef link-extra-libs 13 | link-extra-libs = $(LDLIBS-$(@F)) 14 | link-extra-libs-static = $(link-extra-libs) 15 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/dropbear/patches/500-set-default-path.patch: -------------------------------------------------------------------------------- 1 | --- a/options.h 2 | +++ b/options.h 3 | @@ -318,7 +318,7 @@ be overridden at runtime with -I. 0 disa 4 | #define DEFAULT_IDLE_TIMEOUT 0 5 | 6 | /* The default path. This will often get replaced by the shell */ 7 | -#define DEFAULT_PATH "/usr/bin:/bin" 8 | +#define DEFAULT_PATH "/bin:/sbin:/usr/bin:/usr/sbin" 9 | 10 | /* Some other defines (that mostly should be left alone) are defined 11 | * in sysoptions.h */ 12 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/samba36/patches/300-assert_debug_level.patch: -------------------------------------------------------------------------------- 1 | --- a/lib/util/util.h 2 | +++ b/lib/util/util.h 3 | @@ -53,7 +53,7 @@ extern const char *panic_action; 4 | #else 5 | /* redefine the assert macro for non-developer builds */ 6 | #define SMB_ASSERT(b) do { if (!(b)) { \ 7 | - DEBUG(0,("PANIC: assert failed at %s(%d): %s\n", \ 8 | + DEBUG(3,("PANIC: assert failed at %s(%d): %s\n", \ 9 | __FILE__, __LINE__, #b)); }} while (0) 10 | #endif 11 | 12 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/generic/profiles/01-minimal.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2009 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | define Profile/Minimal 9 | NAME:=Minimal Profile (no drivers) 10 | PACKAGES:=-kmod-ath9k -wpad-mini 11 | endef 12 | 13 | define Profile/Minimal/Description 14 | Minimal package set compatible with most boards. 15 | endef 16 | $(eval $(call Profile,Minimal)) 17 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/generic/profiles/atlantis.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2009 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | define Profile/A02RBW300N 9 | NAME:=Atlantis-Land A02-RB-W300N 10 | PACKAGES:= 11 | endef 12 | 13 | define Profile/A02RBW300N/Description 14 | Package set optimized for the Atlantis-Land A02-RB-W300N. 15 | endef 16 | 17 | $(eval $(call Profile,A02RBW300N)) 18 | -------------------------------------------------------------------------------- /intelliroot/toolchain/eglibc/patches/2.19/200-add-dl-search-paths.patch: -------------------------------------------------------------------------------- 1 | add /usr/lib to default search path for the dynamic linker 2 | 3 | --- a/libc/Makeconfig 4 | +++ b/libc/Makeconfig 5 | @@ -501,6 +501,9 @@ else 6 | default-rpath = $(libdir) 7 | endif 8 | 9 | +# Add /usr/lib to default search path for the dynamic linker 10 | +user-defined-trusted-dirs := /usr/lib 11 | + 12 | ifndef link-extra-libs 13 | link-extra-libs = $(LDLIBS-$(@F)) 14 | link-extra-libs-static = $(link-extra-libs) 15 | -------------------------------------------------------------------------------- /intelliroot/tools/ipkg-utils/patches/140-portability.patch: -------------------------------------------------------------------------------- 1 | --- a/ipkg-build 2 | +++ b/ipkg-build 3 | @@ -11,6 +11,8 @@ set -e 4 | 5 | version=1.0 6 | 7 | +TAR="${TAR:-$(which tar)}" 8 | + 9 | ipkg_extract_value() { 10 | sed -e "s/^[^:]*:[[:space:]]*//" 11 | } 12 | --- a/ipkg-make-index 13 | +++ b/ipkg-make-index 14 | @@ -1,4 +1,4 @@ 15 | -#!/usr/bin/python 16 | +#!/usr/bin/env python 17 | # $Id: ipkg-make-index,v 1.20 2003/10/30 02:32:09 jamey Exp $ 18 | 19 | import sys, os, posixpath 20 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/broadcom-wl/patches/010-remove_irqf_samble_random.patch: -------------------------------------------------------------------------------- 1 | --- a/driver/wl_linux.c 2 | +++ b/driver/wl_linux.c 3 | @@ -695,7 +695,7 @@ wl_attach(uint16 vendor, uint16 device, 4 | if (wl->bustype != JTAG_BUS) 5 | #endif /* BCMJTAG */ 6 | { 7 | - if (request_irq(irq, wl_isr, IRQF_SHARED|IRQF_SAMPLE_RANDOM, dev->name, wl)) { 8 | + if (request_irq(irq, wl_isr, IRQF_SHARED, dev->name, wl)) { 9 | WL_ERROR(("wl%d: request_irq() failed\n", unit)); 10 | goto fail; 11 | } 12 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/ep80579-drivers/patches/701-iegbe_poll_dev.patch: -------------------------------------------------------------------------------- 1 | --- a/Embedded/src/GbE/iegbe_main.c 2 | +++ b/Embedded/src/GbE/iegbe_main.c 3 | @@ -3534,7 +3534,7 @@ static int iegbe_clean(struct napi_struc 4 | int tx_cleaned = 0, work_done = 0; 5 | 6 | /* Must NOT use netdev_priv macro here. */ 7 | - adapter = poll_dev->priv; 8 | + adapter = netdev_priv(poll_dev); 9 | 10 | /* iegbe_clean is called per-cpu. This lock protects 11 | * tx_ring[0] from being cleaned by multiple cpus 12 | -------------------------------------------------------------------------------- /intelliroot/package/kernel/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch: -------------------------------------------------------------------------------- 1 | --- a/drivers/net/wireless/ath/ath9k/init.c 2 | +++ b/drivers/net/wireless/ath/ath9k/init.c 3 | @@ -655,6 +655,7 @@ static const struct ieee80211_iface_limi 4 | BIT(NL80211_IFTYPE_AP) }, 5 | { .max = 1, .types = BIT(NL80211_IFTYPE_P2P_CLIENT) | 6 | BIT(NL80211_IFTYPE_P2P_GO) }, 7 | + { .max = 1, .types = BIT(NL80211_IFTYPE_ADHOC) }, 8 | }; 9 | 10 | static const struct ieee80211_iface_limit if_dfs_limits[] = { 11 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/dropbear/patches/150-dbconvert_standalone.patch: -------------------------------------------------------------------------------- 1 | --- a/options.h 2 | +++ b/options.h 3 | @@ -5,6 +5,11 @@ 4 | #ifndef _OPTIONS_H_ 5 | #define _OPTIONS_H_ 6 | 7 | +#if !defined(DROPBEAR_CLIENT) && !defined(DROPBEAR_SERVER) 8 | +#define DROPBEAR_SERVER 9 | +#define DROPBEAR_CLIENT 10 | +#endif 11 | + 12 | /* Define compile-time options below - the "#ifndef DROPBEAR_XXX .... #endif" 13 | * parts are to allow for commandline -DDROPBEAR_XXX options etc. */ 14 | 15 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/mikrotik/profiles/02-ath5k.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2009-2012 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | define Profile/Ath5k 9 | NAME:=Atheros WiFi (ath5k) 10 | PACKAGES:=kmod-ath5k -kmod-ath9k 11 | endef 12 | 13 | define Profile/Ath5k/Description 14 | Package set compatible with hardware using Atheros WiFi cards. 15 | endef 16 | $(eval $(call Profile,Ath5k)) 17 | -------------------------------------------------------------------------------- /intelliroot/target/linux/ar71xx/nand/profiles/zyxel.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2009 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | define Profile/NBG6716 9 | NAME:=Zyxel NBG 6716 10 | PACKAGES:=kmod-rtc-pcf8563 kmod-ath10k 11 | endef 12 | 13 | define Profile/NBG6716/Description 14 | Package set optimized for the Zyxel NBG 6716 Routers. 15 | endef 16 | 17 | $(eval $(call Profile,NBG6716)) 18 | 19 | -------------------------------------------------------------------------------- /intelliroot/package/libs/uclibc++/patches/002-path_to_bash.patch: -------------------------------------------------------------------------------- 1 | --- a/bin/Makefile 2 | +++ b/bin/Makefile 3 | @@ -13,7 +13,7 @@ install: 4 | $(INSTALL) -m 755 $(WRAPPER) $(PREFIX)$(UCLIBCXX_RUNTIME_BINDIR) 5 | 6 | $(WRAPPER): Makefile 7 | - echo '#!/bin/sh' > $@ 8 | + echo '#!/usr/bin/env bash' > $@ 9 | echo '' >> $@ 10 | echo 'WRAPPER_INCLUDEDIR="$${WRAPPER_INCLUDEDIR:=-I$(UCLIBCXX_RUNTIME_INCLUDEDIR)}"' >> $@ 11 | echo 'WRAPPER_LIBDIR="$${WRAPPER_LIBDIR:=-L$(UCLIBCXX_RUNTIME_LIBDIR)}"' >> $@ 12 | -------------------------------------------------------------------------------- /intelliroot/package/network/services/lldpd/patches/002-no-stack-protector.patch: -------------------------------------------------------------------------------- 1 | --- a/configure.ac 2 | +++ b/configure.ac 3 | @@ -62,7 +62,6 @@ AX_CFLAGS_GCC_OPTION([-Wformat]) 4 | AX_CFLAGS_GCC_OPTION([-Wformat-security]) 5 | AX_CFLAGS_GCC_OPTION([-Wcast-align]) 6 | AX_CFLAGS_GCC_OPTION([-Winline]) 7 | -AX_CFLAGS_GCC_OPTION([-fstack-protector]) 8 | AX_CFLAGS_GCC_OPTION([-D_FORTIFY_SOURCE=2]) 9 | AX_CFLAGS_GCC_OPTION([-Wdeclaration-after-statement]) 10 | AX_CFLAGS_GCC_OPTION([-Wno-unused-parameter]) 11 | -------------------------------------------------------------------------------- /intelliroot/package/system/opkg/patches/080-suppress-blank-package-fields.patch: -------------------------------------------------------------------------------- 1 | --- a/libopkg/parse_util.c 2 | +++ b/libopkg/parse_util.c 3 | @@ -35,7 +35,12 @@ is_field(const char *type, const char *l 4 | char * 5 | parse_simple(const char *type, const char *line) 6 | { 7 | - return trim_xstrdup(line + strlen(type) + 1); 8 | + char *field = trim_xstrdup(line + strlen(type) + 1); 9 | + if (strlen(field) == 0) { 10 | + free(field); 11 | + return NULL; 12 | + } 13 | + return field; 14 | } 15 | 16 | /* 17 | --------------------------------------------------------------------------------