Merge pull request #14400 from FrederickGeek8/fix-14287
authorNikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
Fri, 1 Jan 2021 10:51:56 +0000 (11:51 +0100)
committerGitHub <noreply@github.com>
Fri, 1 Jan 2021 10:51:56 +0000 (11:51 +0100)
openconnect: Fix secondary password script overwriting primary

113 files changed:
.github/workflows/multi-arch-test-build.yml
admin/netdata/Makefile
admin/netdata/patches/003-extra-patch-web_gui_main.js.patch
admin/netdata/patches/004-patch-collectors_python.d.plugin_Makefile.am.patch
admin/netdata/patches/007-dont-check-for-ebpf-dependencies-when-it-is-disabled.patch [deleted file]
lang/erlang/Makefile
lang/node-hid/Makefile
lang/node-hid/patches/000-support_musl.patch
lang/node-homebridge/Makefile
lang/node-homebridge/patches/000-add_module_search_path.patch
lang/node-serialport-bindings/Makefile
lang/node-serialport/Makefile
lang/node-serialport/patches/000-remove_depends.patch [new file with mode: 0644]
lang/node-serialport/patches/001-turn_off_depends.patch [deleted file]
lang/node/Makefile
lang/node/patches/003-path.patch
lang/node/patches/004-musl_support.patch
lang/node/patches/007-fix_host_build_on_macos.patch
lang/node/patches/999-delete_unnecessary_libraries_for_host_execute.patch
lang/node/patches/999-localhost-no-addrconfig.patch
libs/icu/Makefile
libs/icu/patches/000-dont-cpy-files-from-topdirs.patch
libs/icu/patches/001-change_optimization_option.patch
libs/icu/patches/002-Disable-LDFLAGSICUDT-for-Linux.patch
libs/icu/patches/010-max_align_t.patch
libs/libimobiledevice/Makefile
libs/libimobiledevice/patches/100-ios14.patch [new file with mode: 0644]
libs/libimobiledevice/patches/110-iOS14.patch [new file with mode: 0644]
libs/libimobiledevice/patches/120-iOS14.patch [new file with mode: 0644]
libs/libuhttpd/Makefile
libs/libxslt/Makefile
libs/tcp_wrappers/Makefile
libs/tcp_wrappers/patches/001-debian_subset.patch
libs/tcp_wrappers/patches/004-ipv4_prefix.patch
libs/tcp_wrappers/patches/005-no--lnsl-on-musl.patch
libs/tcp_wrappers/patches/006-compilation-warnings.patch
libs/tiff/Makefile
libs/xr_usb_serial_common/Makefile
mail/opendkim/Makefile
net/adblock/Makefile
net/adblock/files/adblock.init
net/atftp/Makefile
net/atftp/patches/01-missing-u_char-type-patch.patch
net/atftp/patches/02-fix-invalid-read-in-tftp_send_request.patch
net/atftp/patches/03-Fix-undefined-reference-linker-errors.patch
net/atftp/patches/04-cdefs.patch
net/banip/Makefile
net/banip/files/banip.sh
net/bfdd/Makefile
net/bfdd/patches/002-ipv6_musl_fix.patch
net/bfdd/patches/010-uclibc.patch [deleted file]
net/coova-chilli/Makefile
net/dawn/Makefile
net/freeradius3/Makefile
net/frr/Makefile
net/gitolite/Makefile
net/ksmbd-tools/Makefile
net/lighttpd/Makefile
net/phantap/Makefile
net/sqm-scripts/Makefile
net/squid/Makefile
net/transmission/Makefile
net/transmission/patches/010-no-intltool.patch
net/transmission/patches/020-mbedcrypto.patch
net/transmission/patches/080-disable-webseeding.patch
net/wget/Makefile
sound/shairport-sync/Makefile
sound/shairport-sync/patches/010-no-cxx.patch
utils/auc/Makefile
utils/auc/src/CMakeLists.txt
utils/bash/Makefile
utils/bash/patches/101-bash51-001.patch [new file with mode: 0644]
utils/bash/patches/102-bash51-002.patch [new file with mode: 0644]
utils/bash/patches/103-bash51-003.patch [new file with mode: 0644]
utils/bash/patches/104-bash51-004.patch [new file with mode: 0644]
utils/bonnie++/Makefile
utils/bonnie++/patches/010-openwrt-fixes.patch
utils/conmon/Makefile
utils/hfsprogs/Makefile
utils/hfsprogs/patches/0001-Create-short-Makefiles-for-Debian.patch
utils/hfsprogs/patches/0002-Add-exclude-Darwin-specific-code.patch
utils/hfsprogs/patches/0003-Add-helper-include-files-absent-from-the-upstream-pa.patch
utils/hfsprogs/patches/0004-Fix-compilation-on-64-bit-arches.patch
utils/hfsprogs/patches/0005-Remove-Apple-specific-p-from-strings.patch
utils/hfsprogs/patches/0006-Adjust-types-for-printing.patch
utils/hfsprogs/patches/0007-Fix-path-for-HFS-wrapper-block.patch
utils/hfsprogs/patches/0008-Provide-command-line-option-a.patch
utils/hfsprogs/patches/0009-Rename-dprintf-to-dbg_printf.patch
utils/hfsprogs/patches/0010-Rename-custom-macro-nil-with-NULL.patch
utils/hfsprogs/patches/0011-Fix-types.patch
utils/hfsprogs/patches/0012-Fix-mkfs-not-creating-UUIDs-for-new-filesystems.patch
utils/hfsprogs/patches/0013-Fix-manpages.patch
utils/hfsprogs/patches/0014-uClibc_no_loadavg.patch
utils/hfsprogs/patches/0015-sysctl-only-on-glibc.patch
utils/hfsprogs/patches/0016-Fix-fsckhfs-wide-literal.patch
utils/hfsprogs/patches/010-valloc-to-memalign.patch
utils/hfsprogs/patches/030-no-cdefs.patch
utils/lvm2/Makefile
utils/rtl_433/Makefile
utils/spi-tools/Makefile
utils/sysstat/Makefile
utils/sysstat/patches/010-ldflags.patch
utils/ttyd/Makefile
utils/ttyd/patches/100-log-to-syslog.patch
utils/ttyd/patches/200-protocol-fix-request-path-for-h2.patch [deleted file]
utils/unrar/Makefile
utils/whois/Makefile
utils/whois/patches/010-no-crypt.patch [deleted file]
utils/whois/patches/010-no-mkpasswd.patch [new file with mode: 0644]
utils/whois/patches/030-no-mkpasswd.patch [deleted file]
utils/xfsprogs/Makefile
utils/yq/Makefile
utils/zoneinfo/Makefile

index 11cbc809616a2d00113bb802eaf1a886104271d2..20187622b0af87b9a76e08281f75b890fbe2f4ff 100644 (file)
@@ -2,8 +2,6 @@ name: Test Build
 
 on:
   pull_request:
-    branches:
-      - master
 
 jobs:
   build:
@@ -13,7 +11,7 @@ jobs:
       fail-fast: false
       matrix:
         arch:
-          - arc_arc700
+          - arc_archs
           - arm_cortex-a9_vfpv3-d16
           - mips_24kc
           - powerpc_464fp
@@ -48,10 +46,16 @@ jobs:
           echo "Building $PACKAGES"
           echo "PACKAGES=$PACKAGES" >> $GITHUB_ENV
 
+      - name: Determine branch name
+        run: |
+          BRANCH="${GITHUB_BASE_REF#refs/heads/}"
+          echo "Building for $BRANCH"
+          echo "BRANCH=$BRANCH" >> $GITHUB_ENV
+
       - name: Build
         uses: openwrt/gh-action-sdk@v1
         env:
-          ARCH: ${{ matrix.arch }}
+          ARCH: ${{ matrix.arch }}-${{ env.BRANCH }}
           FEEDNAME: packages_ci
 
       - name: Move created packages to project dir
index 324f77d2f17ce7ebf0e14000a5b8d1d285a7ec52..29f407e535be5c1da7cc08b685786339cde55abc 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=netdata
-PKG_VERSION:=1.26.0
+PKG_VERSION:=1.28.0
 PKG_RELEASE:=1
 
 PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>, Daniel Engberg <daniel.engberg.lists@pyret.net>
@@ -18,7 +18,7 @@ PKG_CPE_ID:=cpe:/a:my-netdata:netdata
 
 PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/netdata/netdata/tar.gz/v$(PKG_VERSION)?
-PKG_HASH:=be32d49381da39196574011653ea863f2064a2168bc9b61a1354171b27ce370b
+PKG_HASH:=35f681abddfc307ffa8f026dbded4eadf3752a7cbb3078501a64d4f9b605491e
 
 PKG_INSTALL:=1
 PKG_BUILD_PARALLEL:=1
index 0d3862f0badf6bc146a97d576cf36026e0260ba9..f2b86b4ca0aba53e36c958d95a99c2b87abf872e 100644 (file)
@@ -1,6 +1,6 @@
 --- a/web/gui/main.js
 +++ b/web/gui/main.js
