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:   khorben
Date:           Fri Apr 10 23:28:32 UTC 2020

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

Log Message:
pkg: fix build with developer checks enabled

This adds a patch to fix a portability check.

Bumps PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/pkgtools/pkg/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/pkgtools/pkg/distinfo
cvs rdiff -u -r0 -r1.1 \
    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/Makefile
diff -u pkgsrc/pkgtools/pkg/Makefile:1.24 pkgsrc/pkgtools/pkg/Makefile:1.25
--- pkgsrc/pkgtools/pkg/Makefile:1.24   Sat Sep  7 23:30:45 2019
+++ pkgsrc/pkgtools/pkg/Makefile        Fri Apr 10 23:28:32 2020
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2019/09/07 23:30:45 nia Exp $
+# $NetBSD: Makefile,v 1.25 2020/04/10 23:28:32 khorben Exp $
 
 DISTNAME=      pkg-1.9.99.4
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    pkgtools
 MASTER_SITES=  http://files.etoilebsd.net/pkg/
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/pkgtools/pkg/distinfo
diff -u pkgsrc/pkgtools/pkg/distinfo:1.11 pkgsrc/pkgtools/pkg/distinfo:1.12
--- pkgsrc/pkgtools/pkg/distinfo:1.11   Sat Aug 19 00:24:13 2017
+++ pkgsrc/pkgtools/pkg/distinfo        Fri Apr 10 23:28:32 2020
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.11 2017/08/19 00:24:13 jlam Exp $
+$NetBSD: distinfo,v 1.12 2020/04/10 23:28:32 khorben Exp $
 
 SHA1 (pkg-1.9.99.4.tar.xz) = e7f2f5c9481c6a4f5e05e08818ea8f114fc1bfcf
 RMD160 (pkg-1.9.99.4.tar.xz) = 320f9866503d028f4f54f466a9ebc86cc9378331
 SHA512 (pkg-1.9.99.4.tar.xz) = eb4b01e26cffec6b6cd5604a81ba515eadcce09b4742876285bf8f510591c122665a1e598c100266f943439d0b2867b5a6e5702bc174ea302688bb73e0128d8b
 Size (pkg-1.9.99.4.tar.xz) = 1923452 bytes
+SHA1 (patch-scripts_periodic_411.pkg-backup.in) = ec4ff8991b79608c448739b693b2eb527b646c63

Added files:

Index: pkgsrc/pkgtools/pkg/patches/patch-scripts_periodic_411.pkg-backup.in
diff -u /dev/null pkgsrc/pkgtools/pkg/patches/patch-scripts_periodic_411.pkg-backup.in:1.1
--- /dev/null   Fri Apr 10 23:28:32 2020
+++ pkgsrc/pkgtools/pkg/patches/patch-scripts_periodic_411.pkg-backup.in        Fri Apr 10 23:28:32 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-scripts_periodic_411.pkg-backup.in,v 1.1 2020/04/10 23:28:32 khorben Exp $
+
+Pass the portability test
+
+--- scripts/periodic/411.pkg-backup.in.orig    2020-04-10 23:10:58.674050832 +0000
++++ scripts/periodic/411.pkg-backup.in
+@@ -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