From 235d90b1331d11f5e656ba13f439c94c0249051e Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 18 May 2007 17:56:25 +0000 Subject: [PATCH] * renamed t2-debug to sde-debug - ticket #341 git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21087 10447126-35f2-4685-b0cf-6dd780d3921f --- .../sde-debug.cache} | 0 .../sde-debug.conf} | 23 ++++++++++--------- .../sde-debug.desc} | 6 ++--- base/{t2-debug => sde-debug}/test_badfiles.sh | 8 +++---- .../{t2-debug => sde-debug}/test_baduidgid.sh | 8 +++---- base/{t2-debug => sde-debug}/test_bindups.sh | 8 +++---- base/{t2-debug => sde-debug}/test_empty.sh | 8 +++---- .../{t2-debug => sde-debug}/test_rootfsbin.sh | 8 +++---- base/{t2-debug => sde-debug}/test_shares.sh | 8 +++---- .../test_unarchived.sh | 8 +++---- base/{t2-debug => sde-debug}/test_usrlocal.sh | 8 +++---- 11 files changed, 47 insertions(+), 46 deletions(-) rename base/{t2-debug/t2-debug.cache => sde-debug/sde-debug.cache} (100%) rename base/{t2-debug/t2-debug.conf => sde-debug/sde-debug.conf} (69%) rename base/{t2-debug/t2-debug.desc => sde-debug/sde-debug.desc} (86%) rename base/{t2-debug => sde-debug}/test_badfiles.sh (83%) rename base/{t2-debug => sde-debug}/test_baduidgid.sh (80%) rename base/{t2-debug => sde-debug}/test_bindups.sh (84%) rename base/{t2-debug => sde-debug}/test_empty.sh (82%) rename base/{t2-debug => sde-debug}/test_rootfsbin.sh (91%) rename base/{t2-debug => sde-debug}/test_shares.sh (84%) rename base/{t2-debug => sde-debug}/test_unarchived.sh (86%) rename base/{t2-debug => sde-debug}/test_usrlocal.sh (79%) diff --git a/base/t2-debug/t2-debug.cache b/base/sde-debug/sde-debug.cache similarity index 100% rename from base/t2-debug/t2-debug.cache rename to base/sde-debug/sde-debug.cache diff --git a/base/t2-debug/t2-debug.conf b/base/sde-debug/sde-debug.conf similarity index 69% rename from base/t2-debug/t2-debug.conf rename to base/sde-debug/sde-debug.conf index 1f1b7bc93..ccdcb3f64 100644 --- a/base/t2-debug/t2-debug.conf +++ b/base/sde-debug/sde-debug.conf @@ -1,7 +1,8 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../t2-debug/t2-debug.conf +# Filename: package/.../sde-debug/sde-debug.conf +# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -11,12 +12,12 @@ # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. -# --- T2-COPYRIGHT-NOTE-END --- +# --- SDE-COPYRIGHT-NOTE-END --- main_rd() { if [ -z "$root" ] ; then - rm -f /var/adm/*/rock-debug - mkdir -p /var/adm/rock-debug + rm -f /var/adm/*/sde-debug + mkdir -p /var/adm/sde-debug cd $root/ cat << 'EOT' | @@ -31,17 +32,17 @@ badfiles.txt badfiles.sh known bad files in packages EOT while read file script desc ; do echo -n "Checking for $desc ..." ; lang=bash - $lang $confdir/test_$script > /var/adm/rock-debug/$file 2>&1 - if [ -s /var/adm/rock-debug/$file ] ; then + $lang $confdir/test_$script > /var/adm/sde-debug/$file 2>&1 + if [ -s /var/adm/sde-debug/$file ] ; then echo " found errors!" else - echo " ok." ; rm -f /var/adm/rock-debug/$file + echo " ok." ; rm -f /var/adm/sde-debug/$file fi done - dump_env > /var/adm/rock-debug/buildenv.txt - cp -a $base/config/$config/config /var/adm/rock-debug/config.txt - touch /var/adm/rock-debug/* + dump_env > /var/adm/sde-debug/buildenv.txt + cp -a $base/config/$config/config /var/adm/sde-debug/config.txt + touch /var/adm/sde-debug/* fi } diff --git a/base/t2-debug/t2-debug.desc b/base/sde-debug/sde-debug.desc similarity index 86% rename from base/t2-debug/t2-debug.desc rename to base/sde-debug/sde-debug.desc index 3bba544d4..be122c60a 100644 --- a/base/t2-debug/t2-debug.desc +++ b/base/sde-debug/sde-debug.desc @@ -2,8 +2,8 @@ [COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- [COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. [COPY] -[COPY] Filename: package/.../t2-debug/t2-debug.desc -[COPY] Copyright (C) 2006 The OpenSDE Project +[COPY] Filename: package/.../sde-debug/sde-debug.desc +[COPY] Copyright (C) 2006 - 2007 The OpenSDE Project [COPY] Copyright (C) 2004 - 2006 The T2 SDE Project [COPY] Copyright (C) 1998 - 2003 Clifford Wolf [COPY] @@ -15,7 +15,7 @@ [COPY] GNU General Public License can be found in the file COPYING. [COPY] --- SDE-COPYRIGHT-NOTE-END --- -[I] The ROCK Linux Internal Debug Package +[I] The OpenSDE Internal Debug Package [T] This package contains debug information collected during the compilation of [T] the distribution. Don't install it except you _really_ know what you do! diff --git a/base/t2-debug/test_badfiles.sh b/base/sde-debug/test_badfiles.sh similarity index 83% rename from base/t2-debug/test_badfiles.sh rename to base/sde-debug/test_badfiles.sh index db8038a42..1826aecb9 100644 --- a/base/t2-debug/test_badfiles.sh +++ b/base/sde-debug/test_badfiles.sh @@ -1,9 +1,9 @@ #!/bin/sh -# -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../t2-debug/test_badfiles.sh +# Filename: package/.../sde-debug/test_badfiles.sh +# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -13,7 +13,7 @@ # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. -# --- T2-COPYRIGHT-NOTE-END --- +# --- SDE-COPYRIGHT-NOTE-END --- # # List known 'bad' files or directories found in the package db # diff --git a/base/t2-debug/test_baduidgid.sh b/base/sde-debug/test_baduidgid.sh similarity index 80% rename from base/t2-debug/test_baduidgid.sh rename to base/sde-debug/test_baduidgid.sh index d1e80fa24..fb9c8d500 100644 --- a/base/t2-debug/test_baduidgid.sh +++ b/base/sde-debug/test_baduidgid.sh @@ -1,9 +1,9 @@ #!/bin/sh -# -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../t2-debug/test_baduidgid.sh +# Filename: package/.../sde-debug/test_baduidgid.sh +# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -13,7 +13,7 @@ # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. -# --- T2-COPYRIGHT-NOTE-END --- +# --- SDE-COPYRIGHT-NOTE-END --- # # List all files with unkown UID or GID # diff --git a/base/t2-debug/test_bindups.sh b/base/sde-debug/test_bindups.sh similarity index 84% rename from base/t2-debug/test_bindups.sh rename to base/sde-debug/test_bindups.sh index 024f5bfb4..f1956092d 100644 --- a/base/t2-debug/test_bindups.sh +++ b/base/sde-debug/test_bindups.sh @@ -1,9 +1,9 @@ #!/bin/sh -# -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../t2-debug/test_bindups.sh +# Filename: package/.../sde-debug/test_bindups.sh +# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -13,7 +13,7 @@ # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. -# --- T2-COPYRIGHT-NOTE-END --- +# --- SDE-COPYRIGHT-NOTE-END --- # # List all binary names which are used more than once in various bin dirs. # diff --git a/base/t2-debug/test_empty.sh b/base/sde-debug/test_empty.sh similarity index 82% rename from base/t2-debug/test_empty.sh rename to base/sde-debug/test_empty.sh index 2ccf4bf05..c85f4ddcd 100644 --- a/base/t2-debug/test_empty.sh +++ b/base/sde-debug/test_empty.sh @@ -1,9 +1,9 @@ #!/bin/sh -# -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../t2-debug/test_empty.sh +# Filename: package/.../sde-debug/test_empty.sh +# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -13,7 +13,7 @@ # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. -# --- T2-COPYRIGHT-NOTE-END --- +# --- SDE-COPYRIGHT-NOTE-END --- # # List all empty files stored in the package database and list # all empty packages. diff --git a/base/t2-debug/test_rootfsbin.sh b/base/sde-debug/test_rootfsbin.sh similarity index 91% rename from base/t2-debug/test_rootfsbin.sh rename to base/sde-debug/test_rootfsbin.sh index 579af0d6d..64243af57 100644 --- a/base/t2-debug/test_rootfsbin.sh +++ b/base/sde-debug/test_rootfsbin.sh @@ -1,9 +1,9 @@ #!/bin/sh -# -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../t2-debug/test_rootfsbin.sh +# Filename: package/.../sde-debug/test_rootfsbin.sh +# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -13,7 +13,7 @@ # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. -# --- T2-COPYRIGHT-NOTE-END --- +# --- SDE-COPYRIGHT-NOTE-END --- # # List binaries which should in in /bin and /sbin and are not there. # diff --git a/base/t2-debug/test_shares.sh b/base/sde-debug/test_shares.sh similarity index 84% rename from base/t2-debug/test_shares.sh rename to base/sde-debug/test_shares.sh index 6660d1cd3..2c840ecf0 100644 --- a/base/t2-debug/test_shares.sh +++ b/base/sde-debug/test_shares.sh @@ -1,9 +1,9 @@ #!/bin/sh -# -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../t2-debug/test_shares.sh +# Filename: package/.../sde-debug/test_shares.sh +# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -13,7 +13,7 @@ # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. -# --- T2-COPYRIGHT-NOTE-END --- +# --- SDE-COPYRIGHT-NOTE-END --- # # List all filenames which are assigned to multiple packages in the # package database files /var/adm/flists/* diff --git a/base/t2-debug/test_unarchived.sh b/base/sde-debug/test_unarchived.sh similarity index 86% rename from base/t2-debug/test_unarchived.sh rename to base/sde-debug/test_unarchived.sh index 70db53c29..48c49b46d 100644 --- a/base/t2-debug/test_unarchived.sh +++ b/base/sde-debug/test_unarchived.sh @@ -1,9 +1,9 @@ #!/bin/sh -# -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../t2-debug/test_unarchived.sh +# Filename: package/.../sde-debug/test_unarchived.sh +# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -13,7 +13,7 @@ # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. -# --- T2-COPYRIGHT-NOTE-END --- +# --- SDE-COPYRIGHT-NOTE-END --- # # List all files which are not listed in /var/adm/flists/* # diff --git a/base/t2-debug/test_usrlocal.sh b/base/sde-debug/test_usrlocal.sh similarity index 79% rename from base/t2-debug/test_usrlocal.sh rename to base/sde-debug/test_usrlocal.sh index db06d77a5..3ecb5cb64 100644 --- a/base/t2-debug/test_usrlocal.sh +++ b/base/sde-debug/test_usrlocal.sh @@ -1,9 +1,9 @@ #!/bin/sh -# -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../t2-debug/test_usrlocal.sh +# Filename: package/.../sde-debug/test_usrlocal.sh +# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -13,7 +13,7 @@ # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. -# --- T2-COPYRIGHT-NOTE-END --- +# --- SDE-COPYRIGHT-NOTE-END --- # # List all files in the /usr/local tree #