Browse Source

* renamed t2-debug to sde-debug - ticket #341

git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21087 10447126-35f2-4685-b0cf-6dd780d3921f
early
Alejandro Mery 18 years ago
parent
commit
235d90b133
  1. 0
      base/sde-debug/sde-debug.cache
  2. 23
      base/sde-debug/sde-debug.conf
  3. 6
      base/sde-debug/sde-debug.desc
  4. 8
      base/sde-debug/test_badfiles.sh
  5. 8
      base/sde-debug/test_baduidgid.sh
  6. 8
      base/sde-debug/test_bindups.sh
  7. 8
      base/sde-debug/test_empty.sh
  8. 8
      base/sde-debug/test_rootfsbin.sh
  9. 8
      base/sde-debug/test_shares.sh
  10. 8
      base/sde-debug/test_unarchived.sh
  11. 8
      base/sde-debug/test_usrlocal.sh

0
base/t2-debug/t2-debug.cache → base/sde-debug/sde-debug.cache

23
base/t2-debug/t2-debug.conf → 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. # 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) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -11,12 +12,12 @@
# it under the terms of the GNU General Public License as published by # 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 # the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING. # GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END --- # --- SDE-COPYRIGHT-NOTE-END ---
main_rd() { main_rd() {
if [ -z "$root" ] ; then if [ -z "$root" ] ; then
rm -f /var/adm/*/rock-debug rm -f /var/adm/*/sde-debug
mkdir -p /var/adm/rock-debug mkdir -p /var/adm/sde-debug
cd $root/ cd $root/
cat << 'EOT' | cat << 'EOT' |
@ -31,17 +32,17 @@ badfiles.txt badfiles.sh known bad files in packages
EOT EOT
while read file script desc ; do while read file script desc ; do
echo -n "Checking for $desc ..." ; lang=bash echo -n "Checking for $desc ..." ; lang=bash
$lang $confdir/test_$script > /var/adm/rock-debug/$file 2>&1 $lang $confdir/test_$script > /var/adm/sde-debug/$file 2>&1
if [ -s /var/adm/rock-debug/$file ] ; then if [ -s /var/adm/sde-debug/$file ] ; then
echo " found errors!" echo " found errors!"
else else
echo " ok." ; rm -f /var/adm/rock-debug/$file echo " ok." ; rm -f /var/adm/sde-debug/$file
fi fi
done done
dump_env > /var/adm/rock-debug/buildenv.txt dump_env > /var/adm/sde-debug/buildenv.txt
cp -a $base/config/$config/config /var/adm/rock-debug/config.txt cp -a $base/config/$config/config /var/adm/sde-debug/config.txt
touch /var/adm/rock-debug/* touch /var/adm/sde-debug/*
fi fi
} }

6
base/t2-debug/t2-debug.desc → base/sde-debug/sde-debug.desc

@ -2,8 +2,8 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- [COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. [COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] [COPY]
[COPY] Filename: package/.../t2-debug/t2-debug.desc [COPY] Filename: package/.../sde-debug/sde-debug.desc
[COPY] Copyright (C) 2006 The OpenSDE Project [COPY] Copyright (C) 2006 - 2007 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project [COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf [COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY] [COPY]
@ -15,7 +15,7 @@
[COPY] GNU General Public License can be found in the file COPYING. [COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END --- [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] This package contains debug information collected during the compilation of
[T] the distribution. Don't install it except you _really_ know what you do! [T] the distribution. Don't install it except you _really_ know what you do!

8
base/t2-debug/test_badfiles.sh → base/sde-debug/test_badfiles.sh

@ -1,9 +1,9 @@
#!/bin/sh #!/bin/sh
# # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # 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) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -13,7 +13,7 @@
# it under the terms of the GNU General Public License as published by # 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 # the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING. # 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 # List known 'bad' files or directories found in the package db
# #

8
base/t2-debug/test_baduidgid.sh → base/sde-debug/test_baduidgid.sh

@ -1,9 +1,9 @@
#!/bin/sh #!/bin/sh
# # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # 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) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -13,7 +13,7 @@
# it under the terms of the GNU General Public License as published by # 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 # the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING. # 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 # List all files with unkown UID or GID
# #

8
base/t2-debug/test_bindups.sh → base/sde-debug/test_bindups.sh

@ -1,9 +1,9 @@
#!/bin/sh #!/bin/sh
# # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # 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) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -13,7 +13,7 @@
# it under the terms of the GNU General Public License as published by # 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 # the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING. # 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. # List all binary names which are used more than once in various bin dirs.
# #

8
base/t2-debug/test_empty.sh → base/sde-debug/test_empty.sh

@ -1,9 +1,9 @@
#!/bin/sh #!/bin/sh
# # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # 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) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -13,7 +13,7 @@
# it under the terms of the GNU General Public License as published by # 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 # the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING. # 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 # List all empty files stored in the package database and list
# all empty packages. # all empty packages.

8
base/t2-debug/test_rootfsbin.sh → base/sde-debug/test_rootfsbin.sh

@ -1,9 +1,9 @@
#!/bin/sh #!/bin/sh
# # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # 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) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -13,7 +13,7 @@
# it under the terms of the GNU General Public License as published by # 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 # the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING. # 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. # List binaries which should in in /bin and /sbin and are not there.
# #

8
base/t2-debug/test_shares.sh → base/sde-debug/test_shares.sh

@ -1,9 +1,9 @@
#!/bin/sh #!/bin/sh
# # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # 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) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -13,7 +13,7 @@
# it under the terms of the GNU General Public License as published by # 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 # the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING. # 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 # List all filenames which are assigned to multiple packages in the
# package database files /var/adm/flists/* # package database files /var/adm/flists/*

8
base/t2-debug/test_unarchived.sh → base/sde-debug/test_unarchived.sh

@ -1,9 +1,9 @@
#!/bin/sh #!/bin/sh
# # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # 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) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -13,7 +13,7 @@
# it under the terms of the GNU General Public License as published by # 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 # the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING. # 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/* # List all files which are not listed in /var/adm/flists/*
# #

8
base/t2-debug/test_usrlocal.sh → base/sde-debug/test_usrlocal.sh

@ -1,9 +1,9 @@
#!/bin/sh #!/bin/sh
# # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # 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) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -13,7 +13,7 @@
# it under the terms of the GNU General Public License as published by # 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 # the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING. # 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 # List all files in the /usr/local tree
# #
Loading…
Cancel
Save