summaryrefslogtreecommitdiff
path: root/pkgtools/libnbcompat
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-06-19 00:45:13 +0000
committerjoerg <joerg@pkgsrc.org>2007-06-19 00:45:13 +0000
commit1b2b5a92558c2b536c79b0988a4a740e6ad5129f (patch)
treefbcdf9ce18eb2d1153aad578fe3b544f8c1eba39 /pkgtools/libnbcompat
parent51caae75849f6d9d49ff411db9016f26cb908c8a (diff)
downloadpkgsrc-1b2b5a92558c2b536c79b0988a4a740e6ad5129f.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/libnbcompat')
-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