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.40:
details: https://anonhg.NetBSD.org/pkgsrc/rev/1fa6c1ba8081
branches: trunk
changeset: 394323:1fa6c1ba8081
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Jun 08 16:02:52 2009 +0000
description:
pbulk-0.40:
Use plain sed to extract RCS IDs. GNU ident has issues with unexpanded
RCS IDs.
diffstat:
pkgtools/pbulk/Makefile | 8 ++++----
pkgtools/pbulk/files/pbulk/pbulk.conf | 3 +--
pkgtools/pbulk/files/pbulk/scripts/pkg-up-to-date | 4 ++--
3 files changed, 7 insertions(+), 8 deletions(-)
diffs (65 lines):
diff -r 8c34793d62e6 -r 1fa6c1ba8081 pkgtools/pbulk/Makefile
--- a/pkgtools/pbulk/Makefile Mon Jun 08 15:37:50 2009 +0000
+++ b/pkgtools/pbulk/Makefile Mon Jun 08 16:02:52 2009 +0000
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.53 2009/06/07 18:07:00 joerg Exp $
+# $NetBSD: Makefile,v 1.54 2009/06/08 16:02:52 joerg Exp $
-DISTNAME= pbulk-0.39
+DISTNAME= pbulk-0.40
COMMENT= Modular bulk build framework
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../pkgtools/pbulk/Makefile.common"
-USE_TOOLS+= awk:run bzip2:run digest:run gzip:run ident:run make:run \
+USE_TOOLS+= awk:run bzip2:run digest:run gzip:run make:run \
mail:run sed:run tar:run
DEPENDS+= rsync-[0-9]*:../../net/rsync
DEPENDS+= pbulk-base>=0.38:../../pkgtools/pbulk-base
@@ -33,7 +33,7 @@
scripts/compute-packages.awk scripts/create-broken-graph.awk \
scripts/create-report-html.awk scripts/create-report-txt.awk \
scripts/create-report.awk
-SUBST_VARS.tools= AWK BZIP2 CHOWN DIGEST GZIP_CMD IDENT MAIL_CMD NEATO \
+SUBST_VARS.tools= AWK BZIP2 CHOWN DIGEST GZIP_CMD MAIL_CMD NEATO \
PBULK_CONFIG PBULK_CONFIG_VERSION PKG_ADD_CMD \
PKG_DELETE_CMD PKG_INFO_CMD PREFIX SED SH TAR \
TARGET_MAKE
diff -r 8c34793d62e6 -r 1fa6c1ba8081 pkgtools/pbulk/files/pbulk/pbulk.conf
--- a/pkgtools/pbulk/files/pbulk/pbulk.conf Mon Jun 08 15:37:50 2009 +0000
+++ b/pkgtools/pbulk/files/pbulk/pbulk.conf Mon Jun 08 16:02:52 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: pbulk.conf,v 1.15 2008/09/16 18:21:30 joerg Exp $
+# $NetBSD: pbulk.conf,v 1.16 2009/06/08 16:02:52 joerg Exp $
# Version of the configuration file. This is bumped whenver the default
# config changes to notify the administrator about updates.
@@ -79,7 +79,6 @@
bzip2=@BZIP2@
digest=@DIGEST@
gzip="@GZIP_CMD@"
-ident=@IDENT@
# On non-NetBSD, this should usually point at the bmake in ${prefix}, not the
# make used to build pbulk itself.
make=@TARGET_MAKE@
diff -r 8c34793d62e6 -r 1fa6c1ba8081 pkgtools/pbulk/files/pbulk/scripts/pkg-up-to-date
--- a/pkgtools/pbulk/files/pbulk/scripts/pkg-up-to-date Mon Jun 08 15:37:50 2009 +0000
+++ b/pkgtools/pbulk/files/pbulk/scripts/pkg-up-to-date Mon Jun 08 16:02:52 2009 +0000
@@ -1,5 +1,5 @@
#!@SH@
-# $NetBSD: pkg-up-to-date,v 1.6 2009/03/06 15:53:21 tnn Exp $
+# $NetBSD: pkg-up-to-date,v 1.7 2009/06/08 16:02:53 joerg Exp $
#
# Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
# All rights reserved.
@@ -46,7 +46,7 @@
${pkg_info} -qb ${pkg} | sed 's/:/ /' | while read file file_id; do
[ -z "$file" ] && continue
- id=`${ident} ${pkgsrc}/${file} 2> /dev/null | head -n 2 | sed -e 1d -e 's/^ //'`
+ id=`@SED@ -e '/[$]NetBSD/!d' -e 's/^.*\([$]NetBSD[^$]*[$]\).*$/\1/;q' ${pkgsrc}/${file}`
[ "$id" = "$file_id" ]
done
Home |
Main Index |
Thread Index |
Old Index