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/db0e408904a2
branches: trunk
changeset: 398624:db0e408904a2
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Sep 04 22:06:18 2009 +0000
description:
pbulk-0.41:
Create & chown work.log for destdir builds too, as the normal build is
run unprivileged.
diffstat:
pkgtools/pbulk/Makefile | 4 ++--
pkgtools/pbulk/files/pbulk/scripts/pkg-build | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 0351e3511fc6 -r db0e408904a2 pkgtools/pbulk/Makefile
--- a/pkgtools/pbulk/Makefile Fri Sep 04 21:42:11 2009 +0000
+++ b/pkgtools/pbulk/Makefile Fri Sep 04 22:06:18 2009 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.54 2009/06/08 16:02:52 joerg Exp $
+# $NetBSD: Makefile,v 1.55 2009/09/04 22:06:18 joerg Exp $
-DISTNAME= pbulk-0.40
+DISTNAME= pbulk-0.41
COMMENT= Modular bulk build framework
PKG_DESTDIR_SUPPORT= user-destdir
diff -r 0351e3511fc6 -r db0e408904a2 pkgtools/pbulk/files/pbulk/scripts/pkg-build
--- a/pkgtools/pbulk/files/pbulk/scripts/pkg-build Fri Sep 04 21:42:11 2009 +0000
+++ b/pkgtools/pbulk/files/pbulk/scripts/pkg-build Fri Sep 04 22:06:18 2009 +0000
@@ -1,5 +1,5 @@
#!@SH@
-# $NetBSD: pkg-build,v 1.17 2008/09/16 18:21:30 joerg Exp $
+# $NetBSD: pkg-build,v 1.18 2009/09/04 22:06:18 joerg Exp $
#
# Copyright (c) 2007, 2008 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
# All rights reserved.
@@ -117,7 +117,7 @@
mkdir -p ${bulklog}/${pkgname}
rm -f ${bulklog}/${pkgname}/*
-if [ "$use_destdir" = "user-destdir" ]; then
+if [ "$use_destdir" = "destdir" -o "$use_destdir" = "user-destdir" ]; then
touch ${bulklog}/${pkgname}/work.log
@CHOWN@ ${unprivileged_user} ${bulklog}/${pkgname}/work.log
fi
Home |
Main Index |
Thread Index |
Old Index