├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── admin ├── debootstrap │ ├── Makefile │ ├── files │ │ └── pkgdetails.c │ └── patches │ │ └── 100-busybox_fix.patch ├── htop │ └── Makefile ├── monit │ ├── Makefile │ ├── files │ │ └── monit.init │ └── patches │ │ └── 001-fix-default-piddir.patch ├── muninlite │ ├── Makefile │ ├── files │ │ └── etc │ │ │ └── xinetd.d │ │ │ └── munin │ └── patches │ │ ├── 001-no_disks.patch │ │ ├── 002-hostname.patch │ │ ├── 100-fix-no-ethtool.patch │ │ ├── 110-fix-uptime-days.patch │ │ ├── 200-add-tap-dev.patch │ │ ├── 210-add-bridge-devs.patch │ │ └── 220-modify-ifname-parser.patch ├── sudo │ ├── Makefile │ ├── files │ │ └── sudo.init │ └── patches │ │ ├── 010-cross-compile-fixes.patch │ │ └── 020-no-owner-change.patch └── zabbix │ ├── Makefile │ ├── files │ ├── mac80211 │ ├── network │ ├── wifi │ ├── zabbix_agentd.init │ └── zabbix_helper_mac80211.c │ └── patches │ ├── 002-fix-res_send-on-uclibc.patch │ ├── 002-uclibc_loadavg.patch │ ├── 010-change-agentd-config.patch │ ├── 015-daemon-foreground.patch │ └── 100-musl-compat.patch ├── devel ├── diffutils │ └── Makefile ├── gcc │ ├── Makefile │ ├── README │ └── patches │ │ ├── 002-dont-choke-when-building-32bit-on-64bit.patch │ │ ├── 003-mpfr-longlong-mips.patch │ │ ├── 010-documentation.patch │ │ ├── 020-disable-check-for-sys-sdt-h.patch │ │ ├── 100-uclibc-conf.patch │ │ ├── 200-musl.patch │ │ ├── 800-arm_v5te_no_ldrd_strd.patch │ │ ├── 810-arm-softfloat-libgcc.patch │ │ ├── 820-libgcc_pic.patch │ │ ├── 830-arm_unbreak_armv4t.patch │ │ ├── 840-armv4_pass_fix-v4bx_to_ld.patch │ │ ├── 850-use_shared_libgcc.patch │ │ ├── 860-uclibc_use_eh_frame.patch │ │ ├── 870-ppc_no_crtsavres.patch │ │ ├── 880-no_java_section.patch │ │ ├── 900-bad-mips16-crt.patch │ │ ├── 910-mbsd_multi.patch │ │ └── 920-specs_nonfatal_getenv.patch ├── lttng-modules │ ├── Makefile │ └── patches │ │ └── 001-mm_page_alloc_extfrag.patch ├── lttng-tools │ └── Makefile └── patch │ └── Makefile ├── ipv6 ├── aiccu │ ├── Makefile │ ├── files │ │ ├── aiccu.hotplug │ │ └── aiccu.sh │ └── patches │ │ ├── 100-cross_compile.patch │ │ ├── 200-add_dn_skipname.patch │ │ ├── 300-resolver-uclibc.patch │ │ └── 400-musl-compat.patch └── tayga │ ├── Makefile │ ├── files │ ├── tayga-proto.sh │ ├── tayga.hotplug │ └── tayga.sh │ └── patches │ ├── 001-configure_unset_CFLAGS.patch │ └── 002-bigendian_wrong_checksum.patch ├── kernel └── exfat-nofuse │ └── Makefile ├── lang ├── dkjson │ └── Makefile ├── erlang │ ├── Makefile │ └── patches │ │ ├── 101-emulator_includes.patch │ │ ├── 102-musl_compat.patch │ │ └── 103-disable_emacs.patch ├── jamvm │ └── Makefile ├── json4lua │ └── Makefile ├── lpeg │ └── Makefile ├── lua-bencode │ └── Makefile ├── lua-cjson │ └── Makefile ├── lua-copas │ ├── Makefile │ └── patches │ │ └── makefile.patch ├── lua-coxpcall │ ├── Makefile │ └── patches │ │ └── config.patch ├── lua-lzlib │ ├── Makefile │ └── patches │ │ └── 001-allow_optim_flags.patch ├── lua-md5 │ ├── Makefile │ └── patches │ │ ├── config.patch │ │ └── makefile.patch ├── lua-mobdebug │ └── Makefile ├── lua-mosquitto │ └── Makefile ├── lua-penlight │ └── Makefile ├── lua-rings │ ├── Makefile │ └── patches │ │ ├── config.patch │ │ └── makefile.patch ├── lua-rs232 │ └── Makefile ├── lua-sha2 │ ├── Makefile │ └── patches │ │ └── 001-makefile.patch ├── lua-wsapi │ └── Makefile ├── lua-xavante │ └── Makefile ├── luabitop │ └── Makefile ├── luaexpat │ ├── Makefile │ └── files │ │ └── compat-5.1r5 │ │ ├── compat-5.1.c │ │ ├── compat-5.1.h │ │ └── compat-5.1.lua ├── luafilesystem │ └── Makefile ├── luai2c │ └── Makefile ├── lualanes │ └── Makefile ├── luaposix │ ├── Makefile │ └── patches │ │ ├── 100-eglibc-compat.patch │ │ ├── 101-disable-curses.patch │ │ └── 102-disable-compat-deprecated.diff ├── luarocks │ ├── Makefile │ └── patches │ │ └── 01_dont_modify_bin_shebang.diff ├── luasec │ ├── Makefile │ └── patches │ │ └── 100-luasocket-Makefile.patch ├── luasoap │ └── Makefile ├── luasocket │ ├── Makefile │ └── patches │ │ └── 0001-Add-interface-support.patch ├── luasql │ └── Makefile ├── lzmq │ └── Makefile ├── micropython-lib │ └── Makefile ├── micropython │ └── Makefile ├── perl-cgi │ └── Makefile ├── perl-compress-bzip2 │ └── Makefile ├── perl-dbi │ └── Makefile ├── perl-device-serialport │ └── Makefile ├── perl-encode-locale │ └── Makefile ├── perl-file-listing │ └── Makefile ├── perl-html-form │ └── Makefile ├── perl-html-parser │ └── Makefile ├── perl-html-tagset │ └── Makefile ├── perl-html-tree │ └── Makefile ├── perl-http-cookies │ └── Makefile ├── perl-http-daemon │ └── Makefile ├── perl-http-date │ └── Makefile ├── perl-http-message │ └── Makefile ├── perl-http-negotiate │ └── Makefile ├── perl-http-server-simple │ └── Makefile ├── perl-io-html │ └── Makefile ├── perl-lockfile-simple │ └── Makefile ├── perl-lwp-mediatypes │ └── Makefile ├── perl-net-http │ └── Makefile ├── perl-net-telnet │ └── Makefile ├── perl-sub-uplevel │ └── Makefile ├── perl-test-harness │ └── Makefile ├── perl-test-warn │ └── Makefile ├── perl-uri │ └── Makefile ├── perl-www-curl │ ├── Makefile │ └── patches │ │ ├── 100-perl-www-curl_disable_curl-config_hack.patch │ │ └── 200-fix_default_lflags.patch ├── perl-www-mechanize │ └── Makefile ├── perl-www-robotrules │ └── Makefile ├── perl-www │ └── Makefile ├── perl │ ├── Config.in │ ├── Makefile │ ├── files │ │ ├── config.sh-arm-mt.in │ │ ├── config.sh-arm.in │ │ ├── config.sh-armeb-mt.in │ │ ├── config.sh-armeb.in │ │ ├── config.sh-avr32-mt.in │ │ ├── config.sh-avr32.in │ │ ├── config.sh-i486-mt.in │ │ ├── config.sh-i486.in │ │ ├── config.sh-mips-mt.in │ │ ├── config.sh-mips.in │ │ ├── config.sh-mips64-mt.in │ │ ├── config.sh-mips64.in │ │ ├── config.sh-mipsel-mt.in │ │ ├── config.sh-mipsel.in │ │ ├── config.sh-powerpc-mt.in │ │ ├── config.sh-powerpc.in │ │ ├── config.sh-x86_64-mt.in │ │ ├── config.sh-x86_64.in │ │ └── perl-run_tests.sh │ ├── patches │ │ ├── 100-musl-compat.patch │ │ ├── 101-fix-cross-compile-endianness-detection.patch │ │ ├── 200-host-libc-dir-moved-debian+derivatives.patch │ │ ├── 300-always_use_miniperl.patch │ │ ├── 400-add_microperl_caretx_dependency.patch │ │ └── 500-add-relink-hack.patch │ ├── perlbase.mk │ └── perlmod.mk ├── php5-pecl-dio │ ├── Makefile │ └── patches │ │ └── 010-additional-baudrates.patch ├── php5-pecl-libevent │ ├── Makefile │ └── patches │ │ └── 010-libevent2.patch ├── php5-pecl-propro │ └── Makefile ├── php5-pecl-raphf │ └── Makefile ├── php5 │ ├── Makefile │ ├── files │ │ ├── php.ini │ │ ├── php5-fastcgi.config │ │ ├── php5-fastcgi.init │ │ ├── php5-fpm-www.conf │ │ ├── php5-fpm.conf │ │ ├── php5-fpm.config │ │ └── php5-fpm.init │ ├── patches │ │ ├── 101-fix_membar_producer_link_error_gcc3x.patch │ │ ├── 102-debian_patches_use_embedded_timezonedb.patch │ │ ├── 103-debian_patches_use_embedded_timezonedb.patch │ │ ├── 200-ext-opcache-fix-detection-of-shm-mmap.patch │ │ ├── 800-gd-iconv.patch │ │ └── 950-Fix-dl-cross-compiling-issue.patch │ └── pecl.mk ├── python-crcmod │ └── Makefile ├── python-dns │ └── Makefile ├── python-imglib │ ├── Makefile │ └── patches │ │ ├── 010-cross-compile.patch │ │ └── 020-freetype-header-include.patch ├── python-mysql │ ├── Makefile │ └── patches │ │ └── 010-threadsafe.patch ├── python-pip │ └── Makefile ├── python-pyserial │ └── Makefile ├── python-setuptools │ ├── Makefile │ └── patches │ │ └── 0001-remove-windows-support.patch ├── python-yaml │ └── Makefile ├── python │ ├── Makefile │ ├── files │ │ ├── config.site │ │ ├── python-package-codecs.mk │ │ ├── python-package-compiler.mk │ │ ├── python-package-ctypes.mk │ │ ├── python-package-db.mk │ │ ├── python-package-decimal.mk │ │ ├── python-package-distutils.mk │ │ ├── python-package-email.mk │ │ ├── python-package-gdbm.mk │ │ ├── python-package-logging.mk │ │ ├── python-package-multiprocessing.mk │ │ ├── python-package-ncurses.mk │ │ ├── python-package-openssl.mk │ │ ├── python-package-pydoc.mk │ │ ├── python-package-sqlite3.mk │ │ ├── python-package-unittest.mk │ │ ├── python-package-xml.mk │ │ └── python-package.mk │ └── patches │ │ ├── 001-enable-zlib.patch │ │ ├── 002-do-not-add-include-dirs-when-cross-compiling.patch │ │ ├── 003-do-not-compile-tests-at-build.patch │ │ ├── 004-do-not-write-bytes-codes.patch │ │ ├── 005-fix-libffi-x86-64-configure.patch │ │ ├── 006-remove-debian-multiarch-support.patch │ │ ├── 007-distutils-do-not-adjust-path.patch │ │ ├── 008-distutils-use-python-sysroot.patch │ │ ├── 009-do-not-use-dblib_dir-when-cross-compiling.patch │ │ ├── 010-do-not-add-rt-lib-dirs-when-cross-compiling.patch │ │ └── 011-do-not-prefer-ncursesw.patch ├── python3-bottle │ └── Makefile ├── python3 │ ├── Makefile │ ├── files │ │ ├── config.site │ │ ├── python3-package-asyncio.mk │ │ ├── python3-package-codecs.mk │ │ ├── python3-package-ctypes.mk │ │ ├── python3-package-dbm.mk │ │ ├── python3-package-decimal.mk │ │ ├── python3-package-distutils.mk │ │ ├── python3-package-email.mk │ │ ├── python3-package-gdbm.mk │ │ ├── python3-package-logging.mk │ │ ├── python3-package-lzma.mk │ │ ├── python3-package-multiprocessing.mk │ │ ├── python3-package-ncurses.mk │ │ ├── python3-package-openssl.mk │ │ ├── python3-package-pydoc.mk │ │ ├── python3-package-sqlite3.mk │ │ ├── python3-package-unittest.mk │ │ ├── python3-package-xml.mk │ │ └── python3-package.mk │ └── patches │ │ ├── 001-enable-zlib.patch │ │ ├── 002-do-not-add-include-dirs-when-cross-compiling.patch │ │ ├── 003-do-not-run-distutils-tests.patch │ │ ├── 004-do-not-write-bytes-codes.patch │ │ ├── 005-fix-libffi-x86-64-configure.patch │ │ ├── 006-remove-debian-multiarch-support.patch │ │ ├── 007-distutils-do-not-adjust-path.patch │ │ ├── 010-do-not-add-rt-lib-dirs-when-cross-compiling.patch │ │ ├── 011-do-not-prefer-ncursesw.patch │ │ └── 012-disable-wcsftime-detection.patch ├── ruby │ ├── Makefile │ ├── files │ │ └── ruby │ ├── patches │ │ └── 001-rdoc-remove_gems_dep.patch │ ├── ruby_find_pkgsdeps │ └── ruby_missingfiles ├── simplejson │ └── Makefile ├── uuid │ └── Makefile └── vala │ └── Makefile ├── libs ├── alsa-lib │ ├── Makefile │ └── patches │ │ ├── 001-link_fix.patch │ │ ├── 002-remove_cross_compile_guess.patch │ │ └── 005-fix_include_file_redirect_warnings.patch ├── apr-util │ ├── Makefile │ └── patches │ │ └── 001-automake-compat.patch ├── apr │ ├── Makefile │ └── patches │ │ ├── 001-autoconf-compat.patch │ │ ├── 101-fix_apr_time_now.patch │ │ └── 201-upgrade-and-fix-1.5.1.patch ├── avahi │ ├── Makefile │ ├── files │ │ ├── avahi-daemon.conf │ │ ├── avahi-daemon.init │ │ ├── service-http │ │ └── service-ssh │ └── patches │ │ └── 010-step_back_autotools-no-gettext.patch ├── boost │ ├── Makefile │ └── patches │ │ └── 001-mips-options-fix.patch ├── c-ares │ └── Makefile ├── check │ └── Makefile ├── classpath │ ├── Makefile │ └── patches │ │ └── 010-double-memleak.patch ├── confuse │ └── Makefile ├── cyrus-sasl │ └── Makefile ├── db47 │ ├── Makefile │ └── patches │ │ ├── 010-patch.4.7.25.1.patch │ │ ├── 020-patch.4.7.25.2.patch │ │ ├── 030-patch.4.7.25.3.patch │ │ ├── 040-patch.4.7.25.4.patch │ │ └── 100-repmgr-format-security.patch ├── dmx_usb_module │ ├── Makefile │ └── patches │ │ └── 001-dmx_usb_Makefile.patch ├── dtndht │ └── Makefile ├── engine_pkcs11 │ └── Makefile ├── expat │ └── Makefile ├── faad2 │ ├── Config.in │ └── Makefile ├── fcgi │ ├── Makefile │ └── patches │ │ ├── 100-fcgio-int-type-fix.patch │ │ ├── 110-no_examples.patch │ │ └── 120-stdio.patch ├── fftw3 │ ├── Makefile │ └── patches │ │ └── 001-makefile.patch ├── file │ └── Makefile ├── flac │ ├── Makefile │ └── patches │ │ ├── 001-no-docs-and-examples.patch │ │ ├── 002-no-utility.patch │ │ └── 010-automake-compat.patch ├── freetype │ └── Makefile ├── gdbm │ └── Makefile ├── giflib │ └── Makefile ├── glib2 │ ├── Makefile │ └── patches │ │ ├── 001-automake-compat.patch │ │ └── 100-fix-gio-linking.patch ├── glpk │ └── Makefile ├── gnutls │ ├── Config.in │ └── Makefile ├── gperf │ └── Makefile ├── hidapi │ ├── Makefile │ └── patches │ │ └── 010-add-iconv-linkage.patch ├── hiredis │ └── Makefile ├── ibrcommon │ └── Makefile ├── ibrdtn │ └── Makefile ├── intltool │ └── Makefile ├── jansson │ └── Makefile ├── ldns │ └── Makefile ├── libaio │ ├── Makefile │ └── patches │ │ ├── 001_arches.patch │ │ ├── 002_arches_sh.patch │ │ ├── 003_arches_sparc64.patch │ │ ├── 004_arches_x32.patch │ │ ├── 005_arches_mips.patch │ │ └── 006_arches_mips_fix_padding.patch ├── libantlr3c │ └── Makefile ├── libao │ └── Makefile ├── libarchive │ └── Makefile ├── libartnet │ ├── Makefile │ └── patches │ │ └── 001-bswap_16.patch ├── libaudiofile │ └── Makefile ├── libavl │ ├── Makefile │ └── patches │ │ └── 010-update_GNUmakefile.patch ├── libcap │ └── Makefile ├── libdaemon │ ├── Makefile │ └── patches │ │ └── 001-daemon_set_verbosity.patch ├── libdaq │ ├── Makefile │ └── patches │ │ ├── 001-compile.patch │ │ └── 100-musl-compat.patch ├── libdbi-drivers │ ├── Makefile │ └── patches │ │ └── 001_libsqlite3_fix.patch ├── libdbi │ └── Makefile ├── libdmapsharing │ ├── Makefile │ └── patches │ │ ├── 001-disable_pixbuf.patch │ │ ├── 002-disable_tests.patch │ │ └── 003-make_unit_test_optional.patch ├── libdnet │ ├── Makefile │ └── patches │ │ ├── 001-compile.patch │ │ └── 002-config.patch ├── libesmtp │ └── Makefile ├── libev │ └── Makefile ├── libevdev │ ├── Makefile │ └── patches │ │ └── 010-no-clock-monotonic-raw-in-uclibc.patch ├── libevent │ └── Makefile ├── libevhtp-1.1 │ ├── Makefile │ └── patches │ │ └── 010-CMakeLists-fixes.patch ├── libevhtp │ ├── Makefile │ └── patches │ │ └── 010-enable-shared-object-building.patch ├── libexif │ ├── Makefile │ └── patches │ │ └── 100-no_doc.patch ├── libextractor │ ├── Makefile │ └── patches │ │ └── 001-backport-support-for-giflib-5-1.patch ├── libffi │ └── Makefile ├── libftdi │ ├── Makefile │ └── patches │ │ ├── 100-fix-x86_64-build.patch │ │ └── 101-fix-cmake-version-packagekit.patch ├── libftdi1 │ ├── Makefile │ └── patches │ │ └── 100-fix-x86_64-build.patch ├── libgcrypt │ ├── Makefile │ └── patches │ │ └── 001-no_docs_tests.patch ├── libgd │ ├── Makefile │ └── patches │ │ ├── 101-gdlib-config.patch │ │ └── 200-uclibc-ceill.patch ├── libgpg-error │ └── Makefile ├── libhttp-parser │ └── Makefile ├── libical │ └── Makefile ├── libid3tag │ └── Makefile ├── libidn │ ├── Makefile │ └── patches │ │ ├── 002-disable-po-docs-examples.patch │ │ └── 010-fix-idn-error-usage.patch ├── libimobiledevice │ └── Makefile ├── libinput │ ├── Makefile │ └── patches │ │ └── 001-no-locale.patch ├── libjpeg │ └── Makefile ├── liblo │ └── Makefile ├── liblz4 │ └── Makefile ├── libmad │ ├── Makefile │ └── patches │ │ └── 001-mips_removal_h_constraint.patch ├── libmcrypt │ └── Makefile ├── libmicrohttpd │ ├── Makefile │ └── patches │ │ └── 001-bump-to-r35864.patch ├── libmms │ └── Makefile ├── libmodbus │ └── Makefile ├── libmpdclient │ └── Makefile ├── libmpeg2 │ ├── Makefile │ └── patches │ │ ├── 101-ppc_no_altivec.patch │ │ └── 102-arm_data_preload_check.patch ├── libnatpmp │ ├── Makefile │ └── patches │ │ └── 001-install_declspec.patch ├── libnet-1.2.x │ ├── Makefile │ └── patches │ │ └── 100-musl-compat.patch ├── libnetfilter-acct │ └── Makefile ├── libnfc │ └── Makefile ├── libogg │ └── Makefile ├── liboil │ └── Makefile ├── liboping │ ├── Makefile │ └── patches │ │ └── 01-no-werror.patch ├── libowfat │ ├── Makefile │ └── patches │ │ └── 001-fixbuild.patch ├── libp11 │ └── Makefile ├── libpam │ ├── Makefile │ ├── files │ │ ├── pam.conf │ │ └── pam.d │ │ │ ├── common-account │ │ │ ├── common-auth │ │ │ ├── common-password │ │ │ ├── common-session │ │ │ ├── common-session-noninteractive │ │ │ └── other │ └── patches │ │ ├── 0001-build-always-use-lib-instead-of-lib64.patch │ │ ├── 0002-build-ignore-pam_rhosts-if-neither-ruserok-nor-ruser.patch │ │ ├── 0003-build-ignore-pam_lastlog-when-logwtmp-is-not-availab.patch │ │ ├── 0004-build-fix-build-when-crypt-is-not-part-of-crypt_libs.patch │ │ ├── 0005-build-fix-doc-build.patch │ │ ├── 0006-pam_unix-fix-compilation-in-case-rpc-rpc.h-is-missin.patch │ │ └── 0007-Check-if-innetgr-is-available-at-compile-time.patch ├── libplist │ └── Makefile ├── libpng │ ├── Makefile │ └── patches │ │ └── 100-config_fix.patch ├── libradcli │ ├── Config.in │ └── Makefile ├── libsamplerate │ └── Makefile ├── libsearpc │ └── Makefile ├── libseccomp │ ├── Makefile │ └── patches │ │ └── 100-dont-use-linux-prctl.h-with-musl.patch ├── libshout │ ├── Makefile │ └── patches │ │ ├── 120-vorbis-c.patch │ │ └── 140-no_example_doc_win32.patch ├── libsigc++ │ ├── Makefile │ └── patches │ │ └── 001-no_doc_tests_examples.patch ├── libsndfile │ ├── Makefile │ └── patches │ │ └── 001-automake-compat.patch ├── libsodium │ └── Makefile ├── libsoup │ └── Makefile ├── libsoxr │ └── Makefile ├── libssh2 │ └── Makefile ├── libtasn1 │ └── Makefile ├── libtheora │ ├── Makefile │ └── patches │ │ ├── 001-no_docs_tests.patch │ │ └── 002-no_sdl_check.patch ├── libtorrent │ ├── Makefile │ └── patches │ │ ├── 100-fix_cross_compile.patch │ │ └── 120-fix-ipv6_socket_datagram.patch ├── libuecc │ └── Makefile ├── libugpio │ └── Makefile ├── libunistring │ └── Makefile ├── libupnp │ └── Makefile ├── libupnpp │ └── Makefile ├── liburcu │ └── Makefile ├── libusbmuxd │ └── Makefile ├── libuv │ └── Makefile ├── libuvc │ └── Makefile ├── libv4l │ ├── Makefile │ └── patches │ │ ├── 001-no-shm_open-fix.patch │ │ ├── 005-test_for_posix_ioctl.patch │ │ ├── 020-add-missing-includes.patch │ │ └── 030-musl_compatibility.patch ├── libvorbis │ └── Makefile ├── libvorbisidec │ └── Makefile ├── libvpx │ └── Makefile ├── libwebsockets │ └── Makefile ├── libxerces-c │ └── Makefile ├── libxml2 │ ├── Makefile │ └── patches │ │ └── 0001-threads-use-forward-declarations-only-for-glibc-fixe.patch ├── libxslt │ └── Makefile ├── libzdb │ ├── Makefile │ └── patches │ │ ├── 010-cross-compile-fixes.patch │ │ └── 020-filterh-use-host-built-version.patch ├── lttng-ust │ ├── Makefile │ └── patches │ │ ├── 001-no_docs_tests.patch │ │ └── 002-examples.patch ├── mtdev │ └── Makefile ├── mxml │ ├── Makefile │ └── patches │ │ └── 001-targets.patch ├── nacl │ ├── Makefile │ └── do-openwrt ├── neon │ └── Makefile ├── opencv │ ├── Makefile │ └── README.md ├── openldap │ ├── Makefile │ ├── files │ │ └── ldap.init │ └── patches │ │ ├── 001-automake-compat.patch │ │ ├── 020-autofs-schema.patch │ │ └── 750-no-strip.patch ├── opus │ └── Makefile ├── p11-kit │ ├── Makefile │ └── files │ │ └── opensc.module ├── pcre │ ├── Makefile │ └── patches │ │ └── 100-pcre-cve-2015-3210.patch ├── postgresql │ ├── Makefile │ ├── files │ │ ├── postgresql.config │ │ └── postgresql.init │ └── patches │ │ ├── 200-ranlib.patch │ │ └── 800-busybox-default-pager.patch ├── protobuf-c │ └── Makefile ├── protobuf │ ├── Makefile │ └── patches │ │ ├── 001-mipseb-compile.patch │ │ └── 003-mips2andHigher-compile.patch ├── pthsem │ ├── Makefile │ └── patches │ │ ├── 001-linux3x-fix.patch │ │ └── 002-fix-signal.h ├── qrencode │ ├── Makefile │ └── patches │ │ └── 001-disable-png.patch ├── sbc │ └── Makefile ├── speex │ └── Makefile ├── sqlite3 │ └── Makefile ├── tcp_wrappers │ ├── Makefile │ └── patches │ │ ├── 001-debian_subset.patch │ │ ├── 002-opt_cflags.patch │ │ ├── 003-scaffold_malloc.patch │ │ ├── 004-ipv4_prefix.patch │ │ └── 005-no--lnsl-on-musl.patch ├── tdb │ ├── Makefile │ └── patches │ │ └── 001-printf-fix.patch ├── tiff │ ├── Makefile │ └── patches │ │ ├── 001-autoconf-compat.patch │ │ ├── 010-CVE-2012-4564.patch │ │ ├── 011-CVE-2013-1960.patch │ │ ├── 012-CVE-2013-1961.patch │ │ ├── 013-CVE-2013-4231.patch │ │ ├── 014-CVE-2013-4232.patch │ │ ├── 015-CVE-2013-4244.patch │ │ ├── 016-CVE-2013-4243.patch │ │ └── 017-CVE-2014-9330.patch ├── tinycdb │ ├── Makefile │ └── patches │ │ └── 100-Makefile.patch ├── toxcore │ └── Makefile ├── unixodbc │ ├── Makefile │ └── files │ │ └── unixodbc_conf.h ├── vips │ ├── Makefile │ └── patches │ │ └── 001-no_cpp.patch ├── xmlrpc-c │ ├── Makefile │ └── patches │ │ ├── 001-config.mk.in.patch │ │ └── 002-automake-compat.patch ├── yaml │ └── Makefile └── zmq │ ├── Makefile │ └── patches │ ├── 010-disable_pedantic_on_linux_with_ulibc++.patch │ ├── 020-map_with_const_string_with_ublic++.patch │ ├── 030-streamoff_missing_with_ulibc++.patch │ └── 100-fix-cxx-include-order.patch ├── mail ├── alpine │ ├── Makefile │ └── patches │ │ └── 100-no-openssl-check-cross-compile.patch ├── bogofilter │ ├── Makefile │ └── files │ │ └── postfix-bogofilter ├── dovecot │ ├── Makefile │ ├── files │ │ └── dovecot.init │ └── patches │ │ └── 001-configure_in.patch ├── fdm │ ├── Config.in │ ├── Makefile │ ├── files │ │ └── etc │ │ │ └── fdm.conf │ ├── patches │ │ ├── 001-base64-fix.patch │ │ └── 002-base64-fix.patch │ └── src │ │ └── compat │ │ ├── b64_ntop.c │ │ └── b64_pton.c ├── mailman │ ├── Makefile │ ├── files │ │ └── mailman.init │ └── patches │ │ ├── 100-postfix.patch │ │ ├── 200-nohostdnspython.patch │ │ ├── 300-targetpython.patch │ │ └── 400-modules.patch ├── mailsend │ └── Makefile ├── msmtp │ └── Makefile ├── nail │ ├── Makefile │ └── patches │ │ └── 100-handle-openssl-without-sslv2.patch ├── postfix │ ├── Makefile │ ├── files │ │ ├── main.cf.default │ │ └── postfix.init │ └── patches │ │ ├── 100-fsstat.patch │ │ ├── 200-manpages.patch │ │ ├── 300-bdb_hash_segfault.patch │ │ ├── 400-cdb.patch │ │ ├── 500-crosscompile.patch │ │ ├── 600-nopostconf.patch │ │ ├── 700-defaultconfig.patch │ │ └── 800-fmt.patch └── ssmtp │ ├── Makefile │ └── patches │ └── 002-fix_pointer.patch ├── multimedia ├── crtmpserver │ ├── Makefile │ ├── files │ │ └── crtmpserver.init │ └── patches │ │ ├── 010-link-crypt-for-lua.patch │ │ ├── 020-add-rpath.patch │ │ ├── 030-default-config.patch │ │ ├── 040-use-select.patch │ │ ├── 050-add-missing-make-defines.patch │ │ ├── 060-add-missing-includes.patch │ │ └── 070-missing-include-gcc-47.patch ├── ffmpeg │ ├── Config.in │ └── Makefile ├── fswebcam │ └── Makefile ├── gst1-libav │ ├── Config.in │ └── Makefile ├── gst1-plugins-bad │ ├── Makefile │ └── patches │ │ └── 000-gettext.patch ├── gst1-plugins-base │ ├── Makefile │ └── patches │ │ ├── 001-no_docs.patch │ │ ├── 002-no_tests.patch │ │ └── 003-no_translations.patch ├── gst1-plugins-good │ ├── Makefile │ └── patches │ │ ├── 001-no_docs.patch │ │ ├── 002-no_tests.patch │ │ └── 003-no_translations.patch ├── gst1-plugins-ugly │ ├── Makefile │ └── patches │ │ ├── 001-no_docs.patch │ │ ├── 002-no_tests.patch │ │ └── 003-no_translations.patch ├── gstreamer1 │ ├── Makefile │ └── patches │ │ ├── 001-no_docs.patch │ │ ├── 002-no_tests.patch │ │ ├── 003-no_translations.patch │ │ └── 010-gstplugin_use_lazy_symbol_binding.patch ├── icecast │ ├── Makefile │ ├── files │ │ └── icecast.init │ ├── libvorbisidec.mk │ └── patches │ │ ├── 001-icecast-2.4.0-tremor.patch │ │ └── 010-fix_libcurl_test_crap.patch ├── ices │ └── Makefile ├── minidlna │ ├── Makefile │ ├── files │ │ ├── minidlna.config │ │ └── minidlna.init │ └── patches │ │ └── 010-libav-fix.patch ├── mjpg-streamer │ ├── Config.in │ ├── Makefile │ ├── files │ │ ├── mjpg-streamer.config │ │ ├── mjpg-streamer.hotplug │ │ └── mjpg-streamer.init │ └── patches │ │ ├── 005-musl_compatibility.patch │ │ ├── 010-enable_additional_plugins.patch │ │ ├── 020-remove_gcc_debug_options.patch │ │ ├── 030-allow_16_char_device_names.patch │ │ ├── 040-Buffer-the-bytesused-variable-from-struct-v4l2_buffe.patch │ │ ├── 041-Stop-leaking-data-via-struct-v4l2_buffer.patch │ │ └── 050-fix-yuv-capture.patch ├── motion │ └── Makefile ├── oggfwd │ └── Makefile ├── tvheadend │ ├── Config.in │ ├── Makefile │ └── files │ │ ├── tvheadend.config │ │ └── tvheadend.init └── xupnpd │ ├── Makefile │ ├── files │ └── xupnpd.init │ └── patches │ ├── 100-default_config.patch │ └── 101-root_dir_param.patch ├── net ├── aircrack-ng │ └── Makefile ├── announce │ └── Makefile ├── apache │ ├── Makefile │ └── patches │ │ ├── 001-Makefile_in.patch │ │ ├── 002-test_char_h.patch │ │ ├── 003-logdir_fix.patch │ │ ├── 004-pidfile_fix.patch │ │ └── 005-httpd_conf.patch ├── apcupsd │ ├── Makefile │ ├── files │ │ ├── apccontrol │ │ ├── apcupsd.conf │ │ ├── apcupsd.css │ │ ├── apcupsd.init │ │ ├── apcupsd_mail.conf │ │ ├── changeme │ │ ├── commfailure │ │ ├── commok │ │ ├── hosts.conf │ │ ├── multimon.conf │ │ ├── offbattery │ │ └── onbattery │ └── patches │ │ └── 010-fix-usb.patch ├── apinger │ ├── Makefile │ ├── files │ │ └── apinger.init │ └── patches │ │ ├── 001-autoreconf.patch │ │ ├── 002-run_as_user.patch │ │ └── 003-no_docs.patch ├── aria2 │ ├── Config.in │ └── Makefile ├── bcp38 │ ├── Makefile │ └── files │ │ ├── bcp38.config │ │ ├── bcp38.defaults │ │ └── run.sh ├── bind │ ├── Makefile │ ├── files │ │ ├── bind │ │ │ ├── db.0 │ │ │ ├── db.127 │ │ │ ├── db.255 │ │ │ ├── db.local │ │ │ ├── db.root │ │ │ └── named.conf.example │ │ └── named.init │ └── patches │ │ ├── 001-no-tests.patch │ │ └── 002-autoconf-ar-fix.patch ├── bmon │ └── Makefile ├── bridge-utils │ ├── Makefile │ └── patches │ │ ├── 001-libbridge_cflags.patch │ │ ├── 010-fix_struct_in6_addr_usage.patch │ │ └── 100-musl-compat.patch ├── bwm-ng │ ├── Config.in │ ├── Makefile │ └── patches │ │ └── 0001-fix-gcc-security-build.patch ├── clamav │ ├── Makefile │ ├── files │ │ ├── bytecode.cvd │ │ ├── clamav.config │ │ ├── clamav.init │ │ ├── freshclam.config │ │ └── freshclam.init │ └── patches │ │ └── 001-compile.patch ├── coova-chilli │ ├── Config.in │ ├── Makefile │ ├── files │ │ ├── chilli.config │ │ ├── chilli.firewall │ │ ├── chilli.hotplug │ │ └── chilli.init │ └── patches │ │ ├── 100-fix-sysinfo-redeclaration.patch │ │ ├── 200-fix_compile_kmod.patch │ │ ├── 201-fix_dereferencing_pointers.patch │ │ └── 300-fix-compile-with-cyassl.patch ├── cshark │ └── Makefile ├── ctorrent-svn │ ├── Makefile │ └── patches │ │ ├── 100-compile-fix.patch │ │ ├── 300-negative.patch │ │ └── 400-musl-compat.patch ├── ctorrent │ ├── Makefile │ └── patches │ │ ├── 100-CVE-2009-1759.patch │ │ ├── 100-negative-ints.patch │ │ └── 200-musl-compat.patch ├── dansguardian │ ├── Makefile │ ├── files │ │ ├── dansguardian.config │ │ ├── dansguardian.init │ │ └── dansguardianf1.conf │ └── patches │ │ └── 001-compile.patch ├── davfs2 │ ├── Makefile │ ├── files │ │ └── davfs2.conf │ └── patches │ │ ├── 010-main_code_fix.patch │ │ └── 100-musl-compat.patch ├── ddns-scripts │ ├── Makefile │ ├── files │ │ ├── ddns.config │ │ ├── ddns.hotplug │ │ ├── ddns.init │ │ ├── dynamic_dns_functions.sh │ │ ├── dynamic_dns_lucihelper.sh │ │ ├── dynamic_dns_updater.sh │ │ ├── services │ │ ├── services_ipv6 │ │ ├── tld_names.dat │ │ ├── update_CloudFlare.sh │ │ ├── update_No-IP.com.sh │ │ └── update_nsupdate.sh │ └── samples │ │ ├── ddns.config_sample │ │ ├── getlocalip_sample.sh │ │ └── update_sample.sh ├── dhcpcd │ ├── Makefile │ └── files │ │ └── dhcpcd.init ├── dmapd │ ├── Makefile │ ├── files │ │ └── dmapd.init │ └── patches │ │ ├── 001-dmapd_conf.patch │ │ └── 002-make_unit_test_optionnal.patch ├── dnscrypt-proxy │ ├── Makefile │ └── files │ │ ├── dnscrypt-proxy.config │ │ └── dnscrypt-proxy.init ├── e2guardian │ ├── Makefile │ └── files │ │ ├── e2guardian.config │ │ ├── e2guardian.init │ │ └── e2guardianf1.conf ├── emailrelay │ ├── Makefile │ └── files │ │ ├── emailrelay.auth │ │ └── emailrelay.init ├── esniper │ └── Makefile ├── etherwake │ ├── Makefile │ ├── files │ │ ├── etherwake.config │ │ └── etherwake.init │ └── patches │ │ ├── 100-no_ether_hostton.patch │ │ ├── 110-format_security_fix.patch │ │ └── 120-musl-compat.patch ├── ethtool │ ├── Config.in │ └── Makefile ├── fakeidentd │ ├── Makefile │ └── files │ │ └── fakeidentd.init ├── fastd │ ├── Config.in │ ├── Makefile │ ├── files │ │ └── fastd.upgrade │ └── patches │ │ └── 100-musl-compat.patch ├── freeradius2 │ ├── Config.in │ ├── Makefile │ ├── files │ │ └── radiusd.init │ └── patches │ │ ├── 001-fix-makefile.patch │ │ ├── 002-config.patch │ │ ├── 004-ldap_configure.patch │ │ ├── 008-honor_ccpflags.patch │ │ └── 010-disbale-openssl-check.patch ├── fwknop │ ├── Config.in │ ├── Makefile │ ├── files │ │ ├── fwknopd │ │ └── fwknopd.init │ └── patches │ │ └── 001-add-keygen.patch ├── git │ ├── Makefile │ └── patches │ │ ├── 100-convert_builtin.patch │ │ ├── 200-disable_fasthash.patch │ │ ├── 300-configure_for_crosscompiling │ │ └── 400-imapsend_without_curl.patch ├── gnunet │ ├── Makefile │ └── files │ │ ├── gnunet.init │ │ └── gnunet.upgrade ├── gnurl │ ├── Makefile │ └── patches │ │ ├── 010-backport-gtls-add-support-for-CURLOPT_CAPATH.patch │ │ ├── 011-CVE-2015-3144.patch │ │ ├── 012-CVE-2015-3145.patch │ │ ├── 014-CVE-2015-3153.patch │ │ ├── 015-CVE-2015-3236.patch │ │ ├── 100-check_long_long.patch │ │ └── 200-no_docs_tests.patch ├── haproxy │ ├── Makefile │ └── files │ │ ├── haproxy.cfg │ │ ├── haproxy.hotplug │ │ └── haproxy.init ├── horst │ └── Makefile ├── ibrdtn-tools │ └── Makefile ├── ibrdtnd │ ├── Makefile │ └── files │ │ ├── build-config.sh │ │ ├── ibrdtn.init │ │ ├── ibrdtn.uci │ │ ├── mkcontainer.sh │ │ ├── mountcontainer.sh │ │ ├── safety-wrapper.sh │ │ └── systemcheck.sh ├── iodine │ ├── Makefile │ ├── files │ │ ├── iodined.config │ │ └── iodined.init │ └── patches │ │ ├── 010-cross-compile.patch │ │ └── 100-musl-compatibility.patch ├── iotivity │ ├── Makefile │ └── patches │ │ ├── 001-no_unit_test.patch │ │ ├── 002-do-not-chck-for-boost.patch │ │ ├── 004-use-env.patch │ │ ├── 010-libcoap-fix-big-endian-problems.patch │ │ ├── 011-cdsk-fix-big-endian-problem.patch │ │ ├── 020-Do-not-set-architecture-specific-flags.patch │ │ ├── 021-add-some-more-architectures.patch │ │ ├── 030-fix-missing-lib.patch │ │ ├── 040-fix-things-manager.patch │ │ └── 050-fix-OICMidle.patch ├── ipsec-tools │ ├── Makefile │ ├── files │ │ ├── functions.sh │ │ ├── p1client-down │ │ ├── p1client-up │ │ ├── racoon │ │ ├── racoon.init │ │ └── vpnctl │ └── patches │ │ ├── 001-ipsec-tools-def-psk.patch │ │ ├── 001-no_libfl.patch │ │ ├── 002-patch8-utmp.patch │ │ ├── 003-microsoft-fqdn-in-main.patch │ │ ├── 005-isakmp-fix.patch │ │ ├── 006-linux-3.7-compat.patch │ │ ├── 007-force_have_policy_fwd.patch │ │ ├── 008-racoon-fix_dereference_crash.patch │ │ └── 009-musl-compat.patch ├── irssi │ └── Makefile ├── keepalived │ ├── Makefile │ ├── files │ │ └── keepalived.init │ └── patches │ │ └── 100-musl-compat.patch ├── kismet │ ├── Makefile │ ├── files │ │ ├── kismet.conf │ │ ├── kismet_drone.conf │ │ ├── kismet_drone.config │ │ ├── kismet_drone.init │ │ ├── kismet_server.config │ │ └── kismet_server.init │ └── patches │ │ └── 010-dont-add-host-include-paths.patch ├── knot │ ├── Makefile │ ├── files │ │ ├── knotd.init │ │ └── runtests.sh │ └── patches │ │ ├── 01_strptime_susv3.patch │ │ ├── 02_knot.conf.patch │ │ └── 03_zscanner_tests.patch ├── knxd │ ├── Makefile │ ├── files │ │ ├── knxd.config │ │ └── knxd.init │ └── patches │ │ └── 0099-openwrt.patch ├── krb5 │ ├── Makefile │ ├── files │ │ └── krb5kdc │ └── patches │ │ └── 001-fix-build.patch ├── l7-protocols │ ├── Makefile │ └── patches │ │ ├── 100-testing_crosscompile.patch │ │ ├── 101-testing-timeit.patch │ │ └── 102-testing-doallspeeds.patch ├── lftp │ └── Makefile ├── lighttpd │ ├── Makefile │ └── files │ │ ├── lighttpd.conf │ │ └── lighttpd.init ├── linknx │ ├── Makefile │ ├── files │ │ ├── linknx.config │ │ ├── linknx.init │ │ └── linknx.xml.dist │ └── patches │ │ ├── 010-musl-compat │ │ └── 012-fix-linknx.cpp ├── lispmob │ └── Makefile ├── lksctp-tools │ └── Makefile ├── luci-app-bcp38 │ ├── Makefile │ └── files │ │ ├── bcp38-cbi.lua │ │ ├── bcp38-controller.lua │ │ └── uci-defaults-bcp38 ├── luci-app-clamav │ ├── Makefile │ └── files │ │ ├── controller │ │ └── clamav-controller.lua │ │ └── model │ │ └── cbi │ │ └── clamav-cbi.lua ├── luci-app-e2guardian │ ├── Makefile │ └── files │ │ ├── e2guardian-cbi.lua │ │ └── e2guardian-controller.lua ├── luci-app-sqm │ ├── Makefile │ └── files │ │ ├── sqm-cbi.lua │ │ ├── sqm-controller.lua │ │ └── uci-defaults-sqm ├── luci-app-squid │ ├── Makefile │ └── files │ │ ├── squid-cbi.lua │ │ └── squid-controller.lua ├── mac-telnet │ ├── Makefile │ └── files │ │ ├── mactelnet.config │ │ └── mactelnet.init ├── mdnsresponder │ ├── Makefile │ ├── files │ │ ├── mDNSResponder.conf │ │ ├── mDNSResponder.init │ │ └── mdnsd.init │ └── patches │ │ ├── 001-cross_compile.patch │ │ └── 100-linux_fixes.patch ├── memcached │ ├── Makefile │ ├── files │ │ ├── memcached.config │ │ └── memcached.init │ └── patches │ │ └── 100-fix_iov_max.patch ├── miniupnpc │ ├── Makefile │ └── patches │ │ ├── 100-no_minixml_test.patch │ │ └── 200-miniupnpc_desc.patch ├── mosquitto │ ├── Config.in │ ├── Makefile │ └── files │ │ ├── mosquitto.init │ │ └── mosquitto.uci.convert ├── mtr │ ├── Makefile │ └── patches │ │ └── 100-disabled-ipv6-fix.patch ├── mwan3-luci │ ├── Makefile │ └── files │ │ ├── etc │ │ ├── hotplug.d │ │ │ └── iface │ │ │ │ └── 16-mwancustombak │ │ └── uci-defaults │ │ │ └── mwan-luci │ │ └── usr │ │ └── lib │ │ └── lua │ │ └── luci │ │ ├── controller │ │ └── mwan3.lua │ │ ├── model │ │ └── cbi │ │ │ └── mwan │ │ │ ├── advanced_hotplugscript.lua │ │ │ ├── advanced_mwanconfig.lua │ │ │ ├── advanced_networkconfig.lua │ │ │ ├── interface.lua │ │ │ ├── interfaceconfig.lua │ │ │ ├── member.lua │ │ │ ├── memberconfig.lua │ │ │ ├── policy.lua │ │ │ ├── policyconfig.lua │ │ │ ├── rule.lua │ │ │ └── ruleconfig.lua │ │ └── view │ │ ├── admin_status │ │ └── index │ │ │ └── mwan.htm │ │ └── mwan │ │ ├── advanced_diagnostics.htm │ │ ├── advanced_hotplugscript.htm │ │ ├── advanced_mwanconfig.htm │ │ ├── advanced_networkconfig.htm │ │ ├── advanced_troubleshooting.htm │ │ ├── config_css.htm │ │ ├── openwrt_overview_status.htm │ │ ├── overview_detailed.htm │ │ └── overview_interface.htm ├── mwan3 │ ├── Makefile │ └── files │ │ ├── etc │ │ ├── config │ │ │ └── mwan3 │ │ └── hotplug.d │ │ │ └── iface │ │ │ └── 15-mwan3 │ │ └── usr │ │ └── sbin │ │ ├── mwan3 │ │ └── mwan3track ├── net-snmp │ ├── Makefile │ ├── files │ │ ├── snmpd.conf │ │ └── snmpd.init │ └── patches │ │ ├── 100-debian-statistics.patch │ │ ├── 110-debian-makefiles.patch │ │ ├── 120-debian-searchdirs.patch │ │ ├── 130-debian-extramibs.patch │ │ ├── 160-no_ldconfig.patch │ │ ├── 170-ldflags.patch │ │ ├── 750-ieee802dot11.patch │ │ ├── 800-format-security.patch │ │ └── 900-musl-compat.patch ├── netatalk │ ├── Makefile │ ├── files │ │ ├── AppleVolumes.default │ │ ├── afpd.conf │ │ └── afpd.init │ └── patches │ │ ├── 001-automake-compat.patch │ │ └── 002-ld_library_path.patch ├── netcat │ ├── Makefile │ └── patches │ │ └── 001-netcat_flag_count.patch ├── netdiscover │ └── Makefile ├── netperf │ ├── Makefile │ ├── files │ │ └── netserver.init │ └── patches │ │ └── 001-musl-fix.patch ├── nfs-kernel-server │ ├── Makefile │ ├── files │ │ ├── nfsd.exports │ │ └── nfsd.init │ └── patches │ │ └── 100-no_malloc_h.patch ├── nginx │ ├── Config.in │ ├── Makefile │ ├── files │ │ ├── nginx.init │ │ ├── nginx.proxyprotocol.example │ │ └── nginx.syslog.example │ ├── patches-lua-nginx │ │ └── 300-ldl.patch │ ├── patches-nginx-upstream-check │ │ └── check_1.2.6+.patch │ └── patches │ │ ├── 100-musl-no-sysctl.patch │ │ ├── 101-feature_test_fix.patch │ │ ├── 102-sizeof_test_fix.patch │ │ ├── 103-sys_nerr.patch │ │ ├── 200-config.patch │ │ ├── 300-crosscompile_ccflags.patch │ │ ├── 400-nginx-1.4.x_proxy_protocol_patch_v2.patch │ │ └── 401-nginx-1.4.0-syslog.patch ├── ngircd │ ├── Makefile │ └── files │ │ └── ngircd.init ├── nmap │ └── Makefile ├── nsd │ ├── Makefile │ └── files │ │ └── nsd.init ├── ntpclient │ ├── Makefile │ ├── files │ │ ├── ntpclient.config │ │ └── ntpclient.hotplug │ └── patches │ │ └── 100-daemon.patch ├── ntpd │ ├── Makefile │ └── files │ │ ├── ntp.conf │ │ ├── ntpd.hotplug │ │ ├── ntpd.init │ │ └── ntpdate.init ├── ntripcaster │ └── Makefile ├── ntripclient │ ├── Makefile │ └── patches │ │ └── 100-musl-compat.patch ├── ntripserver │ └── Makefile ├── nut │ ├── Config.in │ ├── Makefile │ └── files │ │ ├── nut-monitor.init │ │ └── nut-server.init ├── ocserv │ ├── Config.in │ ├── Makefile │ ├── README │ └── files │ │ ├── config │ │ ├── ocserv-script │ │ ├── ocserv.conf.template │ │ ├── ocserv.init │ │ └── ocserv.upgrade ├── ola │ ├── Makefile │ ├── files │ │ └── olad.init │ └── patches │ │ └── 001-include-endian_h.patch ├── openconnect │ ├── Config.in │ ├── Makefile │ ├── README │ ├── files │ │ ├── openconnect-wrapper │ │ ├── openconnect.sh │ │ └── openconnect.upgrade │ └── patches │ │ └── 001-Allow-processing-two-passwords-from-stdin-in-non-int.patch ├── opennhrp │ ├── Makefile │ ├── files │ │ └── opennhrp.init │ └── patches │ │ └── 100-musl-compat.patch ├── openssh │ ├── Makefile │ ├── files │ │ ├── sftp-ssh.service │ │ ├── sshd.init │ │ ├── sshd.pam │ │ └── sshd.pam-access │ └── patches │ │ ├── 100-no_cast_fix.patch │ │ ├── 130-implicit_memset_decl_fix.patch │ │ ├── 140-pam_uclibc_pthreads_fix.patch │ │ └── 200-dscp-qos.patch ├── opentracker │ ├── Makefile │ ├── files │ │ ├── opentracker.init │ │ └── opentracker6.init │ └── patches │ │ └── 100-makefile.patch ├── openvswitch │ ├── Makefile │ ├── files │ │ └── etc │ │ │ └── init.d │ │ │ └── openvswitch.init │ └── patches │ │ ├── 0001-netdev-linux-Use-unsigned-int-for-ifi_flags.patch │ │ ├── 0002-netdev-linux-Let-interface-flag-survive-internal-por.patch │ │ ├── 0003-datapath-do-not-add-vlan_hwaccel_push_inside-for-ker.patch │ │ └── 0004-musl-compatibility.patch ├── p910nd │ ├── Makefile │ └── files │ │ ├── p910nd.config │ │ └── p910nd.init ├── pen │ └── Makefile ├── polipo │ ├── Makefile │ └── files │ │ ├── polipo.config │ │ └── polipo.init ├── portmap │ ├── Makefile │ ├── files │ │ └── portmap.init │ └── patches │ │ └── 101-no_pie.patch ├── pptpd │ ├── Makefile │ ├── files │ │ ├── options.pptpd │ │ ├── pptpd.conf │ │ ├── pptpd.config │ │ └── pptpd.init │ └── patches │ │ ├── 001-bad_pqueue_debug.patch │ │ ├── 002-makefile_fix.patch │ │ ├── 003-opt_flags.patch │ │ └── 100-musl-compat.patch ├── privoxy │ ├── Makefile │ └── files │ │ ├── privoxy.config │ │ ├── privoxy.hotplug │ │ └── privoxy.init ├── prosody │ ├── Makefile │ ├── files │ │ ├── prosody.cfg.lua │ │ └── prosody.init │ └── patches │ │ └── 010-fix-randomseed.patch ├── radicale │ ├── Makefile │ ├── files │ │ ├── config.template │ │ ├── logging.template │ │ ├── radicale.config │ │ ├── radicale.hotplug │ │ ├── radicale.init │ │ ├── radicale.rights │ │ └── radicale.users │ └── patches │ │ └── 010-Run-as-user-group-radicale-radicale.patch ├── radsecproxy │ ├── Makefile │ ├── files │ │ └── radsecproxy.init │ └── patches │ │ ├── 100-missing-return.patch │ │ └── 200-logdest-on-foreground.patch ├── redsocks │ ├── Makefile │ ├── files │ │ ├── redsocks.conf │ │ └── redsocks.init │ └── patches │ │ ├── 0001-Fix-bug-in-DNS-resolution-results-were-ignored-since.patch │ │ ├── 0002-inet_ntop-red_inet_ntop.patch │ │ ├── 0003-Initial-support-for-UDP-TPROXY-redirection.-No-more-.patch │ │ ├── 0004-Fix-transposition-of-memset-parameters.patch │ │ ├── 0005-Fix-compilation-on-Ubuntu-10.04-LTS-and-hopefully-De.patch │ │ └── 0006-fix_default_config_location.patch ├── remserial │ └── Makefile ├── rsync │ ├── Config.in │ ├── Makefile │ ├── files │ │ ├── rsyncd.conf │ │ └── rsyncd.init │ └── patches │ │ └── 000-CVE-2014-9512.patch ├── rtorrent │ ├── Makefile │ └── patches │ │ ├── 100-fix-cross_compile.patch │ │ └── 120-fix-ncurses.patch ├── seafile-ccnet │ └── Makefile ├── seafile-seahub │ ├── Makefile │ └── patches │ │ └── 010-default-config.patch ├── seafile-server │ ├── Makefile │ ├── files │ │ ├── seafile.conf │ │ └── seafile.init │ └── patches │ │ ├── 020-script-patches.patch │ │ ├── 030-pidfiles-in-same-directory.patch │ │ ├── 040-seafile-admin.patch │ │ └── 050-libevhtp-search-path-fix.patch ├── ser2net │ ├── Makefile │ └── patches │ │ ├── 001-fix_TIOCSRS485_undeclared_error.patch │ │ └── 002-LED-trigger.patch ├── shadowsocks-client │ ├── Makefile │ ├── files │ │ ├── sslocal.config │ │ └── sslocal.init │ └── patches │ │ └── 100-fortify-source-compat.patch ├── shadowsocks-libev │ ├── Makefile │ └── files │ │ ├── firewall.include │ │ ├── shadowsocks-libev.config │ │ ├── shadowsocks-libev.init │ │ └── ss-rules ├── siit │ ├── Makefile │ └── src │ │ ├── Makefile │ │ ├── siit.c │ │ └── siit.h ├── smartsnmpd │ ├── Makefile │ └── files │ │ ├── mibs │ │ ├── dummy.lua │ │ ├── interfaces.lua │ │ └── system.lua │ │ ├── smartsnmpd.conf │ │ └── smartsnmpd.init ├── snort │ ├── Config.in │ ├── Makefile │ ├── files │ │ ├── snort.config │ │ └── snort.init │ └── patches │ │ ├── 001-compile.patch │ │ └── 100-autoconf-fixes.patch ├── socat │ ├── Makefile │ ├── files │ │ ├── socat.config │ │ └── socat.init │ └── patches │ │ └── 100-musl-compat.patch ├── softflowd │ ├── Makefile │ └── files │ │ ├── softflowd.config │ │ └── softflowd.init ├── spawn-fcgi │ └── Makefile ├── sqm-scripts │ ├── Makefile │ └── files │ │ ├── etc │ │ ├── config │ │ │ └── sqm │ │ ├── hotplug.d │ │ │ └── iface │ │ │ │ └── 11-sqm │ │ └── init.d │ │ │ └── sqm │ │ └── usr │ │ └── lib │ │ └── sqm │ │ ├── functions.sh │ │ ├── run.sh │ │ ├── simple.qos │ │ ├── simple.qos.help │ │ ├── simple_pppoe.qos │ │ ├── simple_pppoe.qos.help │ │ ├── simplest.qos │ │ ├── simplest.qos.help │ │ └── stop.sh ├── squid │ ├── Makefile │ ├── files │ │ ├── squid.conf │ │ ├── squid.config │ │ └── squid.init │ └── patches │ │ ├── 001-cross_compile.patch │ │ └── 100-mime.patch ├── sshfs │ └── Makefile ├── sshtunnel │ ├── Makefile │ └── files │ │ ├── sshtunnel.init │ │ ├── sshtunnel.sh │ │ └── uci_sshtunnel ├── sslh │ ├── Makefile │ ├── files │ │ ├── sslh.config │ │ └── sslh.init │ └── patches │ │ ├── 001-no_sslh_select.patch │ │ └── 002-no_regex_probes.patch ├── sstp-client │ ├── Makefile │ ├── files │ │ └── etc │ │ │ └── ppp │ │ │ ├── chap-secrets │ │ │ └── peers │ │ │ ├── peer-sstp-example-nopty.txt │ │ │ └── peer-sstp-example.txt │ └── patches │ │ └── 100-musl-compat.patch ├── strongswan │ ├── Config.in │ ├── Makefile │ ├── files │ │ ├── ipsec.init │ │ ├── ipsec.secrets │ │ └── ipsec.user │ └── patches │ │ ├── 101-musl-fixes.patch │ │ ├── 201-kmodloader.patch │ │ ├── 203-uci.patch │ │ └── 300-include-ipsec-user-script.patch ├── stunnel │ ├── Makefile │ ├── files │ │ ├── stunnel.conf │ │ └── stunnel.init │ └── patches │ │ ├── 010_fix_getnameinfo.patch │ │ └── 011_disable_ssp_linking.patch ├── tcpproxy │ ├── Makefile │ ├── files │ │ ├── tcpproxy.config │ │ └── tcpproxy.init │ └── patches │ │ └── 001-ragel_generated.patch ├── tgt │ ├── Makefile │ ├── files │ │ └── etc │ │ │ ├── config │ │ │ └── tgt │ │ │ └── init.d │ │ │ └── tgt │ └── patches │ │ ├── 010-fallocate.patch │ │ ├── 020-usr_Makefile.patch │ │ ├── 030-Makefile.patch │ │ └── 100-musl-compat.patch ├── tinc │ ├── Makefile │ └── files │ │ ├── tinc.config │ │ ├── tinc.init │ │ └── tinc.upgrade ├── tinyproxy │ ├── Makefile │ ├── files │ │ ├── tinyproxy.config │ │ └── tinyproxy.init │ └── patches │ │ ├── 010-no-docs-and-tests.patch │ │ ├── 020-config_and_pid-path.patch │ │ ├── 030-allow_bind_in_transparent_mode.patch │ │ ├── 120-fix_INET6.patch │ │ ├── CVE-2012-3505-tiniproxy-randomized-hashmaps.patch │ │ └── CVE-2012-3505-tinyproxy-limit-headers.patch ├── tor │ ├── Makefile │ ├── files │ │ └── tor.init │ └── patches │ │ └── 001-torrc.patch ├── transmission │ ├── Makefile │ ├── files │ │ ├── transmission.config │ │ └── transmission.init │ └── patches │ │ ├── 010_libtransmission_fallocate64_eglibc.patch │ │ ├── 020-use-internal-miniupnp.patch │ │ └── 030-fix-musl-build.patch ├── uanytun │ ├── Makefile │ └── files │ │ ├── uanytun-nocrypt.config │ │ ├── uanytun.config │ │ └── uanytun.init ├── udpxy │ ├── Makefile │ ├── files │ │ ├── udpxy.conf │ │ └── udpxy.init │ └── patches │ │ └── 0001-fix-build-on-Mac-OS-X.patch ├── ulogd │ ├── Makefile │ ├── files │ │ └── ulogd.init │ └── patches │ │ ├── 010-Fix-JSON-output-on-big-endian-systems.patch │ │ ├── 020-include-keep-a-copy-of-linux-netfilter_ipv4-ipt_ULOG.patch │ │ └── 100-musl-compat.patch ├── umurmur │ ├── Makefile │ └── patches │ │ └── 10-Add-compile-time-check-for-POLARSSL_VERSION_FEATURES.patch ├── unbound │ ├── Makefile │ ├── files │ │ ├── named.cache │ │ ├── root.key │ │ └── unbound.init │ └── patches │ │ └── 001-conf.patch ├── usbip │ ├── Makefile │ ├── patches-2.0 │ │ └── 100-musl-compat.patch │ └── patches │ │ ├── 001-upstream_svn_r99.diff │ │ └── 002-upstream_svn_r152.patch ├── vnstat │ ├── Makefile │ ├── files │ │ ├── vnstat.config │ │ ├── vnstat.defaults │ │ └── vnstat.init │ └── patches │ │ ├── 001-conf.patch │ │ ├── 002-no_install_strip.patch │ │ ├── 003-no_install_uname.patch │ │ └── 100-musl-compat.patch ├── vpnc-scripts │ ├── Makefile │ └── files │ │ └── vpnc-script ├── vpnc │ ├── Config.in │ ├── Makefile │ ├── README │ ├── files │ │ ├── vpnc.sh │ │ └── vpnc.upgrade │ └── patches │ │ ├── 001-cross.patch │ │ └── 100-musl-compat.patch ├── vsftpd │ ├── Makefile │ ├── files │ │ ├── vsftpd.conf │ │ └── vsftpd.init │ └── patches │ │ ├── 001-destdir.patch │ │ ├── 002-find_libs.patch │ │ ├── 003-chroot.patch │ │ ├── 004-disable-capabilities.patch │ │ ├── 005-disable-pam.patch │ │ ├── 006-musl-compatibility.patch │ │ └── 007-CVE-2015-1419.patch ├── wavemon │ └── Makefile ├── wget │ └── Makefile ├── wifidog │ ├── Makefile │ ├── files │ │ └── wifidog.init │ └── patches │ │ └── 100-musl-compat.patch ├── wshaper │ ├── Makefile │ └── files │ │ ├── wshaper.config │ │ ├── wshaper.htb │ │ ├── wshaper.iface │ │ └── wshaper.init ├── xinetd │ ├── Makefile │ ├── files │ │ ├── xinetd.conf │ │ └── xinetd.init │ └── patches │ │ ├── 001-ar.patch │ │ ├── 002-destdir.patch │ │ ├── 003-rpc_fix.patch │ │ └── 004-ident-bind.patch ├── xl2tpd │ ├── Makefile │ ├── README │ ├── files │ │ ├── l2tp.sh │ │ ├── options.xl2tpd │ │ ├── xl2tp-secrets │ │ ├── xl2tpd.conf │ │ ├── xl2tpd.conf.sample │ │ └── xl2tpd.init │ └── patches │ │ ├── 100-makefile_opt_flags.patch │ │ ├── 110-makefile_dont_build_pfc.patch │ │ ├── 120-no-bsd-signal-in-musl.patch │ │ ├── 200-xl2tpd-control-check-end-of-file-when-reading-pipe-t.patch │ │ ├── 201-xl2tpd-control-define-_GNU_SOURCE-to-use-fmemopen-an.patch │ │ ├── 202-xl2tpd-control-open-control-file-with-O_NONBLOCK.patch │ │ ├── 203-xl2tpd-control-cleaup-result-file-atexit.patch │ │ ├── 204-xl2tpd-control-enhance-output-of-print_error.patch │ │ ├── 205-xl2tpd-fix-typo-in-reporting-available-lns-count.patch │ │ ├── 206-xl2tpd-start_pppd-place-opts-after-plugin-pppol2tp.s.patch │ │ ├── 207-xl2tpd-introduce-new-option-l-for-using-syslog-as-th.patch │ │ ├── 208-xl2tpd-unlink-result-file-to-prevent-leftover-a-regu.patch │ │ ├── 209-xl2tpd-ignore-SIGPIPE-signal.patch │ │ └── 210-xl2tpd-control-show-all-available-commands-in-help.patch └── znc │ ├── Makefile │ ├── files │ ├── znc.conf │ └── znc.init │ └── patches │ ├── 001-fix-savebuff-timer-initialization.patch │ ├── 002-CThreadPool-Handle-spurious-wakeups.patch │ ├── 003-Fix-CIRCNetwork-FindChans-and-FindQueries-to-be-case.patch │ ├── 004-Fix-chansaver-loading.patch │ ├── 005-Fix-rare-conflict-of-HTTP-Basic-auth-and-cookies.patch │ ├── 006-Fix-954-Startup-failure-when-simple_away-is-loaded-a.patch │ ├── 100-move_rootcheck_after_config.patch │ ├── 101-Reduce_rebuild_time.patch │ └── 102-restore_droproot.patch ├── sound ├── espeak │ ├── Makefile │ └── patches │ │ └── 101-portaudio.patch ├── forked-daapd │ ├── Makefile │ ├── files │ │ ├── forked-daapd.conf │ │ └── forked-daapd.init │ └── patches │ │ └── 010-include_pregen.patch ├── lame │ ├── Makefile │ └── patches │ │ └── 001-automake-compat.patch ├── madplay │ └── Makefile ├── mocp │ └── Makefile ├── mpc │ ├── Makefile │ └── files │ │ └── pls-handler.sh ├── mpd │ ├── Makefile │ ├── files │ │ ├── mpd.init │ │ └── mpd.service │ └── patches │ │ ├── 210-support_raw_pcm_streams.patch │ │ └── 220-handle_slow_server_stream_startup.patch ├── pianod │ ├── Makefile │ ├── files │ │ └── pianod.init │ └── patches │ │ ├── 005-Fix_IPV6_socket_handling.patch │ │ ├── 010-Configure_add_SSL_options.patch │ │ ├── 020-Use_package_config_h_for_all_modules.patch │ │ └── 030-Waitress_add_polarssl_variant.patch ├── portaudio │ └── Makefile ├── pulseaudio │ ├── Makefile │ ├── files │ │ └── pulseaudio.init │ └── patches │ │ └── 001-no_default_64mb_alloc.patch ├── shairplay │ ├── Makefile │ ├── files │ │ ├── shairplay.config │ │ └── shairplay.init │ └── patches │ │ ├── 001-key_file_dir.patch │ │ ├── 002-libavahi-compat-dnssd.patch │ │ └── 003-fix_big-endian.patch ├── shairport-sync │ ├── Makefile │ └── files │ │ ├── shairport-sync.config │ │ └── shairport-sync.init ├── shairport │ ├── Makefile │ ├── files │ │ ├── shairport.config │ │ └── shairport.init │ └── patches │ │ └── 001-disable_pulseaudio.patch ├── shine │ └── Makefile ├── sox │ ├── Makefile │ └── patches │ │ ├── 001-cross_compile.patch │ │ ├── 010-fix_uclibc_build_issue.patch │ │ ├── 020-ffmpeg-0.11.patch │ │ └── 020-ffmpeg-2.x.patch ├── squeezelite │ ├── Makefile │ ├── files │ │ ├── squeezelite.conf │ │ └── squeezelite.init │ └── patches │ │ ├── 005-respect_LDFLAGS.patch │ │ ├── 010-wait_for_nonzero_mac.patch │ │ ├── 020-no_mpg123.patch │ │ ├── 030-fix_musl_compatibilty.patch │ │ └── 040-clear_dynlink_errors.patch ├── svox │ ├── Makefile │ └── patches │ │ ├── 0001-autoconf-building-of-library-using-libtool.patch │ │ ├── 0002-gitignore-for-autotools-files.patch │ │ ├── 0003-pico2wave-Convert-text-to-.wav-using-svox-text-to-sp.patch │ │ ├── 0004-add-header-files.patch │ │ ├── 0005-Install-lang-files.patch │ │ ├── 0006-Set-picolangdir.patch │ │ ├── 0008-64bits.patch │ │ ├── 0009-Fix-link-order.patch │ │ ├── 0010-platform.patch │ │ ├── 0011-subdir.patch │ │ └── 0012-no-headers.patch └── upmpdcli │ ├── Config.in │ ├── Makefile │ ├── files │ ├── upmpdcli.config │ ├── upmpdcli.init │ └── upmpdcli.png │ └── patches │ └── 010-Add_icon_config.patch └── utils ├── acl ├── Makefile └── patches │ ├── 100-no-gettext_configure.patch │ ├── 101-no-gettext_autogen.patch │ └── 102-no-gettext_Makefile.patch ├── acpid ├── Makefile ├── files │ ├── acpid.hotplug │ ├── acpid.init │ └── default └── patches │ ├── 001-musl-compat.patch │ └── 002-dont-use-isfdtype.patch ├── alsa-utils ├── Makefile └── patches │ └── 100-uClibc-compat.patch ├── attr ├── Makefile └── patches │ ├── 100-no-gettext_configure.patch │ ├── 101-no-gettext_autogen.patch │ └── 102-no-gettext_Makefile.patch ├── avrdude ├── Makefile └── patches │ ├── 010-configure-fixups.patch │ └── 100-musl-compat.patch ├── banhosts ├── Makefile └── files │ └── updatebanhost ├── bash ├── Makefile └── patches │ ├── 001-compile-fix.patch │ ├── 002-force-internal-readline.patch │ ├── 101-upstream-bash43-001.patch │ ├── 102-upstream-bash43-002.patch │ ├── 103-upstream-bash43-003.patch │ ├── 104-upstream-bash43-004.patch │ ├── 105-upstream-bash43-005.patch │ ├── 106-upstream-bash43-006.patch │ ├── 107-upstream-bash43-007.patch │ ├── 108-upstream-bash43-008.patch │ ├── 109-upstream-bash43-009.patch │ ├── 110-upstream-bash43-010.patch │ ├── 111-upstream-bash43-011.patch │ ├── 112-upstream-bash43-012.patch │ ├── 113-upstream-bash43-013.patch │ ├── 114-upstream-bash43-014.patch │ ├── 115-upstream-bash43-015.patch │ ├── 116-upstream-bash43-016.patch │ ├── 117-upstream-bash43-017.patch │ ├── 118-upstream-bash43-018.patch │ ├── 119-upstream-bash43-019.patch │ ├── 120-upstream-bash43-020.patch │ ├── 121-upstream-bash43-021.patch │ ├── 122-upstream-bash43-022.patch │ ├── 123-upstream-bash43-023.patch │ ├── 124-upstream-bash43-024.patch │ ├── 125-upstream-bash43-025.patch │ ├── 126-upstream-bash43-026.patch │ ├── 127-upstream-bash43-027.patch │ ├── 128-upstream-bash43-028.patch │ ├── 129-upstream-bash43-029.patch │ ├── 130-upstream-bash43-030.patch │ ├── 131-upstream-bash43-031.patch │ ├── 132-upstream-bash43-032.patch │ ├── 133-upstream-bash43-033.patch │ ├── 134-upstream-bash43-034.patch │ ├── 135-upstream-bash43-035.patch │ ├── 136-upstream-bash43-036.patch │ ├── 137-upstream-bash43-037.patch │ ├── 138-upstream-bash43-038.patch │ ├── 139-upstream-bash43-039.patch │ └── 900-no_doc.patch ├── bc ├── Makefile └── patches │ └── 001-disable-doc.patch ├── bluelog ├── Makefile └── files │ └── bluelog.init ├── bluez ├── Makefile ├── files │ ├── bluetooth.config │ ├── bluetooth.dbus │ ├── bluetoothd.init │ └── givepin └── patches │ ├── 200-uart-speed.patch │ └── 201-readline.patch ├── btrfs-progs ├── Makefile ├── files │ └── btrfs-scan.init └── patches │ └── 001-fix-xattr-h-include-location.patch ├── ccid └── Makefile ├── ccrypt ├── Makefile └── patches │ └── 001-no-intl.patch ├── cmdpad ├── Makefile ├── files │ └── cmdpad.init └── patches │ ├── 100-Makefile.patch │ ├── 120-kernel26-compat.patch │ ├── 130-no_zombie.patch │ └── 140-compile_fix.patch ├── collectd ├── Makefile ├── files │ ├── collectd.conf │ └── collectd.init └── patches │ ├── 001-undefined-AM_PATH_LIBGCRYPT.patch │ ├── 003-remove-werror.patch │ ├── 100-rrdtool-add-rrasingle-option.patch │ ├── 110-net-device-stats.patch │ ├── 140-fix-fqdnlookup.patch │ ├── 150-fix-interface-af-link │ ├── 200-fix-git-describe-error.patch │ ├── 400-fix-olsrd-get-all.patch │ ├── 900-add-iwinfo-plugin.patch │ └── 920-fix-ping-droprate.patch ├── coreutils ├── Makefile └── patches │ ├── 001-no_docs_man_tests.patch │ └── 002-fix_compile_with_uclibc.patch ├── cryptodev-linux ├── Makefile ├── files │ └── cryptodev.modules └── patches │ └── 001-no-get-unused-fd.patch ├── cryptsetup └── Makefile ├── dbus ├── Makefile ├── files │ ├── dbus-launch │ └── dbus.init └── patches │ └── 100-fix-poll-select.patch ├── dmidecode └── Makefile ├── dosfstools ├── Makefile └── files │ └── dosfsck.sh ├── dump1090 ├── Config.in ├── Makefile ├── files │ ├── dump1090.config │ └── dump1090.init └── patches │ └── 100-html_dir.patch ├── f2fs-tools ├── Config.in ├── Makefile └── patches │ ├── 001-compile.patch │ └── 010-include-byteswap-h.patch ├── flashrom ├── Config.in ├── Makefile ├── flashrom.mk └── patches │ ├── 0001-fix_internal_bitbang.patch │ └── 0002-fix-musl-compatibility.patch ├── gammu ├── Makefile ├── files │ ├── gammu │ └── gammu.init └── patches │ ├── 001-iconv-disabling-option.patch │ ├── 002-no-fstack-protector.patch │ ├── 003-cmake-cross-toolchain.patch │ ├── 004-cmake_libdbi_optional.patch │ └── 010-utils-shell-fix.patch ├── gnupg └── Makefile ├── grep ├── Makefile └── patches │ └── 0001-grep-F-fix-a-heap-buffer-read-overrun.patch ├── hamlib ├── Makefile └── patches │ └── 100-override-autoconf-detection.patch ├── haserl ├── Config.in ├── Makefile └── patches │ ├── 100-replace-lua2c-with-sed.patch │ └── 101-adjust-script-size.patch ├── haveged ├── Makefile └── files │ └── haveged.init ├── hd-idle ├── Makefile └── files │ ├── hd-idle.config │ └── hd-idle.init ├── hdparm └── Makefile ├── hfsprogs ├── Makefile ├── files │ └── hfsfsck.sh └── patches │ ├── 0001-Create-short-Makefiles-for-Debian.patch │ ├── 0002-Add-exclude-Darwin-specific-code.patch │ ├── 0003-Add-helper-include-files-absent-from-the-upstream-pa.patch │ ├── 0004-Fix-compilation-on-64-bit-arches.patch │ ├── 0005-Remove-Apple-specific-p-from-strings.patch │ ├── 0006-Adjust-types-for-printing.patch │ ├── 0007-Fix-path-for-HFS-wrapper-block.patch │ ├── 0008-Provide-command-line-option-a.patch │ ├── 0009-Rename-dprintf-to-dbg_printf.patch │ ├── 0010-Rename-custom-macro-nil-with-NULL.patch │ ├── 0011-Fix-types.patch │ ├── 0012-Fix-mkfs-not-creating-UUIDs-for-new-filesystems.patch │ ├── 0013-Fix-manpages.patch │ ├── 0014-uClibc_no_loadavg.patch │ └── 0015-sysctl-only-on-glibc.patch ├── hub-ctrl └── Makefile ├── i2c-tools └── Makefile ├── joe ├── Makefile └── files │ └── joerc ├── kmod ├── Makefile └── patches │ └── 001-fix_pkgconfig_file.patch ├── lcd4linux ├── Config.in ├── Makefile ├── files │ └── lcd4linux.init └── patches │ ├── 100-drv_RouterBoard.patch │ ├── 110-uclibc-logarithm-fix.patch │ ├── 120-remove-as-needed-linker-option.patch │ ├── 140-no_repnop_T6963.patch │ ├── 150-addlibmpdclient.patch │ ├── 160-uinput_defs.patch │ ├── 170-add-generic-spidev-driver.patch │ ├── 171-allow-to-specify-drv_generic_graphic_real_clear.patch │ └── 172-add-TEW673GRU-driver.patch ├── less └── Makefile ├── lm-sensors ├── Makefile ├── files │ └── sensors.conf └── patches │ └── 100-musl-compat.patch ├── lsof ├── Makefile └── patches │ ├── 001-lsof_makefile.patch │ ├── 002-lsof_noportmap.patch │ ├── 003-lsof_selinux.patch │ └── 004-lsof_ccv.patch ├── luci-app-lxc ├── Makefile └── files │ ├── controller │ └── lxc.lua │ ├── lxc.config │ ├── model │ └── cbi │ │ └── lxc.lua │ ├── view │ └── lxc.htm │ └── www │ └── luci-static │ └── resources │ └── cbi │ ├── green.gif │ ├── purple.gif │ └── red.gif ├── lvm2 ├── Makefile ├── files │ └── lvm2.init └── patches │ ├── 000-compile.patch │ ├── 001-include_fix.patch │ ├── 002-const-stdio.patch │ └── 003-no-mallinfo.patch ├── lxc ├── Config.in ├── Makefile ├── files │ └── lxc.conf └── patches │ ├── 010-compile.patch │ ├── 015-getline.patch │ ├── 016-uninitialized-ret-in-monitor.patch │ ├── 020-lxc-checkconfig.patch │ ├── 025-remove-unsupported-option.patch │ └── 030-lxc-download.patch ├── macchanger ├── Makefile └── patches │ └── 0001-fix-build-with-musl.patch ├── mc ├── Config.in └── Makefile ├── minicom ├── Makefile └── patches │ ├── 100-fix_iconv_include.patch │ ├── 101-fix_music_includes.patch │ └── 102-fix_musl_compatibility.patch ├── mksh ├── Makefile └── patches │ └── 100-dot_mkshrc ├── mktorrent └── Makefile ├── mmc-utils ├── Makefile └── patches │ └── 001-properly-set-fortify-source-in-makefile.patch ├── mpack └── Makefile ├── mysql ├── Makefile ├── conf │ └── my.cnf ├── files │ └── mysqld.init └── patches │ ├── 100-fix_hostname.patch │ ├── 110-cross_compile.patch │ └── 120-bison-compat.patch ├── nano └── Makefile ├── ncdu ├── Makefile └── patches │ └── 010-add_sys_wait.patch ├── ntfs-3g ├── Makefile └── patches │ └── 001-fuseint-fix-path-mounted-on-musl.patch ├── open-plc-utils ├── Makefile └── patches │ └── 100-musl-compat.patch ├── openobex ├── Makefile └── patches │ └── 001-cxx.patch ├── openocd └── Makefile ├── opensc ├── Makefile └── patches │ ├── 0001-OpenPGP-Detect-and-support-Gnuk-Token.patch │ ├── 0002-OpenPGP-Add-Gnuk-in-pkcs15-emulation-layer.patch │ ├── 0003-OpenPGP-Include-private-DO-to-filesystem-at-driver-i.patch │ ├── 0004-PKCS15-OpenPGP-Declare-DATA-objects.patch │ ├── 0005-OpenPGP-Support-erasing-reset-card.patch │ ├── 0006-openpgp-tool-Support-deleting-key-in-Gnuk.patch │ ├── 0007-OpenPGP-Correct-building-Extended-Header-List-when-i.patch │ ├── 0008-OpenPGP-Read-some-empty-DOs-from-Gnuk.patch │ ├── 0009-PKCS15-OpenPGP-Do-not-show-empty-DO-in-pkcs15-emu_in.patch │ ├── 0010-PKCS15-OpenPGP-Allow-to-store-data-to-pkcs15-data-ob.patch │ ├── 0011-OpenPGP-Provide-enough-buffer-to-read-pubkey-from-Gn.patch │ ├── 0012-OpenPGP-Support-write-certificate-for-Gnuk.patch │ ├── 0013-pkcs15-openpgp-Change-to-sc_put_data-instead-of-sc_u.patch │ ├── 0014-OpenPGP-Overcome-the-restriction-of-even-data-length.patch │ ├── 0015-OpenPGP-Delete-key-as-file-for-Gnuk.patch │ ├── 0016-OpenPGP-Correct-parameter-checking.patch │ ├── 0017-OpenPGP-Make-code-neater.patch │ ├── 0018-Move-declaration-to-top-of-block.patch │ ├── 0019-OpenPGP-Make-indentation-consistent-space-tab.patch │ ├── 0020-OpenPGP-Don-t-use-sc_log-in-openpgp-tool.patch │ ├── 0021-OpenPGP-Don-t-reimplement-gnuk_delete_key-in-openpgp.patch │ ├── 0022-OpenPGP-Use-directly-binary-array-of-APDUs-for-ERASE.patch │ ├── 0023-OpenPGP-Rename-private-blob-type-to-avoid-confusing-.patch │ ├── 0024-OpenPGP-Fix-crash-after-accessing-inexistent-file.patch │ ├── 0025-Replace-hardcode.patch │ ├── 0026-hardcode-defines-for-DO-s.patch │ ├── 0027-OpenPGP-Remove-unused-variables-and-fix-type-cast.patch │ └── 0028-openpgp-tool-Fix-wrong-operator.patch ├── opus-tools └── Makefile ├── owfs └── Makefile ├── pciutils ├── Makefile └── patches │ ├── 100-remove-no-timestamping.patch │ ├── 101-no-strip.patch │ ├── 102-compressed-ids.patch │ ├── 103-relative-path-ids.patch │ └── 104-resolv.patch ├── pcsc-lite ├── Makefile └── files │ └── pcscd.init ├── picocom ├── Makefile └── patches │ └── 100-musl-compat.patch ├── pps-tools └── Makefile ├── procps ├── Makefile └── patches │ ├── 010-make_fix.patch │ ├── 020_hz_fix.patch │ ├── 030-fix-string-problems.patch │ └── 040-musl-compatibility.patch ├── pv └── Makefile ├── rng-tools ├── Makefile └── files │ └── rngd.init ├── rpcd-mod-lxc ├── Makefile └── files │ ├── CMakeLists.txt │ └── lxc.c ├── rrdtool1 ├── Makefile └── patches │ ├── 001-no_ordering_cd_joke.patch │ ├── 002-no_timezone.patch │ ├── 020-x86-float-cast.patch │ └── 030-pod2man-stderr.patch ├── rtklib └── Makefile ├── rtl-ais └── Makefile ├── rtl-sdr └── Makefile ├── screen ├── Makefile ├── files │ └── etc │ │ └── screenrc └── patches │ ├── 100-cross_compile_fix.patch │ ├── 110-do_not_add_srcdir_to_include_path.patch │ └── 200-musl-compat.patch ├── serialconsole └── Makefile ├── shadow ├── Makefile └── patches │ ├── 001-busybox_ash.patch │ ├── 002-disable-ruser-lookup.patch │ ├── 003-fix-disabling-subids.patch │ └── 004-fix-su-controoling-term.patch ├── sispmctl ├── Makefile └── patches │ └── 001-fix-includes.patch ├── smartmontools ├── Makefile └── files │ ├── smartd.conf │ └── smartd.init ├── smstools3 ├── Makefile ├── files │ ├── smstools3.conf │ └── smstools3.init └── patches │ ├── 001-smsd.patch │ └── 002-Makefile.patch ├── sockread ├── Makefile └── src │ ├── Makefile │ └── main.c ├── stm32flash └── Makefile ├── stoken └── Makefile ├── sumo ├── Makefile ├── files │ └── sumo.sh └── patches │ └── 100-configure_fix.patch ├── sysstat ├── Makefile ├── files │ ├── sysstat.config │ └── sysstat.init └── patches │ └── 100-musl-compat.patch ├── tar └── Makefile ├── taskwarrior └── Makefile ├── tcsh ├── Makefile └── patches │ ├── 001-gethost │ ├── 001-sysmalloc.patch │ └── 100-musl-compat.patch ├── tmux ├── Makefile └── patches │ └── 100-b64_ntop-conflict.patch ├── tracertools └── Makefile ├── triggerhappy ├── Makefile ├── files │ ├── triggerhappy-example.conf │ ├── triggerhappy.hotplug │ └── triggerhappy.init └── patches │ └── 100-fix-LINUX_INPUT_H.patch ├── unrar ├── Makefile └── patches │ └── 100-makefile_fixes.patch ├── unzip ├── Makefile └── patches │ ├── 001-CVE-2014-8139-crc-overflow.patch │ ├── 002-CVE-2014-8140-test-compr-eb.patch │ ├── 003-CVE-2014-8141-getzip64data.patch │ └── 004-CVE-2014-9636-test-compr-eb.patch ├── usbmuxd └── Makefile ├── uvcdynctrl └── Makefile ├── vim ├── Makefile ├── files │ ├── vimrc │ └── vimrc.full └── patches │ ├── 001-compile.patch │ └── 002-remove_helptags_generation.patch ├── watchcat ├── Makefile └── files │ ├── initd_watchcat │ ├── uci_defaults_watchcat │ └── watchcat.sh ├── wifitoggle ├── Makefile └── files │ ├── wifitoggle.config │ └── wifitoggle.hotplug ├── xz └── Makefile ├── zile └── Makefile ├── zip └── Makefile ├── zoneinfo └── Makefile └── zsh └── Makefile /admin/debootstrap/patches/100-busybox_fix.patch: -------------------------------------------------------------------------------- 1 | --- a/usr/share/debootstrap/functions 2 | +++ b/usr/share/debootstrap/functions 3 | @@ -859,8 +859,6 @@ choose_extractor () { 4 | 5 | if [ -n "$EXTRACTOR_OVERRIDE" ]; then 6 | extractor="$EXTRACTOR_OVERRIDE" 7 | - elif type dpkg-deb >/dev/null 2>&1; then 8 | - extractor="dpkg-deb" 9 | else 10 | extractor="ar" 11 | fi 12 | -------------------------------------------------------------------------------- /admin/monit/files/monit.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2014 OpenWrt.org 3 | 4 | START=60 5 | USE_PROCD=1 6 | PROG=/usr/bin/monit 7 | 8 | start_service() { 9 | [ -f /etc/monitrc ] || { echo "monit: /etc/monitrc is missing"; return 1; } 10 | chmod 0600 /etc/monitrc 11 | procd_open_instance 12 | # -I runs in foreground, as procd requires 13 | procd_set_param command "$PROG" -I 14 | procd_close_instance 15 | } 16 | -------------------------------------------------------------------------------- /admin/monit/patches/001-fix-default-piddir.patch: -------------------------------------------------------------------------------- 1 | --- a/configure 2 | +++ b/configure 3 | @@ -13849,14 +13849,7 @@ fi 4 | # Find the right directory to put the root-mode PID file in 5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking pid file location" >&5 6 | $as_echo_n "checking pid file location... " >&6; } 7 | -if test -d "/run" 8 | -then 9 | - piddir="/run" 10 | -elif test -d "/var/run"; then 11 | - piddir="/var/run" 12 | -elif test -d "/etc"; then 13 | - piddir="/etc" 14 | -fi 15 | +piddir="/var/run" 16 | 17 | 18 | cat >>confdefs.h <<_ACEOF 19 | -------------------------------------------------------------------------------- /admin/muninlite/files/etc/xinetd.d/munin: -------------------------------------------------------------------------------- 1 | service munin 2 | { 3 | socket_type = stream 4 | protocol = tcp 5 | wait = no 6 | user = root 7 | group = root 8 | server = /usr/sbin/munin-node 9 | disable = no 10 | } 11 | -------------------------------------------------------------------------------- /admin/muninlite/patches/001-no_disks.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile 2 | +++ b/Makefile 3 | @@ -1,7 +1,7 @@ 4 | 5 | 6 | -PLUGINS=df cpu if_ if_err_ load memory processes swap netstat uptime interrupts irqstats ntpdate plugindir_ 7 | -#PLUGINS=cpu if_ if_err_ load memory processes netstat uptime interrupts irqstats 8 | +#PLUGINS=df cpu if_ if_err_ load memory processes swap netstat uptime interrupts irqstats ntpdate plugindir_ 9 | +PLUGINS=cpu if_ if_err_ load memory processes netstat uptime interrupts irqstats 10 | 11 | munin-node: plugins/* munin-node.conf 12 | @VERSION=$$(cat VERSION); \ 13 | -------------------------------------------------------------------------------- /admin/muninlite/patches/002-hostname.patch: -------------------------------------------------------------------------------- 1 | --- a/munin-node.in 2 | +++ b/munin-node.in 3 | @@ -113,7 +113,7 @@ PLUGINS=$RES 4 | 5 | # ===== MAIN LOOP ===== 6 | FUNCTIONS="list nodes config fetch version quit" 7 | -HOSTNAME=$(hostname -f 2>/dev/null || hostname) 8 | +HOSTNAME=$(/sbin/uci get "system.@system[0].hostname" 2>/dev/null || cat /proc/sys/kernel/hostname) 9 | echo "# munin node at $HOSTNAME" 10 | while read arg0 arg1 11 | do 12 | -------------------------------------------------------------------------------- /admin/muninlite/patches/110-fix-uptime-days.patch: -------------------------------------------------------------------------------- 1 | --- a/plugins/uptime 2 | +++ b/plugins/uptime 3 | @@ -4,8 +4,7 @@ config_uptime() { 4 | echo "graph_vlabel uptime in days" 5 | echo "uptime.label uptime" 6 | echo "uptime.draw AREA" 7 | - echo "uptime.cdef uptime,86400,/" 8 | } 9 | fetch_uptime() { 10 | - echo "uptime.value" $(cut -d\ -f1 /proc/uptime) 11 | + awk '{printf "uptime.value %.2f",$1/86400; print ""}' /proc/uptime 12 | } 13 | -------------------------------------------------------------------------------- /admin/sudo/files/sudo.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2014 OpenWrt.org 3 | 4 | START=99 5 | 6 | start() { 7 | [ -d /var/lib/sudo ] || { 8 | mkdir -m 0755 -p /var/lib/sudo 9 | chmod 0700 /var/lib/sudo 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /admin/sudo/patches/020-no-owner-change.patch: -------------------------------------------------------------------------------- 1 | diff -rupN sudo-1.8.11p2.orig/Makefile.in sudo-1.8.11p2/Makefile.in 2 | --- sudo-1.8.11p2.orig/Makefile.in 2014-10-07 22:26:20.000000000 +0200 3 | +++ sudo-1.8.11p2/Makefile.in 2014-12-09 22:00:27.256934143 +0100 4 | @@ -62,7 +62,7 @@ SHELL = @SHELL@ 5 | SED = @SED@ 6 | 7 | INSTALL = $(SHELL) $(top_srcdir)/install-sh -c 8 | -INSTALL_OWNER = -o $(install_uid) -g $(install_gid) 9 | +INSTALL_OWNER = 10 | 11 | ECHO_N = @ECHO_N@ 12 | ECHO_C = @ECHO_C@ 13 | -------------------------------------------------------------------------------- /admin/zabbix/files/network: -------------------------------------------------------------------------------- 1 | #see http://wiki.openwrt.org/doc/howto/zabbix for ready to use templates 2 | 3 | # network interface discovery 4 | # exemple: {"data":[{"{#IF}":"lo", "{#NET}":"loopback"},{"{#IF}":"br-lan", "{#NET}":"lan"},{"{#IF}":"eth0.1", "{#NET}":"wan"}]} 5 | # 6 | UserParameter=netowrt.discovery,lua -l uci -e 'x = uci.cursor(nil, "/var/state");list = "{\"data\":[";x:foreach("network", "interface", function(s) list=list.."{\"{#IF}\":\""..s.ifname.."\", \"{#NET}\":\""..s[".name"].."\"}," end); list=string.gsub(list,",$",""); print(list.."]}")' 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /devel/gcc/README: -------------------------------------------------------------------------------- 1 | Native GCC that runs on target. 2 | 3 | To save disk space, this GCC only supports dynamic linking on the target box, 4 | there are no static libraries shipped except libgcc.a on those architectures 5 | that need it. 6 | 7 | For now, this was only tested on arm (EABI) and mips targets. Others to be 8 | done... 9 | 10 | Christian Beier 11 | -------------------------------------------------------------------------------- /devel/gcc/patches/800-arm_v5te_no_ldrd_strd.patch: -------------------------------------------------------------------------------- 1 | --- a/gcc/config/arm/arm.h 2 | +++ b/gcc/config/arm/arm.h 3 | @@ -271,7 +271,7 @@ extern void (*arm_lang_output_object_att 4 | /* Thumb-1 only. */ 5 | #define TARGET_THUMB1_ONLY (TARGET_THUMB1 && !arm_arch_notm) 6 | 7 | -#define TARGET_LDRD (arm_arch5e && ARM_DOUBLEWORD_ALIGN \ 8 | +#define TARGET_LDRD (arm_arch6 && ARM_DOUBLEWORD_ALIGN \ 9 | && !TARGET_THUMB1) 10 | 11 | /* The following two macros concern the ability to execute coprocessor 12 | -------------------------------------------------------------------------------- /devel/gcc/patches/830-arm_unbreak_armv4t.patch: -------------------------------------------------------------------------------- 1 | http://sourceware.org/ml/crossgcc/2008-05/msg00009.html 2 | 3 | --- a/gcc/config/arm/linux-eabi.h 4 | +++ b/gcc/config/arm/linux-eabi.h 5 | @@ -45,7 +45,7 @@ 6 | The ARM10TDMI core is the default for armv5t, so set 7 | SUBTARGET_CPU_DEFAULT to achieve this. */ 8 | #undef SUBTARGET_CPU_DEFAULT 9 | -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi 10 | +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi 11 | 12 | /* TARGET_BIG_ENDIAN_DEFAULT is set in 13 | config.gcc for big endian configurations. */ 14 | -------------------------------------------------------------------------------- /devel/gcc/patches/870-ppc_no_crtsavres.patch: -------------------------------------------------------------------------------- 1 | --- a/gcc/config/rs6000/rs6000.c 2 | +++ b/gcc/config/rs6000/rs6000.c 3 | @@ -17653,7 +17653,7 @@ rs6000_savres_strategy (rs6000_stack_t * 4 | /* Define cutoff for using out-of-line functions to save registers. */ 5 | if (DEFAULT_ABI == ABI_V4 || TARGET_ELF) 6 | { 7 | - if (!optimize_size) 8 | + if (1) 9 | { 10 | strategy |= SAVE_INLINE_FPRS | REST_INLINE_FPRS; 11 | strategy |= SAVE_INLINE_GPRS | REST_INLINE_GPRS; 12 | -------------------------------------------------------------------------------- /devel/gcc/patches/880-no_java_section.patch: -------------------------------------------------------------------------------- 1 | --- a/gcc/defaults.h 2 | +++ b/gcc/defaults.h 3 | @@ -380,7 +380,7 @@ see the files COPYING3 and COPYING.RUNTI 4 | /* If we have named section and we support weak symbols, then use the 5 | .jcr section for recording java classes which need to be registered 6 | at program start-up time. */ 7 | -#if defined (TARGET_ASM_NAMED_SECTION) && SUPPORTS_WEAK 8 | +#if 0 && defined (TARGET_ASM_NAMED_SECTION) && SUPPORTS_WEAK 9 | #ifndef JCR_SECTION_NAME 10 | #define JCR_SECTION_NAME ".jcr" 11 | #endif 12 | -------------------------------------------------------------------------------- /devel/gcc/patches/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 | -------------------------------------------------------------------------------- /devel/gcc/patches/920-specs_nonfatal_getenv.patch: -------------------------------------------------------------------------------- 1 | --- a/gcc/gcc.c 2 | +++ b/gcc/gcc.c 3 | @@ -8003,7 +8003,10 @@ getenv_spec_function (int argc, const ch 4 | 5 | value = getenv (argv[0]); 6 | if (!value) 7 | - fatal_error ("environment variable %qs not defined", argv[0]); 8 | + { 9 | + warning (0, "environment variable %qs not defined", argv[0]); 10 | + value = ""; 11 | + } 12 | 13 | /* We have to escape every character of the environment variable so 14 | they are not interpreted as active spec characters. A 15 | -------------------------------------------------------------------------------- /devel/lttng-modules/patches/001-mm_page_alloc_extfrag.patch: -------------------------------------------------------------------------------- 1 | --- a/instrumentation/events/lttng-module/kmem.h 2 | +++ b/instrumentation/events/lttng-module/kmem.h 3 | @@ -287,6 +287,7 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE_PRINT(mm 4 | ) 5 | 6 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,2) \ 7 | + || LTTNG_KERNEL_RANGE(3,18,10, 3,19,0) \ 8 | || LTTNG_KERNEL_RANGE(3,14,36, 3,15,0) \ 9 | || LTTNG_DEBIAN_KERNEL_RANGE(3,16,7,9,0,0, 3,17,0,0,0,0)) 10 | 11 | -------------------------------------------------------------------------------- /ipv6/aiccu/files/aiccu.hotplug: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | NTPSTRATUMFILE="/var/run/aiccu_ntp_stratum" 3 | echo $stratum > "$NTPSTRATUMFILE" 4 | -------------------------------------------------------------------------------- /ipv6/tayga/patches/001-configure_unset_CFLAGS.patch: -------------------------------------------------------------------------------- 1 | --- a/configure.ac 2 | +++ b/configure.ac 3 | @@ -5,8 +5,6 @@ AC_CONFIG_HEADERS(config.h) 4 | 5 | AC_PROG_CC 6 | 7 | -CFLAGS='-g -Wall' 8 | - 9 | tayga_conf_path=${sysconfdir}/tayga.conf 10 | 11 | AC_SUBST(tayga_conf_path) 12 | -------------------------------------------------------------------------------- /lang/erlang/patches/101-emulator_includes.patch: -------------------------------------------------------------------------------- 1 | --- a/erts/emulator/Makefile.in 2 | +++ b/erts/emulator/Makefile.in 3 | @@ -682,7 +682,7 @@ $(OBJDIR)/beam_emu.o: beam/beam_emu.c 4 | endif 5 | 6 | $(OBJDIR)/%.o: beam/%.c 7 | - $(V_CC) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) $(INCLUDES) -c $< -o $@ 8 | + $(V_CC) $(INCLUDES) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) -c $< -o $@ 9 | 10 | $(OBJDIR)/%.o: $(TARGET)/%.c 11 | $(V_CC) $(CFLAGS) $(INCLUDES) -Idrivers/common -c $< -o $@ 12 | -------------------------------------------------------------------------------- /lang/erlang/patches/103-disable_emacs.patch: -------------------------------------------------------------------------------- 1 | --- a/lib/tools/Makefile 2 | +++ b/lib/tools/Makefile 3 | @@ -23,7 +23,7 @@ include $(ERL_TOP)/make/$(TARGET)/otp.mk 4 | # Macros 5 | # ---------------------------------------------------- 6 | 7 | -SUB_DIRECTORIES = c_src src doc/src examples priv emacs 8 | +SUB_DIRECTORIES = c_src src doc/src examples priv 9 | 10 | include vsn.mk 11 | VSN = $(TOOLS_VSN) 12 | -------------------------------------------------------------------------------- /lang/lua-copas/patches/makefile.patch: -------------------------------------------------------------------------------- 1 | --- lua-copas-1.2.1_org/Makefile 2014-06-04 16:39:17.451563827 +0800 2 | +++ lua-copas-1.2.1/Makefile 2014-06-04 16:39:41.115563309 +0800 3 | @@ -1,10 +1,10 @@ 4 | # $Id: Makefile,v 1.3 2007/10/29 22:50:16 carregal Exp $ 5 | 6 | # Default prefix 7 | -PREFIX = /usr/local 8 | +PREFIX ?= $(DESTDIR)/usr 9 | 10 | # System's lua directory (where Lua libraries are installed) 11 | -LUA_DIR= $(PREFIX)/share/lua/5.1 12 | +LUA_DIR= $(PREFIX)/lib/lua 13 | 14 | install: 15 | mkdir -p $(LUA_DIR)/copas 16 | -------------------------------------------------------------------------------- /lang/lua-coxpcall/patches/config.patch: -------------------------------------------------------------------------------- 1 | --- lua-coxpcall-1.15.0_org/config 1970-01-01 08:00:00.000000000 +0800 2 | +++ lua-coxpcall-1.15.0/config 2014-06-04 16:51:55.487547258 +0800 3 | @@ -0,0 +1 @@ 4 | +LUA_DIR ?=$(DESTDIR)/usr/lib/lua 5 | -------------------------------------------------------------------------------- /lang/lua-lzlib/patches/001-allow_optim_flags.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile 2 | +++ b/Makefile 3 | @@ -14,7 +14,8 @@ LUABIN= $(LUA)/bin 4 | ZLIB=../zlib-1.2.3 5 | 6 | # no need to change anything below here 7 | -CFLAGS= $(INCS) $(DEFS) $(WARN) -O0 -fPIC 8 | +CFLAGS= $(INCS) $(DEFS) $(WARN) $(OFLAGS) -fPIC 9 | +OFLAGS= -O0 10 | WARN= -g -Werror -Wall -pedantic #-ansi 11 | INCS= -I$(LUAINC) -I$(ZLIB) 12 | LIBS= -L$(ZLIB) -lz -L$(LUALIB) -L$(LUABIN) #-llua51 13 | -------------------------------------------------------------------------------- /lang/lua-md5/patches/makefile.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile.orig 2014-06-04 17:16:40.083514808 +0800 2 | +++ b/Makefile 2014-06-04 17:17:27.111513780 +0800 3 | @@ -1,6 +1,6 @@ 4 | # $Id: Makefile,v 1.7 2007/10/11 00:02:56 carregal Exp $ 5 | 6 | -CONFIG= ./config 7 | +CFLAGS+= -fPIC 8 | 9 | include $(CONFIG) 10 | 11 | -------------------------------------------------------------------------------- /lang/lua-rings/patches/makefile.patch: -------------------------------------------------------------------------------- 1 | --- lua-rings-1.3.0_org/Makefile 2014-06-04 15:24:37.583661746 +0800 2 | +++ lua-rings-1.3.0/Makefile 2014-06-04 15:23:41.611662970 +0800 3 | @@ -3,6 +3,8 @@ 4 | T= rings 5 | CONFIG= ./config 6 | 7 | +CFLAGS+= -fPIC 8 | + 9 | include $(CONFIG) 10 | 11 | SRCS= src/rings.c 12 | -------------------------------------------------------------------------------- /lang/lua-sha2/patches/001-makefile.patch: -------------------------------------------------------------------------------- 1 | From: Lars Gierth 2 | Date: Tue, 2 Sep 2014 00:05:39 +0200 3 | 4 | Add rump Makefile 5 | 6 | new file mode 100644 7 | index 0000000..f081d38 8 | --- /dev/null 9 | +++ b/Makefile 10 | @@ -0,0 +1,4 @@ 11 | +all: sha2.o sha2lib.o 12 | + $(CC) -shared -o sha2.so sha2.o sha2lib.o 13 | + 14 | +.PHONY: all 15 | -------------------------------------------------------------------------------- /lang/luaexpat/files/compat-5.1r5/compat-5.1.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** Compat-5.1 3 | ** Copyright Kepler Project 2004-2006 (http://www.keplerproject.org/compat/) 4 | ** $Id: compat-5.1.h,v 1.8 2006/02/20 21:12:47 carregal Exp $ 5 | */ 6 | 7 | #ifndef COMPAT_H 8 | 9 | LUALIB_API void luaL_module(lua_State *L, const char *libname, 10 | const luaL_reg *l, int nup); 11 | #define luaL_openlib luaL_module 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /lang/luaposix/patches/102-disable-compat-deprecated.diff: -------------------------------------------------------------------------------- 1 | diff --git a/lib/posix.lua.in b/lib/posix.lua.in 2 | index 17ef39a..a248d9b 100644 3 | --- a/lib/posix.lua.in 4 | +++ b/lib/posix.lua.in 5 | @@ -35,15 +35,6 @@ for _, sub in ipairs { 6 | end 7 | end 8 | 9 | - 10 | --- Inject deprecated APIs (overwriting submodules) for backwards compatibility. 11 | -for k, v in pairs (require "posix.deprecated") do 12 | - M[k] = v 13 | -end 14 | -for k, v in pairs (require "posix.compat") do 15 | - M[k] = v 16 | -end 17 | - 18 | M.version = "posix for " .. _VERSION .. " / @PACKAGE_STRING@" 19 | 20 | 21 | -------------------------------------------------------------------------------- /lang/luasec/patches/100-luasocket-Makefile.patch: -------------------------------------------------------------------------------- 1 | --- luasec-luasec-0.5-old/src/luasocket/Makefile 2014-01-29 21:43:33.000000000 +0100 2 | +++ luasec-luasec-0.5/src/luasocket/Makefile 2014-11-30 13:07:44.850051000 +0100 3 | @@ -6,7 +6,7 @@ 4 | 5 | CC ?= cc 6 | CFLAGS += $(MYCFLAGS) -DLUASOCKET_DEBUG 7 | -AR := ar rcu 8 | +AR ?= ar 9 | RANLIB ?= ranlib 10 | 11 | .PHONY: all clean 12 | @@ -14,7 +14,7 @@ 13 | all: libluasocket.a 14 | 15 | libluasocket.a: $(OBJS) 16 | - $(AR) $@ $(OBJS) 17 | + $(AR) rcu $@ $(OBJS) 18 | $(RANLIB) $@ 19 | 20 | clean: 21 | -------------------------------------------------------------------------------- /lang/perl-www-curl/patches/200-fix_default_lflags.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile.PL 2 | +++ b/Makefile.PL 3 | @@ -39,7 +39,7 @@ repository 'http://github.com/szbalint/ 4 | #print "The version is $version\n"; 5 | 6 | my @includes = qw(); 7 | -my ($cflags,$lflags, $ldflags) = ('','',''); 8 | +my ($cflags,$lflags, $ldflags) = ('','-lcurl',''); 9 | 10 | # You may need to specify where to find curl.h on your platform 11 | # These are guesses only, in case curl-config is not telling us. 12 | -------------------------------------------------------------------------------- /lang/perl/Config.in: -------------------------------------------------------------------------------- 1 | menu "Configuration" 2 | depends on PACKAGE_perl 3 | 4 | config PERL_THREADS 5 | bool "Enable threading support" 6 | default y if (mips || mipsel || i386 || i686 || x86_64 || armeb || arm) 7 | default n 8 | 9 | config PERL_TESTS 10 | bool "Include perl tests" 11 | default n 12 | help 13 | Include test suites for all perl packages. 14 | 15 | This will increase the size of perl and related packages 16 | considerably. 17 | Test support is still in development. Some tests will fail, 18 | others are just missing completely. 19 | 20 | endmenu 21 | -------------------------------------------------------------------------------- /lang/perl/patches/100-musl-compat.patch: -------------------------------------------------------------------------------- 1 | --- a/pp.c 2 | +++ b/pp.c 3 | @@ -43,7 +43,7 @@ extern Pid_t getpid (void); 4 | * Some BSDs and Cygwin default to POSIX math instead of IEEE. 5 | * This switches them over to IEEE. 6 | */ 7 | -#if defined(LIBM_LIB_VERSION) 8 | +#if defined(LIBM_LIB_VERSION) && (defined(__GLIBC__) || defined(__UCLIBC__)) 9 | _LIB_VERSION_TYPE _LIB_VERSION = _IEEE_; 10 | #endif 11 | 12 | -------------------------------------------------------------------------------- /lang/perl/patches/500-add-relink-hack.patch: -------------------------------------------------------------------------------- 1 | --- /dev/null 2 | +++ b/relink/Makefile.PL 3 | @@ -0,0 +1,3 @@ 4 | +use ExtUtils::MakeMaker; 5 | + 6 | +WriteMakefile(NAME => "relink"); 7 | -------------------------------------------------------------------------------- /lang/php5/files/php5-fastcgi.config: -------------------------------------------------------------------------------- 1 | config php5-fastcgi 2 | option enabled 1 3 | option port '1026' 4 | -------------------------------------------------------------------------------- /lang/php5/files/php5-fpm.config: -------------------------------------------------------------------------------- 1 | config php5-fpm 2 | option enabled 1 3 | -------------------------------------------------------------------------------- /lang/php5/patches/101-fix_membar_producer_link_error_gcc3x.patch: -------------------------------------------------------------------------------- 1 | --- a/ext/standard/php_crypt_r.c 2 | +++ b/ext/standard/php_crypt_r.c 3 | @@ -96,6 +96,8 @@ void _crypt_extended_init_r(void) 4 | InterlockedIncrement(&initialized); 5 | #elif defined(HAVE_SYNC_FETCH_AND_ADD) 6 | __sync_fetch_and_add(&initialized, 1); 7 | +#elif (defined(__GNUC__) && (__GNUC__ == 3)) 8 | + initialized = 1; 9 | #elif defined(HAVE_ATOMIC_H) /* Solaris 10 defines atomic API within */ 10 | membar_producer(); 11 | atomic_add_int(&initialized, 1); 12 | -------------------------------------------------------------------------------- /lang/php5/patches/800-gd-iconv.patch: -------------------------------------------------------------------------------- 1 | --- a/ext/gd/libgd/gdkanji.c 2 | +++ b/ext/gd/libgd/gdkanji.c 3 | @@ -9,6 +9,11 @@ 4 | #include "gdhelpers.h" 5 | 6 | #include 7 | + 8 | +/* force usage of internal conversation routine */ 9 | +#undef HAVE_ICONV_H 10 | +#undef HAVE_ICONV 11 | + 12 | #if defined(HAVE_ICONV_H) || defined(HAVE_ICONV) 13 | #include 14 | #ifdef HAVE_ERRNO_H 15 | -------------------------------------------------------------------------------- /lang/python-mysql/patches/010-threadsafe.patch: -------------------------------------------------------------------------------- 1 | --- MySQL-python-1.2.2/site_orig.cfg 2007-08-15 12:58:40.000000000 +0200 2 | +++ MySQL-python-1.2.2/site.cfg 2007-08-15 12:58:49.000000000 +0200 3 | @@ -4,7 +4,7 @@ 4 | # static: link against a static library (probably required for embedded) 5 | 6 | embedded = False 7 | -threadsafe = True 8 | +threadsafe = False 9 | static = False 10 | 11 | # The path to mysql_config. 12 | -------------------------------------------------------------------------------- /lang/python/files/config.site: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # Copyright (C) 2007-2014 OpenWrt.org 4 | # 5 | # This is free software, licensed under the GNU General Public License v2. 6 | # See /LICENSE for more information. 7 | # 8 | 9 | ac_cv_file__dev_ptmx=yes 10 | ac_cv_file__dev_ptc=no 11 | ac_cv_buggy_getaddrinfo=no 12 | 13 | -------------------------------------------------------------------------------- /lang/python/files/python-package-compiler.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2015 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 Package/python-compiler 9 | $(call Package/python/Default) 10 | TITLE:=Python $(PYTHON_VERSION) compiler module 11 | DEPENDS:=+python-light 12 | endef 13 | 14 | $(eval $(call PyBasePackage,python-compiler, \ 15 | /usr/lib/python$(PYTHON_VERSION)/compiler \ 16 | )) 17 | -------------------------------------------------------------------------------- /lang/python/files/python-package-decimal.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2015 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 Package/python-decimal 9 | $(call Package/python/Default) 10 | TITLE:=Python $(PYTHON_VERSION) decimal module 11 | DEPENDS:=+python-light 12 | endef 13 | 14 | $(eval $(call PyBasePackage,python-decimal, \ 15 | /usr/lib/python$(PYTHON_VERSION)/decimal.py \ 16 | )) 17 | -------------------------------------------------------------------------------- /lang/python/files/python-package-distutils.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2015 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 Package/python-distutils 9 | $(call Package/python/Default) 10 | TITLE:=Python $(PYTHON_VERSION) distutils 11 | DEPENDS:=+python-light 12 | endef 13 | 14 | $(eval $(call PyBasePackage,python-distutils, \ 15 | /usr/lib/python$(PYTHON_VERSION)/distutils \ 16 | )) 17 | -------------------------------------------------------------------------------- /lang/python/files/python-package-email.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2015 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 Package/python-email 9 | $(call Package/python/Default) 10 | TITLE:=Python $(PYTHON_VERSION) email module 11 | DEPENDS:=+python-light 12 | endef 13 | 14 | $(eval $(call PyBasePackage,python-email, \ 15 | /usr/lib/python$(PYTHON_VERSION)/email \ 16 | )) 17 | -------------------------------------------------------------------------------- /lang/python/files/python-package-gdbm.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2015 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 Package/python-gdbm 9 | $(call Package/python/Default) 10 | TITLE:=Python $(PYTHON_VERSION) gdbm module 11 | DEPENDS:=+python-light +libgdbm 12 | endef 13 | 14 | $(eval $(call PyBasePackage,python-gdbm, \ 15 | /usr/lib/python$(PYTHON_VERSION)/lib-dynload/gdbm.so \ 16 | )) 17 | -------------------------------------------------------------------------------- /lang/python/files/python-package-logging.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2015 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 Package/python-logging 9 | $(call Package/python/Default) 10 | TITLE:=Python $(PYTHON_VERSION) logging module 11 | DEPENDS:=+python-light 12 | endef 13 | 14 | $(eval $(call PyBasePackage,python-logging, \ 15 | /usr/lib/python$(PYTHON_VERSION)/logging \ 16 | )) 17 | -------------------------------------------------------------------------------- /lang/python/files/python-package-openssl.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2015 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 Package/python-openssl 9 | $(call Package/python/Default) 10 | TITLE:=Python $(PYTHON_VERSION) SSL module 11 | DEPENDS:=+python-light +libopenssl 12 | endef 13 | 14 | $(eval $(call PyBasePackage,python-openssl, \ 15 | /usr/lib/python$(PYTHON_VERSION)/lib-dynload/_hashlib.so \ 16 | /usr/lib/python$(PYTHON_VERSION)/lib-dynload/_ssl.so \ 17 | )) 18 | -------------------------------------------------------------------------------- /lang/python/files/python-package-pydoc.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2015 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 Package/python-pydoc 9 | $(call Package/python/Default) 10 | TITLE:=Python $(PYTHON_VERSION) pydoc module 11 | DEPENDS:=+python-light 12 | endef 13 | 14 | $(eval $(call PyBasePackage,python-pydoc, \ 15 | /usr/lib/python$(PYTHON_VERSION)/doctest.py \ 16 | /usr/lib/python$(PYTHON_VERSION)/pydoc.py \ 17 | /usr/lib/python$(PYTHON_VERSION)/pydoc_data \ 18 | )) 19 | -------------------------------------------------------------------------------- /lang/python/files/python-package-sqlite3.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2015 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 Package/python-sqlite3 9 | $(call Package/python/Default) 10 | TITLE:=Python $(PYTHON_VERSION) sqlite3 module 11 | DEPENDS:=+python-light +libsqlite3 12 | endef 13 | 14 | $(eval $(call PyBasePackage,python-sqlite3, \ 15 | /usr/lib/python$(PYTHON_VERSION)/lib-dynload/_sqlite3.so \ 16 | /usr/lib/python$(PYTHON_VERSION)/sqlite3 \ 17 | )) 18 | -------------------------------------------------------------------------------- /lang/python/files/python-package-unittest.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2015 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 Package/python-unittest 9 | $(call Package/python/Default) 10 | TITLE:=Python $(PYTHON_VERSION) unittest module 11 | DEPENDS:=+python-light 12 | endef 13 | 14 | $(eval $(call PyBasePackage,python-unittest, \ 15 | /usr/lib/python$(PYTHON_VERSION)/unittest \ 16 | )) 17 | -------------------------------------------------------------------------------- /lang/python/patches/007-distutils-do-not-adjust-path.patch: -------------------------------------------------------------------------------- 1 | --- a/Lib/distutils/command/build_scripts.py 2 | +++ b/Lib/distutils/command/build_scripts.py 3 | @@ -89,6 +89,7 @@ class build_scripts (Command): 4 | adjust = 1 5 | post_interp = match.group(1) or '' 6 | 7 | + adjust = 0 8 | if adjust: 9 | log.info("copying and adjusting %s -> %s", script, 10 | self.build_dir) 11 | -------------------------------------------------------------------------------- /lang/python3/files/config.site: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # Copyright (C) 2007-2014 OpenWrt.org 4 | # 5 | # This is free software, licensed under the GNU General Public License v2. 6 | # See /LICENSE for more information. 7 | # 8 | 9 | ac_cv_file__dev_ptmx=yes 10 | ac_cv_file__dev_ptc=no 11 | ac_cv_buggy_getaddrinfo=no 12 | 13 | -------------------------------------------------------------------------------- /lang/python3/files/python3-package-asyncio.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2015 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 Package/python3-asyncio 9 | $(call Package/python3/Default) 10 | TITLE:=Python $(PYTHON3_VERSION) asyncio module 11 | DEPENDS:=+python3-light 12 | endef 13 | 14 | $(eval $(call Py3BasePackage,python3-asyncio, \ 15 | /usr/lib/python$(PYTHON3_VERSION)/asyncio \ 16 | )) 17 | -------------------------------------------------------------------------------- /lang/python3/files/python3-package-dbm.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2015 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 Package/python3-dbm 9 | $(call Package/python3/Default) 10 | TITLE:=Python $(PYTHON3_VERSION) dbm module 11 | DEPENDS:=+python3-light +libdb47 12 | endef 13 | 14 | $(eval $(call Py3BasePackage,python3-dbm, \ 15 | /usr/lib/python$(PYTHON3_VERSION)/dbm \ 16 | /usr/lib/python$(PYTHON3_VERSION)/lib-dynload/_dbm.$(PYTHON3_SO_SUFFIX) \ 17 | )) 18 | -------------------------------------------------------------------------------- /lang/python3/files/python3-package-decimal.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2015 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 Package/python3-decimal 9 | $(call Package/python3/Default) 10 | TITLE:=Python $(PYTHON3_VERSION) decimal module 11 | DEPENDS:=+python3-light 12 | endef 13 | 14 | $(eval $(call Py3BasePackage,python3-decimal, \ 15 | /usr/lib/python$(PYTHON3_VERSION)/decimal.py \ 16 | /usr/lib/python$(PYTHON3_VERSION)/lib-dynload/_decimal.$(PYTHON3_SO_SUFFIX) \ 17 | )) 18 | -------------------------------------------------------------------------------- /lang/python3/files/python3-package-distutils.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2015 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 Package/python3-distutils 9 | $(call Package/python3/Default) 10 | TITLE:=Python $(PYTHON3_VERSION) distutils module 11 | DEPENDS:=+python3-light 12 | endef 13 | 14 | $(eval $(call Py3BasePackage,python3-distutils, \ 15 | /usr/lib/python$(PYTHON3_VERSION)/distutils \ 16 | )) 17 | -------------------------------------------------------------------------------- /lang/python3/files/python3-package-email.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2015 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 Package/python3-email 9 | $(call Package/python3/Default) 10 | TITLE:=Python $(PYTHON3_VERSION) email module 11 | DEPENDS:=+python3-light 12 | endef 13 | 14 | $(eval $(call Py3BasePackage,python3-email, \ 15 | /usr/lib/python$(PYTHON3_VERSION)/email \ 16 | )) 17 | -------------------------------------------------------------------------------- /lang/python3/files/python3-package-gdbm.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2015 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 Package/python3-gdbm 9 | $(call Package/python3/Default) 10 | TITLE:=Python $(PYTHON3_VERSION) gdbm module 11 | DEPENDS:=+python3-light +libgdbm 12 | endef 13 | 14 | $(eval $(call Py3BasePackage,python3-gdbm, \ 15 | /usr/lib/python$(PYTHON3_VERSION)/lib-dynload/_gdbm.$(PYTHON3_SO_SUFFIX) \ 16 | )) 17 | -------------------------------------------------------------------------------- /lang/python3/files/python3-package-logging.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2015 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 Package/python3-logging 9 | $(call Package/python3/Default) 10 | TITLE:=Python $(PYTHON3_VERSION) logging module 11 | DEPENDS:=+python3-light 12 | endef 13 | 14 | $(eval $(call Py3BasePackage,python3-logging, \ 15 | /usr/lib/python$(PYTHON3_VERSION)/logging \ 16 | )) 17 | -------------------------------------------------------------------------------- /lang/python3/files/python3-package-lzma.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2015 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 Package/python3-lzma 9 | $(call Package/python3/Default) 10 | TITLE:=Python $(PYTHON3_VERSION) lzma module 11 | DEPENDS:=+python3-light +liblzma 12 | endef 13 | 14 | $(eval $(call Py3BasePackage,python3-lzma, \ 15 | /usr/lib/python$(PYTHON3_VERSION)/lzma.py \ 16 | /usr/lib/python$(PYTHON3_VERSION)/lib-dynload/_lzma.$(PYTHON3_SO_SUFFIX) \ 17 | )) 18 | -------------------------------------------------------------------------------- /lang/python3/files/python3-package-unittest.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2015 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 Package/python3-unittest 9 | $(call Package/python3/Default) 10 | TITLE:=Python $(PYTHON3_VERSION) unittest module 11 | DEPENDS:=+python3-light 12 | endef 13 | 14 | $(eval $(call Py3BasePackage,python3-unittest, \ 15 | /usr/lib/python$(PYTHON3_VERSION)/unittest \ 16 | )) 17 | -------------------------------------------------------------------------------- /lang/python3/patches/006-remove-debian-multiarch-support.patch: -------------------------------------------------------------------------------- 1 | diff --git a/setup.py b/setup.py 2 | index 7868b7b..9ae0ef2 100644 3 | --- a/setup.py 4 | +++ b/setup.py 5 | @@ -444,7 +444,6 @@ class PyBuildExt(build_ext): 6 | add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') 7 | if cross_compiling: 8 | self.add_gcc_paths() 9 | - self.add_multiarch_paths() 10 | 11 | # Add paths specified in the environment variables LDFLAGS and 12 | # CPPFLAGS for header and library files. 13 | -------------------------------------------------------------------------------- /lang/python3/patches/007-distutils-do-not-adjust-path.patch: -------------------------------------------------------------------------------- 1 | --- a/Lib/distutils/command/build_scripts.py 2 | +++ b/Lib/distutils/command/build_scripts.py 3 | @@ -89,6 +89,7 @@ class build_scripts (Command): 4 | adjust = 1 5 | post_interp = match.group(1) or '' 6 | 7 | + adjust = 0 8 | if adjust: 9 | log.info("copying and adjusting %s -> %s", script, 10 | self.build_dir) 11 | -------------------------------------------------------------------------------- /lang/ruby/files/ruby: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if ! [ -r "@RUBY_LIBPATH@/rubygems.rb" ]; then 3 | exec @RUBY_BINPATH@ --disable-gems "$@" 4 | fi 5 | exec @RUBY_BINPATH@ "$@" 6 | -------------------------------------------------------------------------------- /libs/apr/patches/101-fix_apr_time_now.patch: -------------------------------------------------------------------------------- 1 | https://dev.openwrt.org/ticket/9287 2 | 3 | --- a/time/unix/time.c 4 | +++ b/time/unix/time.c 5 | @@ -75,7 +75,7 @@ APR_DECLARE(apr_time_t) apr_time_now(voi 6 | { 7 | struct timeval tv; 8 | gettimeofday(&tv, NULL); 9 | - return tv.tv_sec * APR_USEC_PER_SEC + tv.tv_usec; 10 | + return tv.tv_sec * (apr_time_t)APR_USEC_PER_SEC + (apr_time_t)tv.tv_usec; 11 | } 12 | 13 | static void explode_time(apr_time_exp_t *xt, apr_time_t t, 14 | -------------------------------------------------------------------------------- /libs/avahi/files/avahi-daemon.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006 OpenWrt.org 3 | START=61 4 | 5 | BIN=avahi-daemon 6 | DEFAULT=/etc/default/$BIN 7 | OPTIONS="-D" 8 | RUN_D=/var/run/$BIN 9 | 10 | start() { 11 | [ -f $DEFAULT ] && . $DEFAULT 12 | mkdir -p $RUN_D 13 | $BIN $OPTIONS 14 | } 15 | 16 | stop() { 17 | $BIN -k 18 | } 19 | 20 | reload() { 21 | $BIN -r 22 | } 23 | 24 | -------------------------------------------------------------------------------- /libs/avahi/files/service-http: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | %h 5 | 6 | _http._tcp 7 | 80 8 | path=/ 9 | 10 | 11 | -------------------------------------------------------------------------------- /libs/avahi/files/service-ssh: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | %h 5 | 6 | _ssh._tcp 7 | 22 8 | 9 | 10 | -------------------------------------------------------------------------------- /libs/boost/patches/001-mips-options-fix.patch: -------------------------------------------------------------------------------- 1 | --- boost_1_58_0/tools/build/src/tools/gcc.jam 2015-04-23 12:01:37.723438995 +0200 2 | +++ boost_1_58_0/tools/build/src/tools/gcc.jam 2015-04-23 12:00:21.427441384 +0200 3 | @@ -451,7 +451,7 @@ 4 | else 5 | { 6 | local arch = [ feature.get-values architecture : $(properties) ] ; 7 | - if $(arch) != arm 8 | + if $(arch) = power || $(arch) = sparc || $(arch) = x86 9 | { 10 | if $(model) = 32 11 | { 12 | -------------------------------------------------------------------------------- /libs/db47/patches/100-repmgr-format-security.patch: -------------------------------------------------------------------------------- 1 | --- a/repmgr/repmgr_net.c 2 | +++ b/repmgr/repmgr_net.c 3 | @@ -1136,7 +1136,7 @@ __repmgr_listen(env) 4 | } 5 | 6 | ret = net_errno; 7 | - __db_err(env, ret, why); 8 | + __db_err(env, ret, "%s", why); 9 | clean: if (s != INVALID_SOCKET) 10 | (void)closesocket(s); 11 | return (ret); 12 | -------------------------------------------------------------------------------- /libs/dmx_usb_module/patches/001-dmx_usb_Makefile.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile 2 | +++ b/Makefile 3 | @@ -12,8 +12,7 @@ KDIR := /lib/modules/$(shell uname -r)/build 4 | PWD := $(shell pwd) 5 | 6 | default: 7 | - $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules 8 | - gcc -O2 -pipe -Wall dmx_usb_test.c -o dmx_usb_test 9 | + $(MAKE) -C $(KERNELPATH) SUBDIRS=$(PWD) modules 10 | 11 | endif 12 | 13 | 14 | -------------------------------------------------------------------------------- /libs/faad2/Config.in: -------------------------------------------------------------------------------- 1 | config FAAD2_ALWAYS_USE_FLOATING_POINT 2 | depends on PACKAGE_libfaad2 3 | bool "Build FAAD2 to use floating-point math even if using soft floats." 4 | default n 5 | help 6 | By default, libfaad2 will be built to use fixed point rather 7 | than floating point math if emulated floating point operations 8 | are being used. (See the CONFIG_SOFT_FLOAT option.) Set this 9 | option if you would like to use floating point math regardless 10 | of whether floating point emulation is in use. 11 | 12 | For the best real-time decoding ability, leave this option off. 13 | -------------------------------------------------------------------------------- /libs/fcgi/patches/120-stdio.patch: -------------------------------------------------------------------------------- 1 | Index: fcgi-2.4.0/libfcgi/fcgio.cpp 2 | =================================================================== 3 | --- fcgi-2.4.0.orig/libfcgi/fcgio.cpp 2014-05-15 10:43:15.153971782 +0200 4 | +++ fcgi-2.4.0/libfcgi/fcgio.cpp 2014-05-15 10:44:44.037974020 +0200 5 | @@ -23,6 +23,7 @@ 6 | #endif 7 | 8 | #include 9 | +#include 10 | #include "fcgio.h" 11 | 12 | using std::streambuf; 13 | -------------------------------------------------------------------------------- /libs/flac/patches/002-no-utility.patch: -------------------------------------------------------------------------------- 1 | --- a/src/Makefile.am 2 | +++ b/src/Makefile.am 3 | @@ -27,10 +27,7 @@ endif 4 | SUBDIRS = \ 5 | share \ 6 | libFLAC \ 7 | - flac \ 8 | - metaflac \ 9 | $(XMMS_DIRS) \ 10 | - utils \ 11 | $(CPPLIBS_DIRS) 12 | 13 | EXTRA_DIST = \ 14 | -------------------------------------------------------------------------------- /libs/flac/patches/010-automake-compat.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile.am 2 | +++ b/Makefile.am 3 | @@ -33,6 +33,8 @@ ACLOCAL_AMFLAGS = -I m4 4 | 5 | SUBDIRS = include m4 src build objs 6 | 7 | +ACLOCAL_AMFLAGS = -I m4 8 | + 9 | EXTRA_DIST = \ 10 | COPYING.FDL \ 11 | COPYING.GPL \ 12 | -------------------------------------------------------------------------------- /libs/glib2/patches/001-automake-compat.patch: -------------------------------------------------------------------------------- 1 | --- a/gtk-doc.make 2 | +++ b/gtk-doc.make 3 | @@ -267,7 +267,7 @@ uninstall-local: 4 | # 5 | # Require gtk-doc when making dist 6 | # 7 | -if HAVE_GTK_DOC 8 | +if ENABLE_GTK_DOC 9 | dist-check-gtkdoc: docs 10 | else 11 | dist-check-gtkdoc: 12 | -------------------------------------------------------------------------------- /libs/glib2/patches/100-fix-gio-linking.patch: -------------------------------------------------------------------------------- 1 | --- a/gio/Makefile.am 2 | +++ b/gio/Makefile.am 3 | @@ -700,6 +700,7 @@ bin_PROGRAMS = gio-querymodules glib-com 4 | 5 | glib_compile_resources_LDADD = libgio-2.0.la \ 6 | $(top_builddir)/gobject/libgobject-2.0.la \ 7 | + $(top_builddir)/gmodule/libgmodule-2.0.la \ 8 | $(top_builddir)/glib/libglib-2.0.la \ 9 | $(NULL) 10 | 11 | -------------------------------------------------------------------------------- /libs/libartnet/patches/001-bswap_16.patch: -------------------------------------------------------------------------------- 1 | --- a/artnet/private.h 2 | +++ b/artnet/private.h 3 | @@ -100,7 +100,9 @@ extern uint16_t HIGH_BYTE; 4 | #endif 5 | 6 | // byte ordering macros 7 | +#ifndef bswap_16 8 | #define bswap_16(x) ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8)) 9 | +#endif 10 | 11 | // htols : convert short from host to little endian order 12 | #ifdef WIN32 13 | -------------------------------------------------------------------------------- /libs/libdbi-drivers/patches/001_libsqlite3_fix.patch: -------------------------------------------------------------------------------- 1 | --- a/acinclude.m4 2 | +++ b/acinclude.m4 3 | @@ -310,7 +310,7 @@ if test "$ac_sqlite3" = "yes"; then 4 | AC_SEARCH_LIBS_VAR([sqlite3_exec], sqlite3, , , , SQLITE3_LIBS) 5 | SQLITE3_LDFLAGS="" 6 | else 7 | - SQLITE3_LIBS=-lsqlite 8 | + SQLITE3_LIBS=-lsqlite3 9 | SQLITE3_LDFLAGS=-L$ac_sqlite3_libdir 10 | fi 11 | 12 | -------------------------------------------------------------------------------- /libs/libdmapsharing/patches/002-disable_tests.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile.am 2 | +++ b/Makefile.am 3 | @@ -1,4 +1,4 @@ 4 | -SUBDIRS = libdmapsharing vala tests doc 5 | +SUBDIRS = libdmapsharing vala doc 6 | DIST_SUBDIRS = $(SUBDIRS) m4 media 7 | 8 | # pcfiles = libdmapsharing-@LIBDMAPSHARING_MAJORMINOR@.pc 9 | -------------------------------------------------------------------------------- /libs/libevdev/patches/010-no-clock-monotonic-raw-in-uclibc.patch: -------------------------------------------------------------------------------- 1 | --- a/test/test-libevdev-init.c 2 | +++ b/test/test-libevdev-init.c 3 | @@ -32,6 +32,11 @@ 4 | #include 5 | #include "test-common.h" 6 | 7 | +/* work-around CLOCK_MONOTONIC_RAW definition missing in uClibc */ 8 | +#ifndef CLOCK_MONOTONIC_RAW 9 | +#define CLOCK_MONOTONIC_RAW 4 10 | +#endif 11 | + 12 | START_TEST(test_new_device) 13 | { 14 | struct libevdev *dev; 15 | -------------------------------------------------------------------------------- /libs/libftdi/patches/100-fix-x86_64-build.patch: -------------------------------------------------------------------------------- 1 | --- a/CMakeLists.txt 2 | +++ b/CMakeLists.txt 3 | @@ -44,7 +44,7 @@ IF(CMAKE_SIZEOF_VOID_P EQUAL 4) 4 | SET(LIB_SUFFIX "") 5 | SET(PACK_ARCH "") 6 | ELSE(CMAKE_SIZEOF_VOID_P EQUAL 8) 7 | - SET(LIB_SUFFIX 64) 8 | + SET(LIB_SUFFIX "") 9 | SET(PACK_ARCH .x86_64) 10 | endif(CMAKE_SIZEOF_VOID_P EQUAL 4) 11 | 12 | -------------------------------------------------------------------------------- /libs/libftdi1/patches/100-fix-x86_64-build.patch: -------------------------------------------------------------------------------- 1 | --- a/CMakeLists.txt 2 | +++ b/CMakeLists.txt 3 | @@ -55,7 +55,7 @@ if ( NOT DEFINED LIB_SUFFIX ) 4 | AND NOT EXISTS "/etc/debian_version" 5 | AND NOT EXISTS "/etc/arch-release" ) 6 | if ( "${CMAKE_SIZEOF_VOID_P}" EQUAL "8" ) 7 | - set ( LIB_SUFFIX 64 ) 8 | + set ( LIB_SUFFIX "" ) 9 | endif () 10 | endif () 11 | endif () 12 | -------------------------------------------------------------------------------- /libs/libnatpmp/patches/001-install_declspec.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile 2 | +++ b/Makefile 3 | @@ -56,7 +56,7 @@ else 4 | endif 5 | endif 6 | 7 | -HEADERS = natpmp.h 8 | +HEADERS = natpmp.h declspec.h 9 | 10 | EXECUTABLES = testgetgateway natpmpc-shared natpmpc-static 11 | 12 | -------------------------------------------------------------------------------- /libs/libnet-1.2.x/patches/100-musl-compat.patch: -------------------------------------------------------------------------------- 1 | --- a/src/libnet_link_linux.c 2 | +++ b/src/libnet_link_linux.c 3 | @@ -30,13 +30,8 @@ 4 | #include 5 | 6 | #include 7 | -#if (__GLIBC__) 8 | #include 9 | #include 10 | -#else 11 | -#include 12 | -#include 13 | -#endif 14 | 15 | #if (HAVE_PACKET_SOCKET) 16 | #ifndef SOL_PACKET 17 | -------------------------------------------------------------------------------- /libs/liboping/patches/01-no-werror.patch: -------------------------------------------------------------------------------- 1 | --- a/src/Makefile.am 2 | +++ b/src/Makefile.am 3 | @@ -3,7 +3,7 @@ AUTOMAKE_OPTIONS = foreign no-dependenci 4 | SUBDIRS = mans 5 | 6 | if COMPILER_IS_GCC 7 | -AM_CFLAGS = -Wall -Werror 8 | +AM_CFLAGS = -Wall 9 | endif 10 | 11 | include_HEADERS = oping.h 12 | -------------------------------------------------------------------------------- /libs/libowfat/patches/001-fixbuild.patch: -------------------------------------------------------------------------------- 1 | --- a/GNUmakefile 2 | +++ b/GNUmakefile 3 | @@ -278,6 +278,8 @@ socket_accept4.o socket_accept6.o socket 4 | socket_local6.o socket_recv4.o socket_recv6.o socket_remote4.o \ 5 | socket_remote6.o: havesl.h 6 | 7 | +socket_remote4.o: havescope.h 8 | + 9 | dns_nd6.o fmt_xlong.o scan_xlong.o fmt_ip6_flat.o $(TEXTCODE_OBJS): haveinline.h 10 | 11 | iob_send.o scan_ip6if.o: havealloca.h 12 | -------------------------------------------------------------------------------- /libs/libpng/patches/100-config_fix.patch: -------------------------------------------------------------------------------- 1 | --- a/scripts/libpng-config-body.in 2 | +++ b/scripts/libpng-config-body.in 3 | @@ -83,6 +83,7 @@ while test $# -gt 0; do 4 | 5 | --static) 6 | R_opts="" 7 | + libs=${all_libs} 8 | ;; 9 | 10 | *) 11 | -------------------------------------------------------------------------------- /libs/libradcli/Config.in: -------------------------------------------------------------------------------- 1 | # radcli avanced configuration 2 | 3 | menu "Configuration" 4 | depends on PACKAGE_libradcli 5 | 6 | config RADCLI_TLS 7 | bool "enable TLS support" 8 | default y 9 | 10 | endmenu 11 | -------------------------------------------------------------------------------- /libs/libseccomp/patches/100-dont-use-linux-prctl.h-with-musl.patch: -------------------------------------------------------------------------------- 1 | Index: libseccomp-2.2.1/src/system.h 2 | =================================================================== 3 | --- libseccomp-2.2.1.orig/src/system.h 4 | +++ libseccomp-2.2.1/src/system.h 5 | @@ -23,7 +23,9 @@ 6 | #define _SYSTEM_H 7 | 8 | #include 9 | +#ifdef __GLIBC__ 10 | #include 11 | +#endif 12 | 13 | #include "configure.h" 14 | 15 | -------------------------------------------------------------------------------- /libs/libshout/patches/120-vorbis-c.patch: -------------------------------------------------------------------------------- 1 | --- a/src/vorbis.c 2 | +++ b/src/vorbis.c 3 | @@ -28,7 +28,7 @@ 4 | #endif 5 | #include 6 | 7 | -#include 8 | +#include 9 | 10 | #include "shout_private.h" 11 | #include "shout_ogg.h" 12 | -------------------------------------------------------------------------------- /libs/libsndfile/patches/001-automake-compat.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile.am 2 | +++ b/Makefile.am 3 | @@ -1,5 +1,7 @@ 4 | ## Process this file with automake to produce Makefile.in 5 | 6 | +ACLOCAL_AMFLAGS = -I M4 7 | + 8 | DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror 9 | 10 | if BUILD_OCTAVE_MOD 11 | -------------------------------------------------------------------------------- /libs/libtheora/patches/002-no_sdl_check.patch: -------------------------------------------------------------------------------- 1 | --- libtheora-1.1.1/configure.ac 2009-10-01 20:00:33.000000000 +0200 2 | +++ libtheora-1.1.1.new/configure.ac 2012-12-05 14:22:26.319523608 +0100 3 | @@ -313,11 +313,6 @@ 4 | dnl check for SDL 5 | HAVE_SDL=no 6 | 7 | -AM_PATH_SDL(,[ 8 | - HAVE_SDL=yes 9 | - SDL_LIBS=`$SDL_CONFIG --libs` 10 | -],AC_MSG_WARN([*** Unable to find SDL -- Not compiling example players ***])) 11 | - 12 | dnl check for OSS 13 | HAVE_OSS=no 14 | AC_CHECK_HEADERS([sys/soundcard.h soundcard.h machine/soundcard.h],[ 15 | -------------------------------------------------------------------------------- /libs/lttng-ust/patches/001-no_docs_tests.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile.am 2 | +++ b/Makefile.am 3 | @@ -20,8 +20,6 @@ if BUILD_JAVA_AGENT 4 | SUBDIRS += liblttng-ust-java-agent 5 | endif 6 | 7 | -SUBDIRS += tests doc 8 | - 9 | #temporarily disabled 10 | # liblttng-ust-malloc 11 | 12 | -------------------------------------------------------------------------------- /libs/mxml/patches/001-targets.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile.in 2 | +++ b/Makefile.in 3 | @@ -88,7 +88,7 @@ PUBLIBOBJS = mxml-attr.o mxml-entity.o m 4 | mxml-index.o mxml-node.o mxml-search.o mxml-set.o 5 | LIBOBJS = $(PUBLIBOBJS) mxml-private.o mxml-string.o 6 | OBJS = mxmldoc.o testmxml.o $(LIBOBJS) 7 | -TARGETS = $(LIBMXML) mxmldoc testmxml mxml.xml doc/mxml.man 8 | +TARGETS = $(LIBMXML) 9 | 10 | 11 | # 12 | -------------------------------------------------------------------------------- /libs/openldap/files/ldap.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2009-2011 OpenWrt.org 3 | 4 | START=60 5 | 6 | SERVICE_USE_PID=1 7 | 8 | start() { 9 | mkdir -m 0755 -p /var/openldap-data 10 | service_start /usr/sbin/slapd -h "ldap://localhost/ ldaps:///" 11 | } 12 | 13 | stop() { 14 | service_stop /usr/sbin/slapd 15 | } 16 | 17 | reload() { 18 | service_reload /usr/sbin/slapd 19 | } 20 | -------------------------------------------------------------------------------- /libs/p11-kit/files/opensc.module: -------------------------------------------------------------------------------- 1 | module: /usr/lib/opensc-pkcs11.so 2 | -------------------------------------------------------------------------------- /libs/postgresql/files/postgresql.config: -------------------------------------------------------------------------------- 1 | config postgresql config 2 | option PGUSER postgres 3 | option PGDATA /var/postgresql/data 4 | option PGLOG /var/postgresql/data/postgresql.log 5 | option PG_CTL /usr/bin/pg_ctl 6 | -------------------------------------------------------------------------------- /libs/postgresql/patches/200-ranlib.patch: -------------------------------------------------------------------------------- 1 | --- a/src/port/Makefile 2 | +++ b/src/port/Makefile 3 | @@ -53,6 +53,7 @@ uninstall: 4 | 5 | libpgport.a: $(OBJS) 6 | $(AR) $(AROPT) $@ $^ 7 | + $(RANLIB) libpgport.a 8 | 9 | # thread.o needs PTHREAD_CFLAGS (but thread_srv.o does not) 10 | thread.o: thread.c 11 | -------------------------------------------------------------------------------- /libs/postgresql/patches/800-busybox-default-pager.patch: -------------------------------------------------------------------------------- 1 | --- a/src/bin/psql/print.h 2 | +++ b/src/bin/psql/print.h 3 | @@ -171,10 +171,6 @@ extern void printQuery(const PGresult *r 4 | extern void setDecimalLocale(void); 5 | extern const printTextFormat *get_line_style(const printTableOpt *opt); 6 | 7 | -#ifndef __CYGWIN__ 8 | -#define DEFAULT_PAGER "more" 9 | -#else 10 | #define DEFAULT_PAGER "less" 11 | -#endif 12 | 13 | #endif /* PRINT_H */ 14 | -------------------------------------------------------------------------------- /libs/protobuf/patches/001-mipseb-compile.patch: -------------------------------------------------------------------------------- 1 | --- - 2015-05-19 16:27:29.770936016 +0200 2 | +++ protobuf-2.6.1/src/google/protobuf/stubs/platform_macros.h 2015-05-19 13:49:52.115444643 +0200 3 | @@ -55,7 +55,7 @@ 4 | #elif defined(__aarch64__) 5 | #define GOOGLE_PROTOBUF_ARCH_AARCH64 1 6 | #define GOOGLE_PROTOBUF_ARCH_64_BIT 1 7 | -#elif defined(__MIPSEL__) 8 | +#elif defined(__MIPSEL__) || defined(__MIPSEB__) 9 | #if defined(__LP64__) 10 | #define GOOGLE_PROTOBUF_ARCH_MIPS64 1 11 | #define GOOGLE_PROTOBUF_ARCH_64_BIT 1 12 | -------------------------------------------------------------------------------- /libs/protobuf/patches/003-mips2andHigher-compile.patch: -------------------------------------------------------------------------------- 1 | --- - 2015-05-19 16:29:09.614344473 +0200 2 | +++ protobuf-2.6.1/src/google/protobuf/stubs/atomicops_internals_mips_gcc.h 2015-05-19 13:49:52.127442746 +0200 3 | @@ -150,7 +150,7 @@ 4 | } 5 | 6 | inline void MemoryBarrier() { 7 | - __asm__ __volatile__("sync" : : : "memory"); 8 | + __asm__ __volatile__(".set mips2; sync; .set mips0" : : : "memory"); 9 | } 10 | 11 | inline void Acquire_Store(volatile Atomic32* ptr, Atomic32 value) { 12 | -------------------------------------------------------------------------------- /libs/pthsem/patches/001-linux3x-fix.patch: -------------------------------------------------------------------------------- 1 | --- pthsem-2.0.8/acinclude.m4 2 | +++ pthsem-2.0.8/acinclude.m4 3 | @@ -892,6 +892,8 @@ 4 | case "x`uname -r`" in 5 | changequote(, )dnl 6 | x2.[23456789]* ) ;; 7 | +changequote(, )dnl 8 | + x3.* ) ;; 9 | changequote([, ]) 10 | * ) braindead=yes ;; 11 | esac 12 | 13 | -------------------------------------------------------------------------------- /libs/tcp_wrappers/patches/002-opt_cflags.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile 2 | +++ b/Makefile 3 | @@ -689,7 +689,8 @@ SHLIBFLAGS = -Lshared -lwrap 4 | shared/%.o: %.c 5 | $(CC) $(CFLAGS) $(SHCFLAGS) -c $< -o $@ 6 | 7 | -CFLAGS = -O2 -g -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \ 8 | +OPT_CFLAGS = -O2 -g 9 | +CFLAGS = $(OPT_CFLAGS) -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \ 10 | $(BUGS) $(SYSTYPE) $(AUTH) $(UMASK) \ 11 | -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" $(STYLE) $(KILL_OPT) \ 12 | -DSEVERITY=$(SEVERITY) -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) \ 13 | -------------------------------------------------------------------------------- /libs/tcp_wrappers/patches/003-scaffold_malloc.patch: -------------------------------------------------------------------------------- 1 | --- a/scaffold.c 2 | +++ b/scaffold.c 3 | @@ -20,13 +20,12 @@ static char sccs_id[] = "@(#) scaffold.c 4 | #include 5 | #include 6 | #include 7 | +#include 8 | 9 | #ifndef INADDR_NONE 10 | #define INADDR_NONE (-1) /* XXX should be 0xffffffff */ 11 | #endif 12 | 13 | -extern char *malloc(); 14 | - 15 | /* Application-specific. */ 16 | 17 | #include "tcpd.h" 18 | -------------------------------------------------------------------------------- /libs/unixodbc/files/unixodbc_conf.h: -------------------------------------------------------------------------------- 1 | @ifndef HAVE_UNISTD_H 2 | @define HAVE_UNISTD_H 3 | @endif 4 | @ifndef HAVE_PWD_H 5 | @define HAVE_PWD_H 6 | @endif 7 | @ifndef HAVE_SYS_TYPES_H 8 | @define HAVE_SYS_TYPES_H 9 | @endif 10 | @ifndef HAVE_LONG_LONG 11 | @define HAVE_LONG_LONG 12 | @endif 13 | @ifndef ODBCINT64 14 | @define ODBCINT64 long 15 | @endif 16 | @ifndef UODBCINT64 17 | @define UODBCINT64 unsigned long 18 | @endif 19 | @ifndef SIZEOF_LONG_INT 20 | @define SIZEOF_LONG_INT __SIZEOF_LONG__ 21 | @endif 22 | -------------------------------------------------------------------------------- /libs/xmlrpc-c/patches/001-config.mk.in.patch: -------------------------------------------------------------------------------- 1 | --- a/config.mk.in 2 | +++ b/config.mk.in 3 | @@ -175,7 +175,7 @@ ifeq ($(patsubst linux-gnu%,linux-gnu,$( 4 | shlibfn = $(1:%=%.$(SHLIB_SUFFIX).$(MAJ).$(MIN)) 5 | shliblefn = $(1:%=%.$(SHLIB_SUFFIX)) 6 | # SHLIB_CLIB = -lc 7 | - LDFLAGS_SHLIB = -shared -Wl,-soname,$(SONAME) $(SHLIB_CLIB) 8 | + LDFLAGS_SHLIB = -shared -Wl,-soname,$(SONAME) $(SHLIB_CLIB) $(LDFLAGS) 9 | CFLAGS_SHLIB=-fPIC 10 | endif 11 | 12 | -------------------------------------------------------------------------------- /libs/xmlrpc-c/patches/002-automake-compat.patch: -------------------------------------------------------------------------------- 1 | --- a/configure.in 2 | +++ b/configure.in 3 | @@ -224,9 +224,7 @@ dnl Checks for programs. 4 | dnl ======================================================================= 5 | 6 | AC_PROG_CC 7 | -if test x"$enable_cplusplus" != xno; then 8 | - AC_PROG_CXX 9 | -fi 10 | +AC_PROG_CXX 11 | 12 | 13 | dnl ======================================================================= 14 | -------------------------------------------------------------------------------- /libs/zmq/patches/030-streamoff_missing_with_ulibc++.patch: -------------------------------------------------------------------------------- 1 | --- a/src/blob.hpp 2 | +++ b/src/blob.hpp 3 | @@ -21,6 +21,7 @@ 4 | #define __ZMQ_BLOB_HPP_INCLUDED__ 5 | 6 | #include 7 | +#include 8 | #include 9 | 10 | // Borrowed from id3lib_strings.h: 11 | -------------------------------------------------------------------------------- /mail/dovecot/files/dovecot.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006-2013 OpenWrt.org 3 | 4 | START=75 5 | STOP=75 6 | 7 | USE_PROCD=1 8 | 9 | start_service() { 10 | mkdir -p -m 0755 /var/lib/dovecot 11 | mkdir -p -m 0755 /var/run/dovecot 12 | chmod 0750 /var/lib/dovecot 13 | procd_open_instance 14 | procd_set_param command /usr/sbin/dovecot -F 15 | procd_close_instance 16 | } 17 | -------------------------------------------------------------------------------- /mail/fdm/Config.in: -------------------------------------------------------------------------------- 1 | menu "Configuration" 2 | depends on PACKAGE_fdm 3 | 4 | config FDM_WITH_PCRE 5 | bool 6 | default y 7 | select libpcre 8 | prompt "Enable PCRE support (elsewhere POSIX regex)" 9 | 10 | endmenu 11 | -------------------------------------------------------------------------------- /mail/fdm/patches/001-base64-fix.patch: -------------------------------------------------------------------------------- 1 | --- a/fdm.h 2011-10-10 17:36:29.000000000 +0400 2 | +++ b/fdm.h 2014-11-13 12:56:59.217083683 +0300 3 | @@ -719,6 +719,11 @@ 4 | size_t strlcat(char *, const char *, size_t); 5 | #endif 6 | 7 | +int local_b64_ntop(uint8_t const *src, size_t srclength, char *target, 8 | + size_t targsize); 9 | + 10 | +int local_b64_pton(char const *src, uint8_t *target, size_t targsize); 11 | + 12 | /* shm.c */ 13 | char *shm_path(struct shm *); 14 | void *shm_create(struct shm *, size_t); 15 | -------------------------------------------------------------------------------- /mail/mailman/files/mailman.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2014 OpenWrt.org 3 | 4 | START=50 5 | STOP=50 6 | 7 | PYTHON=/usr/bin/python 8 | MAILMANHOME=/usr/local/mailman 9 | MAILMANCTL=$MAILMANHOME/bin/mailmanctl 10 | 11 | start() { 12 | #rm -f $MAILMANHOME/locks/* 13 | $PYTHON $MAILMANCTL -s -q start 14 | } 15 | 16 | stop() { 17 | $PYTHON $MAILMANCTL -q stop 18 | } 19 | 20 | restart() { 21 | $PYTHON $MAILMANCTL -q restart 22 | } 23 | -------------------------------------------------------------------------------- /mail/mailman/patches/300-targetpython.patch: -------------------------------------------------------------------------------- 1 | diff -Naur mailman-2.1.18-1/configure mailman-2.1.18-1_patched/configure 2 | --- mailman-2.1.18-1/configure 2014-05-06 20:43:56.000000000 +0400 3 | +++ mailman-2.1.18-1_patched/configure 2014-11-04 15:02:32.892666331 +0300 4 | @@ -3927,6 +3927,8 @@ 5 | $as_echo "$URLHOST" >&6; } 6 | rm -f conftest.out conftest.py 7 | 8 | +PYTHON=/usr/bin/python 9 | + 10 | # Checks for libraries. 11 | 12 | for ac_func in strerror setregid syslog 13 | -------------------------------------------------------------------------------- /mail/nail/patches/100-handle-openssl-without-sslv2.patch: -------------------------------------------------------------------------------- 1 | --- a/openssl.c 2 | +++ b/openssl.c 3 | @@ -216,9 +216,12 @@ ssl_select_method(const char *uhp) 4 | 5 | cp = ssl_method_string(uhp); 6 | if (cp != NULL) { 7 | +#ifndef OPENSSL_NO_SSL2 8 | if (equal(cp, "ssl2")) 9 | method = SSLv2_client_method(); 10 | - else if (equal(cp, "ssl3")) 11 | + else 12 | +#endif 13 | + if (equal(cp, "ssl3")) 14 | method = SSLv3_client_method(); 15 | else if (equal(cp, "tls1")) 16 | method = TLSv1_client_method(); 17 | -------------------------------------------------------------------------------- /mail/postfix/patches/800-fmt.patch: -------------------------------------------------------------------------------- 1 | diff -Naur postfix-2.11.1/conf/post-install postfix-2.11.1.patched/conf/post-install 2 | --- postfix-2.11.1/conf/post-install 2014-10-05 20:43:58.597876946 +0400 3 | +++ postfix-2.11.1.patched/conf/post-install 2014-10-11 16:28:01.258874097 +0400 4 | @@ -319,7 +319,7 @@ 5 | case `uname -s` in 6 | HP-UX*) FMT=cat;; 7 | SunOS*) FMT=fake_fmt;; 8 | - *) FMT=fmt;; 9 | + *) FMT="xargs echo";; 10 | esac 11 | 12 | # If a parameter is not set via the command line or environment, 13 | -------------------------------------------------------------------------------- /multimedia/crtmpserver/patches/040-use-select.patch: -------------------------------------------------------------------------------- 1 | Index: crtmpserver-r726/builders/make/linux.mk 2 | =================================================================== 3 | --- crtmpserver-r726.orig/builders/make/linux.mk 4 | +++ crtmpserver-r726/builders/make/linux.mk 5 | @@ -38,7 +38,7 @@ dynamic_exec_flags = $(FPIC) $(OPTIMIZAT 6 | PLATFORM_DEFINES = \ 7 | -DLINUX \ 8 | -DLITTLE_ENDIAN_BYTE_ALIGNED \ 9 | - -DNET_EPOLL 10 | + -DNET_SELECT 11 | 12 | SSL_BASE=/usr/local 13 | 14 | -------------------------------------------------------------------------------- /multimedia/crtmpserver/patches/070-missing-include-gcc-47.patch: -------------------------------------------------------------------------------- 1 | --- a/3rdparty/tinyxml/tinyxml.h 2 | +++ b/3rdparty/tinyxml/tinyxml.h 3 | @@ -39,6 +39,7 @@ distribution. 4 | #include 5 | #include 6 | #include 7 | +#include "lstate.h" 8 | 9 | // Help out windows: 10 | #if defined( _DEBUG ) && !defined( DEBUG ) 11 | -------------------------------------------------------------------------------- /multimedia/gst1-plugins-good/patches/001-no_docs.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile.am 2 | +++ b/Makefile.am 3 | @@ -3,7 +3,6 @@ DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-d 4 | ALWAYS_SUBDIRS = \ 5 | gst sys ext \ 6 | tests \ 7 | - docs \ 8 | po \ 9 | common \ 10 | m4 \ 11 | --- a/Makefile.in 12 | +++ b/Makefile.in 13 | @@ -571,7 +571,6 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk 14 | ALWAYS_SUBDIRS = \ 15 | gst sys ext \ 16 | tests \ 17 | - docs \ 18 | po \ 19 | common \ 20 | m4 \ 21 | -------------------------------------------------------------------------------- /multimedia/gst1-plugins-good/patches/002-no_tests.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile.am 2 | +++ b/Makefile.am 3 | @@ -2,7 +2,6 @@ DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-d 4 | 5 | ALWAYS_SUBDIRS = \ 6 | gst sys ext \ 7 | - tests \ 8 | po \ 9 | common \ 10 | m4 \ 11 | --- a/Makefile.in 12 | +++ b/Makefile.in 13 | @@ -570,7 +570,6 @@ top_srcdir = @top_srcdir@ 14 | DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc 15 | ALWAYS_SUBDIRS = \ 16 | gst sys ext \ 17 | - tests \ 18 | po \ 19 | common \ 20 | m4 \ 21 | -------------------------------------------------------------------------------- /multimedia/icecast/files/icecast.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Example script 3 | # Copyright (C) 2014 OpenWrt.org 4 | 5 | USE_PROCD=1 6 | START=99 7 | STOP=15 8 | 9 | start_service() { 10 | procd_open_instance 11 | procd_set_param command /usr/bin/icecast -c /etc/icecast.xml 12 | procd_set_param respawn 13 | procd_close_instance 14 | } 15 | -------------------------------------------------------------------------------- /multimedia/icecast/patches/010-fix_libcurl_test_crap.patch: -------------------------------------------------------------------------------- 1 | --- a/m4/xiph_curl.m4 2 | +++ b/m4/xiph_curl.m4 3 | @@ -52,7 +52,7 @@ AC_CHECK_HEADERS([curl/curl.h],, curl_ok 4 | AC_MSG_CHECKING(for libcurl) 5 | if test "$curl_ok" = "yes" 6 | then 7 | - AC_RUN_IFELSE(AC_LANG_SOURCE([ 8 | + AC_COMPILE_IFELSE(AC_LANG_SOURCE([ 9 | #include 10 | int main() 11 | { 12 | -------------------------------------------------------------------------------- /multimedia/minidlna/patches/010-libav-fix.patch: -------------------------------------------------------------------------------- 1 | --- a/libav.h 2 | +++ b/libav.h 3 | @@ -167,7 +167,7 @@ 4 | static inline int 5 | lav_is_thumbnail_stream(AVStream *s, uint8_t **data, int *size) 6 | { 7 | -#if LIBAVFORMAT_VERSION_INT >= ((54<<16)+(6<<8)) 8 | +/*if LIBAVFORMAT_VERSION_INT >= ((54<<16)+(6<<8)) 9 | if (s->disposition & AV_DISPOSITION_ATTACHED_PIC && 10 | s->codec->codec_id == AV_CODEC_ID_MJPEG) 11 | { 12 | @@ -177,6 +177,6 @@ 13 | *size = s->attached_pic.size; 14 | return 1; 15 | } 16 | -#endif 17 | +endif*/ 18 | return 0; 19 | } 20 | -------------------------------------------------------------------------------- /multimedia/mjpg-streamer/files/mjpg-streamer.config: -------------------------------------------------------------------------------- 1 | 2 | config mjpg-streamer 'core' 3 | option enabled '0' 4 | option input 'uvc' 5 | option output 'http' 6 | option device '/dev/video0' 7 | option resolution '640x480' 8 | option yuv '0' 9 | option quality '80' 10 | option fps '5' 11 | option led 'auto' 12 | option www '/www/webcam' 13 | option port '8080' 14 | option username 'openwrt' 15 | option password 'openwrt' 16 | -------------------------------------------------------------------------------- /multimedia/mjpg-streamer/files/mjpg-streamer.hotplug: -------------------------------------------------------------------------------- 1 | case "$ACTION" in 2 | add) 3 | # start process 4 | /etc/init.d/mjpg-streamer start 5 | ;; 6 | remove) 7 | # stop process 8 | /etc/init.d/mjpg-streamer stop 9 | ;; 10 | esac 11 | -------------------------------------------------------------------------------- /multimedia/mjpg-streamer/patches/005-musl_compatibility.patch: -------------------------------------------------------------------------------- 1 | --- a/mjpg_streamer.h 2 | +++ b/mjpg_streamer.h 3 | @@ -29,6 +29,10 @@ 4 | #define MAX_OUTPUT_PLUGINS 10 5 | #define MAX_PLUGIN_ARGUMENTS 32 6 | 7 | +#define __NEED_pthread_t 8 | +#define __NEED_pthread_mutex_t 9 | +#define __NEED_pthread_cond_t 10 | + 11 | #include /* for videodev2.h */ 12 | #include 13 | 14 | -------------------------------------------------------------------------------- /multimedia/mjpg-streamer/patches/030-allow_16_char_device_names.patch: -------------------------------------------------------------------------------- 1 | --- a/plugins/input_uvc/v4l2uvc.c 2 | +++ b/plugins/input_uvc/v4l2uvc.c 3 | @@ -69,7 +69,7 @@ int init_videoIn(struct vdIn *vd, char * 4 | vd->videodevice = (char *) calloc(1, 16 * sizeof(char)); 5 | vd->status = (char *) calloc(1, 100 * sizeof(char)); 6 | vd->pictName = (char *) calloc(1, 80 * sizeof(char)); 7 | - snprintf(vd->videodevice, 12, "%s", device); 8 | + snprintf(vd->videodevice, 16, "%s", device); 9 | vd->toggleAvi = 0; 10 | vd->getPict = 0; 11 | vd->signalquit = 1; 12 | -------------------------------------------------------------------------------- /multimedia/tvheadend/Config.in: -------------------------------------------------------------------------------- 1 | config TVHEADEND_CWC_SUPPORT 2 | bool "NewCamd support" 3 | default y 4 | 5 | config TVHEADEND_LINUXDVB_SUPPORT 6 | bool "Linux DVB support" 7 | default y 8 | 9 | config TVHEADEND_DVBSCAN_SUPPORT 10 | bool "Fetch DVB-scan data" 11 | depends on TVHEADEND_LINUXDVB_SUPPORT 12 | default TVHEADEND_LINUXDVB_SUPPORT 13 | 14 | config TVHEADEND_AVAHI_SUPPORT 15 | bool "Avahi client support" 16 | select PACKAGE_libavahi-client 17 | default n 18 | -------------------------------------------------------------------------------- /multimedia/tvheadend/files/tvheadend.config: -------------------------------------------------------------------------------- 1 | #config tvheadend service 2 | # option nosyslog '0' 3 | # option use_temp_epgdb '0' 4 | # option config_path '/etc/tvheadend' 5 | 6 | config tvheadend server 7 | option ipv6 '1' 8 | # option bindaddr '0.0.0.0' 9 | # option http_port '9981' 10 | # option http_root '/tvheadend' 11 | # option htsp_port '9982' 12 | # option htsp_port2 '9983' 13 | # option xspf '0' 14 | -------------------------------------------------------------------------------- /multimedia/xupnpd/files/xupnpd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2013-2014 OpenWrt.org 3 | 4 | START=50 5 | USE_PROCD=1 6 | 7 | start_service() { 8 | procd_open_instance 9 | 10 | procd_set_param command /usr/bin/xupnpd 11 | procd_append_param command -d /usr/share/xupnpd 12 | 13 | procd_set_param respawn 14 | procd_close_instance 15 | } 16 | -------------------------------------------------------------------------------- /multimedia/xupnpd/patches/100-default_config.patch: -------------------------------------------------------------------------------- 1 | --- a/xupnpd.lua 2 | +++ b/xupnpd.lua 3 | @@ -1,10 +1,10 @@ 4 | cfg={} 5 | 6 | -- multicast interface for SSDP exchange, 'eth0', 'br0', 'br-lan' for example 7 | -cfg.ssdp_interface='lo' 8 | +cfg.ssdp_interface='br-lan' 9 | 10 | -- 'cfg.ssdp_loop' enables multicast loop (if player and server in one host) 11 | -cfg.ssdp_loop=1 12 | +cfg.ssdp_loop=0 13 | 14 | -- SSDP announcement interval 15 | cfg.ssdp_notify_interval=15 16 | -------------------------------------------------------------------------------- /net/apache/patches/001-Makefile_in.patch: -------------------------------------------------------------------------------- 1 | --- a/server/Makefile.in 2 | +++ b/server/Makefile.in 3 | @@ -26,7 +26,10 @@ gen_test_char: $(gen_test_char_OBJECTS) 4 | $(LINK) $(EXTRA_LDFLAGS) $(gen_test_char_OBJECTS) $(EXTRA_LIBS) 5 | 6 | test_char.h: gen_test_char 7 | - ./gen_test_char > test_char.h 8 | + true 9 | +# ./gen_test_char > test_char.h 10 | +# doesn't matter if you run it on the buildhost or on an wl500gd, 11 | +# same output on both, so i just patched in the test_char.h :). 12 | 13 | util.lo: test_char.h 14 | 15 | -------------------------------------------------------------------------------- /net/apache/patches/004-pidfile_fix.patch: -------------------------------------------------------------------------------- 1 | --- a/include/scoreboard.h 2 | +++ b/include/scoreboard.h 3 | @@ -42,7 +42,7 @@ extern "C" { 4 | 5 | /* Scoreboard file, if there is one */ 6 | #ifndef DEFAULT_SCOREBOARD 7 | -#define DEFAULT_SCOREBOARD "logs/apache_runtime_status" 8 | +#define DEFAULT_SCOREBOARD "log/apache_runtime_status" 9 | #endif 10 | 11 | /* Scoreboard info on a process is, for now, kept very brief --- 12 | -------------------------------------------------------------------------------- /net/apcupsd/files/apcupsd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006 OpenWrt.org 3 | START=50 4 | STOP=50 5 | 6 | start() { 7 | /usr/sbin/apcupsd -f /etc/apcupsd/apcupsd.conf 8 | } 9 | 10 | stop() { 11 | kill $(cat /var/run/apcupsd.pid) 12 | } 13 | -------------------------------------------------------------------------------- /net/apcupsd/files/apcupsd_mail.conf: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | MAILPROG="/usr/sbin/smtp" 4 | MAILHOST="mail:25" 5 | FROM="OpenWrt" 6 | TO="apcups@example.com" 7 | HOSTNAME="OpenWrt" 8 | -------------------------------------------------------------------------------- /net/apcupsd/files/changeme: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # This shell script if placed in /etc/apcupsd 4 | # will be called by /etc/apcupsd/apccontrol when apcupsd 5 | # detects that the battery should be replaced. 6 | # We send an email message to root to notify him. 7 | # 8 | . /etc/apcupsd/apcupsd_mail.conf 9 | 10 | MSG="$HOSTNAME UPS battery needs changing NOW." 11 | # 12 | ( 13 | echo "$MSG" 14 | echo " " 15 | /usr/sbin/apcaccess status 16 | ) | $MAILPROG -h $MAILHOST -f $FROM -s "$MSG" $TO 17 | exit 0 18 | -------------------------------------------------------------------------------- /net/apcupsd/files/commfailure: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # This shell script if placed in /etc/apcupsd 4 | # will be called by /etc/apcupsd/apccontrol when apcupsd 5 | # loses contact with the UPS (i.e. the serial connection is not responding). 6 | # We send an email message to root to notify him. 7 | # 8 | . /etc/apcupsd/apcupsd_mail.conf 9 | 10 | MSG="$HOSTNAME Communications with UPS lost" 11 | # 12 | ( 13 | echo "$MSG" 14 | echo " " 15 | /usr/sbin/apcaccess status 16 | ) | $MAILPROG -h $MAILHOST -f $FROM -s "$MSG" $TO 17 | exit 0 18 | -------------------------------------------------------------------------------- /net/apcupsd/files/commok: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # This shell script if placed in /etc/apcupsd 4 | # will be called by /etc/apcupsd/apccontrol when apcupsd 5 | # restores contact with the UPS (i.e. the serial connection is restored). 6 | # We send an email message to root to notify him. 7 | # 8 | . /etc/apcupsd/apcupsd_mail.conf 9 | 10 | MSG="$HOSTNAME Communications with UPS restored" 11 | # 12 | ( 13 | echo "$MSG" 14 | echo " " 15 | /usr/sbin/apcaccess status 16 | ) | $MAILPROG -h $MAILHOST -f $FROM -s "$MSG" $TO 17 | exit 0 18 | -------------------------------------------------------------------------------- /net/apcupsd/files/offbattery: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # This shell script if placed in /etc/apcupsd 4 | # will be called by /etc/apcupsd/apccontrol when apcupsd 5 | # restores contact with the UPS (i.e. the serial connection is restored). 6 | # We send an email message to root to notify him. 7 | # 8 | . /etc/apcupsd/apcupsd_mail.conf 9 | 10 | MSG="$HOSTNAME Communications with UPS restored" 11 | # 12 | ( 13 | echo "$MSG" 14 | echo " " 15 | /usr/sbin/apcaccess status 16 | ) | $MAILPROG -h $MAILHOST -f $FROM -s "$MSG" $TO 17 | exit 0 18 | -------------------------------------------------------------------------------- /net/apcupsd/files/onbattery: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # This shell script if placed in /etc/apcupsd 4 | # will be called by /etc/apcupsd/apccontrol when the UPS 5 | # goes on batteries. 6 | # We send an email message to root to notify him. 7 | # 8 | . /etc/apcupsd/apcupsd_mail.conf 9 | 10 | MSG="$HOSTNAME Power Failure !!!" 11 | # 12 | ( 13 | echo "$MSG" 14 | echo " " 15 | /usr/sbin/apcaccess status 16 | ) | $MAILPROG -h $MAILHOST -f $FROM -s "$MSG" $TO 17 | exit 0 18 | -------------------------------------------------------------------------------- /net/apcupsd/patches/010-fix-usb.patch: -------------------------------------------------------------------------------- 1 | --- a/include/libusb.h.in.orig 2015-02-21 18:53:51.023682068 +0100 2 | +++ a/include/libusb.h.in 2015-02-21 18:54:14.722788757 +0100 3 | @@ -6,4 +6,4 @@ 4 | * path at configure time and various apcupsd bits include this 5 | * when they need libusb's usb.h. 6 | */ 7 | -#include "@LIBUSBH@" 8 | +#include "usb.h" 9 | -------------------------------------------------------------------------------- /net/apinger/files/apinger.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006-2011 OpenWrt.org 3 | 4 | START=80 5 | 6 | SERVICE_USE_PID=1 7 | 8 | start() { 9 | service_start /usr/sbin/apinger 10 | } 11 | 12 | stop() { 13 | service_stop /usr/sbin/apinger 14 | } 15 | 16 | reload() { 17 | service_reload /usr/sbin/apinger 18 | } 19 | -------------------------------------------------------------------------------- /net/apinger/patches/002-run_as_user.patch: -------------------------------------------------------------------------------- 1 | --- apinger-0.6.1/src/apinger.conf.orig 2015-04-08 16:05:24.558919722 +0000 2 | +++ apinger-0.6.1/src/apinger.conf 2015-04-08 16:07:47.089170236 +0000 3 | @@ -9,7 +9,7 @@ 4 | 5 | ## User and group the pinger should run as 6 | user "nobody" 7 | -group "nobody" 8 | +group "nogroup" 9 | 10 | ## Mailer to use (default: "/usr/lib/sendmail -t") 11 | #mailer "/var/qmail/bin/qmail-inject" 12 | -------------------------------------------------------------------------------- /net/apinger/patches/003-no_docs.patch: -------------------------------------------------------------------------------- 1 | --- apinger-0.6.1/Makefile.am.orig 2015-04-08 16:47:40.999990050 +0000 2 | +++ apinger-0.6.1/Makefile.am 2015-04-08 16:48:07.565220137 +0000 3 | @@ -1,7 +1,7 @@ 4 | 5 | EXTRA_DIST = autogen.sh TODO BUGS 6 | 7 | -SUBDIRS = src doc 8 | +SUBDIRS = src 9 | 10 | .PHONY: ChangeLog 11 | 12 | -------------------------------------------------------------------------------- /net/aria2/Config.in: -------------------------------------------------------------------------------- 1 | menu "Aria2 configuration" 2 | depends on PACKAGE_aria2 3 | 4 | choice 5 | prompt "SSL library" 6 | default ARIA2_OPENSSL 7 | 8 | config ARIA2_OPENSSL 9 | bool "OpenSSL" 10 | 11 | config ARIA2_GNUTLS 12 | bool "GNUTLS" 13 | 14 | config ARIA2_NOSSL 15 | bool "No SSL support" 16 | 17 | endchoice 18 | 19 | config ARIA2_BITTORRENT 20 | bool "Enable bittorrent support" 21 | depends on ARIA2_OPENSSL 22 | default n 23 | 24 | config ARIA2_METALINK 25 | bool "Enable metalink support" 26 | default N 27 | 28 | endmenu 29 | -------------------------------------------------------------------------------- /net/bcp38/files/bcp38.defaults: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOT 4 | delete firewall.bcp38 5 | set firewall.bcp38=include 6 | set firewall.bcp38.type=script 7 | set firewall.bcp38.path=/usr/lib/bcp38/run.sh 8 | set firewall.bcp38.family=IPv4 9 | set firewall.bcp38.reload=1 10 | commit firewall 11 | EOT 12 | 13 | exit 0 14 | -------------------------------------------------------------------------------- /net/bind/files/bind/db.0: -------------------------------------------------------------------------------- 1 | ; 2 | ; BIND reverse data file for broadcast zone 3 | ; 4 | $TTL 604800 5 | @ IN SOA localhost. root.localhost. ( 6 | 1 ; Serial 7 | 604800 ; Refresh 8 | 86400 ; Retry 9 | 2419200 ; Expire 10 | 604800 ) ; Negative Cache TTL 11 | ; 12 | @ IN NS localhost. 13 | -------------------------------------------------------------------------------- /net/bind/files/bind/db.127: -------------------------------------------------------------------------------- 1 | ; 2 | ; BIND reverse data file for local loopback interface 3 | ; 4 | $TTL 604800 5 | @ IN SOA localhost. root.localhost. ( 6 | 1 ; Serial 7 | 604800 ; Refresh 8 | 86400 ; Retry 9 | 2419200 ; Expire 10 | 604800 ) ; Negative Cache TTL 11 | ; 12 | @ IN NS localhost. 13 | 1.0.0 IN PTR localhost. 14 | -------------------------------------------------------------------------------- /net/bind/files/bind/db.255: -------------------------------------------------------------------------------- 1 | ; 2 | ; BIND reverse data file for broadcast zone 3 | ; 4 | $TTL 604800 5 | @ IN SOA localhost. root.localhost. ( 6 | 1 ; Serial 7 | 604800 ; Refresh 8 | 86400 ; Retry 9 | 2419200 ; Expire 10 | 604800 ) ; Negative Cache TTL 11 | ; 12 | @ IN NS localhost. 13 | -------------------------------------------------------------------------------- /net/bind/files/bind/db.local: -------------------------------------------------------------------------------- 1 | ; 2 | ; BIND data file for local loopback interface 3 | ; 4 | $TTL 604800 5 | @ IN SOA localhost. root.localhost. ( 6 | 1 ; Serial 7 | 604800 ; Refresh 8 | 86400 ; Retry 9 | 2419200 ; Expire 10 | 604800 ) ; Negative Cache TTL 11 | ; 12 | @ IN NS localhost. 13 | @ IN A 127.0.0.1 14 | -------------------------------------------------------------------------------- /net/bridge-utils/patches/001-libbridge_cflags.patch: -------------------------------------------------------------------------------- 1 | --- a/libbridge/Makefile.in 2 | +++ b/libbridge/Makefile.in 3 | @@ -5,7 +5,7 @@ AR=ar 4 | RANLIB=@RANLIB@ 5 | 6 | CC=@CC@ 7 | -CFLAGS = -Wall -g $(KERNEL_HEADERS) 8 | +CFLAGS = -Wall -g @CFLAGS@ $(KERNEL_HEADERS) 9 | 10 | prefix=@prefix@ 11 | exec_prefix=@exec_prefix@ 12 | -------------------------------------------------------------------------------- /net/bridge-utils/patches/010-fix_struct_in6_addr_usage.patch: -------------------------------------------------------------------------------- 1 | --- a/libbridge/libbridge.h 2 | +++ b/libbridge/libbridge.h 3 | @@ -20,6 +20,7 @@ 4 | #define _LIBBRIDGE_H 5 | 6 | #include 7 | +#include 8 | #include 9 | #include 10 | 11 | -------------------------------------------------------------------------------- /net/bridge-utils/patches/100-musl-compat.patch: -------------------------------------------------------------------------------- 1 | --- a/libbridge/libbridge.h 2 | +++ b/libbridge/libbridge.h 3 | @@ -19,6 +19,8 @@ 4 | #ifndef _LIBBRIDGE_H 5 | #define _LIBBRIDGE_H 6 | 7 | +#include 8 | +#include 9 | #include 10 | #include 11 | #include 12 | -------------------------------------------------------------------------------- /net/clamav/files/bytecode.cvd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wifidog/packages/2f32b672739ef0faaebccb5e3da05f255a811c94/net/clamav/files/bytecode.cvd -------------------------------------------------------------------------------- /net/clamav/files/freshclam.config: -------------------------------------------------------------------------------- 1 | config freshclam 'freshclam' 2 | option freshclam_config_file '/etc/clamav/freshclam.conf' 3 | option UpdateLogFile '/tmp/freshclam.log' 4 | option DatabaseMirror 'database.clamav.net' 5 | option NotifyClamd '/etc/clamav/clamd.conf' 6 | option DatabaseOwner 'root' 7 | option CompressLocalDatabase 'yes' 8 | -------------------------------------------------------------------------------- /net/clamav/patches/001-compile.patch: -------------------------------------------------------------------------------- 1 | --- a/clamdscan/proto.c 2 | +++ b/clamdscan/proto.c 3 | @@ -55,6 +55,7 @@ 4 | #include "shared/misc.h" 5 | #include "shared/clamdcom.h" 6 | 7 | +#include 8 | #include "proto.h" 9 | #include "client.h" 10 | 11 | -------------------------------------------------------------------------------- /net/coova-chilli/files/chilli.hotplug: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | [ "$ACTION" == "ifup" ] || exit 0 4 | 5 | [ "$INTERFACE" = "wan" ] && { 6 | /etc/init.d/chilli restart 7 | } 8 | -------------------------------------------------------------------------------- /net/ctorrent-svn/patches/300-negative.patch: -------------------------------------------------------------------------------- 1 | diff --git a/bencode.cpp b/bencode.cpp 2 | index fef82ba..b7f14bc 100644 3 | --- a/bencode.cpp 4 | +++ b/bencode.cpp 5 | @@ -45,6 +45,9 @@ size_t buf_int(const char *b, size_t len, char beginchar, char endchar, 6 | p++; 7 | len--; 8 | } 9 | + if( *p == '-'){ 10 | + p++; len--; 11 | + } 12 | 13 | for( psave = p; len && isdigit(*p); p++, len-- ); 14 | 15 | -------------------------------------------------------------------------------- /net/ctorrent-svn/patches/400-musl-compat.patch: -------------------------------------------------------------------------------- 1 | --- a/compat.c 2 | +++ b/compat.c 3 | @@ -51,6 +51,7 @@ int snprintf(char *str, size_t size, con 4 | 5 | #ifndef HAVE_STRNSTR 6 | #include 7 | +#include 8 | /* FUNCTION PROGRAMER: Siberiaic Sang */ 9 | char *strnstr(const char *haystack, const char *needle, size_t haystacklen) 10 | { 11 | -------------------------------------------------------------------------------- /net/ctorrent/patches/100-negative-ints.patch: -------------------------------------------------------------------------------- 1 | --- a/bencode.cpp 2 | +++ b/bencode.cpp 3 | @@ -44,6 +44,10 @@ size_t buf_long(const char *b,size_t len 4 | p++; len--; 5 | } 6 | 7 | + if( *p == '-'){ 8 | + p++; len--; 9 | + } 10 | + 11 | for(psave = p; len && isdigit(*p); p++,len--) ; 12 | 13 | if(!len || MAX_INT_SIZ < (p - psave) || *p != endchar) return 0; 14 | -------------------------------------------------------------------------------- /net/ctorrent/patches/200-musl-compat.patch: -------------------------------------------------------------------------------- 1 | --- a/compat.c 2 | +++ b/compat.c 3 | @@ -63,6 +63,7 @@ int snprintf(char *str, size_t size, con 4 | 5 | #ifndef HAVE_STRNSTR 6 | #include 7 | +#include 8 | /* FUNCTION PROGRAMER: Siberiaic Sang */ 9 | char *strnstr(const char *haystack, const char *needle, size_t haystacklen) 10 | { 11 | -------------------------------------------------------------------------------- /net/davfs2/files/davfs2.conf: -------------------------------------------------------------------------------- 1 | # 2 | # davfs2 configuration file 3 | # please see http://linux.die.net/man/5/davfs2.conf for details 4 | # 5 | 6 | dav_user nobody 7 | dav_group nogroup 8 | cache_dir /tmp/davfs2 9 | cache_size 4 10 | -------------------------------------------------------------------------------- /net/ddns-scripts/files/ddns.hotplug: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # there are other ACTIONs like ifupdate we don't need 4 | # so parse dynamic_dns_functions.sh only when needed 5 | case "$ACTION" in 6 | ifup) 7 | . /usr/lib/ddns/dynamic_dns_functions.sh 8 | /etc/init.d/ddns enabled && start_daemon_for_all_ddns_sections "$INTERFACE" 9 | ;; 10 | ifdown) 11 | . /usr/lib/ddns/dynamic_dns_functions.sh 12 | stop_daemon_for_all_ddns_sections "$INTERFACE" 13 | ;; 14 | esac 15 | -------------------------------------------------------------------------------- /net/ddns-scripts/files/ddns.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | START=95 3 | STOP=10 4 | 5 | boot() { 6 | return 0 7 | } 8 | 9 | reload() { 10 | killall -1 dynamic_dns_updater.sh 2>/dev/null # send SIGHUP 11 | return 0 12 | } 13 | 14 | restart() { 15 | stop 16 | sleep 1 # give time to shutdown 17 | start 18 | } 19 | 20 | start() { 21 | . /usr/lib/ddns/dynamic_dns_functions.sh 22 | start_daemon_for_all_ddns_sections 23 | } 24 | 25 | stop() { 26 | killall dynamic_dns_updater.sh 2>/dev/null 27 | return 0 # if killall fails, ignore 28 | } 29 | -------------------------------------------------------------------------------- /net/dhcpcd/files/dhcpcd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # 3 | # Copyright (C) 2014 OpenWrt.org 4 | # 5 | # This is free software, licensed under the GNU General Public License v2. 6 | # See /LICENSE for more information. 7 | # 8 | 9 | START=30 10 | STOP=85 11 | USE_PROCD=1 12 | 13 | start_service() 14 | { 15 | procd_open_instance 16 | procd_set_param command /sbin/dhcpcd -B 17 | procd_set_param respawn 18 | procd_close_instance 19 | } 20 | 21 | reload_service() 22 | { 23 | /sbin/dhcpcd -n 24 | } 25 | -------------------------------------------------------------------------------- /net/dmapd/patches/001-dmapd_conf.patch: -------------------------------------------------------------------------------- 1 | --- a/distro/dmapd.conf 2 | +++ b/distro/dmapd.conf 3 | @@ -3,7 +3,7 @@ 4 | Database-Dir=/var/db/dmapd 5 | 6 | # Name that will be used to identify share: 7 | -Share-Name=dmapd 8 | +Share-Name=OpenWrt 9 | 10 | # User that dmapd will run as, current user if undefined: 11 | User=dmapd 12 | -------------------------------------------------------------------------------- /net/dnscrypt-proxy/files/dnscrypt-proxy.config: -------------------------------------------------------------------------------- 1 | config dnscrypt-proxy 2 | option address '127.0.0.1' 3 | option port '5353' 4 | # option resolver 'cisco' 5 | # option resolvers_list '/usr/share/dnscrypt-proxy/dnscrypt-resolvers.csv' 6 | # option ephemeral_keys '1' 7 | # more details at https://github.com/jedisct1/dnscrypt-proxy#public-key-client-authentication 8 | # option client_key '' 9 | -------------------------------------------------------------------------------- /net/etherwake/patches/120-musl-compat.patch: -------------------------------------------------------------------------------- 1 | --- a/ether-wake.c 2 | +++ b/ether-wake.c 3 | @@ -82,14 +82,8 @@ static char usage_msg[] = 4 | #include 5 | 6 | #include 7 | -#if __GLIBC__ >= 2 && __GLIBC_MINOR >= 1 8 | #include 9 | #include 10 | -#else 11 | -#include 12 | -#include 13 | -#include 14 | -#endif 15 | #include 16 | #include 17 | 18 | -------------------------------------------------------------------------------- /net/ethtool/Config.in: -------------------------------------------------------------------------------- 1 | menu "Configuration" 2 | depends on PACKAGE_ethtool 3 | 4 | config ETHTOOL_PRETTY_DUMP 5 | bool "Enable pretty printing" 6 | 7 | endmenu 8 | -------------------------------------------------------------------------------- /net/fakeidentd/files/fakeidentd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006-2012 OpenWrt.org 3 | 4 | START=85 5 | 6 | start() { 7 | service_start /usr/sbin/fakeidentd -r 8 | } 9 | 10 | stop() { 11 | service_stop /usr/sbin/fakeidentd 12 | } 13 | -------------------------------------------------------------------------------- /net/fastd/files/fastd.upgrade: -------------------------------------------------------------------------------- 1 | /etc/fastd/ 2 | -------------------------------------------------------------------------------- /net/freeradius2/Config.in: -------------------------------------------------------------------------------- 1 | # FreeRADIUS avanced configuration 2 | 3 | choice 4 | prompt "SSL library" 5 | default FREERADIUS_OPENSSL 6 | depends on PACKAGE_freeradius2-common 7 | 8 | config FREERADIUS_NOSSL 9 | bool "No SSL support" 10 | 11 | config FREERADIUS_OPENSSL 12 | bool "OpenSSL" 13 | 14 | endchoice 15 | -------------------------------------------------------------------------------- /net/freeradius2/files/radiusd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006 OpenWrt.org 3 | START=50 4 | 5 | DEFAULT=/etc/default/radiusd 6 | LOG_D=/var/log 7 | RUN_D=/var/run 8 | PID_F=$RUN_D/radiusd.pid 9 | RADACCT_D=/var/db/radacct 10 | IPADDR=$(ifconfig br-lan | sed -n 's/.*dr:\(.*\)Bc.*/\1/p') 11 | 12 | start() { 13 | [ -f $DEFAULT ] && . $DEFAULT 14 | mkdir -p $LOG_D 15 | mkdir -p $RUN_D 16 | mkdir -p $RADACCT_D 17 | radiusd -i $IPADDR -p 1812,1813 $OPTIONS 18 | } 19 | 20 | stop() { 21 | [ -f $PID_F ] && kill $(cat $PID_F) 22 | } 23 | -------------------------------------------------------------------------------- /net/freeradius2/patches/001-fix-makefile.patch: -------------------------------------------------------------------------------- 1 | Index: freeradius-server-2.2.7/Make.inc.in 2 | =================================================================== 3 | --- freeradius-server-2.2.7.orig/Make.inc.in 4 | +++ freeradius-server-2.2.7/Make.inc.in 5 | @@ -5,6 +5,7 @@ 6 | # 7 | 8 | # Location of files. 9 | +SHELL = @SHELL@ 10 | prefix = @prefix@ 11 | exec_prefix = @exec_prefix@ 12 | sysconfdir = @sysconfdir@ 13 | -------------------------------------------------------------------------------- /net/fwknop/Config.in: -------------------------------------------------------------------------------- 1 | #fwknop config 2 | menu "Configuration" 3 | depends on PACKAGE_fwknopd 4 | 5 | config FWKNOPD_GPG 6 | bool "Enable GPG support" 7 | select PACKAGE_gnupg 8 | default n 9 | 10 | 11 | 12 | endmenu 13 | -------------------------------------------------------------------------------- /net/fwknop/files/fwknopd: -------------------------------------------------------------------------------- 1 | config global 2 | # option uci_enabled '1' 3 | 4 | config access 5 | option SOURCE 'ANY' 6 | option HMAC_KEY 'CHANGEME' 7 | option KEY 'CHANGEME' 8 | 9 | config config 10 | -------------------------------------------------------------------------------- /net/git/patches/200-disable_fasthash.patch: -------------------------------------------------------------------------------- 1 | --- a/config.mak.uname 2 | +++ b/config.mak.uname 3 | @@ -17,9 +17,6 @@ endif 4 | # because maintaining the nesting to match is a pain. If 5 | # we had "elif" things would have been much nicer... 6 | 7 | -ifeq ($(uname_M),x86_64) 8 | - XDL_FAST_HASH = YesPlease 9 | -endif 10 | ifeq ($(uname_S),OSF1) 11 | # Need this for u_short definitions et al 12 | BASIC_CFLAGS += -D_OSF_SOURCE 13 | -------------------------------------------------------------------------------- /net/git/patches/400-imapsend_without_curl.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile 2 | +++ b/Makefile 3 | @@ -1058,7 +1058,7 @@ else 4 | endif 5 | curl_check := $(shell (echo 072200; curl-config --vernum | sed -e '/^70[BC]/s/^/0/') 2>/dev/null | sort -r | sed -ne 2p) 6 | ifeq "$(curl_check)" "072200" 7 | - USE_CURL_FOR_IMAP_SEND = YesPlease 8 | +# USE_CURL_FOR_IMAP_SEND = YesPlease 9 | endif 10 | ifdef USE_CURL_FOR_IMAP_SEND 11 | BASIC_CFLAGS += -DUSE_CURL_FOR_IMAP_SEND 12 | -------------------------------------------------------------------------------- /net/gnunet/files/gnunet.upgrade: -------------------------------------------------------------------------------- 1 | /etc/gnunet 2 | -------------------------------------------------------------------------------- /net/gnurl/patches/100-check_long_long.patch: -------------------------------------------------------------------------------- 1 | --- a/configure.ac 2 | +++ b/configure.ac 3 | @@ -2879,6 +2879,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 | -------------------------------------------------------------------------------- /net/haproxy/files/haproxy.hotplug: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ "$ACTION" = add ]; then 4 | 5 | /etc/init.d/haproxy enabled && \ 6 | /etc/init.d/haproxy start 7 | fi 8 | 9 | -------------------------------------------------------------------------------- /net/iodine/files/iodined.config: -------------------------------------------------------------------------------- 1 | config iodined 2 | option address '' 3 | option password '' 4 | option tunnelip '10.0.0.1' 5 | option tld '' 6 | -------------------------------------------------------------------------------- /net/iotivity/patches/001-no_unit_test.patch: -------------------------------------------------------------------------------- 1 | --- a/resource/SConscript 2 | +++ b/resource/SConscript 3 | @@ -61,7 +61,7 @@ if target_os == 'linux': 4 | SConscript('csdk/stack/samples/linux/secure/SConscript') 5 | 6 | # Build C/C++ unit tests 7 | - SConscript('unit_tests.scons') 8 | + # SConscript('unit_tests.scons') 9 | 10 | elif target_os == 'darwin': 11 | # Build linux samples for now. 12 | -------------------------------------------------------------------------------- /net/ipsec-tools/files/vpnctl: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | 4 | case X$1 in 5 | Xup|X1|Xstart) connMode=vpn-connect ;; 6 | Xdown|X0|Xstop) connMode=vpn-disconnect ;; 7 | *) 8 | echo "Usage: $0: up|1|start || down|0|stop" 9 | exit 1 ;; 10 | esac 11 | 12 | if [ -s /var/racoon/peers.txt ]; then 13 | (while read ipa ; do 14 | racoonctl $connMode $ipa 15 | done) < /var/racoon/peers.txt 16 | fi 17 | 18 | 19 | # EOF /usr/bin/vpnctl 20 | -------------------------------------------------------------------------------- /net/ipsec-tools/patches/005-isakmp-fix.patch: -------------------------------------------------------------------------------- 1 | --- a/src/racoon/isakmp.c 2 | +++ b/src/racoon/isakmp.c 3 | @@ -31,6 +31,8 @@ 4 | * SUCH DAMAGE. 5 | */ 6 | 7 | +#define __packed __attribute__((__packed__)) 8 | + 9 | #include "config.h" 10 | 11 | #include 12 | -------------------------------------------------------------------------------- /net/ipsec-tools/patches/007-force_have_policy_fwd.patch: -------------------------------------------------------------------------------- 1 | --- a/configure.ac 2 | +++ b/configure.ac 3 | @@ -732,7 +732,8 @@ case $host in 4 | ], 5 | [AC_MSG_RESULT(yes) 6 | AC_DEFINE([HAVE_POLICY_FWD], [], [Have forward policy])], 7 | - [AC_MSG_RESULT(no)]) 8 | + [AC_MSG_RESULT(forced) 9 | + AC_DEFINE([HAVE_POLICY_FWD], [], [Have forward policy])]) 10 | ;; 11 | *) 12 | AC_MSG_RESULT(no) 13 | -------------------------------------------------------------------------------- /net/keepalived/files/keepalived.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2007-2015 OpenWrt.org 3 | 4 | START=70 5 | 6 | SERVICE_USE_PID=1 7 | 8 | start() { 9 | service_start /usr/sbin/keepalived 10 | } 11 | 12 | stop() { 13 | service_stop /usr/sbin/keepalived 14 | } 15 | -------------------------------------------------------------------------------- /net/keepalived/patches/100-musl-compat.patch: -------------------------------------------------------------------------------- 1 | --- a/lib/utils.h 2 | +++ b/lib/utils.h 3 | @@ -31,6 +31,7 @@ 4 | #include 5 | #include 6 | #include 7 | +#include 8 | #include 9 | #include 10 | 11 | -------------------------------------------------------------------------------- /net/kismet/files/kismet_drone.config: -------------------------------------------------------------------------------- 1 | config kismet_drone 2 | option enabled 0 3 | -------------------------------------------------------------------------------- /net/kismet/files/kismet_server.config: -------------------------------------------------------------------------------- 1 | config kismet_server 2 | option enabled 0 3 | -------------------------------------------------------------------------------- /net/kismet/patches/010-dont-add-host-include-paths.patch: -------------------------------------------------------------------------------- 1 | diff --git a/configure b/configure 2 | index 6936a47..9a85269 100755 3 | --- a/configure 4 | +++ b/configure 5 | @@ -6980,9 +6980,6 @@ else 6 | fi 7 | 8 | 9 | -# Add additional cflags since some distros bury panel.h 10 | -CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses" 11 | - 12 | termcontrol="none"; 13 | 14 | if test "$wantclient" = "yes"; then 15 | -------------------------------------------------------------------------------- /net/knot/files/runtests.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cd `dirname "$0"`/tests 4 | ../tap/runtests -b /tmp ./test_* 5 | 6 | ret=$? 7 | cd - 8 | 9 | return $ret 10 | -------------------------------------------------------------------------------- /net/knxd/files/knxd.config: -------------------------------------------------------------------------------- 1 | config daemon args 2 | # daemon is started as 'knxd $options $url' 3 | # use 'knxd --help' to get all possible options' 4 | # 5 | # typical example for options for tunnel mode 6 | option options '-D -T -S -d/tmp/knxd.log -i -p/var/run/knxd.pid' 7 | # add '-t1023' or '--trace=1023' for full log trace 8 | 9 | # example with tpuarts interface 10 | # option url 'tpuarts:/dev/ttyAMA0' 11 | # example with IP interface in tunnel mode 12 | option url 'ipt:192.168.1.20' 13 | -------------------------------------------------------------------------------- /net/knxd/files/knxd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006 OpenWrt.org 3 | 4 | START=98 5 | STOP=20 6 | NAME=knxd 7 | PROG=/usr/bin/$NAME 8 | 9 | start() { 10 | local options url 11 | config_load "$NAME" 12 | config_get options args options '' 13 | config_get url args url 14 | service_start $PROG $options $url 15 | } 16 | 17 | stop() { 18 | service_stop $PROG 19 | } 20 | -------------------------------------------------------------------------------- /net/knxd/patches/0099-openwrt.patch: -------------------------------------------------------------------------------- 1 | --- a/src/client/Makefile.am 2014-12-21 20:17:14.000000000 +0100 2 | +++ b/src/client/Makefile.am 2014-12-21 20:18:50.639995000 +0100 3 | @@ -4,5 +4,5 @@ 4 | BUILDJAVA = 5 | endif 6 | 7 | -SUBDIRS=def c $(BUILDJAVA) php perl cs python pascal ruby lua . 8 | +SUBDIRS=def c $(BUILDJAVA) php perl cs . 9 | -------------------------------------------------------------------------------- /net/krb5/files/krb5kdc: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2009 OpenWrt.org 3 | 4 | START=60 5 | 6 | start() { 7 | mkdir -p /var/tmp 8 | mkdir -p /etc/krb5kdc 9 | 10 | [ -f /etc/krb5kdc/principal ] || ( echo; echo ) | kdb5_util create -s 11 | 12 | /usr/sbin/krb5kdc 13 | /usr/sbin/kadmind 14 | } 15 | 16 | stop() { 17 | killall krb5kdc 2> /dev/null 18 | killall kadmind 2> /dev/null 19 | } 20 | -------------------------------------------------------------------------------- /net/lighttpd/files/lighttpd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006-2011 OpenWrt.org 3 | 4 | SERVICE_USE_PID=1 5 | 6 | START=50 7 | 8 | start() { 9 | user_exists http || user_add http 10 | [ -d /var/log/lighttpd ] || { 11 | mkdir -m 0775 -p /var/log/lighttpd 12 | chgrp www-data /var/log/lighttpd 13 | } 14 | service_start /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf 15 | } 16 | 17 | stop() { 18 | service_stop /usr/sbin/lighttpd 19 | } 20 | 21 | -------------------------------------------------------------------------------- /net/linknx/files/linknx.config: -------------------------------------------------------------------------------- 1 | config daemon args 2 | # daemon is started as 'linknx --config=$conf $options' 3 | # use 'linknx --help' to get all possible options' 4 | # 5 | # typical example 6 | option conf '/etc/linknx.xml' 7 | option options '-w --daemon=/tmp/linknx/linknx.log --pid-file=/var/run/linknx.pid' 8 | 9 | -------------------------------------------------------------------------------- /net/linknx/files/linknx.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /net/linknx/patches/010-musl-compat: -------------------------------------------------------------------------------- 1 | --- a/src/eibclient.c 2007-10-11 01:55:31.000000000 +0200 2 | +++ b/src/eibclient.c 2015-06-27 22:18:01.433296921 +0200 3 | @@ -32,6 +32,7 @@ 4 | #include 5 | #include 6 | #include 7 | +#include 8 | 9 | #include "config.h" 10 | 11 | -------------------------------------------------------------------------------- /net/linknx/patches/012-fix-linknx.cpp: -------------------------------------------------------------------------------- 1 | --- a/src/linknx.cpp 2012-06-04 22:12:13.000000000 +0200 2 | +++ b/src/linknx.cpp 2015-06-27 22:35:23.705721355 +0200 3 | @@ -136,7 +136,7 @@ 4 | if (errno) 5 | printf (": %s\n", strerror (errno)); 6 | else 7 | - printf ("\n", strerror (errno)); 8 | + printf ("\n"); 9 | exit (1); 10 | } 11 | 12 | -------------------------------------------------------------------------------- /net/luci-app-bcp38/files/bcp38-controller.lua: -------------------------------------------------------------------------------- 1 | module("luci.controller.bcp38", package.seeall) 2 | 3 | function index() 4 | entry({"admin", "network", "firewall", "bcp38"}, 5 | cbi("bcp38"), 6 | _("BCP38"), 50).dependent = false 7 | end 8 | -------------------------------------------------------------------------------- /net/luci-app-bcp38/files/uci-defaults-bcp38: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@bcp38[-1] 5 | add ucitrack bcp38 6 | add_list ucitrack.@bcp38[0].affects=firewall 7 | commit ucitrack 8 | EOF 9 | 10 | rm -f /tmp/luci-indexcache 11 | exit 0 12 | -------------------------------------------------------------------------------- /net/luci-app-sqm/files/uci-defaults-sqm: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@sqm[-1] 5 | add ucitrack sqm 6 | set ucitrack.@sqm[-1].init=sqm 7 | add_list ucitrack.@firewall[0].affects=sqm 8 | commit ucitrack 9 | EOF 10 | 11 | rm -f /tmp/luci-indexcache 12 | exit 0 13 | -------------------------------------------------------------------------------- /net/luci-app-squid/files/squid-controller.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | 3 | LuCI Squid module 4 | 5 | Copyright (C) 2015, OpenWrt.org 6 | 7 | Licensed under the Apache License, Version 2.0 (the "License"); 8 | you may not use this file except in compliance with the License. 9 | You may obtain a copy of the License at 10 | 11 | http://www.apache.org/licenses/LICENSE-2.0 12 | 13 | Author: Marko Ratkaj 14 | 15 | ]]-- 16 | 17 | module("luci.controller.squid", package.seeall) 18 | 19 | function index() 20 | entry({"admin", "services", "squid"}, cbi("squid"), _("Squid")) 21 | end 22 | -------------------------------------------------------------------------------- /net/mac-telnet/files/mactelnet.config: -------------------------------------------------------------------------------- 1 | # Global settings for MAC-Telnet daemon 2 | config mactelnetd 3 | option sshmode '0' 4 | list interface 'lan' 5 | 6 | # Define a MAC-Telnet login, multiple login sections allowed 7 | config login 8 | option username 'root' 9 | option password '' 10 | -------------------------------------------------------------------------------- /net/mdnsresponder/files/mDNSResponder.conf: -------------------------------------------------------------------------------- 1 | "OpenWrt SSH" 2 | _ssh._tcp. local 3 | 22 4 | OpenWrt SSH server 5 | -------------------------------------------------------------------------------- /net/mdnsresponder/files/mDNSResponder.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2009-2011 OpenWrt.org 3 | 4 | START=61 5 | 6 | SERVICE_USE_PID=1 7 | 8 | start() { 9 | service_start /usr/bin/mDNSResponder -b -f /etc/mDNSResponder.conf 10 | } 11 | 12 | stop() { 13 | service_stop /usr/bin/mDNSResponder 14 | } 15 | -------------------------------------------------------------------------------- /net/mdnsresponder/files/mdnsd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2009-2014 OpenWrt.org 3 | 4 | START=60 5 | STOP=10 6 | USE_PROCD=1 7 | 8 | start_service() { 9 | procd_open_instance 10 | procd_set_param command /usr/sbin/mdnsd -debug 11 | procd_set_param respawn 12 | procd_close_instance 13 | } 14 | 15 | -------------------------------------------------------------------------------- /net/memcached/files/memcached.config: -------------------------------------------------------------------------------- 1 | config memcached 2 | option user 'nobody' 3 | option maxconn '1024' 4 | option listen '0.0.0.0' 5 | option port '11211' 6 | option memory '64' 7 | -------------------------------------------------------------------------------- /net/miniupnpc/patches/100-no_minixml_test.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile 2 | +++ b/Makefile 3 | @@ -151,8 +151,8 @@ installpythonmodule3: pythonmodule3 4 | python3 setup.py install 5 | 6 | validateminixml: minixmlvalid 7 | - @echo "minixml validation test" 8 | - ./minixmlvalid 9 | + @echo "(skipping) minixml validation test" 10 | +# ./minixmlvalid 11 | touch $@ 12 | 13 | validateminiwget: testminiwget minihttptestserver testminiwget.sh 14 | -------------------------------------------------------------------------------- /net/mosquitto/Config.in: -------------------------------------------------------------------------------- 1 | config MOSQUITTO_LWS 2 | bool "libwebsockets support" 3 | depends on PACKAGE_mosquitto 4 | default y 5 | help 6 | Includes websockets support in the broker, via libwebsockets 7 | -------------------------------------------------------------------------------- /net/mwan3-luci/files/etc/uci-defaults/mwan-luci: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # replace existing mwan ucitrack entry 4 | uci -q batch <<-EOF >/dev/null 5 | del ucitrack.@mwan3[-1] 6 | add ucitrack mwan3 7 | set ucitrack.@mwan3[-1].exec="/usr/sbin/mwan3 restart" 8 | commit ucitrack 9 | EOF 10 | 11 | # remove LuCI cache 12 | rm -rf /tmp/luci-indexcache /tmp/luci-modulecache 13 | 14 | exit 0 15 | -------------------------------------------------------------------------------- /net/mwan3-luci/files/usr/lib/lua/luci/view/admin_status/index/mwan.htm: -------------------------------------------------------------------------------- 1 | <%+mwan/openwrt_overview_status%> 2 | -------------------------------------------------------------------------------- /net/net-snmp/patches/120-debian-searchdirs.patch: -------------------------------------------------------------------------------- 1 | --- a/local/mib2c 2 | +++ b/local/mib2c 3 | @@ -60,8 +60,9 @@ $currentlevel = -1; 4 | if($ENV{MIB2C_DIR}) { 5 | push @def_search_dirs, split(/:/, $ENV{MIB2C_DIR}); 6 | } 7 | -push @def_search_dirs, "/usr/local/share/snmp/"; 8 | -push @def_search_dirs, "/usr/local/share/snmp/mib2c-data"; 9 | +push @def_search_dirs, "/etc/snmp/"; 10 | +push @def_search_dirs, "/usr/share/snmp/"; 11 | +push @def_search_dirs, "/usr/share/snmp/mib2c-data"; 12 | push @def_search_dirs, "./mib2c-conf.d"; 13 | 14 | sub usage { 15 | -------------------------------------------------------------------------------- /net/net-snmp/patches/160-no_ldconfig.patch: -------------------------------------------------------------------------------- 1 | --- a/configure 2 | +++ b/configure 3 | @@ -10216,7 +10216,7 @@ linux* | k*bsd*-gnu) 4 | need_version=no 5 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 6 | soname_spec='${libname}${release}${shared_ext}$major' 7 | - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 8 | + finish_cmds='' 9 | shlibpath_var=LD_LIBRARY_PATH 10 | shlibpath_overrides_runpath=no 11 | # This implies no fast_install, which is unacceptable. 12 | -------------------------------------------------------------------------------- /net/net-snmp/patches/170-ldflags.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile.top 2 | +++ b/Makefile.top 3 | @@ -81,7 +81,7 @@ LIBCURRENT = 16 4 | LIBAGE = 1 5 | LIBREVISION = 3 6 | 7 | -LIB_LD_CMD = $(LIBTOOL) --mode=link $(LINKCC) $(CFLAGS) -rpath $(libdir) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) -o 8 | +LIB_LD_CMD = $(LIBTOOL) --mode=link $(LINKCC) $(CFLAGS) -rpath $(libdir) $(LDFLAGS) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) -o 9 | LIB_EXTENSION = la 10 | LIB_VERSION = 11 | LIB_LDCONFIG_CMD = $(LIBTOOL) --mode=finish $(libdir) 12 | -------------------------------------------------------------------------------- /net/net-snmp/patches/900-musl-compat.patch: -------------------------------------------------------------------------------- 1 | --- a/agent/mibgroup/iwlib.h 2 | +++ b/agent/mibgroup/iwlib.h 3 | @@ -85,6 +85,11 @@ 4 | && LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0) 5 | #define LIBC5_HEADERS 6 | 7 | +/* Musl */ 8 | +#elif !defined(__GLIBC__) && !defined(__UCLIBC__) \ 9 | + && LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0) 10 | +#define GENERIC_HEADERS 11 | + 12 | /* Unsupported combination */ 13 | #else 14 | #error "Your kernel/libc combination is not supported" 15 | -------------------------------------------------------------------------------- /net/netatalk/files/AppleVolumes.default: -------------------------------------------------------------------------------- 1 | - 2 | /tmp Temp allow:root,nobody cnidscheme:dbd 3 | -------------------------------------------------------------------------------- /net/netatalk/files/afpd.conf: -------------------------------------------------------------------------------- 1 | - -noddp -uampath /usr/lib/uams -uamlist uams_guest.so,uams_passwd.so,uams_dhx_passwd.so,uams_randnum.so,uams_dhx2.so -passwdfile /etc/netatalk/afppasswd -savepassword -passwdminlen 0 -nosetpassword -defaultvol /etc/netatalk/AppleVolumes.default -systemvol /etc/netatalk/AppleVolumes.system -nouservol -guestname "nobody" -sleep 1 -icon 2 | -------------------------------------------------------------------------------- /net/netatalk/files/afpd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2010-2012 OpenWrt.org 3 | 4 | START=70 5 | 6 | MAXCONS="7" 7 | 8 | start() 9 | { 10 | service_start /usr/sbin/cnid_metad 11 | service_start /usr/sbin/afpd -c ${MAXCONS} 12 | } 13 | 14 | stop() 15 | { 16 | service_stop /usr/sbin/afpd 17 | service_stop /usr/sbin/cnid_metad 18 | } 19 | 20 | reload() 21 | { 22 | service_reload /usr/sbin/afpd 23 | } 24 | -------------------------------------------------------------------------------- /net/netatalk/patches/001-automake-compat.patch: -------------------------------------------------------------------------------- 1 | --- a/macros/iconv.m4 2 | +++ b/macros/iconv.m4 3 | @@ -115,6 +115,5 @@ int main() { 4 | 5 | CFLAGS="$savedcflags" 6 | LDFLAGS="$savedldflags" 7 | - CPPFLAGS="$saved_CPPFLAGS" 8 | 9 | ]) 10 | -------------------------------------------------------------------------------- /net/netperf/files/netserver.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006-2011 OpenWrt.org 3 | 4 | START=50 5 | 6 | start() { 7 | service_start /usr/bin/netserver 8 | } 9 | 10 | stop() { 11 | service_stop /usr/bin/netserver 12 | } 13 | -------------------------------------------------------------------------------- /net/netperf/patches/001-musl-fix.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/netrt_rtnetlink.c b/src/netrt_rtnetlink.c 2 | index 10e4750..318c0c2 100644 3 | --- a/src/netrt_rtnetlink.c 4 | +++ b/src/netrt_rtnetlink.c 5 | @@ -5,7 +5,6 @@ 6 | #include 7 | #include 8 | #include 9 | -#include 10 | #include 11 | #include 12 | #include 13 | -------------------------------------------------------------------------------- /net/nfs-kernel-server/files/nfsd.exports: -------------------------------------------------------------------------------- 1 | /mnt *(ro,all_squash,insecure,sync) 2 | -------------------------------------------------------------------------------- /net/nfs-kernel-server/patches/100-no_malloc_h.patch: -------------------------------------------------------------------------------- 1 | --- a/tools/rpcgen/rpc_cout.c 2 | +++ b/tools/rpcgen/rpc_cout.c 3 | @@ -36,7 +36,6 @@ static char sccsid[] = "@(#)rpc_cout.c 1 4 | #include 5 | #include 6 | #include 7 | -#include 8 | #include 9 | #include "rpc_parse.h" 10 | #include "rpc_util.h" 11 | -------------------------------------------------------------------------------- /net/nginx/files/nginx.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2009-2012 OpenWrt.org 3 | 4 | START=50 5 | NGINX_BIN=/usr/sbin/nginx 6 | 7 | start() { 8 | mkdir -p /var/log/nginx 9 | mkdir -p /var/lib/nginx 10 | $NGINX_BIN 11 | } 12 | 13 | stop() { 14 | $NGINX_BIN -s stop 15 | } 16 | 17 | reload() { 18 | $NGINX_BIN -s reload 19 | } 20 | 21 | shutdown() { 22 | $NGINX_BIN -s quit 23 | } 24 | 25 | -------------------------------------------------------------------------------- /net/nginx/patches/103-sys_nerr.patch: -------------------------------------------------------------------------------- 1 | --- a/src/os/unix/ngx_errno.c 2 | +++ b/src/os/unix/ngx_errno.c 3 | @@ -8,6 +8,9 @@ 4 | #include 5 | #include 6 | 7 | +#ifndef NGX_SYS_NERR 8 | +#define NGX_SYS_NERR 128 9 | +#endif 10 | 11 | /* 12 | * The strerror() messages are copied because: 13 | -------------------------------------------------------------------------------- /net/nginx/patches/200-config.patch: -------------------------------------------------------------------------------- 1 | --- a/conf/nginx.conf 2 | +++ b/conf/nginx.conf 3 | @@ -1,5 +1,5 @@ 4 | 5 | -#user nobody; 6 | +user nobody nogroup; 7 | worker_processes 1; 8 | 9 | #error_log logs/error.log; 10 | @@ -16,7 +16,7 @@ events { 11 | 12 | http { 13 | include mime.types; 14 | - default_type application/octet-stream; 15 | + #default_type application/octet-stream; 16 | 17 | #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' 18 | # '$status $body_bytes_sent "$http_referer" ' 19 | -------------------------------------------------------------------------------- /net/ngircd/files/ngircd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | 3 | START=65 4 | 5 | start() { 6 | service_start /usr/sbin/ngircd 7 | } 8 | 9 | stop() { 10 | service_stop /usr/sbin/ngircd 11 | } 12 | -------------------------------------------------------------------------------- /net/nsd/files/nsd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2014 OpenWrt.org 3 | 4 | START=60 5 | USE_PROCD=1 6 | PROG=/usr/sbin/nsd 7 | 8 | start_service() { 9 | mkdir -p /var/db/nsd 10 | chown network /var/db/nsd 11 | chmod 640 /etc/nsd/*.conf 2>/dev/null 12 | chgrp network /etc/nsd/*.conf 2>/dev/null 13 | procd_open_instance 14 | procd_set_param command "$PROG" -d 15 | procd_close_instance 16 | } 17 | -------------------------------------------------------------------------------- /net/ntpclient/files/ntpclient.config: -------------------------------------------------------------------------------- 1 | config ntpserver 2 | option hostname '0.openwrt.pool.ntp.org' 3 | option port '123' 4 | 5 | config ntpserver 6 | option hostname '1.openwrt.pool.ntp.org' 7 | option port '123' 8 | 9 | config ntpserver 10 | option hostname '2.openwrt.pool.ntp.org' 11 | option port '123' 12 | 13 | config ntpserver 14 | option hostname '3.openwrt.pool.ntp.org' 15 | option port '123' 16 | 17 | config ntpdrift 18 | option freq '0' 19 | 20 | config ntpclient 21 | option interval 600 22 | #option count 10 23 | #option interface wan 24 | -------------------------------------------------------------------------------- /net/ntpd/files/ntpd.hotplug: -------------------------------------------------------------------------------- 1 | NAME=ntpd 2 | CONFIG=/etc/ntp.conf 3 | COMMAND=/sbin/$NAME 4 | 5 | [ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && { 6 | [ -x $COMMAND ] && [ -r $CONFIG ] && { 7 | killall ntpd 8 | /etc/init.d/ntpd start 9 | } & 10 | } 11 | -------------------------------------------------------------------------------- /net/ntpd/files/ntpd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006-2011 OpenWrt.org 3 | 4 | START=65 5 | STOP=65 6 | 7 | USE_PROCD=1 8 | 9 | start_service() { 10 | # ln -sf /dev/ttyS0 /dev/gps0 11 | # /usr/sbin/setgarmin -d /dev/gps -c /etc/setgarmin.conf 12 | mkdir -p /var/lib/ntp 13 | chown -R ntp:ntp /var/lib/ntp 14 | 15 | procd_open_instance 16 | procd_set_param command /sbin/ntpd -g -u ntp:ntp -p /var/run/ntpd.pid -n 17 | procd_close_instance 18 | } 19 | -------------------------------------------------------------------------------- /net/ntpd/files/ntpdate.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006-2008 OpenWrt.org 3 | 4 | START=60 5 | 6 | STEP_SERVERS="0.openwrt.pool.ntp.org 1.openwrt.pool.ntp.org 2.openwrt.pool.ntp.org" 7 | TIMEOUT="2" # in seconds 8 | 9 | start() { 10 | for s in $STEP_SERVERS ; do 11 | /usr/sbin/ntpdate -s -b -u -t "$TIMEOUT" "$s" && break 12 | done 13 | } 14 | -------------------------------------------------------------------------------- /net/ntripclient/patches/100-musl-compat.patch: -------------------------------------------------------------------------------- 1 | --- a/ntripclient.c 2 | +++ b/ntripclient.c 3 | @@ -44,6 +44,7 @@ 4 | #include 5 | #include 6 | #include 7 | + #include 8 | #include 9 | #include 10 | #include 11 | -------------------------------------------------------------------------------- /net/nut/files/nut-monitor.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | 3 | START=60 4 | USE_PROCD=1 5 | 6 | restart() { 7 | stop_service 8 | start_service 9 | } 10 | 11 | start_service() { 12 | upsmon -p 13 | } 14 | 15 | stop_service() { 16 | upsmon -c stop 17 | } 18 | 19 | reload_service() { 20 | upsmon -c reload 21 | } 22 | -------------------------------------------------------------------------------- /net/nut/files/nut-server.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | 3 | START=50 4 | USE_PROCD=1 5 | 6 | restart() { 7 | stop_service 8 | start_service 9 | } 10 | 11 | start_service() { 12 | upsdrvctl start 13 | upsd 14 | } 15 | 16 | stop_service() { 17 | upsd -c stop 18 | upsdrvctl stop 19 | } 20 | 21 | reload_service() { 22 | upsd -c reload 23 | } 24 | -------------------------------------------------------------------------------- /net/ocserv/Config.in: -------------------------------------------------------------------------------- 1 | # ocserv avanced configuration 2 | 3 | menu "Configuration" 4 | depends on PACKAGE_ocserv 5 | 6 | config OCSERV_PAM 7 | bool "enable PAM" 8 | default n 9 | 10 | config OCSERV_SECCOMP 11 | bool "enable seccomp" 12 | default n 13 | 14 | config OCSERV_RADIUS 15 | bool "enable radius authentication" 16 | default n 17 | 18 | config OCSERV_PROTOBUF 19 | bool "use external libprotobuf" 20 | default y 21 | 22 | config OCSERV_HTTP_PARSER 23 | bool "use external libhttp-parser" 24 | default y 25 | 26 | endmenu 27 | -------------------------------------------------------------------------------- /net/ocserv/files/config: -------------------------------------------------------------------------------- 1 | 2 | config ocserv 'config' 3 | option port '4443' 4 | option dpd '180' 5 | option max_clients '8' 6 | option max_same '2' 7 | option enable '0' 8 | option zone 'lan' 9 | 10 | config ocservusers 11 | 12 | config dns 13 | option ip '8.8.8.8' 14 | 15 | config routes 16 | option ip '192.168.1.0' 17 | option netmask '255.255.255.0' 18 | -------------------------------------------------------------------------------- /net/ocserv/files/ocserv-script: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ZONE=`uci get ocserv.config.zone` 4 | 5 | if [ "$REASON" = "connect" ];then 6 | env -i ACTION=ifup INTERFACE="$ZONE" DEVICE=$DEVICE /sbin/hotplug-call "iface" 7 | else 8 | env -i ACTION=ifdown INTERFACE="$ZONE" DEVICE=$DEVICE /sbin/hotplug-call "iface" 9 | fi 10 | 11 | exit 0 12 | -------------------------------------------------------------------------------- /net/ocserv/files/ocserv.upgrade: -------------------------------------------------------------------------------- 1 | /etc/ocserv/ca-key.pem 2 | /etc/ocserv/ca.pem 3 | /etc/ocserv/server-key.pem 4 | /etc/ocserv/server-cert.pem 5 | /etc/ocserv/config-per-user/* 6 | /etc/ocserv/config-per-group/* 7 | /etc/ocserv/crl.pem 8 | -------------------------------------------------------------------------------- /net/ola/files/olad.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2009-2015 OpenWrt.org 3 | # Copyright (C) 2015 Christian Beier 4 | 5 | USE_PROCD=1 6 | 7 | START=90 8 | 9 | start_service() { 10 | procd_open_instance 11 | procd_set_param command sudo -u nobody /usr/bin/olad --syslog --log-level 2 --config-dir /etc/ola 12 | procd_set_param respawn 13 | procd_close_instance 14 | } 15 | -------------------------------------------------------------------------------- /net/ola/patches/001-include-endian_h.patch: -------------------------------------------------------------------------------- 1 | diff --git a/common/network/NetworkUtils.cpp b/common/network/NetworkUtils.cpp 2 | index 3914818..094a311 100644 3 | --- a/common/network/NetworkUtils.cpp 4 | +++ b/common/network/NetworkUtils.cpp 5 | @@ -39,6 +39,10 @@ typedef uint32_t in_addr_t; 6 | #include 7 | #endif 8 | 9 | +#ifdef HAVE_ENDIAN_H 10 | +#include 11 | +#endif 12 | + 13 | #if defined(HAVE_LINUX_NETLINK_H) && defined(HAVE_LINUX_RTNETLINK_H) 14 | #define USE_NETLINK_FOR_DEFAULT_ROUTE 1 15 | #include 16 | -------------------------------------------------------------------------------- /net/openconnect/Config.in: -------------------------------------------------------------------------------- 1 | # openconnect avanced configuration 2 | 3 | menu "Configuration" 4 | depends on PACKAGE_openconnect 5 | 6 | choice 7 | prompt "SSL library" 8 | default OPENCONNECT_GNUTLS 9 | 10 | config OPENCONNECT_GNUTLS 11 | bool "GnuTLS support" 12 | 13 | config OPENCONNECT_OPENSSL 14 | bool "OpenSSL" 15 | 16 | endchoice 17 | 18 | config OPENCONNECT_STOKEN 19 | bool "stoken support" 20 | 21 | endmenu 22 | -------------------------------------------------------------------------------- /net/openconnect/files/openconnect.upgrade: -------------------------------------------------------------------------------- 1 | /etc/openconnect/user-cert-vpn-*.pem 2 | /etc/openconnect/user-key-vpn-*.pem 3 | /etc/openconnect/ca-vpn-*.pem 4 | /etc/openconnect/pre-init.d/ 5 | /etc/openconnect/connect.d/ 6 | /etc/openconnect/post-connect.d/ 7 | /etc/openconnect/disconnect.d/ 8 | /etc/openconnect/post-disconnect.d/ 9 | /etc/openconnect/reconnect.d/ 10 | -------------------------------------------------------------------------------- /net/opennhrp/files/opennhrp.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2009-2011 OpenWrt.org 3 | # Copyright (C) 2009 Jakob Pfeiffer 4 | 5 | START=50 6 | 7 | SERVICE_USE_PID=1 8 | 9 | start() { 10 | service_start /usr/sbin/opennhrp -d 11 | } 12 | 13 | stop() { 14 | service_stop /usr/sbin/opennhrp 15 | } 16 | -------------------------------------------------------------------------------- /net/opennhrp/patches/100-musl-compat.patch: -------------------------------------------------------------------------------- 1 | --- a/nhrp/opennhrp.c 2 | +++ b/nhrp/opennhrp.c 3 | @@ -9,6 +9,7 @@ 4 | #include 5 | #include 6 | #include 7 | +#include 8 | #include 9 | #include 10 | #include 11 | --- a/nhrp/nhrp_common.h 12 | +++ b/nhrp/nhrp_common.h 13 | @@ -12,6 +12,7 @@ 14 | #include 15 | #include 16 | #include 17 | +#include 18 | #include 19 | 20 | struct nhrp_interface; 21 | -------------------------------------------------------------------------------- /net/openssh/files/sftp-ssh.service: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | %h 5 | 6 | _sftp-ssh._tcp 7 | 22 8 | 9 | 10 | -------------------------------------------------------------------------------- /net/openssh/files/sshd.pam-access: -------------------------------------------------------------------------------- 1 | # Skip Google Authenticator for local network 2 | #+ : ALL : 192.168.1.0/24 3 | + : ALL : LOCAL 4 | - : ALL : ALL 5 | -------------------------------------------------------------------------------- /net/openssh/patches/130-implicit_memset_decl_fix.patch: -------------------------------------------------------------------------------- 1 | --- a/includes.h 2 | +++ b/includes.h 3 | @@ -60,6 +60,9 @@ 4 | /* 5 | *-*-nto-qnx needs these headers for strcasecmp and LASTLOG_FILE respectively 6 | */ 7 | +#ifdef HAVE_STRING_H 8 | +# include 9 | +#endif 10 | #ifdef HAVE_STRINGS_H 11 | # include 12 | #endif 13 | -------------------------------------------------------------------------------- /net/opentracker/files/opentracker.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | 3 | START=10 4 | STOP=15 5 | 6 | NAME="opentracker" 7 | PROG="/usr/bin/opentracker" 8 | OPTIONS="-f /etc/opentracker.conf" 9 | USE_PROCD=1 10 | 11 | start_service() 12 | { 13 | procd_open_instance 14 | procd_set_param command $PROG $OPTIONS 15 | procd_close_instance 16 | } 17 | -------------------------------------------------------------------------------- /net/opentracker/files/opentracker6.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | 3 | START=10 4 | STOP=15 5 | 6 | NAME="opentracker6" 7 | PROG="/usr/bin/opentracker6" 8 | OPTIONS="-f /etc/opentracker6.conf" 9 | USE_PROCD=1 10 | 11 | start_service() 12 | { 13 | procd_open_instance 14 | procd_set_param command $PROG $OPTIONS 15 | procd_close_instance 16 | } 17 | -------------------------------------------------------------------------------- /net/p910nd/files/p910nd.config: -------------------------------------------------------------------------------- 1 | config p910nd 2 | option device /dev/usb/lp0 3 | option port 0 4 | option bidirectional 1 5 | option enabled 0 6 | -------------------------------------------------------------------------------- /net/portmap/files/portmap.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006-2011 OpenWrt.org 3 | 4 | START=19 5 | STOP=19 6 | 7 | USE_PROCD=1 8 | 9 | start_service() { 10 | procd_open_instance 11 | procd_set_param command /usr/sbin/portmap -f 12 | procd_close_instance 13 | } 14 | -------------------------------------------------------------------------------- /net/portmap/patches/101-no_pie.patch: -------------------------------------------------------------------------------- 1 | diff -ur portmap_6.0.org/Makefile portmap_6.0/Makefile 2 | --- portmap_6.0.org/Makefile 2008-04-19 22:44:35.000000000 +0200 3 | +++ portmap_6.0/Makefile 2008-04-19 00:02:01.000000000 +0200 4 | @@ -127,7 +127,7 @@ 5 | CPPFLAGS += $(HOSTS_ACCESS) 6 | portmap: CFLAGS += -fpie 7 | portmap: LDLIBS += $(WRAP_LIB) 8 | -portmap: LDFLAGS += -pie 9 | +#portmap: LDFLAGS += -pie 10 | portmap: portmap.o pmap_check.o from_local.o 11 | 12 | from_local: CPPFLAGS += -DTEST 13 | -------------------------------------------------------------------------------- /net/pptpd/files/options.pptpd: -------------------------------------------------------------------------------- 1 | #debug 2 | #logfile /tmp/pptp-server.log 3 | auth 4 | name "pptp-server" 5 | lcp-echo-failure 3 6 | lcp-echo-interval 60 7 | default-asyncmap 8 | mtu 1482 9 | mru 1482 10 | nobsdcomp 11 | nodeflate 12 | #noproxyarp 13 | #nomppc 14 | mppe required,no40,no56,stateless 15 | require-mschap-v2 16 | refuse-chap 17 | refuse-mschap 18 | refuse-eap 19 | refuse-pap 20 | #ms-dns 172.16.1.1 21 | #plugin radius.so 22 | #radius-config-file /etc/radius.conf 23 | -------------------------------------------------------------------------------- /net/pptpd/files/pptpd.conf: -------------------------------------------------------------------------------- 1 | #debug 2 | option /etc/ppp/options.pptpd 3 | speed 115200 4 | stimeout 10 5 | #localip & remoteip are not needed, ip management is done by pppd 6 | -------------------------------------------------------------------------------- /net/pptpd/files/pptpd.config: -------------------------------------------------------------------------------- 1 | config service 'pptpd' 2 | option 'enabled' '0' 3 | option 'localip' '192.168.0.1' 4 | option 'remoteip' '192.168.0.20-30' 5 | 6 | config 'login' 7 | option 'username' 'youruser' 8 | option 'password' 'yourpass' 9 | -------------------------------------------------------------------------------- /net/pptpd/patches/001-bad_pqueue_debug.patch: -------------------------------------------------------------------------------- 1 | --- a/pqueue.c 2 | +++ b/pqueue.c 3 | @@ -7,13 +7,11 @@ 4 | #include "pqueue.h" 5 | 6 | #ifdef DEBUG_PQUEUE 7 | -#define DEBUG_ON 1 8 | +#define DEBUG_CMD(_a) { _a } 9 | #else 10 | -#define DEBUG_ON 0 11 | +#define DEBUG_CMD(_a) 12 | #endif 13 | 14 | -#define DEBUG_CMD(_a) if (DEBUG_ON) { _a } 15 | - 16 | #define MIN_CAPACITY 128 /* min allocated buffer for a packet */ 17 | 18 | static int pqueue_alloc (int seq, unsigned char *packet, int packlen, pqueue_t **new); 19 | -------------------------------------------------------------------------------- /net/pptpd/patches/002-makefile_fix.patch: -------------------------------------------------------------------------------- 1 | --- a/plugins/Makefile 2 | +++ b/plugins/Makefile 3 | @@ -18,7 +18,7 @@ all: $(PLUGINS) 4 | %.so: %.c 5 | $(CC) -o $@ $(LDFLAGS) $(CFLAGS) $^ $(LDADD) 6 | 7 | -LIBDIR ?= $(DESTDIR)$(prefix)/lib/pptpd 8 | +LIBDIR = $(DESTDIR)$(prefix)/lib/pptpd 9 | 10 | install: $(PLUGINS) 11 | $(INSTALL) -d $(LIBDIR) 12 | -------------------------------------------------------------------------------- /net/pptpd/patches/003-opt_flags.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile.in 2 | +++ b/Makefile.in 3 | @@ -153,7 +153,7 @@ AUTOMAKE = @AUTOMAKE@ 4 | AWK = @AWK@ 5 | CC = @CC@ 6 | CCDEPMODE = @CCDEPMODE@ 7 | -CFLAGS = -O2 -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' 8 | +CFLAGS = $(COPTS) -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' 9 | CPP = @CPP@ 10 | CPPFLAGS = @CPPFLAGS@ 11 | CYGPATH_W = @CYGPATH_W@ 12 | -------------------------------------------------------------------------------- /net/privoxy/files/privoxy.hotplug: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # only (re-)start on ifup 4 | [ "$ACTION" = "ifup" ] || exit 0 5 | 6 | PIDFILE=/var/run/privoxy.pid 7 | 8 | _PID=$(cat $PIDFILE 2>/dev/null) 9 | kill -1 $_PID 2>/dev/null 10 | if [ $? -eq 0 ]; then 11 | # only restart if already running 12 | logger -p daemon.info -t "privoxy[$_PID]" \ 13 | "Restart request due to '$ACTION' of interface '$INTERFACE'" 14 | /etc/init.d/privoxy restart 15 | else 16 | # only start if enabled 17 | /etc/init.d/privoxy enabled && /etc/init.d/privoxy start 18 | fi 19 | -------------------------------------------------------------------------------- /net/radicale/files/radicale.hotplug: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # only (re-)start on ifup 4 | [ "$ACTION" = "ifup" ] || exit 0 5 | 6 | _PID=$(ps | grep '[p]ython.*[r]adicale' 2>/dev/null | awk '{print $1}') 7 | kill -1 $_PID 2>/dev/null 8 | if [ $? -eq 0 ]; then 9 | # only restart if already running 10 | logger -p user.info -t "radicale[$_PID]" \ 11 | "Restart request due to '$ACTION' of interface '$INTERFACE'" 12 | /etc/init.d/radicale restart 13 | else 14 | # only start if enabled 15 | /etc/init.d/radicale enabled && /etc/init.d/radicale start 16 | fi 17 | -------------------------------------------------------------------------------- /net/radicale/files/radicale.users: -------------------------------------------------------------------------------- 1 | # 2 | # Sample File 3 | # 4 | 5 | user1:password1 6 | user2:password2 -------------------------------------------------------------------------------- /net/radsecproxy/files/radsecproxy.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006-2011 OpenWrt.org 3 | 4 | START=70 5 | 6 | USE_PROCD=1 7 | PROG=/usr/sbin/radsecproxy 8 | CONFFILE=/etc/radsecproxy.conf 9 | 10 | start_service() { 11 | procd_open_instance 12 | procd_set_param command $PROG -f -c $CONFFILE 13 | procd_set_param file $CONFFILE 14 | procd_set_param respawn 15 | procd_close_instance 16 | } 17 | -------------------------------------------------------------------------------- /net/rsync/files/rsyncd.conf: -------------------------------------------------------------------------------- 1 | # /etc/rsyncd.conf 2 | # Minimal configuration for rsync daemon 3 | 4 | # Next line required for init script 5 | pid file = /var/run/rsyncd.pid 6 | log file = /var/log/rsyncd.log 7 | use chroot = yes 8 | uid = nobody 9 | gid = nogroup 10 | read only = yes 11 | 12 | # Simple example to configure server 13 | #[openwrt-etc] 14 | #path = /etc 15 | #comment = OpenWrt Configuration Files 16 | #exclude = /init.d 17 | -------------------------------------------------------------------------------- /net/rsync/files/rsyncd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2011-2014 OpenWrt.org 3 | 4 | START=90 5 | STOP=10 6 | 7 | USE_PROCD=1 8 | PROG=/usr/bin/rsync 9 | 10 | start_service() { 11 | procd_open_instance 12 | procd_set_param command "$PROG" --daemon --no-detach 13 | procd_close_instance 14 | } 15 | -------------------------------------------------------------------------------- /net/rtorrent/patches/120-fix-ncurses.patch: -------------------------------------------------------------------------------- 1 | --- a/src/display/canvas.h 2 | +++ b/src/display/canvas.h 3 | @@ -48,7 +48,7 @@ class Canvas { 4 | public: 5 | typedef std::vector attributes_list; 6 | 7 | - Canvas(int x = 0, int y = 0, int width = 0, int height = 0); 8 | + Canvas(int x = 0, int y = 0, int width = 1, int height = 1); 9 | ~Canvas() { delwin(m_window); } 10 | 11 | void refresh() { wnoutrefresh(m_window); } 12 | -------------------------------------------------------------------------------- /net/seafile-server/files/seafile.conf: -------------------------------------------------------------------------------- 1 | # Start Seahub in fastcgi mode - 1 = enable, 0 = disable 2 | SEAHUB_FASTCGI=0 3 | -------------------------------------------------------------------------------- /net/shadowsocks-client/files/sslocal.config: -------------------------------------------------------------------------------- 1 | config sslocal 2 | option server_addr '' 3 | option server_port '' 4 | option local_addr '' 5 | option local_port '' 6 | option password '' 7 | option method '' 8 | -------------------------------------------------------------------------------- /net/shadowsocks-libev/files/firewall.include: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if pidof ss-redir>/dev/null; then 4 | /etc/init.d/shadowsocks-libev rules 5 | logger -t ShadowSocks-libev "Reloading ShadowSocks-libev due to restart of firewall" 6 | fi 7 | -------------------------------------------------------------------------------- /net/shadowsocks-libev/files/shadowsocks-libev.config: -------------------------------------------------------------------------------- 1 | 2 | config shadowsocks-libev 3 | option enable '1' 4 | option server '127.0.0.1' 5 | option server_port '8388' 6 | option local_port '1080' 7 | option password 'barfoo!' 8 | option timeout '60' 9 | option encrypt_method 'rc4-md5' 10 | option ignore_list '/dev/null' 11 | option udp_mode '0' 12 | option tunnel_enable '1' 13 | option tunnel_port '5300' 14 | option tunnel_forward '8.8.4.4:53' 15 | option lan_ac_mode '0' 16 | -------------------------------------------------------------------------------- /net/siit/src/Makefile: -------------------------------------------------------------------------------- 1 | obj-m := siit.o 2 | ifeq ($(MAKING_MODULES),1) 3 | -include $(TOPDIR)/Rules.make 4 | endif 5 | 6 | -------------------------------------------------------------------------------- /net/snort/files/snort.config: -------------------------------------------------------------------------------- 1 | config snort 'snort' 2 | option config_file '/etc/snort/snort.conf' 3 | option interface 'lo' 4 | -------------------------------------------------------------------------------- /net/socat/files/socat.config: -------------------------------------------------------------------------------- 1 | # forward port 8000 on IPv6 to IPv4 host port 80 2 | # change enable to '1' to use this example 3 | config socat 'http' 4 | option enable '0' 5 | option SocatOptions '-d -d TCP6-LISTEN:8000,fork TCP4:192.168.1.20:80' 6 | -------------------------------------------------------------------------------- /net/softflowd/files/softflowd.config: -------------------------------------------------------------------------------- 1 | config softflowd 2 | option enabled '0' 3 | option interface 'br-lan' 4 | option pcap_file '' 5 | option timeout '' 6 | option max_flows '8192' 7 | option host_port '' 8 | option pid_file '/var/run/softflowd.pid' 9 | option control_socket '/var/run/softflowd.ctl' 10 | option export_version '5' 11 | option hoplimit '' 12 | option tracking_level 'full' 13 | option track_ipv6 '0' 14 | option sampling_rate '100' 15 | -------------------------------------------------------------------------------- /net/sqm-scripts/files/etc/config/sqm: -------------------------------------------------------------------------------- 1 | 2 | config queue 'eth1' 3 | option enabled '0' 4 | option interface 'eth1' 5 | option download '85000' 6 | option upload '10000' 7 | option qdisc 'fq_codel' 8 | option script 'simple.qos' 9 | option qdisc_advanced '0' 10 | option ingress_ecn 'ECN' 11 | option egress_ecn 'ECN' 12 | option qdisc_really_really_advanced '0' 13 | option itarget 'auto' 14 | option etarget 'auto' 15 | option linklayer 'none' 16 | 17 | -------------------------------------------------------------------------------- /net/sqm-scripts/files/etc/hotplug.d/iface/11-sqm: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | [ "$ACTION" = ifup ] && /etc/init.d/sqm enabled && /usr/lib/sqm/run.sh start ${DEVICE} 4 | -------------------------------------------------------------------------------- /net/sqm-scripts/files/etc/init.d/sqm: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | 3 | START=50 4 | 5 | reload() 6 | { 7 | /usr/lib/sqm/run.sh start 8 | } 9 | 10 | restart() 11 | { 12 | reload 13 | } 14 | 15 | start() 16 | { 17 | reload 18 | } 19 | 20 | stop() 21 | { 22 | /usr/lib/sqm/run.sh stop 23 | } -------------------------------------------------------------------------------- /net/sqm-scripts/files/usr/lib/sqm/simple.qos.help: -------------------------------------------------------------------------------- 1 | BW-limited three-tier prioritisation scheme with fq_codel on each queue. (default) 2 | -------------------------------------------------------------------------------- /net/sqm-scripts/files/usr/lib/sqm/simple_pppoe.qos.help: -------------------------------------------------------------------------------- 1 | BW-limited three-tier prioritisation scheme with fq_codel on each queue. Temporary version to implement shaping 2 | of pass through PPPOE encapsulated packets. 3 | -------------------------------------------------------------------------------- /net/sqm-scripts/files/usr/lib/sqm/simplest.qos.help: -------------------------------------------------------------------------------- 1 | Simplest possible configuration: HTB rate limiter with your qdisc attached. 2 | -------------------------------------------------------------------------------- /net/squid/files/squid.config: -------------------------------------------------------------------------------- 1 | config squid 'squid' 2 | option config_file '/etc/squid/squid.conf' 3 | option http_port '3128' 4 | option coredump_dir '/tmp/squid' 5 | option visible_hostname 'OpenWrt' 6 | -------------------------------------------------------------------------------- /net/sstp-client/files/etc/ppp/chap-secrets: -------------------------------------------------------------------------------- 1 | # Secrets for authentication using CHAP 2 | # client (domain\\username) server secret (password) acceptable local IP addresses 3 | # SSTP-TEST\\JonDoe sstp-test 'testme1234!' * 4 | 5 | -------------------------------------------------------------------------------- /net/sstp-client/files/etc/ppp/peers/peer-sstp-example-nopty.txt: -------------------------------------------------------------------------------- 1 | remotename sstp-test 2 | linkname sstp-test 3 | ipparam sstp-test 4 | name SSTP-TEST\\jdoe 5 | plugin sstp-pppd-plugin.so 6 | sstp-sock /tmp/sstp-uds-sock 7 | usepeerdns 8 | require-mppe 9 | noauth 10 | refuse-eap 11 | debug 12 | 13 | # adopt defaults from the pptp-linux package 14 | file /etc/ppp/options.pptp 15 | -------------------------------------------------------------------------------- /net/sstp-client/files/etc/ppp/peers/peer-sstp-example.txt: -------------------------------------------------------------------------------- 1 | remotename sstp-test 2 | linkname sstp-test 3 | ipparam sstp-test 4 | pty "sstpc --server n3zz-dc1.sstp-test.net --nolaunchpppd " 5 | name SSTP-TEST\\jdoe 6 | plugin sstp-pppd-plugin.so 7 | sstp-sock /tmp/sstpc-uds-sock 8 | usepeerdns 9 | require-mppe 10 | refuse-eap 11 | noauth 12 | debug 13 | 14 | # adopt defaults from the pptp-linux package 15 | file /etc/ppp/options.pptp 16 | -------------------------------------------------------------------------------- /net/strongswan/Config.in: -------------------------------------------------------------------------------- 1 | menu "Configuration" 2 | depends on PACKAGE_strongswan 3 | 4 | # --with-routing-table 5 | config STRONGSWAN_ROUTING_TABLE 6 | string 7 | prompt "Set the IPsec routing table ID" 8 | default "220" 9 | 10 | # --with-routing-table-prio 11 | config STRONGSWAN_ROUTING_TABLE_PRIO 12 | string 13 | prompt "Set the IPsec routing table priority" 14 | default "220" 15 | 16 | endmenu 17 | -------------------------------------------------------------------------------- /net/strongswan/files/ipsec.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | 3 | START=90 4 | STOP=10 5 | 6 | start() { 7 | ipsec start 8 | } 9 | 10 | stop() { 11 | ipsec stop 12 | } 13 | 14 | restart() { 15 | ipsec restart 16 | } 17 | 18 | reload() { 19 | ipsec update 20 | } 21 | -------------------------------------------------------------------------------- /net/strongswan/files/ipsec.secrets: -------------------------------------------------------------------------------- 1 | # /etc/ipsec.secrets - strongSwan IPsec secrets file 2 | -------------------------------------------------------------------------------- /net/strongswan/files/ipsec.user: -------------------------------------------------------------------------------- 1 | # This file is interpreted as shell script. 2 | # Put your custom ip rules here, they will 3 | # be executed with each call to the script 4 | # /usr/lib/ipsec/_updown which by default 5 | # strongswan executes. 6 | 7 | -------------------------------------------------------------------------------- /net/stunnel/files/stunnel.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006-2008 OpenWrt.org 3 | 4 | START=90 5 | USE_PROCD=1 6 | 7 | start_service() { 8 | procd_open_instance 9 | procd_set_param command /usr/bin/stunnel /etc/stunnel/stunnel.conf 10 | procd_set_param respawn # respawn automatically if something died 11 | procd_close_instance 12 | } 13 | -------------------------------------------------------------------------------- /net/tgt/patches/010-fallocate.patch: -------------------------------------------------------------------------------- 1 | --- tgt-1.0.48.orig/usr/util.h 2014-06-04 15:03:53.000000000 +0300 2 | +++ tgt-1.0.48/usr/util.h 2014-06-04 15:17:48.548123039 +0300 3 | @@ -212,11 +212,6 @@ 4 | */ 5 | static inline int unmap_file_region(int fd, off_t offset, off_t length) 6 | { 7 | -#ifdef FALLOC_FL_PUNCH_HOLE 8 | - if (fallocate(fd, FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE, 9 | - offset, length) == 0) 10 | - return 0; 11 | -#endif 12 | return -1; 13 | } 14 | 15 | -------------------------------------------------------------------------------- /net/tgt/patches/030-Makefile.patch: -------------------------------------------------------------------------------- 1 | --- tgt-1.0.48.orig/Makefile 2014-06-04 15:03:53.000000000 +0300 2 | +++ tgt-1.0.48/Makefile 2014-06-04 15:18:13.132963670 +0300 3 | @@ -64,7 +64,7 @@ 4 | $(MAKE) -C conf clean 5 | 6 | .PHONY: install 7 | -install: install-programs install-doc install-conf install-scripts 8 | +install: install-programs 9 | 10 | .PHONY: rpm 11 | rpm: 12 | -------------------------------------------------------------------------------- /net/tinc/files/tinc.upgrade: -------------------------------------------------------------------------------- 1 | /etc/tinc/ 2 | -------------------------------------------------------------------------------- /net/transmission/patches/010_libtransmission_fallocate64_eglibc.patch: -------------------------------------------------------------------------------- 1 | --- a/libtransmission/fdlimit.c 2 | +++ b/libtransmission/fdlimit.c 3 | @@ -22,11 +22,6 @@ 4 | #include 5 | #endif 6 | 7 | -#ifdef HAVE_FALLOCATE64 8 | - /* FIXME can't find the right #include voodoo to pick up the declaration.. */ 9 | - extern int fallocate64 (int fd, int mode, uint64_t offset, uint64_t len); 10 | -#endif 11 | - 12 | #ifdef HAVE_XFS_XFS_H 13 | #include 14 | #endif 15 | -------------------------------------------------------------------------------- /net/transmission/patches/020-use-internal-miniupnp.patch: -------------------------------------------------------------------------------- 1 | --- a/configure.ac 2 | +++ b/configure.ac 3 | @@ -251,7 +251,7 @@ 4 | AC_LINK_IFELSE( 5 | [AC_LANG_PROGRAM([#include ], 6 | [struct UPNPDev dev;])], 7 | - [upnp_version="unknown"], 8 | + [upnp_version="none"], 9 | [upnp_version="none"] 10 | ) 11 | 12 | -------------------------------------------------------------------------------- /net/udpxy/files/udpxy.conf: -------------------------------------------------------------------------------- 1 | config udpxy 2 | option disabled '1' 3 | option respawn '1' 4 | option verbose '0' 5 | option status '1' 6 | # option bind '0.0.0.0' 7 | option port '4022' 8 | # option source '0.0.0.0' 9 | # option max_clients '3' 10 | # option log_file '/var/log/udpxy' 11 | # option buffer_size '4096' 12 | # option buffer_messages '-1' 13 | # option buffer_time '-1' 14 | # option nice_increment '0' 15 | # option mcsub_renew '0' 16 | -------------------------------------------------------------------------------- /net/ulogd/files/ulogd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2014 OpenWrt.org 3 | 4 | START=20 5 | 6 | USE_PROCD=1 7 | 8 | start_service() { 9 | procd_open_instance 10 | procd_set_param command /usr/sbin/ulogd 11 | procd_close_instance 12 | } 13 | -------------------------------------------------------------------------------- /net/unbound/files/root.key: -------------------------------------------------------------------------------- 1 | . IN DS 19036 8 2 49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE32F24E8FB5 2 | -------------------------------------------------------------------------------- /net/unbound/files/unbound.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | #Copyright (C) 2010 Ondrej Caletka 3 | START=61 4 | 5 | start () { 6 | unbound 7 | } 8 | 9 | stop () { 10 | PIDFILE='/var/run/unbound.pid' 11 | if [ -f $PIDFILE ] ; then 12 | kill $(cat $PIDFILE) 13 | fi 14 | } 15 | -------------------------------------------------------------------------------- /net/usbip/patches-2.0/100-musl-compat.patch: -------------------------------------------------------------------------------- 1 | --- a/src/usbipd.c 2 | +++ b/src/usbipd.c 3 | @@ -453,7 +453,7 @@ static void set_signal(void) 4 | sigaction(SIGTERM, &act, NULL); 5 | sigaction(SIGINT, &act, NULL); 6 | act.sa_handler = SIG_IGN; 7 | - sigaction(SIGCLD, &act, NULL); 8 | + sigaction(SIGCHLD, &act, NULL); 9 | } 10 | 11 | static const char *pid_file; 12 | -------------------------------------------------------------------------------- /net/vnstat/files/vnstat.config: -------------------------------------------------------------------------------- 1 | config vnstat 2 | list interface br-lan 3 | # list interface eth0.1 4 | # option remote http://example.org/vnstat/ 5 | # option symlink /www/vnstat 6 | -------------------------------------------------------------------------------- /net/vnstat/files/vnstat.defaults: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | wan="$(uci -P/var/state get network.wan.ifname)" 4 | 5 | if [ -n "$wan" ]; then 6 | uci -q batch <<-EOF >/dev/null 7 | del_list vnstat.@vnstat[-1].interface=$wan 8 | add_list vnstat.@vnstat[-1].interface=$wan 9 | commit vnstat 10 | EOF 11 | fi 12 | 13 | exit 0 14 | -------------------------------------------------------------------------------- /net/vnstat/patches/001-conf.patch: -------------------------------------------------------------------------------- 1 | --- a/cfg/vnstat.conf 2 | +++ b/cfg/vnstat.conf 3 | @@ -78,13 +78,13 @@ DaemonUser "" 4 | DaemonGroup "" 5 | 6 | # how often (in seconds) interface data is updated 7 | -UpdateInterval 30 8 | +UpdateInterval 60 9 | 10 | # how often (in seconds) interface status changes are checked 11 | -PollInterval 5 12 | +PollInterval 30 13 | 14 | # how often (in minutes) data is saved to file 15 | -SaveInterval 5 16 | +SaveInterval 30 17 | 18 | # how often (in minutes) data is saved when all interface are offline 19 | OfflineSaveInterval 30 20 | -------------------------------------------------------------------------------- /net/vnstat/patches/003-no_install_uname.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile 2 | +++ b/Makefile 3 | @@ -33,12 +33,6 @@ debug: 4 | install: 5 | @echo "Installing vnStat..." 6 | 7 | -# check that system is really Linux 8 | - @if [ `uname` != "Linux" ]; \ 9 | - then echo "This isn't a Linux system. Maybe 'make bsdinstall' is what you need?"; \ 10 | - false; \ 11 | - fi 12 | - 13 | # check that there's something to install 14 | @if [ ! -f "src/vnstat" ] || [ ! -f "src/vnstatd" ]; \ 15 | then echo "Nothing to install, run make first."; \ 16 | -------------------------------------------------------------------------------- /net/vnstat/patches/100-musl-compat.patch: -------------------------------------------------------------------------------- 1 | --- a/src/common.h 2 | +++ b/src/common.h 3 | @@ -22,6 +22,7 @@ 4 | #include 5 | #include 6 | #include 7 | +#include 8 | 9 | #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__FreeBSD_kernel__) 10 | #include 11 | -------------------------------------------------------------------------------- /net/vpnc/Config.in: -------------------------------------------------------------------------------- 1 | # vpnc avanced configuration 2 | 3 | menu "Configuration" 4 | depends on PACKAGE_vpnc 5 | 6 | choice 7 | prompt "SSL library" 8 | default VPNC_GNUTLS 9 | 10 | config VPNC_GNUTLS 11 | bool "GnuTLS support" 12 | 13 | config VPNC_OPENSSL 14 | bool "OpenSSL" 15 | 16 | endchoice 17 | 18 | endmenu 19 | -------------------------------------------------------------------------------- /net/vpnc/files/vpnc.upgrade: -------------------------------------------------------------------------------- 1 | /etc/vpnc/ca-vpn-*.pem 2 | 3 | -------------------------------------------------------------------------------- /net/vsftpd/files/vsftpd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006-2011 OpenWrt.org 3 | 4 | START=50 5 | 6 | start() { 7 | mkdir -m 0755 -p /var/run/vsftpd 8 | service_start /usr/sbin/vsftpd 9 | } 10 | 11 | stop() { 12 | service_stop /usr/sbin/vsftpd 13 | } 14 | -------------------------------------------------------------------------------- /net/vsftpd/patches/002-find_libs.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile 2 | +++ b/Makefile 3 | @@ -8,8 +8,8 @@ CFLAGS = -O2 -fPIE -fstack-protector --p 4 | -D_FORTIFY_SOURCE=2 \ 5 | #-pedantic -Wconversion 6 | 7 | -LIBS = `./vsf_findlibs.sh` 8 | -LINK = -Wl,-s 9 | +LIBS = -lcrypt -lnsl 10 | +LINK = 11 | LDFLAGS = -fPIE -pie -Wl,-z,relro -Wl,-z,now 12 | 13 | OBJS = main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o \ 14 | -------------------------------------------------------------------------------- /net/vsftpd/patches/003-chroot.patch: -------------------------------------------------------------------------------- 1 | --- a/tunables.c 2 | +++ b/tunables.c 3 | @@ -254,7 +254,7 @@ tunables_load_defaults() 4 | /* -rw------- */ 5 | tunable_chown_upload_mode = 0600; 6 | 7 | - install_str_setting("/usr/share/empty", &tunable_secure_chroot_dir); 8 | + install_str_setting("/var/run/vsftpd", &tunable_secure_chroot_dir); 9 | install_str_setting("ftp", &tunable_ftp_username); 10 | install_str_setting("root", &tunable_chown_username); 11 | install_str_setting("/var/log/xferlog", &tunable_xferlog_file); 12 | -------------------------------------------------------------------------------- /net/vsftpd/patches/004-disable-capabilities.patch: -------------------------------------------------------------------------------- 1 | --- a/sysdeputil.c 2 | +++ b/sysdeputil.c 3 | @@ -165,6 +165,9 @@ 4 | #endif 5 | /* END config */ 6 | 7 | +#undef VSF_SYSDEP_HAVE_CAPABILITIES 8 | +#undef VSF_SYSDEP_HAVE_LIBCAP 9 | + 10 | /* PAM support - we include our own dummy version if the system lacks this */ 11 | #include 12 | 13 | -------------------------------------------------------------------------------- /net/vsftpd/patches/005-disable-pam.patch: -------------------------------------------------------------------------------- 1 | --- a/builddefs.h 2 | +++ b/builddefs.h 3 | @@ -2,7 +2,7 @@ 4 | #define VSF_BUILDDEFS_H 5 | 6 | #undef VSF_BUILD_TCPWRAPPERS 7 | -#define VSF_BUILD_PAM 8 | +#undef VSF_BUILD_PAM 9 | #undef VSF_BUILD_SSL 10 | 11 | #endif /* VSF_BUILDDEFS_H */ 12 | -------------------------------------------------------------------------------- /net/vsftpd/patches/006-musl-compatibility.patch: -------------------------------------------------------------------------------- 1 | --- a/sysdeputil.c 2 | +++ b/sysdeputil.c 3 | @@ -58,7 +58,9 @@ 4 | #define VSF_SYSDEP_HAVE_SHADOW 5 | #define VSF_SYSDEP_HAVE_USERSHELL 6 | #define VSF_SYSDEP_HAVE_LIBCAP 7 | -#define VSF_SYSDEP_HAVE_UTMPX 8 | +#if defined(__GLIBC__) || defined(__UCLIBC__) 9 | + #define VSF_SYSDEP_HAVE_UTMPX 10 | +#endif 11 | 12 | #define __USE_GNU 13 | #include 14 | -------------------------------------------------------------------------------- /net/wshaper/files/wshaper.config: -------------------------------------------------------------------------------- 1 | config 'wshaper' 'settings' 2 | option 'network' 'wan' 3 | option 'downlink' '2000' 4 | option 'uplink' '240' 5 | -------------------------------------------------------------------------------- /net/wshaper/files/wshaper.iface: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | [ "$ACTION" = ifup ] && /etc/init.d/wshaper enabled && /etc/init.d/wshaper start || exit 0 4 | -------------------------------------------------------------------------------- /net/wshaper/files/wshaper.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | 3 | START=45 4 | start() { 5 | wshaper.htb 6 | } 7 | 8 | stop() { 9 | wshaper.htb stop 10 | } 11 | -------------------------------------------------------------------------------- /net/xinetd/files/xinetd.conf: -------------------------------------------------------------------------------- 1 | defaults 2 | { 3 | 4 | } 5 | 6 | includedir /etc/xinetd.d 7 | -------------------------------------------------------------------------------- /net/xinetd/files/xinetd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006-2011 OpenWrt.org 3 | 4 | START=50 5 | 6 | SERVICE_USE_PID=1 7 | 8 | start() { 9 | service_start /usr/sbin/xinetd -pidfile /var/run/xinetd.pid 10 | } 11 | 12 | stop() { 13 | service_stop /usr/sbin/xinetd 14 | } 15 | 16 | -------------------------------------------------------------------------------- /net/xl2tpd/files/options.xl2tpd: -------------------------------------------------------------------------------- 1 | # 2 | 3 | lock 4 | noauth 5 | debug 6 | dump 7 | logfd 2 8 | logfile /var/log/xl2tpd.log 9 | noccp 10 | novj 11 | novjccomp 12 | nopcomp 13 | noaccomp 14 | -------------------------------------------------------------------------------- /net/xl2tpd/files/xl2tp-secrets: -------------------------------------------------------------------------------- 1 | # Secrets for authenticating l2tp tunnels 2 | # us them secret 3 | # * marko blah2 4 | # zeus marko blah 5 | # * * interop 6 | -------------------------------------------------------------------------------- /net/xl2tpd/files/xl2tpd.conf: -------------------------------------------------------------------------------- 1 | [global] 2 | port = 1701 3 | auth file = /etc/xl2tpd/xl2tp-secrets 4 | access control = no 5 | 6 | ;[lns default] 7 | ;exclusive = yes 8 | ;ip range = 192.168.254.202-192.168.254.210 9 | ;lac = 10.0.1.2 10 | ;hidden bit = no 11 | ;local ip = 192.168.254.200 12 | ;length bit = yes 13 | ;refuse authentication = yes 14 | ;name = VersaLink 15 | ;ppp debug = yes 16 | ;pppoptfile = /etc/ppp/options.xl2tpd 17 | 18 | ;[lac left] 19 | ;lns = 10.0.1.2 20 | ;refuse authentication = yes 21 | ;name = VersaLink 22 | ;ppp debug = yes 23 | ;pppoptfile = /etc/ppp/options.xl2tpd 24 | -------------------------------------------------------------------------------- /net/xl2tpd/files/xl2tpd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006-2015 OpenWrt.org 3 | 4 | START=60 5 | USE_PROCD=1 6 | 7 | BIN=xl2tpd 8 | RUN_D="/var/run/xl2tpd" 9 | PID_F="/var/run/xl2tpd.pid" 10 | 11 | start_service() { 12 | rm -rf "$RUN_D" 13 | mkdir -p "$RUN_D" 14 | 15 | procd_open_instance 16 | procd_set_param command $BIN -D -l -p "$PID_F" 17 | procd_set_param respawn 18 | procd_close_instance 19 | } 20 | 21 | stop_service() { 22 | rm -rf "$RUN_D" 23 | rm -rf "$PID_F" 24 | } 25 | -------------------------------------------------------------------------------- /net/xl2tpd/patches/100-makefile_opt_flags.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile 2 | +++ b/Makefile 3 | @@ -97,7 +97,8 @@ OSFLAGS+= -DUSE_KERNEL 4 | 5 | IPFLAGS?= -DIP_ALLOCATION 6 | 7 | -CFLAGS+= $(DFLAGS) -O2 -fno-builtin -Wall -DSANITY $(OSFLAGS) $(IPFLAGS) 8 | +OFLAGS=-O2 9 | +CFLAGS+= $(DFLAGS) $(OFLAGS) -fno-builtin -Wall -DSANITY $(OSFLAGS) $(IPFLAGS) 10 | HDRS=l2tp.h avp.h misc.h control.h call.h scheduler.h file.h aaa.h md5.h 11 | OBJS=xl2tpd.o pty.o misc.o control.o avp.o call.o network.o avpsend.o scheduler.o file.o aaa.o md5.o 12 | SRCS=${OBJS:.o=.c} ${HDRS} 13 | -------------------------------------------------------------------------------- /net/xl2tpd/patches/120-no-bsd-signal-in-musl.patch: -------------------------------------------------------------------------------- 1 | --- a/xl2tpd.c 2 | +++ b/xl2tpd.c 3 | @@ -30,7 +30,7 @@ 4 | #include 5 | #include 6 | #include 7 | -#if (__GLIBC__ < 2) 8 | +#if defined (__GLIBC__) && (__GLIBC__ < 2) 9 | # if defined(FREEBSD) || defined(OPENBSD) 10 | # include 11 | # elif defined(LINUX) 12 | -------------------------------------------------------------------------------- /sound/forked-daapd/files/forked-daapd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2014 OpenWrt.org 3 | 4 | START=99 5 | BIN=/usr/sbin/forked-daapd 6 | PID=/var/run/forked-daapd.pid 7 | SSD=start-stop-daemon 8 | 9 | start() { 10 | $SSD -p $PID -S -x $BIN -- -P $PID 11 | } 12 | 13 | stop() { 14 | $SSD -p $PID -K -s SIGINT 15 | } 16 | -------------------------------------------------------------------------------- /sound/mpc/files/pls-handler.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | echo parameter: file.pls 3 | mpc clear 4 | grep '^File[0-9]*' $1 | sed -e 's/^File[0-9]*=//' | mpc add 5 | mpc play -------------------------------------------------------------------------------- /sound/mpd/files/mpd.service: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | %h 5 | 6 | _mpd._tcp 7 | 6600 8 | 9 | 10 | -------------------------------------------------------------------------------- /sound/mpd/patches/210-support_raw_pcm_streams.patch: -------------------------------------------------------------------------------- 1 | --- a/src/decoder/plugins/FfmpegDecoderPlugin.cxx 2 | +++ b/src/decoder/plugins/FfmpegDecoderPlugin.cxx 3 | @@ -765,6 +765,7 @@ static const char *const ffmpeg_mime_typ 4 | "audio/qcelp", 5 | "audio/vorbis", 6 | "audio/vorbis+ogg", 7 | + "audio/wav", 8 | "audio/x-8svx", 9 | "audio/x-16sv", 10 | "audio/x-aac", 11 | -------------------------------------------------------------------------------- /sound/pulseaudio/patches/001-no_default_64mb_alloc.patch: -------------------------------------------------------------------------------- 1 | --- a/src/pulsecore/memblock.c 2 | +++ b/src/pulsecore/memblock.c 3 | @@ -55,7 +55,7 @@ 4 | * stored in SHM and our OS does not commit the memory before we use 5 | * it for the first time. */ 6 | #define PA_MEMPOOL_SLOTS_MAX 1024 7 | -#define PA_MEMPOOL_SLOT_SIZE (64*1024) 8 | +#define PA_MEMPOOL_SLOT_SIZE 64 9 | 10 | #define PA_MEMEXPORT_SLOTS_MAX 128 11 | 12 | -------------------------------------------------------------------------------- /sound/shairplay/files/shairplay.config: -------------------------------------------------------------------------------- 1 | config shairplay main 2 | option disabled '1' 3 | option respawn '1' 4 | option apname 'AirPlay' 5 | option port '5000' 6 | option password '' 7 | option hwaddr '' 8 | option ao_driver 'oss' 9 | option ao_devicename '' 10 | option ao_deviceid '' 11 | -------------------------------------------------------------------------------- /sound/shairplay/patches/002-libavahi-compat-dnssd.patch: -------------------------------------------------------------------------------- 1 | --- a/src/lib/dnssd.c 2 | +++ b/src/lib/dnssd.c 3 | @@ -167,7 +167,7 @@ dnssd_init(int *error) 4 | return NULL; 5 | } 6 | #elif USE_LIBDL 7 | - dnssd->module = dlopen("libdns_sd.so", RTLD_LAZY); 8 | + dnssd->module = dlopen("libdns_sd.so.1", RTLD_LAZY); 9 | if (!dnssd->module) { 10 | if (error) *error = DNSSD_ERROR_LIBNOTFOUND; 11 | free(dnssd); 12 | -------------------------------------------------------------------------------- /sound/shairport/patches/001-disable_pulseaudio.patch: -------------------------------------------------------------------------------- 1 | --- a/configure 2 | +++ b/configure 3 | @@ -59,7 +59,7 @@ do_pkg_config() 4 | 5 | do_pkg_config OpenSSL openssl 6 | -do_pkg_config libao ao CONFIG_AO 7 | -do_pkg_config PulseAudio libpulse-simple CONFIG_PULSE 8 | +#do_pkg_config libao ao CONFIG_AO 9 | +#do_pkg_config PulseAudio libpulse-simple CONFIG_PULSE 10 | do_pkg_config ALSA alsa CONFIG_ALSA 11 | do_pkg_config Avahi\ client avahi-client CONFIG_AVAHI 12 | 13 | -------------------------------------------------------------------------------- /sound/squeezelite/files/squeezelite.conf: -------------------------------------------------------------------------------- 1 | 2 | config options 'options' 3 | option name 'SqueezeWrt' 4 | option model_name 'SqueezeLite' 5 | option close_delay '0' 6 | option priority '0' 7 | option max_sr '0' 8 | option device 'hw:0,0' 9 | option decoder_auto_conf '1' 10 | option dsd_over_pcm '0' 11 | option ircontrol '0' 12 | option enabled '1' 13 | -------------------------------------------------------------------------------- /sound/squeezelite/patches/030-fix_musl_compatibilty.patch: -------------------------------------------------------------------------------- 1 | --- a/output_alsa.c 2 | +++ b/output_alsa.c 3 | @@ -862,8 +862,11 @@ void output_init_alsa(log_level level, c 4 | LOG_INFO("memory locked"); 5 | } 6 | 7 | +#ifdef M_TRIM_THRESHOLD 8 | + // mallopt is not defined in musl libc 9 | mallopt(M_TRIM_THRESHOLD, -1); 10 | mallopt(M_MMAP_MAX, 0); 11 | +#endif 12 | 13 | touch_memory(silencebuf, MAX_SILENCE_FRAMES * BYTES_PER_FRAME); 14 | touch_memory(outputbuf->buf, outputbuf->size); 15 | -------------------------------------------------------------------------------- /sound/svox/patches/0011-subdir.patch: -------------------------------------------------------------------------------- 1 | diff -urN a/pico/configure.in b/pico/configure.in 2 | --- a/pico/configure.in 2015-01-21 18:59:39.604452795 +0100 3 | +++ b/pico/configure.in 2015-01-21 19:00:53.288777298 +0100 4 | @@ -4,7 +4,7 @@ 5 | 6 | AC_INIT([svox], [1.0], [math.parent@gmail.com]) 7 | 8 | -AM_INIT_AUTOMAKE([1.9 foreign]) 9 | +AM_INIT_AUTOMAKE([1.9 foreign subdir-objects]) 10 | 11 | AC_PROG_CC 12 | LT_INIT 13 | -------------------------------------------------------------------------------- /sound/upmpdcli/files/upmpdcli.config: -------------------------------------------------------------------------------- 1 | config upmpdcli lan 2 | option interface 'br-lan' 3 | # option friendly_name 'upmpdcli' 4 | # option mpd_host '127.0.0.1' 5 | # option mpd_port '6600' 6 | # option upmpd_port '0' 7 | # option config '/etc/upmpdcli.conf' 8 | 9 | # Add additional interfaces 10 | # 11 | #config upmpdcli wifi 12 | # option interface 'wlan0' 13 | 14 | #config upmpdcli wan 15 | # option interface 'eth0' 16 | -------------------------------------------------------------------------------- /sound/upmpdcli/files/upmpdcli.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wifidog/packages/2f32b672739ef0faaebccb5e3da05f255a811c94/sound/upmpdcli/files/upmpdcli.png -------------------------------------------------------------------------------- /sound/upmpdcli/patches/010-Add_icon_config.patch: -------------------------------------------------------------------------------- 1 | --- a/src/upmpdcli.conf 2 | +++ b/src/upmpdcli.conf 3 | @@ -53,3 +53,6 @@ ohmetapersist = 1 4 | # Path to the sc2mpd if it is not in /usr/bin and the location is not in 5 | # the PATH for the init scripts. 6 | #sc2mpd = /usr/bin/sc2mpd 7 | + 8 | +# Icon for MPD UPnP interface 9 | +iconpath = /usr/share/upmpdcli/upmpdcli.png 10 | -------------------------------------------------------------------------------- /utils/acl/patches/101-no-gettext_autogen.patch: -------------------------------------------------------------------------------- 1 | diff --git a/autogen.sh b/autogen.sh 2 | index a98a3c5..982aff1 100755 3 | --- a/autogen.sh 4 | +++ b/autogen.sh 5 | @@ -1,4 +1,2 @@ 6 | #!/bin/sh -ex 7 | -po/update-potfiles 8 | -autopoint --force 9 | exec autoreconf -f -i 10 | -------------------------------------------------------------------------------- /utils/acl/patches/102-no-gettext_Makefile.patch: -------------------------------------------------------------------------------- 1 | diff --git a/Makefile.am b/Makefile.am 2 | index 47d2a4e..d02ee91 100644 3 | --- a/Makefile.am 4 | +++ b/Makefile.am 5 | @@ -3,8 +3,6 @@ ACLOCAL_AMFLAGS = -I m4 6 | EXTRA_DIST = \ 7 | exports 8 | 9 | -SUBDIRS = po 10 | - 11 | AM_CPPFLAGS = \ 12 | -I$(top_builddir)/include \ 13 | -I$(top_srcdir)/include \ 14 | -------------------------------------------------------------------------------- /utils/acpid/files/acpid.hotplug: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . /lib/functions.sh 4 | 5 | if [ "$ACTION" = add ] && [ "$DEVICENAME" = event0 ]; then 6 | ( /etc/init.d/acpid/stop; sleep 3; /usr/sbin/acpid )& 7 | fi 8 | -------------------------------------------------------------------------------- /utils/acpid/files/acpid.init: -------------------------------------------------------------------------------- 1 | #!/bin/ash /etc/rc.common 2 | # Copyright (C) 2009-2010 OpenWrt.org 3 | 4 | START=99 5 | STOP=80 6 | 7 | ACPID_BIN="/usr/sbin/acpid" 8 | ACPID_PID="/var/run/acpid.pid" 9 | 10 | start() { 11 | [ -x "$ACPID_BIN" ] || return 1 12 | start-stop-daemon -S -x $ACPID_BIN -p $ACPID_PID 13 | } 14 | 15 | boot() { 16 | # Do nothing on boot 17 | [ -x "$ACPID_BIN" ] || return 1 18 | start-stop-daemon -S -x $ACPID_BIN -p $ACPID_PID 19 | exit 0 20 | } 21 | 22 | stop() { 23 | service_kill ${ACPID_BIN##*/} $ACPID_PID 24 | rm -f $ACPID_PID 25 | } 26 | -------------------------------------------------------------------------------- /utils/acpid/files/default: -------------------------------------------------------------------------------- 1 | # This is a sample ACPID configuration 2 | 3 | event=button/power.* 4 | action=/sbin/poweroff 5 | 6 | -------------------------------------------------------------------------------- /utils/attr/patches/101-no-gettext_autogen.patch: -------------------------------------------------------------------------------- 1 | diff --git a/autogen.sh b/autogen.sh 2 | index a98a3c5..982aff1 100755 3 | --- a/autogen.sh 4 | +++ b/autogen.sh 5 | @@ -1,4 +1,2 @@ 6 | #!/bin/sh -ex 7 | -po/update-potfiles 8 | -autopoint --force 9 | exec autoreconf -f -i 10 | -------------------------------------------------------------------------------- /utils/attr/patches/102-no-gettext_Makefile.patch: -------------------------------------------------------------------------------- 1 | diff --git a/Makefile.am b/Makefile.am 2 | index a3e8353..381bb55 100644 3 | --- a/Makefile.am 4 | +++ b/Makefile.am 5 | @@ -3,8 +3,6 @@ ACLOCAL_AMFLAGS = -I m4 6 | EXTRA_DIST = \ 7 | exports 8 | 9 | -SUBDIRS = po 10 | - 11 | AM_CPPFLAGS = \ 12 | -I$(top_builddir)/include \ 13 | -I$(top_srcdir)/include \ 14 | -------------------------------------------------------------------------------- /utils/bash/patches/900-no_doc.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile.in 2 | +++ b/Makefile.in 3 | @@ -741,10 +741,8 @@ reconfig: force 4 | # $(MAKE) -f $(srcdir)/Makefile $(MFLAGS) srcdir=$(srcdir) 5 | 6 | doc documentation: force 7 | - @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) ) 8 | 9 | info dvi ps: force 10 | - @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) CFLAGS='$(CCFLAGS)' $@ ) 11 | 12 | force: 13 | 14 | -------------------------------------------------------------------------------- /utils/bluelog/files/bluelog.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | 3 | START=65 4 | 5 | SERVICE_DAEMONIZE=1 6 | 7 | start() { 8 | service_start /usr/bin/bluelog 9 | } 10 | 11 | stop() { 12 | service_stop /usr/bin/bluelog 13 | } 14 | -------------------------------------------------------------------------------- /utils/bluez/files/bluetooth.config: -------------------------------------------------------------------------------- 1 | config bluetoothd 2 | # option config /etc/bluetooth/main.conf 3 | option enabled 1 4 | 5 | config hciattach 6 | option initspeed 115200 7 | option tty ttyS1 8 | option type csr 9 | option speed 115200 10 | option flow noflow 11 | option enabled 0 12 | 13 | config rfcomm 14 | # option config /etc/bluetooth/rfcomm.conf 15 | option enabled 0 16 | -------------------------------------------------------------------------------- /utils/bluez/files/bluetoothd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2007 OpenWrt.org 3 | 4 | #start after dbus (60) 5 | START=62 6 | USE_PROCD=1 7 | PROG=/usr/bin/bluetoothd 8 | 9 | start_service() { 10 | procd_open_instance 11 | procd_set_param command "$PROG" -n 12 | procd_close_instance 13 | } 14 | -------------------------------------------------------------------------------- /utils/bluez/files/givepin: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Write bluetooth PIN number here: 4 | pin= 5 | 6 | if [ -z "$pin" ]; then 7 | msg="Set bluetooth PIN in file $0" 8 | logger -p user.err "$msg" 9 | for i in /dev/pts/* ; do 10 | [ -w $i ] && echo "$msg" > $i 11 | done 12 | else 13 | echo "PIN:$pin" 14 | fi 15 | -------------------------------------------------------------------------------- /utils/btrfs-progs/files/btrfs-scan.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2014 OpenWrt.org 3 | 4 | START=19 5 | 6 | start() { 7 | grep -q btrfs /proc/filesystems && /usr/bin/btrfs device scan 8 | } 9 | 10 | -------------------------------------------------------------------------------- /utils/cmdpad/files/cmdpad.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2007-2011 OpenWrt.org 3 | 4 | START=93 5 | 6 | SSD_DAEMONIZE=1 7 | 8 | start() { 9 | service_start /usr/sbin/cmdpad --quiet 10 | } 11 | 12 | stop() { 13 | service_stop /usr/sbin/cmdpad 14 | } 15 | -------------------------------------------------------------------------------- /utils/cmdpad/patches/130-no_zombie.patch: -------------------------------------------------------------------------------- 1 | --- cmdpad-0.0.3/src/command.c.orig 2003-03-29 17:54:12.000000000 +0100 2 | +++ cmdpad-0.0.3/src/command.c 2008-01-12 05:41:22.000000000 +0100 3 | @@ -68,6 +68,7 @@ 4 | 5 | void exec( char * command) 6 | { 7 | + int status; 8 | if( fork() == 0) { 9 | char ** tmp ; 10 | int i ; 11 | @@ -88,6 +89,7 @@ 12 | perror( "ERROR: execv") ; 13 | exit( 1) ; 14 | } // end if( fork()) 15 | + wait(&status); 16 | } 17 | 18 | int getNumberofEntry() 19 | -------------------------------------------------------------------------------- /utils/cmdpad/patches/140-compile_fix.patch: -------------------------------------------------------------------------------- 1 | --- a/src/parse.c 2 | +++ b/src/parse.c 3 | @@ -125,7 +125,7 @@ int readCommandLine( int argc, char *arg 4 | 5 | d2printf( "command line command %s found\n", pchCommandTranslations[ iCmd+1]) ; 6 | 7 | - vsnprintf( achCommand, sizeof( achCommand), 8 | + snprintf( achCommand, sizeof( achCommand), 9 | pchCommandTranslations[ iCmd+1], 10 | &argv[ i+1]) ; 11 | 12 | -------------------------------------------------------------------------------- /utils/collectd/files/collectd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006-2011 OpenWrt.org 3 | 4 | START=80 5 | 6 | SERVICE_USE_PID=1 7 | 8 | start() { 9 | mkdir -m 0755 -p /var/lib/collectd 10 | service_start /usr/sbin/collectd 11 | } 12 | 13 | stop() { 14 | service_stop /usr/sbin/collectd 15 | } 16 | -------------------------------------------------------------------------------- /utils/collectd/patches/001-undefined-AM_PATH_LIBGCRYPT.patch: -------------------------------------------------------------------------------- 1 | --- /dev/null 2 | +++ b/fake-am_path_libgcrypt.m4 3 | @@ -0,0 +1 @@ 4 | +AC_DEFUN([AM_PATH_LIBGCRYPT],[:]) 5 | -------------------------------------------------------------------------------- /utils/collectd/patches/140-fix-fqdnlookup.patch: -------------------------------------------------------------------------------- 1 | --- a/src/daemon/configfile.c 2 | +++ b/src/daemon/configfile.c 3 | @@ -109,7 +109,7 @@ static cf_global_option_t cf_global_opti 4 | {"BaseDir", NULL, PKGLOCALSTATEDIR}, 5 | {"PIDFile", NULL, PIDFILE}, 6 | {"Hostname", NULL, NULL}, 7 | - {"FQDNLookup", NULL, "true"}, 8 | + {"FQDNLookup", NULL, "false"}, 9 | {"Interval", NULL, NULL}, 10 | {"ReadThreads", NULL, "5"}, 11 | {"WriteThreads", NULL, "5"}, 12 | -------------------------------------------------------------------------------- /utils/collectd/patches/200-fix-git-describe-error.patch: -------------------------------------------------------------------------------- 1 | --- a/version-gen.sh 2 | +++ b/version-gen.sh 3 | @@ -2,7 +2,7 @@ 4 | 5 | DEFAULT_VERSION="5.5.0.git" 6 | 7 | -VERSION="`git describe 2> /dev/null | grep collectd | sed -e 's/^collectd-//'`" 8 | +#VERSION="`git describe 2> /dev/null | grep collectd | sed -e 's/^collectd-//'`" 9 | 10 | if test -z "$VERSION"; then 11 | VERSION="$DEFAULT_VERSION" 12 | -------------------------------------------------------------------------------- /utils/collectd/patches/400-fix-olsrd-get-all.patch: -------------------------------------------------------------------------------- 1 | --- a/src/olsrd.c 2 | +++ b/src/olsrd.c 3 | @@ -658,7 +658,7 @@ static int olsrd_read (void) /* {{{ */ 4 | if (fh == NULL) 5 | return (-1); 6 | 7 | - fputs ("\r\n", fh); 8 | + fputs ("/all \r\n", fh); 9 | fflush (fh); 10 | 11 | while (fgets (buffer, sizeof (buffer), fh) != NULL) 12 | -------------------------------------------------------------------------------- /utils/collectd/patches/920-fix-ping-droprate.patch: -------------------------------------------------------------------------------- 1 | --- a/src/ping.c 2 | +++ b/src/ping.c 3 | @@ -656,7 +656,7 @@ static int ping_read (void) /* {{{ */ 4 | / ((double) (pkg_recv * (pkg_recv - 1)))); 5 | 6 | /* Calculate drop rate. */ 7 | - droprate = ((double) (pkg_sent - pkg_recv)) / ((double) pkg_sent); 8 | + droprate = ((double) (pkg_sent - pkg_recv)) * 100 / ((double) pkg_sent); 9 | 10 | submit (hl->host, "ping", latency_average); 11 | submit (hl->host, "ping_stddev", latency_stddev); 12 | -------------------------------------------------------------------------------- /utils/coreutils/patches/002-fix_compile_with_uclibc.patch: -------------------------------------------------------------------------------- 1 | --- a/lib/pthread.in.h 2 | +++ b/lib/pthread.in.h 3 | @@ -252,6 +252,9 @@ pthread_mutex_unlock (pthread_mutex_t *m 4 | 5 | /* Approximate spinlocks with mutexes. */ 6 | 7 | +#ifdef __UCLIBC__ 8 | +#define pthread_spinlock_t original_pthread_spinlock_t 9 | +#endif 10 | typedef pthread_mutex_t pthread_spinlock_t; 11 | 12 | _GL_PTHREAD_INLINE int 13 | -------------------------------------------------------------------------------- /utils/cryptodev-linux/files/cryptodev.modules: -------------------------------------------------------------------------------- 1 | cryptodev 2 | -------------------------------------------------------------------------------- /utils/cryptodev-linux/patches/001-no-get-unused-fd.patch: -------------------------------------------------------------------------------- 1 | Index: cryptodev-linux-1.7/ioctl.c 2 | =================================================================== 3 | --- cryptodev-linux-1.7.orig/ioctl.c 4 | +++ cryptodev-linux-1.7/ioctl.c 5 | @@ -546,7 +546,7 @@ static int 6 | clonefd(struct file *filp) 7 | { 8 | int ret; 9 | - ret = get_unused_fd(); 10 | + ret = get_unused_fd_flags(0); 11 | if (ret >= 0) { 12 | get_file(filp); 13 | fd_install(ret, filp); 14 | -------------------------------------------------------------------------------- /utils/dbus/files/dbus-launch: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Simple wrapper script which allows us to build dbus without general x support 4 | # If an application needs x support in dbus-launch it has to depend on the 5 | # dbus-launch-x package. The script is used to prefer dbus-launch with x over 6 | # the dbus-lauch without x. 7 | 8 | if [ -f /usr/bin/dbus-launch-x ]; then 9 | exec /usr/bin/dbus-launch-x $@ 10 | else 11 | exec /usr/bin/dbus-launch.real $@ 12 | fi 13 | -------------------------------------------------------------------------------- /utils/dbus/files/dbus.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2007-2011 OpenWrt.org 3 | 4 | START=60 5 | 6 | SERVICE_PID_FILE=/var/run/dbus.pid 7 | 8 | start() { 9 | mkdir -m 0755 -p /var/lib/dbus 10 | mkdir -m 0755 -p /var/run/dbus 11 | [ -x /usr/bin/dbus-uuidgen ] && /usr/bin/dbus-uuidgen --ensure 12 | service_start /usr/sbin/dbus-daemon --system 13 | } 14 | 15 | stop() { 16 | service_stop /usr/sbin/dbus-daemon && rm $SERVICE_PID_FILE 17 | } 18 | -------------------------------------------------------------------------------- /utils/dbus/patches/100-fix-poll-select.patch: -------------------------------------------------------------------------------- 1 | Index: dbus-1.9.4/tools/tool-common.c 2 | =================================================================== 3 | --- dbus-1.9.4.orig/tools/tool-common.c 4 | +++ dbus-1.9.4/tools/tool-common.c 5 | @@ -29,6 +29,8 @@ 6 | #include 7 | #include 8 | 9 | +#include 10 | + 11 | #ifdef DBUS_WIN 12 | #include 13 | #endif 14 | -------------------------------------------------------------------------------- /utils/dump1090/Config.in: -------------------------------------------------------------------------------- 1 | config DUMP1090_DUMP 2 | bool "dump1090" 3 | depends on PACKAGE_dump1090 4 | default y 5 | help 6 | dump1090 ModeS Receiver 7 | 8 | config DUMP1090_WWW 9 | bool "website files" 10 | depends on DUMP1090_DUMP 11 | default y 12 | help 13 | HTML website files for showing planes 14 | 15 | config DUMP1090_VIEW 16 | bool "view1090" 17 | depends on PACKAGE_dump1090 18 | default n 19 | help 20 | view1090 dump1090 Viewer 21 | -------------------------------------------------------------------------------- /utils/dump1090/patches/100-html_dir.patch: -------------------------------------------------------------------------------- 1 | --- a/dump1090.h 2 | +++ b/dump1090.h 3 | @@ -178,7 +178,7 @@ 4 | #define MODES_NET_SNDBUF_MAX (7) 5 | 6 | #ifndef HTMLPATH 7 | -#define HTMLPATH "./public_html" // default path for gmap.html etc 8 | +#define HTMLPATH "/usr/share/dump1090" // default path for gmap.html etc 9 | #endif 10 | 11 | #define MODES_NOTUSED(V) ((void) V) 12 | -------------------------------------------------------------------------------- /utils/f2fs-tools/patches/010-include-byteswap-h.patch: -------------------------------------------------------------------------------- 1 | --- a/include/f2fs_fs.h 2 | +++ b/include/f2fs_fs.h 3 | @@ -12,6 +12,7 @@ 4 | #include 5 | #include 6 | #include 7 | +#include 8 | 9 | #ifdef HAVE_CONFIG_H 10 | #include 11 | -------------------------------------------------------------------------------- /utils/flashrom/patches/0001-fix_internal_bitbang.patch: -------------------------------------------------------------------------------- 1 | --- a/programmer.h 2 | +++ b/programmer.h 3 | @@ -557,7 +557,7 @@ enum spi_controller { 4 | #if CONFIG_DEDIPROG == 1 5 | SPI_CONTROLLER_DEDIPROG, 6 | #endif 7 | -#if CONFIG_OGP_SPI == 1 || CONFIG_NICINTEL_SPI == 1 || CONFIG_RAYER_SPI == 1 || CONFIG_PONY_SPI == 1 || (CONFIG_INTERNAL == 1 && (defined(__i386__) || defined(__x86_64__))) 8 | +#if CONFIG_OGP_SPI == 1 || CONFIG_NICINTEL_SPI == 1 || CONFIG_RAYER_SPI == 1 || CONFIG_PONY_SPI == 1 || CONFIG_INTERNAL == 1 9 | SPI_CONTROLLER_BITBANG, 10 | #endif 11 | #if CONFIG_LINUX_SPI == 1 12 | -------------------------------------------------------------------------------- /utils/flashrom/patches/0002-fix-musl-compatibility.patch: -------------------------------------------------------------------------------- 1 | diff -uprN a/linux_spi.c b/linux_spi.c 2 | --- a/linux_spi.c 2015-06-17 20:50:36.492963100 +0200 3 | +++ b/linux_spi.c 2015-06-17 20:50:00.444860800 +0200 4 | @@ -22,7 +22,7 @@ 5 | #include 6 | #include 7 | #include 8 | -#include 9 | +#include 10 | #include 11 | #include 12 | #include 13 | -------------------------------------------------------------------------------- /utils/gammu/files/gammu: -------------------------------------------------------------------------------- 1 | config daemon default 2 | option enabled 0 3 | option device /dev/ttyUSB0 4 | option connection at 5 | option logfile syslog 6 | -------------------------------------------------------------------------------- /utils/gammu/patches/002-no-fstack-protector.patch: -------------------------------------------------------------------------------- 1 | --- a/CMakeLists.txt 2 | +++ b/CMakeLists.txt 3 | @@ -537,8 +537,6 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMP 4 | # MACRO_TUNE_LINKER("-pie") 5 | # These do not work on Windows right now 6 | if (NOT WIN32) 7 | - # Stack protector 8 | - MACRO_TUNE_COMPILER("-fstack-protector") 9 | # Mark code read only 10 | MACRO_TUNE_LINKER("-Wl,-zrelro") 11 | endif (NOT WIN32) 12 | -------------------------------------------------------------------------------- /utils/gammu/patches/010-utils-shell-fix.patch: -------------------------------------------------------------------------------- 1 | --- a/utils/gammu-config 2 | +++ b/utils/gammu-config 3 | @@ -1,4 +1,4 @@ 4 | -#!/bin/bash 5 | +#!/bin/sh 6 | # Gammu configuration generator 7 | # Copyright (C) 2003 - 2009 Michal Cihar 8 | # vim: expandtab sw=4 ts=4 sts=4: 9 | --- a/utils/jadmaker 10 | +++ b/utils/jadmaker 11 | @@ -1,4 +1,4 @@ 12 | -#!/bin/bash 13 | +#!/bin/sh 14 | # JAD file generator 15 | # Copyright © 2008 - 2009 Michal Čihař 16 | # vim: expandtab sw=4 ts=4 sts=4: 17 | -------------------------------------------------------------------------------- /utils/grep/patches/0001-grep-F-fix-a-heap-buffer-read-overrun.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/kwset.c b/src/kwset.c 2 | index 4003c8d..376f7c3 100644 3 | --- a/src/kwset.c 4 | +++ b/src/kwset.c 5 | @@ -643,6 +643,8 @@ bmexec_trans (kwset_t kwset, char const *text, size_t size) 6 | if (! tp) 7 | return -1; 8 | tp++; 9 | + if (ep <= tp) 10 | + break; 11 | } 12 | } 13 | } 14 | -- 15 | cgit v0.9.0.2 16 | -------------------------------------------------------------------------------- /utils/haserl/patches/101-adjust-script-size.patch: -------------------------------------------------------------------------------- 1 | --- a/src/h_lua_common.c 2013-09-20 23:35:19.000000000 +0300 2 | +++ b/src/h_lua_common.c 2014-05-03 19:27:43.000000000 +0300 3 | @@ -79,7 +79,7 @@ 4 | 5 | /* and load our haserl library */ 6 | if (luaL_loadbuffer 7 | - (lua_vm, (const char *) &haserl_lualib, sizeof (haserl_lualib), 8 | + (lua_vm, (const char *) haserl_lualib, sizeof(haserl_lualib)-1, 9 | "luascript.lua") || lua_pcall (lua_vm, 0, 0, 0)) 10 | { 11 | die_with_message (NULL, NULL, 12 | -------------------------------------------------------------------------------- /utils/haveged/files/haveged.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2012 OpenWrt.org 3 | 4 | START=13 5 | 6 | HAVEGED_THRESHOLD=1024 7 | HAVEGED_DCACHE=32 8 | HAVEGED_ICACHE=32 9 | 10 | start() { 11 | service_start /usr/sbin/haveged -w $HAVEGED_THRESHOLD -d $HAVEGED_DCACHE -i $HAVEGED_ICACHE -v 1 12 | } 13 | 14 | stop() { 15 | service_stop /usr/sbin/haveged 16 | } 17 | -------------------------------------------------------------------------------- /utils/hd-idle/files/hd-idle.config: -------------------------------------------------------------------------------- 1 | config 'hd-idle' 2 | option 'disk' 'sda' 3 | option 'enabled' '0' 4 | option 'idle_time_unit' 'minutes' 5 | option 'idle_time_interval' '10' 6 | -------------------------------------------------------------------------------- /utils/hfsprogs/patches/0005-Remove-Apple-specific-p-from-strings.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wifidog/packages/2f32b672739ef0faaebccb5e3da05f255a811c94/utils/hfsprogs/patches/0005-Remove-Apple-specific-p-from-strings.patch -------------------------------------------------------------------------------- /utils/hfsprogs/patches/0010-Rename-custom-macro-nil-with-NULL.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wifidog/packages/2f32b672739ef0faaebccb5e3da05f255a811c94/utils/hfsprogs/patches/0010-Rename-custom-macro-nil-with-NULL.patch -------------------------------------------------------------------------------- /utils/joe/files/joerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wifidog/packages/2f32b672739ef0faaebccb5e3da05f255a811c94/utils/joe/files/joerc -------------------------------------------------------------------------------- /utils/kmod/patches/001-fix_pkgconfig_file.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile.am 2 | +++ b/Makefile.am 3 | @@ -35,9 +35,6 @@ SED_PROCESS = \ 4 | -e 's,@zlib_LIBS\@,${zlib_LIBS},g' \ 5 | < $< > $@ || rm $@ 6 | 7 | -%.pc: %.pc.in Makefile 8 | - $(SED_PROCESS) 9 | - 10 | LIBKMOD_CURRENT=4 11 | LIBKMOD_REVISION=9 12 | LIBKMOD_AGE=2 13 | --- a/configure.ac 14 | +++ b/configure.ac 15 | @@ -221,6 +221,7 @@ AC_CONFIG_HEADERS(config.h) 16 | AC_CONFIG_FILES([ 17 | Makefile 18 | man/Makefile 19 | + libkmod/libkmod.pc 20 | libkmod/docs/Makefile 21 | libkmod/docs/version.xml 22 | ]) 23 | -------------------------------------------------------------------------------- /utils/lcd4linux/files/lcd4linux.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2007-2015 OpenWrt.org 3 | 4 | START=98 5 | 6 | SERVICE_USE_PID=1 7 | 8 | start() { 9 | service_start /usr/bin/lcd4linux -o /tmp/lcd4linux.png -q 10 | } 11 | 12 | stop() { 13 | service_stop /usr/bin/lcd4linux 14 | } 15 | 16 | -------------------------------------------------------------------------------- /utils/lcd4linux/patches/100-drv_RouterBoard.patch: -------------------------------------------------------------------------------- 1 | --- a/drv_RouterBoard.c 2 | +++ b/drv_RouterBoard.c 3 | @@ -106,7 +106,7 @@ 4 | #include 5 | #include 6 | #include 7 | -#include 8 | +#include 9 | 10 | #include "debug.h" 11 | #include "cfg.h" 12 | -------------------------------------------------------------------------------- /utils/lcd4linux/patches/110-uclibc-logarithm-fix.patch: -------------------------------------------------------------------------------- 1 | --- a/plugin_netinfo.c 2 | +++ b/plugin_netinfo.c 3 | @@ -264,7 +264,7 @@ static void my_netmask_short(RESULT * re 4 | sin = get_netmask(arg1); 5 | if (NULL != sin) { 6 | logval = (long double) (get_netmask(arg1)->sin_addr.s_addr); 7 | - netlen = (int) rint(log2l(logval) / log2l(2.0)); 8 | + netlen = (int) rint(log2f(logval) / log2f(2.0)); 9 | qprintf(value, sizeof(value), "/%d", netlen); 10 | } else { 11 | qprintf(value, sizeof(value), "/?"); 12 | -------------------------------------------------------------------------------- /utils/lcd4linux/patches/120-remove-as-needed-linker-option.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile.am 2 | +++ b/Makefile.am 3 | @@ -18,7 +18,7 @@ ACLOCAL_AMFLAGS=-I m4 4 | # use this for lots of warnings 5 | #AM_CFLAGS = -D_GNU_SOURCE -std=c99 -m64 -Wall -W -pedantic -Wno-variadic-macros -fno-strict-aliasing 6 | 7 | -lcd4linux_LDFLAGS ="-Wl,--as-needed" 8 | +lcd4linux_LDFLAGS = 9 | lcd4linux_LDADD = @DRIVERS@ @PLUGINS@ @DRVLIBS@ @PLUGINLIBS@ 10 | lcd4linux_DEPENDENCIES = @DRIVERS@ @PLUGINS@ 11 | 12 | -------------------------------------------------------------------------------- /utils/lcd4linux/patches/140-no_repnop_T6963.patch: -------------------------------------------------------------------------------- 1 | --- a/drv_T6963.c 2 | +++ b/drv_T6963.c 3 | @@ -114,7 +114,9 @@ static void drv_T6_status1(void) 4 | /* wait for STA0=1 and STA1=1 */ 5 | n = 0; 6 | do { 7 | +#if 0 8 | rep_nop(); 9 | +#endif 10 | if (++n > 1000) { 11 | debug("hang in status1"); 12 | bug = 1; 13 | @@ -150,7 +152,9 @@ static void drv_T6_status2(void) 14 | /* wait for STA3=1 */ 15 | n = 0; 16 | do { 17 | +#if 0 18 | rep_nop(); 19 | +#endif 20 | if (++n > 1000) { 21 | debug("hang in status2"); 22 | bug = 1; 23 | -------------------------------------------------------------------------------- /utils/lsof/patches/001-lsof_makefile.patch: -------------------------------------------------------------------------------- 1 | --- a/lib/Makefile.skel 2 | +++ b/lib/Makefile.skel 3 | @@ -21,8 +21,8 @@ OBJ= ckkv.o cvfs.o dvch.o fino.o isfn.o 4 | all: ${LIB} 5 | 6 | ${LIB}: ${OBJ} 7 | - ${AR} 8 | - ${RANLIB} 9 | + ${AR} ${LIB} ${OBJ} 10 | + ${RANLIB} ${LIB} 11 | 12 | clean: FRC 13 | rm -f ${LIB} ${OBJ} errs Makefile.bak a.out core 14 | -------------------------------------------------------------------------------- /utils/lsof/patches/002-lsof_noportmap.patch: -------------------------------------------------------------------------------- 1 | --- a/print.c 2 | +++ b/print.c 3 | @@ -161,6 +161,7 @@ endnm(sz) 4 | static void 5 | fill_portmap() 6 | { 7 | +#if !defined __UCLIBC__ || (defined __UCLIBC__ && defined __UCLIBC_HAS_RPC__) 8 | char buf[128], *cp, *nm; 9 | CLIENT *c; 10 | int h, port, pr; 11 | @@ -279,6 +280,7 @@ fill_portmap() 12 | Pth[pr][h] = pt; 13 | } 14 | clnt_destroy(c); 15 | +#endif 16 | } 17 | #endif /* !defined(HASNORPC_H) */ 18 | 19 | -------------------------------------------------------------------------------- /utils/lsof/patches/003-lsof_selinux.patch: -------------------------------------------------------------------------------- 1 | --- a/Configure 2 | +++ b/Configure 3 | @@ -2806,7 +2806,7 @@ return(0); } 4 | LSOF_TMP1=1 5 | fi # } 6 | fi # } 7 | - if test $LSOF_TMP1 -eq 1 # { 8 | + if test 0 -eq 1 # { 9 | then 10 | LSOF_CFGF="$LSOF_CFGF -DHASSELINUX" 11 | LSOF_CFGL="$LSOF_CFGL -lselinux" 12 | -------------------------------------------------------------------------------- /utils/lsof/patches/004-lsof_ccv.patch: -------------------------------------------------------------------------------- 1 | --- a/Configure 2 | +++ b/Configure 3 | @@ -2682,6 +2682,9 @@ LOCKF_OWNER4 4 | if test "X$LSOF_CC" = "X" # { 5 | then 6 | LSOF_CC=cc 7 | + fi # } 8 | + if test "X$LSOF_CCV" = "X" # { 9 | + then 10 | LSOF_CCV=`$LSOF_CC -v 2>&1 | sed -n 's/.*version \(.*\)/\1/p'` 11 | fi # } 12 | if test "X$LINUX_CONF_CC" = "X" # { 13 | -------------------------------------------------------------------------------- /utils/luci-app-lxc/files/lxc.config: -------------------------------------------------------------------------------- 1 | # 2 | # lxc uci configuration 3 | # 4 | 5 | config lxc 'lxc' 6 | option url 'virtualwrt.org/containers/' 7 | -------------------------------------------------------------------------------- /utils/luci-app-lxc/files/www/luci-static/resources/cbi/green.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wifidog/packages/2f32b672739ef0faaebccb5e3da05f255a811c94/utils/luci-app-lxc/files/www/luci-static/resources/cbi/green.gif -------------------------------------------------------------------------------- /utils/luci-app-lxc/files/www/luci-static/resources/cbi/purple.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wifidog/packages/2f32b672739ef0faaebccb5e3da05f255a811c94/utils/luci-app-lxc/files/www/luci-static/resources/cbi/purple.gif -------------------------------------------------------------------------------- /utils/luci-app-lxc/files/www/luci-static/resources/cbi/red.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wifidog/packages/2f32b672739ef0faaebccb5e3da05f255a811c94/utils/luci-app-lxc/files/www/luci-static/resources/cbi/red.gif -------------------------------------------------------------------------------- /utils/lvm2/files/lvm2.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2009 Stefan Monnier 3 | START=15 4 | 5 | start () { 6 | mkdir -p /tmp/lvm/cache 7 | /sbin/lvm vgscan --ignorelockingfailure --mknodes || : 8 | /sbin/lvm vgchange -aly --ignorelockingfailure || return 2 9 | } 10 | 11 | stop () { 12 | mkdir -p /tmp/lvm/cache 13 | /sbin/lvm vgchange -aln --ignorelockingfailure || return 2 14 | } 15 | -------------------------------------------------------------------------------- /utils/lvm2/patches/000-compile.patch: -------------------------------------------------------------------------------- 1 | --- a/make.tmpl.in 2 | +++ b/make.tmpl.in 3 | @@ -19,7 +19,7 @@ SHELL = /bin/sh 4 | 5 | # Allow environment to override any built-in default value for CC. 6 | # If there is a built-in default, CC is NOT set to @CC@ here. 7 | -CC ?= @CC@ 8 | +CC = @CC@ 9 | 10 | # If $(CC) holds the usual built-in default value of 'cc' then replace it with 11 | # the configured value. 12 | -------------------------------------------------------------------------------- /utils/lvm2/patches/001-include_fix.patch: -------------------------------------------------------------------------------- 1 | --- a/lib/device/dev-type.c 2 | +++ b/lib/device/dev-type.c 3 | @@ -22,7 +22,7 @@ 4 | #include 5 | 6 | #ifdef BLKID_WIPING_SUPPORT 7 | -#include 8 | +#include 9 | #endif 10 | 11 | #ifdef UDEV_SYNC_SUPPORT 12 | -------------------------------------------------------------------------------- /utils/lxc/files/lxc.conf: -------------------------------------------------------------------------------- 1 | lxc.lxcpath = /lxc 2 | -------------------------------------------------------------------------------- /utils/lxc/patches/015-getline.patch: -------------------------------------------------------------------------------- 1 | --- a/src/lxc/utils.h 2 | +++ b/src/lxc/utils.h 3 | @@ -44,11 +44,7 @@ extern char *get_rundir(void); 4 | extern const char *lxc_global_config_value(const char *option_name); 5 | 6 | /* Define getline() if missing from the C library */ 7 | -#ifndef HAVE_GETLINE 8 | -#ifdef HAVE_FGETLN 9 | -#include <../include/getline.h> 10 | -#endif 11 | -#endif 12 | +#include "../include/getline.h" 13 | 14 | /* Define setns() if missing from the C library */ 15 | #ifndef HAVE_SETNS 16 | -------------------------------------------------------------------------------- /utils/lxc/patches/016-uninitialized-ret-in-monitor.patch: -------------------------------------------------------------------------------- 1 | --- a/src/lxc/monitor.c 2 | +++ b/src/lxc/monitor.c 3 | @@ -181,7 +181,7 @@ int lxc_monitor_sock_name(const char *lx 4 | int lxc_monitor_open(const char *lxcpath) 5 | { 6 | struct sockaddr_un addr; 7 | - int fd,ret; 8 | + int fd,ret = 0; 9 | int retry,backoff_ms[] = {10, 50, 100}; 10 | size_t len; 11 | 12 | -------------------------------------------------------------------------------- /utils/macchanger/patches/0001-fix-build-with-musl.patch: -------------------------------------------------------------------------------- 1 | Index: macchanger-1.7.0/src/netinfo.c 2 | =================================================================== 3 | --- macchanger-1.7.0.orig/src/netinfo.c 4 | +++ macchanger-1.7.0/src/netinfo.c 5 | @@ -113,7 +113,7 @@ mc_net_info_get_permanent_mac (const net 6 | epa->size = IFHWADDRLEN; 7 | 8 | memcpy(&req, &(net->dev), sizeof(struct ifreq)); 9 | - req.ifr_data = (caddr_t)epa; 10 | + req.ifr_data = (char *)epa; 11 | 12 | if (ioctl(net->sock, SIOCETHTOOL, &req) < 0) { 13 | perror ("[ERROR] Could not read permanent MAC"); 14 | -------------------------------------------------------------------------------- /utils/minicom/patches/100-fix_iconv_include.patch: -------------------------------------------------------------------------------- 1 | --- a/src/minicom.c 2 | +++ b/src/minicom.c 3 | @@ -31,7 +31,9 @@ 4 | #include 5 | #include 6 | #include 7 | +#ifdef HAVE_ICONV 8 | #include 9 | +#endif 10 | #include 11 | 12 | #define EXTERN 13 | -------------------------------------------------------------------------------- /utils/minicom/patches/101-fix_music_includes.patch: -------------------------------------------------------------------------------- 1 | --- a/src/dial.c 2 | +++ b/src/dial.c 3 | @@ -39,11 +39,9 @@ 4 | #include "intl.h" 5 | 6 | #ifdef VC_MUSIC 7 | -# if defined(__GLIBC__) 8 | # include 9 | # include 10 | # include 11 | -# endif 12 | #endif 13 | 14 | enum { CURRENT_VERSION = 6 }; 15 | -------------------------------------------------------------------------------- /utils/minicom/patches/102-fix_musl_compatibility.patch: -------------------------------------------------------------------------------- 1 | --- a/src/getsdir.h 2 | +++ b/src/getsdir.h 3 | @@ -24,6 +24,10 @@ 4 | 5 | #include 6 | 7 | +#ifndef MAXNAMLEN 8 | +#define MAXNAMLEN 255 9 | +#endif 10 | + 11 | typedef struct dirEntry { /* structure of data item */ 12 | char fname[MAXNAMLEN + 1]; /* filename + terminating null */ 13 | time_t time; /* last modification date */ 14 | -------------------------------------------------------------------------------- /utils/mmc-utils/patches/001-properly-set-fortify-source-in-makefile.patch: -------------------------------------------------------------------------------- 1 | Index: mmc-utils-f4eb241519f8d500ce6068a70d2389be39ac5189/Makefile 2 | =================================================================== 3 | --- mmc-utils-f4eb241519f8d500ce6068a70d2389be39ac5189.orig/Makefile 4 | +++ mmc-utils-f4eb241519f8d500ce6068a70d2389be39ac5189/Makefile 5 | @@ -1,5 +1,5 @@ 6 | CC ?= gcc 7 | -AM_CFLAGS = -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 8 | +AM_CFLAGS = -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 9 | CFLAGS ?= -g -O2 10 | objects = \ 11 | mmc.o \ 12 | -------------------------------------------------------------------------------- /utils/mysql/patches/100-fix_hostname.patch: -------------------------------------------------------------------------------- 1 | --- a/scripts/mysql_install_db.sh 2 | +++ b/scripts/mysql_install_db.sh 3 | @@ -322,7 +322,7 @@ then 4 | fi 5 | 6 | # Try to determine the hostname 7 | -hostname=`@HOSTNAME@` 8 | +hostname=`cat /proc/sys/kernel/hostname` 9 | 10 | # Check if hostname is valid 11 | if test "$cross_bootstrap" -eq 0 -a "$in_rpm" -eq 0 -a "$force" -eq 0 12 | -------------------------------------------------------------------------------- /utils/ncdu/patches/010-add_sys_wait.patch: -------------------------------------------------------------------------------- 1 | --- a/src/shell.c 2 | +++ b/src/shell.c 3 | @@ -33,6 +33,7 @@ 4 | #include 5 | #include 6 | +#include 7 | 8 | void shell_draw() { 9 | char *full_path; 10 | int res; 11 | -------------------------------------------------------------------------------- /utils/openobex/patches/001-cxx.patch: -------------------------------------------------------------------------------- 1 | --- a/CMakeLists.txt 2 | +++ b/CMakeLists.txt 3 | @@ -1,6 +1,6 @@ 4 | cmake_minimum_required ( VERSION 2.8.5 FATAL_ERROR ) 5 | 6 | -project ( openobex C ) 7 | +project ( openobex C CXX ) 8 | 9 | # 10 | # The project version 11 | -------------------------------------------------------------------------------- /utils/pciutils/patches/100-remove-no-timestamping.patch: -------------------------------------------------------------------------------- 1 | --- a/update-pciids.sh 2 | +++ b/update-pciids.sh 3 | @@ -33,7 +33,7 @@ if which curl >/dev/null 2>&1 ; then 4 | DL="curl -o $DEST.new $SRC" 5 | ${quiet} && DL="$DL -s -S" 6 | elif which wget >/dev/null 2>&1 ; then 7 | - DL="wget --no-timestamping -O $DEST.new $SRC" 8 | + DL="wget -O $DEST.new $SRC" 9 | ${quiet} && DL="$DL -q" 10 | elif which lynx >/dev/null 2>&1 ; then 11 | DL="eval lynx -source $SRC >$DEST.new" 12 | -------------------------------------------------------------------------------- /utils/pciutils/patches/103-relative-path-ids.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile 2 | +++ b/Makefile 3 | @@ -88,7 +88,7 @@ lspci: LDLIBS+=$(LIBKMOD_LIBS) 4 | ls-kernel.o: CFLAGS+=$(LIBKMOD_CFLAGS) 5 | 6 | update-pciids: update-pciids.sh 7 | - sed <$< >$@ "s@^DEST=.*@DEST=$(IDSDIR)/$(PCI_IDS)@;s@^PCI_COMPRESSED_IDS=.*@PCI_COMPRESSED_IDS=$(PCI_COMPRESSED_IDS)@" 8 | + sed <$< >$@ "s@^PCI_COMPRESSED_IDS=.*@PCI_COMPRESSED_IDS=$(PCI_COMPRESSED_IDS)@" 9 | chmod +x $@ 10 | 11 | # The example of use of libpci 12 | -------------------------------------------------------------------------------- /utils/pciutils/patches/104-resolv.patch: -------------------------------------------------------------------------------- 1 | --- a/lib/configure 2 | +++ b/lib/configure 3 | @@ -57,7 +57,7 @@ echo >>$c "#define PCI_OS_`echo $sys | t 4 | echo >$m 'WITH_LIBS=' 5 | 6 | echo_n "Looking for access methods..." 7 | -LIBRESOLV=-lresolv 8 | +LIBRESOLV= 9 | LIBEXT=so 10 | 11 | case $sys in 12 | -------------------------------------------------------------------------------- /utils/pcsc-lite/files/pcscd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2009-2011 OpenWrt.org 3 | 4 | START=50 5 | 6 | SERVICE_PID_FILE=/var/run/pcscd/pcscd.pid 7 | 8 | start() { 9 | service_start /usr/sbin/pcscd 10 | } 11 | 12 | stop() { 13 | service_stop /usr/sbin/pcscd 14 | } 15 | -------------------------------------------------------------------------------- /utils/picocom/patches/100-musl-compat.patch: -------------------------------------------------------------------------------- 1 | Index: picocom-1.7/term.c 2 | =================================================================== 3 | --- picocom-1.7.orig/term.c 4 | +++ picocom-1.7/term.c 5 | @@ -33,10 +33,11 @@ 6 | #include 7 | #include 8 | #include 9 | -#ifdef __linux__ 10 | +#if defined(__linux__) && (defined(__GLIBC__) || defined(__UCLIBC__)) 11 | #include 12 | #else 13 | #include 14 | +#include 15 | #endif /* of __linux__ */ 16 | 17 | #include "term.h" 18 | -------------------------------------------------------------------------------- /utils/procps/patches/010-make_fix.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile 2 | +++ b/Makefile 3 | @@ -174,7 +174,7 @@ INSTALL := $(BINFILES) $(MANFILES) 4 | # want this rule first, use := on ALL, and ALL not filled in yet 5 | all: do_all 6 | 7 | --include */module.mk 8 | +-include proc/module.mk ps/module.mk 9 | 10 | do_all: $(ALL) 11 | 12 | -------------------------------------------------------------------------------- /utils/procps/patches/030-fix-string-problems.patch: -------------------------------------------------------------------------------- 1 | --- a/proc/sig.c 2 | +++ b/proc/sig.c 3 | @@ -214,7 +214,7 @@ void pretty_print_signals(void){ 4 | while(++i <= number_of_signals){ 5 | int n; 6 | n = printf("%2d %s", i, signal_number_to_name(i)); 7 | - if(i%7) printf(" \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" + n); 8 | + if(i%7) printf("%s", " \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" + n); 9 | else printf("\n"); 10 | } 11 | if((i-1)%7) printf("\n"); 12 | -------------------------------------------------------------------------------- /utils/rng-tools/files/rngd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2011-2014 OpenWrt.org 3 | 4 | START=98 5 | 6 | RNGD_INTERVAL=30 7 | RNGD_AMOUNT=4000 8 | RNGD_DEVICE="/dev/urandom" 9 | 10 | start() { 11 | service_start /sbin/rngd -r $RNGD_DEVICE -W $RNGD_AMOUNT 12 | } 13 | 14 | stop() { 15 | service_stop /sbin/rngd 16 | } 17 | -------------------------------------------------------------------------------- /utils/rrdtool1/patches/020-x86-float-cast.patch: -------------------------------------------------------------------------------- 1 | Index: rrdtool-1.0.50/src/rrd_format.h 2 | =================================================================== 3 | --- rrdtool-1.0.50.orig/src/rrd_format.h 4 | +++ rrdtool-1.0.50/src/rrd_format.h 5 | @@ -20,7 +20,7 @@ 6 | 7 | #define RRD_COOKIE "RRD" 8 | #define RRD_VERSION "0001" 9 | -#define FLOAT_COOKIE 8.642135E130 10 | +#define FLOAT_COOKIE ((double)8.642135E130) 11 | 12 | #if defined(WIN32) 13 | #define DNAN ((double)fmod(0.0,0.0)) 14 | -------------------------------------------------------------------------------- /utils/rrdtool1/patches/030-pod2man-stderr.patch: -------------------------------------------------------------------------------- 1 | --- rrdtool-1.0.50/doc/Makefile.am.orig 2013-11-16 11:44:50.940231208 -0500 2 | +++ rrdtool-1.0.50/doc/Makefile.am 2013-11-16 11:45:09.802229483 -0500 3 | @@ -35,7 +35,7 @@ 4 | all-local: link txt man html 5 | 6 | .pod.1 .pm.1 .pl.1: 7 | - pod2man --release=$(VERSION) --center=RRDtool $< > $@ 8 | + pod2man --stderr --release=$(VERSION) --center=RRDtool $< > $@ 9 | 10 | .1.txt: 11 | @NROFF@ -man -Tlp $< > $@ || echo @NROFF@ failed > $@ 12 | -------------------------------------------------------------------------------- /utils/screen/files/etc/screenrc: -------------------------------------------------------------------------------- 1 | startup_message off 2 | -------------------------------------------------------------------------------- /utils/screen/patches/110-do_not_add_srcdir_to_include_path.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile.in 2 | +++ b/Makefile.in 3 | @@ -79,7 +79,7 @@ screen: $(OFILES) 4 | $(CC) $(LDFLAGS) -o $@ $(OFILES) $(LIBS) 5 | 6 | .c.o: 7 | - $(CC) -c -I. -I$(srcdir) $(M_CFLAGS) $(CPPFLAGS) $(DEFS) \ 8 | + $(CC) -c $(M_CFLAGS) $(CPPFLAGS) $(DEFS) \ 9 | $(OPTIONS) $(CFLAGS) $< 10 | 11 | install_bin: .version screen 12 | -------------------------------------------------------------------------------- /utils/shadow/patches/001-busybox_ash.patch: -------------------------------------------------------------------------------- 1 | --- a/etc/login.defs 2 | +++ b/etc/login.defs 3 | @@ -111,7 +111,7 @@ NOLOGINS_FILE /etc/nologin 4 | # command as "-su". If not defined, then ps(1) will display the 5 | # name of the shell actually being run, e.g. something like "-sh". 6 | # 7 | -SU_NAME su 8 | +#SU_NAME su 9 | 10 | # 11 | # *REQUIRED* 12 | -------------------------------------------------------------------------------- /utils/shadow/patches/002-disable-ruser-lookup.patch: -------------------------------------------------------------------------------- 1 | --- a/configure.in 2 | +++ b/configure.in 3 | @@ -197,7 +197,6 @@ dnl XXX - quick hack, should disappear b 4 | AC_DEFINE(USE_SYSLOG, 1, [Define to use syslog().]) 5 | if test "$ac_cv_func_ruserok" = "yes"; then 6 | AC_DEFINE(RLOGIN, 1, [Define if login should support the -r flag for rlogind.]) 7 | - AC_DEFINE(RUSEROK, 0, [Define to the ruserok() "success" return value (0 or 1).]) 8 | fi 9 | 10 | AC_ARG_ENABLE(shadowgrp, 11 | -------------------------------------------------------------------------------- /utils/shadow/patches/004-fix-su-controoling-term.patch: -------------------------------------------------------------------------------- 1 | --- a/src/su.c 2 | +++ b/src/su.c 3 | @@ -1090,8 +1090,12 @@ 4 | 5 | if (fd >= 0) { 6 | err = ioctl (fd, TIOCNOTTY, (char *) 0); 7 | + if (-1 == err && ENOTTY == errno) { 8 | + /* There are no controlling terminal already */ 9 | + err = 0; 10 | + } 11 | (void) close (fd); 12 | - } else if (ENXIO == errno) { 13 | + } else if (ENXIO == errno || EACCES == errno) { 14 | /* There are no controlling terminal already */ 15 | err = 0; 16 | } 17 | -------------------------------------------------------------------------------- /utils/smartmontools/files/smartd.conf: -------------------------------------------------------------------------------- 1 | /dev/hdb -H 2 | -------------------------------------------------------------------------------- /utils/smartmontools/files/smartd.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | # Copyright (C) 2006-2011 OpenWrt.org 3 | 4 | START=95 5 | 6 | start() { 7 | service_start /usr/sbin/smartd -q never 8 | } 9 | 10 | stop() { 11 | service_stop /usr/sbin/smartd 12 | } 13 | 14 | reload() { 15 | service_reload /usr/sbin/smartd 16 | } 17 | -------------------------------------------------------------------------------- /utils/smstools3/files/smstools3.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Description: Main configuration file for the smsd 3 | # 4 | 5 | devices = GSM1 6 | incoming = /var/spool/sms/incoming 7 | outgoing = /var/spool/sms/outgoing 8 | checked = /var/spool/sms/checked 9 | failed = /var/spool/sms/failed 10 | sent = /var/spool/sms/sent 11 | receive_before_send = no 12 | autosplit = 3 13 | 14 | [GSM1] 15 | init = AT+CPMS="ME","ME","ME" 16 | device = /dev/ttyUSB0 17 | incoming = yes 18 | pin = 0000 19 | baudrate = 9600 20 | 21 | -------------------------------------------------------------------------------- /utils/smstools3/patches/001-smsd.patch: -------------------------------------------------------------------------------- 1 | --- a/src/smsd.c 2010-09-21 13:47:48.000000000 +0300 2 | +++ b/src/smsd.c 2013-03-05 05:26:26.000000000 +0300 3 | @@ -5200,8 +5200,8 @@ 4 | int result = 1; 5 | char *cmd; 6 | char *p; 7 | - char answer[500]; 8 | - char buffer[600]; 9 | + char answer[1024]; 10 | + char buffer[1024]; 11 | int fd; 12 | int log_retry = 3; 13 | int i; 14 | -------------------------------------------------------------------------------- /utils/smstools3/patches/002-Makefile.patch: -------------------------------------------------------------------------------- 1 | --- a/src/Makefile 2014-12-20 18:33:55.654252867 +0100 2 | +++ b/src/Makefile 2014-12-20 18:31:10.241359741 +0100 3 | @@ -43,7 +43,7 @@ 4 | 5 | ifneq (,$(findstring SOLARIS,$(CFLAGS))) 6 | ifeq (,$(findstring DISABLE_INET_SOCKET,$(CFLAGS))) 7 | -override LFLAGS += -lsocket -lnsl 8 | + override LFLAGS += -lsocket -lnsl 9 | endif 10 | endif 11 | 12 | 13 | -------------------------------------------------------------------------------- /utils/sockread/src/Makefile: -------------------------------------------------------------------------------- 1 | CC ?= gcc 2 | CFLAGS ?= -O2 -Wall -pedantic 3 | CFLAGS += -std=gnu99 4 | 5 | .PHONY: clean 6 | 7 | sockread: 8 | $(CC) $(CFLAGS) main.c -o sockread 9 | 10 | clean: 11 | rm -f sockread 12 | -------------------------------------------------------------------------------- /utils/sumo/files/sumo.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2015 OpenWrt.org 3 | 4 | SUMO_HOME=/usr/share/sumo sumo-bin $@ 5 | 6 | exit $? 7 | -------------------------------------------------------------------------------- /utils/sysstat/files/sysstat.config: -------------------------------------------------------------------------------- 1 | config sysstat 'sysstat' 2 | option log_history '7' 3 | option compressafter '10' 4 | option sadc_options '' 5 | option sa_dir '/var/log/sysstat' 6 | option zip 'xz' 7 | option enabled 'true' 8 | -------------------------------------------------------------------------------- /utils/tcsh/patches/001-gethost: -------------------------------------------------------------------------------- 1 | --- a/Makefile.in 2 | +++ b/Makefile.in 3 | @@ -449,7 +449,7 @@ pure:$(P) ${OBJS} 4 | 5 | gethost: gethost.c sh.err.h tc.const.h sh.h 6 | rm -f gethost 7 | - ${CC_FOR_GETHOST} -o gethost ${CPPFLAGS} ${CFLAGS} $(srcdir)/gethost.c 8 | + ${CC_FOR_GETHOST} -o gethost ${CPPFLAGS} $(srcdir)/gethost.c 9 | 10 | tc.defs.c: gethost host.defs 11 | @rm -f $@.tmp 12 | -------------------------------------------------------------------------------- /utils/tcsh/patches/001-sysmalloc.patch: -------------------------------------------------------------------------------- 1 | --- a/config_f.h 2 | +++ b/config_f.h 3 | @@ -135,11 +135,7 @@ 4 | * This can be much slower and no memory statistics will be 5 | * provided. 6 | */ 7 | -#if defined(__MACHTEN__) || defined(PURIFY) || defined(MALLOC_TRACE) || defined(_OSD_POSIX) || defined(__MVS__) || defined (__CYGWIN__) || defined(__GLIBC__) || defined(__OpenBSD__) || defined(__APPLE__) 8 | # define SYSMALLOC 9 | -#else 10 | -# undef SYSMALLOC 11 | -#endif 12 | 13 | /* 14 | * USE_ACCESS Use access(2) rather than stat(2) when POSIX is defined. 15 | -------------------------------------------------------------------------------- /utils/tcsh/patches/100-musl-compat.patch: -------------------------------------------------------------------------------- 1 | --- a/sh.proc.c 2 | +++ b/sh.proc.c 3 | @@ -48,7 +48,7 @@ RCSID("$tcsh: sh.proc.c,v 3.127 2015/02/ 4 | #endif /* aiws */ 5 | 6 | #if defined(_BSD) || (defined(IRIS4D) && __STDC__) || defined(__lucid) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__) 7 | -# if !defined(__ANDROID__) 8 | +# if !(defined(__ANDROID__) || (defined(__linux__) && !defined(__GLIBC__))) 9 | # define BSDWAIT 10 | # endif 11 | #endif /* _BSD || (IRIS4D && __STDC__) || __lucid || glibc */ 12 | -------------------------------------------------------------------------------- /utils/triggerhappy/files/triggerhappy-example.conf: -------------------------------------------------------------------------------- 1 | # This is an example configuration for the triggerhappy daemon (thd) 2 | # please note that every file to be processed must end in ".conf" 3 | # 4 | # To view a list of supported event codes, use "thd --listevents" or 5 | # "thd --dump /dev/input/event*" 6 | # 7 | # Format: 8 | # 9 | # 10 | # values for key events are 1 (pressed), 0 (released) or 2 (held) 11 | # 12 | ## control an mpd instance 13 | # KEY_NEXTSONG 1 /usr/bin/mpc next 14 | # KEY_PREVSONG 1 /usr/bin/mpc prev 15 | -------------------------------------------------------------------------------- /utils/triggerhappy/files/triggerhappy.hotplug: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | THD_SOCKET=/tmp/triggerhappy.socket 3 | [ -S "$THD_SOCKET" ] || exit 4 | 5 | case "$ACTION" in 6 | add) 7 | DEVICE="/dev/$DEVNAME" 8 | [ -c "$DEVICE" ] || exit 9 | # offer device to triggerhappy daemon 10 | /usr/sbin/th-cmd --socket "$THD_SOCKET" --add "$DEVICE" 11 | ;; 12 | remove) 13 | # nothing to do 14 | ;; 15 | esac 16 | -------------------------------------------------------------------------------- /utils/triggerhappy/files/triggerhappy.init: -------------------------------------------------------------------------------- 1 | #!/bin/sh /etc/rc.common 2 | START=93 3 | 4 | start() { 5 | /usr/sbin/thd --socket /tmp/triggerhappy.socket --triggers /etc/triggerhappy/triggers.d/ --daemon /dev/input/event* 6 | } 7 | 8 | stop() { 9 | /usr/sbin/th-cmd --socket /tmp/triggerhappy.socket --quit 10 | } 11 | -------------------------------------------------------------------------------- /utils/triggerhappy/patches/100-fix-LINUX_INPUT_H.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile 2 | +++ b/Makefile 3 | @@ -10,7 +10,7 @@ THCMD_COMPS := th-cmd cmdsocket 4 | 5 | MAKEDEPEND = $(CC) -M -MG $(CPPFLAGS) -o $*.d $< 6 | 7 | -LINUX_INPUT_H := $(shell echo '\#include ' | $(CC) $(CPPFLAGS) -M -E - | awk 'NR==1 {print $$2}') 8 | +LINUX_INPUT_H := $(shell for i in `echo | $(CC) $(CPPFLAGS) -M -E -include 'linux/input.h' -`; do test -f "$$i" && echo "$$i" && break; done) 9 | 10 | all: thd th-cmd man 11 | 12 | -------------------------------------------------------------------------------- /utils/unrar/patches/100-makefile_fixes.patch: -------------------------------------------------------------------------------- 1 | --- a/makefile 2 | +++ b/makefile 3 | @@ -2,12 +2,12 @@ 4 | # Makefile for UNIX - unrar 5 | 6 | # Linux using GCC 7 | -CXX=g++ 8 | -CXXFLAGS=-O2 9 | +#CXX=g++ 10 | +#CXXFLAGS=-O2 11 | LIBFLAGS=-fPIC 12 | DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP 13 | STRIP=strip 14 | -LDFLAGS=-pthread 15 | +LDFLAGS=-lpthread 16 | DESTDIR=/usr 17 | 18 | # Linux using LCC 19 | -------------------------------------------------------------------------------- /utils/vim/patches/002-remove_helptags_generation.patch: -------------------------------------------------------------------------------- 1 | --- a/runtime/doc/Makefile 2 | +++ b/runtime/doc/Makefile 3 | @@ -310,7 +310,6 @@ all: tags vim.man evim.man vimdiff.man v 4 | # Use Vim to generate the tags file. Can only be used when Vim has been 5 | # compiled and installed. Supports multiple languages. 6 | vimtags: $(DOCS) 7 | - $(VIMEXE) -u NONE -esX -c "helptags ++t ." -c quit 8 | 9 | # Use "doctags" to generate the tags file. Only works for English! 10 | tags: doctags $(DOCS) 11 | -------------------------------------------------------------------------------- /utils/watchcat/files/uci_defaults_watchcat: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q show system.@watchcat[0] || { 4 | uci add system watchcat 5 | uci set system.@watchcat[0].period=6h 6 | uci set system.@watchcat[0].mode=ping 7 | uci set system.@watchcat[0].pinghosts=8.8.8.8 8 | uci set system.@watchcat[0].forcedelay=30 9 | uci commit 10 | } 11 | -------------------------------------------------------------------------------- /utils/wifitoggle/files/wifitoggle.config: -------------------------------------------------------------------------------- 1 | config wifitoggle 2 | option button 'wps' 3 | 4 | option persistent '0' 5 | option timer '600' 6 | 7 | option led_sysfs 'wrt160nl:amber:wps' 8 | option led_enable_trigger 'timer' 9 | option led_enable_delayon '500' 10 | option led_enable_delayoff '500' 11 | option led_disable_default '0' 12 | --------------------------------------------------------------------------------