diff options
author | Cem Keylan <cem@ckyln.com> | 2021-01-02 03:18:08 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-01-02 03:18:08 +0300 |
commit | 3ef23b9962195c9ed482b3a3aba52222cccdb2ab (patch) | |
tree | 8e515aad68addfdbb90812ffe4fc73c95afb9bc3 /extra | |
parent | ac7e7ff425d94b89f08b2b388ffe508b71acb5a4 (diff) | |
parent | c1677297e7977cfa5f5ecae32a752839591ed78a (diff) | |
download | repository-helpers.tar.gz |
Merge branch 'master' into helpershelpers
Diffstat (limited to 'extra')
-rw-r--r-- | extra/dhcpcd/checksums | 2 | ||||
-rw-r--r-- | extra/dhcpcd/sources | 2 | ||||
-rw-r--r-- | extra/dhcpcd/version | 2 | ||||
-rw-r--r-- | extra/freetype-harfbuzz/checksums | 4 | ||||
-rw-r--r-- | extra/freetype-harfbuzz/sources | 4 | ||||
-rw-r--r-- | extra/freetype-harfbuzz/version | 2 | ||||
-rwxr-xr-x | extra/go/build | 7 | ||||
-rw-r--r-- | extra/go/checksums | 1 | ||||
-rw-r--r-- | extra/go/depends | 1 | ||||
-rw-r--r-- | extra/go/patches/no-bash.patch | 86 | ||||
-rw-r--r-- | extra/go/sources | 1 | ||||
-rw-r--r-- | extra/harfbuzz-icu/checksums | 2 | ||||
-rw-r--r-- | extra/harfbuzz-icu/sources | 2 | ||||
-rw-r--r-- | extra/harfbuzz-icu/version | 2 | ||||
-rwxr-xr-x | extra/libarchive/build | 5 | ||||
-rw-r--r-- | extra/libarchive/checksums | 2 | ||||
-rw-r--r-- | extra/libarchive/sources | 2 | ||||
-rw-r--r-- | extra/libarchive/version | 2 | ||||
-rwxr-xr-x | extra/shared-mime-info/build | 11 | ||||
-rw-r--r-- | extra/shared-mime-info/checksums | 2 | ||||
-rwxr-xr-x | extra/shared-mime-info/post-install | 4 | ||||
-rw-r--r-- | extra/shared-mime-info/sources | 2 | ||||
-rw-r--r-- | extra/shared-mime-info/version | 2 | ||||
-rw-r--r-- | extra/tzdata/checksums | 2 | ||||
-rw-r--r-- | extra/tzdata/sources | 2 | ||||
-rw-r--r-- | extra/tzdata/version | 2 |
26 files changed, 125 insertions, 31 deletions
diff --git a/extra/dhcpcd/checksums b/extra/dhcpcd/checksums index 8a6ad7fc..49db6548 100644 --- a/extra/dhcpcd/checksums +++ b/extra/dhcpcd/checksums @@ -1,2 +1,2 @@ -fbea5d223e9c2837ea98757d1242db708a42d2e18b12050f9684424390833df4 dhcpcd-9.3.4.tar.gz +9d4165ea6a272f5aba55d421ff0fd88ac0bcfd13845b889b2b9291ea9cfa0031 dhcpcd-9.4.0.tar.gz 533714c2f3edcd70e47822cb880d8e8ffdba673b10452ea808037ec2714a375c dhcpcd.run diff --git a/extra/dhcpcd/sources b/extra/dhcpcd/sources index 3dd3c809..f5f44a0f 100644 --- a/extra/dhcpcd/sources +++ b/extra/dhcpcd/sources @@ -1,2 +1,2 @@ -https://github.com/rsmarples/dhcpcd/archive/dhcpcd-9.3.4.tar.gz +https://github.com/rsmarples/dhcpcd/archive/dhcpcd-9.4.0.tar.gz files/dhcpcd.run diff --git a/extra/dhcpcd/version b/extra/dhcpcd/version index 42192e33..53139a71 100644 --- a/extra/dhcpcd/version +++ b/extra/dhcpcd/version @@ -1 +1 @@ -9.3.4 1 +9.4.0 1 diff --git a/extra/freetype-harfbuzz/checksums b/extra/freetype-harfbuzz/checksums index be070b42..2a2d63c4 100644 --- a/extra/freetype-harfbuzz/checksums +++ b/extra/freetype-harfbuzz/checksums @@ -1,2 +1,2 @@ -1543d61025d2e6312e0a1c563652555f17378a204a61e99928c9fcef030a2d8b freetype-2.10.2.tar.xz -be01bc2c3f1e8902f31b432131280cdfdf6780b72c2389dd63cfab908f6213f3 2.7.3.tar.gz +86a854d8905b19698bbc8f23b860bc104246ce4854dcea8e3b0fb21284f75784 freetype-2.10.4.tar.xz +daff8a4003ac420a8550760ed303ce33b310c8ea17b7f15b307d1969cabcebcb 2.7.4.tar.gz diff --git a/extra/freetype-harfbuzz/sources b/extra/freetype-harfbuzz/sources index 8516dc55..cb35a879 100644 --- a/extra/freetype-harfbuzz/sources +++ b/extra/freetype-harfbuzz/sources @@ -1,2 +1,2 @@ -https://download-mirror.savannah.gnu.org/releases/freetype/freetype-2.10.2.tar.xz freetype -https://github.com/harfbuzz/harfbuzz/archive/2.7.3.tar.gz harfbuzz +https://download-mirror.savannah.gnu.org/releases/freetype/freetype-2.10.4.tar.xz freetype +https://github.com/harfbuzz/harfbuzz/archive/2.7.4.tar.gz harfbuzz diff --git a/extra/freetype-harfbuzz/version b/extra/freetype-harfbuzz/version index 8744e2a2..5e087c3c 100644 --- a/extra/freetype-harfbuzz/version +++ b/extra/freetype-harfbuzz/version @@ -1 +1 @@ -2.10.2+2.7.3 1 +2.10.4+2.7.4 1 diff --git a/extra/go/build b/extra/go/build index bb6ce565..c051bc2d 100755 --- a/extra/go/build +++ b/extra/go/build @@ -1,5 +1,8 @@ #!/bin/sh -e +# Remove bash as a make dependency +patch -p1 < no-bash.patch + # Disable stripping of binaries. # This breaks Go. :> nostrip @@ -15,7 +18,7 @@ export GO_LDFLAGS="-w -s" mkdir -p lib/go-bootstrap cd "$GOROOT/src" - bash ./make.bash + ./make.bash cd .. cp -a bin pkg src ../lib/go-bootstrap cd .. @@ -33,7 +36,7 @@ export GOROOT=$PWD/go-current ( cd "$GOROOT/src" - bash make.bash --no-clean -v + ./make.bash --no-clean -v ) cd "$GOROOT" diff --git a/extra/go/checksums b/extra/go/checksums index 61b37873..d225b66f 100644 --- a/extra/go/checksums +++ b/extra/go/checksums @@ -1,2 +1,3 @@ 890bba73c5e2b19ffb1180e385ea225059eb008eb91b694875dd86ea48675817 go1.15.6.src.tar.gz f4ff5b5eb3a3cae1c993723f3eab519c5bae18866b5e5f96fe1102f0cb5c3e52 go1.4-bootstrap-20171003.tar.gz +4166a929288658d8fb2978bab24c1b5a0a8b8996122058c97e207da79db75b92 no-bash.patch diff --git a/extra/go/depends b/extra/go/depends deleted file mode 100644 index 82a3ccad..00000000 --- a/extra/go/depends +++ /dev/null @@ -1 +0,0 @@ -bash make diff --git a/extra/go/patches/no-bash.patch b/extra/go/patches/no-bash.patch new file mode 100644 index 00000000..a1130c0b --- /dev/null +++ b/extra/go/patches/no-bash.patch @@ -0,0 +1,86 @@ +diff -ur a/go-current/src/make.bash b/go-current/src/make.bash +--- a/go-current/src/make.bash 2020-12-03 20:32:44.000000000 +0300 ++++ b/go-current/src/make.bash 2021-01-02 00:36:42.692155781 +0300 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env bash ++#!/bin/sh + # Copyright 2009 The Go Authors. All rights reserved. + # Use of this source code is governed by a BSD-style + # license that can be found in the LICENSE file. +@@ -106,7 +106,7 @@ + # so loop through the possible selinux mount points. + for se_mount in /selinux /sys/fs/selinux + do +- if [ -d $se_mount -a -f $se_mount/booleans/allow_execstack -a -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then ++ if [ -d $se_mount ] && [ -f $se_mount/booleans/allow_execstack ] && [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then + if ! cat $se_mount/booleans/allow_execstack | grep -c '^1 1$' >> /dev/null ; then + echo "WARNING: the default SELinux policy on, at least, Fedora 12 breaks " + echo "Go. You can enable the features that Go needs via the following " +@@ -154,14 +154,14 @@ + + export GOROOT_BOOTSTRAP=${GOROOT_BOOTSTRAP:-$HOME/go1.4} + export GOROOT="$(cd .. && pwd)" +-IFS=$'\n'; for go_exe in $(type -ap go); do ++for go_exe in $(command -v go); do + if [ ! -x "$GOROOT_BOOTSTRAP/bin/go" ]; then + goroot=$(GOROOT='' GOOS='' GOARCH='' "$go_exe" env GOROOT) + if [ "$goroot" != "$GOROOT" ]; then + GOROOT_BOOTSTRAP=$goroot + fi + fi +-done; unset IFS ++done + GOROOT_BOOTSTRAP_VERSION=$($GOROOT_BOOTSTRAP/bin/go version | sed 's/go version //') + echo "Building Go cmd/dist using $GOROOT_BOOTSTRAP. ($GOROOT_BOOTSTRAP_VERSION)" + if $verbose; then +diff -ur a/go1.4-bootstrap/src/make.bash b/go1.4-bootstrap/src/make.bash +--- a/go1.4-bootstrap/src/make.bash 2017-11-22 04:33:58.000000000 +0300 ++++ b/go1.4-bootstrap/src/make.bash 2021-01-02 00:11:00.448427915 +0300 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env bash ++#!/bin/sh + # Copyright 2009 The Go Authors. All rights reserved. + # Use of this source code is governed by a BSD-style + # license that can be found in the LICENSE file. +@@ -82,7 +82,7 @@ + # so loop through the possible selinux mount points. + for se_mount in /selinux /sys/fs/selinux + do +- if [ -d $se_mount -a -f $se_mount/booleans/allow_execstack -a -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then ++ if [ -d $se_mount ] && [ -f $se_mount/booleans/allow_execstack ] [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then + if ! cat $se_mount/booleans/allow_execstack | grep -c '^1 1$' >> /dev/null ; then + echo "WARNING: the default SELinux policy on, at least, Fedora 12 breaks " + echo "Go. You can enable the features that Go needs via the following " +@@ -102,7 +102,7 @@ + # Test for debian/kFreeBSD. + # cmd/dist will detect kFreeBSD as freebsd/$GOARCH, but we need to + # disable cgo manually. +-if [ "$(uname -s)" == "GNU/kFreeBSD" ]; then ++if [ "$(uname -s)" = "GNU/kFreeBSD" ]; then + export CGO_ENABLED=0 + fi + +@@ -122,12 +122,12 @@ + 386) mflag=-m32;; + amd64) mflag=-m64;; + esac +-if [ "$(uname)" == "Darwin" ]; then ++if [ "$(uname)" = "Darwin" ]; then + # golang.org/issue/5261 + mflag="$mflag -mmacosx-version-min=10.6" + fi + # if gcc does not exist and $CC is not set, try clang if available. +-if [ -z "$CC" -a -z "$(type -t gcc)" -a -n "$(type -t clang)" ]; then ++if [ -z "$CC" ] && ! command -v gcc >/dev/null && command -v clang; then + export CC=clang CXX=clang++ + fi + ${CC:-gcc} $mflag -O2 -Wall -Werror -o cmd/dist/dist -Icmd/dist "$DEFGOROOT" cmd/dist/*.c +@@ -162,7 +162,7 @@ + "$GOTOOLDIR"/go_bootstrap clean -i std + echo + +-if [ "$GOHOSTARCH" != "$GOARCH" -o "$GOHOSTOS" != "$GOOS" ]; then ++if [ "$GOHOSTARCH" != "$GOARCH" ] || [ "$GOHOSTOS" != "$GOOS" ]; then + echo "# Building packages and commands for host, $GOHOSTOS/$GOHOSTARCH." + # CC_FOR_TARGET is recorded as the default compiler for the go tool. When building for the host, however, + # use the host compiler, CC, from `cmd/dist/dist env` instead. diff --git a/extra/go/sources b/extra/go/sources index ebcc0562..9de4bc5c 100644 --- a/extra/go/sources +++ b/extra/go/sources @@ -1,2 +1,3 @@ https://golang.org/dl/go1.15.6.src.tar.gz go-current https://dl.google.com/go/go1.4-bootstrap-20171003.tar.gz go1.4-bootstrap +patches/no-bash.patch diff --git a/extra/harfbuzz-icu/checksums b/extra/harfbuzz-icu/checksums index 33ab11b5..51a72952 100644 --- a/extra/harfbuzz-icu/checksums +++ b/extra/harfbuzz-icu/checksums @@ -1 +1 @@ -be01bc2c3f1e8902f31b432131280cdfdf6780b72c2389dd63cfab908f6213f3 2.7.3.tar.gz +daff8a4003ac420a8550760ed303ce33b310c8ea17b7f15b307d1969cabcebcb 2.7.4.tar.gz diff --git a/extra/harfbuzz-icu/sources b/extra/harfbuzz-icu/sources index 0896b244..0c3694d9 100644 --- a/extra/harfbuzz-icu/sources +++ b/extra/harfbuzz-icu/sources @@ -1 +1 @@ -https://github.com/harfbuzz/harfbuzz/archive/2.7.3.tar.gz +https://github.com/harfbuzz/harfbuzz/archive/2.7.4.tar.gz diff --git a/extra/harfbuzz-icu/version b/extra/harfbuzz-icu/version index 0e087dce..27146e36 100644 --- a/extra/harfbuzz-icu/version +++ b/extra/harfbuzz-icu/version @@ -1 +1 @@ -2.7.3 1 +2.7.4 1 diff --git a/extra/libarchive/build b/extra/libarchive/build index 6e30984c..d069befd 100755 --- a/extra/libarchive/build +++ b/extra/libarchive/build @@ -7,7 +7,10 @@ --without-xml2 \ --without-expat -make +# Link binaries statically +make bsdtar_LDFLAGS=-all-static \ + bsdcat_LDFLAGS=-all-static \ + bsdcpio_LDFLAGS=-all-static make DESTDIR="$1" install ln -s bsdcat "$1/usr/bin/cat" diff --git a/extra/libarchive/checksums b/extra/libarchive/checksums index 4405fe42..fb2b78cb 100644 --- a/extra/libarchive/checksums +++ b/extra/libarchive/checksums @@ -1 +1 @@ -245bff9d17e78986bf9716eb887e3bc731d7fd8e5d04efebb8bb1e1c39a3a354 libarchive-3.5.0.tar.xz +0e17d3a8d0b206018693b27f08029b598f6ef03600c2b5d10c94ce58692e299b libarchive-3.5.1.tar.xz diff --git a/extra/libarchive/sources b/extra/libarchive/sources index e78bf42d..294adc8c 100644 --- a/extra/libarchive/sources +++ b/extra/libarchive/sources @@ -1 +1 @@ -https://github.com/libarchive/libarchive/releases/download/v3.5.0/libarchive-3.5.0.tar.xz +https://github.com/libarchive/libarchive/releases/download/3.5.1/libarchive-3.5.1.tar.xz diff --git a/extra/libarchive/version b/extra/libarchive/version index ad1efe9a..591d5e43 100644 --- a/extra/libarchive/version +++ b/extra/libarchive/version @@ -1 +1 @@ -3.5.0 1 +3.5.1 1 diff --git a/extra/shared-mime-info/build b/extra/shared-mime-info/build index d69c0330..c2b41d9d 100755 --- a/extra/shared-mime-info/build +++ b/extra/shared-mime-info/build @@ -3,9 +3,6 @@ # We bypass the build system entirely as it has # a mandatory dependency on gettext. -# Grab the package version. -read -r version _ < "${0%/*}/version" - mkdir -p "$1/usr/share/mime/packages" \ "$1/usr/share/pkgconfig" \ "$1/usr/bin" @@ -15,7 +12,7 @@ sed -e 's/_comment/comment/g' data/freedesktop.org.xml.in \ > "$1/usr/share/mime/packages/freedesktop.org.xml" # Replace markers in the file. -sed -e 's|@prefix@|/usr|' -e "s|@VERSION@|$version|" shared-mime-info.pc.in \ +sed -e 's|@prefix@|/usr|' -e "s|@VERSION@|$2|" shared-mime-info.pc.in \ > "$1/usr/share/pkgconfig/shared-mime-info.pc" # Define our own config.h statically. @@ -37,12 +34,12 @@ cat << EOF > src/config.h #define PACKAGE "shared-mime-info" #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "shared-mime-info" -#define PACKAGE_STRING "shared-mime-info $version" +#define PACKAGE_STRING "shared-mime-info $2" #define PACKAGE_TARNAME "shared-mime-info" #define PACKAGE_URL "" -#define PACKAGE_VERSION "$version" +#define PACKAGE_VERSION "$2" #define STDC_HEADERS 1 -#define VERSION "$version" +#define VERSION "$2" EOF # Fix config.h include. diff --git a/extra/shared-mime-info/checksums b/extra/shared-mime-info/checksums index 2a502c63..7b8bf18b 100644 --- a/extra/shared-mime-info/checksums +++ b/extra/shared-mime-info/checksums @@ -1 +1 @@ -23c1cb7919f31cf97aeb5225548f75705f706aa5cc7d1c4c503364bcc8681e06 shared-mime-info-2.0.tar.xz +b2d40cfcdd84e835d0f2c9107b3f3e77e9cf912f858171fe779946da634e8563 shared-mime-info-2.1.tar.xz diff --git a/extra/shared-mime-info/post-install b/extra/shared-mime-info/post-install index e9dffaad..646ccda3 100755 --- a/extra/shared-mime-info/post-install +++ b/extra/shared-mime-info/post-install @@ -1,3 +1,7 @@ #!/bin/sh -e +printf '\033[1;33mNOTE:\033[m \033[1m%s\n %s\n %s\033[m\n' \ + "Please be patient this might take really long, especially during updates." \ + "It might seem to be stuck, but it most probably isn't. The wait can" \ + "be up to 10 minutes." update-mime-database -V /usr/share/mime diff --git a/extra/shared-mime-info/sources b/extra/shared-mime-info/sources index a865d4d3..858173cd 100644 --- a/extra/shared-mime-info/sources +++ b/extra/shared-mime-info/sources @@ -1 +1 @@ -https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/0440063a2e6823a4b1a6fb2f2af8350f/shared-mime-info-2.0.tar.xz +https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/0ee50652091363ab0d17e335e5e74fbe/shared-mime-info-2.1.tar.xz diff --git a/extra/shared-mime-info/version b/extra/shared-mime-info/version index 8c676773..1fedb862 100644 --- a/extra/shared-mime-info/version +++ b/extra/shared-mime-info/version @@ -1 +1 @@ -2.0 1 +2.1 1 diff --git a/extra/tzdata/checksums b/extra/tzdata/checksums index 341b6dde..f44b905a 100644 --- a/extra/tzdata/checksums +++ b/extra/tzdata/checksums @@ -1 +1 @@ -5a8d69e9d998156bcebb5b7eabf7c2541b2ba39740b3e838a04fd6b8e67c5d35 2020e.tar.gz +e53b70c3ed8597a081e2c12ec049802433b5e022d3d20db4e8bda80d760d7cee 2020f.tar.gz diff --git a/extra/tzdata/sources b/extra/tzdata/sources index 3f9358ca..d802c18f 100644 --- a/extra/tzdata/sources +++ b/extra/tzdata/sources @@ -1 +1 @@ -https://github.com/eggert/tz/archive/2020e.tar.gz +https://github.com/eggert/tz/archive/2020f.tar.gz diff --git a/extra/tzdata/version b/extra/tzdata/version index beeb22a4..7241ed22 100644 --- a/extra/tzdata/version +++ b/extra/tzdata/version @@ -1 +1 @@ -2020e 1 +2020f 1 |