From 1fc638686a20f9a9c77d0ca3c9a42b6ca1871e56 Mon Sep 17 00:00:00 2001 From: nynex Date: Wed, 22 Apr 2015 02:40:12 +0000 Subject: [PATCH] Removed package/feeds --- trunk/package/feeds/packages/acl/Makefile | 88 - .../patches/100-no-gettext_configure.patch | 21 - .../acl/patches/101-no-gettext_autogen.patch | 9 - .../acl/patches/102-no-gettext_Makefile.patch | 13 - trunk/package/feeds/packages/aiccu/Makefile | 56 - .../feeds/packages/aiccu/files/aiccu.hotplug | 3 - .../feeds/packages/aiccu/files/aiccu.sh | 121 - .../aiccu/patches/100-cross_compile.patch | 101 - .../aiccu/patches/200-add_dn_skipname.patch | 70 - .../aiccu/patches/300-resolver-uclibc.patch | 29 - .../feeds/packages/aircrack-ng/Makefile | 52 - trunk/package/feeds/packages/alpine/Makefile | 123 - .../100-no-openssl-check-cross-compile.patch | 29 - .../package/feeds/packages/alsa-lib/Makefile | 94 - .../alsa-lib/patches/001-link_fix.patch | 22 - .../002-remove_cross_compile_guess.patch | 23 - .../feeds/packages/alsa-utils/Makefile | 93 - .../patches/100-uClibc-compat.patch | 23 - .../package/feeds/packages/announce/Makefile | 57 - trunk/package/feeds/packages/apache/Makefile | 166 - .../apache/patches/001-Makefile_in.patch | 14 - .../apache/patches/002-test_char_h.patch | 26 - .../apache/patches/003-logdir_fix.patch | 33 - .../apache/patches/004-pidfile_fix.patch | 11 - .../apache/patches/005-httpd_conf.patch | 60 - trunk/package/feeds/packages/apcupsd/Makefile | 106 - .../feeds/packages/apcupsd/files/apccontrol | 146 - .../feeds/packages/apcupsd/files/apcupsd.conf | 322 - .../feeds/packages/apcupsd/files/apcupsd.css | 64 - .../feeds/packages/apcupsd/files/apcupsd.init | 12 - .../packages/apcupsd/files/apcupsd_mail.conf | 7 - .../feeds/packages/apcupsd/files/changeme | 17 - .../feeds/packages/apcupsd/files/commfailure | 17 - .../feeds/packages/apcupsd/files/commok | 17 - .../feeds/packages/apcupsd/files/hosts.conf | 19 - .../packages/apcupsd/files/multimon.conf | 63 - .../feeds/packages/apcupsd/files/offbattery | 17 - .../feeds/packages/apcupsd/files/onbattery | 17 - .../apcupsd/patches/010-fix-usb.patch | 8 - trunk/package/feeds/packages/apinger/Makefile | 67 - .../feeds/packages/apinger/files/apinger.init | 18 - .../apinger/patches/001-autoreconf.patch | 13 - .../apinger/patches/002-run_as_user.patch | 11 - .../apinger/patches/003-no_docs.patch | 11 - .../package/feeds/packages/apr-util/Makefile | 77 - .../patches/001-automake-compat.patch | 21 - trunk/package/feeds/packages/apr/Makefile | 79 - .../apr/patches/001-autoconf-compat.patch | 22 - .../apr/patches/101-fix_apr_time_now.patch | 13 - .../patches/201-upgrade-and-fix-1.5.1.patch | 54 - .../feeds/packages/argp-standalone/Makefile | 48 - .../patches/001-throw-in-funcdef.patch | 79 - trunk/package/feeds/packages/aria2/Config.in | 28 - trunk/package/feeds/packages/aria2/Makefile | 70 - trunk/package/feeds/packages/attr/Makefile | 93 - .../patches/100-no-gettext_configure.patch | 21 - .../attr/patches/101-no-gettext_autogen.patch | 9 - .../patches/102-no-gettext_Makefile.patch | 13 - trunk/package/feeds/packages/avahi/Makefile | 404 - .../packages/avahi/files/avahi-daemon.conf | 28 - .../packages/avahi/files/avahi-daemon.init | 23 - .../feeds/packages/avahi/files/service-http | 10 - .../feeds/packages/avahi/files/service-ssh | 9 - .../010-step_back_autotools-no-gettext.patch | 80 - trunk/package/feeds/packages/bash/Makefile | 73 - .../bash/patches/001-compile-fix.patch | 15 - .../patches/002-force-internal-readline.patch | 24 - .../patches/101-upstream-bash43-001.patch | 49 - .../patches/102-upstream-bash43-002.patch | 49 - .../patches/103-upstream-bash43-003.patch | 39 - .../patches/104-upstream-bash43-004.patch | 38 - .../patches/105-upstream-bash43-005.patch | 50 - .../patches/106-upstream-bash43-006.patch | 39 - .../patches/107-upstream-bash43-007.patch | 45 - .../patches/108-upstream-bash43-008.patch | 148 - .../patches/109-upstream-bash43-009.patch | 51 - .../patches/110-upstream-bash43-010.patch | 145 - .../patches/111-upstream-bash43-011.patch | 40 - .../patches/112-upstream-bash43-012.patch | 38 - .../patches/113-upstream-bash43-013.patch | 52 - .../patches/114-upstream-bash43-014.patch | 95 - .../patches/115-upstream-bash43-015.patch | 48 - .../patches/116-upstream-bash43-016.patch | 121 - .../patches/117-upstream-bash43-017.patch | 41 - .../patches/118-upstream-bash43-018.patch | 38 - .../patches/119-upstream-bash43-019.patch | 75 - .../patches/120-upstream-bash43-020.patch | 93 - .../patches/121-upstream-bash43-021.patch | 46 - .../patches/122-upstream-bash43-022.patch | 47 - .../patches/123-upstream-bash43-023.patch | 78 - .../patches/124-upstream-bash43-024.patch | 45 - .../patches/125-upstream-bash43-025.patch | 110 - .../patches/126-upstream-bash43-026.patch | 54 - .../patches/127-upstream-bash43-027.patch | 176 - .../patches/128-upstream-bash43-028.patch | 1526 --- .../patches/129-upstream-bash43-029.patch | 50 - .../patches/130-upstream-bash43-030.patch | 1396 --- .../patches/131-upstream-bash43-031.patch | 96 - .../patches/132-upstream-bash43-032.patch | 42 - .../patches/133-upstream-bash43-033.patch | 201 - .../packages/bash/patches/900-no_doc.patch | 13 - trunk/package/feeds/packages/bcp38/Makefile | 62 - .../feeds/packages/bcp38/files/bcp38.config | 22 - .../feeds/packages/bcp38/files/bcp38.defaults | 13 - .../package/feeds/packages/bcp38/files/run.sh | 104 - trunk/package/feeds/packages/bind/Makefile | 204 - .../feeds/packages/bind/files/bind/db.0 | 12 - .../feeds/packages/bind/files/bind/db.127 | 13 - .../feeds/packages/bind/files/bind/db.255 | 12 - .../feeds/packages/bind/files/bind/db.local | 13 - .../feeds/packages/bind/files/bind/db.root | 45 - .../bind/files/bind/named.conf.example | 45 - .../feeds/packages/bind/files/named.init | 36 - .../packages/bind/patches/001-no-tests.patch | 26 - .../bind/patches/002-autoconf-ar-fix.patch | 29 - trunk/package/feeds/packages/bluelog/Makefile | 92 - .../feeds/packages/bluelog/files/bluelog.init | 13 - trunk/package/feeds/packages/bluez/Makefile | 129 - .../packages/bluez/files/bluetooth.config | 15 - .../feeds/packages/bluez/files/bluetooth.dbus | 37 - .../packages/bluez/files/bluetoothd.init | 13 - .../feeds/packages/bluez/files/givepin | 14 - .../bluez/patches/200-uart-speed.patch | 40 - .../packages/bluez/patches/201-readline.patch | 52 - trunk/package/feeds/packages/bmon/Makefile | 48 - .../feeds/packages/bogofilter/Makefile | 58 - .../bogofilter/files/postfix-bogofilter | 34 - trunk/package/feeds/packages/boost/Makefile | 277 - .../boost/patches/100-do-not-use-librt.patch | 28 - .../feeds/packages/btrfs-progs/Makefile | 65 - .../btrfs-progs/files/btrfs-scan.init | 9 - .../001-fix-xattr-h-include-location.patch | 79 - trunk/package/feeds/packages/bwm-ng/Config.in | 35 - trunk/package/feeds/packages/bwm-ng/Makefile | 61 - trunk/package/feeds/packages/bzip2/Makefile | 80 - trunk/package/feeds/packages/c-ares/Makefile | 51 - trunk/package/feeds/packages/ccid/Makefile | 52 - trunk/package/feeds/packages/ccrypt/Makefile | 39 - .../packages/ccrypt/patches/001-no-intl.patch | 89 - trunk/package/feeds/packages/check/Makefile | 58 - trunk/package/feeds/packages/cmdpad/Makefile | 61 - .../feeds/packages/cmdpad/files/cmdpad.init | 14 - .../cmdpad/patches/100-Makefile.patch | 35 - .../cmdpad/patches/120-kernel26-compat.patch | 15 - .../cmdpad/patches/130-no_zombie.patch | 18 - .../cmdpad/patches/140-compile_fix.patch | 11 - .../package/feeds/packages/collectd/Makefile | 330 - .../packages/collectd/files/collectd.conf | 90 - .../packages/collectd/files/collectd.init | 15 - .../001-undefined-AM_PATH_LIBGCRYPT.patch | 4 - .../collectd/patches/003-remove-werror.patch | 22 - .../100-rrdtool-add-rrasingle-option.patch | 57 - .../patches/110-net-device-stats.patch | 46 - .../collectd/patches/140-fix-fqdnlookup.patch | 11 - .../patches/150-fix-interface-af-link | 21 - .../patches/200-fix-git-describe-error.patch | 11 - .../patches/400-fix-olsrd-get-all.patch | 11 - .../patches/900-add-iwinfo-plugin.patch | 279 - .../patches/920-fix-ping-droprate.patch | 11 - trunk/package/feeds/packages/confuse/Makefile | 79 - .../feeds/packages/coova-chilli/Config.in | 52 - .../feeds/packages/coova-chilli/Makefile | 105 - .../coova-chilli/files/chilli.hotplug | 7 - .../100-fix-sysinfo-redeclaration.patch | 24 - .../package/feeds/packages/coreutils/Makefile | 116 - .../patches/001-no_docs_man_tests.patch | 89 - .../patches/002-fix_compile_with_uclibc.patch | 12 - .../feeds/packages/crtmpserver/Makefile | 95 - .../crtmpserver/files/crtmpserver.init | 30 - .../patches/010-link-crypt-for-lua.patch | 11 - .../crtmpserver/patches/020-add-rpath.patch | 13 - .../patches/030-default-config.patch | 60 - .../crtmpserver/patches/040-use-select.patch | 13 - .../050-add-missing-make-defines.patch | 57 - .../patches/060-add-missing-includes.patch | 26 - .../patches/070-missing-include-gcc-47.patch | 10 - .../feeds/packages/cryptodev-linux/Makefile | 75 - .../cryptodev-linux/files/cryptodev.modules | 1 - .../feeds/packages/cryptsetup/Makefile | 78 - trunk/package/feeds/packages/cshark/Makefile | 75 - .../feeds/packages/ctorrent-svn/Makefile | 98 - .../patches/100-compile-fix.patch | 88 - .../ctorrent-svn/patches/300-negative.patch | 14 - .../package/feeds/packages/ctorrent/Makefile | 84 - .../ctorrent/patches/100-CVE-2009-1759.patch | 364 - .../ctorrent/patches/100-negative-ints.patch | 13 - .../feeds/packages/cyrus-sasl/Makefile | 112 - .../feeds/packages/dansguardian/Makefile | 78 - .../dansguardian/files/dansguardian.config | 71 - .../dansguardian/files/dansguardian.init | 190 - .../dansguardian/files/dansguardianf1.conf | 348 - .../dansguardian/patches/001-compile.patch | 29 - trunk/package/feeds/packages/davfs2/Makefile | 69 - .../feeds/packages/davfs2/files/davfs2.conf | 9 - .../davfs2/patches/010-main_code_fix.patch | 35 - trunk/package/feeds/packages/db47/Makefile | 100 - .../db47/patches/010-patch.4.7.25.1.patch | 55 - .../db47/patches/020-patch.4.7.25.2.patch | 42 - .../db47/patches/030-patch.4.7.25.3.patch | 211 - .../db47/patches/040-patch.4.7.25.4.patch | 118 - trunk/package/feeds/packages/dbus/Makefile | 213 - .../feeds/packages/dbus/files/dbus-launch | 12 - .../feeds/packages/dbus/files/dbus.init | 17 - .../dbus/patches/100-fix-poll-select.patch | 13 - .../feeds/packages/ddns-scripts/Makefile | 216 - .../packages/ddns-scripts/files/ddns.config | 31 - .../packages/ddns-scripts/files/ddns.hotplug | 14 - .../packages/ddns-scripts/files/ddns.init | 28 - .../files/dynamic_dns_functions.sh | 1124 -- .../files/dynamic_dns_lucihelper.sh | 102 - .../ddns-scripts/files/dynamic_dns_updater.sh | 334 - .../packages/ddns-scripts/files/services | 93 - .../packages/ddns-scripts/files/services_ipv6 | 43 - .../packages/ddns-scripts/files/tld_names.dat | 10460 ---------------- .../ddns-scripts/files/update_CloudFlare.sh | 142 - .../ddns-scripts/files/update_No-IP.com.sh | 52 - .../ddns-scripts/files/update_nsupdate.sh | 46 - .../ddns-scripts/samples/ddns.config_sample | 299 - .../ddns-scripts/samples/getlocalip_sample.sh | 35 - .../ddns-scripts/samples/update_sample.sh | 39 - .../feeds/packages/debootstrap/Makefile | 57 - .../packages/debootstrap/files/pkgdetails.c | 347 - .../debootstrap/patches/100-busybox_fix.patch | 11 - trunk/package/feeds/packages/dhcpcd/Makefile | 63 - .../feeds/packages/dhcpcd/files/dhcpcd.init | 24 - .../package/feeds/packages/diffutils/Makefile | 62 - trunk/package/feeds/packages/dkjson/Makefile | 46 - trunk/package/feeds/packages/dmapd/Makefile | 66 - .../feeds/packages/dmapd/files/dmapd.init | 28 - .../dmapd/patches/001-dmapd_conf.patch | 11 - .../002-make_unit_test_optionnal.patch | 17 - .../package/feeds/packages/dmidecode/Makefile | 48 - .../feeds/packages/dmx_usb_module/Makefile | 56 - .../patches/001-dmx_usb_Makefile.patch | 13 - .../feeds/packages/dnscrypt-proxy/Makefile | 119 - .../files/dnscrypt-proxy.config | 5 - .../dnscrypt-proxy/files/dnscrypt-proxy.init | 27 - .../feeds/packages/dosfstools/Makefile | 109 - .../packages/dosfstools/files/dosfsck.sh | 30 - trunk/package/feeds/packages/dovecot/Makefile | 98 - .../feeds/packages/dovecot/files/dovecot.init | 16 - .../dovecot/patches/001-configure_in.patch | 31 - trunk/package/feeds/packages/dtndht/Makefile | 46 - .../package/feeds/packages/dump1090/Config.in | 20 - .../package/feeds/packages/dump1090/Makefile | 70 - .../packages/dump1090/files/dump1090.config | 39 - .../packages/dump1090/files/dump1090.init | 92 - .../dump1090/patches/100-html_dir.patch | 11 - .../feeds/packages/e2guardian/Makefile | 78 - .../e2guardian/files/e2guardian.config | 70 - .../packages/e2guardian/files/e2guardian.init | 192 - .../e2guardian/files/e2guardianf1.conf | 426 - .../package/feeds/packages/elfutils/Makefile | 97 - .../patches/001-elfutils-portability.patch | 1871 --- .../patches/002-argp_standalone.patch | 14 - .../elfutils/patches/003-libint-stub.patch | 49 - .../patches/004-maybe-uninitialized.patch | 11 - .../elfutils/patches/004-memcpy_def.patch | 14 - .../patches/005-build_only_libs.patch | 24 - .../elfutils/patches/006-libdw_LIBS.patch | 11 - .../elfutils/patches/100-musl-compat.patch | 788 -- .../elfutils/patches/101-no-fts.patch | 109 - .../feeds/packages/emailrelay/Makefile | 116 - .../packages/emailrelay/files/emailrelay.auth | 16 - .../packages/emailrelay/files/emailrelay.init | 15 - .../feeds/packages/engine_pkcs11/Makefile | 48 - trunk/package/feeds/packages/erlang/Makefile | 335 - .../patches/101-emulator_includes.patch | 11 - .../erlang/patches/103-disable_emacs.patch | 11 - trunk/package/feeds/packages/espeak/Makefile | 57 - .../espeak/patches/101-portaudio.patch | 2093 ---- .../package/feeds/packages/etherwake/Makefile | 55 - .../packages/etherwake/files/etherwake.config | 28 - .../packages/etherwake/files/etherwake.init | 132 - .../patches/100-no_ether_hostton.patch | 37 - .../patches/110-format_security_fix.patch | 19 - trunk/package/feeds/packages/ethtool/Makefile | 45 - trunk/package/feeds/packages/expat/Makefile | 69 - .../feeds/packages/f2fs-tools/Config.in | 25 - .../feeds/packages/f2fs-tools/Makefile | 89 - .../f2fs-tools/patches/001-compile.patch | 19 - trunk/package/feeds/packages/faad2/Config.in | 12 - trunk/package/feeds/packages/faad2/Makefile | 114 - .../feeds/packages/fakeidentd/Makefile | 48 - .../packages/fakeidentd/files/fakeidentd.init | 12 - trunk/package/feeds/packages/fastd/Config.in | 108 - trunk/package/feeds/packages/fastd/Makefile | 199 - .../feeds/packages/fastd/files/fastd.upgrade | 1 - trunk/package/feeds/packages/fcgi/Makefile | 82 - .../fcgi/patches/100-fcgio-int-type-fix.patch | 38 - .../fcgi/patches/110-no_examples.patch | 24 - .../packages/fcgi/patches/120-stdio.patch | 12 - trunk/package/feeds/packages/fdm/Config.in | 10 - trunk/package/feeds/packages/fdm/Makefile | 86 - .../feeds/packages/fdm/files/etc/fdm.conf | 36 - .../packages/fdm/patches/001-base64-fix.patch | 14 - .../packages/fdm/patches/002-base64-fix.patch | 20 - .../feeds/packages/fdm/src/compat/b64_ntop.c | 183 - .../feeds/packages/fdm/src/compat/b64_pton.c | 393 - trunk/package/feeds/packages/fftw3/Makefile | 119 - .../packages/fftw3/patches/001-makefile.patch | 20 - trunk/package/feeds/packages/file/Makefile | 94 - trunk/package/feeds/packages/flac/Makefile | 75 - .../patches/001-no-docs-and-examples.patch | 25 - .../flac/patches/002-no-utility.patch | 13 - .../flac/patches/010-automake-compat.patch | 11 - .../package/feeds/packages/flashrom/Config.in | 279 - .../package/feeds/packages/flashrom/Makefile | 57 - .../feeds/packages/flashrom/flashrom.mk | 54 - .../patches/0001-fix_internal_bitbang.patch | 11 - .../feeds/packages/freeradius2/Config.in | 14 - .../feeds/packages/freeradius2/Makefile | 633 - .../packages/freeradius2/files/radiusd.init | 22 - .../patches/001-fix-makefile.patch | 10 - .../freeradius2/patches/002-config.patch | 588 - .../patches/004-ldap_configure.patch | 4253 ------- .../patches/008-honor_ccpflags.patch | 15 - .../patches/010-disbale-openssl-check.patch | 38 - .../package/feeds/packages/freetype/Makefile | 84 - .../package/feeds/packages/fswebcam/Makefile | 50 - trunk/package/feeds/packages/fwknop/Makefile | 119 - .../fwknop/patches/001-fix_config.patch | 18 - .../fwknop/patches/002-fix_init.patch | 17 - trunk/package/feeds/packages/gammu/Makefile | 64 - .../package/feeds/packages/gammu/files/gammu | 5 - .../feeds/packages/gammu/files/gammu.init | 116 - .../patches/001-iconv-disabling-option.patch | 51 - .../patches/002-no-fstack-protector.patch | 11 - .../patches/003-cmake-cross-toolchain.patch | 43 - .../patches/004-cmake_libdbi_optional.patch | 34 - .../gammu/patches/010-utils-shell-fix.patch | 16 - trunk/package/feeds/packages/gcc/Makefile | 116 - trunk/package/feeds/packages/gcc/README | 10 - ...t-choke-when-building-32bit-on-64bit.patch | 15 - .../gcc/patches/003-mpfr-longlong-mips.patch | 38 - .../gcc/patches/010-documentation.patch | 23 - .../020-disable-check-for-sys-sdt-h.patch | 45 - .../gcc/patches/100-uclibc-conf.patch | 33 - .../feeds/packages/gcc/patches/200-musl.patch | 321 - .../patches/800-arm_v5te_no_ldrd_strd.patch | 11 - .../patches/810-arm-softfloat-libgcc.patch | 25 - .../packages/gcc/patches/820-libgcc_pic.patch | 36 - .../gcc/patches/830-arm_unbreak_armv4t.patch | 13 - .../840-armv4_pass_fix-v4bx_to_ld.patch | 19 - .../gcc/patches/850-use_shared_libgcc.patch | 47 - .../gcc/patches/860-uclibc_use_eh_frame.patch | 29 - .../gcc/patches/870-ppc_no_crtsavres.patch | 11 - .../gcc/patches/880-no_java_section.patch | 11 - .../gcc/patches/900-bad-mips16-crt.patch | 9 - .../packages/gcc/patches/910-mbsd_multi.patch | 253 - .../patches/920-specs_nonfatal_getenv.patch | 14 - trunk/package/feeds/packages/gdbm/Makefile | 67 - trunk/package/feeds/packages/git/Makefile | 114 - .../git/patches/100-convert_builtin.patch | 219 - .../git/patches/200-disable_fasthash.patch | 12 - .../patches/300-configure_for_crosscompiling | 32 - .../patches/400-imapsend_without_curl.patch | 11 - trunk/package/feeds/packages/glib2/Makefile | 104 - .../glib2/patches/001-automake-compat.patch | 11 - .../glib2/patches/100-fix-gio-linking.patch | 10 - trunk/package/feeds/packages/gnupg/Makefile | 69 - trunk/package/feeds/packages/gnutls/Config.in | 52 - trunk/package/feeds/packages/gnutls/Makefile | 250 - .../gnutls/patches/001-ai-idn-remove.patch | 15 - trunk/package/feeds/packages/gperf/Makefile | 47 - trunk/package/feeds/packages/grep/Makefile | 60 - ...rep-F-fix-a-heap-buffer-read-overrun.patch | 15 - .../feeds/packages/gst1-libav/Config.in | 279 - .../feeds/packages/gst1-libav/Makefile | 205 - .../feeds/packages/gst1-plugins-base/Makefile | 289 - .../patches/001-no_docs.patch | 34 - .../patches/002-no_tests.patch | 36 - .../patches/003-no_translations.patch | 46 - .../feeds/packages/gst1-plugins-good/Makefile | 236 - .../patches/001-no_docs.patch | 20 - .../patches/002-no_tests.patch | 20 - .../patches/003-no_translations.patch | 30 - .../feeds/packages/gstreamer1/Makefile | 231 - .../gstreamer1/patches/001-no_docs.patch | 35 - .../gstreamer1/patches/002-no_tests.patch | 37 - .../patches/003-no_translations.patch | 45 - ...10-gstplugin_use_lazy_symbol_binding.patch | 20 - trunk/package/feeds/packages/hamlib/Makefile | 529 - .../100-override-autoconf-detection.patch | 30 - trunk/package/feeds/packages/haproxy/Makefile | 139 - .../feeds/packages/haproxy/files/haproxy.cfg | 100 - .../packages/haproxy/files/haproxy.hotplug | 8 - .../feeds/packages/haproxy/files/haproxy.init | 25 - ...-MINOR-pattern-error-message-missing.patch | 30 - ...rn-some-entries-are-not-deleted-with.patch | 38 - trunk/package/feeds/packages/haserl/Config.in | 35 - trunk/package/feeds/packages/haserl/Makefile | 57 - .../patches/100-replace-lua2c-with-sed.patch | 82 - .../patches/101-adjust-script-size.patch | 11 - trunk/package/feeds/packages/haveged/Makefile | 68 - .../feeds/packages/haveged/files/haveged.init | 16 - trunk/package/feeds/packages/hd-idle/Makefile | 55 - .../packages/hd-idle/files/hd-idle.config | 5 - .../feeds/packages/hd-idle/files/hd-idle.init | 79 - trunk/package/feeds/packages/hdparm/Makefile | 42 - .../hdparm/patches/001-fix-includes.patch | 20 - .../package/feeds/packages/hfsprogs/Makefile | 81 - .../feeds/packages/hfsprogs/files/hfsfsck.sh | 30 - ...01-Create-short-Makefiles-for-Debian.patch | 93 - ...002-Add-exclude-Darwin-specific-code.patch | 1407 --- ...de-files-absent-from-the-upstream-pa.patch | 1024 -- ...004-Fix-compilation-on-64-bit-arches.patch | 131 - ...Remove-Apple-specific-p-from-strings.patch | 291 - .../0006-Adjust-types-for-printing.patch | 37 - .../0007-Fix-path-for-HFS-wrapper-block.patch | 23 - .../0008-Provide-command-line-option-a.patch | 40 - .../0009-Rename-dprintf-to-dbg_printf.patch | 187 - ...10-Rename-custom-macro-nil-with-NULL.patch | 1319 -- .../hfsprogs/patches/0011-Fix-types.patch | 71 - ...t-creating-UUIDs-for-new-filesystems.patch | 50 - .../hfsprogs/patches/0013-Fix-manpages.patch | 157 - .../patches/0014-uClibc_no_loadavg.patch | 15 - trunk/package/feeds/packages/hidapi/Makefile | 77 - .../patches/010-add-iconv-linkage.patch | 22 - trunk/package/feeds/packages/horst/Makefile | 51 - trunk/package/feeds/packages/htop/Makefile | 57 - .../package/feeds/packages/hub-ctrl/Makefile | 53 - .../package/feeds/packages/ibrcommon/Makefile | 49 - .../feeds/packages/ibrdtn-tools/Makefile | 51 - trunk/package/feeds/packages/ibrdtn/Makefile | 50 - trunk/package/feeds/packages/ibrdtnd/Makefile | 62 - .../packages/ibrdtnd/files/build-config.sh | 173 - .../feeds/packages/ibrdtnd/files/ibrdtn.init | 71 - .../feeds/packages/ibrdtnd/files/ibrdtn.uci | 176 - .../packages/ibrdtnd/files/mkcontainer.sh | 43 - .../packages/ibrdtnd/files/mountcontainer.sh | 122 - .../packages/ibrdtnd/files/safety-wrapper.sh | 172 - .../packages/ibrdtnd/files/systemcheck.sh | 101 - trunk/package/feeds/packages/icecast/Makefile | 95 - .../feeds/packages/icecast/files/icecast.init | 14 - .../feeds/packages/icecast/libvorbisidec.mk | 41 - .../patches/001-icecast-2.4.0-tremor.patch | 155 - .../patches/010-fix_libcurl_test_crap.patch | 11 - trunk/package/feeds/packages/ices/Makefile | 51 - .../package/feeds/packages/intltool/Makefile | 47 - trunk/package/feeds/packages/iodine/Makefile | 73 - .../packages/iodine/files/iodined.config | 5 - .../feeds/packages/iodine/files/iodined.init | 27 - .../iodine/patches/010-cross-compile.patch | 24 - .../feeds/packages/ipsec-tools/Makefile | 100 - .../packages/ipsec-tools/files/racoon.conf | 36 - .../packages/ipsec-tools/files/racoon.init | 17 - .../patches/001-ipsec-tools-def-psk.patch | 24 - .../ipsec-tools/patches/001-no_libfl.patch | 22 - .../ipsec-tools/patches/002-patch8-utmp.patch | 72 - .../patches/003-microsoft-fqdn-in-main.patch | 13 - .../ipsec-tools/patches/005-isakmp-fix.patch | 11 - .../patches/006-linux-3.7-compat.patch | 50 - .../ipsec-tools/patches/force_HAVE_POLICY_FWD | 14 - trunk/package/feeds/packages/irssi/Makefile | 98 - trunk/package/feeds/packages/jamvm/Makefile | 67 - trunk/package/feeds/packages/jansson/Makefile | 52 - trunk/package/feeds/packages/joe/Makefile | 63 - trunk/package/feeds/packages/joe/files/joerc | 621 - .../packages/joe/patches/001-mathaway.patch | 58 - .../package/feeds/packages/json4lua/Makefile | 48 - .../feeds/packages/keepalived/Makefile | 68 - .../packages/keepalived/files/keepalived.init | 14 - trunk/package/feeds/packages/kismet/Makefile | 142 - .../feeds/packages/kismet/files/kismet.conf | 304 - .../packages/kismet/files/kismet_drone.conf | 69 - .../packages/kismet/files/kismet_drone.config | 2 - .../packages/kismet/files/kismet_drone.init | 26 - .../kismet/files/kismet_server.config | 2 - .../packages/kismet/files/kismet_server.init | 26 - .../010-dont-add-host-include-paths.patch | 14 - trunk/package/feeds/packages/kmod/Makefile | 93 - .../kmod/patches/001-fix_pkgconfig_file.patch | 22 - trunk/package/feeds/packages/knot/Makefile | 194 - .../feeds/packages/knot/files/knotd.init | 45 - .../feeds/packages/knot/files/runtests.sh | 9 - .../knot/patches/01_strptime_susv3.patch | 21 - .../packages/knot/patches/02_knot.conf.patch | 28 - .../knot/patches/03_zscanner_tests.patch | 41 - trunk/package/feeds/packages/knxd/Makefile | 152 - .../feeds/packages/knxd/files/knxd.config | 12 - .../feeds/packages/knxd/files/knxd.init | 19 - .../packages/knxd/patches/0099-openwrt.patch | 8 - trunk/package/feeds/packages/krb5/Makefile | 137 - .../package/feeds/packages/krb5/files/krb5kdc | 19 - .../packages/krb5/patches/001-fix-build.patch | 45 - .../feeds/packages/l7-protocols/Makefile | 87 - .../patches/100-testing_crosscompile.patch | 27 - .../patches/101-testing-timeit.patch | 102 - .../patches/102-testing-doallspeeds.patch | 16 - trunk/package/feeds/packages/lame/Makefile | 85 - .../lame/patches/001-automake-compat.patch | 33 - trunk/package/feeds/packages/less/Makefile | 93 - trunk/package/feeds/packages/lftp/Makefile | 73 - trunk/package/feeds/packages/libaio/Makefile | 63 - .../packages/libaio/patches/001_arches.patch | 566 - .../libaio/patches/002_arches_sh.patch | 139 - .../libaio/patches/003_arches_sparc64.patch | 117 - .../libaio/patches/004_arches_x32.patch | 65 - .../libaio/patches/005_arches_mips.patch | 63 - .../patches/006_arches_mips_fix_padding.patch | 37 - .../feeds/packages/libantlr3c/Makefile | 55 - trunk/package/feeds/packages/libao/Makefile | 67 - .../feeds/packages/libarchive/Makefile | 58 - .../package/feeds/packages/libartnet/Makefile | 60 - .../libartnet/patches/001-bswap_16.patch | 12 - .../feeds/packages/libaudiofile/Makefile | 72 - trunk/package/feeds/packages/libavl/Makefile | 55 - .../patches/010-update_GNUmakefile.patch | 45 - trunk/package/feeds/packages/libcap/Makefile | 56 - .../package/feeds/packages/libdaemon/Makefile | 72 - .../patches/001-daemon_set_verbosity.patch | 30 - trunk/package/feeds/packages/libdaq/Makefile | 73 - .../packages/libdaq/patches/001-compile.patch | 18 - .../feeds/packages/libdbi-drivers/Makefile | 105 - .../patches/001_libsqlite3_fix.patch | 11 - trunk/package/feeds/packages/libdbi/Makefile | 57 - .../feeds/packages/libdmapsharing/Makefile | 72 - .../patches/001-disable_pixbuf.patch | 22 - .../patches/002-disable_tests.patch | 8 - .../patches/003-make_unit_test_optional.patch | 17 - trunk/package/feeds/packages/libdnet/Makefile | 87 - .../libdnet/patches/001-compile.patch | 20 - .../packages/libdnet/patches/002-config.patch | 23 - .../package/feeds/packages/libesmtp/Makefile | 56 - .../package/feeds/packages/libevent/Makefile | 67 - .../package/feeds/packages/libevhtp/Makefile | 59 - .../010-enable-shared-object-building.patch | 12 - trunk/package/feeds/packages/libexif/Makefile | 63 - .../packages/libexif/patches/100-no_doc.patch | 12 - trunk/package/feeds/packages/libffi/Makefile | 81 - trunk/package/feeds/packages/libftdi/Makefile | 64 - .../patches/100-fix-x86_64-build.patch | 11 - .../101-fix-cmake-version-packagekit.patch | 29 - .../package/feeds/packages/libftdi1/Makefile | 91 - .../patches/100-fix-x86_64-build.patch | 11 - .../package/feeds/packages/libgcrypt/Makefile | 68 - .../libgcrypt/patches/001-no_docs_tests.patch | 28 - trunk/package/feeds/packages/libgd/Makefile | 81 - .../libgd/patches/101-gdlib-config.patch | 20 - .../libgd/patches/200-uclibc-ceill.patch | 24 - .../feeds/packages/libgpg-error/Makefile | 79 - .../feeds/packages/libhttp-parser/Makefile | 60 - trunk/package/feeds/packages/libical/Makefile | 62 - .../package/feeds/packages/libid3tag/Makefile | 65 - trunk/package/feeds/packages/libidn/Makefile | 95 - .../002-disable-po-docs-examples.patch | 22 - .../patches/010-fix-idn-error-usage.patch | 119 - .../feeds/packages/libimobiledevice/Makefile | 96 - trunk/package/feeds/packages/libjpeg/Makefile | 90 - trunk/package/feeds/packages/liblo/Makefile | 71 - trunk/package/feeds/packages/libmad/Makefile | 79 - .../001-mips_removal_h_constraint.patch | 70 - .../package/feeds/packages/libmcrypt/Makefile | 65 - .../feeds/packages/libmicrohttpd/Makefile | 54 - trunk/package/feeds/packages/libmms/Makefile | 63 - .../package/feeds/packages/libmodbus/Makefile | 56 - .../feeds/packages/libmpdclient/Makefile | 69 - .../patches/001-WIP_musl_compatibility.patch | 22 - .../package/feeds/packages/libmpeg2/Makefile | 60 - .../libmpeg2/patches/101-ppc_no_altivec.patch | 66 - .../patches/102-arm_data_preload_check.patch | 19 - .../package/feeds/packages/libnatpmp/Makefile | 87 - .../patches/001-install_declspec.patch | 11 - .../feeds/packages/libnetfilter-acct/Makefile | 70 - trunk/package/feeds/packages/libnfc/Makefile | 98 - trunk/package/feeds/packages/libogg/Makefile | 59 - trunk/package/feeds/packages/liboil/Makefile | 70 - .../package/feeds/packages/liboping/Makefile | 84 - .../liboping/patches/01-no-werror.patch | 11 - .../package/feeds/packages/libowfat/Makefile | 61 - .../libowfat/patches/001-fixbuild.patch | 11 - trunk/package/feeds/packages/libp11/Makefile | 58 - trunk/package/feeds/packages/libpam/Makefile | 71 - .../feeds/packages/libpam/files/pam.conf | 15 - .../libpam/files/pam.d/common-account | 20 - .../packages/libpam/files/pam.d/common-auth | 21 - .../libpam/files/pam.d/common-password | 28 - .../libpam/files/pam.d/common-session | 25 - .../files/pam.d/common-session-noninteractive | 25 - .../feeds/packages/libpam/files/pam.d/other | 16 - .../libpam/patches/000-OE-libpam-xtests.patch | 35 - .../patches/000-OE-pam-no-innetgr.patch | 85 - .../packages/libpam/patches/001-no_nis.patch | 68 - .../libpam/patches/002-no_yywrap.patch | 26 - .../packages/libpam/patches/003-no_doc.patch | 22 - .../libpam/patches/004-fix_lib64.patch | 16 - .../libpam/patches/005-fix_ruserok.patch | 364 - .../packages/libpam/patches/006-fix_xdr.patch | 271 - .../libpam/patches/007-cve-2014-2583.patch | 52 - .../package/feeds/packages/libplist/Makefile | 105 - trunk/package/feeds/packages/libpng/Makefile | 68 - .../libpng/patches/100-config_fix.patch | 10 - .../feeds/packages/libsamplerate/Makefile | 55 - .../package/feeds/packages/libsearpc/Makefile | 77 - .../feeds/packages/libseccomp/Makefile | 74 - .../package/feeds/packages/libshout/Makefile | 68 - .../libshout/patches/120-vorbis-c.patch | 11 - .../patches/140-no_example_doc_win32.patch | 17 - .../package/feeds/packages/libsigc++/Makefile | 63 - .../patches/001-no_doc_tests_examples.patch | 22 - .../feeds/packages/libsndfile/Makefile | 65 - .../patches/001-automake-compat.patch | 10 - .../package/feeds/packages/libsodium/Makefile | 72 - trunk/package/feeds/packages/libsoup/Makefile | 75 - trunk/package/feeds/packages/libsoxr/Makefile | 62 - trunk/package/feeds/packages/libssh2/Makefile | 58 - .../package/feeds/packages/libtasn1/Makefile | 57 - .../package/feeds/packages/libtheora/Makefile | 68 - .../libtheora/patches/001-no_docs_tests.patch | 33 - .../libtheora/patches/002-no_sdl_check.patch | 14 - .../feeds/packages/libtorrent/Makefile | 68 - .../patches/100-fix_cross_compile.patch | 41 - .../120-fix-ipv6_socket_datagram.patch | 26 - trunk/package/feeds/packages/libuecc/Makefile | 47 - .../package/feeds/packages/libugpio/Makefile | 72 - .../feeds/packages/libunistring/Makefile | 59 - trunk/package/feeds/packages/libupnp/Makefile | 76 - .../package/feeds/packages/libupnpp/Makefile | 52 - trunk/package/feeds/packages/liburcu/Makefile | 51 - .../feeds/packages/libusbmuxd/Makefile | 90 - trunk/package/feeds/packages/libuv/Makefile | 73 - trunk/package/feeds/packages/libuvc/Makefile | 53 - trunk/package/feeds/packages/libv4l/Makefile | 115 - .../libv4l/patches/001-no-shm_open-fix.patch | 57 - .../patches/020-add-missing-includes.patch | 10 - .../package/feeds/packages/libvorbis/Makefile | 65 - .../feeds/packages/libvorbisidec/Makefile | 62 - trunk/package/feeds/packages/libvpx/Makefile | 80 - .../feeds/packages/libwebsockets/Makefile | 83 - ...yassl-correct-include-path-for-3.1.x.patch | 25 - .../feeds/packages/libxerces-c/Makefile | 93 - trunk/package/feeds/packages/libxml2/Makefile | 134 - ...ard-declarations-only-for-glibc-fixe.patch | 42 - trunk/package/feeds/packages/libxslt/Makefile | 152 - trunk/package/feeds/packages/libzdb/Makefile | 89 - .../patches/010-cross-compile-fixes.patch | 186 - .../020-filterh-use-host-built-version.patch | 20 - .../package/feeds/packages/lighttpd/Makefile | 187 - .../packages/lighttpd/files/lighttpd.conf | 32 - .../packages/lighttpd/files/lighttpd.init | 20 - trunk/package/feeds/packages/linknx/Makefile | 59 - .../feeds/packages/linknx/files/linknx.config | 8 - .../feeds/packages/linknx/files/linknx.init | 23 - .../packages/linknx/files/linknx.xml.dist | 16 - trunk/package/feeds/packages/lispmob/Makefile | 56 - .../feeds/packages/lm-sensors/Makefile | 116 - .../packages/lm-sensors/files/sensors.conf | 117 - trunk/package/feeds/packages/lsof/Makefile | 57 - .../lsof/patches/001-lsof_makefile.patch | 13 - .../lsof/patches/002-lsof_noportmap.patch | 18 - .../lsof/patches/003-lsof_selinux.patch | 11 - .../packages/lsof/patches/004-lsof_ccv.patch | 12 - .../feeds/packages/lttng-modules/Makefile | 45 - .../patches/001-mm_page_alloc_extfrag.patch | 98 - .../feeds/packages/lttng-tools/Makefile | 60 - .../package/feeds/packages/lttng-ust/Makefile | 51 - .../lttng-ust/patches/001-no_docs_tests.patch | 11 - .../lttng-ust/patches/002-examples.patch | 18 - .../feeds/packages/lua-bencode/Makefile | 50 - .../feeds/packages/lua-mosquitto/Makefile | 41 - .../feeds/packages/lua-penlight/Makefile | 46 - .../package/feeds/packages/lua-sha2/Makefile | 52 - .../lua-sha2/patches/001-makefile.patch | 14 - .../package/feeds/packages/luabitop/Makefile | 53 - .../package/feeds/packages/luaexpat/Makefile | 56 - .../luaexpat/files/compat-5.1r5/compat-5.1.c | 97 - .../luaexpat/files/compat-5.1r5/compat-5.1.h | 13 - .../files/compat-5.1r5/compat-5.1.lua | 267 - .../feeds/packages/luafilesystem/Makefile | 66 - trunk/package/feeds/packages/luai2c/Makefile | 46 - .../package/feeds/packages/lualanes/Makefile | 57 - .../package/feeds/packages/luaposix/Makefile | 58 - .../luaposix/patches/100-eglibc-compat.patch | 30 - .../luaposix/patches/101-disable-curses.patch | 32 - .../102-disable-compat-deprecated.diff | 20 - .../package/feeds/packages/luarocks/Makefile | 54 - .../patches/01_dont_modify_bin_shebang.diff | 13 - trunk/package/feeds/packages/luasec/Makefile | 61 - .../patches/100-luasocket-Makefile.patch | 20 - trunk/package/feeds/packages/luasoap/Makefile | 56 - .../package/feeds/packages/luasocket/Makefile | 63 - .../patches/0001-Add-interface-support.patch | 237 - trunk/package/feeds/packages/luasql/Makefile | 116 - .../feeds/packages/luci-app-bcp38/Makefile | 57 - .../luci-app-bcp38/files/bcp38-cbi.lua | 58 - .../luci-app-bcp38/files/bcp38-controller.lua | 7 - .../luci-app-bcp38/files/uci-defaults-bcp38 | 11 - .../feeds/packages/luci-app-lxc/Makefile | 68 - .../luci-app-lxc/files/controller/lxc.lua | 125 - .../packages/luci-app-lxc/files/lxc.config | 6 - .../luci-app-lxc/files/model/cbi/lxc.lua | 31 - .../packages/luci-app-lxc/files/view/lxc.htm | 441 - .../www/luci-static/resources/cbi/green.gif | Bin 310 -> 0 bytes .../www/luci-static/resources/cbi/purple.gif | Bin 317 -> 0 bytes .../www/luci-static/resources/cbi/red.gif | Bin 320 -> 0 bytes .../feeds/packages/luci-app-sqm/Makefile | 67 - .../packages/luci-app-sqm/files/sqm-cbi.lua | 217 - .../luci-app-sqm/files/sqm-controller.lua | 26 - .../luci-app-sqm/files/uci-defaults-sqm | 12 - trunk/package/feeds/packages/lvm2/Makefile | 91 - .../feeds/packages/lvm2/files/lvm2.init | 14 - .../packages/lvm2/patches/000-compile.patch | 11 - .../lvm2/patches/001-include_fix.patch | 11 - trunk/package/feeds/packages/lxc/Config.in | 30 - trunk/package/feeds/packages/lxc/Makefile | 249 - .../package/feeds/packages/lxc/files/lxc.conf | 1 - .../packages/lxc/patches/010-compile.patch | 33 - .../packages/lxc/patches/015-getline.patch | 15 - .../lxc/patches/020-lxc-checkconfig.patch | 20 - .../025-remove-unsupported-option.patch | 19 - .../lxc/patches/030-lxc-download.patch | 43 - .../lxc/patches/300-lxc-destroy.patch | 113 - .../feeds/packages/mac-telnet/Makefile | 71 - .../mac-telnet/files/mactelnet.config | 9 - .../packages/mac-telnet/files/mactelnet.init | 80 - .../feeds/packages/macchanger/Makefile | 45 - trunk/package/feeds/packages/madplay/Makefile | 63 - trunk/package/feeds/packages/mailman/Makefile | 126 - .../feeds/packages/mailman/files/mailman.init | 22 - .../mailman/patches/100-postfix.patch | 12 - .../mailman/patches/200-nohostdnspython.patch | 68 - .../mailman/patches/300-targetpython.patch | 12 - .../mailman/patches/400-modules.patch | 35 - .../package/feeds/packages/mailsend/Makefile | 73 - trunk/package/feeds/packages/mc/Config.in | 60 - trunk/package/feeds/packages/mc/Makefile | 122 - .../feeds/packages/mdnsresponder/Makefile | 163 - .../mdnsresponder/files/mDNSResponder.conf | 4 - .../mdnsresponder/files/mDNSResponder.init | 14 - .../packages/mdnsresponder/files/mdnsd.init | 14 - .../patches/001-cross_compile.patch | 115 - .../patches/100-linux_fixes.patch | 377 - .../package/feeds/packages/memcached/Makefile | 68 - .../packages/memcached/files/memcached.config | 6 - .../packages/memcached/files/memcached.init | 27 - .../memcached/patches/100-fix_iov_max.patch | 23 - .../feeds/packages/micropython-lib/Makefile | 55 - .../feeds/packages/micropython/Makefile | 52 - trunk/package/feeds/packages/minicom/Makefile | 45 - .../patches/100-fix_iconv_include.patch | 12 - .../package/feeds/packages/miniupnpc/Makefile | 73 - .../patches/100-no_minixml_test.patch | 13 - .../patches/200-miniupnpc_desc.patch | 11 - .../feeds/packages/mjpg-streamer/Config.in | 36 - .../feeds/packages/mjpg-streamer/Makefile | 109 - .../mjpg-streamer/files/mjpg-streamer.config | 13 - .../mjpg-streamer/files/mjpg-streamer.hotplug | 10 - .../mjpg-streamer/files/mjpg-streamer.init | 90 - .../010-enable_additional_plugins.patch | 17 - .../020-remove_gcc_debug_options.patch | 33 - .../030-allow_16_char_device_names.patch | 11 - ...used-variable-from-struct-v4l2_buffe.patch | 87 - ...-leaking-data-via-struct-v4l2_buffer.patch | 242 - .../patches/050-fix-yuv-capture.patch | 58 - trunk/package/feeds/packages/mksh/Makefile | 89 - .../packages/mksh/patches/100-dot_mkshrc | 50 - .../package/feeds/packages/mktorrent/Makefile | 41 - .../package/feeds/packages/mmc-utils/Makefile | 56 - ...perly-set-fortify-source-in-makefile.patch | 11 - trunk/package/feeds/packages/mocp/Makefile | 64 - trunk/package/feeds/packages/monit/Makefile | 95 - .../feeds/packages/monit/files/monit.init | 15 - .../patches/001-fix-default-piddir.patch | 18 - .../feeds/packages/mosquitto/Config.in | 6 - .../package/feeds/packages/mosquitto/Makefile | 198 - .../packages/mosquitto/files/mosquitto.init | 28 - .../mosquitto/files/mosquitto.uci.convert | 134 - .../mosquitto/patches/101-qos2-inflight.patch | 12 - trunk/package/feeds/packages/motion/Makefile | 58 - trunk/package/feeds/packages/mpack/Makefile | 45 - trunk/package/feeds/packages/mpc/Makefile | 58 - .../feeds/packages/mpc/files/pls-handler.sh | 5 - trunk/package/feeds/packages/msmtp/Makefile | 141 - trunk/package/feeds/packages/mtr/Makefile | 68 - .../feeds/packages/mtr/patches/501-dns.patch | 510 - .../mtr/patches/502-fix-res_ninit.patch | 31 - .../package/feeds/packages/muninlite/Makefile | 54 - .../muninlite/files/etc/xinetd.d/munin | 10 - .../muninlite/patches/001-no_disks.patch | 12 - .../muninlite/patches/002-hostname.patch | 11 - .../patches/100-fix-no-ethtool.patch | 21 - .../patches/110-fix-uptime-days.patch | 12 - .../muninlite/patches/200-add-tap-dev.patch | 20 - .../patches/210-add-bridge-devs.patch | 24 - .../feeds/packages/mwan3-luci/Makefile | 41 - .../etc/hotplug.d/iface/16-mwancustombak | 38 - .../files/etc/uci-defaults/mwan-luci | 14 - .../usr/lib/lua/luci/controller/mwan3.lua | 318 - .../model/cbi/mwan/advanced_hotplugscript.lua | 55 - .../model/cbi/mwan/advanced_mwanconfig.lua | 32 - .../model/cbi/mwan/advanced_networkconfig.lua | 32 - .../lib/lua/luci/model/cbi/mwan/interface.lua | 266 - .../luci/model/cbi/mwan/interfaceconfig.lua | 190 - .../lib/lua/luci/model/cbi/mwan/member.lua | 46 - .../lua/luci/model/cbi/mwan/memberconfig.lua | 47 - .../lib/lua/luci/model/cbi/mwan/policy.lua | 95 - .../lua/luci/model/cbi/mwan/policyconfig.lua | 65 - .../usr/lib/lua/luci/model/cbi/mwan/rule.lua | 141 - .../lua/luci/model/cbi/mwan/ruleconfig.lua | 113 - .../lua/luci/view/admin_status/index/mwan.htm | 1 - .../luci/view/mwan/advanced_diagnostics.htm | 128 - .../luci/view/mwan/advanced_hotplugscript.htm | 23 - .../luci/view/mwan/advanced_mwanconfig.htm | 23 - .../luci/view/mwan/advanced_networkconfig.htm | 23 - .../view/mwan/advanced_troubleshooting.htm | 71 - .../usr/lib/lua/luci/view/mwan/config_css.htm | 34 - .../view/mwan/openwrt_overview_status.htm | 83 - .../lua/luci/view/mwan/overview_detailed.htm | 51 - .../lua/luci/view/mwan/overview_interface.htm | 122 - trunk/package/feeds/packages/mwan3/Makefile | 45 - .../packages/mwan3/files/etc/config/mwan3 | 80 - .../mwan3/files/etc/hotplug.d/iface/15-mwan3 | 427 - .../feeds/packages/mwan3/files/usr/sbin/mwan3 | 220 - .../packages/mwan3/files/usr/sbin/mwan3track | 65 - trunk/package/feeds/packages/mxml/Makefile | 56 - .../packages/mxml/patches/001-targets.patch | 11 - trunk/package/feeds/packages/mysql/Makefile | 189 - .../package/feeds/packages/mysql/conf/my.cnf | 54 - .../feeds/packages/mysql/files/mysqld.init | 30 - .../mysql/patches/100-fix_hostname.patch | 11 - .../mysql/patches/110-cross_compile.patch | 179 - .../mysql/patches/120-bison-compat.patch | 3290 ----- trunk/package/feeds/packages/nacl/Makefile | 49 - trunk/package/feeds/packages/nacl/do-openwrt | 206 - trunk/package/feeds/packages/nail/Makefile | 59 - .../100-handle-openssl-without-sslv2.patch | 16 - trunk/package/feeds/packages/nano/Makefile | 56 - trunk/package/feeds/packages/ncdu/Makefile | 46 - trunk/package/feeds/packages/neon/Makefile | 78 - .../package/feeds/packages/net-snmp/Makefile | 256 - .../feeds/packages/net-snmp/files/snmpd.conf | 82 - .../feeds/packages/net-snmp/files/snmpd.init | 171 - .../patches/100-debian-statistics.patch | 22 - .../patches/110-debian-makefiles.patch | 40 - .../patches/120-debian-searchdirs.patch | 14 - .../patches/130-debian-extramibs.patch | 6261 --------- .../net-snmp/patches/160-no_ldconfig.patch | 11 - .../net-snmp/patches/170-ldflags.patch | 11 - .../net-snmp/patches/750-ieee802dot11.patch | 6156 --------- .../patches/800-format-security.patch | 29 - .../package/feeds/packages/netatalk/Makefile | 86 - .../netatalk/files/AppleVolumes.default | 2 - .../feeds/packages/netatalk/files/afpd.conf | 1 - .../feeds/packages/netatalk/files/afpd.init | 23 - .../patches/001-automake-compat.patch | 9 - .../patches/002-ld_library_path.patch | 26 - trunk/package/feeds/packages/netcat/Makefile | 65 - .../patches/001-netcat_flag_count.patch | 22 - .../feeds/packages/nfs-kernel-server/Makefile | 157 - .../nfs-kernel-server/files/nfsd.exports | 1 - .../nfs-kernel-server/files/nfsd.init | 38 - .../patches/100-no_malloc_h.patch | 10 - trunk/package/feeds/packages/nginx/Config.in | 192 - trunk/package/feeds/packages/nginx/Makefile | 334 - .../feeds/packages/nginx/files/nginx.init | 24 - .../nginx/files/nginx.proxyprotocol.example | 40 - .../packages/nginx/files/nginx.syslog.example | 59 - .../nginx/patches-lua-nginx/300-ldl.patch | 21 - .../check_1.2.6+.patch | 209 - .../nginx/patches/101-feature_test_fix.patch | 107 - .../nginx/patches/102-sizeof_test_fix.patch | 26 - .../packages/nginx/patches/103-sys_nerr.patch | 12 - .../packages/nginx/patches/200-config.patch | 18 - .../patches/300-crosscompile_ccflags.patch | 33 - ...-nginx-1.4.x_proxy_protocol_patch_v2.patch | 1183 -- .../patches/401-nginx-1.4.0-syslog.patch | 698 -- trunk/package/feeds/packages/nmap/Makefile | 143 - trunk/package/feeds/packages/nsd/Makefile | 135 - .../package/feeds/packages/nsd/files/nsd.init | 16 - trunk/package/feeds/packages/ntfs-3g/Makefile | 217 - ...001-fuseint-fix-path-mounted-on-musl.patch | 30 - .../package/feeds/packages/ntpclient/Makefile | 57 - .../packages/ntpclient/files/ntpclient.config | 23 - .../ntpclient/files/ntpclient.hotplug | 78 - .../ntpclient/patches/100-daemon.patch | 22 - trunk/package/feeds/packages/ntpd/Makefile | 157 - .../feeds/packages/ntpd/files/ntp.conf | 26 - .../feeds/packages/ntpd/files/ntpd.hotplug | 10 - .../feeds/packages/ntpd/files/ntpd.init | 18 - .../feeds/packages/ntpd/files/ntpdate.init | 13 - .../feeds/packages/ntripcaster/Makefile | 52 - .../feeds/packages/ntripclient/Makefile | 49 - .../feeds/packages/ntripserver/Makefile | 49 - trunk/package/feeds/packages/nut/Config.in | 107 - trunk/package/feeds/packages/nut/Makefile | 292 - .../feeds/packages/nut/files/nut-monitor.init | 21 - .../feeds/packages/nut/files/nut-server.init | 23 - .../001-fix-missing-libmath-flags.patch | 22 - .../patches/010-ignore_automake_k_bug.patch | 28 - trunk/package/feeds/packages/ola/Makefile | 128 - .../feeds/packages/ola/files/olad.init | 15 - .../feeds/packages/open-plc-utils/Makefile | 103 - .../feeds/packages/openconnect/Config.in | 21 - .../feeds/packages/openconnect/Makefile | 75 - .../package/feeds/packages/openconnect/README | 32 - .../openconnect/files/openconnect-wrapper | 41 - .../packages/openconnect/files/openconnect.sh | 96 - .../openconnect/files/openconnect.upgrade | 9 - trunk/package/feeds/packages/opencv/Makefile | 71 - trunk/package/feeds/packages/opencv/README.md | 23 - .../package/feeds/packages/openldap/Makefile | 149 - .../feeds/packages/openldap/files/ldap.init | 19 - .../patches/001-automake-compat.patch | 323 - .../openldap/patches/020-autofs-schema.patch | 26 - .../openldap/patches/750-no-strip.patch | 22 - .../package/feeds/packages/opennhrp/Makefile | 60 - .../packages/opennhrp/files/opennhrp.init | 15 - .../package/feeds/packages/openobex/Makefile | 89 - .../packages/openobex/patches/001-cxx.patch | 10 - trunk/package/feeds/packages/openocd/Makefile | 77 - trunk/package/feeds/packages/opensc/Makefile | 227 - ...penPGP-Detect-and-support-Gnuk-Token.patch | 258 - ...P-Add-Gnuk-in-pkcs15-emulation-layer.patch | 50 - ...private-DO-to-filesystem-at-driver-i.patch | 30 - ...-PKCS15-OpenPGP-Declare-DATA-objects.patch | 82 - ...5-OpenPGP-Support-erasing-reset-card.patch | 172 - ...gp-tool-Support-deleting-key-in-Gnuk.patch | 208 - ...building-Extended-Header-List-when-i.patch | 27 - ...penPGP-Read-some-empty-DOs-from-Gnuk.patch | 58 - ...o-not-show-empty-DO-in-pkcs15-emu_in.patch | 53 - ...llow-to-store-data-to-pkcs15-data-ob.patch | 91 - ...enough-buffer-to-read-pubkey-from-Gn.patch | 87 - ...P-Support-write-certificate-for-Gnuk.patch | 220 - ...hange-to-sc_put_data-instead-of-sc_u.patch | 31 - ...-the-restriction-of-even-data-length.patch | 53 - ...-OpenPGP-Delete-key-as-file-for-Gnuk.patch | 92 - ...6-OpenPGP-Correct-parameter-checking.patch | 47 - .../0017-OpenPGP-Make-code-neater.patch | 39 - ...018-Move-declaration-to-top-of-block.patch | 34 - ...ake-indentation-consistent-space-tab.patch | 182 - ...PGP-Don-t-use-sc_log-in-openpgp-tool.patch | 84 - ...implement-gnuk_delete_key-in-openpgp.patch | 112 - ...ctly-binary-array-of-APDUs-for-ERASE.patch | 87 - ...rivate-blob-type-to-avoid-confusing-.patch | 339 - ...rash-after-accessing-inexistent-file.patch | 41 - .../patches/0025-Replace-hardcode.patch | 148 - .../0026-hardcode-defines-for-DO-s.patch | 53 - trunk/package/feeds/packages/openssh/Makefile | 291 - .../packages/openssh/files/sftp-ssh.service | 9 - .../feeds/packages/openssh/files/sshd.init | 42 - .../feeds/packages/openssh/files/sshd.pam | 41 - .../packages/openssh/files/sshd.pam-access | 4 - .../openssh/patches/100-no_cast_fix.patch | 13 - .../130-implicit_memset_decl_fix.patch | 12 - .../patches/140-pam_uclibc_pthreads_fix.patch | 84 - .../openssh/patches/200-dscp-qos.patch | 21 - .../feeds/packages/opentracker/Makefile | 98 - .../opentracker/files/opentracker.init | 16 - .../opentracker/files/opentracker6.init | 16 - .../opentracker/patches/100-makefile.patch | 30 - .../feeds/packages/openvswitch/Makefile | 199 - .../files/etc/init.d/openvswitch.init | 41 - ...-interface-flag-survive-internal-por.patch | 41 - ...linux-Use-unsigned-int-for-ifi_flags.patch | 28 - ...le-ovs_assert-when-build-with-NDEBUG.patch | 36 - ...lags-y-instead-of-deprecated-EXTRA_C.patch | 41 - .../feeds/packages/opus-tools/Makefile | 47 - trunk/package/feeds/packages/opus/Makefile | 53 - trunk/package/feeds/packages/owfs/Makefile | 248 - trunk/package/feeds/packages/p11-kit/Makefile | 59 - .../packages/p11-kit/files/opensc.module | 1 - trunk/package/feeds/packages/p910nd/Makefile | 59 - .../feeds/packages/p910nd/files/p910nd.config | 5 - .../feeds/packages/p910nd/files/p910nd.init | 51 - trunk/package/feeds/packages/patch/Makefile | 48 - .../package/feeds/packages/pciutils/Makefile | 72 - .../patches/100-remove-no-timestamping.patch | 11 - .../pciutils/patches/101-no-strip.patch | 11 - .../pciutils/patches/102-compressed-ids.patch | 31 - .../patches/103-relative-path-ids.patch | 11 - .../pciutils/patches/104-resolv.patch | 11 - trunk/package/feeds/packages/pcre/Makefile | 101 - .../package/feeds/packages/pcsc-lite/Makefile | 101 - .../feeds/packages/pcsc-lite/files/pcscd.init | 14 - trunk/package/feeds/packages/pen/Makefile | 58 - .../packages/perl-compress-bzip2/Makefile | 48 - .../package/feeds/packages/perl-dbi/Makefile | 63 - .../feeds/packages/perl-html-parser/Makefile | 48 - .../feeds/packages/perl-html-tagset/Makefile | 48 - .../feeds/packages/perl-html-tree/Makefile | 49 - .../packages/perl-lockfile-simple/Makefile | 48 - .../feeds/packages/perl-net-telnet/Makefile | 48 - .../feeds/packages/perl-test-harness/Makefile | 48 - .../package/feeds/packages/perl-uri/Makefile | 48 - .../feeds/packages/perl-www-curl/Makefile | 49 - ...rl-www-curl_disable_curl-config_hack.patch | 74 - .../patches/200-fix_default_lflags.patch | 11 - .../packages/perl-www-mechanize/Makefile | 48 - .../package/feeds/packages/perl-www/Makefile | 48 - ...ttps-call-verify-hostname-when-avail.patch | 41 - ...wp-https-verify-hostnames-by-default.patch | 113 - trunk/package/feeds/packages/perl/Config.in | 20 - trunk/package/feeds/packages/perl/Makefile | 195 - .../packages/perl/files/config.sh-arm-mt.in | 1163 -- .../packages/perl/files/config.sh-arm.in | 1162 -- .../packages/perl/files/config.sh-armeb-mt.in | 1163 -- .../packages/perl/files/config.sh-armeb.in | 1162 -- .../packages/perl/files/config.sh-avr32-mt.in | 1165 -- .../packages/perl/files/config.sh-avr32.in | 1164 -- .../packages/perl/files/config.sh-i486-mt.in | 1149 -- .../packages/perl/files/config.sh-i486.in | 1148 -- .../packages/perl/files/config.sh-mips-mt.in | 1163 -- .../packages/perl/files/config.sh-mips.in | 1162 -- .../perl/files/config.sh-mips64-mt.in | 1163 -- .../packages/perl/files/config.sh-mips64.in | 1162 -- .../perl/files/config.sh-mipsel-mt.in | 1149 -- .../packages/perl/files/config.sh-mipsel.in | 1148 -- .../perl/files/config.sh-powerpc-mt.in | 1163 -- .../packages/perl/files/config.sh-powerpc.in | 1162 -- .../perl/files/config.sh-x86_64-mt.in | 1149 -- .../packages/perl/files/config.sh-x86_64.in | 1148 -- .../packages/perl/files/perl-run_tests.sh | 24 - ...x-cross-compile-endianness-detection.patch | 22 - ...st-libc-dir-moved-debian+derivatives.patch | 27 - .../patches/300-always_use_miniperl.patch | 27 - .../400-add_microperl_caretx_dependency.patch | 22 - .../perl/patches/500-add-relink-hack.patch | 6 - trunk/package/feeds/packages/perl/perlbase.mk | 1539 --- trunk/package/feeds/packages/perl/perlmod.mk | 160 - trunk/package/feeds/packages/php5/Makefile | 563 - .../package/feeds/packages/php5/files/php.ini | 311 - .../packages/php5/files/php5-fastcgi.config | 3 - .../packages/php5/files/php5-fastcgi.init | 30 - .../packages/php5/files/php5-fpm-www.conf | 392 - .../feeds/packages/php5/files/php5-fpm.conf | 121 - .../feeds/packages/php5/files/php5-fpm.config | 2 - .../feeds/packages/php5/files/php5-fpm.init | 29 - ...fix_membar_producer_link_error_gcc3x.patch | 11 - ...bian_patches_use_embedded_timezonedb.patch | 620 - ...bian_patches_use_embedded_timezonedb.patch | 19 - .../packages/php5/patches/800-gd-iconv.patch | 14 - .../950-Fix-dl-cross-compiling-issue.patch | 62 - trunk/package/feeds/packages/php5/pecl.mk | 47 - trunk/package/feeds/packages/pianod/Makefile | 110 - .../feeds/packages/pianod/files/pianod.init | 42 - .../005-Fix_IPV6_socket_handling.patch | 75 - .../010-Configure_add_SSL_options.patch | 42 - ...Use_package_config_h_for_all_modules.patch | 59 - .../030-Waitress_add_polarssl_variant.patch | 333 - trunk/package/feeds/packages/picocom/Makefile | 46 - trunk/package/feeds/packages/polipo/Makefile | 59 - .../feeds/packages/polipo/files/polipo.config | 42 - .../feeds/packages/polipo/files/polipo.init | 150 - .../package/feeds/packages/portaudio/Makefile | 70 - trunk/package/feeds/packages/portmap/Makefile | 53 - .../feeds/packages/portmap/files/portmap.init | 13 - .../packages/portmap/patches/101-no_pie.patch | 12 - trunk/package/feeds/packages/postfix/Makefile | 243 - .../packages/postfix/files/main.cf.default | 840 -- .../feeds/packages/postfix/files/postfix.init | 64 - .../packages/postfix/patches/100-fsstat.patch | 12 - .../postfix/patches/200-manpages.patch | 80 - .../patches/300-bdb_hash_segfault.patch | 14 - .../packages/postfix/patches/400-cdb.patch | 14 - .../postfix/patches/500-crosscompile.patch | 27 - .../postfix/patches/600-nopostconf.patch | 44 - .../postfix/patches/700-defaultconfig.patch | 93 - .../packages/postfix/patches/800-fmt.patch | 12 - .../feeds/packages/postgresql/Makefile | 254 - .../postgresql/files/postgresql.config | 5 - .../packages/postgresql/files/postgresql.init | 93 - .../postgresql/patches/200-ranlib.patch | 10 - .../patches/800-busybox-default-pager.patch | 13 - .../package/feeds/packages/pps-tools/Makefile | 50 - trunk/package/feeds/packages/privoxy/Makefile | 109 - .../packages/privoxy/files/privoxy.config | 44 - .../packages/privoxy/files/privoxy.hotplug | 18 - .../feeds/packages/privoxy/files/privoxy.init | 150 - trunk/package/feeds/packages/procps/Makefile | 86 - .../procps/patches/010-make_fix.patch | 11 - .../packages/procps/patches/020_hz_fix.patch | 41 - .../patches/030-fix-string-problems.patch | 11 - trunk/package/feeds/packages/prosody/Makefile | 124 - .../packages/prosody/files/prosody.cfg.lua | 170 - .../feeds/packages/prosody/files/prosody.init | 53 - .../prosody/patches/010-fix-randomseed.patch | 12 - .../feeds/packages/protobuf-c/Makefile | 62 - .../package/feeds/packages/protobuf/Makefile | 83 - .../protobuf/patches/001-mipseb-compile.patch | 11 - trunk/package/feeds/packages/pthsem/Makefile | 60 - .../pthsem/patches/001-linux3x-fix.patch | 12 - .../feeds/packages/pulseaudio/Makefile | 196 - .../packages/pulseaudio/files/pulseaudio.init | 29 - .../patches/001-no_default_64mb_alloc.patch | 11 - trunk/package/feeds/packages/pv/Makefile | 46 - .../feeds/packages/python-dns/Makefile | 44 - .../feeds/packages/python-imglib/Makefile | 62 - .../patches/010-cross-compile.patch | 48 - .../patches/020-freetype-header-include.patch | 21 - .../feeds/packages/python-mysql/Makefile | 50 - .../python-mysql/patches/010-threadsafe.patch | 11 - .../feeds/packages/python-pip/Makefile | 76 - .../feeds/packages/python-setuptools/Makefile | 56 - .../patches/0001-remove-windows-support.patch | 20 - trunk/package/feeds/packages/python/Makefile | 248 - .../feeds/packages/python/files/config.site | 12 - .../python/files/python-package-codecs.mk | 23 - .../python/files/python-package-compiler.mk | 16 - .../python/files/python-package-ctypes.mk | 18 - .../python/files/python-package-db.mk | 18 - .../python/files/python-package-decimal.mk | 16 - .../python/files/python-package-distutils.mk | 16 - .../python/files/python-package-email.mk | 16 - .../python/files/python-package-gdbm.mk | 16 - .../python/files/python-package-logging.mk | 16 - .../files/python-package-multiprocessing.mk | 17 - .../python/files/python-package-ncurses.mk | 18 - .../python/files/python-package-openssl.mk | 17 - .../python/files/python-package-pydoc.mk | 18 - .../python/files/python-package-sqlite3.mk | 17 - .../python/files/python-package-unittest.mk | 16 - .../python/files/python-package-xml.mk | 20 - .../packages/python/files/python-package.mk | 119 - .../python/patches/001-enable-zlib.patch | 25 - ...dd-include-dirs-when-cross-compiling.patch | 14 - .../003-do-not-compile-tests-at-build.patch | 20 - .../004-do-not-write-bytes-codes.patch | 22 - .../005-fix-libffi-x86-64-configure.patch | 31 - .../006-remove-debian-multiarch-support.patch | 12 - .../007-distutils-do-not-adjust-path.patch | 10 - .../008-distutils-use-python-sysroot.patch | 54 - ...t-use-dblib_dir-when-cross-compiling.patch | 34 - ...add-rt-lib-dirs-when-cross-compiling.patch | 15 - .../feeds/packages/python3-bottle/Makefile | 51 - trunk/package/feeds/packages/python3/Makefile | 255 - .../feeds/packages/python3/files/config.site | 12 - .../python3/files/python3-package-asyncio.mk | 16 - .../python3/files/python3-package-codecs.mk | 22 - .../python3/files/python3-package-ctypes.mk | 18 - .../python3/files/python3-package-dbm.mk | 17 - .../python3/files/python3-package-decimal.mk | 17 - .../files/python3-package-distutils.mk | 16 - .../python3/files/python3-package-email.mk | 16 - .../python3/files/python3-package-gdbm.mk | 16 - .../python3/files/python3-package-logging.mk | 16 - .../files/python3-package-multiprocessing.mk | 17 - .../python3/files/python3-package-ncurses.mk | 18 - .../python3/files/python3-package-openssl.mk | 17 - .../python3/files/python3-package-pydoc.mk | 18 - .../python3/files/python3-package-sqlite3.mk | 17 - .../python3/files/python3-package-unittest.mk | 16 - .../python3/files/python3-package-xml.mk | 19 - .../packages/python3/files/python3-package.mk | 109 - .../python3/patches/001-enable-zlib.patch | 25 - ...dd-include-dirs-when-cross-compiling.patch | 14 - .../003-do-not-run-distutils-tests.patch | 37 - .../004-do-not-write-bytes-codes.patch | 22 - .../005-fix-libffi-x86-64-configure.patch | 31 - .../006-remove-debian-multiarch-support.patch | 12 - .../007-distutils-do-not-adjust-path.patch | 10 - ...add-rt-lib-dirs-when-cross-compiling.patch | 15 - .../feeds/packages/radsecproxy/Makefile | 57 - .../radsecproxy/files/radsecproxy.init | 16 - .../patches/100-missing-return.patch | 58 - .../patches/200-logdest-on-foreground.patch | 31 - .../package/feeds/packages/redsocks/Makefile | 56 - .../packages/redsocks/files/redsocks.conf | 108 - .../packages/redsocks/files/redsocks.init | 36 - ...esolution-results-were-ignored-since.patch | 53 - .../0002-inet_ntop-red_inet_ntop.patch | 161 - ...for-UDP-TPROXY-redirection.-No-more-.patch | 449 - ...x-transposition-of-memset-parameters.patch | 25 - ...on-Ubuntu-10.04-LTS-and-hopefully-De.patch | 105 - .../0006-fix_default_config_location.patch | 17 - .../package/feeds/packages/remserial/Makefile | 34 - .../package/feeds/packages/rng-tools/Makefile | 50 - .../feeds/packages/rng-tools/files/rngd.init | 16 - .../feeds/packages/rpcd-mod-lxc/Makefile | 37 - .../rpcd-mod-lxc/files/CMakeLists.txt | 19 - .../feeds/packages/rpcd-mod-lxc/files/lxc.c | 504 - .../package/feeds/packages/rrdtool1/Makefile | 133 - .../patches/001-no_ordering_cd_joke.patch | 21 - .../rrdtool1/patches/002-no_timezone.patch | 24 - .../rrdtool1/patches/020-x86-float-cast.patch | 13 - .../rrdtool1/patches/030-pod2man-stderr.patch | 11 - trunk/package/feeds/packages/rsync/Config.in | 25 - trunk/package/feeds/packages/rsync/Makefile | 104 - .../feeds/packages/rsync/files/rsyncd.conf | 16 - .../feeds/packages/rsync/files/rsyncd.init | 14 - .../rsync/patches/000-CVE-2014-9512.patch | 106 - trunk/package/feeds/packages/rtklib/Makefile | 96 - trunk/package/feeds/packages/rtl-sdr/Makefile | 88 - .../package/feeds/packages/rtorrent/Makefile | 91 - .../patches/100-fix-cross_compile.patch | 30 - .../rtorrent/patches/120-fix-ncurses.patch | 11 - trunk/package/feeds/packages/ruby/Makefile | 1374 -- trunk/package/feeds/packages/ruby/files/ruby | 5 - .../patches/001-rdoc-remove_gems_dep.patch | 36 - .../feeds/packages/ruby/ruby_find_pkgsdeps | 270 - .../feeds/packages/ruby/ruby_missingfiles | 20 - trunk/package/feeds/packages/sbc/Makefile | 57 - trunk/package/feeds/packages/screen/Makefile | 56 - .../feeds/packages/screen/files/etc/screenrc | 1 - .../patches/100-cross_compile_fix.patch | 64 - ...10-do_not_add_srcdir_to_include_path.patch | 11 - .../feeds/packages/seafile-ccnet/Makefile | 74 - .../feeds/packages/seafile-seahub/Makefile | 159 - .../patches/010-default-config.patch | 30 - .../feeds/packages/seafile-server/Makefile | 126 - .../seafile-server/files/seafile.init | 47 - .../patches/020-script-patches.patch | 40 - .../030-pidfiles-in-same-directory.patch | 24 - .../patches/040-seafile-admin.patch | 68 - trunk/package/feeds/packages/ser2net/Makefile | 50 - .../001-fix_TIOCSRS485_undeclared_error.patch | 59 - .../feeds/packages/serialconsole/Makefile | 40 - trunk/package/feeds/packages/shadow/Makefile | 146 - .../shadow/patches/001-busybox_ash.patch | 11 - .../patches/002-disable-ruser-lookup.patch | 10 - .../patches/003-fix-disabling-subids.patch | 32 - .../packages/shadowsocks-client/Makefile | 39 - .../shadowsocks-client/files/sslocal.config | 7 - .../shadowsocks-client/files/sslocal.init | 52 - .../package/feeds/packages/shairplay/Makefile | 50 - .../packages/shairplay/files/shairplay.config | 10 - .../packages/shairplay/files/shairplay.init | 51 - .../shairplay/patches/001-key_file_dir.patch | 11 - .../patches/002-libavahi-compat-dnssd.patch | 11 - .../patches/003-fix_big-endian.patch | 24 - .../feeds/packages/shairport-sync/Makefile | 62 - .../files/shairport-sync.config | 35 - .../shairport-sync/files/shairport-sync.init | 77 - .../package/feeds/packages/shairport/Makefile | 60 - .../packages/shairport/files/shairport.config | 36 - .../packages/shairport/files/shairport.init | 104 - .../patches/001-disable_pulseaudio.patch | 12 - trunk/package/feeds/packages/shine/Makefile | 64 - .../feeds/packages/simplejson/Makefile | 48 - .../package/feeds/packages/sispmctl/Makefile | 56 - .../sispmctl/patches/001-fix-includes.patch | 25 - .../feeds/packages/smartmontools/Makefile | 91 - .../packages/smartmontools/files/smartd.conf | 1 - .../packages/smartmontools/files/smartd.init | 16 - .../feeds/packages/smartsnmpd/Makefile | 75 - .../packages/smartsnmpd/files/mibs/dummy.lua | 24 - .../smartsnmpd/files/mibs/interfaces.lua | 125 - .../packages/smartsnmpd/files/mibs/system.lua | 176 - .../packages/smartsnmpd/files/smartsnmpd.conf | 21 - .../packages/smartsnmpd/files/smartsnmpd.init | 47 - .../package/feeds/packages/smstools3/Makefile | 74 - .../packages/smstools3/files/smstools3.conf | 20 - .../packages/smstools3/files/smstools3.init | 152 - .../packages/smstools3/patches/001-smsd.patch | 13 - .../smstools3/patches/002-Makefile.patch | 12 - trunk/package/feeds/packages/snort/Makefile | 202 - .../feeds/packages/snort/files/snort.config | 3 - .../feeds/packages/snort/files/snort.init | 40 - .../packages/snort/patches/001-compile.patch | 105 - trunk/package/feeds/packages/socat/Makefile | 81 - .../feeds/packages/socat/files/socat.config | 5 - .../feeds/packages/socat/files/socat.init | 39 - .../package/feeds/packages/sockread/Makefile | 35 - .../feeds/packages/sockread/src/Makefile | 11 - .../feeds/packages/sockread/src/main.c | 63 - .../package/feeds/packages/softflowd/Makefile | 54 - .../packages/softflowd/files/softflowd.config | 14 - .../packages/softflowd/files/softflowd.init | 74 - .../feeds/packages/spawn-fcgi/Makefile | 42 - trunk/package/feeds/packages/speex/Makefile | 105 - trunk/package/feeds/packages/sqlite3/Makefile | 106 - .../feeds/packages/sqm-scripts/Makefile | 59 - .../packages/sqm-scripts/files/etc/config/sqm | 16 - .../files/etc/hotplug.d/iface/11-sqm | 3 - .../packages/sqm-scripts/files/etc/init.d/sqm | 23 - .../files/usr/lib/sqm/functions.sh | 486 - .../sqm-scripts/files/usr/lib/sqm/run.sh | 133 - .../sqm-scripts/files/usr/lib/sqm/simple.qos | 218 - .../files/usr/lib/sqm/simple.qos.help | 1 - .../files/usr/lib/sqm/simple_pppoe.qos | 398 - .../files/usr/lib/sqm/simple_pppoe.qos.help | 2 - .../files/usr/lib/sqm/simplest.qos | 84 - .../files/usr/lib/sqm/simplest.qos.help | 1 - .../sqm-scripts/files/usr/lib/sqm/stop.sh | 42 - trunk/package/feeds/packages/squid/Makefile | 133 - .../feeds/packages/squid/files/squid.conf | 44 - .../feeds/packages/squid/files/squid.config | 5 - .../feeds/packages/squid/files/squid.init | 52 - .../squid/patches/001-cross_compile.patch | 49 - .../packages/squid/patches/100-mime.patch | 30 - trunk/package/feeds/packages/sshfs/Makefile | 62 - .../package/feeds/packages/sshtunnel/Makefile | 48 - .../packages/sshtunnel/files/sshtunnel.init | 203 - .../packages/sshtunnel/files/sshtunnel.sh | 21 - .../packages/sshtunnel/files/uci_sshtunnel | 63 - trunk/package/feeds/packages/sslh/Makefile | 53 - .../feeds/packages/sslh/files/sslh.config | 30 - .../feeds/packages/sslh/files/sslh.init | 62 - .../sslh/patches/001-no_sslh_select.patch | 29 - trunk/package/feeds/packages/ssmtp/Makefile | 64 - .../ssmtp/patches/002-fix_pointer.patch | 466 - .../feeds/packages/sstp-client/Makefile | 51 - .../sstp-client/files/etc/ppp/chap-secrets | 4 - .../etc/ppp/peers/peer-sstp-example-nopty.txt | 14 - .../files/etc/ppp/peers/peer-sstp-example.txt | 15 - .../feeds/packages/stm32flash/Makefile | 40 - trunk/package/feeds/packages/stoken/Makefile | 77 - .../feeds/packages/strongswan/Config.in | 16 - .../feeds/packages/strongswan/Makefile | 497 - .../packages/strongswan/files/ipsec.init | 20 - .../packages/strongswan/files/ipsec.secrets | 1 - .../packages/strongswan/files/ipsec.user | 6 - .../strongswan/patches/201-kmodloader.patch | 28 - .../packages/strongswan/patches/203-uci.patch | 20 - .../300-include-ipsec-user-script.patch | 17 - trunk/package/feeds/packages/stunnel/Makefile | 77 - .../feeds/packages/stunnel/files/stunnel.conf | 45 - .../feeds/packages/stunnel/files/stunnel.init | 12 - .../stunnel/patches/010_fix_getnameinfo.patch | 25 - .../patches/011_disable_ssp_linking.patch | 140 - trunk/package/feeds/packages/sudo/Makefile | 97 - .../feeds/packages/sudo/files/sudo.init | 11 - .../patches/010-cross-compile-fixes.patch | 25 - .../sudo/patches/020-no-owner-change.patch | 12 - trunk/package/feeds/packages/sumo/Makefile | 61 - .../package/feeds/packages/sumo/files/sumo.sh | 6 - .../sumo/patches/100-configure_fix.patch | 14 - trunk/package/feeds/packages/svox/Makefile | 61 - ...nf-building-of-library-using-libtool.patch | 113 - .../0002-gitignore-for-autotools-files.patch | 51 - ...t-text-to-.wav-using-svox-text-to-sp.patch | 399 - .../svox/patches/0004-add-header-files.patch | 59 - .../patches/0005-Install-lang-files.patch | 32 - .../svox/patches/0006-Set-picolangdir.patch | 40 - .../packages/svox/patches/0008-64bits.patch | 26 - .../svox/patches/0009-Fix-link-order.patch | 21 - .../packages/svox/patches/0010-platform.patch | 30 - .../packages/svox/patches/0011-subdir.patch | 12 - .../svox/patches/0012-no-headers.patch | 46 - trunk/package/feeds/packages/tar/Makefile | 64 - .../feeds/packages/taskwarrior/Makefile | 48 - trunk/package/feeds/packages/tayga/Makefile | 49 - .../feeds/packages/tayga/files/tayga-proto.sh | 96 - .../feeds/packages/tayga/files/tayga.hotplug | 37 - .../feeds/packages/tayga/files/tayga.sh | 152 - .../patches/001-configure_unset_CFLAGS.patch | 11 - .../002-bigendian_wrong_checksum.patch | 53 - .../feeds/packages/tcp_wrappers/Makefile | 65 - .../patches/001-debian_subset.patch | 936 -- .../tcp_wrappers/patches/002-opt_cflags.patch | 12 - .../patches/003-scaffold_malloc.patch | 17 - .../patches/004-ipv4_prefix.patch | 72 - .../package/feeds/packages/tcpproxy/Makefile | 84 - .../packages/tcpproxy/files/tcpproxy.config | 26 - .../packages/tcpproxy/files/tcpproxy.init | 96 - .../patches/001-ragel_generated.patch | 1378 -- trunk/package/feeds/packages/tcsh/Makefile | 55 - trunk/package/feeds/packages/tdb/Makefile | 56 - .../packages/tdb/patches/001-printf-fix.patch | 41 - trunk/package/feeds/packages/tgt/Makefile | 62 - .../feeds/packages/tgt/files/etc/config/tgt | 64 - .../feeds/packages/tgt/files/etc/init.d/tgt | 237 - .../packages/tgt/patches/010-fallocate.patch | 14 - .../tgt/patches/020-usr_Makefile.patch | 56 - .../packages/tgt/patches/030-Makefile.patch | 11 - trunk/package/feeds/packages/tiff/Makefile | 108 - .../tiff/patches/001-autoconf-compat.patch | 31 - .../tiff/patches/010-CVE-2012-4564.patch | 31 - .../tiff/patches/011-CVE-2013-1960.patch | 146 - .../tiff/patches/012-CVE-2013-1961.patch | 768 -- .../tiff/patches/013-CVE-2013-4231.patch | 17 - .../tiff/patches/014-CVE-2013-4232.patch | 18 - .../tiff/patches/015-CVE-2013-4244.patch | 18 - .../tiff/patches/016-CVE-2013-4243.patch | 37 - .../tiff/patches/017-CVE-2014-9330.patch | 45 - trunk/package/feeds/packages/tinc/Makefile | 60 - .../feeds/packages/tinc/files/tinc.config | 56 - .../feeds/packages/tinc/files/tinc.init | 239 - .../feeds/packages/tinc/files/tinc.upgrade | 1 - trunk/package/feeds/packages/tinycdb/Makefile | 39 - .../tinycdb/patches/100-Makefile.patch | 25 - .../package/feeds/packages/tinyproxy/Makefile | 51 - .../packages/tinyproxy/files/tinyproxy.config | 251 - .../packages/tinyproxy/files/tinyproxy.init | 142 - .../patches/010-no-docs-and-tests.patch | 86 - .../patches/020-config_and_pid-path.patch | 13 - .../030-allow_bind_in_transparent_mode.patch | 22 - .../tinyproxy/patches/120-fix_INET6.patch | 38 - ...2-3505-tiniproxy-randomized-hashmaps.patch | 101 - ...VE-2012-3505-tinyproxy-limit-headers.patch | 44 - trunk/package/feeds/packages/tmux/Makefile | 46 - .../100-b64_ntop-conflict_compath_h.patch | 15 - ...-b64_ntop-conflict_compat_b64_ntop_c.patch | 13 - .../patches/102-b64_ntop-conflict_tty_c.patch | 13 - .../packages/tmux/patches/200-usr-local.patch | 14 - .../feeds/packages/tracertools/Makefile | 42 - .../feeds/packages/transmission/Makefile | 122 - .../transmission/files/transmission.config | 71 - .../transmission/files/transmission.init | 111 - ...0_libtransmission_fallocate64_eglibc.patch | 14 - .../patches/020-use-internal-miniupnp.patch | 11 - .../patches/030-fix-musl-build.patch | 34 - .../feeds/packages/triggerhappy/Makefile | 58 - .../files/triggerhappy-example.conf | 14 - .../triggerhappy/files/triggerhappy.hotplug | 15 - .../triggerhappy/files/triggerhappy.init | 10 - .../patches/100-fix-LINUX_INPUT_H.patch | 11 - trunk/package/feeds/packages/uanytun/Makefile | 175 - .../uanytun/files/uanytun-nocrypt.config | 88 - .../packages/uanytun/files/uanytun.config | 116 - .../feeds/packages/uanytun/files/uanytun.init | 104 - trunk/package/feeds/packages/udpxy/Makefile | 64 - .../feeds/packages/udpxy/files/udpxy.conf | 15 - .../feeds/packages/udpxy/files/udpxy.init | 67 - .../patches/0001-fix-build-on-Mac-OS-X.patch | 30 - trunk/package/feeds/packages/ulogd/Makefile | 200 - .../feeds/packages/ulogd/files/ulogd.init | 12 - ...ix-JSON-output-on-big-endian-systems.patch | 47 - ...opy-of-linux-netfilter_ipv4-ipt_ULOG.patch | 108 - trunk/package/feeds/packages/umurmur/Makefile | 103 - trunk/package/feeds/packages/unbound/Makefile | 176 - .../feeds/packages/unbound/files/named.cache | 90 - .../feeds/packages/unbound/files/root.key | 1 - .../feeds/packages/unbound/files/unbound.init | 14 - .../packages/unbound/patches/001-conf.patch | 154 - .../package/feeds/packages/unixodbc/Makefile | 117 - .../packages/unixodbc/files/unixodbc_conf.h | 22 - trunk/package/feeds/packages/unrar/Makefile | 50 - .../unrar/patches/100-makefile_fixes.patch | 18 - trunk/package/feeds/packages/unzip/Makefile | 65 - .../001-CVE-2014-8139-crc-overflow.patch | 49 - .../002-CVE-2014-8140-test-compr-eb.patch | 23 - .../003-CVE-2014-8141-getzip64data.patch | 133 - .../004-CVE-2014-9636-test-compr-eb.patch | 25 - .../package/feeds/packages/upmpdcli/Makefile | 52 - .../packages/upmpdcli/files/upmpdcli.config | 15 - .../packages/upmpdcli/files/upmpdcli.init | 51 - .../packages/upmpdcli/files/upmpdcli.png | Bin 1640 -> 0 bytes .../patches/010-Add_icon_config.patch | 9 - trunk/package/feeds/packages/usbmuxd/Makefile | 52 - trunk/package/feeds/packages/uuid/Makefile | 48 - .../feeds/packages/uvcdynctrl/Makefile | 87 - trunk/package/feeds/packages/vala/Makefile | 73 - trunk/package/feeds/packages/vim/Makefile | 194 - trunk/package/feeds/packages/vim/files/vimrc | 11 - .../feeds/packages/vim/files/vimrc.full | 28 - .../packages/vim/patches/001-compile.patch | 41 - trunk/package/feeds/packages/vips/Makefile | 82 - .../packages/vips/patches/001-no_cpp.patch | 154 - trunk/package/feeds/packages/vnstat/Makefile | 109 - .../feeds/packages/vnstat/files/vnstat.config | 5 - .../packages/vnstat/files/vnstat.defaults | 13 - .../feeds/packages/vnstat/files/vnstat.init | 82 - .../packages/vnstat/patches/001-conf.patch | 19 - .../vnstat/patches/002-no_install_strip.patch | 35 - .../vnstat/patches/003-no_install_uname.patch | 15 - .../feeds/packages/vpnc-scripts/Makefile | 37 - .../packages/vpnc-scripts/files/vpnc-script | 190 - trunk/package/feeds/packages/vpnc/Config.in | 18 - trunk/package/feeds/packages/vpnc/Makefile | 94 - trunk/package/feeds/packages/vpnc/README | 39 - .../package/feeds/packages/vpnc/files/vpnc.sh | 98 - .../feeds/packages/vpnc/files/vpnc.upgrade | 2 - .../packages/vpnc/patches/001-cross.patch | 42 - trunk/package/feeds/packages/vsftpd/Makefile | 86 - .../feeds/packages/vsftpd/files/vsftpd.conf | 30 - .../feeds/packages/vsftpd/files/vsftpd.init | 13 - .../packages/vsftpd/patches/001-destdir.patch | 47 - .../vsftpd/patches/002-find_libs.patch | 13 - .../packages/vsftpd/patches/003-chroot.patch | 11 - .../patches/004-disable-capabilities.patch | 12 - .../vsftpd/patches/005-disable-pam.patch | 11 - .../package/feeds/packages/watchcat/Makefile | 45 - .../packages/watchcat/files/initd_watchcat | 108 - .../watchcat/files/uci_defaults_watchcat | 10 - .../feeds/packages/watchcat/files/watchcat.sh | 74 - trunk/package/feeds/packages/wavemon/Makefile | 55 - trunk/package/feeds/packages/wget/Makefile | 134 - .../feeds/packages/wifitoggle/Makefile | 45 - .../wifitoggle/files/wifitoggle.config | 11 - .../wifitoggle/files/wifitoggle.hotplug | 172 - trunk/package/feeds/packages/wshaper/Makefile | 58 - .../packages/wshaper/files/wshaper.config | 4 - .../feeds/packages/wshaper/files/wshaper.htb | 166 - .../packages/wshaper/files/wshaper.iface | 3 - .../feeds/packages/wshaper/files/wshaper.init | 10 - trunk/package/feeds/packages/xinetd/Makefile | 65 - .../feeds/packages/xinetd/files/xinetd.conf | 6 - .../feeds/packages/xinetd/files/xinetd.init | 15 - .../packages/xinetd/patches/001-ar.patch | 66 - .../packages/xinetd/patches/002-destdir.patch | 27 - .../packages/xinetd/patches/003-rpc_fix.patch | 19 - .../xinetd/patches/004-ident-bind.patch | 42 - trunk/package/feeds/packages/xl2tpd/Makefile | 73 - trunk/package/feeds/packages/xl2tpd/README | 23 - .../feeds/packages/xl2tpd/files/l2tp.sh | 107 - .../packages/xl2tpd/files/options.xl2tpd | 13 - .../feeds/packages/xl2tpd/files/xl2tp-secrets | 5 - .../feeds/packages/xl2tpd/files/xl2tpd.conf | 23 - .../packages/xl2tpd/files/xl2tpd.conf.sample | 73 - .../feeds/packages/xl2tpd/files/xl2tpd.init | 18 - .../patches/100-makefile_opt_flags.patch | 12 - .../patches/110-makefile_dont_build_pfc.patch | 43 - .../patches/120-no-bsd-signal-in-musl.patch | 13 - .../package/feeds/packages/xmlrpc-c/Makefile | 226 - .../xmlrpc-c/patches/001-config.mk.in.patch | 11 - .../patches/002-automake-compat.patch | 13 - trunk/package/feeds/packages/xupnpd/Makefile | 71 - .../feeds/packages/xupnpd/files/xupnpd.init | 15 - .../xupnpd/patches/100-default_config.patch | 15 - .../xupnpd/patches/101-root_dir_param.patch | 83 - trunk/package/feeds/packages/zabbix/Makefile | 247 - .../feeds/packages/zabbix/files/mac80211 | 27 - .../feeds/packages/zabbix/files/network | 9 - .../package/feeds/packages/zabbix/files/wifi | 25 - .../packages/zabbix/files/zabbix_agentd.init | 31 - .../zabbix/files/zabbix_helper_mac80211.c | 77 - .../patches/002-fix-res_send-on-uclibc.patch | 35 - .../zabbix/patches/002-uclibc_loadavg.patch | 48 - .../patches/010-change-agentd-config.patch | 62 - trunk/package/feeds/packages/zile/Makefile | 49 - trunk/package/feeds/packages/zip/Makefile | 62 - trunk/package/feeds/packages/znc/Makefile | 289 - .../package/feeds/packages/znc/files/znc.conf | 29 - .../package/feeds/packages/znc/files/znc.init | 194 - .../001-move_rootcheck_after_config.patch | 52 - .../znc/patches/003-Reduce_rebuild_time.patch | 38 - .../znc/patches/004-restore_droproot.patch | 147 - .../package/feeds/packages/zoneinfo/Makefile | 242 - trunk/package/feeds/packages/zsh/Makefile | 82 - 1520 files changed, 170291 deletions(-) delete mode 100644 trunk/package/feeds/packages/acl/Makefile delete mode 100644 trunk/package/feeds/packages/acl/patches/100-no-gettext_configure.patch delete mode 100644 trunk/package/feeds/packages/acl/patches/101-no-gettext_autogen.patch delete mode 100644 trunk/package/feeds/packages/acl/patches/102-no-gettext_Makefile.patch delete mode 100644 trunk/package/feeds/packages/aiccu/Makefile delete mode 100644 trunk/package/feeds/packages/aiccu/files/aiccu.hotplug delete mode 100755 trunk/package/feeds/packages/aiccu/files/aiccu.sh delete mode 100644 trunk/package/feeds/packages/aiccu/patches/100-cross_compile.patch delete mode 100644 trunk/package/feeds/packages/aiccu/patches/200-add_dn_skipname.patch delete mode 100644 trunk/package/feeds/packages/aiccu/patches/300-resolver-uclibc.patch delete mode 100644 trunk/package/feeds/packages/aircrack-ng/Makefile delete mode 100644 trunk/package/feeds/packages/alpine/Makefile delete mode 100644 trunk/package/feeds/packages/alpine/patches/100-no-openssl-check-cross-compile.patch delete mode 100644 trunk/package/feeds/packages/alsa-lib/Makefile delete mode 100644 trunk/package/feeds/packages/alsa-lib/patches/001-link_fix.patch delete mode 100644 trunk/package/feeds/packages/alsa-lib/patches/002-remove_cross_compile_guess.patch delete mode 100644 trunk/package/feeds/packages/alsa-utils/Makefile delete mode 100644 trunk/package/feeds/packages/alsa-utils/patches/100-uClibc-compat.patch delete mode 100644 trunk/package/feeds/packages/announce/Makefile delete mode 100644 trunk/package/feeds/packages/apache/Makefile delete mode 100644 trunk/package/feeds/packages/apache/patches/001-Makefile_in.patch delete mode 100644 trunk/package/feeds/packages/apache/patches/002-test_char_h.patch delete mode 100644 trunk/package/feeds/packages/apache/patches/003-logdir_fix.patch delete mode 100644 trunk/package/feeds/packages/apache/patches/004-pidfile_fix.patch delete mode 100644 trunk/package/feeds/packages/apache/patches/005-httpd_conf.patch delete mode 100644 trunk/package/feeds/packages/apcupsd/Makefile delete mode 100644 trunk/package/feeds/packages/apcupsd/files/apccontrol delete mode 100644 trunk/package/feeds/packages/apcupsd/files/apcupsd.conf delete mode 100644 trunk/package/feeds/packages/apcupsd/files/apcupsd.css delete mode 100644 trunk/package/feeds/packages/apcupsd/files/apcupsd.init delete mode 100644 trunk/package/feeds/packages/apcupsd/files/apcupsd_mail.conf delete mode 100644 trunk/package/feeds/packages/apcupsd/files/changeme delete mode 100644 trunk/package/feeds/packages/apcupsd/files/commfailure delete mode 100644 trunk/package/feeds/packages/apcupsd/files/commok delete mode 100644 trunk/package/feeds/packages/apcupsd/files/hosts.conf delete mode 100644 trunk/package/feeds/packages/apcupsd/files/multimon.conf delete mode 100644 trunk/package/feeds/packages/apcupsd/files/offbattery delete mode 100644 trunk/package/feeds/packages/apcupsd/files/onbattery delete mode 100644 trunk/package/feeds/packages/apcupsd/patches/010-fix-usb.patch delete mode 100644 trunk/package/feeds/packages/apinger/Makefile delete mode 100644 trunk/package/feeds/packages/apinger/files/apinger.init delete mode 100644 trunk/package/feeds/packages/apinger/patches/001-autoreconf.patch delete mode 100644 trunk/package/feeds/packages/apinger/patches/002-run_as_user.patch delete mode 100644 trunk/package/feeds/packages/apinger/patches/003-no_docs.patch delete mode 100644 trunk/package/feeds/packages/apr-util/Makefile delete mode 100644 trunk/package/feeds/packages/apr-util/patches/001-automake-compat.patch delete mode 100644 trunk/package/feeds/packages/apr/Makefile delete mode 100644 trunk/package/feeds/packages/apr/patches/001-autoconf-compat.patch delete mode 100644 trunk/package/feeds/packages/apr/patches/101-fix_apr_time_now.patch delete mode 100644 trunk/package/feeds/packages/apr/patches/201-upgrade-and-fix-1.5.1.patch delete mode 100644 trunk/package/feeds/packages/argp-standalone/Makefile delete mode 100644 trunk/package/feeds/packages/argp-standalone/patches/001-throw-in-funcdef.patch delete mode 100644 trunk/package/feeds/packages/aria2/Config.in delete mode 100644 trunk/package/feeds/packages/aria2/Makefile delete mode 100644 trunk/package/feeds/packages/attr/Makefile delete mode 100644 trunk/package/feeds/packages/attr/patches/100-no-gettext_configure.patch delete mode 100644 trunk/package/feeds/packages/attr/patches/101-no-gettext_autogen.patch delete mode 100644 trunk/package/feeds/packages/attr/patches/102-no-gettext_Makefile.patch delete mode 100644 trunk/package/feeds/packages/avahi/Makefile delete mode 100644 trunk/package/feeds/packages/avahi/files/avahi-daemon.conf delete mode 100644 trunk/package/feeds/packages/avahi/files/avahi-daemon.init delete mode 100644 trunk/package/feeds/packages/avahi/files/service-http delete mode 100644 trunk/package/feeds/packages/avahi/files/service-ssh delete mode 100644 trunk/package/feeds/packages/avahi/patches/010-step_back_autotools-no-gettext.patch delete mode 100644 trunk/package/feeds/packages/bash/Makefile delete mode 100644 trunk/package/feeds/packages/bash/patches/001-compile-fix.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/002-force-internal-readline.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/101-upstream-bash43-001.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/102-upstream-bash43-002.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/103-upstream-bash43-003.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/104-upstream-bash43-004.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/105-upstream-bash43-005.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/106-upstream-bash43-006.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/107-upstream-bash43-007.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/108-upstream-bash43-008.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/109-upstream-bash43-009.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/110-upstream-bash43-010.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/111-upstream-bash43-011.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/112-upstream-bash43-012.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/113-upstream-bash43-013.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/114-upstream-bash43-014.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/115-upstream-bash43-015.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/116-upstream-bash43-016.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/117-upstream-bash43-017.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/118-upstream-bash43-018.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/119-upstream-bash43-019.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/120-upstream-bash43-020.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/121-upstream-bash43-021.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/122-upstream-bash43-022.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/123-upstream-bash43-023.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/124-upstream-bash43-024.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/125-upstream-bash43-025.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/126-upstream-bash43-026.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/127-upstream-bash43-027.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/128-upstream-bash43-028.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/129-upstream-bash43-029.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/130-upstream-bash43-030.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/131-upstream-bash43-031.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/132-upstream-bash43-032.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/133-upstream-bash43-033.patch delete mode 100644 trunk/package/feeds/packages/bash/patches/900-no_doc.patch delete mode 100644 trunk/package/feeds/packages/bcp38/Makefile delete mode 100644 trunk/package/feeds/packages/bcp38/files/bcp38.config delete mode 100644 trunk/package/feeds/packages/bcp38/files/bcp38.defaults delete mode 100755 trunk/package/feeds/packages/bcp38/files/run.sh delete mode 100644 trunk/package/feeds/packages/bind/Makefile delete mode 100644 trunk/package/feeds/packages/bind/files/bind/db.0 delete mode 100644 trunk/package/feeds/packages/bind/files/bind/db.127 delete mode 100644 trunk/package/feeds/packages/bind/files/bind/db.255 delete mode 100644 trunk/package/feeds/packages/bind/files/bind/db.local delete mode 100644 trunk/package/feeds/packages/bind/files/bind/db.root delete mode 100644 trunk/package/feeds/packages/bind/files/bind/named.conf.example delete mode 100644 trunk/package/feeds/packages/bind/files/named.init delete mode 100644 trunk/package/feeds/packages/bind/patches/001-no-tests.patch delete mode 100644 trunk/package/feeds/packages/bind/patches/002-autoconf-ar-fix.patch delete mode 100644 trunk/package/feeds/packages/bluelog/Makefile delete mode 100644 trunk/package/feeds/packages/bluelog/files/bluelog.init delete mode 100644 trunk/package/feeds/packages/bluez/Makefile delete mode 100644 trunk/package/feeds/packages/bluez/files/bluetooth.config delete mode 100644 trunk/package/feeds/packages/bluez/files/bluetooth.dbus delete mode 100644 trunk/package/feeds/packages/bluez/files/bluetoothd.init delete mode 100644 trunk/package/feeds/packages/bluez/files/givepin delete mode 100644 trunk/package/feeds/packages/bluez/patches/200-uart-speed.patch delete mode 100644 trunk/package/feeds/packages/bluez/patches/201-readline.patch delete mode 100644 trunk/package/feeds/packages/bmon/Makefile delete mode 100644 trunk/package/feeds/packages/bogofilter/Makefile delete mode 100755 trunk/package/feeds/packages/bogofilter/files/postfix-bogofilter delete mode 100644 trunk/package/feeds/packages/boost/Makefile delete mode 100644 trunk/package/feeds/packages/boost/patches/100-do-not-use-librt.patch delete mode 100644 trunk/package/feeds/packages/btrfs-progs/Makefile delete mode 100644 trunk/package/feeds/packages/btrfs-progs/files/btrfs-scan.init delete mode 100644 trunk/package/feeds/packages/btrfs-progs/patches/001-fix-xattr-h-include-location.patch delete mode 100644 trunk/package/feeds/packages/bwm-ng/Config.in delete mode 100644 trunk/package/feeds/packages/bwm-ng/Makefile delete mode 100644 trunk/package/feeds/packages/bzip2/Makefile delete mode 100644 trunk/package/feeds/packages/c-ares/Makefile delete mode 100644 trunk/package/feeds/packages/ccid/Makefile delete mode 100644 trunk/package/feeds/packages/ccrypt/Makefile delete mode 100644 trunk/package/feeds/packages/ccrypt/patches/001-no-intl.patch delete mode 100644 trunk/package/feeds/packages/check/Makefile delete mode 100644 trunk/package/feeds/packages/cmdpad/Makefile delete mode 100644 trunk/package/feeds/packages/cmdpad/files/cmdpad.init delete mode 100644 trunk/package/feeds/packages/cmdpad/patches/100-Makefile.patch delete mode 100644 trunk/package/feeds/packages/cmdpad/patches/120-kernel26-compat.patch delete mode 100644 trunk/package/feeds/packages/cmdpad/patches/130-no_zombie.patch delete mode 100644 trunk/package/feeds/packages/cmdpad/patches/140-compile_fix.patch delete mode 100644 trunk/package/feeds/packages/collectd/Makefile delete mode 100644 trunk/package/feeds/packages/collectd/files/collectd.conf delete mode 100644 trunk/package/feeds/packages/collectd/files/collectd.init delete mode 100644 trunk/package/feeds/packages/collectd/patches/001-undefined-AM_PATH_LIBGCRYPT.patch delete mode 100644 trunk/package/feeds/packages/collectd/patches/003-remove-werror.patch delete mode 100644 trunk/package/feeds/packages/collectd/patches/100-rrdtool-add-rrasingle-option.patch delete mode 100644 trunk/package/feeds/packages/collectd/patches/110-net-device-stats.patch delete mode 100644 trunk/package/feeds/packages/collectd/patches/140-fix-fqdnlookup.patch delete mode 100644 trunk/package/feeds/packages/collectd/patches/150-fix-interface-af-link delete mode 100644 trunk/package/feeds/packages/collectd/patches/200-fix-git-describe-error.patch delete mode 100644 trunk/package/feeds/packages/collectd/patches/400-fix-olsrd-get-all.patch delete mode 100644 trunk/package/feeds/packages/collectd/patches/900-add-iwinfo-plugin.patch delete mode 100644 trunk/package/feeds/packages/collectd/patches/920-fix-ping-droprate.patch delete mode 100644 trunk/package/feeds/packages/confuse/Makefile delete mode 100644 trunk/package/feeds/packages/coova-chilli/Config.in delete mode 100644 trunk/package/feeds/packages/coova-chilli/Makefile delete mode 100644 trunk/package/feeds/packages/coova-chilli/files/chilli.hotplug delete mode 100644 trunk/package/feeds/packages/coova-chilli/patches/100-fix-sysinfo-redeclaration.patch delete mode 100644 trunk/package/feeds/packages/coreutils/Makefile delete mode 100644 trunk/package/feeds/packages/coreutils/patches/001-no_docs_man_tests.patch delete mode 100644 trunk/package/feeds/packages/coreutils/patches/002-fix_compile_with_uclibc.patch delete mode 100644 trunk/package/feeds/packages/crtmpserver/Makefile delete mode 100644 trunk/package/feeds/packages/crtmpserver/files/crtmpserver.init delete mode 100644 trunk/package/feeds/packages/crtmpserver/patches/010-link-crypt-for-lua.patch delete mode 100644 trunk/package/feeds/packages/crtmpserver/patches/020-add-rpath.patch delete mode 100644 trunk/package/feeds/packages/crtmpserver/patches/030-default-config.patch delete mode 100644 trunk/package/feeds/packages/crtmpserver/patches/040-use-select.patch delete mode 100644 trunk/package/feeds/packages/crtmpserver/patches/050-add-missing-make-defines.patch delete mode 100644 trunk/package/feeds/packages/crtmpserver/patches/060-add-missing-includes.patch delete mode 100644 trunk/package/feeds/packages/crtmpserver/patches/070-missing-include-gcc-47.patch delete mode 100644 trunk/package/feeds/packages/cryptodev-linux/Makefile delete mode 100644 trunk/package/feeds/packages/cryptodev-linux/files/cryptodev.modules delete mode 100644 trunk/package/feeds/packages/cryptsetup/Makefile delete mode 100644 trunk/package/feeds/packages/cshark/Makefile delete mode 100644 trunk/package/feeds/packages/ctorrent-svn/Makefile delete mode 100644 trunk/package/feeds/packages/ctorrent-svn/patches/100-compile-fix.patch delete mode 100644 trunk/package/feeds/packages/ctorrent-svn/patches/300-negative.patch delete mode 100644 trunk/package/feeds/packages/ctorrent/Makefile delete mode 100644 trunk/package/feeds/packages/ctorrent/patches/100-CVE-2009-1759.patch delete mode 100644 trunk/package/feeds/packages/ctorrent/patches/100-negative-ints.patch delete mode 100644 trunk/package/feeds/packages/cyrus-sasl/Makefile delete mode 100644 trunk/package/feeds/packages/dansguardian/Makefile delete mode 100644 trunk/package/feeds/packages/dansguardian/files/dansguardian.config delete mode 100644 trunk/package/feeds/packages/dansguardian/files/dansguardian.init delete mode 100644 trunk/package/feeds/packages/dansguardian/files/dansguardianf1.conf delete mode 100644 trunk/package/feeds/packages/dansguardian/patches/001-compile.patch delete mode 100644 trunk/package/feeds/packages/davfs2/Makefile delete mode 100644 trunk/package/feeds/packages/davfs2/files/davfs2.conf delete mode 100644 trunk/package/feeds/packages/davfs2/patches/010-main_code_fix.patch delete mode 100644 trunk/package/feeds/packages/db47/Makefile delete mode 100644 trunk/package/feeds/packages/db47/patches/010-patch.4.7.25.1.patch delete mode 100644 trunk/package/feeds/packages/db47/patches/020-patch.4.7.25.2.patch delete mode 100644 trunk/package/feeds/packages/db47/patches/030-patch.4.7.25.3.patch delete mode 100644 trunk/package/feeds/packages/db47/patches/040-patch.4.7.25.4.patch delete mode 100644 trunk/package/feeds/packages/dbus/Makefile delete mode 100644 trunk/package/feeds/packages/dbus/files/dbus-launch delete mode 100644 trunk/package/feeds/packages/dbus/files/dbus.init delete mode 100644 trunk/package/feeds/packages/dbus/patches/100-fix-poll-select.patch delete mode 100644 trunk/package/feeds/packages/ddns-scripts/Makefile delete mode 100644 trunk/package/feeds/packages/ddns-scripts/files/ddns.config delete mode 100644 trunk/package/feeds/packages/ddns-scripts/files/ddns.hotplug delete mode 100644 trunk/package/feeds/packages/ddns-scripts/files/ddns.init delete mode 100755 trunk/package/feeds/packages/ddns-scripts/files/dynamic_dns_functions.sh delete mode 100755 trunk/package/feeds/packages/ddns-scripts/files/dynamic_dns_lucihelper.sh delete mode 100644 trunk/package/feeds/packages/ddns-scripts/files/dynamic_dns_updater.sh delete mode 100644 trunk/package/feeds/packages/ddns-scripts/files/services delete mode 100644 trunk/package/feeds/packages/ddns-scripts/files/services_ipv6 delete mode 100644 trunk/package/feeds/packages/ddns-scripts/files/tld_names.dat delete mode 100644 trunk/package/feeds/packages/ddns-scripts/files/update_CloudFlare.sh delete mode 100644 trunk/package/feeds/packages/ddns-scripts/files/update_No-IP.com.sh delete mode 100644 trunk/package/feeds/packages/ddns-scripts/files/update_nsupdate.sh delete mode 100644 trunk/package/feeds/packages/ddns-scripts/samples/ddns.config_sample delete mode 100755 trunk/package/feeds/packages/ddns-scripts/samples/getlocalip_sample.sh delete mode 100644 trunk/package/feeds/packages/ddns-scripts/samples/update_sample.sh delete mode 100644 trunk/package/feeds/packages/debootstrap/Makefile delete mode 100644 trunk/package/feeds/packages/debootstrap/files/pkgdetails.c delete mode 100644 trunk/package/feeds/packages/debootstrap/patches/100-busybox_fix.patch delete mode 100644 trunk/package/feeds/packages/dhcpcd/Makefile delete mode 100755 trunk/package/feeds/packages/dhcpcd/files/dhcpcd.init delete mode 100644 trunk/package/feeds/packages/diffutils/Makefile delete mode 100644 trunk/package/feeds/packages/dkjson/Makefile delete mode 100644 trunk/package/feeds/packages/dmapd/Makefile delete mode 100644 trunk/package/feeds/packages/dmapd/files/dmapd.init delete mode 100644 trunk/package/feeds/packages/dmapd/patches/001-dmapd_conf.patch delete mode 100644 trunk/package/feeds/packages/dmapd/patches/002-make_unit_test_optionnal.patch delete mode 100644 trunk/package/feeds/packages/dmidecode/Makefile delete mode 100644 trunk/package/feeds/packages/dmx_usb_module/Makefile delete mode 100644 trunk/package/feeds/packages/dmx_usb_module/patches/001-dmx_usb_Makefile.patch delete mode 100644 trunk/package/feeds/packages/dnscrypt-proxy/Makefile delete mode 100644 trunk/package/feeds/packages/dnscrypt-proxy/files/dnscrypt-proxy.config delete mode 100644 trunk/package/feeds/packages/dnscrypt-proxy/files/dnscrypt-proxy.init delete mode 100644 trunk/package/feeds/packages/dosfstools/Makefile delete mode 100644 trunk/package/feeds/packages/dosfstools/files/dosfsck.sh delete mode 100644 trunk/package/feeds/packages/dovecot/Makefile delete mode 100644 trunk/package/feeds/packages/dovecot/files/dovecot.init delete mode 100644 trunk/package/feeds/packages/dovecot/patches/001-configure_in.patch delete mode 100644 trunk/package/feeds/packages/dtndht/Makefile delete mode 100644 trunk/package/feeds/packages/dump1090/Config.in delete mode 100644 trunk/package/feeds/packages/dump1090/Makefile delete mode 100644 trunk/package/feeds/packages/dump1090/files/dump1090.config delete mode 100644 trunk/package/feeds/packages/dump1090/files/dump1090.init delete mode 100644 trunk/package/feeds/packages/dump1090/patches/100-html_dir.patch delete mode 100644 trunk/package/feeds/packages/e2guardian/Makefile delete mode 100644 trunk/package/feeds/packages/e2guardian/files/e2guardian.config delete mode 100644 trunk/package/feeds/packages/e2guardian/files/e2guardian.init delete mode 100644 trunk/package/feeds/packages/e2guardian/files/e2guardianf1.conf delete mode 100644 trunk/package/feeds/packages/elfutils/Makefile delete mode 100644 trunk/package/feeds/packages/elfutils/patches/001-elfutils-portability.patch delete mode 100644 trunk/package/feeds/packages/elfutils/patches/002-argp_standalone.patch delete mode 100644 trunk/package/feeds/packages/elfutils/patches/003-libint-stub.patch delete mode 100644 trunk/package/feeds/packages/elfutils/patches/004-maybe-uninitialized.patch delete mode 100644 trunk/package/feeds/packages/elfutils/patches/004-memcpy_def.patch delete mode 100644 trunk/package/feeds/packages/elfutils/patches/005-build_only_libs.patch delete mode 100644 trunk/package/feeds/packages/elfutils/patches/006-libdw_LIBS.patch delete mode 100644 trunk/package/feeds/packages/elfutils/patches/100-musl-compat.patch delete mode 100644 trunk/package/feeds/packages/elfutils/patches/101-no-fts.patch delete mode 100644 trunk/package/feeds/packages/emailrelay/Makefile delete mode 100644 trunk/package/feeds/packages/emailrelay/files/emailrelay.auth delete mode 100644 trunk/package/feeds/packages/emailrelay/files/emailrelay.init delete mode 100644 trunk/package/feeds/packages/engine_pkcs11/Makefile delete mode 100644 trunk/package/feeds/packages/erlang/Makefile delete mode 100644 trunk/package/feeds/packages/erlang/patches/101-emulator_includes.patch delete mode 100644 trunk/package/feeds/packages/erlang/patches/103-disable_emacs.patch delete mode 100644 trunk/package/feeds/packages/espeak/Makefile delete mode 100644 trunk/package/feeds/packages/espeak/patches/101-portaudio.patch delete mode 100644 trunk/package/feeds/packages/etherwake/Makefile delete mode 100644 trunk/package/feeds/packages/etherwake/files/etherwake.config delete mode 100644 trunk/package/feeds/packages/etherwake/files/etherwake.init delete mode 100644 trunk/package/feeds/packages/etherwake/patches/100-no_ether_hostton.patch delete mode 100644 trunk/package/feeds/packages/etherwake/patches/110-format_security_fix.patch delete mode 100644 trunk/package/feeds/packages/ethtool/Makefile delete mode 100644 trunk/package/feeds/packages/expat/Makefile delete mode 100644 trunk/package/feeds/packages/f2fs-tools/Config.in delete mode 100644 trunk/package/feeds/packages/f2fs-tools/Makefile delete mode 100644 trunk/package/feeds/packages/f2fs-tools/patches/001-compile.patch delete mode 100644 trunk/package/feeds/packages/faad2/Config.in delete mode 100644 trunk/package/feeds/packages/faad2/Makefile delete mode 100644 trunk/package/feeds/packages/fakeidentd/Makefile delete mode 100644 trunk/package/feeds/packages/fakeidentd/files/fakeidentd.init delete mode 100644 trunk/package/feeds/packages/fastd/Config.in delete mode 100644 trunk/package/feeds/packages/fastd/Makefile delete mode 100644 trunk/package/feeds/packages/fastd/files/fastd.upgrade delete mode 100644 trunk/package/feeds/packages/fcgi/Makefile delete mode 100644 trunk/package/feeds/packages/fcgi/patches/100-fcgio-int-type-fix.patch delete mode 100644 trunk/package/feeds/packages/fcgi/patches/110-no_examples.patch delete mode 100644 trunk/package/feeds/packages/fcgi/patches/120-stdio.patch delete mode 100644 trunk/package/feeds/packages/fdm/Config.in delete mode 100644 trunk/package/feeds/packages/fdm/Makefile delete mode 100644 trunk/package/feeds/packages/fdm/files/etc/fdm.conf delete mode 100644 trunk/package/feeds/packages/fdm/patches/001-base64-fix.patch delete mode 100644 trunk/package/feeds/packages/fdm/patches/002-base64-fix.patch delete mode 100644 trunk/package/feeds/packages/fdm/src/compat/b64_ntop.c delete mode 100644 trunk/package/feeds/packages/fdm/src/compat/b64_pton.c delete mode 100644 trunk/package/feeds/packages/fftw3/Makefile delete mode 100644 trunk/package/feeds/packages/fftw3/patches/001-makefile.patch delete mode 100644 trunk/package/feeds/packages/file/Makefile delete mode 100644 trunk/package/feeds/packages/flac/Makefile delete mode 100644 trunk/package/feeds/packages/flac/patches/001-no-docs-and-examples.patch delete mode 100644 trunk/package/feeds/packages/flac/patches/002-no-utility.patch delete mode 100644 trunk/package/feeds/packages/flac/patches/010-automake-compat.patch delete mode 100644 trunk/package/feeds/packages/flashrom/Config.in delete mode 100644 trunk/package/feeds/packages/flashrom/Makefile delete mode 100644 trunk/package/feeds/packages/flashrom/flashrom.mk delete mode 100644 trunk/package/feeds/packages/flashrom/patches/0001-fix_internal_bitbang.patch delete mode 100644 trunk/package/feeds/packages/freeradius2/Config.in delete mode 100644 trunk/package/feeds/packages/freeradius2/Makefile delete mode 100644 trunk/package/feeds/packages/freeradius2/files/radiusd.init delete mode 100644 trunk/package/feeds/packages/freeradius2/patches/001-fix-makefile.patch delete mode 100644 trunk/package/feeds/packages/freeradius2/patches/002-config.patch delete mode 100644 trunk/package/feeds/packages/freeradius2/patches/004-ldap_configure.patch delete mode 100644 trunk/package/feeds/packages/freeradius2/patches/008-honor_ccpflags.patch delete mode 100644 trunk/package/feeds/packages/freeradius2/patches/010-disbale-openssl-check.patch delete mode 100644 trunk/package/feeds/packages/freetype/Makefile delete mode 100644 trunk/package/feeds/packages/fswebcam/Makefile delete mode 100644 trunk/package/feeds/packages/fwknop/Makefile delete mode 100644 trunk/package/feeds/packages/fwknop/patches/001-fix_config.patch delete mode 100644 trunk/package/feeds/packages/fwknop/patches/002-fix_init.patch delete mode 100644 trunk/package/feeds/packages/gammu/Makefile delete mode 100644 trunk/package/feeds/packages/gammu/files/gammu delete mode 100755 trunk/package/feeds/packages/gammu/files/gammu.init delete mode 100644 trunk/package/feeds/packages/gammu/patches/001-iconv-disabling-option.patch delete mode 100644 trunk/package/feeds/packages/gammu/patches/002-no-fstack-protector.patch delete mode 100644 trunk/package/feeds/packages/gammu/patches/003-cmake-cross-toolchain.patch delete mode 100644 trunk/package/feeds/packages/gammu/patches/004-cmake_libdbi_optional.patch delete mode 100644 trunk/package/feeds/packages/gammu/patches/010-utils-shell-fix.patch delete mode 100644 trunk/package/feeds/packages/gcc/Makefile delete mode 100644 trunk/package/feeds/packages/gcc/README delete mode 100644 trunk/package/feeds/packages/gcc/patches/002-dont-choke-when-building-32bit-on-64bit.patch delete mode 100644 trunk/package/feeds/packages/gcc/patches/003-mpfr-longlong-mips.patch delete mode 100644 trunk/package/feeds/packages/gcc/patches/010-documentation.patch delete mode 100644 trunk/package/feeds/packages/gcc/patches/020-disable-check-for-sys-sdt-h.patch delete mode 100644 trunk/package/feeds/packages/gcc/patches/100-uclibc-conf.patch delete mode 100644 trunk/package/feeds/packages/gcc/patches/200-musl.patch delete mode 100644 trunk/package/feeds/packages/gcc/patches/800-arm_v5te_no_ldrd_strd.patch delete mode 100644 trunk/package/feeds/packages/gcc/patches/810-arm-softfloat-libgcc.patch delete mode 100644 trunk/package/feeds/packages/gcc/patches/820-libgcc_pic.patch delete mode 100644 trunk/package/feeds/packages/gcc/patches/830-arm_unbreak_armv4t.patch delete mode 100644 trunk/package/feeds/packages/gcc/patches/840-armv4_pass_fix-v4bx_to_ld.patch delete mode 100644 trunk/package/feeds/packages/gcc/patches/850-use_shared_libgcc.patch delete mode 100644 trunk/package/feeds/packages/gcc/patches/860-uclibc_use_eh_frame.patch delete mode 100644 trunk/package/feeds/packages/gcc/patches/870-ppc_no_crtsavres.patch delete mode 100644 trunk/package/feeds/packages/gcc/patches/880-no_java_section.patch delete mode 100644 trunk/package/feeds/packages/gcc/patches/900-bad-mips16-crt.patch delete mode 100644 trunk/package/feeds/packages/gcc/patches/910-mbsd_multi.patch delete mode 100644 trunk/package/feeds/packages/gcc/patches/920-specs_nonfatal_getenv.patch delete mode 100644 trunk/package/feeds/packages/gdbm/Makefile delete mode 100644 trunk/package/feeds/packages/git/Makefile delete mode 100644 trunk/package/feeds/packages/git/patches/100-convert_builtin.patch delete mode 100644 trunk/package/feeds/packages/git/patches/200-disable_fasthash.patch delete mode 100644 trunk/package/feeds/packages/git/patches/300-configure_for_crosscompiling delete mode 100644 trunk/package/feeds/packages/git/patches/400-imapsend_without_curl.patch delete mode 100644 trunk/package/feeds/packages/glib2/Makefile delete mode 100644 trunk/package/feeds/packages/glib2/patches/001-automake-compat.patch delete mode 100644 trunk/package/feeds/packages/glib2/patches/100-fix-gio-linking.patch delete mode 100644 trunk/package/feeds/packages/gnupg/Makefile delete mode 100644 trunk/package/feeds/packages/gnutls/Config.in delete mode 100644 trunk/package/feeds/packages/gnutls/Makefile delete mode 100644 trunk/package/feeds/packages/gnutls/patches/001-ai-idn-remove.patch delete mode 100644 trunk/package/feeds/packages/gperf/Makefile delete mode 100644 trunk/package/feeds/packages/grep/Makefile delete mode 100644 trunk/package/feeds/packages/grep/patches/0001-grep-F-fix-a-heap-buffer-read-overrun.patch delete mode 100644 trunk/package/feeds/packages/gst1-libav/Config.in delete mode 100644 trunk/package/feeds/packages/gst1-libav/Makefile delete mode 100644 trunk/package/feeds/packages/gst1-plugins-base/Makefile delete mode 100644 trunk/package/feeds/packages/gst1-plugins-base/patches/001-no_docs.patch delete mode 100644 trunk/package/feeds/packages/gst1-plugins-base/patches/002-no_tests.patch delete mode 100644 trunk/package/feeds/packages/gst1-plugins-base/patches/003-no_translations.patch delete mode 100644 trunk/package/feeds/packages/gst1-plugins-good/Makefile delete mode 100644 trunk/package/feeds/packages/gst1-plugins-good/patches/001-no_docs.patch delete mode 100644 trunk/package/feeds/packages/gst1-plugins-good/patches/002-no_tests.patch delete mode 100644 trunk/package/feeds/packages/gst1-plugins-good/patches/003-no_translations.patch delete mode 100644 trunk/package/feeds/packages/gstreamer1/Makefile delete mode 100644 trunk/package/feeds/packages/gstreamer1/patches/001-no_docs.patch delete mode 100644 trunk/package/feeds/packages/gstreamer1/patches/002-no_tests.patch delete mode 100644 trunk/package/feeds/packages/gstreamer1/patches/003-no_translations.patch delete mode 100644 trunk/package/feeds/packages/gstreamer1/patches/010-gstplugin_use_lazy_symbol_binding.patch delete mode 100644 trunk/package/feeds/packages/hamlib/Makefile delete mode 100644 trunk/package/feeds/packages/hamlib/patches/100-override-autoconf-detection.patch delete mode 100644 trunk/package/feeds/packages/haproxy/Makefile delete mode 100644 trunk/package/feeds/packages/haproxy/files/haproxy.cfg delete mode 100644 trunk/package/feeds/packages/haproxy/files/haproxy.hotplug delete mode 100644 trunk/package/feeds/packages/haproxy/files/haproxy.init delete mode 100644 trunk/package/feeds/packages/haproxy/patches/0001-BUG-MINOR-pattern-error-message-missing.patch delete mode 100644 trunk/package/feeds/packages/haproxy/patches/0002-BUG-MEDIUM-pattern-some-entries-are-not-deleted-with.patch delete mode 100644 trunk/package/feeds/packages/haserl/Config.in delete mode 100644 trunk/package/feeds/packages/haserl/Makefile delete mode 100644 trunk/package/feeds/packages/haserl/patches/100-replace-lua2c-with-sed.patch delete mode 100644 trunk/package/feeds/packages/haserl/patches/101-adjust-script-size.patch delete mode 100644 trunk/package/feeds/packages/haveged/Makefile delete mode 100644 trunk/package/feeds/packages/haveged/files/haveged.init delete mode 100644 trunk/package/feeds/packages/hd-idle/Makefile delete mode 100644 trunk/package/feeds/packages/hd-idle/files/hd-idle.config delete mode 100644 trunk/package/feeds/packages/hd-idle/files/hd-idle.init delete mode 100644 trunk/package/feeds/packages/hdparm/Makefile delete mode 100644 trunk/package/feeds/packages/hdparm/patches/001-fix-includes.patch delete mode 100644 trunk/package/feeds/packages/hfsprogs/Makefile delete mode 100644 trunk/package/feeds/packages/hfsprogs/files/hfsfsck.sh delete mode 100644 trunk/package/feeds/packages/hfsprogs/patches/0001-Create-short-Makefiles-for-Debian.patch delete mode 100644 trunk/package/feeds/packages/hfsprogs/patches/0002-Add-exclude-Darwin-specific-code.patch delete mode 100644 trunk/package/feeds/packages/hfsprogs/patches/0003-Add-helper-include-files-absent-from-the-upstream-pa.patch delete mode 100644 trunk/package/feeds/packages/hfsprogs/patches/0004-Fix-compilation-on-64-bit-arches.patch delete mode 100644 trunk/package/feeds/packages/hfsprogs/patches/0005-Remove-Apple-specific-p-from-strings.patch delete mode 100644 trunk/package/feeds/packages/hfsprogs/patches/0006-Adjust-types-for-printing.patch delete mode 100644 trunk/package/feeds/packages/hfsprogs/patches/0007-Fix-path-for-HFS-wrapper-block.patch delete mode 100644 trunk/package/feeds/packages/hfsprogs/patches/0008-Provide-command-line-option-a.patch delete mode 100644 trunk/package/feeds/packages/hfsprogs/patches/0009-Rename-dprintf-to-dbg_printf.patch delete mode 100644 trunk/package/feeds/packages/hfsprogs/patches/0010-Rename-custom-macro-nil-with-NULL.patch delete mode 100644 trunk/package/feeds/packages/hfsprogs/patches/0011-Fix-types.patch delete mode 100644 trunk/package/feeds/packages/hfsprogs/patches/0012-Fix-mkfs-not-creating-UUIDs-for-new-filesystems.patch delete mode 100644 trunk/package/feeds/packages/hfsprogs/patches/0013-Fix-manpages.patch delete mode 100644 trunk/package/feeds/packages/hfsprogs/patches/0014-uClibc_no_loadavg.patch delete mode 100644 trunk/package/feeds/packages/hidapi/Makefile delete mode 100644 trunk/package/feeds/packages/hidapi/patches/010-add-iconv-linkage.patch delete mode 100644 trunk/package/feeds/packages/horst/Makefile delete mode 100644 trunk/package/feeds/packages/htop/Makefile delete mode 100644 trunk/package/feeds/packages/hub-ctrl/Makefile delete mode 100644 trunk/package/feeds/packages/ibrcommon/Makefile delete mode 100644 trunk/package/feeds/packages/ibrdtn-tools/Makefile delete mode 100644 trunk/package/feeds/packages/ibrdtn/Makefile delete mode 100644 trunk/package/feeds/packages/ibrdtnd/Makefile delete mode 100644 trunk/package/feeds/packages/ibrdtnd/files/build-config.sh delete mode 100644 trunk/package/feeds/packages/ibrdtnd/files/ibrdtn.init delete mode 100644 trunk/package/feeds/packages/ibrdtnd/files/ibrdtn.uci delete mode 100644 trunk/package/feeds/packages/ibrdtnd/files/mkcontainer.sh delete mode 100644 trunk/package/feeds/packages/ibrdtnd/files/mountcontainer.sh delete mode 100644 trunk/package/feeds/packages/ibrdtnd/files/safety-wrapper.sh delete mode 100644 trunk/package/feeds/packages/ibrdtnd/files/systemcheck.sh delete mode 100644 trunk/package/feeds/packages/icecast/Makefile delete mode 100755 trunk/package/feeds/packages/icecast/files/icecast.init delete mode 100644 trunk/package/feeds/packages/icecast/libvorbisidec.mk delete mode 100644 trunk/package/feeds/packages/icecast/patches/001-icecast-2.4.0-tremor.patch delete mode 100644 trunk/package/feeds/packages/icecast/patches/010-fix_libcurl_test_crap.patch delete mode 100644 trunk/package/feeds/packages/ices/Makefile delete mode 100644 trunk/package/feeds/packages/intltool/Makefile delete mode 100644 trunk/package/feeds/packages/iodine/Makefile delete mode 100644 trunk/package/feeds/packages/iodine/files/iodined.config delete mode 100644 trunk/package/feeds/packages/iodine/files/iodined.init delete mode 100644 trunk/package/feeds/packages/iodine/patches/010-cross-compile.patch delete mode 100644 trunk/package/feeds/packages/ipsec-tools/Makefile delete mode 100644 trunk/package/feeds/packages/ipsec-tools/files/racoon.conf delete mode 100644 trunk/package/feeds/packages/ipsec-tools/files/racoon.init delete mode 100644 trunk/package/feeds/packages/ipsec-tools/patches/001-ipsec-tools-def-psk.patch delete mode 100644 trunk/package/feeds/packages/ipsec-tools/patches/001-no_libfl.patch delete mode 100644 trunk/package/feeds/packages/ipsec-tools/patches/002-patch8-utmp.patch delete mode 100644 trunk/package/feeds/packages/ipsec-tools/patches/003-microsoft-fqdn-in-main.patch delete mode 100644 trunk/package/feeds/packages/ipsec-tools/patches/005-isakmp-fix.patch delete mode 100644 trunk/package/feeds/packages/ipsec-tools/patches/006-linux-3.7-compat.patch delete mode 100644 trunk/package/feeds/packages/ipsec-tools/patches/force_HAVE_POLICY_FWD delete mode 100644 trunk/package/feeds/packages/irssi/Makefile delete mode 100644 trunk/package/feeds/packages/jamvm/Makefile delete mode 100644 trunk/package/feeds/packages/jansson/Makefile delete mode 100644 trunk/package/feeds/packages/joe/Makefile delete mode 100644 trunk/package/feeds/packages/joe/files/joerc delete mode 100644 trunk/package/feeds/packages/joe/patches/001-mathaway.patch delete mode 100644 trunk/package/feeds/packages/json4lua/Makefile delete mode 100644 trunk/package/feeds/packages/keepalived/Makefile delete mode 100644 trunk/package/feeds/packages/keepalived/files/keepalived.init delete mode 100644 trunk/package/feeds/packages/kismet/Makefile delete mode 100644 trunk/package/feeds/packages/kismet/files/kismet.conf delete mode 100644 trunk/package/feeds/packages/kismet/files/kismet_drone.conf delete mode 100644 trunk/package/feeds/packages/kismet/files/kismet_drone.config delete mode 100755 trunk/package/feeds/packages/kismet/files/kismet_drone.init delete mode 100644 trunk/package/feeds/packages/kismet/files/kismet_server.config delete mode 100755 trunk/package/feeds/packages/kismet/files/kismet_server.init delete mode 100644 trunk/package/feeds/packages/kismet/patches/010-dont-add-host-include-paths.patch delete mode 100644 trunk/package/feeds/packages/kmod/Makefile delete mode 100644 trunk/package/feeds/packages/kmod/patches/001-fix_pkgconfig_file.patch delete mode 100644 trunk/package/feeds/packages/knot/Makefile delete mode 100644 trunk/package/feeds/packages/knot/files/knotd.init delete mode 100644 trunk/package/feeds/packages/knot/files/runtests.sh delete mode 100644 trunk/package/feeds/packages/knot/patches/01_strptime_susv3.patch delete mode 100644 trunk/package/feeds/packages/knot/patches/02_knot.conf.patch delete mode 100644 trunk/package/feeds/packages/knot/patches/03_zscanner_tests.patch delete mode 100644 trunk/package/feeds/packages/knxd/Makefile delete mode 100644 trunk/package/feeds/packages/knxd/files/knxd.config delete mode 100644 trunk/package/feeds/packages/knxd/files/knxd.init delete mode 100644 trunk/package/feeds/packages/knxd/patches/0099-openwrt.patch delete mode 100644 trunk/package/feeds/packages/krb5/Makefile delete mode 100644 trunk/package/feeds/packages/krb5/files/krb5kdc delete mode 100644 trunk/package/feeds/packages/krb5/patches/001-fix-build.patch delete mode 100644 trunk/package/feeds/packages/l7-protocols/Makefile delete mode 100644 trunk/package/feeds/packages/l7-protocols/patches/100-testing_crosscompile.patch delete mode 100644 trunk/package/feeds/packages/l7-protocols/patches/101-testing-timeit.patch delete mode 100644 trunk/package/feeds/packages/l7-protocols/patches/102-testing-doallspeeds.patch delete mode 100644 trunk/package/feeds/packages/lame/Makefile delete mode 100644 trunk/package/feeds/packages/lame/patches/001-automake-compat.patch delete mode 100644 trunk/package/feeds/packages/less/Makefile delete mode 100644 trunk/package/feeds/packages/lftp/Makefile delete mode 100644 trunk/package/feeds/packages/libaio/Makefile delete mode 100644 trunk/package/feeds/packages/libaio/patches/001_arches.patch delete mode 100644 trunk/package/feeds/packages/libaio/patches/002_arches_sh.patch delete mode 100644 trunk/package/feeds/packages/libaio/patches/003_arches_sparc64.patch delete mode 100644 trunk/package/feeds/packages/libaio/patches/004_arches_x32.patch delete mode 100644 trunk/package/feeds/packages/libaio/patches/005_arches_mips.patch delete mode 100644 trunk/package/feeds/packages/libaio/patches/006_arches_mips_fix_padding.patch delete mode 100644 trunk/package/feeds/packages/libantlr3c/Makefile delete mode 100644 trunk/package/feeds/packages/libao/Makefile delete mode 100644 trunk/package/feeds/packages/libarchive/Makefile delete mode 100644 trunk/package/feeds/packages/libartnet/Makefile delete mode 100644 trunk/package/feeds/packages/libartnet/patches/001-bswap_16.patch delete mode 100644 trunk/package/feeds/packages/libaudiofile/Makefile delete mode 100644 trunk/package/feeds/packages/libavl/Makefile delete mode 100644 trunk/package/feeds/packages/libavl/patches/010-update_GNUmakefile.patch delete mode 100644 trunk/package/feeds/packages/libcap/Makefile delete mode 100644 trunk/package/feeds/packages/libdaemon/Makefile delete mode 100644 trunk/package/feeds/packages/libdaemon/patches/001-daemon_set_verbosity.patch delete mode 100644 trunk/package/feeds/packages/libdaq/Makefile delete mode 100644 trunk/package/feeds/packages/libdaq/patches/001-compile.patch delete mode 100644 trunk/package/feeds/packages/libdbi-drivers/Makefile delete mode 100644 trunk/package/feeds/packages/libdbi-drivers/patches/001_libsqlite3_fix.patch delete mode 100644 trunk/package/feeds/packages/libdbi/Makefile delete mode 100644 trunk/package/feeds/packages/libdmapsharing/Makefile delete mode 100644 trunk/package/feeds/packages/libdmapsharing/patches/001-disable_pixbuf.patch delete mode 100644 trunk/package/feeds/packages/libdmapsharing/patches/002-disable_tests.patch delete mode 100644 trunk/package/feeds/packages/libdmapsharing/patches/003-make_unit_test_optional.patch delete mode 100644 trunk/package/feeds/packages/libdnet/Makefile delete mode 100644 trunk/package/feeds/packages/libdnet/patches/001-compile.patch delete mode 100644 trunk/package/feeds/packages/libdnet/patches/002-config.patch delete mode 100644 trunk/package/feeds/packages/libesmtp/Makefile delete mode 100644 trunk/package/feeds/packages/libevent/Makefile delete mode 100644 trunk/package/feeds/packages/libevhtp/Makefile delete mode 100644 trunk/package/feeds/packages/libevhtp/patches/010-enable-shared-object-building.patch delete mode 100644 trunk/package/feeds/packages/libexif/Makefile delete mode 100644 trunk/package/feeds/packages/libexif/patches/100-no_doc.patch delete mode 100644 trunk/package/feeds/packages/libffi/Makefile delete mode 100644 trunk/package/feeds/packages/libftdi/Makefile delete mode 100644 trunk/package/feeds/packages/libftdi/patches/100-fix-x86_64-build.patch delete mode 100644 trunk/package/feeds/packages/libftdi/patches/101-fix-cmake-version-packagekit.patch delete mode 100644 trunk/package/feeds/packages/libftdi1/Makefile delete mode 100644 trunk/package/feeds/packages/libftdi1/patches/100-fix-x86_64-build.patch delete mode 100644 trunk/package/feeds/packages/libgcrypt/Makefile delete mode 100644 trunk/package/feeds/packages/libgcrypt/patches/001-no_docs_tests.patch delete mode 100644 trunk/package/feeds/packages/libgd/Makefile delete mode 100644 trunk/package/feeds/packages/libgd/patches/101-gdlib-config.patch delete mode 100644 trunk/package/feeds/packages/libgd/patches/200-uclibc-ceill.patch delete mode 100644 trunk/package/feeds/packages/libgpg-error/Makefile delete mode 100644 trunk/package/feeds/packages/libhttp-parser/Makefile delete mode 100644 trunk/package/feeds/packages/libical/Makefile delete mode 100644 trunk/package/feeds/packages/libid3tag/Makefile delete mode 100644 trunk/package/feeds/packages/libidn/Makefile delete mode 100644 trunk/package/feeds/packages/libidn/patches/002-disable-po-docs-examples.patch delete mode 100644 trunk/package/feeds/packages/libidn/patches/010-fix-idn-error-usage.patch delete mode 100644 trunk/package/feeds/packages/libimobiledevice/Makefile delete mode 100644 trunk/package/feeds/packages/libjpeg/Makefile delete mode 100644 trunk/package/feeds/packages/liblo/Makefile delete mode 100644 trunk/package/feeds/packages/libmad/Makefile delete mode 100644 trunk/package/feeds/packages/libmad/patches/001-mips_removal_h_constraint.patch delete mode 100644 trunk/package/feeds/packages/libmcrypt/Makefile delete mode 100644 trunk/package/feeds/packages/libmicrohttpd/Makefile delete mode 100644 trunk/package/feeds/packages/libmms/Makefile delete mode 100644 trunk/package/feeds/packages/libmodbus/Makefile delete mode 100644 trunk/package/feeds/packages/libmpdclient/Makefile delete mode 100644 trunk/package/feeds/packages/libmpdclient/patches/001-WIP_musl_compatibility.patch delete mode 100644 trunk/package/feeds/packages/libmpeg2/Makefile delete mode 100644 trunk/package/feeds/packages/libmpeg2/patches/101-ppc_no_altivec.patch delete mode 100644 trunk/package/feeds/packages/libmpeg2/patches/102-arm_data_preload_check.patch delete mode 100644 trunk/package/feeds/packages/libnatpmp/Makefile delete mode 100644 trunk/package/feeds/packages/libnatpmp/patches/001-install_declspec.patch delete mode 100644 trunk/package/feeds/packages/libnetfilter-acct/Makefile delete mode 100644 trunk/package/feeds/packages/libnfc/Makefile delete mode 100644 trunk/package/feeds/packages/libogg/Makefile delete mode 100644 trunk/package/feeds/packages/liboil/Makefile delete mode 100644 trunk/package/feeds/packages/liboping/Makefile delete mode 100644 trunk/package/feeds/packages/liboping/patches/01-no-werror.patch delete mode 100644 trunk/package/feeds/packages/libowfat/Makefile delete mode 100644 trunk/package/feeds/packages/libowfat/patches/001-fixbuild.patch delete mode 100644 trunk/package/feeds/packages/libp11/Makefile delete mode 100644 trunk/package/feeds/packages/libpam/Makefile delete mode 100644 trunk/package/feeds/packages/libpam/files/pam.conf delete mode 100644 trunk/package/feeds/packages/libpam/files/pam.d/common-account delete mode 100644 trunk/package/feeds/packages/libpam/files/pam.d/common-auth delete mode 100644 trunk/package/feeds/packages/libpam/files/pam.d/common-password delete mode 100644 trunk/package/feeds/packages/libpam/files/pam.d/common-session delete mode 100644 trunk/package/feeds/packages/libpam/files/pam.d/common-session-noninteractive delete mode 100644 trunk/package/feeds/packages/libpam/files/pam.d/other delete mode 100644 trunk/package/feeds/packages/libpam/patches/000-OE-libpam-xtests.patch delete mode 100644 trunk/package/feeds/packages/libpam/patches/000-OE-pam-no-innetgr.patch delete mode 100644 trunk/package/feeds/packages/libpam/patches/001-no_nis.patch delete mode 100644 trunk/package/feeds/packages/libpam/patches/002-no_yywrap.patch delete mode 100644 trunk/package/feeds/packages/libpam/patches/003-no_doc.patch delete mode 100644 trunk/package/feeds/packages/libpam/patches/004-fix_lib64.patch delete mode 100644 trunk/package/feeds/packages/libpam/patches/005-fix_ruserok.patch delete mode 100644 trunk/package/feeds/packages/libpam/patches/006-fix_xdr.patch delete mode 100644 trunk/package/feeds/packages/libpam/patches/007-cve-2014-2583.patch delete mode 100644 trunk/package/feeds/packages/libplist/Makefile delete mode 100644 trunk/package/feeds/packages/libpng/Makefile delete mode 100644 trunk/package/feeds/packages/libpng/patches/100-config_fix.patch delete mode 100644 trunk/package/feeds/packages/libsamplerate/Makefile delete mode 100644 trunk/package/feeds/packages/libsearpc/Makefile delete mode 100644 trunk/package/feeds/packages/libseccomp/Makefile delete mode 100644 trunk/package/feeds/packages/libshout/Makefile delete mode 100644 trunk/package/feeds/packages/libshout/patches/120-vorbis-c.patch delete mode 100644 trunk/package/feeds/packages/libshout/patches/140-no_example_doc_win32.patch delete mode 100644 trunk/package/feeds/packages/libsigc++/Makefile delete mode 100644 trunk/package/feeds/packages/libsigc++/patches/001-no_doc_tests_examples.patch delete mode 100644 trunk/package/feeds/packages/libsndfile/Makefile delete mode 100644 trunk/package/feeds/packages/libsndfile/patches/001-automake-compat.patch delete mode 100644 trunk/package/feeds/packages/libsodium/Makefile delete mode 100644 trunk/package/feeds/packages/libsoup/Makefile delete mode 100644 trunk/package/feeds/packages/libsoxr/Makefile delete mode 100644 trunk/package/feeds/packages/libssh2/Makefile delete mode 100644 trunk/package/feeds/packages/libtasn1/Makefile delete mode 100644 trunk/package/feeds/packages/libtheora/Makefile delete mode 100644 trunk/package/feeds/packages/libtheora/patches/001-no_docs_tests.patch delete mode 100644 trunk/package/feeds/packages/libtheora/patches/002-no_sdl_check.patch delete mode 100644 trunk/package/feeds/packages/libtorrent/Makefile delete mode 100644 trunk/package/feeds/packages/libtorrent/patches/100-fix_cross_compile.patch delete mode 100644 trunk/package/feeds/packages/libtorrent/patches/120-fix-ipv6_socket_datagram.patch delete mode 100644 trunk/package/feeds/packages/libuecc/Makefile delete mode 100644 trunk/package/feeds/packages/libugpio/Makefile delete mode 100644 trunk/package/feeds/packages/libunistring/Makefile delete mode 100644 trunk/package/feeds/packages/libupnp/Makefile delete mode 100644 trunk/package/feeds/packages/libupnpp/Makefile delete mode 100644 trunk/package/feeds/packages/liburcu/Makefile delete mode 100644 trunk/package/feeds/packages/libusbmuxd/Makefile delete mode 100644 trunk/package/feeds/packages/libuv/Makefile delete mode 100644 trunk/package/feeds/packages/libuvc/Makefile delete mode 100644 trunk/package/feeds/packages/libv4l/Makefile delete mode 100644 trunk/package/feeds/packages/libv4l/patches/001-no-shm_open-fix.patch delete mode 100644 trunk/package/feeds/packages/libv4l/patches/020-add-missing-includes.patch delete mode 100644 trunk/package/feeds/packages/libvorbis/Makefile delete mode 100644 trunk/package/feeds/packages/libvorbisidec/Makefile delete mode 100644 trunk/package/feeds/packages/libvpx/Makefile delete mode 100644 trunk/package/feeds/packages/libwebsockets/Makefile delete mode 100644 trunk/package/feeds/packages/libwebsockets/patches/0001-cyassl-correct-include-path-for-3.1.x.patch delete mode 100644 trunk/package/feeds/packages/libxerces-c/Makefile delete mode 100644 trunk/package/feeds/packages/libxml2/Makefile delete mode 100644 trunk/package/feeds/packages/libxml2/patches/0001-threads-use-forward-declarations-only-for-glibc-fixe.patch delete mode 100644 trunk/package/feeds/packages/libxslt/Makefile delete mode 100644 trunk/package/feeds/packages/libzdb/Makefile delete mode 100644 trunk/package/feeds/packages/libzdb/patches/010-cross-compile-fixes.patch delete mode 100644 trunk/package/feeds/packages/libzdb/patches/020-filterh-use-host-built-version.patch delete mode 100644 trunk/package/feeds/packages/lighttpd/Makefile delete mode 100644 trunk/package/feeds/packages/lighttpd/files/lighttpd.conf delete mode 100644 trunk/package/feeds/packages/lighttpd/files/lighttpd.init delete mode 100644 trunk/package/feeds/packages/linknx/Makefile delete mode 100644 trunk/package/feeds/packages/linknx/files/linknx.config delete mode 100644 trunk/package/feeds/packages/linknx/files/linknx.init delete mode 100644 trunk/package/feeds/packages/linknx/files/linknx.xml.dist delete mode 100644 trunk/package/feeds/packages/lispmob/Makefile delete mode 100644 trunk/package/feeds/packages/lm-sensors/Makefile delete mode 100644 trunk/package/feeds/packages/lm-sensors/files/sensors.conf delete mode 100644 trunk/package/feeds/packages/lsof/Makefile delete mode 100644 trunk/package/feeds/packages/lsof/patches/001-lsof_makefile.patch delete mode 100644 trunk/package/feeds/packages/lsof/patches/002-lsof_noportmap.patch delete mode 100644 trunk/package/feeds/packages/lsof/patches/003-lsof_selinux.patch delete mode 100644 trunk/package/feeds/packages/lsof/patches/004-lsof_ccv.patch delete mode 100644 trunk/package/feeds/packages/lttng-modules/Makefile delete mode 100644 trunk/package/feeds/packages/lttng-modules/patches/001-mm_page_alloc_extfrag.patch delete mode 100644 trunk/package/feeds/packages/lttng-tools/Makefile delete mode 100644 trunk/package/feeds/packages/lttng-ust/Makefile delete mode 100644 trunk/package/feeds/packages/lttng-ust/patches/001-no_docs_tests.patch delete mode 100644 trunk/package/feeds/packages/lttng-ust/patches/002-examples.patch delete mode 100644 trunk/package/feeds/packages/lua-bencode/Makefile delete mode 100644 trunk/package/feeds/packages/lua-mosquitto/Makefile delete mode 100644 trunk/package/feeds/packages/lua-penlight/Makefile delete mode 100644 trunk/package/feeds/packages/lua-sha2/Makefile delete mode 100644 trunk/package/feeds/packages/lua-sha2/patches/001-makefile.patch delete mode 100644 trunk/package/feeds/packages/luabitop/Makefile delete mode 100644 trunk/package/feeds/packages/luaexpat/Makefile delete mode 100644 trunk/package/feeds/packages/luaexpat/files/compat-5.1r5/compat-5.1.c delete mode 100644 trunk/package/feeds/packages/luaexpat/files/compat-5.1r5/compat-5.1.h delete mode 100644 trunk/package/feeds/packages/luaexpat/files/compat-5.1r5/compat-5.1.lua delete mode 100644 trunk/package/feeds/packages/luafilesystem/Makefile delete mode 100755 trunk/package/feeds/packages/luai2c/Makefile delete mode 100644 trunk/package/feeds/packages/lualanes/Makefile delete mode 100644 trunk/package/feeds/packages/luaposix/Makefile delete mode 100644 trunk/package/feeds/packages/luaposix/patches/100-eglibc-compat.patch delete mode 100644 trunk/package/feeds/packages/luaposix/patches/101-disable-curses.patch delete mode 100644 trunk/package/feeds/packages/luaposix/patches/102-disable-compat-deprecated.diff delete mode 100644 trunk/package/feeds/packages/luarocks/Makefile delete mode 100644 trunk/package/feeds/packages/luarocks/patches/01_dont_modify_bin_shebang.diff delete mode 100644 trunk/package/feeds/packages/luasec/Makefile delete mode 100644 trunk/package/feeds/packages/luasec/patches/100-luasocket-Makefile.patch delete mode 100644 trunk/package/feeds/packages/luasoap/Makefile delete mode 100644 trunk/package/feeds/packages/luasocket/Makefile delete mode 100644 trunk/package/feeds/packages/luasocket/patches/0001-Add-interface-support.patch delete mode 100644 trunk/package/feeds/packages/luasql/Makefile delete mode 100644 trunk/package/feeds/packages/luci-app-bcp38/Makefile delete mode 100644 trunk/package/feeds/packages/luci-app-bcp38/files/bcp38-cbi.lua delete mode 100644 trunk/package/feeds/packages/luci-app-bcp38/files/bcp38-controller.lua delete mode 100755 trunk/package/feeds/packages/luci-app-bcp38/files/uci-defaults-bcp38 delete mode 100644 trunk/package/feeds/packages/luci-app-lxc/Makefile delete mode 100644 trunk/package/feeds/packages/luci-app-lxc/files/controller/lxc.lua delete mode 100644 trunk/package/feeds/packages/luci-app-lxc/files/lxc.config delete mode 100644 trunk/package/feeds/packages/luci-app-lxc/files/model/cbi/lxc.lua delete mode 100644 trunk/package/feeds/packages/luci-app-lxc/files/view/lxc.htm delete mode 100644 trunk/package/feeds/packages/luci-app-lxc/files/www/luci-static/resources/cbi/green.gif delete mode 100644 trunk/package/feeds/packages/luci-app-lxc/files/www/luci-static/resources/cbi/purple.gif delete mode 100644 trunk/package/feeds/packages/luci-app-lxc/files/www/luci-static/resources/cbi/red.gif delete mode 100644 trunk/package/feeds/packages/luci-app-sqm/Makefile delete mode 100644 trunk/package/feeds/packages/luci-app-sqm/files/sqm-cbi.lua delete mode 100644 trunk/package/feeds/packages/luci-app-sqm/files/sqm-controller.lua delete mode 100644 trunk/package/feeds/packages/luci-app-sqm/files/uci-defaults-sqm delete mode 100644 trunk/package/feeds/packages/lvm2/Makefile delete mode 100644 trunk/package/feeds/packages/lvm2/files/lvm2.init delete mode 100644 trunk/package/feeds/packages/lvm2/patches/000-compile.patch delete mode 100644 trunk/package/feeds/packages/lvm2/patches/001-include_fix.patch delete mode 100644 trunk/package/feeds/packages/lxc/Config.in delete mode 100644 trunk/package/feeds/packages/lxc/Makefile delete mode 100644 trunk/package/feeds/packages/lxc/files/lxc.conf delete mode 100644 trunk/package/feeds/packages/lxc/patches/010-compile.patch delete mode 100644 trunk/package/feeds/packages/lxc/patches/015-getline.patch delete mode 100644 trunk/package/feeds/packages/lxc/patches/020-lxc-checkconfig.patch delete mode 100644 trunk/package/feeds/packages/lxc/patches/025-remove-unsupported-option.patch delete mode 100644 trunk/package/feeds/packages/lxc/patches/030-lxc-download.patch delete mode 100644 trunk/package/feeds/packages/lxc/patches/300-lxc-destroy.patch delete mode 100644 trunk/package/feeds/packages/mac-telnet/Makefile delete mode 100644 trunk/package/feeds/packages/mac-telnet/files/mactelnet.config delete mode 100755 trunk/package/feeds/packages/mac-telnet/files/mactelnet.init delete mode 100644 trunk/package/feeds/packages/macchanger/Makefile delete mode 100644 trunk/package/feeds/packages/madplay/Makefile delete mode 100644 trunk/package/feeds/packages/mailman/Makefile delete mode 100644 trunk/package/feeds/packages/mailman/files/mailman.init delete mode 100644 trunk/package/feeds/packages/mailman/patches/100-postfix.patch delete mode 100644 trunk/package/feeds/packages/mailman/patches/200-nohostdnspython.patch delete mode 100644 trunk/package/feeds/packages/mailman/patches/300-targetpython.patch delete mode 100644 trunk/package/feeds/packages/mailman/patches/400-modules.patch delete mode 100644 trunk/package/feeds/packages/mailsend/Makefile delete mode 100644 trunk/package/feeds/packages/mc/Config.in delete mode 100644 trunk/package/feeds/packages/mc/Makefile delete mode 100644 trunk/package/feeds/packages/mdnsresponder/Makefile delete mode 100644 trunk/package/feeds/packages/mdnsresponder/files/mDNSResponder.conf delete mode 100644 trunk/package/feeds/packages/mdnsresponder/files/mDNSResponder.init delete mode 100755 trunk/package/feeds/packages/mdnsresponder/files/mdnsd.init delete mode 100644 trunk/package/feeds/packages/mdnsresponder/patches/001-cross_compile.patch delete mode 100644 trunk/package/feeds/packages/mdnsresponder/patches/100-linux_fixes.patch delete mode 100644 trunk/package/feeds/packages/memcached/Makefile delete mode 100644 trunk/package/feeds/packages/memcached/files/memcached.config delete mode 100644 trunk/package/feeds/packages/memcached/files/memcached.init delete mode 100644 trunk/package/feeds/packages/memcached/patches/100-fix_iov_max.patch delete mode 100644 trunk/package/feeds/packages/micropython-lib/Makefile delete mode 100644 trunk/package/feeds/packages/micropython/Makefile delete mode 100644 trunk/package/feeds/packages/minicom/Makefile delete mode 100644 trunk/package/feeds/packages/minicom/patches/100-fix_iconv_include.patch delete mode 100644 trunk/package/feeds/packages/miniupnpc/Makefile delete mode 100644 trunk/package/feeds/packages/miniupnpc/patches/100-no_minixml_test.patch delete mode 100644 trunk/package/feeds/packages/miniupnpc/patches/200-miniupnpc_desc.patch delete mode 100644 trunk/package/feeds/packages/mjpg-streamer/Config.in delete mode 100644 trunk/package/feeds/packages/mjpg-streamer/Makefile delete mode 100644 trunk/package/feeds/packages/mjpg-streamer/files/mjpg-streamer.config delete mode 100644 trunk/package/feeds/packages/mjpg-streamer/files/mjpg-streamer.hotplug delete mode 100644 trunk/package/feeds/packages/mjpg-streamer/files/mjpg-streamer.init delete mode 100644 trunk/package/feeds/packages/mjpg-streamer/patches/010-enable_additional_plugins.patch delete mode 100644 trunk/package/feeds/packages/mjpg-streamer/patches/020-remove_gcc_debug_options.patch delete mode 100644 trunk/package/feeds/packages/mjpg-streamer/patches/030-allow_16_char_device_names.patch delete mode 100644 trunk/package/feeds/packages/mjpg-streamer/patches/040-Buffer-the-bytesused-variable-from-struct-v4l2_buffe.patch delete mode 100644 trunk/package/feeds/packages/mjpg-streamer/patches/041-Stop-leaking-data-via-struct-v4l2_buffer.patch delete mode 100644 trunk/package/feeds/packages/mjpg-streamer/patches/050-fix-yuv-capture.patch delete mode 100644 trunk/package/feeds/packages/mksh/Makefile delete mode 100644 trunk/package/feeds/packages/mksh/patches/100-dot_mkshrc delete mode 100644 trunk/package/feeds/packages/mktorrent/Makefile delete mode 100644 trunk/package/feeds/packages/mmc-utils/Makefile delete mode 100644 trunk/package/feeds/packages/mmc-utils/patches/001-properly-set-fortify-source-in-makefile.patch delete mode 100644 trunk/package/feeds/packages/mocp/Makefile delete mode 100644 trunk/package/feeds/packages/monit/Makefile delete mode 100644 trunk/package/feeds/packages/monit/files/monit.init delete mode 100644 trunk/package/feeds/packages/monit/patches/001-fix-default-piddir.patch delete mode 100644 trunk/package/feeds/packages/mosquitto/Config.in delete mode 100644 trunk/package/feeds/packages/mosquitto/Makefile delete mode 100755 trunk/package/feeds/packages/mosquitto/files/mosquitto.init delete mode 100644 trunk/package/feeds/packages/mosquitto/files/mosquitto.uci.convert delete mode 100644 trunk/package/feeds/packages/mosquitto/patches/101-qos2-inflight.patch delete mode 100644 trunk/package/feeds/packages/motion/Makefile delete mode 100644 trunk/package/feeds/packages/mpack/Makefile delete mode 100644 trunk/package/feeds/packages/mpc/Makefile delete mode 100644 trunk/package/feeds/packages/mpc/files/pls-handler.sh delete mode 100644 trunk/package/feeds/packages/msmtp/Makefile delete mode 100644 trunk/package/feeds/packages/mtr/Makefile delete mode 100644 trunk/package/feeds/packages/mtr/patches/501-dns.patch delete mode 100644 trunk/package/feeds/packages/mtr/patches/502-fix-res_ninit.patch delete mode 100644 trunk/package/feeds/packages/muninlite/Makefile delete mode 100644 trunk/package/feeds/packages/muninlite/files/etc/xinetd.d/munin delete mode 100644 trunk/package/feeds/packages/muninlite/patches/001-no_disks.patch delete mode 100644 trunk/package/feeds/packages/muninlite/patches/002-hostname.patch delete mode 100644 trunk/package/feeds/packages/muninlite/patches/100-fix-no-ethtool.patch delete mode 100644 trunk/package/feeds/packages/muninlite/patches/110-fix-uptime-days.patch delete mode 100644 trunk/package/feeds/packages/muninlite/patches/200-add-tap-dev.patch delete mode 100644 trunk/package/feeds/packages/muninlite/patches/210-add-bridge-devs.patch delete mode 100644 trunk/package/feeds/packages/mwan3-luci/Makefile delete mode 100755 trunk/package/feeds/packages/mwan3-luci/files/etc/hotplug.d/iface/16-mwancustombak delete mode 100755 trunk/package/feeds/packages/mwan3-luci/files/etc/uci-defaults/mwan-luci delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/controller/mwan3.lua delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/advanced_hotplugscript.lua delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/advanced_mwanconfig.lua delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/advanced_networkconfig.lua delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/interface.lua delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/interfaceconfig.lua delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/member.lua delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/memberconfig.lua delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/policy.lua delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/policyconfig.lua delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/rule.lua delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/ruleconfig.lua delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/view/admin_status/index/mwan.htm delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/view/mwan/advanced_diagnostics.htm delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/view/mwan/advanced_hotplugscript.htm delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/view/mwan/advanced_mwanconfig.htm delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/view/mwan/advanced_networkconfig.htm delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/view/mwan/advanced_troubleshooting.htm delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/view/mwan/config_css.htm delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/view/mwan/openwrt_overview_status.htm delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/view/mwan/overview_detailed.htm delete mode 100644 trunk/package/feeds/packages/mwan3-luci/files/usr/lib/lua/luci/view/mwan/overview_interface.htm delete mode 100644 trunk/package/feeds/packages/mwan3/Makefile delete mode 100644 trunk/package/feeds/packages/mwan3/files/etc/config/mwan3 delete mode 100644 trunk/package/feeds/packages/mwan3/files/etc/hotplug.d/iface/15-mwan3 delete mode 100755 trunk/package/feeds/packages/mwan3/files/usr/sbin/mwan3 delete mode 100755 trunk/package/feeds/packages/mwan3/files/usr/sbin/mwan3track delete mode 100644 trunk/package/feeds/packages/mxml/Makefile delete mode 100644 trunk/package/feeds/packages/mxml/patches/001-targets.patch delete mode 100644 trunk/package/feeds/packages/mysql/Makefile delete mode 100644 trunk/package/feeds/packages/mysql/conf/my.cnf delete mode 100644 trunk/package/feeds/packages/mysql/files/mysqld.init delete mode 100644 trunk/package/feeds/packages/mysql/patches/100-fix_hostname.patch delete mode 100644 trunk/package/feeds/packages/mysql/patches/110-cross_compile.patch delete mode 100644 trunk/package/feeds/packages/mysql/patches/120-bison-compat.patch delete mode 100644 trunk/package/feeds/packages/nacl/Makefile delete mode 100755 trunk/package/feeds/packages/nacl/do-openwrt delete mode 100644 trunk/package/feeds/packages/nail/Makefile delete mode 100644 trunk/package/feeds/packages/nail/patches/100-handle-openssl-without-sslv2.patch delete mode 100644 trunk/package/feeds/packages/nano/Makefile delete mode 100644 trunk/package/feeds/packages/ncdu/Makefile delete mode 100644 trunk/package/feeds/packages/neon/Makefile delete mode 100644 trunk/package/feeds/packages/net-snmp/Makefile delete mode 100644 trunk/package/feeds/packages/net-snmp/files/snmpd.conf delete mode 100644 trunk/package/feeds/packages/net-snmp/files/snmpd.init delete mode 100644 trunk/package/feeds/packages/net-snmp/patches/100-debian-statistics.patch delete mode 100644 trunk/package/feeds/packages/net-snmp/patches/110-debian-makefiles.patch delete mode 100644 trunk/package/feeds/packages/net-snmp/patches/120-debian-searchdirs.patch delete mode 100644 trunk/package/feeds/packages/net-snmp/patches/130-debian-extramibs.patch delete mode 100644 trunk/package/feeds/packages/net-snmp/patches/160-no_ldconfig.patch delete mode 100644 trunk/package/feeds/packages/net-snmp/patches/170-ldflags.patch delete mode 100644 trunk/package/feeds/packages/net-snmp/patches/750-ieee802dot11.patch delete mode 100644 trunk/package/feeds/packages/net-snmp/patches/800-format-security.patch delete mode 100644 trunk/package/feeds/packages/netatalk/Makefile delete mode 100644 trunk/package/feeds/packages/netatalk/files/AppleVolumes.default delete mode 100644 trunk/package/feeds/packages/netatalk/files/afpd.conf delete mode 100644 trunk/package/feeds/packages/netatalk/files/afpd.init delete mode 100644 trunk/package/feeds/packages/netatalk/patches/001-automake-compat.patch delete mode 100644 trunk/package/feeds/packages/netatalk/patches/002-ld_library_path.patch delete mode 100644 trunk/package/feeds/packages/netcat/Makefile delete mode 100644 trunk/package/feeds/packages/netcat/patches/001-netcat_flag_count.patch delete mode 100644 trunk/package/feeds/packages/nfs-kernel-server/Makefile delete mode 100644 trunk/package/feeds/packages/nfs-kernel-server/files/nfsd.exports delete mode 100644 trunk/package/feeds/packages/nfs-kernel-server/files/nfsd.init delete mode 100644 trunk/package/feeds/packages/nfs-kernel-server/patches/100-no_malloc_h.patch delete mode 100644 trunk/package/feeds/packages/nginx/Config.in delete mode 100644 trunk/package/feeds/packages/nginx/Makefile delete mode 100644 trunk/package/feeds/packages/nginx/files/nginx.init delete mode 100644 trunk/package/feeds/packages/nginx/files/nginx.proxyprotocol.example delete mode 100644 trunk/package/feeds/packages/nginx/files/nginx.syslog.example delete mode 100644 trunk/package/feeds/packages/nginx/patches-lua-nginx/300-ldl.patch delete mode 100644 trunk/package/feeds/packages/nginx/patches-nginx-upstream-check/check_1.2.6+.patch delete mode 100644 trunk/package/feeds/packages/nginx/patches/101-feature_test_fix.patch delete mode 100644 trunk/package/feeds/packages/nginx/patches/102-sizeof_test_fix.patch delete mode 100644 trunk/package/feeds/packages/nginx/patches/103-sys_nerr.patch delete mode 100644 trunk/package/feeds/packages/nginx/patches/200-config.patch delete mode 100644 trunk/package/feeds/packages/nginx/patches/300-crosscompile_ccflags.patch delete mode 100644 trunk/package/feeds/packages/nginx/patches/400-nginx-1.4.x_proxy_protocol_patch_v2.patch delete mode 100644 trunk/package/feeds/packages/nginx/patches/401-nginx-1.4.0-syslog.patch delete mode 100644 trunk/package/feeds/packages/nmap/Makefile delete mode 100644 trunk/package/feeds/packages/nsd/Makefile delete mode 100644 trunk/package/feeds/packages/nsd/files/nsd.init delete mode 100644 trunk/package/feeds/packages/ntfs-3g/Makefile delete mode 100644 trunk/package/feeds/packages/ntfs-3g/patches/001-fuseint-fix-path-mounted-on-musl.patch delete mode 100644 trunk/package/feeds/packages/ntpclient/Makefile delete mode 100644 trunk/package/feeds/packages/ntpclient/files/ntpclient.config delete mode 100644 trunk/package/feeds/packages/ntpclient/files/ntpclient.hotplug delete mode 100644 trunk/package/feeds/packages/ntpclient/patches/100-daemon.patch delete mode 100644 trunk/package/feeds/packages/ntpd/Makefile delete mode 100644 trunk/package/feeds/packages/ntpd/files/ntp.conf delete mode 100644 trunk/package/feeds/packages/ntpd/files/ntpd.hotplug delete mode 100644 trunk/package/feeds/packages/ntpd/files/ntpd.init delete mode 100644 trunk/package/feeds/packages/ntpd/files/ntpdate.init delete mode 100644 trunk/package/feeds/packages/ntripcaster/Makefile delete mode 100644 trunk/package/feeds/packages/ntripclient/Makefile delete mode 100644 trunk/package/feeds/packages/ntripserver/Makefile delete mode 100644 trunk/package/feeds/packages/nut/Config.in delete mode 100644 trunk/package/feeds/packages/nut/Makefile delete mode 100755 trunk/package/feeds/packages/nut/files/nut-monitor.init delete mode 100755 trunk/package/feeds/packages/nut/files/nut-server.init delete mode 100644 trunk/package/feeds/packages/nut/patches/001-fix-missing-libmath-flags.patch delete mode 100644 trunk/package/feeds/packages/nut/patches/010-ignore_automake_k_bug.patch delete mode 100644 trunk/package/feeds/packages/ola/Makefile delete mode 100644 trunk/package/feeds/packages/ola/files/olad.init delete mode 100644 trunk/package/feeds/packages/open-plc-utils/Makefile delete mode 100644 trunk/package/feeds/packages/openconnect/Config.in delete mode 100644 trunk/package/feeds/packages/openconnect/Makefile delete mode 100644 trunk/package/feeds/packages/openconnect/README delete mode 100755 trunk/package/feeds/packages/openconnect/files/openconnect-wrapper delete mode 100755 trunk/package/feeds/packages/openconnect/files/openconnect.sh delete mode 100644 trunk/package/feeds/packages/openconnect/files/openconnect.upgrade delete mode 100644 trunk/package/feeds/packages/opencv/Makefile delete mode 100644 trunk/package/feeds/packages/opencv/README.md delete mode 100644 trunk/package/feeds/packages/openldap/Makefile delete mode 100644 trunk/package/feeds/packages/openldap/files/ldap.init delete mode 100644 trunk/package/feeds/packages/openldap/patches/001-automake-compat.patch delete mode 100644 trunk/package/feeds/packages/openldap/patches/020-autofs-schema.patch delete mode 100644 trunk/package/feeds/packages/openldap/patches/750-no-strip.patch delete mode 100644 trunk/package/feeds/packages/opennhrp/Makefile delete mode 100644 trunk/package/feeds/packages/opennhrp/files/opennhrp.init delete mode 100644 trunk/package/feeds/packages/openobex/Makefile delete mode 100644 trunk/package/feeds/packages/openobex/patches/001-cxx.patch delete mode 100644 trunk/package/feeds/packages/openocd/Makefile delete mode 100644 trunk/package/feeds/packages/opensc/Makefile delete mode 100644 trunk/package/feeds/packages/opensc/patches/0001-OpenPGP-Detect-and-support-Gnuk-Token.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0002-OpenPGP-Add-Gnuk-in-pkcs15-emulation-layer.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0003-OpenPGP-Include-private-DO-to-filesystem-at-driver-i.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0004-PKCS15-OpenPGP-Declare-DATA-objects.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0005-OpenPGP-Support-erasing-reset-card.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0006-openpgp-tool-Support-deleting-key-in-Gnuk.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0007-OpenPGP-Correct-building-Extended-Header-List-when-i.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0008-OpenPGP-Read-some-empty-DOs-from-Gnuk.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0009-PKCS15-OpenPGP-Do-not-show-empty-DO-in-pkcs15-emu_in.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0010-PKCS15-OpenPGP-Allow-to-store-data-to-pkcs15-data-ob.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0011-OpenPGP-Provide-enough-buffer-to-read-pubkey-from-Gn.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0012-OpenPGP-Support-write-certificate-for-Gnuk.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0013-pkcs15-openpgp-Change-to-sc_put_data-instead-of-sc_u.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0014-OpenPGP-Overcome-the-restriction-of-even-data-length.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0015-OpenPGP-Delete-key-as-file-for-Gnuk.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0016-OpenPGP-Correct-parameter-checking.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0017-OpenPGP-Make-code-neater.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0018-Move-declaration-to-top-of-block.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0019-OpenPGP-Make-indentation-consistent-space-tab.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0020-OpenPGP-Don-t-use-sc_log-in-openpgp-tool.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0021-OpenPGP-Don-t-reimplement-gnuk_delete_key-in-openpgp.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0022-OpenPGP-Use-directly-binary-array-of-APDUs-for-ERASE.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0023-OpenPGP-Rename-private-blob-type-to-avoid-confusing-.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0024-OpenPGP-Fix-crash-after-accessing-inexistent-file.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0025-Replace-hardcode.patch delete mode 100644 trunk/package/feeds/packages/opensc/patches/0026-hardcode-defines-for-DO-s.patch delete mode 100644 trunk/package/feeds/packages/openssh/Makefile delete mode 100644 trunk/package/feeds/packages/openssh/files/sftp-ssh.service delete mode 100644 trunk/package/feeds/packages/openssh/files/sshd.init delete mode 100644 trunk/package/feeds/packages/openssh/files/sshd.pam delete mode 100644 trunk/package/feeds/packages/openssh/files/sshd.pam-access delete mode 100644 trunk/package/feeds/packages/openssh/patches/100-no_cast_fix.patch delete mode 100644 trunk/package/feeds/packages/openssh/patches/130-implicit_memset_decl_fix.patch delete mode 100644 trunk/package/feeds/packages/openssh/patches/140-pam_uclibc_pthreads_fix.patch delete mode 100644 trunk/package/feeds/packages/openssh/patches/200-dscp-qos.patch delete mode 100644 trunk/package/feeds/packages/opentracker/Makefile delete mode 100755 trunk/package/feeds/packages/opentracker/files/opentracker.init delete mode 100755 trunk/package/feeds/packages/opentracker/files/opentracker6.init delete mode 100644 trunk/package/feeds/packages/opentracker/patches/100-makefile.patch delete mode 100644 trunk/package/feeds/packages/openvswitch/Makefile delete mode 100644 trunk/package/feeds/packages/openvswitch/files/etc/init.d/openvswitch.init delete mode 100644 trunk/package/feeds/packages/openvswitch/patches/0001-netdev-linux-Let-interface-flag-survive-internal-por.patch delete mode 100644 trunk/package/feeds/packages/openvswitch/patches/0002-netdev-linux-Use-unsigned-int-for-ifi_flags.patch delete mode 100644 trunk/package/feeds/packages/openvswitch/patches/0003-lib-util.h-Disable-ovs_assert-when-build-with-NDEBUG.patch delete mode 100644 trunk/package/feeds/packages/openvswitch/patches/0004-datapath-Use-ccflags-y-instead-of-deprecated-EXTRA_C.patch delete mode 100644 trunk/package/feeds/packages/opus-tools/Makefile delete mode 100644 trunk/package/feeds/packages/opus/Makefile delete mode 100644 trunk/package/feeds/packages/owfs/Makefile delete mode 100644 trunk/package/feeds/packages/p11-kit/Makefile delete mode 100644 trunk/package/feeds/packages/p11-kit/files/opensc.module delete mode 100644 trunk/package/feeds/packages/p910nd/Makefile delete mode 100644 trunk/package/feeds/packages/p910nd/files/p910nd.config delete mode 100644 trunk/package/feeds/packages/p910nd/files/p910nd.init delete mode 100644 trunk/package/feeds/packages/patch/Makefile delete mode 100644 trunk/package/feeds/packages/pciutils/Makefile delete mode 100644 trunk/package/feeds/packages/pciutils/patches/100-remove-no-timestamping.patch delete mode 100644 trunk/package/feeds/packages/pciutils/patches/101-no-strip.patch delete mode 100644 trunk/package/feeds/packages/pciutils/patches/102-compressed-ids.patch delete mode 100644 trunk/package/feeds/packages/pciutils/patches/103-relative-path-ids.patch delete mode 100644 trunk/package/feeds/packages/pciutils/patches/104-resolv.patch delete mode 100644 trunk/package/feeds/packages/pcre/Makefile delete mode 100644 trunk/package/feeds/packages/pcsc-lite/Makefile delete mode 100644 trunk/package/feeds/packages/pcsc-lite/files/pcscd.init delete mode 100644 trunk/package/feeds/packages/pen/Makefile delete mode 100644 trunk/package/feeds/packages/perl-compress-bzip2/Makefile delete mode 100644 trunk/package/feeds/packages/perl-dbi/Makefile delete mode 100644 trunk/package/feeds/packages/perl-html-parser/Makefile delete mode 100644 trunk/package/feeds/packages/perl-html-tagset/Makefile delete mode 100644 trunk/package/feeds/packages/perl-html-tree/Makefile delete mode 100644 trunk/package/feeds/packages/perl-lockfile-simple/Makefile delete mode 100644 trunk/package/feeds/packages/perl-net-telnet/Makefile delete mode 100644 trunk/package/feeds/packages/perl-test-harness/Makefile delete mode 100644 trunk/package/feeds/packages/perl-uri/Makefile delete mode 100644 trunk/package/feeds/packages/perl-www-curl/Makefile delete mode 100644 trunk/package/feeds/packages/perl-www-curl/patches/100-perl-www-curl_disable_curl-config_hack.patch delete mode 100644 trunk/package/feeds/packages/perl-www-curl/patches/200-fix_default_lflags.patch delete mode 100644 trunk/package/feeds/packages/perl-www-mechanize/Makefile delete mode 100644 trunk/package/feeds/packages/perl-www/Makefile delete mode 100644 trunk/package/feeds/packages/perl-www/patches/010-lwp-https-call-verify-hostname-when-avail.patch delete mode 100644 trunk/package/feeds/packages/perl-www/patches/020-lwp-https-verify-hostnames-by-default.patch delete mode 100644 trunk/package/feeds/packages/perl/Config.in delete mode 100644 trunk/package/feeds/packages/perl/Makefile delete mode 100644 trunk/package/feeds/packages/perl/files/config.sh-arm-mt.in delete mode 100644 trunk/package/feeds/packages/perl/files/config.sh-arm.in delete mode 100644 trunk/package/feeds/packages/perl/files/config.sh-armeb-mt.in delete mode 100644 trunk/package/feeds/packages/perl/files/config.sh-armeb.in delete mode 100644 trunk/package/feeds/packages/perl/files/config.sh-avr32-mt.in delete mode 100644 trunk/package/feeds/packages/perl/files/config.sh-avr32.in delete mode 100644 trunk/package/feeds/packages/perl/files/config.sh-i486-mt.in delete mode 100644 trunk/package/feeds/packages/perl/files/config.sh-i486.in delete mode 100644 trunk/package/feeds/packages/perl/files/config.sh-mips-mt.in delete mode 100644 trunk/package/feeds/packages/perl/files/config.sh-mips.in delete mode 100644 trunk/package/feeds/packages/perl/files/config.sh-mips64-mt.in delete mode 100644 trunk/package/feeds/packages/perl/files/config.sh-mips64.in delete mode 100644 trunk/package/feeds/packages/perl/files/config.sh-mipsel-mt.in delete mode 100644 trunk/package/feeds/packages/perl/files/config.sh-mipsel.in delete mode 100644 trunk/package/feeds/packages/perl/files/config.sh-powerpc-mt.in delete mode 100644 trunk/package/feeds/packages/perl/files/config.sh-powerpc.in delete mode 100644 trunk/package/feeds/packages/perl/files/config.sh-x86_64-mt.in delete mode 100644 trunk/package/feeds/packages/perl/files/config.sh-x86_64.in delete mode 100755 trunk/package/feeds/packages/perl/files/perl-run_tests.sh delete mode 100644 trunk/package/feeds/packages/perl/patches/101-fix-cross-compile-endianness-detection.patch delete mode 100644 trunk/package/feeds/packages/perl/patches/200-host-libc-dir-moved-debian+derivatives.patch delete mode 100644 trunk/package/feeds/packages/perl/patches/300-always_use_miniperl.patch delete mode 100644 trunk/package/feeds/packages/perl/patches/400-add_microperl_caretx_dependency.patch delete mode 100644 trunk/package/feeds/packages/perl/patches/500-add-relink-hack.patch delete mode 100644 trunk/package/feeds/packages/perl/perlbase.mk delete mode 100644 trunk/package/feeds/packages/perl/perlmod.mk delete mode 100644 trunk/package/feeds/packages/php5/Makefile delete mode 100644 trunk/package/feeds/packages/php5/files/php.ini delete mode 100644 trunk/package/feeds/packages/php5/files/php5-fastcgi.config delete mode 100644 trunk/package/feeds/packages/php5/files/php5-fastcgi.init delete mode 100644 trunk/package/feeds/packages/php5/files/php5-fpm-www.conf delete mode 100644 trunk/package/feeds/packages/php5/files/php5-fpm.conf delete mode 100644 trunk/package/feeds/packages/php5/files/php5-fpm.config delete mode 100644 trunk/package/feeds/packages/php5/files/php5-fpm.init delete mode 100644 trunk/package/feeds/packages/php5/patches/101-fix_membar_producer_link_error_gcc3x.patch delete mode 100644 trunk/package/feeds/packages/php5/patches/102-debian_patches_use_embedded_timezonedb.patch delete mode 100644 trunk/package/feeds/packages/php5/patches/103-debian_patches_use_embedded_timezonedb.patch delete mode 100644 trunk/package/feeds/packages/php5/patches/800-gd-iconv.patch delete mode 100644 trunk/package/feeds/packages/php5/patches/950-Fix-dl-cross-compiling-issue.patch delete mode 100644 trunk/package/feeds/packages/php5/pecl.mk delete mode 100644 trunk/package/feeds/packages/pianod/Makefile delete mode 100644 trunk/package/feeds/packages/pianod/files/pianod.init delete mode 100644 trunk/package/feeds/packages/pianod/patches/005-Fix_IPV6_socket_handling.patch delete mode 100644 trunk/package/feeds/packages/pianod/patches/010-Configure_add_SSL_options.patch delete mode 100644 trunk/package/feeds/packages/pianod/patches/020-Use_package_config_h_for_all_modules.patch delete mode 100644 trunk/package/feeds/packages/pianod/patches/030-Waitress_add_polarssl_variant.patch delete mode 100644 trunk/package/feeds/packages/picocom/Makefile delete mode 100644 trunk/package/feeds/packages/polipo/Makefile delete mode 100644 trunk/package/feeds/packages/polipo/files/polipo.config delete mode 100644 trunk/package/feeds/packages/polipo/files/polipo.init delete mode 100644 trunk/package/feeds/packages/portaudio/Makefile delete mode 100644 trunk/package/feeds/packages/portmap/Makefile delete mode 100644 trunk/package/feeds/packages/portmap/files/portmap.init delete mode 100644 trunk/package/feeds/packages/portmap/patches/101-no_pie.patch delete mode 100644 trunk/package/feeds/packages/postfix/Makefile delete mode 100644 trunk/package/feeds/packages/postfix/files/main.cf.default delete mode 100644 trunk/package/feeds/packages/postfix/files/postfix.init delete mode 100644 trunk/package/feeds/packages/postfix/patches/100-fsstat.patch delete mode 100644 trunk/package/feeds/packages/postfix/patches/200-manpages.patch delete mode 100644 trunk/package/feeds/packages/postfix/patches/300-bdb_hash_segfault.patch delete mode 100644 trunk/package/feeds/packages/postfix/patches/400-cdb.patch delete mode 100644 trunk/package/feeds/packages/postfix/patches/500-crosscompile.patch delete mode 100644 trunk/package/feeds/packages/postfix/patches/600-nopostconf.patch delete mode 100644 trunk/package/feeds/packages/postfix/patches/700-defaultconfig.patch delete mode 100644 trunk/package/feeds/packages/postfix/patches/800-fmt.patch delete mode 100644 trunk/package/feeds/packages/postgresql/Makefile delete mode 100644 trunk/package/feeds/packages/postgresql/files/postgresql.config delete mode 100644 trunk/package/feeds/packages/postgresql/files/postgresql.init delete mode 100644 trunk/package/feeds/packages/postgresql/patches/200-ranlib.patch delete mode 100644 trunk/package/feeds/packages/postgresql/patches/800-busybox-default-pager.patch delete mode 100644 trunk/package/feeds/packages/pps-tools/Makefile delete mode 100644 trunk/package/feeds/packages/privoxy/Makefile delete mode 100644 trunk/package/feeds/packages/privoxy/files/privoxy.config delete mode 100644 trunk/package/feeds/packages/privoxy/files/privoxy.hotplug delete mode 100644 trunk/package/feeds/packages/privoxy/files/privoxy.init delete mode 100644 trunk/package/feeds/packages/procps/Makefile delete mode 100644 trunk/package/feeds/packages/procps/patches/010-make_fix.patch delete mode 100644 trunk/package/feeds/packages/procps/patches/020_hz_fix.patch delete mode 100644 trunk/package/feeds/packages/procps/patches/030-fix-string-problems.patch delete mode 100644 trunk/package/feeds/packages/prosody/Makefile delete mode 100644 trunk/package/feeds/packages/prosody/files/prosody.cfg.lua delete mode 100644 trunk/package/feeds/packages/prosody/files/prosody.init delete mode 100644 trunk/package/feeds/packages/prosody/patches/010-fix-randomseed.patch delete mode 100644 trunk/package/feeds/packages/protobuf-c/Makefile delete mode 100644 trunk/package/feeds/packages/protobuf/Makefile delete mode 100644 trunk/package/feeds/packages/protobuf/patches/001-mipseb-compile.patch delete mode 100644 trunk/package/feeds/packages/pthsem/Makefile delete mode 100644 trunk/package/feeds/packages/pthsem/patches/001-linux3x-fix.patch delete mode 100644 trunk/package/feeds/packages/pulseaudio/Makefile delete mode 100644 trunk/package/feeds/packages/pulseaudio/files/pulseaudio.init delete mode 100644 trunk/package/feeds/packages/pulseaudio/patches/001-no_default_64mb_alloc.patch delete mode 100644 trunk/package/feeds/packages/pv/Makefile delete mode 100644 trunk/package/feeds/packages/python-dns/Makefile delete mode 100644 trunk/package/feeds/packages/python-imglib/Makefile delete mode 100644 trunk/package/feeds/packages/python-imglib/patches/010-cross-compile.patch delete mode 100644 trunk/package/feeds/packages/python-imglib/patches/020-freetype-header-include.patch delete mode 100644 trunk/package/feeds/packages/python-mysql/Makefile delete mode 100644 trunk/package/feeds/packages/python-mysql/patches/010-threadsafe.patch delete mode 100644 trunk/package/feeds/packages/python-pip/Makefile delete mode 100644 trunk/package/feeds/packages/python-setuptools/Makefile delete mode 100644 trunk/package/feeds/packages/python-setuptools/patches/0001-remove-windows-support.patch delete mode 100644 trunk/package/feeds/packages/python/Makefile delete mode 100644 trunk/package/feeds/packages/python/files/config.site delete mode 100644 trunk/package/feeds/packages/python/files/python-package-codecs.mk delete mode 100644 trunk/package/feeds/packages/python/files/python-package-compiler.mk delete mode 100644 trunk/package/feeds/packages/python/files/python-package-ctypes.mk delete mode 100644 trunk/package/feeds/packages/python/files/python-package-db.mk delete mode 100644 trunk/package/feeds/packages/python/files/python-package-decimal.mk delete mode 100644 trunk/package/feeds/packages/python/files/python-package-distutils.mk delete mode 100644 trunk/package/feeds/packages/python/files/python-package-email.mk delete mode 100644 trunk/package/feeds/packages/python/files/python-package-gdbm.mk delete mode 100644 trunk/package/feeds/packages/python/files/python-package-logging.mk delete mode 100644 trunk/package/feeds/packages/python/files/python-package-multiprocessing.mk delete mode 100644 trunk/package/feeds/packages/python/files/python-package-ncurses.mk delete mode 100644 trunk/package/feeds/packages/python/files/python-package-openssl.mk delete mode 100644 trunk/package/feeds/packages/python/files/python-package-pydoc.mk delete mode 100644 trunk/package/feeds/packages/python/files/python-package-sqlite3.mk delete mode 100644 trunk/package/feeds/packages/python/files/python-package-unittest.mk delete mode 100644 trunk/package/feeds/packages/python/files/python-package-xml.mk delete mode 100644 trunk/package/feeds/packages/python/files/python-package.mk delete mode 100644 trunk/package/feeds/packages/python/patches/001-enable-zlib.patch delete mode 100644 trunk/package/feeds/packages/python/patches/002-do-not-add-include-dirs-when-cross-compiling.patch delete mode 100644 trunk/package/feeds/packages/python/patches/003-do-not-compile-tests-at-build.patch delete mode 100644 trunk/package/feeds/packages/python/patches/004-do-not-write-bytes-codes.patch delete mode 100644 trunk/package/feeds/packages/python/patches/005-fix-libffi-x86-64-configure.patch delete mode 100644 trunk/package/feeds/packages/python/patches/006-remove-debian-multiarch-support.patch delete mode 100644 trunk/package/feeds/packages/python/patches/007-distutils-do-not-adjust-path.patch delete mode 100644 trunk/package/feeds/packages/python/patches/008-distutils-use-python-sysroot.patch delete mode 100644 trunk/package/feeds/packages/python/patches/009-do-not-use-dblib_dir-when-cross-compiling.patch delete mode 100644 trunk/package/feeds/packages/python/patches/010-do-not-add-rt-lib-dirs-when-cross-compiling.patch delete mode 100644 trunk/package/feeds/packages/python3-bottle/Makefile delete mode 100644 trunk/package/feeds/packages/python3/Makefile delete mode 100644 trunk/package/feeds/packages/python3/files/config.site delete mode 100644 trunk/package/feeds/packages/python3/files/python3-package-asyncio.mk delete mode 100644 trunk/package/feeds/packages/python3/files/python3-package-codecs.mk delete mode 100644 trunk/package/feeds/packages/python3/files/python3-package-ctypes.mk delete mode 100644 trunk/package/feeds/packages/python3/files/python3-package-dbm.mk delete mode 100644 trunk/package/feeds/packages/python3/files/python3-package-decimal.mk delete mode 100644 trunk/package/feeds/packages/python3/files/python3-package-distutils.mk delete mode 100644 trunk/package/feeds/packages/python3/files/python3-package-email.mk delete mode 100644 trunk/package/feeds/packages/python3/files/python3-package-gdbm.mk delete mode 100644 trunk/package/feeds/packages/python3/files/python3-package-logging.mk delete mode 100644 trunk/package/feeds/packages/python3/files/python3-package-multiprocessing.mk delete mode 100644 trunk/package/feeds/packages/python3/files/python3-package-ncurses.mk delete mode 100644 trunk/package/feeds/packages/python3/files/python3-package-openssl.mk delete mode 100644 trunk/package/feeds/packages/python3/files/python3-package-pydoc.mk delete mode 100644 trunk/package/feeds/packages/python3/files/python3-package-sqlite3.mk delete mode 100644 trunk/package/feeds/packages/python3/files/python3-package-unittest.mk delete mode 100644 trunk/package/feeds/packages/python3/files/python3-package-xml.mk delete mode 100644 trunk/package/feeds/packages/python3/files/python3-package.mk delete mode 100644 trunk/package/feeds/packages/python3/patches/001-enable-zlib.patch delete mode 100644 trunk/package/feeds/packages/python3/patches/002-do-not-add-include-dirs-when-cross-compiling.patch delete mode 100644 trunk/package/feeds/packages/python3/patches/003-do-not-run-distutils-tests.patch delete mode 100644 trunk/package/feeds/packages/python3/patches/004-do-not-write-bytes-codes.patch delete mode 100644 trunk/package/feeds/packages/python3/patches/005-fix-libffi-x86-64-configure.patch delete mode 100644 trunk/package/feeds/packages/python3/patches/006-remove-debian-multiarch-support.patch delete mode 100644 trunk/package/feeds/packages/python3/patches/007-distutils-do-not-adjust-path.patch delete mode 100644 trunk/package/feeds/packages/python3/patches/010-do-not-add-rt-lib-dirs-when-cross-compiling.patch delete mode 100644 trunk/package/feeds/packages/radsecproxy/Makefile delete mode 100644 trunk/package/feeds/packages/radsecproxy/files/radsecproxy.init delete mode 100644 trunk/package/feeds/packages/radsecproxy/patches/100-missing-return.patch delete mode 100644 trunk/package/feeds/packages/radsecproxy/patches/200-logdest-on-foreground.patch delete mode 100644 trunk/package/feeds/packages/redsocks/Makefile delete mode 100644 trunk/package/feeds/packages/redsocks/files/redsocks.conf delete mode 100644 trunk/package/feeds/packages/redsocks/files/redsocks.init delete mode 100644 trunk/package/feeds/packages/redsocks/patches/0001-Fix-bug-in-DNS-resolution-results-were-ignored-since.patch delete mode 100644 trunk/package/feeds/packages/redsocks/patches/0002-inet_ntop-red_inet_ntop.patch delete mode 100644 trunk/package/feeds/packages/redsocks/patches/0003-Initial-support-for-UDP-TPROXY-redirection.-No-more-.patch delete mode 100644 trunk/package/feeds/packages/redsocks/patches/0004-Fix-transposition-of-memset-parameters.patch delete mode 100644 trunk/package/feeds/packages/redsocks/patches/0005-Fix-compilation-on-Ubuntu-10.04-LTS-and-hopefully-De.patch delete mode 100644 trunk/package/feeds/packages/redsocks/patches/0006-fix_default_config_location.patch delete mode 100644 trunk/package/feeds/packages/remserial/Makefile delete mode 100644 trunk/package/feeds/packages/rng-tools/Makefile delete mode 100644 trunk/package/feeds/packages/rng-tools/files/rngd.init delete mode 100644 trunk/package/feeds/packages/rpcd-mod-lxc/Makefile delete mode 100644 trunk/package/feeds/packages/rpcd-mod-lxc/files/CMakeLists.txt delete mode 100644 trunk/package/feeds/packages/rpcd-mod-lxc/files/lxc.c delete mode 100644 trunk/package/feeds/packages/rrdtool1/Makefile delete mode 100644 trunk/package/feeds/packages/rrdtool1/patches/001-no_ordering_cd_joke.patch delete mode 100644 trunk/package/feeds/packages/rrdtool1/patches/002-no_timezone.patch delete mode 100644 trunk/package/feeds/packages/rrdtool1/patches/020-x86-float-cast.patch delete mode 100644 trunk/package/feeds/packages/rrdtool1/patches/030-pod2man-stderr.patch delete mode 100644 trunk/package/feeds/packages/rsync/Config.in delete mode 100644 trunk/package/feeds/packages/rsync/Makefile delete mode 100644 trunk/package/feeds/packages/rsync/files/rsyncd.conf delete mode 100644 trunk/package/feeds/packages/rsync/files/rsyncd.init delete mode 100644 trunk/package/feeds/packages/rsync/patches/000-CVE-2014-9512.patch delete mode 100644 trunk/package/feeds/packages/rtklib/Makefile delete mode 100644 trunk/package/feeds/packages/rtl-sdr/Makefile delete mode 100644 trunk/package/feeds/packages/rtorrent/Makefile delete mode 100644 trunk/package/feeds/packages/rtorrent/patches/100-fix-cross_compile.patch delete mode 100644 trunk/package/feeds/packages/rtorrent/patches/120-fix-ncurses.patch delete mode 100644 trunk/package/feeds/packages/ruby/Makefile delete mode 100644 trunk/package/feeds/packages/ruby/files/ruby delete mode 100644 trunk/package/feeds/packages/ruby/patches/001-rdoc-remove_gems_dep.patch delete mode 100644 trunk/package/feeds/packages/ruby/ruby_find_pkgsdeps delete mode 100644 trunk/package/feeds/packages/ruby/ruby_missingfiles delete mode 100644 trunk/package/feeds/packages/sbc/Makefile delete mode 100644 trunk/package/feeds/packages/screen/Makefile delete mode 100644 trunk/package/feeds/packages/screen/files/etc/screenrc delete mode 100644 trunk/package/feeds/packages/screen/patches/100-cross_compile_fix.patch delete mode 100644 trunk/package/feeds/packages/screen/patches/110-do_not_add_srcdir_to_include_path.patch delete mode 100644 trunk/package/feeds/packages/seafile-ccnet/Makefile delete mode 100644 trunk/package/feeds/packages/seafile-seahub/Makefile delete mode 100644 trunk/package/feeds/packages/seafile-seahub/patches/010-default-config.patch delete mode 100644 trunk/package/feeds/packages/seafile-server/Makefile delete mode 100755 trunk/package/feeds/packages/seafile-server/files/seafile.init delete mode 100644 trunk/package/feeds/packages/seafile-server/patches/020-script-patches.patch delete mode 100644 trunk/package/feeds/packages/seafile-server/patches/030-pidfiles-in-same-directory.patch delete mode 100644 trunk/package/feeds/packages/seafile-server/patches/040-seafile-admin.patch delete mode 100644 trunk/package/feeds/packages/ser2net/Makefile delete mode 100644 trunk/package/feeds/packages/ser2net/patches/001-fix_TIOCSRS485_undeclared_error.patch delete mode 100644 trunk/package/feeds/packages/serialconsole/Makefile delete mode 100644 trunk/package/feeds/packages/shadow/Makefile delete mode 100644 trunk/package/feeds/packages/shadow/patches/001-busybox_ash.patch delete mode 100644 trunk/package/feeds/packages/shadow/patches/002-disable-ruser-lookup.patch delete mode 100644 trunk/package/feeds/packages/shadow/patches/003-fix-disabling-subids.patch delete mode 100644 trunk/package/feeds/packages/shadowsocks-client/Makefile delete mode 100644 trunk/package/feeds/packages/shadowsocks-client/files/sslocal.config delete mode 100755 trunk/package/feeds/packages/shadowsocks-client/files/sslocal.init delete mode 100644 trunk/package/feeds/packages/shairplay/Makefile delete mode 100644 trunk/package/feeds/packages/shairplay/files/shairplay.config delete mode 100644 trunk/package/feeds/packages/shairplay/files/shairplay.init delete mode 100644 trunk/package/feeds/packages/shairplay/patches/001-key_file_dir.patch delete mode 100644 trunk/package/feeds/packages/shairplay/patches/002-libavahi-compat-dnssd.patch delete mode 100644 trunk/package/feeds/packages/shairplay/patches/003-fix_big-endian.patch delete mode 100644 trunk/package/feeds/packages/shairport-sync/Makefile delete mode 100644 trunk/package/feeds/packages/shairport-sync/files/shairport-sync.config delete mode 100755 trunk/package/feeds/packages/shairport-sync/files/shairport-sync.init delete mode 100644 trunk/package/feeds/packages/shairport/Makefile delete mode 100644 trunk/package/feeds/packages/shairport/files/shairport.config delete mode 100644 trunk/package/feeds/packages/shairport/files/shairport.init delete mode 100644 trunk/package/feeds/packages/shairport/patches/001-disable_pulseaudio.patch delete mode 100644 trunk/package/feeds/packages/shine/Makefile delete mode 100644 trunk/package/feeds/packages/simplejson/Makefile delete mode 100644 trunk/package/feeds/packages/sispmctl/Makefile delete mode 100644 trunk/package/feeds/packages/sispmctl/patches/001-fix-includes.patch delete mode 100644 trunk/package/feeds/packages/smartmontools/Makefile delete mode 100644 trunk/package/feeds/packages/smartmontools/files/smartd.conf delete mode 100644 trunk/package/feeds/packages/smartmontools/files/smartd.init delete mode 100644 trunk/package/feeds/packages/smartsnmpd/Makefile delete mode 100644 trunk/package/feeds/packages/smartsnmpd/files/mibs/dummy.lua delete mode 100644 trunk/package/feeds/packages/smartsnmpd/files/mibs/interfaces.lua delete mode 100644 trunk/package/feeds/packages/smartsnmpd/files/mibs/system.lua delete mode 100644 trunk/package/feeds/packages/smartsnmpd/files/smartsnmpd.conf delete mode 100755 trunk/package/feeds/packages/smartsnmpd/files/smartsnmpd.init delete mode 100644 trunk/package/feeds/packages/smstools3/Makefile delete mode 100644 trunk/package/feeds/packages/smstools3/files/smstools3.conf delete mode 100644 trunk/package/feeds/packages/smstools3/files/smstools3.init delete mode 100644 trunk/package/feeds/packages/smstools3/patches/001-smsd.patch delete mode 100644 trunk/package/feeds/packages/smstools3/patches/002-Makefile.patch delete mode 100644 trunk/package/feeds/packages/snort/Makefile delete mode 100644 trunk/package/feeds/packages/snort/files/snort.config delete mode 100644 trunk/package/feeds/packages/snort/files/snort.init delete mode 100644 trunk/package/feeds/packages/snort/patches/001-compile.patch delete mode 100644 trunk/package/feeds/packages/socat/Makefile delete mode 100644 trunk/package/feeds/packages/socat/files/socat.config delete mode 100644 trunk/package/feeds/packages/socat/files/socat.init delete mode 100644 trunk/package/feeds/packages/sockread/Makefile delete mode 100644 trunk/package/feeds/packages/sockread/src/Makefile delete mode 100644 trunk/package/feeds/packages/sockread/src/main.c delete mode 100644 trunk/package/feeds/packages/softflowd/Makefile delete mode 100644 trunk/package/feeds/packages/softflowd/files/softflowd.config delete mode 100755 trunk/package/feeds/packages/softflowd/files/softflowd.init delete mode 100644 trunk/package/feeds/packages/spawn-fcgi/Makefile delete mode 100644 trunk/package/feeds/packages/speex/Makefile delete mode 100644 trunk/package/feeds/packages/sqlite3/Makefile delete mode 100644 trunk/package/feeds/packages/sqm-scripts/Makefile delete mode 100644 trunk/package/feeds/packages/sqm-scripts/files/etc/config/sqm delete mode 100755 trunk/package/feeds/packages/sqm-scripts/files/etc/hotplug.d/iface/11-sqm delete mode 100755 trunk/package/feeds/packages/sqm-scripts/files/etc/init.d/sqm delete mode 100644 trunk/package/feeds/packages/sqm-scripts/files/usr/lib/sqm/functions.sh delete mode 100755 trunk/package/feeds/packages/sqm-scripts/files/usr/lib/sqm/run.sh delete mode 100755 trunk/package/feeds/packages/sqm-scripts/files/usr/lib/sqm/simple.qos delete mode 100644 trunk/package/feeds/packages/sqm-scripts/files/usr/lib/sqm/simple.qos.help delete mode 100755 trunk/package/feeds/packages/sqm-scripts/files/usr/lib/sqm/simple_pppoe.qos delete mode 100644 trunk/package/feeds/packages/sqm-scripts/files/usr/lib/sqm/simple_pppoe.qos.help delete mode 100755 trunk/package/feeds/packages/sqm-scripts/files/usr/lib/sqm/simplest.qos delete mode 100644 trunk/package/feeds/packages/sqm-scripts/files/usr/lib/sqm/simplest.qos.help delete mode 100755 trunk/package/feeds/packages/sqm-scripts/files/usr/lib/sqm/stop.sh delete mode 100644 trunk/package/feeds/packages/squid/Makefile delete mode 100644 trunk/package/feeds/packages/squid/files/squid.conf delete mode 100644 trunk/package/feeds/packages/squid/files/squid.config delete mode 100644 trunk/package/feeds/packages/squid/files/squid.init delete mode 100644 trunk/package/feeds/packages/squid/patches/001-cross_compile.patch delete mode 100644 trunk/package/feeds/packages/squid/patches/100-mime.patch delete mode 100644 trunk/package/feeds/packages/sshfs/Makefile delete mode 100644 trunk/package/feeds/packages/sshtunnel/Makefile delete mode 100644 trunk/package/feeds/packages/sshtunnel/files/sshtunnel.init delete mode 100644 trunk/package/feeds/packages/sshtunnel/files/sshtunnel.sh delete mode 100644 trunk/package/feeds/packages/sshtunnel/files/uci_sshtunnel delete mode 100644 trunk/package/feeds/packages/sslh/Makefile delete mode 100644 trunk/package/feeds/packages/sslh/files/sslh.config delete mode 100644 trunk/package/feeds/packages/sslh/files/sslh.init delete mode 100644 trunk/package/feeds/packages/sslh/patches/001-no_sslh_select.patch delete mode 100644 trunk/package/feeds/packages/ssmtp/Makefile delete mode 100644 trunk/package/feeds/packages/ssmtp/patches/002-fix_pointer.patch delete mode 100644 trunk/package/feeds/packages/sstp-client/Makefile delete mode 100644 trunk/package/feeds/packages/sstp-client/files/etc/ppp/chap-secrets delete mode 100644 trunk/package/feeds/packages/sstp-client/files/etc/ppp/peers/peer-sstp-example-nopty.txt delete mode 100644 trunk/package/feeds/packages/sstp-client/files/etc/ppp/peers/peer-sstp-example.txt delete mode 100644 trunk/package/feeds/packages/stm32flash/Makefile delete mode 100644 trunk/package/feeds/packages/stoken/Makefile delete mode 100644 trunk/package/feeds/packages/strongswan/Config.in delete mode 100644 trunk/package/feeds/packages/strongswan/Makefile delete mode 100644 trunk/package/feeds/packages/strongswan/files/ipsec.init delete mode 100644 trunk/package/feeds/packages/strongswan/files/ipsec.secrets delete mode 100644 trunk/package/feeds/packages/strongswan/files/ipsec.user delete mode 100644 trunk/package/feeds/packages/strongswan/patches/201-kmodloader.patch delete mode 100644 trunk/package/feeds/packages/strongswan/patches/203-uci.patch delete mode 100644 trunk/package/feeds/packages/strongswan/patches/300-include-ipsec-user-script.patch delete mode 100644 trunk/package/feeds/packages/stunnel/Makefile delete mode 100644 trunk/package/feeds/packages/stunnel/files/stunnel.conf delete mode 100644 trunk/package/feeds/packages/stunnel/files/stunnel.init delete mode 100644 trunk/package/feeds/packages/stunnel/patches/010_fix_getnameinfo.patch delete mode 100644 trunk/package/feeds/packages/stunnel/patches/011_disable_ssp_linking.patch delete mode 100644 trunk/package/feeds/packages/sudo/Makefile delete mode 100755 trunk/package/feeds/packages/sudo/files/sudo.init delete mode 100644 trunk/package/feeds/packages/sudo/patches/010-cross-compile-fixes.patch delete mode 100644 trunk/package/feeds/packages/sudo/patches/020-no-owner-change.patch delete mode 100644 trunk/package/feeds/packages/sumo/Makefile delete mode 100644 trunk/package/feeds/packages/sumo/files/sumo.sh delete mode 100644 trunk/package/feeds/packages/sumo/patches/100-configure_fix.patch delete mode 100644 trunk/package/feeds/packages/svox/Makefile delete mode 100644 trunk/package/feeds/packages/svox/patches/0001-autoconf-building-of-library-using-libtool.patch delete mode 100644 trunk/package/feeds/packages/svox/patches/0002-gitignore-for-autotools-files.patch delete mode 100644 trunk/package/feeds/packages/svox/patches/0003-pico2wave-Convert-text-to-.wav-using-svox-text-to-sp.patch delete mode 100644 trunk/package/feeds/packages/svox/patches/0004-add-header-files.patch delete mode 100644 trunk/package/feeds/packages/svox/patches/0005-Install-lang-files.patch delete mode 100644 trunk/package/feeds/packages/svox/patches/0006-Set-picolangdir.patch delete mode 100644 trunk/package/feeds/packages/svox/patches/0008-64bits.patch delete mode 100644 trunk/package/feeds/packages/svox/patches/0009-Fix-link-order.patch delete mode 100644 trunk/package/feeds/packages/svox/patches/0010-platform.patch delete mode 100644 trunk/package/feeds/packages/svox/patches/0011-subdir.patch delete mode 100644 trunk/package/feeds/packages/svox/patches/0012-no-headers.patch delete mode 100644 trunk/package/feeds/packages/tar/Makefile delete mode 100644 trunk/package/feeds/packages/taskwarrior/Makefile delete mode 100644 trunk/package/feeds/packages/tayga/Makefile delete mode 100755 trunk/package/feeds/packages/tayga/files/tayga-proto.sh delete mode 100644 trunk/package/feeds/packages/tayga/files/tayga.hotplug delete mode 100644 trunk/package/feeds/packages/tayga/files/tayga.sh delete mode 100644 trunk/package/feeds/packages/tayga/patches/001-configure_unset_CFLAGS.patch delete mode 100644 trunk/package/feeds/packages/tayga/patches/002-bigendian_wrong_checksum.patch delete mode 100644 trunk/package/feeds/packages/tcp_wrappers/Makefile delete mode 100644 trunk/package/feeds/packages/tcp_wrappers/patches/001-debian_subset.patch delete mode 100644 trunk/package/feeds/packages/tcp_wrappers/patches/002-opt_cflags.patch delete mode 100644 trunk/package/feeds/packages/tcp_wrappers/patches/003-scaffold_malloc.patch delete mode 100644 trunk/package/feeds/packages/tcp_wrappers/patches/004-ipv4_prefix.patch delete mode 100644 trunk/package/feeds/packages/tcpproxy/Makefile delete mode 100644 trunk/package/feeds/packages/tcpproxy/files/tcpproxy.config delete mode 100644 trunk/package/feeds/packages/tcpproxy/files/tcpproxy.init delete mode 100644 trunk/package/feeds/packages/tcpproxy/patches/001-ragel_generated.patch delete mode 100644 trunk/package/feeds/packages/tcsh/Makefile delete mode 100644 trunk/package/feeds/packages/tdb/Makefile delete mode 100644 trunk/package/feeds/packages/tdb/patches/001-printf-fix.patch delete mode 100644 trunk/package/feeds/packages/tgt/Makefile delete mode 100644 trunk/package/feeds/packages/tgt/files/etc/config/tgt delete mode 100755 trunk/package/feeds/packages/tgt/files/etc/init.d/tgt delete mode 100644 trunk/package/feeds/packages/tgt/patches/010-fallocate.patch delete mode 100644 trunk/package/feeds/packages/tgt/patches/020-usr_Makefile.patch delete mode 100644 trunk/package/feeds/packages/tgt/patches/030-Makefile.patch delete mode 100644 trunk/package/feeds/packages/tiff/Makefile delete mode 100644 trunk/package/feeds/packages/tiff/patches/001-autoconf-compat.patch delete mode 100644 trunk/package/feeds/packages/tiff/patches/010-CVE-2012-4564.patch delete mode 100644 trunk/package/feeds/packages/tiff/patches/011-CVE-2013-1960.patch delete mode 100644 trunk/package/feeds/packages/tiff/patches/012-CVE-2013-1961.patch delete mode 100644 trunk/package/feeds/packages/tiff/patches/013-CVE-2013-4231.patch delete mode 100644 trunk/package/feeds/packages/tiff/patches/014-CVE-2013-4232.patch delete mode 100644 trunk/package/feeds/packages/tiff/patches/015-CVE-2013-4244.patch delete mode 100644 trunk/package/feeds/packages/tiff/patches/016-CVE-2013-4243.patch delete mode 100644 trunk/package/feeds/packages/tiff/patches/017-CVE-2014-9330.patch delete mode 100644 trunk/package/feeds/packages/tinc/Makefile delete mode 100644 trunk/package/feeds/packages/tinc/files/tinc.config delete mode 100644 trunk/package/feeds/packages/tinc/files/tinc.init delete mode 100644 trunk/package/feeds/packages/tinc/files/tinc.upgrade delete mode 100644 trunk/package/feeds/packages/tinycdb/Makefile delete mode 100644 trunk/package/feeds/packages/tinycdb/patches/100-Makefile.patch delete mode 100644 trunk/package/feeds/packages/tinyproxy/Makefile delete mode 100644 trunk/package/feeds/packages/tinyproxy/files/tinyproxy.config delete mode 100644 trunk/package/feeds/packages/tinyproxy/files/tinyproxy.init delete mode 100644 trunk/package/feeds/packages/tinyproxy/patches/010-no-docs-and-tests.patch delete mode 100644 trunk/package/feeds/packages/tinyproxy/patches/020-config_and_pid-path.patch delete mode 100644 trunk/package/feeds/packages/tinyproxy/patches/030-allow_bind_in_transparent_mode.patch delete mode 100644 trunk/package/feeds/packages/tinyproxy/patches/120-fix_INET6.patch delete mode 100644 trunk/package/feeds/packages/tinyproxy/patches/CVE-2012-3505-tiniproxy-randomized-hashmaps.patch delete mode 100644 trunk/package/feeds/packages/tinyproxy/patches/CVE-2012-3505-tinyproxy-limit-headers.patch delete mode 100644 trunk/package/feeds/packages/tmux/Makefile delete mode 100644 trunk/package/feeds/packages/tmux/patches/100-b64_ntop-conflict_compath_h.patch delete mode 100644 trunk/package/feeds/packages/tmux/patches/101-b64_ntop-conflict_compat_b64_ntop_c.patch delete mode 100644 trunk/package/feeds/packages/tmux/patches/102-b64_ntop-conflict_tty_c.patch delete mode 100644 trunk/package/feeds/packages/tmux/patches/200-usr-local.patch delete mode 100644 trunk/package/feeds/packages/tracertools/Makefile delete mode 100644 trunk/package/feeds/packages/transmission/Makefile delete mode 100644 trunk/package/feeds/packages/transmission/files/transmission.config delete mode 100644 trunk/package/feeds/packages/transmission/files/transmission.init delete mode 100644 trunk/package/feeds/packages/transmission/patches/010_libtransmission_fallocate64_eglibc.patch delete mode 100644 trunk/package/feeds/packages/transmission/patches/020-use-internal-miniupnp.patch delete mode 100644 trunk/package/feeds/packages/transmission/patches/030-fix-musl-build.patch delete mode 100644 trunk/package/feeds/packages/triggerhappy/Makefile delete mode 100644 trunk/package/feeds/packages/triggerhappy/files/triggerhappy-example.conf delete mode 100644 trunk/package/feeds/packages/triggerhappy/files/triggerhappy.hotplug delete mode 100644 trunk/package/feeds/packages/triggerhappy/files/triggerhappy.init delete mode 100644 trunk/package/feeds/packages/triggerhappy/patches/100-fix-LINUX_INPUT_H.patch delete mode 100644 trunk/package/feeds/packages/uanytun/Makefile delete mode 100644 trunk/package/feeds/packages/uanytun/files/uanytun-nocrypt.config delete mode 100644 trunk/package/feeds/packages/uanytun/files/uanytun.config delete mode 100644 trunk/package/feeds/packages/uanytun/files/uanytun.init delete mode 100644 trunk/package/feeds/packages/udpxy/Makefile delete mode 100644 trunk/package/feeds/packages/udpxy/files/udpxy.conf delete mode 100644 trunk/package/feeds/packages/udpxy/files/udpxy.init delete mode 100644 trunk/package/feeds/packages/udpxy/patches/0001-fix-build-on-Mac-OS-X.patch delete mode 100644 trunk/package/feeds/packages/ulogd/Makefile delete mode 100644 trunk/package/feeds/packages/ulogd/files/ulogd.init delete mode 100644 trunk/package/feeds/packages/ulogd/patches/010-Fix-JSON-output-on-big-endian-systems.patch delete mode 100644 trunk/package/feeds/packages/ulogd/patches/020-include-keep-a-copy-of-linux-netfilter_ipv4-ipt_ULOG.patch delete mode 100644 trunk/package/feeds/packages/umurmur/Makefile delete mode 100644 trunk/package/feeds/packages/unbound/Makefile delete mode 100644 trunk/package/feeds/packages/unbound/files/named.cache delete mode 100644 trunk/package/feeds/packages/unbound/files/root.key delete mode 100755 trunk/package/feeds/packages/unbound/files/unbound.init delete mode 100644 trunk/package/feeds/packages/unbound/patches/001-conf.patch delete mode 100644 trunk/package/feeds/packages/unixodbc/Makefile delete mode 100644 trunk/package/feeds/packages/unixodbc/files/unixodbc_conf.h delete mode 100644 trunk/package/feeds/packages/unrar/Makefile delete mode 100644 trunk/package/feeds/packages/unrar/patches/100-makefile_fixes.patch delete mode 100644 trunk/package/feeds/packages/unzip/Makefile delete mode 100644 trunk/package/feeds/packages/unzip/patches/001-CVE-2014-8139-crc-overflow.patch delete mode 100644 trunk/package/feeds/packages/unzip/patches/002-CVE-2014-8140-test-compr-eb.patch delete mode 100644 trunk/package/feeds/packages/unzip/patches/003-CVE-2014-8141-getzip64data.patch delete mode 100644 trunk/package/feeds/packages/unzip/patches/004-CVE-2014-9636-test-compr-eb.patch delete mode 100644 trunk/package/feeds/packages/upmpdcli/Makefile delete mode 100644 trunk/package/feeds/packages/upmpdcli/files/upmpdcli.config delete mode 100644 trunk/package/feeds/packages/upmpdcli/files/upmpdcli.init delete mode 100644 trunk/package/feeds/packages/upmpdcli/files/upmpdcli.png delete mode 100644 trunk/package/feeds/packages/upmpdcli/patches/010-Add_icon_config.patch delete mode 100644 trunk/package/feeds/packages/usbmuxd/Makefile delete mode 100644 trunk/package/feeds/packages/uuid/Makefile delete mode 100644 trunk/package/feeds/packages/uvcdynctrl/Makefile delete mode 100644 trunk/package/feeds/packages/vala/Makefile delete mode 100644 trunk/package/feeds/packages/vim/Makefile delete mode 100644 trunk/package/feeds/packages/vim/files/vimrc delete mode 100644 trunk/package/feeds/packages/vim/files/vimrc.full delete mode 100644 trunk/package/feeds/packages/vim/patches/001-compile.patch delete mode 100644 trunk/package/feeds/packages/vips/Makefile delete mode 100644 trunk/package/feeds/packages/vips/patches/001-no_cpp.patch delete mode 100644 trunk/package/feeds/packages/vnstat/Makefile delete mode 100644 trunk/package/feeds/packages/vnstat/files/vnstat.config delete mode 100644 trunk/package/feeds/packages/vnstat/files/vnstat.defaults delete mode 100644 trunk/package/feeds/packages/vnstat/files/vnstat.init delete mode 100644 trunk/package/feeds/packages/vnstat/patches/001-conf.patch delete mode 100644 trunk/package/feeds/packages/vnstat/patches/002-no_install_strip.patch delete mode 100644 trunk/package/feeds/packages/vnstat/patches/003-no_install_uname.patch delete mode 100644 trunk/package/feeds/packages/vpnc-scripts/Makefile delete mode 100755 trunk/package/feeds/packages/vpnc-scripts/files/vpnc-script delete mode 100644 trunk/package/feeds/packages/vpnc/Config.in delete mode 100644 trunk/package/feeds/packages/vpnc/Makefile delete mode 100644 trunk/package/feeds/packages/vpnc/README delete mode 100755 trunk/package/feeds/packages/vpnc/files/vpnc.sh delete mode 100644 trunk/package/feeds/packages/vpnc/files/vpnc.upgrade delete mode 100644 trunk/package/feeds/packages/vpnc/patches/001-cross.patch delete mode 100644 trunk/package/feeds/packages/vsftpd/Makefile delete mode 100644 trunk/package/feeds/packages/vsftpd/files/vsftpd.conf delete mode 100644 trunk/package/feeds/packages/vsftpd/files/vsftpd.init delete mode 100644 trunk/package/feeds/packages/vsftpd/patches/001-destdir.patch delete mode 100644 trunk/package/feeds/packages/vsftpd/patches/002-find_libs.patch delete mode 100644 trunk/package/feeds/packages/vsftpd/patches/003-chroot.patch delete mode 100644 trunk/package/feeds/packages/vsftpd/patches/004-disable-capabilities.patch delete mode 100644 trunk/package/feeds/packages/vsftpd/patches/005-disable-pam.patch delete mode 100644 trunk/package/feeds/packages/watchcat/Makefile delete mode 100644 trunk/package/feeds/packages/watchcat/files/initd_watchcat delete mode 100644 trunk/package/feeds/packages/watchcat/files/uci_defaults_watchcat delete mode 100644 trunk/package/feeds/packages/watchcat/files/watchcat.sh delete mode 100644 trunk/package/feeds/packages/wavemon/Makefile delete mode 100644 trunk/package/feeds/packages/wget/Makefile delete mode 100644 trunk/package/feeds/packages/wifitoggle/Makefile delete mode 100755 trunk/package/feeds/packages/wifitoggle/files/wifitoggle.config delete mode 100755 trunk/package/feeds/packages/wifitoggle/files/wifitoggle.hotplug delete mode 100644 trunk/package/feeds/packages/wshaper/Makefile delete mode 100644 trunk/package/feeds/packages/wshaper/files/wshaper.config delete mode 100755 trunk/package/feeds/packages/wshaper/files/wshaper.htb delete mode 100644 trunk/package/feeds/packages/wshaper/files/wshaper.iface delete mode 100644 trunk/package/feeds/packages/wshaper/files/wshaper.init delete mode 100644 trunk/package/feeds/packages/xinetd/Makefile delete mode 100644 trunk/package/feeds/packages/xinetd/files/xinetd.conf delete mode 100644 trunk/package/feeds/packages/xinetd/files/xinetd.init delete mode 100644 trunk/package/feeds/packages/xinetd/patches/001-ar.patch delete mode 100644 trunk/package/feeds/packages/xinetd/patches/002-destdir.patch delete mode 100644 trunk/package/feeds/packages/xinetd/patches/003-rpc_fix.patch delete mode 100644 trunk/package/feeds/packages/xinetd/patches/004-ident-bind.patch delete mode 100644 trunk/package/feeds/packages/xl2tpd/Makefile delete mode 100644 trunk/package/feeds/packages/xl2tpd/README delete mode 100644 trunk/package/feeds/packages/xl2tpd/files/l2tp.sh delete mode 100644 trunk/package/feeds/packages/xl2tpd/files/options.xl2tpd delete mode 100644 trunk/package/feeds/packages/xl2tpd/files/xl2tp-secrets delete mode 100644 trunk/package/feeds/packages/xl2tpd/files/xl2tpd.conf delete mode 100644 trunk/package/feeds/packages/xl2tpd/files/xl2tpd.conf.sample delete mode 100644 trunk/package/feeds/packages/xl2tpd/files/xl2tpd.init delete mode 100644 trunk/package/feeds/packages/xl2tpd/patches/100-makefile_opt_flags.patch delete mode 100644 trunk/package/feeds/packages/xl2tpd/patches/110-makefile_dont_build_pfc.patch delete mode 100644 trunk/package/feeds/packages/xl2tpd/patches/120-no-bsd-signal-in-musl.patch delete mode 100644 trunk/package/feeds/packages/xmlrpc-c/Makefile delete mode 100644 trunk/package/feeds/packages/xmlrpc-c/patches/001-config.mk.in.patch delete mode 100644 trunk/package/feeds/packages/xmlrpc-c/patches/002-automake-compat.patch delete mode 100644 trunk/package/feeds/packages/xupnpd/Makefile delete mode 100644 trunk/package/feeds/packages/xupnpd/files/xupnpd.init delete mode 100644 trunk/package/feeds/packages/xupnpd/patches/100-default_config.patch delete mode 100644 trunk/package/feeds/packages/xupnpd/patches/101-root_dir_param.patch delete mode 100644 trunk/package/feeds/packages/zabbix/Makefile delete mode 100644 trunk/package/feeds/packages/zabbix/files/mac80211 delete mode 100644 trunk/package/feeds/packages/zabbix/files/network delete mode 100644 trunk/package/feeds/packages/zabbix/files/wifi delete mode 100644 trunk/package/feeds/packages/zabbix/files/zabbix_agentd.init delete mode 100644 trunk/package/feeds/packages/zabbix/files/zabbix_helper_mac80211.c delete mode 100644 trunk/package/feeds/packages/zabbix/patches/002-fix-res_send-on-uclibc.patch delete mode 100644 trunk/package/feeds/packages/zabbix/patches/002-uclibc_loadavg.patch delete mode 100644 trunk/package/feeds/packages/zabbix/patches/010-change-agentd-config.patch delete mode 100644 trunk/package/feeds/packages/zile/Makefile delete mode 100644 trunk/package/feeds/packages/zip/Makefile delete mode 100644 trunk/package/feeds/packages/znc/Makefile delete mode 100644 trunk/package/feeds/packages/znc/files/znc.conf delete mode 100644 trunk/package/feeds/packages/znc/files/znc.init delete mode 100644 trunk/package/feeds/packages/znc/patches/001-move_rootcheck_after_config.patch delete mode 100644 trunk/package/feeds/packages/znc/patches/003-Reduce_rebuild_time.patch delete mode 100644 trunk/package/feeds/packages/znc/patches/004-restore_droproot.patch delete mode 100644 trunk/package/feeds/packages/zoneinfo/Makefile delete mode 100644 trunk/package/feeds/packages/zsh/Makefile diff --git a/trunk/package/feeds/packages/acl/Makefile b/trunk/package/feeds/packages/acl/Makefile deleted file mode 100644 index 8f3ea7dc..00000000 --- a/trunk/package/feeds/packages/acl/Makefile +++ /dev/null @@ -1,88 +0,0 @@ -# -# Copyright (C) 2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=acl -PKG_REV:=62ce6354ef5a8eb5644908748f79c8cd18474d4c -PKG_VERSION:=20140812 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=git://git.sv.gnu.org/acl.git -PKG_SOURCE_PROTO:=git -PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=$(PKG_REV) -PKG_MAINTAINER:=Maxim Storchak - -PKG_LICENSE:=LGPL-2.1 GPL-2.0 -PKG_LICENSE_FILES:=doc/COPYING doc/COPYING.LGPL - -PKG_INSTALL:=1 -PKG_FIXUP:=autoreconf - -include $(INCLUDE_DIR)/package.mk - -define Package/acl/Default - TITLE:=Access control list (ACL) manipulation - URL:=http://savannah.nongnu.org/projects/acl - SUBMENU:=Filesystem -endef - -define Package/acl/Default/description - Access control list support -endef - -define Package/acl -$(call Package/acl/Default) - SECTION:=utils - CATEGORY:=Utilities - TITLE+=utils - DEPENDS:=+libacl -endef - -define Package/libacl -$(call Package/acl/Default) - SECTION:=libs - CATEGORY:=Libraries - TITLE+=library - DEPENDS:=+libattr -endef - -define Package/libacl/description -$(call Package/acl/Default/description) - This package provides libacl -endef - -define Package/acl/description -$(call Package/acl/Default/description) - This package provides ACL manipulation utilities - - chacl - - getfacl - - setfacl -endef - -CONFIGURE_ARGS += --enable-static --enable-shared - -define Package/acl/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ -endef - -define Package/libacl/install - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/ -endef - -define Build/InstallDev - mkdir -p $(1)/usr/include - mkdir -p $(1)/usr/lib/pkgconfig - $(CP) -r $(PKG_INSTALL_DIR)/usr/{include,lib} $(1)/usr/ -endef - -$(eval $(call BuildPackage,acl)) -$(eval $(call BuildPackage,libacl)) diff --git a/trunk/package/feeds/packages/acl/patches/100-no-gettext_configure.patch b/trunk/package/feeds/packages/acl/patches/100-no-gettext_configure.patch deleted file mode 100644 index e7b419e7..00000000 --- a/trunk/package/feeds/packages/acl/patches/100-no-gettext_configure.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 2182e81..4836b3d 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -31,9 +31,6 @@ AC_FUNC_GCC_VISIBILITY - AM_PROG_AR - LT_INIT - --AM_GNU_GETTEXT_VERSION([0.18.2]) --AM_GNU_GETTEXT([external]) -- - AC_ARG_ENABLE([debug], - [AS_HELP_STRING([--enable-debug], [Enable extra debugging])]) - AS_IF([test "x$enable_debug" = "xyes"], -@@ -61,6 +58,5 @@ AC_CONFIG_COMMANDS([include/sys], - AC_CONFIG_FILES([ - libacl.pc - Makefile -- po/Makefile.in - ]) - AC_OUTPUT diff --git a/trunk/package/feeds/packages/acl/patches/101-no-gettext_autogen.patch b/trunk/package/feeds/packages/acl/patches/101-no-gettext_autogen.patch deleted file mode 100644 index 1fad67a1..00000000 --- a/trunk/package/feeds/packages/acl/patches/101-no-gettext_autogen.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff --git a/autogen.sh b/autogen.sh -index a98a3c5..982aff1 100755 ---- a/autogen.sh -+++ b/autogen.sh -@@ -1,4 +1,2 @@ - #!/bin/sh -ex --po/update-potfiles --autopoint --force - exec autoreconf -f -i diff --git a/trunk/package/feeds/packages/acl/patches/102-no-gettext_Makefile.patch b/trunk/package/feeds/packages/acl/patches/102-no-gettext_Makefile.patch deleted file mode 100644 index d7e7377a..00000000 --- a/trunk/package/feeds/packages/acl/patches/102-no-gettext_Makefile.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Makefile.am b/Makefile.am -index 47d2a4e..d02ee91 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -3,8 +3,6 @@ ACLOCAL_AMFLAGS = -I m4 - EXTRA_DIST = \ - exports - --SUBDIRS = po -- - AM_CPPFLAGS = \ - -I$(top_builddir)/include \ - -I$(top_srcdir)/include \ diff --git a/trunk/package/feeds/packages/aiccu/Makefile b/trunk/package/feeds/packages/aiccu/Makefile deleted file mode 100644 index 50839f35..00000000 --- a/trunk/package/feeds/packages/aiccu/Makefile +++ /dev/null @@ -1,56 +0,0 @@ -# -# Copyright (C) 2006-2012 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=aiccu -PKG_VERSION:=20070115 -PKG_RELEASE:=12 - -PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://www.sixxs.net/archive/sixxs/aiccu/unix -PKG_MD5SUM:=c9bcc83644ed788e22a7c3f3d4021350 -PKG_LICENSE:=BSD-3-Clause -PKG_LICENSE_FILES:=doc/LICENSE - -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) - -include $(INCLUDE_DIR)/package.mk - -define Package/aiccu - SECTION:=net - CATEGORY:=Network - DEPENDS:=+libpthread +ip +kmod-sit +kmod-tun - TITLE:=SixXS Automatic IPv6 Connectivity Client Utility - URL:=http://www.sixxs.net/tools/aiccu/ - MAINTAINER:=Ondrej Caletka -endef - -define Build/Configure - $(SED) "s,strip,/bin/true," $(PKG_BUILD_DIR)/unix-console/Makefile -endef - -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - CC="$(TARGET_CC)" OS_NAME="Linux" OS_VERSION="$(LINUX_VERSION)" \ - EXTRA_CFLAGS="$(TARGET_CFLAGS)" \ - EXTRA_LDFLAGS="$(TARGET_LDFLAGS) -pthread" \ - DEBUG=0 -endef - -define Package/aiccu/conffiles -/etc/config/aiccu -endef - -define Package/aiccu/install - $(INSTALL_DIR) $(1)/usr/sbin $(1)/lib/netifd/proto $(1)/etc/hotplug.d/ntp - $(INSTALL_BIN) $(PKG_BUILD_DIR)/unix-console/$(PKG_NAME) $(1)/usr/sbin/ - $(INSTALL_BIN) ./files/aiccu.sh $(1)/lib/netifd/proto/aiccu.sh - $(INSTALL_DATA) ./files/aiccu.hotplug $(1)/etc/hotplug.d/ntp/10-aiccu -endef - -$(eval $(call BuildPackage,aiccu)) diff --git a/trunk/package/feeds/packages/aiccu/files/aiccu.hotplug b/trunk/package/feeds/packages/aiccu/files/aiccu.hotplug deleted file mode 100644 index b5213717..00000000 --- a/trunk/package/feeds/packages/aiccu/files/aiccu.hotplug +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -NTPSTRATUMFILE="/var/run/aiccu_ntp_stratum" -echo $stratum > "$NTPSTRATUMFILE" diff --git a/trunk/package/feeds/packages/aiccu/files/aiccu.sh b/trunk/package/feeds/packages/aiccu/files/aiccu.sh deleted file mode 100755 index 584574b7..00000000 --- a/trunk/package/feeds/packages/aiccu/files/aiccu.sh +++ /dev/null @@ -1,121 +0,0 @@ -#!/bin/sh -# aiccu.sh - AICCU proto -# Copyright (c) 2014 OpenWrt.org - -[ -n "$INCLUDE_ONLY" ] || { - . /lib/functions.sh - . /lib/functions/network.sh - . ../netifd-proto.sh - init_proto "$@" -} - -proto_aiccu_setup() { - local cfg="$1" - local iface="$2" - local link="aiccu-$cfg" - - local username password protocol server ip6prefix tunnelid requiretls defaultroute nat heartbeat verbose sourcerouting ip6addr ntpsynctimeout - json_get_vars username password protocol server ip6prefix tunnelid requiretls defaultroute nat heartbeat verbose sourcerouting ip6addr ntpsynctimeout - - [ -z "$username" -o -z "$password" ] && { - proto_notify_error "$cfg" "MISSING_USERNAME_OR_PASSWORD" - proto_block_restart "$cfg" - return - } - - ( proto_add_host_dependency "$cfg" 0.0.0.0 ) - - CFGFILE="/var/etc/${link}.conf" - PIDFILE="/var/run/${link}.pid" - NTPSTRATUMFILE="/var/run/aiccu_ntp_stratum" - mkdir -p /var/run /var/etc - - echo "username $username" > "$CFGFILE" - echo "password $password" >> "$CFGFILE" - echo "ipv6_interface $link" >> "$CFGFILE" - [ -n "$server" ] && echo "server $server" >> "$CFGFILE" - [ -n "$protocol" ] && echo "protocol $protocol" >> "$CFGFILE" - [ -n "$tunnelid" ] && echo "tunnel_id $tunnelid" >> "$CFGFILE" - [ "$requiretls" == 1 ] && echo "requiretls true" >> "$CFGFILE" - [ "$nat" == 1 ] && echo "behindnat true" >> "$CFGFILE" - [ "$heartbeat" == 1 ] && echo "makebeats true" >> "$CFGFILE" - [ "$verbose" == 1 ] && echo "verbose true" >> "$CFGFILE" - echo "defaultroute false" >> "$CFGFILE" - echo "daemonize true" >> "$CFGFILE" - echo "pidfile $PIDFILE" >> "$CFGFILE" - - # By default, wait at most 90 seconds for NTP sync - [ -z "$ntpsynctimeout" ] && ntpsynctimeout=90 - for i in $(seq 1 $ntpsynctimeout); do - [ -f "$NTPSTRATUMFILE" ] && \ - [ "$(cat $NTPSTRATUMFILE)" -lt 16 ] && \ - echo "NTP synced, stratum $(cat $NTPSTRATUMFILE)" && break - [ "$(( $i % 10 ))" -eq 0 ] && echo "Waiting ${i} secs for NTP sync..." - sleep 1 - done - - aiccu start "$CFGFILE" - - [ "$?" -ne 0 ] && { - proto_notify_error "$cfg" "AICCU_FAILED_SEE_LOG" - proto_block_restart "$cfg" - return - } - - proto_init_update "$link" 1 - - local source="" - [ "$sourcerouting" != "0" ] && source="::/128" - [ "$defaultroute" != "0" ] && proto_add_ipv6_route "::" 0 "" "" "" "$source" - - [ -n "$ip6addr" ] && { - local local6="${ip6addr%%/*}" - local mask6="${ip6addr##*/}" - [[ "$local6" = "$mask6" ]] && mask6= - proto_add_ipv6_address "$local6" "$mask6" - [ "$defaultroute" != "0" -a "$sourcerouting" != "0" ] && proto_add_ipv6_route "::" 0 "" "" "" "$local6/$mask6" - } - - [ -n "$ip6prefix" ] && { - proto_add_ipv6_prefix "$ip6prefix" - [ "$defaultroute" != "0" -a "$sourcerouting" != "0" ] && proto_add_ipv6_route "::" 0 "" "" "" "$ip6prefix" - } - - proto_send_update "$cfg" - -} - -proto_aiccu_teardown() { - local cfg="$1" - local link="aiccu-$cfg" - CFGFILE="/var/etc/${link}.conf" - PIDFILE="/var/run/${link}.pid" - [ -f "$CFGFILE" -a -f "$PIDFILE" ] && { - local pid="$(cat "$PIDFILE")" - [ -d /proc/$pid -a $(cat /proc/$pid/comm) = "aiccu" ] && \ - aiccu stop "$CFGFILE" - } -} - -proto_aiccu_init_config() { - no_device=1 - available=1 - proto_config_add_string "username" - proto_config_add_string "password" - proto_config_add_string "protocol" - proto_config_add_string "server" - proto_config_add_string "ip6addr:ip6addr" - proto_config_add_string "ip6prefix:ip6addr" - proto_config_add_string "tunnelid" - proto_config_add_boolean "requiretls" - proto_config_add_boolean "defaultroute" - proto_config_add_boolean "sourcerouting" - proto_config_add_boolean "nat" - proto_config_add_boolean "heartbeat" - proto_config_add_boolean "verbose" - proto_config_add_int "ntpsynctimeout" -} - -[ -n "$INCLUDE_ONLY" ] || { - add_protocol aiccu -} diff --git a/trunk/package/feeds/packages/aiccu/patches/100-cross_compile.patch b/trunk/package/feeds/packages/aiccu/patches/100-cross_compile.patch deleted file mode 100644 index dbdc50aa..00000000 --- a/trunk/package/feeds/packages/aiccu/patches/100-cross_compile.patch +++ /dev/null @@ -1,101 +0,0 @@ ---- aiccu/unix-console/Makefile.orig 2007-09-02 23:19:39.000000000 +0200 -+++ aiccu/unix-console/Makefile 2007-09-02 23:20:11.000000000 +0200 -@@ -25,7 +25,8 @@ - # CWARNS += -Wpacked - - #CFLAGS += $(CWARNS) -D_GNU_SOURCE -D_DEBUG -g3 -O0 --CFLAGS += $(CWARNS) -D_GNU_SOURCE -+CFLAGS += $(CWARNS) $(EXTRA_CFLAGS) -D_GNU_SOURCE -+LDFLAGS += $(EXTRA_LDFLAGS) - CC = @gcc - RM = rm - -@@ -40,25 +41,25 @@ - # GnuTLS Support ? - # Used by TIC to secure that communication - # Currently defaultly builds only on Linux, but other platforms might easily also support it --ifeq ($(shell uname | grep -c "Linux"),1) -+ifneq ($(HAVE_GNUTLS),) - CFLAGS += -D AICCU_GNUTLS - LDFLAGS += -lgnutls - endif - - # Linux --ifeq ($(shell uname | grep -c "Linux"),1) -+ifeq ($(OS_NAME),Linux) - CFLAGS += -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" - SRCS += ../common/aiccu_linux.c - OBJS += ../common/aiccu_linux.o --LDFLAGS += -lpthread -lresolv -+LDFLAGS += -pthread -lresolv - endif - - # FreeBSD --ifeq ($(shell uname | grep -c "FreeBSD"),1) -+ifeq ($(OS_NAME),FreeBSD) - CFLAGS += -D_FREEBSD - - # FreeBSD 4.x --ifeq ($(shell uname -r | cut -c 1),4) -+ifeq ($(shell echo $(OS_VERSION) | cut -c 1),4) - CFLAGS += -D AICCU_TYPE="\"freebsd4\"" - SRCS += ../common/aiccu_freebsd4.c - OBJS += ../common/aiccu_freebsd4.o -@@ -71,7 +72,7 @@ - endif - - # DragonFlyBSD --ifeq ($(shell uname | grep -c "DragonFly"),1) -+ifeq ($(OS_NAME),DragonFly) - CFLAGS += -D_DFBSD -D NEED_IFHEAD -D AICCU_TYPE="\"dragonfly\"" - SRCS += ../common/aiccu_freebsd4.c - OBJS += ../common/aiccu_freebsd4.o -@@ -79,7 +80,7 @@ - endif - - # NetBSD --ifeq ($(shell uname | grep -c "NetBSD"),1) -+ifeq ($(OS_NAME),NetBSD) - CFLAGS += -D_NETBSD -D AICCU_TYPE="\"kame\"" - - # Check if net/if_tun.h has TUNSIFHEAD and enable support for it -@@ -97,10 +98,10 @@ - endif - - # OpenBSD --ifeq ($(shell uname | grep -c "OpenBSD"),1) -+ifeq ($(OS_NAME),OpenBSD) - CFLAGS += -D_OPENBSD -D HAS_IFHEAD - # 2.7-2.9 --ifeq ($(shell uname -r | cut -c 1),2) -+ifeq ($(shell echo $(OS_VERSION) | cut -c 1),2) - CFLAGS += -D AICCU_TYPE="\"openbsd2\"" - SRCS += ../common/aiccu_openbsd2.c - OBJS += ../common/aiccu_openbsd2.o -@@ -114,7 +115,7 @@ - endif - - # Darwin --ifeq ($(shell uname | grep -c "Darwin"),1) -+ifeq ($(OS_NAME),Darwin) - CFLAGS += -D_DARWIN -D NEED_IFHEAD -D AICCU_TYPE="\"darwin\"" - SRCS += ../common/aiccu_darwin.c - OBJS += ../common/aiccu_darwin.o -@@ -122,7 +123,7 @@ - endif - - # SunOS / Solaris --ifeq ($(shell uname | grep -c "SunOS"),1) -+ifeq ($(OS_NAME),SunOS) - CFLAGS += -D_SUNOS -D AICCU_TYPE="\"sunos\"" - SRCS += ../common/aiccu_sunos.c - OBJS += ../common/aiccu_sunos.o -@@ -130,7 +131,7 @@ - endif - - # AIX --ifeq ($(shell uname | grep -c "AIX"),1) -+ifeq ($(OS_NAME),AIX) - CC = @/usr/vac/bin/xlc_r - CFLAGS = -qthreaded -q64 -qlanglvl=stdc99 -bmaxdata:0xD0000000 -D_64BIT -g -qdbxextra -qfullpath -qheapdebug -qformat=all -qcheck=all - CFLAGS += -D AICCU_CONSOLE diff --git a/trunk/package/feeds/packages/aiccu/patches/200-add_dn_skipname.patch b/trunk/package/feeds/packages/aiccu/patches/200-add_dn_skipname.patch deleted file mode 100644 index ca6afcea..00000000 --- a/trunk/package/feeds/packages/aiccu/patches/200-add_dn_skipname.patch +++ /dev/null @@ -1,70 +0,0 @@ -diff -Nru aiccu.old/common/dn_skipname.c aiccu/common/dn_skipname.c ---- aiccu.old/common/dn_skipname.c 1970-01-01 02:00:00.000000000 +0200 -+++ aiccu/common/dn_skipname.c 2006-11-04 00:50:23.000000000 +0200 -@@ -0,0 +1,51 @@ -+#include -+#include -+ -+/* Ripped from glibc 2.4 sources. */ -+ -+/* -+ * ns_name_skip(ptrptr, eom) -+ * Advance *ptrptr to skip over the compressed name it points at. -+ * return: -+ * 0 on success, -1 (with errno set) on failure. -+ */ -+int ns_name_skip(const u_char **ptrptr, const u_char *eom) -+{ -+ const u_char *cp; -+ u_int n; -+ -+ cp = *ptrptr; -+ while (cp < eom && (n = *cp++) != 0) -+ { -+ /* Check for indirection. */ -+ switch (n & NS_CMPRSFLGS) { -+ case 0: /* normal case, n == len */ -+ cp += n; -+ continue; -+ case NS_CMPRSFLGS: /* indirection */ -+ cp++; -+ break; -+ default: /* illegal type */ -+ errno = EMSGSIZE; -+ return (-1); -+ } -+ break; -+ } -+ if (cp > eom) -+ { -+ errno = EMSGSIZE; -+ return (-1); -+ } -+ *ptrptr = cp; -+ return (0); -+} -+ -+int dn_skipname(const u_char *ptr, const u_char *eom) -+{ -+ const u_char *saveptr = ptr; -+ -+ if(ns_name_skip(&ptr, eom) == -1) -+ return (-1); -+ return (ptr - saveptr); -+} -+ -diff -Nru aiccu.old/unix-console/Makefile aiccu/unix-console/Makefile ---- aiccu.old/unix-console/Makefile 2006-11-04 00:51:20.000000000 +0200 -+++ aiccu/unix-console/Makefile 2006-11-04 00:48:51.000000000 +0200 -@@ -10,9 +10,9 @@ - # $Date: 2006-07-25 09:20:48 $ - # **********************************************************/ - --SRCS = main.c ../common/tun.c ../common/aiccu.c ../common/hash_md5.c ../common/hash_sha1.c ../common/common.c ../common/heartbeat.c ../common/tic.c ../common/ayiya.c ../common/aiccu_test.c ../common/resolver.c -+SRCS = main.c ../common/tun.c ../common/aiccu.c ../common/hash_md5.c ../common/hash_sha1.c ../common/common.c ../common/heartbeat.c ../common/tic.c ../common/ayiya.c ../common/aiccu_test.c ../common/resolver.c ../common/dn_skipname.c - INCS = ../common/tun.h ../common/aiccu.h ../common/hash_md5.h ../common/hash_sha1.h ../common/common.h ../common/heartbeat.h ../common/tic.h ../common/ayiya.h ../common/resolver.h --OBJS = main.o ../common/tun.o ../common/aiccu.o ../common/hash_md5.o ../common/hash_sha1.o ../common/common.o ../common/heartbeat.o ../common/tic.o ../common/ayiya.o ../common/aiccu_test.o ../common/resolver.o -+OBJS = main.o ../common/tun.o ../common/aiccu.o ../common/hash_md5.o ../common/hash_sha1.o ../common/common.o ../common/heartbeat.o ../common/tic.o ../common/ayiya.o ../common/aiccu_test.o ../common/resolver.o ../common/dn_skipname.o - - # New features not fully implemented and thus disabled for now - #CFLAGS += -D NEWSTUFF_TSP -D NEWSTUFF_TEEPEE diff --git a/trunk/package/feeds/packages/aiccu/patches/300-resolver-uclibc.patch b/trunk/package/feeds/packages/aiccu/patches/300-resolver-uclibc.patch deleted file mode 100644 index fbd6a509..00000000 --- a/trunk/package/feeds/packages/aiccu/patches/300-resolver-uclibc.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- aiccu/common/resolver.c.orig 2007-09-02 23:10:58.000000000 +0200 -+++ aiccu/common/resolver.c 2007-09-02 23:11:01.000000000 +0200 -@@ -26,7 +26,7 @@ - - int getrrs(const char *label, int rrtype, void gotrec(unsigned int num, int type, const char *record)) - { --#ifdef _LINUX -+#if defined(_LINUX) && !defined(__UCLIBC__) - struct __res_state res; - #endif - unsigned char answer[8192]; -@@ -38,7 +38,7 @@ - uint16_t type = 0, class = 0; - uint32_t ttl = 0; - --#ifdef _LINUX -+#if defined(_LINUX) && !defined(__UCLIBC__) - memset(&res, 0, sizeof(res)); - res.options = RES_DEBUG; - res_ninit(&res); -@@ -47,7 +47,7 @@ - #endif - - memset(answer, 0, sizeof(answer)); --#ifdef _LINUX -+#if defined(_LINUX) && !defined(__UCLIBC__) - ret = res_nquery(&res, label, C_IN, rrtype, answer, sizeof(answer)); - #else - ret = res_query(label, C_IN, rrtype, answer, sizeof(answer)); diff --git a/trunk/package/feeds/packages/aircrack-ng/Makefile b/trunk/package/feeds/packages/aircrack-ng/Makefile deleted file mode 100644 index 960ef856..00000000 --- a/trunk/package/feeds/packages/aircrack-ng/Makefile +++ /dev/null @@ -1,52 +0,0 @@ -# -# Copyright (C) 2006-2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=aircrack-ng -PKG_VERSION:=1.2-rc1 -PKG_RELEASE:=1 -PKG_LICENSE:=GPLv2 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://download.aircrack-ng.org/ \ - http://archive.aircrack-ng.org/aircrack-ng/$(PKG_VERSION)/ -PKG_MD5SUM:=c2f8648c92f7e46051c86c618d4fb0d5 - -PKG_BUILD_PARALLEL:=1 -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/package.mk - -define Package/aircrack-ng - SECTION:=net - CATEGORY:=Network - DEPENDS:=+libpcap +libpthread +libopenssl +libnl +wireless-tools +ethtool - TITLE:=WLAN tools for breaking 802.11 WEP/WPA keys - URL:=http://www.aircrack-ng.org/ - MAINTAINER:=Rick Farina - SUBMENU:=wireless -endef - -define Package/aircrack-ng/description - WLAN tools for breaking 802.11 WEP/WPA keys -endef - -MAKE_FLAGS += prefix=/usr \ - libnl=true \ - sqlite=false \ - unstable=false \ - OSNAME=Linux - -define Package/aircrack-ng/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/ -endef - -$(eval $(call BuildPackage,aircrack-ng)) diff --git a/trunk/package/feeds/packages/alpine/Makefile b/trunk/package/feeds/packages/alpine/Makefile deleted file mode 100644 index 322e954b..00000000 --- a/trunk/package/feeds/packages/alpine/Makefile +++ /dev/null @@ -1,123 +0,0 @@ -# -# Copyright (C) 2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=alpine -PKG_VERSION:=2.20 -PKG_RELEASE:=1 - -PKG_SOURCE_URL:=http://patches.freeiz.com/alpine/release/src/ -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz -PKG_MD5SUM:=043b67666af73b26f9627ad97e2aaf92 - -PKG_MAINTAINER:=Antti Seppälä -PKG_LICENSE:=Apache-2.0 -PKG_LICENSE_FILES:=LICENSE - -PKG_INSTALL:=1 - -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) - -include $(INCLUDE_DIR)/package.mk -include $(INCLUDE_DIR)/nls.mk - -define Package/alpine/Default - SECTION:=mail - CATEGORY:=Mail - DEPENDS:=+libopenssl +libncurses +libpthread +libpam $(ICONV_DEPENDS) $(INTL_DEPENDS) - TITLE:=Alternatively Licensed Program for Internet News and Email - URL:=http://www.washington.edu/alpine -endef - -define Package/alpine/Default/description - Alpine (Alternatively Licenced Program for Internet News and Email) is a - free software email client developed at the University of Washington. - It is suitable for both the inexperienced email user as well as for - the most demanding power user. -endef - -define Package/alpine -$(call Package/alpine/Default) - TITLE+= (with OpenSSL support) - DEPENDS+= +libcrypto +libopenssl - VARIANT:=ssl -endef - -define Package/alpine/description -$(call Package/alpine/Default/description) - This package is built with OpenSSL support. -endef - -define Package/alpine-nossl -$(call Package/alpine/Default) - TITLE+= (without OpenSSL support) - VARIANT:=nossl -endef - -define Package/alpine-nossl/description -$(call Package/alpine/Default/description) - This package is built without OpenSSL support. -endef - -CONFIGURE_ARGS += \ - --with-libiconv-prefix=$(ICONV_PREFIX) \ - --with-libintl-prefix=$(INTL_PREFIX) \ - --without-tcl \ - --without-ldap \ - --without-krb5 \ - --with-system-pinerc=/etc/pine.conf \ - --with-system-fixed-pinerc=/etc/pine.conf.fixed \ - --with-supplied-regex \ - --with-default-sshpath=/usr/bin/ssh \ - --disable-debug \ - --disable-mouse \ - --with-c-client-target=slx \ - -CONFIGURE_VARS += \ - top_builddir=$(PKG_BUILD_DIR) - -ifeq ($(BUILD_VARIANT),ssl) - CONFIGURE_ARGS += \ - --with-ssl-include-dir=$(STAGING_DIR)/usr/include/openssl/. \ - --with-ssl-lib-dir=$(STAGING_DIR)/usr/lib -endif - -ifeq ($(BUILD_VARIANT),nossl) - CONFIGURE_ARGS += \ - --without-ssl -endif - -ifeq ($(CONFIG_BUILD_NLS),y) - DISABLE_NLS:= -endif - -ifeq ($(CONFIG_IPV6),y) - DISABLE_IPV6:= -else - DISABLE_IPV6:=--without-ipv6 -endif - -define Build/Compile - ( cd $(PKG_BUILD_DIR)/pith ; \ - $(HOSTCC) help_h_gen.c -c -o help_h_gen.o ; \ - $(HOSTCC) help_h_gen.o -o help_h_gen ; \ - $(HOSTCC) help_c_gen.c -c -o help_c_gen.o ; \ - $(HOSTCC) help_c_gen.o -o help_c_gen ; \ - ) - $(call Build/Compile/Default) -endef - -define Package/alpine/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/$(PKG_NAME) -endef - -Package/alpine-nossl/install = $(Package/alpine/install) - -$(eval $(call BuildPackage,alpine)) -$(eval $(call BuildPackage,alpine-nossl)) diff --git a/trunk/package/feeds/packages/alpine/patches/100-no-openssl-check-cross-compile.patch b/trunk/package/feeds/packages/alpine/patches/100-no-openssl-check-cross-compile.patch deleted file mode 100644 index 40430986..00000000 --- a/trunk/package/feeds/packages/alpine/patches/100-no-openssl-check-cross-compile.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -Nru alpine-2.20-orig/configure alpine-2.20/configure ---- alpine-2.20-orig/configure 2015-01-18 09:00:42.100645053 +0200 -+++ alpine-2.20/configure 2015-01-25 12:01:11.831015443 +0200 -@@ -17643,10 +17643,8 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.0.1c" >&5 - $as_echo_n "checking Openssl library version >= 1.0.1c... " >&6; } - if test "$cross_compiling" = yes; then : -- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 --$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} --as_fn_error $? "cannot run test program while cross compiling --See \`config.log' for more details" "$LINENO" 5; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5 -+$as_echo "$as_me: WARNING: cross compiling: not checking" >&2;} - else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ -diff -Nru alpine-2.20-orig/configure.ac alpine-2.20/configure.ac ---- alpine-2.20-orig/configure.ac 2015-01-18 08:38:08.893495949 +0200 -+++ alpine-2.20/configure.ac 2015-01-25 12:01:02.773015236 +0200 -@@ -1370,7 +1370,8 @@ - } - ]])], - [ AC_MSG_RESULT(yes) ], -- [ alpine_SSLTYPE="none" ]) -+ [ alpine_SSLTYPE="none" ], -+ [ AC_MSG_WARN([cross compiling: not checking])]) - - if test "x$alpine_SSLTYPE" = "xnone" ; then - AC_MSG_ERROR(Install openssl version >= 1.0.1c) diff --git a/trunk/package/feeds/packages/alsa-lib/Makefile b/trunk/package/feeds/packages/alsa-lib/Makefile deleted file mode 100644 index a4ccc233..00000000 --- a/trunk/package/feeds/packages/alsa-lib/Makefile +++ /dev/null @@ -1,94 +0,0 @@ -# -# Copyright (C) 2006-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=alsa-lib -PKG_VERSION:=1.0.28 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=ftp://ftp.alsa-project.org/pub/lib/ \ - http://alsa.cybermirror.org/lib/ -PKG_MD5SUM:=c9e21b88a2b3e6e12ea7ba0f3b271fc3 -PKG_MAINTAINER:=Ted Hess - -PKG_LICENSE:=LGPLv2.1 GPLv2 -PKG_LICENSE_FILES:=COPYING aserver/COPYING - -PKG_FIXUP:=autoreconf -PKG_INSTALL:=1 -PKG_USE_MIPS16:=0 -PKG_CHECK_FORMAT_SECURITY:=0 - -include $(INCLUDE_DIR)/package.mk - -define Package/alsa-lib - SECTION:=libs - CATEGORY:=Libraries - TITLE:=ALSA (Advanced Linux Sound Architecture) library - URL:=http://www.alsa-project.org/ - MAINTAINER:=Peter Wagner - DEPENDS:=@AUDIO_SUPPORT +kmod-sound-core +libpthread +librt -endef - -define Package/alsa-lib/description - This is the library package for alsa, needed by some userspace programs. - You must have enabled the ALSA support in the kernel. -endef - -TARGET_CFLAGS += $(FPIC) - -define Build/Configure - $(call Build/Configure/Default, \ - --disable-python \ - --disable-debug \ - --without-debug \ - $(SOFT_FLOAT_CONFIG_OPTION) \ - --with-versioned=no \ - ) -endef - -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include/ - $(CP) \ - $(PKG_INSTALL_DIR)/usr/include/alsa \ - $(1)/usr/include/ - - $(INSTALL_DIR) $(1)/usr/lib/pkgconfig - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/libasound.{la,so*} \ - $(1)/usr/lib/ - $(INSTALL_DATA) \ - $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/alsa.pc \ - $(1)/usr/lib/pkgconfig/ - - $(INSTALL_DIR) $(1)/usr/share/aclocal - $(INSTALL_DATA) \ - $(PKG_INSTALL_DIR)/usr/share/aclocal/alsa.m4 \ - $(1)/usr/share/aclocal/ -endef - -define Package/alsa-lib/install - $(INSTALL_DIR) $(1)/usr/lib - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/libasound.so.* \ - $(1)/usr/lib/ - - $(INSTALL_DIR) $(1)/usr/share/alsa/{cards,pcm} - $(INSTALL_DATA) \ - $(PKG_INSTALL_DIR)/usr/share/alsa/alsa.conf \ - $(1)/usr/share/alsa/ - $(INSTALL_DATA) \ - $(PKG_INSTALL_DIR)/usr/share/alsa/pcm/* \ - $(1)/usr/share/alsa/pcm/ - $(CP) \ - $(PKG_INSTALL_DIR)/usr/share/alsa/cards/* \ - $(1)/usr/share/alsa/cards/ -endef - -$(eval $(call BuildPackage,alsa-lib)) diff --git a/trunk/package/feeds/packages/alsa-lib/patches/001-link_fix.patch b/trunk/package/feeds/packages/alsa-lib/patches/001-link_fix.patch deleted file mode 100644 index 001a8bc6..00000000 --- a/trunk/package/feeds/packages/alsa-lib/patches/001-link_fix.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/src/Makefile.in -+++ b/src/Makefile.in -@@ -418,7 +418,7 @@ clean-libLTLIBRARIES: - rm -f $${locs}; \ - } - libasound.la: $(libasound_la_OBJECTS) $(libasound_la_DEPENDENCIES) $(EXTRA_libasound_la_DEPENDENCIES) -- $(AM_V_CCLD)$(libasound_la_LINK) -rpath $(libdir) $(libasound_la_OBJECTS) $(libasound_la_LIBADD) $(LIBS) -+ $(AM_V_CCLD)$(libasound_la_LINK) -rpath $(DESTDIR)$(libdir) $(libasound_la_OBJECTS) $(libasound_la_LIBADD) $(LIBS) - - mostlyclean-compile: - -rm -f *.$(OBJEXT) ---- a/src/pcm/scopes/Makefile.in -+++ b/src/pcm/scopes/Makefile.in -@@ -348,7 +348,7 @@ clean-pkglibLTLIBRARIES: - rm -f $${locs}; \ - } - scope-level.la: $(scope_level_la_OBJECTS) $(scope_level_la_DEPENDENCIES) $(EXTRA_scope_level_la_DEPENDENCIES) -- $(AM_V_CCLD)$(scope_level_la_LINK) -rpath $(pkglibdir) $(scope_level_la_OBJECTS) $(scope_level_la_LIBADD) $(LIBS) -+ $(AM_V_CCLD)$(scope_level_la_LINK) -rpath $(DESTDIR)$(pkglibdir) $(scope_level_la_OBJECTS) $(scope_level_la_LIBADD) $(LIBS) - - mostlyclean-compile: - -rm -f *.$(OBJEXT) diff --git a/trunk/package/feeds/packages/alsa-lib/patches/002-remove_cross_compile_guess.patch b/trunk/package/feeds/packages/alsa-lib/patches/002-remove_cross_compile_guess.patch deleted file mode 100644 index d8f9f122..00000000 --- a/trunk/package/feeds/packages/alsa-lib/patches/002-remove_cross_compile_guess.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -27,20 +27,6 @@ AC_PREFIX_DEFAULT(/usr) - - dnl Checks for programs. - --dnl try to gues cross-compiler if not set --if test "x$host" != "x$build" -a -z "`echo $CC | grep -e '-gcc'`"; --then -- AC_MSG_CHECKING(for cross-compiler) -- -- which ${program_prefix}gcc >/dev/null 2>&1 && CC=${program_prefix}gcc -- which ${host_cpu}-${host_os}-gcc >/dev/null 2>&1 \ -- && CC=${host_cpu}-${host_os}-gcc -- which ${host_cpu}-${host_vendor}-${host_os}-gcc >/dev/null 2>&1 \ -- && CC=${host_cpu}-${host_vendor}-${host_os}-gcc -- -- AC_MSG_RESULT($CC) --fi -- - CFLAGS="$CFLAGS -D_GNU_SOURCE" - - diff --git a/trunk/package/feeds/packages/alsa-utils/Makefile b/trunk/package/feeds/packages/alsa-utils/Makefile deleted file mode 100644 index f7c87526..00000000 --- a/trunk/package/feeds/packages/alsa-utils/Makefile +++ /dev/null @@ -1,93 +0,0 @@ -# -# Copyright (C) 2006-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=alsa-utils -PKG_VERSION:=1.0.28 -PKG_RELEASE:=2 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=ftp://ftp.alsa-project.org/pub/utils/ \ - http://alsa.cybermirror.org/utils/ -PKG_MD5SUM:=361552d5b1cacd0a1e7ba09e69990211 -PKG_INSTALL:=1 -PKG_MAINTAINER:=Ted Hess - -include $(INCLUDE_DIR)/package.mk - -define Package/alsa-utils - SECTION:=utils - CATEGORY:=Utilities - DEPENDS:=+alsa-lib +libncurses +libpthread - TITLE:=ALSA (Advanced Linux Sound Architecture) utilities - URL:=http://www.alsa-project.org/ -endef - -define Package/alsa-utils-seq - SECTION:=utils - CATEGORY:=Utilities - DEPENDS:=+alsa-lib +libpthread - TITLE:=ALSA sequencer utilities - URL:=http://www.alsa-project.org/ -endef - -define Package/alsa-utils-tests - $(call Package/alsa-utils/Default) - SECTION:=utils - CATEGORY:=Utilities - TITLE:=ALSA utilities test data (adds ~1.3M to image) - DEPENDS:=+alsa-lib +libpthread -endef - -define Build/Configure - $(call Build/Configure/Default, \ - --disable-rpath \ - --disable-alsatest \ - --disable-xmlto \ - , \ - ac_cv_prog_ncurses5_config=no \ - ac_cv_prog_ncursesw5_config=no \ - ) -endef - -define Package/alsa-utils/install - $(INSTALL_DIR) $(1)/usr/{s,}bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/amixer $(1)/usr/bin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/alsamixer $(1)/usr/bin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aplay $(1)/usr/bin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/arecord $(1)/usr/bin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/alsactl $(1)/usr/sbin/ - - $(INSTALL_DIR) $(1)/usr/share/alsa/init - $(INSTALL_DATA) \ - $(PKG_INSTALL_DIR)/usr/share/alsa/init/* \ - $(1)/usr/share/alsa/init/ -endef - -define Package/alsa-utils-seq/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aconnect $(1)/usr/bin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/amidi $(1)/usr/bin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aplaymidi $(1)/usr/bin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/arecordmidi $(1)/usr/bin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aseqdump $(1)/usr/bin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aseqnet $(1)/usr/bin/ -endef - -define Package/alsa-utils-tests/install - $(INSTALL_DIR) $(1)/usr/{s,}bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/speaker-test $(1)/usr/bin/ - $(INSTALL_DIR) $(1)/usr/share/sounds/alsa - $(INSTALL_DATA) \ - $(PKG_INSTALL_DIR)/usr/share/sounds/alsa/* \ - $(1)/usr/share/sounds/alsa/ -endef - -$(eval $(call BuildPackage,alsa-utils)) -$(eval $(call BuildPackage,alsa-utils-seq)) -$(eval $(call BuildPackage,alsa-utils-tests)) diff --git a/trunk/package/feeds/packages/alsa-utils/patches/100-uClibc-compat.patch b/trunk/package/feeds/packages/alsa-utils/patches/100-uClibc-compat.patch deleted file mode 100644 index 987c9b8b..00000000 --- a/trunk/package/feeds/packages/alsa-utils/patches/100-uClibc-compat.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/alsamixer/volume_mapping.c -+++ b/alsamixer/volume_mapping.c -@@ -114,9 +114,9 @@ static double get_normalized_volume(snd_ - if (use_linear_dB_scale(min, max)) - return (value - min) / (double)(max - min); - -- normalized = exp10((value - max) / 6000.0); -+ normalized = pow(10, (value - max) / 6000.0); - if (min != SND_CTL_TLV_DB_GAIN_MUTE) { -- min_norm = exp10((min - max) / 6000.0); -+ min_norm = pow(10, (min - max) / 6000.0); - normalized = (normalized - min_norm) / (1 - min_norm); - } - -@@ -149,7 +149,7 @@ static int set_normalized_volume(snd_mix - } - - if (min != SND_CTL_TLV_DB_GAIN_MUTE) { -- min_norm = exp10((min - max) / 6000.0); -+ min_norm = pow(10, (min - max) / 6000.0); - volume = volume * (1 - min_norm) + min_norm; - } - value = lrint_dir(6000.0 * log10(volume), dir) + max; diff --git a/trunk/package/feeds/packages/announce/Makefile b/trunk/package/feeds/packages/announce/Makefile deleted file mode 100644 index 60d9e63f..00000000 --- a/trunk/package/feeds/packages/announce/Makefile +++ /dev/null @@ -1,57 +0,0 @@ -# -# Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=announce -PKG_VERSION:=1.0.1 -PKG_RELEASE:=1 -PKG_LICENSE:=BSD-3-Clause -PKG_LICENSE_FILES:=src/LICENSE.txt -PKG_MAINTAINER:=Simon Peter - -PKG_SOURCE_PROTO:=git -PKG_SOURCE_URL:=https://github.com/probonopd/announce.git -PKG_SOURCE_VERSION:=1368525c7305ca5bb4134242f332344f5f7e94e3 -PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION) -PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR) - -PKG_BUILD_PARALLEL:=1 - -include $(INCLUDE_DIR)/package.mk - -PKG_BUILD_DEPENDS:= +libpthread - -define Package/announce - SECTION:=net - CATEGORY:=Network - SUBMENU:=IP Addresses and Names - TITLE:=Announce services on the network with Zeroconf/Bonjour - URL:=https://github.com/probonopd/announce - DEPENDS:= +libpthread -endef - -define Package/announce/description - Announce services on the network with Zeroconf/Bonjour. - This announces services such as ssh, sftp, and http running on the local machine - to the network. -endef - -define Build/Prepare - $(call Build/Prepare/Default) - $(CP) $(PKG_BUILD_DIR)/src/* $(PKG_BUILD_DIR)/ -endef - -define Package/announce/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/announce $(1)/usr/sbin/ - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) $(PKG_BUILD_DIR)/announce.initscript $(1)/etc/init.d/announce -endef - -$(eval $(call BuildPackage,announce)) diff --git a/trunk/package/feeds/packages/apache/Makefile b/trunk/package/feeds/packages/apache/Makefile deleted file mode 100644 index dde5bcae..00000000 --- a/trunk/package/feeds/packages/apache/Makefile +++ /dev/null @@ -1,166 +0,0 @@ -# -# Copyright (C) 2007-2011 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=apache -PKG_VERSION:=2.2.29 -PKG_RELEASE:=1 -PKG_SOURCE_NAME:=httpd -PKG_MAINTAINER:=Thomas Heil -PKG_LICENSE:=Apache License - -PKG_SOURCE:=$(PKG_SOURCE_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=http://mirrors.ibiblio.org/apache/httpd/ \ - http://apache.imsam.info/httpd/ -PKG_MD5SUM:=579342fdeaa7b8b68d17fee91f8fab6e - -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_NAME)-$(PKG_VERSION) - -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/package.mk - -define Package/apache/Default - SECTION:=net - CATEGORY:=Network - SUBMENU:=Web Servers/Proxies - TITLE:=The Apache Web Server - URL:=http://httpd.apache.org/ -endef - -define Package/apache/Default/description - The Apache Web Server is a powerful and flexible HTTP/1.1 compliant - web server. Originally designed as a replacement for the NCSA HTTP - Server, it has grown to be the most popular web server on the Internet. -endef - -define Package/apache -$(call Package/apache/Default) - DEPENDS:=+libapr +libaprutil +libpcre +libopenssl +unixodbc -endef - -define Package/apache/description -$(call Package/apache/Default/description) - . - This package contains the Apache web server and utility programs. - . - Take care that you don't include apache at the moment into your image - please select it only as module because busybox will override - /usr/sbin/httpd. It'll be solved soon. If you need to include this - package in the image anyway, remove httpd from busybox - (Base system --> Configuration --> Networking Utilities --> httpd). - Also you should take care for the initscripts, apache's httpd isn't - compatible with the one from busybox, so if you want to use apache - for running your webif, you'll need to change the parameters in the - scripts and configure the rest in /etc/httpd.conf. -endef - -define Package/apache/conffiles -/etc/apache/httpd.conf -/etc/apache/extra/httpd-autoindex.conf -/etc/apache/extra/httpd-dav.conf -/etc/apache/extra/httpd-default.conf -/etc/apache/extra/httpd-info.conf -/etc/apache/extra/httpd-languages.conf -/etc/apache/extra/httpd-manual.conf -/etc/apache/extra/httpd-mpm.conf -/etc/apache/extra/httpd-multilang-errordoc.conf -/etc/apache/extra/httpd-ssl.conf -/etc/apache/extra/httpd-userdir.conf -/etc/apache/extra/httpd-vhosts.conf -/etc/apache/magic -/etc/apache/mime.types -endef - -define Package/apache-icons -$(call Package/apache/Default) - TITLE:=Icons from Apache - DEPENDS:=apache -endef - -define Package/apache-icons/description -$(call Package/apache/Default/description) - . - This package contains the icons from Apache. -endef - -TARGET_CFLAGS += $(FPIC) -TARGET_CPPFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE - -define Build/Configure - $(call Build/Configure/Default, \ - --with-apr="$(STAGING_DIR)/usr/bin/apr-1-config" \ - --with-apr-util="$(STAGING_DIR)/usr/bin/apu-1-config" \ - --with-pcre="$(STAGING_DIR)/usr/bin/pcre-config" \ - --enable-http \ - --enable-ssl \ - --enable-proxy \ - --disable-disk-cache \ - --enable-maintainer-mode \ - --enable-mime-magic \ - --without-suexec-bin \ - --sysconfdir=/etc/apache \ - ap_cv_void_ptr_lt_long=no \ - logfiledir="/var/log" \ - runtimedir="/var/run" \ - ) -endef - -define Build/InstallDev - rm -rf $(PKG_INSTALL_DIR)/usr/man/ \ - $(PKG_INSTALL_DIR)/usr/share/manual/ - # if you need docs take a look into the build-dir :) - $(INSTALL_DIR) $(1)/etc - $(CP) $(PKG_INSTALL_DIR)/etc/* \ - $(1)/etc - $(INSTALL_DIR) $(1)/usr/include/apache - $(CP) $(PKG_INSTALL_DIR)/usr/include/* \ - $(1)/usr/include/apache - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/httpd.exp \ - $(1)/usr/lib - $(INSTALL_DIR) $(1)/usr/sbin - $(CP) $(PKG_INSTALL_DIR)/usr/sbin/* \ - $(1)/usr/sbin - $(INSTALL_DIR) $(1)/usr/share - $(CP) $(PKG_INSTALL_DIR)/usr/share/* \ - $(1)/usr/share -endef - -define Package/apache/preinst - rm /usr/sbin/httpd - echo -e "You should take a look in the initscripts, busybox's httpd \n\ - uses some parameters which are maybe unsupported by apache." -endef - -define Package/apache/install - $(INSTALL_DIR) $(1)/usr/sbin - # we don't need apxs on the router, it's just for building apache modules. - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/{ab,apachectl,checkgid,dbmmanage,envvars,envvars-std,htcacheclean,htdbm,htdigest,htpasswd,httpd,httxt2dbm,logresolve,rotatelogs} $(1)/usr/sbin/ - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/httpd.exp $(1)/usr/lib/ - $(INSTALL_DIR) $(1)/usr/share - $(CP) $(PKG_INSTALL_DIR)/usr/share/{error,htdocs,cgi-bin,build} $(1)/usr/share/ - $(INSTALL_DIR) $(1)/etc/apache - $(CP) $(PKG_INSTALL_DIR)/etc/apache/{httpd.conf,magic,mime.types,extra} $(1)/etc/apache/ -endef - -define Package/apache/postrm - rm -rf /usr/sbin/httpd - ln -s /bin/busybox /usr/sbin/httpd - echo -e "You may need to change your initscripts back for the use \n\ - with busybox's httpd." -endef - -define Package/apache-icons/install - $(INSTALL_DIR) $(1)/usr/share - $(CP) $(PKG_INSTALL_DIR)/usr/share/icons $(1)/usr/share/ -endef - -$(eval $(call BuildPackage,apache)) -$(eval $(call BuildPackage,apache-icons)) diff --git a/trunk/package/feeds/packages/apache/patches/001-Makefile_in.patch b/trunk/package/feeds/packages/apache/patches/001-Makefile_in.patch deleted file mode 100644 index 0bccfd3b..00000000 --- a/trunk/package/feeds/packages/apache/patches/001-Makefile_in.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/server/Makefile.in -+++ b/server/Makefile.in -@@ -26,7 +26,10 @@ gen_test_char: $(gen_test_char_OBJECTS) - $(LINK) $(EXTRA_LDFLAGS) $(gen_test_char_OBJECTS) $(EXTRA_LIBS) - - test_char.h: gen_test_char -- ./gen_test_char > test_char.h -+ true -+# ./gen_test_char > test_char.h -+# doesn't matter if you run it on the buildhost or on an wl500gd, -+# same output on both, so i just patched in the test_char.h :). - - util.lo: test_char.h - diff --git a/trunk/package/feeds/packages/apache/patches/002-test_char_h.patch b/trunk/package/feeds/packages/apache/patches/002-test_char_h.patch deleted file mode 100644 index e8ea3cd1..00000000 --- a/trunk/package/feeds/packages/apache/patches/002-test_char_h.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- /dev/null -+++ b/server/test_char.h -@@ -0,0 +1,23 @@ -+/* this file is automatically generated by gen_test_char, do not edit */ -+#define T_ESCAPE_SHELL_CMD (1) -+#define T_ESCAPE_PATH_SEGMENT (2) -+#define T_OS_ESCAPE_PATH (4) -+#define T_HTTP_TOKEN_STOP (8) -+#define T_ESCAPE_LOGITEM (16) -+#define T_ESCAPE_FORENSIC (32) -+ -+static const unsigned char test_char_table[256] = { -+ 32,62,62,62,62,62,62,62,62,62,63,62,62,62,62,62,62,62,62,62, -+ 62,62,62,62,62,62,62,62,62,62,62,62,14,0,23,6,1,38,1,1, -+ 9,9,1,0,8,0,0,10,0,0,0,0,0,0,0,0,0,0,40,15, -+ 15,8,15,15,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -+ 0,0,0,0,0,0,0,0,0,0,0,15,31,15,7,0,7,0,0,0, -+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -+ 0,0,0,15,39,15,1,62,54,54,54,54,54,54,54,54,54,54,54,54, -+ 54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54, -+ 54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54, -+ 54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54, -+ 54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54, -+ 54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54, -+ 54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54 -+}; diff --git a/trunk/package/feeds/packages/apache/patches/003-logdir_fix.patch b/trunk/package/feeds/packages/apache/patches/003-logdir_fix.patch deleted file mode 100644 index 635c65ca..00000000 --- a/trunk/package/feeds/packages/apache/patches/003-logdir_fix.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- a/build/mkconfNW.awk -+++ b/build/mkconfNW.awk -@@ -24,7 +24,7 @@ BEGIN { - A["sysconfdir"] = "conf" - A["iconsdir"] = "icons" - A["manualdir"] = "manual" -- A["runtimedir"] = "logs" -+ A["runtimedir"] = "log" - A["errordir"] = "error" - A["proxycachedir"] = "proxy" - ---- a/config.layout -+++ b/config.layout -@@ -28,8 +28,8 @@ - cgidir: ${datadir}/cgi-bin - includedir: ${prefix}/include - localstatedir: ${prefix} -- runtimedir: ${localstatedir}/logs -- logfiledir: ${localstatedir}/logs -+ runtimedir: ${localstatedir}/log -+ logfiledir: ${localstatedir}/log - proxycachedir: ${localstatedir}/proxy - - -@@ -150,7 +150,7 @@ - includedir: ${prefix}/include - localstatedir: /var${prefix} - runtimedir: ${localstatedir}/run -- logfiledir: ${localstatedir}/logs -+ logfiledir: ${localstatedir}/log - proxycachedir: ${localstatedir}/proxy - - diff --git a/trunk/package/feeds/packages/apache/patches/004-pidfile_fix.patch b/trunk/package/feeds/packages/apache/patches/004-pidfile_fix.patch deleted file mode 100644 index e9f0b6de..00000000 --- a/trunk/package/feeds/packages/apache/patches/004-pidfile_fix.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/include/scoreboard.h -+++ b/include/scoreboard.h -@@ -42,7 +42,7 @@ extern "C" { - - /* Scoreboard file, if there is one */ - #ifndef DEFAULT_SCOREBOARD --#define DEFAULT_SCOREBOARD "logs/apache_runtime_status" -+#define DEFAULT_SCOREBOARD "log/apache_runtime_status" - #endif - - /* Scoreboard info on a process is, for now, kept very brief --- diff --git a/trunk/package/feeds/packages/apache/patches/005-httpd_conf.patch b/trunk/package/feeds/packages/apache/patches/005-httpd_conf.patch deleted file mode 100644 index 60f0dca9..00000000 --- a/trunk/package/feeds/packages/apache/patches/005-httpd_conf.patch +++ /dev/null @@ -1,60 +0,0 @@ ---- a/docs/conf/httpd.conf.in -+++ b/docs/conf/httpd.conf.in -@@ -51,7 +51,6 @@ Listen @@Port@@ - # Example: - # LoadModule foo_module modules/mod_foo.so - # --@@LoadModule@@ - - - -@@ -63,8 +62,8 @@ Listen @@Port@@ - # It is usually good practice to create a dedicated user and group for - # running httpd, as with most system services. - # --User daemon --Group daemon -+User nobody -+Group nogroup - - - -@@ -191,7 +190,7 @@ ErrorLog "@rel_logfiledir@/error_log" - # Possible values include: debug, info, notice, warn, error, crit, - # alert, emerg. - # --LogLevel warn -+LogLevel debug - - - # -@@ -336,7 +335,7 @@ DefaultType text/plain - # contents of the file itself to determine its type. The MIMEMagicFile - # directive tells the module where the hint definitions are located. - # --#MIMEMagicFile @rel_sysconfdir@/magic -+MIMEMagicFile @rel_sysconfdir@/magic - - # - # Customizable error responses come in three flavors: -@@ -358,7 +357,7 @@ DefaultType text/plain - # broken on your system. - # - #EnableMMAP off --#EnableSendfile off -+EnableSendfile off - - # Supplemental configuration - # -@@ -404,7 +403,7 @@ DefaultType text/plain - # starting without SSL on platforms with no /dev/random equivalent - # but a statically compiled-in mod_ssl. - # -- --SSLRandomSeed startup builtin --SSLRandomSeed connect builtin -- -+# -+#SSLRandomSeed startup builtin -+#SSLRandomSeed connect builtin -+# diff --git a/trunk/package/feeds/packages/apcupsd/Makefile b/trunk/package/feeds/packages/apcupsd/Makefile deleted file mode 100644 index fd8236d8..00000000 --- a/trunk/package/feeds/packages/apcupsd/Makefile +++ /dev/null @@ -1,106 +0,0 @@ -# -# Copyright (C) 2006-2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=apcupsd -PKG_VERSION:=3.14.13 -PKG_RELEASE:=4 - -PKG_MAINTAINER:=Othmar Truniger -PKG_LICENSE:=GPL-2.0 -PKG_LICENSE_FILES:=COPYING - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=@SF/apcupsd -PKG_MD5SUM:=c291d9d3923b4d9c0e600b755ad4f489 - -PKG_BUILD_DEPENDS:=libgd - -include $(INCLUDE_DIR)/package.mk - -define Package/apcupsd - SECTION:=net - CATEGORY:=Network - DEPENDS:=+libpthread +libusb-compat - TITLE:=UPS control software - URL:=http://www.apcupsd.org/ -endef - -define Package/apcupsd-cgi - SECTION:=net - CATEGORY:=Network - DEPENDS:=+libpthread +libgd - TITLE:=UPS control software CGI module - URL:=http://www.apcupsd.org/ -endef - -define Build/Configure - $(CP) $(SCRIPT_DIR)/config.* $(PKG_BUILD_DIR)/autoconf/ - $(call Build/Configure/Default, \ - --with-distname=unknown \ - --sysconfdir=/etc/apcupsd \ - --enable-cgi \ - --enable-usb \ - --enable-modbus-usb \ - --without-x \ - ) -endef - -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - DESTDIR="$(PKG_INSTALL_DIR)" \ - LD="$(TARGET_CC)" \ - all install -endef - -define Package/apcupsd/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/apcupsd $(1)/usr/sbin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/smtp $(1)/usr/sbin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/apctest $(1)/usr/sbin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/apcaccess $(1)/usr/sbin/ - $(INSTALL_DIR) $(1)/etc/apcupsd - $(INSTALL_CONF) ./files/apcupsd.conf $(1)/etc/apcupsd/ - $(INSTALL_CONF) ./files/apcupsd_mail.conf $(1)/etc/apcupsd/ - $(INSTALL_BIN) ./files/changeme $(1)/etc/apcupsd/ - $(INSTALL_BIN) ./files/commfailure $(1)/etc/apcupsd/ - $(INSTALL_BIN) ./files/commok $(1)/etc/apcupsd/ - $(INSTALL_BIN) ./files/offbattery $(1)/etc/apcupsd/ - $(INSTALL_BIN) ./files/onbattery $(1)/etc/apcupsd/ - $(INSTALL_BIN) ./files/apccontrol $(1)/etc/apcupsd/ - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) ./files/apcupsd.init $(1)/etc/init.d/apcupsd -endef - -define Package/apcupsd-cgi/install - $(INSTALL_DIR) $(1)/www/cgi-bin/apcupsd - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/etc/apcupsd/*.cgi $(1)/www/cgi-bin/apcupsd - $(INSTALL_DIR) $(1)/etc/apcupsd - $(INSTALL_CONF) ./files/apcupsd.css $(1)/etc/apcupsd/ - $(INSTALL_CONF) ./files/hosts.conf $(1)/etc/apcupsd/ - $(INSTALL_CONF) ./files/multimon.conf $(1)/etc/apcupsd/ -endef - -define Package/apcupsd/conffiles -/etc/apcupsd/apcupsd.conf -/etc/apcupsd/apcupsd_mail.conf -/etc/apcupsd/changeme -/etc/apcupsd/commfailure -/etc/apcupsd/commok -/etc/apcupsd/offbattery -/etc/apcupsd/onbattery -endef - -define Package/apcupsd-cgi/conffiles -/etc/apcupsd/apcupsd.css -/etc/apcupsd/hosts.conf -/etc/apcupsd/multimon.conf -endef - -$(eval $(call BuildPackage,apcupsd)) -$(eval $(call BuildPackage,apcupsd-cgi)) diff --git a/trunk/package/feeds/packages/apcupsd/files/apccontrol b/trunk/package/feeds/packages/apcupsd/files/apccontrol deleted file mode 100644 index 25493541..00000000 --- a/trunk/package/feeds/packages/apcupsd/files/apccontrol +++ /dev/null @@ -1,146 +0,0 @@ -#!/bin/sh -# -# Copyright (C) 1999-2002 Riccardo Facchetti -# -# for apcupsd release 3.14.1 (04 May 2007) - unknown -# -# platforms/apccontrol. Generated from apccontrol.in by configure. -# -# Note, this is a generic file that can be used by most -# systems. If a particular system needs to have something -# special, start with this file, and put a copy in the -# platform subdirectory. -# - -# -# These variables are needed for set up the autoconf other variables. -# -prefix=/usr -exec_prefix=/usr - -APCPID=/var/run/apcupsd.pid -APCUPSD=/usr/sbin/apcupsd -SHUTDOWN=/sbin/shutdown -SCRIPTSHELL=/bin/sh -SCRIPTDIR=/etc/apcupsd -WALL=true - -# -# Concatenate all output from this script to the events file -# Note, the following kills the script in a power fail situation -# where the disks are mounted read-only. -# exec >>/var/log/apcupsd.events 2>&1 - -# -# This piece is to substitute the default behaviour with your own script, -# perl, or C program. -# You can customize every single command creating an executable file (may be a -# script or a compiled program) and calling it the same as the $1 parameter -# passed by apcupsd to this script. -# -# After executing your script, apccontrol continues with the default action. -# If you do not want apccontrol to continue, exit your script with exit -# code 99. E.g. "exit 99". -# -# WARNING: the apccontrol file will be overwritten every time you update your -# apcupsd, doing `make install'. Your own customized scripts will _not_ be -# overwritten. If you wish to make changes to this file (discouraged), you -# should change apccontrol.sh.in and then rerun the configure process. -# -if [ -f ${SCRIPTDIR}/${1} -a -x ${SCRIPTDIR}/${1} ] -then - ${SCRIPTDIR}/${1} ${2} ${3} ${4} - # exit code 99 means he does not want us to do default action - if [ $? = 99 ] ; then - exit 0 - fi -fi - -case "$1" in - killpower) - echo "Apccontrol doing: ${APCUPSD} --killpower on UPS ${2}" - sleep 10 - ${APCUPSD} --killpower - echo "Apccontrol has done: ${APCUPSD} --killpower on UPS ${2}" | ${WALL} - ;; - commfailure) - echo "Warning communications lost with UPS ${2}" | ${WALL} - ;; - commok) - echo "Communications restored with UPS ${2}" | ${WALL} - ;; -# -# powerout, onbattery, offbattery, mainsback events occur -# in that order. -# - powerout) - echo "Warning power loss detected on UPS ${2}" | ${WALL} - ;; - onbattery) - echo "Power failure on UPS ${2}. Running on batteries." | ${WALL} - ;; - offbattery) - ;; - mainsback) - echo "Power has returned on UPS ${2}..." | ${WALL} - if [ -f /etc/powerfail ] ; then - printf "Continuing with shutdown." | ${WALL} - fi - ;; - failing) - echo "Battery power exhaused on UPS ${2}. Doing shutdown." | ${WALL} - ;; - timeout) - echo "Battery time limit exceeded on UPS ${2}. Doing shutdown." | ${WALL} - ;; - loadlimit) - echo "Remaining battery charge below limit on UPS ${2}. Doing shutdown." | ${WALL} - ;; - runlimit) - echo "Remaining battery runtime below limit on UPS ${2}. Doing shutdown." | ${WALL} - ;; - doreboot) - echo "UPS ${2} initiating Reboot Sequence" | ${WALL} - ${SHUTDOWN} -r now "apcupsd UPS ${2} initiated reboot" - ;; - doshutdown) - echo "UPS ${2} initiated Shutdown Sequence" | ${WALL} - ${SHUTDOWN} -h now "apcupsd UPS ${2} initiated shutdown" - ;; - annoyme) - echo "Power problems with UPS ${2}. Please logoff." | ${WALL} - ;; - emergency) - echo "Emergency Shutdown. Possible battery failure on UPS ${2}." | ${WALL} - ;; - changeme) - echo "Emergency! Batteries have failed on UPS ${2}. Change them NOW" | ${WALL} - ;; - remotedown) - echo "Remote Shutdown. Beginning Shutdown Sequence." | ${WALL} - ;; - restartme) - echo -n "Restarting APCUPSD Power Management: " - THEPID=`cat ${APCPID}` - kill ${THEPID} - rm -f ${APCPID} - rm -f /etc/powerfail - rm -f /etc/nologin - sleep 5 - `${APCUPSD}` - echo "apcupsd" - ;; - startselftest) - ;; - endselftest) - ;; - battdetach) - ;; - battattach) - ;; - *) echo "Usage: ${0##*/} command" - echo " warning: this script is intended to be launched by" - echo " apcupsd and should never be launched by users." - exit 1 - ;; -esac diff --git a/trunk/package/feeds/packages/apcupsd/files/apcupsd.conf b/trunk/package/feeds/packages/apcupsd/files/apcupsd.conf deleted file mode 100644 index b9acd61d..00000000 --- a/trunk/package/feeds/packages/apcupsd/files/apcupsd.conf +++ /dev/null @@ -1,322 +0,0 @@ -## apcupsd.conf v1.1 ## -# -# for apcupsd release 3.14.1 (04 May 2007) - unknown -# -# "apcupsd" POSIX config file - -# -# ========= General configuration parameters ============ -# - -# UPSNAME xxx -# Use this to give your UPS a name in log files and such. This -# is particulary useful if you have multiple UPSes. This does not -# set the EEPROM. It should be 8 characters or less. -UPSNAME ups1 - -# UPSCABLE -# Defines the type of cable connecting the UPS to your computer. -# -# Possible generic choices for are: -# simple, smart, ether, usb -# -# Or a specific cable model number may be used: -# 940-0119A, 940-0127A, 940-0128A, 940-0020B, -# 940-0020C, 940-0023A, 940-0024B, 940-0024C, -# 940-1524C, 940-0024G, 940-0095A, 940-0095B, -# 940-0095C, M-04-02-2000 -# -UPSCABLE smart - -# To get apcupsd to work, in addition to defining the cable -# above, you must also define a UPSTYPE, which corresponds to -# the type of UPS you have (see the Description for more details). -# You must also specify a DEVICE, sometimes referred to as a port. -# For USB UPSes, please leave the DEVICE directive blank. For -# other UPS types, you must specify an appropriate port or address. -# -# UPSTYPE DEVICE Description -# apcsmart /dev/tty** Newer serial character device, -# appropriate for SmartUPS models using -# a serial cable (not USB). -# -# usb Most new UPSes are USB. A blank DEVICE -# setting enables autodetection, which is -# the best choice for most installations. -# -# net hostname:port Network link to a master apcupsd -# through apcupsd's Network Information -# Server. This is used if you don't have -# a UPS directly connected to your computer. -# -# snmp hostname:port:vendor:community -# SNMP Network link to an SNMP-enabled -# UPS device. Vendor is the MIB used by -# the UPS device: can be "APC", "APC_NOTRAP" -# or "RFC" where APC is the powernet MIB, -# "APC_NOTRAP" is powernet with SNMP trap -# catching disabled, and RFC is the IETF's -# rfc1628 UPS-MIB. You usually want "APC". -# Port is usually 161. Community is usually -# "private". -# -# dumb /dev/tty** Old serial character device for use -# with simple-signaling UPSes. -# -# pcnet ipaddr:username:passphrase -# PowerChute Network Shutdown protocol -# which can be used as an alternative to SNMP -# with AP9617 family of smart slot cards. -# ipaddr is the IP address of the UPS mgmt -# card. username and passphrase are the -# credentials for which the card has been -# configured. -# -UPSTYPE apcsmart -DEVICE /dev/ttyS0 - - -# LOCKFILE -# Path for device lock file. Not used on Win32. -LOCKFILE /var/lock - -# SCRIPTDIR -# Directory in which apccontrol and event scripts are located. -SCRIPTDIR /etc/apcupsd - -# PWRFAILDIR -# Directory in which to write the powerfail flag file. This file -# is created when apcupsd initiates a system shutdown and is -# checked in the OS halt scripts to determine if a killpower -# (turning off UPS output power) is required. -PWRFAILDIR /etc - -# NOLOGINDIR -# Directory in which to write the nologin file. The existence -# of this flag file tells the OS to disallow new logins. -NOLOGINDIR /etc - - -# -# ======== Configuration parameters used during power failures ========== -# - -# The ONBATTERYDELAY is the time in seconds from when a power failure -# is detected until we react to it with an onbattery event. -# -# This means that, apccontrol will be called with the powerout argument -# immediately when a power failure is detected. However, the -# onbattery argument is passed to apccontrol only after the -# ONBATTERYDELAY time. If you don't want to be annoyed by short -# powerfailures, make sure that apccontrol powerout does nothing -# i.e. comment out the wall. -#ONBATTERYDELAY 6 - -# -# Note: BATTERYLEVEL, MINUTES, and TIMEOUT work in conjunction, so -# the first that occurs will cause the initation of a shutdown. -# - -# If during a power failure, the remaining battery percentage -# (as reported by the UPS) is below or equal to BATTERYLEVEL, -# apcupsd will initiate a system shutdown. -BATTERYLEVEL 5 - -# If during a power failure, the remaining runtime in minutes -# (as calculated internally by the UPS) is below or equal to MINUTES, -# apcupsd, will initiate a system shutdown. -MINUTES 3 - -# If during a power failure, the UPS has run on batteries for TIMEOUT -# many seconds or longer, apcupsd will initiate a system shutdown. -# A value of 0 disables this timer. -# -# Note, if you have a Smart UPS, you will most likely want to disable -# this timer by setting it to zero. That way, you UPS will continue -# on batteries until either the % charge remaing drops to or below BATTERYLEVEL, -# or the remaining battery runtime drops to or below MINUTES. Of course, -# if you are testing, setting this to 60 causes a quick system shutdown -# if you pull the power plug. -# If you have an older dumb UPS, you will want to set this to less than -# the time you know you can run on batteries. -TIMEOUT 0 - -# Time in seconds between annoying users to signoff prior to -# system shutdown. 0 disables. -ANNOY 300 - -# Initial delay after power failure before warning users to get -# off the system. -ANNOYDELAY 60 - -# The condition which determines when users are prevented from -# logging in during a power failure. -# NOLOGON [ disable | timeout | percent | minutes | always ] -NOLOGON disable - -# If KILLDELAY is non-zero, apcupsd will continue running after a -# shutdown has been requested, and after the specified time in -# seconds attempt to kill the power. This is for use on systems -# where apcupsd cannot regain control after a shutdown. -# KILLDELAY 0 disables -KILLDELAY 0 - -# -# ==== Configuration statements for Network Information Server ==== -# - -# NETSERVER [ on | off ] on enables, off disables the network -# information server. If netstatus is on, a network information -# server process will be started for serving the STATUS and -# EVENT data over the network (used by CGI programs). -NETSERVER on - -# NISIP -# IP address on which NIS server will listen for incoming connections. -# This is useful if your server is multi-homed (has more than one -# network interface and IP address). Default value is 0.0.0.0 which -# means any incoming request will be serviced. Alternatively, you can -# configure this setting to any specific IP address of your server and -# NIS will listen for connections only on that interface. Use the -# loopback address (127.0.0.1) to accept connections only from the -# local machine. -NISIP 0.0.0.0 - -# NISPORT default is 3551 as registered with the IANA -# port to use for sending STATUS and EVENTS data over the network. -# It is not used unless NETSERVER is on. If you change this port, -# you will need to change the corresponding value in the cgi directory -# and rebuild the cgi programs. -NISPORT 3551 - -# If you want the last few EVENTS to be available over the network -# by the network information server, you must define an EVENTSFILE. -EVENTSFILE /var/log/apcupsd.events - -# EVENTSFILEMAX -# By default, the size of the EVENTSFILE will be not be allowed to exceed -# 10 kilobytes. When the file grows beyond this limit, older EVENTS will -# be removed from the beginning of the file (first in first out). The -# parameter EVENTSFILEMAX can be set to a different kilobyte value, or set -# to zero to allow the EVENTSFILE to grow without limit. -EVENTSFILEMAX 10 - -# -# ========== Configuration statements used if sharing ============= -# a UPS with more than one machine - -# NETTIME -# Interval (in seconds) at which the NIS client polls the server. -# Used only when this apcupsd is a network client (UPSTYPE net). -#NETTIME 60 - -# -# Remaining items are for ShareUPS (APC expansion card) ONLY -# - -# UPSCLASS [ standalone | shareslave | sharemaster ] -# Normally standalone unless you share an UPS using an APC ShareUPS -# card. -UPSCLASS standalone - -# UPSMODE [ disable | share ] -# Normally disable unless you share an UPS using an APC ShareUPS card. -UPSMODE disable - -# -# ===== Configuration statements to control apcupsd system logging ======== -# - -# Time interval in seconds between writing the STATUS file; 0 disables -STATTIME 0 - -# Location of STATUS file (written to only if STATTIME is non-zero) -STATFILE /var/log/apcupsd.status - -# LOGSTATS [ on | off ] on enables, off disables -# Note! This generates a lot of output, so if -# you turn this on, be sure that the -# file defined in syslog.conf for LOG_NOTICE is a named pipe. -# You probably do not want this on. -LOGSTATS off - -# Time interval in seconds between writing the DATA records to -# the log file. 0 disables. -DATATIME 0 - -# FACILITY defines the logging facility (class) for logging to syslog. -# If not specified, it defaults to "daemon". This is useful -# if you want to separate the data logged by apcupsd from other -# programs. -#FACILITY DAEMON - -# -# ========== Configuration statements used in updating the UPS EPROM ========= -# - -# -# These statements are used only by apctest when choosing "Set EEPROM with conf -# file values" from the EEPROM menu. THESE STATEMENTS HAVE NO EFFECT ON APCUPSD. -# - -# UPS name, max 8 characters -#UPSNAME UPS_IDEN - -# Battery date - 8 characters -#BATTDATE mm/dd/yy - -# Sensitivity to line voltage quality (H cause faster transfer to batteries) -# SENSITIVITY H M L (default = H) -#SENSITIVITY H - -# UPS delay after power return (seconds) -# WAKEUP 000 060 180 300 (default = 0) -#WAKEUP 60 - -# UPS Grace period after request to power off (seconds) -# SLEEP 020 180 300 600 (default = 20) -#SLEEP 180 - -# Low line voltage causing transfer to batteries -# The permitted values depend on your model as defined by last letter -# of FIRMWARE or APCMODEL. Some representative values are: -# D 106 103 100 097 -# M 177 172 168 182 -# A 092 090 088 086 -# I 208 204 200 196 (default = 0 => not valid) -#LOTRANSFER 208 - -# High line voltage causing transfer to batteries -# The permitted values depend on your model as defined by last letter -# of FIRMWARE or APCMODEL. Some representative values are: -# D 127 130 133 136 -# M 229 234 239 224 -# A 108 110 112 114 -# I 253 257 261 265 (default = 0 => not valid) -#HITRANSFER 253 - -# Battery charge needed to restore power -# RETURNCHARGE 00 15 50 90 (default = 15) -#RETURNCHARGE 15 - -# Alarm delay -# 0 = zero delay after pwr fail, T = power fail + 30 sec, L = low battery, N = never -# BEEPSTATE 0 T L N (default = 0) -#BEEPSTATE T - -# Low battery warning delay in minutes -# LOWBATT 02 05 07 10 (default = 02) -#LOWBATT 2 - -# UPS Output voltage when running on batteries -# The permitted values depend on your model as defined by last letter -# of FIRMWARE or APCMODEL. Some representative values are: -# D 115 -# M 208 -# A 100 -# I 230 240 220 225 (default = 0 => not valid) -#OUTPUTVOLTS 230 - -# Self test interval in hours 336=2 weeks, 168=1 week, ON=at power on -# SELFTEST 336 168 ON OFF (default = 336) -#SELFTEST 336 diff --git a/trunk/package/feeds/packages/apcupsd/files/apcupsd.css b/trunk/package/feeds/packages/apcupsd/files/apcupsd.css deleted file mode 100644 index e98c75e5..00000000 --- a/trunk/package/feeds/packages/apcupsd/files/apcupsd.css +++ /dev/null @@ -1,64 +0,0 @@ -body { - color: black; - background: white; -} - -div.Center { - text-align: center; -} - -img { - border-style: none; -} - -pre { - text-align: left; -} - -strong { - color: red; -} - -table.Outer { - color: black; - background: #60a0a0; - empty-cells: show; border: solid #60a0a0 -} - -th.Outer { - color: black; - background: #60b0b0 -} - -.Title { - font-size: 18pt; -} - -.SubTitle { - font-size: 12pt; -} - -.Empty { - color: black; - background: aqua; -} - -.Fault { - color: black; - background: red; -} - -.Label { - color: black; - background: aqua; -} - -.Normal { - color: black; - background: lime; -} - -.Warning { - color: black; - background: yellow; -} diff --git a/trunk/package/feeds/packages/apcupsd/files/apcupsd.init b/trunk/package/feeds/packages/apcupsd/files/apcupsd.init deleted file mode 100644 index 54543779..00000000 --- a/trunk/package/feeds/packages/apcupsd/files/apcupsd.init +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2006 OpenWrt.org -START=50 -STOP=50 - -start() { - /usr/sbin/apcupsd -f /etc/apcupsd/apcupsd.conf -} - -stop() { - kill $(cat /var/run/apcupsd.pid) -} diff --git a/trunk/package/feeds/packages/apcupsd/files/apcupsd_mail.conf b/trunk/package/feeds/packages/apcupsd/files/apcupsd_mail.conf deleted file mode 100644 index 3ada8e52..00000000 --- a/trunk/package/feeds/packages/apcupsd/files/apcupsd_mail.conf +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -MAILPROG="/usr/sbin/smtp" -MAILHOST="mail:25" -FROM="OpenWrt" -TO="apcups@example.com" -HOSTNAME="OpenWrt" diff --git a/trunk/package/feeds/packages/apcupsd/files/changeme b/trunk/package/feeds/packages/apcupsd/files/changeme deleted file mode 100644 index bcf448ab..00000000 --- a/trunk/package/feeds/packages/apcupsd/files/changeme +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -# -# This shell script if placed in /etc/apcupsd -# will be called by /etc/apcupsd/apccontrol when apcupsd -# detects that the battery should be replaced. -# We send an email message to root to notify him. -# -. /etc/apcupsd/apcupsd_mail.conf - -MSG="$HOSTNAME UPS battery needs changing NOW." -# -( - echo "$MSG" - echo " " - /usr/sbin/apcaccess status -) | $MAILPROG -h $MAILHOST -f $FROM -s "$MSG" $TO -exit 0 diff --git a/trunk/package/feeds/packages/apcupsd/files/commfailure b/trunk/package/feeds/packages/apcupsd/files/commfailure deleted file mode 100644 index b899195f..00000000 --- a/trunk/package/feeds/packages/apcupsd/files/commfailure +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -# -# This shell script if placed in /etc/apcupsd -# will be called by /etc/apcupsd/apccontrol when apcupsd -# loses contact with the UPS (i.e. the serial connection is not responding). -# We send an email message to root to notify him. -# -. /etc/apcupsd/apcupsd_mail.conf - -MSG="$HOSTNAME Communications with UPS lost" -# -( - echo "$MSG" - echo " " - /usr/sbin/apcaccess status -) | $MAILPROG -h $MAILHOST -f $FROM -s "$MSG" $TO -exit 0 diff --git a/trunk/package/feeds/packages/apcupsd/files/commok b/trunk/package/feeds/packages/apcupsd/files/commok deleted file mode 100644 index cd5d1c62..00000000 --- a/trunk/package/feeds/packages/apcupsd/files/commok +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -# -# This shell script if placed in /etc/apcupsd -# will be called by /etc/apcupsd/apccontrol when apcupsd -# restores contact with the UPS (i.e. the serial connection is restored). -# We send an email message to root to notify him. -# -. /etc/apcupsd/apcupsd_mail.conf - -MSG="$HOSTNAME Communications with UPS restored" -# -( - echo "$MSG" - echo " " - /usr/sbin/apcaccess status -) | $MAILPROG -h $MAILHOST -f $FROM -s "$MSG" $TO -exit 0 diff --git a/trunk/package/feeds/packages/apcupsd/files/hosts.conf b/trunk/package/feeds/packages/apcupsd/files/hosts.conf deleted file mode 100644 index 854e0081..00000000 --- a/trunk/package/feeds/packages/apcupsd/files/hosts.conf +++ /dev/null @@ -1,19 +0,0 @@ -# Network UPS Tools - hosts.conf -# -# This file does double duty - it lists the systems that multimon will -# monitor, and also specifies the systems that upsstats is allowed to -# watch. It keeps people from feeding random addresses to upsstats, -# among other things. upsimage also uses this file to know who it -# may speak to. upsfstats too. -# -# Usage: list systems running upsd that you want to monitor -# -# MONITOR
"" -# -# Please note, MONITOR must start in column 1 (no spaces permitted) -# -# Example: -# MONITOR 10.64.1.1 "Finance department" -# MONITOR 10.78.1.1 "Sierra High School data room #1" -# -MONITOR 127.0.0.1 "Local Host" diff --git a/trunk/package/feeds/packages/apcupsd/files/multimon.conf b/trunk/package/feeds/packages/apcupsd/files/multimon.conf deleted file mode 100644 index 4cdf9b06..00000000 --- a/trunk/package/feeds/packages/apcupsd/files/multimon.conf +++ /dev/null @@ -1,63 +0,0 @@ -# Sample multimon configuration file -# -# This file is not required. Without it, multimon will use the default -# field layout. -# -# Temperature selection -# -# Pick "TEMPC" for Celsius or "TEMPF" for Fahrenheit. This will override -# the --enable-celsius setting from the compile. UPSTEMP (below) will -# use this setting by default. - -TEMPC - -# Format: -# FIELD "" "" -# -# is either a word from the UPS protocol like battchg (see the -# table in src/cgi/upsfetch.c) or a special word in uppercase. -# -# Special words are: -# MODEL - Show the model name for this system in cyan -# -# STATUS - Parse the status for this system using the appropriate color -# -# UPSTEMP and AMBTEMP use the default scale. This is set to C if you use -# --enable-celsius at compile time *or* if you use "TEMPC" above. -# -# UPSTEMP - Show the UPS temperature in the default scale (suffix ignored) -# AMBTEMP - Show the ambient temperature in the default scale (suffix ignored) -# -# UPSTEMPC - Show the UPS temperature in degrees C (suffix ignored) -# UPSTEMPF - Show the UPS temperature in degrees F (suffix ignored) -# AMBTEMPC - Show the ambient temperature in degrees C (suffix ignored) -# AMBTEMPF - Show the ambient temperature in degrees F (suffix ignored) -# -# They're called "special" since they actually understand the content -# being printed and do other things based on what's in there. -# -# is what you'd like this column to be called on the page. -# Remember that this is HTML, so you can actually embed markup in here. -# This means you can even include images here. You can include quotes -# (and backslashes!) in the string by escaping them with a backslash (\). -# -# is typically something like % or VAC. It's useful if -# you want to convey the units that apply to a value. -# -# Example config - -FIELD SYSTEM "System" "" -FIELD MODEL "Model" "" -FIELD STATUS "Status" "" -FIELD battpct "Battery Chg" "%" -FIELD utility "Utility" "VAC" -FIELD loadpct "UPS Load" "%" -FIELD UPSTEMP "UPS Temp" "" -FIELD runtime "Batt. Run Time" "min." -FIELD DATA "Data" "All data" - -# These are only useful if you have a Smart-UPS model with the Measure-UPS II -# measurement card. No other models presently support these features. -# -# FIELD AMBTEMP "Ambient Temp" "" -# FIELD HUMIDITY "Ambient Humidity" "%" diff --git a/trunk/package/feeds/packages/apcupsd/files/offbattery b/trunk/package/feeds/packages/apcupsd/files/offbattery deleted file mode 100644 index cd5d1c62..00000000 --- a/trunk/package/feeds/packages/apcupsd/files/offbattery +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -# -# This shell script if placed in /etc/apcupsd -# will be called by /etc/apcupsd/apccontrol when apcupsd -# restores contact with the UPS (i.e. the serial connection is restored). -# We send an email message to root to notify him. -# -. /etc/apcupsd/apcupsd_mail.conf - -MSG="$HOSTNAME Communications with UPS restored" -# -( - echo "$MSG" - echo " " - /usr/sbin/apcaccess status -) | $MAILPROG -h $MAILHOST -f $FROM -s "$MSG" $TO -exit 0 diff --git a/trunk/package/feeds/packages/apcupsd/files/onbattery b/trunk/package/feeds/packages/apcupsd/files/onbattery deleted file mode 100644 index ee5f6530..00000000 --- a/trunk/package/feeds/packages/apcupsd/files/onbattery +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -# -# This shell script if placed in /etc/apcupsd -# will be called by /etc/apcupsd/apccontrol when the UPS -# goes on batteries. -# We send an email message to root to notify him. -# -. /etc/apcupsd/apcupsd_mail.conf - -MSG="$HOSTNAME Power Failure !!!" -# -( - echo "$MSG" - echo " " - /usr/sbin/apcaccess status -) | $MAILPROG -h $MAILHOST -f $FROM -s "$MSG" $TO -exit 0 diff --git a/trunk/package/feeds/packages/apcupsd/patches/010-fix-usb.patch b/trunk/package/feeds/packages/apcupsd/patches/010-fix-usb.patch deleted file mode 100644 index b313bb22..00000000 --- a/trunk/package/feeds/packages/apcupsd/patches/010-fix-usb.patch +++ /dev/null @@ -1,8 +0,0 @@ ---- a/include/libusb.h.in.orig 2015-02-21 18:53:51.023682068 +0100 -+++ a/include/libusb.h.in 2015-02-21 18:54:14.722788757 +0100 -@@ -6,4 +6,4 @@ - * path at configure time and various apcupsd bits include this - * when they need libusb's usb.h. - */ --#include "@LIBUSBH@" -+#include "usb.h" diff --git a/trunk/package/feeds/packages/apinger/Makefile b/trunk/package/feeds/packages/apinger/Makefile deleted file mode 100644 index 5d73ae1b..00000000 --- a/trunk/package/feeds/packages/apinger/Makefile +++ /dev/null @@ -1,67 +0,0 @@ -# -# Copyright (C) 2006-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=apinger -PKG_VERSION:=0.6.1 -PKG_RELEASE=$(PKG_SOURCE_VERSION) - -PKG_SOURCE_PROTO:=git -PKG_SOURCE_URL:=https://github.com/Jajcus/apinger.git -PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=c7da72f7ec26eedd7fd8d224c0e10787b204f94e -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz - -PKG_MAINTAINER:=Alex Samorukov -PKG_LICENSE:= GPL-2.0 - -PKG_FIXUP:=autoreconf - -PKG_BUILD_PARALLEL:=1 -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/package.mk - -define Package/apinger - SECTION:=net - CATEGORY:=Network - TITLE:=Tool which monitors various IP devices by simple ICMP echo requests - URL:=https://github.com/Jajcus/apinger - PKG_MAINTAINER:=Alex Samorukov -endef - -define Package/apinger/description - Alarm Pinger (apinger) is a little tool which monitors various IP devices by - simple ICMP echo requests. There are various other tools, that can do this, - but most of them are shell or perl scripts, spawning many processes, thus much - CPU-expensive, especially when one wants continuous monitoring and fast - response on target failure. Alarm Pinger is a single program written in C, so - it doesn't need much CPU power even when monitoring many targets with frequent - probes. Alarm Pinger supports both IPv4 and IPv6. The code have been tested - on Linux and FreeBSD. -endef - -define Package/apinger/conffiles -/etc/apinger.conf -endef - -define Build/Configure - $(call Build/Configure/Default) -endef - -define Package/apinger/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/apinger $(1)/usr/sbin/ - $(INSTALL_DIR) $(1)/etc - $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/apinger.conf $(1)/etc/apinger.conf - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) ./files/apinger.init $(1)/etc/init.d/apinger -endef - -$(eval $(call BuildPackage,apinger)) - diff --git a/trunk/package/feeds/packages/apinger/files/apinger.init b/trunk/package/feeds/packages/apinger/files/apinger.init deleted file mode 100644 index 8caac386..00000000 --- a/trunk/package/feeds/packages/apinger/files/apinger.init +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2006-2011 OpenWrt.org - -START=80 - -SERVICE_USE_PID=1 - -start() { - service_start /usr/sbin/apinger -} - -stop() { - service_stop /usr/sbin/apinger -} - -reload() { - service_reload /usr/sbin/apinger -} diff --git a/trunk/package/feeds/packages/apinger/patches/001-autoreconf.patch b/trunk/package/feeds/packages/apinger/patches/001-autoreconf.patch deleted file mode 100644 index cb5bd454..00000000 --- a/trunk/package/feeds/packages/apinger/patches/001-autoreconf.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- apinger-0.6.1/acinclude.m4 2003-10-21 12:44:48.000000000 +0000 -+++ apinger-0.6.1/acinclude.m4 2015-04-08 15:27:37.451903960 +0000 -@@ -39,9 +39,7 @@ - [$jk_inet_includes - $jk_icmp_includes]) - --AC_CHECK_MEMBERS([struct icmp.icmp_type, struct icmp.icmp_code,\ --struct icmp.icmp_cksum, struct icmp.icmp_seq,\ --struct icmp.icmp_id],[], -+AC_CHECK_MEMBERS([struct icmp.icmp_type, struct icmp.icmp_code,struct icmp.icmp_cksum, struct icmp.icmp_seq,struct icmp.icmp_id],[], - AC_MSG_ERROR(struct icmp not defined or not compatible), - [$jk_inet_includes - $jk_icmp_includes]) diff --git a/trunk/package/feeds/packages/apinger/patches/002-run_as_user.patch b/trunk/package/feeds/packages/apinger/patches/002-run_as_user.patch deleted file mode 100644 index 16d64acc..00000000 --- a/trunk/package/feeds/packages/apinger/patches/002-run_as_user.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- apinger-0.6.1/src/apinger.conf.orig 2015-04-08 16:05:24.558919722 +0000 -+++ apinger-0.6.1/src/apinger.conf 2015-04-08 16:07:47.089170236 +0000 -@@ -9,7 +9,7 @@ - - ## User and group the pinger should run as - user "nobody" --group "nobody" -+group "nogroup" - - ## Mailer to use (default: "/usr/lib/sendmail -t") - #mailer "/var/qmail/bin/qmail-inject" diff --git a/trunk/package/feeds/packages/apinger/patches/003-no_docs.patch b/trunk/package/feeds/packages/apinger/patches/003-no_docs.patch deleted file mode 100644 index c08f44de..00000000 --- a/trunk/package/feeds/packages/apinger/patches/003-no_docs.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- apinger-0.6.1/Makefile.am.orig 2015-04-08 16:47:40.999990050 +0000 -+++ apinger-0.6.1/Makefile.am 2015-04-08 16:48:07.565220137 +0000 -@@ -1,7 +1,7 @@ - - EXTRA_DIST = autogen.sh TODO BUGS - --SUBDIRS = src doc -+SUBDIRS = src - - .PHONY: ChangeLog - diff --git a/trunk/package/feeds/packages/apr-util/Makefile b/trunk/package/feeds/packages/apr-util/Makefile deleted file mode 100644 index d5178d56..00000000 --- a/trunk/package/feeds/packages/apr-util/Makefile +++ /dev/null @@ -1,77 +0,0 @@ -# -# Copyright (C) 2007-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=apr-util -PKG_VERSION:=1.5.4 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=https://archive.apache.org/dist/apr/ -PKG_MD5SUM:=2202b18f269ad606d70e1864857ed93c -PKG_MAINTAINER:=Thomas Heil -PKG_LICENSE:=Apache License - -PKG_FIXUP:=autoreconf -PKG_REMOVE_FILES:=aclocal.m4 build/ltmain.sh - -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/package.mk -include $(INCLUDE_DIR)/nls.mk - -define Package/libaprutil - SECTION:=libs - CATEGORY:=Libraries - DEPENDS:=+libapr +libexpat +libsqlite3 +libuuid $(ICONV_DEPENDS) - TITLE:=Apache Portable Runtime Utility Library - URL:=http://apr.apache.org/ -endef - -TARGET_CFLAGS += $(FPIC) -TARGET_CPPFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE - -CONFIGURE_ARGS += \ - --with-pgsql=no \ - --with-apr="$(STAGING_DIR)/usr/bin/apr-1-config" \ - --with-expat="$(STAGING_DIR)/usr" \ - --without-sqlite2 \ - --with-sqlite3="$(STAGING_DIR)/usr" \ - --with-iconv="$(ICONV_PREFIX)" \ - -CONFIGURE_VARS += \ - ac_cv_file_dbd_apr_dbd_mysql_c=no \ - ac_cv_path_ODBC_CONFIG= \ - APR_BUILD_DIR="$(STAGING_DIR)/usr/share/build-1" \ - -MAKE_FLAGS += \ - APRUTIL_LIBS="-lsqlite3 $(TARGET_LDFLAGS) -lexpat $(if $(ICONV_FULL),-liconv) -lapr-1 -luuid -lm -lcrypt" \ - -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/include/apr-1/ $(1)/usr/lib $(1)/usr/lib/pkgconfig/ - $(CP) $(PKG_INSTALL_DIR)/usr/bin/apu-1-config \ - $(1)/usr/bin/ - $(CP) $(PKG_INSTALL_DIR)/usr/include/apr-1/* \ - $(1)/usr/include/apr-1/ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libaprutil-1.{la,a,so*} \ - $(1)/usr/lib/ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/apr-util-1.pc \ - $(1)/usr/lib/pkgconfig/ - $(SED) 's, -e \"s -I$$$$prefix/lib g\",,g' $(1)/usr/bin/apu-1-config - $(SED) 's,^libdir=\"$$$${exec_prefix}/lib,libdir=\"$(STAGING_DIR)/usr/lib,g' $(1)/usr/bin/apu-1-config - $(SED) 's,^includedir=\"$$$${prefix}/include/,includedir=\"$(STAGING_DIR)/usr/include/,g' $(1)/usr/bin/apu-1-config - $(SED) 's,-L$$$$libdir,,g' $(1)/usr/bin/apu-1-config - $(SED) 's,-R$$$$libdir,,g' $(1)/usr/bin/apu-1-config -endef - -define Package/libaprutil/install - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libaprutil-1.so.* $(1)/usr/lib/ -endef - -$(eval $(call BuildPackage,libaprutil)) diff --git a/trunk/package/feeds/packages/apr-util/patches/001-automake-compat.patch b/trunk/package/feeds/packages/apr-util/patches/001-automake-compat.patch deleted file mode 100644 index 20c4cf2b..00000000 --- a/trunk/package/feeds/packages/apr-util/patches/001-automake-compat.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/Makefile.in -+++ b/Makefile.in -@@ -8,6 +8,7 @@ APRUTIL_MAJOR_VERSION=@APRUTIL_MAJOR_VER - APRUTIL_DOTTED_VERSION=@APRUTIL_DOTTED_VERSION@ - - srcdir = @srcdir@ -+top_builddir = @top_builddir@ - VPATH = @srcdir@ - - INCLUDES = @APRUTIL_PRIV_INCLUDES@ @APR_INCLUDES@ @APRUTIL_INCLUDES@ ---- a/configure.in -+++ b/configure.in -@@ -41,6 +41,8 @@ AC_SUBST(APU_CONFIG_LOCATION) - AC_CANONICAL_SYSTEM - - AC_PROG_INSTALL -+AC_PROG_LIBTOOL -+LT_INIT - - # Use -no-install or -no-fast-install to link the test - # programs on all platforms but Darwin, where it would cause diff --git a/trunk/package/feeds/packages/apr/Makefile b/trunk/package/feeds/packages/apr/Makefile deleted file mode 100644 index 69f5b5fd..00000000 --- a/trunk/package/feeds/packages/apr/Makefile +++ /dev/null @@ -1,79 +0,0 @@ -# -# Copyright (C) 2007-2011 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=apr -PKG_VERSION:=1.5.1 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=http://mirrors.ibiblio.org/apache/apr/ -PKG_MD5SUM:=5486180ec5a23efb5cae6d4292b300ab -PKG_MAINTAINER:=Thomas Heil -PKG_LICENSE:=Apache License - -PKG_FIXUP:=autoreconf -PKG_REMOVE_FILES:=aclocal.m4 build/ltmain.sh - -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/package.mk - -define Package/libapr - SECTION:=libs - CATEGORY:=Libraries - DEPENDS:=+libpthread +librt +libuuid - TITLE:=Apache Portable Runtime Library - URL:=http://apr.apache.org/ -endef - -TARGET_CFLAGS += $(FPIC) -TARGET_CPPFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE - -CONFIGURE_ARGS += \ - --with-devrandom=/dev/urandom \ - --disable-dso \ - --enable-ipv6 - -# XXX: ac_cv_sizeof_struct_iovec=1 is just to trick configure -CONFIGURE_VARS += \ - ac_cv_sizeof_struct_iovec=1 \ - ac_cv_struct_rlimit=yes \ - apr_cv_process_shared_works=no \ - apr_cv_mutex_robust_shared=no \ - apr_cv_tcp_nodelay_with_cork=yes \ - apr_cv_use_lfs64=yes \ - LDFLAGS="$$$$LDFLAGS -lpthread" \ - -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/include/apr-1 $(1)/usr/lib $(1)/usr/lib/pkgconfig $(1)/usr/share/build-1 - $(CP) $(PKG_INSTALL_DIR)/usr/bin/apr-1-config \ - $(1)/usr/bin/ - $(CP) $(PKG_INSTALL_DIR)/usr/include/apr-1/* \ - $(1)/usr/include/apr-1/ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libapr-1.{la,a,so*} \ - $(1)/usr/lib/ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/apr-1.pc \ - $(1)/usr/lib/pkgconfig/ - $(CP) $(PKG_INSTALL_DIR)/usr/share/build-1/* \ - $(1)/usr/share/build-1/ - $(SED) 's,^datadir=\"/usr/share\",datadir=\"$(STAGING_DIR)/usr/share\",g' $(1)/usr/bin/apr-1-config - $(SED) 's,^installbuilddir=\"/usr/share/build-1\",installbuilddir=\"$(STAGING_DIR)/usr/share/build-1\",g' $(1)/usr/bin/apr-1-config - $(SED) 's,^libdir=\"$$$${exec_prefix}/lib,libdir=\"$(STAGING_DIR)/usr/lib,g' $(1)/usr/bin/apr-1-config - $(SED) 's,^includedir=\"$$$${prefix}/include/,includedir=\"$(STAGING_DIR)/usr/include/,g' $(1)/usr/bin/apr-1-config - $(SED) 's,-L$$$$libdir,,g' $(1)/usr/bin/apr-1-config - $(SED) 's,-R$$$$libdir,,g' $(1)/usr/bin/apr-1-config - $(SED) 's,/usr/share/build-1,$(STAGING_DIR)/usr/share/build-1,g' $(1)/usr/share/build-1/apr_rules.mk -endef - -define Package/libapr/install - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libapr-1.so.* $(1)/usr/lib/ -endef - -$(eval $(call BuildPackage,libapr)) diff --git a/trunk/package/feeds/packages/apr/patches/001-autoconf-compat.patch b/trunk/package/feeds/packages/apr/patches/001-autoconf-compat.patch deleted file mode 100644 index 8170572b..00000000 --- a/trunk/package/feeds/packages/apr/patches/001-autoconf-compat.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/Makefile.in -+++ b/Makefile.in -@@ -3,6 +3,7 @@ srcdir=@srcdir@ - VPATH=@srcdir@ - top_srcdir=@apr_srcdir@ - top_blddir=@apr_builddir@ -+top_builddir=@top_builddir@ - - # - # APR (Apache Portable Runtime) library Makefile. ---- a/configure.in -+++ b/configure.in -@@ -246,9 +246,6 @@ case $host in - gcc $CFLAGS $CPPFLAGS -o $LIBTOOL.exe $LIBTOOL.c - ;; - *) -- if test "x$LTFLAGS" = "x"; then -- LTFLAGS='--silent' -- fi - if test "$experimental_libtool" = "yes"; then - # Use a custom-made libtool replacement - echo "using jlibtool" diff --git a/trunk/package/feeds/packages/apr/patches/101-fix_apr_time_now.patch b/trunk/package/feeds/packages/apr/patches/101-fix_apr_time_now.patch deleted file mode 100644 index 6ad14a37..00000000 --- a/trunk/package/feeds/packages/apr/patches/101-fix_apr_time_now.patch +++ /dev/null @@ -1,13 +0,0 @@ -https://dev.openwrt.org/ticket/9287 - ---- a/time/unix/time.c -+++ b/time/unix/time.c -@@ -75,7 +75,7 @@ APR_DECLARE(apr_time_t) apr_time_now(voi - { - struct timeval tv; - gettimeofday(&tv, NULL); -- return tv.tv_sec * APR_USEC_PER_SEC + tv.tv_usec; -+ return tv.tv_sec * (apr_time_t)APR_USEC_PER_SEC + (apr_time_t)tv.tv_usec; - } - - static void explode_time(apr_time_exp_t *xt, apr_time_t t, diff --git a/trunk/package/feeds/packages/apr/patches/201-upgrade-and-fix-1.5.1.patch b/trunk/package/feeds/packages/apr/patches/201-upgrade-and-fix-1.5.1.patch deleted file mode 100644 index 42f4c0f0..00000000 --- a/trunk/package/feeds/packages/apr/patches/201-upgrade-and-fix-1.5.1.patch +++ /dev/null @@ -1,54 +0,0 @@ -Makefile.in: fix cross compiling failed - -The tools/gen_test_char was invoked at build time, -and it didn't work for the cross compiling, so we -compile it with $BUILDCC. - -Remove the 'tools' dir creation, it always existed. -And it caused gen_test_char unexpected rebuilt at -do_install time. - -Upstream-Status: inappropriate [oe specific] - -Signed-off-by: Hongxu Jia ---- - Makefile.in | 10 ++-------- - 1 file changed, 2 insertions(+), 8 deletions(-) - -Index: apr-1.5.1/Makefile.in -=================================================================== ---- apr-1.5.1.orig/Makefile.in -+++ apr-1.5.1/Makefile.in -@@ -20,7 +20,7 @@ INCDIR=./include - OSDIR=$(top_srcdir)/include/arch/@OSDIR@ - DEFOSDIR=$(INCDIR)/arch/@DEFAULT_OSDIR@ - INCLUDES=-I$(INCDIR) -I$(OSDIR) -I$(DEFOSDIR) -I$(top_srcdir)/include/arch/@DEFAULT_OSDIR@ -I$(top_srcdir)/include -I$(top_srcdir)/include/private -I$(top_blddir)/include/private -- -+BUILDCC=gcc - # - # Macros for target determination - # -@@ -47,7 +47,6 @@ LT_VERSION = @LT_VERSION@ - - CLEAN_TARGETS = apr-config.out apr.exp exports.c export_vars.c .make.dirs \ - build/apr_rules.out tools/gen_test_char@EXEEXT@ \ -- tools/gen_test_char.o tools/gen_test_char.lo \ - include/private/apr_escape_test_char.h - DISTCLEAN_TARGETS = config.cache config.log config.status \ - include/apr.h include/arch/unix/apr_private.h \ -@@ -130,13 +129,8 @@ check: $(TARGET_LIB) - etags: - etags `find . -name '*.[ch]'` - --make_tools_dir: -- $(APR_MKDIR) tools -- --OBJECTS_gen_test_char = tools/gen_test_char.lo $(LOCAL_LIBS) --tools/gen_test_char.lo: make_tools_dir --tools/gen_test_char@EXEEXT@: $(OBJECTS_gen_test_char) -- $(LINK_PROG) $(OBJECTS_gen_test_char) $(ALL_LIBS) -+tools/gen_test_char@EXEEXT@: tools/gen_test_char.c -+ $(BUILDCC) $(CFLAGS_FOR_BUILD) $< -o $@ - - include/private/apr_escape_test_char.h: tools/gen_test_char@EXEEXT@ - $(APR_MKDIR) include/private diff --git a/trunk/package/feeds/packages/argp-standalone/Makefile b/trunk/package/feeds/packages/argp-standalone/Makefile deleted file mode 100644 index 8cf23fec..00000000 --- a/trunk/package/feeds/packages/argp-standalone/Makefile +++ /dev/null @@ -1,48 +0,0 @@ -# -# Copyright (C) 2007-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=argp-standalone -PKG_VERSION:=1.3 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://www.lysator.liu.se/~nisse/misc/ -PKG_MD5SUM:=720704bac078d067111b32444e24ba69 -PKG_MAINTAINER:=Ted Hess - -PKG_LICENSE:=LGPL-2.1 -PKG_LICENSE:=Makefile.am - -include $(INCLUDE_DIR)/package.mk - -define Package/argp-standalone - SECTION:=libs - CATEGORY:=Libraries - TITLE:=Hierarchial argument parsing broken out from glibc - URL:=http://www.lysator.liu.se/~nisse/misc/ -endef - -define Package/argp-standalone/description - GNU libc hierarchial argument parsing library broken out from glibc. -endef - -MAKE_FLAGS += \ - CFLAGS="$(TARGET_CFLAGS) $(FPIC)" - - -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include - $(CP) $(PKG_BUILD_DIR)/argp.h \ - $(1)/usr/include/ - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_BUILD_DIR)/libargp.a \ - $(1)/usr/lib/ -endef - -$(eval $(call BuildPackage,argp-standalone)) diff --git a/trunk/package/feeds/packages/argp-standalone/patches/001-throw-in-funcdef.patch b/trunk/package/feeds/packages/argp-standalone/patches/001-throw-in-funcdef.patch deleted file mode 100644 index 4a90751e..00000000 --- a/trunk/package/feeds/packages/argp-standalone/patches/001-throw-in-funcdef.patch +++ /dev/null @@ -1,79 +0,0 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# T2 SDE: package/.../rng-tools/throw-in-funcdef.patch.argp-standalone -# Copyright (C) 2006 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This patch file is dual-licensed. It is available under the license the -# patched project is licensed under, as long as it is an OpenSource license -# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms -# of the GNU General Public License as published by the Free Software -# Foundation; either version 2 of the License, or (at your option) any later -# version. -# --- T2-COPYRIGHT-NOTE-END --- - - -No __THROW in function implementation. - --jsaw - ---- argp-standalone-1.4-test2/argp.h.orig 2006-01-06 02:29:59.000000000 +0100 -+++ argp-standalone-1.4-test2/argp.h 2006-01-06 02:41:10.000000000 +0100 -@@ -560,17 +560,17 @@ - # endif - - # ifndef ARGP_EI --# define ARGP_EI extern __inline__ -+# define ARGP_EI extern inline - # endif - - ARGP_EI void --__argp_usage (__const struct argp_state *__state) __THROW -+__argp_usage (__const struct argp_state *__state) - { - __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE); - } - - ARGP_EI int --__option_is_short (__const struct argp_option *__opt) __THROW -+__option_is_short (__const struct argp_option *__opt) - { - if (__opt->flags & OPTION_DOC) - return 0; -@@ -582,7 +582,7 @@ - } - - ARGP_EI int --__option_is_end (__const struct argp_option *__opt) __THROW -+__option_is_end (__const struct argp_option *__opt) - { - return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; - } ---- argp-standalone-1.4-test2/argp-parse.c.orig 2006-01-06 02:47:48.000000000 +0100 -+++ argp-standalone-1.4-test2/argp-parse.c 2006-01-06 02:48:16.000000000 +0100 -@@ -1290,13 +1290,13 @@ - /* Defined here, in case a user is not inlining the definitions in - * argp.h */ - void --__argp_usage (__const struct argp_state *__state) __THROW -+__argp_usage (__const struct argp_state *__state) - { - __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE); - } - - int --__option_is_short (__const struct argp_option *__opt) __THROW -+__option_is_short (__const struct argp_option *__opt) - { - if (__opt->flags & OPTION_DOC) - return 0; -@@ -1310,7 +1310,7 @@ - } - - int --__option_is_end (__const struct argp_option *__opt) __THROW -+__option_is_end (__const struct argp_option *__opt) - { - return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; - } diff --git a/trunk/package/feeds/packages/aria2/Config.in b/trunk/package/feeds/packages/aria2/Config.in deleted file mode 100644 index ec21fafe..00000000 --- a/trunk/package/feeds/packages/aria2/Config.in +++ /dev/null @@ -1,28 +0,0 @@ -menu "Aria2 configuration" - depends on PACKAGE_aria2 - -choice - prompt "SSL library" - default ARIA2_OPENSSL - -config ARIA2_OPENSSL - bool "OpenSSL" - -config ARIA2_GNUTLS - bool "GNUTLS" - -config ARIA2_NOSSL - bool "No SSL support" - -endchoice - -config ARIA2_BITTORRENT - bool "Enable bittorrent support" - depends on ARIA2_OPENSSL - default n - -config ARIA2_METALINK - bool "Enable metalink support" - default N - -endmenu diff --git a/trunk/package/feeds/packages/aria2/Makefile b/trunk/package/feeds/packages/aria2/Makefile deleted file mode 100644 index cac017a6..00000000 --- a/trunk/package/feeds/packages/aria2/Makefile +++ /dev/null @@ -1,70 +0,0 @@ -# -# Copyright (C) 2012-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# -include $(TOPDIR)/rules.mk - -PKG_NAME:=aria2 -PKG_VERSION:=1.18.7 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=@SF/aria2 -PKG_MD5SUM:=36e92af92b4370817c577ed802546842 -PKG_INSTALL:=1 - -PKG_MAINTAINER:=Imre Kaloz -PKG_LICENSE:=GPLv2 -PKG_LICENSE_FILES:=COPYING - -PKG_CONFIG_DEPENDS := \ - ARIA2_NOSSL \ - ARIA2_OPENSSL \ - ARIA2_GNUTLS \ - ARIA2_BITTORRENT \ - ARIA2_METALINK - -include $(INCLUDE_DIR)/package.mk - -define Package/aria2/config - source "$(SOURCE)/Config.in" -endef - -define Package/aria2 - SECTION:=net - CATEGORY:=Network - SUBMENU:=File Transfer - TITLE:=lightweight download utility - URL:=http://aria2.sourceforge.net/ - DEPENDS:=+zlib +ARIA2_METALINK:libxml2 +libstdcpp +ARIA2_OPENSSL:libopenssl +ARIA2_GNUTLS:libgnutls -endef - -define Package/aria2/description - aria2 is a lightweight multi-protocol & multi-source command-line download - utility -endef - -CONFIGURE_ARGS += \ - --disable-nls \ - $(if $(CONFIG_ARIA2_NOSSL),--disable,--enable)-ssl \ - $(if $(CONFIG_ARIA2_OPENSSL),--with,--without)-openssl \ - $(if $(CONFIG_ARIA2_GNUTLS),--with,--without)-gnutls \ - $(if $(CONFIG_ARIA2_BITTORRENT),--enable,--disable)-bittorrent \ - $(if $(CONFIG_ARIA2_METALINK),--enable,--disable)-metalink \ - $(if $(CONFIG_ARIA2_METALINK),--with,--without)-libxml2 \ - --without-libnettle \ - --without-libgmp \ - --without-libgcrypt \ - --without-libexpat \ - --without-libcares \ - --without-sqlite3 \ - --with-libz - -define Package/aria2/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aria2c $(1)/usr/bin -endef - -$(eval $(call BuildPackage,aria2)) diff --git a/trunk/package/feeds/packages/attr/Makefile b/trunk/package/feeds/packages/attr/Makefile deleted file mode 100644 index 80da9ccd..00000000 --- a/trunk/package/feeds/packages/attr/Makefile +++ /dev/null @@ -1,93 +0,0 @@ -# -# Copyright (C) 2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=attr -PKG_REV:=c252ef434219891f616d891b46aad6b06efdd185 -PKG_VERSION:=20150220 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=git://git.sv.gnu.org/attr.git -PKG_SOURCE_PROTO:=git -PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=$(PKG_REV) -PKG_MAINTAINER:=Maxim Storchak - -PKG_LICENSE:=LGPL-2.1 GPL-2.0 -PKG_LICENSE_FILES:=doc/COPYING doc/COPYING.LGPL - -PKG_INSTALL:=1 -PKG_FIXUP:=autoreconf - -include $(INCLUDE_DIR)/package.mk - -define Package/attr/Default - TITLE:=Extended attributes (xattr) manipulation - URL:=http://savannah.nongnu.org/projects/attr - SUBMENU:=Filesystem -endef - -define Package/attr/Default/description - Extended attributes support -endef - -define Package/attr -$(call Package/attr/Default) - SECTION:=utils - CATEGORY:=Utilities - TITLE+=utils - DEPENDS:=+libattr -endef - -define Package/libattr -$(call Package/attr/Default) - SECTION:=libs - CATEGORY:=Libraries - TITLE+=library -endef - -define Package/libattr/description -$(call Package/attr/Default/description) - This package provides libattr -endef - -define Package/attr/description -$(call Package/attr/Default/description) - This package provides xattr manipulation utilities - - attr - - getfattr - - setfattr -endef - -CONFIGURE_ARGS += --enable-static --enable-shared - -define Package/attr/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ -endef - -define Package/libattr/install - $(INSTALL_DIR) $(1)/usr/lib - $(INSTALL_DIR) $(1)/etc - $(CP) $(PKG_INSTALL_DIR)/etc $(1)/ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/ -endef - -define Package/attr/conffiles -/etc/xattr.conf -endef - -define Build/InstallDev - mkdir -p $(1)/usr/include - mkdir -p $(1)/usr/lib/pkgconfig - $(CP) -r $(PKG_INSTALL_DIR)/usr/{include,lib} $(1)/usr/ -endef - -$(eval $(call BuildPackage,attr)) -$(eval $(call BuildPackage,libattr)) diff --git a/trunk/package/feeds/packages/attr/patches/100-no-gettext_configure.patch b/trunk/package/feeds/packages/attr/patches/100-no-gettext_configure.patch deleted file mode 100644 index 2e8b4f4c..00000000 --- a/trunk/package/feeds/packages/attr/patches/100-no-gettext_configure.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 8a1ca39..ceee757 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -33,9 +33,6 @@ AC_FUNC_ALLOCA - AM_PROG_AR - LT_INIT - --AM_GNU_GETTEXT_VERSION([0.18.2]) --AM_GNU_GETTEXT([external]) -- - dnl Most people get these man(2) pages from the system now. - AC_ARG_ENABLE([man2], - [AS_HELP_STRING([--enable-man2], [Install man(2) pages])]) -@@ -59,6 +56,5 @@ AC_CONFIG_COMMANDS([include/attr], - AC_CONFIG_FILES([ - libattr.pc - Makefile -- po/Makefile.in - ]) - AC_OUTPUT diff --git a/trunk/package/feeds/packages/attr/patches/101-no-gettext_autogen.patch b/trunk/package/feeds/packages/attr/patches/101-no-gettext_autogen.patch deleted file mode 100644 index 1fad67a1..00000000 --- a/trunk/package/feeds/packages/attr/patches/101-no-gettext_autogen.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff --git a/autogen.sh b/autogen.sh -index a98a3c5..982aff1 100755 ---- a/autogen.sh -+++ b/autogen.sh -@@ -1,4 +1,2 @@ - #!/bin/sh -ex --po/update-potfiles --autopoint --force - exec autoreconf -f -i diff --git a/trunk/package/feeds/packages/attr/patches/102-no-gettext_Makefile.patch b/trunk/package/feeds/packages/attr/patches/102-no-gettext_Makefile.patch deleted file mode 100644 index 76c8dcd3..00000000 --- a/trunk/package/feeds/packages/attr/patches/102-no-gettext_Makefile.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Makefile.am b/Makefile.am -index a3e8353..381bb55 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -3,8 +3,6 @@ ACLOCAL_AMFLAGS = -I m4 - EXTRA_DIST = \ - exports - --SUBDIRS = po -- - AM_CPPFLAGS = \ - -I$(top_builddir)/include \ - -I$(top_srcdir)/include \ diff --git a/trunk/package/feeds/packages/avahi/Makefile b/trunk/package/feeds/packages/avahi/Makefile deleted file mode 100644 index 2d1a64b3..00000000 --- a/trunk/package/feeds/packages/avahi/Makefile +++ /dev/null @@ -1,404 +0,0 @@ -# -# Copyright (C) 2007-2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=avahi -PKG_VERSION:=0.6.31 -PKG_RELEASE:=12 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://avahi.org/download/ -PKG_MD5SUM:=2f22745b8f7368ad5a0a3fddac343f2d -PKG_MAINTAINER:=Ted Hess - -PKG_BUILD_DEPENDS:=libexpat libdaemon libgdbm intltool/host libpthread dbus - -PKG_FIXUP:=autoreconf -PKG_REMOVE_FILES:=autogen.sh - -PKG_INSTALL:=1 -PKG_BUILD_PARALLEL:=1 - -ifeq ($(BUILD_VARIANT),dbus) -PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)/dbus/$(PKG_NAME)-$(PKG_VERSION) -else -PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)/nodbus/$(PKG_NAME)-$(PKG_VERSION) -endif - -include $(INCLUDE_DIR)/package.mk - -define Package/avahi/Default - SECTION:=net - CATEGORY:=Network - TITLE:=An mDNS/DNS-SD implementation - URL:=http://www.avahi.org/ -endef - -define Package/avahi/Default/description - Avahi is an mDNS/DNS-SD (aka RendezVous/Bonjour/ZeroConf) - implementation (library). It facilitates - service discovery on a local network -- this means that - you can plug your laptop or computer into a network and - instantly be able to view other people who you can chat with, - find printers to print to or find files being shared. - This kind of technology is already found in MacOS X - (branded 'Rendezvous', 'Bonjour' and sometimes 'ZeroConf') - and is very convenient. -endef - -define Package/libavahi/Default - $(call Package/avahi/Default) - SECTION:=libs - CATEGORY:=Libraries - PROVIDES:=libavahi - DEPENDS:=+libpthread -endef - -define Package/libavahi/description -$(call Package/avahi/Default/description) - . - The libavahi package contains the mDNS/DNS-SD shared libraries, - used by other programs. Specifically, it provides - libavahi-core and libavahi-common libraries. -endef - -define Package/avahi-autoipd - $(call Package/avahi/Default) - SUBMENU:=IP Addresses and Names - DEPENDS:=+libdaemon - TITLE:=IPv4LL network address configuration daemon -endef - -define Package/avahi-autoipd/description -$(call Package/avahi/Default/description) - . - This package implements IPv4LL, "Dynamic Configuration of IPv4 Link-Local - Addresses" (IETF RFC3927), a protocol for automatic IP address configuration - from the link-local 169.254.0.0/16 range without the need for a central - server. It is primarily intended to be used in ad-hoc networks which lack a - DHCP server. -endef - -define Package/avahi-dbus-daemon - $(call Package/avahi/Default) - PROVIDES:=avahi-daemon - VARIANT:=dbus - SUBMENU:=IP Addresses and Names - DEPENDS:=+libavahi-dbus-support +libexpat +librt +libdaemon - TITLE+= (daemon) -endef - -define Package/avahi-nodbus-daemon - $(call Package/avahi/Default) - PROVIDES:=avahi-daemon - VARIANT:=nodbus - SUBMENU:=IP Addresses and Names - DEPENDS:=+libavahi-nodbus-support +libexpat +librt +libdaemon - TITLE+= (daemon) - USERID:=avahi=105:avahi=105 -endef - -define Package/avahi-daemon/description -$(call Package/avahi/Default/description) - . - This package contains an mDNS/DNS-SD daemon. -endef - -Package/avahi-dbus-daemon/description=$(Package/avahi-daemon/description) -Package/avahi-nodbus-daemon/description=$(Package/avahi-daemon/description) - -define Package/avahi-daemon/conffiles -/etc/avahi/avahi-daemon.conf -endef - -Package/avahi-dbus-daemon/conffiles=$(Package/avahi-daemon/conffiles) -Package/avahi-nodbus-daemon/conffiles=$(Package/avahi-daemon/conffiles) - -define Package/avahi-daemon-service-http - $(call Package/avahi/Default) - SUBMENU:=IP Addresses and Names - DEPENDS:=+avahi-daemon - TITLE:=Announce HTTP service -endef - -define Package/avahi-daemon-service-http/description -$(call Package/avahi/Default/description) - . - This package contains the service definition for announcing HTTP service. -endef - -define Package/avahi-daemon-service-http/conffiles -/etc/avahi/services/http.service -endef - -define Package/avahi-daemon-service-ssh - $(call Package/avahi/Default) - SUBMENU:=IP Addresses and Names - DEPENDS:=+avahi-daemon - TITLE:=Announce SSH service -endef - -define Package/avahi-daemon-service-ssh/description -$(call Package/avahi/Default/description) - . - This package contains the service definition for announcing SSH service. -endef - -define Package/avahi-daemon-service-ssh/conffiles -/etc/avahi/services/ssh.service -endef - -define Package/avahi-dnsconfd - $(call Package/avahi/Default) - SUBMENU:=IP Addresses and Names - DEPENDS:=+libavahi +libdaemon +libpthread - TITLE:=A Unicast DNS server using avahi-daemon -endef - -define Package/avahi-dnsconfd/description -$(call Package/avahi/Default/description) - . - This package contains a Unicast DNS server from mDNS/DNS-SD configuration - daemon, which may be used to configure conventional DNS servers using mDNS - in a DHCP-like fashion. Especially useful on IPv6. -endef - -define Package/libavahi-dbus-support - $(call Package/libavahi/Default) - VARIANT:=dbus - DEPENDS:=+dbus - TITLE+= (D-Bus support) -endef - -define Package/libavahi-nodbus-support - $(call Package/libavahi/Default) - VARIANT:=nodbus - TITLE+= (No D-Bus) -endef - -define Package/libavahi-dbus-support/description -$(call Package/libavahi/description) - . - The libavahi-dbus-support package enables - D-Bus support in avahi, needed to support - the libavahi-client library and avahi-utils. - . - Selecting this package modifies the build configuration - so that avahi packages are built with support for D-BUS enabled; - it does not generate a separate binary of its own. - It also automatically adds the D-Bus package to the build. - libavahi-dbus-support is selected automatically if you select - libavahi-client or avahi-utils. -endef - -define Package/libavahi-nodbus-support/description -$(call Package/libavahi/description) - . - Selecting this package modifies the build configuration - so that avahi packages are built without support for D-BUS enabled; - it does not generate a separate binary of its own. -endef - -define Package/libavahi-client - $(call Package/avahi/Default) - SECTION:=libs - CATEGORY:=Libraries - VARIANT:=dbus - DEPENDS:=+avahi-dbus-daemon - TITLE+= (libavahi-client library) -endef - -define Package/libavahi-client/description -$(call Package/avahi/Default/description) - . - This packages adds the libavahi-client library. - It also automatically adds the required - libavahi-dbus-support and the avahi-dbus-daemon packages. - For more information please see the avahi documentation. -endef - -define Package/libavahi-compat-libdnssd - $(call Package/avahi/Default) - SECTION:=libs - CATEGORY:=Libraries - VARIANT:=dbus - DEPENDS:=+libavahi-client - TITLE+= (libdnssd) -endef - -define Package/libavahi-compat-libdnssd/description -$(call Package/avahi/Default/description) - . - This packages adds the libavahi-compat-libdnssd library. - It also automatically adds the required libavahi-client package. - For more information please see the avahi documentation. -endef - -define Package/avahi-utils - $(call Package/avahi/Default) - SUBMENU:=IP Addresses and Names - VARIANT:=dbus - DEPENDS:=libavahi-client +libgdbm - TITLE+= (utilities) -endef - -define Package/avahi-utils/description -$(call Package/avahi/Default/description) - . - This packages installs the following avahi utility programs: - avahi-browse, avahi-publish, avahi-resolve, avahi-set-host-name. - It also automatically adds the required libavahi-client package. - For more information please see the avahi documentation. -endef - -TARGET_CFLAGS += $(FPIC) -DGETTEXT_PACKAGE - -CONFIGURE_ARGS+= \ - --enable-shared \ - --enable-static \ - --disable-glib \ - --disable-gobject \ - --disable-qt3 \ - --disable-qt4 \ - --disable-gtk \ - --disable-gtk3 \ - --with-xml=expat \ - --disable-dbm \ - --enable-gdbm \ - --enable-libdaemon \ - $(and $(CONFIG_PACKAGE_libavahi-compat-libdnssd),ifeq ($(BUILD_VARIANT),dbus),\ - --enable-compat-libdns_sd) \ - --disable-python \ - --disable-pygtk \ - --disable-python-dbus \ - --disable-mono \ - --disable-monodoc \ - --disable-doxygen-doc \ - --disable-doxygen-dot \ - --disable-doxygen-man \ - --disable-doxygen-rtf \ - --disable-doxygen-xml \ - --disable-doxygen-chm \ - --disable-doxygen-chi \ - --disable-doxygen-html \ - --disable-doxygen-ps \ - --disable-doxygen-pdf \ - --disable-xmltoman \ - --with-distro=none \ - --with-avahi-user=nobody \ - --with-avahi-group=nogroup \ - --with-autoipd-user=nobody \ - --with-autoipd-group=nogroup - -ifneq ($(CONFIG_SSP_SUPPORT),y) -CONFIGURE_ARGS+= \ - --disable-stack-protector -endif - -ifeq ($(BUILD_VARIANT),dbus) -CONFIGURE_ARGS += \ - --enable-dbus -else -CONFIGURE_ARGS += \ - --disable-dbus -endif - -CONFIGURE_VARS+= \ - CFLAGS="$$$$CFLAGS -DNDEBUG -DDISABLE_SYSTEMD" \ - ac_cv_header_sys_capability_h=no \ - -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include - $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libavahi-* $(1)/usr/lib/ -ifeq ($(CONFIG_PACKAGE_libavahi-compat-libdnssd)-$(BUILD_VARIANT),y-dbus) - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdns_sd* $(1)/usr/lib/ -endif - $(INSTALL_DIR) $(1)/usr/lib/pkgconfig - $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/ -endef - -define Package/libavahi/install - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libavahi-{common,core}.so.* $(1)/usr/lib/ -endef - -define Package/libavahi-dbus-support/install - $(call Package/libavahi/install,$(1)) - $(INSTALL_DIR) $(1)/etc/dbus-1/system.d - $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/dbus-1/system.d/* $(1)/etc/dbus-1/system.d -endef - -Package/libavahi-nodbus-support/install=$(Package/libavahi/install) - -define Package/libavahi-client/install - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libavahi-client.so.* $(1)/usr/lib/ -endef - -define Package/libavahi-compat-libdnssd/install - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdns_sd.so.* $(1)/usr/lib/ -endef - -define Package/avahi-utils/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ -endef - -define Package/avahi-autoipd/install - $(INSTALL_DIR) $(1)/etc/avahi - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/etc/avahi/avahi-autoipd.action $(1)/etc/avahi/ - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/avahi-autoipd $(1)/usr/sbin/ -endef - -define Package/avahi-daemon/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/avahi-daemon $(1)/usr/sbin/ - $(INSTALL_DIR) $(1)/etc/avahi - $(INSTALL_DATA) ./files/avahi-daemon.conf $(1)/etc/avahi/ - # install empty service directory so that user knows where - # to place custom service files - $(INSTALL_DIR) $(1)/etc/avahi/services - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) ./files/avahi-daemon.init $(1)/etc/init.d/avahi-daemon -endef - -Package/avahi-dbus-daemon/install=$(Package/avahi-daemon/install) -Package/avahi-nodbus-daemon/install=$(Package/avahi-daemon/install) - -define Package/avahi-daemon-service-http/install - $(INSTALL_DIR) $(1)/etc/avahi/services - $(INSTALL_DATA) ./files/service-http $(1)/etc/avahi/services/http.service -endef - -define Package/avahi-daemon-service-ssh/install - $(INSTALL_DIR) $(1)/etc/avahi/services - $(INSTALL_DATA) ./files/service-ssh $(1)/etc/avahi/services/ssh.service -endef - -define Package/avahi-dnsconfd/install - $(INSTALL_DIR) $(1)/etc/avahi - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/etc/avahi/avahi-dnsconfd.action $(1)/etc/avahi/ - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/avahi-dnsconfd $(1)/usr/sbin/ -endef - -$(eval $(call BuildPackage,libavahi-client)) -$(eval $(call BuildPackage,libavahi-compat-libdnssd)) -$(eval $(call BuildPackage,avahi-utils)) -$(eval $(call BuildPackage,libavahi-dbus-support)) -$(eval $(call BuildPackage,libavahi-nodbus-support)) -$(eval $(call BuildPackage,avahi-autoipd)) -$(eval $(call BuildPackage,avahi-dbus-daemon)) -$(eval $(call BuildPackage,avahi-nodbus-daemon)) -$(eval $(call BuildPackage,avahi-daemon-service-http)) -$(eval $(call BuildPackage,avahi-daemon-service-ssh)) -$(eval $(call BuildPackage,avahi-dnsconfd)) diff --git a/trunk/package/feeds/packages/avahi/files/avahi-daemon.conf b/trunk/package/feeds/packages/avahi/files/avahi-daemon.conf deleted file mode 100644 index 3ef0788e..00000000 --- a/trunk/package/feeds/packages/avahi/files/avahi-daemon.conf +++ /dev/null @@ -1,28 +0,0 @@ -[server] -#host-name=foo -#domain-name=local -use-ipv4=yes -use-ipv6=yes -check-response-ttl=no -use-iff-running=no - -[publish] -publish-addresses=yes -publish-hinfo=yes -publish-workstation=no -publish-domain=yes -#publish-dns-servers=192.168.1.1 -#publish-resolv-conf-dns-servers=yes - -[reflector] -enable-reflector=no -reflect-ipv=no - -[rlimits] -#rlimit-as= -rlimit-core=0 -rlimit-data=4194304 -rlimit-fsize=0 -rlimit-nofile=30 -rlimit-stack=4194304 -rlimit-nproc=3 diff --git a/trunk/package/feeds/packages/avahi/files/avahi-daemon.init b/trunk/package/feeds/packages/avahi/files/avahi-daemon.init deleted file mode 100644 index b2ae4580..00000000 --- a/trunk/package/feeds/packages/avahi/files/avahi-daemon.init +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2006 OpenWrt.org -START=61 - -BIN=avahi-daemon -DEFAULT=/etc/default/$BIN -OPTIONS="-D" -RUN_D=/var/run/$BIN - -start() { - [ -f $DEFAULT ] && . $DEFAULT - mkdir -p $RUN_D - $BIN $OPTIONS -} - -stop() { - $BIN -k -} - -reload() { - $BIN -r -} - diff --git a/trunk/package/feeds/packages/avahi/files/service-http b/trunk/package/feeds/packages/avahi/files/service-http deleted file mode 100644 index 32620379..00000000 --- a/trunk/package/feeds/packages/avahi/files/service-http +++ /dev/null @@ -1,10 +0,0 @@ - - - - %h - - _http._tcp - 80 - path=/ - - diff --git a/trunk/package/feeds/packages/avahi/files/service-ssh b/trunk/package/feeds/packages/avahi/files/service-ssh deleted file mode 100644 index b4458515..00000000 --- a/trunk/package/feeds/packages/avahi/files/service-ssh +++ /dev/null @@ -1,9 +0,0 @@ - - - - %h - - _ssh._tcp - 22 - - diff --git a/trunk/package/feeds/packages/avahi/patches/010-step_back_autotools-no-gettext.patch b/trunk/package/feeds/packages/avahi/patches/010-step_back_autotools-no-gettext.patch deleted file mode 100644 index fab87aae..00000000 --- a/trunk/package/feeds/packages/avahi/patches/010-step_back_autotools-no-gettext.patch +++ /dev/null @@ -1,80 +0,0 @@ ---- a/Makefile.am -+++ b/Makefile.am -@@ -75,8 +75,7 @@ SUBDIRS = \ - avahi-compat-howl \ - avahi-autoipd \ - avahi-ui \ -- avahi-ui-sharp \ -- po -+ avahi-ui-sharp - - DX_INPUT = \ - $(srcdir)/avahi-common/address.h \ ---- a/avahi-python/avahi-discover/Makefile.am -+++ b/avahi-python/avahi-discover/Makefile.am -@@ -38,7 +38,6 @@ if HAVE_GDBM - pythonscripts += \ - avahi-discover - desktop_DATA += avahi-discover.desktop --@INTLTOOL_DESKTOP_RULE@ - avahi_discover_PYTHON += __init__.py - endif - -@@ -46,7 +45,6 @@ if HAVE_DBM - pythonscripts += \ - avahi-discover - desktop_DATA += avahi-discover.desktop --@INTLTOOL_DESKTOP_RULE@ - avahi_discover_PYTHON += __init__.py - endif - ---- a/avahi-ui/Makefile.am -+++ b/avahi-ui/Makefile.am -@@ -78,7 +78,6 @@ endif - - bin_PROGRAMS = bssh - desktop_DATA += bssh.desktop bvnc.desktop --@INTLTOOL_DESKTOP_RULE@ - - bssh_SOURCES = bssh.c - -@@ -106,6 +105,4 @@ endif # HAVE_GLIB - endif - endif - --@INTLTOOL_DESKTOP_RULE@ -- - CLEANFILES = $(desktop_DATA) $(desktop_DATA_in) ---- a/configure.ac -+++ b/configure.ac -@@ -23,7 +23,7 @@ AC_INIT([avahi],[0.6.29],[avahi (at) lis - AC_CONFIG_SRCDIR([avahi-core/server.c]) - AC_CONFIG_MACRO_DIR([common]) - AC_CONFIG_HEADERS([config.h]) --AM_INIT_AUTOMAKE([foreign 1.11 -Wall -Wno-portability silent-rules tar-pax]) -+AM_INIT_AUTOMAKE([foreign 1.11 -Wall -Wno-portability tar-pax]) - - AC_SUBST(PACKAGE_URL, [http://avahi.org/]) - -@@ -43,8 +43,6 @@ AC_SUBST(HOWL_COMPAT_VERSION, [0.9.8]) - - AC_CANONICAL_HOST - --AM_SILENT_RULES([yes]) -- - AC_CHECK_PROG([STOW], [stow], [yes], [no]) - - AS_IF([test "x$STOW" = "xyes" && test -d /usr/local/stow], [ -@@ -412,12 +410,6 @@ if test "x$have_kqueue" = "xyes" ; then - AC_DEFINE([HAVE_KQUEUE], 1, [Enable BSD kqueue() usage]) - fi - --IT_PROG_INTLTOOL([0.35.0]) --GETTEXT_PACKAGE=avahi --AC_SUBST([GETTEXT_PACKAGE]) --AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package]) --AM_GLIB_GNU_GETTEXT -- - avahilocaledir='${prefix}/${DATADIRNAME}/locale' - AC_SUBST(avahilocaledir) - diff --git a/trunk/package/feeds/packages/bash/Makefile b/trunk/package/feeds/packages/bash/Makefile deleted file mode 100644 index df97e097..00000000 --- a/trunk/package/feeds/packages/bash/Makefile +++ /dev/null @@ -1,73 +0,0 @@ -# -# Copyright (C) 2007-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -BASE_VERSION:=4.3 - -PKG_NAME:=bash -PKG_VERSION:=$(BASE_VERSION).33 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(BASE_VERSION).tar.gz -PKG_SOURCE_URL:=@GNU/bash -PKG_MD5SUM:=81348932d5da294953e15d4814c74dd1 -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BASE_VERSION) - -PKG_LICENSE:=GPL-3.0+ -PKG_LICENSE_FILES:=COPYING -PKG_MAINTAINER:=Marcel Denia - -PKG_CHECK_FORMAT_SECURITY:=0 -include $(INCLUDE_DIR)/package.mk - -define Package/bash - SECTION:=utils - CATEGORY:=Utilities - TITLE:=The GNU Bourne Again SHell - DEPENDS:=+libncurses - URL:=http://www.gnu.org/software/bash/ -endef - -define Package/bash/description - Bash is an sh-compatible command language interpreter that executes - commands read from the standard input or from a file. Bash also - incorporates useful features from the Korn and C shells (ksh and csh). -endef - - -define Build/Configure - $(call Build/Configure/Default, \ - --without-bash-malloc \ - --bindir=/bin \ - ) -endef - - -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR)/builtins LDFLAGS_FOR_BUILD= mkbuiltins - $(MAKE) -C $(PKG_BUILD_DIR) \ - DESTDIR="$(PKG_INSTALL_DIR)" \ - SHELL="/bin/bash" \ - all install -endef - -define Package/bash/postinst -#!/bin/sh -grep bash $${IPKG_INSTROOT}/etc/shells || \ - echo "/bin/bash" >> $${IPKG_INSTROOT}/etc/shells - echo "/bin/rbash" >> $${IPKG_INSTROOT}/etc/shells -endef - -define Package/bash/install - $(INSTALL_DIR) $(1)/bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/bash $(1)/bin/ - ln -sf bash $(1)/bin/rbash -endef - - -$(eval $(call BuildPackage,bash)) diff --git a/trunk/package/feeds/packages/bash/patches/001-compile-fix.patch b/trunk/package/feeds/packages/bash/patches/001-compile-fix.patch deleted file mode 100644 index 7efa97b3..00000000 --- a/trunk/package/feeds/packages/bash/patches/001-compile-fix.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/execute_cmd.c -+++ b/execute_cmd.c -@@ -2369,7 +2369,11 @@ execute_pipeline (command, asynchronous, - /* If the `lastpipe' option is set with shopt, and job control is not - enabled, execute the last element of non-async pipelines in the - current shell environment. */ -- if (lastpipe_opt && job_control == 0 && asynchronous == 0 && pipe_out == NO_PIPE && prev > 0) -+ if (lastpipe_opt && -+#if defined(JOB_CONTROL) -+ job_control == 0 && -+#endif -+ asynchronous == 0 && pipe_out == NO_PIPE && prev > 0) - { - lstdin = move_to_high_fd (0, 1, -1); - if (lstdin > 0) diff --git a/trunk/package/feeds/packages/bash/patches/002-force-internal-readline.patch b/trunk/package/feeds/packages/bash/patches/002-force-internal-readline.patch deleted file mode 100644 index 050e4763..00000000 --- a/trunk/package/feeds/packages/bash/patches/002-force-internal-readline.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- a/configure -+++ b/configure -@@ -5430,8 +5430,7 @@ if test $opt_readline = yes; then - # static version specified as -llibname to override the - # dynamic version - case "${host_os}" in -- darwin[89]*|darwin10*) READLINE_LIB='${READLINE_LIBRARY}' ;; -- *) READLINE_LIB=-lreadline ;; -+ *) READLINE_LIB='${READLINE_LIBRARY}' ;; - esac - fi - else ---- a/configure.ac -+++ b/configure.ac -@@ -578,8 +578,7 @@ if test $opt_readline = yes; then - # static version specified as -llibname to override the - # dynamic version - case "${host_os}" in -- darwin[[89]]*|darwin10*) READLINE_LIB='${READLINE_LIBRARY}' ;; -- *) READLINE_LIB=-lreadline ;; -+ *) READLINE_LIB='${READLINE_LIBRARY}' ;; - esac - fi - else diff --git a/trunk/package/feeds/packages/bash/patches/101-upstream-bash43-001.patch b/trunk/package/feeds/packages/bash/patches/101-upstream-bash43-001.patch deleted file mode 100644 index 3231273a..00000000 --- a/trunk/package/feeds/packages/bash/patches/101-upstream-bash43-001.patch +++ /dev/null @@ -1,49 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-001 - -Bug-Reported-by: NBaH -Bug-Reference-ID: -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-02/msg00092.html - -Bug-Description: - -A missing check for a valid option prevented `test -R' from working. There -is another problem that causes bash to look up the wrong variable name when -processing the argument to `test -R'. - -Patch (apply with `patch -p0'): - ---- a/test.c -+++ b/test.c -@@ -646,8 +646,8 @@ unary_test (op, arg) - return (v && invisible_p (v) == 0 && var_isset (v) ? TRUE : FALSE); - - case 'R': -- v = find_variable (arg); -- return (v && invisible_p (v) == 0 && var_isset (v) && nameref_p (v) ? TRUE : FALSE); -+ v = find_variable_noref (arg); -+ return ((v && invisible_p (v) == 0 && var_isset (v) && nameref_p (v)) ? TRUE : FALSE); - } - - /* We can't actually get here, but this shuts up gcc. */ -@@ -723,6 +723,7 @@ test_unop (op) - case 'o': case 'p': case 'r': case 's': case 't': - case 'u': case 'v': case 'w': case 'x': case 'z': - case 'G': case 'L': case 'O': case 'S': case 'N': -+ case 'R': - return (1); - } - ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 0 -+#define PATCHLEVEL 1 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/102-upstream-bash43-002.patch b/trunk/package/feeds/packages/bash/patches/102-upstream-bash43-002.patch deleted file mode 100644 index 35421e86..00000000 --- a/trunk/package/feeds/packages/bash/patches/102-upstream-bash43-002.patch +++ /dev/null @@ -1,49 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-002 - -Bug-Reported-by: Moe Tunes -Bug-Reference-ID: <53103F49.3070100@gmail.com> -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-02/msg00086.html - -Bug-Description: - -A change to save state while running the DEBUG trap caused pipelines to hang -on systems which need process group synchronization while building pipelines. - -Patch (apply with `patch -p0'): - ---- a/trap.c -+++ b/trap.c -@@ -920,7 +920,8 @@ _run_trap_internal (sig, tag) - subst_assign_varlist = 0; - - #if defined (JOB_CONTROL) -- save_pipeline (1); /* XXX only provides one save level */ -+ if (sig != DEBUG_TRAP) /* run_debug_trap does this */ -+ save_pipeline (1); /* XXX only provides one save level */ - #endif - - /* If we're in a function, make sure return longjmps come here, too. */ -@@ -940,7 +941,8 @@ _run_trap_internal (sig, tag) - trap_exit_value = last_command_exit_value; - - #if defined (JOB_CONTROL) -- restore_pipeline (1); -+ if (sig != DEBUG_TRAP) /* run_debug_trap does this */ -+ restore_pipeline (1); - #endif - - subst_assign_varlist = save_subst_varlist; ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 1 -+#define PATCHLEVEL 2 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/103-upstream-bash43-003.patch b/trunk/package/feeds/packages/bash/patches/103-upstream-bash43-003.patch deleted file mode 100644 index 7c9e56bc..00000000 --- a/trunk/package/feeds/packages/bash/patches/103-upstream-bash43-003.patch +++ /dev/null @@ -1,39 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-003 - -Bug-Reported-by: Anatol Pomozov -Bug-Reference-ID: -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-readline/2014-03/msg00010.html - -Bug-Description: - -When in callback mode, some readline commands can cause readline to seg -fault by passing invalid contexts to callback functions. - -Patch (apply with `patch -p0'): - ---- a/lib/readline/readline.c -+++ b/lib/readline/readline.c -@@ -744,7 +744,8 @@ _rl_dispatch_callback (cxt) - r = _rl_subseq_result (r, cxt->oldmap, cxt->okey, (cxt->flags & KSEQ_SUBSEQ)); - - RL_CHECK_SIGNALS (); -- if (r == 0) /* success! */ -+ /* We only treat values < 0 specially to simulate recursion. */ -+ if (r >= 0 || (r == -1 && (cxt->flags & KSEQ_SUBSEQ) == 0)) /* success! or failure! */ - { - _rl_keyseq_chain_dispose (); - RL_UNSETSTATE (RL_STATE_MULTIKEY); ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 2 -+#define PATCHLEVEL 3 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/104-upstream-bash43-004.patch b/trunk/package/feeds/packages/bash/patches/104-upstream-bash43-004.patch deleted file mode 100644 index 40ac35fd..00000000 --- a/trunk/package/feeds/packages/bash/patches/104-upstream-bash43-004.patch +++ /dev/null @@ -1,38 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-004 - -Bug-Reported-by: Daan van Rossum -Bug-Reference-ID: <20140307072523.GA14250@flash.uchicago.edu> -Bug-Reference-URL: - -Bug-Description: - -The `.' command in vi mode cannot undo multi-key commands beginning with -`c', `d', and `y' (command plus motion specifier). - -Patch (apply with `patch -p0'): - ---- a/lib/readline/readline.c -+++ b/lib/readline/readline.c -@@ -965,7 +965,7 @@ _rl_dispatch_subseq (key, map, got_subse - #if defined (VI_MODE) - if (rl_editing_mode == vi_mode && _rl_keymap == vi_movement_keymap && - key != ANYOTHERKEY && -- rl_key_sequence_length == 1 && /* XXX */ -+ _rl_dispatching_keymap == vi_movement_keymap && - _rl_vi_textmod_command (key)) - _rl_vi_set_last (key, rl_numeric_arg, rl_arg_sign); - #endif ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 3 -+#define PATCHLEVEL 4 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/105-upstream-bash43-005.patch b/trunk/package/feeds/packages/bash/patches/105-upstream-bash43-005.patch deleted file mode 100644 index 1cc54738..00000000 --- a/trunk/package/feeds/packages/bash/patches/105-upstream-bash43-005.patch +++ /dev/null @@ -1,50 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-005 - -Bug-Reported-by: David Sines -Bug-Reference-ID: -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-03/msg00037.html - -Bug-Description: - -When in Posix mode, bash did not correctly interpret the ANSI-C-style -$'...' quoting mechanism when performing pattern substitution word -expansions within double quotes. - -Patch (apply with `patch -p0'): - ---- a/parse.y -+++ b/parse.y -@@ -3398,7 +3398,7 @@ parse_matched_pair (qc, open, close, len - within a double-quoted ${...} construct "an even number of - unescaped double-quotes or single-quotes, if any, shall occur." */ - /* This was changed in Austin Group Interp 221 */ -- if MBTEST(posixly_correct && shell_compatibility_level > 41 && dolbrace_state != DOLBRACE_QUOTE && (flags & P_DQUOTE) && (flags & P_DOLBRACE) && ch == '\'') -+ if MBTEST(posixly_correct && shell_compatibility_level > 41 && dolbrace_state != DOLBRACE_QUOTE && dolbrace_state != DOLBRACE_QUOTE2 && (flags & P_DQUOTE) && (flags & P_DOLBRACE) && ch == '\'') - continue; - - /* Could also check open == '`' if we want to parse grouping constructs ---- a/y.tab.c -+++ b/y.tab.c -@@ -5710,7 +5710,7 @@ parse_matched_pair (qc, open, close, len - within a double-quoted ${...} construct "an even number of - unescaped double-quotes or single-quotes, if any, shall occur." */ - /* This was changed in Austin Group Interp 221 */ -- if MBTEST(posixly_correct && shell_compatibility_level > 41 && dolbrace_state != DOLBRACE_QUOTE && (flags & P_DQUOTE) && (flags & P_DOLBRACE) && ch == '\'') -+ if MBTEST(posixly_correct && shell_compatibility_level > 41 && dolbrace_state != DOLBRACE_QUOTE && dolbrace_state != DOLBRACE_QUOTE2 && (flags & P_DQUOTE) && (flags & P_DOLBRACE) && ch == '\'') - continue; - - /* Could also check open == '`' if we want to parse grouping constructs ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 4 -+#define PATCHLEVEL 5 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/106-upstream-bash43-006.patch b/trunk/package/feeds/packages/bash/patches/106-upstream-bash43-006.patch deleted file mode 100644 index c5f52b1d..00000000 --- a/trunk/package/feeds/packages/bash/patches/106-upstream-bash43-006.patch +++ /dev/null @@ -1,39 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-006 - -Bug-Reported-by: Eduardo A . Bustamante Lopez -Bug-Reference-ID: <20140228170013.GA16015@dualbus.me> -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-02/msg00091.html - -Bug-Description: - -A shell that started with job control active but was not interactive left -the terminal in the wrong process group when exiting, causing its parent -shell to get a stop signal when it attempted to read from the terminal. - -Patch (apply with `patch -p0'): - ---- a/jobs.c -+++ b/jobs.c -@@ -4374,7 +4374,7 @@ without_job_control () - void - end_job_control () - { -- if (interactive_shell) /* XXX - should it be interactive? */ -+ if (interactive_shell || job_control) /* XXX - should it be just job_control? */ - { - terminate_stopped_jobs (); - ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 5 -+#define PATCHLEVEL 6 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/107-upstream-bash43-007.patch b/trunk/package/feeds/packages/bash/patches/107-upstream-bash43-007.patch deleted file mode 100644 index 8578bd45..00000000 --- a/trunk/package/feeds/packages/bash/patches/107-upstream-bash43-007.patch +++ /dev/null @@ -1,45 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-007 - -Bug-Reported-by: geir.hauge@gmail.com -Bug-Reference-ID: <20140318093650.B181C1C5B0B@gina.itea.ntnu.no> -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-03/msg00095.html - -Bug-Description: - -Using compound assignments for associative arrays like - -assoc=( [x]= [y]=bar ) - -left the value corresponding to the key `x' NULL. This caused subsequent -lookups to interpret it as unset. - -Patch (apply with `patch -p0'): - ---- a/arrayfunc.c -+++ b/arrayfunc.c -@@ -597,6 +597,11 @@ assign_compound_array_list (var, nlist, - if (assoc_p (var)) - { - val = expand_assignment_string_to_string (val, 0); -+ if (val == 0) -+ { -+ val = (char *)xmalloc (1); -+ val[0] = '\0'; /* like do_assignment_internal */ -+ } - free_val = 1; - } - ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 6 -+#define PATCHLEVEL 7 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/108-upstream-bash43-008.patch b/trunk/package/feeds/packages/bash/patches/108-upstream-bash43-008.patch deleted file mode 100644 index 24020216..00000000 --- a/trunk/package/feeds/packages/bash/patches/108-upstream-bash43-008.patch +++ /dev/null @@ -1,148 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-008 - -Bug-Reported-by: Stephane Chazelas -Bug-Reference-ID: <20140318135901.GB22158@chaz.gmail.com> -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-03/msg00098.html - -Bug-Description: - -Some extended glob patterns incorrectly matched filenames with a leading -dot, regardless of the setting of the `dotglob' option. - -Patch (apply with `patch -p0'): - ---- a/lib/glob/gmisc.c -+++ b/lib/glob/gmisc.c -@@ -210,6 +210,7 @@ extglob_pattern_p (pat) - case '+': - case '!': - case '@': -+ case '?': - return (pat[1] == LPAREN); - default: - return 0; ---- a/lib/glob/glob.c -+++ b/lib/glob/glob.c -@@ -179,42 +179,50 @@ extglob_skipname (pat, dname, flags) - char *pat, *dname; - int flags; - { -- char *pp, *pe, *t; -- int n, r; -+ char *pp, *pe, *t, *se; -+ int n, r, negate; - -+ negate = *pat == '!'; - pp = pat + 2; -- pe = pp + strlen (pp) - 1; /*(*/ -- if (*pe != ')') -- return 0; -- if ((t = strchr (pp, '|')) == 0) /* easy case first */ -+ se = pp + strlen (pp) - 1; /* end of string */ -+ pe = glob_patscan (pp, se, 0); /* end of extglob pattern (( */ -+ /* we should check for invalid extglob pattern here */ -+ /* if pe != se we have more of the pattern at the end of the extglob -+ pattern. Check the easy case first ( */ -+ if (pe == se && *pe == ')' && (t = strchr (pp, '|')) == 0) - { - *pe = '\0'; -+#if defined (HANDLE_MULTIBYTE) -+ r = mbskipname (pp, dname, flags); -+#else - r = skipname (pp, dname, flags); /*(*/ -+#endif - *pe = ')'; - return r; - } -+ -+ /* check every subpattern */ - while (t = glob_patscan (pp, pe, '|')) - { - n = t[-1]; - t[-1] = '\0'; -+#if defined (HANDLE_MULTIBYTE) -+ r = mbskipname (pp, dname, flags); -+#else - r = skipname (pp, dname, flags); -+#endif - t[-1] = n; - if (r == 0) /* if any pattern says not skip, we don't skip */ - return r; - pp = t; - } /*(*/ - -- if (pp == pe) /* glob_patscan might find end of pattern */ -+ /* glob_patscan might find end of pattern */ -+ if (pp == se) - return r; - -- *pe = '\0'; --# if defined (HANDLE_MULTIBYTE) -- r = mbskipname (pp, dname, flags); /*(*/ --# else -- r = skipname (pp, dname, flags); /*(*/ --# endif -- *pe = ')'; -- return r; -+ /* but if it doesn't then we didn't match a leading dot */ -+ return 0; - } - #endif - -@@ -277,20 +285,23 @@ wextglob_skipname (pat, dname, flags) - int flags; - { - #if EXTENDED_GLOB -- wchar_t *pp, *pe, *t, n; -- int r; -+ wchar_t *pp, *pe, *t, n, *se; -+ int r, negate; - -+ negate = *pat == L'!'; - pp = pat + 2; -- pe = pp + wcslen (pp) - 1; /*(*/ -- if (*pe != L')') -- return 0; -- if ((t = wcschr (pp, L'|')) == 0) -+ se = pp + wcslen (pp) - 1; /*(*/ -+ pe = glob_patscan_wc (pp, se, 0); -+ -+ if (pe == se && *pe == ')' && (t = wcschr (pp, L'|')) == 0) - { - *pe = L'\0'; - r = wchkname (pp, dname); /*(*/ - *pe = L')'; - return r; - } -+ -+ /* check every subpattern */ - while (t = glob_patscan_wc (pp, pe, '|')) - { - n = t[-1]; -@@ -305,10 +316,8 @@ wextglob_skipname (pat, dname, flags) - if (pp == pe) /* glob_patscan_wc might find end of pattern */ - return r; - -- *pe = L'\0'; -- r = wchkname (pp, dname); /*(*/ -- *pe = L')'; -- return r; -+ /* but if it doesn't then we didn't match a leading dot */ -+ return 0; - #else - return (wchkname (pat, dname)); - #endif ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 7 -+#define PATCHLEVEL 8 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/109-upstream-bash43-009.patch b/trunk/package/feeds/packages/bash/patches/109-upstream-bash43-009.patch deleted file mode 100644 index f222bd67..00000000 --- a/trunk/package/feeds/packages/bash/patches/109-upstream-bash43-009.patch +++ /dev/null @@ -1,51 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-009 - -Bug-Reported-by: Matthias Klose -Bug-Reference-ID: <53346FC8.6090005@debian.org> -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-03/msg00171.html - -Bug-Description: - -There is a problem with unsigned sign extension when attempting to reallocate -the input line when it is fewer than 3 characters long and there has been a -history expansion. The sign extension causes the shell to not reallocate the -line, which results in a segmentation fault when it writes past the end. - -Patch (apply with `patch -p0'): - ---- a/parse.y -+++ b/parse.y -@@ -2424,7 +2424,7 @@ shell_getc (remove_quoted_newline) - not already end in an EOF character. */ - if (shell_input_line_terminator != EOF) - { -- if (shell_input_line_size < SIZE_MAX && shell_input_line_len > shell_input_line_size - 3) -+ if (shell_input_line_size < SIZE_MAX-3 && (shell_input_line_len+3 > shell_input_line_size)) - shell_input_line = (char *)xrealloc (shell_input_line, - 1 + (shell_input_line_size += 2)); - ---- a/y.tab.c -+++ b/y.tab.c -@@ -4736,7 +4736,7 @@ shell_getc (remove_quoted_newline) - not already end in an EOF character. */ - if (shell_input_line_terminator != EOF) - { -- if (shell_input_line_size < SIZE_MAX && shell_input_line_len > shell_input_line_size - 3) -+ if (shell_input_line_size < SIZE_MAX-3 && (shell_input_line_len+3 > shell_input_line_size)) - shell_input_line = (char *)xrealloc (shell_input_line, - 1 + (shell_input_line_size += 2)); - ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 8 -+#define PATCHLEVEL 9 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/110-upstream-bash43-010.patch b/trunk/package/feeds/packages/bash/patches/110-upstream-bash43-010.patch deleted file mode 100644 index 22d9f1ba..00000000 --- a/trunk/package/feeds/packages/bash/patches/110-upstream-bash43-010.patch +++ /dev/null @@ -1,145 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-010 - -Bug-Reported-by: Albert Shih -Bug-Reference-ID: Wed, 5 Mar 2014 23:01:40 +0100 -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-03/msg00028.html - -Bug-Description: - -Patch (apply with `patch -p0'): - -This patch changes the behavior of programmable completion to compensate -for two assumptions made by the bash-completion package. Bash-4.3 changed -to dequote the argument to programmable completion only under certain -circumstances, to make the behavior of compgen more consistent when run -from the command line -- closer to the behavior when run by a shell function -run as part of programmable completion. Bash-completion can pass quoted -arguments to compgen when the original word to be completed was not quoted, -expecting programmable completion to dequote the word before attempting -completion. - -This patch fixes two cases: - -1. An empty string that bash-completion passes to compgen as a quoted null - string (''). - -2. An unquoted word that bash-completion quotes using single quotes or - backslashes before passing it to compgen. - -In these cases, since readline did not detect a quote character in the original -word to be completed, bash-4.3 - ---- a/externs.h -+++ b/externs.h -@@ -324,6 +324,7 @@ extern char *sh_un_double_quote __P((cha - extern char *sh_backslash_quote __P((char *, const char *, int)); - extern char *sh_backslash_quote_for_double_quotes __P((char *)); - extern int sh_contains_shell_metas __P((char *)); -+extern int sh_contains_quotes __P((char *)); - - /* declarations for functions defined in lib/sh/spell.c */ - extern int spname __P((char *, char *)); ---- a/lib/sh/shquote.c -+++ b/lib/sh/shquote.c -@@ -311,3 +311,17 @@ sh_contains_shell_metas (string) - - return (0); - } -+ -+int -+sh_contains_quotes (string) -+ char *string; -+{ -+ char *s; -+ -+ for (s = string; s && *s; s++) -+ { -+ if (*s == '\'' || *s == '"' || *s == '\\') -+ return 1; -+ } -+ return 0; -+} ---- a/pcomplete.c -+++ b/pcomplete.c -@@ -183,6 +183,7 @@ ITEMLIST it_variables = { LIST_DYNAMIC, - - COMPSPEC *pcomp_curcs; - const char *pcomp_curcmd; -+const char *pcomp_curtxt; - - #ifdef DEBUG - /* Debugging code */ -@@ -753,6 +754,32 @@ pcomp_filename_completion_function (text - quoted strings. */ - dfn = (*rl_filename_dequoting_function) ((char *)text, rl_completion_quote_character); - } -+ /* Intended to solve a mismatched assumption by bash-completion. If -+ the text to be completed is empty, but bash-completion turns it into -+ a quoted string ('') assuming that this code will dequote it before -+ calling readline, do the dequoting. */ -+ else if (iscompgen && iscompleting && -+ pcomp_curtxt && *pcomp_curtxt == 0 && -+ text && (*text == '\'' || *text == '"') && text[1] == text[0] && text[2] == 0 && -+ rl_filename_dequoting_function) -+ dfn = (*rl_filename_dequoting_function) ((char *)text, rl_completion_quote_character); -+ /* Another mismatched assumption by bash-completion. If compgen is being -+ run as part of bash-completion, and the argument to compgen is not -+ the same as the word originally passed to the programmable completion -+ code, dequote the argument if it has quote characters. It's an -+ attempt to detect when bash-completion is quoting its filename -+ argument before calling compgen. */ -+ /* We could check whether gen_shell_function_matches is in the call -+ stack by checking whether the gen-shell-function-matches tag is in -+ the unwind-protect stack, but there's no function to do that yet. -+ We could simply check whether we're executing in a function by -+ checking variable_context, and may end up doing that. */ -+ else if (iscompgen && iscompleting && rl_filename_dequoting_function && -+ pcomp_curtxt && text && -+ STREQ (pcomp_curtxt, text) == 0 && -+ variable_context && -+ sh_contains_quotes (text)) /* guess */ -+ dfn = (*rl_filename_dequoting_function) ((char *)text, rl_completion_quote_character); - else - dfn = savestring (text); - } -@@ -1522,7 +1549,7 @@ gen_progcomp_completions (ocmd, cmd, wor - COMPSPEC **lastcs; - { - COMPSPEC *cs, *oldcs; -- const char *oldcmd; -+ const char *oldcmd, *oldtxt; - STRINGLIST *ret; - - cs = progcomp_search (ocmd); -@@ -1545,14 +1572,17 @@ gen_progcomp_completions (ocmd, cmd, wor - - oldcs = pcomp_curcs; - oldcmd = pcomp_curcmd; -+ oldtxt = pcomp_curtxt; - - pcomp_curcs = cs; - pcomp_curcmd = cmd; -+ pcomp_curtxt = word; - - ret = gen_compspec_completions (cs, cmd, word, start, end, foundp); - - pcomp_curcs = oldcs; - pcomp_curcmd = oldcmd; -+ pcomp_curtxt = oldtxt; - - /* We need to conditionally handle setting *retryp here */ - if (retryp) ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 9 -+#define PATCHLEVEL 10 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/111-upstream-bash43-011.patch b/trunk/package/feeds/packages/bash/patches/111-upstream-bash43-011.patch deleted file mode 100644 index b4c181a3..00000000 --- a/trunk/package/feeds/packages/bash/patches/111-upstream-bash43-011.patch +++ /dev/null @@ -1,40 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-011 - -Bug-Reported-by: Egmont Koblinger -Bug-Reference-ID: -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-03/msg00153.html - -Bug-Description: - -The signal handling changes to bash and readline (to avoid running any code -in a signal handler context) cause the cursor to be placed on the wrong -line of a multi-line command after a ^C interrupts editing. - -Patch (apply with `patch -p0'): - ---- a/lib/readline/display.c -+++ b/lib/readline/display.c -@@ -2677,7 +2677,8 @@ _rl_clean_up_for_exit () - { - if (_rl_echoing_p) - { -- _rl_move_vert (_rl_vis_botlin); -+ if (_rl_vis_botlin > 0) /* minor optimization plus bug fix */ -+ _rl_move_vert (_rl_vis_botlin); - _rl_vis_botlin = 0; - fflush (rl_outstream); - rl_restart_output (1, 0); ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 10 -+#define PATCHLEVEL 11 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/112-upstream-bash43-012.patch b/trunk/package/feeds/packages/bash/patches/112-upstream-bash43-012.patch deleted file mode 100644 index 8fd2ea67..00000000 --- a/trunk/package/feeds/packages/bash/patches/112-upstream-bash43-012.patch +++ /dev/null @@ -1,38 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-012 - -Bug-Reported-by: Eduardo A. Bustamante López -Bug-Reference-ID: <5346B54C.4070205@case.edu> -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-04/msg00051.html - -Bug-Description: - -When a SIGCHLD trap runs a command containing a shell builtin while -a script is running `wait' to wait for all running children to complete, -the SIGCHLD trap will not be run once for each child that terminates. - -Patch (apply with `patch -p0'): - ---- a/jobs.c -+++ b/jobs.c -@@ -3597,6 +3597,7 @@ run_sigchld_trap (nchild) - unwind_protect_int (jobs_list_frozen); - unwind_protect_pointer (the_pipeline); - unwind_protect_pointer (subst_assign_varlist); -+ unwind_protect_pointer (this_shell_builtin); - - /* We have to add the commands this way because they will be run - in reverse order of adding. We don't want maybe_set_sigchld_trap () ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 11 -+#define PATCHLEVEL 12 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/113-upstream-bash43-013.patch b/trunk/package/feeds/packages/bash/patches/113-upstream-bash43-013.patch deleted file mode 100644 index 63c6c1ed..00000000 --- a/trunk/package/feeds/packages/bash/patches/113-upstream-bash43-013.patch +++ /dev/null @@ -1,52 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-013 - -Bug-Reported-by: -Bug-Reference-ID: -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-04/msg00069.html - -Bug-Description: - -Using reverse-i-search when horizontal scrolling is enabled does not redisplay -the entire line containing the successful search results. - -Patch (apply with `patch -p0'): ---- a/lib/readline/display.c -+++ b/lib/readline/display.c -@@ -1637,7 +1637,7 @@ update_line (old, new, current_line, oma - /* If we are changing the number of invisible characters in a line, and - the spot of first difference is before the end of the invisible chars, - lendiff needs to be adjusted. */ -- if (current_line == 0 && !_rl_horizontal_scroll_mode && -+ if (current_line == 0 && /* !_rl_horizontal_scroll_mode && */ - current_invis_chars != visible_wrap_offset) - { - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) -@@ -1825,8 +1825,13 @@ update_line (old, new, current_line, oma - else - _rl_last_c_pos += bytes_to_insert; - -+ /* XXX - we only want to do this if we are at the end of the line -+ so we move there with _rl_move_cursor_relative */ - if (_rl_horizontal_scroll_mode && ((oe-old) > (ne-new))) -- goto clear_rest_of_line; -+ { -+ _rl_move_cursor_relative (ne-new, new); -+ goto clear_rest_of_line; -+ } - } - } - /* Otherwise, print over the existing material. */ ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 12 -+#define PATCHLEVEL 13 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/114-upstream-bash43-014.patch b/trunk/package/feeds/packages/bash/patches/114-upstream-bash43-014.patch deleted file mode 100644 index 99e16b9a..00000000 --- a/trunk/package/feeds/packages/bash/patches/114-upstream-bash43-014.patch +++ /dev/null @@ -1,95 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-014 - -Bug-Reported-by: Greg Wooledge -Bug-Reference-ID: <20140418202123.GB7660@eeg.ccf.org> -Bug-Reference-URL: http://lists.gnu.org/archive/html/help-bash/2014-04/msg00004.html - -Bug-Description: - -Under certain circumstances, $@ is expanded incorrectly in contexts where -word splitting is not performed. - -Patch (apply with `patch -p0'): ---- a/subst.c -+++ b/subst.c -@@ -3248,8 +3248,10 @@ cond_expand_word (w, special) - if (w->word == 0 || w->word[0] == '\0') - return ((char *)NULL); - -+ expand_no_split_dollar_star = 1; - w->flags |= W_NOSPLIT2; - l = call_expand_word_internal (w, 0, 0, (int *)0, (int *)0); -+ expand_no_split_dollar_star = 0; - if (l) - { - if (special == 0) /* LHS */ -@@ -7847,6 +7849,10 @@ param_expand (string, sindex, quoted, ex - We also want to make sure that splitting is done no matter what -- - according to POSIX.2, this expands to a list of the positional - parameters no matter what IFS is set to. */ -+ /* XXX - what to do when in a context where word splitting is not -+ performed? Even when IFS is not the default, posix seems to imply -+ that we behave like unquoted $* ? Maybe we should use PF_NOSPLIT2 -+ here. */ - temp = string_list_dollar_at (list, (pflags & PF_ASSIGNRHS) ? (quoted|Q_DOUBLE_QUOTES) : quoted); - - tflag |= W_DOLLARAT; -@@ -8816,6 +8822,7 @@ finished_with_string: - else - { - char *ifs_chars; -+ char *tstring; - - ifs_chars = (quoted_dollar_at || has_dollar_at) ? ifs_value : (char *)NULL; - -@@ -8830,11 +8837,36 @@ finished_with_string: - regardless of what else has happened to IFS since the expansion. */ - if (split_on_spaces) - list = list_string (istring, " ", 1); /* XXX quoted == 1? */ -+ /* If we have $@ (has_dollar_at != 0) and we are in a context where we -+ don't want to split the result (W_NOSPLIT2), and we are not quoted, -+ we have already separated the arguments with the first character of -+ $IFS. In this case, we want to return a list with a single word -+ with the separator possibly replaced with a space (it's what other -+ shells seem to do). -+ quoted_dollar_at is internal to this function and is set if we are -+ passed an argument that is unquoted (quoted == 0) but we encounter a -+ double-quoted $@ while expanding it. */ -+ else if (has_dollar_at && quoted_dollar_at == 0 && ifs_chars && quoted == 0 && (word->flags & W_NOSPLIT2)) -+ { -+ /* Only split and rejoin if we have to */ -+ if (*ifs_chars && *ifs_chars != ' ') -+ { -+ list = list_string (istring, *ifs_chars ? ifs_chars : " ", 1); -+ tstring = string_list (list); -+ } -+ else -+ tstring = istring; -+ tword = make_bare_word (tstring); -+ if (tstring != istring) -+ free (tstring); -+ goto set_word_flags; -+ } - else if (has_dollar_at && ifs_chars) - list = list_string (istring, *ifs_chars ? ifs_chars : " ", 1); - else - { - tword = make_bare_word (istring); -+set_word_flags: - if ((quoted & (Q_DOUBLE_QUOTES|Q_HERE_DOCUMENT)) || (quoted_state == WHOLLY_QUOTED)) - tword->flags |= W_QUOTED; - if (word->flags & W_ASSIGNMENT) ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 13 -+#define PATCHLEVEL 14 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/115-upstream-bash43-015.patch b/trunk/package/feeds/packages/bash/patches/115-upstream-bash43-015.patch deleted file mode 100644 index ae8be2d9..00000000 --- a/trunk/package/feeds/packages/bash/patches/115-upstream-bash43-015.patch +++ /dev/null @@ -1,48 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-015 - -Bug-Reported-by: Clark Wang -Bug-Reference-ID: -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-04/msg00095.html - -Bug-Description: - -When completing directory names, the directory name is dequoted twice. -This causes problems for directories with single and double quotes in -their names. - -Patch (apply with `patch -p0'): ---- a/bashline.c -+++ b/bashline.c -@@ -4167,9 +4167,16 @@ bash_directory_completion_matches (text) - int qc; - - qc = rl_dispatching ? rl_completion_quote_character : 0; -- dfn = bash_dequote_filename ((char *)text, qc); -+ /* If rl_completion_found_quote != 0, rl_completion_matches will call the -+ filename dequoting function, causing the directory name to be dequoted -+ twice. */ -+ if (rl_dispatching && rl_completion_found_quote == 0) -+ dfn = bash_dequote_filename ((char *)text, qc); -+ else -+ dfn = (char *)text; - m1 = rl_completion_matches (dfn, rl_filename_completion_function); -- free (dfn); -+ if (dfn != text) -+ free (dfn); - - if (m1 == 0 || m1[0] == 0) - return m1; ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 14 -+#define PATCHLEVEL 15 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/116-upstream-bash43-016.patch b/trunk/package/feeds/packages/bash/patches/116-upstream-bash43-016.patch deleted file mode 100644 index 3ce37f62..00000000 --- a/trunk/package/feeds/packages/bash/patches/116-upstream-bash43-016.patch +++ /dev/null @@ -1,121 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-016 - -Bug-Reported-by: Pierre Gaston -Bug-Reference-ID: -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-04/msg00100.html - -Bug-Description: - -An extended glob pattern containing a slash (`/') causes the globbing code -to misinterpret it as a directory separator. - -Patch (apply with `patch -p0'): ---- a/lib/glob/glob.c -+++ b/lib/glob/glob.c -@@ -123,6 +123,8 @@ static char **glob_dir_to_array __P((cha - extern char *glob_patscan __P((char *, char *, int)); - extern wchar_t *glob_patscan_wc __P((wchar_t *, wchar_t *, int)); - -+extern char *glob_dirscan __P((char *, int)); -+ - /* Compile `glob_loop.c' for single-byte characters. */ - #define CHAR unsigned char - #define INT int -@@ -187,6 +189,9 @@ extglob_skipname (pat, dname, flags) - se = pp + strlen (pp) - 1; /* end of string */ - pe = glob_patscan (pp, se, 0); /* end of extglob pattern (( */ - /* we should check for invalid extglob pattern here */ -+ if (pe == 0) -+ return 0; -+ - /* if pe != se we have more of the pattern at the end of the extglob - pattern. Check the easy case first ( */ - if (pe == se && *pe == ')' && (t = strchr (pp, '|')) == 0) -@@ -1015,7 +1020,7 @@ glob_filename (pathname, flags) - { - char **result; - unsigned int result_size; -- char *directory_name, *filename, *dname; -+ char *directory_name, *filename, *dname, *fn; - unsigned int directory_len; - int free_dirname; /* flag */ - int dflags; -@@ -1031,6 +1036,18 @@ glob_filename (pathname, flags) - - /* Find the filename. */ - filename = strrchr (pathname, '/'); -+#if defined (EXTENDED_GLOB) -+ if (filename && extended_glob) -+ { -+ fn = glob_dirscan (pathname, '/'); -+#if DEBUG_MATCHING -+ if (fn != filename) -+ fprintf (stderr, "glob_filename: glob_dirscan: fn (%s) != filename (%s)\n", fn ? fn : "(null)", filename); -+#endif -+ filename = fn; -+ } -+#endif -+ - if (filename == NULL) - { - filename = pathname; ---- a/lib/glob/gmisc.c -+++ b/lib/glob/gmisc.c -@@ -42,6 +42,8 @@ - #define WLPAREN L'(' - #define WRPAREN L')' - -+extern char *glob_patscan __P((char *, char *, int)); -+ - /* Return 1 of the first character of WSTRING could match the first - character of pattern WPAT. Wide character version. */ - int -@@ -375,3 +377,34 @@ bad_bracket: - - return matlen; - } -+ -+/* Skip characters in PAT and return the final occurrence of DIRSEP. This -+ is only called when extended_glob is set, so we have to skip over extglob -+ patterns x(...) */ -+char * -+glob_dirscan (pat, dirsep) -+ char *pat; -+ int dirsep; -+{ -+ char *p, *d, *pe, *se; -+ -+ d = pe = se = 0; -+ for (p = pat; p && *p; p++) -+ { -+ if (extglob_pattern_p (p)) -+ { -+ if (se == 0) -+ se = p + strlen (p) - 1; -+ pe = glob_patscan (p + 2, se, 0); -+ if (pe == 0) -+ continue; -+ else if (*pe == 0) -+ break; -+ p = pe - 1; /* will do increment above */ -+ continue; -+ } -+ if (*p == dirsep) -+ d = p; -+ } -+ return d; -+} ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 15 -+#define PATCHLEVEL 16 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/117-upstream-bash43-017.patch b/trunk/package/feeds/packages/bash/patches/117-upstream-bash43-017.patch deleted file mode 100644 index 9c7eecc9..00000000 --- a/trunk/package/feeds/packages/bash/patches/117-upstream-bash43-017.patch +++ /dev/null @@ -1,41 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-017 - -Bug-Reported-by: Dan Douglas -Bug-Reference-ID: <7781746.RhfoTROLxF@smorgbox> -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-05/msg00026.html - -Bug-Description: - -The code that creates local variables should not clear the `invisible' -attribute when returning an existing local variable. Let the code that -actually assigns a value clear it. - -Patch (apply with `patch -p0'): ---- a/variables.c -+++ b/variables.c -@@ -2197,10 +2197,7 @@ make_local_variable (name) - /* local foo; local foo; is a no-op. */ - old_var = find_variable (name); - if (old_var && local_p (old_var) && old_var->context == variable_context) -- { -- VUNSETATTR (old_var, att_invisible); /* XXX */ -- return (old_var); -- } -+ return (old_var); - - was_tmpvar = old_var && tempvar_p (old_var); - /* If we're making a local variable in a shell function, the temporary env ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 16 -+#define PATCHLEVEL 17 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/118-upstream-bash43-018.patch b/trunk/package/feeds/packages/bash/patches/118-upstream-bash43-018.patch deleted file mode 100644 index 095ca932..00000000 --- a/trunk/package/feeds/packages/bash/patches/118-upstream-bash43-018.patch +++ /dev/null @@ -1,38 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-018 - -Bug-Reported-by: Geir Hauge -Bug-Reference-ID: -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-05/msg00040.html - -Bug-Description: - -When assigning an array variable using the compound assignment syntax, -but using `declare' with the rhs of the compound assignment quoted, the -shell did not mark the variable as visible after successfully performing -the assignment. - -Patch (apply with `patch -p0'): ---- a/arrayfunc.c -+++ b/arrayfunc.c -@@ -179,6 +179,7 @@ bind_array_var_internal (entry, ind, key - array_insert (array_cell (entry), ind, newval); - FREE (newval); - -+ VUNSETATTR (entry, att_invisible); /* no longer invisible */ - return (entry); - } - ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 17 -+#define PATCHLEVEL 18 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/119-upstream-bash43-019.patch b/trunk/package/feeds/packages/bash/patches/119-upstream-bash43-019.patch deleted file mode 100644 index 2d0fa440..00000000 --- a/trunk/package/feeds/packages/bash/patches/119-upstream-bash43-019.patch +++ /dev/null @@ -1,75 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-019 - -Bug-Reported-by: John Lenton -Bug-Reference-ID: -Bug-Reference-URL: https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1317476 - -Bug-Description: - -The -t timeout option to `read' does not work when the -e option is used. - -Patch (apply with `patch -p0'): - ---- a/lib/readline/input.c -+++ b/lib/readline/input.c -@@ -534,8 +534,16 @@ rl_getc (stream) - return (RL_ISSTATE (RL_STATE_READCMD) ? READERR : EOF); - else if (_rl_caught_signal == SIGHUP || _rl_caught_signal == SIGTERM) - return (RL_ISSTATE (RL_STATE_READCMD) ? READERR : EOF); -+ /* keyboard-generated signals of interest */ - else if (_rl_caught_signal == SIGINT || _rl_caught_signal == SIGQUIT) - RL_CHECK_SIGNALS (); -+ /* non-keyboard-generated signals of interest */ -+ else if (_rl_caught_signal == SIGALRM -+#if defined (SIGVTALRM) -+ || _rl_caught_signal == SIGVTALRM -+#endif -+ ) -+ RL_CHECK_SIGNALS (); - - if (rl_signal_event_hook) - (*rl_signal_event_hook) (); ---- a/builtins/read.def -+++ b/builtins/read.def -@@ -442,7 +442,10 @@ read_builtin (list) - add_unwind_protect (reset_alarm, (char *)NULL); - #if defined (READLINE) - if (edit) -- add_unwind_protect (reset_attempted_completion_function, (char *)NULL); -+ { -+ add_unwind_protect (reset_attempted_completion_function, (char *)NULL); -+ add_unwind_protect (bashline_reset_event_hook, (char *)NULL); -+ } - #endif - falarm (tmsec, tmusec); - } -@@ -1021,6 +1024,7 @@ edit_line (p, itext) - - old_attempted_completion_function = rl_attempted_completion_function; - rl_attempted_completion_function = (rl_completion_func_t *)NULL; -+ bashline_set_event_hook (); - if (itext) - { - old_startup_hook = rl_startup_hook; -@@ -1032,6 +1036,7 @@ edit_line (p, itext) - - rl_attempted_completion_function = old_attempted_completion_function; - old_attempted_completion_function = (rl_completion_func_t *)NULL; -+ bashline_reset_event_hook (); - - if (ret == 0) - return ret; ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 18 -+#define PATCHLEVEL 19 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/120-upstream-bash43-020.patch b/trunk/package/feeds/packages/bash/patches/120-upstream-bash43-020.patch deleted file mode 100644 index abf0c301..00000000 --- a/trunk/package/feeds/packages/bash/patches/120-upstream-bash43-020.patch +++ /dev/null @@ -1,93 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-020 - -Bug-Reported-by: Jared Yanovich -Bug-Reference-ID: <20140417073654.GB26875@nightderanger.psc.edu> -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-04/msg00065.html - -Bug-Description: - -When PS2 contains a command substitution, here-documents entered in an -interactive shell can sometimes cause a segmentation fault. - -Patch (apply with `patch -p0'): - ---- a/shell.h -+++ b/shell.h -@@ -168,7 +168,8 @@ typedef struct _sh_parser_state_t { - /* flags state affecting the parser */ - int expand_aliases; - int echo_input_at_read; -- -+ int need_here_doc; -+ - } sh_parser_state_t; - - typedef struct _sh_input_line_state_t { ---- a/parse.y -+++ b/parse.y -@@ -2642,7 +2642,7 @@ gather_here_documents () - int r; - - r = 0; -- while (need_here_doc) -+ while (need_here_doc > 0) - { - parser_state |= PST_HEREDOC; - make_here_document (redir_stack[r++], line_number); -@@ -6075,6 +6075,7 @@ save_parser_state (ps) - - ps->expand_aliases = expand_aliases; - ps->echo_input_at_read = echo_input_at_read; -+ ps->need_here_doc = need_here_doc; - - ps->token = token; - ps->token_buffer_size = token_buffer_size; -@@ -6123,6 +6124,7 @@ restore_parser_state (ps) - - expand_aliases = ps->expand_aliases; - echo_input_at_read = ps->echo_input_at_read; -+ need_here_doc = ps->need_here_doc; - - FREE (token); - token = ps->token; ---- a/y.tab.c -+++ b/y.tab.c -@@ -4954,7 +4954,7 @@ gather_here_documents () - int r; - - r = 0; -- while (need_here_doc) -+ while (need_here_doc > 0) - { - parser_state |= PST_HEREDOC; - make_here_document (redir_stack[r++], line_number); -@@ -8387,6 +8387,7 @@ save_parser_state (ps) - - ps->expand_aliases = expand_aliases; - ps->echo_input_at_read = echo_input_at_read; -+ ps->need_here_doc = need_here_doc; - - ps->token = token; - ps->token_buffer_size = token_buffer_size; -@@ -8435,6 +8436,7 @@ restore_parser_state (ps) - - expand_aliases = ps->expand_aliases; - echo_input_at_read = ps->echo_input_at_read; -+ need_here_doc = ps->need_here_doc; - - FREE (token); - token = ps->token; ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 19 -+#define PATCHLEVEL 20 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/121-upstream-bash43-021.patch b/trunk/package/feeds/packages/bash/patches/121-upstream-bash43-021.patch deleted file mode 100644 index b7367a08..00000000 --- a/trunk/package/feeds/packages/bash/patches/121-upstream-bash43-021.patch +++ /dev/null @@ -1,46 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-021 - -Bug-Reported-by: Jared Yanovich -Bug-Reference-ID: <20140625225019.GJ17044@nightderanger.psc.edu> -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-06/msg00070.html - -Bug-Description: - -When the readline `revert-all-at-newline' option is set, pressing newline -when the current line is one retrieved from history results in a double free -and a segmentation fault. - -Patch (apply with `patch -p0'): - ---- a/lib/readline/misc.c -+++ b/lib/readline/misc.c -@@ -461,6 +461,7 @@ _rl_revert_all_lines () - saved_undo_list = 0; - /* Set up rl_line_buffer and other variables from history entry */ - rl_replace_from_history (entry, 0); /* entry->line is now current */ -+ entry->data = 0; /* entry->data is now current undo list */ - /* Undo all changes to this history entry */ - while (rl_undo_list) - rl_do_undo (); -@@ -468,7 +469,6 @@ _rl_revert_all_lines () - the timestamp. */ - FREE (entry->line); - entry->line = savestring (rl_line_buffer); -- entry->data = 0; - } - entry = previous_history (); - } ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 20 -+#define PATCHLEVEL 21 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/122-upstream-bash43-022.patch b/trunk/package/feeds/packages/bash/patches/122-upstream-bash43-022.patch deleted file mode 100644 index 4762be2a..00000000 --- a/trunk/package/feeds/packages/bash/patches/122-upstream-bash43-022.patch +++ /dev/null @@ -1,47 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-022 - -Bug-Reported-by: scorp.dev.null@gmail.com -Bug-Reference-ID: -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-06/msg00061.html - -Bug-Description: - -Using nested pipelines within loops with the `lastpipe' option set can result -in a segmentation fault. - -Patch (apply with `patch -p0'): - ---- a/execute_cmd.c -+++ b/execute_cmd.c -@@ -2409,7 +2409,16 @@ execute_pipeline (command, asynchronous, - #endif - lstdin = wait_for (lastpid); - #if defined (JOB_CONTROL) -- exec_result = job_exit_status (lastpipe_jid); -+ /* If wait_for removes the job from the jobs table, use result of last -+ command as pipeline's exit status as usual. The jobs list can get -+ frozen and unfrozen at inconvenient times if there are multiple pipelines -+ running simultaneously. */ -+ if (INVALID_JOB (lastpipe_jid) == 0) -+ exec_result = job_exit_status (lastpipe_jid); -+ else if (pipefail_opt) -+ exec_result = exec_result | lstdin; /* XXX */ -+ /* otherwise we use exec_result */ -+ - #endif - unfreeze_jobs_list (); - } ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 21 -+#define PATCHLEVEL 22 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/123-upstream-bash43-023.patch b/trunk/package/feeds/packages/bash/patches/123-upstream-bash43-023.patch deleted file mode 100644 index 8684c137..00000000 --- a/trunk/package/feeds/packages/bash/patches/123-upstream-bash43-023.patch +++ /dev/null @@ -1,78 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-023 - -Bug-Reported-by: Tim Friske -Bug-Reference-ID: -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-06/msg00056.html - -Bug-Description: - -Bash does not correctly parse process substitution constructs that contain -unbalanced parentheses as part of the contained command. - -Patch (apply with `patch -p0'): - ---- a/subst.h -+++ b/subst.h -@@ -82,7 +82,7 @@ extern char *extract_arithmetic_subst __ - /* Extract the <( or >( construct in STRING, and return a new string. - Start extracting at (SINDEX) as if we had just seen "<(". - Make (SINDEX) get the position just after the matching ")". */ --extern char *extract_process_subst __P((char *, char *, int *)); -+extern char *extract_process_subst __P((char *, char *, int *, int)); - #endif /* PROCESS_SUBSTITUTION */ - - /* Extract the name of the variable to bind to from the assignment string. */ ---- a/subst.c -+++ b/subst.c -@@ -1192,12 +1192,18 @@ extract_arithmetic_subst (string, sindex - Start extracting at (SINDEX) as if we had just seen "<(". - Make (SINDEX) get the position of the matching ")". */ /*))*/ - char * --extract_process_subst (string, starter, sindex) -+extract_process_subst (string, starter, sindex, xflags) - char *string; - char *starter; - int *sindex; -+ int xflags; - { -+#if 0 - return (extract_delimited_string (string, sindex, starter, "(", ")", SX_COMMAND)); -+#else -+ xflags |= (no_longjmp_on_fatal_error ? SX_NOLONGJMP : 0); -+ return (xparse_dolparen (string, string+*sindex, sindex, xflags)); -+#endif - } - #endif /* PROCESS_SUBSTITUTION */ - -@@ -1785,7 +1791,7 @@ skip_to_delim (string, start, delims, fl - si = i + 2; - if (string[si] == '\0') - CQ_RETURN(si); -- temp = extract_process_subst (string, (c == '<') ? "<(" : ">(", &si); -+ temp = extract_process_subst (string, (c == '<') ? "<(" : ">(", &si, 0); - free (temp); /* no SX_ALLOC here */ - i = si; - if (string[i] == '\0') -@@ -8249,7 +8255,7 @@ add_string: - else - t_index = sindex + 1; /* skip past both '<' and LPAREN */ - -- temp1 = extract_process_subst (string, (c == '<') ? "<(" : ">(", &t_index); /*))*/ -+ temp1 = extract_process_subst (string, (c == '<') ? "<(" : ">(", &t_index, 0); /*))*/ - sindex = t_index; - - /* If the process substitution specification is `<()', we want to ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 22 -+#define PATCHLEVEL 23 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/124-upstream-bash43-024.patch b/trunk/package/feeds/packages/bash/patches/124-upstream-bash43-024.patch deleted file mode 100644 index 79414550..00000000 --- a/trunk/package/feeds/packages/bash/patches/124-upstream-bash43-024.patch +++ /dev/null @@ -1,45 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-024 - -Bug-Reported-by: Corentin Peuvrel -Bug-Reference-ID: <53CE9E5D.6050203@pom-monitoring.com> -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-07/msg00021.html - -Bug-Description: - -Indirect variable references do not work correctly if the reference -variable expands to an array reference using a subscript other than 0 -(e.g., foo='bar[1]' ; echo ${!foo}). - -Patch (apply with `patch -p0'): - ---- a/subst.c -+++ b/subst.c -@@ -7374,7 +7374,13 @@ parameter_brace_expand (string, indexp, - } - - if (want_indir) -- tdesc = parameter_brace_expand_indir (name + 1, var_is_special, quoted, quoted_dollar_atp, contains_dollar_at); -+ { -+ tdesc = parameter_brace_expand_indir (name + 1, var_is_special, quoted, quoted_dollar_atp, contains_dollar_at); -+ /* Turn off the W_ARRAYIND flag because there is no way for this function -+ to return the index we're supposed to be using. */ -+ if (tdesc && tdesc->flags) -+ tdesc->flags &= ~W_ARRAYIND; -+ } - else - tdesc = parameter_brace_expand_word (name, var_is_special, quoted, PF_IGNUNBOUND|(pflags&(PF_NOSPLIT2|PF_ASSIGNRHS)), &ind); - ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 23 -+#define PATCHLEVEL 24 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/125-upstream-bash43-025.patch b/trunk/package/feeds/packages/bash/patches/125-upstream-bash43-025.patch deleted file mode 100644 index 6b2ef4b3..00000000 --- a/trunk/package/feeds/packages/bash/patches/125-upstream-bash43-025.patch +++ /dev/null @@ -1,110 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-025 - -Bug-Reported-by: Stephane Chazelas -Bug-Reference-ID: -Bug-Reference-URL: - -Bug-Description: - -Under certain circumstances, bash will execute user code while processing the -environment for exported function definitions. - -Patch (apply with `patch -p0'): - ---- a/builtins/common.h -+++ b/builtins/common.h -@@ -33,6 +33,8 @@ - #define SEVAL_RESETLINE 0x010 - #define SEVAL_PARSEONLY 0x020 - #define SEVAL_NOLONGJMP 0x040 -+#define SEVAL_FUNCDEF 0x080 /* only allow function definitions */ -+#define SEVAL_ONECMD 0x100 /* only allow a single command */ - - /* Flags for describe_command, shared between type.def and command.def */ - #define CDESC_ALL 0x001 /* type -a */ ---- a/builtins/evalstring.c -+++ b/builtins/evalstring.c -@@ -308,6 +308,14 @@ parse_and_execute (string, from_file, fl - { - struct fd_bitmap *bitmap; - -+ if ((flags & SEVAL_FUNCDEF) && command->type != cm_function_def) -+ { -+ internal_warning ("%s: ignoring function definition attempt", from_file); -+ should_jump_to_top_level = 0; -+ last_result = last_command_exit_value = EX_BADUSAGE; -+ break; -+ } -+ - bitmap = new_fd_bitmap (FD_BITMAP_SIZE); - begin_unwind_frame ("pe_dispose"); - add_unwind_protect (dispose_fd_bitmap, bitmap); -@@ -368,6 +376,9 @@ parse_and_execute (string, from_file, fl - dispose_command (command); - dispose_fd_bitmap (bitmap); - discard_unwind_frame ("pe_dispose"); -+ -+ if (flags & SEVAL_ONECMD) -+ break; - } - } - else ---- a/variables.c -+++ b/variables.c -@@ -358,13 +358,11 @@ initialize_shell_variables (env, privmod - temp_string[char_index] = ' '; - strcpy (temp_string + char_index + 1, string); - -- if (posixly_correct == 0 || legal_identifier (name)) -- parse_and_execute (temp_string, name, SEVAL_NONINT|SEVAL_NOHIST); -- -- /* Ancient backwards compatibility. Old versions of bash exported -- functions like name()=() {...} */ -- if (name[char_index - 1] == ')' && name[char_index - 2] == '(') -- name[char_index - 2] = '\0'; -+ /* Don't import function names that are invalid identifiers from the -+ environment, though we still allow them to be defined as shell -+ variables. */ -+ if (legal_identifier (name)) -+ parse_and_execute (temp_string, name, SEVAL_NONINT|SEVAL_NOHIST|SEVAL_FUNCDEF|SEVAL_ONECMD); - - if (temp_var = find_function (name)) - { -@@ -381,10 +379,6 @@ initialize_shell_variables (env, privmod - last_command_exit_value = 1; - report_error (_("error importing function definition for `%s'"), name); - } -- -- /* ( */ -- if (name[char_index - 1] == ')' && name[char_index - 2] == '\0') -- name[char_index - 2] = '('; /* ) */ - } - #if defined (ARRAY_VARS) - # if ARRAY_EXPORT ---- a/subst.c -+++ b/subst.c -@@ -8047,7 +8047,9 @@ comsub: - - goto return0; - } -- else if (var = find_variable_last_nameref (temp1)) -+ else if (var && (invisible_p (var) || var_isset (var) == 0)) -+ temp = (char *)NULL; -+ else if ((var = find_variable_last_nameref (temp1)) && var_isset (var) && invisible_p (var) == 0) - { - temp = nameref_cell (var); - #if defined (ARRAY_VARS) ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 24 -+#define PATCHLEVEL 25 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/126-upstream-bash43-026.patch b/trunk/package/feeds/packages/bash/patches/126-upstream-bash43-026.patch deleted file mode 100644 index e9535beb..00000000 --- a/trunk/package/feeds/packages/bash/patches/126-upstream-bash43-026.patch +++ /dev/null @@ -1,54 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-026 - -Bug-Reported-by: Tavis Ormandy -Bug-Reference-ID: -Bug-Reference-URL: http://twitter.com/taviso/statuses/514887394294652929 - -Bug-Description: - -Under certain circumstances, bash can incorrectly save a lookahead character and -return it on a subsequent call, even when reading a new line. - -Patch (apply with `patch -p0'): - ---- a/parse.y -+++ b/parse.y -@@ -2953,6 +2953,8 @@ reset_parser () - FREE (word_desc_to_read); - word_desc_to_read = (WORD_DESC *)NULL; - -+ eol_ungetc_lookahead = 0; -+ - current_token = '\n'; /* XXX */ - last_read_token = '\n'; - token_to_read = '\n'; ---- a/y.tab.c -+++ b/y.tab.c -@@ -5265,6 +5265,8 @@ reset_parser () - FREE (word_desc_to_read); - word_desc_to_read = (WORD_DESC *)NULL; - -+ eol_ungetc_lookahead = 0; -+ - current_token = '\n'; /* XXX */ - last_read_token = '\n'; - token_to_read = '\n'; -@@ -8539,4 +8541,3 @@ set_line_mbstate () - } - } - #endif /* HANDLE_MULTIBYTE */ -- ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 25 -+#define PATCHLEVEL 26 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/127-upstream-bash43-027.patch b/trunk/package/feeds/packages/bash/patches/127-upstream-bash43-027.patch deleted file mode 100644 index 6e8a51a2..00000000 --- a/trunk/package/feeds/packages/bash/patches/127-upstream-bash43-027.patch +++ /dev/null @@ -1,176 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-027 - -Bug-Reported-by: Florian Weimer -Bug-Reference-ID: -Bug-Reference-URL: - -Bug-Description: - -This patch changes the encoding bash uses for exported functions to avoid -clashes with shell variables and to avoid depending only on an environment -variable's contents to determine whether or not to interpret it as a shell -function. - -Patch (apply with `patch -p0'): - ---- a/variables.c -+++ b/variables.c -@@ -83,6 +83,11 @@ - - #define ifsname(s) ((s)[0] == 'I' && (s)[1] == 'F' && (s)[2] == 'S' && (s)[3] == '\0') - -+#define BASHFUNC_PREFIX "BASH_FUNC_" -+#define BASHFUNC_PREFLEN 10 /* == strlen(BASHFUNC_PREFIX */ -+#define BASHFUNC_SUFFIX "%%" -+#define BASHFUNC_SUFFLEN 2 /* == strlen(BASHFUNC_SUFFIX) */ -+ - extern char **environ; - - /* Variables used here and defined in other files. */ -@@ -279,7 +284,7 @@ static void push_temp_var __P((PTR_T)); - static void propagate_temp_var __P((PTR_T)); - static void dispose_temporary_env __P((sh_free_func_t *)); - --static inline char *mk_env_string __P((const char *, const char *)); -+static inline char *mk_env_string __P((const char *, const char *, int)); - static char **make_env_array_from_var_list __P((SHELL_VAR **)); - static char **make_var_export_array __P((VAR_CONTEXT *)); - static char **make_func_export_array __P((void)); -@@ -349,22 +354,33 @@ initialize_shell_variables (env, privmod - - /* If exported function, define it now. Don't import functions from - the environment in privileged mode. */ -- if (privmode == 0 && read_but_dont_execute == 0 && STREQN ("() {", string, 4)) -+ if (privmode == 0 && read_but_dont_execute == 0 && -+ STREQN (BASHFUNC_PREFIX, name, BASHFUNC_PREFLEN) && -+ STREQ (BASHFUNC_SUFFIX, name + char_index - BASHFUNC_SUFFLEN) && -+ STREQN ("() {", string, 4)) - { -+ size_t namelen; -+ char *tname; /* desired imported function name */ -+ -+ namelen = char_index - BASHFUNC_PREFLEN - BASHFUNC_SUFFLEN; -+ -+ tname = name + BASHFUNC_PREFLEN; /* start of func name */ -+ tname[namelen] = '\0'; /* now tname == func name */ -+ - string_length = strlen (string); -- temp_string = (char *)xmalloc (3 + string_length + char_index); -+ temp_string = (char *)xmalloc (namelen + string_length + 2); - -- strcpy (temp_string, name); -- temp_string[char_index] = ' '; -- strcpy (temp_string + char_index + 1, string); -+ memcpy (temp_string, tname, namelen); -+ temp_string[namelen] = ' '; -+ memcpy (temp_string + namelen + 1, string, string_length + 1); - - /* Don't import function names that are invalid identifiers from the - environment, though we still allow them to be defined as shell - variables. */ -- if (legal_identifier (name)) -- parse_and_execute (temp_string, name, SEVAL_NONINT|SEVAL_NOHIST|SEVAL_FUNCDEF|SEVAL_ONECMD); -+ if (absolute_program (tname) == 0 && (posixly_correct == 0 || legal_identifier (tname))) -+ parse_and_execute (temp_string, tname, SEVAL_NONINT|SEVAL_NOHIST|SEVAL_FUNCDEF|SEVAL_ONECMD); - -- if (temp_var = find_function (name)) -+ if (temp_var = find_function (tname)) - { - VSETATTR (temp_var, (att_exported|att_imported)); - array_needs_making = 1; -@@ -377,8 +393,11 @@ initialize_shell_variables (env, privmod - array_needs_making = 1; - } - last_command_exit_value = 1; -- report_error (_("error importing function definition for `%s'"), name); -+ report_error (_("error importing function definition for `%s'"), tname); - } -+ -+ /* Restore original suffix */ -+ tname[namelen] = BASHFUNC_SUFFIX[0]; - } - #if defined (ARRAY_VARS) - # if ARRAY_EXPORT -@@ -2954,7 +2973,7 @@ assign_in_env (word, flags) - var->context = variable_context; /* XXX */ - - INVALIDATE_EXPORTSTR (var); -- var->exportstr = mk_env_string (name, value); -+ var->exportstr = mk_env_string (name, value, 0); - - array_needs_making = 1; - -@@ -3852,21 +3871,42 @@ merge_temporary_env () - /* **************************************************************** */ - - static inline char * --mk_env_string (name, value) -+mk_env_string (name, value, isfunc) - const char *name, *value; -+ int isfunc; - { -- int name_len, value_len; -- char *p; -+ size_t name_len, value_len; -+ char *p, *q; - - name_len = strlen (name); - value_len = STRLEN (value); -- p = (char *)xmalloc (2 + name_len + value_len); -- strcpy (p, name); -- p[name_len] = '='; -+ -+ /* If we are exporting a shell function, construct the encoded function -+ name. */ -+ if (isfunc && value) -+ { -+ p = (char *)xmalloc (BASHFUNC_PREFLEN + name_len + BASHFUNC_SUFFLEN + value_len + 2); -+ q = p; -+ memcpy (q, BASHFUNC_PREFIX, BASHFUNC_PREFLEN); -+ q += BASHFUNC_PREFLEN; -+ memcpy (q, name, name_len); -+ q += name_len; -+ memcpy (q, BASHFUNC_SUFFIX, BASHFUNC_SUFFLEN); -+ q += BASHFUNC_SUFFLEN; -+ } -+ else -+ { -+ p = (char *)xmalloc (2 + name_len + value_len); -+ memcpy (p, name, name_len); -+ q = p + name_len; -+ } -+ -+ q[0] = '='; - if (value && *value) -- strcpy (p + name_len + 1, value); -+ memcpy (q + 1, value, value_len + 1); - else -- p[name_len + 1] = '\0'; -+ q[1] = '\0'; -+ - return (p); - } - -@@ -3952,7 +3992,7 @@ make_env_array_from_var_list (vars) - /* Gee, I'd like to get away with not using savestring() if we're - using the cached exportstr... */ - list[list_index] = USE_EXPORTSTR ? savestring (value) -- : mk_env_string (var->name, value); -+ : mk_env_string (var->name, value, function_p (var)); - - if (USE_EXPORTSTR == 0) - SAVE_EXPORTSTR (var, list[list_index]); ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 26 -+#define PATCHLEVEL 27 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/128-upstream-bash43-028.patch b/trunk/package/feeds/packages/bash/patches/128-upstream-bash43-028.patch deleted file mode 100644 index b4b1b6dc..00000000 --- a/trunk/package/feeds/packages/bash/patches/128-upstream-bash43-028.patch +++ /dev/null @@ -1,1526 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-028 - -Bug-Reported-by: Florian Weimer -Bug-Reference-ID: -Bug-Reference-URL: - -Bug-Description: - -There are two local buffer overflows in parse.y that can cause the shell -to dump core when given many here-documents attached to a single command -or many nested loops. - -Patch (apply with `patch -p0'): - ---- a/parse.y -+++ b/parse.y -@@ -168,6 +168,9 @@ static char *read_a_line __P((int)); - - static int reserved_word_acceptable __P((int)); - static int yylex __P((void)); -+ -+static void push_heredoc __P((REDIRECT *)); -+static char *mk_alexpansion __P((char *)); - static int alias_expand_token __P((char *)); - static int time_command_acceptable __P((void)); - static int special_case_tokens __P((char *)); -@@ -265,7 +268,9 @@ int parser_state; - - /* Variables to manage the task of reading here documents, because we need to - defer the reading until after a complete command has been collected. */ --static REDIRECT *redir_stack[10]; -+#define HEREDOC_MAX 16 -+ -+static REDIRECT *redir_stack[HEREDOC_MAX]; - int need_here_doc; - - /* Where shell input comes from. History expansion is performed on each -@@ -307,7 +312,7 @@ static int global_extglob; - or `for WORD' begins. This is a nested command maximum, since the array - index is decremented after a case, select, or for command is parsed. */ - #define MAX_CASE_NEST 128 --static int word_lineno[MAX_CASE_NEST]; -+static int word_lineno[MAX_CASE_NEST+1]; - static int word_top = -1; - - /* If non-zero, it is the token that we want read_token to return -@@ -520,42 +525,42 @@ redirection: '>' WORD - source.dest = 0; - redir.filename = $2; - $$ = make_redirection (source, r_reading_until, redir, 0); -- redir_stack[need_here_doc++] = $$; -+ push_heredoc ($$); - } - | NUMBER LESS_LESS WORD - { - source.dest = $1; - redir.filename = $3; - $$ = make_redirection (source, r_reading_until, redir, 0); -- redir_stack[need_here_doc++] = $$; -+ push_heredoc ($$); - } - | REDIR_WORD LESS_LESS WORD - { - source.filename = $1; - redir.filename = $3; - $$ = make_redirection (source, r_reading_until, redir, REDIR_VARASSIGN); -- redir_stack[need_here_doc++] = $$; -+ push_heredoc ($$); - } - | LESS_LESS_MINUS WORD - { - source.dest = 0; - redir.filename = $2; - $$ = make_redirection (source, r_deblank_reading_until, redir, 0); -- redir_stack[need_here_doc++] = $$; -+ push_heredoc ($$); - } - | NUMBER LESS_LESS_MINUS WORD - { - source.dest = $1; - redir.filename = $3; - $$ = make_redirection (source, r_deblank_reading_until, redir, 0); -- redir_stack[need_here_doc++] = $$; -+ push_heredoc ($$); - } - | REDIR_WORD LESS_LESS_MINUS WORD - { - source.filename = $1; - redir.filename = $3; - $$ = make_redirection (source, r_deblank_reading_until, redir, REDIR_VARASSIGN); -- redir_stack[need_here_doc++] = $$; -+ push_heredoc ($$); - } - | LESS_LESS_LESS WORD - { -@@ -2636,6 +2641,21 @@ yylex () - which allow ESAC to be the next one read. */ - static int esacs_needed_count; - -+static void -+push_heredoc (r) -+ REDIRECT *r; -+{ -+ if (need_here_doc >= HEREDOC_MAX) -+ { -+ last_command_exit_value = EX_BADUSAGE; -+ need_here_doc = 0; -+ report_syntax_error (_("maximum here-document count exceeded")); -+ reset_parser (); -+ exit_shell (last_command_exit_value); -+ } -+ redir_stack[need_here_doc++] = r; -+} -+ - void - gather_here_documents () - { ---- a/y.tab.c -+++ b/y.tab.c -@@ -168,7 +168,7 @@ - - - /* Copy the first part of user declarations. */ --#line 21 "/usr/homes/chet/src/bash/src/parse.y" -+#line 21 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - - #include "config.h" - -@@ -319,6 +319,9 @@ static char *read_a_line __P((int)); - - static int reserved_word_acceptable __P((int)); - static int yylex __P((void)); -+ -+static void push_heredoc __P((REDIRECT *)); -+static char *mk_alexpansion __P((char *)); - static int alias_expand_token __P((char *)); - static int time_command_acceptable __P((void)); - static int special_case_tokens __P((char *)); -@@ -416,7 +419,9 @@ int parser_state; - - /* Variables to manage the task of reading here documents, because we need to - defer the reading until after a complete command has been collected. */ --static REDIRECT *redir_stack[10]; -+#define HEREDOC_MAX 16 -+ -+static REDIRECT *redir_stack[HEREDOC_MAX]; - int need_here_doc; - - /* Where shell input comes from. History expansion is performed on each -@@ -458,7 +463,7 @@ static int global_extglob; - or `for WORD' begins. This is a nested command maximum, since the array - index is decremented after a case, select, or for command is parsed. */ - #define MAX_CASE_NEST 128 --static int word_lineno[MAX_CASE_NEST]; -+static int word_lineno[MAX_CASE_NEST+1]; - static int word_top = -1; - - /* If non-zero, it is the token that we want read_token to return -@@ -492,7 +497,7 @@ static REDIRECTEE redir; - - #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED - typedef union YYSTYPE --#line 324 "/usr/homes/chet/src/bash/src/parse.y" -+#line 329 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - WORD_DESC *word; /* the word that we read. */ - int number; /* the number that we read. */ -@@ -503,7 +508,7 @@ typedef union YYSTYPE - PATTERN_LIST *pattern; - } - /* Line 193 of yacc.c. */ --#line 507 "y.tab.c" -+#line 512 "y.tab.c" - YYSTYPE; - # define yystype YYSTYPE /* obsolescent; will be withdrawn */ - # define YYSTYPE_IS_DECLARED 1 -@@ -516,7 +521,7 @@ typedef union YYSTYPE - - - /* Line 216 of yacc.c. */ --#line 520 "y.tab.c" -+#line 525 "y.tab.c" - - #ifdef short - # undef short -@@ -886,23 +891,23 @@ static const yytype_int8 yyrhs[] = - /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ - static const yytype_uint16 yyrline[] = - { -- 0, 377, 377, 388, 397, 412, 422, 424, 428, 434, -- 440, 446, 452, 458, 464, 470, 476, 482, 488, 494, -- 500, 506, 512, 518, 525, 532, 539, 546, 553, 560, -- 566, 572, 578, 584, 590, 596, 602, 608, 614, 620, -- 626, 632, 638, 644, 650, 656, 662, 668, 674, 680, -- 686, 692, 700, 702, 704, 708, 712, 723, 725, 729, -- 731, 733, 749, 751, 755, 757, 759, 761, 763, 765, -- 767, 769, 771, 773, 775, 779, 784, 789, 794, 799, -- 804, 809, 814, 821, 826, 831, 836, 843, 848, 853, -- 858, 863, 868, 875, 880, 885, 892, 895, 898, 902, -- 904, 935, 942, 947, 964, 969, 986, 993, 995, 997, -- 1002, 1006, 1010, 1014, 1016, 1018, 1022, 1023, 1027, 1029, -- 1031, 1033, 1037, 1039, 1041, 1043, 1045, 1047, 1051, 1053, -- 1062, 1070, 1071, 1077, 1078, 1085, 1089, 1091, 1093, 1100, -- 1102, 1104, 1108, 1109, 1112, 1114, 1116, 1120, 1121, 1130, -- 1143, 1159, 1174, 1176, 1178, 1185, 1188, 1192, 1194, 1200, -- 1206, 1223, 1243, 1245, 1268, 1272, 1274, 1276 -+ 0, 382, 382, 393, 402, 417, 427, 429, 433, 439, -+ 445, 451, 457, 463, 469, 475, 481, 487, 493, 499, -+ 505, 511, 517, 523, 530, 537, 544, 551, 558, 565, -+ 571, 577, 583, 589, 595, 601, 607, 613, 619, 625, -+ 631, 637, 643, 649, 655, 661, 667, 673, 679, 685, -+ 691, 697, 705, 707, 709, 713, 717, 728, 730, 734, -+ 736, 738, 754, 756, 760, 762, 764, 766, 768, 770, -+ 772, 774, 776, 778, 780, 784, 789, 794, 799, 804, -+ 809, 814, 819, 826, 831, 836, 841, 848, 853, 858, -+ 863, 868, 873, 880, 885, 890, 897, 900, 903, 907, -+ 909, 940, 947, 952, 969, 974, 991, 998, 1000, 1002, -+ 1007, 1011, 1015, 1019, 1021, 1023, 1027, 1028, 1032, 1034, -+ 1036, 1038, 1042, 1044, 1046, 1048, 1050, 1052, 1056, 1058, -+ 1067, 1075, 1076, 1082, 1083, 1090, 1094, 1096, 1098, 1105, -+ 1107, 1109, 1113, 1114, 1117, 1119, 1121, 1125, 1126, 1135, -+ 1148, 1164, 1179, 1181, 1183, 1190, 1193, 1197, 1199, 1205, -+ 1211, 1228, 1248, 1250, 1273, 1277, 1279, 1281 - }; - #endif - -@@ -2093,7 +2098,7 @@ yyreduce: - switch (yyn) - { - case 2: --#line 378 "/usr/homes/chet/src/bash/src/parse.y" -+#line 383 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - /* Case of regular command. Discard the error - safety net,and return the command just parsed. */ -@@ -2107,7 +2112,7 @@ yyreduce: - break; - - case 3: --#line 389 "/usr/homes/chet/src/bash/src/parse.y" -+#line 394 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - /* Case of regular command, but not a very - interesting one. Return a NULL command. */ -@@ -2119,7 +2124,7 @@ yyreduce: - break; - - case 4: --#line 398 "/usr/homes/chet/src/bash/src/parse.y" -+#line 403 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - /* Error during parsing. Return NULL command. */ - global_command = (COMMAND *)NULL; -@@ -2137,7 +2142,7 @@ yyreduce: - break; - - case 5: --#line 413 "/usr/homes/chet/src/bash/src/parse.y" -+#line 418 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - /* Case of EOF seen by itself. Do ignoreeof or - not. */ -@@ -2148,17 +2153,17 @@ yyreduce: - break; - - case 6: --#line 423 "/usr/homes/chet/src/bash/src/parse.y" -+#line 428 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.word_list) = make_word_list ((yyvsp[(1) - (1)].word), (WORD_LIST *)NULL); } - break; - - case 7: --#line 425 "/usr/homes/chet/src/bash/src/parse.y" -+#line 430 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.word_list) = make_word_list ((yyvsp[(2) - (2)].word), (yyvsp[(1) - (2)].word_list)); } - break; - - case 8: --#line 429 "/usr/homes/chet/src/bash/src/parse.y" -+#line 434 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = 1; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2167,7 +2172,7 @@ yyreduce: - break; - - case 9: --#line 435 "/usr/homes/chet/src/bash/src/parse.y" -+#line 440 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = 0; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2176,7 +2181,7 @@ yyreduce: - break; - - case 10: --#line 441 "/usr/homes/chet/src/bash/src/parse.y" -+#line 446 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2185,7 +2190,7 @@ yyreduce: - break; - - case 11: --#line 447 "/usr/homes/chet/src/bash/src/parse.y" -+#line 452 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2194,7 +2199,7 @@ yyreduce: - break; - - case 12: --#line 453 "/usr/homes/chet/src/bash/src/parse.y" -+#line 458 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2203,7 +2208,7 @@ yyreduce: - break; - - case 13: --#line 459 "/usr/homes/chet/src/bash/src/parse.y" -+#line 464 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2212,7 +2217,7 @@ yyreduce: - break; - - case 14: --#line 465 "/usr/homes/chet/src/bash/src/parse.y" -+#line 470 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = 1; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2221,7 +2226,7 @@ yyreduce: - break; - - case 15: --#line 471 "/usr/homes/chet/src/bash/src/parse.y" -+#line 476 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2230,7 +2235,7 @@ yyreduce: - break; - - case 16: --#line 477 "/usr/homes/chet/src/bash/src/parse.y" -+#line 482 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2239,7 +2244,7 @@ yyreduce: - break; - - case 17: --#line 483 "/usr/homes/chet/src/bash/src/parse.y" -+#line 488 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = 1; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2248,7 +2253,7 @@ yyreduce: - break; - - case 18: --#line 489 "/usr/homes/chet/src/bash/src/parse.y" -+#line 494 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2257,7 +2262,7 @@ yyreduce: - break; - - case 19: --#line 495 "/usr/homes/chet/src/bash/src/parse.y" -+#line 500 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2266,7 +2271,7 @@ yyreduce: - break; - - case 20: --#line 501 "/usr/homes/chet/src/bash/src/parse.y" -+#line 506 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = 0; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2275,7 +2280,7 @@ yyreduce: - break; - - case 21: --#line 507 "/usr/homes/chet/src/bash/src/parse.y" -+#line 512 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2284,7 +2289,7 @@ yyreduce: - break; - - case 22: --#line 513 "/usr/homes/chet/src/bash/src/parse.y" -+#line 518 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2293,67 +2298,67 @@ yyreduce: - break; - - case 23: --#line 519 "/usr/homes/chet/src/bash/src/parse.y" -+#line 524 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = 0; - redir.filename = (yyvsp[(2) - (2)].word); - (yyval.redirect) = make_redirection (source, r_reading_until, redir, 0); -- redir_stack[need_here_doc++] = (yyval.redirect); -+ push_heredoc ((yyval.redirect)); - } - break; - - case 24: --#line 526 "/usr/homes/chet/src/bash/src/parse.y" -+#line 531 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); - (yyval.redirect) = make_redirection (source, r_reading_until, redir, 0); -- redir_stack[need_here_doc++] = (yyval.redirect); -+ push_heredoc ((yyval.redirect)); - } - break; - - case 25: --#line 533 "/usr/homes/chet/src/bash/src/parse.y" -+#line 538 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); - (yyval.redirect) = make_redirection (source, r_reading_until, redir, REDIR_VARASSIGN); -- redir_stack[need_here_doc++] = (yyval.redirect); -+ push_heredoc ((yyval.redirect)); - } - break; - - case 26: --#line 540 "/usr/homes/chet/src/bash/src/parse.y" -+#line 545 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = 0; - redir.filename = (yyvsp[(2) - (2)].word); - (yyval.redirect) = make_redirection (source, r_deblank_reading_until, redir, 0); -- redir_stack[need_here_doc++] = (yyval.redirect); -+ push_heredoc ((yyval.redirect)); - } - break; - - case 27: --#line 547 "/usr/homes/chet/src/bash/src/parse.y" -+#line 552 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); - (yyval.redirect) = make_redirection (source, r_deblank_reading_until, redir, 0); -- redir_stack[need_here_doc++] = (yyval.redirect); -+ push_heredoc ((yyval.redirect)); - } - break; - - case 28: --#line 554 "/usr/homes/chet/src/bash/src/parse.y" -+#line 559 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); - (yyval.redirect) = make_redirection (source, r_deblank_reading_until, redir, REDIR_VARASSIGN); -- redir_stack[need_here_doc++] = (yyval.redirect); -+ push_heredoc ((yyval.redirect)); - } - break; - - case 29: --#line 561 "/usr/homes/chet/src/bash/src/parse.y" -+#line 566 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = 0; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2362,7 +2367,7 @@ yyreduce: - break; - - case 30: --#line 567 "/usr/homes/chet/src/bash/src/parse.y" -+#line 572 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2371,7 +2376,7 @@ yyreduce: - break; - - case 31: --#line 573 "/usr/homes/chet/src/bash/src/parse.y" -+#line 578 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2380,7 +2385,7 @@ yyreduce: - break; - - case 32: --#line 579 "/usr/homes/chet/src/bash/src/parse.y" -+#line 584 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = 0; - redir.dest = (yyvsp[(2) - (2)].number); -@@ -2389,7 +2394,7 @@ yyreduce: - break; - - case 33: --#line 585 "/usr/homes/chet/src/bash/src/parse.y" -+#line 590 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.dest = (yyvsp[(3) - (3)].number); -@@ -2398,7 +2403,7 @@ yyreduce: - break; - - case 34: --#line 591 "/usr/homes/chet/src/bash/src/parse.y" -+#line 596 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.dest = (yyvsp[(3) - (3)].number); -@@ -2407,7 +2412,7 @@ yyreduce: - break; - - case 35: --#line 597 "/usr/homes/chet/src/bash/src/parse.y" -+#line 602 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = 1; - redir.dest = (yyvsp[(2) - (2)].number); -@@ -2416,7 +2421,7 @@ yyreduce: - break; - - case 36: --#line 603 "/usr/homes/chet/src/bash/src/parse.y" -+#line 608 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.dest = (yyvsp[(3) - (3)].number); -@@ -2425,7 +2430,7 @@ yyreduce: - break; - - case 37: --#line 609 "/usr/homes/chet/src/bash/src/parse.y" -+#line 614 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.dest = (yyvsp[(3) - (3)].number); -@@ -2434,7 +2439,7 @@ yyreduce: - break; - - case 38: --#line 615 "/usr/homes/chet/src/bash/src/parse.y" -+#line 620 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = 0; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2443,7 +2448,7 @@ yyreduce: - break; - - case 39: --#line 621 "/usr/homes/chet/src/bash/src/parse.y" -+#line 626 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2452,7 +2457,7 @@ yyreduce: - break; - - case 40: --#line 627 "/usr/homes/chet/src/bash/src/parse.y" -+#line 632 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2461,7 +2466,7 @@ yyreduce: - break; - - case 41: --#line 633 "/usr/homes/chet/src/bash/src/parse.y" -+#line 638 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = 1; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2470,7 +2475,7 @@ yyreduce: - break; - - case 42: --#line 639 "/usr/homes/chet/src/bash/src/parse.y" -+#line 644 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2479,7 +2484,7 @@ yyreduce: - break; - - case 43: --#line 645 "/usr/homes/chet/src/bash/src/parse.y" -+#line 650 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2488,7 +2493,7 @@ yyreduce: - break; - - case 44: --#line 651 "/usr/homes/chet/src/bash/src/parse.y" -+#line 656 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = 1; - redir.dest = 0; -@@ -2497,7 +2502,7 @@ yyreduce: - break; - - case 45: --#line 657 "/usr/homes/chet/src/bash/src/parse.y" -+#line 662 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.dest = 0; -@@ -2506,7 +2511,7 @@ yyreduce: - break; - - case 46: --#line 663 "/usr/homes/chet/src/bash/src/parse.y" -+#line 668 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.dest = 0; -@@ -2515,7 +2520,7 @@ yyreduce: - break; - - case 47: --#line 669 "/usr/homes/chet/src/bash/src/parse.y" -+#line 674 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = 0; - redir.dest = 0; -@@ -2524,7 +2529,7 @@ yyreduce: - break; - - case 48: --#line 675 "/usr/homes/chet/src/bash/src/parse.y" -+#line 680 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.dest = 0; -@@ -2533,7 +2538,7 @@ yyreduce: - break; - - case 49: --#line 681 "/usr/homes/chet/src/bash/src/parse.y" -+#line 686 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.dest = 0; -@@ -2542,7 +2547,7 @@ yyreduce: - break; - - case 50: --#line 687 "/usr/homes/chet/src/bash/src/parse.y" -+#line 692 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = 1; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2551,7 +2556,7 @@ yyreduce: - break; - - case 51: --#line 693 "/usr/homes/chet/src/bash/src/parse.y" -+#line 698 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - source.dest = 1; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2560,29 +2565,29 @@ yyreduce: - break; - - case 52: --#line 701 "/usr/homes/chet/src/bash/src/parse.y" -+#line 706 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.element).word = (yyvsp[(1) - (1)].word); (yyval.element).redirect = 0; } - break; - - case 53: --#line 703 "/usr/homes/chet/src/bash/src/parse.y" -+#line 708 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.element).word = (yyvsp[(1) - (1)].word); (yyval.element).redirect = 0; } - break; - - case 54: --#line 705 "/usr/homes/chet/src/bash/src/parse.y" -+#line 710 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.element).redirect = (yyvsp[(1) - (1)].redirect); (yyval.element).word = 0; } - break; - - case 55: --#line 709 "/usr/homes/chet/src/bash/src/parse.y" -+#line 714 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.redirect) = (yyvsp[(1) - (1)].redirect); - } - break; - - case 56: --#line 713 "/usr/homes/chet/src/bash/src/parse.y" -+#line 718 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - register REDIRECT *t; - -@@ -2594,27 +2599,27 @@ yyreduce: - break; - - case 57: --#line 724 "/usr/homes/chet/src/bash/src/parse.y" -+#line 729 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = make_simple_command ((yyvsp[(1) - (1)].element), (COMMAND *)NULL); } - break; - - case 58: --#line 726 "/usr/homes/chet/src/bash/src/parse.y" -+#line 731 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = make_simple_command ((yyvsp[(2) - (2)].element), (yyvsp[(1) - (2)].command)); } - break; - - case 59: --#line 730 "/usr/homes/chet/src/bash/src/parse.y" -+#line 735 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = clean_simple_command ((yyvsp[(1) - (1)].command)); } - break; - - case 60: --#line 732 "/usr/homes/chet/src/bash/src/parse.y" -+#line 737 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 61: --#line 734 "/usr/homes/chet/src/bash/src/parse.y" -+#line 739 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - COMMAND *tc; - -@@ -2633,72 +2638,72 @@ yyreduce: - break; - - case 62: --#line 750 "/usr/homes/chet/src/bash/src/parse.y" -+#line 755 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 63: --#line 752 "/usr/homes/chet/src/bash/src/parse.y" -+#line 757 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 64: --#line 756 "/usr/homes/chet/src/bash/src/parse.y" -+#line 761 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 65: --#line 758 "/usr/homes/chet/src/bash/src/parse.y" -+#line 763 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 66: --#line 760 "/usr/homes/chet/src/bash/src/parse.y" -+#line 765 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = make_while_command ((yyvsp[(2) - (5)].command), (yyvsp[(4) - (5)].command)); } - break; - - case 67: --#line 762 "/usr/homes/chet/src/bash/src/parse.y" -+#line 767 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = make_until_command ((yyvsp[(2) - (5)].command), (yyvsp[(4) - (5)].command)); } - break; - - case 68: --#line 764 "/usr/homes/chet/src/bash/src/parse.y" -+#line 769 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 69: --#line 766 "/usr/homes/chet/src/bash/src/parse.y" -+#line 771 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 70: --#line 768 "/usr/homes/chet/src/bash/src/parse.y" -+#line 773 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 71: --#line 770 "/usr/homes/chet/src/bash/src/parse.y" -+#line 775 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 72: --#line 772 "/usr/homes/chet/src/bash/src/parse.y" -+#line 777 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 73: --#line 774 "/usr/homes/chet/src/bash/src/parse.y" -+#line 779 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 74: --#line 776 "/usr/homes/chet/src/bash/src/parse.y" -+#line 781 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 75: --#line 780 "/usr/homes/chet/src/bash/src/parse.y" -+#line 785 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_for_command ((yyvsp[(2) - (6)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(5) - (6)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2706,7 +2711,7 @@ yyreduce: - break; - - case 76: --#line 785 "/usr/homes/chet/src/bash/src/parse.y" -+#line 790 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_for_command ((yyvsp[(2) - (6)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(5) - (6)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2714,7 +2719,7 @@ yyreduce: - break; - - case 77: --#line 790 "/usr/homes/chet/src/bash/src/parse.y" -+#line 795 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_for_command ((yyvsp[(2) - (7)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(6) - (7)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2722,7 +2727,7 @@ yyreduce: - break; - - case 78: --#line 795 "/usr/homes/chet/src/bash/src/parse.y" -+#line 800 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_for_command ((yyvsp[(2) - (7)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(6) - (7)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2730,7 +2735,7 @@ yyreduce: - break; - - case 79: --#line 800 "/usr/homes/chet/src/bash/src/parse.y" -+#line 805 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_for_command ((yyvsp[(2) - (10)].word), REVERSE_LIST ((yyvsp[(5) - (10)].word_list), WORD_LIST *), (yyvsp[(9) - (10)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2738,7 +2743,7 @@ yyreduce: - break; - - case 80: --#line 805 "/usr/homes/chet/src/bash/src/parse.y" -+#line 810 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_for_command ((yyvsp[(2) - (10)].word), REVERSE_LIST ((yyvsp[(5) - (10)].word_list), WORD_LIST *), (yyvsp[(9) - (10)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2746,7 +2751,7 @@ yyreduce: - break; - - case 81: --#line 810 "/usr/homes/chet/src/bash/src/parse.y" -+#line 815 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_for_command ((yyvsp[(2) - (9)].word), (WORD_LIST *)NULL, (yyvsp[(8) - (9)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2754,7 +2759,7 @@ yyreduce: - break; - - case 82: --#line 815 "/usr/homes/chet/src/bash/src/parse.y" -+#line 820 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_for_command ((yyvsp[(2) - (9)].word), (WORD_LIST *)NULL, (yyvsp[(8) - (9)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2762,7 +2767,7 @@ yyreduce: - break; - - case 83: --#line 822 "/usr/homes/chet/src/bash/src/parse.y" -+#line 827 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_arith_for_command ((yyvsp[(2) - (7)].word_list), (yyvsp[(6) - (7)].command), arith_for_lineno); - if (word_top > 0) word_top--; -@@ -2770,7 +2775,7 @@ yyreduce: - break; - - case 84: --#line 827 "/usr/homes/chet/src/bash/src/parse.y" -+#line 832 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_arith_for_command ((yyvsp[(2) - (7)].word_list), (yyvsp[(6) - (7)].command), arith_for_lineno); - if (word_top > 0) word_top--; -@@ -2778,7 +2783,7 @@ yyreduce: - break; - - case 85: --#line 832 "/usr/homes/chet/src/bash/src/parse.y" -+#line 837 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_arith_for_command ((yyvsp[(2) - (5)].word_list), (yyvsp[(4) - (5)].command), arith_for_lineno); - if (word_top > 0) word_top--; -@@ -2786,7 +2791,7 @@ yyreduce: - break; - - case 86: --#line 837 "/usr/homes/chet/src/bash/src/parse.y" -+#line 842 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_arith_for_command ((yyvsp[(2) - (5)].word_list), (yyvsp[(4) - (5)].command), arith_for_lineno); - if (word_top > 0) word_top--; -@@ -2794,7 +2799,7 @@ yyreduce: - break; - - case 87: --#line 844 "/usr/homes/chet/src/bash/src/parse.y" -+#line 849 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_select_command ((yyvsp[(2) - (6)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(5) - (6)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2802,7 +2807,7 @@ yyreduce: - break; - - case 88: --#line 849 "/usr/homes/chet/src/bash/src/parse.y" -+#line 854 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_select_command ((yyvsp[(2) - (6)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(5) - (6)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2810,7 +2815,7 @@ yyreduce: - break; - - case 89: --#line 854 "/usr/homes/chet/src/bash/src/parse.y" -+#line 859 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_select_command ((yyvsp[(2) - (7)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(6) - (7)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2818,7 +2823,7 @@ yyreduce: - break; - - case 90: --#line 859 "/usr/homes/chet/src/bash/src/parse.y" -+#line 864 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_select_command ((yyvsp[(2) - (7)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(6) - (7)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2826,7 +2831,7 @@ yyreduce: - break; - - case 91: --#line 864 "/usr/homes/chet/src/bash/src/parse.y" -+#line 869 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_select_command ((yyvsp[(2) - (10)].word), REVERSE_LIST ((yyvsp[(5) - (10)].word_list), WORD_LIST *), (yyvsp[(9) - (10)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2834,7 +2839,7 @@ yyreduce: - break; - - case 92: --#line 869 "/usr/homes/chet/src/bash/src/parse.y" -+#line 874 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_select_command ((yyvsp[(2) - (10)].word), REVERSE_LIST ((yyvsp[(5) - (10)].word_list), WORD_LIST *), (yyvsp[(9) - (10)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2842,7 +2847,7 @@ yyreduce: - break; - - case 93: --#line 876 "/usr/homes/chet/src/bash/src/parse.y" -+#line 881 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_case_command ((yyvsp[(2) - (6)].word), (PATTERN_LIST *)NULL, word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2850,7 +2855,7 @@ yyreduce: - break; - - case 94: --#line 881 "/usr/homes/chet/src/bash/src/parse.y" -+#line 886 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_case_command ((yyvsp[(2) - (7)].word), (yyvsp[(5) - (7)].pattern), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2858,7 +2863,7 @@ yyreduce: - break; - - case 95: --#line 886 "/usr/homes/chet/src/bash/src/parse.y" -+#line 891 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_case_command ((yyvsp[(2) - (6)].word), (yyvsp[(5) - (6)].pattern), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2866,27 +2871,27 @@ yyreduce: - break; - - case 96: --#line 893 "/usr/homes/chet/src/bash/src/parse.y" -+#line 898 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = make_function_def ((yyvsp[(1) - (5)].word), (yyvsp[(5) - (5)].command), function_dstart, function_bstart); } - break; - - case 97: --#line 896 "/usr/homes/chet/src/bash/src/parse.y" -+#line 901 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = make_function_def ((yyvsp[(2) - (6)].word), (yyvsp[(6) - (6)].command), function_dstart, function_bstart); } - break; - - case 98: --#line 899 "/usr/homes/chet/src/bash/src/parse.y" -+#line 904 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = make_function_def ((yyvsp[(2) - (4)].word), (yyvsp[(4) - (4)].command), function_dstart, function_bstart); } - break; - - case 99: --#line 903 "/usr/homes/chet/src/bash/src/parse.y" -+#line 908 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 100: --#line 905 "/usr/homes/chet/src/bash/src/parse.y" -+#line 910 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - COMMAND *tc; - -@@ -2918,7 +2923,7 @@ yyreduce: - break; - - case 101: --#line 936 "/usr/homes/chet/src/bash/src/parse.y" -+#line 941 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_subshell_command ((yyvsp[(2) - (3)].command)); - (yyval.command)->flags |= CMD_WANT_SUBSHELL; -@@ -2926,7 +2931,7 @@ yyreduce: - break; - - case 102: --#line 943 "/usr/homes/chet/src/bash/src/parse.y" -+#line 948 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_coproc_command ("COPROC", (yyvsp[(2) - (2)].command)); - (yyval.command)->flags |= CMD_WANT_SUBSHELL|CMD_COPROC_SUBSHELL; -@@ -2934,7 +2939,7 @@ yyreduce: - break; - - case 103: --#line 948 "/usr/homes/chet/src/bash/src/parse.y" -+#line 953 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - COMMAND *tc; - -@@ -2954,7 +2959,7 @@ yyreduce: - break; - - case 104: --#line 965 "/usr/homes/chet/src/bash/src/parse.y" -+#line 970 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_coproc_command ((yyvsp[(2) - (3)].word)->word, (yyvsp[(3) - (3)].command)); - (yyval.command)->flags |= CMD_WANT_SUBSHELL|CMD_COPROC_SUBSHELL; -@@ -2962,7 +2967,7 @@ yyreduce: - break; - - case 105: --#line 970 "/usr/homes/chet/src/bash/src/parse.y" -+#line 975 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - COMMAND *tc; - -@@ -2982,7 +2987,7 @@ yyreduce: - break; - - case 106: --#line 987 "/usr/homes/chet/src/bash/src/parse.y" -+#line 992 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = make_coproc_command ("COPROC", clean_simple_command ((yyvsp[(2) - (2)].command))); - (yyval.command)->flags |= CMD_WANT_SUBSHELL|CMD_COPROC_SUBSHELL; -@@ -2990,117 +2995,117 @@ yyreduce: - break; - - case 107: --#line 994 "/usr/homes/chet/src/bash/src/parse.y" -+#line 999 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = make_if_command ((yyvsp[(2) - (5)].command), (yyvsp[(4) - (5)].command), (COMMAND *)NULL); } - break; - - case 108: --#line 996 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1001 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = make_if_command ((yyvsp[(2) - (7)].command), (yyvsp[(4) - (7)].command), (yyvsp[(6) - (7)].command)); } - break; - - case 109: --#line 998 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1003 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = make_if_command ((yyvsp[(2) - (6)].command), (yyvsp[(4) - (6)].command), (yyvsp[(5) - (6)].command)); } - break; - - case 110: --#line 1003 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1008 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = make_group_command ((yyvsp[(2) - (3)].command)); } - break; - - case 111: --#line 1007 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1012 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = make_arith_command ((yyvsp[(1) - (1)].word_list)); } - break; - - case 112: --#line 1011 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1016 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = (yyvsp[(2) - (3)].command); } - break; - - case 113: --#line 1015 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1020 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = make_if_command ((yyvsp[(2) - (4)].command), (yyvsp[(4) - (4)].command), (COMMAND *)NULL); } - break; - - case 114: --#line 1017 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1022 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = make_if_command ((yyvsp[(2) - (6)].command), (yyvsp[(4) - (6)].command), (yyvsp[(6) - (6)].command)); } - break; - - case 115: --#line 1019 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1024 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = make_if_command ((yyvsp[(2) - (5)].command), (yyvsp[(4) - (5)].command), (yyvsp[(5) - (5)].command)); } - break; - - case 117: --#line 1024 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1029 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyvsp[(2) - (2)].pattern)->next = (yyvsp[(1) - (2)].pattern); (yyval.pattern) = (yyvsp[(2) - (2)].pattern); } - break; - - case 118: --#line 1028 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1033 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.pattern) = make_pattern_list ((yyvsp[(2) - (4)].word_list), (yyvsp[(4) - (4)].command)); } - break; - - case 119: --#line 1030 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1035 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.pattern) = make_pattern_list ((yyvsp[(2) - (4)].word_list), (COMMAND *)NULL); } - break; - - case 120: --#line 1032 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1037 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.pattern) = make_pattern_list ((yyvsp[(3) - (5)].word_list), (yyvsp[(5) - (5)].command)); } - break; - - case 121: --#line 1034 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1039 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.pattern) = make_pattern_list ((yyvsp[(3) - (5)].word_list), (COMMAND *)NULL); } - break; - - case 122: --#line 1038 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1043 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.pattern) = (yyvsp[(1) - (2)].pattern); } - break; - - case 123: --#line 1040 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1045 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyvsp[(2) - (3)].pattern)->next = (yyvsp[(1) - (3)].pattern); (yyval.pattern) = (yyvsp[(2) - (3)].pattern); } - break; - - case 124: --#line 1042 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1047 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyvsp[(1) - (2)].pattern)->flags |= CASEPAT_FALLTHROUGH; (yyval.pattern) = (yyvsp[(1) - (2)].pattern); } - break; - - case 125: --#line 1044 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1049 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyvsp[(2) - (3)].pattern)->flags |= CASEPAT_FALLTHROUGH; (yyvsp[(2) - (3)].pattern)->next = (yyvsp[(1) - (3)].pattern); (yyval.pattern) = (yyvsp[(2) - (3)].pattern); } - break; - - case 126: --#line 1046 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1051 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyvsp[(1) - (2)].pattern)->flags |= CASEPAT_TESTNEXT; (yyval.pattern) = (yyvsp[(1) - (2)].pattern); } - break; - - case 127: --#line 1048 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1053 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyvsp[(2) - (3)].pattern)->flags |= CASEPAT_TESTNEXT; (yyvsp[(2) - (3)].pattern)->next = (yyvsp[(1) - (3)].pattern); (yyval.pattern) = (yyvsp[(2) - (3)].pattern); } - break; - - case 128: --#line 1052 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1057 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.word_list) = make_word_list ((yyvsp[(1) - (1)].word), (WORD_LIST *)NULL); } - break; - - case 129: --#line 1054 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1059 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.word_list) = make_word_list ((yyvsp[(3) - (3)].word), (yyvsp[(1) - (3)].word_list)); } - break; - - case 130: --#line 1063 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1068 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = (yyvsp[(2) - (2)].command); - if (need_here_doc) -@@ -3109,14 +3114,14 @@ yyreduce: - break; - - case 132: --#line 1072 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1077 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = (yyvsp[(2) - (2)].command); - } - break; - - case 134: --#line 1079 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1084 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - if ((yyvsp[(1) - (3)].command)->type == cm_connection) - (yyval.command) = connect_async_list ((yyvsp[(1) - (3)].command), (COMMAND *)NULL, '&'); -@@ -3126,17 +3131,17 @@ yyreduce: - break; - - case 136: --#line 1090 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1095 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), AND_AND); } - break; - - case 137: --#line 1092 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1097 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), OR_OR); } - break; - - case 138: --#line 1094 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1099 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - if ((yyvsp[(1) - (4)].command)->type == cm_connection) - (yyval.command) = connect_async_list ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), '&'); -@@ -3146,37 +3151,37 @@ yyreduce: - break; - - case 139: --#line 1101 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1106 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), ';'); } - break; - - case 140: --#line 1103 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1108 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), ';'); } - break; - - case 141: --#line 1105 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1110 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 144: --#line 1113 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1118 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.number) = '\n'; } - break; - - case 145: --#line 1115 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1120 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.number) = ';'; } - break; - - case 146: --#line 1117 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1122 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.number) = yacc_EOF; } - break; - - case 149: --#line 1131 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1136 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = (yyvsp[(1) - (1)].command); - if (need_here_doc) -@@ -3192,7 +3197,7 @@ yyreduce: - break; - - case 150: --#line 1144 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1149 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - if ((yyvsp[(1) - (2)].command)->type == cm_connection) - (yyval.command) = connect_async_list ((yyvsp[(1) - (2)].command), (COMMAND *)NULL, '&'); -@@ -3211,7 +3216,7 @@ yyreduce: - break; - - case 151: --#line 1160 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1165 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - (yyval.command) = (yyvsp[(1) - (2)].command); - if (need_here_doc) -@@ -3227,17 +3232,17 @@ yyreduce: - break; - - case 152: --#line 1175 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1180 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), AND_AND); } - break; - - case 153: --#line 1177 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1182 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), OR_OR); } - break; - - case 154: --#line 1179 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1184 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - if ((yyvsp[(1) - (3)].command)->type == cm_connection) - (yyval.command) = connect_async_list ((yyvsp[(1) - (3)].command), (yyvsp[(3) - (3)].command), '&'); -@@ -3247,22 +3252,22 @@ yyreduce: - break; - - case 155: --#line 1186 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1191 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (3)].command), (yyvsp[(3) - (3)].command), ';'); } - break; - - case 156: --#line 1189 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1194 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 157: --#line 1193 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1198 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 158: --#line 1195 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1200 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - if ((yyvsp[(2) - (2)].command)) - (yyvsp[(2) - (2)].command)->flags ^= CMD_INVERT_RETURN; /* toggle */ -@@ -3271,7 +3276,7 @@ yyreduce: - break; - - case 159: --#line 1201 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1206 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - if ((yyvsp[(2) - (2)].command)) - (yyvsp[(2) - (2)].command)->flags |= (yyvsp[(1) - (2)].number); -@@ -3280,7 +3285,7 @@ yyreduce: - break; - - case 160: --#line 1207 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1212 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - ELEMENT x; - -@@ -3300,7 +3305,7 @@ yyreduce: - break; - - case 161: --#line 1224 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1229 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - ELEMENT x; - -@@ -3321,12 +3326,12 @@ yyreduce: - break; - - case 162: --#line 1244 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1249 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), '|'); } - break; - - case 163: --#line 1246 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1251 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { - /* Make cmd1 |& cmd2 equivalent to cmd1 2>&1 | cmd2 */ - COMMAND *tc; -@@ -3352,28 +3357,28 @@ yyreduce: - break; - - case 164: --#line 1269 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1274 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 165: --#line 1273 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1278 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.number) = CMD_TIME_PIPELINE; } - break; - - case 166: --#line 1275 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1280 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.number) = CMD_TIME_PIPELINE|CMD_TIME_POSIX; } - break; - - case 167: --#line 1277 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1282 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - { (yyval.number) = CMD_TIME_PIPELINE|CMD_TIME_POSIX; } - break; - - - /* Line 1267 of yacc.c. */ --#line 3377 "y.tab.c" -+#line 3382 "y.tab.c" - default: break; - } - YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); -@@ -3587,7 +3592,7 @@ yyreturn: - } - - --#line 1279 "/usr/homes/chet/src/bash/src/parse.y" -+#line 1284 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" - - - /* Initial size to allocate for tokens, and the -@@ -4948,6 +4953,21 @@ yylex () - which allow ESAC to be the next one read. */ - static int esacs_needed_count; - -+static void -+push_heredoc (r) -+ REDIRECT *r; -+{ -+ if (need_here_doc >= HEREDOC_MAX) -+ { -+ last_command_exit_value = EX_BADUSAGE; -+ need_here_doc = 0; -+ report_syntax_error (_("maximum here-document count exceeded")); -+ reset_parser (); -+ exit_shell (last_command_exit_value); -+ } -+ redir_stack[need_here_doc++] = r; -+} -+ - void - gather_here_documents () - { -@@ -8541,3 +8561,4 @@ set_line_mbstate () - } - } - #endif /* HANDLE_MULTIBYTE */ -+ ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 27 -+#define PATCHLEVEL 28 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/129-upstream-bash43-029.patch b/trunk/package/feeds/packages/bash/patches/129-upstream-bash43-029.patch deleted file mode 100644 index be824034..00000000 --- a/trunk/package/feeds/packages/bash/patches/129-upstream-bash43-029.patch +++ /dev/null @@ -1,50 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-029 - -Bug-Reported-by: Michal Zalewski -Bug-Reference-ID: -Bug-Reference-URL: - -Bug-Description: - -When bash is parsing a function definition that contains a here-document -delimited by end-of-file (or end-of-string), it leaves the closing delimiter -uninitialized. This can result in an invalid memory access when the parsed -function is later copied. - -Patch (apply with `patch -p0'): - ---- a/make_cmd.c -+++ b/make_cmd.c -@@ -692,6 +692,7 @@ make_redirection (source, instruction, d - /* First do the common cases. */ - temp->redirector = source; - temp->redirectee = dest_and_filename; -+ temp->here_doc_eof = 0; - temp->instruction = instruction; - temp->flags = 0; - temp->rflags = flags; ---- a/copy_cmd.c -+++ b/copy_cmd.c -@@ -126,7 +126,7 @@ copy_redirect (redirect) - { - case r_reading_until: - case r_deblank_reading_until: -- new_redirect->here_doc_eof = savestring (redirect->here_doc_eof); -+ new_redirect->here_doc_eof = redirect->here_doc_eof ? savestring (redirect->here_doc_eof) : 0; - /*FALLTHROUGH*/ - case r_reading_string: - case r_appending_to: ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 28 -+#define PATCHLEVEL 29 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/130-upstream-bash43-030.patch b/trunk/package/feeds/packages/bash/patches/130-upstream-bash43-030.patch deleted file mode 100644 index 0eadc5c0..00000000 --- a/trunk/package/feeds/packages/bash/patches/130-upstream-bash43-030.patch +++ /dev/null @@ -1,1396 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-030 - -Bug-Reported-by: Michal Zalewski -Bug-Reference-ID: -Bug-Reference-URL: - -Bug-Description: - -A combination of nested command substitutions and function importing from -the environment can cause bash to execute code appearing in the environment -variable value following the function definition. - -Patch (apply with `patch -p0'): - ---- a/builtins/evalstring.c -+++ b/builtins/evalstring.c -@@ -308,12 +308,25 @@ parse_and_execute (string, from_file, fl - { - struct fd_bitmap *bitmap; - -- if ((flags & SEVAL_FUNCDEF) && command->type != cm_function_def) -+ if (flags & SEVAL_FUNCDEF) - { -- internal_warning ("%s: ignoring function definition attempt", from_file); -- should_jump_to_top_level = 0; -- last_result = last_command_exit_value = EX_BADUSAGE; -- break; -+ char *x; -+ -+ /* If the command parses to something other than a straight -+ function definition, or if we have not consumed the entire -+ string, or if the parser has transformed the function -+ name (as parsing will if it begins or ends with shell -+ whitespace, for example), reject the attempt */ -+ if (command->type != cm_function_def || -+ ((x = parser_remaining_input ()) && *x) || -+ (STREQ (from_file, command->value.Function_def->name->word) == 0)) -+ { -+ internal_warning (_("%s: ignoring function definition attempt"), from_file); -+ should_jump_to_top_level = 0; -+ last_result = last_command_exit_value = EX_BADUSAGE; -+ reset_parser (); -+ break; -+ } - } - - bitmap = new_fd_bitmap (FD_BITMAP_SIZE); -@@ -378,7 +391,10 @@ parse_and_execute (string, from_file, fl - discard_unwind_frame ("pe_dispose"); - - if (flags & SEVAL_ONECMD) -- break; -+ { -+ reset_parser (); -+ break; -+ } - } - } - else ---- a/parse.y -+++ b/parse.y -@@ -2538,6 +2538,16 @@ shell_ungetc (c) - eol_ungetc_lookahead = c; - } - -+char * -+parser_remaining_input () -+{ -+ if (shell_input_line == 0) -+ return 0; -+ if (shell_input_line_index < 0 || shell_input_line_index >= shell_input_line_len) -+ return '\0'; /* XXX */ -+ return (shell_input_line + shell_input_line_index); -+} -+ - #ifdef INCLUDE_UNUSED - /* Back the input pointer up by one, effectively `ungetting' a character. */ - static void -@@ -4027,8 +4037,8 @@ xparse_dolparen (base, string, indp, fla - reset_parser (); - /* reset_parser clears shell_input_line and associated variables */ - restore_input_line_state (&ls); -- if (interactive) -- token_to_read = 0; -+ -+ token_to_read = 0; - - /* Need to find how many characters parse_and_execute consumed, update - *indp, if flags != 0, copy the portion of the string parsed into RET ---- a/shell.h -+++ b/shell.h -@@ -180,6 +180,8 @@ typedef struct _sh_input_line_state_t { - } sh_input_line_state_t; - - /* Let's try declaring these here. */ -+extern char *parser_remaining_input __P((void)); -+ - extern sh_parser_state_t *save_parser_state __P((sh_parser_state_t *)); - extern void restore_parser_state __P((sh_parser_state_t *)); - ---- a/y.tab.c -+++ b/y.tab.c -@@ -168,7 +168,7 @@ - - - /* Copy the first part of user declarations. */ --#line 21 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 21 "/usr/src/local/bash/bash-4.3-patched/parse.y" - - #include "config.h" - -@@ -497,7 +497,7 @@ static REDIRECTEE redir; - - #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED - typedef union YYSTYPE --#line 329 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 329 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - WORD_DESC *word; /* the word that we read. */ - int number; /* the number that we read. */ -@@ -2098,7 +2098,7 @@ yyreduce: - switch (yyn) - { - case 2: --#line 383 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 383 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - /* Case of regular command. Discard the error - safety net,and return the command just parsed. */ -@@ -2112,7 +2112,7 @@ yyreduce: - break; - - case 3: --#line 394 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 394 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - /* Case of regular command, but not a very - interesting one. Return a NULL command. */ -@@ -2124,7 +2124,7 @@ yyreduce: - break; - - case 4: --#line 403 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 403 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - /* Error during parsing. Return NULL command. */ - global_command = (COMMAND *)NULL; -@@ -2142,7 +2142,7 @@ yyreduce: - break; - - case 5: --#line 418 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 418 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - /* Case of EOF seen by itself. Do ignoreeof or - not. */ -@@ -2153,17 +2153,17 @@ yyreduce: - break; - - case 6: --#line 428 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 428 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.word_list) = make_word_list ((yyvsp[(1) - (1)].word), (WORD_LIST *)NULL); } - break; - - case 7: --#line 430 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 430 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.word_list) = make_word_list ((yyvsp[(2) - (2)].word), (yyvsp[(1) - (2)].word_list)); } - break; - - case 8: --#line 434 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 434 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = 1; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2172,7 +2172,7 @@ yyreduce: - break; - - case 9: --#line 440 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 440 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = 0; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2181,7 +2181,7 @@ yyreduce: - break; - - case 10: --#line 446 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 446 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2190,7 +2190,7 @@ yyreduce: - break; - - case 11: --#line 452 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 452 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2199,7 +2199,7 @@ yyreduce: - break; - - case 12: --#line 458 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 458 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2208,7 +2208,7 @@ yyreduce: - break; - - case 13: --#line 464 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 464 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2217,7 +2217,7 @@ yyreduce: - break; - - case 14: --#line 470 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 470 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = 1; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2226,7 +2226,7 @@ yyreduce: - break; - - case 15: --#line 476 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 476 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2235,7 +2235,7 @@ yyreduce: - break; - - case 16: --#line 482 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 482 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2244,7 +2244,7 @@ yyreduce: - break; - - case 17: --#line 488 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 488 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = 1; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2253,7 +2253,7 @@ yyreduce: - break; - - case 18: --#line 494 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 494 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2262,7 +2262,7 @@ yyreduce: - break; - - case 19: --#line 500 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 500 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2271,7 +2271,7 @@ yyreduce: - break; - - case 20: --#line 506 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 506 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = 0; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2280,7 +2280,7 @@ yyreduce: - break; - - case 21: --#line 512 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 512 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2289,7 +2289,7 @@ yyreduce: - break; - - case 22: --#line 518 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 518 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2298,7 +2298,7 @@ yyreduce: - break; - - case 23: --#line 524 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 524 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = 0; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2308,7 +2308,7 @@ yyreduce: - break; - - case 24: --#line 531 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 531 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2318,7 +2318,7 @@ yyreduce: - break; - - case 25: --#line 538 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 538 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2328,7 +2328,7 @@ yyreduce: - break; - - case 26: --#line 545 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 545 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = 0; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2338,7 +2338,7 @@ yyreduce: - break; - - case 27: --#line 552 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 552 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2348,7 +2348,7 @@ yyreduce: - break; - - case 28: --#line 559 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 559 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2358,7 +2358,7 @@ yyreduce: - break; - - case 29: --#line 566 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 566 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = 0; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2367,7 +2367,7 @@ yyreduce: - break; - - case 30: --#line 572 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 572 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2376,7 +2376,7 @@ yyreduce: - break; - - case 31: --#line 578 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 578 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2385,7 +2385,7 @@ yyreduce: - break; - - case 32: --#line 584 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 584 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = 0; - redir.dest = (yyvsp[(2) - (2)].number); -@@ -2394,7 +2394,7 @@ yyreduce: - break; - - case 33: --#line 590 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 590 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.dest = (yyvsp[(3) - (3)].number); -@@ -2403,7 +2403,7 @@ yyreduce: - break; - - case 34: --#line 596 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 596 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.dest = (yyvsp[(3) - (3)].number); -@@ -2412,7 +2412,7 @@ yyreduce: - break; - - case 35: --#line 602 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 602 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = 1; - redir.dest = (yyvsp[(2) - (2)].number); -@@ -2421,7 +2421,7 @@ yyreduce: - break; - - case 36: --#line 608 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 608 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.dest = (yyvsp[(3) - (3)].number); -@@ -2430,7 +2430,7 @@ yyreduce: - break; - - case 37: --#line 614 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 614 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.dest = (yyvsp[(3) - (3)].number); -@@ -2439,7 +2439,7 @@ yyreduce: - break; - - case 38: --#line 620 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 620 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = 0; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2448,7 +2448,7 @@ yyreduce: - break; - - case 39: --#line 626 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 626 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2457,7 +2457,7 @@ yyreduce: - break; - - case 40: --#line 632 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 632 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2466,7 +2466,7 @@ yyreduce: - break; - - case 41: --#line 638 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 638 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = 1; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2475,7 +2475,7 @@ yyreduce: - break; - - case 42: --#line 644 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 644 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2484,7 +2484,7 @@ yyreduce: - break; - - case 43: --#line 650 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 650 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); -@@ -2493,7 +2493,7 @@ yyreduce: - break; - - case 44: --#line 656 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 656 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = 1; - redir.dest = 0; -@@ -2502,7 +2502,7 @@ yyreduce: - break; - - case 45: --#line 662 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 662 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.dest = 0; -@@ -2511,7 +2511,7 @@ yyreduce: - break; - - case 46: --#line 668 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 668 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.dest = 0; -@@ -2520,7 +2520,7 @@ yyreduce: - break; - - case 47: --#line 674 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 674 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = 0; - redir.dest = 0; -@@ -2529,7 +2529,7 @@ yyreduce: - break; - - case 48: --#line 680 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 680 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = (yyvsp[(1) - (3)].number); - redir.dest = 0; -@@ -2538,7 +2538,7 @@ yyreduce: - break; - - case 49: --#line 686 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 686 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.filename = (yyvsp[(1) - (3)].word); - redir.dest = 0; -@@ -2547,7 +2547,7 @@ yyreduce: - break; - - case 50: --#line 692 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 692 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = 1; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2556,7 +2556,7 @@ yyreduce: - break; - - case 51: --#line 698 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 698 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - source.dest = 1; - redir.filename = (yyvsp[(2) - (2)].word); -@@ -2565,29 +2565,29 @@ yyreduce: - break; - - case 52: --#line 706 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 706 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.element).word = (yyvsp[(1) - (1)].word); (yyval.element).redirect = 0; } - break; - - case 53: --#line 708 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 708 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.element).word = (yyvsp[(1) - (1)].word); (yyval.element).redirect = 0; } - break; - - case 54: --#line 710 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 710 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.element).redirect = (yyvsp[(1) - (1)].redirect); (yyval.element).word = 0; } - break; - - case 55: --#line 714 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 714 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.redirect) = (yyvsp[(1) - (1)].redirect); - } - break; - - case 56: --#line 718 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 718 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - register REDIRECT *t; - -@@ -2599,27 +2599,27 @@ yyreduce: - break; - - case 57: --#line 729 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 729 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_simple_command ((yyvsp[(1) - (1)].element), (COMMAND *)NULL); } - break; - - case 58: --#line 731 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 731 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_simple_command ((yyvsp[(2) - (2)].element), (yyvsp[(1) - (2)].command)); } - break; - - case 59: --#line 735 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 735 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = clean_simple_command ((yyvsp[(1) - (1)].command)); } - break; - - case 60: --#line 737 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 737 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 61: --#line 739 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 739 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - COMMAND *tc; - -@@ -2638,72 +2638,72 @@ yyreduce: - break; - - case 62: --#line 755 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 755 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 63: --#line 757 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 757 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 64: --#line 761 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 761 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 65: --#line 763 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 763 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 66: --#line 765 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 765 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_while_command ((yyvsp[(2) - (5)].command), (yyvsp[(4) - (5)].command)); } - break; - - case 67: --#line 767 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 767 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_until_command ((yyvsp[(2) - (5)].command), (yyvsp[(4) - (5)].command)); } - break; - - case 68: --#line 769 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 769 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 69: --#line 771 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 771 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 70: --#line 773 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 773 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 71: --#line 775 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 775 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 72: --#line 777 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 777 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 73: --#line 779 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 779 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 74: --#line 781 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 781 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 75: --#line 785 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 785 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_for_command ((yyvsp[(2) - (6)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(5) - (6)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2711,7 +2711,7 @@ yyreduce: - break; - - case 76: --#line 790 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 790 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_for_command ((yyvsp[(2) - (6)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(5) - (6)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2719,7 +2719,7 @@ yyreduce: - break; - - case 77: --#line 795 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 795 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_for_command ((yyvsp[(2) - (7)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(6) - (7)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2727,7 +2727,7 @@ yyreduce: - break; - - case 78: --#line 800 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 800 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_for_command ((yyvsp[(2) - (7)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(6) - (7)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2735,7 +2735,7 @@ yyreduce: - break; - - case 79: --#line 805 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 805 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_for_command ((yyvsp[(2) - (10)].word), REVERSE_LIST ((yyvsp[(5) - (10)].word_list), WORD_LIST *), (yyvsp[(9) - (10)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2743,7 +2743,7 @@ yyreduce: - break; - - case 80: --#line 810 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 810 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_for_command ((yyvsp[(2) - (10)].word), REVERSE_LIST ((yyvsp[(5) - (10)].word_list), WORD_LIST *), (yyvsp[(9) - (10)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2751,7 +2751,7 @@ yyreduce: - break; - - case 81: --#line 815 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 815 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_for_command ((yyvsp[(2) - (9)].word), (WORD_LIST *)NULL, (yyvsp[(8) - (9)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2759,7 +2759,7 @@ yyreduce: - break; - - case 82: --#line 820 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 820 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_for_command ((yyvsp[(2) - (9)].word), (WORD_LIST *)NULL, (yyvsp[(8) - (9)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2767,7 +2767,7 @@ yyreduce: - break; - - case 83: --#line 827 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 827 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_arith_for_command ((yyvsp[(2) - (7)].word_list), (yyvsp[(6) - (7)].command), arith_for_lineno); - if (word_top > 0) word_top--; -@@ -2775,7 +2775,7 @@ yyreduce: - break; - - case 84: --#line 832 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 832 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_arith_for_command ((yyvsp[(2) - (7)].word_list), (yyvsp[(6) - (7)].command), arith_for_lineno); - if (word_top > 0) word_top--; -@@ -2783,7 +2783,7 @@ yyreduce: - break; - - case 85: --#line 837 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 837 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_arith_for_command ((yyvsp[(2) - (5)].word_list), (yyvsp[(4) - (5)].command), arith_for_lineno); - if (word_top > 0) word_top--; -@@ -2791,7 +2791,7 @@ yyreduce: - break; - - case 86: --#line 842 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 842 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_arith_for_command ((yyvsp[(2) - (5)].word_list), (yyvsp[(4) - (5)].command), arith_for_lineno); - if (word_top > 0) word_top--; -@@ -2799,7 +2799,7 @@ yyreduce: - break; - - case 87: --#line 849 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 849 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_select_command ((yyvsp[(2) - (6)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(5) - (6)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2807,7 +2807,7 @@ yyreduce: - break; - - case 88: --#line 854 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 854 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_select_command ((yyvsp[(2) - (6)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(5) - (6)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2815,7 +2815,7 @@ yyreduce: - break; - - case 89: --#line 859 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 859 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_select_command ((yyvsp[(2) - (7)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(6) - (7)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2823,7 +2823,7 @@ yyreduce: - break; - - case 90: --#line 864 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 864 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_select_command ((yyvsp[(2) - (7)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(6) - (7)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2831,7 +2831,7 @@ yyreduce: - break; - - case 91: --#line 869 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 869 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_select_command ((yyvsp[(2) - (10)].word), REVERSE_LIST ((yyvsp[(5) - (10)].word_list), WORD_LIST *), (yyvsp[(9) - (10)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2839,7 +2839,7 @@ yyreduce: - break; - - case 92: --#line 874 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 874 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_select_command ((yyvsp[(2) - (10)].word), REVERSE_LIST ((yyvsp[(5) - (10)].word_list), WORD_LIST *), (yyvsp[(9) - (10)].command), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2847,7 +2847,7 @@ yyreduce: - break; - - case 93: --#line 881 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 881 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_case_command ((yyvsp[(2) - (6)].word), (PATTERN_LIST *)NULL, word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2855,7 +2855,7 @@ yyreduce: - break; - - case 94: --#line 886 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 886 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_case_command ((yyvsp[(2) - (7)].word), (yyvsp[(5) - (7)].pattern), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2863,7 +2863,7 @@ yyreduce: - break; - - case 95: --#line 891 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 891 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_case_command ((yyvsp[(2) - (6)].word), (yyvsp[(5) - (6)].pattern), word_lineno[word_top]); - if (word_top > 0) word_top--; -@@ -2871,27 +2871,27 @@ yyreduce: - break; - - case 96: --#line 898 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 898 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_function_def ((yyvsp[(1) - (5)].word), (yyvsp[(5) - (5)].command), function_dstart, function_bstart); } - break; - - case 97: --#line 901 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 901 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_function_def ((yyvsp[(2) - (6)].word), (yyvsp[(6) - (6)].command), function_dstart, function_bstart); } - break; - - case 98: --#line 904 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 904 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_function_def ((yyvsp[(2) - (4)].word), (yyvsp[(4) - (4)].command), function_dstart, function_bstart); } - break; - - case 99: --#line 908 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 908 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 100: --#line 910 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 910 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - COMMAND *tc; - -@@ -2923,7 +2923,7 @@ yyreduce: - break; - - case 101: --#line 941 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 941 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_subshell_command ((yyvsp[(2) - (3)].command)); - (yyval.command)->flags |= CMD_WANT_SUBSHELL; -@@ -2931,7 +2931,7 @@ yyreduce: - break; - - case 102: --#line 948 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 948 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_coproc_command ("COPROC", (yyvsp[(2) - (2)].command)); - (yyval.command)->flags |= CMD_WANT_SUBSHELL|CMD_COPROC_SUBSHELL; -@@ -2939,7 +2939,7 @@ yyreduce: - break; - - case 103: --#line 953 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 953 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - COMMAND *tc; - -@@ -2959,7 +2959,7 @@ yyreduce: - break; - - case 104: --#line 970 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 970 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_coproc_command ((yyvsp[(2) - (3)].word)->word, (yyvsp[(3) - (3)].command)); - (yyval.command)->flags |= CMD_WANT_SUBSHELL|CMD_COPROC_SUBSHELL; -@@ -2967,7 +2967,7 @@ yyreduce: - break; - - case 105: --#line 975 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 975 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - COMMAND *tc; - -@@ -2987,7 +2987,7 @@ yyreduce: - break; - - case 106: --#line 992 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 992 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = make_coproc_command ("COPROC", clean_simple_command ((yyvsp[(2) - (2)].command))); - (yyval.command)->flags |= CMD_WANT_SUBSHELL|CMD_COPROC_SUBSHELL; -@@ -2995,117 +2995,117 @@ yyreduce: - break; - - case 107: --#line 999 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 999 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_if_command ((yyvsp[(2) - (5)].command), (yyvsp[(4) - (5)].command), (COMMAND *)NULL); } - break; - - case 108: --#line 1001 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1001 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_if_command ((yyvsp[(2) - (7)].command), (yyvsp[(4) - (7)].command), (yyvsp[(6) - (7)].command)); } - break; - - case 109: --#line 1003 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1003 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_if_command ((yyvsp[(2) - (6)].command), (yyvsp[(4) - (6)].command), (yyvsp[(5) - (6)].command)); } - break; - - case 110: --#line 1008 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1008 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_group_command ((yyvsp[(2) - (3)].command)); } - break; - - case 111: --#line 1012 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1012 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_arith_command ((yyvsp[(1) - (1)].word_list)); } - break; - - case 112: --#line 1016 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1016 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(2) - (3)].command); } - break; - - case 113: --#line 1020 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1020 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_if_command ((yyvsp[(2) - (4)].command), (yyvsp[(4) - (4)].command), (COMMAND *)NULL); } - break; - - case 114: --#line 1022 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1022 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_if_command ((yyvsp[(2) - (6)].command), (yyvsp[(4) - (6)].command), (yyvsp[(6) - (6)].command)); } - break; - - case 115: --#line 1024 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1024 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_if_command ((yyvsp[(2) - (5)].command), (yyvsp[(4) - (5)].command), (yyvsp[(5) - (5)].command)); } - break; - - case 117: --#line 1029 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1029 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyvsp[(2) - (2)].pattern)->next = (yyvsp[(1) - (2)].pattern); (yyval.pattern) = (yyvsp[(2) - (2)].pattern); } - break; - - case 118: --#line 1033 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1033 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.pattern) = make_pattern_list ((yyvsp[(2) - (4)].word_list), (yyvsp[(4) - (4)].command)); } - break; - - case 119: --#line 1035 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1035 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.pattern) = make_pattern_list ((yyvsp[(2) - (4)].word_list), (COMMAND *)NULL); } - break; - - case 120: --#line 1037 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1037 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.pattern) = make_pattern_list ((yyvsp[(3) - (5)].word_list), (yyvsp[(5) - (5)].command)); } - break; - - case 121: --#line 1039 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1039 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.pattern) = make_pattern_list ((yyvsp[(3) - (5)].word_list), (COMMAND *)NULL); } - break; - - case 122: --#line 1043 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1043 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.pattern) = (yyvsp[(1) - (2)].pattern); } - break; - - case 123: --#line 1045 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1045 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyvsp[(2) - (3)].pattern)->next = (yyvsp[(1) - (3)].pattern); (yyval.pattern) = (yyvsp[(2) - (3)].pattern); } - break; - - case 124: --#line 1047 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1047 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyvsp[(1) - (2)].pattern)->flags |= CASEPAT_FALLTHROUGH; (yyval.pattern) = (yyvsp[(1) - (2)].pattern); } - break; - - case 125: --#line 1049 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1049 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyvsp[(2) - (3)].pattern)->flags |= CASEPAT_FALLTHROUGH; (yyvsp[(2) - (3)].pattern)->next = (yyvsp[(1) - (3)].pattern); (yyval.pattern) = (yyvsp[(2) - (3)].pattern); } - break; - - case 126: --#line 1051 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1051 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyvsp[(1) - (2)].pattern)->flags |= CASEPAT_TESTNEXT; (yyval.pattern) = (yyvsp[(1) - (2)].pattern); } - break; - - case 127: --#line 1053 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1053 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyvsp[(2) - (3)].pattern)->flags |= CASEPAT_TESTNEXT; (yyvsp[(2) - (3)].pattern)->next = (yyvsp[(1) - (3)].pattern); (yyval.pattern) = (yyvsp[(2) - (3)].pattern); } - break; - - case 128: --#line 1057 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1057 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.word_list) = make_word_list ((yyvsp[(1) - (1)].word), (WORD_LIST *)NULL); } - break; - - case 129: --#line 1059 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1059 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.word_list) = make_word_list ((yyvsp[(3) - (3)].word), (yyvsp[(1) - (3)].word_list)); } - break; - - case 130: --#line 1068 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1068 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = (yyvsp[(2) - (2)].command); - if (need_here_doc) -@@ -3114,14 +3114,14 @@ yyreduce: - break; - - case 132: --#line 1077 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1077 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = (yyvsp[(2) - (2)].command); - } - break; - - case 134: --#line 1084 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1084 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - if ((yyvsp[(1) - (3)].command)->type == cm_connection) - (yyval.command) = connect_async_list ((yyvsp[(1) - (3)].command), (COMMAND *)NULL, '&'); -@@ -3131,17 +3131,17 @@ yyreduce: - break; - - case 136: --#line 1095 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1095 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), AND_AND); } - break; - - case 137: --#line 1097 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1097 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), OR_OR); } - break; - - case 138: --#line 1099 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1099 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - if ((yyvsp[(1) - (4)].command)->type == cm_connection) - (yyval.command) = connect_async_list ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), '&'); -@@ -3151,37 +3151,37 @@ yyreduce: - break; - - case 139: --#line 1106 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1106 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), ';'); } - break; - - case 140: --#line 1108 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1108 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), ';'); } - break; - - case 141: --#line 1110 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1110 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 144: --#line 1118 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1118 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.number) = '\n'; } - break; - - case 145: --#line 1120 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1120 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.number) = ';'; } - break; - - case 146: --#line 1122 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1122 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.number) = yacc_EOF; } - break; - - case 149: --#line 1136 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1136 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = (yyvsp[(1) - (1)].command); - if (need_here_doc) -@@ -3197,7 +3197,7 @@ yyreduce: - break; - - case 150: --#line 1149 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1149 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - if ((yyvsp[(1) - (2)].command)->type == cm_connection) - (yyval.command) = connect_async_list ((yyvsp[(1) - (2)].command), (COMMAND *)NULL, '&'); -@@ -3216,7 +3216,7 @@ yyreduce: - break; - - case 151: --#line 1165 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1165 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - (yyval.command) = (yyvsp[(1) - (2)].command); - if (need_here_doc) -@@ -3232,17 +3232,17 @@ yyreduce: - break; - - case 152: --#line 1180 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1180 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), AND_AND); } - break; - - case 153: --#line 1182 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1182 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), OR_OR); } - break; - - case 154: --#line 1184 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1184 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - if ((yyvsp[(1) - (3)].command)->type == cm_connection) - (yyval.command) = connect_async_list ((yyvsp[(1) - (3)].command), (yyvsp[(3) - (3)].command), '&'); -@@ -3252,22 +3252,22 @@ yyreduce: - break; - - case 155: --#line 1191 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1191 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (3)].command), (yyvsp[(3) - (3)].command), ';'); } - break; - - case 156: --#line 1194 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1194 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 157: --#line 1198 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1198 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 158: --#line 1200 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1200 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - if ((yyvsp[(2) - (2)].command)) - (yyvsp[(2) - (2)].command)->flags ^= CMD_INVERT_RETURN; /* toggle */ -@@ -3276,7 +3276,7 @@ yyreduce: - break; - - case 159: --#line 1206 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1206 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - if ((yyvsp[(2) - (2)].command)) - (yyvsp[(2) - (2)].command)->flags |= (yyvsp[(1) - (2)].number); -@@ -3285,7 +3285,7 @@ yyreduce: - break; - - case 160: --#line 1212 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1212 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - ELEMENT x; - -@@ -3305,7 +3305,7 @@ yyreduce: - break; - - case 161: --#line 1229 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1229 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - ELEMENT x; - -@@ -3326,12 +3326,12 @@ yyreduce: - break; - - case 162: --#line 1249 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1249 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), '|'); } - break; - - case 163: --#line 1251 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1251 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { - /* Make cmd1 |& cmd2 equivalent to cmd1 2>&1 | cmd2 */ - COMMAND *tc; -@@ -3357,22 +3357,22 @@ yyreduce: - break; - - case 164: --#line 1274 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1274 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } - break; - - case 165: --#line 1278 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1278 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.number) = CMD_TIME_PIPELINE; } - break; - - case 166: --#line 1280 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1280 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.number) = CMD_TIME_PIPELINE|CMD_TIME_POSIX; } - break; - - case 167: --#line 1282 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1282 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.number) = CMD_TIME_PIPELINE|CMD_TIME_POSIX; } - break; - -@@ -3592,7 +3592,7 @@ yyreturn: - } - - --#line 1284 "/usr/src/local/chet/src/bash/bash-4.3.28/parse.y" -+#line 1284 "/usr/src/local/bash/bash-4.3-patched/parse.y" - - - /* Initial size to allocate for tokens, and the -@@ -4850,6 +4850,16 @@ shell_ungetc (c) - eol_ungetc_lookahead = c; - } - -+char * -+parser_remaining_input () -+{ -+ if (shell_input_line == 0) -+ return 0; -+ if (shell_input_line_index < 0 || shell_input_line_index >= shell_input_line_len) -+ return '\0'; /* XXX */ -+ return (shell_input_line + shell_input_line_index); -+} -+ - #ifdef INCLUDE_UNUSED - /* Back the input pointer up by one, effectively `ungetting' a character. */ - static void -@@ -6339,8 +6349,8 @@ xparse_dolparen (base, string, indp, fla - reset_parser (); - /* reset_parser clears shell_input_line and associated variables */ - restore_input_line_state (&ls); -- if (interactive) -- token_to_read = 0; -+ -+ token_to_read = 0; - - /* Need to find how many characters parse_and_execute consumed, update - *indp, if flags != 0, copy the portion of the string parsed into RET ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 29 -+#define PATCHLEVEL 30 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/131-upstream-bash43-031.patch b/trunk/package/feeds/packages/bash/patches/131-upstream-bash43-031.patch deleted file mode 100644 index a22cb071..00000000 --- a/trunk/package/feeds/packages/bash/patches/131-upstream-bash43-031.patch +++ /dev/null @@ -1,96 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-031 - -Bug-Reported-by: lolilolicon -Bug-Reference-ID: -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-08/msg00139.html - -Bug-Description: - -The new nameref assignment functionality introduced in bash-4.3 did not perform -enough validation on the variable value and would create variables with -invalid names. - -Patch (apply with `patch -p0'): - ---- a/subst.h -+++ b/subst.h -@@ -47,6 +47,7 @@ - #define ASS_MKASSOC 0x0004 - #define ASS_MKGLOBAL 0x0008 /* force global assignment */ - #define ASS_NAMEREF 0x0010 /* assigning to nameref variable */ -+#define ASS_FROMREF 0x0020 /* assigning from value of nameref variable */ - - /* Flags for the string extraction functions. */ - #define SX_NOALLOC 0x0001 /* just skip; don't return substring */ ---- a/variables.c -+++ b/variables.c -@@ -2516,10 +2516,27 @@ bind_variable_internal (name, value, tab - HASH_TABLE *table; - int hflags, aflags; - { -- char *newval; -+ char *newname, *newval; - SHELL_VAR *entry; -+#if defined (ARRAY_VARS) -+ arrayind_t ind; -+ char *subp; -+ int sublen; -+#endif - -+ newname = 0; -+#if defined (ARRAY_VARS) -+ if ((aflags & ASS_FROMREF) && (hflags & HASH_NOSRCH) == 0 && valid_array_reference (name)) -+ { -+ newname = array_variable_name (name, &subp, &sublen); -+ if (newname == 0) -+ return (SHELL_VAR *)NULL; /* XXX */ -+ entry = hash_lookup (newname, table); -+ } -+ else -+#endif - entry = (hflags & HASH_NOSRCH) ? (SHELL_VAR *)NULL : hash_lookup (name, table); -+ - /* Follow the nameref chain here if this is the global variables table */ - if (entry && nameref_p (entry) && (invisible_p (entry) == 0) && table == global_variables->table) - { -@@ -2550,6 +2567,16 @@ bind_variable_internal (name, value, tab - var_setvalue (entry, make_variable_value (entry, value, 0)); - } - } -+#if defined (ARRAY_VARS) -+ else if (entry == 0 && newname) -+ { -+ entry = make_new_array_variable (newname); /* indexed array by default */ -+ if (entry == 0) -+ return entry; -+ ind = array_expand_index (name, subp, sublen); -+ bind_array_element (entry, ind, value, aflags); -+ } -+#endif - else if (entry == 0) - { - entry = make_new_variable (name, table); -@@ -2670,7 +2697,8 @@ bind_variable (name, value, flags) - normal. */ - if (nameref_cell (nv) == 0) - return (bind_variable_internal (nv->name, value, nvc->table, 0, flags)); -- return (bind_variable_internal (nameref_cell (nv), value, nvc->table, 0, flags)); -+ /* XXX - bug here with ref=array[index] */ -+ return (bind_variable_internal (nameref_cell (nv), value, nvc->table, 0, flags|ASS_FROMREF)); - } - else - v = nv; ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 30 -+#define PATCHLEVEL 31 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/132-upstream-bash43-032.patch b/trunk/package/feeds/packages/bash/patches/132-upstream-bash43-032.patch deleted file mode 100644 index 96a86c98..00000000 --- a/trunk/package/feeds/packages/bash/patches/132-upstream-bash43-032.patch +++ /dev/null @@ -1,42 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-032 - -Bug-Reported-by: crispusfairbairn@gmail.com -Bug-Reference-ID: -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-09/msg00013.html - -Bug-Description: - -When bash is running in Posix mode, it allows signals -- including SIGCHLD -- -to interrupt the `wait' builtin, as Posix requires. However, the interrupt -causes bash to not run a SIGCHLD trap for all exited children. This patch -fixes the issue and restores the documented behavior in Posix mode. - -Patch (apply with `patch -p0'): - ---- a/jobs.c -+++ b/jobs.c -@@ -3339,7 +3339,9 @@ itrace("waitchld: waitpid returns %d blo - if (posixly_correct && this_shell_builtin && this_shell_builtin == wait_builtin) - { - interrupt_immediately = 0; -- trap_handler (SIGCHLD); /* set pending_traps[SIGCHLD] */ -+ /* This was trap_handler (SIGCHLD) but that can lose traps if -+ children_exited > 1 */ -+ queue_sigchld_trap (children_exited); - wait_signal_received = SIGCHLD; - /* If we're in a signal handler, let CHECK_WAIT_INTR pick it up; - run_pending_traps will call run_sigchld_trap later */ ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 31 -+#define PATCHLEVEL 32 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/133-upstream-bash43-033.patch b/trunk/package/feeds/packages/bash/patches/133-upstream-bash43-033.patch deleted file mode 100644 index 6210b5ea..00000000 --- a/trunk/package/feeds/packages/bash/patches/133-upstream-bash43-033.patch +++ /dev/null @@ -1,201 +0,0 @@ - BASH PATCH REPORT - ================= - -Bash-Release: 4.3 -Patch-ID: bash43-033 - -Bug-Reported-by: mickael9@gmail.com, Jan Rome -Bug-Reference-ID: <20140907224046.382ED3610CC@mickael-laptop.localdomain>, - <540D661D.50908@gmail.com> -Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-09/msg00029.html - http://lists.gnu.org/archive/html/bug-bash/2014-09/msg00030.html - -Bug-Description: - -Bash does not clean up the terminal state in all cases where bash or -readline modifies it and bash is subsequently terminated by a fatal signal. -This happens when the `read' builtin modifies the terminal settings, both -when readline is active and when it is not. It occurs most often when a script -installs a trap that exits on a signal without re-sending the signal to itself. - -Patch (apply with `patch -p0'): - ---- a/shell.c -+++ b/shell.c -@@ -73,6 +73,7 @@ - #endif - - #if defined (READLINE) -+# include - # include "bashline.h" - #endif - -@@ -909,6 +910,14 @@ exit_shell (s) - fflush (stdout); /* XXX */ - fflush (stderr); - -+ /* Clean up the terminal if we are in a state where it's been modified. */ -+#if defined (READLINE) -+ if (RL_ISSTATE (RL_STATE_TERMPREPPED) && rl_deprep_term_function) -+ (*rl_deprep_term_function) (); -+#endif -+ if (read_tty_modified ()) -+ read_tty_cleanup (); -+ - /* Do trap[0] if defined. Allow it to override the exit status - passed to us. */ - if (signal_is_trapped (0)) ---- a/builtins/read.def -+++ b/builtins/read.def -@@ -140,10 +140,12 @@ static void reset_alarm __P((void)); - procenv_t alrmbuf; - int sigalrm_seen; - --static int reading; -+static int reading, tty_modified; - static SigHandler *old_alrm; - static unsigned char delim; - -+static struct ttsave termsave; -+ - /* In all cases, SIGALRM just sets a flag that we check periodically. This - avoids problems with the semi-tricky stuff we do with the xfree of - input_string at the top of the unwind-protect list (see below). */ -@@ -188,7 +190,6 @@ read_builtin (list) - struct stat tsb; - SHELL_VAR *var; - TTYSTRUCT ttattrs, ttset; -- struct ttsave termsave; - #if defined (ARRAY_VARS) - WORD_LIST *alist; - #endif -@@ -221,7 +222,7 @@ read_builtin (list) - USE_VAR(ps2); - USE_VAR(lastsig); - -- sigalrm_seen = reading = 0; -+ sigalrm_seen = reading = tty_modified = 0; - - i = 0; /* Index into the string that we are reading. */ - raw = edit = 0; /* Not reading raw input by default. */ -@@ -438,6 +439,8 @@ read_builtin (list) - retval = 128+SIGALRM; - goto assign_vars; - } -+ if (interactive_shell == 0) -+ initialize_terminating_signals (); - old_alrm = set_signal_handler (SIGALRM, sigalrm); - add_unwind_protect (reset_alarm, (char *)NULL); - #if defined (READLINE) -@@ -482,7 +485,10 @@ read_builtin (list) - i = silent ? ttfd_cbreak (fd, &ttset) : ttfd_onechar (fd, &ttset); - if (i < 0) - sh_ttyerror (1); -+ tty_modified = 1; - add_unwind_protect ((Function *)ttyrestore, (char *)&termsave); -+ if (interactive_shell == 0) -+ initialize_terminating_signals (); - } - } - else if (silent) /* turn off echo but leave term in canonical mode */ -@@ -497,7 +503,10 @@ read_builtin (list) - if (i < 0) - sh_ttyerror (1); - -+ tty_modified = 1; - add_unwind_protect ((Function *)ttyrestore, (char *)&termsave); -+ if (interactive_shell == 0) -+ initialize_terminating_signals (); - } - - /* This *must* be the top unwind-protect on the stack, so the manipulation -@@ -588,6 +597,8 @@ read_builtin (list) - } - else - lastsig = 0; -+ if (terminating_signal && tty_modified) -+ ttyrestore (&termsave); /* fix terminal before exiting */ - CHECK_TERMSIG; - eof = 1; - break; -@@ -978,6 +989,20 @@ ttyrestore (ttp) - struct ttsave *ttp; - { - ttsetattr (ttp->fd, ttp->attrs); -+ tty_modified = 0; -+} -+ -+void -+read_tty_cleanup () -+{ -+ if (tty_modified) -+ ttyrestore (&termsave); -+} -+ -+int -+read_tty_modified () -+{ -+ return (tty_modified); - } - - #if defined (READLINE) ---- a/builtins/common.h -+++ b/builtins/common.h -@@ -122,6 +122,10 @@ extern void bash_logout __P((void)); - /* Functions from getopts.def */ - extern void getopts_reset __P((int)); - -+/* Functions from read.def */ -+extern void read_tty_cleanup __P((void)); -+extern int read_tty_modified __P((void)); -+ - /* Functions from set.def */ - extern int minus_o_option_value __P((char *)); - extern void list_minus_o_opts __P((int, int)); ---- a/bashline.c -+++ b/bashline.c -@@ -202,6 +202,7 @@ extern int current_command_line_count, s - extern int last_command_exit_value; - extern int array_needs_making; - extern int posixly_correct, no_symbolic_links; -+extern int sigalrm_seen; - extern char *current_prompt_string, *ps1_prompt; - extern STRING_INT_ALIST word_token_alist[]; - extern sh_builtin_func_t *last_shell_builtin, *this_shell_builtin; -@@ -4208,8 +4209,9 @@ bash_event_hook () - { - /* If we're going to longjmp to top_level, make sure we clean up readline. - check_signals will call QUIT, which will eventually longjmp to top_level, -- calling run_interrupt_trap along the way. */ -- if (interrupt_state) -+ calling run_interrupt_trap along the way. The check for sigalrm_seen is -+ to clean up the read builtin's state. */ -+ if (terminating_signal || interrupt_state || sigalrm_seen) - rl_cleanup_after_signal (); - bashline_reset_event_hook (); - check_signals_and_traps (); /* XXX */ ---- a/sig.c -+++ b/sig.c -@@ -532,8 +532,10 @@ termsig_sighandler (sig) - #if defined (READLINE) - /* Set the event hook so readline will call it after the signal handlers - finish executing, so if this interrupted character input we can get -- quick response. */ -- if (interactive_shell && interactive && no_line_editing == 0) -+ quick response. If readline is active or has modified the terminal we -+ need to set this no matter what the signal is, though the check for -+ RL_STATE_TERMPREPPED is possibly redundant. */ -+ if (RL_ISSTATE (RL_STATE_SIGHANDLER) || RL_ISSTATE (RL_STATE_TERMPREPPED)) - bashline_set_event_hook (); - #endif - ---- a/patchlevel.h -+++ b/patchlevel.h -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 32 -+#define PATCHLEVEL 33 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/trunk/package/feeds/packages/bash/patches/900-no_doc.patch b/trunk/package/feeds/packages/bash/patches/900-no_doc.patch deleted file mode 100644 index 3e7be421..00000000 --- a/trunk/package/feeds/packages/bash/patches/900-no_doc.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/Makefile.in -+++ b/Makefile.in -@@ -741,10 +741,8 @@ reconfig: force - # $(MAKE) -f $(srcdir)/Makefile $(MFLAGS) srcdir=$(srcdir) - - doc documentation: force -- @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) ) - - info dvi ps: force -- @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) CFLAGS='$(CCFLAGS)' $@ ) - - force: - diff --git a/trunk/package/feeds/packages/bcp38/Makefile b/trunk/package/feeds/packages/bcp38/Makefile deleted file mode 100644 index 280bcc50..00000000 --- a/trunk/package/feeds/packages/bcp38/Makefile +++ /dev/null @@ -1,62 +0,0 @@ -# -# Copyright (C) 2014 Openwrt.org -# -# This is free software, licensed under the GNU General Public License v2. - -include $(TOPDIR)/rules.mk - -PKG_NAME:=bcp38 -PKG_VERSION:=4 -PKG_RELEASE:=1 -PKG_LICENCE:=GPL-3.0+ - -include $(INCLUDE_DIR)/package.mk - -define Package/bcp38 - SECTION:=net - CATEGORY:=Network - SUBMENU:=Routing and Redirection - TITLE:=BCP38 compliance - URL:=https://github.com/dtaht/ceropackages-3.10 - MAINTAINER:=Toke Høiland-Jørgensen - DEPENDS:=+ipset -endef - -define Package/bcp38/description - bcp38 implements IETF BCP38 for home routers. See https://tools.ietf.org/html/bcp38. -endef - -define Package/bcp38/conffiles -/etc/config/bcp38 -endef - -define Build/Prepare -endef - -define Build/Configure -endef - -define Build/Compile -endef - -define Package/bcp38/install - $(INSTALL_DIR) $(1)/etc/config - $(INSTALL_CONF) ./files/bcp38.config $(1)/etc/config/bcp38 - $(INSTALL_DIR) $(1)/usr/lib/bcp38 - $(INSTALL_BIN) ./files/run.sh $(1)/usr/lib/bcp38/run.sh - $(INSTALL_DIR) $(1)/etc/uci-defaults - $(INSTALL_BIN) ./files/bcp38.defaults $(1)/etc/uci-defaults/bcp38 -endef - -define Package/bcp38/postinst -#!/bin/sh -[ -x /etc/uci-defaults/bcp38 ] && /etc/uci-defaults/bcp38 || exit 0 -endef - -define Package/bcp38/postrm -#!/bin/sh -uci delete firewall.bcp38 -uci commit -endef - -$(eval $(call BuildPackage,bcp38)) diff --git a/trunk/package/feeds/packages/bcp38/files/bcp38.config b/trunk/package/feeds/packages/bcp38/files/bcp38.config deleted file mode 100644 index 08e8e20b..00000000 --- a/trunk/package/feeds/packages/bcp38/files/bcp38.config +++ /dev/null @@ -1,22 +0,0 @@ -config bcp38 - option enabled 0 - option interface 'eth1' - option detect_upstream 1 - list match '127.0.0.0/8' - list match '0.0.0.0/8' # RFC 1700 - list match '240.0.0.0/4' # RFC 5745 - list match '192.0.2.0/24' # RFC 5737 - list match '198.51.100.0/24' # RFC 5737 - list match '203.0.113.0/24' # RFC 5737 - list match '192.168.0.0/16' # RFC 1918 - list match '10.0.0.0/8' # RFC 1918 - list match '172.16.0.0/12' # RFC 1918 - list match '169.254.0.0/16' # RFC 3927 - -# list nomatch '172.26.0.0/21' # Example of something not to match -# There is a dhcp trigger to do this for the netmask of a -# double natted connection needed - -# I will argue that this level of indirection doesn't scale -# very well - see how to block china as an example -# http://www.okean.com/china.txt diff --git a/trunk/package/feeds/packages/bcp38/files/bcp38.defaults b/trunk/package/feeds/packages/bcp38/files/bcp38.defaults deleted file mode 100644 index d7e0d806..00000000 --- a/trunk/package/feeds/packages/bcp38/files/bcp38.defaults +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -uci -q batch <<-EOT - delete firewall.bcp38 - set firewall.bcp38=include - set firewall.bcp38.type=script - set firewall.bcp38.path=/usr/lib/bcp38/run.sh - set firewall.bcp38.family=IPv4 - set firewall.bcp38.reload=1 - commit firewall -EOT - -exit 0 diff --git a/trunk/package/feeds/packages/bcp38/files/run.sh b/trunk/package/feeds/packages/bcp38/files/run.sh deleted file mode 100755 index bafdf3bb..00000000 --- a/trunk/package/feeds/packages/bcp38/files/run.sh +++ /dev/null @@ -1,104 +0,0 @@ -#!/bin/sh -# BCP38 filtering implementation for CeroWrt. -# -# This program is free software; you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the Free Software -# Foundation; either version 3 of the License, or (at your option) any later -# version. -# -# Author: Toke Høiland-Jørgensen - -STOP=$1 -IPSET_NAME=bcp38-ipv4 -IPTABLES_CHAIN=BCP38 - -. /lib/functions.sh - -config_load bcp38 - -add_bcp38_rule() -{ - local subnet="$1" - local action="$2" - - if [ "$action" == "nomatch" ]; then - ipset add "$IPSET_NAME" "$subnet" nomatch - else - ipset add "$IPSET_NAME" "$subnet" - fi -} - -detect_upstream() -{ - local interface="$1" - - subnets=$(ip route show dev "$interface" | grep 'scope link' | awk '{print $1}') - for subnet in $subnets; do - # ipset test doesn't work for subnets, so strip out the subnet part - # and test for that; add as exception if there's a match - addr=$(echo $subnet | sed 's|/[0-9]\+$||') - ipset test "$IPSET_NAME" $addr 2>/dev/null && add_bcp38_rule $subnet nomatch - done -} - -run() { - local section="$1" - local enabled - local interface - local detect_upstream - config_get_bool enabled "$section" enabled 0 - config_get interface "$section" interface - config_get detect_upstream "$section" detect_upstream - - if [ "$enabled" -eq "1" -a -n "$interface" -a -z "$STOP" ] ; then - setup_ipset - setup_iptables "$interface" - config_list_foreach "$section" match add_bcp38_rule match - config_list_foreach "$section" nomatch add_bcp38_rule nomatch - [ "$detect_upstream" -eq "1" ] && detect_upstream "$interface" - fi - exit 0 -} - -setup_ipset() -{ - ipset create "$IPSET_NAME" hash:net family ipv4 - ipset flush "$IPSET_NAME" -} - -setup_iptables() -{ - local interface="$1" - iptables -N "$IPTABLES_CHAIN" 2>/dev/null - iptables -F "$IPTABLES_CHAIN" 2>/dev/null - - iptables -I output_rule -j "$IPTABLES_CHAIN" - iptables -I input_rule -j "$IPTABLES_CHAIN" - iptables -I forwarding_rule -j "$IPTABLES_CHAIN" - - # always accept DHCP traffic - iptables -A "$IPTABLES_CHAIN" -p udp --dport 67:68 --sport 67:68 -j RETURN - iptables -A "$IPTABLES_CHAIN" -o "$interface" -m set --match-set "$IPSET_NAME" dst -j REJECT --reject-with icmp-net-unreachable - iptables -A "$IPTABLES_CHAIN" -i "$interface" -m set --match-set "$IPSET_NAME" src -j DROP -} - -destroy_ipset() -{ - ipset flush "$IPSET_NAME" 2>/dev/null - ipset destroy "$IPSET_NAME" 2>/dev/null -} - -destroy_iptables() -{ - iptables -D output_rule -j "$IPTABLES_CHAIN" 2>/dev/null - iptables -D input_rule -j "$IPTABLES_CHAIN" 2>/dev/null - iptables -D forwarding_rule -j "$IPTABLES_CHAIN" 2>/dev/null - iptables -F "$IPTABLES_CHAIN" 2>/dev/null - iptables -X "$IPTABLES_CHAIN" 2>/dev/null -} - -destroy_iptables -destroy_ipset -config_foreach run bcp38 - -exit 0 diff --git a/trunk/package/feeds/packages/bind/Makefile b/trunk/package/feeds/packages/bind/Makefile deleted file mode 100644 index e4ee053d..00000000 --- a/trunk/package/feeds/packages/bind/Makefile +++ /dev/null @@ -1,204 +0,0 @@ -# -# Copyright (C) 2006-2012 OpenWrt.org -# 2014 Noah Meyerhans -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=bind -PKG_VERSION:=9.9.6-P1 -PKG_RELEASE:=2 -USERID:=bind=57:bind=57 - -PKG_MAINTAINER := Noah Meyerhans -PKG_LICENSE := BSD-3-Clause - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:= \ - ftp://ftp.isc.org/isc/bind9/$(PKG_VERSION) \ - http://www.mirrorservice.org/sites/ftp.isc.org/isc/bind9/$(PKG_VERSION) -PKG_MD5SUM:=ca9d8f4d26e740668d361bfc50d90fc7 - -PKG_FIXUP:=autoreconf -PKG_REMOVE_FILES:=aclocal.m4 libtool.m4 - -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/package.mk - -define Package/bind/Default - SECTION:=net - CATEGORY:=Network - DEPENDS:=+bind-libs - TITLE:=bind - URL:=https://www.isc.org/software/bind - SUBMENU:=IP Addresses and Names -endef - -define Package/bind-libs - SECTION:=libs - CATEGORY:=Libraries - DEPENDS:=+libopenssl - TITLE:=bind shared libraries - URL:=https://www.isc.org/software/bind -endef - -define Package/bind-server - $(call Package/bind/Default) - TITLE+= DNS server -endef - -define Package/bind-client - $(call Package/bind/Default) - TITLE+= dynamic DNS client -endef - -define Package/bind-tools - $(call Package/bind/Default) - TITLE+= administration tools (all) -endef - -define Package/bind-rndc - $(call Package/bind/Default) - TITLE+= administration tools (rndc and rndc-confgen only) -endef - -define Package/bind-check - $(call Package/bind/Default) - TITLE+= administration tools (named-checkconf and named-checkzone only) -endef - -define Package/bind-dnssec - $(call Package/bind/Default) - TITLE+= administration tools (dnssec-keygen and dnssec-signzone only) -endef - -define Package/bind-host - $(call Package/bind/Default) - TITLE+= simple DNS client -endef - -define Package/bind-dig - $(call Package/bind/Default) - TITLE+= DNS excavation tool -endef - -export BUILD_CC="$(TARGET_CC)" - -CONFIGURE_ARGS += \ - --enable-shared \ - --enable-static \ - --with-randomdev="/dev/urandom" \ - --disable-threads \ - --disable-linux-caps \ - --with-openssl="$(STAGING_DIR)/usr" \ - --with-libtool \ - --with-libxml2=no \ - --enable-epoll=yes \ - --with-gost=no \ - --with-gssapi=no \ - --with-ecdsa=no \ - --with-readline=no - -CONFIGURE_VARS += \ - BUILD_CC="$(TARGET_CC)" \ - -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR)/lib/dns \ - BUILD_CC="$(HOSTCC)" \ - CC="$(HOSTCC)" \ - CFLAGS="-O2" \ - LIBS="" \ - gen - $(call Build/Compile/Default) -endef - -define Package/bind-libs/install - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib -endef - -define Package/bind-server/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/named $(1)/usr/sbin/ - $(INSTALL_DIR) $(1)/etc/bind - $(CP) \ - ./files/bind/db.0 \ - ./files/bind/db.127 \ - ./files/bind/db.255 \ - ./files/bind/db.local \ - ./files/bind/db.root \ - $(1)/etc/bind/ - $(CP) ./files/bind/named.conf.example $(1)/etc/bind/named.conf - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) ./files/named.init $(1)/etc/init.d/named - find $(1)/etc/bind/ -name ".svn" | xargs rm -rf -endef - -define Package/bind-server/conffiles -/etc/bind/db.0 -/etc/bind/db.127 -/etc/bind/db.255 -/etc/bind/db.local -/etc/bind/db.root -/etc/bind/named.conf -endef - -define Package/bind-client/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/nsupdate $(1)/usr/bin/ -endef - -define Package/bind-tools/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dig $(1)/usr/bin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/host $(1)/usr/bin/ - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dnssec-keygen $(1)/usr/sbin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dnssec-signzone $(1)/usr/sbin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/named-checkconf $(1)/usr/sbin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/named-checkzone $(1)/usr/sbin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/rndc $(1)/usr/sbin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/rndc-confgen $(1)/usr/sbin/ -endef - -define Package/bind-rndc/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/rndc $(1)/usr/sbin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/rndc-confgen $(1)/usr/sbin/ -endef - -define Package/bind-check/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/named-checkconf $(1)/usr/sbin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/named-checkzone $(1)/usr/sbin/ -endef - -define Package/bind-dnssec/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dnssec-keygen $(1)/usr/sbin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dnssec-signzone $(1)/usr/sbin/ -endef - -define Package/bind-host/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/host $(1)/usr/bin/ -endef - -define Package/bind-dig/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dig $(1)/usr/bin/ -endef - -$(eval $(call BuildPackage,bind-libs)) -$(eval $(call BuildPackage,bind-server)) -$(eval $(call BuildPackage,bind-client)) -$(eval $(call BuildPackage,bind-tools)) -$(eval $(call BuildPackage,bind-rndc)) -$(eval $(call BuildPackage,bind-check)) -$(eval $(call BuildPackage,bind-dnssec)) -$(eval $(call BuildPackage,bind-host)) -$(eval $(call BuildPackage,bind-dig)) diff --git a/trunk/package/feeds/packages/bind/files/bind/db.0 b/trunk/package/feeds/packages/bind/files/bind/db.0 deleted file mode 100644 index e3aabdbe..00000000 --- a/trunk/package/feeds/packages/bind/files/bind/db.0 +++ /dev/null @@ -1,12 +0,0 @@ -; -; BIND reverse data file for broadcast zone -; -$TTL 604800 -@ IN SOA localhost. root.localhost. ( - 1 ; Serial - 604800 ; Refresh - 86400 ; Retry - 2419200 ; Expire - 604800 ) ; Negative Cache TTL -; -@ IN NS localhost. diff --git a/trunk/package/feeds/packages/bind/files/bind/db.127 b/trunk/package/feeds/packages/bind/files/bind/db.127 deleted file mode 100644 index cd05bef1..00000000 --- a/trunk/package/feeds/packages/bind/files/bind/db.127 +++ /dev/null @@ -1,13 +0,0 @@ -; -; BIND reverse data file for local loopback interface -; -$TTL 604800 -@ IN SOA localhost. root.localhost. ( - 1 ; Serial - 604800 ; Refresh - 86400 ; Retry - 2419200 ; Expire - 604800 ) ; Negative Cache TTL -; -@ IN NS localhost. -1.0.0 IN PTR localhost. diff --git a/trunk/package/feeds/packages/bind/files/bind/db.255 b/trunk/package/feeds/packages/bind/files/bind/db.255 deleted file mode 100644 index e3aabdbe..00000000 --- a/trunk/package/feeds/packages/bind/files/bind/db.255 +++ /dev/null @@ -1,12 +0,0 @@ -; -; BIND reverse data file for broadcast zone -; -$TTL 604800 -@ IN SOA localhost. root.localhost. ( - 1 ; Serial - 604800 ; Refresh - 86400 ; Retry - 2419200 ; Expire - 604800 ) ; Negative Cache TTL -; -@ IN NS localhost. diff --git a/trunk/package/feeds/packages/bind/files/bind/db.local b/trunk/package/feeds/packages/bind/files/bind/db.local deleted file mode 100644 index 66b48923..00000000 --- a/trunk/package/feeds/packages/bind/files/bind/db.local +++ /dev/null @@ -1,13 +0,0 @@ -; -; BIND data file for local loopback interface -; -$TTL 604800 -@ IN SOA localhost. root.localhost. ( - 1 ; Serial - 604800 ; Refresh - 86400 ; Retry - 2419200 ; Expire - 604800 ) ; Negative Cache TTL -; -@ IN NS localhost. -@ IN A 127.0.0.1 diff --git a/trunk/package/feeds/packages/bind/files/bind/db.root b/trunk/package/feeds/packages/bind/files/bind/db.root deleted file mode 100644 index 0eb52af7..00000000 --- a/trunk/package/feeds/packages/bind/files/bind/db.root +++ /dev/null @@ -1,45 +0,0 @@ - -; <<>> DiG 9.2.3 <<>> ns . @a.root-servers.net. -;; global options: printcmd -;; Got answer: -;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18944 -;; flags: qr aa rd; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13 - -;; QUESTION SECTION: -;. IN NS - -;; ANSWER SECTION: -. 518400 IN NS A.ROOT-SERVERS.NET. -. 518400 IN NS B.ROOT-SERVERS.NET. -. 518400 IN NS C.ROOT-SERVERS.NET. -. 518400 IN NS D.ROOT-SERVERS.NET. -. 518400 IN NS E.ROOT-SERVERS.NET. -. 518400 IN NS F.ROOT-SERVERS.NET. -. 518400 IN NS G.ROOT-SERVERS.NET. -. 518400 IN NS H.ROOT-SERVERS.NET. -. 518400 IN NS I.ROOT-SERVERS.NET. -. 518400 IN NS J.ROOT-SERVERS.NET. -. 518400 IN NS K.ROOT-SERVERS.NET. -. 518400 IN NS L.ROOT-SERVERS.NET. -. 518400 IN NS M.ROOT-SERVERS.NET. - -;; ADDITIONAL SECTION: -A.ROOT-SERVERS.NET. 3600000 IN A 198.41.0.4 -B.ROOT-SERVERS.NET. 3600000 IN A 192.228.79.201 -C.ROOT-SERVERS.NET. 3600000 IN A 192.33.4.12 -D.ROOT-SERVERS.NET. 3600000 IN A 128.8.10.90 -E.ROOT-SERVERS.NET. 3600000 IN A 192.203.230.10 -F.ROOT-SERVERS.NET. 3600000 IN A 192.5.5.241 -G.ROOT-SERVERS.NET. 3600000 IN A 192.112.36.4 -H.ROOT-SERVERS.NET. 3600000 IN A 128.63.2.53 -I.ROOT-SERVERS.NET. 3600000 IN A 192.36.148.17 -J.ROOT-SERVERS.NET. 3600000 IN A 192.58.128.30 -K.ROOT-SERVERS.NET. 3600000 IN A 193.0.14.129 -L.ROOT-SERVERS.NET. 3600000 IN A 199.7.83.42 -M.ROOT-SERVERS.NET. 3600000 IN A 202.12.27.33 - -;; Query time: 81 msec -;; SERVER: 198.41.0.4#53(a.root-servers.net.) -;; WHEN: Sun Feb 1 11:27:14 2004 -;; MSG SIZE rcvd: 436 - diff --git a/trunk/package/feeds/packages/bind/files/bind/named.conf.example b/trunk/package/feeds/packages/bind/files/bind/named.conf.example deleted file mode 100644 index 16245495..00000000 --- a/trunk/package/feeds/packages/bind/files/bind/named.conf.example +++ /dev/null @@ -1,45 +0,0 @@ -// This is the primary configuration file for the BIND DNS server named. - -options { - directory "/tmp"; - - // If your ISP provided one or more IP addresses for stable - // nameservers, you probably want to use them as forwarders. - // Uncomment the following block, and insert the addresses replacing - // the all-0's placeholder. - - // forwarders { - // 0.0.0.0; - // }; - - auth-nxdomain no; # conform to RFC1035 -}; - -// prime the server with knowledge of the root servers -zone "." { - type hint; - file "/etc/bind/db.root"; -}; - -// be authoritative for the localhost forward and reverse zones, and for -// broadcast zones as per RFC 1912 - -zone "localhost" { - type master; - file "/etc/bind/db.local"; -}; - -zone "127.in-addr.arpa" { - type master; - file "/etc/bind/db.127"; -}; - -zone "0.in-addr.arpa" { - type master; - file "/etc/bind/db.0"; -}; - -zone "255.in-addr.arpa" { - type master; - file "/etc/bind/db.255"; -}; diff --git a/trunk/package/feeds/packages/bind/files/named.init b/trunk/package/feeds/packages/bind/files/named.init deleted file mode 100644 index 2ef7797b..00000000 --- a/trunk/package/feeds/packages/bind/files/named.init +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2014 Noah Meyerhans -# Licensed under the terms of the GNU General Public License version 2 -# or (at your discretion) any later later version - -USE_PROCD=1 - -START=50 - -config_file=/etc/bind/named.conf -pid_file=/var/run/named/named.pid - -logdir=/var/log/named/ -cachedir=/var/cache/bind -libdir=/var/lib/bind -config_file=/etc/bind/named.conf - -fix_perms() { - for dir in $libdir $logdir $cachedir; do - test -e "$dir" || { - mkdir -p "$dir" - chgrp bind "$dir" - chmod g+w "$dir" - } - done -} - -start_service() { - user_exists bind 57 || user_add bind 57 - group_exists bind 57 || group_add bind 57 - fix_perms - procd_open_instance - procd_set_param command /usr/sbin/named -u bind -f -c $config_file - procd_set_param respawn - procd_close_instance -} diff --git a/trunk/package/feeds/packages/bind/patches/001-no-tests.patch b/trunk/package/feeds/packages/bind/patches/001-no-tests.patch deleted file mode 100644 index c969c5e9..00000000 --- a/trunk/package/feeds/packages/bind/patches/001-no-tests.patch +++ /dev/null @@ -1,26 +0,0 @@ -Index: bind-9.9.4/bin/Makefile.in -=================================================================== ---- bind-9.9.4.orig/bin/Makefile.in -+++ bind-9.9.4/bin/Makefile.in -@@ -19,7 +19,7 @@ srcdir = @srcdir@ - VPATH = @srcdir@ - top_srcdir = @top_srcdir@ - --SUBDIRS = named rndc dig dnssec tools tests nsupdate \ -+SUBDIRS = named rndc dig dnssec tools nsupdate \ - check confgen @PYTHON_TOOLS@ @PKCS11_TOOLS@ - TARGETS = - -Index: bind-9.9.4/lib/Makefile.in -=================================================================== ---- bind-9.9.4.orig/lib/Makefile.in -+++ bind-9.9.4/lib/Makefile.in -@@ -23,7 +23,7 @@ top_srcdir = @top_srcdir@ - # Attempt to disable parallel processing. - .NOTPARALLEL: - .NO_PARALLEL: --SUBDIRS = isc isccc dns isccfg bind9 lwres tests -+SUBDIRS = isc isccc dns isccfg bind9 lwres - TARGETS = - - @BIND9_MAKE_RULES@ diff --git a/trunk/package/feeds/packages/bind/patches/002-autoconf-ar-fix.patch b/trunk/package/feeds/packages/bind/patches/002-autoconf-ar-fix.patch deleted file mode 100644 index 501fa7d3..00000000 --- a/trunk/package/feeds/packages/bind/patches/002-autoconf-ar-fix.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- a/configure.in -+++ b/configure.in -@@ -93,26 +93,11 @@ esac - # - AC_CONFIG_FILES([make/rules make/includes]) - --AC_PATH_PROG(AR, ar) --ARFLAGS="cruv" --AC_SUBST(AR) --AC_SUBST(ARFLAGS) -- - # The POSIX ln(1) program. Non-POSIX systems may substitute - # "copy" or something. - LN=ln - AC_SUBST(LN) - --case "$AR" in -- "") -- AC_MSG_ERROR([ --ar program not found. Please fix your PATH to include the directory in --which ar resides, or set AR in the environment with the full path to ar. --]) -- -- ;; --esac -- - # - # Etags. - # diff --git a/trunk/package/feeds/packages/bluelog/Makefile b/trunk/package/feeds/packages/bluelog/Makefile deleted file mode 100644 index 2fe10d87..00000000 --- a/trunk/package/feeds/packages/bluelog/Makefile +++ /dev/null @@ -1,92 +0,0 @@ -# -# Copyright (C) 2012-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=bluelog -PKG_VERSION:=1.1.2 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=ftp://ftp.digifail.com/software/bluelog -PKG_MD5SUM:=614d0fe65bae68acff1d33d9f86e4805 - -PKG_LICENSE:=GPL-2.0 -PKG_LICENSE_FILES:=COPYING -PKG_MAINTAINER:=Nicolas Thill - -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/package.mk - -define Package/bluelog/Default - SECTION:=utils - CATEGORY:=Utilities - TITLE:=Bluetooth scanner and logger - URL:=http://www.digifail.com/software/bluelog.shtml - DEPENDS:=+bluez-libs +kmod-bluetooth -endef - -define Package/bluelog/Default/description - Bluelog is a simple Bluetooth scanner designed to tell you how many - discoverable devices there are in an area as quickly as possible. It is - intended to be used as a site survey tool, identifying the number of possible - Bluetooth targets there are in the surrounding environment. -endef - -define Package/bluelog - $(call Package/bluelog/Default) -endef - -define Package/bluelog/description - $(call Package/bluelog/Default/description) -endef - -define Package/bluelog-live - $(call Package/bluelog/Default) - TITLE+= (live output) - DEPENDS+= bluelog -endef - -define Package/bluelog-live/description - $(call Package/bluelog/Default/description) - This package contains the files for "Bluelog Live", an optional mode of - Bluelog which creates a real-time webpage of discovered Bluetooth devices. -endef - -TARGET_CFLAGS += -DOPENWRT - -MAKE_FLAGS += \ - LIBS="$(TARGET_LDFLAGS) -lbluetooth -lm" - -define Package/bluelog/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/bluelog $(1)/usr/bin/ - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) ./files/bluelog.init $(1)/etc/init.d/bluelog -endef - -define Package/bluelog-live/install - $(INSTALL_DIR) $(1)/www/bluelog - $(CP) $(PKG_INSTALL_DIR)/usr/share/bluelog/*.html $(1)/www/bluelog/ - $(CP) \ - $(PKG_INSTALL_DIR)/usr/share/bluelog/openwrt.css \ - $(1)/www/bluelog/style.css - $(INSTALL_DIR) $(1)/www/bluelog/images - $(CP) \ - $(PKG_INSTALL_DIR)/usr/share/bluelog/images/digifail_logo.png \ - $(PKG_INSTALL_DIR)/usr/share/bluelog/images/email.png \ - $(PKG_INSTALL_DIR)/usr/share/bluelog/images/favicon.png \ - $(PKG_INSTALL_DIR)/usr/share/bluelog/images/openwrt_logo.png \ - $(PKG_INSTALL_DIR)/usr/share/bluelog/images/qrcontact.png \ - $(1)/www/bluelog/images/ - $(INSTALL_DIR) $(1)/www/cgi-bin - $(CP) $(PKG_INSTALL_DIR)/usr/share/bluelog/cgi-bin/* $(1)/www/cgi-bin/ -endef - -$(eval $(call BuildPackage,bluelog)) -$(eval $(call BuildPackage,bluelog-live)) diff --git a/trunk/package/feeds/packages/bluelog/files/bluelog.init b/trunk/package/feeds/packages/bluelog/files/bluelog.init deleted file mode 100644 index efae2886..00000000 --- a/trunk/package/feeds/packages/bluelog/files/bluelog.init +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh /etc/rc.common - -START=65 - -SERVICE_DAEMONIZE=1 - -start() { - service_start /usr/bin/bluelog -} - -stop() { - service_stop /usr/bin/bluelog -} diff --git a/trunk/package/feeds/packages/bluez/Makefile b/trunk/package/feeds/packages/bluez/Makefile deleted file mode 100644 index d2bc8fab..00000000 --- a/trunk/package/feeds/packages/bluez/Makefile +++ /dev/null @@ -1,129 +0,0 @@ -# -# Copyright (C) 2006-2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=bluez -PKG_VERSION:=5.30 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz -PKG_SOURCE_URL:=http://www.kernel.org/pub/linux/bluetooth/ -PKG_MD5SUM:=24ba1d1e8e7ef5b8f4033a3059d7600e - -PKG_LICENSE:=GPL-2.0+ -PKG_LICENSE_FILES:=COPYING -PKG_MAINTAINER:=Nicolas Thill - -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/package.mk -include $(INCLUDE_DIR)/nls.mk - -define Package/bluez/Default - TITLE:=Bluetooth - URL:=http://www.bluez.org/ -endef - -define Package/bluez-examples -$(call Package/bluez/Default) - SECTION:=utils - CATEGORY:=Utilities - TITLE+= python example apps - DEPENDS:=+python -endef - -define Package/bluez-examples/description - contains many examples apps for bluetooth, requiring python -endef - -define Package/bluez-libs -$(call Package/bluez/Default) - SECTION:=libs - CATEGORY:=Libraries - TITLE+= library - DEPENDS:=+libpthread -endef - -define Package/bluez-utils -$(call Package/bluez/Default) - SECTION:=utils - CATEGORY:=Utilities - TITLE+= utilities - DEPENDS:=+bluez-libs +libpthread +librt +dbus +glib2 +libical +libncurses +libreadline $(INTL_DEPENDS) $(ICONV_DEPENDS) -endef - -define Package/bluez-utils/conffiles -/etc/bluetooth/main.conf -/etc/bluetooth/network.conf -/etc/bluetooth/input.conf -/etc/bluetooth/proximity.conf -/etc/config/bluetooth -endef - -CONFIGURE_ARGS += \ - --enable-static \ - --enable-shared \ - --enable-client \ - --enable-datafiles \ - --enable-experimental \ - --enable-library \ - --enable-monitor \ - --enable-obex \ - --enable-threads \ - --enable-tools \ - --disable-android \ - --disable-cups \ - --disable-manpages \ - --disable-sixaxis \ - --disable-systemd \ - --disable-test \ - --disable-udev \ - -TARGET_CPPFLAGS += \ - -D_GNU_SOURCE - -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include - $(CP) $(PKG_INSTALL_DIR)/usr/include/bluetooth $(1)/usr/include/ - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libbluetooth.{a,so*} $(1)/usr/lib/ - $(INSTALL_DIR) $(1)/usr/lib/pkgconfig - $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/bluez.pc $(1)/usr/lib/pkgconfig/ -endef - -define Package/bluez-examples/install - $(INSTALL_DIR) $(1)/usr/bin/bluez - $(INSTALL_DATA) $(PKG_BUILD_DIR)/test/* $(1)/usr/bin/bluez/ -endef - -define Package/bluez-libs/install - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libbluetooth.so.* $(1)/usr/lib/ -endef - -define Package/bluez-utils/install - $(INSTALL_DIR) $(1)/usr/bin - $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/bluetooth/bluetoothd $(1)/usr/bin/ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/bluetooth/obexd $(1)/usr/bin/ - $(INSTALL_DIR) $(1)/etc/config - $(INSTALL_DATA) ./files/bluetooth.config $(1)/etc/config/bluetooth - $(INSTALL_DIR) $(1)/etc/dbus-1/system.d/ - $(INSTALL_DATA) ./files/bluetooth.dbus $(1)/etc/dbus-1/system.d/bluetooth.conf - $(INSTALL_DIR) $(1)/etc/bluetooth - $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/main.conf $(1)/etc/bluetooth/main.conf - $(INSTALL_DATA) $(PKG_BUILD_DIR)/profiles/network/network.conf $(1)/etc/bluetooth/network.conf - $(INSTALL_DATA) $(PKG_BUILD_DIR)/profiles/input/input.conf $(1)/etc/bluetooth/input.conf - $(INSTALL_DATA) $(PKG_BUILD_DIR)/profiles/proximity/proximity.conf $(1)/etc/bluetooth/proximity.conf - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) ./files/bluetoothd.init $(1)/etc/init.d/bluetoothd -endef - -$(eval $(call BuildPackage,bluez-examples)) -$(eval $(call BuildPackage,bluez-libs)) -$(eval $(call BuildPackage,bluez-utils)) diff --git a/trunk/package/feeds/packages/bluez/files/bluetooth.config b/trunk/package/feeds/packages/bluez/files/bluetooth.config deleted file mode 100644 index 6f23617a..00000000 --- a/trunk/package/feeds/packages/bluez/files/bluetooth.config +++ /dev/null @@ -1,15 +0,0 @@ -config bluetoothd -# option config /etc/bluetooth/main.conf - option enabled 1 - -config hciattach - option initspeed 115200 - option tty ttyS1 - option type csr - option speed 115200 - option flow noflow - option enabled 0 - -config rfcomm -# option config /etc/bluetooth/rfcomm.conf - option enabled 0 diff --git a/trunk/package/feeds/packages/bluez/files/bluetooth.dbus b/trunk/package/feeds/packages/bluez/files/bluetooth.dbus deleted file mode 100644 index 88545fac..00000000 --- a/trunk/package/feeds/packages/bluez/files/bluetooth.dbus +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/trunk/package/feeds/packages/bluez/files/bluetoothd.init b/trunk/package/feeds/packages/bluez/files/bluetoothd.init deleted file mode 100644 index 75f4d966..00000000 --- a/trunk/package/feeds/packages/bluez/files/bluetoothd.init +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2007 OpenWrt.org - -#start after dbus (60) -START=62 -USE_PROCD=1 -PROG=/usr/bin/bluetoothd - -start_service() { - procd_open_instance - procd_set_param command "$PROG" -n - procd_close_instance -} diff --git a/trunk/package/feeds/packages/bluez/files/givepin b/trunk/package/feeds/packages/bluez/files/givepin deleted file mode 100644 index e52a3384..00000000 --- a/trunk/package/feeds/packages/bluez/files/givepin +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -# Write bluetooth PIN number here: -pin= - -if [ -z "$pin" ]; then - msg="Set bluetooth PIN in file $0" - logger -p user.err "$msg" - for i in /dev/pts/* ; do - [ -w $i ] && echo "$msg" > $i - done -else - echo "PIN:$pin" -fi diff --git a/trunk/package/feeds/packages/bluez/patches/200-uart-speed.patch b/trunk/package/feeds/packages/bluez/patches/200-uart-speed.patch deleted file mode 100644 index ebe0153e..00000000 --- a/trunk/package/feeds/packages/bluez/patches/200-uart-speed.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- a/tools/hciattach.c -+++ b/tools/hciattach.c -@@ -101,20 +101,37 @@ int uart_speed(int s) - return B230400; - case 460800: - return B460800; -+/* FIX: Not all platform support this high serial speed -+ claudyus84 @gamil.com -+*/ -+#ifdef B500000 - case 500000: - return B500000; -+#endif -+#ifdef B576000 - case 576000: - return B576000; -+#endif -+#ifdef B921600 - case 921600: - return B921600; -+#endif -+#ifdef B1000000 - case 1000000: - return B1000000; -+#endif -+#ifdef B1152000 - case 1152000: - return B1152000; -+#endif -+#ifdef B1500000 - case 1500000: - return B1500000; -+#endif -+#ifdef B2000000 - case 2000000: - return B2000000; -+#endif - #ifdef B2500000 - case 2500000: - return B2500000; diff --git a/trunk/package/feeds/packages/bluez/patches/201-readline.patch b/trunk/package/feeds/packages/bluez/patches/201-readline.patch deleted file mode 100644 index 58396dcb..00000000 --- a/trunk/package/feeds/packages/bluez/patches/201-readline.patch +++ /dev/null @@ -1,52 +0,0 @@ ---- a/Makefile.in -+++ b/Makefile.in -@@ -2055,7 +2055,7 @@ unit_tests = $(am__append_32) unit/test- - @CLIENT_TRUE@ monitor/uuid.h monitor/uuid.c - - @CLIENT_TRUE@client_bluetoothctl_LDADD = gdbus/libgdbus-internal.la @GLIB_LIBS@ @DBUS_LIBS@ \ --@CLIENT_TRUE@ -lreadline -+@CLIENT_TRUE@ -lreadline -lncurses - - @MONITOR_TRUE@monitor_btmon_SOURCES = monitor/main.c monitor/bt.h \ - @MONITOR_TRUE@ monitor/display.h monitor/display.c \ -@@ -2226,7 +2226,7 @@ unit_tests = $(am__append_32) unit/test- - @EXPERIMENTAL_TRUE@tools_hcieventmask_LDADD = lib/libbluetooth-internal.la - @EXPERIMENTAL_TRUE@tools_btmgmt_SOURCES = tools/btmgmt.c src/uuid-helper.c client/display.c - @EXPERIMENTAL_TRUE@tools_btmgmt_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la \ --@EXPERIMENTAL_TRUE@ -lreadline -+@EXPERIMENTAL_TRUE@ -lreadline -lncurses - - @EXPERIMENTAL_TRUE@tools_btinfo_SOURCES = tools/btinfo.c monitor/bt.h - @EXPERIMENTAL_TRUE@tools_btinfo_LDADD = src/libshared-mainloop.la -@@ -2266,13 +2266,13 @@ unit_tests = $(am__append_32) unit/test- - @READLINE_TRUE@ client/display.h - - @READLINE_TRUE@attrib_gatttool_LDADD = lib/libbluetooth-internal.la \ --@READLINE_TRUE@ src/libshared-glib.la @GLIB_LIBS@ -lreadline -+@READLINE_TRUE@ src/libshared-glib.la @GLIB_LIBS@ -lreadline -lncurses - - @READLINE_TRUE@tools_obex_client_tool_SOURCES = $(gobex_sources) $(btio_sources) \ - @READLINE_TRUE@ tools/obex-client-tool.c - - @READLINE_TRUE@tools_obex_client_tool_LDADD = lib/libbluetooth-internal.la \ --@READLINE_TRUE@ @GLIB_LIBS@ -lreadline -+@READLINE_TRUE@ @GLIB_LIBS@ -lreadline -lncurses - - @READLINE_TRUE@tools_obex_server_tool_SOURCES = $(gobex_sources) $(btio_sources) \ - @READLINE_TRUE@ tools/obex-server-tool.c -@@ -2282,13 +2282,13 @@ unit_tests = $(am__append_32) unit/test- - @READLINE_TRUE@ client/display.h client/display.c - - @READLINE_TRUE@tools_bluetooth_player_LDADD = gdbus/libgdbus-internal.la \ --@READLINE_TRUE@ @GLIB_LIBS@ @DBUS_LIBS@ -lreadline -+@READLINE_TRUE@ @GLIB_LIBS@ @DBUS_LIBS@ -lreadline -lncurses - - @READLINE_TRUE@tools_obexctl_SOURCES = tools/obexctl.c \ - @READLINE_TRUE@ client/display.h client/display.c - - @READLINE_TRUE@tools_obexctl_LDADD = gdbus/libgdbus-internal.la \ --@READLINE_TRUE@ @GLIB_LIBS@ @DBUS_LIBS@ -lreadline -+@READLINE_TRUE@ @GLIB_LIBS@ @DBUS_LIBS@ -lreadline -lncurses - - @EXPERIMENTAL_TRUE@tools_gatt_service_SOURCES = tools/gatt-service.c - @EXPERIMENTAL_TRUE@tools_gatt_service_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ gdbus/libgdbus-internal.la diff --git a/trunk/package/feeds/packages/bmon/Makefile b/trunk/package/feeds/packages/bmon/Makefile deleted file mode 100644 index 44da26c0..00000000 --- a/trunk/package/feeds/packages/bmon/Makefile +++ /dev/null @@ -1,48 +0,0 @@ -# -# Copyright (C) 2007-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=bmon -PKG_VERSION:=3.5 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=https://github.com/tgraf/bmon/releases/download/v$(PKG_VERSION)/ -PKG_MD5SUM:=b7d0d055727f2cf1e452f26dfbf6a825 -PKG_MAINTAINER:=Baptiste Jonglez -PKG_LICENSE:=MIT - -include $(INCLUDE_DIR)/package.mk - -define Package/bmon - SECTION:=net - CATEGORY:=Network - DEPENDS:=+PACKAGE_libncursesw:libncursesw +!PACKAGE_libncursesw:libncurses +libnl +confuse - TITLE:=bmon is a portable bandwidth monitor - URL:=https://github.com/tgraf/bmon/ -endef - -define Package/bmon/description - bmon is a portable bandwidth monitor - and rate estimator running on various - operating systems. It supports various - input methods for different architectures. -endef - -CONFIGURE_ARGS += \ - --disable-cnt-workaround \ - -CONFIGURE_VARS += \ - ac_cv_lib_nl_nl_connect=no \ - -define Package/bmon/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/bmon $(1)/usr/sbin/ -endef - -$(eval $(call BuildPackage,bmon)) diff --git a/trunk/package/feeds/packages/bogofilter/Makefile b/trunk/package/feeds/packages/bogofilter/Makefile deleted file mode 100644 index d31dfa8c..00000000 --- a/trunk/package/feeds/packages/bogofilter/Makefile +++ /dev/null @@ -1,58 +0,0 @@ -# -# Copyright (C) 2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=bogofilter -PKG_VERSION:=1.2.4 -PKG_RELEASE:=3 - -PKG_LICENSE:=GPLv2 -PKG_LICENSE_FILES:=COPYING - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=@SF/bogofilter -PKG_MD5SUM:=d0a5eebb3274b23ceabe766a6443a1c5 - -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/package.mk - -define Package/bogofilter - SECTION:=mail - CATEGORY:=Mail - DEPENDS:=+libdb47 - TITLE:=bogofilter - MAINTAINER:=W. Michael Petullo - URL:=http://bogofilter.sourceforge.net/ -endef - -define Package/bogofilter/description - Bogofilter is a fast Bayesian spam filter -endef - -CONFIGURE_ARGS += \ - --disable-unicode \ - --with-libdb-prefix=$(STAGING_DIR) \ - --with-included-gsl - -define Package/bogofilter/install - $(INSTALL_DIR) $(1)/etc/ \ - $(1)/usr/bin \ - $(1)/usr/sbin - $(INSTALL_CONF) $(PKG_BUILD_DIR)/bogofilter.cf.example $(1)/etc/bogofilter.cf - $(INSTALL_BIN) ./files/postfix-bogofilter $(1)/usr/sbin/postfix-bogofilter - $(CP) $(PKG_INSTALL_DIR)/usr/bin/bf_compact $(1)/usr/bin/ - $(CP) $(PKG_INSTALL_DIR)/usr/bin/bf_copy $(1)/usr/bin/ - $(CP) $(PKG_INSTALL_DIR)/usr/bin/bf_tar $(1)/usr/bin/ - $(CP) $(PKG_INSTALL_DIR)/usr/bin/bogofilter $(1)/usr/bin/ - $(CP) $(PKG_INSTALL_DIR)/usr/bin/bogolexer $(1)/usr/bin/ - $(CP) $(PKG_INSTALL_DIR)/usr/bin/bogotune $(1)/usr/bin/ - $(CP) $(PKG_INSTALL_DIR)/usr/bin/bogoutil $(1)/usr/bin/ -endef - -$(eval $(call BuildPackage,bogofilter)) diff --git a/trunk/package/feeds/packages/bogofilter/files/postfix-bogofilter b/trunk/package/feeds/packages/bogofilter/files/postfix-bogofilter deleted file mode 100755 index 952d8cda..00000000 --- a/trunk/package/feeds/packages/bogofilter/files/postfix-bogofilter +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -FILTER=/usr/bin/bogofilter -FILTER_DIR=/mnt/sda1/var/spool/bogofilter -# WARNING! The -i is crucial, else you may see -# messages truncated at the first period that is alone on a line -# (which can happen with several kinds of messages, particularly -# quoted-printable) -# -G is ignored before Postfix 2.3 and tells it that the message -# does not originate on the local system (Gateway submission), -# so Postfix avoids some of the local expansions that can leave -# misleading traces in headers, such as local address -# canonicalizations. -POSTFIX="/usr/sbin/sendmail -G -i" -export BOGOFILTER_DIR=/etc/bogofilter - -# Exit codes from -EX_TEMPFAIL=75 -EX_UNAVAILABLE=69 - -cd $FILTER_DIR || \ - { echo $FILTER_DIR does not exist; exit $EX_TEMPFAIL; } - -# Clean up when done or when aborting. -trap "rm -f msg.$$ ; exit $EX_TEMPFAIL" 0 1 2 3 15 - -# bogofilter -e returns: 0 for OK, nonzero for error -rm -f msg.$$ || exit $EX_TEMPFAIL -$FILTER -p -e > msg.$$ || exit $EX_TEMPFAIL - -exec -# Dude, this "boost" is really one of the most crude stuff I ported yet. -# - - -include $(TOPDIR)/rules.mk -include $(INCLUDE_DIR)/nls.mk -include $(INCLUDE_DIR)/target.mk - -PKG_NAME:=boost -PKG_VERSION:=1_57_0 -PKG_RELEASE:=3 - -PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=@SF/boost -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_$(PKG_VERSION) -HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)_$(PKG_VERSION) -PKG_MD5SUM:=25f9a8ac28beeb5ab84aa98510305299 -PKG_LICENSE:=Boost Software License -PKG_MAINTAINER:=Carlos M. Ferreira - -PKG_BUILD_DEPENDS += boost/host -PKG_BUILD_PARALLEL:=0 -PKG_USE_MIPS16:=0 - -include $(INCLUDE_DIR)/package.mk -include $(INCLUDE_DIR)/host-build.mk - -define Package/boost/Default - SECTION:=libs - CATEGORY:=Libraries - TITLE:=Boost C++ source library - URL:=http://www.boost.org - DEPENDS:=+libstdcpp +libpthread +librt -endef - -define Package/boost/description/Default - Boost provides free peer-reviewed portable C++ source libraries -endef - -BOOST_LIBS = - -define Package/boost-libs -$(call Package/boost/Default) - TITLE+= (all libs) - DEPENDS+= $(BOOST_DEPENDS) - HIDDEN:=1 -endef - -define Package/boost-libs/description -$(call Package/boost/description/Default) - . - This meta package contains only dependencies to the other libraries from - the boost libraries collection. -endef - -# Create a meta-package of dependent libraries (for ALL) -define Package/boost-libs/install - true -endef - -define Package/boost - $(call Package/boost/Default) - TITLE+= packages - DEPENDS:=+ALL:boost-libs +ALL:boost-test -endef - -define Package/boost/config - menu "Select Boost libraries" - depends on PACKAGE_boost - - config boost-libs-all - bool "Include all Boost libraries" - select PACKAGE_boost-libs - - config boost-test-pkg - bool "Boost test package" - select PACKAGE_boost-test - - comment "Libraries" - - $(foreach lib,$(BOOST_LIBS), \ - config PACKAGE_boost-$(lib) - prompt "Boost $(lib) library" - - ) - - endmenu - -endef - -PKG_CONFIG_DEPENDS:= CONFIG_PACKAGE_boost-test - -define Package/boost-test - $(call Package/boost/Default) - TITLE+= (test) - HIDDEN:=1 -endef - -define Build/Configure -endef - -# 1: short name -# 2: dependencies on other boost libraries (short name) -# 3: dependencies on other packages -define DefineBoostLibrary - - BOOST_DEPENDS+= +boost-$(1) - BOOST_LIBS+= $(1) - - PKG_CONFIG_DEPENDS+= CONFIG_PACKAGE_boost-$(1) - - define Package/boost-$(1) - $(call Package/boost/Default) - TITLE+= ($(1)) - DEPENDS+= $$(foreach lib,$(2),+boost-$$(lib)) $(3) - HIDDEN:=1 - endef - - define Package/boost-$(1)/description - $(call Package/boost/description/Default) - . - This package contains the Boost $(1) library. - endef -endef - -$(eval $(call DefineBoostLibrary,atomic,system,)) -$(eval $(call DefineBoostLibrary,chrono,system,)) -$(eval $(call DefineBoostLibrary,container,,)) -$(eval $(call DefineBoostLibrary,context,,)) -$(eval $(call DefineBoostLibrary,coroutine,system chrono context thread,)) -$(eval $(call DefineBoostLibrary,date_time,,)) -#$(eval $(call DefineBoostLibrary,exception,,)) -$(eval $(call DefineBoostLibrary,filesystem,system,)) -$(eval $(call DefineBoostLibrary,graph,regex,)) -#$(eval $(call DefineBoostLibrary,graph_parallel,,)) -$(eval $(call DefineBoostLibrary,iostreams,,+zlib)) -$(eval $(call DefineBoostLibrary,locale,system,$(ICONV_DEPENDS))) -$(eval $(call DefineBoostLibrary,log,system chrono date_time thread filesystem regex,)) -$(eval $(call DefineBoostLibrary,math,,)) -#$(eval $(call DefineBoostLibrary,mpi,,)) -$(eval $(call DefineBoostLibrary,program_options,,)) -$(eval $(call DefineBoostLibrary,random,system,)) -$(eval $(call DefineBoostLibrary,python,,+PACKAGE_boost-python:python)) -$(eval $(call DefineBoostLibrary,regex,,)) -$(eval $(call DefineBoostLibrary,serialization,,)) -$(eval $(call DefineBoostLibrary,signals,,)) -$(eval $(call DefineBoostLibrary,system,,)) -$(eval $(call DefineBoostLibrary,thread,system chrono atomic,)) -$(eval $(call DefineBoostLibrary,timer,chrono)) -$(eval $(call DefineBoostLibrary,wave,date_time thread filesystem,)) - -define Host/Compile - # bjam does not provide a configure-script nor a Makefile - ( cd $(HOST_BUILD_DIR)/tools/build/src/engine ; ./build.sh gcc ) -endef - -CONFIGURE_PREFIX:=$(PKG_INSTALL_DIR) -TARGET_LDFLAGS += -pthread -lrt - - -ifneq ($(findstring mips,$(ARCH)),) - BOOST_ABI = o32 - ifneq ($(findstring 64,$(ARCH)),) - BOOST_ABI = o64 - endif -else ifneq ($(findstring arm,$(ARCH)),) - BOOST_ABI = aapcs -else ifeq ($(ARCH),aarch64) - BOOST_ABI = aapcs -else - BOOST_ABI = sysv -endif - - -define Build/Compile - $(info Selected Boost API $(BOOST_ABI) for architecture $(ARCH) and cpu $(CPU_TYPE) $(CPU_SUBTYPE)) - ( cd $(PKG_BUILD_DIR) ; \ - echo "using gcc : $(ARCH) : $(GNU_TARGET_NAME)-gcc : \"$(TARGET_CFLAGS)\" \"$(TARGET_CXXFLAGS)\" \"$(TARGET_LDFLAGS)\" ;" > tools/build/src/user-config.jam ; \ - $(if $(CONFIG_PACKAGE_boost-python), \ - echo "using python : : $(STAGING_DIR_ROOT)/usr/bin/python : $(STAGING_DIR)/usr/include/python2.7/ ;" >> \ - tools/build/src/user-config.jam; \ - ) \ - bjam \ - '-sBUILD=release space on off' \ - --toolset=gcc-$(ARCH) --build-type=minimal --layout=system abi=$(BOOST_ABI) \ - --disable-long-double \ - $(CONFIGURE_ARGS) \ - --without-mpi \ - $(if $(CONFIG_PACKAGE_boost-test),,--without-test) \ - $(foreach lib,$(BOOST_LIBS), \ - $(if $(CONFIG_PACKAGE_boost-$(lib)),,--without-$(lib)) \ - ) \ - $(if $(CONFIG_PACKAGE_boost-locale),boost.locale.iconv=on -sICONV_PATH=$(ICONV_PREFIX) boost.locale.posix=$(if $(USE_UCLIBC),on,off), \ - boost.locale.iconv=off) \ - \ - $(if $(CONFIG_PACKAGE_boost-iostreams),-sNO_BZIP2=1 -sZLIB_INCLUDE=$(STAGING_DIR)/usr/include \ - -sZLIB_LIBPATH=$(STAGING_DIR)/usr/lib) \ - install \ - ) -endef - -define Build/InstallDev - $(INSTALL_DIR) \ - $(1)/usr/include/boost/ - - $(CP) \ - $(PKG_INSTALL_DIR)/include/boost/* \ - $(1)/usr/include/boost/ \ - # copies _all_ header files - independent of <--with-library>-argument above - - if [ -d $(PKG_INSTALL_DIR)/lib ]; then \ - $(INSTALL_DIR) \ - $(1)/usr/lib; \ - $(CP) \ - $(PKG_INSTALL_DIR)/lib/*.a \ - $(1)/usr/lib/; \ - $(CP) \ - $(PKG_INSTALL_DIR)/lib/*.so* \ - $(1)/usr/lib/; \ - fi -endef - -define Host/Install - $(INSTALL_DIR) \ - $(STAGING_DIR_HOST)/bin - - $(CP) \ - $(HOST_BUILD_DIR)/tools/build/src/engine/bin.*/bjam \ - $(STAGING_DIR_HOST)/bin/ -endef - -define Package/boost/Default/install - $(INSTALL_DIR) \ - $(1)/usr/lib - - $(CP) \ - $(PKG_INSTALL_DIR)/lib/libboost_$(2)*.so* \ - $(1)/usr/lib/ -endef - -define Package/boost-test/install - $(INSTALL_DIR) \ - $(1)/usr/lib - - $(CP) \ - $(PKG_INSTALL_DIR)/lib/libboost_unit_test_framework*.so* \ - $(1)/usr/lib/ - - $(CP) \ - $(PKG_INSTALL_DIR)/lib/libboost_prg_exec_monitor*.so* \ - $(1)/usr/lib/ -endef - -define BuildBoostLibrary - define Package/boost-$(1)/install - $(call Package/boost/Default/install,$$(1),$(1)) - endef - - $$(eval $$(call BuildPackage,boost-$(1))) -endef - -$(eval $(call HostBuild)) - -$(foreach lib,$(BOOST_LIBS),$(eval $(call BuildBoostLibrary,$(lib)))) -$(eval $(call BuildPackage,boost-test)) - -$(eval $(call BuildPackage,boost-libs)) -$(eval $(call BuildPackage,boost)) diff --git a/trunk/package/feeds/packages/boost/patches/100-do-not-use-librt.patch b/trunk/package/feeds/packages/boost/patches/100-do-not-use-librt.patch deleted file mode 100644 index a7560c6f..00000000 --- a/trunk/package/feeds/packages/boost/patches/100-do-not-use-librt.patch +++ /dev/null @@ -1,28 +0,0 @@ -Index: boost_1_57_0/tools/build/src/tools/gcc.jam -=================================================================== ---- boost_1_57_0.orig/tools/build/src/tools/gcc.jam -+++ boost_1_57_0/tools/build/src/tools/gcc.jam -@@ -1037,7 +1037,7 @@ rule setup-threading ( targets * : sourc - case *bsd : option = -pthread ; # There is no -lrt on BSD. - case sgi : # gcc on IRIX does not support multi-threading. - case darwin : # No threading options. -- case * : option = -pthread ; libs = rt ; -+ case * : # pass appropriate options via OpenWrt - } - - if $(option) -Index: boost_1_57_0/tools/build/src/tools/gcc.py -=================================================================== ---- boost_1_57_0.orig/tools/build/src/tools/gcc.py -+++ boost_1_57_0/tools/build/src/tools/gcc.py -@@ -700,8 +700,8 @@ elif bjam.variable('UNIX'): - # Darwin has no threading options, don't set anything here. - pass - else: -- flags('gcc', 'OPTIONS', ['multi'], ['-pthread']) -- flags('gcc', 'FINDLIBS-SA', [], ['rt']) -+ # pass appropriate options via OpenWrt -+ pass - - def cpu_flags(toolset, variable, architecture, instruction_set, values, default=None): - #FIXME: for some reason this fails. Probably out of date feature code diff --git a/trunk/package/feeds/packages/btrfs-progs/Makefile b/trunk/package/feeds/packages/btrfs-progs/Makefile deleted file mode 100644 index 12513e15..00000000 --- a/trunk/package/feeds/packages/btrfs-progs/Makefile +++ /dev/null @@ -1,65 +0,0 @@ -# -# Copyright (C) 2009-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=btrfs-progs -PKG_VERSION:=3.19.1 -PKG_RELEASE:=3 - -PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.xz -PKG_SOURCE_URL:=@KERNEL/linux/kernel/people/kdave/btrfs-progs/ -PKG_MD5SUM:=ec3b3c99df18633ddc9e41f0680c5a51 -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-v$(PKG_VERSION) - -PKG_MAINTAINER:=Daniel Golle -PKG_LICENSE:=GPL-2.0 -PKG_LICENSE_FILES:=COPYING - -PKG_INSTALL:=1 -PKG_BUILD_PARALLEL:=1 -PKG_BUILD_DEPENDS:=libacl - -PKG_FIXUP:=autoreconf - -include $(INCLUDE_DIR)/package.mk - -define Package/btrfs-progs - SECTION:=utils - CATEGORY:=Utilities - SUBMENU:=Filesystem - DEPENDS:=+libattr +libuuid +zlib +libblkid +liblzo +libpthread - TITLE:=Btrfs filesystems utilities - URL:=http://btrfs.wiki.kernel.org/ -endef - -define Package/btrfs-progs/description - Btrfs is a new copy on write filesystem for Linux aimed at implementing - advanced features while focusing on fault tolerance, repair and easy - administration. Initially developed by Oracle, Btrfs is licensed under the - GPL and open for contribution from anyone. -endef - -progs = btrfs btrfs-debug-tree btrfs-find-root btrfs-image btrfs-map-logical \ - btrfs-show-super btrfstune btrfs-zero-log fsck.btrfs mkfs.btrfs - -CONFIGURE_ARGS += \ - --disable-backtrace \ - --disable-convert \ - --disable-documentation - -define Package/btrfs-progs/install - $(INSTALL_DIR) $(1)/usr/lib - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libbtrfs.so* $(1)/usr/lib - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(addprefix $(PKG_INSTALL_DIR)/usr/bin/, $(progs)) $(1)/usr/bin/ - $(LN) btrfs $(1)/usr/bin/btrfsck - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) ./files/btrfs-scan.init $(1)/etc/init.d/btrfs-scan -endef - -$(eval $(call BuildPackage,btrfs-progs)) diff --git a/trunk/package/feeds/packages/btrfs-progs/files/btrfs-scan.init b/trunk/package/feeds/packages/btrfs-progs/files/btrfs-scan.init deleted file mode 100644 index 762e0b84..00000000 --- a/trunk/package/feeds/packages/btrfs-progs/files/btrfs-scan.init +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2014 OpenWrt.org - -START=19 - -start() { - grep -q btrfs /proc/filesystems && /usr/bin/btrfs device scan -} - diff --git a/trunk/package/feeds/packages/btrfs-progs/patches/001-fix-xattr-h-include-location.patch b/trunk/package/feeds/packages/btrfs-progs/patches/001-fix-xattr-h-include-location.patch deleted file mode 100644 index aff55855..00000000 --- a/trunk/package/feeds/packages/btrfs-progs/patches/001-fix-xattr-h-include-location.patch +++ /dev/null @@ -1,79 +0,0 @@ -Index: btrfs-progs-v3.19.1/mkfs.c -=================================================================== ---- btrfs-progs-v3.19.1.orig/mkfs.c -+++ btrfs-progs-v3.19.1/mkfs.c -@@ -31,7 +31,7 @@ - #include - #include - #include --#include -+#include - #include - #include - #include -Index: btrfs-progs-v3.19.1/props.c -=================================================================== ---- btrfs-progs-v3.19.1.orig/props.c -+++ btrfs-progs-v3.19.1/props.c -@@ -17,7 +17,7 @@ - #include - #include - #include --#include -+#include - #include - #include - -Index: btrfs-progs-v3.19.1/cmds-receive.c -=================================================================== ---- btrfs-progs-v3.19.1.orig/cmds-receive.c -+++ btrfs-progs-v3.19.1/cmds-receive.c -@@ -34,7 +34,7 @@ - #include - #include - #include --#include -+#include - #include - - #include "ctree.h" -Index: btrfs-progs-v3.19.1/cmds-restore.c -=================================================================== ---- btrfs-progs-v3.19.1.orig/cmds-restore.c -+++ btrfs-progs-v3.19.1/cmds-restore.c -@@ -32,7 +32,7 @@ - #include - #include - #include --#include -+#include - - #include "ctree.h" - #include "disk-io.h" -Index: btrfs-progs-v3.19.1/Makefile.in -=================================================================== ---- btrfs-progs-v3.19.1.orig/Makefile.in -+++ btrfs-progs-v3.19.1/Makefile.in -@@ -21,7 +21,7 @@ CFLAGS = @CFLAGS@ \ - LDFLAGS = @LDFLAGS@ \ - -rdynamic - --LIBS = @UUID_LIBS@ @BLKID_LIBS@ @ZLIB_LIBS@ @LZO2_LIBS@ -L. -pthread -+LIBS = @ATTR_LIBS@ @UUID_LIBS@ @BLKID_LIBS@ @ZLIB_LIBS@ @LZO2_LIBS@ -L. -pthread - LIBBTRFS_LIBS = $(LIBS) - - # Static compilation flags -Index: btrfs-progs-v3.19.1/configure.ac -=================================================================== ---- btrfs-progs-v3.19.1.orig/configure.ac -+++ btrfs-progs-v3.19.1/configure.ac -@@ -115,6 +115,9 @@ dnl - dnl The default PKG_CHECK_MODULES() action-if-not-found is end the - dnl execution with error. The static libs are optional. - -+PKG_CHECK_MODULES(ATTR, [libattr]) -+PKG_STATIC(BLKID_LIBS_STATIC, [libattr]) -+ - PKG_CHECK_MODULES(BLKID, [blkid]) - PKG_STATIC(BLKID_LIBS_STATIC, [blkid]) - diff --git a/trunk/package/feeds/packages/bwm-ng/Config.in b/trunk/package/feeds/packages/bwm-ng/Config.in deleted file mode 100644 index d822e12f..00000000 --- a/trunk/package/feeds/packages/bwm-ng/Config.in +++ /dev/null @@ -1,35 +0,0 @@ -# bwm-ng advanced configuration - -menu "Configuration" - depends on PACKAGE_bwm-ng - -config BWMNG_CONFIGFILE - bool "enable configfile support" - default n - -config BWMNG_HTML - bool "enable html output" - default n - -config BWMNG_CSV - bool "enable csv output" - default n - -config BWMNG_EXTENDEDSTATS - bool "enable max, sum and avg stats" - default y - -config BWMNG_LIBNCURSES - bool "enable libncurses support" - default n - -config BWMNG_TIME - bool "enable accurate time calculating" - default y - -config BWMNG_GETOPT_LONG - bool "enable long options" - default n - -endmenu - diff --git a/trunk/package/feeds/packages/bwm-ng/Makefile b/trunk/package/feeds/packages/bwm-ng/Makefile deleted file mode 100644 index be017cc0..00000000 --- a/trunk/package/feeds/packages/bwm-ng/Makefile +++ /dev/null @@ -1,61 +0,0 @@ -# -# Copyright (C) 2014 OpenWrt.org -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=bwm-ng -PKG_VERSION:=0.6 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://www.gropp.org/bwm-ng -PKG_MD5SUM:=d3a02484fb7946371bfb4e10927cebfb -PKG_MAINTAINER:=Julen Landa Alustiza -PKG_LICENSE:=GPL2-2.0 -PKG_LICENSE_FILES:=COPYING - -PKG_INSTALL:=1 -PKG_BUILD_PARALLEL:=1 - -include $(INCLUDE_DIR)/package.mk - -define Package/bwm-ng - SECTION:=net - CATEGORY:=Network - DEPENDS:=+BWMNG_LIBNCURSES:libncurses - TITLE:=bwm-ng - URL:=http://www.gropp.org/?id=projects&sub=bwm-ng - MENU:=1 -endef - -define Package/bwm-ng/description - Bandwidth Monitor NG is a small and simple console-based live - network and disk io bandwidth monitor. -endef - -define Package/bwm-ng/config - source "$(SOURCE)/Config.in" -endef - -define Build/Configure - $(call Build/Configure/Default, \ - $(if $(CONFIG_BWMNG_CONFIGFILE),--enable,--disable)-configfile \ - $(if $(CONFIG_BWMNG_HTML),--enable,--disable)-html \ - $(if $(CONFIG_BWMNG_CSV),--enable,--disable)-csv \ - $(if $(CONFIG_BWMNG_EXTENDEDSTATS),--enable,--disable)-extendedstats \ - $(if $(CONFIG_BWMNG_LIBNCURSES),--with,--without)-ncurses \ - $(if $(CONFIG_BWMNG_TIME),--with,--without)-time \ - $(if $(CONFIG_BWMNG_GETOPT_LONG),--with,--without)-getopt_long \ - --with-strip \ - --with-procnetdev \ - --with-diskstats \ - ) -endef - -define Package/bwm-ng/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/bwm-ng $(1)/usr/bin/ -endef - -$(eval $(call BuildPackage,bwm-ng)) diff --git a/trunk/package/feeds/packages/bzip2/Makefile b/trunk/package/feeds/packages/bzip2/Makefile deleted file mode 100644 index c633344c..00000000 --- a/trunk/package/feeds/packages/bzip2/Makefile +++ /dev/null @@ -1,80 +0,0 @@ -# -# Copyright (C) 2007-2008 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=bzip2 -PKG_VERSION:=1.0.6 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://www.bzip.org/$(PKG_VERSION) -PKG_MD5SUM:=00b516f4704d4a7cb50a1d97e6e8e15b -PKG_MAINTAINER:=Steven Barth - -PKG_LICENSE:=BZIP2 -PKG_LICENSE_FILES:=LICENSE - -include $(INCLUDE_DIR)/package.mk - -define Package/libbz2 - SECTION:=libs - CATEGORY:=Libraries - DEPENDS:= - TITLE:=bzip2 library. - URL:=http://www.bzip.org/ -endef - -define Package/libbz2/description - bzip2 is a freely available, patent free, high-quality - data compressor. This packages provides libbz2 library. -endef - -define Package/bzip2 - SECTION:=utils - CATEGORY:=Utilities - DEPENDS:=+libbz2 - TITLE:=bzip2 is a compression utility. - URL:=http://www.bzip.org/ -endef - -define Package/bzip2/description - bzip2 is a freely available, patent free, high-quality - data compressor. This package provides the binary. -endef - -TARGET_CFLAGS += $(FPIC) -CONFIGURE_ARGS += --prefix=/usr - -MAKE_FLAGS += \ - -f Makefile-libbz2_so \ - CFLAGS="$(TARGET_CFLAGS)" \ - LDFLAGS="$(TARGET_LDLAGS)" \ - all - -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include - $(CP) $(PKG_BUILD_DIR)/bzlib.h $(1)/usr/include/ - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_BUILD_DIR)/libbz2.so.$(PKG_VERSION) $(1)/usr/lib/ - $(LN) libbz2.so.$(PKG_VERSION) $(1)/usr/lib/libbz2.so.1.0 - $(LN) libbz2.so.$(PKG_VERSION) $(1)/usr/lib/libbz2.so -endef - -define Package/libbz2/install - $(INSTALL_DIR) $(1)/usr/lib/ - $(CP) $(PKG_BUILD_DIR)/libbz2.so.$(PKG_VERSION) $(1)/usr/lib/ - $(LN) libbz2.so.$(PKG_VERSION) $(1)/usr/lib/libbz2.so.1.0 -endef - -define Package/bzip2/install - $(INSTALL_DIR) $(1)/usr/bin/ - $(INSTALL_BIN) $(PKG_BUILD_DIR)/bzip2-shared $(1)/usr/bin/bzip2 -endef - -$(eval $(call BuildPackage,libbz2)) -$(eval $(call BuildPackage,bzip2)) diff --git a/trunk/package/feeds/packages/c-ares/Makefile b/trunk/package/feeds/packages/c-ares/Makefile deleted file mode 100644 index 815a379a..00000000 --- a/trunk/package/feeds/packages/c-ares/Makefile +++ /dev/null @@ -1,51 +0,0 @@ -# -# Copyright (C) 2009-2010 OpenWrt.org -# Copyright (C) 2009 Jakob Pfeiffer -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=c-ares -PKG_VERSION:=1.10.0 -PKG_RELEASE:=1 -PKG_LICENSE:=MIT - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://c-ares.haxx.se/download -PKG_MD5SUM:=1196067641411a75d3cbebe074fd36d8 - -PKG_FIXUP:=autoreconf -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/package.mk - -define Package/libcares - SECTION:=libs - CATEGORY:=Libraries - TITLE:=Library for asyncronous DNS Requests (including name resolves) - URL:=http://c-ares.haxx.se/ - MAINTAINER:=Karl Palsson -endef - -define Package/libcares/description - c-ares is a C library for asynchronous DNS requests (including name resolves) - -C89 compatibility, MIT licensed, builds for and runs on POSIX, Windows, -Netware, Android and many more operating systems. - -endef - -define Package/libcares/install - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so.* $(1)/usr/lib/ -endef - -define Build/InstallDev - $(INSTALL_DIR) $(1) - $(CP) $(PKG_INSTALL_DIR)/* $(1)/ -endef - -$(eval $(call BuildPackage,libcares)) diff --git a/trunk/package/feeds/packages/ccid/Makefile b/trunk/package/feeds/packages/ccid/Makefile deleted file mode 100644 index ce059cbb..00000000 --- a/trunk/package/feeds/packages/ccid/Makefile +++ /dev/null @@ -1,52 +0,0 @@ -# -# Copyright (C) 2009-2012 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=ccid -PKG_VERSION:=1.4.18 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=https://alioth.debian.org/frs/download.php/file/4111 -PKG_MD5SUM:=8d57342bda53aaee706ef2d02409c4f4 -PKG_MAINTAINER:=Daniel Golle -PKG_LICENSE:=LGPL-2.1+ -PKG_LICENSE_FILES:=COPYING - -PKG_FIXUP:=libtool -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/package.mk - -define Package/ccid - SECTION:=libs - CATEGORY:=Libraries - DEPENDS:=+libusb-1.0 +libpcsclite - TITLE:=Generic USB CCID smart card reader driver - URL:=http://pcsclite.alioth.debian.org/ccid.html -endef - -define Package/ccid/description - Generic USB CCID (Chip/Smart Card Interface Devices) driver and ICCD - (Integrated Circuit(s) Card Devices). -endef - -TARGET_CFLAGS += $(FPIC) - -TARGET_LDFLAGS += "-lpthread" - -CONFIGURE_ARGS += \ - --enable-embedded \ - --enable-usbdropdir=/usr/lib/pcsc/drivers - -define Package/ccid/install - $(INSTALL_DIR) $(1)/usr/lib/pcsc - $(CP) $(PKG_INSTALL_DIR)/usr/lib/pcsc/drivers $(1)/usr/lib/pcsc/ -endef - -$(eval $(call BuildPackage,ccid)) diff --git a/trunk/package/feeds/packages/ccrypt/Makefile b/trunk/package/feeds/packages/ccrypt/Makefile deleted file mode 100644 index 2419ab74..00000000 --- a/trunk/package/feeds/packages/ccrypt/Makefile +++ /dev/null @@ -1,39 +0,0 @@ -# -# Copyright (C) 2009-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=ccrypt -PKG_VERSION:=1.10 -PKG_RELEASE:=2 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=@SF/ccrypt -PKG_MD5SUM:=44ddd763465c254df83f5d38851d04d7 -PKG_MAINTAINER:=Hannu Nyman -PKG_LICENSE:=GPLv2+ - -PKG_FIXUP:=autoreconf - -include $(INCLUDE_DIR)/package.mk - -define Package/ccrypt - SECTION:=utils - CATEGORY:=Utilities - TITLE:=ccrypt is a utility for encrypting and decrypting files and streams - URL:=http://ccrypt.sourceforge.net/ -endef - -define Package/ccrypt/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ccrypt $(1)/usr/bin/ - ln -s ccrypt $(1)/usr/bin/ccencrypt - ln -s ccrypt $(1)/usr/bin/ccdecrypt - ln -s ccrypt $(1)/usr/bin/ccat -endef - -$(eval $(call BuildPackage,ccrypt)) diff --git a/trunk/package/feeds/packages/ccrypt/patches/001-no-intl.patch b/trunk/package/feeds/packages/ccrypt/patches/001-no-intl.patch deleted file mode 100644 index 4ac9abb2..00000000 --- a/trunk/package/feeds/packages/ccrypt/patches/001-no-intl.patch +++ /dev/null @@ -1,89 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -123,17 +123,6 @@ AC_MSG_RESULT($UINT32_TYPE) - AC_DEFINE_UNQUOTED(UINT32_TYPE,$UINT32_TYPE,unsigned 32 bit integer type) - - dnl ---------------------------------------------------------------------- --dnl Internationalization -- --GETTEXT_PACKAGE=ccrypt --AC_SUBST(GETTEXT_PACKAGE) --AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Package name for gettext]) -- --AM_GNU_GETTEXT --AM_GNU_GETTEXT_VERSION([0.14.3]) --IT_PO_SUBDIR(po) -- --dnl ---------------------------------------------------------------------- - dnl Libtool (needed by intl/) - - LT_INIT -@@ -153,9 +142,7 @@ AC_SUBST(TAR) - dnl ---------------------------------------------------------------------- - AC_CONFIG_FILES([doc/ccrypt.1 - doc/ccguess.1 -- po/Makefile.in - m4/Makefile -- intl/Makefile - Makefile - src/Makefile - emacs/Makefile ---- a/Makefile.am -+++ b/Makefile.am -@@ -4,7 +4,7 @@ - - ## Process this file with automake to produce Makefile.in - --SUBDIRS = m4 po intl src emacs doc check -+SUBDIRS = m4 src emacs doc check - - EXTRA_DIST = m4/ChangeLog config.rpath README-WIN - ---- a/Makefile.in -+++ b/Makefile.in -@@ -36,7 +36,7 @@ host_triplet = @host@ - subdir = . - DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in $(srcdir)/config.h.in \ -- $(top_srcdir)/configure $(top_srcdir)/intl/Makefile.in \ -+ $(top_srcdir)/configure \ - ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS config.guess \ - config.rpath config.sub depcomp elisp-comp install-sh \ - ltmain.sh missing mkinstalldirs -@@ -66,7 +66,7 @@ am__CONFIG_DISTCLEAN_FILES = config.stat - configure.lineno config.status.lineno - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - CONFIG_HEADER = config.h --CONFIG_CLEAN_FILES = intl/Makefile -+CONFIG_CLEAN_FILES = - CONFIG_CLEAN_VPATH_FILES = - SOURCES = - DIST_SOURCES = -@@ -277,7 +277,7 @@ target_alias = @target_alias@ - top_build_prefix = @top_build_prefix@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ --SUBDIRS = m4 po intl src emacs doc check -+SUBDIRS = m4 src emacs doc check - EXTRA_DIST = m4/ChangeLog config.rpath README-WIN - ACLOCAL_AMFLAGS = -I m4 - all: config.h ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -56,4 +56,4 @@ uninstall-local: - # internationalization stuff - localedir = $(datadir)/locale - INCLUDES = -I../intl -I$(top_srcdir)/intl -DLOCALEDIR=\"$(localedir)\" --LIBS = @LIBINTL@ @LIBS@ -+LIBS = @LIBS@ ---- a/src/Makefile.in -+++ b/src/Makefile.in -@@ -159,7 +159,7 @@ LDFLAGS = @LDFLAGS@ - LIBICONV = @LIBICONV@ - LIBINTL = @LIBINTL@ - LIBOBJS = @LIBOBJS@ --LIBS = @LIBINTL@ @LIBS@ -+LIBS = @LIBS@ - LIBTOOL = @LIBTOOL@ - LIPO = @LIPO@ - LN_S = @LN_S@ diff --git a/trunk/package/feeds/packages/check/Makefile b/trunk/package/feeds/packages/check/Makefile deleted file mode 100644 index b565d4dd..00000000 --- a/trunk/package/feeds/packages/check/Makefile +++ /dev/null @@ -1,58 +0,0 @@ -# -# Copyright (C) 2008-2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=check -PKG_VERSION:=0.9.14 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=@SF/check -PKG_MD5SUM:=38263d115d784c17aa3b959ce94be8b8 - -PKG_LICENSE:=LGPL-2.1+ -PKG_LICENSE_FILES:=COPYING.LESSER -PKG_MAINTAINER:=Nicolas Thill - -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/package.mk - -define Package/check - SECTION:=libs - CATEGORY:=Libraries - TITLE:=Unit testing framework for C - URL:=http://check.sourceforge.net/ - DEPENDS:= +libpthread +librt -endef - -define Package/check/description - Check features a simple interface for defining unit tests, putting little in - the way of the developer. Tests are run in a separate address space, so Check - can catch both assertion failures and code errors that cause segmentation - faults or other signals. The output from unit tests can be used within source - code editors and IDEs. -endef - -TARGET_CFLAGS += $(FPIC) - -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include - $(CP) $(PKG_INSTALL_DIR)/usr/include/check*.h $(1)/usr/include/ - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcheck.{a,so*} $(1)/usr/lib/ - $(INSTALL_DIR) $(1)/usr/lib/pkgconfig - $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/check.pc $(1)/usr/lib/pkgconfig/ -endef - -define Package/check/install - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcheck.so.* $(1)/usr/lib/ -endef - -$(eval $(call BuildPackage,check)) diff --git a/trunk/package/feeds/packages/cmdpad/Makefile b/trunk/package/feeds/packages/cmdpad/Makefile deleted file mode 100644 index 5b9f52d1..00000000 --- a/trunk/package/feeds/packages/cmdpad/Makefile +++ /dev/null @@ -1,61 +0,0 @@ -# -# Copyright (C) 2007-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=cmdpad -PKG_VERSION:=0.0.3 -PKG_RELEASE:=3 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz -PKG_SOURCE_URL:=@SF/cmdpad -PKG_MD5SUM:=6633b2354b7f23f9cd8e2bfb6e735965 - -PKG_MAINTAINER:=Ted Hess -PKG_LICENSE:=MIT -PKG_LICENSE_FILES:=doc/COPYING - -include $(INCLUDE_DIR)/package.mk - -define Package/cmdpad - SECTION:=utils - CATEGORY:=Utilities - TITLE:=execute commands when a key is pressed, released or hold down - URL:=http://cmdpad.sourceforge.net/index.php -endef - -CONFIGURE_ARGS += \ - --enable-static \ - --enable-shared - -define Package/cmdpad/description - cmdpad - execute commands when a key is pressed, released or hold down. - Should be started from /etc/rc or /etc/rc.local. To run it as deamon you - need to start it with '&'. All logs are printed to standard out and standard - error (to write the log to disk use cmdpad > /var/log/cmdpad). Cmdpad - searches for /etc/cmdpad.conf and load the key bindings. Then wait for - key event and check each command to see if it should be run. -endef - -MAKE_FLAGS += \ - $(TARGET_CONFIGURE_OPTS) \ - $(1) - -define Package/cmdpad/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_DIR) $(1)/etc - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/cmdpad $(1)/usr/sbin/ - $(INSTALL_CONF) $(PKG_BUILD_DIR)/src/cmdpad.conf $(1)/etc/ - $(INSTALL_BIN) ./files/cmdpad.init $(1)/etc/init.d/cmdpad -endef - -define Package/cmdpad/conffiles -/etc/cmdpad.conf -endef - -$(eval $(call BuildPackage,cmdpad)) diff --git a/trunk/package/feeds/packages/cmdpad/files/cmdpad.init b/trunk/package/feeds/packages/cmdpad/files/cmdpad.init deleted file mode 100644 index f6120335..00000000 --- a/trunk/package/feeds/packages/cmdpad/files/cmdpad.init +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2007-2011 OpenWrt.org - -START=93 - -SSD_DAEMONIZE=1 - -start() { - service_start /usr/sbin/cmdpad --quiet -} - -stop() { - service_stop /usr/sbin/cmdpad -} diff --git a/trunk/package/feeds/packages/cmdpad/patches/100-Makefile.patch b/trunk/package/feeds/packages/cmdpad/patches/100-Makefile.patch deleted file mode 100644 index 61a6c8f4..00000000 --- a/trunk/package/feeds/packages/cmdpad/patches/100-Makefile.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- cmdpad-0.0.3/src/Makefile.orig 2008-01-05 23:29:44.000000000 +0100 -+++ cmdpad-0.0.3/src/Makefile 2008-01-05 23:30:23.000000000 +0100 -@@ -5,25 +5,25 @@ - TOP=.. - include $(TOP)/Makefile.common - --INCLUDE= -I/usr/include --LIBS= -L/usr/lib -lc --CFLAGS= -g3 --LDFLAGS= -Xlinker -Map -Xlinker $(PROG).map #,--stack,16Mb -+#INCLUDE= -I/usr/include -+#LIBS= -L/usr/lib -lc -+#CFLAGS= -g3 -+#LDFLAGS= -Xlinker -Map -Xlinker $(PROG).map #,--stack,16Mb - OBJ= main.o command.o parse.o - SCRIPTS= *.sh - - build: $(PROG) - - $(PROG): $(OBJ) -- gcc -o $(PROG) $(OBJ) $(LIBS) $(LDFLAGS) -+ $(GCC) -o $(PROG) $(OBJ) $(LIBS) $(LDFLAGS) - @echo "===============================================" - @echo "edit $(PROG).conf file to set default preferences" - - %.o : %.c -- gcc $(CFLAGS) -D__COPYLEFT__='$(COPYLEFT)' -c $< -+ $(GCC) $(CFLAGS) -D__COPYLEFT__='$(COPYLEFT)' -c $< - - %.o : %.c %.h -- gcc $(CFLAGS) -D__COPYLEFT__='$(COPYLEFT)' -c $< -+ $(GCC) $(CFLAGS) -D__COPYLEFT__='$(COPYLEFT)' -c $< - - distclean clean: - rm $(PROG) *~ *.o -vf diff --git a/trunk/package/feeds/packages/cmdpad/patches/120-kernel26-compat.patch b/trunk/package/feeds/packages/cmdpad/patches/120-kernel26-compat.patch deleted file mode 100644 index eb7beeb3..00000000 --- a/trunk/package/feeds/packages/cmdpad/patches/120-kernel26-compat.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- cmdpad-0.0.3/src/parse.orig 2008-01-05 23:55:32.000000000 +0100 -+++ cmdpad-0.0.3/src/parse.c 2008-01-05 23:56:07.000000000 +0100 -@@ -289,6 +289,12 @@ - pchEventDevice = strdup( pchValue) ; - return 1 ; - } -+ if( (pchValue != NULL) && -+ (strncmp( pchValue, "/dev/event", 6) == 0) ) -+ { -+ pchEventDevice = strdup( pchValue) ; -+ return 1 ; -+ } - printf( "Option 'device' expects a /dev/input/eventX argument\n"); - return -1 ; - } diff --git a/trunk/package/feeds/packages/cmdpad/patches/130-no_zombie.patch b/trunk/package/feeds/packages/cmdpad/patches/130-no_zombie.patch deleted file mode 100644 index aa4fc6a0..00000000 --- a/trunk/package/feeds/packages/cmdpad/patches/130-no_zombie.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- cmdpad-0.0.3/src/command.c.orig 2003-03-29 17:54:12.000000000 +0100 -+++ cmdpad-0.0.3/src/command.c 2008-01-12 05:41:22.000000000 +0100 -@@ -68,6 +68,7 @@ - - void exec( char * command) - { -+ int status; - if( fork() == 0) { - char ** tmp ; - int i ; -@@ -88,6 +89,7 @@ - perror( "ERROR: execv") ; - exit( 1) ; - } // end if( fork()) -+ wait(&status); - } - - int getNumberofEntry() diff --git a/trunk/package/feeds/packages/cmdpad/patches/140-compile_fix.patch b/trunk/package/feeds/packages/cmdpad/patches/140-compile_fix.patch deleted file mode 100644 index c7a9bb3d..00000000 --- a/trunk/package/feeds/packages/cmdpad/patches/140-compile_fix.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/parse.c -+++ b/src/parse.c -@@ -125,7 +125,7 @@ int readCommandLine( int argc, char *arg - - d2printf( "command line command %s found\n", pchCommandTranslations[ iCmd+1]) ; - -- vsnprintf( achCommand, sizeof( achCommand), -+ snprintf( achCommand, sizeof( achCommand), - pchCommandTranslations[ iCmd+1], - &argv[ i+1]) ; - diff --git a/trunk/package/feeds/packages/collectd/Makefile b/trunk/package/feeds/packages/collectd/Makefile deleted file mode 100644 index 61b05a88..00000000 --- a/trunk/package/feeds/packages/collectd/Makefile +++ /dev/null @@ -1,330 +0,0 @@ -# -# Copyright (C) 2006-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=collectd -PKG_VERSION:=5.4.2 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=http://collectd.org/files/ -PKG_MD5SUM:=feff9fd0ed89e956d7cf12ba18cfc248 - -PKG_FIXUP:=autoreconf -PKG_REMOVE_FILES:=aclocal.m4 libltdl/aclocal.m4 -PKG_MAINTAINER:=Jo-Philipp Wich - -PKG_INSTALL:=1 -PKG_BUILD_PARALLEL:=1 -PKG_USE_MIPS16:=0 - -COLLECTD_PLUGINS_DISABLED:= \ - amqp \ - apple_sensors \ - aquaero \ - battery \ - cgroups \ - cpufreq \ - curl_json \ - curl_xml \ - dbi \ - entropy \ - ethstat \ - genericjmx \ - gmond \ - hddtemp \ - ipmi \ - ipvs \ - java \ - libvirt \ - lpar \ - mbmon \ - md \ - memcachec \ - memcached \ - mic \ - monitorus \ - multimeter \ - netapp \ - nfs \ - notify_desktop \ - notify_email \ - numa \ - nut \ - openvz \ - oracle \ - perl \ - pf \ - pinba \ - python \ - redis \ - routeros \ - rrdcached \ - serial \ - sigrok \ - statsd \ - swap \ - tape \ - tokyotyrant \ - uuid \ - varnish \ - vserver \ - write_graphite \ - write_mongodb \ - write_redis \ - write_riemann \ - xmms \ - zfs_arc \ - -COLLECTD_PLUGINS_SELECTED:= \ - apache \ - apcups \ - ascent \ - bind \ - conntrack \ - contextswitch \ - cpu \ - csv \ - curl \ - df \ - disk \ - dns \ - email \ - exec \ - filecount \ - fscache \ - interface \ - iptables \ - irq \ - iwinfo \ - load \ - logfile \ - madwifi \ - memory \ - modbus \ - mysql \ - netlink \ - network \ - nginx \ - ntpd \ - olsrd \ - onewire \ - openvpn \ - ping \ - postgresql \ - powerdns \ - processes \ - protocols \ - rrdtool \ - sensors \ - snmp \ - syslog \ - table \ - tail \ - tcpconns \ - teamspeak2 \ - ted \ - thermal \ - unixsock \ - uptime \ - users \ - vmem \ - wireless \ - write_http \ - -PKG_CONFIG_DEPENDS:= \ - $(patsubst %,CONFIG_PACKAGE_collectd-mod-%,$(subst _,-,$(COLLECTD_PLUGINS_SELECTED))) \ - -include $(INCLUDE_DIR)/package.mk -include $(INCLUDE_DIR)/kernel.mk - -define Package/collectd/Default - SECTION:=utils - CATEGORY:=Utilities - TITLE:=Lightweight system statistics collection daemon - URL:=http://verplant.org/collectd/ -endef - -define Package/collectd -$(call Package/collectd/Default) - DEPENDS:= +libpthread +zlib +libltdl +libip4tc - MENU:=1 -endef - -define Package/collectd/description - collectd is a small daemon which collects system information periodically - and provides mechanismns to store the values in a variety of ways. -endef - -ifneq ($(CONFIG_avr32),) - TARGET_CFLAGS += -fsigned-char -endif - -# common configure args -CONFIGURE_ARGS+= \ - --disable-debug \ - --enable-daemon \ - --enable-getifaddrs \ - --with-nan-emulation \ - --without-libgcrypt - -CONFIGURE_VARS+= \ - CFLAGS="$$$$CFLAGS $(FPIC)" \ - LDFLAGS="$$$$LDFLAGS -lm -lz" \ - KERNEL_DIR="$(LINUX_DIR)" \ - -CONFIGURE_PLUGIN= \ - $(foreach m, $(1), \ - $(if $(CONFIG_PACKAGE_collectd-mod-$(subst _,-,$(m))),--enable-$(m),--disable-$(m)) \ - ) - -CONFIGURE_ARGS+= \ - $(call CONFIGURE_PLUGIN,$(COLLECTD_PLUGINS_SELECTED)) \ - $(call CONFIGURE_PLUGIN,$(COLLECTD_PLUGINS_DISABLED)) \ - -# exception: mod-ascent needs libxml2 -ifneq ($(CONFIG_PACKAGE_collectd-mod-ascent),) - CONFIGURE_VARS+= \ - CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/libxml2" -endif - -ifneq ($(CONFIG_BIG_ENDIAN),) - CONFIGURE_ARGS+= --with-fp-layout=endianflip -else - CONFIGURE_ARGS+= --with-fp-layout=nothing -endif - -ifneq ($(CONFIG_PACKAGE_collectd-mod-postgresql),) - CONFIGURE_ARGS+= --with-libpq="$(STAGING_DIR)/usr/" -endif - -ifneq ($(CONFIG_PACKAGE_collectd-mod-mysql),) - CONFIGURE_ARGS+= --with-libmysql="$(STAGING_DIR)/usr/" -endif - -# exception: mod-netlink needs libnetlink from iproute -ifneq ($(CONFIG_PACKAGE_collectd-mod-netlink),) - CONFIGURE_ARGS+= --with-libnetlink="$(STAGING_DIR)/usr" -endif - -# exception: mod-modbus needs libmodbus -ifneq ($(CONFIG_PACKAGE_collectd-mod-modbus),) - CONFIGURE_ARGS+= --with-libmodbus="$(STAGING_DIR)/usr" -endif - -# exception: mod-onewire needs libow-capi -ifneq ($(CONFIG_PACKAGE_collectd-mod-onewire),) - CONFIGURE_ARGS+= --with-libowcapi="$(STAGING_DIR)/usr" -endif - -# exception: mod-rrdtool needs rrdtool-1.0.x -ifneq ($(CONFIG_PACKAGE_collectd-mod-rrdtool),) - CONFIGURE_ARGS+= --with-librrd="$(STAGING_DIR)/usr/lib/rrdtool-1.0" -endif - -define Package/collectd/conffiles -/etc/collectd.conf -endef - -define Package/collectd/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/collectd $(1)/usr/sbin/ - $(INSTALL_DIR) $(1)/usr/share/collectd - $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/collectd/types.db $(1)/usr/share/collectd/ - $(INSTALL_DIR) $(1)/etc - $(INSTALL_CONF) ./files/collectd.conf $(1)/etc/ - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) ./files/collectd.init $(1)/etc/init.d/collectd -endef - -# 1: plugin name -# 2: plugin title/description -# 3: files -# 4: extra dependency -define BuildPlugin - - PKG_CONFIG_DEPENDS+= CONFIG_PACKAGE_collectd-mod-$(1) - - define Package/collectd-mod-$(1) - $$(call Package/collectd/Default) - TITLE:=$(2) plugin - DEPENDS:= collectd $(4) - endef - - define Package/collectd-mod-$(1)/install - $(INSTALL_DIR) $$(1)/usr/lib/collectd - for m in $(3); do \ - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/collectd/$$$$$$$${m}.so \ - $$(1)/usr/lib/collectd/ ; \ - done - endef - - $$(eval $$(call BuildPackage,collectd-mod-$(1))) - -endef - -$(eval $(call BuildPackage,collectd)) - -#$(eval $(call BuildPlugin,NAME,DESCRIPTION,FILES,DEPENDENCIES)) -$(eval $(call BuildPlugin,apache,apache status input,apache,+PACKAGE_collectd-mod-apache:libcurl)) -$(eval $(call BuildPlugin,apcups,apcups status input,apcups,)) -$(eval $(call BuildPlugin,ascent,ascent status input,ascent,+PACKAGE_collectd-mod-ascent:libcurl +PACKAGE_collectd-mod-ascent:libxml2)) -$(eval $(call BuildPlugin,bind,BIND server/zone input,bind,+PACKAGE_collectd-mod-bind:libcurl +PACKAGE_collectd-mod-bind:libxml2)) -$(eval $(call BuildPlugin,conntrack,connection tracking table size input,conntrack,)) -$(eval $(call BuildPlugin,contextswitch,context switch input,contextswitch,)) -$(eval $(call BuildPlugin,cpu,CPU input,cpu,)) -$(eval $(call BuildPlugin,csv,CSV output,csv,)) -$(eval $(call BuildPlugin,curl,cURL input,curl,+PACKAGE_collectd-mod-curl:libcurl)) -#$(eval $(call BuildPlugin,dbi,relational database input,dbi,+PACKAGE_collectd-mod-dbi:libdbi)) -$(eval $(call BuildPlugin,df,disk space input,df,)) -$(eval $(call BuildPlugin,disk,disk usage/timing input,disk,)) -$(eval $(call BuildPlugin,dns,DNS traffic input,dns,+PACKAGE_collectd-mod-dns:libpcap)) -$(eval $(call BuildPlugin,email,email output,email,)) -$(eval $(call BuildPlugin,exec,process exec input,exec,)) -$(eval $(call BuildPlugin,filecount,file count input,filecount,)) -$(eval $(call BuildPlugin,fscache,file-system based caching framework input,fscache,)) -$(eval $(call BuildPlugin,interface,network interfaces input,interface,)) -$(eval $(call BuildPlugin,iptables,iptables status input,iptables,+PACKAGE_collectd-mod-iptables:iptables +libiptc)) -$(eval $(call BuildPlugin,irq,interrupt usage input,irq,)) -$(eval $(call BuildPlugin,iwinfo,libiwinfo wireless statistics,iwinfo,+PACKAGE_collectd-mod-iwinfo:libiwinfo)) -$(eval $(call BuildPlugin,load,system load input,load,)) -$(eval $(call BuildPlugin,logfile,log files output,logfile,)) -$(eval $(call BuildPlugin,madwifi,MadWifi status input,madwifi,)) -#$(eval $(call BuildPlugin,mysql,MySQL status input,mysql,+PACKAGE_collectd-mod-mysql:libmysqlclient-r)) -$(eval $(call BuildPlugin,memory,physical memory usage input,memory,)) -$(eval $(call BuildPlugin,modbus,read variables through libmodbus,modbus,+PACKAGE_collectd-mod-modbus:libmodbus)) -$(eval $(call BuildPlugin,netlink,netlink input,netlink,+PACKAGE_collectd-mod-netlink:ip @BROKEN)) -$(eval $(call BuildPlugin,network,network input/output,network)) -$(eval $(call BuildPlugin,nginx,nginx status input,nginx,+PACKAGE_collectd-mod-nginx:libcurl)) -$(eval $(call BuildPlugin,ntpd,NTP daemon status input,ntpd,)) -#$(eval $(call BuildPlugin,nut,UPS monitoring input,nut,+PACKAGE_collectd-mod-nut:nut)) -$(eval $(call BuildPlugin,olsrd,OLSRd status input,olsrd,)) -$(eval $(call BuildPlugin,onewire,onewire sensor input,onewire,+PACKAGE_collectd-mod-onewire:libow-capi @BROKEN)) -$(eval $(call BuildPlugin,openvpn,OpenVPN traffic/compression input,openvpn,)) -$(eval $(call BuildPlugin,ping,ping status input,ping,+PACKAGE_collectd-mod-ping:liboping)) -$(eval $(call BuildPlugin,postgresql,PostgreSQL status input,postgresql,+PACKAGE_collectd-mod-postgresql:libpq)) -$(eval $(call BuildPlugin,powerdns,PowerDNS server status input,powerdns,)) -$(eval $(call BuildPlugin,processes,process status input,processes,)) -$(eval $(call BuildPlugin,protocols,network protocols input,protocols,)) -$(eval $(call BuildPlugin,rrdtool,RRDtool output,rrdtool,+PACKAGE_collectd-mod-rrdtool:librrd1)) -$(eval $(call BuildPlugin,sensors,lm_sensors input,sensors,+PACKAGE_collectd-mod-sensors:libsensors)) -$(eval $(call BuildPlugin,snmp,SNMP input,snmp,+PACKAGE_collectd-mod-snmp:libnetsnmp)) -$(eval $(call BuildPlugin,syslog,syslog output,syslog,)) -$(eval $(call BuildPlugin,tail,tail input,tail,)) -$(eval $(call BuildPlugin,table,table-like structured file input,table,)) -$(eval $(call BuildPlugin,teamspeak2,TeamSpeak2 input,teamspeak2,)) -$(eval $(call BuildPlugin,ted,The Energy Detective input,ted,@((!TARGET_avr32)||BROKEN))) # fails on avr32 because of warnings treated as errors -$(eval $(call BuildPlugin,tcpconns,TCP connection tracking input,tcpconns,)) -$(eval $(call BuildPlugin,thermal,system temperatures input,thermal,)) -$(eval $(call BuildPlugin,unixsock,unix socket output,unixsock,)) -$(eval $(call BuildPlugin,uptime,uptime status input,uptime,)) -$(eval $(call BuildPlugin,users,user logged in status input,users,)) -$(eval $(call BuildPlugin,vmem,virtual memory usage input,vmem,)) -$(eval $(call BuildPlugin,wireless,wireless status input,wireless,)) -$(eval $(call BuildPlugin,write-http,HTTP POST output,write_http,+PACKAGE_collectd-mod-write-http:libcurl)) diff --git a/trunk/package/feeds/packages/collectd/files/collectd.conf b/trunk/package/feeds/packages/collectd/files/collectd.conf deleted file mode 100644 index 2ef78fe7..00000000 --- a/trunk/package/feeds/packages/collectd/files/collectd.conf +++ /dev/null @@ -1,90 +0,0 @@ -# -# OpenWrt Config file for collectd(1). -# Please read collectd.conf(5) for a list of options. -# http://collectd.org/ -# - -#Hostname "localhost" -#FQDNLookup true -BaseDir "/var/lib/collectd" -PIDFile "/var/run/collectd.pid" -#PluginDir "/usr/lib/collectd" -#TypesDB "/usr/share/collectd/types.db" -Interval 30 -ReadThreads 2 - -#LoadPlugin syslog -#LoadPlugin logfile - -# -# LogLevel info -# - -# -# LogLevel info -# File STDOUT -# Timestamp true -# - -LoadPlugin cpu -LoadPlugin df -LoadPlugin disk -LoadPlugin interface -LoadPlugin load -LoadPlugin memory -LoadPlugin network -#LoadPlugin ping -#LoadPlugin processes -#LoadPlugin rrdtool -#LoadPlugin serial -LoadPlugin wireless - -# -# FSType tmpfs -# IgnoreSelected true -# ReportByDevice false -# ReportReserved false -# ReportInodes false -# - -# -# Disk "/^[hs]d[a-f][0-9]?$/" -# IgnoreSelected false -# - -# -# Interface "eth0" -# Interface "br-lan" -# IgnoreSelected false -# - - -# Server "ff18::efc0:4a42" "25826" - Server "239.192.74.66" "25826" -# Listen "ff18::efc0:4a42" "25826" -# Listen "239.192.74.66" "25826" -# TimeToLive "128" -# Forward false -# CacheFlush 1800 -# ReportStats false - - -# -# Host "host.foo.bar" -# Interval 1.0 -# Timeout 0.9 -# TTL 255 -# SourceAddress "1.2.3.4" -# Device "eth0" -# MaxMissed -1 -# - -# -# Process "name" -# - -# -# DataDir "/var/lib/collectd/rrd" -# CacheTimeout 120 -# CacheFlush 900 -# diff --git a/trunk/package/feeds/packages/collectd/files/collectd.init b/trunk/package/feeds/packages/collectd/files/collectd.init deleted file mode 100644 index 8204c38a..00000000 --- a/trunk/package/feeds/packages/collectd/files/collectd.init +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2006-2011 OpenWrt.org - -START=80 - -SERVICE_USE_PID=1 - -start() { - mkdir -m 0755 -p /var/lib/collectd - service_start /usr/sbin/collectd -} - -stop() { - service_stop /usr/sbin/collectd -} diff --git a/trunk/package/feeds/packages/collectd/patches/001-undefined-AM_PATH_LIBGCRYPT.patch b/trunk/package/feeds/packages/collectd/patches/001-undefined-AM_PATH_LIBGCRYPT.patch deleted file mode 100644 index 0e01744b..00000000 --- a/trunk/package/feeds/packages/collectd/patches/001-undefined-AM_PATH_LIBGCRYPT.patch +++ /dev/null @@ -1,4 +0,0 @@ ---- /dev/null -+++ b/fake-am_path_libgcrypt.m4 -@@ -0,0 +1 @@ -+AC_DEFUN([AM_PATH_LIBGCRYPT],[:]) diff --git a/trunk/package/feeds/packages/collectd/patches/003-remove-werror.patch b/trunk/package/feeds/packages/collectd/patches/003-remove-werror.patch deleted file mode 100644 index 12a05ee7..00000000 --- a/trunk/package/feeds/packages/collectd/patches/003-remove-werror.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -4,7 +4,7 @@ SUBDIRS += liboconfig - endif - - if COMPILER_IS_GCC --AM_CFLAGS = -Wall -Werror -+AM_CFLAGS = -Wall - endif - - AM_CPPFLAGS = -DPREFIX='"${prefix}"' ---- a/src/libcollectdclient/Makefile.am -+++ b/src/libcollectdclient/Makefile.am -@@ -1,7 +1,7 @@ - AUTOMAKE_OPTIONS = foreign no-dependencies - - if COMPILER_IS_GCC --AM_CFLAGS = -Wall -Werror -+AM_CFLAGS = -Wall - endif - - pkginclude_HEADERS = collectd/client.h collectd/network.h collectd/network_buffer.h collectd/lcc_features.h diff --git a/trunk/package/feeds/packages/collectd/patches/100-rrdtool-add-rrasingle-option.patch b/trunk/package/feeds/packages/collectd/patches/100-rrdtool-add-rrasingle-option.patch deleted file mode 100644 index 30a71e8d..00000000 --- a/trunk/package/feeds/packages/collectd/patches/100-rrdtool-add-rrasingle-option.patch +++ /dev/null @@ -1,57 +0,0 @@ ---- a/src/rrdtool.c -+++ b/src/rrdtool.c -@@ -82,6 +82,7 @@ static const char *config_keys[] = - "HeartBeat", - "RRARows", - "RRATimespan", -+ "RRASingle", - "XFF", - "WritesPerSecond", - "RandomTimeout" -@@ -103,6 +104,8 @@ static rrdcreate_config_t rrdcreate_conf - /* timespans = */ NULL, - /* timespans_num = */ 0, - -+ /* rrasingle = */ 0, -+ - /* consolidation_functions = */ NULL, - /* consolidation_functions_num = */ 0, - -@@ -1093,6 +1096,14 @@ static int rrd_config (const char *key, - - free (value_copy); - } -+ else if (strcasecmp ("RRASingle", key) == 0) -+ { -+ if (IS_TRUE (value)) -+ { -+ rrdcreate_config.rrasingle = 1; -+ NOTICE ("rrdtool plugin: RRASingle = true: creating only AVERAGE RRAs"); -+ } -+ } - else if (strcasecmp ("XFF", key) == 0) - { - double tmp = atof (value); ---- a/src/utils_rrdcreate.c -+++ b/src/utils_rrdcreate.c -@@ -212,6 +212,9 @@ static int rra_get (char ***ret, const v - rts_num = rra_timespans_num; - } - -+ if (cfg->rrasingle) -+ rra_types_num = 1; -+ - rra_max = rts_num * rra_types_num; - - if ((rra_def = (char **) malloc ((rra_max + 1) * sizeof (char *))) == NULL) ---- a/src/utils_rrdcreate.h -+++ b/src/utils_rrdcreate.h -@@ -36,6 +36,8 @@ struct rrdcreate_config_s - int *timespans; - size_t timespans_num; - -+ int rrasingle; -+ - char **consolidation_functions; - size_t consolidation_functions_num; - diff --git a/trunk/package/feeds/packages/collectd/patches/110-net-device-stats.patch b/trunk/package/feeds/packages/collectd/patches/110-net-device-stats.patch deleted file mode 100644 index 91e73aa3..00000000 --- a/trunk/package/feeds/packages/collectd/patches/110-net-device-stats.patch +++ /dev/null @@ -1,46 +0,0 @@ ---- - src/interface.c | 33 ++++++++++++++++++++++++++++++++- - 1 file changed, 32 insertions(+), 1 deletion(-) - ---- a/src/interface.c -+++ b/src/interface.c -@@ -203,7 +203,38 @@ static int interface_read (void) - # define IFA_RX_ERROR rx_errors - # define IFA_TX_ERROR tx_errors - #else --# error "No suitable type for `struct ifaddrs->ifa_data' found." -+struct net_device_stats { -+ unsigned long rx_packets; -+ unsigned long tx_packets; -+ unsigned long rx_bytes; -+ unsigned long tx_bytes; -+ unsigned long rx_errors; -+ unsigned long tx_errors; -+ unsigned long rx_dropped; -+ unsigned long tx_dropped; -+ unsigned long multicast; -+ unsigned long collisions; -+ unsigned long rx_length_errors; -+ unsigned long rx_over_errors; -+ unsigned long rx_crc_errors; -+ unsigned long rx_frame_errors; -+ unsigned long rx_fifo_errors; -+ unsigned long rx_missed_errors; -+ unsigned long tx_aborted_errors; -+ unsigned long tx_carrier_errors; -+ unsigned long tx_fifo_errors; -+ unsigned long tx_heartbeat_errors; -+ unsigned long tx_window_errors; -+ unsigned long rx_compressed; -+ unsigned long tx_compressed; -+}; -+# define IFA_DATA net_device_stats -+# define IFA_RX_BYTES rx_bytes -+# define IFA_TX_BYTES tx_bytes -+# define IFA_RX_PACKT rx_packets -+# define IFA_TX_PACKT tx_packets -+# define IFA_RX_ERROR rx_errors -+# define IFA_TX_ERROR tx_errors - #endif - - struct IFA_DATA *if_data; diff --git a/trunk/package/feeds/packages/collectd/patches/140-fix-fqdnlookup.patch b/trunk/package/feeds/packages/collectd/patches/140-fix-fqdnlookup.patch deleted file mode 100644 index d40463e8..00000000 --- a/trunk/package/feeds/packages/collectd/patches/140-fix-fqdnlookup.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/configfile.c -+++ b/src/configfile.c -@@ -105,7 +105,7 @@ static cf_global_option_t cf_global_opti - {"BaseDir", NULL, PKGLOCALSTATEDIR}, - {"PIDFile", NULL, PIDFILE}, - {"Hostname", NULL, NULL}, -- {"FQDNLookup", NULL, "true"}, -+ {"FQDNLookup", NULL, "false"}, - {"Interval", NULL, NULL}, - {"ReadThreads", NULL, "5"}, - {"WriteThreads", NULL, "5"}, diff --git a/trunk/package/feeds/packages/collectd/patches/150-fix-interface-af-link b/trunk/package/feeds/packages/collectd/patches/150-fix-interface-af-link deleted file mode 100644 index 806a6837..00000000 --- a/trunk/package/feeds/packages/collectd/patches/150-fix-interface-af-link +++ /dev/null @@ -1,21 +0,0 @@ ---- a/src/interface.c -+++ b/src/interface.c -@@ -244,8 +244,8 @@ struct net_device_stats { - - for (if_ptr = if_list; if_ptr != NULL; if_ptr = if_ptr->ifa_next) - { -- if (if_ptr->ifa_addr != NULL && if_ptr->ifa_addr->sa_family == AF_LINK) { -- if_data = (struct IFA_DATA *) if_ptr->ifa_data; -+ if ((if_data = (struct IFA_DATA *) if_ptr->ifa_data) == NULL) -+ continue; - - if_submit (if_ptr->ifa_name, "if_octets", - if_data->IFA_RX_BYTES, -@@ -256,7 +256,6 @@ struct net_device_stats { - if_submit (if_ptr->ifa_name, "if_errors", - if_data->IFA_RX_ERROR, - if_data->IFA_TX_ERROR); -- } - } - - freeifaddrs (if_list); diff --git a/trunk/package/feeds/packages/collectd/patches/200-fix-git-describe-error.patch b/trunk/package/feeds/packages/collectd/patches/200-fix-git-describe-error.patch deleted file mode 100644 index ac0a3251..00000000 --- a/trunk/package/feeds/packages/collectd/patches/200-fix-git-describe-error.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/version-gen.sh -+++ b/version-gen.sh -@@ -2,7 +2,7 @@ - - DEFAULT_VERSION="5.4.2.git" - --VERSION="`git describe 2> /dev/null | sed -e 's/^collectd-//'`" -+#VERSION="`git describe 2> /dev/null | sed -e 's/^collectd-//'`" - - if test -z "$VERSION"; then - VERSION="$DEFAULT_VERSION" diff --git a/trunk/package/feeds/packages/collectd/patches/400-fix-olsrd-get-all.patch b/trunk/package/feeds/packages/collectd/patches/400-fix-olsrd-get-all.patch deleted file mode 100644 index b49a0e73..00000000 --- a/trunk/package/feeds/packages/collectd/patches/400-fix-olsrd-get-all.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/olsrd.c -+++ b/src/olsrd.c -@@ -653,7 +653,7 @@ static int olsrd_read (void) /* {{{ */ - if (fh == NULL) - return (-1); - -- fputs ("\r\n", fh); -+ fputs ("/all \r\n", fh); - fflush (fh); - - while (fgets (buffer, sizeof (buffer), fh) != NULL) diff --git a/trunk/package/feeds/packages/collectd/patches/900-add-iwinfo-plugin.patch b/trunk/package/feeds/packages/collectd/patches/900-add-iwinfo-plugin.patch deleted file mode 100644 index cc95c0c7..00000000 --- a/trunk/package/feeds/packages/collectd/patches/900-add-iwinfo-plugin.patch +++ /dev/null @@ -1,279 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -580,6 +580,9 @@ AC_CHECK_HEADERS(net/pfvar.h, - have_termios_h="no" - AC_CHECK_HEADERS(termios.h, [have_termios_h="yes"]) - -+# For the iwinfo plugin -+AC_CHECK_LIB(iwinfo, iwinfo_backend, [with_iwinfo="yes"], [with_iwinfo="no (libiwinfo not found)"], []) -+ - # - # Checks for typedefs, structures, and compiler characteristics. - # -@@ -4841,6 +4844,7 @@ plugin_interface="no" - plugin_ipmi="no" - plugin_ipvs="no" - plugin_irq="no" -+plugin_iwinfo="no" - plugin_libvirt="no" - plugin_load="no" - plugin_memory="no" -@@ -5179,6 +5183,7 @@ AC_PLUGIN([ipmi], [$plugin_ipmi], - AC_PLUGIN([iptables], [$with_libiptc], [IPTables rule counters]) - AC_PLUGIN([ipvs], [$plugin_ipvs], [IPVS connection statistics]) - AC_PLUGIN([irq], [$plugin_irq], [IRQ statistics]) -+AC_PLUGIN([iwinfo], [$with_iwinfo], [Common iwinfo wireless statistics]) - AC_PLUGIN([java], [$with_java], [Embed the Java Virtual Machine]) - AC_PLUGIN([libvirt], [$plugin_libvirt], [Virtual machine statistics]) - AC_PLUGIN([load], [$plugin_load], [System load]) -@@ -5480,6 +5485,7 @@ Configuration: - protobuf-c . . . . . $have_protoc_c - oracle . . . . . . . $with_oracle - python . . . . . . . $with_python -+ iwinfo . . . . . . . $with_iwinfo - - Features: - daemon mode . . . . . $enable_daemon -@@ -5524,6 +5530,7 @@ Configuration: - iptables . . . . . . $enable_iptables - ipvs . . . . . . . . $enable_ipvs - irq . . . . . . . . . $enable_irq -+ iwinfo . . . . . . . $enable_iwinfo - java . . . . . . . . $enable_java - libvirt . . . . . . . $enable_libvirt - load . . . . . . . . $enable_load ---- a/src/collectd.conf.in -+++ b/src/collectd.conf.in -@@ -109,6 +109,7 @@ - #@BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi - #@BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs - #@BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq -+#@BUILD_PLUGIN_IWINFO_TRUE@LoadPlugin iwinfo - #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java - #@BUILD_PLUGIN_LIBVIRT_TRUE@LoadPlugin libvirt - @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load -@@ -502,6 +503,12 @@ - # IgnoreSelected true - # - -+# -+# Interface "ath0" -+# Interface "ra0" -+# Interface "wlan0" -+# -+ - # - # JVMArg "-verbose:jni" - # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar" ---- a/src/collectd.conf.pod -+++ b/src/collectd.conf.pod -@@ -2077,6 +2077,27 @@ and all other interrupts are collected. - - =back - -+=head2 Plugin C -+ -+=over 4 -+ -+=item B I -+ -+Select this interface. By default all detected wireless interfaces will be -+collected. For a more detailed description see B below. -+ -+=item B I|I -+ -+If no configuration if given, the B-plugin will collect data from all -+detected wireless interfaces. You can use the B-option to pick the -+interfaces you're interested in. Sometimes, however, it's easier/preferred to -+collect all interfaces I a few ones. This option enables you to do -+that: By setting B to I the effect of B is -+inverted: All selected interfaces are ignored and all other interfaces are -+collected. -+ -+=back -+ - =head2 Plugin C - - The I plugin makes it possible to write extensions for collectd in Java. ---- /dev/null -+++ b/src/iwinfo.c -@@ -0,0 +1,150 @@ -+/** -+ * collectd - src/iwinfo.c -+ * Copyright (C) 2011 Jo-Philipp Wich -+ * -+ * This program is free software; you can redistribute it and/or modify it -+ * under the terms of the GNU General Public License as published by the -+ * Free Software Foundation; only version 2 of the License is applicable. -+ * -+ * This program is distributed in the hope that it will be useful, but -+ * WITHOUT ANY WARRANTY; without even the implied warranty of -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ * General Public License for more details. -+ * -+ * You should have received a copy of the GNU General Public License along -+ * with this program; if not, write to the Free Software Foundation, Inc., -+ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -+ **/ -+ -+#include "collectd.h" -+#include "common.h" -+#include "plugin.h" -+#include "utils_ignorelist.h" -+ -+#include -+#include -+ -+#define PROCNETDEV "/proc/net/dev" -+ -+static const char *config_keys[] = { -+ "Interface", -+ "IgnoreSelected" -+}; -+static int config_keys_num = STATIC_ARRAY_SIZE (config_keys); -+ -+static ignorelist_t *ignorelist = NULL; -+ -+static int iwinfo_config(const char *key, const char *value) -+{ -+ if (ignorelist == NULL) -+ ignorelist = ignorelist_create(1); -+ -+ if (ignorelist == NULL) -+ return 1; -+ -+ if (strcasecmp(key, "Interface") == 0) -+ ignorelist_add(ignorelist, value); -+ else if (strcasecmp(key, "IgnoreSelected") == 0) -+ ignorelist_set_invert(ignorelist, IS_TRUE(value) ? 0 : 1); -+ else -+ return -1; -+ -+ return 0; -+} -+ -+static void iwinfo_submit(const char *ifname, const char *type, int value) -+{ -+ value_t values[1]; -+ value_list_t vl = VALUE_LIST_INIT; -+ -+ values[0].gauge = value; -+ -+ vl.values = values; -+ vl.values_len = 1; -+ -+ sstrncpy(vl.host, hostname_g, sizeof(vl.host)); -+ sstrncpy(vl.plugin, "iwinfo", sizeof(vl.plugin)); -+ sstrncpy(vl.plugin_instance, ifname, sizeof(vl.plugin_instance)); -+ sstrncpy(vl.type, type, sizeof(vl.type)); -+ /*sstrncpy(vl.type_instance, "", sizeof(vl.type_instance));*/ -+ -+ plugin_dispatch_values(&vl); -+} -+ -+static void iwinfo_process(const char *ifname) -+{ -+ int val; -+ char buf[IWINFO_BUFSIZE]; -+ const struct iwinfo_ops *iw = iwinfo_backend(ifname); -+ -+ /* does appear to be a wifi iface */ -+ if (iw) -+ { -+ if (iw->bitrate(ifname, &val)) -+ val = 0; -+ iwinfo_submit(ifname, "bitrate", val * 1000); -+ -+ if (iw->signal(ifname, &val)) -+ val = 0; -+ iwinfo_submit(ifname, "signal_power", val); -+ -+ if (iw->noise(ifname, &val)) -+ val = 0; -+ iwinfo_submit(ifname, "signal_noise", val); -+ -+ if (iw->quality(ifname, &val)) -+ val = 0; -+ iwinfo_submit(ifname, "signal_quality", val); -+ -+ if (iw->assoclist(ifname, buf, &val)) -+ val = 0; -+ iwinfo_submit(ifname, "stations", -+ val / sizeof(struct iwinfo_assoclist_entry)); -+ } -+ -+ iwinfo_finish(); -+} -+ -+static int iwinfo_read(void) -+{ -+ char line[1024]; -+ char ifname[128]; -+ FILE *f; -+ -+ f = fopen(PROCNETDEV, "r"); -+ if (f == NULL) -+ { -+ char err[1024]; -+ WARNING("iwinfo: Unable to open " PROCNETDEV ": %s", -+ sstrerror(errno, err, sizeof(err))); -+ return -1; -+ } -+ -+ while (fgets(line, sizeof(line), f)) -+ { -+ if (!strchr(line, ':')) -+ continue; -+ -+ if (!sscanf(line, " %127[^:]", ifname)) -+ continue; -+ -+ if (ignorelist_match(ignorelist, ifname)) -+ continue; -+ -+ if (strstr(ifname, "mon.") || strstr(ifname, ".sta") || -+ strstr(ifname, "tmp.") || strstr(ifname, "wifi")) -+ continue; -+ -+ iwinfo_process(ifname); -+ } -+ -+ fclose(f); -+ -+ return 0; -+} -+ -+void module_register(void) -+{ -+ plugin_register_config("iwinfo", iwinfo_config, config_keys, config_keys_num); -+ plugin_register_read("iwinfo", iwinfo_read); -+} ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -530,6 +530,15 @@ collectd_LDADD += "-dlopen" irq.la - collectd_DEPENDENCIES += irq.la - endif - -+if BUILD_PLUGIN_IWINFO -+pkglib_LTLIBRARIES += iwinfo.la -+iwinfo_la_SOURCES = iwinfo.c -+iwinfo_la_LDFLAGS = -module -avoid-version -+iwinfo_la_LIBADD = -liwinfo -+collectd_LDADD += "-dlopen" iwinfo.la -+collectd_DEPENDENCIES += iwinfo.la -+endif -+ - if BUILD_PLUGIN_JAVA - pkglib_LTLIBRARIES += java.la - java_la_SOURCES = java.c ---- a/src/types.db -+++ b/src/types.db -@@ -195,7 +195,7 @@ voltage value:GAUGE:U:U - vs_memory value:GAUGE:0:9223372036854775807 - vs_processes value:GAUGE:0:65535 - vs_threads value:GAUGE:0:65535 -- -+stations value:GAUGE:0:256 - # - # Legacy types - # (required for the v5 upgrade target) diff --git a/trunk/package/feeds/packages/collectd/patches/920-fix-ping-droprate.patch b/trunk/package/feeds/packages/collectd/patches/920-fix-ping-droprate.patch deleted file mode 100644 index f7432990..00000000 --- a/trunk/package/feeds/packages/collectd/patches/920-fix-ping-droprate.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/ping.c -+++ b/src/ping.c -@@ -651,7 +651,7 @@ static int ping_read (void) /* {{{ */ - / ((double) (pkg_recv * (pkg_recv - 1)))); - - /* Calculate drop rate. */ -- droprate = ((double) (pkg_sent - pkg_recv)) / ((double) pkg_sent); -+ droprate = ((double) (pkg_sent - pkg_recv)) * 100 / ((double) pkg_sent); - - submit (hl->host, "ping", latency_average); - submit (hl->host, "ping_stddev", latency_stddev); diff --git a/trunk/package/feeds/packages/confuse/Makefile b/trunk/package/feeds/packages/confuse/Makefile deleted file mode 100644 index 5b236d5b..00000000 --- a/trunk/package/feeds/packages/confuse/Makefile +++ /dev/null @@ -1,79 +0,0 @@ -# -# Copyright (C) 2006-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=confuse -PKG_VERSION:=2.7 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://savannah.nongnu.org/download/confuse/ -PKG_MD5SUM:=45932fdeeccbb9ef4228f1c1a25e9c8f -PKG_MAINTAINER:=Steven Barth -PKG_LICENSE:=ISC - -PKG_FIXUP:=autoreconf - -include $(INCLUDE_DIR)/package.mk - -define Package/confuse - SECTION:=libs - CATEGORY:=Libraries - TITLE:=libConfuse is a configuration file parser library - URL:=http://www.nongnu.org/confuse/ -endef - -define Package/confuse/description - libConfuse is a configuration file parser library, licensed under the - terms of the ISC license, and written in C. It supports sections and - (lists of) values (strings, integers, floats, booleans or other - sections), as well as some other features (such as single/double-quoted - strings, environment variable expansion, functions and nested include - statements). It makes it very easy to add configuration file capability - to a program using a simple API. - - The goal of libConfuse is not to be the configuration file parser - library with a gazillion of features. Instead, it aims to be easy to use - and quick to integrate with your code. libConfuse was called libcfg - before, but was changed to not confuse with other similar libraries. -endef - -TARGET_CFLAGS += $(FPIC) - -CONFIGURE_ARGS += \ - --enable-shared \ - --enable-static \ - --disable-rpath \ - --without-libiconv-prefix \ - --without-libintl-prefix \ - -MAKE_FLAGS += \ - -C $(PKG_BUILD_DIR)/src \ - DESTDIR="$(PKG_INSTALL_DIR)" \ - all install \ - -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include - $(CP) $(PKG_INSTALL_DIR)/usr/include/confuse.h $(1)/usr/include/ - $(INSTALL_DIR) $(1)/usr/lib/pkgconfig - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libconfuse.{a,so*} $(1)/usr/lib/ - $(CP) $(PKG_BUILD_DIR)/*.pc $(1)/usr/lib/pkgconfig/ -endef - -define Build/UninstallDev - rm -rf \ - $(STAGING_DIR)/usr/include/confuse.h \ - $(STAGING_DIR)/usr/lib/libconfuse.{a,so*} -endef - -define Package/confuse/install - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libconfuse.so.* $(1)/usr/lib/ -endef - -$(eval $(call BuildPackage,confuse)) diff --git a/trunk/package/feeds/packages/coova-chilli/Config.in b/trunk/package/feeds/packages/coova-chilli/Config.in deleted file mode 100644 index c0c671f0..00000000 --- a/trunk/package/feeds/packages/coova-chilli/Config.in +++ /dev/null @@ -1,52 +0,0 @@ -# CoovaChilli advanced configuration - -menu "Configuration" - depends on PACKAGE_coova-chilli - -config COOVACHILLI_PROXY - bool "Enable support for chilli proxy. Required for AAA Proxy through http" - default n - -config COOVACHILLI_REDIR - bool "Enable support for redir server. Required for uamregex" - default n - -config COOVACHILLI_MINIPORTAL - bool "Enable support Coova miniportal" - default n - -config COOVACHILLI_USERAGENT - bool "Enable recording user-agent" - default n - -config COOVACHILLI_DNSLOG - bool "Enable support to log DNS name queries" - default n - -config COOVACHILLI_UAMDOMAINFILE - bool "Enable loading of mass uamdomains from file" - default n - -config COOVACHILLI_LARGELIMITS - bool "Enable larger limits for use with non-embedded systems" - default n - -choice - prompt "SSL library" - default COOVACHILLI_NOSSL - -config COOVACHILLI_NOSSL - bool "No SSL support" - -config COOVACHILLI_MATRIXSSL - bool "MatrixSSL" - -config COOVACHILLI_CYASSL - bool "CyaSSL" - -config COOVACHILLI_OPENSSL - bool "OpenSSL" - -endchoice - -endmenu diff --git a/trunk/package/feeds/packages/coova-chilli/Makefile b/trunk/package/feeds/packages/coova-chilli/Makefile deleted file mode 100644 index 29bfca68..00000000 --- a/trunk/package/feeds/packages/coova-chilli/Makefile +++ /dev/null @@ -1,105 +0,0 @@ -# -# Copyright (C) 2007-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=coova-chilli -PKG_VERSION:=1.3.0+20141128 -PKG_MAINTAINER:=Imre Kaloz -PKG_LICENSE:=GPL-2.0+ -PKG_LICENSE_FILES:=COPYING -PKG_RELEASE:=1 - -PKG_SOURCE_PROTO:=git -PKG_SOURCE_URL:=git://github.com/coova/coova-chilli -PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=b93de20a288c01c2ba28e96e31ad6da01627f45f -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_MD5SUM:=2adb27ec56172b18c5beee359dd7898d - -PKG_INSTALL:=1 - -PKG_CONFIG_DEPENDS := \ - COOVACHILLI_MINIPORTAL \ - COOVACHILLI_REDIR \ - COOVACHILLI_USERAGENT \ - COOVACHILLI_DNSLOG \ - COOVACHILLI_UAMDOMAINFILE \ - COOVACHILLI_LARGELIMITS \ - COOVACHILLI_NOSSL \ - COOVACHILLI_MATRIXSSL \ - COOVACHILLI_CYASSL \ - COOVACHILLI_OPENSSL - -include $(INCLUDE_DIR)/package.mk - -define Package/coova-chilli - SUBMENU:=Captive Portals - SECTION:=net - CATEGORY:=Network - DEPENDS:=+kmod-tun +librt +COOVACHILLI_MATRIXSSL:libmatrixssl +COOVACHILLI_CYASSL:libcyassl +COOVACHILLI_OPENSSL:libopenssl - TITLE:=Wireless LAN HotSpot controller (Coova Chilli Version) - URL:=http://www.coova.org/CoovaChilli - MENU:=1 -endef - -define Package/coova-chilli/description - CoovaChilli is an open source access controller for wireless LAN - access points and is based on ChilliSpot. It is used for authenticating - users of a wireless (or wired) LAN. It supports web based login (UAM) - which is today's standard for public HotSpots and it supports Wireless - Protected Access (WPA) which is the standard of the future. - Authentication, authorization and accounting (AAA) is handled by your - favorite radius server. -endef - -define Package/coova-chilli/config - source "$(SOURCE)/Config.in" -endef - -define Build/Prepare -$(call Build/Prepare/Default) - ( cd $(PKG_BUILD_DIR) ; \ - [ -f ./configure ] || { \ - ./bootstrap ; \ - } \ - ) -endef - -define Build/Configure - $(call Build/Configure/Default, \ - $(if $(CONFIG_COOVACHILLI_PROXY),--enable,--disable)-chilliproxy \ - $(if $(CONFIG_COOVACHILLI_REDIR),--enable,--disable)-chilliredir \ - $(if $(CONFIG_COOVACHILLI_DNSLOG),--enable,--disable)-dnslog \ - $(if $(CONFIG_COOVACHILLI_MINIPORTAL),--enable,--disable)-miniportal \ - $(if $(CONFIG_COOVACHILLI_USERAGENT),--enable,--disable)-useragent \ - $(if $(CONFIG_COOVACHILLI_LARGELIMITS),--enable,--disable)-largelimits \ - $(if $(CONFIG_COOVACHILLI_UAMDOMAINFILE),--enable,--disable)-uamdomainfile \ - $(if $(CONFIG_COOVACHILLI_MATRIXSSL),--with,--without)-matrixssl \ - $(if $(CONFIG_COOVACHILLI_CYASSL),--with,--without)-cyassl \ - $(if $(CONFIG_COOVACHILLI_OPENSSL),--with,--without)-openssl \ - ) -endef - -define Package/coova-chilli/conffiles -/etc/chilli.conf -endef - -define Package/coova-chilli/install - $(INSTALL_DIR) $(1)/etc - $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/chilli.conf $(1)/etc/ - $(INSTALL_DIR) $(1)/etc/chilli - $(CP) $(PKG_INSTALL_DIR)/etc/chilli/* $(1)/etc/chilli/ - $(INSTALL_DIR) $(1)/etc/hotplug.d/iface - $(INSTALL_DATA) ./files/chilli.hotplug $(1)/etc/hotplug.d/iface/30-chilli - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/chilli* $(1)/usr/sbin/ - $(INSTALL_DIR) $(1)/usr/lib/ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*.so.* $(1)/usr/lib/ -endef - -$(eval $(call BuildPackage,coova-chilli)) diff --git a/trunk/package/feeds/packages/coova-chilli/files/chilli.hotplug b/trunk/package/feeds/packages/coova-chilli/files/chilli.hotplug deleted file mode 100644 index e12812b4..00000000 --- a/trunk/package/feeds/packages/coova-chilli/files/chilli.hotplug +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -[ "$ACTION" == "ifup" ] || exit 0 - -[ "$INTERFACE" = "wan" ] && { - /etc/init.d/chilli restart -} diff --git a/trunk/package/feeds/packages/coova-chilli/patches/100-fix-sysinfo-redeclaration.patch b/trunk/package/feeds/packages/coova-chilli/patches/100-fix-sysinfo-redeclaration.patch deleted file mode 100644 index 2efecbe2..00000000 --- a/trunk/package/feeds/packages/coova-chilli/patches/100-fix-sysinfo-redeclaration.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- a/src/system.h -+++ b/src/system.h -@@ -83,10 +83,6 @@ - #include - #endif - --#ifdef HAVE_SYS_SYSINFO_H --#include --#endif -- - #ifdef HAVE_TIME_H - #include - #endif -@@ -139,6 +135,10 @@ - #include - #endif - -+#ifdef HAVE_SYS_SYSINFO_H -+#include -+#endif -+ - #elif defined (__FreeBSD__) || defined (__APPLE__) || defined (__OpenBSD__) || defined (__NetBSD__) - #include - #include diff --git a/trunk/package/feeds/packages/coreutils/Makefile b/trunk/package/feeds/packages/coreutils/Makefile deleted file mode 100644 index 3b9f17d3..00000000 --- a/trunk/package/feeds/packages/coreutils/Makefile +++ /dev/null @@ -1,116 +0,0 @@ -# -# Copyright (C) 2008-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=coreutils -PKG_VERSION:=8.23 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz -PKG_SOURCE_URL:=@GNU/coreutils -PKG_MD5SUM:=abed135279f87ad6762ce57ff6d89c41 -PKG_BUILD_DEPENDS:=libpthread -PKG_MAINTAINER:=Jo-Philipp Wich - -PKG_BUILD_PARALLEL:=1 - -include $(INCLUDE_DIR)/package.mk - -COREUTILS_APPLETS := \ - base64 basename cat chcon chgrp chmod chown chroot cksum comm cp csplit \ - cut date dd dir dircolors dirname du echo env expand expr factor \ - false fmt fold groups head hostid id install join kill link ln logname \ - ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup nproc od paste \ - pathchk pinky pr printenv printf ptx pwd readlink realpath rm rmdir \ - runcon seq sha1sum sha224sum sha256sum sha384sum sha512sum shred \ - shuf sleep sort split stat stdbuf stty sum sync tac tail tee test \ - timeout touch tr true truncate tsort tty uname unexpand uniq unlink \ - uptime users vdir wc who whoami yes - -DEPENDS_sort = +libpthread -DEPENDS_timeout = +librt -DEPENDS_expr = +libgmp -DEPENDS_factor = +libgmp -DEPENDS_cp = +libacl -DEPENDS_dir = +libacl -DEPENDS_install = +libacl -DEPENDS_ls = +libacl -DEPENDS_mv = +libacl -DEPENDS_vdir = +libacl - -define Package/coreutils/Default - SECTION:=utils - CATEGORY:=Utilities - TITLE:=The GNU core utilities - URL:=http://www.gnu.org/software/coreutils/ -endef - -define Package/coreutils - $(call Package/coreutils/Default) - TITLE:=The GNU core utilities - MENU:=1 -endef - -define Package/coreutils/description - Full versions of standard GNU utilities. Normally, you would not use this - package, since the functionality in BusyBox is more than sufficient and - smaller. -endef - -define GenPlugin - define Package/$(1) - $(call Package/coreutils/Default) - DEPENDS:=coreutils $(DEPENDS_$(2)) - TITLE:=Utility $(2) from the GNU core utilities - endef - - define Package/$(1)/description - Full version of standard GNU $(2) utility. Normally, you would not use this - package, since the functionality in BusyBox is more than sufficient. - endef -endef - -$(foreach a,$(COREUTILS_APPLETS),$(eval $(call GenPlugin,coreutils-$(a),$(a)))) - -CONFIGURE_VARS += \ - gl_cv_func_mbrtowc_incomplete_state=yes \ - gl_cv_func_mbrtowc_retval=yes \ - gl_cv_func_wcrtomb_retval=yes - -ifneq ($(CONFIG_USE_UCLIBC),) - CONFIGURE_VARS += \ - ac_cv_type_pthread_spinlock_t=$(if $(filter 0.9.30% 0.9.2% 0.9.31%,$(call qstrip,$(CONFIG_UCLIBC_VERSION))),no,yes) -endif - -CONFIGURE_ARGS += \ - --disable-xattr \ - --enable-install-program=su - -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - DESTDIR="$(PKG_INSTALL_DIR)" \ - SHELL="/bin/bash" \ - all install -endef - -define Package/coreutils/install - true -endef - -define BuildPlugin - define Package/$(1)/install - $(INSTALL_DIR) $$(1)/usr/bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(2) $$(1)/usr/bin/ - endef - - $$(eval $$(call BuildPackage,$(1))) -endef - -$(eval $(call BuildPackage,coreutils)) - -$(foreach a,$(COREUTILS_APPLETS),$(eval $(call BuildPlugin,coreutils-$(a),$(a)))) diff --git a/trunk/package/feeds/packages/coreutils/patches/001-no_docs_man_tests.patch b/trunk/package/feeds/packages/coreutils/patches/001-no_docs_man_tests.patch deleted file mode 100644 index 60f2df2b..00000000 --- a/trunk/package/feeds/packages/coreutils/patches/001-no_docs_man_tests.patch +++ /dev/null @@ -1,89 +0,0 @@ ---- a/Makefile.am -+++ b/Makefile.am -@@ -17,7 +17,7 @@ - - ALL_RECURSIVE_TARGETS = - --SUBDIRS = po . gnulib-tests -+SUBDIRS = po - - changelog_etc = \ - ChangeLog-2005 \ -@@ -213,6 +213,4 @@ AM_CPPFLAGS = -Ilib -I$(top_srcdir)/lib - - include $(top_srcdir)/lib/local.mk - include $(top_srcdir)/src/local.mk --include $(top_srcdir)/doc/local.mk --include $(top_srcdir)/man/local.mk --include $(top_srcdir)/tests/local.mk -+ ---- a/Makefile.in -+++ b/Makefile.in -@@ -159,8 +159,7 @@ build_triplet = @build@ - host_triplet = @host@ - DIST_COMMON = $(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk \ - $(top_srcdir)/src/local.mk $(srcdir)/src/cu-progs.mk \ -- $(top_srcdir)/src/single-binary.mk $(top_srcdir)/doc/local.mk \ -- $(top_srcdir)/man/local.mk $(top_srcdir)/tests/local.mk \ -+ $(top_srcdir)/src/single-binary.mk \ - INSTALL NEWS README AUTHORS ChangeLog $(srcdir)/Makefile.in \ - $(srcdir)/Makefile.am $(top_srcdir)/configure \ - $(am__configure_deps) $(top_srcdir)/lib/config.hin ABOUT-NLS \ -@@ -2276,11 +2275,7 @@ RECURSIVE_TARGETS = all-recursive check- - install-ps-recursive install-recursive installcheck-recursive \ - installdirs-recursive pdf-recursive ps-recursive \ - tags-recursive uninstall-recursive --am__can_run_installinfo = \ -- case $$AM_UPDATE_INFO_DIR in \ -- n|no|NO) false;; \ -- *) (install-info --version) >/dev/null 2>&1;; \ -- esac -+am__can_run_installinfo = false - am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; - am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ -@@ -2606,7 +2601,7 @@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ - EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ - ERRNO_H = @ERRNO_H@ - EXEEXT = @EXEEXT@ --EXTRA_MANS = @EXTRA_MANS@ -+EXTRA_MANS = - FLOAT_H = @FLOAT_H@ - FNMATCH_H = @FNMATCH_H@ - GETADDRINFO_LIB = @GETADDRINFO_LIB@ -@@ -3820,7 +3815,7 @@ libexecdir = @libexecdir@ - lispdir = @lispdir@ - localedir = @localedir@ - localstatedir = @localstatedir@ --man1_MANS = @man1_MANS@ -+man1_MANS = - mandir = @mandir@ - mkdir_p = @mkdir_p@ - oldincludedir = @oldincludedir@ -@@ -3843,7 +3838,7 @@ top_build_prefix = @top_build_prefix@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ - ALL_RECURSIVE_TARGETS = distcheck-hook check-root --SUBDIRS = po . gnulib-tests -+SUBDIRS = po - changelog_etc = \ - ChangeLog-2005 \ - ChangeLog-2006 \ -@@ -5767,7 +5762,7 @@ all: $(BUILT_SOURCES) - .SUFFIXES: .1 .c .dvi .log .o .obj .pl .pl$(EXEEXT) .ps .sed .sh .sh$(EXEEXT) .sin .trs .x .xpl .xpl$(EXEEXT) .y - am--refresh: Makefile - @: --$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk $(top_srcdir)/src/local.mk $(srcdir)/src/cu-progs.mk $(top_srcdir)/src/single-binary.mk $(top_srcdir)/doc/local.mk $(top_srcdir)/man/local.mk $(top_srcdir)/tests/local.mk $(am__configure_deps) -+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk $(top_srcdir)/src/local.mk $(srcdir)/src/cu-progs.mk $(top_srcdir)/src/single-binary.mk $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ -@@ -5790,7 +5785,7 @@ Makefile: $(srcdir)/Makefile.in $(top_bu - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ - esac; --$(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk $(top_srcdir)/src/local.mk $(srcdir)/src/cu-progs.mk $(top_srcdir)/src/single-binary.mk $(top_srcdir)/doc/local.mk $(top_srcdir)/man/local.mk $(top_srcdir)/tests/local.mk: -+$(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk $(top_srcdir)/src/local.mk $(srcdir)/src/cu-progs.mk $(top_srcdir)/src/single-binary.mk: - - $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - $(SHELL) ./config.status --recheck diff --git a/trunk/package/feeds/packages/coreutils/patches/002-fix_compile_with_uclibc.patch b/trunk/package/feeds/packages/coreutils/patches/002-fix_compile_with_uclibc.patch deleted file mode 100644 index 94187e4b..00000000 --- a/trunk/package/feeds/packages/coreutils/patches/002-fix_compile_with_uclibc.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/lib/pthread.in.h -+++ b/lib/pthread.in.h -@@ -252,6 +252,9 @@ pthread_mutex_unlock (pthread_mutex_t *m - - /* Approximate spinlocks with mutexes. */ - -+#ifdef __UCLIBC__ -+#define pthread_spinlock_t original_pthread_spinlock_t -+#endif - typedef pthread_mutex_t pthread_spinlock_t; - - _GL_PTHREAD_INLINE int diff --git a/trunk/package/feeds/packages/crtmpserver/Makefile b/trunk/package/feeds/packages/crtmpserver/Makefile deleted file mode 100644 index 5f2a31eb..00000000 --- a/trunk/package/feeds/packages/crtmpserver/Makefile +++ /dev/null @@ -1,95 +0,0 @@ -# -# Copyright (C) 2010 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=crtmpserver -PKG_REV:=811 -PKG_VERSION:=r$(PKG_REV) -PKG_RELEASE:=1 -PKG_BUILD_PARALLEL:=2 -PKG_MAINTAINER:=Thomas Heil -PKG_LICENSE:=GPL-3.0 - - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=--username=anonymous --password= https://svn.rtmpd.com/crtmpserver/branches/1.0 -PKG_SOURCE_SUBDIR:=crtmpserver-$(PKG_VERSION) -PKG_SOURCE_VERSION:=$(PKG_REV) -PKG_SOURCE_PROTO:=svn - -include $(INCLUDE_DIR)/package.mk - -define Package/crtmpserver - SECTION:=multimedia - CATEGORY:=Multimedia - DEPENDS:=+libopenssl +libstdcpp +liblua - TITLE:=C++ RTMP Server - URL:=http://www.rtmpd.com/ -endef - -define Package/crtmpserver/description -C++ RTMP Server it is a high performance streaming server able to -stream (live or recorded) in the following technologies: - * To and from Flash (RTMP,RTMPE, RTMPS, RTMPT, RTMPTE) - * To and from embedded devices: iPhone, Android - * From surveillance cameras - * IP-TV using MPEG-TS and RTSP/RTCP/RTP protocols - -Also, crtmpserver can be used as a high performance rendes-vous -server. For example, it enables you to do: - * Audio/Video conferencing - * Online gaming - * Online collaboration - * Simple/complex chat applications -endef - -define Package/crtmpserver/conffiles -/etc/crtmpserver.lua -endef - -# XXX: this hack handles the usr/bin vs bin difference of backfire and trunk -TS_BASE:=$(wildcard $(TOOLCHAIN_DIR)/bin/$(TARGET_CC)) -TS_BASE:=$(dir $(if $(TS_BASE),$(TS_BASE),$(wildcard $(TOOLCHAIN_DIR)/usr/bin/$(TARGET_CC)))) - -define Build/Configure - (cd $(PKG_BUILD_DIR)/builders/make; \ - cp linux.mk linux-openwrt-uclibc.mk; \ - $(SED) 's,^TOOLCHAIN_BASE[[:space:]]*=.*,TOOLCHAIN_BASE=$(TS_BASE),' \ - -e 's,^TOOLCHAIN_PREFIX[[:space:]]*=.*,TOOLCHAIN_PREFIX=$(TARGET_CROSS),' \ - -e 's,^CCOMPILER[[:space:]]*=.*,CCOMPILER=$(TARGET_CC),' \ - -e 's,^CXXCOMPILER[[:space:]]*=.*,CXXCOMPILER=$(TARGET_CXX),' \ - -e 's,^OPTIMIZATIONS[[:space:]]*=.*,OPTIMIZATIONS=-O2,' \ - -e 's,^SSL_BASE[[:space:]]*=.*,SSL_BASE=$(STAGING_DIR)/usr,' \ - linux-openwrt-uclibc.mk) -endef - -define Build/Compile - +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/builders/make \ - PLATFORM=linux-openwrt-uclibc -Wno-error -j6 -endef - -define Package/crtmpserver/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/builders/make/output/dynamic/crtmpserver $(1)/usr/bin/ - $(INSTALL_DIR) $(1)/usr/lib/crtmpserver - $(INSTALL_BIN) $(PKG_BUILD_DIR)/builders/make/output/dynamic/*.so $(1)/usr/lib/crtmpserver/ - $(foreach app,flvplayback samplefactory admin stresstest appselector vptests applestreamingclient proxypublish, \ - $(INSTALL_DIR) $(1)/usr/lib/crtmpserver/$(app); \ - $(INSTALL_BIN) $(PKG_BUILD_DIR)/builders/make/output/dynamic/applications/$(app)/lib$(app).so \ - $(1)/usr/lib/crtmpserver/$(app)/; \ - ) - $(INSTALL_DIR) $(1)/etc - $(INSTALL_CONF) $(PKG_BUILD_DIR)/builders/make/output/dynamic/crtmpserver.lua $(1)/etc/ - $(INSTALL_DIR) $(1)/usr/share/crtmpserver/appselector - $(INSTALL_DIR) $(1)/usr/share/crtmpserver/media - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) ./files/crtmpserver.init $(1)/etc/init.d/crtmpserver -endef - -$(eval $(call BuildPackage,crtmpserver)) - diff --git a/trunk/package/feeds/packages/crtmpserver/files/crtmpserver.init b/trunk/package/feeds/packages/crtmpserver/files/crtmpserver.init deleted file mode 100644 index cea35121..00000000 --- a/trunk/package/feeds/packages/crtmpserver/files/crtmpserver.init +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2009-2010 OpenWrt.org - -START=99 -STOP=80 - -SERVICE_USE_PID=1 - -CRTMPSERVER_BIN="/usr/bin/crtmpserver" -CRTMPSERVER_CONFIG="/etc/crtmpserver.lua" -CRTMPSERVER_PID="/var/run/crtmpserver.pid" - -start() -{ - echo "start $CRTMPSERVER_BIN" - start-stop-daemon -S -x "$CRTMPSERVER_BIN" -- --daemon --pid="$CRTMPSERVER_PID" \ - "$CRTMPSERVER_CONFIG" -} -stop() { - - echo "stop $CRTMPSERVER_BIN" - start-stop-daemon -K -x $CRTMPSERVER_BIN -p $CRTMPSERVER_PID -} - -reload() -{ - stop - start -} - diff --git a/trunk/package/feeds/packages/crtmpserver/patches/010-link-crypt-for-lua.patch b/trunk/package/feeds/packages/crtmpserver/patches/010-link-crypt-for-lua.patch deleted file mode 100644 index ec758188..00000000 --- a/trunk/package/feeds/packages/crtmpserver/patches/010-link-crypt-for-lua.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/builders/make/compile.mk -+++ b/builders/make/compile.mk -@@ -67,7 +67,7 @@ TINYXML_OBJS = $(TINYXML_SRCS:.cpp=.tiny - - #common - COMMON_INCLUDE=$(LUA_INCLUDE) $(TINYXML_INCLUDE) $(SSL_INCLUDE) -I$(PROJECT_BASE_PATH)/sources/common/include --COMMON_LIBS=$(SSL_LIB) -L$(OUTPUT_DYNAMIC) -llua -ltinyxml -+COMMON_LIBS=$(SSL_LIB) -L$(OUTPUT_DYNAMIC) -llua -ltinyxml -lcrypt - COMMON_SRCS = $(shell find $(PROJECT_BASE_PATH)/sources/common/src -type f -name "*.cpp") - COMMON_OBJS = $(COMMON_SRCS:.cpp=.common.o) - diff --git a/trunk/package/feeds/packages/crtmpserver/patches/020-add-rpath.patch b/trunk/package/feeds/packages/crtmpserver/patches/020-add-rpath.patch deleted file mode 100644 index 1ea83203..00000000 --- a/trunk/package/feeds/packages/crtmpserver/patches/020-add-rpath.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/builders/make/linux.mk -+++ b/builders/make/linux.mk -@@ -31,8 +31,8 @@ OPTIMIZATIONS = -O3 - COMPILE_FLAGS = $(FPIC) $(OPTIMIZATIONS) $(CFLAGS) - - #linking flags --dynamic_lib_flags = $(FPIC) $(OPTIMIZATIONS) -Wl,-soname,$(DYNAMIC_LIB_PREFIX)$(1)$(DYNAMIC_LIB_SUFIX) -Wl,-rpath,"\$$ORIGIN" --dynamic_exec_flags = $(FPIC) $(OPTIMIZATIONS) -Wl,-rpath,"\$$ORIGIN" -+dynamic_lib_flags = $(FPIC) $(OPTIMIZATIONS) -Wl,-soname,$(DYNAMIC_LIB_PREFIX)$(1)$(DYNAMIC_LIB_SUFIX) -Wl,-rpath,/usr/lib/crtmpserver -+dynamic_exec_flags = $(FPIC) $(OPTIMIZATIONS) -Wl,-rpath,/usr/lib/crtmpserver - - #compile switches - PLATFORM_DEFINES = \ diff --git a/trunk/package/feeds/packages/crtmpserver/patches/030-default-config.patch b/trunk/package/feeds/packages/crtmpserver/patches/030-default-config.patch deleted file mode 100644 index c37644ce..00000000 --- a/trunk/package/feeds/packages/crtmpserver/patches/030-default-config.patch +++ /dev/null @@ -1,60 +0,0 @@ ---- a/builders/cmake/crtmpserver/crtmpserver.lua -+++ b/builders/cmake/crtmpserver/crtmpserver.lua -@@ -4,7 +4,7 @@ configuration= - { - -- if true, the server will run as a daemon. - -- NOTE: all console appenders will be ignored if this is a daemon -- daemon=false, -+ daemon=true, - -- the OS's path separator. Used in composing paths - pathSeparator="/", - -@@ -44,7 +44,7 @@ configuration= - { - -- this is the root directory of all applications - -- usually this is relative to the binary execuable -- rootDirectory="applications", -+ rootDirectory="/usr/lib/crtmpserver", - - - --this is where the applications array starts -@@ -68,7 +68,7 @@ configuration= - -- this is the folder from where the current application gets it's content. - -- It is optional. If not specified, it will be defaulted to: - -- //mediaFolder -- -- mediaFolder="/some/directory/where/media/files/are/stored" -+ mediaFolder="/usr/share/crtmpserver/appselector", - -- the application will also be known by that names. It is optional - --aliases= - --{ -@@ -89,13 +89,6 @@ configuration= - }, - { - ip="0.0.0.0", -- port=8081, -- protocol="inboundRtmps", -- sslKey="server.key", -- sslCert="server.crt" -- }, -- { -- ip="0.0.0.0", - port=8080, - protocol="inboundRtmpt" - }, -@@ -105,7 +98,7 @@ configuration= - description="FLV Playback Sample", - name="flvplayback", - protocol="dynamiclinklibrary", -- mediaFolder="/Volumes/android/backup/media/", -+ mediaFolder="/media/", - aliases= - { - "simpleLive", -@@ -183,6 +176,7 @@ configuration= - name="samplefactory", - description="asdsadasdsa", - protocol="dynamiclinklibrary", -+ mediaFolder="/usr/share/ctmpserver/media", - aliases= - { - "httpOutboundTest" diff --git a/trunk/package/feeds/packages/crtmpserver/patches/040-use-select.patch b/trunk/package/feeds/packages/crtmpserver/patches/040-use-select.patch deleted file mode 100644 index 466f86c9..00000000 --- a/trunk/package/feeds/packages/crtmpserver/patches/040-use-select.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: crtmpserver-r726/builders/make/linux.mk -=================================================================== ---- crtmpserver-r726.orig/builders/make/linux.mk -+++ crtmpserver-r726/builders/make/linux.mk -@@ -38,7 +38,7 @@ dynamic_exec_flags = $(FPIC) $(OPTIMIZAT - PLATFORM_DEFINES = \ - -DLINUX \ - -DLITTLE_ENDIAN_BYTE_ALIGNED \ -- -DNET_EPOLL -+ -DNET_SELECT - - SSL_BASE=/usr/local - diff --git a/trunk/package/feeds/packages/crtmpserver/patches/050-add-missing-make-defines.patch b/trunk/package/feeds/packages/crtmpserver/patches/050-add-missing-make-defines.patch deleted file mode 100644 index f9ff617b..00000000 --- a/trunk/package/feeds/packages/crtmpserver/patches/050-add-missing-make-defines.patch +++ /dev/null @@ -1,57 +0,0 @@ ---- a/builders/make/compile.mk -+++ b/builders/make/compile.mk -@@ -43,17 +43,22 @@ FEATURES_DEFINES = \ - -DHAS_PROTOCOL_RTP \ - -DHAS_PROTOCOL_TS \ - -DHAS_PROTOCOL_VAR \ -+ -DHAS_PROTOCOL_CLI \ -+ -DHAS_PROTOCOL_HLS \ -+ -DHAS_PROTOCOL_RAWHTTPSTREAM \ - -DHAS_LUA \ - -DHAS_MEDIA_MP3 \ - -DHAS_MEDIA_MP4 \ -- -DHAS_MEDIA_FLV -+ -DHAS_MEDIA_FLV \ -+ -DHAS_SYSLOG -+ - - - DEFINES = $(PLATFORM_DEFINES) $(FEATURES_DEFINES) - - #library paths - SSL_INCLUDE=-I$(SSL_BASE)/include --SSL_LIB=-L$(SSL_BASE)/lib -lssl -lcrypto -+SSL_LIB=-L$(SSL_BASE)/lib -lssl -lcrypto -ldl - - #lua - LUA_INCLUDE=-I$(PROJECT_BASE_PATH)/3rdparty/lua-dev -@@ -67,25 +72,25 @@ TINYXML_OBJS = $(TINYXML_SRCS:.cpp=.tiny - - #common - COMMON_INCLUDE=$(LUA_INCLUDE) $(TINYXML_INCLUDE) $(SSL_INCLUDE) -I$(PROJECT_BASE_PATH)/sources/common/include --COMMON_LIBS=$(SSL_LIB) -L$(OUTPUT_DYNAMIC) -llua -ltinyxml -lcrypt -+COMMON_LIBS=$(SSL_LIB) -L$(OUTPUT_DYNAMIC) $(PROJECT_BASE_PATH)/builders/make/output/dynamic/liblua.so -ltinyxml -lcrypt -ldl - COMMON_SRCS = $(shell find $(PROJECT_BASE_PATH)/sources/common/src -type f -name "*.cpp") - COMMON_OBJS = $(COMMON_SRCS:.cpp=.common.o) - - #thelib - THELIB_INCLUDE=$(COMMON_INCLUDE) -I$(PROJECT_BASE_PATH)/sources/thelib/include --THELIB_LIBS=$(COMMON_LIBS) -L$(OUTPUT_DYNAMIC) -lcommon -+THELIB_LIBS=$(COMMON_LIBS) -L$(OUTPUT_DYNAMIC) -lcommon -ldl - THELIB_SRCS = $(shell find $(PROJECT_BASE_PATH)/sources/thelib/src -type f -name "*.cpp") - THELIB_OBJS = $(THELIB_SRCS:.cpp=.thelib.o) - - #tests - TESTS_INCLUDE=$(THELIB_INCLUDE) -I$(PROJECT_BASE_PATH)/sources/tests/include --TESTS_LIBS=$(THELIB_LIBS) -L$(OUTPUT_DYNAMIC) -lthelib -+TESTS_LIBS=$(THELIB_LIBS) -L$(OUTPUT_DYNAMIC) -lthelib -ldl - TESTS_SRCS=$(shell find $(PROJECT_BASE_PATH)/sources/tests/src -type f -name "*.cpp") - TESTS_OBJS=$(TESTS_SRCS:.cpp=.tests.o) - - #crtmpserver - CRTMPSERVER_INCLUDE=$(THELIB_INCLUDE) -I$(PROJECT_BASE_PATH)/sources/crtmpserver/include --CRTMPSERVER_LIBS=$(THELIB_LIBS) -L$(OUTPUT_DYNAMIC) -lthelib -+CRTMPSERVER_LIBS=$(THELIB_LIBS) -L$(OUTPUT_DYNAMIC) -lthelib -ldl - CRTMPSERVER_SRCS=$(shell find $(PROJECT_BASE_PATH)/sources/crtmpserver/src -type f -name "*.cpp") - CRTMPSERVER_OBJS_DYNAMIC=$(CRTMPSERVER_SRCS:.cpp=.crtmpserver_dynamic.o) - CRTMPSERVER_OBJS_STATIC=$(CRTMPSERVER_SRCS:.cpp=.crtmpserver_static.o) diff --git a/trunk/package/feeds/packages/crtmpserver/patches/060-add-missing-includes.patch b/trunk/package/feeds/packages/crtmpserver/patches/060-add-missing-includes.patch deleted file mode 100644 index 505b5f33..00000000 --- a/trunk/package/feeds/packages/crtmpserver/patches/060-add-missing-includes.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- a/sources/common/include/common.h -+++ b/sources/common/include/common.h -@@ -20,6 +20,10 @@ - #ifndef _COMMON_H - #define _COMMON_H - -+#include -+#include -+#include -+ - #include "defines.h" - #include "platform/platform.h" - #include "utils/utils.h" ---- a/sources/common/src/utils/logging/fileloglocation.cpp -+++ b/sources/common/src/utils/logging/fileloglocation.cpp -@@ -18,6 +18,10 @@ - */ - - -+#include -+#include -+#include -+ - #include "utils/logging/fileloglocation.h" - #include "utils/lua/luautils.h" - diff --git a/trunk/package/feeds/packages/crtmpserver/patches/070-missing-include-gcc-47.patch b/trunk/package/feeds/packages/crtmpserver/patches/070-missing-include-gcc-47.patch deleted file mode 100644 index 94d80e79..00000000 --- a/trunk/package/feeds/packages/crtmpserver/patches/070-missing-include-gcc-47.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/3rdparty/tinyxml/tinyxml.h -+++ b/3rdparty/tinyxml/tinyxml.h -@@ -39,6 +39,7 @@ distribution. - #include - #include - #include -+#include "lstate.h" - - // Help out windows: - #if defined( _DEBUG ) && !defined( DEBUG ) diff --git a/trunk/package/feeds/packages/cryptodev-linux/Makefile b/trunk/package/feeds/packages/cryptodev-linux/Makefile deleted file mode 100644 index e9af4ca9..00000000 --- a/trunk/package/feeds/packages/cryptodev-linux/Makefile +++ /dev/null @@ -1,75 +0,0 @@ -# -# Copyright (C) 2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# -# $Id$ - -include $(TOPDIR)/rules.mk -include $(INCLUDE_DIR)/kernel.mk - -PKG_NAME:=cryptodev-linux -PKG_VERSION:=1.7 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://download.gna.org/cryptodev-linux/ -PKG_MD5SUM:=0b63b3481cf2c90386b35f057481d36b - -PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) - -include $(INCLUDE_DIR)/package.mk - -CRYPTODEV_AUTOLOAD:= \ - cryptodev - -define KernelPackage/cryptodev - SUBMENU:=Cryptographic API modules - DEFAULT:=m if ALL - TITLE:=Driver for cryptographic acceleration - URL:=http://cryptodev-linux.org/ - MAINTAINER:=Nikos Mavrogiannopoulos - VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE) - DEPENDS:=+kmod-crypto-core +kmod-crypto-authenc +kmod-crypto-hash - FILES:= \ - $(PKG_BUILD_DIR)/cryptodev.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,50,$(CRYPTODEV_AUTOLOAD)) -endef - -define KernelPackage/cryptodev/description - This is a driver for that allows to use the Linux kernel supported - hardware ciphers by user-space applications. -endef - -CRYPTODEV_MAKEOPTS= -C $(PKG_BUILD_DIR) \ - PATH="$(TARGET_PATH)" \ - ARCH="$(LINUX_KARCH)" \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - TOOLPREFIX="$(KERNEL_CROSS)" \ - TOOLPATH="$(KERNEL_CROSS)" \ - KERNEL_DIR="$(LINUX_DIR)" \ - LDOPTS=" " \ - DOMULTI=1 - -define Build/Compile/cryptodev - $(MAKE) $(CRYPTODEV_MAKEOPTS) -endef - -define Build/Compile - $(call Build/Compile/cryptodev) -endef - -define Build/InstallDev - $(INSTALL_DIR) $(STAGING_DIR)/usr/include/crypto - $(CP) $(PKG_BUILD_DIR)/crypto/cryptodev.h $(STAGING_DIR)/usr/include/crypto/ -endef - -define KernelPackage/cryptodev/install - $(INSTALL_DIR) $(1)/etc/modules.d - $(INSTALL_DATA) ./files/cryptodev.modules $(1)/etc/modules.d/80-cryptodev - $(INSTALL_DIR) $(1)/lib/modules/$(LINUX_VERSION) - $(INSTALL_DIR) $(1)/usr/sbin -endef - -$(eval $(call KernelPackage,cryptodev)) diff --git a/trunk/package/feeds/packages/cryptodev-linux/files/cryptodev.modules b/trunk/package/feeds/packages/cryptodev-linux/files/cryptodev.modules deleted file mode 100644 index fb39fcd6..00000000 --- a/trunk/package/feeds/packages/cryptodev-linux/files/cryptodev.modules +++ /dev/null @@ -1 +0,0 @@ -cryptodev diff --git a/trunk/package/feeds/packages/cryptsetup/Makefile b/trunk/package/feeds/packages/cryptsetup/Makefile deleted file mode 100644 index fb7fc121..00000000 --- a/trunk/package/feeds/packages/cryptsetup/Makefile +++ /dev/null @@ -1,78 +0,0 @@ -# -# Copyright (C) 2006-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=cryptsetup -PKG_VERSION:=1.6.7 -PKG_RELEASE:=1 -PKG_LICENSE:=GPL-2.0+ LGPL-2.1+ -PKG_LICENSE_FILES:=COPYING COPYING.LGPL - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz -PKG_SOURCE_URL:=@KERNEL/linux/utils/cryptsetup/v1.6 -PKG_MD5SUM:=918406eb5d2e2f5a7348c432ea9b1473 -PKG_MAINTAINER:=Daniel Golle - -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) - -include $(INCLUDE_DIR)/package.mk - -TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib - -define Package/cryptsetup/Default - SECTION:=utils - CATEGORY:=Utilities - TITLE:=Cryptsetup - DEPENDS:=+libblkid +libuuid +libpopt +lvm2 +libdevmapper +@KERNEL_DIRECT_IO - URL:=http://code.google.com/p/cryptsetup/ -endef - -define Package/cryptsetup -$(call Package/cryptsetup/Default) - DEPENDS+=+libgcrypt - VARIANT:=gcrypt -endef - -define Package/cryptsetup-openssl -$(call Package/cryptsetup/Default) - TITLE+= (with openssl support) - DEPENDS+=+libopenssl - VARIANT:=openssl -endef - -define Package/cryptsetup/Default/description - Cryptsetup-luks -endef - -define Package/cryptsetup/description -$(call Package/cryptsetup/Default/description) -linked against libgcrypt -endef - - -define Package/cryptsetup-openssl/description -$(call Package/cryptsetup/Default/description) -linked against openssl -endef - -ifeq ($(BUILD_VARIANT),openssl) -CONFIGURE_ARGS+= \ - --with-crypto_backend=openssl -endif - -define Package/cryptsetup/install - $(INSTALL_DIR) $(1)/usr/sbin - $(CP) $(PKG_BUILD_DIR)/src/.libs/cryptsetup $(1)/usr/sbin - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_BUILD_DIR)/lib/.libs/libcryptsetup.so* $(1)/usr/lib -endef - -Package/cryptsetup-openssl/install = $(Package/cryptsetup/install) - -$(eval $(call BuildPackage,cryptsetup)) -$(eval $(call BuildPackage,cryptsetup-openssl)) diff --git a/trunk/package/feeds/packages/cshark/Makefile b/trunk/package/feeds/packages/cshark/Makefile deleted file mode 100644 index cbfbed5f..00000000 --- a/trunk/package/feeds/packages/cshark/Makefile +++ /dev/null @@ -1,75 +0,0 @@ -# -# Copyright (C) 2014-2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=cshark -PKG_VERSION:=2015-03-13 -PKG_RELEASE=$(PKG_SOURCE_VERSION) - -PKG_SOURCE_PROTO:=git -PKG_SOURCE_URL:=https://github.com/cloudshark/cshark.git -PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=ab2ae2fbd72b6cbd57c95e3192edc3c1f475412b -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz - -PKG_BUILD_PARALLEL:=1 -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/package.mk -include $(INCLUDE_DIR)/cmake.mk - -define Package/cshark - SECTION:=net - CATEGORY:=Network - TITLE:=CloudShark capture tool - URL:=http://www.cloudshark.org/ - DEPENDS:=+libjson-c +libpcap +libuci +libubox +libuclient +libustream-polarssl - MAINTAINER:=Luka Perkov -endef - -define Package/luci-app-cshark - SECTION:=luci - CATEGORY:=LuCI - SUBMENU:=3. Applications - TITLE:=Cloudshark capture tool Web UI - DEPENDS:=+cshark +luci - MAINTAINER:=Luka Perkov -endef - -CMAKE_OPTIONS = \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DWITH_DEBUG=OFF \ - -define Package/cshark/conffiles -/etc/config/cshark -endef - -define Package/cshark/install - $(INSTALL_DIR) $(1)/sbin - $(INSTALL_BIN) \ - $(PKG_INSTALL_DIR)/usr/bin/cshark \ - $(1)/sbin/ - - $(INSTALL_DIR) $(1)/etc/config - $(INSTALL_CONF) \ - $(PKG_BUILD_DIR)/config/cshark \ - $(1)/etc/config/ - - $(INSTALL_DIR) $(1)/etc/ssl/certs - $(INSTALL_CONF) \ - $(PKG_BUILD_DIR)/config/ca-the_usertrust_network.pem \ - $(1)/etc/ssl/certs/ -endef - -define Package/luci-app-cshark/install - $(INSTALL_DIR) $(1)/usr/lib/lua/luci - $(CP) -R $(PKG_BUILD_DIR)/openwrt/luci/luasrc/* $(1)/usr/lib/lua/luci/ -endef - -$(eval $(call BuildPackage,cshark)) -$(eval $(call BuildPackage,luci-app-cshark)) diff --git a/trunk/package/feeds/packages/ctorrent-svn/Makefile b/trunk/package/feeds/packages/ctorrent-svn/Makefile deleted file mode 100644 index 60920632..00000000 --- a/trunk/package/feeds/packages/ctorrent-svn/Makefile +++ /dev/null @@ -1,98 +0,0 @@ -# -# Copyright (C) 2006-2008 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=ctorrent-svn -PKG_REV:=322 -PKG_VERSION:=r$(PKG_REV) -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=https://svn.code.sf.net/p/dtorrent/code/dtorrent/trunk -PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=$(PKG_REV) -PKG_SOURCE_PROTO:=svn - -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) -PKG_CHECK_FORMAT_SECURITY:=0 - -include $(INCLUDE_DIR)/package.mk - -define Package/ctorrent-svn/Default - SUBMENU:=BitTorrent - SECTION:=net - CATEGORY:=Network - DEPENDS:=+uclibcxx - TITLE:=console-based BitTorrent client - MAINTAINER:=Peter Wagner - URL:=http://www.rahul.net/dholmes/ctorrent/ -endef - -define Package/ctorrent-svn/Default/description - CTorrent is a BitTorrent client written in the C programming language, - known to be a very robust and mature programming language, which produces - fast and optimized application. -endef - -define Package/ctorrent-svn -$(call Package/ctorrent-svn/Default) - TITLE+= (with OpenSSL support) - DEPENDS+=+libopenssl - VARIANT:=ssl -endef - -define Package/ctorrent-svn/description -$(call Package/ctorrent-svn/Default/description) - This package is built with OpenSSL support. -endef - -define Package/ctorrent-svn-nossl -$(call Package/ctorrent-svn/Default) - TITLE+= (with builtin SHA-1) - VARIANT:=nossl -endef - -define Package/ctorrent-svn-nossl/description -$(call Package/ctorrent-svn/Default/description) - This package is built with builtin (Steve Reid's public-domain) SHA-1 support -endef - -CONFIGURE_VARS += \ - CXX="g++-uc" \ - LIBS="-nodefaultlibs -luClibc++ $(LIBGCC_S) -lc" - -ifeq ($(BUILD_VARIANT),ssl) - CONFIGURE_ARGS += \ - --with-ssl="$(STAGING_DIR)/usr" -endif - -ifeq ($(BUILD_VARIANT),nossl) - CONFIGURE_ARGS += \ - --with-ssl=no -endif - -define Build/Configure - (cd $(PKG_BUILD_DIR); touch \ - configure.ac \ - aclocal.m4 \ - Makefile.in \ - config.h.in \ - configure \ - ); - $(call Build/Configure/Default) -endef - -define Package/ctorrent-svn/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/ctorrent $(1)/usr/bin/ctorrent -endef - -Package/ctorrent-svn-nossl/install = $(Package/ctorrent-svn/install) - -$(eval $(call BuildPackage,ctorrent-svn)) -$(eval $(call BuildPackage,ctorrent-svn-nossl)) diff --git a/trunk/package/feeds/packages/ctorrent-svn/patches/100-compile-fix.patch b/trunk/package/feeds/packages/ctorrent-svn/patches/100-compile-fix.patch deleted file mode 100644 index bb7d33fd..00000000 --- a/trunk/package/feeds/packages/ctorrent-svn/patches/100-compile-fix.patch +++ /dev/null @@ -1,88 +0,0 @@ -diff --git a/btconfig.cpp b/btconfig.cpp -index e1badd0..aaa6feb 100644 ---- a/btconfig.cpp -+++ b/btconfig.cpp -@@ -828,7 +828,7 @@ void CfgCTCS(Config *config) - strncpy(CTCS.m_host, *cfg_ctcs, MAXHOSTNAMELEN-1); - CTCS.m_host[MAXHOSTNAMELEN-1] = '\0'; - if( (s = strchr(CTCS.m_host, ':')) ) *s='\0'; -- CTCS.m_port = atoi(s = (strchr(*cfg_ctcs, ':')+1)); -+ CTCS.m_port = atoi(s = (char*)(strchr(*cfg_ctcs, ':')+1)); - if( strchr(s, ':') ) - CONSOLE.Input("Enter CTCS password: ", CTCS.m_pass, CTCS_PASS_SIZE); - else *CTCS.m_pass = '\0'; -diff --git a/btcontent.cpp b/btcontent.cpp -index d84f450..88ccb50 100644 ---- a/btcontent.cpp -+++ b/btcontent.cpp -@@ -1408,27 +1408,27 @@ void btContent::CompletionCommand() - ptmp = cmdstr + strlen(cmdstr); - parg = strstr(parg, "&t") + 2; - strcat(pt, parg); -- pt = strstr(ptmp, "&t"); -- if( pd ) pd = strstr(ptmp, "&d"); -- if( pw ) pw = strstr(ptmp, "&w"); -+ pt = (char *)strstr(ptmp, "&t"); -+ if( pd ) pd = (char *)strstr(ptmp, "&d"); -+ if( pw ) pw = (char *)strstr(ptmp, "&w"); - } - if( pd && (!pt || pd < pt) && (!pw || pd < pw) ){ - strcpy(pd, m_btfiles.GetDataName()); - ptmp = cmdstr + strlen(cmdstr); - parg = strstr(parg, "&d") + 2; - strcat(pd, parg); -- pd = strstr(ptmp, "&d"); -- if( pt ) pt = strstr(ptmp, "&t"); -- if( pw ) pw = strstr(ptmp, "&w"); -+ pd = (char *)strstr(ptmp, "&d"); -+ if( pt ) pt = (char *)strstr(ptmp, "&t"); -+ if( pw ) pw = (char *)strstr(ptmp, "&w"); - } - if( pw && (!pt || pw < pt) && (!pd || pw < pd) ){ - strcpy(pw, wd); - ptmp = cmdstr + strlen(cmdstr); - parg = strstr(parg, "&w") + 2; - strcat(pw, parg); -- pw = strstr(ptmp, "&w"); -- if( pt ) pt = strstr(ptmp, "&t"); -- if( pd ) pd = strstr(ptmp, "&d"); -+ pw = (char *)strstr(ptmp, "&w"); -+ if( pt ) pt = (char *)strstr(ptmp, "&t"); -+ if( pd ) pd = (char *)strstr(ptmp, "&d"); - } - } - } -diff --git a/console.cpp b/console.cpp -index bdadb61..5ab2492 100644 ---- a/console.cpp -+++ b/console.cpp -@@ -511,11 +511,8 @@ void ConStream::Error(int sev, const char *message, ...) - va_list ap; - - va_start(ap, message); -- if( g_console_ready ) CONSOLE.Error(sev, message, ap); -- else{ - vfprintf(stderr, message, ap); - fflush(stderr); -- } - va_end(ap); - } - -@@ -1766,7 +1763,7 @@ void Console::Warning(int sev, const char *message, ...) - va_end(ap); - } - -- -+/* - void Console::Error(int sev, const char *message, va_list ap) - { - vsnprintf(m_buffer, sizeof(m_buffer), message, ap); -@@ -1778,7 +1775,7 @@ void Console::Error(int sev, const char *message, va_list ap) - m_warnings.AddMessage(sev, m_buffer); - if( sev && *cfg_ctcs ) CTCS.Send_Info(sev, m_buffer); - } -- -+*/ - - void Console::Debug(const char *message, ...) - { diff --git a/trunk/package/feeds/packages/ctorrent-svn/patches/300-negative.patch b/trunk/package/feeds/packages/ctorrent-svn/patches/300-negative.patch deleted file mode 100644 index e1e1e650..00000000 --- a/trunk/package/feeds/packages/ctorrent-svn/patches/300-negative.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/bencode.cpp b/bencode.cpp -index fef82ba..b7f14bc 100644 ---- a/bencode.cpp -+++ b/bencode.cpp -@@ -45,6 +45,9 @@ size_t buf_int(const char *b, size_t len, char beginchar, char endchar, - p++; - len--; - } -+ if( *p == '-'){ -+ p++; len--; -+ } - - for( psave = p; len && isdigit(*p); p++, len-- ); - diff --git a/trunk/package/feeds/packages/ctorrent/Makefile b/trunk/package/feeds/packages/ctorrent/Makefile deleted file mode 100644 index 16504e2a..00000000 --- a/trunk/package/feeds/packages/ctorrent/Makefile +++ /dev/null @@ -1,84 +0,0 @@ -# -# Copyright (C) 2006-2008 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=ctorrent -PKG_VERSION:=dnh3.3.2 -PKG_RELEASE:=6 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=@SF/dtorrent \ - http://www.rahul.net/dholmes/ctorrent/ -PKG_MD5SUM:=59b23dd05ff70791cd6449effa7fc3b6 - -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) - -include $(INCLUDE_DIR)/uclibc++.mk -include $(INCLUDE_DIR)/package.mk - -define Package/ctorrent/Default - SUBMENU:=BitTorrent - SECTION:=net - CATEGORY:=Network - DEPENDS:=$(CXX_DEPENDS) - TITLE:=console-based BitTorrent client - MAINTAINER:=Peter Wagner - URL:=http://www.rahul.net/dholmes/ctorrent/ -endef - -define Package/ctorrent/Default/description - CTorrent is a BitTorrent client written in the C programming language, - known to be a very robust and mature programming language, which produces - fast and optimized application. -endef - -define Package/ctorrent -$(call Package/ctorrent/Default) - TITLE+= (with OpenSSL support) - DEPENDS+=+libopenssl - VARIANT:=ssl -endef - -define Package/ctorrent/description -$(call Package/ctorrent/Default/description) - This package is built with OpenSSL support. -endef - -define Package/ctorrent-nossl -$(call Package/ctorrent/Default) - TITLE+= (with builtin SHA-1) - VARIANT:=nossl -endef - -define Package/ctorrent-nossl/description -$(call Package/ctorrent/Default/description) - This package is built with builtin (Steve Reid's public-domain) SHA-1 support -endef - -CONFIGURE_VARS += \ - CXXFLAGS="$$$$CXXFLAGS -fno-rtti" - -ifeq ($(BUILD_VARIANT),ssl) - CONFIGURE_ARGS += \ - --with-ssl="$(STAGING_DIR)/usr" -endif - -ifeq ($(BUILD_VARIANT),nossl) - CONFIGURE_ARGS += \ - --with-ssl=no -endif - -define Package/ctorrent/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/$(PKG_NAME) -endef - -Package/ctorrent-nossl/install = $(Package/ctorrent/install) - -$(eval $(call BuildPackage,ctorrent)) -$(eval $(call BuildPackage,ctorrent-nossl)) diff --git a/trunk/package/feeds/packages/ctorrent/patches/100-CVE-2009-1759.patch b/trunk/package/feeds/packages/ctorrent/patches/100-CVE-2009-1759.patch deleted file mode 100644 index 86ae1d7d..00000000 --- a/trunk/package/feeds/packages/ctorrent/patches/100-CVE-2009-1759.patch +++ /dev/null @@ -1,364 +0,0 @@ -Patch for CVE-2009-1759. -Source: Upstream SVN, rev 302 from the dtorrent-3 branch. - -Index: a/bencode.h -=================================================================== ---- a/bencode.h (revision 300) -+++ b/bencode.h (revision 302) -@@ -25,7 +25,7 @@ - size_t decode_list(const char *b,size_t len,const char *keylist); - size_t decode_rev(const char *b,size_t len,const char *keylist); - size_t decode_query(const char *b,size_t len,const char *keylist,const char **ps,size_t *pi,int64_t *pl,int method); --size_t decode_list2path(const char *b, size_t n, char *pathname); -+size_t decode_list2path(const char *b, size_t n, char *pathname, size_t maxlen); - size_t bencode_buf(const char *str,size_t len,FILE *fp); - size_t bencode_str(const char *str, FILE *fp); - size_t bencode_int(const uint64_t integer, FILE *fp); -Index: a/bencode.cpp -=================================================================== ---- a/bencode.cpp (revision 300) -+++ b/bencode.cpp (revision 302) -@@ -233,22 +233,28 @@ - return bencode_end_dict_list(fp); - } - --size_t decode_list2path(const char *b, size_t n, char *pathname) -+size_t decode_list2path(const char *b, size_t n, char *pathname, size_t maxlen) - { - const char *pb = b; - const char *s = (char *) 0; -+ const char *endmax = pathname + maxlen - 1; - size_t r,q; - - if( 'l' != *pb ) return 0; - pb++; - n--; - if( !n ) return 0; -- for(; n;){ -+ while( n && pathname < endmax ){ - if(!(r = buf_str(pb, n, &s, &q)) ) return 0; -+ if( q >= maxlen ) return 0; - memcpy(pathname, s, q); - pathname += q; -- pb += r; n -= r; -- if( 'e' != *pb ){*pathname = PATH_SP, pathname++;} else break; -+ maxlen -= q; -+ pb += r; -+ n -= r; -+ if( 'e' == *pb ) break; -+ if( pathname >= endmax ) return 0; -+ *pathname++ = PATH_SP; - } - *pathname = '\0'; - return (pb - b + 1); -Index: a/btfiles.cpp -=================================================================== ---- a/btfiles.cpp (revision 300) -+++ b/btfiles.cpp (revision 302) -@@ -449,7 +449,8 @@ - return 0; - } - --int btFiles::BuildFromMI(const char *metabuf, const size_t metabuf_len, const char *saveas) -+int btFiles::BuildFromMI(const char *metabuf, const size_t metabuf_len, -+ const char *saveas, unsigned char exam_only) - { - char path[MAXPATHLEN]; - const char *s, *p; -@@ -458,11 +459,19 @@ - int f_warned = 0; - - if( !decode_query(metabuf, metabuf_len, "info|name", &s, &q, (int64_t*)0, -- QUERY_STR) || MAXPATHLEN <= q ) -+ QUERY_STR) || MAXPATHLEN <= q ){ -+ errno = EINVAL; - return -1; -+ } - - memcpy(path, s, q); - path[q] = '\0'; -+ if( !exam_only && -+ (PATH_SP == path[0] || '/' == path[0] || 0==strncmp("..", path, 2)) ){ -+ CONSOLE.Warning(1, "error, unsafe path \"%s\" in torrent data", path); -+ errno = EINVAL; -+ return -1; -+ } - - r = decode_query(metabuf, metabuf_len, "info|files", (const char**)0, &q, - (int64_t*)0, QUERY_POS); -@@ -471,21 +480,31 @@ - BTFILE *pbf_last = (BTFILE*) 0; - BTFILE *pbf = (BTFILE*) 0; - size_t dl; -+ unsigned long nfiles = 0; -+ - if( decode_query(metabuf,metabuf_len,"info|length", -- (const char**) 0,(size_t*) 0,(int64_t*) 0,QUERY_LONG) ) -+ (const char**) 0,(size_t*) 0,(int64_t*) 0,QUERY_LONG) ){ -+ errno = EINVAL; - return -1; -+ } - - if( saveas ){ - m_directory = new char[strlen(saveas) + 1]; - #ifndef WINDOWS -- if(!m_directory) return -1; -+ if( !m_directory ){ -+ errno = ENOMEM; -+ return -1; -+ } - #endif - strcpy(m_directory,saveas); - }else{ - int f_conv; - char *tmpfn = new char[strlen(path)*2+5]; - #ifndef WINDOWS -- if( !tmpfn ) return -1; -+ if( !tmpfn ){ -+ errno = ENOMEM; -+ return -1; -+ } - #endif - if( f_conv = ConvertFilename(tmpfn, path, strlen(path)*2+5) ){ - if( arg_flg_convert_filenames ){ -@@ -493,6 +512,7 @@ - #ifndef WINDOWS - if( !m_directory ){ - delete []tmpfn; -+ errno = ENOMEM; - return -1; - } - #endif -@@ -507,7 +527,10 @@ - if( !f_conv || !arg_flg_convert_filenames ){ - m_directory = new char[strlen(path) + 1]; - #ifndef WINDOWS -- if( !m_directory ) return -1; -+ if( !m_directory ){ -+ errno = ENOMEM; -+ return -1; -+ } - #endif - strcpy(m_directory,path); - } -@@ -517,24 +540,50 @@ - p = metabuf + r + 1; - q--; - for(; q && 'e' != *p; p += dl, q -= dl){ -- if(!(dl = decode_dict(p, q, (const char*) 0)) ) return -1; -- if( !decode_query(p, dl, "length", (const char**) 0, -- (size_t*) 0,&t,QUERY_LONG) ) return -1; -+ if( !(dl = decode_dict(p, q, (const char*) 0)) || -+ !decode_query(p, dl, "length", (const char**) 0, (size_t*) 0, &t, -+ QUERY_LONG) ){ -+ errno = EINVAL; -+ return -1; -+ } - pbf = _new_bfnode(); - #ifndef WINDOWS -- if( !pbf ) return -1; -+ if( !pbf ){ -+ errno = ENOMEM; -+ return -1; -+ } - #endif -+ nfiles++; - pbf->bf_length = t; - m_total_files_length += t; - r = decode_query(p, dl, "path", (const char **)0, &n, (int64_t*)0, - QUERY_POS); -- if( !r ) return -1; -- if(!decode_list2path(p + r, n, path)) return -1; -+ if( !r || !decode_list2path(p + r, n, path, sizeof(path)) ){ -+ CONSOLE.Warning(1, -+ "error, invalid path in torrent data for file %lu at offset %llu", -+ nfiles, m_total_files_length - t); -+ delete pbf; -+ errno = EINVAL; -+ return -1; -+ } -+ if( !exam_only && -+ (PATH_SP == path[0] || '/' == path[0] || 0==strncmp("..", path, 2)) ){ -+ CONSOLE.Warning(1, -+ "error, unsafe path \"%s\" in torrent data for file %lu", -+ path, nfiles); -+ delete pbf; -+ errno = EINVAL; -+ return -1; -+ } - -+ - int f_conv; - char *tmpfn = new char[strlen(path)*2+5]; - #ifndef WINDOWS -- if( !tmpfn ) return -1; -+ if( !tmpfn ){ -+ errno = ENOMEM; -+ return -1; -+ } - #endif - if( f_conv = ConvertFilename(tmpfn, path, strlen(path)*2+5) ){ - if( arg_flg_convert_filenames ){ -@@ -542,6 +591,7 @@ - #ifndef WINDOWS - if( !pbf->bf_filename ){ - delete []tmpfn; -+ errno = ENOMEM; - return -1; - } - #endif -@@ -556,7 +606,10 @@ - if( !f_conv || !arg_flg_convert_filenames ){ - pbf->bf_filename = new char[strlen(path) + 1]; - #ifndef WINDOWS -- if( !pbf->bf_filename ) return -1; -+ if( !pbf->bf_filename ){ -+ errno = ENOMEM; -+ return -1; -+ } - #endif - strcpy(pbf->bf_filename, path); - } -@@ -564,30 +617,42 @@ - pbf_last = pbf; - } - }else{ -- if( !decode_query(metabuf,metabuf_len,"info|length", -- (const char**) 0,(size_t*) 0,&t,QUERY_LONG) ) -+ if( !decode_query(metabuf,metabuf_len, "info|length", -+ (const char**)0, (size_t*) 0, &t, QUERY_LONG) ){ -+ errno = EINVAL; - return -1; -+ } - m_btfhead = _new_bfnode(); - #ifndef WINDOWS -- if( !m_btfhead) return -1; -+ if( !m_btfhead ){ -+ errno = ENOMEM; -+ return -1; -+ } - #endif - m_btfhead->bf_length = m_total_files_length = t; - if( saveas ){ - m_btfhead->bf_filename = new char[strlen(saveas) + 1]; - #ifndef WINDOWS -- if(!m_btfhead->bf_filename ) return -1; -+ if( !m_btfhead->bf_filename ){ -+ errno = ENOMEM; -+ return -1; -+ } - #endif - strcpy(m_btfhead->bf_filename, saveas); - }else if( arg_flg_convert_filenames ){ - char *tmpfn = new char[strlen(path)*2+5]; - #ifndef WINDOWS -- if( !tmpfn ) return -1; -+ if( !tmpfn ){ -+ errno = ENOMEM; -+ return -1; -+ } - #endif - ConvertFilename(tmpfn, path, strlen(path)*2+5); - m_btfhead->bf_filename = new char[strlen(tmpfn) + 1]; - #ifndef WINDOWS - if( !m_btfhead->bf_filename ){ - delete []tmpfn; -+ errno = ENOMEM; - return -1; - } - #endif -@@ -596,7 +661,10 @@ - }else{ - m_btfhead->bf_filename = new char[strlen(path) + 1]; - #ifndef WINDOWS -- if(!m_btfhead->bf_filename ) return -1; -+ if( !m_btfhead->bf_filename ){ -+ errno = ENOMEM; -+ return -1; -+ } - #endif - strcpy(m_btfhead->bf_filename, path); - } -@@ -694,6 +762,32 @@ - size_t btFiles::FillMetaInfo(FILE* fp) - { - BTFILE *p; -+ const char *refname, *s; -+ char path[MAXPATHLEN]; -+ -+ refname = m_directory ? m_directory : m_btfhead->bf_filename; -+ while( (s = strchr(refname, PATH_SP)) && *(s + 1) ){ -+ refname = s + 1; -+ } -+ if( m_directory && '.' == *refname ){ -+ char dir[MAXPATHLEN]; -+ if( getcwd(dir, sizeof(dir)) && 0==chdir(m_directory) ){ -+ if( getcwd(path, sizeof(path)) ){ -+ refname = path; -+ while( (s = strchr(refname, PATH_SP)) && *(s + 1) ){ -+ refname = s + 1; -+ } -+ } -+ chdir(dir); -+ } -+ } -+ if( '/' == *refname || '\0' == *refname || '.' == *refname ){ -+ CONSOLE.Warning(1, "error, inappropriate file or directory name \"%s\"", -+ m_directory ? m_directory : m_btfhead->bf_filename); -+ errno = EINVAL; -+ return 0; -+ } -+ - if( m_directory ){ - // multi files - if( bencode_str("files", fp) != 1 ) return 0; -@@ -715,16 +809,15 @@ - if(bencode_end_dict_list(fp) != 1 ) return 0; - - if(bencode_str("name", fp) != 1) return 0; -- return bencode_str(m_directory, fp); -- -+ return bencode_str(refname, fp); - }else{ - if( bencode_str("length", fp) != 1 ) return 0; - if( bencode_int(m_btfhead->bf_length, fp) != 1) return 0; - - if( bencode_str("name", fp) != 1 ) return 0; -- return bencode_str(m_btfhead->bf_filename, fp); -+ return bencode_str(refname, fp); - } -- return 1; -+ return 0; - } - - -Index: a/btcontent.cpp -=================================================================== ---- a/btcontent.cpp (revision 300) -+++ b/btcontent.cpp (revision 302) -@@ -357,7 +357,11 @@ - - cfg_req_queue_length = (m_piece_length / cfg_req_slice_size) * 2 - 1; - -- if( m_btfiles.BuildFromMI(b, flen, saveas) < 0 ) ERR_RETURN(); -+ if( m_btfiles.BuildFromMI(b, flen, saveas, arg_flg_exam_only) < 0 ){ -+ if( EINVAL == errno ) -+ CONSOLE.Warning(1, "Torrent metainfo file data is invalid or unusable."); -+ ERR_RETURN(); -+ } - - delete []b; - b = (char *)0; -Index: a/btfiles.h -=================================================================== ---- a/btfiles.h (revision 300) -+++ b/btfiles.h (revision 302) -@@ -61,7 +61,7 @@ - - int BuildFromFS(const char *pathname); - int BuildFromMI(const char *metabuf, const size_t metabuf_len, -- const char *saveas); -+ const char *saveas, unsigned char exam_only); - - char *GetDataName() const; - uint64_t GetTotalLength() const { return m_total_files_length; } diff --git a/trunk/package/feeds/packages/ctorrent/patches/100-negative-ints.patch b/trunk/package/feeds/packages/ctorrent/patches/100-negative-ints.patch deleted file mode 100644 index 864ce1b6..00000000 --- a/trunk/package/feeds/packages/ctorrent/patches/100-negative-ints.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/bencode.cpp -+++ b/bencode.cpp -@@ -44,6 +44,10 @@ size_t buf_long(const char *b,size_t len - p++; len--; - } - -+ if( *p == '-'){ -+ p++; len--; -+ } -+ - for(psave = p; len && isdigit(*p); p++,len--) ; - - if(!len || MAX_INT_SIZ < (p - psave) || *p != endchar) return 0; diff --git a/trunk/package/feeds/packages/cyrus-sasl/Makefile b/trunk/package/feeds/packages/cyrus-sasl/Makefile deleted file mode 100644 index dfc21d2e..00000000 --- a/trunk/package/feeds/packages/cyrus-sasl/Makefile +++ /dev/null @@ -1,112 +0,0 @@ -# -# Copyright (C) 2006-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=cyrus-sasl -PKG_VERSION:=2.1.26 -PKG_RELEASE:=3 - -PKG_MAINTAINER:=W. Michael Petullo - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=ftp://ftp.cyrusimap.org/cyrus-sasl/ -PKG_MD5SUM:=a7f4e5e559a0e37b3ffc438c9456e425 - -PKG_LICENSE:=BSD-4c BSD -PKG_LICENSE_FILES:=COPYING cmulocal/COPYING saslauthd/COPYING - -PKG_FIXUP:=autoreconf -PKG_MACRO_PATHS:=cmulocal config ../cmulocal ../config -PKG_AUTOMAKE_PATHS:=. saslauthd sasldb -PKG_REMOVE_FILES:=aclocal.m4 saslauthd/aclocal.m4 config/libtool.m4 - -include $(INCLUDE_DIR)/package.mk - -define Package/libsasl2 - SECTION:=libs - CATEGORY:=Libraries - TITLE:=A general purpose authentication library - URL:=http://asg.web.cmu.edu/sasl/ - DEPENDS:=+libopenssl -endef - -TARGET_CFLAGS += $(FPIC) -CONFIGURE_ARGS += \ - --enable-shared \ - --enable-static \ - --disable-sample \ - --enable-staticdlopen \ - --disable-java \ - --disable-alwaystrue \ - --disable-checkapop \ - --enable-cram \ - --enable-digest \ - --without-auth-sasldb \ - --disable-otp \ - --disable-srp \ - --disable-srp-setpass \ - --disable-krb4 \ - --disable-gssapi \ - --disable-gss_mutexes \ - --enable-plain \ - --enable-anon \ - --disable-login \ - --disable-ntlm \ - --disable-sql \ - --disable-ldapdb \ - --without-dblib \ - --without-gdbm \ - --with-devrandom="/dev/urandom" \ - --without-pam \ - --without-saslauthd \ - --without-authdaemond \ - --without-pwcheck \ - --with-ipctype=unix \ - --with-openssl="$(STAGING_DIR)/usr" \ - --without-des \ - --without-opie \ - --without-ldap \ - --without-mysql \ - --without-pgsql \ - --without-sqlite \ - --without-rc4 \ - --without-dmalloc \ - --without-sfio \ - --disable-sample - -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR)/include \ - CC="$(HOSTCC)" \ - LINK="$(HOSTCC) -o makemd5 -lc" \ - CFLAGS="" \ - CPPFLAGS="" \ - makemd5 - $(MAKE) -C $(PKG_BUILD_DIR) \ - DESTDIR="$(PKG_INSTALL_DIR)" \ - all install -endef - -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include/ - $(CP) $(PKG_INSTALL_DIR)/usr/include/sasl $(1)/usr/include/ - $(INSTALL_DIR) $(1)/usr/lib/ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsasl2.{a,so*} $(1)/usr/lib/ - ln -sf libsasl2.a $(1)/usr/lib/libsasl.a - ln -sf libsasl2.so $(1)/usr/lib/libsasl.so - $(INSTALL_DIR) $(1)/usr/lib/sasl2 - $(CP) $(PKG_INSTALL_DIR)/usr/lib/sasl2/lib*.{a,so*} $(1)/usr/lib/sasl2/ -endef - -define Package/libsasl2/install - $(INSTALL_DIR) $(1)/usr/lib/ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsasl2.so* $(1)/usr/lib/ - $(INSTALL_DIR) $(1)/usr/lib/sasl2 - $(CP) $(PKG_INSTALL_DIR)/usr/lib/sasl2/lib*.so* $(1)/usr/lib/sasl2/ -endef - -$(eval $(call BuildPackage,libsasl2)) diff --git a/trunk/package/feeds/packages/dansguardian/Makefile b/trunk/package/feeds/packages/dansguardian/Makefile deleted file mode 100644 index eefefaa3..00000000 --- a/trunk/package/feeds/packages/dansguardian/Makefile +++ /dev/null @@ -1,78 +0,0 @@ -# -# Copyright (C) 2008-2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=dansguardian -PKG_VERSION:=2.12.0.3 -PKG_RELEASE:=1 - -PKG_LICENSE:=GPL-2.0 -PKG_MAINTAINER:=Luka Perkov - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=@SF/dansguardian -PKG_MD5SUM:=2a88d0392cd28eaec02b7ee727b2e253 - -PKG_BUILD_PARALLEL:=1 -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/uclibc++.mk -include $(INCLUDE_DIR)/package.mk - -define Package/dansguardian - SECTION:=net - DEPENDS:=+libpthread $(CXX_DEPENDS) +zlib - CATEGORY:=Network - SUBMENU:=Web Servers/Proxies - TITLE:=DansGuardian - URL:=http://dansguardian.org -endef - -define Package/dansguardian/conffiles -/etc/dansguardian/dansguardianf1.conf -/etc/config/dansguardian -endef - -CONFIGURE_VARS += \ - INCLUDES="" \ - CXXFLAGS="$$$$CXXFLAGS -fno-rtti" \ - LIBS="-lpthread" \ - -define Build/Configure - $(call Build/Configure/Default,\ - --disable-clamav \ - --with-sysconfsubdir=dansguardian \ - --with-proxyuser=root \ - --with-proxygroup=root \ - --disable-pcre \ - ) -endef - -define Package/dansguardian/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dansguardian $(1)/usr/sbin/ - - $(INSTALL_DIR) $(1)/etc - $(CP) $(PKG_INSTALL_DIR)/etc/dansguardian $(1)/etc/ - $(INSTALL_CONF) ./files/dansguardianf1.conf $(1)/etc/dansguardian/dansguardianf1.conf - - $(INSTALL_DIR) $(1)/etc/config - $(INSTALL_CONF) ./files/dansguardian.config $(1)/etc/config/dansguardian - - $(INSTALL_DIR) $(1)/usr/share/dansguardian - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/dansguardian/transparent1x1.gif $(1)/usr/share/dansguardian/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/dansguardian/blockedflash.swf $(1)/usr/share/dansguardian/ - - $(INSTALL_DIR) $(1)/usr/share/dansguardian/languages/ukenglish - $(CP) $(PKG_INSTALL_DIR)/usr/share/dansguardian/languages/ukenglish/* $(1)/usr/share/dansguardian/languages/ukenglish/ - - $(INSTALL_DIR) $(1)/etc/init.d/ - $(INSTALL_BIN) ./files/dansguardian.init $(1)/etc/init.d/dansguardian -endef - -$(eval $(call BuildPackage,dansguardian)) diff --git a/trunk/package/feeds/packages/dansguardian/files/dansguardian.config b/trunk/package/feeds/packages/dansguardian/files/dansguardian.config deleted file mode 100644 index 86640aff..00000000 --- a/trunk/package/feeds/packages/dansguardian/files/dansguardian.config +++ /dev/null @@ -1,71 +0,0 @@ -config dansguardian 'dansguardian' - option config_file '/etc/dansguardian/dansguardianf1.conf' - option accessdeniedaddress 'http://YOURSERVER.YOURDOMAIN/cgi-bin/dansguardian.pl' - option bannediplist '/etc/dansguardian/lists/bannediplist' - option contentscanexceptions 'off' - option contentscannertimeout '60' - option createlistcachefiles 'on' - option custombannedflashfile '/usr/share/dansguardian/blockedflash.swf' - option custombannedimagefile '/usr/share/dansguardian/transparent1x1.gif' - option deletedownloadedtempfiles 'on' - option downloadmanager '/etc/dansguardian/downloadmanagers/default.conf' - option exceptioniplist '/etc/dansguardian/lists/exceptioniplist' - option filecachedir '/tmp' - option filtergroups '1' - option filtergroupslist '/etc/dansguardian/lists/filtergroupslist' - option filterip '' - option filterports '8080' - option forcequicksearch 'off' - option forwardedfor 'off' - option hexdecodecontent 'off' - option initialtrickledelay '20' - option ipcfilename '/tmp/.dguardianipc' - option ipipcfilename '/tmp/.dguardianipipc' - option languagedir '/usr/share/dansguardian/languages' - option language 'ukenglish' - option logadblocks 'off' - option logchildprocesshandling 'off' - option logclienthostnames 'off' - option logconnectionhandlingerrors 'on' - option logexceptionhits '2' - option logfileformat '1' - option loglevel '2' - option loglocation '/dev/null' - option logsyslog 'on' - option loguseragent 'off' - option maxagechildren '500' - option maxchildren '120' - option maxcontentfilecachescansize '20000' - option maxcontentfiltersize '256' - option maxcontentramcachescansize '2000' - option maxips '0' - option maxsparechildren '32' - option maxuploadsize '-1' - option minchildren '8' - option minsparechildren '4' - option nodaemon 'off' - option nologger 'off' - option nonstandarddelimiter 'on' - option perroomblockingdirectory '/etc/dansguardian/lists/bannedrooms/' - option phrasefiltermode '2' - option prefercachedlists 'off' - option preforkchildren '6' - option preservecase '0' - option proxyip '127.0.0.1' - option proxyport '3128' - option proxytimeout '20' - option recheckreplacedurls 'off' - option reportinglevel '3' - option reverseaddresslookups 'off' - option reverseclientiplookups 'off' - option scancleancache 'on' - option showweightedfound 'on' - option softrestart 'off' - option trickledelay '10' - option urlcacheage '900' - option urlcachenumber '1000' - option urlipcfilename '/tmp/.dguardianurlipc' - option usecustombannedflash 'on' - option usecustombannedimage 'on' - option usexforwardedfor 'off' - option weightedphrasemode '2' diff --git a/trunk/package/feeds/packages/dansguardian/files/dansguardian.init b/trunk/package/feeds/packages/dansguardian/files/dansguardian.init deleted file mode 100644 index 67ec6bd5..00000000 --- a/trunk/package/feeds/packages/dansguardian/files/dansguardian.init +++ /dev/null @@ -1,190 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2015 OpenWrt.org - -START=90 -STOP=10 - -USE_PROCD=1 -PROG=/usr/sbin/dansguardian -CONFIGFILE="/tmp/dansguardian/dansguardian.conf" - -validate_dansguardian_section() { - uci_validate_section dansguardian dansguardian "${1}" \ - 'config_file:string' \ - 'accessdeniedaddress:string' \ - 'bannediplist:string' \ - 'contentscanexceptions:string' \ - 'contentscannertimeout:uinteger' \ - 'createlistcachefiles:string' \ - 'custombannedflashfile:string' \ - 'custombannedimagefile:string' \ - 'deletedownloadedtempfiles:string' \ - 'downloadmanager:string' \ - 'exceptioniplist:string' \ - 'filecachedir:string' \ - 'filtergroups:uinteger' \ - 'filtergroupslist:string' \ - 'filterip:ipaddr' \ - 'filterports:port:8080' \ - 'forcequicksearch:string' \ - 'forwardedfor:string' \ - 'hexdecodecontent:string' \ - 'initialtrickledelay:uinteger' \ - 'ipcfilename:string' \ - 'ipipcfilename:string' \ - 'languagedir:string' \ - 'language:string' \ - 'logadblocks:string' \ - 'logchildprocesshandling:string' \ - 'logclienthostnames:string' \ - 'logconnectionhandlingerrors:string' \ - 'logexceptionhits:range(0,2)' \ - 'logfileformat:range(1,4)' \ - 'loglevel:range(0,3)' \ - 'loglocation:string' \ - 'loguseragent:string' \ - 'maxagechildren:uinteger' \ - 'maxchildren:uinteger' \ - 'maxcontentfilecachescansize:uinteger' \ - 'maxcontentfiltersize:uinteger' \ - 'maxcontentramcachescansize:uinteger' \ - 'maxips:uinteger' \ - 'maxsparechildren:uinteger' \ - 'maxuploadsize:integer' \ - 'minchildren:uinteger' \ - 'minsparechildren:uinteger' \ - 'nodaemon:string' \ - 'nologger:string' \ - 'nonstandarddelimiter:string' \ - 'perroomblockingdirectory:string' \ - 'phrasefiltermode:range(0,3)' \ - 'prefercachedlists:string' \ - 'preforkchildren:uinteger' \ - 'preservecase:range(0,2)' \ - 'proxyip:ipaddr' \ - 'proxyport:port:3128' \ - 'proxytimeout:range(20,30)' \ - 'recheckreplacedurls:string' \ - 'reportinglevel:range(-1,3)' \ - 'reverseaddresslookups:string' \ - 'reverseclientiplookups:string' \ - 'scancleancache:string' \ - 'showweightedfound:string' \ - 'softrestart:string' \ - 'trickledelay:uinteger' \ - 'urlcacheage:uinteger' \ - 'urlcachenumber:uinteger' \ - 'urlipcfilename:string' \ - 'usecustombannedflash:string' \ - 'usecustombannedimage:string' \ - 'usexforwardedfor:string' \ - 'weightedphrasemode:range(0,2)' -} - -start_service() { - local config_file accessdeniedaddress bannediplist contentscanexceptions contentscannertimeout \ - createlistcachefiles custombannedflashfile custombannedimagefile deletedownloadedtempfiles \ - downloadmanager exceptioniplist filecachedir filtergroups filtergroupslist filterip filterports \ - forcequicksearch forwardedfor hexdecodecontent initialtrickledelay ipcfilename ipipcfilename \ - language languagedir logadblocks logchildprocesshandling logclienthostnames logconnectionhandlingerrors \ - logexceptionhits logfileformat loglevel loguseragent maxagechildren maxchildren maxcontentfilecachescansize \ - maxcontentfiltersize maxcontentramcachescansize maxips maxsparechildren maxuploadsize minchildren minsparechildren \ - nodaemon nologger nonstandarddelimiter perroomblockingdirectory phrasefiltermode prefercachedlists preforkchildren \ - preservecase proxyip proxyport proxytimeout recheckreplacedurls reportinglevel reverseaddresslookups \ - reverseclientiplookups scancleancache showweightedfound softrestart trickledelay urlcacheage urlcachenumber \ - urlipcfilename usecustombannedflash usecustombannedimage usexforwardedfor weightedphrasemode - - validate_dansguardian_section dansguardian || { - echo "validation failed" - return 1 - } - - mkdir -p $(dirname $CONFIGFILE) - ln -sf $config_file $(dirname $CONFIGFILE) - - echo "accessdeniedaddress = " $accessdeniedaddress > $CONFIGFILE - echo "bannediplist = " $bannediplist >> $CONFIGFILE - echo "contentscanexceptions = " $contentscanexceptions >> $CONFIGFILE - echo "contentscannertimeout = " $contentscannertimeout >> $CONFIGFILE - echo "createlistcachefiles = " $createlistcachefiles >> $CONFIGFILE - echo "custombannedflashfile = " $custombannedflashfile >> $CONFIGFILE - echo "custombannedimagefile = " $custombannedimagefile >> $CONFIGFILE - echo "deletedownloadedtempfiles = " $deletedownloadedtempfiles >> $CONFIGFILE - echo "downloadmanager = " $downloadmanager >> $CONFIGFILE - echo "exceptioniplist = " $exceptioniplist >> $CONFIGFILE - echo "filecachedir = " $filecachedir >> $CONFIGFILE - echo "filtergroups = " $filtergroups >> $CONFIGFILE - echo "filtergroupslist = " $filtergroupslist >> $CONFIGFILE - echo "filterip = " $filterip >> $CONFIGFILE - echo "filterports = " $filterports >> $CONFIGFILE - echo "forcequicksearch = " $forcequicksearch >> $CONFIGFILE - echo "forwardedfor = " $forwardedfor >> $CONFIGFILE - echo "hexdecodecontent = " $hexdecodecontent >> $CONFIGFILE - echo "initialtrickledelay = " $initialtrickledelay >> $CONFIGFILE - echo "ipcfilename = " $ipcfilename >> $CONFIGFILE - echo "ipipcfilename = " $ipipcfilename >> $CONFIGFILE - echo "language = " $language >> $CONFIGFILE - echo "languagedir = " $languagedir >> $CONFIGFILE - echo "logadblocks = " $logadblocks >> $CONFIGFILE - echo "logchildprocesshandling = " $logchildprocesshandling >> $CONFIGFILE - echo "logclienthostnames = " $logclienthostnames >> $CONFIGFILE - echo "logconnectionhandlingerrors = " $logconnectionhandlingerrors >> $CONFIGFILE - echo "logexceptionhits = " $logexceptionhits >> $CONFIGFILE - echo "logfileformat = " $logfileformat >> $CONFIGFILE - echo "loglevel = " $loglevel >> $CONFIGFILE - echo "loglocation = " $loglocation >> $CONFIGFILE - echo "loguseragent = " $loguseragent >> $CONFIGFILE - echo "maxagechildren = " $maxagechildren >> $CONFIGFILE - echo "maxchildren = " $maxchildren >> $CONFIGFILE - echo "maxcontentfilecachescansize = " $maxcontentfilecachescansize >> $CONFIGFILE - echo "maxcontentfiltersize = " $maxcontentfiltersize >> $CONFIGFILE - echo "maxcontentramcachescansize = " $maxcontentramcachescansize >> $CONFIGFILE - echo "maxips = " $maxips >> $CONFIGFILE - echo "maxsparechildren = " $maxsparechildren >> $CONFIGFILE - echo "maxuploadsize = " $maxuploadsize >> $CONFIGFILE - echo "minchildren = " $minchildren >> $CONFIGFILE - echo "minsparechildren = " $minsparechildren >> $CONFIGFILE - echo "nodaemon = " $nodaemon >> $CONFIGFILE - echo "nologger = " $nologger >> $CONFIGFILE - echo "nonstandarddelimiter = " $nonstandarddelimiter >> $CONFIGFILE - echo "perroomblockingdirectory = " $perroomblockingdirectory >> $CONFIGFILE - echo "phrasefiltermode = " $phrasefiltermode >> $CONFIGFILE - echo "prefercachedlists = " $prefercachedlists >> $CONFIGFILE - echo "preforkchildren = " $preforkchildren >> $CONFIGFILE - echo "preservecase = " $preservecase >> $CONFIGFILE - echo "proxyip = " $proxyip >> $CONFIGFILE - echo "proxyport = " $proxyport >> $CONFIGFILE - echo "proxytimeout = " $proxytimeout >> $CONFIGFILE - echo "recheckreplacedurls = " $recheckreplacedurls >> $CONFIGFILE - echo "reportinglevel = " $reportinglevel >> $CONFIGFILE - echo "reverseaddresslookups = " $reverseaddresslookups >> $CONFIGFILE - echo "reverseclientiplookups = " $reverseclientiplookups >> $CONFIGFILE - echo "scancleancache = " $scancleancache >> $CONFIGFILE - echo "showweightedfound = " $showweightedfound >> $CONFIGFILE - echo "softrestart = " $softrestart >> $CONFIGFILE - echo "trickledelay = " $trickledelay >> $CONFIGFILE - echo "urlcacheage = " $urlcacheage >> $CONFIGFILE - echo "urlcachenumber = " $urlcachenumber >> $CONFIGFILE - echo "urlipcfilename = " $urlipcfilename >> $CONFIGFILE - echo "usecustombannedflash = " $usecustombannedflash >> $CONFIGFILE - echo "usecustombannedimage = " $usecustombannedimage >> $CONFIGFILE - echo "usexforwardedfor = " $usexforwardedfor >> $CONFIGFILE - echo "weightedphrasemode = " $weightedphrasemode >> $CONFIGFILE - - procd_open_instance - procd_set_param command $PROG -N -c "$CONFIGFILE" - procd_set_param file $CONFIGFILE - procd_set_param respawn - procd_close_instance -} - -stop_service() -{ - dansguardian -s | awk -F':' '{ print $2}' | xargs kill -9 -} - -service_triggers() -{ - procd_add_reload_trigger "dansguardian" - procd_add_validation validate_dansguardian_section -} diff --git a/trunk/package/feeds/packages/dansguardian/files/dansguardianf1.conf b/trunk/package/feeds/packages/dansguardian/files/dansguardianf1.conf deleted file mode 100644 index 01e09aec..00000000 --- a/trunk/package/feeds/packages/dansguardian/files/dansguardianf1.conf +++ /dev/null @@ -1,348 +0,0 @@ -# DansGuardian filter group config file for version 2.12.0.0 - - -# Filter group mode -# This option determines whether members of this group have their web access -# unfiltered, filtered, or banned. This mechanism replaces the "banneduserlist" -# and "exceptionuserlist" files from previous versions. -# -# 0 = banned -# 1 = filtered -# 2 = unfiltered (exception) -# -# Only filter groups with a mode of 1 need to define phrase, URL, site, extension, -# mimetype and PICS lists; in other modes, these options are ignored to conserve -# memory. -# -# Defaults to 0 if unspecified. -# Unauthenticated users are treated as being in the first filter group. -groupmode = 1 - -# Filter group name -# Used to fill in the -FILTERGROUP- placeholder in the HTML template file, and to -# name the group in the access logs -# Defaults to empty string -#groupname = '' - -# Content filtering files location -bannedphraselist = '/etc/dansguardian/lists/bannedphraselist' -weightedphraselist = '/etc/dansguardian/lists/weightedphraselist' -exceptionphraselist = '/etc/dansguardian/lists/exceptionphraselist' -bannedsitelist = '/etc/dansguardian/lists/bannedsitelist' -greysitelist = '/etc/dansguardian/lists/greysitelist' -exceptionsitelist = '/etc/dansguardian/lists/exceptionsitelist' -bannedurllist = '/etc/dansguardian/lists/bannedurllist' -greyurllist = '/etc/dansguardian/lists/greyurllist' -exceptionurllist = '/etc/dansguardian/lists/exceptionurllist' -exceptionregexpurllist = '/etc/dansguardian/lists/exceptionregexpurllist' -bannedregexpurllist = '/etc/dansguardian/lists/bannedregexpurllist' -picsfile = '/etc/dansguardian/lists/pics' -contentregexplist = '/etc/dansguardian/lists/contentregexplist' -urlregexplist = '/etc/dansguardian/lists/urlregexplist' - -# Filetype filtering -# -# Blanket download blocking -# If enabled, all files will be blocked, unless they match the -# exceptionextensionlist or exceptionmimetypelist. -# These lists do not override virus scanning. -# Exception lists defined above override all types of filtering, including -# the blanket download block. -# Defaults to disabled. -# (on | off) -# -blockdownloads = off -exceptionextensionlist = '/etc/dansguardian/lists/exceptionextensionlist' -exceptionmimetypelist = '/etc/dansguardian/lists/exceptionmimetypelist' -# -# Use the following lists to block specific kinds of file downloads. -# The two exception lists above can be used to override these. -# -bannedextensionlist = '/etc/dansguardian/lists/bannedextensionlist' -bannedmimetypelist = '/etc/dansguardian/lists/bannedmimetypelist' -# -# In either file filtering mode, the following list can be used to override -# MIME type & extension blocks for particular domains & URLs (trusted download sites). -# -exceptionfilesitelist = '/etc/dansguardian/lists/exceptionfilesitelist' -exceptionfileurllist = '/etc/dansguardian/lists/exceptionfileurllist' - -# Categorise without blocking: -# Supply categorised lists here and the category string shall be logged against -# matching requests, but matching these lists does not perform any filtering -# action. -#logsitelist = '/etc/dansguardian/lists/logsitelist' -#logurllist = '/etc/dansguardian/lists/logurllist' -#logregexpurllist = '/etc/dansguardian/lists/logregexpurllist' - -# Outgoing HTTP header rules: -# Optional lists for blocking based on, and modification of, outgoing HTTP -# request headers. Format for headerregexplist is one modification rule per -# line, similar to content/URL modifications. Format for -# bannedregexpheaderlist is one regular expression per line, with matching -# headers causing a request to be blocked. -# Headers are matched/replaced on a line-by-line basis, not as a contiguous -# block. -# Use for example, to remove cookies or prevent certain user-agents. -headerregexplist = '/etc/dansguardian/lists/headerregexplist' -bannedregexpheaderlist = '/etc/dansguardian/lists/bannedregexpheaderlist' - -# Weighted phrase mode -# Optional; overrides the weightedphrasemode option in dansguardian.conf -# for this particular group. See documentation for supported values in -# that file. -#weightedphrasemode = 0 - -# Naughtiness limit -# This the limit over which the page will be blocked. Each weighted phrase is given -# a value either positive or negative and the values added up. Phrases to do with -# good subjects will have negative values, and bad subjects will have positive -# values. See the weightedphraselist file for examples. -# As a guide: -# 50 is for young children, 100 for old children, 160 for young adults. -naughtynesslimit = 50 - -# Search term blocking -# Search terms can be extracted from search URLs and filtered using the -# bannedphraselist, weightedphraselist and exceptionphraselist, with a separate -# threshold for blocking than that used for normal page content. -# To do this, the first two options below must be enabled. -# -# Search engine regular expression list -# List of regular expressions for matching search engine URLs. It is assumed -# that the search terms themselves will be contained within the first submatch -# of each expression. -#searchengineregexplist = '/etc/dansguardian/lists/searchengineregexplist' -# -# Search term limit -# The limit over which requests will be blocked for containing search terms -# which match the weightedphraselist. This should usually be lower than the -# 'naughtynesslimit' value above, because the amount of text being filtered -# is only a few words, rather than a whole page. -# This option must be uncommented if searchengineregexplist is uncommented. -# A value of 0 here indicates that search terms should be extracted, -# for logging/reporting purposes, but no filtering should be performed -# on the resulting text. -#searchtermlimit = 30 -# -# Search term lists -# If the three lines below are uncommented, search term blocking will use -# the banned, weighted & exception phrases from these lists, instead of using -# the same phrase lists as for page content. This is optional but recommended, -# as weights for individual phrases in the "normal" lists may not be -# appropriate for blocking when those phrases appear in a much smaller block -# of text. -# Please note that all or none of the below should be uncommented, not a -# mixture. -#bannedsearchtermlist = '/etc/dansguardian/lists/bannedsearchtermlist' -#weightedsearchtermlist = '/etc/dansguardian/lists/weightedsearchtermlist' -#exceptionsearchtermlist = '/etc/dansguardian/lists/exceptionsearchtermlist' - -# Category display threshold -# This option only applies to pages blocked by weighted phrase filtering. -# Defines the minimum score that must be accumulated within a particular -# category in order for it to show up on the block pages' category list. -# All categories under which the page scores positively will be logged; those -# that were not displayed to the user appear in brackets. -# -# -1 = display only the highest scoring category -# 0 = display all categories (default) -# > 0 = minimum score for a category to be displayed -categorydisplaythreshold = 0 - -# Embedded URL weighting -# When set to something greater than zero, this option causes URLs embedded within a -# page's HTML (from links, image tags, etc.) to be extracted and checked against the -# bannedsitelist and bannedurllist. Each link to a banned page causes the amount set -# here to be added to the page's weighting. -# The behaviour of this option with regards to multiple occurrences of a site/URL is -# affected by the weightedphrasemode setting. -# -# NB: Currently, this feature uses regular expressions that require the PCRE library. -# As such, it is only available if you compiled DansGuardian with '--enable-pcre=yes'. -# You can check compile-time options by running 'dansguardian -v'. -# -# Set to 0 to disable. -# Defaults to 0. -# WARNING: This option is highly CPU intensive! -embeddedurlweight = 0 - -# Enable PICS rating support -# -# Defaults to disabled -# (on | off) -enablepics = off - -# Temporary Denied Page Bypass -# This provides a link on the denied page to bypass the ban for a few minutes. To be -# secure it uses a random hashed secret generated at daemon startup. You define the -# number of seconds the bypass will function for before the deny will appear again. -# To allow the link on the denied page to appear you will need to edit the template.html -# or dansguardian.pl file for your language. -# 300 = enable for 5 minutes -# 0 = disable ( defaults to 0 ) -# -1 = enable but you require a separate program/CGI to generate a valid link -bypass = 0 - -# Temporary Denied Page Bypass Secret Key -# Rather than generating a random key you can specify one. It must be more than 8 chars. -# '' = generate a random one (recommended and default) -# 'Mary had a little lamb.' = an example -# '76b42abc1cd0fdcaf6e943dcbc93b826' = an example -bypasskey = '' - -# Infection/Scan Error Bypass -# Similar to the 'bypass' setting, but specifically for bypassing files scanned and found -# to be infected, or files that trigger scanner errors - for example, archive types with -# recognised but unsupported compression schemes, or corrupt archives. -# The option specifies the number of seconds for which the bypass link will be valid. -# 300 = enable for 5 minutes -# 0 = disable (default) -# -1 = enable, but require a separate program/CGI to generate a valid link -infectionbypass = 0 - -# Infection/Scan Error Bypass Secret Key -# Same as the 'bypasskey' option, but used for infection bypass mode. -infectionbypasskey = '' - -# Infection/Scan Error Bypass on Scan Errors Only -# Enable this option to allow infectionbypass links only when virus scanning fails, -# not when a file is found to contain a virus. -# on = enable (default and highly recommended) -# off = disable -infectionbypasserrorsonly = on - -# Disable content scanning -# If you enable this option you will disable content scanning for this group. -# Content scanning primarily is AV scanning (if enabled) but could include -# other types. -# (on|off) default = off. -disablecontentscan = off - -# Enable Deep URL Analysis -# When enabled, DG looks for URLs within URLs, checking against the bannedsitelist and -# bannedurllist. This can be used, for example, to block images originating from banned -# sites from appearing in Google Images search results, as the original URLs are -# embedded in the thumbnail GET requests. -# (on|off) default = off -deepurlanalysis = off - -# reportinglevel -# -# -1 = log, but do not block - Stealth mode -# 0 = just say 'Access Denied' -# 1 = report why but not what denied phrase -# 2 = report fully -# 3 = use HTML template file (accessdeniedaddress ignored) - recommended -# -# If defined, this overrides the global setting in dansguardian.conf for -# members of this filter group. -# -#reportinglevel = 3 - -# accessdeniedaddress is the address of your web server to which the cgi -# dansguardian reporting script was copied. Only used in reporting levels -# 1 and 2. -# -# This webserver must be either: -# 1. Non-proxied. Either a machine on the local network, or listed as an -# exception in your browser's proxy configuration. -# 2. Added to the exceptionsitelist. Option 1 is preferable; this option is -# only for users using both transparent proxying and a non-local server -# to host this script. -# -# If defined, this overrides the global setting in dansguardian.conf for -# members of this filter group. -# -#accessdeniedaddress = 'http://YOURSERVER.YOURDOMAIN/cgi-bin/dansguardian.pl' - -# HTML Template override -# If defined, this specifies a custom HTML template file for members of this -# filter group, overriding the global setting in dansguardian.conf. This is -# only used in reporting level 3. -# -# The default template file path is //template.html -# e.g. /usr/share/dansguardian/languages/ukenglish/template.html when using 'ukenglish' -# language. -# -# This option generates a file path of the form: -# // -# e.g. /usr/share/dansguardian/languages/ukenglish/custom.html -# -#htmltemplate = 'custom.html' - -# Email reporting - original patch by J. Gauthier - -# Use SMTP -# If on, will enable system wide events to be reported by email. -# need to configure mail program (see 'mailer' in global config) -# and email recipients -# default usesmtp = off -#!! Not compiled !!usesmtp = off - -# mailfrom -# who the email would come from -# example: mailfrom = 'dansguardian@mycompany.com' -#!! Not compiled !!mailfrom = '' - -# avadmin -# who the virus emails go to (if notify av is on) -# example: avadmin = 'admin@mycompany.com' -#!! Not compiled !!avadmin = '' - -# contentdmin -# who the content emails go to (when thresholds are exceeded) -# and contentnotify is on -# example: contentadmin = 'admin@mycompany.com' -#!! Not compiled !!contentadmin = '' - -# avsubject -# Subject of the email sent when a virus is caught. -# only applicable if notifyav is on -# default avsubject = 'dansguardian virus block' -#!! Not compiled !!avsubject = 'dansguardian virus block' - -# content -# Subject of the email sent when violation thresholds are exceeded -# default contentsubject = 'dansguardian violation' -#!! Not compiled !!contentsubject = 'dansguardian violation' - -# notifyAV -# This will send a notification, if usesmtp/notifyav is on, any time an -# infection is found. -# Important: If this option is off, viruses will still be recorded like a -# content infraction. -#!! Not compiled !!notifyav = off - -# notifycontent -# This will send a notification, if usesmtp is on, based on thresholds -# below -#!! Not compiled !!notifycontent = off - -# thresholdbyuser -# results are only predictable with user authenticated configs -# if enabled the violation/threshold count is kept track of by the user -#!! Not compiled !!thresholdbyuser = off - -#violations -# number of violations before notification -# setting to 0 will never trigger a notification -#!! Not compiled !!violations = 0 - -#threshold -# this is in seconds. If 'violations' occur in 'threshold' seconds, then -# a notification is made. -# if this is set to 0, then whenever the set number of violations are made a -# notifaction will be sent. -#!! Not compiled !!threshold = 0 - -#SSL certificate checking -# Check that ssl certificates for servers on https connections are valid -# and signed by a ca in the configured path -sslcertcheck = off - -#SSL man in the middle -# Forge ssl certificates for all sites, decrypt the data then re encrypt it -# using a different private key. Used to filter ssl sites -sslmitm = off - diff --git a/trunk/package/feeds/packages/dansguardian/patches/001-compile.patch b/trunk/package/feeds/packages/dansguardian/patches/001-compile.patch deleted file mode 100644 index db8efa43..00000000 --- a/trunk/package/feeds/packages/dansguardian/patches/001-compile.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- a/configure -+++ b/configure -@@ -827,7 +827,7 @@ sysconfdir='${prefix}/etc' - sharedstatedir='${prefix}/com' - localstatedir='${prefix}/var' - includedir='${prefix}/include' --oldincludedir='/usr/include' -+oldincludedir='${prefix}/usr/include' - docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' - infodir='${datarootdir}/info' - htmldir='${docdir}' -@@ -5265,7 +5265,7 @@ $as_echo_n "checking for zlib... " >&6; - # Check whether --with-zlib was given. - if test "${with_zlib+set}" = set; then : - withval=$with_zlib; # check for header & func (in library) in given prefix -- CPPFLAGS="${CPPFLAGS} -I${withval}/include" -+ CPPFLAGS="${CPPFLAGS}" - if test "x$staticzlib" = "xtrue"; then - LIBS="-Bstatic -L${withval} -lz -Bdynamic ${LIBS}" - else -@@ -7095,7 +7095,7 @@ $as_echo "#define ENABLE_NTLM /**/" >>co - if test "${with_libiconv+set}" = set; then : - withval=$with_libiconv; # check for header & func (in library) in given prefix - if test "x$withval" != "x"; then -- CPPFLAGS="${CPPFLAGS} -I${withval}/include" -+ CPPFLAGS="${CPPFLAGS}" - LIBS="-L${withval}/lib -liconv ${LIBS}" - else - LIBS="-liconv ${LIBS}" diff --git a/trunk/package/feeds/packages/davfs2/Makefile b/trunk/package/feeds/packages/davfs2/Makefile deleted file mode 100644 index 96de63c2..00000000 --- a/trunk/package/feeds/packages/davfs2/Makefile +++ /dev/null @@ -1,69 +0,0 @@ -# -# Copyright (C) 2006-2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=davfs2 -PKG_VERSION:=1.5.2 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/davfs2/ -PKG_MD5SUM:=376bc9346454135cba78afacbcb23f86 - -PKG_FIXUP:=gettext-version autoreconf - -include $(INCLUDE_DIR)/package.mk - -define Package/davfs2 - SECTION:=net - CATEGORY:=Network - SUBMENU:=Filesystem - DEPENDS=+libopenssl +libneon +libiconv +libintl +libexpat +kmod-fuse +libfuse - TITLE:=Mount a WebDAV resource as a regular file system. - URL:=http://savannah.nongnu.org/projects/davfs2/ - MAINTAINER:=Federico Di Marco -endef - -define Package/davfs2/description - Web Distributed Authoring and Versioning (WebDAV), an extension to the HTTP-protocol, - allows authoring of resources on a remote web server.davfs2 provides the ability to - access such resources like a typical filesystem, allowing for use by standard - applications with no built-in support for WebDAV. - - davfs2 is designed to fully integrate into the filesystem semantics of Unix-like - systems (mount, umount, etc.). davfs2 makes mounting by unprivileged users as easy - and secure as possible. - - davfs2 does extensive caching to make the file system responsive, to avoid - unnecessary network traffic and to prevent data loss, and to cope for slow or - unreliable connections. - - davfs2 will work with most WebDAV servers needing little or no configuration. -endef - -define Package/davfs2/conffiles -/etc/davfs2/davfs2.conf -endef - -TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include - -CONFIGURE_VARS += \ - LDFLAGS="$(TARGET_LDFLAGS) -L$(TOOLCHAIN_DIR)/usr/lib -L$(TOOLCHAIN_DIR)/lib" - -CONFIGURE_ARGS += --with-neon="$(STAGING_DIR)/usr" - -define Package/davfs2/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mount.davfs $(1)/usr/sbin/ - $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/umount.davfs $(1)/usr/sbin/ - $(INSTALL_DIR) $(1)/etc - $(INSTALL_DIR) $(1)/etc/davfs2 - $(INSTALL_DATA) files/$(PKG_NAME).conf $(1)/etc/davfs2 -endef - -$(eval $(call BuildPackage,davfs2)) diff --git a/trunk/package/feeds/packages/davfs2/files/davfs2.conf b/trunk/package/feeds/packages/davfs2/files/davfs2.conf deleted file mode 100644 index 4cf501be..00000000 --- a/trunk/package/feeds/packages/davfs2/files/davfs2.conf +++ /dev/null @@ -1,9 +0,0 @@ -# -# davfs2 configuration file -# please see http://linux.die.net/man/5/davfs2.conf for details -# - -dav_user nobody -dav_group nogroup -cache_dir /tmp/davfs2 -cache_size 4 diff --git a/trunk/package/feeds/packages/davfs2/patches/010-main_code_fix.patch b/trunk/package/feeds/packages/davfs2/patches/010-main_code_fix.patch deleted file mode 100644 index aa36fdfa..00000000 --- a/trunk/package/feeds/packages/davfs2/patches/010-main_code_fix.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -32,8 +32,8 @@ mount_davfs_SOURCES = cache.c dav_coda.c - kernel_interface.h mount_davfs.h webdav.h - umount_davfs_SOURCES = umount_davfs.c defaults.h - --AM_CFLAGS = -Wall -Werror=format-security \ -- -fstack-protector --param=ssp-buffer-size=4 -+AM_CFLAGS = -Wall -Werror=format-security -+# -fstack-protector --param=ssp-buffer-size=4 -- removed ssp not supported in openwrt - DEFS = -DPROGRAM_NAME=\"mount.davfs\" \ - -DDAV_SYS_CONF_DIR=\"$(pkgsysconfdir)\" \ - -DDAV_LOCALSTATE_DIR=\"$(dav_localstatedir)\" \ ---- a/src/cache.c -+++ b/src/cache.c -@@ -58,7 +58,7 @@ - #ifdef HAVE_SYS_TYPES_H - #include - #endif --#include -+#include - - #include - #include ---- a/src/webdav.c -+++ b/src/webdav.c -@@ -2033,7 +2033,7 @@ ssl_verify(void *userdata, int failures, - len = getline(&s, &n, stdin); - if (len < 0) - abort(); -- if (rpmatch(s) > 0) -+ if ((s[0]=='y' || s[0]=='Y') > 0) - ret = 0; - free(s); - } diff --git a/trunk/package/feeds/packages/db47/Makefile b/trunk/package/feeds/packages/db47/Makefile deleted file mode 100644 index 563d47c8..00000000 --- a/trunk/package/feeds/packages/db47/Makefile +++ /dev/null @@ -1,100 +0,0 @@ -# -# Copyright (C) 2009-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk -include $(INCLUDE_DIR)/uclibc++.mk - -BASE_VERSION:=4.7.25 - -PKG_NAME:=db47 -PKG_VERSION:=$(BASE_VERSION).4.NC -PKG_RELEASE:=3 - -PKG_BUILD_DIR:=$(BUILD_DIR)/db-$(BASE_VERSION).NC -PKG_SOURCE:=db-$(BASE_VERSION).NC.tar.gz -PKG_SOURCE_URL:=http://download.oracle.com/berkeley-db/ -PKG_MD5SUM:=073ab7f20d24b3872a51ca762f5090e7 - -PKG_MAINTAINER:=Marcel Denia -PKG_LICENSE:=Sleepycat -PKG_LICENSE_FILES:=LICENSE - -PKG_FIXUP:=autoreconf -PKG_LIBTOOL_PATHS:=. build_unix -PKG_BUILD_PARALLEL:=1 - -include $(INCLUDE_DIR)/package.mk - -define Package/libdb47 - SECTION:=libs - CATEGORY:=Libraries - DEPENDS:=+libxml2 - TITLE:=Berkeley DB library (4.7) - URL:=http://www.oracle.com/us/products/database/berkeley-db - PROVIDES:=libdb47-full -endef - -define Package/libdb47/description - Berkeley DB library (4.7). -endef - -define Package/libdb47xx - SECTION:=libs - CATEGORY:=Libraries - DEPENDS:=+libdb47 $(CXX_DEPENDS) - TITLE:=Berkeley DB library (4.7) for C++ - URL:=http://www.oracle.com/us/products/database/berkeley-db - PROVIDES:=libdb47xx-full -endef - -define Package/libdb47xx/description - Berkeley DB library (4.7). C++ wrapper. -endef - -CONFIGURE_PATH = build_unix -CONFIGURE_CMD = ../dist/configure - -CONFIGURE_ARGS += \ - --enable-shared \ - --enable-static \ - --disable-java \ - --with-mutex=UNIX/fcntl \ - --disable-tcl \ - --disable-rpc \ - --enable-compat185 \ - --disable-debug \ - $(if $(CONFIG_PACKAGE_libdb47xx),--enable-cxx,--disable-cxx) - -TARGET_CFLAGS += $(FPIC) - -define Build/Compile - +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/build_unix \ - DESTDIR="$(PKG_INSTALL_DIR)" all - $(MAKE) -C $(PKG_BUILD_DIR)/build_unix \ - DESTDIR="$(PKG_INSTALL_DIR)" install -endef - -define Package/libdb47/install - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdb-*.so $(1)/usr/lib/ -endef - -define Package/libdb47xx/install - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdb_cxx-*.so $(1)/usr/lib/ -endef - -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include - $(CP) $(PKG_INSTALL_DIR)/usr/include/db.h $(1)/usr/include/ - $(CP) $(PKG_INSTALL_DIR)/usr/include/db_cxx.h $(1)/usr/include/ - $(INSTALL_DIR) $(1)/usr/lib/ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdb*.{a,so} $(1)/usr/lib -endef - -$(eval $(call BuildPackage,libdb47)) -$(eval $(call BuildPackage,libdb47xx)) diff --git a/trunk/package/feeds/packages/db47/patches/010-patch.4.7.25.1.patch b/trunk/package/feeds/packages/db47/patches/010-patch.4.7.25.1.patch deleted file mode 100644 index f1fd4727..00000000 --- a/trunk/package/feeds/packages/db47/patches/010-patch.4.7.25.1.patch +++ /dev/null @@ -1,55 +0,0 @@ ---- a/sequence/sequence.c -+++ b/sequence/sequence.c -@@ -187,7 +187,11 @@ __seq_open_pp(seq, txn, keyp, flags) - if ((ret = __db_get_flags(dbp, &tflags)) != 0) - goto err; - -- if (DB_IS_READONLY(dbp)) { -+ /* -+ * We can let replication clients open sequences, but must -+ * check later that they do not update them. -+ */ -+ if (F_ISSET(dbp, DB_AM_RDONLY)) { - ret = __db_rdonly(dbp->env, "DB_SEQUENCE->open"); - goto err; - } -@@ -244,6 +248,11 @@ retry: if ((ret = __db_get(dbp, ip, - if ((ret != DB_NOTFOUND && ret != DB_KEYEMPTY) || - !LF_ISSET(DB_CREATE)) - goto err; -+ if (IS_REP_CLIENT(env) && -+ !F_ISSET(dbp, DB_AM_NOT_DURABLE)) { -+ ret = __db_rdonly(env, "DB_SEQUENCE->open"); -+ goto err; -+ } - ret = 0; - - rp = &seq->seq_record; -@@ -296,7 +305,12 @@ retry: if ((ret = __db_get(dbp, ip, - */ - rp = seq->seq_data.data; - if (rp->seq_version == DB_SEQUENCE_OLDVER) { --oldver: rp->seq_version = DB_SEQUENCE_VERSION; -+oldver: if (IS_REP_CLIENT(env) && -+ !F_ISSET(dbp, DB_AM_NOT_DURABLE)) { -+ ret = __db_rdonly(env, "DB_SEQUENCE->open"); -+ goto err; -+ } -+ rp->seq_version = DB_SEQUENCE_VERSION; - if (!F_ISSET(env, ENV_LITTLEENDIAN)) { - if (IS_DB_AUTO_COMMIT(dbp, txn)) { - if ((ret = -@@ -707,6 +721,13 @@ __seq_get(seq, txn, delta, retp, flags) - - MUTEX_LOCK(env, seq->mtx_seq); - -+ if (handle_check && IS_REP_CLIENT(env) && -+ !F_ISSET(dbp, DB_AM_NOT_DURABLE)) { -+ ret = __db_rdonly(env, "DB_SEQUENCE->get"); -+ goto err; -+ } -+ -+ - if (rp->seq_min + delta > rp->seq_max) { - __db_errx(env, "Sequence overflow"); - ret = EINVAL; diff --git a/trunk/package/feeds/packages/db47/patches/020-patch.4.7.25.2.patch b/trunk/package/feeds/packages/db47/patches/020-patch.4.7.25.2.patch deleted file mode 100644 index ddf830a3..00000000 --- a/trunk/package/feeds/packages/db47/patches/020-patch.4.7.25.2.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- a/lock/lock.c -+++ b/lock/lock.c -@@ -1274,10 +1274,12 @@ __lock_put_internal(lt, lockp, obj_ndx, - SH_TAILQ_REMOVE( - <->obj_tab[obj_ndx], sh_obj, links, __db_lockobj); - if (sh_obj->lockobj.size > sizeof(sh_obj->objdata)) { -- LOCK_REGION_LOCK(env); -+ if (region->part_t_size != 1) -+ LOCK_REGION_LOCK(env); - __env_alloc_free(<->reginfo, - SH_DBT_PTR(&sh_obj->lockobj)); -- LOCK_REGION_UNLOCK(env); -+ if (region->part_t_size != 1) -+ LOCK_REGION_UNLOCK(env); - } - SH_TAILQ_INSERT_HEAD( - &FREE_OBJS(lt, part_id), sh_obj, links, __db_lockobj); -@@ -1467,15 +1469,21 @@ retry: SH_TAILQ_FOREACH(sh_obj, <->obj - if (obj->size <= sizeof(sh_obj->objdata)) - p = sh_obj->objdata; - else { -- LOCK_REGION_LOCK(env); -+ /* -+ * If we have only one partition, the region is locked. -+ */ -+ if (region->part_t_size != 1) -+ LOCK_REGION_LOCK(env); - if ((ret = - __env_alloc(<->reginfo, obj->size, &p)) != 0) { - __db_errx(env, - "No space for lock object storage"); -- LOCK_REGION_UNLOCK(env); -+ if (region->part_t_size != 1) -+ LOCK_REGION_UNLOCK(env); - goto err; - } -- LOCK_REGION_UNLOCK(env); -+ if (region->part_t_size != 1) -+ LOCK_REGION_UNLOCK(env); - } - - memcpy(p, obj->data, obj->size); diff --git a/trunk/package/feeds/packages/db47/patches/030-patch.4.7.25.3.patch b/trunk/package/feeds/packages/db47/patches/030-patch.4.7.25.3.patch deleted file mode 100644 index 59b00e65..00000000 --- a/trunk/package/feeds/packages/db47/patches/030-patch.4.7.25.3.patch +++ /dev/null @@ -1,211 +0,0 @@ ---- a/lock/lock_deadlock.c -+++ b/lock/lock_deadlock.c -@@ -121,7 +121,7 @@ __lock_detect(env, atype, rejectp) - DB_LOCKTAB *lt; - db_timespec now; - locker_info *idmap; -- u_int32_t *bitmap, *copymap, **deadp, **free_me, *tmpmap; -+ u_int32_t *bitmap, *copymap, **deadp, **deadlist, *tmpmap; - u_int32_t i, cid, keeper, killid, limit, nalloc, nlockers; - u_int32_t lock_max, txn_max; - int ret, status; -@@ -133,7 +133,8 @@ __lock_detect(env, atype, rejectp) - if (IS_REP_CLIENT(env)) - atype = DB_LOCK_MINWRITE; - -- free_me = NULL; -+ copymap = tmpmap = NULL; -+ deadlist = NULL; - - lt = env->lk_handle; - if (rejectp != NULL) -@@ -179,11 +180,11 @@ __lock_detect(env, atype, rejectp) - memcpy(copymap, bitmap, nlockers * sizeof(u_int32_t) * nalloc); - - if ((ret = __os_calloc(env, sizeof(u_int32_t), nalloc, &tmpmap)) != 0) -- goto err1; -+ goto err; - - /* Find a deadlock. */ - if ((ret = -- __dd_find(env, bitmap, idmap, nlockers, nalloc, &deadp)) != 0) -+ __dd_find(env, bitmap, idmap, nlockers, nalloc, &deadlist)) != 0) - return (ret); - - /* -@@ -204,8 +205,7 @@ __lock_detect(env, atype, rejectp) - txn_max = TXN_MAXIMUM; - - killid = BAD_KILLID; -- free_me = deadp; -- for (; *deadp != NULL; deadp++) { -+ for (deadp = deadlist; *deadp != NULL; deadp++) { - if (rejectp != NULL) - ++*rejectp; - killid = (u_int32_t)(*deadp - bitmap) / nalloc; -@@ -342,11 +342,12 @@ dokill: if (killid == BAD_KILLID) { - __db_msg(env, - "Aborting locker %lx", (u_long)idmap[killid].id); - } -- __os_free(env, tmpmap); --err1: __os_free(env, copymap); -- --err: if (free_me != NULL) -- __os_free(env, free_me); -+err: if(copymap != NULL) -+ __os_free(env, copymap); -+ if (deadlist != NULL) -+ __os_free(env, deadlist); -+ if(tmpmap != NULL) -+ __os_free(env, tmpmap); - __os_free(env, bitmap); - __os_free(env, idmap); - -@@ -360,6 +361,17 @@ err: if (free_me != NULL) - - #define DD_INVALID_ID ((u_int32_t) -1) - -+/* -+ * __dd_build -- -+ * Build the lock dependency bit maps. -+ * Notes on syncronization: -+ * LOCK_SYSTEM_LOCK is used to hold objects locked when we have -+ * a single partition. -+ * LOCK_LOCKERS is held while we are walking the lockers list and -+ * to single thread the use of lockerp->dd_id. -+ * LOCK_DD protects the DD list of objects. -+ */ -+ - static int - __dd_build(env, atype, bmp, nlockers, allocp, idmap, rejectp) - ENV *env; -@@ -393,6 +405,7 @@ __dd_build(env, atype, bmp, nlockers, al - * In particular we do not build the conflict array and our caller - * needs to expect this. - */ -+ LOCK_SYSTEM_LOCK(lt, region); - if (atype == DB_LOCK_EXPIRE) { - skip: LOCK_DD(env, region); - op = SH_TAILQ_FIRST(®ion->dd_objs, __db_lockobj); -@@ -430,17 +443,18 @@ skip: LOCK_DD(env, region); - OBJECT_UNLOCK(lt, region, indx); - } - UNLOCK_DD(env, region); -+ LOCK_SYSTEM_UNLOCK(lt, region); - goto done; - } - - /* -- * We'll check how many lockers there are, add a few more in for -- * good measure and then allocate all the structures. Then we'll -- * verify that we have enough room when we go back in and get the -- * mutex the second time. -+ * Allocate after locking the region -+ * to make sure the structures are large enough. - */ --retry: count = region->stat.st_nlockers; -+ LOCK_LOCKERS(env, region); -+ count = region->stat.st_nlockers; - if (count == 0) { -+ UNLOCK_LOCKERS(env, region); - *nlockers = 0; - return (0); - } -@@ -448,50 +462,37 @@ retry: count = region->stat.st_nlockers; - if (FLD_ISSET(env->dbenv->verbose, DB_VERB_DEADLOCK)) - __db_msg(env, "%lu lockers", (u_long)count); - -- count += 20; - nentries = (u_int32_t)DB_ALIGN(count, 32) / 32; - -- /* -- * Allocate enough space for a count by count bitmap matrix. -- * -- * XXX -- * We can probably save the malloc's between iterations just -- * reallocing if necessary because count grew by too much. -- */ -+ /* Allocate enough space for a count by count bitmap matrix. */ - if ((ret = __os_calloc(env, (size_t)count, -- sizeof(u_int32_t) * nentries, &bitmap)) != 0) -+ sizeof(u_int32_t) * nentries, &bitmap)) != 0) { -+ UNLOCK_LOCKERS(env, region); - return (ret); -+ } - - if ((ret = __os_calloc(env, - sizeof(u_int32_t), nentries, &tmpmap)) != 0) { -+ UNLOCK_LOCKERS(env, region); - __os_free(env, bitmap); - return (ret); - } - - if ((ret = __os_calloc(env, - (size_t)count, sizeof(locker_info), &id_array)) != 0) { -+ UNLOCK_LOCKERS(env, region); - __os_free(env, bitmap); - __os_free(env, tmpmap); - return (ret); - } - - /* -- * Now go back in and actually fill in the matrix. -- */ -- if (region->stat.st_nlockers > count) { -- __os_free(env, bitmap); -- __os_free(env, tmpmap); -- __os_free(env, id_array); -- goto retry; -- } -- -- /* - * First we go through and assign each locker a deadlock detector id. - */ - id = 0; -- LOCK_LOCKERS(env, region); - SH_TAILQ_FOREACH(lip, ®ion->lockers, ulinks, __db_locker) { - if (lip->master_locker == INVALID_ROFF) { -+ DB_ASSERT(env, id < count); - lip->dd_id = id++; - id_array[lip->dd_id].id = lip->id; - switch (atype) { -@@ -510,7 +511,6 @@ retry: count = region->stat.st_nlockers; - lip->dd_id = DD_INVALID_ID; - - } -- UNLOCK_LOCKERS(env, region); - - /* - * We only need consider objects that have waiters, so we use -@@ -669,7 +669,6 @@ again: memset(bitmap, 0, count * sizeof - * status after building the bit maps so that we will not detect - * a blocked transaction without noting that it is already aborting. - */ -- LOCK_LOCKERS(env, region); - for (id = 0; id < count; id++) { - if (!id_array[id].valid) - continue; -@@ -738,6 +737,7 @@ get_lock: id_array[id].last_lock = R_OF - id_array[id].in_abort = 1; - } - UNLOCK_LOCKERS(env, region); -+ LOCK_SYSTEM_UNLOCK(lt, region); - - /* - * Now we can release everything except the bitmap matrix that we -@@ -839,6 +839,7 @@ __dd_abort(env, info, statusp) - ret = 0; - - /* We must lock so this locker cannot go away while we abort it. */ -+ LOCK_SYSTEM_LOCK(lt, region); - LOCK_LOCKERS(env, region); - - /* -@@ -895,6 +896,7 @@ __dd_abort(env, info, statusp) - done: OBJECT_UNLOCK(lt, region, info->last_ndx); - err: - out: UNLOCK_LOCKERS(env, region); -+ LOCK_SYSTEM_UNLOCK(lt, region); - return (ret); - } - diff --git a/trunk/package/feeds/packages/db47/patches/040-patch.4.7.25.4.patch b/trunk/package/feeds/packages/db47/patches/040-patch.4.7.25.4.patch deleted file mode 100644 index 7db40612..00000000 --- a/trunk/package/feeds/packages/db47/patches/040-patch.4.7.25.4.patch +++ /dev/null @@ -1,118 +0,0 @@ ---- a/dbinc/repmgr.h -+++ b/dbinc/repmgr.h -@@ -374,6 +374,7 @@ typedef struct { - #define SITE_FROM_EID(eid) (&db_rep->sites[eid]) - #define EID_FROM_SITE(s) ((int)((s) - (&db_rep->sites[0]))) - #define IS_VALID_EID(e) ((e) >= 0) -+#define IS_KNOWN_REMOTE_SITE(e) ((e) >= 0 && ((u_int)(e)) < db_rep->site_cnt) - #define SELF_EID INT_MAX - - #define IS_PEER_POLICY(p) ((p) == DB_REPMGR_ACKS_ALL_PEERS || \ ---- a/rep/rep_elect.c -+++ b/rep/rep_elect.c -@@ -33,7 +33,7 @@ static int __rep_elect_init - static int __rep_fire_elected __P((ENV *, REP *, u_int32_t)); - static void __rep_elect_master __P((ENV *, REP *)); - static int __rep_tally __P((ENV *, REP *, int, u_int32_t *, u_int32_t, roff_t)); --static int __rep_wait __P((ENV *, db_timeout_t *, int *, int, u_int32_t)); -+static int __rep_wait __P((ENV *, db_timeout_t *, int, u_int32_t)); - - /* - * __rep_elect -- -@@ -55,7 +55,7 @@ __rep_elect(dbenv, given_nsites, nvotes, - ENV *env; - LOG *lp; - REP *rep; -- int done, eid, elected, full_elect, locked, in_progress, need_req; -+ int done, elected, full_elect, locked, in_progress, need_req; - int ret, send_vote, t_ret; - u_int32_t ack, ctlflags, egen, nsites, orig_tally, priority, realpri; - u_int32_t tiebreaker; -@@ -181,8 +181,7 @@ __rep_elect(dbenv, given_nsites, nvotes, - REP_SYSTEM_UNLOCK(env); - (void)__rep_send_message(env, DB_EID_BROADCAST, - REP_MASTER_REQ, NULL, NULL, 0, 0); -- ret = __rep_wait(env, &to, &eid, -- 0, REP_F_EPHASE0); -+ ret = __rep_wait(env, &to, 0, REP_F_EPHASE0); - REP_SYSTEM_LOCK(env); - F_CLR(rep, REP_F_EPHASE0); - switch (ret) { -@@ -286,11 +285,11 @@ restart: - REP_SYSTEM_LOCK(env); - goto vote; - } -- ret = __rep_wait(env, &to, &eid, full_elect, REP_F_EPHASE1); -+ ret = __rep_wait(env, &to, full_elect, REP_F_EPHASE1); - switch (ret) { - case 0: - /* Check if election complete or phase complete. */ -- if (eid != DB_EID_INVALID && !IN_ELECTION(rep)) { -+ if (!IN_ELECTION(rep)) { - RPRINT(env, DB_VERB_REP_ELECT, - (env, "Ended election phase 1")); - goto edone; -@@ -398,15 +397,12 @@ phase2: - REP_SYSTEM_LOCK(env); - goto i_won; - } -- ret = __rep_wait(env, &to, &eid, full_elect, REP_F_EPHASE2); -+ ret = __rep_wait(env, &to, full_elect, REP_F_EPHASE2); - RPRINT(env, DB_VERB_REP_ELECT, - (env, "Ended election phase 2 %d", ret)); - switch (ret) { - case 0: -- if (eid != DB_EID_INVALID) -- goto edone; -- ret = DB_REP_UNAVAIL; -- break; -+ goto edone; - case DB_REP_EGENCHG: - if (to > timeout) - to = timeout; -@@ -1050,13 +1046,6 @@ __rep_elect_master(env, rep) - ENV *env; - REP *rep; - { -- /* -- * We often come through here twice, sometimes even more. We mustn't -- * let the redundant calls affect stats counting. But rep_elect relies -- * on this first part for setting eidp. -- */ -- rep->master_id = rep->eid; -- - if (F_ISSET(rep, REP_F_MASTERELECT | REP_F_MASTER)) { - /* We've been through here already; avoid double counting. */ - return; -@@ -1093,10 +1082,10 @@ __rep_fire_elected(env, rep, egen) - (timeout > 5000000) ? 500000 : ((timeout >= 10) ? timeout / 10 : 1); - - static int --__rep_wait(env, timeoutp, eidp, full_elect, flags) -+__rep_wait(env, timeoutp, full_elect, flags) - ENV *env; - db_timeout_t *timeoutp; -- int *eidp, full_elect; -+ int full_elect; - u_int32_t flags; - { - DB_REP *db_rep; -@@ -1174,7 +1163,6 @@ __rep_wait(env, timeoutp, eidp, full_ele - F_CLR(rep, REP_F_EGENUPDATE); - ret = DB_REP_EGENCHG; - } else if (phase_over) { -- *eidp = rep->master_id; - done = 1; - ret = 0; - } ---- a/repmgr/repmgr_net.c -+++ b/repmgr/repmgr_net.c -@@ -100,6 +100,8 @@ __repmgr_send(dbenv, control, rec, lsnp, - control, rec, &nsites_sent, &npeers_sent)) != 0) - goto out; - } else { -+ DB_ASSERT(env, IS_KNOWN_REMOTE_SITE(eid)); -+ - /* - * If this is a request that can be sent anywhere, then see if - * we can send it to our peer (to save load on the master), but diff --git a/trunk/package/feeds/packages/dbus/Makefile b/trunk/package/feeds/packages/dbus/Makefile deleted file mode 100644 index c8bd4155..00000000 --- a/trunk/package/feeds/packages/dbus/Makefile +++ /dev/null @@ -1,213 +0,0 @@ -# -# Copyright (C) 2007-2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -# Make sure to also update the dbus-x package -PKG_NAME:=dbus -PKG_VERSION:=1.9.14 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://dbus.freedesktop.org/releases/dbus/ -PKG_MD5SUM:=32cd0d16067422bfd691e2f647b432b0 -PKG_MAINTAINER:=Steven Barth -PKG_LICENSE:=AFL-2.1 - -PKG_FIXUP:=autoreconf -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/host-build.mk -include $(INCLUDE_DIR)/package.mk - -TARGET_LDFLAGS+= \ - -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ - -define Package/dbus/Default - SECTION:=utils - CATEGORY:=Utilities - TITLE:=Simple interprocess messaging system - URL:=http://dbus.freedesktop.org/ -endef - -define Package/dbus/Default/description - D-Bus is a message bus system, a simple way for applications to talk to one - another. In addition to interprocess communication, D-Bus helps coordinate - process lifecycle; it makes it simple and reliable to code a "single instance" - application or daemon, and to launch applications and daemons on demand when - their services are needed. -endef - -define Package/libdbus -$(call Package/dbus/Default) - CATEGORY:=Libraries - TITLE+= (library) - DEPENDS:= +libpthread -endef - -define Package/libdbus/Description -$(call Package/dbus/Default/description) - This package contains the D-Bus shared library. -endef - -define Package/dbus -$(call Package/dbus/Default) - TITLE+= (daemon) - DEPENDS:= +libexpat +libdbus -endef - -define Package/dbus/Description -$(call Package/dbus/Default/description) - This package contains the D-Bus daemon. -endef - -define Package/dbus-utils -$(call Package/dbus/Default) - TITLE+= (utilities) - DEPENDS:= dbus -endef - -define Package/dbus-utils/Description -$(call Package/dbus/Default/description) - This package contains D-Bus utilities. -endef - - -define Build/Prepare - $(Build/Prepare/Default) - $(SED) 's/-Wl,--gc-sections/--gc-sections/' $(PKG_BUILD_DIR)/configure -endef - -CONFIGURE_ARGS += \ - --enable-shared \ - --enable-static \ - --disable-abstract-sockets \ - --disable-ansi \ - --disable-asserts \ - --disable-console-owner-file \ - --disable-doxygen-docs \ - --disable-compiler_coverage \ - --disable-selinux \ - --disable-tests \ - --disable-verbose-mode \ - --disable-xml-docs \ - --with-xml="expat" \ - --with-dbus-user=root \ - --with-dbus-daemondir="/usr/sbin" \ - --with-system-socket="/var/run/dbus/system_bus_socket" \ - --with-system-pid-file="/var/run/dbus.pid" \ - --without-x \ - --libexecdir=/usr/lib/dbus-1 - -CONFIGURE_VARS+= \ - ac_cv_have_abstract_sockets="yes" \ - ac_cv_lib_expat_XML_ParserCreate_MM="yes" \ - -HOST_CONFIGURE_ARGS+= \ - --enable-shared \ - --enable-static \ - --disable-abstract-sockets \ - --disable-ansi \ - --disable-asserts \ - --disable-console-owner-file \ - --disable-docygen-docs \ - --disable-compiler_coverage \ - --disable-selinux \ - --disable-tests \ - --disable-verbose-mode \ - --disable-xml-docs \ - --with-dbus-user=root \ - --with-dbus-daemondir="$(STAGIND_DIR_HOST)/bin" \ - --with-system-socket="$(STAGING_DIR_HOST)/var/run/dbus/system_bus_socket" \ - --with-system-pid-file="$(STAGING_DIR_HOST)/var/run/dbus.pid" \ - --without-x \ - --libexecdir="$(STAGING_DIR_HOST)/lib/dbus-1" - -HOST_CONFIGURE_VARS+= \ - ac_cv_have_abstract_sockets="yes" \ - ac_cv_lib_expat_XML_ParserCreate_MM="yes" \ - -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include - $(CP) \ - $(PKG_INSTALL_DIR)/usr/include/dbus-1.0 \ - $(1)/usr/include/ - $(INSTALL_DIR) $(1)/usr/lib/dbus-1.0/include/dbus/ - $(INSTALL_DATA) \ - $(PKG_INSTALL_DIR)/usr/lib/dbus-1.0/include/dbus/*.h \ - $(1)/usr/lib/dbus-1.0/include/dbus/ - - $(INSTALL_DIR) $(1)/usr/lib - $(INSTALL_DATA) \ - $(PKG_INSTALL_DIR)/usr/lib/libdbus-1.{so*,la,a} \ - $(1)/usr/lib/ - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/dbus-1.0 \ - $(1)/usr/lib/ - $(INSTALL_DIR) $(1)/usr/lib/pkgconfig - $(INSTALL_DATA) \ - $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/dbus-1.pc \ - $(1)/usr/lib/pkgconfig/ -endef - -define Package/dbus/conffiles -/etc/dbus-1/session.conf -/etc/dbus-1/system.conf -endef - -define Package/libdbus/install - $(INSTALL_DIR) $(1)/usr/lib - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/libdbus-1.so.* \ - $(1)/usr/lib/ -endef - -define Package/dbus/install - $(INSTALL_DIR) $(1)/etc - $(CP) \ - $(PKG_INSTALL_DIR)/etc/dbus-1 \ - $(1)/etc/ - - $(INSTALL_DIR) $(1)/usr/lib/dbus-1 - $(INSTALL_BIN) \ - $(PKG_INSTALL_DIR)/usr/lib/dbus-1/dbus-daemon-launch-helper \ - $(1)/usr/lib/dbus-1/ - - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) \ - $(PKG_INSTALL_DIR)/usr/sbin/dbus-daemon \ - $(1)/usr/sbin/ - - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) \ - $(PKG_INSTALL_DIR)/usr/bin/dbus-uuidgen \ - $(1)/usr/bin/ - - $(INSTALL_BIN) \ - $(PKG_INSTALL_DIR)/usr/bin/dbus-launch \ - $(1)/usr/bin/dbus-launch.real - $(INSTALL_BIN) \ - ./files/dbus-launch \ - $(1)/usr/bin/ - - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) \ - ./files/dbus.init \ - $(1)/etc/init.d/dbus -endef - -define Package/dbus-utils/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) \ - $(PKG_INSTALL_DIR)/usr/bin/dbus-{send,monitor,cleanup-sockets} \ - $(1)/usr/bin/ -endef - -$(eval $(call HostBuild)) -$(eval $(call BuildPackage,libdbus)) -$(eval $(call BuildPackage,dbus)) -$(eval $(call BuildPackage,dbus-utils)) diff --git a/trunk/package/feeds/packages/dbus/files/dbus-launch b/trunk/package/feeds/packages/dbus/files/dbus-launch deleted file mode 100644 index 7c3f9228..00000000 --- a/trunk/package/feeds/packages/dbus/files/dbus-launch +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# -# Simple wrapper script which allows us to build dbus without general x support -# If an application needs x support in dbus-launch it has to depend on the -# dbus-launch-x package. The script is used to prefer dbus-launch with x over -# the dbus-lauch without x. - -if [ -f /usr/bin/dbus-launch-x ]; then - exec /usr/bin/dbus-launch-x $@ -else - exec /usr/bin/dbus-launch.real $@ -fi diff --git a/trunk/package/feeds/packages/dbus/files/dbus.init b/trunk/package/feeds/packages/dbus/files/dbus.init deleted file mode 100644 index 42940837..00000000 --- a/trunk/package/feeds/packages/dbus/files/dbus.init +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2007-2011 OpenWrt.org - -START=60 - -SERVICE_PID_FILE=/var/run/dbus.pid - -start() { - mkdir -m 0755 -p /var/lib/dbus - mkdir -m 0755 -p /var/run/dbus - [ -x /usr/bin/dbus-uuidgen ] && /usr/bin/dbus-uuidgen --ensure - service_start /usr/sbin/dbus-daemon --system -} - -stop() { - service_stop /usr/sbin/dbus-daemon && rm $SERVICE_PID_FILE -} diff --git a/trunk/package/feeds/packages/dbus/patches/100-fix-poll-select.patch b/trunk/package/feeds/packages/dbus/patches/100-fix-poll-select.patch deleted file mode 100644 index 64f65251..00000000 --- a/trunk/package/feeds/packages/dbus/patches/100-fix-poll-select.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: dbus-1.9.4/tools/tool-common.c -=================================================================== ---- dbus-1.9.4.orig/tools/tool-common.c -+++ dbus-1.9.4/tools/tool-common.c -@@ -29,6 +29,8 @@ - #include - #include - -+#include -+ - #ifdef DBUS_WIN - #include - #endif diff --git a/trunk/package/feeds/packages/ddns-scripts/Makefile b/trunk/package/feeds/packages/ddns-scripts/Makefile deleted file mode 100644 index f739cb72..00000000 --- a/trunk/package/feeds/packages/ddns-scripts/Makefile +++ /dev/null @@ -1,216 +0,0 @@ -# -# Copyright (C) 2008-2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=ddns-scripts -# Version == major.minor.patch -# increase on new functionality (minor) or patches (patch) -PKG_VERSION:=2.4.1 -# Release == build -# increase on changes of services files or tld_names.dat -PKG_RELEASE:=1 - -PKG_LICENSE:=GPL-2.0 -PKG_MAINTAINER:=Christian Schoenebeck - -include $(INCLUDE_DIR)/package.mk - -# no default dependencies -PKG_DEFAULT_DEPENDS= - -define Package/$(PKG_NAME)/Default - SECTION:=net - CATEGORY:=Network - SUBMENU:=IP Addresses and Names - PKGARCH:=all -endef - -##### ********************************** -define Package/$(PKG_NAME) - $(call Package/$(PKG_NAME)/Default) - TITLE:=Dynamic DNS Client scripts (with IPv6 support) -endef -# shown in LuCI package description -define Package/$(PKG_NAME)/description - Dynamic DNS Client scripts (with IPv6 support) - Info: http://wiki.openwrt.org/doc/howto/ddns.client -endef -# shown in menuconfig -define Package/$(PKG_NAME)/config - help - A highly configurable set of scripts for doing dynamic dns updates. - - IPv6 support - - force communication to IPv4 or IPv6 only - - DNS server support - - using BIND host if installed - - DNS requests via TCP - - Proxy server support - - log file support - - support to run once - . - Version: $(PKG_VERSION)-$(PKG_RELEASE) - Info : http://wiki.openwrt.org/doc/howto/ddns.client - . - $(PKG_MAINTAINER) -endef - -##### ********************************** -define Package/$(PKG_NAME)_cloudflare - $(call Package/$(PKG_NAME)/Default) - TITLE:=DDNS extension for CloudFlare - DEPENDS:=$(PKG_NAME) -endef -define Package/$(PKG_NAME)_cloudflare/description - Dynamic DNS Client scripts extension for CloudFlare -endef - -##### ********************************** -define Package/$(PKG_NAME)_no-ip_com - $(call Package/$(PKG_NAME)/Default) - TITLE:=DDNS extension for No-IP.com - DEPENDS:=$(PKG_NAME) -endef -define Package/$(PKG_NAME)_no-ip_com/description - Dynamic DNS Client scripts extension for No-IP.com -endef - -##### ********************************** -define Package/$(PKG_NAME)_nsupdate - $(call Package/$(PKG_NAME)/Default) - TITLE:=DDNS extension using Bind nsupdate - DEPENDS:=$(PKG_NAME) +bind-client -endef -define Package/$(PKG_NAME)_nsupdate/description - Dynamic DNS Client scripts extension for direct updates using Bind nsupdate -endef -define Package/$(PKG_NAME)_nsupdate/config - help - The script directly updates a PowerDNS (or maybe bind server) via nsupdate - from bind-client package. It requires - "option dns_server" to be set to the server to be used by nsupdate. - "option username" should be set to the key name and - "option password" to the base64 encoded shared secret. - -endef - -##### ********************************** -define Build/Configure -endef -define Build/Compile - $(CP) ./files $(PKG_BUILD_DIR) - for FILE in `find $(PKG_BUILD_DIR)/files -type f`; do \ - $(SED) 's/^\s*#/#/' \ - -e '/^#\s\|^#$$$$/d' \ - -e 's/\s#\s.*$$$$//' \ - -e 's/\s*$$$$//' \ - -e '/^\/\/\s/d' \ - -e '/^\s*$$$$/d' $$$$FILE; \ - done - gzip -9 $(PKG_BUILD_DIR)/files/tld_names.dat -endef - -define Package/$(PKG_NAME)/conffiles -/etc/config/ddns -endef - -##### ********************************** -define Package/$(PKG_NAME)/install - $(INSTALL_DIR) $(1)/etc/hotplug.d/iface - $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/ddns.hotplug $(1)/etc/hotplug.d/iface/95-ddns - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/ddns.init $(1)/etc/init.d/ddns - $(INSTALL_DIR) $(1)/etc/config - $(INSTALL_CONF) $(PKG_BUILD_DIR)/files/ddns.config $(1)/etc/config/ddns - - $(INSTALL_DIR) $(1)/usr/lib/ddns - $(INSTALL_DATA) $(PKG_BUILD_DIR)/files/services* $(1)/usr/lib/ddns - $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/dynamic_*.sh $(1)/usr/lib/ddns -endef -define Package/$(PKG_NAME)/postinst - #!/bin/sh - # if run within buildroot exit - [ -n "$${IPKG_INSTROOT}" ] && exit 0 - - # add new section "ddns" "global" if not exists - uci -q get ddns.global > /dev/null || uci -q set ddns.global='ddns' - uci -q get ddns.global.date_format > /dev/null || uci -q set ddns.global.date_format='%F %R' - uci -q get ddns.global.log_lines > /dev/null || uci -q set ddns.global.log_lines='250' - uci -q get ddns.global.allow_local_ip > /dev/null || uci -q set ddns.global.allow_local_ip='0' - uci -q commit ddns - - # clear LuCI indexcache - rm -f /tmp/luci-indexcache >/dev/null 2>&1 - - exit 0 -endef -define Package/$(PKG_NAME)/prerm - #!/bin/sh - # if run within buildroot exit - [ -n "$${IPKG_INSTROOT}" ] && exit 0 - - # stop running scripts - /etc/init.d/ddns disable - /etc/init.d/ddns stop - - # clear LuCI indexcache - rm -f /tmp/luci-indexcache >/dev/null 2>&1 - - exit 0 -endef - -##### ********************************** -define Package/$(PKG_NAME)_cloudflare/install - $(INSTALL_DIR) $(1)/usr/lib/ddns - $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/update_CloudFlare.sh $(1)/usr/lib/ddns - $(INSTALL_DATA) $(PKG_BUILD_DIR)/files/tld_names.dat.gz $(1)/usr/lib/ddns -endef -define Package/$(PKG_NAME)_cloudflare/postinst - #!/bin/sh - echo -e '"CloudFlare"\t"update_CloudFlare.sh"' >> $${IPKG_INSTROOT}/usr/lib/ddns/services - echo -e '"CloudFlare"\t"update_CloudFlare.sh"' >> $${IPKG_INSTROOT}/usr/lib/ddns/services_ipv6 -endef -define Package/$(PKG_NAME)_cloudflare/prerm - #!/bin/sh - /bin/sed -i '/update_CloudFlare\.sh/ d' $${IPKG_INSTROOT}/usr/lib/ddns/services - /bin/sed -i '/update_CloudFlare\.sh/ d' $${IPKG_INSTROOT}/usr/lib/ddns/services_ipv6 -endef - -##### ********************************** -define Package/$(PKG_NAME)_no-ip_com/install - $(INSTALL_DIR) $(1)/usr/lib/ddns - $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/update_No-IP.com.sh $(1)/usr/lib/ddns -endef -define Package/$(PKG_NAME)_no-ip_com/postinst - #!/bin/sh - echo -e '"No-IP.com"\t"update_No-IP.com.sh"' >> $${IPKG_INSTROOT}/usr/lib/ddns/services - echo -e '"NoIP.com"\t"update_No-IP.com.sh"' >> $${IPKG_INSTROOT}/usr/lib/ddns/services -endef -define Package/$(PKG_NAME)_no-ip_com/prerm - #!/bin/sh - /bin/sed -i '/update_No-IP\.com\.sh/ d' $${IPKG_INSTROOT}/usr/lib/ddns/services -endef - -##### ********************************** -define Package/$(PKG_NAME)_nsupdate/install - $(INSTALL_DIR) $(1)/usr/lib/ddns - $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/update_nsupdate.sh $(1)/usr/lib/ddns -endef -define Package/$(PKG_NAME)_nsupdate/postinst - #!/bin/sh - echo -e '"Bind-nsupdate"\t"update_nsupdate.sh"' >> $${IPKG_INSTROOT}/usr/lib/ddns/services - echo -e '"Bind-nsupdate"\t"update_nsupdate.sh"' >> $${IPKG_INSTROOT}/usr/lib/ddns/services_ipv6 -endef -define Package/$(PKG_NAME)_nsupdate/prerm - #!/bin/sh - /bin/sed -i '/update_nsupdate\.sh/ d' $${IPKG_INSTROOT}/usr/lib/ddns/services - /bin/sed -i '/update_nsupdate\.sh/ d' $${IPKG_INSTROOT}/usr/lib/ddns/services_ipv6 -endef - -##### ********************************** -$(eval $(call BuildPackage,$(PKG_NAME))) -$(eval $(call BuildPackage,$(PKG_NAME)_cloudflare)) -$(eval $(call BuildPackage,$(PKG_NAME)_no-ip_com)) -$(eval $(call BuildPackage,$(PKG_NAME)_nsupdate)) diff --git a/trunk/package/feeds/packages/ddns-scripts/files/ddns.config b/trunk/package/feeds/packages/ddns-scripts/files/ddns.config deleted file mode 100644 index 5d69bb17..00000000 --- a/trunk/package/feeds/packages/ddns-scripts/files/ddns.config +++ /dev/null @@ -1,31 +0,0 @@ -# -# Please read ddns.sample -# or http://wiki.openwrt.org/doc/uci/ddns -# -config ddns "global" - option date_format "%F %R" -# option run_dir "/var/run/ddns" -# option log_dir "/var/log/ddns" - option log_lines "250" - option allow_local_ip "0" - - -config service "myddns_ipv4" - option service_name "dyndns.com" - option domain "yourhost.example.com" - option username "your_username" - option password "your_password" - option interface "wan" - option ip_source "network" - option ip_network "wan" - -config service "myddns_ipv6" - option update_url "http://[USERNAME]:[PASSWORD]@your.provider.net/nic/update?hostname=[DOMAIN]&myip=[IP]" - option domain "yourhost.example.com" - option username "your_username" - option password "your_password" - option use_ipv6 "1" - option interface "wan6" - option ip_source "network" - option ip_network "wan6" - diff --git a/trunk/package/feeds/packages/ddns-scripts/files/ddns.hotplug b/trunk/package/feeds/packages/ddns-scripts/files/ddns.hotplug deleted file mode 100644 index dfb35f6d..00000000 --- a/trunk/package/feeds/packages/ddns-scripts/files/ddns.hotplug +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -# there are other ACTIONs like ifupdate we don't need -# so parse dynamic_dns_functions.sh only when needed -case "$ACTION" in - ifup) - . /usr/lib/ddns/dynamic_dns_functions.sh - /etc/init.d/ddns enabled && start_daemon_for_all_ddns_sections "$INTERFACE" - ;; - ifdown) - . /usr/lib/ddns/dynamic_dns_functions.sh - stop_daemon_for_all_ddns_sections "$INTERFACE" - ;; -esac diff --git a/trunk/package/feeds/packages/ddns-scripts/files/ddns.init b/trunk/package/feeds/packages/ddns-scripts/files/ddns.init deleted file mode 100644 index 2cc9b90f..00000000 --- a/trunk/package/feeds/packages/ddns-scripts/files/ddns.init +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh /etc/rc.common -START=95 -STOP=10 - -boot() { - return 0 -} - -reload() { - killall -1 dynamic_dns_updater.sh 2>/dev/null # send SIGHUP - return 0 -} - -restart() { - stop - sleep 1 # give time to shutdown - start -} - -start() { - . /usr/lib/ddns/dynamic_dns_functions.sh - start_daemon_for_all_ddns_sections -} - -stop() { - killall dynamic_dns_updater.sh 2>/dev/null - return 0 # if killall fails, ignore -} diff --git a/trunk/package/feeds/packages/ddns-scripts/files/dynamic_dns_functions.sh b/trunk/package/feeds/packages/ddns-scripts/files/dynamic_dns_functions.sh deleted file mode 100755 index 0023f88f..00000000 --- a/trunk/package/feeds/packages/ddns-scripts/files/dynamic_dns_functions.sh +++ /dev/null @@ -1,1124 +0,0 @@ -#!/bin/sh -# /usr/lib/ddns/dynamic_dns_functions.sh -# -# Original written by Eric Paul Bishop, January 2008 -#.Distributed under the terms of the GNU General Public License (GPL) version 2.0 -# (Loosely) based on the script on the one posted by exobyte in the forums here: -# http://forum.openwrt.org/viewtopic.php?id=14040 -# -# extended and partial rewritten in August 2014 by -#.Christian Schoenebeck -# to support: -# - IPv6 DDNS services -# - setting DNS Server to retrieve current IP including TCP transport -# - Proxy Server to send out updates or retrieving WEB based IP detection -# - force_interval=0 to run once (useful for cron jobs etc.) -# - the usage of BIND's host instead of BusyBox's nslookup if installed (DNS via TCP) -# - extended Verbose Mode and log file support for better error detection -# -# function timeout -# copied from http://www.ict.griffith.edu.au/anthony/software/timeout.sh -# @author Anthony Thyssen 6 April 2011 -# -# variables in small chars are read from /etc/config/ddns -# variables in big chars are defined inside these scripts as global vars -# variables in big chars beginning with "__" are local defined inside functions only -# set -vx #script debugger - -. /lib/functions.sh -. /lib/functions/network.sh - -# GLOBAL VARIABLES # -SECTION_ID="" # hold config's section name -VERBOSE_MODE=1 # default mode is log to console, but easily changed with parameter - -LOGFILE="" # logfile - all files are set in dynamic_dns_updater.sh -PIDFILE="" # pid file -UPDFILE="" # store UPTIME of last update -DATFILE="" # save stdout data of WGet and other external programs called -ERRFILE="" # save stderr output of WGet and other external programs called -TLDFILE=/usr/lib/ddns/tld_names.dat.gz # TLD file used by split_FQDN - -CHECK_SECONDS=0 # calculated seconds out of given -FORCE_SECONDS=0 # interval and unit -RETRY_SECONDS=0 # in configuration - -LAST_TIME=0 # holds the uptime of last successful update -CURR_TIME=0 # holds the current uptime -NEXT_TIME=0 # calculated time for next FORCED update -EPOCH_TIME=0 # seconds since 1.1.1970 00:00:00 - -REGISTERED_IP="" # holds the IP read from DNS -LOCAL_IP="" # holds the local IP read from the box - -URL_USER="" # url encoded $username from config file -URL_PASS="" # url encoded $password from config file - -ERR_LAST=0 # used to save $? return code of program and function calls -ERR_UPDATE=0 # error counter on different local and registered ip - -PID_SLEEP=0 # ProcessID of current background "sleep" - -# allow NON-public IP's -ALLOW_LOCAL_IP=$(uci -q get ddns.global.allow_local_ip) || ALLOW_LOCAL_IP=0 - -# directory to store run information to. -RUNDIR=$(uci -q get ddns.global.run_dir) || RUNDIR="/var/run/ddns" -[ -d $RUNDIR ] || mkdir -p -m755 $RUNDIR - -# directory to store log files -LOGDIR=$(uci -q get ddns.global.log_dir) || LOGDIR="/var/log/ddns" -[ -d $LOGDIR ] || mkdir -p -m755 $LOGDIR - -# number of lines to before rotate logfile -LOGLINES=$(uci -q get ddns.global.log_lines) || LOGLINES=250 -LOGLINES=$((LOGLINES + 1)) # correct sed handling - -# format to show date information in log and luci-app-ddns default ISO 8601 format -DATE_FORMAT=$(uci -q get ddns.global.date_format) || DATE_FORMAT="%F %R" -DATE_PROG="date +'$DATE_FORMAT'" - -# regular expression to detect IPv4 / IPv6 -# IPv4 0-9 1-3x "." 0-9 1-3x "." 0-9 1-3x "." 0-9 1-3x -IPV4_REGEX="[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}" -# IPv6 ( ( 0-9a-f 1-4char ":") min 1x) ( ( 0-9a-f 1-4char )optional) ( (":" 0-9a-f 1-4char ) min 1x) -IPV6_REGEX="\(\([0-9A-Fa-f]\{1,4\}:\)\{1,\}\)\(\([0-9A-Fa-f]\{1,4\}\)\{0,1\}\)\(\(:[0-9A-Fa-f]\{1,4\}\)\{1,\}\)" - -# detect if called by dynamic_dns_lucihelper.sh script, disable retrys (empty variable == false) -[ "$(basename $0)" = "dynamic_dns_lucihelper.sh" ] && LUCI_HELPER="TRUE" || LUCI_HELPER="" - -# USE_CURL if GNU Wget and cURL installed normally Wget is used by do_transfer() -# to change this use global option use_curl '1' -USE_CURL=$(uci -q get ddns.global.use_curl) || USE_CURL=0 # read config -[ -x /usr/bin/curl ] || USE_CURL=0 # check for cURL - -# loads all options for a given package and section -# also, sets all_option_variables to a list of the variable names -# $1 = ddns, $2 = SECTION_ID -load_all_config_options() -{ - local __PKGNAME="$1" - local __SECTIONID="$2" - local __VAR - local __ALL_OPTION_VARIABLES="" - - # this callback loads all the variables in the __SECTIONID section when we do - # config_load. We need to redefine the option_cb for different sections - # so that the active one isn't still active after we're done with it. For reference - # the $1 variable is the name of the option and $2 is the name of the section - config_cb() - { - if [ ."$2" = ."$__SECTIONID" ]; then - option_cb() - { - __ALL_OPTION_VARIABLES="$__ALL_OPTION_VARIABLES $1" - } - else - option_cb() { return 0; } - fi - } - - config_load "$__PKGNAME" - - # Given SECTION_ID not found so no data, so return 1 - [ -z "$__ALL_OPTION_VARIABLES" ] && return 1 - - for __VAR in $__ALL_OPTION_VARIABLES - do - config_get "$__VAR" "$__SECTIONID" "$__VAR" - done - return 0 -} - -# read's all service sections from ddns config -# $1 = Name of variable to store -load_all_service_sections() { - local __DATA="" - config_cb() - { - # only look for section type "service", ignore everything else - [ "$1" = "service" ] && __DATA="$__DATA $2" - } - config_load "ddns" - - eval "$1=\"$__DATA\"" - return -} - -# starts updater script for all given sections or only for the one given -# $1 = interface (Optional: when given only scripts are started -# configured for that interface) -# used by /etc/hotplug.d/iface/25-ddns on IFUP -# and by /etc/init.d/ddns start -start_daemon_for_all_ddns_sections() -{ - local __EVENTIF="$1" - local __SECTIONS="" - local __SECTIONID="" - local __IFACE="" - - load_all_service_sections __SECTIONS - for __SECTIONID in $__SECTIONS; do - config_get __IFACE "$__SECTIONID" interface "wan" - [ -z "$__EVENTIF" -o "$__IFACE" = "$__EVENTIF" ] || continue - /usr/lib/ddns/dynamic_dns_updater.sh $__SECTIONID 0 >/dev/null 2>&1 & - done -} - -# stop sections process incl. childs (sleeps) -# $1 = section -stop_section_processes() { - local __PID=0 - local __PIDFILE="$RUNDIR/$1.pid" - [ $# -ne 1 ] && write_log 12 "Error calling 'stop_section_processes()' - wrong number of parameters" - - [ -e "$__PIDFILE" ] && { - __PID=$(cat $__PIDFILE) - ps | grep "^[\t ]*$__PID" >/dev/null 2>&1 && kill $__PID || __PID=0 # terminate it - } - [ $__PID -eq 0 ] # report if process was running -} - -# stop updater script for all defines sections or only for one given -# $1 = interface (optional) -# used by /etc/hotplug.d/iface/25-ddns on 'ifdown' -# and by /etc/init.d/ddns stop -# needed because we also need to kill "sleep" child processes -stop_daemon_for_all_ddns_sections() { - local __EVENTIF="$1" - local __SECTIONS="" - local __SECTIONID="" - local __IFACE="" - - load_all_service_sections __SECTIONS - for __SECTIONID in $__SECTIONS; do - config_get __IFACE "$__SECTIONID" interface "wan" - [ -z "$__EVENTIF" -o "$__IFACE" = "$__EVENTIF" ] || continue - stop_section_processes "$__SECTIONID" - done -} - -# reports to console, logfile, syslog -# $1 loglevel 7 == Debug to 0 == EMERG -# value +10 will exit the scripts -# $2..n text to report -write_log() { - local __LEVEL __EXIT __CMD __MSG - local __TIME=$(date +%H%M%S) - [ $1 -ge 10 ] && { - __LEVEL=$(($1-10)) - __EXIT=1 - } || { - __LEVEL=$1 - __EXIT=0 - } - shift # remove loglevel - [ $__EXIT -eq 0 ] && __MSG="$*" || __MSG="$* - TERMINATE" - case $__LEVEL in # create log message and command depending on loglevel - 0) __CMD="logger -p user.emerg -t ddns-scripts[$$] $SECTION_ID: $__MSG" - __MSG=" $__TIME EMERG : $__MSG" ;; - 1) __CMD="logger -p user.alert -t ddns-scripts[$$] $SECTION_ID: $__MSG" - __MSG=" $__TIME ALERT : $__MSG" ;; - 2) __CMD="logger -p user.crit -t ddns-scripts[$$] $SECTION_ID: $__MSG" - __MSG=" $__TIME CRIT : $__MSG" ;; - 3) __CMD="logger -p user.err -t ddns-scripts[$$] $SECTION_ID: $__MSG" - __MSG=" $__TIME ERROR : $__MSG" ;; - 4) __CMD="logger -p user.warn -t ddns-scripts[$$] $SECTION_ID: $__MSG" - __MSG=" $__TIME WARN : $__MSG" ;; - 5) __CMD="logger -p user.notice -t ddns-scripts[$$] $SECTION_ID: $__MSG" - __MSG=" $__TIME note : $__MSG" ;; - 6) __CMD="logger -p user.info -t ddns-scripts[$$] $SECTION_ID: $__MSG" - __MSG=" $__TIME info : $__MSG" ;; - 7) __MSG=" $__TIME : $__MSG";; - *) return;; - esac - - # verbose echo - [ $VERBOSE_MODE -gt 0 -o $__EXIT -gt 0 ] && echo -e "$__MSG" - # write to logfile - if [ ${use_logfile:-1} -eq 1 -o $VERBOSE_MODE -gt 1 ]; then - echo -e "$__MSG" >> $LOGFILE - # VERBOSE_MODE > 1 then NO loop so NO truncate log to $LOGLINES lines - [ $VERBOSE_MODE -gt 1 ] || sed -i -e :a -e '$q;N;'$LOGLINES',$D;ba' $LOGFILE - fi - [ $LUCI_HELPER ] && return # nothing else todo when running LuCI helper script - [ $__LEVEL -eq 7 ] && return # no syslog for debug messages - __CMD=$(echo -e "$__CMD" | tr -d '\n' | tr '\t' ' ') # remove \n \t chars - [ $__EXIT -eq 1 ] && { - $__CMD # force syslog before exit - exit 1 - } - [ $use_syslog -eq 0 ] && return - [ $((use_syslog + __LEVEL)) -le 7 ] && $__CMD - return -} - -# replace all special chars to their %hex value -# used for USERNAME and PASSWORD in update_url -# unchanged: "-"(minus) "_"(underscore) "."(dot) "~"(tilde) -# to verify: "'"(single quote) '"'(double quote) # because shell delimiter -# "$"(Dollar) # because used as variable output -# tested with the following string stored via Luci Application as password / username -# A B!"#AA$1BB%&'()*+,-./:;<=>?@[\]^_`{|}~ without problems at Dollar or quotes -urlencode() { - # $1 Name of Variable to store encoded string to - # $2 string to encode - local __STR __LEN __CHAR __OUT - local __ENC="" - local __POS=1 - - [ $# -ne 2 ] && write_log 12 "Error calling 'urlencode()' - wrong number of parameters" - - __STR="$2" # read string to encode - __LEN=${#__STR} # get string length - - while [ $__POS -le $__LEN ]; do - # read one chat of the string - __CHAR=$(expr substr "$__STR" $__POS 1) - - case "$__CHAR" in - [-_.~a-zA-Z0-9] ) - # standard char - __OUT="${__CHAR}" - ;; - * ) - # special char get %hex code - __OUT=$(printf '%%%02x' "'$__CHAR" ) - ;; - esac - __ENC="${__ENC}${__OUT}" # append to encoded string - __POS=$(( $__POS + 1 )) # increment position - done - - eval "$1=\"$__ENC\"" # transfer back to variable - return 0 -} - -# extract url or script for given DDNS Provider from -# file /usr/lib/ddns/services for IPv4 or from -# file /usr/lib/ddns/services_ipv6 for IPv6 -# $1 Name of Variable to store url to -# $2 Name of Variable to store script to -get_service_data() { - local __LINE __FILE __NAME __URL __SERVICES __DATA - local __SCRIPT="" - local __OLD_IFS=$IFS - local __NEWLINE_IFS=' -' # __NEWLINE_IFS - [ $# -ne 2 ] && write_log 12 "Error calling 'get_service_data()' - wrong number of parameters" - - __FILE="/usr/lib/ddns/services" # IPv4 - [ $use_ipv6 -ne 0 ] && __FILE="/usr/lib/ddns/services_ipv6" # IPv6 - - # remove any lines not containing data, and then make sure fields are enclosed in double quotes - __SERVICES=$(cat $__FILE | grep "^[\t ]*[^#]" | \ - awk ' gsub("\x27", "\"") { if ($1~/^[^\"]*$/) $1="\""$1"\"" }; { if ( $NF~/^[^\"]*$/) $NF="\""$NF"\"" }; { print $0 }') - - IFS=$__NEWLINE_IFS - for __LINE in $__SERVICES; do - # grep out proper parts of data and use echo to remove quotes - __NAME=$(echo $__LINE | grep -o "^[\t ]*\"[^\"]*\"" | xargs -r -n1 echo) - __DATA=$(echo $__LINE | grep -o "\"[^\"]*\"[\t ]*$" | xargs -r -n1 echo) - - if [ "$__NAME" = "$service_name" ]; then - break # found so leave for loop - fi - done - IFS=$__OLD_IFS - - # check if URL or SCRIPT is given - __URL=$(echo "$__DATA" | grep "^http") - [ -z "$__URL" ] && __SCRIPT="/usr/lib/ddns/$__DATA" - - eval "$1=\"$__URL\"" - eval "$2=\"$__SCRIPT\"" - return 0 -} - -# Calculate seconds from interval and unit -# $1 Name of Variable to store result in -# $2 Number and -# $3 Unit of time interval -get_seconds() { - [ $# -ne 3 ] && write_log 12 "Error calling 'get_seconds()' - wrong number of parameters" - case "$3" in - "days" ) eval "$1=$(( $2 * 86400 ))";; - "hours" ) eval "$1=$(( $2 * 3600 ))";; - "minutes" ) eval "$1=$(( $2 * 60 ))";; - * ) eval "$1=$2";; - esac - return 0 -} - -timeout() { - #.copied from http://www.ict.griffith.edu.au/anthony/software/timeout.sh - # only did the following changes - # - commented out "#!/bin/bash" and usage section - # - replace exit by return for usage as function - # - some reformatting - # - # timeout [-SIG] time [--] command args... - # - # Run the given command until completion, but kill it if it runs too long. - # Specifically designed to exit immediately (no sleep interval) and clean up - # nicely without messages or leaving any extra processes when finished. - # - # Example use - # timeout 5 countdown - # - # Based on notes in my "Shell Script Hints", section "Command Timeout" - # http://www.ict.griffith.edu.au/~anthony/info/shell/script.hints - # - # This script uses a lot of tricks to terminate both the background command, - # the timeout script, and even the sleep process. It also includes trap - # commands to prevent sub-shells reporting expected "Termination Errors". - # - # It took years of occasional trials, errors and testing to get a pure bash - # timeout command working as well as this does. - # - #.Anthony Thyssen 6 April 2011 - # -# PROGNAME=$(type $0 | awk '{print $3}') # search for executable on path -# PROGDIR=$(dirname $PROGNAME) # extract directory of program -# PROGNAME=$(basename $PROGNAME) # base name of program - - # output the script comments as docs -# Usage() { -# echo >&2 "$PROGNAME:" "$@" -# sed >&2 -n '/^###/q; /^#/!q; s/^#//; s/^ //; 3s/^/Usage: /; 2,$ p' "$PROGDIR/$PROGNAME" -# exit 10; -# } - - SIG=-TERM - - while [ $# -gt 0 ]; do - case "$1" in - --) - # forced end of user options - shift; - break ;; -# -\?|--help|--doc*) -# Usage ;; - [0-9]*) - TIMEOUT="$1" ;; - -*) - SIG="$1" ;; - *) - # unforced end of user options - break ;; - esac - shift # next option - done - - # run main command in backgrounds and get its pid - "$@" & - command_pid=$! - - # timeout sub-process abort countdown after ABORT seconds! also backgrounded - sleep_pid=0 - ( - # cleanup sleep process - trap 'kill -TERM $sleep_pid; return 1' 1 2 3 15 - # sleep timeout period in background - sleep $TIMEOUT & - sleep_pid=$! - wait $sleep_pid - # Abort the command - kill $SIG $command_pid >/dev/null 2>&1 - return 1 - ) & - timeout_pid=$! - - # Wait for main command to finished or be timed out - wait $command_pid - status=$? - - # Clean up timeout sub-shell - if it is still running! - kill $timeout_pid 2>/dev/null - wait $timeout_pid 2>/dev/null - - # Uncomment to check if a LONG sleep still running (no sleep should be) - # sleep 1 - # echo "-----------" - # /bin/ps j # uncomment to show if abort "sleep" is still sleeping - - return $status -} - -# verify given host and port is connectable -# $1 Host/IP to verify -# $2 Port to verify -verify_host_port() { - local __HOST=$1 - local __PORT=$2 - local __IP __IPV4 __IPV6 __RUNPROG __PROG __ERR - # return codes - # 1 system specific error - # 2 nslookup/host error - # 3 nc (netcat) error - # 4 unmatched IP version - - [ $# -ne 2 ] && write_log 12 "Error calling 'verify_host_port()' - wrong number of parameters" - - # check if ip or FQDN was given - __IPV4=$(echo $__HOST | grep -m 1 -o "$IPV4_REGEX$") # do not detect ip in 0.0.0.0.example.com - __IPV6=$(echo $__HOST | grep -m 1 -o "$IPV6_REGEX") - # if FQDN given get IP address - [ -z "$__IPV4" -a -z "$__IPV6" ] && { - if [ -x /usr/bin/host ]; then # use BIND host if installed - __PROG="BIND host" - __RUNPROG="/usr/bin/host -t ANY $__HOST >$DATFILE 2>$ERRFILE" - else # use BusyBox nslookup - __PROG="BusyBox nslookup" - __RUNPROG="/usr/bin/nslookup $__HOST >$DATFILE 2>$ERRFILE" - fi - write_log 7 "#> $__RUNPROG" - eval $__RUNPROG - __ERR=$? - # command error - [ $__ERR -gt 0 ] && { - write_log 3 "DNS Resolver Error - $__PROG Error '$__ERR'" - write_log 7 "$(cat $ERRFILE)" - return 2 - } - # extract IP address - if [ -x /usr/bin/host ]; then # use BIND host if installed - __IPV4=$(cat $DATFILE | awk -F "address " '/has address/ {print $2; exit}' ) - __IPV6=$(cat $DATFILE | awk -F "address " '/has IPv6/ {print $2; exit}' ) - else # use BusyBox nslookup - __IPV4=$(cat $DATFILE | sed -ne "3,\$ { s/^Address[0-9 ]\{0,\}: \($IPV4_REGEX\).*$/\\1/p }") - __IPV6=$(cat $DATFILE | sed -ne "3,\$ { s/^Address[0-9 ]\{0,\}: \($IPV6_REGEX\).*$/\\1/p }") - fi - } - - # check IP version if forced - if [ $force_ipversion -ne 0 ]; then - __ERR=0 - [ $use_ipv6 -eq 0 -a -z "$__IPV4" ] && __ERR=4 - [ $use_ipv6 -eq 1 -a -z "$__IPV6" ] && __ERR=6 - [ $__ERR -gt 0 ] && { - [ $LUCI_HELPER ] && return 4 - write_log 14 "Verify host Error '4' - Forced IP Version IPv$__ERR don't match" - } - fi - - # verify nc command - # busybox nc compiled without -l option "NO OPT l!" -> critical error - /usr/bin/nc --help 2>&1 | grep -i "NO OPT l!" >/dev/null 2>&1 && \ - write_log 12 "Busybox nc (netcat) compiled without '-l' option, error 'NO OPT l!'" - # busybox nc compiled with extensions - /usr/bin/nc --help 2>&1 | grep "\-w" >/dev/null 2>&1 && __NCEXT="TRUE" - - # connectivity test - # run busybox nc to HOST PORT - # busybox might be compiled with "FEATURE_PREFER_IPV4_ADDRESS=n" - # then nc will try to connect via IPv6 if there is any IPv6 available on any host interface - # not worrying, if there is an IPv6 wan address - # so if not "force_ipversion" to use_ipv6 then connect test via ipv4, if available - [ $force_ipversion -ne 0 -a $use_ipv6 -ne 0 -o -z "$__IPV4" ] && __IP=$__IPV6 || __IP=$__IPV4 - - if [ -n "$__NCEXT" ]; then # BusyBox nc compiled with extensions (timeout support) - __RUNPROG="/usr/bin/nc -w 1 $__IP $__PORT $DATFILE 2>$ERRFILE" - write_log 7 "#> $__RUNPROG" - eval $__RUNPROG - __ERR=$? - [ $__ERR -eq 0 ] && return 0 - write_log 3 "Connect error - BusyBox nc (netcat) Error '$__ERR'" - write_log 7 "$(cat $ERRFILE)" - return 3 - else # nc compiled without extensions (no timeout support) - __RUNPROG="timeout 2 -- /usr/bin/nc $__IP $__PORT $DATFILE 2>$ERRFILE" - write_log 7 "#> $__RUNPROG" - eval $__RUNPROG - __ERR=$? - [ $__ERR -eq 0 ] && return 0 - write_log 3 "Connect error - BusyBox nc (netcat) timeout Error '$__ERR'" - return 3 - fi -} - -# verify given DNS server if connectable -# $1 DNS server to verify -verify_dns() { - local __ERR=255 # last error buffer - local __CNT=0 # error counter - - [ $# -ne 1 ] && write_log 12 "Error calling 'verify_dns()' - wrong number of parameters" - write_log 7 "Verify DNS server '$1'" - - while [ $__ERR -ne 0 ]; do - # DNS uses port 53 - verify_host_port "$1" "53" - __ERR=$? - if [ $LUCI_HELPER ]; then # no retry if called by LuCI helper script - return $__ERR - elif [ $__ERR -ne 0 -a $VERBOSE_MODE -gt 1 ]; then # VERBOSE_MODE > 1 then NO retry - write_log 4 "Verify DNS server '$1' failed - Verbose Mode: $VERBOSE_MODE - NO retry on error" - return $__ERR - elif [ $__ERR -ne 0 ]; then - __CNT=$(( $__CNT + 1 )) # increment error counter - # if error count > retry_count leave here - [ $retry_count -gt 0 -a $__CNT -gt $retry_count ] && \ - write_log 14 "Verify DNS server '$1' failed after $retry_count retries" - - write_log 4 "Verify DNS server '$1' failed - retry $__CNT/$retry_count in $RETRY_SECONDS seconds" - sleep $RETRY_SECONDS & - PID_SLEEP=$! - wait $PID_SLEEP # enable trap-handler - PID_SLEEP=0 - fi - done - return 0 -} - -# analyze and verify given proxy string -# $1 Proxy-String to verify -verify_proxy() { - # complete entry user:password@host:port - # inside user and password NO '@' of ":" allowed - # host and port only host:port - # host only host ERROR unsupported - # IPv4 address instead of host 123.234.234.123 - # IPv6 address instead of host [xxxx:....:xxxx] in square bracket - local __TMP __HOST __PORT - local __ERR=255 # last error buffer - local __CNT=0 # error counter - - [ $# -ne 1 ] && write_log 12 "Error calling 'verify_proxy()' - wrong number of parameters" - write_log 7 "Verify Proxy server 'http://$1'" - - # try to split user:password "@" host:port - __TMP=$(echo $1 | awk -F "@" '{print $2}') - # no "@" found - only host:port is given - [ -z "$__TMP" ] && __TMP="$1" - # now lets check for IPv6 address - __HOST=$(echo $__TMP | grep -m 1 -o "$IPV6_REGEX") - # IPv6 host address found read port - if [ -n "$__HOST" ]; then - # IPv6 split at "]:" - __PORT=$(echo $__TMP | awk -F "]:" '{print $2}') - else - __HOST=$(echo $__TMP | awk -F ":" '{print $1}') - __PORT=$(echo $__TMP | awk -F ":" '{print $2}') - fi - # No Port detected - EXITING - [ -z "$__PORT" ] && { - [ $LUCI_HELPER ] && return 5 - write_log 14 "Invalid Proxy server Error '5' - proxy port missing" - } - - while [ $__ERR -gt 0 ]; do - verify_host_port "$__HOST" "$__PORT" - __ERR=$? - if [ $LUCI_HELPER ]; then # no retry if called by LuCI helper script - return $__ERR - elif [ $__ERR -gt 0 -a $VERBOSE_MODE -gt 1 ]; then # VERBOSE_MODE > 1 then NO retry - write_log 4 "Verify Proxy server '$1' failed - Verbose Mode: $VERBOSE_MODE - NO retry on error" - return $__ERR - elif [ $__ERR -gt 0 ]; then - __CNT=$(( $__CNT + 1 )) # increment error counter - # if error count > retry_count leave here - [ $retry_count -gt 0 -a $__CNT -gt $retry_count ] && \ - write_log 14 "Verify Proxy server '$1' failed after $retry_count retries" - - write_log 4 "Verify Proxy server '$1' failed - retry $__CNT/$retry_count in $RETRY_SECONDS seconds" - sleep $RETRY_SECONDS & - PID_SLEEP=$! - wait $PID_SLEEP # enable trap-handler - PID_SLEEP=0 - fi - done - return 0 -} - -do_transfer() { - # $1 # URL to use - local __URL="$1" - local __ERR=0 - local __CNT=0 # error counter - local __PROG __RUNPROG - - [ $# -ne 1 ] && write_log 12 "Error in 'do_transfer()' - wrong number of parameters" - - # lets prefer GNU Wget because it does all for us - IPv4/IPv6/HTTPS/PROXY/force IP version - grep -i "\+ssl" /usr/bin/wget >/dev/null 2>&1 # check for Wget with SSL support - if [ $? -eq 0 -a $USE_CURL -eq 0 ]; then # except global option use_curl is set to "1" - __PROG="/usr/bin/wget -nv -t 1 -O $DATFILE -o $ERRFILE" # non_verbose no_retry outfile errfile - # force network/ip to use for communication - if [ -n "$bind_network" ]; then - local __BINDIP - # set correct program to detect IP - [ $use_ipv6 -eq 0 ] && __RUNPROG="network_get_ipaddr" || __RUNPROG="network_get_ipaddr6" - eval "$__RUNPROG __BINDIP $bind_network" || \ - write_log 13 "Can not detect local IP using '$__RUNPROG $bind_network' - Error: '$?'" - write_log 7 "Force communication via IP '$__BINDIP'" - __PROG="$__PROG --bind-address=$__BINDIP" - fi - # force ip version to use - if [ $force_ipversion -eq 1 ]; then - [ $use_ipv6 -eq 0 ] && __PROG="$__PROG -4" || __PROG="$__PROG -6" # force IPv4/IPv6 - fi - # set certificate parameters - if [ $use_https -eq 1 ]; then - if [ "$cacert" = "IGNORE" ]; then # idea from Ticket #15327 to ignore server cert - __PROG="$__PROG --no-check-certificate" - elif [ -f "$cacert" ]; then - __PROG="$__PROG --ca-certificate=${cacert}" - elif [ -d "$cacert" ]; then - __PROG="$__PROG --ca-directory=${cacert}" - else # exit here because it makes no sense to start loop - write_log 14 "No valid certificate(s) found at '$cacert' for HTTPS communication" - fi - fi - # disable proxy if no set (there might be .wgetrc or .curlrc or wrong environment set) - [ -z "$proxy" ] && __PROG="$__PROG --no-proxy" - - __RUNPROG="$__PROG '$__URL'" # build final command - __PROG="GNU Wget" # reuse for error logging - - # 2nd choice is cURL IPv4/IPv6/HTTPS - # libcurl might be compiled without Proxy Support (default in trunk) - elif [ -x /usr/bin/curl ]; then - __PROG="/usr/bin/curl -RsS -o $DATFILE --stderr $ERRFILE" - # force network/interface-device to use for communication - if [ -n "$bind_network" ]; then - local __DEVICE - network_get_physdev __DEVICE $bind_network || \ - write_log 13 "Can not detect local device using 'network_get_physdev $bind_network' - Error: '$?'" - write_log 7 "Force communication via device '$__DEVICE'" - __PROG="$__PROG --interface $__DEVICE" - fi - # force ip version to use - if [ $force_ipversion -eq 1 ]; then - [ $use_ipv6 -eq 0 ] && __PROG="$__PROG -4" || __PROG="$__PROG -6" # force IPv4/IPv6 - fi - # set certificate parameters - if [ $use_https -eq 1 ]; then - if [ "$cacert" = "IGNORE" ]; then # idea from Ticket #15327 to ignore server cert - __PROG="$__PROG --insecure" # but not empty better to use "IGNORE" - elif [ -f "$cacert" ]; then - __PROG="$__PROG --cacert $cacert" - elif [ -d "$cacert" ]; then - __PROG="$__PROG --capath $cacert" - else # exit here because it makes no sense to start loop - write_log 14 "No valid certificate(s) found at '$cacert' for HTTPS communication" - fi - fi - # disable proxy if no set (there might be .wgetrc or .curlrc or wrong environment set) - # or check if libcurl compiled with proxy support - if [ -z "$proxy" ]; then - __PROG="$__PROG --noproxy '*'" - else - # if libcurl has no proxy support and proxy should be used then force ERROR - # libcurl currently no proxy support by default - grep -i "all_proxy" /usr/lib/libcurl.so* >/dev/null 2>&1 || \ - write_log 13 "cURL: libcurl compiled without Proxy support" - fi - - __RUNPROG="$__PROG '$__URL'" # build final command - __PROG="cURL" # reuse for error logging - - # busybox Wget (did not support neither IPv6 nor HTTPS) - elif [ -x /usr/bin/wget ]; then - __PROG="/usr/bin/wget -q -O $DATFILE" - # force network/ip not supported - [ -n "$__BINDIP" ] && \ - write_log 14 "BusyBox Wget: FORCE binding to specific address not supported" - # force ip version not supported - [ $force_ipversion -eq 1 ] && \ - write_log 14 "BusyBox Wget: Force connecting to IPv4 or IPv6 addresses not supported" - # https not supported - [ $use_https -eq 1 ] && \ - write_log 14 "BusyBox Wget: no HTTPS support" - # disable proxy if no set (there might be .wgetrc or .curlrc or wrong environment set) - [ -z "$proxy" ] && __PROG="$__PROG -Y off" - - __RUNPROG="$__PROG '$__URL' 2>$ERRFILE" # build final command - __PROG="Busybox Wget" # reuse for error logging - - else - write_log 13 "Neither 'Wget' nor 'cURL' installed or executable" - fi - - while : ; do - write_log 7 "#> $__RUNPROG" - eval $__RUNPROG # DO transfer - __ERR=$? # save error code - [ $__ERR -eq 0 ] && return 0 # no error leave - [ $LUCI_HELPER ] && return 1 # no retry if called by LuCI helper script - - write_log 3 "$__PROG Error: '$__ERR'" - write_log 7 "$(cat $ERRFILE)" # report error - - [ $VERBOSE_MODE -gt 1 ] && { - # VERBOSE_MODE > 1 then NO retry - write_log 4 "Transfer failed - Verbose Mode: $VERBOSE_MODE - NO retry on error" - return 1 - } - - __CNT=$(( $__CNT + 1 )) # increment error counter - # if error count > retry_count leave here - [ $retry_count -gt 0 -a $__CNT -gt $retry_count ] && \ - write_log 14 "Transfer failed after $retry_count retries" - - write_log 4 "Transfer failed - retry $__CNT/$retry_count in $RETRY_SECONDS seconds" - sleep $RETRY_SECONDS & - PID_SLEEP=$! - wait $PID_SLEEP # enable trap-handler - PID_SLEEP=0 - done - # we should never come here there must be a programming error - write_log 12 "Error in 'do_transfer()' - program coding error" -} - -send_update() { - # $1 # IP to set at DDNS service provider - local __IP - - [ $# -ne 1 ] && write_log 12 "Error calling 'send_update()' - wrong number of parameters" - - if [ $ALLOW_LOCAL_IP -eq 0 ]; then - # verify given IP / no private IPv4's / no IPv6 addr starting with fxxx of with ":" - [ $use_ipv6 -eq 0 ] && __IP=$(echo $1 | grep -v -E "(^0|^10\.|^100\.6[4-9]\.|^100\.[7-9][0-9]\.|^100\.1[0-1][0-9]\.|^100\.12[0-7]\.|^127|^169\.254|^172\.1[6-9]\.|^172\.2[0-9]\.|^172\.3[0-1]\.|^192\.168)") - [ $use_ipv6 -eq 1 ] && __IP=$(echo $1 | grep "^[0-9a-eA-E]") - [ -z "$__IP" ] && write_log 14 "Private or invalid or no IP '$1' given! Please check your configuration" - else - __IP="$1" - fi - - if [ -n "$update_script" ]; then - write_log 7 "parsing script '$update_script'" - . $update_script - else - local __URL __ERR - - # do replaces in URL - __URL=$(echo $update_url | sed -e "s#\[USERNAME\]#$URL_USER#g" -e "s#\[PASSWORD\]#$URL_PASS#g" \ - -e "s#\[DOMAIN\]#$domain#g" -e "s#\[IP\]#$__IP#g") - [ $use_https -ne 0 ] && __URL=$(echo $__URL | sed -e 's#^http:#https:#') - - do_transfer "$__URL" || return 1 - - write_log 7 "DDNS Provider answered:\n$(cat $DATFILE)" - - return 0 - # TODO analyze providers answer - # "good" or "nochg" = dyndns.com compatible API - # grep -i -E "good|nochg" $DATFILE >/dev/null 2>&1 - # return $? # "0" if found - fi -} - -get_local_ip () { - # $1 Name of Variable to store local IP (LOCAL_IP) - local __CNT=0 # error counter - local __RUNPROG __DATA __URL __ERR - - [ $# -ne 1 ] && write_log 12 "Error calling 'get_local_ip()' - wrong number of parameters" - write_log 7 "Detect local IP on '$ip_source'" - - while : ; do - case $ip_source in - network) - # set correct program - [ $use_ipv6 -eq 0 ] && __RUNPROG="network_get_ipaddr" \ - || __RUNPROG="network_get_ipaddr6" - eval "$__RUNPROG __DATA $ip_network" || \ - write_log 13 "Can not detect local IP using $__RUNPROG '$ip_network' - Error: '$?'" - [ -n "$__DATA" ] && write_log 7 "Local IP '$__DATA' detected on network '$ip_network'" - ;; - interface) - write_log 7 "#> ifconfig $ip_interface >$DATFILE 2>$ERRFILE" - ifconfig $ip_interface >$DATFILE 2>$ERRFILE - __ERR=$? - if [ $__ERR -eq 0 ]; then - if [ $use_ipv6 -eq 0 ]; then - __DATA=$(awk ' - /inet addr:/ { # Filter IPv4 - # inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 - $1=""; # remove inet - $3=""; # remove Bcast: ... - $4=""; # remove Mask: ... - FS=":"; # separator ":" - $0=$0; # reread to activate separator - $1=""; # remove addr - FS=" "; # set back separator to default " " - $0=$0; # reread to activate separator (remove whitespaces) - print $1; # print IPv4 addr - }' $DATFILE - ) - else - __DATA=$(awk ' - /inet6/ && /: [0-9a-eA-E]/ && !/\/128/ { # Filter IPv6 exclude fxxx and /128 prefix - # inet6 addr: 2001:db8::xxxx:xxxx/32 Scope:Global - FS="/"; # separator "/" - $0=$0; # reread to activate separator - $2=""; # remove everything behind "/" - FS=" "; # set back separator to default " " - $0=$0; # reread to activate separator - print $3; # print IPv6 addr - }' $DATFILE - ) - fi - [ -n "$__DATA" ] && write_log 7 "Local IP '$__DATA' detected on interface '$ip_interface'" - else - write_log 3 "ifconfig Error: '$__ERR'" - write_log 7 "$(cat $ERRFILE)" # report error - fi - ;; - script) - write_log 7 "#> $ip_script >$DATFILE 2>$ERRFILE" - eval $ip_script >$DATFILE 2>$ERRFILE - __ERR=$? - if [ $__ERR -eq 0 ]; then - __DATA=$(cat $DATFILE) - [ -n "$__DATA" ] && write_log 7 "Local IP '$__DATA' detected via script '$ip_script'" - else - write_log 3 "$ip_script Error: '$__ERR'" - write_log 7 "$(cat $ERRFILE)" # report error - fi - ;; - web) - do_transfer "$ip_url" - # use correct regular expression - [ $use_ipv6 -eq 0 ] \ - && __DATA=$(grep -m 1 -o "$IPV4_REGEX" $DATFILE) \ - || __DATA=$(grep -m 1 -o "$IPV6_REGEX" $DATFILE) - [ -n "$__DATA" ] && write_log 7 "Local IP '$__DATA' detected on web at '$ip_url'" - ;; - *) - write_log 12 "Error in 'get_local_ip()' - unhandled ip_source '$ip_source'" - ;; - esac - # valid data found return here - [ -n "$__DATA" ] && { - eval "$1=\"$__DATA\"" - return 0 - } - - [ $LUCI_HELPER ] && return 1 # no retry if called by LuCI helper script - - write_log 7 "Data detected:\n$(cat $DATFILE)" - - [ $VERBOSE_MODE -gt 1 ] && { - # VERBOSE_MODE > 1 then NO retry - write_log 4 "Get local IP via '$ip_source' failed - Verbose Mode: $VERBOSE_MODE - NO retry on error" - return 1 - } - - __CNT=$(( $__CNT + 1 )) # increment error counter - # if error count > retry_count leave here - [ $retry_count -gt 0 -a $__CNT -gt $retry_count ] && \ - write_log 14 "Get local IP via '$ip_source' failed after $retry_count retries" - write_log 4 "Get local IP via '$ip_source' failed - retry $__CNT/$retry_count in $RETRY_SECONDS seconds" - sleep $RETRY_SECONDS & - PID_SLEEP=$! - wait $PID_SLEEP # enable trap-handler - PID_SLEEP=0 - done - # we should never come here there must be a programming error - write_log 12 "Error in 'get_local_ip()' - program coding error" -} - -get_registered_ip() { - # $1 Name of Variable to store public IP (REGISTERED_IP) - # $2 (optional) if set, do not retry on error - local __CNT=0 # error counter - local __ERR=255 - local __REGEX __PROG __RUNPROG __DATA - # return codes - # 1 no IP detected - - [ $# -lt 1 -o $# -gt 2 ] && write_log 12 "Error calling 'get_registered_ip()' - wrong number of parameters" - write_log 7 "Detect registered/public IP" - - # set correct regular expression - [ $use_ipv6 -eq 0 ] && __REGEX="$IPV4_REGEX" || __REGEX="$IPV6_REGEX" - - if [ -x /usr/bin/host ]; then - __PROG="/usr/bin/host" - [ $use_ipv6 -eq 0 ] && __PROG="$__PROG -t A" || __PROG="$__PROG -t AAAA" - if [ $force_ipversion -eq 1 ]; then # force IP version - [ $use_ipv6 -eq 0 ] && __PROG="$__PROG -4" || __PROG="$__PROG -6" - fi - [ $force_dnstcp -eq 1 ] && __PROG="$__PROG -T" # force TCP - - __RUNPROG="$__PROG $domain $dns_server >$DATFILE 2>$ERRFILE" - __PROG="BIND host" - elif [ -x /usr/bin/nslookup ]; then # last use BusyBox nslookup - [ $force_ipversion -ne 0 -o $force_dnstcp -ne 0 ] && \ - write_log 14 "Busybox nslookup - no support to 'force IP Version' or 'DNS over TCP'" - - __RUNPROG="/usr/bin/nslookup $domain $dns_server >$DATFILE 2>$ERRFILE" - __PROG="BusyBox nslookup" - else # there must be an error - write_log 12 "Error in 'get_registered_ip()' - no supported Name Server lookup software accessible" - fi - - while : ; do - write_log 7 "#> $__RUNPROG" - eval $__RUNPROG - __ERR=$? - if [ $__ERR -ne 0 ]; then - write_log 3 "$__PROG error: '$__ERR'" - write_log 7 "$(cat $ERRFILE)" - else - if [ "$__PROG" = "BIND host" ]; then - __DATA=$(cat $DATFILE | awk -F "address " '/has/ {print $2; exit}' ) - else - __DATA=$(cat $DATFILE | sed -ne "3,\$ { s/^Address[0-9 ]\{0,\}: \($__REGEX\).*$/\\1/p }" ) - fi - [ -n "$__DATA" ] && { - write_log 7 "Registered IP '$__DATA' detected" - eval "$1=\"$__DATA\"" # valid data found - return 0 # leave here - } - write_log 4 "NO valid IP found" - __ERR=127 - fi - - [ $LUCI_HELPER ] && return $__ERR # no retry if called by LuCI helper script - [ -n "$2" ] && return $__ERR # $2 is given -> no retry - [ $VERBOSE_MODE -gt 1 ] && { - # VERBOSE_MODE > 1 then NO retry - write_log 4 "Get registered/public IP for '$domain' failed - Verbose Mode: $VERBOSE_MODE - NO retry on error" - return $__ERR - } - - __CNT=$(( $__CNT + 1 )) # increment error counter - # if error count > retry_count leave here - [ $retry_count -gt 0 -a $__CNT -gt $retry_count ] && \ - write_log 14 "Get registered/public IP for '$domain' failed after $retry_count retries" - - write_log 4 "Get registered/public IP for '$domain' failed - retry $__CNT/$retry_count in $RETRY_SECONDS seconds" - sleep $RETRY_SECONDS & - PID_SLEEP=$! - wait $PID_SLEEP # enable trap-handler - PID_SLEEP=0 - done - # we should never come here there must be a programming error - write_log 12 "Error in 'get_registered_ip()' - program coding error" -} - -get_uptime() { - # $1 Variable to store result in - [ $# -ne 1 ] && write_log 12 "Error calling 'verify_host_port()' - wrong number of parameters" - local __UPTIME=$(cat /proc/uptime) - eval "$1=\"${__UPTIME%%.*}\"" -} - -trap_handler() { - # $1 trap signal - # $2 optional (exit status) - local __PIDS __PID - local __ERR=${2:-0} - local __OLD_IFS=$IFS - local __NEWLINE_IFS=' -' # __NEWLINE_IFS - - [ $PID_SLEEP -ne 0 ] && kill -$1 $PID_SLEEP 2>/dev/null # kill pending sleep if exist - - case $1 in - 0) if [ $__ERR -eq 0 ]; then - write_log 5 "PID '$$' exit normal at $(eval $DATE_PROG)\n" - else - write_log 4 "PID '$$' exit WITH ERROR '$__ERR' at $(eval $DATE_PROG)\n" - fi ;; - 1) write_log 6 "PID '$$' received 'SIGHUP' at $(eval $DATE_PROG)" - # reload config via starting the script again - eval "/usr/lib/ddns/dynamic_dns_updater.sh $SECTION_ID $VERBOSE_MODE &" - exit 0 ;; # and leave this one - 2) write_log 5 "PID '$$' terminated by 'SIGINT' at $(eval $DATE_PROG)\n";; - 3) write_log 5 "PID '$$' terminated by 'SIGQUIT' at $(eval $DATE_PROG)\n";; - 15) write_log 5 "PID '$$' terminated by 'SIGTERM' at $(eval $DATE_PROG)\n";; - *) write_log 13 "Unhandled signal '$1' in 'trap_handler()'";; - esac - - __PIDS=$(pgrep -P $$) # get my childs (pgrep prints with "newline") - IFS=$__NEWLINE_IFS - for __PID in $__PIDS; do - kill -$1 $__PID # terminate it - done - IFS=$__OLD_IFS - - # remove out and err file - [ -f $DATFILE ] && rm -f $DATFILE - [ -f $ERRFILE ] && rm -f $ERRFILE - - # exit with correct handling: - # remove trap handling settings and send kill to myself - trap - 0 1 2 3 15 - [ $1 -gt 0 ] && kill -$1 $$ -} - -split_FQDN() { - # $1 FQDN to split - # $2 name of variable to store TLD - # $3 name of variable to store (reg)Domain - # $4 name of variable to store Host/Subdomain - - [ $# -ne 4 ] && write_log 12 "Error calling 'split_FQDN()' - wrong number of parameters" - [ -z "$1" ] && write_log 12 "Error calling 'split_FQDN()' - missing FQDN to split" - [ -f $TLDFILE ] || write_log 12 "Error calling 'split_FQDN()' - missing file '$TLDFILE'" - - local _HOST _FDOM _CTLD _FTLD - local _SET="$@" # save given function parameters - - local _PAR=$(echo "$1" | tr [A-Z] [a-z] | tr "." " ") # to lower and replace DOT with SPACE - set -- $_PAR # set new as function parameters - _PAR="" # clear variable for later reuse - while [ -n "$1" ] ; do # as long we have parameters - _PAR="$1 $_PAR" # invert order of parameters - shift - done - set -- $_PAR # use new as function parameters - _PAR="" # clear variable - - while [ -n "$1" ] ; do # as long we have parameters - if [ -z "$_CTLD" ]; then # first loop - _CTLD="$1" # CURRENT TLD to look at - shift - else - _CTLD="$1.$_CTLD" # Next TLD to look at - shift - fi - # check if TLD exact match in tld_names.dat, save TLD - zcat $TLDFILE | grep -E "^$_CTLD$" >/dev/null 2>&1 && { - _FTLD="$_CTLD" # save found - _FDOM="$1" # save domain next step might be invalid - continue - } - # check if match any "*" in tld_names.dat, - zcat $TLDFILE | grep -E "^\*.$_CTLD$" >/dev/null 2>&1 && { - [ -z "$1" ] && break # no more data break - # check if next level TLD match excludes "!" in tld_names.dat - if zcat $TLDFILE | grep -E "^!$1.$_CTLD$" >/dev/null 2>&1 ; then - _FTLD="$_CTLD" # Yes - else - _FTLD="$1.$_CTLD" - shift - fi - _FDOM="$1"; shift - } - [ -n "$_FTLD" ] && break # we have something valid, break - done - - # the leftover parameters are the HOST/SUBDOMAIN - while [ -n "$1" ]; do - _HOST="$1 $HOST" # remember we need to invert - shift - done - _HOST=$(echo $_HOST | tr " " ".") # insert DOT - - set -- $_SET # set back parameters from function call - [ -n "$_FTLD" ] && { - eval "$2=$_FTLD" # set TLD - eval "$3=$_FDOM" # set registrable domain - eval "$4=$_HOST" # set HOST/SUBDOMAIN - return 0 - } - eval "$2=''" # clear TLD - eval "$3=''" # clear registrable domain - eval "$4=''" # clear HOST/SUBDOMAIN - return 1 -} diff --git a/trunk/package/feeds/packages/ddns-scripts/files/dynamic_dns_lucihelper.sh b/trunk/package/feeds/packages/ddns-scripts/files/dynamic_dns_lucihelper.sh deleted file mode 100755 index 0f8bb5aa..00000000 --- a/trunk/package/feeds/packages/ddns-scripts/files/dynamic_dns_lucihelper.sh +++ /dev/null @@ -1,102 +0,0 @@ -#!/bin/sh -# /usr/lib/ddns/luci_dns_helper.sh -# -#.Distributed under the terms of the GNU General Public License (GPL) version 2.0 -# -# Written in August 2014 by -#.Christian Schoenebeck -# This script is used by luci-app-ddns -# - getting registered IP -# - check if possible to get local IP -# - verifing given DNS- or Proxy-Server -# -# variables in small chars are read from /etc/config/ddns as parameter given here -# variables in big chars are defined inside these scripts as gloval vars -# variables in big chars beginning with "__" are local defined inside functions only -# set -vx #script debugger - -[ $# -lt 2 ] && exit 1 - -. /usr/lib/ddns/dynamic_dns_functions.sh # global vars are also defined here - -# preset some variables, wrong or not set in dynamic_dns_functions.sh -SECTION_ID="lucihelper" -LOGFILE="$LOGDIR/$SECTION_ID.log" -DATFILE="$RUNDIR/$SECTION_ID.$$.dat" # save stdout data of WGet and other extern programs called -ERRFILE="$RUNDIR/$SECTION_ID.$$.err" # save stderr output of WGet and other extern programs called -VERBOSE_MODE=0 # no console logging -# global variables normally set by reading DDNS UCI configuration -use_syslog=0 # no syslog -use_logfile=0 # by default no logfile, can be changed here - -__RET=0 -case "$1" in - get_registered_ip) - local IP - domain=$2 # Hostname/Domain - use_ipv6=${3:-"0"} # Use IPv6 - default IPv4 - force_ipversion=${4:-"0"} # Force IP Version - default 0 - No - force_dnstcp=${5:-"0"} # Force TCP on DNS - default 0 - No - dns_server=${6:-""} # DNS server - default No DNS - write_log 7 "-----> get_registered_ip IP" - get_registered_ip IP - __RET=$? - [ $__RET -ne 0 ] && IP="" - echo -n "$IP" # suppress LF - ;; - verify_dns) - # $2 : dns-server to verify # no need for force_dnstcp because - # verify with nc (netcat) uses tcp anyway - use_ipv6=${3:-"0"} # Use IPv6 - default IPv4 - force_ipversion=${4:-"0"} # Force IP Version - default 0 - No - write_log 7 "-----> verify_dns '$2'" - verify_dns "$2" - __RET=$? - ;; - verify_proxy) - # $2 : proxy string to verify - use_ipv6=${3:-"0"} # Use IPv6 - default IPv4 - force_ipversion=${4:-"0"} # Force IP Version - default 0 - No - write_log 7 "-----> verify_proxy '$2'" - verify_proxy "$2" - __RET=$? - ;; - get_local_ip) - local IP - use_ipv6="$2" # Use IPv6 - ip_source="$3" # IP source - ip_network="$4" # set if source = "network" otherwise "-" - ip_url="$5" # set if source = "web" otherwise "-" - ip_interface="$6" # set if source = "interface" itherwiase "-" - ip_script="$7" # set if source = "script" otherwise "-" - proxy="$8" # proxy if set - force_ipversion="0" # not needed but must be set - use_https="0" # not needed but must be set - [ -n "$proxy" -a "$ip_source" = "web" ] && { - # proxy defined, used for ip_source=web - export HTTP_PROXY="http://$proxy" - export HTTPS_PROXY="http://$proxy" - export http_proxy="http://$proxy" - export https_proxy="http://$proxy" - } - # don't need IP only the return code - [ "$ip_source" = "web" -o "$ip_source" = "script" ] && { - # we wait only 3 seconds for an - # answer from "web" or "script" - write_log 7 "-----> timeout 3 -- get_local_ip IP" - timeout 3 -- get_local_ip IP - } || { - write_log 7 "-----> get_local_ip IP" - get_local_ip IP - } - __RET=$? - ;; - *) - __RET=255 - ;; -esac - -# remove out and err file -[ -f $DATFILE ] && rm -f $DATFILE -[ -f $ERRFILE ] && rm -f $ERRFILE -return $__RET \ No newline at end of file diff --git a/trunk/package/feeds/packages/ddns-scripts/files/dynamic_dns_updater.sh b/trunk/package/feeds/packages/ddns-scripts/files/dynamic_dns_updater.sh deleted file mode 100644 index a0143a73..00000000 --- a/trunk/package/feeds/packages/ddns-scripts/files/dynamic_dns_updater.sh +++ /dev/null @@ -1,334 +0,0 @@ -#!/bin/sh -# /usr/lib/ddns/dynamic_dns_updater.sh -# -# Original written by Eric Paul Bishop, January 2008 -#.Distributed under the terms of the GNU General Public License (GPL) version 2.0 -# (Loosely) based on the script on the one posted by exobyte in the forums here: -# http://forum.openwrt.org/viewtopic.php?id=14040 -# -# extended and partial rewritten in August 2014 by -#.Christian Schoenebeck -# to support: -# - IPv6 DDNS services -# - DNS Server to retrieve registered IP including TCP transport (Ticket 7820) -# - Proxy Server to send out updates -# - force_interval=0 to run once (Luci Ticket 538) -# - the usage of BIND's host command instead of BusyBox's nslookup if installed -# - extended Verbose Mode and log file support for better error detection -# - wait for interface to fully come up, before the first update is done -# -# variables in small chars are read from /etc/config/ddns -# variables in big chars are defined inside these scripts as global vars -# variables in big chars beginning with "__" are local defined inside functions only -# set -vx #script debugger - -[ $# -lt 1 -o -n "${2//[0-3]/}" -o ${#2} -gt 1 ] && { - echo -e "\n USAGE:" - echo -e " $0 [SECTION] [VERBOSE_MODE]\n" - echo " [SECTION] - service section as defined in /etc/config/ddns" - echo " [VERBOSE_MODE] - '0' NO output to console" - echo " '1' output to console" - echo " '2' output to console AND logfile" - echo " + run once WITHOUT retry on error" - echo " '3' output to console AND logfile" - echo " + run once WITHOUT retry on error" - echo -e " + NOT sending update to DDNS service\n" - exit 1 -} - -. /usr/lib/ddns/dynamic_dns_functions.sh # global vars are also defined here - -SECTION_ID="$1" -VERBOSE_MODE=${2:-1} # default mode is log to console - -# set file names -PIDFILE="$RUNDIR/$SECTION_ID.pid" # Process ID file -UPDFILE="$RUNDIR/$SECTION_ID.update" # last update successful send (system uptime) -DATFILE="$RUNDIR/$SECTION_ID.dat" # save stdout data of WGet and other extern programs called -ERRFILE="$RUNDIR/$SECTION_ID.err" # save stderr output of WGet and other extern programs called -LOGFILE="$LOGDIR/$SECTION_ID.log" # log file - -# VERBOSE_MODE > 1 delete logfile if exist to create an empty one -# only with this data of this run for easier diagnostic -# new one created by write_log function -[ $VERBOSE_MODE -gt 1 -a -f $LOGFILE ] && rm -f $LOGFILE - -# TRAP handler -trap "trap_handler 0 \$?" 0 # handle script exit with exit status -trap "trap_handler 1" 1 # SIGHUP Hangup / reload config -trap "trap_handler 2" 2 # SIGINT Terminal interrupt -trap "trap_handler 3" 3 # SIGQUIT Terminal quit -# trap "trap_handler 9" 9 # SIGKILL no chance to trap -trap "trap_handler 15" 15 # SIGTERM Termination - -################################################################################ -# Leave this comment here, to clearly document variable names that are expected/possible -# Use load_all_config_options to load config options, which is a much more flexible solution. -# -# config_load "ddns" -# config_get $SECTION_ID