summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-01-13 21:14:47 +0100
committerErich Eckner <git@eckner.net>2023-01-13 21:14:47 +0100
commit152a5bedeba947336f3022f2b6704e0c415b47ea (patch)
tree4c9aa59fbfaa28e1e975fabfdfaf179e68fe7931 /core
parentbf15c241f258cb46868ec2e036469e83c622156a (diff)
downloadcrux-patches-152a5bedeba947336f3022f2b6704e0c415b47ea.tar.xz
core/pkgutils: adapt patches
Diffstat (limited to 'core')
-rw-r--r--core/pkgutils/Pkgfile-apply-patch1.patch8
-rw-r--r--core/pkgutils/Pkgfile-apply-patch2.patch6
-rw-r--r--core/pkgutils/pkgmk-permissions-test.patch.new8
3 files changed, 11 insertions, 11 deletions
diff --git a/core/pkgutils/Pkgfile-apply-patch1.patch b/core/pkgutils/Pkgfile-apply-patch1.patch
index 94f47fa..ccc40d8 100644
--- a/core/pkgutils/Pkgfile-apply-patch1.patch
+++ b/core/pkgutils/Pkgfile-apply-patch1.patch
@@ -2,10 +2,10 @@
+++ Pkgfile 2016-06-01 21:50:47.785297105 +0200
@@ -6,9 +6,11 @@
name=pkgutils
- version=5.40.1
- release=1
--source=(http://crux.nu/files/$name-$version.tar.xz)
-+source=(http://crux.nu/files/$name-$version.tar.xz
+ version=5.40.9
+ release=2
+-source=(https://crux.nu/files/$name-$version.tar.xz)
++source=(https://crux.nu/files/$name-$version.tar.xz
+ PKGMK_FULL_SOURCE_MIRRORS.patch)
build () {
diff --git a/core/pkgutils/Pkgfile-apply-patch2.patch b/core/pkgutils/Pkgfile-apply-patch2.patch
index d8cddeb..b11c206 100644
--- a/core/pkgutils/Pkgfile-apply-patch2.patch
+++ b/core/pkgutils/Pkgfile-apply-patch2.patch
@@ -1,9 +1,9 @@
--- Pkgfile 2016-06-01 21:50:22.035228588 +0200
+++ Pkgfile 2016-06-01 21:50:47.785297105 +0200
@@ -7,10 +7,12 @@
- version=5.40.1
- release=1
- source=(http://crux.nu/files/$name-$version.tar.xz
+ version=5.40.9
+ release=2
+ source=(https://crux.nu/files/$name-$version.tar.xz
- PKGMK_FULL_SOURCE_MIRRORS.patch)
+ PKGMK_FULL_SOURCE_MIRRORS.patch
+ pkgmk-permissions-test.patch)
diff --git a/core/pkgutils/pkgmk-permissions-test.patch.new b/core/pkgutils/pkgmk-permissions-test.patch.new
index d94705a..870f0f5 100644
--- a/core/pkgutils/pkgmk-permissions-test.patch.new
+++ b/core/pkgutils/pkgmk-permissions-test.patch.new
@@ -16,7 +16,7 @@
PKGMK_DOWNLOAD_PROG=${PKGMK_DOWNLOAD_PROG:-wget}
@@ -631,10 +636,13 @@
- local FILE LOCAL_FILENAME
+ local ORIG_FILE LOCAL_FILE srcind
if [ -f $TARGET ]; then
+ check_directory "$PKGMK_PACKAGE_DIR"
@@ -26,9 +26,9 @@
+ check_directory "$PKGMK_SOURCE_DIR"
+
- for FILE in ${source[@]}; do
- LOCAL_FILENAME=`get_filename $FILE`
- if [ -e $LOCAL_FILENAME ] && [ "$LOCAL_FILENAME" != "$FILE" ]; then
+ srcind=0
+ while [ $srcind -lt ${#source[@]} ]; do
+ ORIG_FILE="${source[$srcind]}"
@@ -652,7 +660,6 @@
check_file "$PKGMK_FOOTPRINT"