summaryrefslogtreecommitdiff
path: root/pkgtools/pkgchk
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-09-10 19:12:52 +0000
committerjmmv <jmmv>2003-09-10 19:12:52 +0000
commit37224bd90bd41fca03f7883221bb7599f9771351 (patch)
tree12b8758d132a52f8dfcc1c643bc5dbb9def578cb /pkgtools/pkgchk
parentaf128a8948b39d97a68537e2f6e4a4bd09bc71aa (diff)
downloadpkgsrc-37224bd90bd41fca03f7883221bb7599f9771351.tar.gz
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 (limited to 'pkgtools/pkgchk')
-rw-r--r--pkgtools/pkgchk/Makefile4
-rwxr-xr-xpkgtools/pkgchk/files/pkgchk.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkgchk/Makefile b/pkgtools/pkgchk/Makefile
index a94000604e4..6dc81b6bf58 100644
--- a/pkgtools/pkgchk/Makefile
+++ b/pkgtools/pkgchk/Makefile
@@ -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 --git a/pkgtools/pkgchk/files/pkgchk.sh b/pkgtools/pkgchk/files/pkgchk.sh
index 4755c5f85f9..3c84def32a9 100755
--- a/pkgtools/pkgchk/files/pkgchk.sh
+++ b/pkgtools/pkgchk/files/pkgchk.sh
@@ -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 @@ if [ -n "$opt_c" ];then
# 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