Skip to content

Commit

Permalink
packages: apply usign padding workarounds to package indexes if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
1715173329 committed Aug 16, 2019
1 parent 1983aa2 commit 876900d
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 2 deletions.
Empty file modified BSDmakefile
100755 → 100644
Empty file.
Empty file modified Config.in
100755 → 100644
Empty file.
Empty file modified LICENSE
100755 → 100644
Empty file.
Empty file modified Makefile
100755 → 100644
Empty file.
Empty file modified README
100755 → 100644
Empty file.
Empty file modified README.md
100755 → 100644
Empty file.
Empty file modified feeds.conf.default
100755 → 100644
Empty file.
8 changes: 6 additions & 2 deletions package/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,12 @@ $(curdir)/index: FORCE
mkdir -p $$d; \
cd $$d || continue; \
$(SCRIPT_DIR)/ipkg-make-index.sh . 2>&1 > Packages.manifest; \
grep -vE '^(Maintainer|LicenseFiles|Source|Require)' Packages.manifest > Packages && \
gzip -9nc Packages > Packages.gz; \
grep -vE '^(Maintainer|LicenseFiles|Source|Require)' Packages.manifest > Packages; \
case "$$(((64 + $$(stat -L -c%s Packages)) % 128))" in 110|111) \
$(call ERROR_MESSAGE,WARNING: Applying padding in $$d/Packages to workaround usign SHA-512 bug!); \
{ echo ""; echo ""; } >> Packages;; \
esac; \
gzip -9nc Packages > Packages.gz; \
); done
ifdef CONFIG_SIGNED_PACKAGES
@echo Signing package index...
Expand Down
Empty file modified rules.mk
100755 → 100644
Empty file.

0 comments on commit 876900d

Please sign in to comment.