pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pbulk pbulk-0.41:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e25e3d70e52
branches:  trunk
changeset: 400720:9e25e3d70e52
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Oct 25 23:08:02 2009 +0000

description:
pbulk-0.41:
- Consider packages silently outdated if recorded files are missing.
- Explicitly pass down tar to pbulk-save-wrkdir, TAR is unset at that
  point.

diffstat:

 pkgtools/pbulk/Makefile                           |  4 ++--
 pkgtools/pbulk/files/pbulk/scripts/pkg-build      |  4 ++--
 pkgtools/pbulk/files/pbulk/scripts/pkg-up-to-date |  3 ++-
 3 files changed, 6 insertions(+), 5 deletions(-)

diffs (49 lines):

diff -r f6987a637308 -r 9e25e3d70e52 pkgtools/pbulk/Makefile
--- a/pkgtools/pbulk/Makefile   Sun Oct 25 22:58:24 2009 +0000
+++ b/pkgtools/pbulk/Makefile   Sun Oct 25 23:08:02 2009 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.55 2009/09/04 22:06:18 joerg Exp $
+# $NetBSD: Makefile,v 1.56 2009/10/25 23:08:02 joerg Exp $
 
-DISTNAME=      pbulk-0.41
+DISTNAME=      pbulk-0.42
 COMMENT=       Modular bulk build framework
 
 PKG_DESTDIR_SUPPORT=   user-destdir
diff -r f6987a637308 -r 9e25e3d70e52 pkgtools/pbulk/files/pbulk/scripts/pkg-build
--- a/pkgtools/pbulk/files/pbulk/scripts/pkg-build      Sun Oct 25 22:58:24 2009 +0000
+++ b/pkgtools/pbulk/files/pbulk/scripts/pkg-build      Sun Oct 25 23:08:02 2009 +0000
@@ -1,5 +1,5 @@
 #!@SH@
-# $NetBSD: pkg-build,v 1.18 2009/09/04 22:06:18 joerg Exp $
+# $NetBSD: pkg-build,v 1.19 2009/10/25 23:08:02 joerg Exp $
 #
 # Copyright (c) 2007, 2008 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
 # All rights reserved.
@@ -40,7 +40,7 @@
 
 cleanup() {
        if [ "$keep_wrkdir" = yes ]; then
-               ${make} pbulk-save-wrkdir INTO=${bulklog}/${pkgname}/wrkdir.tar.gz
+               ${make} pbulk-save-wrkdir INTO=${bulklog}/${pkgname}/wrkdir.tar.gz TAR="${tar}"
        fi
        if [ "$keep_prefix" = yes ] && [ -f ${bulklog}/${pkgname}/install.log ]; then
                if [ "$cross_compile" != "no" ]; then
diff -r f6987a637308 -r 9e25e3d70e52 pkgtools/pbulk/files/pbulk/scripts/pkg-up-to-date
--- a/pkgtools/pbulk/files/pbulk/scripts/pkg-up-to-date Sun Oct 25 22:58:24 2009 +0000
+++ b/pkgtools/pbulk/files/pbulk/scripts/pkg-up-to-date Sun Oct 25 23:08:02 2009 +0000
@@ -1,5 +1,5 @@
 #!@SH@
-# $NetBSD: pkg-up-to-date,v 1.7 2009/06/08 16:02:53 joerg Exp $
+# $NetBSD: pkg-up-to-date,v 1.8 2009/10/25 23:08:02 joerg Exp $
 #
 # Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
 # All rights reserved.
@@ -45,6 +45,7 @@
 
 ${pkg_info} -qb ${pkg} | sed 's/:/ /' | while read file file_id; do
        [ -z "$file" ] && continue
+       [ -e "${pkgsrc}/${file}" ]
 
        id=`@SED@ -e '/[$]NetBSD/!d' -e 's/^.*\([$]NetBSD[^$]*[$]\).*$/\1/;q' ${pkgsrc}/${file}`
        [ "$id" = "$file_id" ]



Home | Main Index | Thread Index | Old Index