pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkgchk Add the FQDN (using hostname) to the t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bafbdd3472c1
branches:  trunk
changeset: 461093:bafbdd3472c1
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Wed Sep 10 19:12:52 2003 +0000

description:
Add the FQDN (using hostname) to the tags list, in case it differs from the
short name (hostname -s).  Fixes PR pkg/22734 by Eric Schnoebelen.
Bump version to 1.40.

diffstat:

 pkgtools/pkgchk/Makefile        |  4 ++--
 pkgtools/pkgchk/files/pkgchk.sh |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 379823c9a3eb -r bafbdd3472c1 pkgtools/pkgchk/Makefile
--- a/pkgtools/pkgchk/Makefile  Wed Sep 10 19:04:53 2003 +0000
+++ b/pkgtools/pkgchk/Makefile  Wed Sep 10 19:12:52 2003 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.43 2003/07/17 22:52:16 grant Exp $
+# $NetBSD: Makefile,v 1.44 2003/09/10 19:12:52 jmmv Exp $
 
-DISTNAME=      pkgchk-1.39
+DISTNAME=      pkgchk-1.40
 WRKSRC=                ${WRKDIR}
 CATEGORIES=    pkgtools
 MASTER_SITES=  # empty
diff -r 379823c9a3eb -r bafbdd3472c1 pkgtools/pkgchk/files/pkgchk.sh
--- a/pkgtools/pkgchk/files/pkgchk.sh   Wed Sep 10 19:04:53 2003 +0000
+++ b/pkgtools/pkgchk/files/pkgchk.sh   Wed Sep 10 19:12:52 2003 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -e
 #
-# $Id: pkgchk.sh,v 1.42 2003/06/19 13:37:01 tron Exp $
+# $Id: pkgchk.sh,v 1.43 2003/09/10 19:12:55 jmmv Exp $
 #
 # TODO: Handle updates with dependencies via binary packages
 
@@ -350,7 +350,7 @@
 
     # Determine list of tags
     #
-    TAGS="`hostname | sed -e 's,\..*,,'`,`uname -srm | ${AWK} '{print $1"-"$2"-"$3","$1"-"$2","$1"-"$3","$1","$2","$3}'`"
+    TAGS="`hostname | sed -e 's,\..*,,'`,`hostname`,`uname -srm | ${AWK} '{print $1"-"$2"-"$3","$1"-"$2","$1"-"$3","$1","$2","$3}'`"
     if [ -f /usr/X11R6/lib/libX11.so -o -f /usr/X11R6/lib/libX11.a ];then
        TAGS="$TAGS,x11"
     fi



Home | Main Index | Thread Index | Old Index