Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv24889/scripts Modified Files: LVM Libnet MOSIX MOSKRN Mail-SpamAssassin Python acl arpwatch attr bash beep bind binutils bison bridge-utils build-iso build.sh busybox bzip2 camsource cd_cleanup cdrtools cfg_runlevel chpax cipe clamav compartment copy_base copy_libs coreutils cpio cpqarrayd cramfs create_cd_dirs create_etc cron cutter cvs cyrus-imapd cyrus-sasl daemontools db-4 ddt ddup devfsd devildoc dhcp dhcpcd dialog diffutils distcc djbdns dosfstools dovecot e100 e1000 e2fsprogs ethtool ez-ipupdate fam fetchmail file finalize findutils freeramdisk freeswan fwlogwatch gawk gcc gdbm glib glibc gmp gnupg groff grsecurity grub gzip hdparm hostap hotplug i2c iANS insserv ipac-ng iproute2 iptables iptraf iptstate iputils jfsutils jftpgw joe jpeg krb5 less lftp lha libgcrypt libmcrypt libol libpcap libstdc++-compat libtool libusb libxml2 lilo linux linux-wlan-ng lm_sensors loadlin logrotate lsof lynx lzo makedepend man man-pages mc mcrypt mdadm memtest86 mgetty mhash minicom mk_devices modutils mtools mysql nail nano nasm ncftp ncurses net-snmp net-tools netacct-mysql noip_updater ntp oidentd openh323 openh323gk openldap openssh openssl openvpn opt passwdgen patch-o-matic pciutils pcmcia-cs pcwd pd-cvs perl pkgconfig popt portmap portslave postfix postgresql ppp pppoe-patch4 pptp-linux pptp-patches pptpd prepare procinfo procps psmisc pwlib python-ldap qadsl raidtools rcs readline reiserfsprogs rp-pppoe rpm rrlogind sagator samba setfiledates setserial sg3_utils shadow snort squid strace stunnel sysklogd syslinux syslog-ng sysstat sysvinit tar tcp_wrappers tcpdump telnet-bsd thttpd traceroute uClibc ucspi-tcp unarj unrar unzip usbutils util-linux vim vlan vsftpd vtun watchdog wget which whois wireless_tools wvdial wvstreams x509patch xfsprogs xinetd yp-tools ypbind-mt ypserv zebra zip zlib Removed Files: doc_html killproc showconsole Log Message: updated for build system v3 Index: LVM =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/LVM,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- LVM 4 Aug 2003 03:00:09 -0000 1.12 +++ LVM 13 Oct 2003 17:36:07 -0000 1.13 @@ -5,6 +5,18 @@ # # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: LVM +# Required-Start: $basebuildtools $libs +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: Libnet =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/Libnet,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Libnet 21 Apr 2003 20:53:35 -0000 1.4 +++ Libnet 13 Oct 2003 17:36:07 -0000 1.5 @@ -5,6 +5,18 @@ # # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: Libnet +# Required-Start: $basebuildtools glibc +# Required-Stop: +# Default-Start: 1 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: MOSIX =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/MOSIX,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- MOSIX 2 Oct 2003 12:28:41 -0000 1.6 +++ MOSIX 13 Oct 2003 17:36:07 -0000 1.7 @@ -4,6 +4,18 @@ # $Date$ # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: MOSIX +# Required-Start: $basebuildtools $libs MOSKRN +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: MOSKRN =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/MOSKRN,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- MOSKRN 21 Apr 2003 20:53:35 -0000 1.3 +++ MOSKRN 13 Oct 2003 17:36:07 -0000 1.4 @@ -5,6 +5,18 @@ # # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: MOSKRN +# Required-Start: $basebuildtools $libs +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: Mail-SpamAssassin =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/Mail-SpamAssassin,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- Mail-SpamAssassin 21 Sep 2003 15:56:29 -0000 1.6 +++ Mail-SpamAssassin 13 Oct 2003 17:36:07 -0000 1.7 @@ -4,6 +4,18 @@ # $Date$ # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: Mail-SpamAssassin +# Required-Start: $basebuildtools $libs perl +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: Python =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/Python,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- Python 12 Sep 2003 12:58:53 -0000 1.15 +++ Python 13 Oct 2003 17:36:07 -0000 1.16 @@ -5,6 +5,18 @@ # # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: Python +# Required-Start: $basebuildtools $libs +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: acl =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/acl,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- acl 25 Aug 2003 22:38:44 -0000 1.13 +++ acl 13 Oct 2003 17:36:07 -0000 1.14 @@ -5,6 +5,18 @@ # # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: acl +# Required-Start: $basebuildtools $installbase glibc attr +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} @@ -16,7 +28,7 @@ case $1 in build ) - ./configure --prefix=/usr --enable-shared || exit 1 + ./configure --prefix=/usr --enable-shared --enable-gettext=no || exit 1 make $PMAKE || exit 1 # install it, because it's needed by some programs make install install-dev install-lib || exit 1 Index: arpwatch =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/arpwatch,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- arpwatch 22 Jul 2003 19:45:11 -0000 1.15 +++ arpwatch 13 Oct 2003 17:36:07 -0000 1.16 @@ -5,6 +5,18 @@ # http://www.devil-linux.org # ARPWATCH added by Gunther Stammwitz <gs...@ma...> +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: arpwatch +# Required-Start: $basebuildtools $libs +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: attr =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/attr,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- attr 25 Aug 2003 22:38:44 -0000 1.9 +++ attr 13 Oct 2003 17:36:07 -0000 1.10 @@ -5,6 +5,18 @@ # # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: attr +# Required-Start: $basebuildtools $installbase glibc +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} @@ -14,7 +26,7 @@ case $1 in build ) - ./configure --prefix=/usr --enable-shared || exit 1 + ./configure --prefix=/usr --enable-shared --enable-gettext=no || exit 1 make $PMAKE || exit 1 # install it, because it's needed by some programs make install install-dev install-lib || exit 1 Index: bash =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/bash,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- bash 22 Aug 2003 23:52:32 -0000 1.4 +++ bash 13 Oct 2003 17:36:07 -0000 1.5 @@ -5,6 +5,18 @@ # # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: bash +# Required-Start: $basebuildtools $libs +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: beep =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/beep,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- beep 2 Oct 2003 12:28:41 -0000 1.15 +++ beep 13 Oct 2003 17:36:07 -0000 1.16 @@ -5,6 +5,18 @@ # # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: beep +# Required-Start: $basebuildtools $libs +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: bind =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/bind,v retrieving revision 1.26 retrieving revision 1.27 diff -u -d -r1.26 -r1.27 --- bind 20 Aug 2003 19:15:35 -0000 1.26 +++ bind 13 Oct 2003 17:36:07 -0000 1.27 @@ -5,6 +5,18 @@ # # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: bind +# Required-Start: $basebuildtools $libs +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: binutils =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/binutils,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- binutils 22 Jul 2003 17:15:22 -0000 1.6 +++ binutils 13 Oct 2003 17:36:07 -0000 1.7 @@ -4,6 +4,18 @@ # $Date$ # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: binutils +# Required-Start: prepare distcc gcc libtool +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: bison =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/bison,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- bison 21 Sep 2003 14:35:49 -0000 1.4 +++ bison 13 Oct 2003 17:36:07 -0000 1.5 @@ -5,7 +5,19 @@ # # http://www.devil-linux.org # -# CIPE added by: Bruce Smith <dev...@re...> for Devil Linux 0.6 +# bison added by: Bruce Smith <dev...@re...> for Devil Linux 0.6 + +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: bison +# Required-Start: prepare distcc gcc libtool prepare +# Required-Stop: +# Default-Start: 1 +# Default-Stop: +# Description: description +### END INIT INFO # get the directoryname of the script MYDIR=${0%/*} @@ -30,10 +42,6 @@ strip_debug make check || exit 1 make install || exit 1 - ;; - - install ) - : ;; * ) Index: bridge-utils =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/bridge-utils,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- bridge-utils 20 Aug 2003 20:02:48 -0000 1.11 +++ bridge-utils 13 Oct 2003 17:36:07 -0000 1.12 @@ -5,6 +5,18 @@ # # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: bridge-utils +# Required-Start: $basebuildtools $libs +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: build-iso =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/build-iso,v retrieving revision 1.41 retrieving revision 1.42 diff -u -d -r1.41 -r1.42 --- build-iso 8 Oct 2003 00:18:33 -0000 1.41 +++ build-iso 13 Oct 2003 17:36:07 -0000 1.42 @@ -7,6 +7,18 @@ # # This script creates the ISO image +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: build-iso +# Required-Start: prepare +# Required-Stop: +# Default-Start: 3 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} pushd $MYDIR > /dev/null Index: build.sh =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/build.sh,v retrieving revision 1.56 retrieving revision 1.57 diff -u -d -r1.56 -r1.57 --- build.sh 3 Sep 2003 02:29:41 -0000 1.56 +++ build.sh 13 Oct 2003 17:36:07 -0000 1.57 @@ -135,12 +135,90 @@ popd > /dev/null ;; + prepare ) + #before we do anything, we have to make sure kernel includes and that kind of stuff exist + echo running prepare + ./prepare prepare + + if [ ! -e /sbin/insserv ]; then + echo "insserv not found" + SCRIPT=insserv + CMD=build + SOURCEDIR=$(find_src_dir $SCRIPT) + + if [ -n "$SOURCEDIR" ]; then + pushd $SOURCEDIR > /dev/null + echo -n " (in $SOURCEDIR)" + fi + echo + if ! $MYDIR/$SCRIPT $CMD; then + echo "ERROR" + echo "$MYDIR/$SCRIPT $CMD failed" + exit 1 + fi + popd + fi + + echo "configuring order of scripts (this could take a while)" + rm -rf $DL_DIR/scripts/.buildorder &> /dev/null + mkdir -p $DL_DIR/scripts/.buildorder/rc{S,0,1,2,3,4,5,6}.d + + #for SCRIPT in $(grep -l "# DL-build-system v3" $DL_DIR/scripts/* | grep -v "build\.sh" | grep -v "build-order") + #do + # SCRIPT=${SCRIPT##/*/} + # ln -sf ../$SCRIPT $DL_DIR/scripts/.buildorder/rc0.d/S01$SCRIPT + # ln -sf ../$SCRIPT $DL_DIR/scripts/.buildorder/rc1.d/S01$SCRIPT + # ln -sf ../$SCRIPT $DL_DIR/scripts/.buildorder/rc2.d/S01$SCRIPT + # ln -sf ../$SCRIPT $DL_DIR/scripts/.buildorder/rc3.d/S01$SCRIPT + # ln -sf ../$SCRIPT $DL_DIR/scripts/.buildorder/rc4.d/S01$SCRIPT + # ln -sf ../$SCRIPT $DL_DIR/scripts/.buildorder/rc5.d/S01$SCRIPT + # ln -sf ../$SCRIPT $DL_DIR/scripts/.buildorder/rc6.d/S01$SCRIPT + # ln -sf ../$SCRIPT $DL_DIR/scripts/.buildorder/$SCRIPT + #done + + test -e /etc/insserv.conf && cp -f /etc/insserv.conf /etc/insserv.conf.dlbak || exit 1 + cp -f $DL_DIR/scripts/config/buildorder.conf /etc/insserv.conf || exit 1 + + # create symlinks in subfolder, so we don't mess up the build system so much + pushd $DL_DIR/scripts/.buildorder/ &> /dev/null + ln -sf ../* ./ + popd &> /dev/null + insserv -f -d $(grep -l "# DL-build-system v3" $DL_DIR/scripts/.buildorder/* | grep -v "build\.sh") || exit 1 + #echo NOT creating links for: + #grep -L "# DL-build-system v3" $DL_DIR/scripts/.buildorder/* | grep -v "build\.sh" 2> /dev/null + + test -e /etc/insserv.conf.dlbak && cp -f /etc/insserv.conf.dlbak /etc/insserv.conf || exit 1 + + #insserv -d $DL_DIR/scripts/.buildorder || exit 1 + + # do some cleanup, we don't need the K* scripts and they're confusing when you look for problems + find $DL_DIR/scripts/.buildorder/rc{S,0,1,2,3,4,5,6}.d -name "K*" | xargs rm &> /dev/null + + ;; + build|install|iso) if [ ! -f $BUILD_CONFIG ]; then echo "$BUILD_CONFIG not found, need to run menuconfig first" $MYSELF menuconfig || exit 1 fi + if [ ! -d $DL_DIR/scripts/.buildorder ]; then + echo "$DL_DIR/scripts/.buildorder not found, running prepare first" + $MYSELF prepare || exit 1 + fi + + # set the correct "runlevel" + if [ "$CMD" = "build" ]; then + LEVEL=1 + elif [ "$CMD" = "install" ]; then + LEVEL=2 + elif [ "$CMD" = "iso" ]; then + LEVEL=3 + else + echo "Someone messed up this script :(" + exit 1 + fi + if [ ! -d $WORKDIR ]; then if [ $CMD = "build" ]; then MSG="unpacking sources first" @@ -184,23 +262,20 @@ export PATH=/usr/lib/distcc/bin:$PATH fi - # run all scripts that have a corresponding file in - # the CMD subdir - LINKS=($(ls $MYDIR/$CMD/[0-9][0-9][0-9]*)) - for LINK in ${LINKS[@]##*/} + for LINK in $( ls -v $DL_DIR/scripts/.buildorder/rc$LEVEL.d/S* 2> /dev/null) do - SCRIPT=${LINK#[0-9][0-9][0-9]} + LINK=${LINK##/*/} + SCRIPT=${LINK#S[0-9][0-9]} # only execute a special script if selected test -n "$RUN_ONLY_CMD" && test "$SCRIPT" != "$RUN_ONLY_CMD" && continue - NUM=${LINK%$SCRIPT} - DONEFILE="${DONE}_${CMD}_${NUM}_${SCRIPT}" + DONEFILE="${DONE}_${CMD}_${SCRIPT}" echo if [ ! -f $MYDIR/$SCRIPT ]; then echo "ERROR" echo "$MYDIR/$SCRIPT not found" - echo "(LINK=${LINK} - SCRIPT=${SCRIPT} - NUM=${NUM})" + echo "(LINK=${LINK} - SCRIPT=${SCRIPT}" exit 1 fi if [ -f ${DONEFILE} -a -z "$RUN_ONLY_CMD" ]; then @@ -218,7 +293,7 @@ echo "ERROR" echo "$MYDIR/$SCRIPT $CMD failed" exit 1 - fi + fi touch ${DONEFILE} if dirs +1 &>/dev/null; then popd > /dev/null Index: busybox =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/busybox,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- busybox 18 Sep 2003 19:50:59 -0000 1.20 +++ busybox 13 Oct 2003 17:36:07 -0000 1.21 @@ -5,6 +5,18 @@ # # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: busybox +# Required-Start: $basebuildtools $libs +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: bzip2 =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/bzip2,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- bzip2 28 Jul 2003 20:35:47 -0000 1.9 +++ bzip2 13 Oct 2003 17:36:07 -0000 1.10 @@ -5,6 +5,18 @@ # # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: bzip2 +# Required-Start: $basebuildtools glibc +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: camsource =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/camsource,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- camsource 19 Sep 2003 01:29:06 -0000 1.3 +++ camsource 13 Oct 2003 17:36:07 -0000 1.4 @@ -4,6 +4,18 @@ # $Date$ # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: camsource +# Required-Start: $basebuildtools $libs +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: cd_cleanup =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/cd_cleanup,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- cd_cleanup 1 Oct 2003 02:02:42 -0000 1.1 +++ cd_cleanup 13 Oct 2003 17:36:07 -0000 1.2 @@ -5,6 +5,18 @@ # # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: cd_cleanup +# Required-Start: $installbase $installmain man-pages +# Required-Stop: +# Default-Start: 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: cdrtools =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/cdrtools,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- cdrtools 21 Apr 2003 20:53:36 -0000 1.4 +++ cdrtools 13 Oct 2003 17:36:08 -0000 1.5 @@ -5,6 +5,18 @@ # # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: cdrtools +# Required-Start: $basebuildtools $libs +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: cfg_runlevel =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/cfg_runlevel,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- cfg_runlevel 4 Oct 2003 01:24:16 -0000 1.28 +++ cfg_runlevel 13 Oct 2003 17:36:08 -0000 1.29 @@ -7,6 +7,18 @@ # # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: cfg_runlevel +# Required-Start: $installbase $installmain +# Required-Stop: +# Default-Start: 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} @@ -15,9 +27,6 @@ source $MYDIR/functions case $1 in - build ) - ;; - install ) echo "configuring runlevels" rm -rf $ETCDIR/etc/init.d/rc{S,0,1,2,3,4,5,6}.d || exit 1 Index: chpax =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/chpax,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- chpax 21 Jul 2003 20:43:33 -0000 1.5 +++ chpax 13 Oct 2003 17:36:08 -0000 1.6 @@ -5,6 +5,18 @@ # # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: chpax +# Required-Start: $basebuildtools $libs +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: cipe =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/cipe,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- cipe 2 Oct 2003 12:28:41 -0000 1.10 +++ cipe 13 Oct 2003 17:36:08 -0000 1.11 @@ -7,6 +7,18 @@ # # CIPE added by: Bruce Smith <dev...@re...> for Devil Linux 0.6 +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: cipe +# Required-Start: $basebuildtools $libs +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: clamav =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/clamav,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- clamav 5 Oct 2003 22:58:14 -0000 1.7 +++ clamav 13 Oct 2003 17:36:08 -0000 1.8 @@ -4,6 +4,18 @@ # $Date$ # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: clamav +# Required-Start: $basebuildtools $libs +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: compartment =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/compartment,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- compartment 20 Aug 2003 20:02:48 -0000 1.11 +++ compartment 13 Oct 2003 17:36:08 -0000 1.12 @@ -5,6 +5,18 @@ # # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: compartment +# Required-Start: $basebuildtools $libs +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: copy_base =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/copy_base,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- copy_base 25 Jul 2003 13:02:22 -0000 1.17 +++ copy_base 13 Oct 2003 17:36:08 -0000 1.18 @@ -7,6 +7,18 @@ # # copy all the needed binaries for the Base System from LFS +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: copy_base +# Required-Start: prepare create_cd_dirs create_etc +# Required-Stop: +# Default-Start: 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: copy_libs =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/copy_libs,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- copy_libs 14 Jul 2003 13:27:09 -0000 1.16 +++ copy_libs 13 Oct 2003 17:36:08 -0000 1.17 @@ -7,6 +7,18 @@ # # copy all the needed libraries from LFS +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: copy_libs +# Required-Start: $installbase $installmain +# Required-Stop: +# Default-Start: 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} @@ -53,17 +65,8 @@ echo "copy libraries for initrd" cp_libs $INITRDDIR $INITRDDIR/lib - echo "copy libraries for ramdisk" - cp_libs $RAMDISKDIR $RAMDISKDIR/lib - echo "copy libraries for CD" cp_libs $CDDIR $CDDIR/lib $RAMDISKDIR - - for PACKAGE in $(ls $PACKAGEDIR) - do - echo "copy libraries for package $PACKAGE" - cp_libs $PACKAGEDIR/$PACKAGE $PACKAGEDIR/$PACKAGE/lib $RAMDISKDIR $CDDIR - done ;; Index: coreutils =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/coreutils,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- coreutils 27 Aug 2003 00:56:16 -0000 1.4 +++ coreutils 13 Oct 2003 17:36:08 -0000 1.5 @@ -5,6 +5,18 @@ # # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: coreutils +# Required-Start: $libs +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: cpio =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/cpio,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- cpio 14 Jul 2003 13:27:09 -0000 1.5 +++ cpio 13 Oct 2003 17:36:08 -0000 1.6 @@ -5,6 +5,18 @@ # # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: cpio +# Required-Start: $basebuildtools $libs +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: cpqarrayd =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/cpqarrayd,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- cpqarrayd 5 Oct 2003 13:12:04 -0000 1.8 +++ cpqarrayd 13 Oct 2003 17:36:08 -0000 1.9 @@ -4,6 +4,18 @@ # $Date$ # http://www.devil-linux.org +# you need the next line, otherwise script won't be executed !!! +# DL-build-system v3 + +### BEGIN INIT INFO +# Provides: cpqarrayd +# Required-Start: $basebuildtools $libs +# Required-Stop: +# Default-Start: 1 2 +# Default-Stop: +# Description: description +### END INIT INFO + # get the directoryname of the script MYDIR=${0%/*} Index: cramfs =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/cramfs,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- cramfs 21 Sep 2003 14:35:49 -0000 1.2 +++ cramfs 13 Oct 2003 17:36:08 -0000 1.3 @@ -5,6 +5,18 @@ # # http://www.devil-linux.org +# you need the next line, otherwise scr... [truncated message content] |