pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/pkgtools/pkg



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Jan 23 07:08:51 UTC 2025

Modified Files:
        pkgsrc/pkgtools/pkg: distinfo
        pkgsrc/pkgtools/pkg/patches: patch-scripts_periodic_411.pkg-backup.in
Added Files:
        pkgsrc/pkgtools/pkg/patches: patch-scripts_periodic_411.pkg-backup

Log Message:
pkg: fix another unportable test(1) operator

TODO: fix the build


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/pkgtools/pkg/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/pkgtools/pkg/patches/patch-scripts_periodic_411.pkg-backup
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/pkgtools/pkg/patches/patch-scripts_periodic_411.pkg-backup.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/pkg/distinfo
diff -u pkgsrc/pkgtools/pkg/distinfo:1.17 pkgsrc/pkgtools/pkg/distinfo:1.18
--- pkgsrc/pkgtools/pkg/distinfo:1.17   Tue Oct 26 11:11:07 2021
+++ pkgsrc/pkgtools/pkg/distinfo        Thu Jan 23 07:08:51 2025
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.17 2021/10/26 11:11:07 nia Exp $
+$NetBSD: distinfo,v 1.18 2025/01/23 07:08:51 wiz Exp $
 
 BLAKE2s (pkg-1.10.99.7.tar.xz) = 61884e04f4a8283925b53d388d19e3e56a0744459230f8d2c66ccd31e1b78ffb
 SHA512 (pkg-1.10.99.7.tar.xz) = 32bfb919da140bb7b75427ea6351aee3a4a297a0e13b5c722bdd5a0b8f488085883df36929fb97ff6fd944b901fa0fc95174b1474a9a4422047ffc626869e43b
 Size (pkg-1.10.99.7.tar.xz) = 2217824 bytes
-SHA1 (patch-scripts_periodic_411.pkg-backup.in) = ec4ff8991b79608c448739b693b2eb527b646c63
+SHA1 (patch-scripts_periodic_411.pkg-backup) = 7f5f27b58629a17f1f3a197c9f02bd6f068585a9
+SHA1 (patch-scripts_periodic_411.pkg-backup.in) = 4dbeee9b07d7a7795a02219f4d2f12a039c58aaa

Index: pkgsrc/pkgtools/pkg/patches/patch-scripts_periodic_411.pkg-backup.in
diff -u pkgsrc/pkgtools/pkg/patches/patch-scripts_periodic_411.pkg-backup.in:1.1 pkgsrc/pkgtools/pkg/patches/patch-scripts_periodic_411.pkg-backup.in:1.2
--- pkgsrc/pkgtools/pkg/patches/patch-scripts_periodic_411.pkg-backup.in:1.1    Fri Apr 10 23:28:32 2020
+++ pkgsrc/pkgtools/pkg/patches/patch-scripts_periodic_411.pkg-backup.in        Thu Jan 23 07:08:51 2025
@@ -1,6 +1,6 @@
-$NetBSD: patch-scripts_periodic_411.pkg-backup.in,v 1.1 2020/04/10 23:28:32 khorben Exp $
+$NetBSD: patch-scripts_periodic_411.pkg-backup.in,v 1.2 2025/01/23 07:08:51 wiz Exp $
 
-Pass the portability test
+Fix unportable test(1) operator.
 
 --- scripts/periodic/411.pkg-backup.in.orig    2020-04-10 23:10:58.674050832 +0000
 +++ scripts/periodic/411.pkg-backup.in

Added files:

Index: pkgsrc/pkgtools/pkg/patches/patch-scripts_periodic_411.pkg-backup
diff -u /dev/null pkgsrc/pkgtools/pkg/patches/patch-scripts_periodic_411.pkg-backup:1.1
--- /dev/null   Thu Jan 23 07:08:51 2025
+++ pkgsrc/pkgtools/pkg/patches/patch-scripts_periodic_411.pkg-backup   Thu Jan 23 07:08:51 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-scripts_periodic_411.pkg-backup,v 1.1 2025/01/23 07:08:51 wiz Exp $
+
+Fix unportable test(1) operator.
+
+--- scripts/periodic/411.pkg-backup.orig       2025-01-22 22:06:00.034056538 +0000
++++ scripts/periodic/411.pkg-backup
+@@ -25,7 +25,7 @@ backup_pkg() {
+       for i in $(jot ${count} ${lower} 0); do
+               local higher=$(( ${i} + 1 ))
+               local file
+-              if [ ${i} == 0 ]; then
++              if [ ${i} = 0 ]; then
+                       file=${bak_file}
+               else
+                       file=${bak_file}.${i}



Home | Main Index | Thread Index | Old Index