-@@ -745,11 +745,7 @@ function renderMyNetdataMenu(machinesArr
+@@ -759,11 +759,7 @@ function renderMyNetdataMenu(machinesArr
      if (!isSignedIn()) {
          if (!NETDATA.registry.isRegistryEnabled()) {
              html += (
index eaf300b378cb12457b9087475b40ab5e9da4f2a2..e4816009ec02666f305ea68caa6f5696727a0e60 100644 (file)
@@ -1,8 +1,8 @@
 --- a/collectors/python.d.plugin/Makefile.am
 +++ b/collectors/python.d.plugin/Makefile.am
-@@ -142,109 +142,3 @@ dist_third_party_DATA = \
-     python_modules/third_party/boinc_client.py \
+@@ -145,109 +145,3 @@ dist_third_party_DATA = \
      python_modules/third_party/monotonic.py \
+     python_modules/third_party/filelock.py \
      $(NULL)
 -
 -pythonyaml2dir=$(pythonmodulesdir)/pyyaml2
diff --git a/admin/netdata/patches/007-dont-check-for-ebpf-dependencies-when-it-is-disabled.patch b/admin/netdata/patches/007-dont-check-for-ebpf-dependencies-when-it-is-disabled.patch
deleted file mode 100644 (file)
index c224677..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-From bb405e3c274ca8860c974a720071d346b16c8462 Mon Sep 17 00:00:00 2001
-From: Tomas Kopal <Tomas.Kopal@eccam.com>
-Date: Tue, 6 Oct 2020 13:38:08 +0200
-Subject: [PATCH] Don't check for ebpf dependencies if ebpf is disabled.
-
----
- configure.ac | 56 +++++++++++++++++++++++++++-------------------------
- 1 file changed, 29 insertions(+), 27 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 57f6c0b1cb3a..5f13b4feb0d1 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -989,36 +989,38 @@ AM_CONDITIONAL([ENABLE_PLUGIN_PERF], [test "${enable_plugin_perf}" = "yes"])
- # -----------------------------------------------------------------------------
- # ebpf.plugin
--PKG_CHECK_MODULES(
--    [LIBELF],
--    [libelf],
--    [have_libelf=yes],
--    [have_libelf=no]
--)
-+if test "${build_target}" = "linux" -a "${enable_ebpf}" != "no"; then
-+    PKG_CHECK_MODULES(
-+        [LIBELF],
-+        [libelf],
-+        [have_libelf=yes],
-+        [have_libelf=no]
-+    )
--AC_CHECK_TYPE(
--    [struct bpf_prog_info],
--    [have_bpf=yes],
--    [have_bpf=no],
--    [#include <linux/bpf.h>]
--)
-+    AC_CHECK_TYPE(
-+        [struct bpf_prog_info],
-+        [have_bpf=yes],
-+        [have_bpf=no],
-+        [#include <linux/bpf.h>]
-+    )
--AC_CHECK_FILE(
--    externaldeps/libbpf/libbpf.a,
--    [have_libbpf=yes],
--    [have_libbpf=no]
--)
-+    AC_CHECK_FILE(
-+        externaldeps/libbpf/libbpf.a,
-+        [have_libbpf=yes],
-+        [have_libbpf=no]
-+    )
--AC_MSG_CHECKING([if ebpf.plugin should be enabled])
--if test "${build_target}" = "linux" -a \
--        "${enable_ebpf}" != "no" -a \
--        "${have_libelf}" = "yes" -a \
--        "${have_bpf}" = "yes" -a \
--        "${have_libbpf}" = "yes"; then
--    OPTIONAL_BPF_CFLAGS="${LIBELF_CFLAGS} -I externaldeps/libbpf/include"
--    OPTIONAL_BPF_LIBS="externaldeps/libbpf/libbpf.a ${LIBELF_LIBS}"
--    AC_DEFINE([HAVE_LIBBPF], [1], [libbpf usability])
--    enable_ebpf="yes"
-+    AC_MSG_CHECKING([if ebpf.plugin should be enabled])
-+    if test "${have_libelf}" = "yes" -a \
-+            "${have_bpf}" = "yes" -a \
-+            "${have_libbpf}" = "yes"; then
-+        OPTIONAL_BPF_CFLAGS="${LIBELF_CFLAGS} -I externaldeps/libbpf/include"
-+        OPTIONAL_BPF_LIBS="externaldeps/libbpf/libbpf.a ${LIBELF_LIBS}"
-+        AC_DEFINE([HAVE_LIBBPF], [1], [libbpf usability])
-+        enable_ebpf="yes"
-+    else
-+        enable_ebpf="no"
-+    fi
- else
-     enable_ebpf="no"
- fi
index 52c5054fd485339ac2b081b05a47106dc44d2448..2be208715ea47bb6ed06f68f8b38241fd719d168 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=erlang
 PKG_VERSION:=23.0
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=otp_src_$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:= http://www.erlang.org/download/
@@ -314,20 +314,10 @@ endef
 
 HOST_CONFIGURE_ARGS += \
        --disable-hipe \
+       --disable-pgo \
        --disable-smp-support \
        --without-javac
 
-HOST_CFLAGS += -D_GNU_SOURCE
-
-define Host/Compile
-       $(MAKE) -C $(HOST_BUILD_DIR) all
-endef
-
-define Host/Install
-       $(MAKE) -C $(HOST_BUILD_DIR) install
-endef
-
-
 # Target
 
 CONFIGURE_ARGS += \
index e2590d8c36a4f794ca71d5c805bf858d11815dcf..008eac69f7650c7cecfdbaec5c178865a082f568 100644 (file)
@@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk
 
 PKG_NPM_NAME:=node-hid
 PKG_NAME:=$(PKG_NPM_NAME)
-PKG_VERSION:=1.3.2
+PKG_VERSION:=2.1.1
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
 PKG_SOURCE_URL:=https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=dce3ff3380d2ad66078ba77498e49693582437ba94bb84229f146e893fa4ed9a
+PKG_HASH:=6c1f05935215feed4e8d2f4aecf31abbad8fa783d252b0bd6041ed2f2e96e9ba
 
 PKG_BUILD_DEPENDS:=node/host
 PKG_USE_MIPS16:=0
@@ -31,8 +31,8 @@ define Package/node-hid
   SECTION:=lang
   CATEGORY:=Languages
   TITLE:=Node.js package to access HID devices
-  URL:=https://github.com/node-hid/node-hid
-  DEPENDS:=+node +node-npm +libusb-1.0 +hidapi +libudev $(ICONV_DEPENDS)
+  URL:=https://www.npmjs.com/package/node-hid
+  DEPENDS:=+node +node-npm +libusb-1.0 +libudev $(ICONV_DEPENDS)
 endef
 
 define Package/node-hid/description
@@ -49,7 +49,7 @@ TARGET_CFLAGS+=$(FPIC) -I$(STAGING_DIR)/usr/include/libusb-1.0
 TARGET_LDFLAGS+=$(if $(ICONV_FULL),-liconv)
 
 define Build/Compile
-       git init $(PKG_BUILD_DIR)
+       GYP_DEFINES='driver="hidraw"' \
        $(MAKE_VARS) \
        $(MAKE_FLAGS) \
        npm_config_arch=$(NODEJS_CPU) \
@@ -66,9 +66,7 @@ endef
 
 define Package/node-hid/install
        $(INSTALL_DIR) $(1)/usr/lib/node/$(PKG_NPM_NAME)
-       $(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/$(PKG_NPM_NAME)/{package.json,*.md} \
-               $(1)/usr/lib/node/$(PKG_NPM_NAME)/
-       $(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/$(PKG_NPM_NAME)/{binding.gyp,*.js} \
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/$(PKG_NPM_NAME)/{package.json,*.md,*.js} \
                $(1)/usr/lib/node/$(PKG_NPM_NAME)/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/$(PKG_NPM_NAME)/{node_modules,src} \
                $(1)/usr/lib/node/$(PKG_NPM_NAME)/
@@ -76,7 +74,7 @@ define Package/node-hid/install
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/$(PKG_NPM_NAME)/build/Release/HID*.node \
                $(1)/usr/lib/node/$(PKG_NPM_NAME)/build/Release/
        $(INSTALL_DIR) $(1)/usr/bin
-       $(LN) ../lib/node/node-hid/src/show-devices.js $(1)/usr/bin/hid-showdevices
+       $(LN) ../lib/node/$(PKG_NPM_NAME)/src/show-devices.js $(1)/usr/bin/hid-showdevices
 endef
 
 $(eval $(call BuildPackage,node-hid))
index 9f1d04497f9f0b6d41e2c6896a3eeb5ae3a52ed4..89b35691ca329d4c5348e0772b6028e848ab2e35 100644 (file)
@@ -1,6 +1,5 @@
-diff -urN a/hidapi/linux/hid.c b/hidapi/linux/hid.c
---- a/hidapi/linux/hid.c       1985-10-26 17:15:00.000000000 +0900
-+++ b/hidapi/linux/hid.c       2019-12-12 11:15:11.164454207 +0900
+--- a/hidapi/linux/hid.c
++++ b/hidapi/linux/hid.c
 @@ -24,6 +24,7 @@
  /* C */
  #include <stdio.h>
index 080c2d2d2854fb067e8ec6e96a7b453f45b52d45..209e1a0bf73b5c6600800dda56e6901631ca9b37 100644 (file)
@@ -6,12 +6,12 @@ include $(TOPDIR)/rules.mk
 
 PKG_NPM_NAME:=homebridge
 PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=1.2.3
+PKG_VERSION:=1.2.4
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
 PKG_SOURCE_URL:=https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=80f1bbd2021942f4ec47d662f9ec208ca7fb7490d981cdc409f19809604cb592
+PKG_HASH:=f91ab0058707a0498d97d87f45f19682065f80660fac942e0985caf9bb205f2a
 
 PKG_BUILD_DEPENDS:=node/host
 PKG_USE_MIPS16:=0
@@ -70,7 +70,7 @@ define Package/node-homebridge/install
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/$(PKG_NPM_NAME)/{LICENSE,bin} \
                $(1)/usr/lib/node/$(PKG_NPM_NAME)/
        $(INSTALL_DIR) $(1)/usr/bin
-       $(LN) ../lib/node/homebridge/bin/homebridge $(1)/usr/bin/homebridge
+       $(LN) ../lib/node/$(PKG_NPM_NAME)/bin/homebridge $(1)/usr/bin/homebridge
        $(INSTALL_DIR) $(1)/etc/init.d
        $(INSTALL_BIN) ./files/homebridge.init $(1)/etc/init.d/homebridge
 endef
index 911182c18a9d58f25efc6836cf0015442a200b5f..cd9b40dac875be38c1da213054823a65a4637e60 100644 (file)
@@ -1,6 +1,6 @@
 --- a/lib/pluginManager.js
 +++ b/lib/pluginManager.js
-@@ -324,6 +324,7 @@
+@@ -324,6 +324,7 @@ class PluginManager {
              else {
                  this.searchPaths.add("/usr/local/lib/node_modules");
                  this.searchPaths.add("/usr/lib/node_modules");
index f30de07129aa13711379b9af5cdd1ad0a5b7eb69..dd19307e5ea2804197ad74221dd179af5a0d9905 100644 (file)
@@ -7,12 +7,12 @@ include $(TOPDIR)/rules.mk
 PKG_NPM_SCOPE:=serialport
 PKG_NPM_NAME:=bindings
 PKG_NAME:=node-$(PKG_NPM_SCOPE)-$(PKG_NPM_NAME)
-PKG_VERSION:=9.0.2
+PKG_VERSION:=9.0.4
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
 PKG_SOURCE_URL:=https://registry.npmjs.org/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)/-/
-PKG_HASH:=03e28d0ef191f3e3f2cf9215c2f2f43106e85638a8d3bd210127781cb73ed50a
+PKG_HASH:=aec200860bd175e4b14b4ab1aa56a5f750172b6c8e20ccb234846206395848d4
 
 PKG_BUILD_DEPENDS:=node/host
 PKG_USE_MIPS16:=0
@@ -55,7 +55,7 @@ define Build/Compile
        npm_config_prefix=$(PKG_INSTALL_DIR)/usr/ \
        npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM) \
        npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
-       npm install -g --build-from-source $(PKG_BUILD_DIR)
+       npm install -g $(PKG_BUILD_DIR)
        rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
        rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
 endef
index 5d3542665880a29530f8aeaf453a9b4fb57b8120..7988b08652822825cb66efd8c2d6a04e61071891 100644 (file)
@@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk
 
 PKG_NPM_NAME:=serialport
 PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=9.0.2
+PKG_VERSION:=9.0.4
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
 PKG_SOURCE_URL:=https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=5f4cef3ec85accc8ad3d2ba75654fca4270e4a00d01729c4c4bcb895a3fdb5d6
+PKG_HASH:=e19fe993ad16ae0e03fc42e24cfe4babf8fd90f8358e1885d5e216277dda1086
 
 PKG_BUILD_DEPENDS:=node/host
 PKG_USE_MIPS16:=0
@@ -56,7 +56,7 @@ define Build/Compile
        npm_config_prefix=$(PKG_INSTALL_DIR)/usr/ \
        npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM) \
        npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
-       npm install -g --build-from-source $(PKG_BUILD_DIR)
+       npm install -g $(PKG_BUILD_DIR)
        rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
        rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
 endef
diff --git a/lang/node-serialport/patches/000-remove_depends.patch b/lang/node-serialport/patches/000-remove_depends.patch
new file mode 100644 (file)
index 0000000..063d041
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/package.json
++++ b/package.json
+@@ -46,7 +46,6 @@
+   ],
+   "dependencies": {
+     "@serialport/binding-mock": "^9.0.2",
+-    "@serialport/bindings": "^9.0.4",
+     "@serialport/parser-byte-length": "^9.0.1",
+     "@serialport/parser-cctalk": "^9.0.1",
+     "@serialport/parser-delimiter": "^9.0.1",
diff --git a/lang/node-serialport/patches/001-turn_off_depends.patch b/lang/node-serialport/patches/001-turn_off_depends.patch
deleted file mode 100644 (file)
index bb6ace6..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/package.json
-+++ b/package.json
-@@ -46,7 +46,6 @@
-   ],
-   "dependencies": {
-     "@serialport/binding-mock": "^9.0.2",
--    "@serialport/bindings": "^9.0.2",
-     "@serialport/parser-byte-length": "^9.0.1",
-     "@serialport/parser-cctalk": "^9.0.1",
-     "@serialport/parser-delimiter": "^9.0.1",
index 708e0d650f455b3a249a0e2bedefd6f659d9cd18..2054d612b3fa3761b4a923b27e2d0f61962dfeb0 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=node
-PKG_VERSION:=v14.15.1
+PKG_VERSION:=v14.15.3
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://nodejs.org/dist/$(PKG_VERSION)
-PKG_HASH:=0161436846f7578938ad87af197e0cf112452232723227f88d5a0efc34dec1bc
+PKG_HASH:=32cfb19be9bd15cfdfaf842b29c80cc1c1c4b841a3b8ce05de74e1aca1cbf4fe
 
 PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>, Adrian Panella <ianchi74@outlook.com>
 PKG_LICENSE:=MIT
index 3c19676a8eeeeb756ef5ffa8891a0d5b73b04c10..0c4cfa9087493fc2267af43de1d0b63994fde97c 100644 (file)
@@ -1,6 +1,6 @@
 --- a/lib/internal/modules/cjs/loader.js
 +++ b/lib/internal/modules/cjs/loader.js
-@@ -1179,7 +1179,8 @@
+@@ -1179,7 +1179,8 @@ Module._initPaths = function() {
      path.resolve(process.execPath, '..') :
      path.resolve(process.execPath, '..', '..');
  
index 17c10b6d8fcbd00f6627e118286199a3ef36ff6a..200e2ca48491de029ab23715a03abe2a821bbdda 100644 (file)
@@ -1,7 +1,6 @@
-diff -urN a/deps/v8/src/base/platform/condition-variable.cc b/deps/v8/src/base/platform/condition-variable.cc
---- a/deps/v8/src/base/platform/condition-variable.cc  2020-09-30 01:58:13.000000000 +0900
-+++ b/deps/v8/src/base/platform/condition-variable.cc  2020-10-06 09:04:33.341499270 +0900
-@@ -16,7 +16,7 @@
+--- a/deps/v8/src/base/platform/condition-variable.cc
++++ b/deps/v8/src/base/platform/condition-variable.cc
+@@ -16,7 +16,7 @@ namespace base {
  
  ConditionVariable::ConditionVariable() {
  #if (V8_OS_FREEBSD || V8_OS_NETBSD || V8_OS_OPENBSD || \
@@ -10,7 +9,7 @@ diff -urN a/deps/v8/src/base/platform/condition-variable.cc b/deps/v8/src/base/p
    // On Free/Net/OpenBSD and Linux with glibc we can change the time
    // source for pthread_cond_timedwait() to use the monotonic clock.
    pthread_condattr_t attr;
-@@ -92,7 +92,7 @@
+@@ -92,7 +92,7 @@ bool ConditionVariable::WaitFor(Mutex* m
        &native_handle_, &mutex->native_handle(), &ts);
  #else
  #if (V8_OS_FREEBSD || V8_OS_NETBSD || V8_OS_OPENBSD || \
@@ -19,10 +18,9 @@ diff -urN a/deps/v8/src/base/platform/condition-variable.cc b/deps/v8/src/base/p
    // On Free/Net/OpenBSD and Linux with glibc we can change the time
    // source for pthread_cond_timedwait() to use the monotonic clock.
    result = clock_gettime(CLOCK_MONOTONIC, &ts);
-diff -urN a/deps/v8/src/base/platform/platform-posix.cc b/deps/v8/src/base/platform/platform-posix.cc
---- a/deps/v8/src/base/platform/platform-posix.cc      2020-09-30 01:58:13.000000000 +0900
-+++ b/deps/v8/src/base/platform/platform-posix.cc      2020-10-06 09:04:33.341499270 +0900
-@@ -823,7 +823,7 @@
+--- a/deps/v8/src/base/platform/platform-posix.cc
++++ b/deps/v8/src/base/platform/platform-posix.cc
+@@ -823,7 +823,7 @@ bool Thread::Start() {
  #if V8_OS_MACOSX
      // Default on Mac OS X is 512kB -- bump up to 1MB
      stack_size = 1 * 1024 * 1024;
@@ -31,9 +29,8 @@ diff -urN a/deps/v8/src/base/platform/platform-posix.cc b/deps/v8/src/base/platf
      // Default on AIX is 96kB -- bump up to 2MB
      stack_size = 2 * 1024 * 1024;
  #endif
-diff -urN a/deps/v8/src/codegen/external-reference-table.cc b/deps/v8/src/codegen/external-reference-table.cc
---- a/deps/v8/src/codegen/external-reference-table.cc  2020-09-30 01:58:13.000000000 +0900
-+++ b/deps/v8/src/codegen/external-reference-table.cc  2020-10-06 09:04:33.345499241 +0900
+--- a/deps/v8/src/codegen/external-reference-table.cc
++++ b/deps/v8/src/codegen/external-reference-table.cc
 @@ -9,7 +9,7 @@
  #include "src/ic/stub-cache.h"
  #include "src/logging/counters.h"
index ddf25db33b937efe5abf073958ff0b4cf6976f63..9341b3e4a9b3b85adc58a72d2dc0483bad6ebcab 100644 (file)
@@ -1,6 +1,6 @@
 --- a/tools/gyp/pylib/gyp/generator/make.py
 +++ b/tools/gyp/pylib/gyp/generator/make.py
-@@ -180,7 +180,7 @@
+@@ -180,7 +180,7 @@ cmd_solink_module = $(LINK.$(TOOLSET)) -
  
  LINK_COMMANDS_MAC = """\
  quiet_cmd_alink = LIBTOOL-STATIC $@
index 3d8d2340dd7246a1f3b6104ffd74c7083f95210d..e81478d7be8c50df78b27242d6628361515be4dc 100644 (file)
@@ -32,8 +32,8 @@
        'dependencies': [ 'icutools' ],
        'sources': [
          '<@(icu_src_genccode)',
---- a/tools/v8_gypfiles/v8.gyp 2019-06-27 19:12:20.000000000 +0900
-+++ b/tools/v8_gypfiles/v8.gyp 2019-07-01 14:40:48.292020880 +0900
+--- a/tools/v8_gypfiles/v8.gyp
++++ b/tools/v8_gypfiles/v8.gyp
 @@ -1310,6 +1310,7 @@
      {
        'target_name': 'bytecode_builtins_list_generator',
index d66bc89f2d4e718900fd109690bf1f4a48d47727..bfa71eb4206955a8f6842c0492c8245f3d046e09 100644 (file)
@@ -13,7 +13,7 @@ Forwarded: https://github.com/nodejs/node/issues/33816
  //
  // Permission is hereby granted, free of charge, to any person obtaining a
  // copy of this software and associated documentation files (the
-@@ -1026,13 +1027,6 @@
+@@ -1026,13 +1027,6 @@ function lookupAndConnect(self, options)
      hints: options.hints || 0
    };
  
index f2413b9a5cc211421a421a19750e48e686c282d9..459e5a6be5ccffe9fd2dee8d6a04add65d28cf0c 100644 (file)
@@ -9,13 +9,13 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=icu4c
 MAJOR_VERSION:=68
-MINOR_VERSION:=1
+MINOR_VERSION:=2
 PKG_VERSION:=$(MAJOR_VERSION).$(MINOR_VERSION)
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(MAJOR_VERSION)_$(MINOR_VERSION)-src.tgz
 PKG_SOURCE_URL:=https://github.com/unicode-org/icu/releases/download/release-$(MAJOR_VERSION)-$(MINOR_VERSION)
-PKG_HASH:=a9f2e3d8b4434b8e53878b4308bd1e6ee51c9c7042e2b1a376abefb6fbb29f2d
+PKG_HASH:=c79193dee3907a2199b8296a93b52c5cb74332c26f3d167269487680d479d625
 
 PKG_LICENSE:=ICU
 PKG_LICENSE_FILES:=LICENSE
index 55dc4859da4eacfade57fd90f762c7e17821bbcc..c77db6ee9c4792f8d657ff5e912f062c995b974f 100644 (file)
@@ -1,5 +1,3 @@
-diff --git a/Makefile.in b/Makefile.in
-index 9db6c52..6aa2273 100644
 --- a/Makefile.in
 +++ b/Makefile.in
 @@ -190,7 +190,6 @@ install-icu: $(INSTALLED_BUILT_FILES)
index 6914a070335491ce3ee843454397a18ef194c2f9..f4ee626d759a1d2abace513957c0f3c1ce7bd178 100644 (file)
@@ -1,6 +1,6 @@
 --- a/runConfigureICU
 +++ b/runConfigureICU
-@@ -239,8 +239,8 @@
+@@ -239,8 +239,8 @@ case $platform in
          THE_COMP="the GNU C++"
          CC=gcc; export CC
          CXX=g++; export CXX
index bdab3f93656b302ec6592f009f3d02d8b13a9b5b..fd4767d28084cd05d72571487e9def004ad45841 100644 (file)
@@ -10,8 +10,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  source/config/mh-linux |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/config/mh-linux b/config/mh-linux
-index 366f0cc..2689aab 100644
 --- a/config/mh-linux
 +++ b/config/mh-linux
 @@ -23,7 +23,7 @@ LD_RPATH= -Wl,-zorigin,-rpath,'$$'ORIGIN
@@ -23,6 +21,3 @@ index 366f0cc..2689aab 100644
  
  ## Compiler switch to embed a library name
  # The initial tab in the next line is to prevent icu-config from reading it.
--- 
-1.7.10.4
-
index 0ad406b41f84a5c9f393782cd9b1a38095e62a8d..0a139b124fb0064654a4842f63589b5aac8038bf 100644 (file)
@@ -38,7 +38,7 @@
  };
  
  static const UText emptyText = UTEXT_INITIALIZER;
-@@ -584,7 +584,7 @@ utext_setup(UText *ut, int32_t extraSpace, UErrorCode *status) {
+@@ -584,7 +584,7 @@ utext_setup(UText *ut, int32_t extraSpac
          // We need to heap-allocate storage for the new UText
          int32_t spaceRequired = sizeof(UText);
          if (extraSpace > 0) {
index 84a56ccec5d7a94f076386077644cac11ee1cfcc..b1528c9ec954b8dc735075a0d430e9124d81a694 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libimobiledevice
 PKG_VERSION:=1.3.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://www.libimobiledevice.org/downloads
diff --git a/libs/libimobiledevice/patches/100-ios14.patch b/libs/libimobiledevice/patches/100-ios14.patch
new file mode 100644 (file)
index 0000000..cd95028
--- /dev/null
@@ -0,0 +1,21 @@
+From b5d575c118ecfc2afcb12739433e916527182327 Mon Sep 17 00:00:00 2001
+From: Nikias Bassen <nikias@gmx.li>
+Date: Fri, 7 Aug 2020 00:50:46 +0200
+Subject: [PATCH] mobilebackup2: Set DeviceLink version to 400 to support iOS
+ 14b4+
+
+---
+ src/mobilebackup2.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/src/mobilebackup2.c
++++ b/src/mobilebackup2.c
+@@ -30,7 +30,7 @@
+ #include "device_link_service.h"
+ #include "common/debug.h"
+-#define MBACKUP2_VERSION_INT1 300
++#define MBACKUP2_VERSION_INT1 400
+ #define MBACKUP2_VERSION_INT2 0
+ #define IS_FLAG_SET(x, y) ((x & y) == y)
diff --git a/libs/libimobiledevice/patches/110-iOS14.patch b/libs/libimobiledevice/patches/110-iOS14.patch
new file mode 100644 (file)
index 0000000..d4d1b4c
--- /dev/null
@@ -0,0 +1,21 @@
+From d857a83272d921929ae6ccf1fa70d85768840e84 Mon Sep 17 00:00:00 2001
+From: Nikias Bassen <nikias@gmx.li>
+Date: Mon, 10 Aug 2020 15:39:56 +0200
+Subject: [PATCH] screenshotr: Set DeviceLink version to 400 to support iOS
+ 14b4+
+
+---
+ src/screenshotr.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/src/screenshotr.c
++++ b/src/screenshotr.c
+@@ -30,7 +30,7 @@
+ #include "device_link_service.h"
+ #include "common/debug.h"
+-#define SCREENSHOTR_VERSION_INT1 300
++#define SCREENSHOTR_VERSION_INT1 400
+ #define SCREENSHOTR_VERSION_INT2 0
+ /**
diff --git a/libs/libimobiledevice/patches/120-iOS14.patch b/libs/libimobiledevice/patches/120-iOS14.patch
new file mode 100644 (file)
index 0000000..9b981c8
--- /dev/null
@@ -0,0 +1,81 @@
+From 98056a89648f431759c5fa4ed87c6ea6ba0cdd3f Mon Sep 17 00:00:00 2001
+From: Nikias Bassen <nikias@gmx.li>
+Date: Thu, 10 Sep 2020 15:12:21 +0200
+Subject: [PATCH] debugserver: Fix service startup for iOS 14b4+
+
+---
+ include/libimobiledevice/debugserver.h |  1 +
+ include/libimobiledevice/lockdown.h    |  1 +
+ src/debugserver.c                      | 11 +++++++++--
+ src/lockdown.c                         |  5 ++++-
+ 4 files changed, 15 insertions(+), 3 deletions(-)
+
+--- a/include/libimobiledevice/debugserver.h
++++ b/include/libimobiledevice/debugserver.h
+@@ -31,6 +31,7 @@ extern "C" {
+ #include <libimobiledevice/lockdown.h>
+ #define DEBUGSERVER_SERVICE_NAME "com.apple.debugserver"
++#define DEBUGSERVER_SECURE_SERVICE_NAME DEBUGSERVER_SERVICE_NAME ".DVTSecureSocketProxy"
+ /** Error Codes */
+ typedef enum {
+--- a/include/libimobiledevice/lockdown.h
++++ b/include/libimobiledevice/lockdown.h
+@@ -96,6 +96,7 @@ typedef struct lockdownd_pair_record *lockdownd_pair_record_t;
+ struct lockdownd_service_descriptor {
+       uint16_t port;
+       uint8_t ssl_enabled;
++      char* identifier;
+ };
+ typedef struct lockdownd_service_descriptor *lockdownd_service_descriptor_t;
+--- a/src/debugserver.c
++++ b/src/debugserver.c
+@@ -80,7 +80,10 @@ LIBIMOBILEDEVICE_API debugserver_error_t debugserver_client_new(idevice_t device
+               debug_info("Creating base service client failed. Error: %i", ret);
+               return ret;
+       }
+-      service_disable_bypass_ssl(parent, 1);
++
++      if (service->identifier && (strcmp(service->identifier, DEBUGSERVER_SECURE_SERVICE_NAME) != 0)) {
++              service_disable_bypass_ssl(parent, 1);
++      }
+       debugserver_client_t client_loc = (debugserver_client_t) malloc(sizeof(struct debugserver_client_private));
+       client_loc->parent = parent;
+@@ -95,7 +98,11 @@ LIBIMOBILEDEVICE_API debugserver_error_t debugserver_client_new(idevice_t device
+ LIBIMOBILEDEVICE_API debugserver_error_t debugserver_client_start_service(idevice_t device, debugserver_client_t * client, const char* label)
+ {
+       debugserver_error_t err = DEBUGSERVER_E_UNKNOWN_ERROR;
+-      service_client_factory_start_service(device, DEBUGSERVER_SERVICE_NAME, (void**)client, label, SERVICE_CONSTRUCTOR(debugserver_client_new), &err);
++      service_client_factory_start_service(device, DEBUGSERVER_SECURE_SERVICE_NAME, (void**)client, label, SERVICE_CONSTRUCTOR(debugserver_client_new), &err);
++      if (err != DEBUGSERVER_E_SUCCESS) {
++              err = DEBUGSERVER_E_UNKNOWN_ERROR;
++              service_client_factory_start_service(device, DEBUGSERVER_SERVICE_NAME, (void**)client, label, SERVICE_CONSTRUCTOR(debugserver_client_new), &err);
++      }
+       return err;
+ }
+--- a/src/lockdown.c
++++ b/src/lockdown.c
+@@ -1307,6 +1307,7 @@ static lockdownd_error_t lockdownd_do_start_service(lockdownd_client_t client, c
+                       *service = (lockdownd_service_descriptor_t)malloc(sizeof(struct lockdownd_service_descriptor));
+               (*service)->port = 0;
+               (*service)->ssl_enabled = 0;
++              (*service)->identifier = strdup(identifier);
+               /* read service port number */
+               plist_t node = plist_dict_get_item(dict, "Port");
+@@ -1511,8 +1512,10 @@ LIBIMOBILEDEVICE_API lockdownd_error_t lockdownd_data_classes_free(char **classe
+ LIBIMOBILEDEVICE_API lockdownd_error_t lockdownd_service_descriptor_free(lockdownd_service_descriptor_t service)
+ {
+-      if (service)
++      if (service) {
++              free(service->identifier);
+               free(service);
++      }
+       return LOCKDOWN_E_SUCCESS;
+ }
index 285e7690e59c58c65d226dd09af6b809b5ca0d47..dca1f4157a86424ee78b7cd1a09a2e7e78de8976 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libuhttpd
-PKG_VERSION:=3.6.0
+PKG_VERSION:=3.7.0
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL=https://github.com/zhaojh329/libuhttpd/releases/download/v$(PKG_VERSION)
-PKG_HASH:=5cdbff570430530b46ed071363c52cc655bbb349943008b57f63061481586391
+PKG_HASH:=d59987098e8ee46c150b3d8268555a9ec3b17b9feee5c4cb140d33148e886899
 
 PKG_MAINTAINER:=Jianhui Zhao <zhaojh329@gmail.com>
 PKG_LICENSE:=MIT
index 699fba5d8c355a88581be5a91b3dd50d0a0d3cf7..e9226036d9449fba680f29d1e59ed1ee87471c7d 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libxslt
 PKG_VERSION:=1.1.34
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:= \
@@ -22,6 +22,7 @@ PKG_LICENSE:=MIT
 PKG_LICENSE_FILES:=COPYING
 PKG_CPE_ID:=cpe:/a:xmlsoft:libxslt
 
+PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
 PKG_BUILD_PARALLEL:=1
 HOST_BUILD_DEPENDS:=libxml2/host
index c3daa662098dc321276026d4d9362d4bd0ed8290..07a11fa1410d43a91c6fbe6c11f25f88594abb97 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=tcp_wrappers
 PKG_VERSION:=7.6
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=ftp://ftp.porcupine.org/pub/security
@@ -32,11 +32,7 @@ endef
 
 TARGET_CFLAGS += $(FPIC) -Wall
 
-ifeq ($(CONFIG_USE_MUSL),)
-TARGET_EXTRA_LIBS:=LIBS=-lnsl
-endif
-
-define Build/Compile   
+define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
                $(TARGET_CONFIGURE_OPTS) \
                OPT_CFLAGS="$(TARGET_CFLAGS)" \
@@ -53,7 +49,7 @@ define Build/Compile
                tidy all
 endef
 
-define Build/InstallDev        
+define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include
        $(CP) $(PKG_BUILD_DIR)/tcpd.h $(1)/usr/include/
        $(INSTALL_DIR) $(1)/usr/lib
@@ -61,9 +57,9 @@ define Build/InstallDev
        $(CP) $(PKG_BUILD_DIR)/shared/libwrap.so* $(1)/usr/lib/
 endef
 
-define Package/libwrap/install 
+define Package/libwrap/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_BUILD_DIR)/shared/libwrap.so.* $(1)/usr/lib/
 endef
-       
+
 $(eval $(call BuildPackage,libwrap))
index 5e3a8fc4c51720b52af361713bbc8d0da708bc36..7d22cb09f89d9a107ba614ef04c1b543c18a9a59 100644 (file)
  extern char *hosts_allow_table;               /* for verification mode redirection */
  extern char *hosts_deny_table;                /* for verification mode redirection */
  extern int hosts_access_verbose;      /* for verbose matching mode */
-@@ -92,9 +118,14 @@ extern int resident;                       /* > 0 if resident process */
+@@ -92,9 +118,14 @@ extern int resident;                       /* > 0 if residen
    */
  
  #ifdef __STDC__
  extern struct request_info *request_init();   /* initialize request */
  extern struct request_info *request_set();    /* update request structure */
  #endif
-@@ -117,27 +148,31 @@ extern struct request_info *request_set();       /* update request structure */
+@@ -117,27 +148,31 @@ extern struct request_info *request_set(
    * host_info structures serve as caches for the lookup results.
    */
  
index 29c9cefcad52422d96375c5bb2cca4f8ec90b79a..8520097100f079bac41450da023a1078f118cf35 100644 (file)
@@ -12,7 +12,7 @@
  or address pattern listed in the named file. The file format is
 --- a/tcpd.h
 +++ b/tcpd.h
-@@ -93,6 +93,7 @@ extern void refuse __P((struct request_i
+@@ -95,6 +95,7 @@ extern void refuse __P((struct request_i
  extern char *xgets __P((char *, int, FILE *));        /* fgets() on steroids */
  extern char *split_at __P((char *, int));     /* strchr() and split */
  extern unsigned long dot_quad_addr __P((char *)); /* restricted inet_addr() */
index 5e7b968dde8df4cb5a5b2f3c3f064c3101937d19..050df9bd80dd0f3f902e8f9475aabf19962cfcb9 100644 (file)
@@ -1,7 +1,5 @@
-Index: tcp_wrappers_7.6/Makefile
-===================================================================
---- tcp_wrappers_7.6.orig/Makefile
-+++ tcp_wrappers_7.6/Makefile
+--- a/Makefile
++++ b/Makefile
 @@ -1,4 +1,4 @@
 -GLIBC=$(shell grep -s -c __GLIBC__ /usr/include/features.h)
 +GLIBC=$(shell grep -s -c __GLIBC__ ${STAGING_DIR}/usr/include/features.h)
index 5cbd358aa7f5a481efaecc6f8fc21e24d297983e..57a4e7c1c8202348ebec56de450fcecf98971fe9 100644 (file)
@@ -1,6 +1,5 @@
-diff -u tcp_wrappers_7.6.orig/clean_exit.c tcp_wrappers_7.6/clean_exit.c
---- tcp_wrappers_7.6.orig/clean_exit.c 1994-12-29 03:42:20.000000000 +1100
-+++ tcp_wrappers_7.6/clean_exit.c      2017-11-14 22:50:48.000000000 +1100
+--- a/clean_exit.c
++++ b/clean_exit.c
 @@ -9,10 +9,11 @@
    */
  
@@ -14,9 +13,8 @@ diff -u tcp_wrappers_7.6.orig/clean_exit.c tcp_wrappers_7.6/clean_exit.c
  
  extern void exit();
  
-diff -u tcp_wrappers_7.6.orig/diag.c tcp_wrappers_7.6/diag.c
---- tcp_wrappers_7.6.orig/diag.c       1994-12-29 03:42:20.000000000 +1100
-+++ tcp_wrappers_7.6/diag.c    2017-11-14 22:51:09.000000000 +1100
+--- a/diag.c
++++ b/diag.c
 @@ -10,7 +10,7 @@
    */
  
@@ -26,9 +24,8 @@ diff -u tcp_wrappers_7.6.orig/diag.c tcp_wrappers_7.6/diag.c
  #endif
  
  /* System libraries */
-diff -u tcp_wrappers_7.6.orig/eval.c tcp_wrappers_7.6/eval.c
---- tcp_wrappers_7.6.orig/eval.c       1995-01-31 05:51:46.000000000 +1100
-+++ tcp_wrappers_7.6/eval.c    2017-11-14 22:51:50.000000000 +1100
+--- a/eval.c
++++ b/eval.c
 @@ -19,7 +19,7 @@
    */
  
@@ -38,9 +35,8 @@ diff -u tcp_wrappers_7.6.orig/eval.c tcp_wrappers_7.6/eval.c
  #endif
  
  /* System libraries. */
-diff -u tcp_wrappers_7.6.orig/fakelog.c tcp_wrappers_7.6/fakelog.c
---- tcp_wrappers_7.6.orig/fakelog.c    1994-12-29 03:42:22.000000000 +1100
-+++ tcp_wrappers_7.6/fakelog.c 2017-11-14 22:52:07.000000000 +1100
+--- a/fakelog.c
++++ b/fakelog.c
 @@ -6,7 +6,7 @@
    */
  
@@ -50,7 +46,7 @@ diff -u tcp_wrappers_7.6.orig/fakelog.c tcp_wrappers_7.6/fakelog.c
  #endif
  
  #include <stdio.h>
-@@ -17,7 +17,7 @@
+@@ -17,7 +17,7 @@ static char sccsid[] = "@(#) fakelog.c 1
  
  /* ARGSUSED */
  
@@ -59,7 +55,7 @@ diff -u tcp_wrappers_7.6.orig/fakelog.c tcp_wrappers_7.6/fakelog.c
  char   *name;
  int     logopt;
  int     facility;
-@@ -27,7 +27,7 @@
+@@ -27,7 +27,7 @@ int     facility;
  
  /* vsyslog - format one record */
  
@@ -68,7 +64,7 @@ diff -u tcp_wrappers_7.6.orig/fakelog.c tcp_wrappers_7.6/fakelog.c
  int     severity;
  char   *fmt;
  va_list ap;
-@@ -43,7 +43,7 @@
+@@ -43,7 +43,7 @@ va_list ap;
  
  /* VARARGS */
  
@@ -77,7 +73,7 @@ diff -u tcp_wrappers_7.6.orig/fakelog.c tcp_wrappers_7.6/fakelog.c
  {
      va_list ap;
      char   *fmt;
-@@ -56,7 +56,7 @@
+@@ -56,7 +56,7 @@ VARARGS(syslog, int, severity)
  
  /* closelog - dummy */
  
@@ -86,9 +82,8 @@ diff -u tcp_wrappers_7.6.orig/fakelog.c tcp_wrappers_7.6/fakelog.c
  {
      /* void */
  }
-diff -u tcp_wrappers_7.6.orig/fix_options.c tcp_wrappers_7.6/fix_options.c
---- tcp_wrappers_7.6.orig/fix_options.c        2017-11-13 09:29:08.000000000 +1100
-+++ tcp_wrappers_7.6/fix_options.c     2017-11-14 22:52:22.000000000 +1100
+--- a/fix_options.c
++++ b/fix_options.c
 @@ -6,7 +6,7 @@
    */
  
@@ -98,7 +93,7 @@ diff -u tcp_wrappers_7.6.orig/fix_options.c tcp_wrappers_7.6/fix_options.c
  #endif
  
  #include <sys/types.h>
-@@ -29,14 +29,14 @@
+@@ -29,14 +29,14 @@ static char sccsid[] = "@(#) fix_options
  
  /* fix_options - get rid of IP-level socket options */
  
@@ -116,9 +111,8 @@ diff -u tcp_wrappers_7.6.orig/fix_options.c tcp_wrappers_7.6/fix_options.c
  #else /* __GLIBC__ */
      size_t  optsize = sizeof(optbuf);
      int     ipproto;
-diff -u tcp_wrappers_7.6.orig/fromhost.c tcp_wrappers_7.6/fromhost.c
---- tcp_wrappers_7.6.orig/fromhost.c   1994-12-29 03:42:24.000000000 +1100
-+++ tcp_wrappers_7.6/fromhost.c        2017-11-14 22:52:33.000000000 +1100
+--- a/fromhost.c
++++ b/fromhost.c
 @@ -11,7 +11,7 @@
    */
  
@@ -128,9 +122,8 @@ diff -u tcp_wrappers_7.6.orig/fromhost.c tcp_wrappers_7.6/fromhost.c
  #endif
  
  #if defined(TLI) || defined(PTX) || defined(TLI_SEQUENT)
-diff -u tcp_wrappers_7.6.orig/hosts_access.c tcp_wrappers_7.6/hosts_access.c
---- tcp_wrappers_7.6.orig/hosts_access.c       2017-11-13 09:29:25.000000000 +1100
-+++ tcp_wrappers_7.6/hosts_access.c    2017-11-14 22:52:48.000000000 +1100
+--- a/hosts_access.c
++++ b/hosts_access.c
 @@ -18,7 +18,7 @@
    */
  
@@ -140,9 +133,8 @@ diff -u tcp_wrappers_7.6.orig/hosts_access.c tcp_wrappers_7.6/hosts_access.c
  #endif
  
  /* System libraries. */
-diff -u tcp_wrappers_7.6.orig/hosts_ctl.c tcp_wrappers_7.6/hosts_ctl.c
---- tcp_wrappers_7.6.orig/hosts_ctl.c  1994-12-29 03:42:28.000000000 +1100
-+++ tcp_wrappers_7.6/hosts_ctl.c       2017-11-14 22:53:01.000000000 +1100
+--- a/hosts_ctl.c
++++ b/hosts_ctl.c
 @@ -12,7 +12,7 @@
    */
  
@@ -152,9 +144,8 @@ diff -u tcp_wrappers_7.6.orig/hosts_ctl.c tcp_wrappers_7.6/hosts_ctl.c
  #endif
  
  #include <stdio.h>
-diff -u tcp_wrappers_7.6.orig/inetcf.c tcp_wrappers_7.6/inetcf.c
---- tcp_wrappers_7.6.orig/inetcf.c     1997-02-12 12:13:24.000000000 +1100
-+++ tcp_wrappers_7.6/inetcf.c  2017-11-14 22:53:11.000000000 +1100
+--- a/inetcf.c
++++ b/inetcf.c
 @@ -6,7 +6,7 @@
    */
  
@@ -164,7 +155,7 @@ diff -u tcp_wrappers_7.6.orig/inetcf.c tcp_wrappers_7.6/inetcf.c
  #endif
  
  #include <sys/types.h>
-@@ -14,6 +14,7 @@
+@@ -14,6 +14,7 @@ static char sccsid[] = "@(#) inetcf.c 1.
  #include <stdio.h>
  #include <errno.h>
  #include <string.h>
@@ -172,7 +163,7 @@ diff -u tcp_wrappers_7.6.orig/inetcf.c tcp_wrappers_7.6/inetcf.c
  
  extern int errno;
  extern void exit();
-@@ -21,6 +22,8 @@
+@@ -21,6 +22,8 @@ extern void exit();
  #include "tcpd.h"
  #include "inetcf.h"
  
@@ -181,9 +172,8 @@ diff -u tcp_wrappers_7.6.orig/inetcf.c tcp_wrappers_7.6/inetcf.c
   /*
    * Network configuration files may live in unusual places. Here are some
    * guesses. Shorter names follow longer ones.
-diff -u tcp_wrappers_7.6.orig/misc.c tcp_wrappers_7.6/misc.c
---- tcp_wrappers_7.6.orig/misc.c       2017-11-13 09:29:25.000000000 +1100
-+++ tcp_wrappers_7.6/misc.c    2017-11-14 22:53:23.000000000 +1100
+--- a/misc.c
++++ b/misc.c
 @@ -5,7 +5,7 @@
    */
  
@@ -193,9 +183,8 @@ diff -u tcp_wrappers_7.6.orig/misc.c tcp_wrappers_7.6/misc.c
  #endif
  
  #include <sys/types.h>
-diff -u tcp_wrappers_7.6.orig/myvsyslog.c tcp_wrappers_7.6/myvsyslog.c
---- tcp_wrappers_7.6.orig/myvsyslog.c  1994-12-29 03:42:34.000000000 +1100
-+++ tcp_wrappers_7.6/myvsyslog.c       2017-11-14 22:53:35.000000000 +1100
+--- a/myvsyslog.c
++++ b/myvsyslog.c
 @@ -8,7 +8,7 @@
    */
  
@@ -205,9 +194,8 @@ diff -u tcp_wrappers_7.6.orig/myvsyslog.c tcp_wrappers_7.6/myvsyslog.c
  #endif
  
  #ifdef vsyslog
-diff -u tcp_wrappers_7.6.orig/options.c tcp_wrappers_7.6/options.c
---- tcp_wrappers_7.6.orig/options.c    2017-11-13 09:29:08.000000000 +1100
-+++ tcp_wrappers_7.6/options.c 2017-11-14 22:53:50.000000000 +1100
+--- a/options.c
++++ b/options.c
 @@ -29,7 +29,7 @@
    */
  
@@ -217,7 +205,7 @@ diff -u tcp_wrappers_7.6.orig/options.c tcp_wrappers_7.6/options.c
  #endif
  
  /* System libraries. */
-@@ -47,6 +47,8 @@
+@@ -47,6 +47,8 @@ static char sccsid[] = "@(#) options.c 1
  #include <ctype.h>
  #include <setjmp.h>
  #include <string.h>
@@ -226,7 +214,7 @@ diff -u tcp_wrappers_7.6.orig/options.c tcp_wrappers_7.6/options.c
  
  #ifndef MAXPATHNAMELEN
  #define MAXPATHNAMELEN  BUFSIZ
-@@ -108,21 +110,21 @@
+@@ -108,21 +110,21 @@ struct option {
  /* List of known keywords. Add yours here. */
  
  static struct option option_table[] = {
@@ -263,7 +251,7 @@ diff -u tcp_wrappers_7.6.orig/options.c tcp_wrappers_7.6/options.c
  };
  
  /* process_options - process access control options */
-@@ -447,88 +449,88 @@
+@@ -447,88 +449,88 @@ struct syslog_names {
  
  static struct syslog_names log_fac[] = {
  #ifdef LOG_KERN
@@ -380,7 +368,7 @@ diff -u tcp_wrappers_7.6.orig/options.c tcp_wrappers_7.6/options.c
  };
  
  /* severity_map - lookup facility or severity value */
-@@ -589,7 +591,7 @@
+@@ -589,7 +591,7 @@ char   *string;
      if (src[0] == 0)
        return (0);
  
@@ -389,17 +377,15 @@ diff -u tcp_wrappers_7.6.orig/options.c tcp_wrappers_7.6/options.c
        if (ch == ':') {
            if (*++src == 0)
                tcpd_warn("rule ends in \":\"");
-diff -u tcp_wrappers_7.6.orig/patchlevel.h tcp_wrappers_7.6/patchlevel.h
---- tcp_wrappers_7.6.orig/patchlevel.h 1997-03-22 05:27:24.000000000 +1100
-+++ tcp_wrappers_7.6/patchlevel.h      2017-11-14 22:54:15.000000000 +1100
+--- a/patchlevel.h
++++ b/patchlevel.h
 @@ -1,3 +1,3 @@
  #ifndef lint
 -static char patchlevel[] = "@(#) patchlevel 7.6 97/03/21 19:27:23";
 +static char patchlevel[] __attribute__((__unused__)) = "@(#) patchlevel 7.6 97/03/21 19:27:23";
  #endif
-diff -u tcp_wrappers_7.6.orig/percent_m.c tcp_wrappers_7.6/percent_m.c
---- tcp_wrappers_7.6.orig/percent_m.c  2017-11-13 09:29:08.000000000 +1100
-+++ tcp_wrappers_7.6/percent_m.c       2017-11-14 22:54:31.000000000 +1100
+--- a/percent_m.c
++++ b/percent_m.c
 @@ -5,7 +5,7 @@
    */
  
@@ -409,7 +395,7 @@ diff -u tcp_wrappers_7.6.orig/percent_m.c tcp_wrappers_7.6/percent_m.c
  #endif
  
  #include <stdio.h>
-@@ -27,7 +27,7 @@
+@@ -27,7 +27,7 @@ char   *ibuf;
      char   *bp = obuf;
      char   *cp = ibuf;
  
@@ -418,9 +404,8 @@ diff -u tcp_wrappers_7.6.orig/percent_m.c tcp_wrappers_7.6/percent_m.c
        if (*cp == '%' && cp[1] == 'm') {
  #ifdef HAVE_STRERROR
              strcpy(bp, strerror(errno));
-diff -u tcp_wrappers_7.6.orig/percent_x.c tcp_wrappers_7.6/percent_x.c
---- tcp_wrappers_7.6.orig/percent_x.c  1994-12-29 03:42:38.000000000 +1100
-+++ tcp_wrappers_7.6/percent_x.c       2017-11-14 22:54:40.000000000 +1100
+--- a/percent_x.c
++++ b/percent_x.c
 @@ -11,7 +11,7 @@
    */
  
@@ -430,7 +415,7 @@ diff -u tcp_wrappers_7.6.orig/percent_x.c tcp_wrappers_7.6/percent_x.c
  #endif
  
  /* System libraries. */
-@@ -19,6 +19,7 @@
+@@ -19,6 +19,7 @@ static char sccsid[] = "@(#) percent_x.c
  #include <stdio.h>
  #include <syslog.h>
  #include <string.h>
@@ -438,9 +423,8 @@ diff -u tcp_wrappers_7.6.orig/percent_x.c tcp_wrappers_7.6/percent_x.c
  
  extern void exit();
  
-diff -u tcp_wrappers_7.6.orig/refuse.c tcp_wrappers_7.6/refuse.c
---- tcp_wrappers_7.6.orig/refuse.c     1994-12-29 03:42:40.000000000 +1100
-+++ tcp_wrappers_7.6/refuse.c  2017-11-14 22:54:50.000000000 +1100
+--- a/refuse.c
++++ b/refuse.c
 @@ -8,7 +8,7 @@
    */
  
@@ -450,9 +434,8 @@ diff -u tcp_wrappers_7.6.orig/refuse.c tcp_wrappers_7.6/refuse.c
  #endif
  
  /* System libraries. */
-diff -u tcp_wrappers_7.6.orig/rfc931.c tcp_wrappers_7.6/rfc931.c
---- tcp_wrappers_7.6.orig/rfc931.c     2017-11-13 09:29:08.000000000 +1100
-+++ tcp_wrappers_7.6/rfc931.c  2017-11-14 22:54:58.000000000 +1100
+--- a/rfc931.c
++++ b/rfc931.c
 @@ -10,7 +10,7 @@
    */
  
@@ -462,7 +445,7 @@ diff -u tcp_wrappers_7.6.orig/rfc931.c tcp_wrappers_7.6/rfc931.c
  #endif
  
  /* System libraries. */
-@@ -23,6 +23,7 @@
+@@ -23,6 +23,7 @@ static char sccsid[] = "@(#) rfc931.c 1.
  #include <setjmp.h>
  #include <signal.h>
  #include <string.h>
@@ -470,7 +453,7 @@ diff -u tcp_wrappers_7.6.orig/rfc931.c tcp_wrappers_7.6/rfc931.c
  
  /* Local stuff. */
  
-@@ -152,7 +153,7 @@
+@@ -152,7 +153,7 @@ char   *dest;
                     * protocol, not part of the data.
                     */
  
@@ -479,9 +462,8 @@ diff -u tcp_wrappers_7.6.orig/rfc931.c tcp_wrappers_7.6/rfc931.c
                        *cp = 0;
                    result = user;
                }
-diff -u tcp_wrappers_7.6.orig/safe_finger.c tcp_wrappers_7.6/safe_finger.c
---- tcp_wrappers_7.6.orig/safe_finger.c        2017-11-13 09:29:08.000000000 +1100
-+++ tcp_wrappers_7.6/safe_finger.c     2017-11-14 22:55:08.000000000 +1100
+--- a/safe_finger.c
++++ b/safe_finger.c
 @@ -15,7 +15,7 @@
    */
  
@@ -491,7 +473,7 @@ diff -u tcp_wrappers_7.6.orig/safe_finger.c tcp_wrappers_7.6/safe_finger.c
  #endif
  
  /* System libraries */
-@@ -27,6 +27,10 @@
+@@ -27,6 +27,10 @@ static char sccsid[] = "@(#) safe_finger
  #include <ctype.h>
  #include <pwd.h>
  #include <syslog.h>
@@ -502,7 +484,7 @@ diff -u tcp_wrappers_7.6.orig/safe_finger.c tcp_wrappers_7.6/safe_finger.c
  
  extern void exit();
  
-@@ -45,6 +49,8 @@
+@@ -45,6 +49,8 @@ int     finger_pid;
  int   allow_severity = SEVERITY;
  int   deny_severity = LOG_WARNING;
  
@@ -511,7 +493,7 @@ diff -u tcp_wrappers_7.6.orig/safe_finger.c tcp_wrappers_7.6/safe_finger.c
  void    cleanup(sig)
  int     sig;
  {
-@@ -52,7 +58,7 @@
+@@ -52,7 +58,7 @@ int     sig;
      exit(0);
  }
  
@@ -520,9 +502,8 @@ diff -u tcp_wrappers_7.6.orig/safe_finger.c tcp_wrappers_7.6/safe_finger.c
  int     argc;
  char  **argv;
  {
-diff -u tcp_wrappers_7.6.orig/scaffold.c tcp_wrappers_7.6/scaffold.c
---- tcp_wrappers_7.6.orig/scaffold.c   2017-11-13 09:29:21.000000000 +1100
-+++ tcp_wrappers_7.6/scaffold.c        2017-11-14 22:55:32.000000000 +1100
+--- a/scaffold.c
++++ b/scaffold.c
 @@ -5,7 +5,7 @@
    */
  
@@ -532,9 +513,8 @@ diff -u tcp_wrappers_7.6.orig/scaffold.c tcp_wrappers_7.6/scaffold.c
  #endif
  
  /* System libraries. */
-diff -u tcp_wrappers_7.6.orig/shell_cmd.c tcp_wrappers_7.6/shell_cmd.c
---- tcp_wrappers_7.6.orig/shell_cmd.c  1994-12-29 03:42:44.000000000 +1100
-+++ tcp_wrappers_7.6/shell_cmd.c       2017-11-14 22:55:45.000000000 +1100
+--- a/shell_cmd.c
++++ b/shell_cmd.c
 @@ -9,7 +9,7 @@
    */
  
@@ -544,7 +524,7 @@ diff -u tcp_wrappers_7.6.orig/shell_cmd.c tcp_wrappers_7.6/shell_cmd.c
  #endif
  
  /* System libraries. */
-@@ -20,6 +20,9 @@
+@@ -20,6 +20,9 @@ static char sccsid[] = "@(#) shell_cmd.c
  #include <stdio.h>
  #include <syslog.h>
  #include <string.h>
@@ -554,9 +534,8 @@ diff -u tcp_wrappers_7.6.orig/shell_cmd.c tcp_wrappers_7.6/shell_cmd.c
  
  extern void exit();
  
-diff -u tcp_wrappers_7.6.orig/socket.c tcp_wrappers_7.6/socket.c
---- tcp_wrappers_7.6.orig/socket.c     2017-11-13 09:29:08.000000000 +1100
-+++ tcp_wrappers_7.6/socket.c  2017-11-14 22:55:57.000000000 +1100
+--- a/socket.c
++++ b/socket.c
 @@ -16,7 +16,7 @@
    */
  
@@ -566,7 +545,7 @@ diff -u tcp_wrappers_7.6.orig/socket.c tcp_wrappers_7.6/socket.c
  #endif
  
  /* System libraries. */
-@@ -77,7 +77,7 @@
+@@ -77,7 +77,7 @@ struct request_info *request;
      static struct sockaddr_in client;
      static struct sockaddr_in server;
  #if !defined (__GLIBC__)
@@ -575,7 +554,7 @@ diff -u tcp_wrappers_7.6.orig/socket.c tcp_wrappers_7.6/socket.c
  #else /* __GLIBC__ */
      size_t  len;
  #endif /* __GLIBC__ */
-@@ -229,7 +229,7 @@
+@@ -229,7 +229,7 @@ int     fd;
      char    buf[BUFSIZ];
      struct sockaddr_in sin;
  #if !defined(__GLIBC__)
@@ -584,9 +563,8 @@ diff -u tcp_wrappers_7.6.orig/socket.c tcp_wrappers_7.6/socket.c
  #else /* __GLIBC__ */
      size_t  size = sizeof(sin);
  #endif /* __GLIBC__ */
-diff -u tcp_wrappers_7.6.orig/tcpd.c tcp_wrappers_7.6/tcpd.c
---- tcp_wrappers_7.6.orig/tcpd.c       1996-02-12 03:01:33.000000000 +1100
-+++ tcp_wrappers_7.6/tcpd.c    2017-11-14 22:56:09.000000000 +1100
+--- a/tcpd.c
++++ b/tcpd.c
 @@ -11,7 +11,7 @@
    */
  
@@ -596,7 +574,7 @@ diff -u tcp_wrappers_7.6.orig/tcpd.c tcp_wrappers_7.6/tcpd.c
  #endif
  
  /* System libraries. */
-@@ -24,6 +24,7 @@
+@@ -24,6 +24,7 @@ static char sccsid[] = "@(#) tcpd.c 1.10
  #include <stdio.h>
  #include <syslog.h>
  #include <string.h>
@@ -604,7 +582,7 @@ diff -u tcp_wrappers_7.6.orig/tcpd.c tcp_wrappers_7.6/tcpd.c
  
  #ifndef MAXPATHNAMELEN
  #define MAXPATHNAMELEN        BUFSIZ
-@@ -38,10 +39,12 @@
+@@ -38,10 +39,12 @@ static char sccsid[] = "@(#) tcpd.c 1.10
  #include "patchlevel.h"
  #include "tcpd.h"
  
@@ -618,10 +596,9 @@ diff -u tcp_wrappers_7.6.orig/tcpd.c tcp_wrappers_7.6/tcpd.c
  int     argc;
  char  **argv;
  {
-diff -u tcp_wrappers_7.6.orig/tcpd.h tcp_wrappers_7.6/tcpd.h
---- tcp_wrappers_7.6.orig/tcpd.h       2017-11-13 09:29:25.000000000 +1100
-+++ tcp_wrappers_7.6/tcpd.h    2017-11-14 22:36:40.000000000 +1100
-@@ -182,10 +182,10 @@
+--- a/tcpd.h
++++ b/tcpd.h
+@@ -184,10 +184,10 @@ extern void tli_host __P((struct request
  
  #ifdef __STDC__
  extern void tcpd_warn(char *, ...);   /* report problem and proceed */
@@ -634,9 +611,8 @@ diff -u tcp_wrappers_7.6.orig/tcpd.h tcp_wrappers_7.6/tcpd.h
  #endif
  
  struct tcpd_context {
-diff -u tcp_wrappers_7.6.orig/tcpdchk.c tcp_wrappers_7.6/tcpdchk.c
---- tcp_wrappers_7.6.orig/tcpdchk.c    2017-11-13 09:29:08.000000000 +1100
-+++ tcp_wrappers_7.6/tcpdchk.c 2017-11-14 22:56:21.000000000 +1100
+--- a/tcpdchk.c
++++ b/tcpdchk.c
 @@ -15,7 +15,7 @@
    */
  
@@ -646,7 +622,7 @@ diff -u tcp_wrappers_7.6.orig/tcpdchk.c tcp_wrappers_7.6/tcpdchk.c
  #endif
  
  /* System libraries. */
-@@ -30,6 +30,7 @@
+@@ -30,6 +30,7 @@ static char sccsid[] = "@(#) tcpdchk.c 1
  #include <errno.h>
  #include <netdb.h>
  #include <string.h>
@@ -654,7 +630,7 @@ diff -u tcp_wrappers_7.6.orig/tcpdchk.c tcp_wrappers_7.6/tcpdchk.c
  
  extern int errno;
  extern void exit();
-@@ -199,13 +200,15 @@
+@@ -199,13 +200,15 @@ struct request_info *request;
      char    sv_list[BUFLEN];          /* becomes list of daemons */
      char   *cl_list;                  /* becomes list of requests */
      char   *sh_cmd;                   /* becomes optional shell command */
@@ -671,7 +647,7 @@ diff -u tcp_wrappers_7.6.orig/tcpdchk.c tcp_wrappers_7.6/tcpdchk.c
        tcpd_context.file = table;
        tcpd_context.line = 0;
        while (xgets(sv_list, sizeof(sv_list), fp)) {
-@@ -331,7 +334,7 @@
+@@ -331,7 +334,7 @@ char   *list;
            clients = 0;
        } else {
            clients++;
@@ -680,7 +656,7 @@ diff -u tcp_wrappers_7.6.orig/tcpdchk.c tcp_wrappers_7.6/tcpdchk.c
                check_user(cp);
                check_host(host);
            } else {
-@@ -446,7 +449,7 @@
+@@ -446,7 +449,7 @@ char   *pat;
          } else if (errno != ENOENT) {
              tcpd_warn("open %s: %m", pat);
          }
@@ -689,9 +665,8 @@ diff -u tcp_wrappers_7.6.orig/tcpdchk.c tcp_wrappers_7.6/tcpdchk.c
        if (dot_quad_addr(pat) == INADDR_NONE
            || dot_quad_addr(mask) == INADDR_NONE)
            tcpd_warn("%s/%s: bad net/mask pattern", pat, mask);
-diff -u tcp_wrappers_7.6.orig/tcpdmatch.c tcp_wrappers_7.6/tcpdmatch.c
---- tcp_wrappers_7.6.orig/tcpdmatch.c  1996-02-12 03:01:36.000000000 +1100
-+++ tcp_wrappers_7.6/tcpdmatch.c       2017-11-14 22:56:40.000000000 +1100
+--- a/tcpdmatch.c
++++ b/tcpdmatch.c
 @@ -14,7 +14,7 @@
    */
  
@@ -701,7 +676,7 @@ diff -u tcp_wrappers_7.6.orig/tcpdmatch.c tcp_wrappers_7.6/tcpdmatch.c
  #endif
  
  /* System libraries. */
-@@ -29,6 +29,8 @@
+@@ -29,6 +29,8 @@ static char sccsid[] = "@(#) tcpdmatch.c
  #include <syslog.h>
  #include <setjmp.h>
  #include <string.h>
@@ -710,9 +685,8 @@ diff -u tcp_wrappers_7.6.orig/tcpdmatch.c tcp_wrappers_7.6/tcpdmatch.c
  
  extern void exit();
  extern int optind;
-diff -u tcp_wrappers_7.6.orig/tli.c tcp_wrappers_7.6/tli.c
---- tcp_wrappers_7.6.orig/tli.c        1997-03-22 05:27:26.000000000 +1100
-+++ tcp_wrappers_7.6/tli.c     2017-11-14 22:56:50.000000000 +1100
+--- a/tli.c
++++ b/tli.c
 @@ -15,7 +15,7 @@
    */
  
@@ -722,9 +696,8 @@ diff -u tcp_wrappers_7.6.orig/tli.c tcp_wrappers_7.6/tli.c
  #endif
  
  #ifdef TLI
-diff -u tcp_wrappers_7.6.orig/try-from.c tcp_wrappers_7.6/try-from.c
---- tcp_wrappers_7.6.orig/try-from.c   1994-12-29 03:42:55.000000000 +1100
-+++ tcp_wrappers_7.6/try-from.c        2017-11-14 22:56:59.000000000 +1100
+--- a/try-from.c
++++ b/try-from.c
 @@ -11,7 +11,7 @@
    */
  
@@ -734,7 +707,7 @@ diff -u tcp_wrappers_7.6.orig/try-from.c tcp_wrappers_7.6/try-from.c
  #endif
  
  /* System libraries. */
-@@ -37,7 +37,7 @@
+@@ -37,7 +37,7 @@ static char sccsid[] = "@(#) try-from.c
  int     allow_severity = SEVERITY;    /* run-time adjustable */
  int     deny_severity = LOG_WARNING;  /* ditto */
  
@@ -743,9 +716,8 @@ diff -u tcp_wrappers_7.6.orig/try-from.c tcp_wrappers_7.6/try-from.c
  int     argc;
  char  **argv;
  {
-diff -u tcp_wrappers_7.6.orig/update.c tcp_wrappers_7.6/update.c
---- tcp_wrappers_7.6.orig/update.c     1994-12-29 03:42:56.000000000 +1100
-+++ tcp_wrappers_7.6/update.c  2017-11-14 22:57:09.000000000 +1100
+--- a/update.c
++++ b/update.c
 @@ -14,7 +14,7 @@
    */
  
@@ -755,7 +727,7 @@ diff -u tcp_wrappers_7.6.orig/update.c tcp_wrappers_7.6/update.c
  #endif
  
  /* System libraries */
-@@ -22,6 +22,7 @@
+@@ -22,6 +22,7 @@ static char sccsid[] = "@(#) update.c 1.
  #include <stdio.h>
  #include <syslog.h>
  #include <string.h>
index af3b2cd1af6fbe64b08dbe616cd1270b63fe1a4c..837fa5470456cceb0bd34599a379e143c4eb1e51 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=tiff
-PKG_VERSION:=4.1.0
-PKG_RELEASE:=3
+PKG_VERSION:=4.2.0
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://download.osgeo.org/libtiff
-PKG_HASH:=5d29f32517dadb6dbcd1255ea5bbc93a2b54b94fbf83653b4d65c7d6775b8634
+PKG_HASH:=eb0484e568ead8fa23b513e9b0041df7e327f4ee2d22db5a533929dfc19633cb
 
 PKG_MAINTAINER:=Jiri Slachta <jiri@slachta.eu>
 PKG_LICENSE:=BSD-3-Clause
index b3797176d50dfca37b3999514d40d22fcfd7fe19..341dabe88ead31680a24fb1ee3ec44c7e59b4c5f 100644 (file)
@@ -2,19 +2,17 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=usb-serial-xr_usb_serial_common
-PKG_VERSION:=1a
-PKG_RELEASE=1
+PKG_SOURCE_DATE:=2017-08-01
+PKG_SOURCE_VERSION:=b8dad8cf15de160afbd9989f880dc74b921a857b
+PKG_RELEASE:=1
 
-PKG_LICENSE:=GPLv2
-PKG_LICENSE_FILES:=
-
-PKG_SOURCE_URL:=https://github.com/kasbert/epsolar-tracer
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=8c21f4afdfd6acd77b6adad59a4dabe5cbf2b947
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
+PKG_SOURCE_URL:=https://github.com/kasbert/epsolar-tracer
+PKG_MIRROR_HASH:=2cf23fec2625480bb4a630f96cd172219d401bd3cf90943394504ea0ba814faf
 
 PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
+PKG_LICENSE:=GPL-2.0-or-later
+PKG_LICENSE_FILES:=LICENSE
 PKG_BUILD_PARALLEL:=1
 
 include $(INCLUDE_DIR)/package.mk
index ded120fa34e3b7c982571f2c04ea6ebe9fa943d4..d4c1c2562e4d2f12bb3cf6e9ce5d02472fe8dd02 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=opendkim
 PKG_VERSION:=2.10.3
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
@@ -40,7 +40,7 @@ endef
 define Package/libopendkim
   SECTION:=mail
   CATEGORY:=Libraries
-  DEPENDS:=+libopenssl +libmilter-sendmail
+  DEPENDS:=+libopenssl +libmilter-sendmail +USE_GLIBC:libbsd
   TITLE:=Library for signing and verifying DKIM signatures
   URL:=http://opendkim.org/
 endef
index f25ac574970edebd3233e5d1efbc2c7f26024420..81be42b7e8ac5b068f1738615bd5994682dadc35 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=adblock
 PKG_VERSION:=4.0.8
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 PKG_LICENSE:=GPL-3.0-or-later
 PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
 
index c75ddee67319c0651d43968d23f208b0fab142d8..0aa219d449efba3fb7d72ce041732400fa08892d 100755 (executable)
@@ -246,10 +246,10 @@ service_triggers()
 {
        local trigger delay type
 
-       PROCD_RELOAD_DELAY=$((delay*1000))
        trigger="$(uci_get adblock global adb_trigger)"
        delay="$(uci_get adblock global adb_triggerdelay "2")"
        type="$(uci_get adblock global adb_starttype "start")"
+       PROCD_RELOAD_DELAY=$((delay*1000))
        if [ -n "${trigger}" ]
        then
                procd_add_interface_trigger "interface.*.up" "${trigger}" "${adb_init}" "${type}"
index 5f1d434016453c0be56fcd26d8267c2c9f016739..956278be094d238bb457e0ad82c9f7e242cfb75f 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=atftp
 PKG_VERSION:=0.7.2
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
index 081f4b37e1d12fc0edbc9541b85943d1283d29ad..e3d83f22d179842ed386b4468dc19f91630f2c6e 100644 (file)
@@ -1,5 +1,3 @@
-diff --git a/tftpd.h b/tftpd.h
-index 945065e..4c2f214 100644
 --- a/tftpd.h
 +++ b/tftpd.h
 @@ -46,7 +46,7 @@ struct thread_data {
index 679af5cf3f0a96b997e091425a187a87cd3e88ae..e1cad03b95291654feca549689cc0b4bdc7348ce 100644 (file)
@@ -1,8 +1,6 @@
-diff --git a/tftp_io.c b/tftp_io.c
-index 605a9c2..6cce1f4 100644
 --- a/tftp_io.c
 +++ b/tftp_io.c
-@@ -64,7 +64,7 @@ int tftp_send_request(int socket, struct sockaddr_storage *sa, short type,
+@@ -64,7 +64,7 @@ int tftp_send_request(int socket, struct
       buf_index += strlen(mode);
       buf_index++;
       
index c828e1a4c9501ee5ab5c85a38a9b91b1fe5cc826..82ce8bcdadddda3960426eae66e4a316040d29f7 100644 (file)
@@ -1,8 +1,6 @@
-diff --git a/tftp_def.c b/tftp_def.c
-index 96abdc5..16240f7 100644
 --- a/tftp_def.c
 +++ b/tftp_def.c
-@@ -141,7 +141,7 @@ int print_eng(double value, char *string, int size, char *format)
+@@ -133,7 +133,7 @@ int print_eng(double value, char *string
  /*
   * This is a strncpy function that take care of string NULL termination
   */
@@ -11,11 +9,9 @@ index 96abdc5..16240f7 100644
  {
       strncpy(to, from, size);
       if (size>0) 
-diff --git a/tftp_def.h b/tftp_def.h
-index e4b338d..4418ee7 100644
 --- a/tftp_def.h
 +++ b/tftp_def.h
-@@ -50,7 +50,7 @@ extern char *tftp_errmsg[9];
+@@ -51,7 +51,7 @@ extern char *tftp_errmsg[9];
  
  int timeval_diff(struct timeval *res, struct timeval *t1, struct timeval *t0);
  int print_eng(double value, char *string, int size, char *format);
@@ -24,11 +20,9 @@ index e4b338d..4418ee7 100644
  int Gethostbyname(char *addr, struct hostent *host);
  
  char *sockaddr_print_addr(const struct sockaddr_storage *, char *, size_t);
-diff --git a/tftpd.h b/tftpd.h
-index 945065e..4bd3f17 100644
 --- a/tftpd.h
 +++ b/tftpd.h
-@@ -93,7 +93,7 @@ int tftpd_list_find_multicast_server_and_add(struct thread_data **thread,
+@@ -93,7 +93,7 @@ int tftpd_list_find_multicast_server_and
  /*
   * Defined in tftpd_list.c, operation on client structure list.
   */
@@ -37,11 +31,9 @@ index 945065e..4bd3f17 100644
  void tftpd_clientlist_remove(struct thread_data *thread,
                               struct client_info *client);
  void tftpd_clientlist_free(struct thread_data *thread);
-diff --git a/tftpd_list.c b/tftpd_list.c
-index f376159..159ffca 100644
 --- a/tftpd_list.c
 +++ b/tftpd_list.c
-@@ -201,7 +201,7 @@ int tftpd_list_find_multicast_server_and_add(struct thread_data **thread,
+@@ -201,7 +201,7 @@ int tftpd_list_find_multicast_server_and
       return 0;
  }
  
@@ -50,6 +42,3 @@ index f376159..159ffca 100644
  {
       pthread_mutex_lock(&thread->client_mutex);
       thread->client_ready = 1;
--- 
-2.1.4
-
index 8968045ffe2ad99d3d5b8f4367612d5d137c4f8f..ffb642d61b9856ca54578bd0aa8aa487adaa9456 100644 (file)
@@ -31,7 +31,7 @@
  
  /* Make a '\0' separated arg vector from a SEP separated list in
     STRING, returning it in ARGZ, and the total length in LEN.  If a
-@@ -69,65 +68,65 @@ extern error_t argz_create (char *__const __argv[], char **__restrict __argz,
+@@ -69,65 +68,65 @@ extern error_t argz_create (char *__cons
     The result can be destroyed using free.  */
  extern error_t __argz_create_sep (__const char *__restrict __string,
                                  int __sep, char **__restrict __argz,
  
  /* Insert ENTRY into ARGZ & ARGZ_LEN before BEFORE, which should be an
     existing entry in ARGZ; if BEFORE is NULL, ENTRY is appended to the end.
-@@ -138,11 +137,11 @@ extern void argz_delete (char **__restrict __argz,
+@@ -138,11 +137,11 @@ extern void argz_delete (char **__restri
  extern error_t __argz_insert (char **__restrict __argz,
                              size_t *__restrict __argz_len,
                              char *__restrict __before,
  
  /* Replace any occurrences of the string STR in ARGZ with WITH, reallocating
     ARGZ as necessary.  If REPLACE_COUNT is non-zero, *REPLACE_COUNT will be
-@@ -173,9 +172,9 @@ extern error_t argz_replace (char **__restrict __argz,
+@@ -173,11 +172,11 @@ extern error_t argz_replace (char **__re
        ...;
  */
  extern char *__argz_next (__const char *__restrict __argz, size_t __argz_len,
 -                      __const char *__restrict __entry) __THROW;
 +                      __const char *__restrict __entry) __attribute__ ((__nothrow__));
  
- #ifdef __USE_EXTERN_INLINES
+-#ifdef __USE_EXTERN_INLINES
++#if 0
  extern inline char *
-@@ -200,6 +199,8 @@ argz_next (__const char *__argz, size_t __argz_len,
+ __argz_next (__const char *__argz, size_t __argz_len,
+            __const char *__entry)
+@@ -200,6 +199,8 @@ argz_next (__const char *__argz, size_t
  }
  #endif /* Use extern inlines.  */
  
index ddcf90dc14977f32e478e28426b8eebeecb3c7f9..5ebd6456f1ddb8bb05093ef1dab49ead17bff331 100644 (file)
@@ -6,8 +6,8 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=banip
-PKG_VERSION:=0.3.12
-PKG_RELEASE:=3
+PKG_VERSION:=0.3.13
+PKG_RELEASE:=1
 PKG_LICENSE:=GPL-3.0-or-later
 PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
 
index 708c883873c51943ced27d2e354dab6ee0fd15db..14cc1f5f223780ad23e08c3eaf00bd746f0076cd 100755 (executable)
@@ -13,7 +13,7 @@
 #
 LC_ALL=C
 PATH="/usr/sbin:/usr/bin:/sbin:/bin"
-ban_ver="0.3.12"
+ban_ver="0.3.13"
 ban_basever=""
 ban_enabled=0
 ban_automatic="1"
@@ -410,8 +410,10 @@ f_iptadd()
                        f_iptrule "-I" "${wan_forward} -j ${ban_chain}"
                        if [ "${src_name##*_}" != "6" ]
                        then
-                               # special IPv4 rules
                                f_iptrule "-A" "${ban_chain} -p udp --dport 67:68 --sport 67:68 -j RETURN"
+                       else
+                               f_iptrule "-A" "${ban_chain} -p udp -s fc00::/6 --sport 547 -d fc00::/6 --dport 546 -j RETURN"
+                               f_iptrule "-A" "${ban_chain} -p ipv6-icmp -s fe80::/10 -d fe80::/10 -j RETURN"
                        fi
                        for dev in ${ban_dev}
                        do
@@ -424,8 +426,10 @@ f_iptadd()
                        f_iptrule "-I" "${lan_forward} -j ${ban_chain}"
                        if [ "${src_name##*_}" != "6" ]
                        then
-                               # special IPv4 rules
                                f_iptrule "-A" "${ban_chain} -p udp --dport 67:68 --sport 67:68 -j RETURN"
+                       else
+                               f_iptrule "-A" "${ban_chain} -p udp -s fc00::/6 --sport 547 -d fc00::/6 --dport 546 -j RETURN"
+                               f_iptrule "-A" "${ban_chain} -p ipv6-icmp -s fe80::/10 -d fe80::/10 -j RETURN"
                        fi
                        for dev in ${ban_dev}
                        do
index 16b9b096bd68f603cac1d98c43a27753d888e681..fb528a681da03c22abd51d33932d3174f7968432 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=bfdd
 PKG_SOURCE_DATE:=2019-08-22
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE_VERSION:=c54534beb524afc3972039f57b56ec65332b43f7
 PKG_SOURCE_URL:=https://codeload.github.com/rzalamena/bfdd/tar.gz/$(PKG_SOURCE_VERSION)?
@@ -46,8 +46,6 @@ define Package/bfdd/conffiles
 /etc/bfdd/bfdd.json
 endef
 
-TARGET_CFLAGS += -D_GNU_SOURCE
-
 define Package/bfdd/install
        $(INSTALL_DIR) \
         $(1)/usr/sbin \
index 8ee41b9309d05c66dca6b12170cb01bd38ff8223..a2f36864d7b759ae93a3e4540ce7c2feff783022 100644 (file)
@@ -1,10 +1,18 @@
---- a/bfd_packet.c     2019-08-15 02:45:47.270120616 +0300
-+++ b/bfd_packet.c     2019-08-15 02:44:38.266117706 +0300
-@@ -34,7 +34,6 @@
+--- a/bfd_packet.c
++++ b/bfd_packet.c
+@@ -29,12 +29,15 @@
+ #define _UAPI_IPV6_H
+ #endif /* _UAPI_IPV6_H */
++#include <features.h>
+ #include <linux/filter.h>
+ #include <linux/if_ether.h>
  #include <linux/if_packet.h>
  #include <linux/udp.h>
  #include <linux/ip.h>
--#include <linux/ipv6.h>
++#ifdef __GLIBC__
+ #include <linux/ipv6.h>
++#endif
  
  #include <arpa/inet.h>
  #include <sys/types.h>
diff --git a/net/bfdd/patches/010-uclibc.patch b/net/bfdd/patches/010-uclibc.patch
deleted file mode 100644 (file)
index 4c603ef..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/bfd_packet.c b/bfd_packet.c
-index e8f99f9..2c9fa91 100644
---- a/bfd_packet.c
-+++ b/bfd_packet.c
-@@ -29,6 +29,8 @@
- #define _UAPI_IPV6_H
- #endif /* _UAPI_IPV6_H */
-+#define _GNU_SOURCE
-+
- #include <linux/filter.h>
- #include <linux/if_ether.h>
- #include <linux/if_packet.h>
index 517a022150c6f65fa0b5b27bdbac1fd06bfab183..094815c253d7ee4efe0702e782802373220beb78 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=coova-chilli
 PKG_VERSION:=1.5
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/coova/coova-chilli/tar.gz/$(PKG_VERSION)?
@@ -82,7 +82,7 @@ endef
 
 DISABLE_NLS=
 
-TARGET_CFLAGS += $(FPIC) -Wno-address-of-packed-member
+TARGET_CFLAGS += $(FPIC) -Wno-error
 
 CONFIGURE_VARS += \
        ARCH="$(LINUX_KARCH)" \
index bc863a92896cbad2bd3315290dcd50cf734a7e17..193fbaf67f7086b68934cdefa692396b6c1e62d9 100644 (file)
@@ -5,13 +5,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=dawn
-PKG_SOURCE_DATE:=2020-09-03
+PKG_SOURCE_DATE:=2020-12-31
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/berlin-open-wireless-lab/DAWN.git
-PKG_SOURCE_VERSION:=b639145ce90230e693c41e71624ea0c0798c424d
-PKG_MIRROR_HASH:=e31113da86e4b3b013d073f288d0d77315ce67830b0fc669fa96917667a03d9c
+PKG_SOURCE_VERSION:=8ce09d64def9a1ad4bbf57dd3fe724a8a9b93334
+PKG_MIRROR_HASH:=cc33ca6ab1c4bd3e9e2a7a380700c6c15d222b3fd7064a3ce2963abb0965f078
 
 PKG_MAINTAINER:=Nick Hainke <vincent@systemli.org>
 PKG_LICENSE:=GPL-2.0-only
index be93382c01276a6baec3409e46fae098719ef575..37316c72c7956c057a7698d3b91bdb3b88837b38 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=freeradius3
 PKG_VERSION:=3_0_21
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=release_$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/FreeRADIUS/freeradius-server/archive
@@ -63,7 +63,7 @@ endef
 define Package/freeradius3-common
   $(call Package/freeradius3/Default)
   TITLE:=common files
-  DEPENDS:=+USE_GLIBC:libpthread +FREERADIUS3_OPENSSL:libopenssl +libcap +libpcap +libncurses +libpcre +libreadline +libtalloc +libatomic
+  DEPENDS:=+USE_GLIBC:libpthread +USE_GLIBC:libbsd +FREERADIUS3_OPENSSL:libopenssl +libcap +libpcap +libncurses +libpcre +libreadline +libtalloc +libatomic
 endef
 
 define Package/freeradius3-default
index 58ef491325ab4a333f524e01824bdde1d7a4879f..104ebe63f56ae29ffe614fdcd642dd0e8d5769b0 100644 (file)
@@ -8,15 +8,15 @@
 include $(TOPDIR)/rules.mk
 PKG_NAME:=frr
 PKG_VERSION:=7.5
-PKG_RELEASE:=1
-PKG_SOURCE_DATE:=2020-12-02
+PKG_RELEASE:=2
+PKG_SOURCE_DATE:=2020-12-22
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_DATE).tar.gz
-PKG_SOURCE_VERSION:=b1e06590a7b4d4b8f7309f432ababebb1b3fa754
+PKG_SOURCE_VERSION:=5061dec601016ffc3da3c0fcb554c799ba9e0868
 PKG_SOURCE_URL:=https://codeload.github.com/FRRouting/frr/tar.gz/$(PKG_SOURCE_VERSION)?
 
 
-PKG_HASH:=901763a6deff56c7e1738c4fadbfbb9846548d3d2a2572d4d1a75109805bd055
+PKG_HASH:=f2f2e2df8c33805c8c038b7b85de18d41bb9c08ba6a27fae8962b343aee0b0db
 PKG_MAINTAINER:=Lucian Cristian <lucian.cristian@gmail.com>
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_SOURCE_VERSION)
index b546684741491d04460ea0c968941ede2d47e83a..3d66fe6a4cf34748e2229d19c5abc70a8091cbd5 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=gitolite
 PKG_VERSION:=3.6.11
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_HASH:=2166a61b14de19e605b14f4a13a070fbfd5ecd247b6fd725108f111198a2c121
@@ -65,7 +65,7 @@ define Build/Compile
        mkdir -p $(PKG_INSTALL_DIR)/usr/libexec/gitolite
        $(PKG_BUILD_DIR)/install -to $(PKG_INSTALL_DIR)/usr/libexec/gitolite
        mkdir -p $(PKG_INSTALL_DIR)/usr/bin
-       ln -sf /usr/libexec/gitolite/gitolite $(PKG_INSTALL_DIR)/usr/bin/gitolite
+       $(LN) ../libexec/gitolite/gitolite $(PKG_INSTALL_DIR)/usr/bin/gitolite
 endef
 
 define Package/gitolite/install
index bd2c39305488f80a613126ab5651359c32608934..ed41414e8c45eb1418d4e648b3ffda8518343ae3 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ksmbd-tools
 PKG_VERSION:=3.3.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/cifsd-team/ksmbd-tools/tar.gz/$(PKG_VERSION)?
@@ -96,7 +96,7 @@ CONFIGURE_ARGS += \
 CONFIGURE_VARS += GLIB_LIBS="$(STAGING_DIR)/usr/lib/libglib-2.0.a"
 
 TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto
-TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed -liconv $(if $(INTL_FULL),-lintl)
+TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed -liconv $(if $(INTL_FULL),-lintl) $(if $(CONFIG_LIBC_USE_GLIBC),-lpthread)
 
 define Package/ksmbd-server/install
        $(INSTALL_DIR) $(1)/usr/sbin
index ee8e34764367d6818df913bcedbb701041dfa7ad..ecddbeecfe86fa223090a59db5ea7a9624513eb9 100644 (file)
@@ -8,14 +8,14 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=lighttpd
-PKG_VERSION:=1.4.57
+PKG_VERSION:=1.4.58
 PKG_RELEASE:=1
 # release candidate ~rcX testing; remove for release
-#PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-1.4.57
+#PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-1.4.58
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://download.lighttpd.net/lighttpd/releases-1.4.x
-PKG_HASH:=52ca961b89c12f7ecbb2e4e0c5a9e79b2863c64e33c42832a165e7f894d6217f
+PKG_HASH:=267feffda13a190ebdce7b15172d8be16da98008457f30fddecd72832d126d0e
 
 PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
 PKG_LICENSE:=BSD-3-Clause
index b4d6547a254033a9bbba0c8d3dcc9b4b4cfb6b89..298625f649cdb5d6ff8d18a182466c433ddc6fa4 100644 (file)
@@ -11,9 +11,9 @@ PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/nccgroup/phantap
-PKG_MIRROR_HASH:=01723a955e975b877f35924d3b5bfa53251f8928abe4657de0ed4c4943d9510c
-PKG_SOURCE_DATE:=2020.02.09
-PKG_SOURCE_VERSION:=fb3be84b4f4e081c35b7d0caa977bc659c02f8f1
+PKG_MIRROR_HASH:=d625970df1f3757d0805b956bcb721bcc6fa102e397cd3e16e558be8bec8abb3
+PKG_SOURCE_DATE:=2020.12.31
+PKG_SOURCE_VERSION:=a71772357301e10e9d8bc2d512505c9c5a4a18a4
 
 PKG_MAINTAINER:=Diana Dragusin <diana.dragusin@nccgroup.com>, \
     Etienne Champetier <champetier.etienne@gmail.com>
index df821ead7e73b32204e4e3b8b84380e99e589f47..cf3a6b9cc066fbe34ad69c3e970378a1106517df 100644 (file)
@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=sqm-scripts
-PKG_SOURCE_VERSION:=ab763cba8b1516b3afa99760e0ca884f8b8d93b8
-PKG_VERSION:=1.4.0
-PKG_RELEASE:=9
+PKG_SOURCE_VERSION:=bb064ad6065dcfb4966662bfab15b9fcdbb48e5f
+PKG_VERSION:=1.5.0
+PKG_RELEASE:=2
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/tohojo/sqm-scripts
-PKG_MIRROR_HASH:=43f59dd4c74c5f1634498c18e370c5185110be1084597df37773cecf306e3a24
+PKG_MIRROR_HASH:=d41301ed1e318ea81c6c8f29c1847efdda3663573d12a3e0b855b4b8b8cf0610
 
 PKG_MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk>
 PKG_LICENSE:=GPL-2.0-only
index e4b261e09800d9736b0a7376f44a1d6cb43a55dd..661084024dee7aac1a927f4b1b97a982201aa7bc 100644 (file)
@@ -8,14 +8,14 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=squid
-PKG_VERSION:=4.12
-PKG_RELEASE:=2
+PKG_VERSION:=4.13
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=http://www3.us.squid-cache.org/Versions/v4/ \
        http://www2.pl.squid-cache.org/Versions/v4/ \
        http://www.squid-cache.org/Versions/v4/
-PKG_HASH:=f42a03c8b3dc020722c88bf1a87da8cb0c087b2f66b41d8256c77ee1b527e317
+PKG_HASH:=6891a0f540e60779b4f24f1802a302f813c6f473ec7336a474ed68c3e2e53ee0
 
 PKG_MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr>
 PKG_LICENSE:=GPL-2.0-or-later
index 28c106a0bd2d9a9d51896cc3e3716afb4037d149..d6fa8ada68739a76429df3cf1b683397ab56f3ca 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=transmission
 PKG_VERSION:=3.00
-PKG_RELEASE:=9
+PKG_RELEASE:=10
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GITHUB/transmission/transmission-releases/master
@@ -40,7 +40,7 @@ define Package/transmission/template
   CATEGORY:=Network
   TITLE:=BitTorrent client
   URL:=https://www.transmissionbt.com
-  DEPENDS:=+libcurl +libevent2 +libminiupnpc +libnatpmp +libpthread +librt +zlib +LIBCURL_NOSSL:libmbedtls +LIBCURL_GNUTLS:libmbedtls $(ICONV_DEPENDS)
+  DEPENDS:=+libcurl +libevent2 +libminiupnpc +libnatpmp +libpthread +librt +zlib +LIBCURL_NOSSL:libmbedtls +LIBCURL_GNUTLS:libmbedtls +LIBCURL_WOLFSSL:libmbedtls $(ICONV_DEPENDS)
 endef
 
 define Package/transmission-daemon
@@ -104,7 +104,7 @@ CONFIGURE_ARGS += \
        $(if $(CONFIG_LIBCURL_GNUTLS),--with-crypto=polarssl) \
        $(if $(CONFIG_LIBCURL_MBEDTLS),--with-crypto=polarssl) \
        $(if $(CONFIG_LIBCURL_OPENSSL),--with-crypto=openssl) \
-       $(if $(CONFIG_LIBCURL_WOLFSSL),--with-crypto=cyassl)
+       $(if $(CONFIG_LIBCURL_WOLFSSL),--with-crypto=polarssl)
 
 define Package/transmission-daemon/install
        $(INSTALL_DIR) $(1)/usr/bin
index a82c62f6c388664f74969d2f3c82595c7f6d4716..ba59092bc52bf0389b634e9678c4459f0e94a7d4 100644 (file)
@@ -1,6 +1,6 @@
 --- a/configure.ac
 +++ b/configure.ac
-@@ -555,9 +555,6 @@ dnl it should be safe to re-edit 0.40 back down to 0.23
+@@ -555,9 +555,6 @@ dnl it should be safe to re-edit 0.40 ba
  use_nls=no
  if test "x$enable_nls" = "xyes" ; then
      use_nls=yes
index da0874fe19d7205bb4f2c057053c0df57d13173a..18c33f5b7c884acbae113030f0ec2b3c9e9a62b5 100644 (file)
@@ -1,6 +1,6 @@
 --- a/configure.ac
 +++ b/configure.ac
-@@ -152,8 +152,8 @@ AS_IF([test "x$want_crypto" = "xauto" -o "x$want_crypto" = "xcyassl"], [
+@@ -152,8 +152,8 @@ AS_IF([test "x$want_crypto" = "xauto" -o
      )
  ])
  AS_IF([test "x$want_crypto" = "xauto" -o "x$want_crypto" = "xpolarssl"], [
index a850b3563b1123748f7516fd44b3984dd9e13d04..f63d78d3e37a99680da248cd00b35985b6b16a9d 100644 (file)
@@ -1,6 +1,6 @@
 --- a/libtransmission/webseed.c
 +++ b/libtransmission/webseed.c
-@@ -510,8 +510,6 @@ static void webseed_timer_func(evutil_socket_t foo UNUSED, short bar UNUSED, voi
+@@ -510,8 +510,6 @@ static void webseed_timer_func(evutil_so
          ++w->retry_tickcount;
      }
  
index 1f2e96573d58d17e71dab43aa870a98c5d3765d4..5a82e637651d6858e7ef337838a7f1f526104129 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=wget
 PKG_VERSION:=1.20.3
-PKG_RELEASE:=5
+PKG_RELEASE:=6
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
@@ -49,7 +49,7 @@ $(call Package/wget/Default)
   ALTERNATIVES:=300:/usr/bin/wget:/usr/libexec/wget-ssl
 endef
 
-define Package/wget/description
+define Package/wget-ssl/description
 $(call Package/wget/Default/description)
  This package is built with SSL support.
 endef
@@ -92,7 +92,7 @@ ifeq ($(BUILD_VARIANT),nossl)
                --without-ssl
 endif
 
-define Package/wget/install
+define Package/wget-ssl/install
        $(INSTALL_DIR) $(1)/usr/libexec
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/wget $(1)/usr/libexec/wget-ssl
 endef
index 0050d2bee042197a6f882b01ad7bccd0bef45fd2..f65a302c514703d3bf677c7c9b1dc5c250a7f7a6 100644 (file)
@@ -7,12 +7,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=shairport-sync
-PKG_VERSION:=3.3.6
-PKG_RELEASE:=2
+PKG_VERSION:=3.3.7
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/mikebrady/shairport-sync/tar.gz/$(PKG_VERSION)?
-PKG_HASH:=a8382affd25c473fa38ead5690148c6c3902098f359f9c881eefe139e1f49f49
+PKG_HASH:=7f8d4ecec53f2f681a962467bf09205568fc936c8c31a9ee07b1bd72d3d95b12
 
 PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>, \
                Mike Brady <mikebrady@eircom.net>
index c8c8a699e027a21dd876921b0055e4e0be207a93..05c21e126d9222bbc23e9776cc01b78b7000ecc5 100644 (file)
@@ -25,7 +25,7 @@
  endif
 --- a/configure.ac
 +++ b/configure.ac
-@@ -19,7 +19,6 @@ with_os=`echo ${with_os} | tr '[[:upper:]]' '[[:lower:]]' `
+@@ -19,7 +19,6 @@ with_os=`echo ${with_os} | tr '[[:upper:
  
  # Checks for programs.
  AC_PROG_CC
index 0b44d0e5d72579010c1b077404d3221c30665a47..40cb6d1851dde4b604525e299a947499b912a011 100644 (file)
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=auc
 PKG_VERSION:=0.1.4
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_LICENSE:=GPL-3.0
 
 include $(INCLUDE_DIR)/package.mk
index ce291a4e3483cd8275768fc126005092161a299f..de6cee83340605b5b33392212f7aa888e0f8aa82 100644 (file)
@@ -8,5 +8,5 @@ SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
 find_library(json NAMES json-c json)
 
 ADD_EXECUTABLE(auc auc.c)
-TARGET_LINK_LIBRARIES(auc uci ubox ubus uclient blobmsg_json ${json})
+TARGET_LINK_LIBRARIES(auc uci ubox ubus uclient blobmsg_json ${json} ${CMAKE_DL_LIBS})
 INSTALL(TARGETS auc RUNTIME DESTINATION sbin)
index 997fcb771bf916394b23e501de351635f41e24e5..ca03b62853ca91bea71e54c921dbbb151bae6ffb 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=bash
 PKG_VERSION:=5.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@GNU/bash
diff --git a/utils/bash/patches/101-bash51-001.patch b/utils/bash/patches/101-bash51-001.patch
new file mode 100644 (file)
index 0000000..02898aa
--- /dev/null
@@ -0,0 +1,64 @@
+                            BASH PATCH REPORT
+                            =================
+
+Bash-Release:  5.1
+Patch-ID:      bash51-001
+
+Bug-Reported-by:       Fazal Majid <fazal@majid.org>
+Bug-Reference-ID:      <DEAB7D2C-C626-450C-B2E5-281AFF2D26D4@majid.org>
+Bug-Reference-URL:     https://lists.gnu.org/archive/html/bug-bash/2020-12/msg00000.html
+
+Bug-Description:
+
+There is a missing dependency on a constructed file, which can cause highly
+parellel builds to fail.
+
+Patch (apply with `patch -p0'):
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -1315,6 +1315,7 @@ bashline.o: trap.h flags.h assoc.h $(BAS
+ bashline.o: $(DEFSRC)/common.h $(GLOB_LIBSRC)/glob.h alias.h
+ bashline.o: pcomplete.h ${BASHINCDIR}/chartypes.h input.h
+ bashline.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
++bashline.o: ${DEFDIR}/builtext.h
+ bracecomp.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
+ bracecomp.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h
+ bracecomp.o: command.h ${BASHINCDIR}/stdc.h error.h
+@@ -1435,6 +1436,7 @@ builtins/evalstring.o: quit.h unwind_pro
+ builtins/evalstring.o: dispose_cmd.h make_cmd.h subst.h externs.h 
+ builtins/evalstring.o: jobs.h builtins.h flags.h input.h execute_cmd.h
+ builtins/evalstring.o: bashhist.h $(DEFSRC)/common.h pathnames.h
++builtins/evalstring.o: ${DEFDIR}/builtext.h
+ builtins/getopt.o: config.h ${BASHINCDIR}/memalloc.h
+ builtins/getopt.o: shell.h syntax.h bashjmp.h command.h general.h xmalloc.h error.h
+ builtins/getopt.o: variables.h arrayfunc.h conftypes.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
+--- a/builtins/Makefile.in
++++ b/builtins/Makefile.in
+@@ -361,7 +361,7 @@ evalstring.o: $(topdir)/dispose_cmd.h $(
+ evalstring.o: $(topdir)/externs.h $(topdir)/jobs.h $(topdir)/builtins.h
+ evalstring.o: $(topdir)/flags.h $(topdir)/input.h $(topdir)/execute_cmd.h
+ evalstring.o: $(topdir)/bashhist.h $(srcdir)/common.h
+-evalstring.o: $(topdir)/trap.h $(topdir)/redir.h ../pathnames.h
++evalstring.o: $(topdir)/trap.h $(topdir)/redir.h ../pathnames.h ./builtext.h
+ #evalstring.o: $(topdir)/y.tab.h
+ getopt.o: ../config.h $(BASHINCDIR)/memalloc.h
+ getopt.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/bashjmp.h $(topdir)/command.h
+--- a/patchlevel.h
++++ b/patchlevel.h
+@@ -1,6 +1,6 @@
+ /* patchlevel.h -- current bash patch level */
+-/* Copyright (C) 2001-2016 Free Software Foundation, Inc.
++/* Copyright (C) 2001-2020 Free Software Foundation, Inc.
+    This file is part of GNU Bash, the Bourne Again SHell.
+@@ -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/utils/bash/patches/102-bash51-002.patch b/utils/bash/patches/102-bash51-002.patch
new file mode 100644 (file)
index 0000000..2faa881
--- /dev/null
@@ -0,0 +1,45 @@
+                            BASH PATCH REPORT
+                            =================
+
+Bash-Release:  5.1
+Patch-ID:      bash51-002
+
+Bug-Reported-by:       oguzismailuysal@gmail.com
+Bug-Reference-ID:      <CAH7i3LoHFUa4aSF5-AD2r80HG-p-YzD_9ZxomarZkhP8NMq63g@mail.gmail.com>
+Bug-Reference-URL:     https://lists.gnu.org/archive/html/bug-bash/2020-12/msg00037.html
+
+Bug-Description:
+
+If there are no jobs, and the `-n' and `-p' options are both supplied to
+`wait', bash can assign a value to the variable name specified with `-p'
+instead of leaving it unset.
+
+Patch (apply with `patch -p0'):
+
+--- a/builtins/wait.def
++++ b/builtins/wait.def
+@@ -213,11 +213,11 @@ wait_builtin (list)
+       }
+       status = wait_for_any_job (wflags, &pstat);
+-      if (status < 0)
+-      status = 127;
+-
+       if (vname && status >= 0)
+       bind_var_to_int (vname, pstat.pid);
++
++      if (status < 0)
++      status = 127;
+       if (list)
+       unset_waitlist ();
+       WAIT_RETURN (status);
+--- 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/utils/bash/patches/103-bash51-003.patch b/utils/bash/patches/103-bash51-003.patch
new file mode 100644 (file)
index 0000000..72c251b
--- /dev/null
@@ -0,0 +1,43 @@
+                            BASH PATCH REPORT
+                            =================
+
+Bash-Release:  5.1
+Patch-ID:      bash51-003
+
+Bug-Reported-by:       oguzismailuysal@gmail.com
+Bug-Reference-ID:      <CAH7i3LpG91BnNcDtaTUm2Ph7a+PnJkuh6nAc87cVL7_38tOaMQ@mail.gmail.com>
+Bug-Reference-URL:     https://lists.gnu.org/archive/html/bug-bash/2020-12/msg00050.html
+
+Bug-Description:
+
+Bash does not put a command substitution process that is started to perform an
+expansion in a child process into the right process group where it can receive
+keyboard-generated signals.
+
+Patch (apply with `patch -p0'):
+
+--- a/subst.c
++++ b/subst.c
+@@ -6356,8 +6356,10 @@ command_substitute (string, quoted, flag
+ #if defined (JOB_CONTROL)
+   old_pipeline_pgrp = pipeline_pgrp;
+-  /* Don't reset the pipeline pgrp if we're already a subshell in a pipeline. */
+-  if ((subshell_environment & SUBSHELL_PIPE) == 0)
++  /* Don't reset the pipeline pgrp if we're already a subshell in a pipeline or
++     we've already forked to run a disk command (and are expanding redirections,
++     for example). */
++  if ((subshell_environment & (SUBSHELL_FORK|SUBSHELL_PIPE)) == 0)
+     pipeline_pgrp = shell_pgrp;
+   cleanup_the_pipeline ();
+ #endif /* JOB_CONTROL */
+--- 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/utils/bash/patches/104-bash51-004.patch b/utils/bash/patches/104-bash51-004.patch
new file mode 100644 (file)
index 0000000..218b843
--- /dev/null
@@ -0,0 +1,114 @@
+                            BASH PATCH REPORT
+                            =================
+
+Bash-Release:  5.1
+Patch-ID:      bash51-004
+
+Bug-Reported-by:       oguzismailuysal@gmail.com
+Bug-Reference-ID:      <CAH7i3LoHGmwaghDpCWRUfcY04gQmeDTH3RiG=bf2b=KbU=gyhw@mail.gmail.com>
+Bug-Reference-URL:     https://lists.gnu.org/archive/html/bug-bash/2020-12/msg00039.html
+
+Bug-Description:
+
+If a key-value compound array assignment to an associative array is supplied
+as an assignment statement argument to the `declare' command that declares the
+array, the assignment doesn't perform the correct word expansions.
+
+This patch makes key-value assignment and subscript assignment perform the
+same expansions when they're supplied as an argument to `declare'.
+
+Patch (apply with `patch -p0'):
+
+--- a/arrayfunc.c
++++ b/arrayfunc.c
+@@ -597,6 +597,27 @@ assign_assoc_from_kvlist (var, nlist, h,
+       free (aval);
+     }
+ }
++
++/* Return non-zero if L appears to be a key-value pair associative array
++   compound assignment. */ 
++int
++kvpair_assignment_p (l)
++     WORD_LIST *l;
++{
++  return (l && (l->word->flags & W_ASSIGNMENT) == 0 && l->word->word[0] != '[');      /*]*/
++}
++
++char *
++expand_and_quote_kvpair_word (w)
++     char *w;
++{
++  char *t, *r;
++
++  t = w ? expand_assignment_string_to_string (w, 0) : 0;
++  r = sh_single_quote (t ? t : "");
++  free (t);
++  return r;
++}
+ #endif
+      
+ /* Callers ensure that VAR is not NULL. Associative array assignments have not
+@@ -640,7 +661,7 @@ assign_compound_array_list (var, nlist,
+   last_ind = (a && (flags & ASS_APPEND)) ? array_max_index (a) + 1 : 0;
+ #if ASSOC_KVPAIR_ASSIGNMENT
+-  if (assoc_p (var) && nlist && (nlist->word->flags & W_ASSIGNMENT) == 0 && nlist->word->word[0] != '[')      /*]*/
++  if (assoc_p (var) && kvpair_assignment_p (nlist))
+     {
+       iflags = flags & ~ASS_APPEND;
+       assign_assoc_from_kvlist (var, nlist, nhash, iflags);
+--- a/arrayfunc.h
++++ b/arrayfunc.h
+@@ -67,6 +67,9 @@ extern SHELL_VAR *assign_array_var_from_
+ extern char *expand_and_quote_assoc_word PARAMS((char *, int));
+ extern void quote_compound_array_list PARAMS((WORD_LIST *, int));
++extern int kvpair_assignment_p PARAMS((WORD_LIST *));
++extern char *expand_and_quote_kvpair_word PARAMS((char *));
++
+ extern int unbind_array_element PARAMS((SHELL_VAR *, char *, int));
+ extern int skipsubscript PARAMS((const char *, int, int));
+--- a/subst.c
++++ b/subst.c
+@@ -11604,6 +11604,7 @@ expand_oneword (value, flags)
+ {
+   WORD_LIST *l, *nl;
+   char *t;
++  int kvpair;
+   
+   if (flags == 0)
+     {
+@@ -11618,11 +11619,21 @@ expand_oneword (value, flags)
+     {
+       /* Associative array */
+       l = parse_string_to_word_list (value, 1, "array assign");
++#if ASSOC_KVPAIR_ASSIGNMENT
++      kvpair = kvpair_assignment_p (l);
++#endif
++
+       /* For associative arrays, with their arbitrary subscripts, we have to
+        expand and quote in one step so we don't have to search for the
+        closing right bracket more than once. */
+       for (nl = l; nl; nl = nl->next)
+       {
++#if ASSOC_KVPAIR_ASSIGNMENT
++        if (kvpair)
++          /* keys and values undergo the same set of expansions */
++          t = expand_and_quote_kvpair_word (nl->word->word);
++        else
++#endif
+         if ((nl->word->flags & W_ASSIGNMENT) == 0)
+           t = sh_single_quote (nl->word->word ? nl->word->word : "");
+         else
+--- 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_ */
index e89e0728c6ee67af112481cf72a67b50e2e3d64a..6e6d6dfb6164c49a581590f56d202d003fe0dd77 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=bonnie++
 PKG_VERSION:=1.98
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
 PKG_SOURCE_URL:=https://www.coker.com.au/bonnie++/
index a26b64adb045a42e5f3a524295f60b1ae68951c3..37a99eba9ad530b937cbbd9067cb933159a37be3 100644 (file)
  
  bonnie++: $(BONOBJS)
 -      $(LINK) -o bonnie++ $(BONOBJS) $(THREAD_LFLAGS)
-+      $(CXX) $(CXXFLAGS) -o bonnie++ $(BONOBJS)
++      $(CXX) $(CXXFLAGS) -o bonnie++ $(BONOBJS) @thread_ldflags@
  
  zcav: $(ZCAVOBJS)
 -      $(LINK) -o zcav $(ZCAVOBJS) $(THREAD_LFLAGS)
-+      $(CXX) $(CXXFLAGS) -o zcav $(ZCAVOBJS)
++      $(CXX) $(CXXFLAGS) -o zcav $(ZCAVOBJS) @thread_ldflags@
  
  getc_putc: $(GETCOBJS) getc_putc_helper
 -      $(LINK) -o getc_putc $(GETCOBJS) $(THREAD_LFLAGS)
index 48a7f8dd3748f8f7ca16ca1b75f8cc17633d0730..682bd8ed5e6d527ba08a214a27792eb6ac01f44c 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=conmon
 PKG_VERSION:=2.0.22
-PKG_RELEASE:=1
+PKG_RELEASE:=3
 PKG_LICENSE:=Apache-2.0
 PKG_LICENSE_FILES:=LICENSE
 
@@ -12,6 +12,7 @@ PKG_HASH:=41181db43c544cdd1a31aa851286e8c09a825879656f00f6adde431830893983
 
 PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
 
+PKG_BUILD_DEPENDS:=golang/host
 PKG_BUILD_PARALLEL:=1
 PKG_INSTALL:=1
 
index 15d3bad2e5c3267e8c3befd601df83aacff2129b..d4e25ca7e4bf54f6ebaa88cf9d7218fc7f493f21 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=hfsprogs
 PKG_VERSION:=332.25
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
 PKG_SOURCE_URL:=http://archive.ubuntu.com/ubuntu/pool/universe/h/$(PKG_NAME)
index 98a4ea87f479ed3887654d0386507d9c9fed026d..a00eec6dff4f5dc5e0f0b43e38da1b30e4d1e876 100644 (file)
@@ -16,9 +16,6 @@ utilities.
  create mode 100644 fsck_hfs.tproj/dfalib/Makefile.lnx
  create mode 100644 newfs_hfs.tproj/Makefile.lnx
 
-diff --git a/Makefile.lnx b/Makefile.lnx
-new file mode 100644
-index 0000000..687d1e7
 --- /dev/null
 +++ b/Makefile.lnx
 @@ -0,0 +1,8 @@
@@ -30,9 +27,6 @@ index 0000000..687d1e7
 +      for d in $(SUBDIRS); do $(MAKE) -C $$d -f Makefile.lnx $@; done
 +
 +export CC CFLAGS
-diff --git a/fsck_hfs.tproj/Makefile.lnx b/fsck_hfs.tproj/Makefile.lnx
-new file mode 100644
-index 0000000..977d7e8
 --- /dev/null
 +++ b/fsck_hfs.tproj/Makefile.lnx
 @@ -0,0 +1,16 @@
@@ -52,9 +46,6 @@ index 0000000..977d7e8
 +      $(MAKE) -C dfalib -f Makefile.lnx clean
 +
 +.PHONY : FORCE clean
-diff --git a/fsck_hfs.tproj/dfalib/Makefile.lnx b/fsck_hfs.tproj/dfalib/Makefile.lnx
-new file mode 100644
-index 0000000..8c07196
 --- /dev/null
 +++ b/fsck_hfs.tproj/dfalib/Makefile.lnx
 @@ -0,0 +1,15 @@
@@ -73,9 +64,6 @@ index 0000000..8c07196
 +
 +clean:
 +      $(RM) $(OFILES) libdfa.a
-diff --git a/newfs_hfs.tproj/Makefile.lnx b/newfs_hfs.tproj/Makefile.lnx
-new file mode 100644
-index 0000000..58e6700
 --- /dev/null
 +++ b/newfs_hfs.tproj/Makefile.lnx
 @@ -0,0 +1,12 @@
index 0046c364f4da70c0a09e61ff605d70b2367478f7..e65cb765caf10c68e771611dd8f696bc6e50b15d 100644 (file)
@@ -29,8 +29,6 @@ Apple owned frameworks in a Debian system (and possibly others).
  21 files changed, 429 insertions(+), 85 deletions(-)
  create mode 100644 include/missing.h
 
-diff --git a/fsck_hfs.tproj/cache.c b/fsck_hfs.tproj/cache.c
-index be46195..527088a 100644
 --- a/fsck_hfs.tproj/cache.c
 +++ b/fsck_hfs.tproj/cache.c
 @@ -26,7 +26,11 @@
@@ -45,11 +43,9 @@ index be46195..527088a 100644
  #include <sys/uio.h>
  #include <unistd.h>
  #include <string.h>
-diff --git a/fsck_hfs.tproj/dfalib/BTree.c b/fsck_hfs.tproj/dfalib/BTree.c
-index edd8301..7ad9fe0 100644
 --- a/fsck_hfs.tproj/dfalib/BTree.c
 +++ b/fsck_hfs.tproj/dfalib/BTree.c
-@@ -1705,7 +1705,9 @@ OSStatus BTGetInformation        (SFCB                                   *filePtr,
+@@ -1705,7 +1705,9 @@ OSStatus BTGetInformation        (SFCB                                   *fil
                                                                 UInt16                                  version,
                                                                 BTreeInfoRec                   *info )
  {
@@ -59,8 +55,6 @@ index edd8301..7ad9fe0 100644
  
        BTreeControlBlockPtr    btreePtr;
  
-diff --git a/fsck_hfs.tproj/dfalib/BlockCache.c b/fsck_hfs.tproj/dfalib/BlockCache.c
-index 1bb952f..e3a28a2 100644
 --- a/fsck_hfs.tproj/dfalib/BlockCache.c
 +++ b/fsck_hfs.tproj/dfalib/BlockCache.c
 @@ -20,6 +20,9 @@
@@ -73,8 +67,6 @@ index 1bb952f..e3a28a2 100644
  #include "SRuntime.h"
  #include "Scavenger.h"
  #include "../cache.h"
-diff --git a/fsck_hfs.tproj/dfalib/SBTree.c b/fsck_hfs.tproj/dfalib/SBTree.c
-index 2fbcd1d..cd81b13 100644
 --- a/fsck_hfs.tproj/dfalib/SBTree.c
 +++ b/fsck_hfs.tproj/dfalib/SBTree.c
 @@ -322,7 +322,9 @@ ErrorExit:
@@ -87,8 +79,6 @@ index 2fbcd1d..cd81b13 100644
  
        OSStatus        result;
        UInt32          actualSectorsAdded;
-diff --git a/fsck_hfs.tproj/dfalib/SDevice.c b/fsck_hfs.tproj/dfalib/SDevice.c
-index bf6f61c..9a46023 100644
 --- a/fsck_hfs.tproj/dfalib/SDevice.c
 +++ b/fsck_hfs.tproj/dfalib/SDevice.c
 @@ -2,7 +2,7 @@
@@ -195,7 +185,7 @@ index bf6f61c..9a46023 100644
  
        if (devBlockSize != 512) {
                *numBlocks = (devBlockCount * (UInt64)devBlockSize) / 512;
-@@ -70,24 +108,24 @@ OSErr GetDeviceSize(int driveRefNum, UInt64 *numBlocks, UInt32 *blockSize)
+@@ -70,24 +108,24 @@ OSErr GetDeviceSize(int driveRefNum, UIn
        {
                /* return format list status code */
                kFmtLstCode = 6,
@@ -225,7 +215,7 @@ index bf6f61c..9a46023 100644
        ParamBlockRec   pb;
        FormatListRec   formatListRecords[kMaxFormatListRecs];
        DrvSts                  status;
-@@ -95,22 +133,22 @@ OSErr GetDeviceSize(int driveRefNum, UInt64 *numBlocks, UInt32 *blockSize)
+@@ -95,22 +133,22 @@ OSErr GetDeviceSize(int driveRefNum, UIn
        OSErr                   result;
        unsigned long   blocks                  = 0;
  
@@ -253,7 +243,7 @@ index bf6f61c..9a46023 100644
                /* Get the current disk's size. */
                for( formatListRecIndex = 0;
                         formatListRecIndex < pb.cntrlParam.csParam[0];
-@@ -131,7 +169,7 @@ OSErr GetDeviceSize(int driveRefNum, UInt64 *numBlocks, UInt32 *blockSize)
+@@ -131,7 +169,7 @@ OSErr GetDeviceSize(int driveRefNum, UIn
        else if ( driveQElementPtr->dQRefNum == (short)kSonyRefNum )
        {
                /* The drive is a non-SuperDrive floppy which only supports 400K and 800K disks */
@@ -262,7 +252,7 @@ index bf6f61c..9a46023 100644
                result = DriveStatus(driveQElementPtr->dQDrive, &status);
                if ( result == noErr )
                {
-@@ -140,11 +178,11 @@ OSErr GetDeviceSize(int driveRefNum, UInt64 *numBlocks, UInt32 *blockSize)
+@@ -140,11 +178,11 @@ OSErr GetDeviceSize(int driveRefNum, UIn
                                case kSingleSided:
                                        blocks = kSingleSidedSize;
                                        break;
@@ -276,7 +266,7 @@ index bf6f61c..9a46023 100644
                                default:                //      This should never happen
                                        result = paramErr;
                                        break;
-@@ -155,20 +193,20 @@ OSErr GetDeviceSize(int driveRefNum, UInt64 *numBlocks, UInt32 *blockSize)
+@@ -155,20 +193,20 @@ OSErr GetDeviceSize(int driveRefNum, UIn
        {
                /* The drive is not a floppy and it doesn't support ReturnFormatList */
                /* so use the dQDrvSz field(s) */
@@ -301,7 +291,7 @@ index bf6f61c..9a46023 100644
                        default:                //      This should never happen
                                result = paramErr;
                                break;
-@@ -177,7 +215,7 @@ OSErr GetDeviceSize(int driveRefNum, UInt64 *numBlocks, UInt32 *blockSize)
+@@ -177,7 +215,7 @@ OSErr GetDeviceSize(int driveRefNum, UIn
  
        *numBlocks = blocks;
        *blockSize = 512;
@@ -310,7 +300,7 @@ index bf6f61c..9a46023 100644
        return( result );
  #endif
  }
-@@ -188,7 +226,7 @@ OSErr DeviceRead(int device, int drive, void* buffer, SInt64 offset, UInt32 reqB
+@@ -188,7 +226,7 @@ OSErr DeviceRead(int device, int drive,
  #if BSD
        off_t seek_off;
        ssize_t nbytes;
@@ -319,11 +309,9 @@ index bf6f61c..9a46023 100644
        *actBytes = 0;
  
        seek_off = lseek(device, offset, SEEK_SET);
-diff --git a/fsck_hfs.tproj/dfalib/SKeyCompare.c b/fsck_hfs.tproj/dfalib/SKeyCompare.c
-index 46e145f..18d99c5 100644
 --- a/fsck_hfs.tproj/dfalib/SKeyCompare.c
 +++ b/fsck_hfs.tproj/dfalib/SKeyCompare.c
-@@ -454,7 +454,9 @@ SInt32 CompareExtentKeysPlus( const HFSPlusExtentKey *searchKey, const HFSPlusEx
+@@ -454,7 +454,9 @@ SInt32 CompareExtentKeysPlus( const HFSP
   * The name portion of the key is compared using a 16-bit binary comparison. 
   * This is called from the b-tree code.
   */
@@ -333,8 +321,6 @@ index 46e145f..18d99c5 100644
  SInt32
  CompareAttributeKeys(const AttributeKey *searchKey, const AttributeKey *trialKey)
  {
-diff --git a/fsck_hfs.tproj/dfalib/SRepair.c b/fsck_hfs.tproj/dfalib/SRepair.c
-index 01c1a10..8eb759c 100644
 --- a/fsck_hfs.tproj/dfalib/SRepair.c
 +++ b/fsck_hfs.tproj/dfalib/SRepair.c
 @@ -1617,7 +1617,9 @@ Output:
@@ -347,8 +333,6 @@ index 01c1a10..8eb759c 100644
  
        OSErr                                           err;
        HFSMasterDirectoryBlock         *mdb;
-diff --git a/fsck_hfs.tproj/dfalib/SRuntime.h b/fsck_hfs.tproj/dfalib/SRuntime.h
-index 646917b..770e3ef 100644
 --- a/fsck_hfs.tproj/dfalib/SRuntime.h
 +++ b/fsck_hfs.tproj/dfalib/SRuntime.h
 @@ -27,8 +27,11 @@
@@ -364,7 +348,7 @@ index 646917b..770e3ef 100644
  #include <stdlib.h>
  #include <string.h>
  #include <stdio.h>
-@@ -91,10 +94,12 @@ typedef const unsigned char *      ConstStr255Param;
+@@ -91,10 +94,12 @@ typedef const unsigned char *      ConstStr25
  
  typedef u_int32_t     HFSCatalogNodeID;
  
@@ -377,11 +361,9 @@ index 646917b..770e3ef 100644
  
  /* OS error codes */
  enum {
-diff --git a/fsck_hfs.tproj/dfalib/SUtils.c b/fsck_hfs.tproj/dfalib/SUtils.c
-index 72035f0..6e9253e 100644
 --- a/fsck_hfs.tproj/dfalib/SUtils.c
 +++ b/fsck_hfs.tproj/dfalib/SUtils.c
-@@ -380,7 +380,8 @@ void       InvalidateCalculatedVolumeBitMap( SGlobPtr GPtr )
+@@ -380,7 +380,8 @@ void       InvalidateCalculatedVolumeBitMap( S
  //                            GPtr->realVCB                   Real in-memory vcb
  //------------------------------------------------------------------------------
  
@@ -400,8 +382,6 @@ index 72035f0..6e9253e 100644
  
  
  /*-------------------------------------------------------------------------------
-diff --git a/fsck_hfs.tproj/dfalib/SVerify2.c b/fsck_hfs.tproj/dfalib/SVerify2.c
-index 6a47935..c68f3d8 100644
 --- a/fsck_hfs.tproj/dfalib/SVerify2.c
 +++ b/fsck_hfs.tproj/dfalib/SVerify2.c
 @@ -32,7 +32,9 @@
@@ -414,7 +394,7 @@ index 6a47935..c68f3d8 100644
  
  #include "BTree.h"
  #include "BTreePrivate.h"
-@@ -1354,8 +1356,13 @@ OSErr CompareVolumeHeader( SGlobPtr GPtr, HFSPlusVolumeHeader *volumeHeader )
+@@ -1354,8 +1356,13 @@ OSErr CompareVolumeHeader( SGlobPtr GPtr
         * clump size for read-only media is irrelevant we skip the clump size 
         * check to avoid non useful warnings. 
         */
@@ -428,8 +408,6 @@ index 6a47935..c68f3d8 100644
        if ( isWriteable != 0 && 
                 volumeHeader->catalogFile.clumpSize != vcb->vcbCatalogFile->fcbClumpSize ) {
                PrintError(GPtr, E_InvalidClumpSize, 0);
-diff --git a/fsck_hfs.tproj/dfalib/Scavenger.h b/fsck_hfs.tproj/dfalib/Scavenger.h
-index cf53970..edb3a80 100644
 --- a/fsck_hfs.tproj/dfalib/Scavenger.h
 +++ b/fsck_hfs.tproj/dfalib/Scavenger.h
 @@ -37,11 +37,16 @@
@@ -450,7 +428,7 @@ index cf53970..edb3a80 100644
  
  #ifdef __cplusplus
  extern        "C" {
-@@ -1465,4 +1470,8 @@ extern int       AllocateContigBitmapBits (SVCB *vcb, UInt32 numBlocks, UInt32 *actua
+@@ -1465,4 +1470,8 @@ extern int       AllocateContigBitmapBits (SV
  };
  #endif
  
@@ -459,8 +437,6 @@ index cf53970..edb3a80 100644
 +#endif */
 +
  #endif /* __SCAVENGER__ */
-diff --git a/fsck_hfs.tproj/dfalib/hfs_endian.c b/fsck_hfs.tproj/dfalib/hfs_endian.c
-index 7fa5385..69500c1 100755
 --- a/fsck_hfs.tproj/dfalib/hfs_endian.c
 +++ b/fsck_hfs.tproj/dfalib/hfs_endian.c
 @@ -31,7 +31,11 @@
@@ -475,8 +451,6 @@ index 7fa5385..69500c1 100755
  #include <hfs/hfs_format.h>
  
  #include "Scavenger.h"
-diff --git a/fsck_hfs.tproj/dfalib/hfs_endian.h b/fsck_hfs.tproj/dfalib/hfs_endian.h
-index 52d0c3a..0763d9d 100755
 --- a/fsck_hfs.tproj/dfalib/hfs_endian.h
 +++ b/fsck_hfs.tproj/dfalib/hfs_endian.h
 @@ -27,9 +27,14 @@
@@ -495,8 +469,6 @@ index 52d0c3a..0763d9d 100755
  #include "SRuntime.h"
  
  /*********************/
-diff --git a/fsck_hfs.tproj/fsck_hfs.c b/fsck_hfs.tproj/fsck_hfs.c
-index 90532fd..f1a18bd 100644
 --- a/fsck_hfs.tproj/fsck_hfs.c
 +++ b/fsck_hfs.tproj/fsck_hfs.c
 @@ -24,10 +24,14 @@
@@ -644,7 +616,7 @@ index 90532fd..f1a18bd 100644
  ExitThisRoutine:
        if (lflag) {
            fcntl(fs_fd, F_THAW_FS, NULL);
-@@ -401,16 +423,18 @@ setup( char *dev, int *blockDevice_fdPtr, int *canWritePtr )
+@@ -401,16 +423,18 @@ setup( char *dev, int *blockDevice_fdPtr
        fswritefd = -1;
        *blockDevice_fdPtr = -1;
        *canWritePtr = 0;
@@ -664,7 +636,7 @@ index 90532fd..f1a18bd 100644
        if ((fsreadfd = open(dev, O_RDONLY)) < 0) {
                printf("Can't open %s: %s\n", dev, strerror(errno));
                return (0);
-@@ -419,7 +443,7 @@ setup( char *dev, int *blockDevice_fdPtr, int *canWritePtr )
+@@ -419,7 +443,7 @@ setup( char *dev, int *blockDevice_fdPtr
        /* attempt to get write access to the block device and if not check if volume is */
        /* mounted read-only.  */
        getWriteAccess( dev, blockDevice_fdPtr, canWritePtr );
@@ -673,7 +645,7 @@ index 90532fd..f1a18bd 100644
        if (preen == 0 && !guiControl)
                printf("** %s", dev);
        if (nflag || (fswritefd = open(dev, O_WRONLY)) < 0) {
-@@ -433,10 +457,14 @@ setup( char *dev, int *blockDevice_fdPtr, int *canWritePtr )
+@@ -433,10 +457,14 @@ setup( char *dev, int *blockDevice_fdPtr
                printf("\n");
  
        /* Get device block size to initialize cache */
@@ -688,7 +660,7 @@ index 90532fd..f1a18bd 100644
  
         /* calculate the cache block size and total blocks */
        if (CalculateCacheSize(userCacheSize, &cacheBlockSize, &cacheTotalBlocks, debug) != 0) {
-@@ -463,11 +491,15 @@ setup( char *dev, int *blockDevice_fdPtr, int *canWritePtr )
+@@ -463,11 +491,15 @@ setup( char *dev, int *blockDevice_fdPtr
  
  static void getWriteAccess( char *dev, int *blockDevice_fdPtr, int *canWritePtr )
  {
@@ -704,7 +676,7 @@ index 90532fd..f1a18bd 100644
        void *                          myNamePtr;
  
        myPtr = NULL;
-@@ -490,6 +522,9 @@ static void getWriteAccess( char *dev, int *blockDevice_fdPtr, int *canWritePtr
+@@ -490,6 +522,9 @@ static void getWriteAccess( char *dev, i
        }
        
        // get count of mounts then get the info for each 
@@ -714,7 +686,7 @@ index 90532fd..f1a18bd 100644
        myMountsCount = getfsstat( NULL, 0, MNT_NOWAIT );
        if ( myMountsCount < 0 )
                goto ExitThisRoutine;
-@@ -513,8 +548,8 @@ static void getWriteAccess( char *dev, int *blockDevice_fdPtr, int *canWritePtr
+@@ -513,8 +548,8 @@ static void getWriteAccess( char *dev, i
                }
                myBufPtr++;
        }
@@ -725,8 +697,6 @@ index 90532fd..f1a18bd 100644
  ExitThisRoutine:
        if ( myPtr != NULL )
                free( myPtr );
-diff --git a/fsck_hfs.tproj/utilities.c b/fsck_hfs.tproj/utilities.c
-index ee41bef..8e1cd77 100644
 --- a/fsck_hfs.tproj/utilities.c
 +++ b/fsck_hfs.tproj/utilities.c
 @@ -183,12 +183,14 @@ retry:
@@ -757,9 +727,6 @@ index ee41bef..8e1cd77 100644
        (void)strcat(rawbuf, &dp[1]);
  
        return (rawbuf);
-diff --git a/include/missing.h b/include/missing.h
-new file mode 100644
-index 0000000..0a859c4
 --- /dev/null
 +++ b/include/missing.h
 @@ -0,0 +1,114 @@
@@ -877,8 +844,6 @@ index 0000000..0a859c4
 +#define KAUTH_FILESEC_XATTR "com.apple.system.Security"
 +
 +#endif
-diff --git a/newfs_hfs.tproj/hfs_endian.c b/newfs_hfs.tproj/hfs_endian.c
-index 117b7f8..fdf7353 100644
 --- a/newfs_hfs.tproj/hfs_endian.c
 +++ b/newfs_hfs.tproj/hfs_endian.c
 @@ -30,7 +30,12 @@
@@ -894,8 +859,6 @@ index 117b7f8..fdf7353 100644
  #include <hfs/hfs_format.h>
  
  #include "hfs_endian.h"
-diff --git a/newfs_hfs.tproj/hfs_endian.h b/newfs_hfs.tproj/hfs_endian.h
-index 8d9d01d..5c7ff57 100644
 --- a/newfs_hfs.tproj/hfs_endian.h
 +++ b/newfs_hfs.tproj/hfs_endian.h
 @@ -29,7 +29,12 @@
@@ -911,8 +874,6 @@ index 8d9d01d..5c7ff57 100644
  
  /*********************/
  /* BIG ENDIAN Macros */
-diff --git a/newfs_hfs.tproj/makehfs.c b/newfs_hfs.tproj/makehfs.c
-index 085222f..7609779 100644
 --- a/newfs_hfs.tproj/makehfs.c
 +++ b/newfs_hfs.tproj/makehfs.c
 @@ -31,10 +31,16 @@
@@ -948,7 +909,7 @@ index 085222f..7609779 100644
  
  #include <hfs/hfs_format.h>
  #include <hfs/hfs_mount.h>
-@@ -129,7 +136,9 @@ static UInt32 Largest __P((UInt32 a, UInt32 b, UInt32 c, UInt32 d ));
+@@ -129,7 +136,9 @@ static UInt32 Largest __P((UInt32 a, UIn
  static void MarkBitInAllocationBuffer __P((HFSPlusVolumeHeader *header,
                UInt32 allocationBlock, void* sectorBuffer, UInt32 *sector));
  
@@ -958,7 +919,7 @@ index 085222f..7609779 100644
  
  static UInt32 UTCToLocal __P((UInt32 utcTime));
  
-@@ -158,11 +167,14 @@ void SETOFFSET (void *buffer, UInt16 btNodeSize, SInt16 recOffset, SInt16 vecOff
+@@ -158,11 +167,14 @@ void SETOFFSET (void *buffer, UInt16 btN
  
  #define ROUNDUP(x, u) (((x) % (u) == 0) ? (x) : ((x)/(u) + 1) * (u))
  
@@ -975,7 +936,7 @@ index 085222f..7609779 100644
  /*
   * make_hfs
   *    
-@@ -528,6 +540,7 @@ InitMDB(hfsparams_t *defaults, UInt32 driveBlocks, HFS_MDB *mdbp)
+@@ -528,6 +540,7 @@ InitMDB(hfsparams_t *defaults, UInt32 dr
         * Map UTF-8 input into a Mac encoding.
         * On conversion errors "untitled" is used as a fallback.
         */
@@ -983,7 +944,7 @@ index 085222f..7609779 100644
        {
                UniChar unibuf[kHFSMaxVolumeNameChars];
                CFStringRef cfstr;
-@@ -553,7 +566,11 @@ InitMDB(hfsparams_t *defaults, UInt32 driveBlocks, HFS_MDB *mdbp)
+@@ -553,7 +566,11 @@ InitMDB(hfsparams_t *defaults, UInt32 dr
                bcopy(&mdbp->drVN[1], defaults->volumeName, mdbp->drVN[0]);
                defaults->volumeName[mdbp->drVN[0]] = '\0';
        }
@@ -995,7 +956,7 @@ index 085222f..7609779 100644
        mdbp->drFndrInfo[4] = SET_HFS_TEXT_ENCODING(defaults->encodingHint);
  
        mdbp->drWrCnt = kWriteSeqNum;
-@@ -1100,9 +1117,11 @@ InitCatalogRoot_HFSPlus(const hfsparams_t *dp, const HFSPlusVolumeHeader *header
+@@ -1100,9 +1117,11 @@ InitCatalogRoot_HFSPlus(const hfsparams_
        UInt16                                  nodeSize;
        SInt16                                  offset;
        UInt32                                  unicodeBytes;
@@ -1007,7 +968,7 @@ index 085222f..7609779 100644
        int index = 0;
  
        nodeSize = dp->catalogNodeSize;
-@@ -1122,7 +1141,9 @@ InitCatalogRoot_HFSPlus(const hfsparams_t *dp, const HFSPlusVolumeHeader *header
+@@ -1122,7 +1141,9 @@ InitCatalogRoot_HFSPlus(const hfsparams_
         * First record is always the root directory...
         */
        ckp = (HFSPlusCatalogKey *)((UInt8 *)buffer + offset);
@@ -1018,7 +979,7 @@ index 085222f..7609779 100644
        /* Use CFString functions to get a HFSPlus Canonical name */
        cfstr = CFStringCreateWithCString(kCFAllocatorDefault, (char *)dp->volumeName, kCFStringEncodingUTF8);
        cfOK = _CFStringGetFileSystemRepresentation(cfstr, canonicalName, sizeof(canonicalName));
-@@ -1139,6 +1160,7 @@ InitCatalogRoot_HFSPlus(const hfsparams_t *dp, const HFSPlusVolumeHeader *header
+@@ -1139,6 +1160,7 @@ InitCatalogRoot_HFSPlus(const hfsparams_
                      dp->volumeName, kDefaultVolumeNameStr);
        }
        CFRelease(cfstr);
@@ -1026,7 +987,7 @@ index 085222f..7609779 100644
        ckp->nodeName.length = SWAP_BE16 (ckp->nodeName.length);
  
        unicodeBytes = sizeof(UniChar) * SWAP_BE16 (ckp->nodeName.length);
-@@ -1821,15 +1843,15 @@ WriteBuffer(const DriveInfo *driveInfo, UInt64 startingSector, UInt32 byteCount,
+@@ -1821,15 +1843,15 @@ WriteBuffer(const DriveInfo *driveInfo,
        off_t sector;
  
        if ((byteCount % driveInfo->sectorSize) != 0)
@@ -1045,7 +1006,7 @@ index 085222f..7609779 100644
  }
  
  
-@@ -1913,7 +1935,7 @@ DivideAndRoundUp(UInt32 numerator, UInt32 denominator)
+@@ -1913,7 +1935,7 @@ DivideAndRoundUp(UInt32 numerator, UInt3
        return quotient;
  }
  
@@ -1063,7 +1024,7 @@ index 085222f..7609779 100644
  
  static int
  ConvertUTF8toUnicode(const UInt8* source, UInt32 bufsize, UniChar* unibuf,
-@@ -2006,6 +2028,9 @@ ConvertUTF8toUnicode(const UInt8* source, UInt32 bufsize, UniChar* unibuf,
+@@ -2006,6 +2028,9 @@ ConvertUTF8toUnicode(const UInt8* source
  static int
  getencodinghint(unsigned char *name)
  {
@@ -1083,7 +1044,7 @@ index 085222f..7609779 100644
  }
  
  
-@@ -2034,12 +2060,14 @@ void GenerateVolumeUUID(VolumeUUID *newVolumeID) {
+@@ -2034,12 +2060,14 @@ void GenerateVolumeUUID(VolumeUUID *newV
        unsigned char digest[20];
        time_t now;
        clock_t uptime;
@@ -1101,7 +1062,7 @@ index 085222f..7609779 100644
        
        do {
                /* Initialize the SHA-1 context for processing: */
-@@ -2052,52 +2080,58 @@ void GenerateVolumeUUID(VolumeUUID *newVolumeID) {
+@@ -2052,52 +2080,58 @@ void GenerateVolumeUUID(VolumeUUID *newV
                SHA1_Update(&context, &uptime, sizeof(uptime));
                
                /* The kernel's boot time: */
@@ -1166,8 +1127,6 @@ index 085222f..7609779 100644
                /* The current GMT (26 ASCII characters): */
                time(&now);
                strncpy(randomInputBuffer, asctime(gmtime(&now)), 26);  /* "Mon Mar 27 13:46:26 2000" */
-diff --git a/newfs_hfs.tproj/newfs_hfs.c b/newfs_hfs.tproj/newfs_hfs.c
-index c4176a9..bf2ed21 100644
 --- a/newfs_hfs.tproj/newfs_hfs.c
 +++ b/newfs_hfs.tproj/newfs_hfs.c
 @@ -38,8 +38,13 @@
@@ -1273,7 +1232,7 @@ index c4176a9..bf2ed21 100644
        }
  
        exit(0);
-@@ -506,7 +527,9 @@ hfs_newfs(char *device, int forceHFS, int isRaw)
+@@ -506,7 +527,9 @@ hfs_newfs(char *device, int forceHFS, in
        int fso = 0;
        int retval = 0;
        hfsparams_t defaults = {0};
@@ -1283,7 +1242,7 @@ index c4176a9..bf2ed21 100644
  
        if (gPartitionSize) {
                        dip.sectorSize = kBytesPerSector;
-@@ -526,6 +549,34 @@ hfs_newfs(char *device, int forceHFS, int isRaw)
+@@ -526,6 +549,34 @@ hfs_newfs(char *device, int forceHFS, in
        
                if (fstat( fso, &stbuf) < 0)
                        fatal("%s: %s", device, strerror(errno));
@@ -1318,7 +1277,7 @@ index c4176a9..bf2ed21 100644
        
                if (ioctl(fso, DKIOCGETBLOCKCOUNT, &dip.totalSectors) < 0)
                        fatal("%s: %s", device, strerror(errno));
-@@ -537,11 +588,14 @@ hfs_newfs(char *device, int forceHFS, int isRaw)
+@@ -537,11 +588,14 @@ hfs_newfs(char *device, int forceHFS, in
                        dip.sectorsPerIO = (128 * 1024) / dip.sectorSize;  /* use 128K as default */
                else
                        dip.sectorsPerIO = MIN(maxSectorsPerIO, (1024 * 1024) / dip.sectorSize);
@@ -1333,7 +1292,7 @@ index c4176a9..bf2ed21 100644
                if (dip.sectorSize != kBytesPerSector) {
                        if (isRaw) {
                                close(fso);
-@@ -556,7 +610,9 @@ hfs_newfs(char *device, int forceHFS, int isRaw)
+@@ -556,7 +610,9 @@ hfs_newfs(char *device, int forceHFS, in
                                dip.sectorSize = kBytesPerSector;
                        }
                }
@@ -1343,8 +1302,6 @@ index c4176a9..bf2ed21 100644
        dip.sectorOffset = 0;
        time(&createtime);
  
-diff --git a/newfs_hfs.tproj/newfs_hfs.h b/newfs_hfs.tproj/newfs_hfs.h
-index 968ff10..5680a34 100644
 --- a/newfs_hfs.tproj/newfs_hfs.h
 +++ b/newfs_hfs.tproj/newfs_hfs.h
 @@ -19,8 +19,12 @@
index 36b94175ea28c84837f60380e689b8672f191e6d..02b4a6c2c5b2af030c8cc0d0dab26ca599b55e68 100644 (file)
@@ -15,9 +15,6 @@ the data structures used by the programs that manipulate the filesystems.
  create mode 100644 include/hfs/hfs_mount.h
  create mode 100644 include/sys/appleapiopts.h
 
-diff --git a/include/bitstring.h b/include/bitstring.h
-new file mode 100644
-index 0000000..fbecfbe
 --- /dev/null
 +++ b/include/bitstring.h
 @@ -0,0 +1,164 @@
@@ -185,9 +182,6 @@ index 0000000..fbecfbe
 +}
 +
 +#endif /* !_BITSTRING_H_ */
-diff --git a/include/hfs/hfs_format.h b/include/hfs/hfs_format.h
-new file mode 100644
-index 0000000..d820329
 --- /dev/null
 +++ b/include/hfs/hfs_format.h
 @@ -0,0 +1,689 @@
@@ -880,9 +874,6 @@ index 0000000..d820329
 +#endif
 +
 +#endif /* __HFS_FORMAT__ */
-diff --git a/include/hfs/hfs_mount.h b/include/hfs/hfs_mount.h
-new file mode 100644
-index 0000000..ad729f2
 --- /dev/null
 +++ b/include/hfs/hfs_mount.h
 @@ -0,0 +1,78 @@
@@ -964,9 +955,6 @@ index 0000000..ad729f2
 +#endif /* __APPLE_API_UNSTABLE */
 +
 +#endif /* ! _HFS_MOUNT_H_ */
-diff --git a/include/sys/appleapiopts.h b/include/sys/appleapiopts.h
-new file mode 100644
-index 0000000..4d2061f
 --- /dev/null
 +++ b/include/sys/appleapiopts.h
 @@ -0,0 +1,52 @@
index 57f6011084addcf572658861a3e1dcab227557d4..27912ef1739270c9787db5a8091152621d0a4057 100644 (file)
@@ -9,8 +9,6 @@ Subject: Fix compilation on 64-bit arches
  fsck_hfs.tproj/dfalib/hfs_endian.c   |  2 +-
  4 files changed, 16 insertions(+), 13 deletions(-)
 
-diff --git a/fsck_hfs.tproj/dfalib/BTreePrivate.h b/fsck_hfs.tproj/dfalib/BTreePrivate.h
-index 058c75b..2fc2f28 100644
 --- a/fsck_hfs.tproj/dfalib/BTreePrivate.h
 +++ b/fsck_hfs.tproj/dfalib/BTreePrivate.h
 @@ -104,6 +104,9 @@ typedef enum {
@@ -23,7 +21,7 @@ index 058c75b..2fc2f28 100644
  typedef struct BTreeControlBlock {                                    // fields specific to BTree CBs
  
        UInt8           keyCompareType;   /* Key string Comparison Type */
-@@ -144,7 +147,7 @@ typedef struct BTreeControlBlock {                                 // fields specific to BTree CBs
+@@ -144,7 +147,7 @@ typedef struct BTreeControlBlock {                                 /
        UInt32                                           numPossibleHints;      // Looks like a formated hint
        UInt32                                           numValidHints;         // Hint used to find correct record.
        
@@ -32,8 +30,6 @@ index 058c75b..2fc2f28 100644
        SFCB                                            *fcbPtr;                // fcb of btree file
        
  } BTreeControlBlock, *BTreeControlBlockPtr;
-diff --git a/fsck_hfs.tproj/dfalib/SControl.c b/fsck_hfs.tproj/dfalib/SControl.c
-index 37eb242..4ce9e16 100644
 --- a/fsck_hfs.tproj/dfalib/SControl.c
 +++ b/fsck_hfs.tproj/dfalib/SControl.c
 @@ -1034,7 +1034,7 @@ static int ScavTerm( SGlobPtr GPtr )
@@ -70,11 +66,9 @@ index 37eb242..4ce9e16 100644
                        }
                }
        }
-diff --git a/fsck_hfs.tproj/dfalib/SVerify1.c b/fsck_hfs.tproj/dfalib/SVerify1.c
-index c272d4d..a273bf3 100644
 --- a/fsck_hfs.tproj/dfalib/SVerify1.c
 +++ b/fsck_hfs.tproj/dfalib/SVerify1.c
-@@ -789,8 +789,8 @@ OSErr      CreateExtentsBTreeControlBlock( SGlobPtr GPtr )
+@@ -789,8 +789,8 @@ OSErr      CreateExtentsBTreeControlBlock( SG
        //
        //      set up our DFA extended BTCB area.  Will we have enough memory on all HFS+ volumes.
        //
@@ -85,7 +79,7 @@ index c272d4d..a273bf3 100644
                err = R_NoMem;
                goto exit;
        }
-@@ -1144,8 +1144,8 @@ OSErr    CreateCatalogBTreeControlBlock( SGlobPtr GPtr )
+@@ -1144,8 +1144,8 @@ OSErr    CreateCatalogBTreeControlBlock( SG
        //      set up our DFA extended BTCB area.  Will we have enough memory on all HFS+ volumes.
        //
  
@@ -96,7 +90,7 @@ index c272d4d..a273bf3 100644
                err = R_NoMem;
                goto exit;
        }
-@@ -1779,8 +1779,8 @@ OSErr    CreateAttributesBTreeControlBlock( SGlobPtr GPtr )
+@@ -1779,8 +1779,8 @@ OSErr    CreateAttributesBTreeControlBlock(
        //
        //      set up our DFA extended BTCB area.  Will we have enough memory on all HFS+ volumes.
        //
@@ -107,7 +101,7 @@ index c272d4d..a273bf3 100644
                err = R_NoMem;
                goto exit;
        }
-@@ -1793,7 +1793,7 @@ OSErr    CreateAttributesBTreeControlBlock( SGlobPtr GPtr )
+@@ -1793,7 +1793,7 @@ OSErr    CreateAttributesBTreeControlBlock(
        }
        else
        {
@@ -116,8 +110,6 @@ index c272d4d..a273bf3 100644
                        err = R_NoMem;
                        goto exit;
                }
-diff --git a/fsck_hfs.tproj/dfalib/hfs_endian.c b/fsck_hfs.tproj/dfalib/hfs_endian.c
-index 69500c1..3cc9eb4 100755
 --- a/fsck_hfs.tproj/dfalib/hfs_endian.c
 +++ b/fsck_hfs.tproj/dfalib/hfs_endian.c
 @@ -437,7 +437,7 @@ hfs_swap_HFSPlusBTInternalNode (
index 318fd603a20c766d70c26213356e7605114015c6..81714e9dc56aa0ddad0cabe40794ea9afe2cd59f 100644 (file)
@@ -9,11 +9,9 @@ character of them.
  fsck_hfs.tproj/dfalib/SBTree.c       | 14 +++++------
  2 files changed, 31 insertions(+), 31 deletions(-)
 
-diff --git a/fsck_hfs.tproj/dfalib/BTreeTreeOps.c b/fsck_hfs.tproj/dfalib/BTreeTreeOps.c
-index b812b14..37fb170 100644
 --- a/fsck_hfs.tproj/dfalib/BTreeTreeOps.c
 +++ b/fsck_hfs.tproj/dfalib/BTreeTreeOps.c
-@@ -223,7 +223,7 @@ OSStatus   SearchTree      (BTreeControlBlockPtr    btreePtr,
+@@ -223,7 +223,7 @@ OSStatus   SearchTree      (BTreeControlBlockPt
          //
          if (curNodeNum == 0)
          {
@@ -22,7 +20,7 @@ index b812b14..37fb170 100644
              err = fsBTInvalidNodeErr;
              goto ErrorExit;
          }
-@@ -433,7 +433,7 @@ OSStatus   InsertLevel (BTreeControlBlockPtr                btreePtr,
+@@ -433,7 +433,7 @@ OSStatus   InsertLevel (BTreeControlBlockP
                M_ExitOnError (err);
                
                if ( DEBUG_BUILD && updateParent && newRoot )
@@ -31,7 +29,7 @@ index b812b14..37fb170 100644
        }
  
        //////////////////////// Update Parent(s) ///////////////////////////////
-@@ -448,7 +448,7 @@ OSStatus   InsertLevel (BTreeControlBlockPtr                btreePtr,
+@@ -448,7 +448,7 @@ OSStatus   InsertLevel (BTreeControlBlockP
                
                secondaryKey = nil;
                
@@ -40,7 +38,7 @@ index b812b14..37fb170 100644
  
                ++level;
  
-@@ -456,7 +456,7 @@ OSStatus   InsertLevel (BTreeControlBlockPtr                btreePtr,
+@@ -456,7 +456,7 @@ OSStatus   InsertLevel (BTreeControlBlockP
                index = treePathTable [level].index;
                parentNodeNum = treePathTable [level].node;
  
@@ -49,7 +47,7 @@ index b812b14..37fb170 100644
  
                err = GetNode (btreePtr, parentNodeNum, &parentNode);   // released as target node in next level up
                M_ExitOnError (err);
-@@ -470,7 +470,7 @@ OSStatus   InsertLevel (BTreeControlBlockPtr                btreePtr,
+@@ -470,7 +470,7 @@ OSStatus   InsertLevel (BTreeControlBlockP
                {
                        //¥¥Êdebug: check if ptr == targetNodeNum
                        GetRecordByIndex (btreePtr, parentNode.buffer, index, &keyPtr, &recPtr, &recSize);
@@ -67,7 +65,7 @@ index b812b14..37fb170 100644
  
        return  err;
  
-@@ -566,7 +566,7 @@ static OSErr       InsertNode      (BTreeControlBlockPtr    btreePtr,
+@@ -566,7 +566,7 @@ static OSErr       InsertNode      (BTreeControlBlo
  
        *rootSplit = false;
        
@@ -76,7 +74,7 @@ index b812b14..37fb170 100644
        
        leftNodeNum = ((NodeDescPtr) targetNode->buffer)->bLink;
        rightNodeNum = ((NodeDescPtr) targetNode->buffer)->fLink;
-@@ -606,7 +606,7 @@ static OSErr       InsertNode      (BTreeControlBlockPtr    btreePtr,
+@@ -606,7 +606,7 @@ static OSErr       InsertNode      (BTreeControlBlo
        
        if ( leftNodeNum > 0 )
        {
@@ -85,7 +83,7 @@ index b812b14..37fb170 100644
  
                if ( siblingNode->buffer == nil )
                {
-@@ -614,7 +614,7 @@ static OSErr       InsertNode      (BTreeControlBlockPtr    btreePtr,
+@@ -614,7 +614,7 @@ static OSErr       InsertNode      (BTreeControlBlo
                        M_ExitOnError (err);
                }
  
@@ -94,7 +92,7 @@ index b812b14..37fb170 100644
  
                if ( !key->skipRotate )         // are rotates allowed?
                {
-@@ -703,7 +703,7 @@ OSStatus   DeleteTree                      (BTreeControlBlockPtr            btreePtr,
+@@ -703,7 +703,7 @@ OSStatus   DeleteTree                      (BTreeControlBlock
  
        targetNodeNum = treePathTable[level].node;
        targetNodePtr = targetNode->buffer;
@@ -103,7 +101,7 @@ index b812b14..37fb170 100644
  
        DeleteRecord (btreePtr, targetNodePtr, index);
                
-@@ -797,7 +797,7 @@ OSStatus   DeleteTree                      (BTreeControlBlockPtr            btreePtr,
+@@ -797,7 +797,7 @@ OSStatus   DeleteTree                      (BTreeControlBlock
                         
                        //¥¥Êdebug: check if ptr == targetNodeNum
                        GetRecordByIndex (btreePtr, parentNode.buffer, index, &keyPtr, &recPtr, &recSize);
@@ -112,7 +110,7 @@ index b812b14..37fb170 100644
                        
                        // need to delete and re-insert this parent key/ptr
                        DeleteRecord (btreePtr, parentNode.buffer, index);
-@@ -1018,7 +1018,7 @@ static OSStatus  RotateLeft              (BTreeControlBlockPtr            btreePtr,
+@@ -1018,7 +1018,7 @@ static OSStatus  RotateLeft              (BTreeContro
                                                                                keyPtr, keyLength, recPtr, recSize);
                        if ( !didItFit )
                        {
@@ -121,7 +119,7 @@ index b812b14..37fb170 100644
                                err = fsBTBadRotateErr;
                                goto ErrorExit;
                        }
-@@ -1031,7 +1031,7 @@ static OSStatus  RotateLeft              (BTreeControlBlockPtr            btreePtr,
+@@ -1031,7 +1031,7 @@ static OSStatus  RotateLeft              (BTreeContro
                        didItFit = RotateRecordLeft (btreePtr, leftNode, rightNode);
                        if ( !didItFit )
                        {
@@ -130,7 +128,7 @@ index b812b14..37fb170 100644
                                err = fsBTBadRotateErr;
                                goto ErrorExit;
                        }
-@@ -1048,7 +1048,7 @@ static OSStatus  RotateLeft              (BTreeControlBlockPtr            btreePtr,
+@@ -1048,7 +1048,7 @@ static OSStatus  RotateLeft              (BTreeContro
                                                                        keyPtr, keyLength, recPtr, recSize);
                if ( !didItFit )
                {
@@ -139,7 +137,7 @@ index b812b14..37fb170 100644
                        err = fsBTBadRotateErr;
                        goto ErrorExit;
                }
-@@ -1117,7 +1117,7 @@ static OSStatus  SplitLeft               (BTreeControlBlockPtr            btreePtr,
+@@ -1117,7 +1117,7 @@ static OSStatus  SplitLeft               (BTreeControl
        right = rightNode->buffer;
        left  = leftNode->buffer;
        
@@ -148,7 +146,7 @@ index b812b14..37fb170 100644
        
        //¥¥ type should be kLeafNode or kIndexNode
        
-@@ -1240,8 +1240,8 @@ static OSStatus  AddNewRootNode  (BTreeControlBlockPtr    btreePtr,
+@@ -1240,8 +1240,8 @@ static OSStatus  AddNewRootNode  (BTreeCon
        Boolean                         didItFit;
        UInt16                          keyLength;      
        
@@ -159,7 +157,7 @@ index b812b14..37fb170 100644
        
        
        /////////////////////// Initialize New Root Node ////////////////////////////
-@@ -1264,7 +1264,7 @@ static OSStatus  AddNewRootNode  (BTreeControlBlockPtr    btreePtr,
+@@ -1264,7 +1264,7 @@ static OSStatus  AddNewRootNode  (BTreeCon
        didItFit = InsertKeyRecord ( btreePtr, rootNode.buffer, 0, keyPtr, keyLength,
                                                                 (UInt8 *) &rightNode->bLink, 4 );
  
@@ -168,7 +166,7 @@ index b812b14..37fb170 100644
  
  
        //////////////////// Insert Right Node Index Record /////////////////////////
-@@ -1275,7 +1275,7 @@ static OSStatus  AddNewRootNode  (BTreeControlBlockPtr    btreePtr,
+@@ -1275,7 +1275,7 @@ static OSStatus  AddNewRootNode  (BTreeCon
        didItFit = InsertKeyRecord ( btreePtr, rootNode.buffer, 1, keyPtr, keyLength,
                                                                 (UInt8 *) &leftNode->fLink, 4 );
  
@@ -177,7 +175,7 @@ index b812b14..37fb170 100644
  
  
  #if DEBUG_TREEOPS
-@@ -1355,7 +1355,7 @@ static OSStatus  SplitRight              (BTreeControlBlockPtr            btreePtr,
+@@ -1355,7 +1355,7 @@ static OSStatus  SplitRight              (BTreeContro
        }
        rightPtr = rightNodePtr->buffer;
        
@@ -186,7 +184,7 @@ index b812b14..37fb170 100644
        
        //¥¥ type should be kLeafNode or kIndexNode
        
-@@ -1557,7 +1557,7 @@ static OSStatus  RotateRight             (BTreeControlBlockPtr            btreePtr,
+@@ -1557,7 +1557,7 @@ static OSStatus  RotateRight             (BTreeContr
                                                                        keyPtr, keyLength, recPtr, recSize);
                if ( !didItFit )
                {
@@ -195,7 +193,7 @@ index b812b14..37fb170 100644
                        err = fsBTBadRotateErr;
                        goto ErrorExit;
                }
-@@ -1572,7 +1572,7 @@ static OSStatus  RotateRight             (BTreeControlBlockPtr            btreePtr,
+@@ -1572,7 +1572,7 @@ static OSStatus  RotateRight             (BTreeContr
                didItFit = RotateRecordRight( btreePtr, leftNodePtr, rightNodePtr );
                if ( !didItFit )
                {
@@ -204,7 +202,7 @@ index b812b14..37fb170 100644
                        err = fsBTBadRotateErr;
                        goto ErrorExit;
                }
-@@ -1583,7 +1583,7 @@ static OSStatus  RotateRight             (BTreeControlBlockPtr            btreePtr,
+@@ -1583,7 +1583,7 @@ static OSStatus  RotateRight             (BTreeContr
                                                                                keyPtr, keyLength, recPtr, recSize);
                        if ( !didItFit )
                        {
@@ -213,7 +211,7 @@ index b812b14..37fb170 100644
                                err = fsBTBadRotateErr;
                                goto ErrorExit;
                        }
-@@ -1607,7 +1607,7 @@ static OSStatus  RotateRight             (BTreeControlBlockPtr            btreePtr,
+@@ -1607,7 +1607,7 @@ static OSStatus  RotateRight             (BTreeContr
                                                                        keyPtr, keyLength, recPtr, recSize);
                if ( !didItFit )
                {
@@ -222,11 +220,9 @@ index b812b14..37fb170 100644
                        err = fsBTBadRotateErr;
                        goto ErrorExit;
                }
-diff --git a/fsck_hfs.tproj/dfalib/SBTree.c b/fsck_hfs.tproj/dfalib/SBTree.c
-index cd81b13..eeb4e8c 100644
 --- a/fsck_hfs.tproj/dfalib/SBTree.c
 +++ b/fsck_hfs.tproj/dfalib/SBTree.c
-@@ -103,7 +103,7 @@ OSErr SearchBTreeRecord(SFCB *fcb, const void* key, UInt32 hint, void* foundKey,
+@@ -103,7 +103,7 @@ OSErr SearchBTreeRecord(SFCB *fcb, const
                        CopyMemory(&resultIterator->key, foundKey, CalcKeySize(btcb, &resultIterator->key));    //¥¥ warning, this could overflow user's buffer!!!
  
                if ( DEBUG_BUILD && !ValidHFSRecord(data, btcb, *dataSize) )
@@ -235,7 +231,7 @@ index cd81b13..eeb4e8c 100644
        }
  
  ErrorExit:
-@@ -211,7 +211,7 @@ OSErr GetBTreeRecord(SFCB *fcb, SInt16 selectionIndex, void* key, void* data, UI
+@@ -211,7 +211,7 @@ OSErr GetBTreeRecord(SFCB *fcb, SInt16 s
                CopyMemory(&iterator->key, key, CalcKeySize(btcb, &iterator->key));     //¥¥ warning, this could overflow user's buffer!!!
                
                if ( DEBUG_BUILD && !ValidHFSRecord(data, btcb, *dataSize) )
@@ -244,7 +240,7 @@ index cd81b13..eeb4e8c 100644
  
        }
        
-@@ -243,7 +243,7 @@ OSErr InsertBTreeRecord(SFCB *fcb, const void* key, const void* data, UInt16 dat
+@@ -243,7 +243,7 @@ OSErr InsertBTreeRecord(SFCB *fcb, const
        CopyMemory(key, &iterator.key, CalcKeySize(btcb, (BTreeKey *) key));    //¥¥ should we range check against maxkeylen?
  
        if ( DEBUG_BUILD && !ValidHFSRecord(data, btcb, dataSize) )
@@ -253,7 +249,7 @@ index cd81b13..eeb4e8c 100644
  
        result = BTInsertRecord( fcb, &iterator, &btRecord, dataSize );
  
-@@ -305,7 +305,7 @@ OSErr ReplaceBTreeRecord(SFCB *fcb, const void* key, UInt32 hint, void *newData,
+@@ -305,7 +305,7 @@ OSErr ReplaceBTreeRecord(SFCB *fcb, cons
        CopyMemory(key, &iterator.key, CalcKeySize(btcb, (BTreeKey *) key));            //¥¥ should we range check against maxkeylen?
  
        if ( DEBUG_BUILD && !ValidHFSRecord(newData, btcb, dataSize) )
@@ -262,7 +258,7 @@ index cd81b13..eeb4e8c 100644
  
        result = BTReplaceRecord( fcb, &iterator, &btRecord, dataSize );
  
-@@ -344,7 +344,7 @@ SetEndOfForkProc ( SFCB *filePtr, FSSize minEOF, FSSize maxEOF )
+@@ -344,7 +344,7 @@ SetEndOfForkProc ( SFCB *filePtr, FSSize
        else
        {
                if ( DEBUG_BUILD )
@@ -271,7 +267,7 @@ index cd81b13..eeb4e8c 100644
                return -1;
        }
  
-@@ -370,7 +370,7 @@ SetEndOfForkProc ( SFCB *filePtr, FSSize minEOF, FSSize maxEOF )
+@@ -370,7 +370,7 @@ SetEndOfForkProc ( SFCB *filePtr, FSSize
        //      Make sure we got at least as much space as we needed
        //
        if (filePtr->fcbLogicalSize < minEOF) {
@@ -280,7 +276,7 @@ index cd81b13..eeb4e8c 100644
                return dskFulErr;
        }
        
-@@ -442,7 +442,7 @@ static OSErr CheckBTreeKey(const BTreeKey *key, const BTreeControlBlock *btcb)
+@@ -442,7 +442,7 @@ static OSErr CheckBTreeKey(const BTreeKe
        if ( (keyLen < 6) || (keyLen > btcb->maxKeyLength) )
        {
                if ( DEBUG_BUILD )
index 09efbb6ef79c58235427a8bd0414571ee0c34ed4..d4bb88bd62cfc3e92717b1a44bb948df4dea442a 100644 (file)
@@ -9,8 +9,6 @@ in 32 and 64-bit architectures.
  fsck_hfs.tproj/dfalib/hfs_endian.c | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
 
-diff --git a/fsck_hfs.tproj/dfalib/SControl.c b/fsck_hfs.tproj/dfalib/SControl.c
-index 4ce9e16..8b03ece 100644
 --- a/fsck_hfs.tproj/dfalib/SControl.c
 +++ b/fsck_hfs.tproj/dfalib/SControl.c
 @@ -776,7 +776,7 @@ static int ScavSetUp( SGlob *GPtr)
@@ -22,8 +20,6 @@ index 4ce9e16..8b03ece 100644
                                        R_NoMem, sizeof(ScavStaticStructures) );
                        }
                        return( R_NoMem );
-diff --git a/fsck_hfs.tproj/dfalib/hfs_endian.c b/fsck_hfs.tproj/dfalib/hfs_endian.c
-index 3cc9eb4..6ca2ac1 100755
 --- a/fsck_hfs.tproj/dfalib/hfs_endian.c
 +++ b/fsck_hfs.tproj/dfalib/hfs_endian.c
 @@ -563,7 +563,7 @@ hfs_swap_HFSPlusBTInternalNode (
index f92bb228a97da2810b1126f0f63ebda42161c707..4cfab48b35665c8c027e994c5c070517a3d22c81 100644 (file)
@@ -8,11 +8,9 @@ systems (since it is arch independent).
  newfs_hfs.tproj/makehfs.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/newfs_hfs.tproj/makehfs.c b/newfs_hfs.tproj/makehfs.c
-index 7609779..2233ef7 100644
 --- a/newfs_hfs.tproj/makehfs.c
 +++ b/newfs_hfs.tproj/makehfs.c
-@@ -70,7 +70,7 @@ extern Boolean _CFStringGetFileSystemRepresentation(CFStringRef string, UInt8 *b
+@@ -70,7 +70,7 @@ extern Boolean _CFStringGetFileSystemRep
  #include "readme.h"
  
  
index 366dbbc0dacc97b3c778395cce4ddec16291adbd..26b94ab4a19b19ee9d98c428c0be230deb110dfd 100644 (file)
@@ -8,8 +8,6 @@ behavior that the -p option has, for greater compatibility with other tools.
  fsck_hfs.tproj/fsck_hfs.c | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
 
-diff --git a/fsck_hfs.tproj/fsck_hfs.c b/fsck_hfs.tproj/fsck_hfs.c
-index f1a18bd..6117698 100644
 --- a/fsck_hfs.tproj/fsck_hfs.c
 +++ b/fsck_hfs.tproj/fsck_hfs.c
 @@ -104,7 +104,7 @@ main(argc, argv)
index 23f85183cd0db5f5c22cb087786e0ad4264edaed..a1a2b2417f15ef0fe680bb10dae71b9b05bd7f28 100644 (file)
@@ -9,11 +9,9 @@ Subject: Rename dprintf to dbg_printf
  fsck_hfs.tproj/fsck_debug.h      | 10 +++++-----
  4 files changed, 22 insertions(+), 22 deletions(-)
 
-diff --git a/fsck_hfs.tproj/dfalib/SRepair.c b/fsck_hfs.tproj/dfalib/SRepair.c
-index 8eb759c..89c12d6 100644
 --- a/fsck_hfs.tproj/dfalib/SRepair.c
 +++ b/fsck_hfs.tproj/dfalib/SRepair.c
-@@ -1825,13 +1825,13 @@ static OSErr FixAttrSize(SGlobPtr GPtr, RepairOrderPtr p)
+@@ -1825,13 +1825,13 @@ static OSErr FixAttrSize(SGlobPtr GPtr,
        result = BTSearchRecord(GPtr->calculatedAttributesFCB, &iterator, 
                                kInvalidMRUCacheKey, &btRecord, &recSize, &iterator);
        if (result) {
@@ -29,7 +27,7 @@ index 8eb759c..89c12d6 100644
                result = btNotFound;
                goto out;
        }
-@@ -1862,7 +1862,7 @@ static OSErr FixAttrSize(SGlobPtr GPtr, RepairOrderPtr p)
+@@ -1862,7 +1862,7 @@ static OSErr FixAttrSize(SGlobPtr GPtr,
                result = BTReplaceRecord(GPtr->calculatedAttributesFCB, &iterator,
                                        &btRecord, recSize);
                if (result) {
@@ -47,7 +45,7 @@ index 8eb759c..89c12d6 100644
                if (err) {
                        goto create_symlink;
                }
-@@ -3227,12 +3227,12 @@ static OSErr MoveExtent(SGlobPtr GPtr, ExtentInfo *extentInfo)
+@@ -3227,12 +3227,12 @@ static OSErr MoveExtent(SGlobPtr GPtr, E
                                                                                          &extentData, &recordSize, &foundExtentIndex);
                                foundLocation = extentsBTree;
                                if (err != noErr) {
@@ -62,7 +60,7 @@ index 8eb759c..89c12d6 100644
                                goto out;
                        }
                }
-@@ -3241,7 +3241,7 @@ static OSErr MoveExtent(SGlobPtr GPtr, ExtentInfo *extentInfo)
+@@ -3241,7 +3241,7 @@ static OSErr MoveExtent(SGlobPtr GPtr, E
        err = CopyDiskBlocks(GPtr, extentInfo->startBlock, extentInfo->blockCount, 
                                                 extentInfo->newStartBlock);
        if (err != noErr) {
@@ -71,7 +69,7 @@ index 8eb759c..89c12d6 100644
                goto out;
        }
        
-@@ -3260,7 +3260,7 @@ static OSErr MoveExtent(SGlobPtr GPtr, ExtentInfo *extentInfo)
+@@ -3260,7 +3260,7 @@ static OSErr MoveExtent(SGlobPtr GPtr, E
  
        }
        if (err != noErr) {
@@ -80,7 +78,7 @@ index 8eb759c..89c12d6 100644
                goto out;
        }
  
-@@ -3491,7 +3491,7 @@ static OSErr SearchExtentInAttributeBT(SGlobPtr GPtr, ExtentInfo *extentInfo,
+@@ -3491,7 +3491,7 @@ static OSErr SearchExtentInAttributeBT(S
        result = BTSearchRecord(GPtr->calculatedAttributesFCB, &iterator, 
                                kInvalidMRUCacheKey, &btRecord, recordSize, &iterator);
        if (result) {
@@ -89,11 +87,9 @@ index 8eb759c..89c12d6 100644
                goto out;       
        }
        
-diff --git a/fsck_hfs.tproj/dfalib/SVerify1.c b/fsck_hfs.tproj/dfalib/SVerify1.c
-index a273bf3..39bda5c 100644
 --- a/fsck_hfs.tproj/dfalib/SVerify1.c
 +++ b/fsck_hfs.tproj/dfalib/SVerify1.c
-@@ -2157,9 +2157,9 @@ CheckAttributeRecord(SGlobPtr GPtr, const HFSPlusAttrKey *key, const HFSPlusAttr
+@@ -2157,9 +2157,9 @@ CheckAttributeRecord(SGlobPtr GPtr, cons
        
        if (doDelete == true) {
                result = DeleteBTreeRecord(GPtr->calculatedAttributesFCB, key);
@@ -105,7 +101,7 @@ index a273bf3..39bda5c 100644
                }
                
                /* Set flags to mark header and map dirty */
-@@ -3034,7 +3034,7 @@ OSErr    CheckFileExtents( SGlobPtr GPtr, UInt32 fileNumber, UInt8 forkType,
+@@ -3034,7 +3034,7 @@ OSErr    CheckFileExtents( SGlobPtr GPtr, U
                //      checkout the extent record first
                err = ChkExtRec( GPtr, extents, &lastExtentIndex );
                if (err != noErr) {
@@ -114,8 +110,6 @@ index a273bf3..39bda5c 100644
  
                        /* Stop verification if bad extent is found for system file or EA */
                        if ((fileNumber < kHFSFirstUserCatalogNodeID) ||
-diff --git a/fsck_hfs.tproj/fsck_debug.c b/fsck_hfs.tproj/fsck_debug.c
-index 1be3fc5..77e8e51 100644
 --- a/fsck_hfs.tproj/fsck_debug.c
 +++ b/fsck_hfs.tproj/fsck_debug.c
 @@ -25,18 +25,18 @@
@@ -150,8 +144,6 @@ index 1be3fc5..77e8e51 100644
  {
        if (cur_debug_level & type) {
                va_list ap;
-diff --git a/fsck_hfs.tproj/fsck_debug.h b/fsck_hfs.tproj/fsck_debug.h
-index 81e3932..cb1b9be 100644
 --- a/fsck_hfs.tproj/fsck_debug.h
 +++ b/fsck_hfs.tproj/fsck_debug.h
 @@ -36,18 +36,18 @@ enum debug_message_type {
index 354b4ffc042e0178dad1b675c7008209d1258454..13ac4ed7ad5d246f8f0830bfb88d85b54483d501 100644 (file)
@@ -15,11 +15,9 @@ Subject: Rename custom macro nil with NULL
  fsck_hfs.tproj/dfalib/SVerify2.c      |   4 +-
  10 files changed, 177 insertions(+), 177 deletions(-)
 
-diff --git a/fsck_hfs.tproj/dfalib/BTree.c b/fsck_hfs.tproj/dfalib/BTree.c
-index 7ad9fe0..c0c8744 100644
 --- a/fsck_hfs.tproj/dfalib/BTree.c
 +++ b/fsck_hfs.tproj/dfalib/BTree.c
-@@ -163,21 +163,21 @@ OSStatus BTInitialize            (FCB                                    *filePtr,
+@@ -163,21 +163,21 @@ OSStatus BTInitialize            (FCB                                    *filePtr
  
        ////////////////////// Preliminary Error Checking ///////////////////////////
  
@@ -48,7 +46,7 @@ index 7ad9fe0..c0c8744 100644
  
        if ((maxKeyLength == 0) ||
                (maxKeyLength >  kMaxKeyLength))                                        return  fsBTInvalidKeyLengthErr;
-@@ -209,7 +209,7 @@ OSStatus   BTInitialize            (FCB                                    *filePtr,
+@@ -209,7 +209,7 @@ OSStatus   BTInitialize            (FCB                                    *filePtr
        //////////////////////// Allocate Control Block /////////////////////////////
  
        M_RESIDENT_ALLOCATE_FIXED_CLEAR( &btreePtr, sizeof( BTreeControlBlock ), kFSBTreeControlBlockType );
@@ -57,7 +55,7 @@ index 7ad9fe0..c0c8744 100644
        {
                err = memFullErr;
                goto ErrorExit;
-@@ -220,7 +220,7 @@ OSStatus   BTInitialize            (FCB                                    *filePtr,
+@@ -220,7 +220,7 @@ OSStatus   BTInitialize            (FCB                                    *filePtr
        btreePtr->flags                         = 0;
        btreePtr->attributes            = 0;
        btreePtr->forkPtr                       = forkPtr;
@@ -66,7 +64,7 @@ index 7ad9fe0..c0c8744 100644
        btreePtr->keyDescPtr            = keyDescPtr;
        btreePtr->btreeType                     = btreeType;
        btreePtr->treeDepth                     = 0;
-@@ -282,7 +282,7 @@ OSStatus   BTInitialize            (FCB                                    *filePtr,
+@@ -282,7 +282,7 @@ OSStatus   BTInitialize            (FCB                                    *filePtr
  
        ///////////////////// Copy Key Descriptor To Header /////////////////////////
  #if SupportsKeyDescriptors
@@ -75,7 +73,7 @@ index 7ad9fe0..c0c8744 100644
        {
                err = CheckKeyDescriptor (keyDescPtr, maxKeyLength);
                M_ExitOnError (err);
-@@ -309,7 +309,7 @@ OSStatus   BTInitialize            (FCB                                    *filePtr,
+@@ -309,7 +309,7 @@ OSStatus   BTInitialize            (FCB                                    *filePtr
        err = UpdateHeader (btreePtr);
        M_ExitOnError (err);
  
@@ -84,7 +82,7 @@ index 7ad9fe0..c0c8744 100644
        M_RESIDENT_DEALLOCATE_FIXED( btreePtr, sizeof( BTreeControlBlock ), kFSBTreeControlBlockType );
  
        return  noErr;
-@@ -320,7 +320,7 @@ OSStatus   BTInitialize            (FCB                                    *filePtr,
+@@ -320,7 +320,7 @@ OSStatus   BTInitialize            (FCB                                    *filePtr
  ErrorExit:
  
        (void) ReleaseNode (btreePtr, &headerNode);
@@ -93,7 +91,7 @@ index 7ad9fe0..c0c8744 100644
                M_RESIDENT_DEALLOCATE_FIXED( btreePtr, sizeof( BTreeControlBlock ), kFSBTreeControlBlockType );
  
        return  err;
-@@ -342,7 +342,7 @@ Input:             filePtr                         - pointer to file to open as a B-tree
+@@ -342,7 +342,7 @@ Input:             filePtr                         - pointer to file to
                        setEndOfForkProc        - pointer to client's SetEOF function
  
  Result:               noErr                           - success
@@ -102,7 +100,7 @@ index 7ad9fe0..c0c8744 100644
                        fsBTInvalidFileErr                              -
                        memFullErr                      -
                        != noErr                        - failure
-@@ -364,16 +364,16 @@ OSStatus BTOpenPath                      (SFCB                                   *filePtr,
+@@ -364,16 +364,16 @@ OSStatus BTOpenPath                      (SFCB                                   *filePtr
  
        ////////////////////// Preliminary Error Checking ///////////////////////////
  
@@ -125,7 +123,7 @@ index 7ad9fe0..c0c8744 100644
                return noErr;
  
                                                                                                // is file large enough to contain header node?
-@@ -384,7 +384,7 @@ OSStatus   BTOpenPath                      (SFCB                                   *filePtr,
+@@ -384,7 +384,7 @@ OSStatus   BTOpenPath                      (SFCB                                   *filePtr
        //////////////////////// Allocate Control Block /////////////////////////////
  
        btreePtr = (BTreeControlBlock*) AllocateClearMemory( sizeof( BTreeControlBlock ) );
@@ -134,7 +132,7 @@ index 7ad9fe0..c0c8744 100644
        {
                Panic ("\pBTOpen: no memory for btreePtr.");
                return  memFullErr;
-@@ -397,7 +397,7 @@ OSStatus   BTOpenPath                      (SFCB                                   *filePtr,
+@@ -397,7 +397,7 @@ OSStatus   BTOpenPath                      (SFCB                                   *filePtr
  
        /////////////////////////// Read Header Node ////////////////////////////////
  
@@ -143,7 +141,7 @@ index 7ad9fe0..c0c8744 100644
        
        btreePtr->fcbPtr                        = filePtr;
        filePtr->fcbBtree                       = (void *) btreePtr;    // attach btree cb to file
-@@ -487,7 +487,7 @@ OSStatus   BTOpenPath                      (SFCB                                   *filePtr,
+@@ -487,7 +487,7 @@ OSStatus   BTOpenPath                      (SFCB                                   *filePtr
  
        ////////////////////////// Get Key Descriptor ///////////////////////////////
  #if SupportsKeyDescriptors
@@ -152,7 +150,7 @@ index 7ad9fe0..c0c8744 100644
        {
                err = GetKeyDescriptor (btreePtr, nodeRec.buffer);      //¥¥ it should check amount of memory allocated...
                M_ExitOnError (err);
-@@ -499,7 +499,7 @@ OSStatus   BTOpenPath                      (SFCB                                   *filePtr,
+@@ -499,7 +499,7 @@ OSStatus   BTOpenPath                      (SFCB                                   *filePtr
        else
  #endif
        {
@@ -161,7 +159,7 @@ index 7ad9fe0..c0c8744 100644
        }
  
        err = ReleaseNode (btreePtr, &nodeRec);
-@@ -528,7 +528,7 @@ OSStatus   BTOpenPath                      (SFCB                                   *filePtr,
+@@ -528,7 +528,7 @@ OSStatus   BTOpenPath                      (SFCB                                   *filePtr
  
  ErrorExit:
  
@@ -170,7 +168,7 @@ index 7ad9fe0..c0c8744 100644
        (void) ReleaseNode (btreePtr, &nodeRec);
        DisposeMemory( btreePtr );
  
-@@ -567,7 +567,7 @@ OSStatus   BTClosePath                     (SFCB                                   *filePtr)
+@@ -567,7 +567,7 @@ OSStatus   BTClosePath                     (SFCB                                   *filePt
  
        btreePtr = (BTreeControlBlockPtr) filePtr->fcbBtree;
  
@@ -179,7 +177,7 @@ index 7ad9fe0..c0c8744 100644
                return fsBTInvalidFileErr;
  
        ////////////////////// Check for other BTree Paths //////////////////////////
-@@ -603,14 +603,14 @@ OSStatus BTClosePath                     (SFCB                                   *filePtr)
+@@ -603,14 +603,14 @@ OSStatus BTClosePath                     (SFCB                                   *filePt
        M_ExitOnError (err);
  
  #if SupportsKeyDescriptors
@@ -196,7 +194,7 @@ index 7ad9fe0..c0c8744 100644
  
  //    LogEndTime(kTraceCloseBTree, noErr);
  
-@@ -643,7 +643,7 @@ Function:  Search for position in B*Tree indicated by searchKey. If a valid node
+@@ -643,7 +643,7 @@ Function:  Search for position in B*Tree
  
  Input:                pathPtr                 - pointer to path for BTree file.
                        searchKey               - pointer to search key to match.
@@ -205,7 +203,7 @@ index 7ad9fe0..c0c8744 100644
  
  Output:               record                  - pointer to BufferDescriptor containing record
                        recordLen               - length of data at recordPtr
-@@ -678,14 +678,14 @@ OSStatus BTSearchRecord          (SFCB                                           *filePtr,
+@@ -678,14 +678,14 @@ OSStatus BTSearchRecord          (SFCB                                           *fil
  
  //    LogStartTime(kTraceSearchBTree);
  
@@ -224,7 +222,7 @@ index 7ad9fe0..c0c8744 100644
        {
                err = CheckKey (&searchIterator->key, btreePtr->keyDescPtr, btreePtr->maxKeyLength);
                M_ExitOnError (err);
-@@ -775,9 +775,9 @@ OSStatus   BTSearchRecord          (SFCB                                           *filePtr,
+@@ -775,9 +775,9 @@ OSStatus   BTSearchRecord          (SFCB                                           *fil
                //¥¥ Should check for errors! Or BlockMove could choke on recordPtr!!!
                GetRecordByIndex (btreePtr, node.buffer, index, &keyPtr, &recordPtr, &len);
  
@@ -236,7 +234,7 @@ index 7ad9fe0..c0c8744 100644
                {
                        ByteCount recordSize;
  
-@@ -794,7 +794,7 @@ OSStatus   BTSearchRecord          (SFCB                                           *filePtr,
+@@ -794,7 +794,7 @@ OSStatus   BTSearchRecord          (SFCB                                           *fil
  
        /////////////////////// Success - Update Iterator ///////////////////////////
  
@@ -245,7 +243,7 @@ index 7ad9fe0..c0c8744 100644
        {
                resultIterator->hint.writeCount = btreePtr->writeCount;
                resultIterator->hint.nodeNum    = nodeNum;
-@@ -825,10 +825,10 @@ OSStatus BTSearchRecord          (SFCB                                           *filePtr,
+@@ -825,10 +825,10 @@ OSStatus BTSearchRecord          (SFCB                                           *fil
  
  ErrorExit:
  
@@ -258,7 +256,7 @@ index 7ad9fe0..c0c8744 100644
        {
                resultIterator->hint.writeCount = 0;
                resultIterator->hint.nodeNum    = 0;
-@@ -892,18 +892,18 @@ OSStatus BTIterateRecord         (SFCB                                           *filePtr,
+@@ -892,18 +892,18 @@ OSStatus BTIterateRecord         (SFCB                                           *fi
  
        ////////////////////////// Priliminary Checks ///////////////////////////////
  
@@ -282,7 +280,7 @@ index 7ad9fe0..c0c8744 100644
        {
                return  fsBTInvalidFileErr;                     //¥¥ handle properly
        }
-@@ -968,7 +968,7 @@ OSStatus   BTIterateRecord         (SFCB                                           *filePtr,
+@@ -968,7 +968,7 @@ OSStatus   BTIterateRecord         (SFCB                                           *fi
                }
                else
                {
@@ -291,7 +289,7 @@ index 7ad9fe0..c0c8744 100644
                        {
                                nodeNum = ((NodeDescPtr) node.buffer)->bLink;
                                if ( nodeNum > 0)
-@@ -981,13 +981,13 @@ OSStatus BTIterateRecord         (SFCB                                           *filePtr,
+@@ -981,13 +981,13 @@ OSStatus BTIterateRecord         (SFCB                                           *fi
                                }
                        }
                        //      Before we stomp on "right", we'd better release it if needed
@@ -307,7 +305,7 @@ index 7ad9fe0..c0c8744 100644
                        index           = ((NodeDescPtr) node.buffer)->numRecords -1;
                }
        }
-@@ -1012,7 +1012,7 @@ OSStatus BTIterateRecord         (SFCB                                           *filePtr,
+@@ -1012,7 +1012,7 @@ OSStatus BTIterateRecord         (SFCB                                           *fi
                }
                else
                {
@@ -316,7 +314,7 @@ index 7ad9fe0..c0c8744 100644
                        {
                                nodeNum = ((NodeDescPtr) node.buffer)->fLink;
                                if ( nodeNum > 0)
-@@ -1025,13 +1025,13 @@ OSStatus       BTIterateRecord         (SFCB                                           *filePtr,
+@@ -1025,13 +1025,13 @@ OSStatus       BTIterateRecord         (SFCB                                           *fi
                                }
                        }
                        //      Before we stomp on "left", we'd better release it if needed
@@ -382,7 +380,7 @@ index 7ad9fe0..c0c8744 100644
        {
                iterator->hint.writeCount       = 0;
                iterator->hint.nodeNum          = 0;
-@@ -1157,7 +1157,7 @@ OSStatus BTInsertRecord          (SFCB                                           *filePtr,
+@@ -1157,7 +1157,7 @@ OSStatus BTInsertRecord          (SFCB                                           *fil
  
        ////////////////////////// Priliminary Checks ///////////////////////////////
  
@@ -391,7 +389,7 @@ index 7ad9fe0..c0c8744 100644
  
        err = CheckInsertParams (filePtr, iterator, record, recordLen);
        if (err != noErr)
-@@ -1317,7 +1317,7 @@ OSStatus BTSetRecord                     (SFCB                                           *filePtr,
+@@ -1317,7 +1317,7 @@ OSStatus BTSetRecord                     (SFCB                                           *fileP
  
        ////////////////////////// Priliminary Checks ///////////////////////////////
  
@@ -400,7 +398,7 @@ index 7ad9fe0..c0c8744 100644
  
        err = CheckInsertParams (filePtr, iterator, record, recordLen);
        if (err != noErr)
-@@ -1506,7 +1506,7 @@ OSStatus BTReplaceRecord         (SFCB                                           *filePtr,
+@@ -1506,7 +1506,7 @@ OSStatus BTReplaceRecord         (SFCB                                           *fi
  
        ////////////////////////// Priliminary Checks ///////////////////////////////
  
@@ -409,7 +407,7 @@ index 7ad9fe0..c0c8744 100644
  
        err = CheckInsertParams (filePtr, iterator, record, recordLen);
        if (err != noErr)
-@@ -1645,20 +1645,20 @@ OSStatus       BTDeleteRecord          (SFCB                                           *filePtr,
+@@ -1645,20 +1645,20 @@ OSStatus       BTDeleteRecord          (SFCB                                           *fil
  
        ////////////////////////// Priliminary Checks ///////////////////////////////
  
@@ -435,7 +433,7 @@ index 7ad9fe0..c0c8744 100644
        {
                err = CheckKey (&iterator->key, btreePtr->keyDescPtr, btreePtr->maxKeyLength);
                M_ExitOnError (err);
-@@ -1712,12 +1712,12 @@ OSStatus       BTGetInformation        (SFCB                                   *filePtr,
+@@ -1712,12 +1712,12 @@ OSStatus       BTGetInformation        (SFCB                                   *fil
        BTreeControlBlockPtr    btreePtr;
  
  
@@ -451,7 +449,7 @@ index 7ad9fe0..c0c8744 100644
  
        //¥¥ check version?
  
-@@ -1730,7 +1730,7 @@ OSStatus BTGetInformation        (SFCB                                   *filePtr,
+@@ -1730,7 +1730,7 @@ OSStatus BTGetInformation        (SFCB                                   *fil
        info->keyDescriptor     = btreePtr->keyDescPtr; //¥¥ this won't do at all...
        info->reserved          = 0;
  
@@ -460,7 +458,7 @@ index 7ad9fe0..c0c8744 100644
                info->keyDescLength     = 0;
        else
                info->keyDescLength     = (UInt32) btreePtr->keyDescPtr->length;
-@@ -1762,11 +1762,11 @@ OSStatus       BTFlushPath                             (SFCB                                   *filePtr)
+@@ -1762,11 +1762,11 @@ OSStatus       BTFlushPath                             (SFCB                                   *fileP
  
  //    LogStartTime(kTraceFlushBTree);
  
@@ -474,7 +472,7 @@ index 7ad9fe0..c0c8744 100644
  
        err = UpdateHeader (btreePtr);
  
-@@ -1788,13 +1788,13 @@ Input:         iterator        - pointer to BTreeIterator
+@@ -1788,13 +1788,13 @@ Input:         iterator        - pointer to BTreeItera
  Output:               iterator        - iterator with the hint.nodeNum cleared
  
  Result:               noErr                   - success
@@ -490,11 +488,9 @@ index 7ad9fe0..c0c8744 100644
                return  paramErr;
  
        iterator->hint.nodeNum = 0;
-diff --git a/fsck_hfs.tproj/dfalib/BTreeAllocate.c b/fsck_hfs.tproj/dfalib/BTreeAllocate.c
-index 485d867..02bdd8d 100644
 --- a/fsck_hfs.tproj/dfalib/BTreeAllocate.c
 +++ b/fsck_hfs.tproj/dfalib/BTreeAllocate.c
-@@ -83,7 +83,7 @@ OSStatus     AllocateNode (BTreeControlBlockPtr              btreePtr, UInt32        *nodeNum)
+@@ -83,7 +83,7 @@ OSStatus     AllocateNode (BTreeControlBlock
        
        
        nodeNumber              = 0;                            // first node number of header map record
@@ -503,7 +499,7 @@ index 485d867..02bdd8d 100644
                                                                                //      - and for ErrorExit
        
        while (true)
-@@ -192,7 +192,7 @@ OSStatus   FreeNode (BTreeControlBlockPtr          btreePtr, UInt32        nodeNum)
+@@ -192,7 +192,7 @@ OSStatus   FreeNode (BTreeControlBlockPtr
  
        //////////////////////////// Find Map Record ////////////////////////////////
        nodeIndex                       = 0;                            // first node number of header map record
@@ -512,7 +508,7 @@ index 485d867..02bdd8d 100644
        
        while (nodeNum >= nodeIndex)
        {
-@@ -278,8 +278,8 @@ OSStatus   ExtendBTree     (BTreeControlBlockPtr   btreePtr,
+@@ -278,8 +278,8 @@ OSStatus   ExtendBTree     (BTreeControlBlockP
        nodeSize                        = btreePtr->nodeSize;
        filePtr                         = btreePtr->fcbPtr;
        
@@ -532,7 +528,7 @@ index 485d867..02bdd8d 100644
                        node is retrieved.
  
  
-@@ -474,7 +474,7 @@ OSStatus   GetMapNode (BTreeControlBlockPtr          btreePtr,
+@@ -474,7 +474,7 @@ OSStatus   GetMapNode (BTreeControlBlockPt
        UInt16          mapIndex;
        UInt32          nextNodeNum;
        
@@ -550,11 +546,9 @@ index 485d867..02bdd8d 100644
        *mapSize        = 0;
        
        return  err;
-diff --git a/fsck_hfs.tproj/dfalib/BTreeMiscOps.c b/fsck_hfs.tproj/dfalib/BTreeMiscOps.c
-index 7c9edca..997f34b 100644
 --- a/fsck_hfs.tproj/dfalib/BTreeMiscOps.c
 +++ b/fsck_hfs.tproj/dfalib/BTreeMiscOps.c
-@@ -236,13 +236,13 @@ OSStatus FindIteratorPosition    (BTreeControlBlockPtr    btreePtr,
+@@ -236,13 +236,13 @@ OSStatus FindIteratorPosition    (BTreeCont
        // assume index points to UInt16
        // assume foundRecord points to Boolean
        
@@ -572,7 +566,7 @@ index 7c9edca..997f34b 100644
        {
                err = fsBTInvalidIteratorErr;
                goto ErrorExit;
-@@ -250,7 +250,7 @@ OSStatus   FindIteratorPosition    (BTreeControlBlockPtr    btreePtr,
+@@ -250,7 +250,7 @@ OSStatus   FindIteratorPosition    (BTreeCont
  
  #if SupportsKeyDescriptors
        //¥¥ verify iterator key (change CheckKey to take btreePtr instead of keyDescPtr?)
@@ -581,7 +575,7 @@ index 7c9edca..997f34b 100644
        {
                err = CheckKey (&iterator->key, btreePtr->keyDescPtr, btreePtr->maxKeyLength );
                M_ExitOnError (err);
-@@ -309,7 +309,7 @@ OSStatus   FindIteratorPosition    (BTreeControlBlockPtr    btreePtr,
+@@ -309,7 +309,7 @@ OSStatus   FindIteratorPosition    (BTreeCont
                {
                        *right                  = *middle;
                        *middle                 = *left;
@@ -590,7 +584,7 @@ index 7c9edca..997f34b 100644
                        index                   = leftIndex;
                        
                        goto SuccessfulExit;
-@@ -330,7 +330,7 @@ OSStatus   FindIteratorPosition    (BTreeControlBlockPtr    btreePtr,
+@@ -330,7 +330,7 @@ OSStatus   FindIteratorPosition    (BTreeCont
                {
                        *right                  = *middle;
                        *middle                 = *left;
@@ -599,7 +593,7 @@ index 7c9edca..997f34b 100644
                        index                   = leftIndex;
                        
                        goto SuccessfulExit;
-@@ -363,7 +363,7 @@ OSStatus   FindIteratorPosition    (BTreeControlBlockPtr    btreePtr,
+@@ -363,7 +363,7 @@ OSStatus   FindIteratorPosition    (BTreeCont
                {
                        *left                   = *middle;
                        *middle                 = *right;
@@ -608,7 +602,7 @@ index 7c9edca..997f34b 100644
                        index                   = rightIndex;
                        
                        goto SuccessfulExit;
-@@ -427,15 +427,15 @@ OSStatus CheckInsertParams               (SFCB                                           *filePtr,
+@@ -427,15 +427,15 @@ OSStatus CheckInsertParams               (SFCB                                           *
  {
        BTreeControlBlockPtr    btreePtr;
        
@@ -629,11 +623,9 @@ index 7c9edca..997f34b 100644
        {
                OSStatus        err;
  
-diff --git a/fsck_hfs.tproj/dfalib/BTreeNodeOps.c b/fsck_hfs.tproj/dfalib/BTreeNodeOps.c
-index da07cc7..ef2bd7b 100644
 --- a/fsck_hfs.tproj/dfalib/BTreeNodeOps.c
 +++ b/fsck_hfs.tproj/dfalib/BTreeNodeOps.c
-@@ -105,7 +105,7 @@ Function:  Gets an existing BTree node from FS Agent and verifies it.
+@@ -105,7 +105,7 @@ Function:  Gets an existing BTree node fr
  Input:                btreePtr        - pointer to BTree control block
                        nodeNum         - number of node to request
                        
@@ -642,7 +634,7 @@ index da07cc7..ef2bd7b 100644
                        
  Result:
                        noErr           - success
-@@ -139,7 +139,7 @@ OSStatus   GetNode         (BTreeControlBlockPtr    btreePtr,
+@@ -139,7 +139,7 @@ OSStatus   GetNode         (BTreeControlBlockPtr
        if (err != noErr)
        {
                Panic ("\pGetNode: getNodeProc returned error.");
@@ -651,7 +643,7 @@ index da07cc7..ef2bd7b 100644
                goto ErrorExit;
        }
        ++btreePtr->numGetNodes;
-@@ -156,8 +156,8 @@ OSStatus   GetNode         (BTreeControlBlockPtr    btreePtr,
+@@ -156,8 +156,8 @@ OSStatus   GetNode         (BTreeControlBlockPtr
        return noErr;
  
  ErrorExit:
@@ -662,7 +654,7 @@ index da07cc7..ef2bd7b 100644
        
  //    LogEndTime(kTraceGetNode, err);
  
-@@ -176,7 +176,7 @@ Function:  Gets a new BTree node from FS Agent and initializes it to an empty
+@@ -176,7 +176,7 @@ Function:  Gets a new BTree node from FS
  Input:                btreePtr                - pointer to BTree control block
                        nodeNum                 - number of node to request
                        
@@ -671,7 +663,7 @@ index da07cc7..ef2bd7b 100644
                        
  Result:               noErr           - success
                        != noErr        - failure
-@@ -203,7 +203,7 @@ OSStatus   GetNewNode      (BTreeControlBlockPtr    btreePtr,
+@@ -203,7 +203,7 @@ OSStatus   GetNewNode      (BTreeControlBlockPt
        if (err != noErr)
        {
                Panic ("\pGetNewNode: getNodeProc returned error.");
@@ -680,7 +672,7 @@ index da07cc7..ef2bd7b 100644
                return err;
        }
        ++btreePtr->numGetNewNodes;
-@@ -248,7 +248,7 @@ OSStatus   ReleaseNode     (BTreeControlBlockPtr    btreePtr,
+@@ -248,7 +248,7 @@ OSStatus   ReleaseNode     (BTreeControlBlockP
  
        err = noErr;
        
@@ -689,7 +681,7 @@ index da07cc7..ef2bd7b 100644
        {
                /*
                 * The nodes must remain in the cache as big endian!
-@@ -267,8 +267,8 @@ OSStatus   ReleaseNode     (BTreeControlBlockPtr    btreePtr,
+@@ -267,8 +267,8 @@ OSStatus   ReleaseNode     (BTreeControlBlockP
                ++btreePtr->numReleaseNodes;
        }
        
@@ -700,7 +692,7 @@ index da07cc7..ef2bd7b 100644
        
  //    LogEndTime(kTraceReleaseNode, err);
  
-@@ -299,7 +299,7 @@ OSStatus   TrashNode       (BTreeControlBlockPtr    btreePtr,
+@@ -299,7 +299,7 @@ OSStatus   TrashNode       (BTreeControlBlockPtr
  
        err = noErr;
        
@@ -709,7 +701,7 @@ index da07cc7..ef2bd7b 100644
        {
                releaseNodeProc = btreePtr->releaseBlockProc;
                err = releaseNodeProc (btreePtr->fcbPtr,
-@@ -309,8 +309,8 @@ OSStatus   TrashNode       (BTreeControlBlockPtr    btreePtr,
+@@ -309,8 +309,8 @@ OSStatus   TrashNode       (BTreeControlBlockPtr
                ++btreePtr->numReleaseNodes;
        }
  
@@ -720,7 +712,7 @@ index da07cc7..ef2bd7b 100644
        
        return err;
  }
-@@ -338,7 +338,7 @@ OSStatus   UpdateNode      (BTreeControlBlockPtr    btreePtr,
+@@ -338,7 +338,7 @@ OSStatus   UpdateNode      (BTreeControlBlockPt
        
        err = noErr;
                
@@ -729,7 +721,7 @@ index da07cc7..ef2bd7b 100644
        {
        //      LogStartTime(kTraceReleaseNode);
                err = hfs_swap_BTNode(nodePtr, btreePtr->fcbPtr, kSwapBTNodeHostToBig);
-@@ -358,8 +358,8 @@ OSStatus   UpdateNode      (BTreeControlBlockPtr    btreePtr,
+@@ -358,8 +358,8 @@ OSStatus   UpdateNode      (BTreeControlBlockPt
                ++btreePtr->numUpdateNodes;
        }
        
@@ -740,11 +732,9 @@ index da07cc7..ef2bd7b 100644
  
        return  noErr;
  
-diff --git a/fsck_hfs.tproj/dfalib/BTreeTreeOps.c b/fsck_hfs.tproj/dfalib/BTreeTreeOps.c
-index 37fb170..73e1fda 100644
 --- a/fsck_hfs.tproj/dfalib/BTreeTreeOps.c
 +++ b/fsck_hfs.tproj/dfalib/BTreeTreeOps.c
-@@ -177,7 +177,7 @@ Output:            nodeNum                 - number of the node containing the key position
+@@ -177,7 +177,7 @@ Output:            nodeNum                 - number of the node
                        
  Result:               noErr                   - key found, index is record index
                        fsBTRecordNotFoundErr   - key not found, index is insert index
@@ -764,7 +754,7 @@ index 37fb170..73e1fda 100644
        *returnIndex                            = 0;
  
        return  err;
-@@ -354,7 +354,7 @@ OSStatus   InsertTree ( BTreeControlBlockPtr                btreePtr,
+@@ -354,7 +354,7 @@ OSStatus   InsertTree ( BTreeControlBlockP
        primaryKey.replacingKey = replacingKey;
        primaryKey.skipRotate   = false;
  
@@ -773,7 +763,7 @@ index 37fb170..73e1fda 100644
                                           targetNode, index, level, insertNode );
                                                
        return err;
-@@ -385,7 +385,7 @@ OSStatus   InsertLevel (BTreeControlBlockPtr                btreePtr,
+@@ -385,7 +385,7 @@ OSStatus   InsertLevel (BTreeControlBlockP
  #if defined(applec) && !defined(__SC__)
        PanicIf ((level == 1) && (((NodeDescPtr)targetNode->buffer)->kind != kBTLeafNode), "\P InsertLevel: non-leaf at level 1! ");
  #endif
@@ -782,7 +772,7 @@ index 37fb170..73e1fda 100644
        targetNodeNum = treePathTable [level].node;
  
        insertParent = false;
-@@ -420,7 +420,7 @@ OSStatus   InsertLevel (BTreeControlBlockPtr                btreePtr,
+@@ -420,7 +420,7 @@ OSStatus   InsertLevel (BTreeControlBlockP
        
        ////// process second insert (if any) //////
  
@@ -791,7 +781,7 @@ index 37fb170..73e1fda 100644
        {
                Boolean                         temp;
  
-@@ -446,7 +446,7 @@ OSStatus   InsertLevel (BTreeControlBlockPtr                btreePtr,
+@@ -446,7 +446,7 @@ OSStatus   InsertLevel (BTreeControlBlockP
                UInt8 *                         recPtr;
                UInt16                          recSize;
                
@@ -800,7 +790,7 @@ index 37fb170..73e1fda 100644
                
                PanicIf ( (level == btreePtr->treeDepth), "InsertLevel: unfinished insert!?");
  
-@@ -606,9 +606,9 @@ static OSErr       InsertNode      (BTreeControlBlockPtr    btreePtr,
+@@ -606,9 +606,9 @@ static OSErr       InsertNode      (BTreeControlBlo
        
        if ( leftNodeNum > 0 )
        {
@@ -812,7 +802,7 @@ index 37fb170..73e1fda 100644
                {
                        err = GetNode (btreePtr, leftNodeNum, siblingNode);     // will be released by caller or a split below
                        M_ExitOnError (err);
-@@ -703,7 +703,7 @@ OSStatus   DeleteTree                      (BTreeControlBlockPtr            btreePtr,
+@@ -703,7 +703,7 @@ OSStatus   DeleteTree                      (BTreeControlBlock
  
        targetNodeNum = treePathTable[level].node;
        targetNodePtr = targetNode->buffer;
@@ -821,7 +811,7 @@ index 37fb170..73e1fda 100644
  
        DeleteRecord (btreePtr, targetNodePtr, index);
                
-@@ -766,7 +766,7 @@ OSStatus   DeleteTree                      (BTreeControlBlockPtr            btreePtr,
+@@ -766,7 +766,7 @@ OSStatus   DeleteTree                      (BTreeControlBlock
                deleteRequired = false;
                updateRequired = false;
                
@@ -830,7 +820,7 @@ index 37fb170..73e1fda 100644
                {
                        btreePtr->rootNode  = 0;
                        btreePtr->treeDepth = 0;
-@@ -1124,7 +1124,7 @@ static OSStatus  SplitLeft               (BTreeControlBlockPtr            btreePtr,
+@@ -1124,7 +1124,7 @@ static OSStatus  SplitLeft               (BTreeControl
        if ( (right->height == 1) && (right->kind != kBTLeafNode) )
                return  fsBTInvalidNodeErr;
        
@@ -839,7 +829,7 @@ index 37fb170..73e1fda 100644
        {
                if ( left->fLink != rightNodeNum )
                        return fsBTInvalidNodeErr;                                                                              //¥¥ E_BadSibling ?
-@@ -1145,7 +1145,7 @@ static OSStatus  SplitLeft               (BTreeControlBlockPtr            btreePtr,
+@@ -1145,7 +1145,7 @@ static OSStatus  SplitLeft               (BTreeControl
  
        /////////////// Update Forward Link In Original Left Node ///////////////////
  
@@ -848,7 +838,7 @@ index 37fb170..73e1fda 100644
        {
                left->fLink     = newNodeNum;
                err = UpdateNode (btreePtr, leftNode);
-@@ -1240,8 +1240,8 @@ static OSStatus  AddNewRootNode  (BTreeControlBlockPtr    btreePtr,
+@@ -1240,8 +1240,8 @@ static OSStatus  AddNewRootNode  (BTreeCon
        Boolean                         didItFit;
        UInt16                          keyLength;      
        
@@ -859,7 +849,7 @@ index 37fb170..73e1fda 100644
        
        
        /////////////////////// Initialize New Root Node ////////////////////////////
-@@ -1362,7 +1362,7 @@ static OSStatus  SplitRight              (BTreeControlBlockPtr            btreePtr,
+@@ -1362,7 +1362,7 @@ static OSStatus  SplitRight              (BTreeContro
        if ( (leftPtr->height == 1) && (leftPtr->kind != kBTLeafNode) )
                return  fsBTInvalidNodeErr;
        
@@ -868,7 +858,7 @@ index 37fb170..73e1fda 100644
        {
                if ( rightPtr->bLink != nodeNum )
                        return fsBTInvalidNodeErr;                                                                              //¥¥ E_BadSibling ?
-@@ -1382,7 +1382,7 @@ static OSStatus  SplitRight              (BTreeControlBlockPtr            btreePtr,
+@@ -1382,7 +1382,7 @@ static OSStatus  SplitRight              (BTreeContro
  
        /////////////// Update backward Link In Original Right Node ///////////////////
  
@@ -877,7 +867,7 @@ index 37fb170..73e1fda 100644
        {
                rightPtr->bLink = newNodeNum;
                err = UpdateNode (btreePtr, rightNodePtr);
-@@ -1739,7 +1739,7 @@ static int DoKeyCheck( NodeDescPtr nodeP, BTreeControlBlock *btcb )
+@@ -1739,7 +1739,7 @@ static int DoKeyCheck( NodeDescPtr nodeP
        UInt16                          keyLength;
        KeyPtr                          keyPtr;
        UInt8                           *dataPtr;
@@ -886,7 +876,7 @@ index 37fb170..73e1fda 100644
  
  
        if ( nodeP->numRecords == 0 )
-@@ -1766,7 +1766,7 @@ static int DoKeyCheck( NodeDescPtr nodeP, BTreeControlBlock *btcb )
+@@ -1766,7 +1766,7 @@ static int DoKeyCheck( NodeDescPtr nodeP
                                return( -1 );
                        }
        
@@ -895,11 +885,9 @@ index 37fb170..73e1fda 100644
                        {
                                if ( CompareKeys( (BTreeControlBlockPtr)btcb, prevkeyP, keyPtr ) >= 0 )
                                {
-diff --git a/fsck_hfs.tproj/dfalib/SControl.c b/fsck_hfs.tproj/dfalib/SControl.c
-index 8b03ece..d3145e0 100644
 --- a/fsck_hfs.tproj/dfalib/SControl.c
 +++ b/fsck_hfs.tproj/dfalib/SControl.c
-@@ -82,7 +82,7 @@ CheckHFS(    int fsReadRef, int fsWriteRef, int checkLevel, int repairLevel,
+@@ -82,7 +82,7 @@ CheckHFS(    int fsReadRef, int fsWriteRef
  {
        SGlob                           dataArea;       // Allocate the scav globals
        short                           temp;   
@@ -1056,7 +1044,7 @@ index 8b03ece..d3145e0 100644
  
        return( noErr );
  }
-@@ -1113,7 +1113,7 @@ Boolean IsBlueBoxSharedDrive ( DrvQElPtr dqPtr )
+@@ -1113,7 +1113,7 @@ Boolean IsBlueBoxSharedDrive ( DrvQElPtr
        // Now look at the name of the Driver name. If it is .BlueBoxShared keep it out of the list of available disks.
        driverDCtlHandle = GetDCtlEntry(dqPtr->dQRefNum);
        driverDCtlPtr = *driverDCtlHandle;
@@ -1065,7 +1053,7 @@ index 8b03ece..d3145e0 100644
        {
                if (((driverDCtlPtr->dCtlFlags) & Is_Ram_Based_Mask) == 0)
                {
-@@ -1127,19 +1127,19 @@ Boolean IsBlueBoxSharedDrive ( DrvQElPtr dqPtr )
+@@ -1127,19 +1127,19 @@ Boolean IsBlueBoxSharedDrive ( DrvQElPtr
                        
                }
                driverName = (StringPtr)&(drvrHeaderPtr->drvrName);
@@ -1089,7 +1077,7 @@ index 8b03ece..d3145e0 100644
                        paramBlock.ioVRefNum    = dqPtr->dQDrive;
                        paramBlock.ioCRefNum    = dqPtr->dQRefNum;
                        paramBlock.csCode               = kDriveIcon;                                           // return physical icon
-@@ -1152,7 +1152,7 @@ Boolean IsBlueBoxSharedDrive ( DrvQElPtr dqPtr )
+@@ -1152,7 +1152,7 @@ Boolean IsBlueBoxSharedDrive ( DrvQElPtr
                                
                                iconAndStringRecPtr = * (IconAndStringRecPtr*) & paramBlock.csParam;
                                whereStringPtr = (StringPtr) & iconAndStringRecPtr->string;
@@ -1098,11 +1086,9 @@ index 8b03ece..d3145e0 100644
                                {
                                        return( true );
                                }
-diff --git a/fsck_hfs.tproj/dfalib/SRepair.c b/fsck_hfs.tproj/dfalib/SRepair.c
-index 89c12d6..b261c37 100644
 --- a/fsck_hfs.tproj/dfalib/SRepair.c
 +++ b/fsck_hfs.tproj/dfalib/SRepair.c
-@@ -844,7 +844,7 @@ static     int     DelFThd( SGlobPtr GPtr, UInt32 fid )                            //      the file ID
+@@ -844,7 +844,7 @@ static     int     DelFThd( SGlobPtr GPtr, UInt3
  
        isHFSPlus = VolumeObjectIsHFSPlus( );
        
@@ -1111,7 +1097,7 @@ index 89c12d6..b261c37 100644
        result = SearchBTreeRecord( GPtr->calculatedCatalogFCB, &key, kNoHint, &foundKey, &record, &recSize, &hint );
        
        if ( result )   return ( IntError( GPtr, result ) );
-@@ -910,7 +910,7 @@ static     OSErr   FixDirThread( SGlobPtr GPtr, UInt32 did )       //      the dir ID
+@@ -910,7 +910,7 @@ static     OSErr   FixDirThread( SGlobPtr GPtr
  
        isHFSPlus = VolumeObjectIsHFSPlus( );
  
@@ -1120,7 +1106,7 @@ index 89c12d6..b261c37 100644
        result = SearchBTreeRecord( GPtr->calculatedCatalogFCB, &key, kNoHint, &foundKey, &record, &recSize, &hint );
        
        if ( result )
-@@ -2171,7 +2171,7 @@ static   OSErr   FixOrphanedFiles ( SGlobPtr GPtr )
+@@ -2171,7 +2171,7 @@ static   OSErr   FixOrphanedFiles ( SGlobPtr
                                }
  
                                //-- Build the key for the file thread
@@ -1129,8 +1115,6 @@ index 89c12d6..b261c37 100644
  
                                err = SearchBTreeRecord( GPtr->calculatedCatalogFCB, &key, kNoHint, 
                                                                                 &tempKey, &threadRecord, &recordSize, &hint2 );
-diff --git a/fsck_hfs.tproj/dfalib/SUtils.c b/fsck_hfs.tproj/dfalib/SUtils.c
-index 6e9253e..491afbf 100644
 --- a/fsck_hfs.tproj/dfalib/SUtils.c
 +++ b/fsck_hfs.tproj/dfalib/SUtils.c
 @@ -395,11 +395,11 @@ OSErr GetVolumeFeatures( SGlobPtr GPtr )
@@ -1147,7 +1131,7 @@ index 6e9253e..491afbf 100644
                pb.ioParam.ioVRefNum    = GPtr->realVCB->vcbVRefNum;
                pb.ioParam.ioBuffer             = (Ptr) &buffer;
                pb.ioParam.ioReqCount   = sizeof( buffer );
-@@ -2282,7 +2282,7 @@ void print_prime_buckets(PrimeBuckets *cur);
+@@ -2282,7 +2282,7 @@ void print_prime_buckets(PrimeBuckets *c
   *                    4. btreetye - can be kHFSPlusCatalogRecord or kHFSPlusAttributeRecord
   *                            indicates which btree prime number bucket should be incremented
   *
@@ -1156,11 +1140,9 @@ index 6e9253e..491afbf 100644
   */
  void RecordXAttrBits(SGlobPtr GPtr, UInt16 flags, HFSCatalogNodeID fileid, UInt16 btreetype) 
  {
-diff --git a/fsck_hfs.tproj/dfalib/SVerify1.c b/fsck_hfs.tproj/dfalib/SVerify1.c
-index 39bda5c..c33155f 100644
 --- a/fsck_hfs.tproj/dfalib/SVerify1.c
 +++ b/fsck_hfs.tproj/dfalib/SVerify1.c
-@@ -790,13 +790,13 @@ OSErr    CreateExtentsBTreeControlBlock( SGlobPtr GPtr )
+@@ -790,13 +790,13 @@ OSErr    CreateExtentsBTreeControlBlock( SG
        //      set up our DFA extended BTCB area.  Will we have enough memory on all HFS+ volumes.
        //
        btcb->refCon = AllocateClearMemory( sizeof(BTreeExtensionsRec) );                       // allocate space for our BTCB extensions
@@ -1176,7 +1158,7 @@ index 39bda5c..c33155f 100644
        {
                err = R_NoMem;
                goto exit;
-@@ -1145,13 +1145,13 @@ OSErr  CreateCatalogBTreeControlBlock( SGlobPtr GPtr )
+@@ -1145,13 +1145,13 @@ OSErr  CreateCatalogBTreeControlBlock( SG
        //
  
        btcb->refCon = AllocateClearMemory( sizeof(BTreeExtensionsRec) );                       // allocate space for our BTCB extensions
@@ -1210,7 +1192,7 @@ index 39bda5c..c33155f 100644
                                result = SearchBTreeRecord( GPtr->calculatedCatalogFCB, &key, kNoHint, &foundKey, &threadRecord, &recSize, &hint );
                                if ( result != noErr ) {
                                        char idStr[16];
-@@ -1780,26 +1780,26 @@ OSErr  CreateAttributesBTreeControlBlock( SGlobPtr GPtr )
+@@ -1780,26 +1780,26 @@ OSErr  CreateAttributesBTreeControlBlock(
        //      set up our DFA extended BTCB area.  Will we have enough memory on all HFS+ volumes.
        //
        btcb->refCon = AllocateClearMemory( sizeof(BTreeExtensionsRec) );                       // allocate space for our BTCB extensions
@@ -1241,7 +1223,7 @@ index 39bda5c..c33155f 100644
                {
                        err = R_NoMem;
                        goto exit;
-@@ -2358,7 +2358,7 @@ static   OSErr   RcdMDBEmbededVolDescriptionErr( SGlobPtr GPtr, OSErr type, HFSMaste
+@@ -2358,7 +2358,7 @@ static   OSErr   RcdMDBEmbededVolDescription
        RcdError( GPtr, type );                                                                                         //      first, record the error
        
        p = AllocMinorRepairOrder( GPtr, sizeof(EmbededVolDescription) );       //      get the node
@@ -1250,7 +1232,7 @@ index 39bda5c..c33155f 100644
        
        p->type                                                 =  type;                                                        //      save error info
        desc                                                    =  (EmbededVolDescription *) &(p->name);
-@@ -2397,7 +2397,7 @@ static   OSErr   RcdInvalidWrapperExtents( SGlobPtr GPtr, OSErr type )
+@@ -2397,7 +2397,7 @@ static   OSErr   RcdInvalidWrapperExtents( S
        RcdError( GPtr, type );                                                                                         //      first, record the error
        
        p = AllocMinorRepairOrder( GPtr, 0 );   //      get the node
@@ -1259,7 +1241,7 @@ index 39bda5c..c33155f 100644
        
        p->type                                                 =  type;                                                        //      save error info
        
-@@ -3029,7 +3029,7 @@ OSErr    CheckFileExtents( SGlobPtr GPtr, UInt32 fileNumber, UInt8 forkType,
+@@ -3029,7 +3029,7 @@ OSErr    CheckFileExtents( SGlobPtr GPtr, U
        foundBadExtent = false;
        lastExtentIndex = GPtr->numExtents;
        
@@ -1268,7 +1250,7 @@ index 39bda5c..c33155f 100644
        {       
                //      checkout the extent record first
                err = ChkExtRec( GPtr, extents, &lastExtentIndex );
-@@ -3105,7 +3105,7 @@ OSErr    CheckFileExtents( SGlobPtr GPtr, UInt32 fileNumber, UInt8 forkType,
+@@ -3105,7 +3105,7 @@ OSErr    CheckFileExtents( SGlobPtr GPtr, U
                        if ( err == btNotFound )
                        {
                                err = noErr;                                                            //       no more extent records
@@ -1277,7 +1259,7 @@ index 39bda5c..c33155f 100644
                                break;
                        }
                        else if ( err != noErr )
-@@ -3121,7 +3121,7 @@ OSErr    CheckFileExtents( SGlobPtr GPtr, UInt32 fileNumber, UInt8 forkType,
+@@ -3121,7 +3121,7 @@ OSErr    CheckFileExtents( SGlobPtr GPtr, U
                        if ( err == btNotFound )
                        {
                                err = noErr;                                                            //       no more extent records
@@ -1286,7 +1268,7 @@ index 39bda5c..c33155f 100644
                                break;
                        }
                        else if ( err != noErr )
-@@ -3205,7 +3205,7 @@ static OSErr     AddExtentToOverlapList( SGlobPtr GPtr, HFSCatalogNodeID fileNumber,
+@@ -3205,7 +3205,7 @@ static OSErr     AddExtentToOverlapList( SGl
        }
        
        //      If it's uninitialized
@@ -1295,11 +1277,9 @@ index 39bda5c..c33155f 100644
        {
                GPtr->overlappedExtents = (ExtentsTable **) NewHandleClear( sizeof(ExtentsTable) );
                extentsTableH   = GPtr->overlappedExtents;
-diff --git a/fsck_hfs.tproj/dfalib/SVerify2.c b/fsck_hfs.tproj/dfalib/SVerify2.c
-index c68f3d8..da1a982 100644
 --- a/fsck_hfs.tproj/dfalib/SVerify2.c
 +++ b/fsck_hfs.tproj/dfalib/SVerify2.c
-@@ -1013,7 +1013,7 @@ static int BTKeyChk( SGlobPtr GPtr, NodeDescPtr nodeP, BTreeControlBlock *btcb )
+@@ -1013,7 +1013,7 @@ static int BTKeyChk( SGlobPtr GPtr, Node
        UInt16                          keyLength;
        KeyPtr                          keyPtr;
        UInt8                           *dataPtr;
@@ -1308,7 +1288,7 @@ index c68f3d8..da1a982 100644
  
  
        if ( nodeP->numRecords == 0 )
-@@ -1044,7 +1044,7 @@ static int BTKeyChk( SGlobPtr GPtr, NodeDescPtr nodeP, BTreeControlBlock *btcb )
+@@ -1044,7 +1044,7 @@ static int BTKeyChk( SGlobPtr GPtr, Node
                                return( E_KeyLen );
                        }
        
index 88c049fcd1f5ff711b2510619b76c1ab03aa7a26..0bcfe25eb2da003eedbe937bda41c1a8faee2cf2 100644 (file)
@@ -6,11 +6,9 @@ Subject: Fix types
  fsck_hfs.tproj/cache.c | 30 ++++++++++++++++--------------
  1 file changed, 16 insertions(+), 14 deletions(-)
 
-diff --git a/fsck_hfs.tproj/cache.c b/fsck_hfs.tproj/cache.c
-index 527088a..540fa0b 100644
 --- a/fsck_hfs.tproj/cache.c
 +++ b/fsck_hfs.tproj/cache.c
-@@ -961,20 +961,21 @@ int CacheLookup (Cache_t *cache, uint64_t off, Tag_t **tag)
+@@ -961,20 +961,21 @@ int CacheLookup (Cache_t *cache, uint64_
   */
  int CacheRawRead (Cache_t *cache, uint64_t off, uint32_t len, void *buf)
  {
@@ -39,7 +37,7 @@ index 527088a..540fa0b 100644
  
        /* Update counters */
        cache->DiskRead++;
-@@ -989,21 +990,22 @@ int CacheRawRead (Cache_t *cache, uint64_t off, uint32_t len, void *buf)
+@@ -989,21 +990,22 @@ int CacheRawRead (Cache_t *cache, uint64
   */
  int CacheRawWrite (Cache_t *cache, uint64_t off, uint32_t len, void *buf)
  {
index 883a7b74fceaf5f8dbdbf1342e8f2b5c98442a03..0645fa7fa1a5228d4bad8742f04ec48b4fbb5233 100644 (file)
@@ -15,11 +15,9 @@ This closes LP: #737002.
  include/missing.h | 8 +++++++-
  1 file changed, 7 insertions(+), 1 deletion(-)
 
-diff --git a/include/missing.h b/include/missing.h
-index 0a859c4..f50e8fb 100644
 --- a/include/missing.h
 +++ b/include/missing.h
-@@ -72,7 +72,7 @@
+@@ -71,7 +71,7 @@
  #define NAME_MAX      255
  
  /* Byteswap stuff */
@@ -28,7 +26,7 @@ index 0a859c4..f50e8fb 100644
  #define NXSwapBigShortToHost(x)       be16_to_cpu(x)
  #define OSSwapBigToHostInt16(x)               be16_to_cpu(x)
  #define NXSwapBigLongToHost(x)                be32_to_cpu(x)
-@@ -88,6 +88,9 @@
+@@ -87,6 +87,9 @@
  #ifndef be32_to_cpu
  #define be32_to_cpu(x) bswap_32(x)
  #endif
@@ -38,7 +36,7 @@ index 0a859c4..f50e8fb 100644
  #ifndef be64_to_cpu
  #define be64_to_cpu(x) bswap_64(x)
  #endif
-@@ -102,6 +105,9 @@
+@@ -101,6 +104,9 @@
  #ifndef be32_to_cpu
  #define be32_to_cpu(x)        (x)
  #endif
index d78083bd05b7add909a389fb13971a3647bbf008..736841fbb14dec778cb7683fbb0ec991c5a9284f 100644 (file)
@@ -20,8 +20,6 @@ Reviewed-by: Rogério Theodoro de Brito <rbrito@ime.usp.br>
  newfs_hfs.tproj/newfs_hfs.8 | 23 ++++++++---------------
  2 files changed, 15 insertions(+), 26 deletions(-)
 
-diff --git a/fsck_hfs.tproj/fsck_hfs.8 b/fsck_hfs.tproj/fsck_hfs.8
-index aec9949..0bc804d 100644
 --- a/fsck_hfs.tproj/fsck_hfs.8
 +++ b/fsck_hfs.tproj/fsck_hfs.8
 @@ -19,18 +19,18 @@
@@ -58,7 +56,7 @@ index aec9949..0bc804d 100644
  When preening file systems,
  .Nm
  will fix common inconsistencies for file systems that were not
-@@ -105,9 +103,9 @@ to check and repair journaled HFS+ file systems.
+@@ -105,9 +103,9 @@ to check and repair journaled HFS+ file
  .It Fl g
  Causes
  .Nm
@@ -70,7 +68,7 @@ index aec9949..0bc804d 100644
  .Nm
  tool.
  .It Fl l
-@@ -144,8 +142,6 @@ specified file system for a new catalog file and if there is no damage
+@@ -144,8 +142,6 @@ specified file system for a new catalog
  to the leaf nodes in the existing catalog file.
  .El
  .Pp
@@ -79,8 +77,6 @@ index aec9949..0bc804d 100644
  .Sh SEE ALSO
  .Xr fsck 8
  .Sh BUGS
-diff --git a/newfs_hfs.tproj/newfs_hfs.8 b/newfs_hfs.tproj/newfs_hfs.8
-index d002cc9..fe91962 100644
 --- a/newfs_hfs.tproj/newfs_hfs.8
 +++ b/newfs_hfs.tproj/newfs_hfs.8
 @@ -19,10 +19,10 @@
@@ -118,7 +114,7 @@ index d002cc9..fe91962 100644
  has several options to allow the defaults to be selectively overridden.
  The options are as follows:
  .Bl -tag -width Fl
-@@ -66,7 +60,7 @@ Set the group of the file system's root directory to
+@@ -66,7 +60,7 @@ Set the group of the file system's root
  Specify the access permissions mask for the file system's root directory.
  .It Fl h
  Creates a legacy HFS format filesystem. This option
@@ -145,7 +141,7 @@ index d002cc9..fe91962 100644
  .Bl -tag -width Fl
  .It Em a=bytes
  Set the attribute b-tree node size.
-@@ -139,8 +133,7 @@ Set the extent overflow b-tree node size.
+@@ -139,8 +133,7 @@ Set the extent overflow b-tree node size
  Volume name (file system name) in ascii or UTF-8 format.
  .El
  .Sh SEE ALSO
index 48649ba594a019ddcb7fe515b8a882dbe1af5148..7d5e97563fc324b4da9cc7157efd92f85144902c 100644 (file)
@@ -1,6 +1,6 @@
---- diskdev_cmds-332.25/newfs_hfs.tproj/makehfs.c      2015-03-27 21:58:04.163171675 -0700
-+++ hfsprogs-332.25/newfs_hfs.tproj/makehfs.c  2015-03-27 21:56:03.687175020 -0700
-@@ -2119,10 +2119,12 @@
+--- a/newfs_hfs.tproj/makehfs.c
++++ b/newfs_hfs.tproj/makehfs.c
+@@ -2119,10 +2119,12 @@ void GenerateVolumeUUID(VolumeUUID *newV
                sysctl(mib, 2, sysctlstring, &datalen, NULL, 0);
                SHA1_Update(&context, sysctlstring, datalen);
  #endif
index b71290f5caa74dd9a64922d71ea9b4cadfe3dbd3..257bbca4cc002aa665d037726b07c334998ad919 100644 (file)
@@ -4,7 +4,7 @@
  #endif
  #include <sys/errno.h>
  #include <sys/stat.h>
-+#ifdef __GLIBC__
++#if 0
  #include <sys/sysctl.h>
 +#endif
  #if !LINUX
index 5846cc6588926ea364a793fe90cf36231f31780e..3d4c404a098e08b31829ac3136c3dc141820cf0a 100644 (file)
@@ -1,7 +1,5 @@
-Index: diskdev_cmds-332.25/fsck_hfs.tproj/dfalib/SVerify1.c
-===================================================================
---- diskdev_cmds-332.25.orig/fsck_hfs.tproj/dfalib/SVerify1.c
-+++ diskdev_cmds-332.25/fsck_hfs.tproj/dfalib/SVerify1.c
+--- a/fsck_hfs.tproj/dfalib/SVerify1.c
++++ b/fsck_hfs.tproj/dfalib/SVerify1.c
 @@ -2848,7 +2848,7 @@ OSErr    VLockedChk( SGlobPtr GPtr )
        }
        else            //      Because we don't have the unicode converters, just fill it with a dummy name.
index c391e1dd5757b4da7849e0704c951d1714f6797c..9cc9a6d6d95bcbb09887143ec591f729f5329cd8 100644 (file)
@@ -1,6 +1,6 @@
 --- a/newfs_hfs.tproj/makehfs.c
 +++ b/newfs_hfs.tproj/makehfs.c
-@@ -376,7 +376,7 @@ make_hfsplus(const DriveInfo *driveInfo, hfsparams_t *defaults)
+@@ -376,7 +376,7 @@ make_hfsplus(const DriveInfo *driveInfo,
        if ( (temp & 0x01FF) != 0 )
                temp = (temp + kBytesPerSector) & 0xFFFFFE00;
        
@@ -9,7 +9,7 @@
        if (nodeBuffer == NULL)
                err(1, NULL);
  
-@@ -1814,7 +1814,7 @@ ClearDisk(const DriveInfo *driveInfo, UInt64 startingSector, UInt32 numberOfSect
+@@ -1814,7 +1814,7 @@ ClearDisk(const DriveInfo *driveInfo, UI
  
        bufferSize = bufferSizeInSectors << kLog2SectorSize;
  
index 2469e1371d1d8ef5665e1bb846cc5e87c70eac48..4783d696e686d56e416e57d8c2c7512f9fa294fe 100644 (file)
@@ -1,6 +1,6 @@
 --- a/disklib/dump.h
 +++ b/disklib/dump.h
-@@ -110,9 +110,7 @@ extern long        dev_bsize;      /* block size of underlying disk device */
+@@ -110,9 +110,7 @@ extern long        dev_bsize;      /* block size of
  extern int    dev_bshift;     /* log2(dev_bsize) */
  extern int    tp_bshift;      /* log2(TP_BSIZE) */
  
  #include <sys/param.h>
  #include <sys/types.h>
  #include <sys/time.h>
-@@ -80,6 +79,7 @@ extern Boolean _CFStringGetFileSystemRepresentation(CFStringRef string, UInt8 *b
+@@ -80,6 +79,7 @@ extern Boolean _CFStringGetFileSystemRep
  
  #define kJournalFileType      0x6a726e6c      /* 'jrnl' */
  
index e5bd9b533b643d7b89e6b818eae400a3bb192340..926cb32d603160318ddd16890b684f9cd183e743 100644 (file)
@@ -15,7 +15,7 @@ PKG_RELEASE:=2
 PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tgz
 PKG_SOURCE_URL:=https://sourceware.org/pub/lvm2
 PKG_HASH:=5ad1645a480440892e35f31616682acba0dc204ed049635d2df3e5a5929d0ed0
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME).$(PKG_VERSION)
+PKG_BUILD_DIR:=$(BUILD_DIR)/lvm2-$(BUILD_VARIANT)/$(PKG_NAME).$(PKG_VERSION)
 
 PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
 PKG_LICENSE:=GPL-2.0 LGPL-2.1
@@ -26,40 +26,82 @@ PKG_BUILD_PARALLEL:=1
 
 include $(INCLUDE_DIR)/package.mk
 
-define Package/libdevmapper
+define Package/libdevmapper/Default
   SECTION:=libs
   CATEGORY:=Libraries
   TITLE:=The Linux Kernel Device Mapper userspace library
   URL:=https://sourceware.org/dm/
-  DEPENDS:=+kmod-dm +libpthread +libuuid +librt +libblkid +libselinux
+  DEPENDS:=+kmod-dm +libpthread +libuuid +librt +libblkid
 endef
 
-define Package/libdevmapper/description
+
+define Package/libdevmapper-normal
+  $(call Package/libdevmapper/Default)
+  VARIANT := normal
+  PROVIDES := libdevmapper
+endef
+
+define Package/libdevmapper-selinux
+  $(call Package/libdevmapper/Default)
+  VARIANT := selinux
+  DEPENDS += +libselinux
+  PROVIDES := libdevmapper
+endef
+
+define Package/libdevmapper-normal/description
  The device-mapper is a component of the 2.6 linux kernel that supports logical
  volume management. It is required by LVM2 and EVMS.
 endef
 
-define Package/lvm2
+define Package/libdevmapper-selinux/description
+$(call Package/libdevmapper-normal/description)
+ This variant supports SELinux
+
+endef
+
+define Package/lvm2/default
   SECTION:=utils
   CATEGORY:=Utilities
   SUBMENU:=Disc
   TITLE:=The Linux Logical Volume Manager
   URL:=https://sourceware.org/lvm2/
-  DEPENDS:=+libdevmapper +libreadline +libncurses +libaio
+  DEPENDS:=+libreadline +libncurses +libaio
+endef
+
+define Package/lvm2-normal
+  $(call Package/lvm2/default)
+  VARIANT := normal
+  DEPENDS += +libdevmapper-normal
+  PROVIDES := lvm2
 endef
 
-define Package/lvm2/description
+define Package/lvm2-selinux
+  $(call Package/lvm2/default)
+  VARIANT := selinux
+  DEPENDS += +libdevmapper-selinux
+  PROVIDES := lvm2
+endef
+
+define Package/lvm2-normal/description
  LVM2 refers to a new userspace toolset that provide logical volume management
  facilities on linux. It is reasonably backwards-compatible with the original
  LVM toolset.
 endef
 
+define Package/lvm2-selinux/description
+$(call Package/lvm2-normal/description)
+ This variant supports SELinux
+
+endef
+
+
 CONFIGURE_ARGS += \
        --disable-o_direct \
        --with-default-pid-dir=/var/run \
        --with-default-dm-run-dir=/var/run \
        --with-default-run-dir=/var/run/lvm \
-       --with-default-locking-dir=/var/lock/lvm
+       --with-default-locking-dir=/var/lock/lvm \
+       --$(if $(findstring selinux,$(BUILD_VARIANT)),en,dis)able-selinux
 
 ifneq ($(shell /bin/sh -c "echo -n 'X'"),X)
 MAKE_SHELL = SHELL=/bin/bash
@@ -83,12 +125,14 @@ define Build/InstallDev
        $(CP) $(PKG_BUILD_DIR)/libdm/libdevmapper.pc $(1)/usr/lib/pkgconfig
 endef
 
-define Package/libdevmapper/install
+define Package/libdevmapper-normal/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdevmapper.so.* $(1)/usr/lib
 endef
 
-define Package/lvm2/install
+Package/libdevmapper-selinux/install = $(Package/libdevmapper-normal/install)
+
+define Package/lvm2-normal/install
        $(INSTALL_DIR) $(1)/sbin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/lvm $(1)/sbin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dmsetup $(1)/sbin
@@ -105,9 +149,15 @@ define Package/lvm2/install
        $(FIND) $(PKG_INSTALL_DIR)/usr/sbin/ -type l -exec $(CP) -a {} $(1)/sbin/ \;
 endef
 
-define Package/lvm2/conffiles
+Package/lvm2-selinux/install = $(Package/lvm2-normal/install)
+
+define Package/lvm2-normal/conffiles
 /etc/lvm/lvm.conf
 endef
 
-$(eval $(call BuildPackage,libdevmapper))
-$(eval $(call BuildPackage,lvm2))
+Package/lvm2-selinux/conffiles = $(Package/lvm2/conffiles)
+
+$(eval $(call BuildPackage,libdevmapper-normal))
+$(eval $(call BuildPackage,libdevmapper-selinux))
+$(eval $(call BuildPackage,lvm2-normal))
+$(eval $(call BuildPackage,lvm2-selinux))
index 0c77160f1d74be54905070c55aaa7ffe04e975e3..410ed16290edf8f2bd9e0c7d0dced3c7b07d7048 100644 (file)
@@ -7,18 +7,17 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=rtl_433
-PKG_VERSION:=20.02
+PKG_VERSION:=20.11
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/merbanan/rtl_433/tar.gz/$(PKG_VERSION)?
-PKG_HASH:=4f114017ede02d3038c449cf7d25cc82eecda5960e5229cc229774681a9ad80b
+PKG_HASH:=12a5cb7a733ba352467522c704d5b685aa6137582dc18aaa444d4891c29ee839
 
 PKG_MAINTAINER:=Jasper Scholte <NightNL@outlook.com>
 PKG_LICENSE:=GPL-2.0-or-later
 PKG_LICENSE_FILES:=COPYING
 
-CMAKE_INSTALL:=1
 PKG_BUILD_PARALLEL:=1
 
 include $(INCLUDE_DIR)/package.mk
@@ -36,7 +35,15 @@ define Package/rtl-sdr/description
   rtl_433 turns your Realtek RTL2832 based DVB dongle into a 433.92MHz generic data receiver.
 endef
 
+define Build/InstallDev
+       $(INSTALL_DIR) $(1)/usr/include
+       $(CP) $(PKG_INSTALL_DIR)/usr/include/rtl_433.h $(1)/usr/include
+       $(CP) $(PKG_INSTALL_DIR)/usr/include/rtl_433_devices.h $(1)/usr/include
+endef
+
 define Package/rtl_433/install
+       $(INSTALL_DIR) $(1)/etc/rtl_433
+       $(CP) $(PKG_INSTALL_DIR)/usr/etc/rtl_433/*.conf $(1)/etc/rtl_433
        $(INSTALL_DIR) $(1)/usr/bin
        $(CP) $(PKG_INSTALL_DIR)/usr/bin/rtl_433 $(1)/usr/bin
 endef
index 962cc7daddf328fc18167c80a0bb02e094cbec1c..804f44cf7f7f5a59a1f55fee20dbb659f01f0222 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=spi-tools
-PKG_VERSION:=0.8.5
+PKG_VERSION:=0.8.6
 PKG_RELEASE:=1
 
 PKG_SOURCE_URL:=https://codeload.github.com/cpb-/spi-tools/tar.gz/$(PKG_VERSION)?
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_HASH:=a1846bf3b4d38fc419f8efe4555242aa581358fdca28452b3ca11f74e3572e33
+PKG_HASH:=319ad6ab296111109ea4a820e216cef392429295de7e10e76f7146677337cf09
 
 PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>
 PKG_LICENSE:=GPL-2.0-only
index fa49b95d5ad5c0946920bee7d1e64fbf0b2a0449..ca6b0c396b7ecf7fe1e86af2b147d36a218ac3c8 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=sysstat
-PKG_VERSION:=12.4.1
+PKG_VERSION:=12.4.2
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=http://pagesperso-orange.fr/sebastien.godard/
-PKG_HASH:=24af8d4eff5118a18f67d5eadda843b9cb9fd29ae4922c0e8b8399621313ce0b
+PKG_HASH:=3701b2c1883d50eb384d7b95ce5b6df0a71fdcb3c23f96cb58098d1bcffa018f
 
 PKG_MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr>
 PKG_LICENSE:=GPL-2.0-or-later
index a37401f95a13764f7a04e7cb37687491a1acf49c..8b024ffacdd2cc83c0530dbd5cc934a57e20ac50 100644 (file)
@@ -36,7 +36,7 @@
  
  sadc: sadc.o act_sadc.o sa_wrap.o sa_common_sadc.o common_sadc.o systest.o librdstats.a librdsensors.a
  
-@@ -293,7 +293,7 @@ sar: sar.o act_sar.o format_sar.o sa_common.o pr_stats.o librdstats_light.a libs
+@@ -293,7 +293,7 @@ sar: sar.o act_sar.o format_sar.o sa_com
  
  sadf.o: sadf.c sadf.h version.h sa.h common.h rd_stats.h rd_sensors.h
  
index bf4f07c38c2f0f255aaabe142a5fb1de0256e5bd..c8c5df2090fa1cba8ae54859b669d09cf02b47e6 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ttyd
-PKG_VERSION:=1.6.1
-PKG_RELEASE:=3
+PKG_VERSION:=1.6.2
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/tsl0922/ttyd/tar.gz/$(PKG_VERSION)?
-PKG_HASH:=d72dcca3dec00cda87b80a0a25ae4fee2f8b9098c1cdb558508dcb14fbb6fafc
+PKG_HASH:=fd3256099e1cc5c470220cbfbb3ab2c7fa1f92232c503f583556a8965aa83bac
 
 PKG_MAINTAINER:=Shuanglei Tao <tsl0922@gmail.com>
 PKG_LICENSE:=MIT
index 04a3027c2a40e73b3ebc2a58b03e4f345e29ad0b..06012dfd95e4b76e39fa6c33885fbdc068d99875 100644 (file)
@@ -8,7 +8,7 @@
  
  #include "utils.h"
  
-@@ -441,7 +442,8 @@ int main(int argc, char **argv) {
+@@ -478,7 +479,8 @@ int main(int argc, char **argv) {
      return -1;
    }
  
diff --git a/utils/ttyd/patches/200-protocol-fix-request-path-for-h2.patch b/utils/ttyd/patches/200-protocol-fix-request-path-for-h2.patch
deleted file mode 100644 (file)
index 554d70b..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-From f7c171ffbe2d7677af4974a235ed3ccb7b3ba8c8 Mon Sep 17 00:00:00 2001
-From: Shuanglei Tao <tsl0922@gmail.com>
-Date: Tue, 28 Jul 2020 22:55:01 +0800
-Subject: [PATCH 2/7] protocol: fix request path for h2
-
----
- src/protocol.c | 12 +++++++-----
- src/server.h   |  1 +
- 2 files changed, 8 insertions(+), 5 deletions(-)
-
-diff --git a/src/protocol.c b/src/protocol.c
-index fa96b6b..1be0a4e 100644
---- a/src/protocol.c
-+++ b/src/protocol.c
-@@ -236,8 +236,12 @@ int callback_tty(struct lws *wsi, enum lws_callback_reasons reason, void *user,
-         lwsl_warn("refuse to serve WS client due to the --max-clients option.\n");
-         return 1;
-       }
--      if (lws_hdr_copy(wsi, buf, sizeof(buf), WSI_TOKEN_GET_URI) <= 0 ||
--          strcmp(buf, endpoints.ws) != 0) {
-+
-+      n = lws_hdr_copy(wsi, pss->path, sizeof(pss->path), WSI_TOKEN_GET_URI);
-+#if defined(LWS_ROLE_H2)
-+      if (n <= 0) n = lws_hdr_copy(wsi, pss->path, sizeof(pss->path), WSI_TOKEN_HTTP_COLON_PATH);
-+#endif
-+      if (strncmp(pss->path, endpoints.ws, n) != 0) {
-         lwsl_warn("refuse to serve WS client for illegal ws path: %s\n", buf);
-         return 1;
-       }
-@@ -276,8 +280,6 @@ int callback_tty(struct lws *wsi, enum lws_callback_reasons reason, void *user,
-       LIST_INSERT_HEAD(&server->procs, proc, entry);
-       server->client_count++;
--      lws_hdr_copy(wsi, buf, sizeof(buf), WSI_TOKEN_GET_URI);
--
- #if LWS_LIBRARY_VERSION_NUMBER >= 2004000
-       lws_get_peer_simple(lws_get_network_wsi(wsi), pss->address, sizeof(pss->address));
- #else
-@@ -285,7 +287,7 @@ int callback_tty(struct lws *wsi, enum lws_callback_reasons reason, void *user,
-       lws_get_peer_addresses(wsi, lws_get_socket_fd(wsi), name, sizeof(name), pss->address,
-                              sizeof(pss->address));
- #endif
--      lwsl_notice("WS   %s - %s, clients: %d\n", buf, pss->address, server->client_count);
-+      lwsl_notice("WS   %s - %s, clients: %d\n", pss->path, pss->address, server->client_count);
-       break;
-     case LWS_CALLBACK_SERVER_WRITEABLE:
-diff --git a/src/server.h b/src/server.h
-index 116d9b9..167ea8b 100644
---- a/src/server.h
-+++ b/src/server.h
-@@ -57,6 +57,7 @@ struct pss_tty {
-   int initial_cmd_index;
-   bool authenticated;
-   char address[50];
-+  char path[20];
-   struct lws *wsi;
-   char *buffer;
--- 
-2.20.1
-
index 1b47d54a8a7b722b58fbfae0a2e238c9544714be..f106b752b37b442d1ff07e179226f5abb0df4bc5 100644 (file)
@@ -6,12 +6,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=unrar
-PKG_VERSION:=6.0.2
+PKG_VERSION:=6.0.3
 PKG_RELEASE:=1
 
 PKG_SOURCE:=unrarsrc-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://www.rarlab.com/rar
-PKG_HASH:=81bf188333f89c976780a477af27f651f54aa7da9312303d8d1a804696d3edd3
+PKG_HASH:=1def53392d879f9e304aa6eac1339cf41f9bce1111a2f5845071665738c4aca0
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-$(BUILD_VARIANT)/unrar
 
 PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>, \
@@ -30,7 +30,7 @@ ifeq ($(CONFIG_USE_UCLIBCXX),y)
 TARGET_LDFLAGS +=-nodefaultlibs
 endif
 TARGET_CXXFLAGS +=-fno-rtti -flto
-TARGET_LDFLAGS +=$(FPIC) -Wl,--gc-sections
+TARGET_LDFLAGS +=$(FPIC) -Wl,--gc-sections $(if $(CONFIG_USE_GLIBC),-lpthread)
 
 define Package/unrar/Default
   TITLE:=UnRAR
index ae4a86395b4522b44e6afab779afb8d2ff5fb225..fb335f7d3993dddd35026863251fa85d2d3db95a 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=whois
 PKG_VERSION:=5.5.7
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/w/whois
diff --git a/utils/whois/patches/010-no-crypt.patch b/utils/whois/patches/010-no-crypt.patch
deleted file mode 100644 (file)
index 36e5835..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -56,8 +56,6 @@ DEFS += -DHAVE_ICONV
- endif
- ifeq ($(shell $(PKG_CONFIG) --exists 'libxcrypt >= 4.1' || echo NO),)
--DEFS += -DHAVE_CRYPT_H -DHAVE_LINUX_CRYPT_GENSALT $(shell $(PKG_CONFIG) --cflags libcrypt)
--mkpasswd_LDADD += $(shell $(PKG_CONFIG) --libs libcrypt)
- else ifdef HAVE_XCRYPT
- DEFS += -DHAVE_XCRYPT_H -DHAVE_LINUX_CRYPT_GENSALT
- mkpasswd_LDADD += -lxcrypt
diff --git a/utils/whois/patches/010-no-mkpasswd.patch b/utils/whois/patches/010-no-mkpasswd.patch
new file mode 100644 (file)
index 0000000..93860a5
--- /dev/null
@@ -0,0 +1,20 @@
+--- a/Makefile
++++ b/Makefile
+@@ -72,7 +72,7 @@ endif
+ CPPFLAGS += $(DEFS) $(INCLUDES)
+ ##############################################################################
+-all: Makefile.depend whois mkpasswd pos
++all: Makefile.depend whois
+ ##############################################################################
+ %.o: %.c
+@@ -121,7 +121,7 @@ afl-run:
+       nice afl-fuzz -i ../afl_in -o ../afl_out -- ./whois
+ ##############################################################################
+-install: install-whois install-mkpasswd install-pos
++install: install-whois
+ install-whois: whois
+       $(INSTALL) -d $(BASEDIR)$(prefix)/bin/
diff --git a/utils/whois/patches/030-no-mkpasswd.patch b/utils/whois/patches/030-no-mkpasswd.patch
deleted file mode 100644 (file)
index aa03be6..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -62,7 +62,7 @@ endif
- CPPFLAGS += $(DEFS) $(INCLUDES)
- ##############################################################################
--all: Makefile.depend whois mkpasswd pos
-+all: Makefile.depend whois pos
- ##############################################################################
- %.o: %.c
index b885b15459b9d9be531793f1b8a03cb32eac47e0..77cb580667e52335c8a9ad76055f930fe81f036d 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=xfsprogs
 PKG_VERSION:=5.9.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@KERNEL/linux/utils/fs/xfs/xfsprogs
@@ -68,6 +68,7 @@ CONFIGURE_ARGS += \
        --disable-libicu
 
 TARGET_CFLAGS += -DHAVE_MAP_SYNC
+TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lrt)
 
 define Package/xfs-admin/install
        $(INSTALL_DIR) $(1)/sbin
index 4aad2a26c1a21c1bfa777b84b6720d4c7f0411f6..2a6b6c37682508c0d85bc7e51addedbb06750790 100644 (file)
@@ -1,12 +1,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=yq
-PKG_VERSION:=4.0.0
+PKG_VERSION:=4.2.0
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://codeload.github.com/mikefarah/yq/tar.gz/$(PKG_VERSION)?
-PKG_HASH:=343916095f92925f8ea00554fafa62110cb0f8220afc2961577abbc0c6e48e8f
+PKG_SOURCE_URL:=https://codeload.github.com/mikefarah/yq/tar.gz/v$(PKG_VERSION)?
+PKG_HASH:=19a75856c35cf99d7547faa5d00144b7a0d9e03ef04d10a20cd739dd8280ea7d
 
 PKG_MAINTAINER:=Tianling Shen <cnsztl@project-openwrt.eu.org>
 PKG_LICENSE:=MIT
index 4965b0ad1c72d0bd48907b146bceff37f90009d3..0919f76f9bf4f77fd3a6e6c9af2502900359b43e 100644 (file)
@@ -9,7 +9,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=zoneinfo
-PKG_VERSION:=2020d
+PKG_VERSION:=2020e
 PKG_RELEASE:=1
 
 #As i couldn't find real license used "Public Domain"
@@ -19,14 +19,14 @@ PKG_LICENSE:=Public Domain
 PKG_SOURCE:=tzdata$(PKG_VERSION).tar.gz
 PKG_SOURCE_CODE:=tzcode$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.iana.org/time-zones/repository/releases
-PKG_HASH:=8d813957de363387696f05af8a8889afa282ab5016a764c701a20758d39cbaf3
+PKG_HASH:=0be1ba329eae29ae1b54057c3547b3e672f73b3ae7643aa87dac85122bec037e
 
 include $(INCLUDE_DIR)/package.mk
 
 define Download/tzcode
    FILE=$(PKG_SOURCE_CODE)
    URL=$(PKG_SOURCE_URL)
-   HASH:=6cf050ba28e8053029d3f32d71341d11a794c6b5dd51a77fc769d6dae364fad5
+   HASH:=3e10308976b09305d15cb4a32ff75483421f2063bfa24a9be366a027e7cd2902
 endef
 
 $(eval $(call Download,tzcode))