From d4d45de2b8c8d357445235d8aedddeaa0259ac3a Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Sat, 6 Oct 2007 07:31:41 +0300 Subject: [PATCH] Removed 00-dirtree which is obsolete in favour of the fhs package --- base/00-dirtree/00-dirtree.cache | 12 --- base/00-dirtree/00-dirtree.conf | 53 ------------- base/00-dirtree/00-dirtree.desc | 32 -------- base/00-dirtree/data.txt | 126 ------------------------------- 4 files changed, 223 deletions(-) delete mode 100644 base/00-dirtree/00-dirtree.cache delete mode 100644 base/00-dirtree/00-dirtree.conf delete mode 100644 base/00-dirtree/00-dirtree.desc delete mode 100644 base/00-dirtree/data.txt diff --git a/base/00-dirtree/00-dirtree.cache b/base/00-dirtree/00-dirtree.cache deleted file mode 100644 index f021152f4..000000000 --- a/base/00-dirtree/00-dirtree.cache +++ /dev/null @@ -1,12 +0,0 @@ - -[TIMESTAMP] 1133855230 Tue Dec 6 08:47:10 2005 -[BUILDTIME] 5 (9) -[SIZE] 0.07 MB, 113 files - -[DEP] bash -[DEP] coreutils -[DEP] diffutils -[DEP] gcc -[DEP] glibc -[DEP] grep -[DEP] sed diff --git a/base/00-dirtree/00-dirtree.conf b/base/00-dirtree/00-dirtree.conf deleted file mode 100644 index f199dfa4e..000000000 --- a/base/00-dirtree/00-dirtree.conf +++ /dev/null @@ -1,53 +0,0 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# T2 SDE: package/.../00-dirtree/00-dirtree.conf -# Copyright (C) 2004 - 2006 The T2 SDE Project -# Copyright (C) 1998 - 2003 Clifford Wolf -# -# More information can be found in the files COPYING and README. -# -# This program is free software; you can redistribute it and/or modify -# 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 --- - -main_dt() { - echo -n "Change to sysroot directory ... " - cd $sysroot/ ; echo 'done' - - while read a b c ; do - if [ "$a" = "chmod" -o "$a" = "chown" ] ; then - echo "Running $a ($b) on $c ..." - $a "$b" "$sysroot/$c" - elif [ "$a" -a "$a" != "#" ] ; then - if [ -e "$sysroot/$b" ] ; then - echo "Exists already: $b." - elif [ "$a" = "m" ] ; then - echo "Create directory $b ..." - mkdir -p "$sysroot/$b" - elif [ "$a" = "l" ] ; then - echo "Create symlink $b ($c) ..." - ln -fsn "$c" "$sysroot/$b" - else - echo "Syntax Error: $a $b $c" ; false - fi - add_flist "$sysroot/$b" - fi - done < <( - cat $confdir/data.txt - if [[ $libdir = *lib64 ]]; then - echo "m lib64" - echo "m usr/lib64" - echo "m usr/local/lib64" - fi - ) -} - -srctar=none -createprefix=0 -createdocs=0 -custmain="main_dt" -check_usrlocal=0 - diff --git a/base/00-dirtree/00-dirtree.desc b/base/00-dirtree/00-dirtree.desc deleted file mode 100644 index fe143484d..000000000 --- a/base/00-dirtree/00-dirtree.desc +++ /dev/null @@ -1,32 +0,0 @@ - -[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- -[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. -[COPY] -[COPY] Filename: package/.../00-dirtree/00-dirtree.desc -[COPY] Copyright (C) 2006 The OpenSDE Project -[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project -[COPY] Copyright (C) 1998 - 2003 Clifford Wolf -[COPY] -[COPY] More information can be found in the files COPYING and README. -[COPY] -[COPY] This program is free software; you can redistribute it and/or modify -[COPY] it under the terms of the GNU General Public License as published by -[COPY] the Free Software Foundation; version 2 of the License. A copy of the -[COPY] GNU General Public License can be found in the file COPYING. -[COPY] --- SDE-COPYRIGHT-NOTE-END --- - -[I] Directory tree framework - -[T] This Package contains the basic directory tree. - -[A] The T2 Project -[M] The OpenSDE Community - -[C] base/system -[F] DIETLIBC - -[L] GPL -[S] Stable -[V] 0000 -[P] X 01---5---9 000.000 - diff --git a/base/00-dirtree/data.txt b/base/00-dirtree/data.txt deleted file mode 100644 index bd40729c3..000000000 --- a/base/00-dirtree/data.txt +++ /dev/null @@ -1,126 +0,0 @@ -# --- SDE-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# Filename: package/.../00-dirtree/data.txt -# Copyright (C) 2007 The OpenSDE Project -# Copyright (C) 1998 - 2003 Clifford Wolf -# -# More information can be found in the files COPYING and README. -# -# This program is free software; you can redistribute it and/or modify -# 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. -# --- SDE-COPYRIGHT-NOTE-END --- - -m bin -m boot -m dev -m etc -m etc/conf -m etc/cron.d -m etc/cron.daily -m etc/hotplug.d/default -m etc/rc.d -m etc/rc.d/rcX.d -m etc/rc.d/rc0.d -m etc/rc.d/rc1.d -m etc/rc.d/rc2.d -m etc/rc.d/rc3.d -m etc/rc.d/rc4.d -m etc/rc.d/rc5.d -m etc/rc.d/rc6.d -m etc/opt -m etc/profile.d -m etc/skel -m home -m lib -m lib/firmware -m lib/modules -m mnt -m media -m opt -m srv -m proc -m root -m sbin -m sbin/init.d -m sys -m tmp -m usr -m usr/bin -m usr/games -m usr/include -m usr/lib -m usr/local -m usr/local/bin -m usr/local/etc -m usr/local/include -m usr/local/lib -m usr/local/share -m usr/local/sbin -m usr/local/src -m usr/local/var -m usr/sbin -m usr/share -m usr/share/dict -m usr/share/doc -m usr/share/games -m usr/share/info -m usr/share/locale -m usr/share/man -m usr/share/man/man1 -m usr/share/man/man2 -m usr/share/man/man3 -m usr/share/man/man4 -m usr/share/man/man5 -m usr/share/man/man6 -m usr/share/man/man7 -m usr/share/man/man8 -m usr/share/misc -m usr/share/nls -m usr/share/terminfo -m usr/share/tmac -m usr/share/zoneinfo -m usr/src -m var -m var/account -m var/adm -m var/adm/cksums -m var/adm/dependencies -m var/adm/flists -m var/adm/md5sums -m var/adm/packages -m var/adm/postinstall -m var/cache -m var/empty -m var/games -m var/lock -m var/log -m var/mail -m var/opt -m var/run -m var/spool -m var/spool/mqueue -m var/state -m var/state/misc -m var/tmp -m var/yp - -l etc/init.d rc.d/init.d -l etc/rc.d/init.d ../../sbin/init.d -l usr/doc share/doc -l usr/share/doc/packages . -l usr/info share/info -l usr/man share/man -l usr/opt ../opt -l usr/spool ../var/spool -l usr/spool/locks ../../var/lock -l usr/tmp ../var/tmp -l var/spool/mail ../mail -l var/state/pkgtool ../adm - -chmod 0700 root -chmod ugo=rwxt tmp -chmod ugo=rwxt var/mail -chmod ugo=rwxt var/tmp