summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjoerg <joerg>2007-06-19 00:45:13 +0000
committerjoerg <joerg>2007-06-19 00:45:13 +0000
commit34b86fc9a977597e5924227618f030b04bd3f2c0 (patch)
treefbcdf9ce18eb2d1153aad578fe3b544f8c1eba39 /pkgtools
parent8997f49587ca6572344cfddeca345264bff3b3df (diff)
downloadpkgsrc-34b86fc9a977597e5924227618f030b04bd3f2c0.tar.gz
Obfuscate embedded $NetBSD$ strings a bit, so that pkgsrc doesn't pick
them up for +BUILD_VERSION. This makes matching against the output of ident impossible to verify whether the package is up-to-date.
Diffstat (limited to 'pkgtools')
-rwxr-xr-xpkgtools/libnbcompat/files/src2nbcompat8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/libnbcompat/files/src2nbcompat b/pkgtools/libnbcompat/files/src2nbcompat
index ddfceff182d..34109802fae 100755
--- a/pkgtools/libnbcompat/files/src2nbcompat
+++ b/pkgtools/libnbcompat/files/src2nbcompat
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: src2nbcompat,v 1.8 2005/02/04 00:43:42 jlam Exp $
+# $NetBSD: src2nbcompat,v 1.9 2007/06/19 00:45:13 joerg Exp $
#
# Copyright (c) 2003 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -124,7 +124,7 @@ copy_file()
{ print } \
' $_f > $_destdir/$_newf.tmp
if [ -f $_destdir/$_newf ] && \
- diff -q -I "\$NetBSD.*\$" $_destdir/$_newf $_destdir/$_newf.tmp >/dev/null; then
+ diff -q -I "\$Net""BSD.*\$" $_destdir/$_newf $_destdir/$_newf.tmp >/dev/null; then
rm -f $_destdir/$_newf.tmp
else
rm -f $_destdir/$_newf
@@ -135,7 +135,7 @@ copy_file()
# Copy the manpage over, and generate the catpage.
cp $_newf $_destdir/$_newf.tmp
if [ -f $_destdir/$_newf ] && \
- diff -q -I "\$NetBSD.*\$" $_destdir/$_newf $_destdir/$_newf.tmp >/dev/null; then
+ diff -q -I "\$Net""BSD.*\$" $_destdir/$_newf $_destdir/$_newf.tmp >/dev/null; then
rm -f $_destdir/$_newf.tmp
else
mv -f $_destdir/$_newf.tmp $_destdir/$_newf
@@ -147,7 +147,7 @@ copy_file()
# Everything else just gets copied verbatim.
cp $_newf $_destdir/$_newf.tmp
if [ -f $_destdir/$_newf ] && \
- diff -q -I "\$NetBSD.*\$" $_destdir/$_newf $_destdir/$_newf.tmp >/dev/null; then
+ diff -q -I "\$Net""BSD.*\$" $_destdir/$_newf $_destdir/$_newf.tmp >/dev/null; then
rm -f $_destdir/$_newf.tmp
else
mv -f $_destdir/$_newf.tmp $_destdir/$_newf