diff options
26 files changed, 836 insertions, 93 deletions
diff --git a/base/aaabasicfs/.footprint b/base/aaabasicfs/.footprint index 6d565116d..1ba3e2ac7 100644 --- a/base/aaabasicfs/.footprint +++ b/base/aaabasicfs/.footprint @@ -90,7 +90,7 @@ lrwxrwxrwx root/root etc/rc.d/rc6.d/S80mountfs -> ../init.d/mountfs lrwxrwxrwx root/root etc/rc.d/rc6.d/S90localnet -> ../init.d/localnet lrwxrwxrwx root/root etc/rc.d/rc6.d/S99reboot -> ../init.d/reboot drwxr-xr-x root/root etc/rc.d/rcsysinit.d/ -lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S00mountkernfs -> ../init.d/mountkernfs +lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S01mountkernfs -> ../init.d/mountkernfs lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S02consolelog -> ../init.d/consolelog lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S05modules -> ../init.d/modules lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S10udev -> ../init.d/udev diff --git a/base/aaabasicfs/.md5sum b/base/aaabasicfs/.md5sum index a8e41b53e..4307fb1ec 100644 --- a/base/aaabasicfs/.md5sum +++ b/base/aaabasicfs/.md5sum @@ -3,19 +3,20 @@ f6b42961b3c2bd3b2e0bf0082d80d216 X.sh 427f04bb0e7ba3394054a1215fdca87c bashrc 427f04bb0e7ba3394054a1215fdca87c bashrc 3974f1b4242908346f309b096a7a6ed6 bashrc.etc -915e93cd8ecccdb797c25710ad466035 blfs-bootscripts-20090302.tar.bz2 +30929d5b1257b82b1a78060219244410 blfs-bootscripts-20090302.tar.bz2 94e5b6c4017e28684a683d39cbe4c72a console 248d4faa838949085a51003b2c0c3f00 dircolors.sh ad457024fe7ad91b8e9e0b4aad87df1f extrapaths.sh 0286a09ca5d7515c29ad5ff8f88fb9f3 fstab 57ddbea584220ac4e74d0504a03721f4 hosts -00ead57ee36e532fa3e88a0a99e2de3b inittab +51b048247011e2286992e4408dc5118d inittab 2ca09cd10bcc4f6adb0c5b1521bfdb7e inputrc 5d7c952bd09d718298dd60d3b976c349 lfs-bootscripts-01.patch -5a8b2aacde330663828176064c77b72d lfs-bootscripts-20100124.tar.bz2 +472830fe082dc77a1d30c8b2bd6b5079 lfs-bootscripts-20100529.tar.bz2 4e77d38062489bdd53d0eb9065a37b3e message f6c548de7fc44b0fbc503ba0189d5c91 network 5478e2141b3d5504cd201b23dcc70531 nu 210fdabd07248f79617508807715167b profile +8581f546f9dce86f2f04be09cc7773ad rc fa6ce99e0329c7854e0a83d022da6fe3 readline.sh 87a81331c2241707ab494584eb49a80b unmask.sh diff --git a/base/aaabasicfs/Pkgfile b/base/aaabasicfs/Pkgfile index ac743569f..6805e39f6 100644 --- a/base/aaabasicfs/Pkgfile +++ b/base/aaabasicfs/Pkgfile @@ -2,16 +2,15 @@ # URL: http://www.nutyx.org/ # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: name=aaabasicfs version=2010 -release=rc1a -scriptsversion=lfs-bootscripts-20100124 +release=rc2 +scriptsversion=lfs-bootscripts-20100529 BLFSscriptsversion=20090302 source=( http://www.linuxfromscratch.org/lfs/downloads/development/$scriptsversion.tar.bz2\ http://www.linuxfromscratch.org/blfs/downloads/svn/blfs-bootscripts-$BLFSscriptsversion.tar.bz2 - hosts console fstab inittab message inputrc network \ + hosts console fstab inittab message inputrc network rc \ profile dircolors.sh extrapaths.sh bash_profile bashrc bashrc.etc lfs-bootscripts-01.patch \ nu readline.sh unmask.sh X.sh bashrc ) @@ -152,6 +151,7 @@ EOF # Rename network script mv $PKG/etc/rc.d/init.d/{network,iplink} cp $SRC/network $PKG/etc/rc.d/init.d/ + cp $SRC/rc $PKG/etc/rc.d/init.d/ # We want to start the network when init 2 mv $PKG/etc/rc.d/rc2.d/{K80,S20}network cd .. @@ -164,7 +164,7 @@ EOF cp -v {dircolors.sh,extrapaths.sh,readline.sh,unmask.sh,X.sh}\ $PKG/etc/profile.d/ cp -v console $PKG/etc/sysconfig/ - echo "HOSTNAME=nutyx" > $PKG/etc/sysconfig/network + echo "HOSTNAME=NuTyX" > $PKG/etc/sysconfig/network cp -v bash_profile $PKG/etc/skel/.bash_profile cp -v bashrc $PKG/etc/skel/.bashrc ln -s /etc/slim.xinitrc $PKG/etc/skel/.xinitrc @@ -224,6 +224,7 @@ EOF mv $PKG/etc/rc.d/$i/S{70,80}mountfs done ln -s ../init.d/setclock $PKG/etc/rc.d/rcsysinit.d/S15setclock + mv $PKG/etc/rc.d/rcsysinit.d/S{00,01}mountkernfs mv $PKG/etc/rc.d/rcsysinit.d/S{20,40}swap mv $PKG/etc/rc.d/rcsysinit.d/S{30,20}checkfs mv $PKG/etc/rc.d/rcsysinit.d/S{40,30}mountfs diff --git a/base/aaabasicfs/inittab b/base/aaabasicfs/inittab index eb33db080..6bc32ce1e 100644 --- a/base/aaabasicfs/inittab +++ b/base/aaabasicfs/inittab @@ -4,7 +4,7 @@ # Pour le lancement de gdm: id:4 # Pour le lancement de kdm: id:5 -id:4:initdefault: +id:3:initdefault: si::sysinit:/etc/rc.d/init.d/rc sysinit @@ -20,11 +20,29 @@ ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -h now su:S016:once:/sbin/sulogin -1:2345:respawn:/usr/sbin/qingy tty1 -2:2345:respawn:/usr/sbin/qingy tty2 -3:2345:respawn:/usr/sbin/qingy tty3 -4:2345:respawn:/usr/sbin/qingy tty4 -5:2345:respawn:/usr/sbin/qingy tty5 -6:2345:respawn:/usr/sbin/qingy tty6 +1:2:respawn:/sbin/agetty tty1 9600 +2:2:respawn:/sbin/agetty tty2 9600 +3:2:respawn:/sbin/agetty tty3 9600 +4:2:respawn:/sbin/agetty tty4 9600 +5:2:respawn:/sbin/agetty tty5 9600 +6:2:respawn:/sbin/agetty tty6 9600 + + + +7:3:respawn:/usr/sbin/qingy tty1 +8:3:respawn:/usr/sbin/qingy tty2 +9:3:respawn:/usr/sbin/qingy tty3 +10:3:respawn:/usr/sbin/qingy tty4 +11:3:respawn:/usr/sbin/qingy tty5 +12:3:respawn:/usr/sbin/qingy tty6 + + + +20:4:respawn:/usr/bin/gdm + +30:5:respawn:/usr/bin/kdm + +sp:2345:once:/sbin/splashy_update "exit" + # End /etc/inittab diff --git a/base/aaabasicfs/rc b/base/aaabasicfs/rc new file mode 100755 index 000000000..56d61c399 --- /dev/null +++ b/base/aaabasicfs/rc @@ -0,0 +1,116 @@ +#!/bin/sh +######################################################################## +# Begin $rc_base/init.d/rc +# +# Description : Main Run Level Control Script +# +# Authors : Gerard Beekmans - gerard@linuxfromscratch.org +# +# Version : 00.00 +# +# Notes : +# +######################################################################## + +. /etc/sysconfig/rc +. ${rc_functions} + +stty sane + +trap "" INT QUIT TSTP + +[ "${1}" != "" ] && runlevel=${1} + +STEPS_DIR=/lib/init/rw/splashy +SPL_UPD=/sbin/splashy_update + + +splashy_update_progress(){ + STEPS_DIR=/lib/init/rw/splashy + SPL_UPD=/sbin/splashy_update + SPL_PRG=$STEPS_DIR/${runlevel}-progress + # load some default variables + [ -r "/etc/default/splashy" ] && . "/etc/default/splashy" + if ! ( pidof splashy > /dev/null ); then + /sbin/splashy boot 2>/dev/null + sleep 1 + else + PER=`sed -n 's+'${1}' ++ p' $SPL_PRG` + $SPL_UPD "progress $PER" + fi +} + +if [ "${runlevel}" = "" ]; then + echo "Usage: ${0} <runlevel>" >&2 + exit 1 +fi + +previous=${PREVLEVEL} +[ "${previous}" = "" ] && previous=N + +if [ ! -d ${rc_base}/rc${runlevel}.d ]; then + boot_mesg "${rc_base}/rc${runlevel}.d does not exist." ${WARNING} + boot_mesg_flush + exit 1 +fi +# Attempt to stop all service started by previous runlevel, +# and killed in this runlevel +if [ "${previous}" != "N" ]; then + for i in $(ls -v ${rc_base}/rc${runlevel}.d/K* 2> /dev/null) + do + check_script_status + + suffix=${i#$rc_base/rc$runlevel.d/K[0-9][0-9]} + prev_start=$rc_base/rc$previous.d/S[0-9][0-9]$suffix + sysinit_start=$rc_base/rcsysinit.d/S[0-9][0-9]$suffix + + if [ "${runlevel}" != "0" ] && [ "${runlevel}" != "6" ]; then + if [ ! -f ${prev_start} ] && [ ! -f ${sysinit_start} ]; then + boot_mesg -n "WARNING:\n\n${i} can't be" ${WARNING} + boot_mesg -n " executed because it was not" + boot_mesg -n " not started in the previous" + boot_mesg -n " runlevel (${previous})." + boot_mesg "" ${NORMAL} + boot_mesg_flush + continue + fi + fi + ${i} stop + error_value=${?} + + if [ "${error_value}" != "0" ]; then + print_error_msg + fi + done +fi + +#Start all functions in this runlevel +for i in $( ls -v ${rc_base}/rc${runlevel}.d/S* 2> /dev/null) +do + if [ "${previous}" != "N" ]; then + suffix=${i#$rc_base/rc$runlevel.d/S[0-9][0-9]} + stop=$rc_base/rc$runlevel.d/K[0-9][0-9]$suffix + prev_start=$rc_base/rc$previous.d/S[0-9][0-9]$suffix + + [ -f ${prev_start} ] && [ ! -f ${stop} ] && continue + fi + + check_script_status + + case ${runlevel} in + 0|6) + [ -f /sbin/splashy ] && splashy_update_progress ${i} + ${i} stop + ;; + *) + [ -f /sbin/splashy ] && splashy_update_progress ${i} + ${i} start + ;; + esac + error_value=${?} + + if [ "${error_value}" != "0" ]; then + print_error_msg + fi +done +# End $rc_base/init.d/rc diff --git a/base/directfb-1.0/.footprint b/base/directfb-1.0/.footprint new file mode 100644 index 000000000..16fd74bda --- /dev/null +++ b/base/directfb-1.0/.footprint @@ -0,0 +1,244 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/dfbdump +-rwxr-xr-x root/root usr/bin/dfbg +-rwxr-xr-x root/root usr/bin/dfbinfo +-rwxr-xr-x root/root usr/bin/dfbinput +-rwxr-xr-x root/root usr/bin/dfblayer +-rwxr-xr-x root/root usr/bin/dfbpenmount +-rwxr-xr-x root/root usr/bin/dfbscreen +-rwxr-xr-x root/root usr/bin/dfbsummon +-rwxr-xr-x root/root usr/bin/directfb-config +-rwxr-xr-x root/root usr/bin/directfb-csource +-rwxr-xr-x root/root usr/bin/mkdfiff +-rwxr-xr-x root/root usr/bin/mkdgiff +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/directfb-internal/ +drwxr-xr-x root/root usr/include/directfb-internal/core/ +-rw-r--r-- root/root usr/include/directfb-internal/core/clipboard.h +-rw-r--r-- root/root usr/include/directfb-internal/core/colorhash.h +-rw-r--r-- root/root usr/include/directfb-internal/core/core.h +-rw-r--r-- root/root usr/include/directfb-internal/core/core_parts.h +-rw-r--r-- root/root usr/include/directfb-internal/core/core_system.h +-rw-r--r-- root/root usr/include/directfb-internal/core/coredefs.h +-rw-r--r-- root/root usr/include/directfb-internal/core/coretypes.h +-rw-r--r-- root/root usr/include/directfb-internal/core/fonts.h +-rw-r--r-- root/root usr/include/directfb-internal/core/gfxcard.h +-rw-r--r-- root/root usr/include/directfb-internal/core/graphics_driver.h +-rw-r--r-- root/root usr/include/directfb-internal/core/input.h +-rw-r--r-- root/root usr/include/directfb-internal/core/input_driver.h +-rw-r--r-- root/root usr/include/directfb-internal/core/layer_context.h +-rw-r--r-- root/root usr/include/directfb-internal/core/layer_control.h +-rw-r--r-- root/root usr/include/directfb-internal/core/layer_region.h +-rw-r--r-- root/root usr/include/directfb-internal/core/layers.h +-rw-r--r-- root/root usr/include/directfb-internal/core/layers_internal.h +-rw-r--r-- root/root usr/include/directfb-internal/core/palette.h +-rw-r--r-- root/root usr/include/directfb-internal/core/screen.h +-rw-r--r-- root/root usr/include/directfb-internal/core/screens.h +-rw-r--r-- root/root usr/include/directfb-internal/core/screens_internal.h +-rw-r--r-- root/root usr/include/directfb-internal/core/state.h +-rw-r--r-- root/root usr/include/directfb-internal/core/surfacemanager.h +-rw-r--r-- root/root usr/include/directfb-internal/core/surfaces.h +-rw-r--r-- root/root usr/include/directfb-internal/core/system.h +-rw-r--r-- root/root usr/include/directfb-internal/core/windows.h +-rw-r--r-- root/root usr/include/directfb-internal/core/windows_internal.h +-rw-r--r-- root/root usr/include/directfb-internal/core/windowstack.h +-rw-r--r-- root/root usr/include/directfb-internal/core/wm.h +-rw-r--r-- root/root usr/include/directfb-internal/core/wm_module.h +drwxr-xr-x root/root usr/include/directfb-internal/display/ +-rw-r--r-- root/root usr/include/directfb-internal/display/idirectfbdisplaylayer.h +-rw-r--r-- root/root usr/include/directfb-internal/display/idirectfbpalette.h +-rw-r--r-- root/root usr/include/directfb-internal/display/idirectfbscreen.h +-rw-r--r-- root/root usr/include/directfb-internal/display/idirectfbsurface.h +-rw-r--r-- root/root usr/include/directfb-internal/display/idirectfbsurface_layer.h +-rw-r--r-- root/root usr/include/directfb-internal/display/idirectfbsurface_window.h +drwxr-xr-x root/root usr/include/directfb-internal/fbdev/ +-rw-r--r-- root/root usr/include/directfb-internal/fbdev/agp.h +-rw-r--r-- root/root usr/include/directfb-internal/fbdev/fb.h +-rw-r--r-- root/root usr/include/directfb-internal/fbdev/fbdev.h +-rw-r--r-- root/root usr/include/directfb-internal/fbdev/vt.h +drwxr-xr-x root/root usr/include/directfb-internal/gfx/ +-rw-r--r-- root/root usr/include/directfb-internal/gfx/clip.h +-rw-r--r-- root/root usr/include/directfb-internal/gfx/convert.h +drwxr-xr-x root/root usr/include/directfb-internal/gfx/generic/ +-rw-r--r-- root/root usr/include/directfb-internal/gfx/generic/generic.h +-rw-r--r-- root/root usr/include/directfb-internal/gfx/util.h +-rw-r--r-- root/root usr/include/directfb-internal/idirectfb.h +drwxr-xr-x root/root usr/include/directfb-internal/input/ +-rw-r--r-- root/root usr/include/directfb-internal/input/idirectfbinputbuffer.h +-rw-r--r-- root/root usr/include/directfb-internal/input/idirectfbinputdevice.h +drwxr-xr-x root/root usr/include/directfb-internal/media/ +-rw-r--r-- root/root usr/include/directfb-internal/media/idirectfbdatabuffer.h +-rw-r--r-- root/root usr/include/directfb-internal/media/idirectfbfont.h +-rw-r--r-- root/root usr/include/directfb-internal/media/idirectfbimageprovider.h +-rw-r--r-- root/root usr/include/directfb-internal/media/idirectfbvideoprovider.h +drwxr-xr-x root/root usr/include/directfb-internal/misc/ +-rw-r--r-- root/root usr/include/directfb-internal/misc/conf.h +-rw-r--r-- root/root usr/include/directfb-internal/misc/gfx_util.h +-rw-r--r-- root/root usr/include/directfb-internal/misc/util.h +drwxr-xr-x root/root usr/include/directfb-internal/windows/ +-rw-r--r-- root/root usr/include/directfb-internal/windows/idirectfbwindow.h +drwxr-xr-x root/root usr/include/directfb/ +-rw-r--r-- root/root usr/include/directfb/dfb_types.h +-rw-r--r-- root/root usr/include/directfb/dfiff.h +-rw-r--r-- root/root usr/include/directfb/dgiff.h +drwxr-xr-x root/root usr/include/directfb/direct/ +-rw-r--r-- root/root usr/include/directfb/direct/build.h +-rw-r--r-- root/root usr/include/directfb/direct/clock.h +-rw-r--r-- root/root usr/include/directfb/direct/conf.h +-rw-r--r-- root/root usr/include/directfb/direct/debug.h +-rw-r--r-- root/root usr/include/directfb/direct/direct.h +-rw-r--r-- root/root usr/include/directfb/direct/hash.h +-rw-r--r-- root/root usr/include/directfb/direct/interface.h +-rw-r--r-- root/root usr/include/directfb/direct/interface_implementation.h +-rw-r--r-- root/root usr/include/directfb/direct/list.h +-rw-r--r-- root/root usr/include/directfb/direct/log.h +-rw-r--r-- root/root usr/include/directfb/direct/mem.h +-rw-r--r-- root/root usr/include/directfb/direct/memcpy.h +-rw-r--r-- root/root usr/include/directfb/direct/messages.h +-rw-r--r-- root/root usr/include/directfb/direct/modules.h +-rw-r--r-- root/root usr/include/directfb/direct/serial.h +-rw-r--r-- root/root usr/include/directfb/direct/signals.h +-rw-r--r-- root/root usr/include/directfb/direct/stream.h +-rw-r--r-- root/root usr/include/directfb/direct/system.h +-rw-r--r-- root/root usr/include/directfb/direct/thread.h +-rw-r--r-- root/root usr/include/directfb/direct/trace.h +-rw-r--r-- root/root usr/include/directfb/direct/tree.h +-rw-r--r-- root/root usr/include/directfb/direct/types.h +-rw-r--r-- root/root usr/include/directfb/direct/utf8.h +-rw-r--r-- root/root usr/include/directfb/direct/util.h +-rw-r--r-- root/root usr/include/directfb/directfb.h +-rw-r--r-- root/root usr/include/directfb/directfb_keyboard.h +-rw-r--r-- root/root usr/include/directfb/directfb_keynames.h +-rw-r--r-- root/root usr/include/directfb/directfb_strings.h +-rw-r--r-- root/root usr/include/directfb/directfb_util.h +-rw-r--r-- root/root usr/include/directfb/directfb_version.h +-rw-r--r-- root/root usr/include/directfb/directfbgl.h +drwxr-xr-x root/root usr/include/directfb/fusion/ +-rw-r--r-- root/root usr/include/directfb/fusion/arena.h +-rw-r--r-- root/root usr/include/directfb/fusion/build.h +-rw-r--r-- root/root usr/include/directfb/fusion/call.h +-rw-r--r-- root/root usr/include/directfb/fusion/conf.h +-rw-r--r-- root/root usr/include/directfb/fusion/fusion.h +-rw-r--r-- root/root usr/include/directfb/fusion/fusion_internal.h +-rw-r--r-- root/root usr/include/directfb/fusion/hash.h +-rw-r--r-- root/root usr/include/directfb/fusion/lock.h +-rw-r--r-- root/root usr/include/directfb/fusion/object.h +-rw-r--r-- root/root usr/include/directfb/fusion/property.h +-rw-r--r-- root/root usr/include/directfb/fusion/reactor.h +-rw-r--r-- root/root usr/include/directfb/fusion/ref.h +drwxr-xr-x root/root usr/include/directfb/fusion/shm/ +-rw-r--r-- root/root usr/include/directfb/fusion/shm/pool.h +-rw-r--r-- root/root usr/include/directfb/fusion/shm/shm.h +-rw-r--r-- root/root usr/include/directfb/fusion/shm/shm_internal.h +-rw-r--r-- root/root usr/include/directfb/fusion/shmalloc.h +-rw-r--r-- root/root usr/include/directfb/fusion/types.h +-rw-r--r-- root/root usr/include/directfb/fusion/vector.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/directfb-1.0-0/ +drwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/ +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_ati128.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_ati128.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_cyber5k.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_cyber5k.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_i810.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_i810.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_i830.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_i830.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_mach64.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_mach64.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_matrox.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_matrox.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_neomagic.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_neomagic.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_nsc.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_nsc.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_nvidia.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_nvidia.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_radeon.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_radeon.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_savage.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_savage.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_sis315.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_sis315.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_tdfx.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_tdfx.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_unichrome.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/gfxdrivers/libdirectfb_unichrome.so +drwxr-xr-x root/root usr/lib/directfb-1.0-0/inputdrivers/ +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_joystick.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_joystick.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_keyboard.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_keyboard.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_linux_input.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_linux_input.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_lirc.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_lirc.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_mutouch.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_mutouch.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_penmount.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_penmount.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_ps2mouse.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_ps2mouse.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_serialmouse.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_serialmouse.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_sonypi.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_sonypi.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_wm97xx_ts.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_wm97xx_ts.so +drwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/ +drwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBFont/ +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBFont/libidirectfbfont_default.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBFont/libidirectfbfont_default.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBFont/libidirectfbfont_dgiff.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBFont/libidirectfbfont_dgiff.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBFont/libidirectfbfont_ft2.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBFont/libidirectfbfont_ft2.so +drwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBImageProvider/ +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_dfiff.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_dfiff.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_gif.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_gif.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_jpeg.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_jpeg.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_mpeg2.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_mpeg2.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_png.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_png.so +drwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBVideoProvider/ +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_gif.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_gif.so +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_v4l.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_v4l.so +drwxr-xr-x root/root usr/lib/directfb-1.0-0/systems/ +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/systems/libdirectfb_fbdev.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/systems/libdirectfb_fbdev.so +drwxr-xr-x root/root usr/lib/directfb-1.0-0/wm/ +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/wm/libdirectfbwm_default.la +-rwxr-xr-x root/root usr/lib/directfb-1.0-0/wm/libdirectfbwm_default.so +lrwxrwxrwx root/root usr/lib/libdirect-1.0.so.0 -> libdirect-1.0.so.0.1.0 +-rwxr-xr-x root/root usr/lib/libdirect-1.0.so.0.1.0 +-rwxr-xr-x root/root usr/lib/libdirect.la +lrwxrwxrwx root/root usr/lib/libdirect.so -> libdirect-1.0.so.0.1.0 +lrwxrwxrwx root/root usr/lib/libdirectfb-1.0.so.0 -> libdirectfb-1.0.so.0.1.0 +-rwxr-xr-x root/root usr/lib/libdirectfb-1.0.so.0.1.0 +-rwxr-xr-x root/root usr/lib/libdirectfb.la +lrwxrwxrwx root/root usr/lib/libdirectfb.so -> libdirectfb-1.0.so.0.1.0 +lrwxrwxrwx root/root usr/lib/libfusion-1.0.so.0 -> libfusion-1.0.so.0.1.0 +-rwxr-xr-x root/root usr/lib/libfusion-1.0.so.0.1.0 +-rwxr-xr-x root/root usr/lib/libfusion.la +lrwxrwxrwx root/root usr/lib/libfusion.so -> libfusion-1.0.so.0.1.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/direct.pc +-rw-r--r-- root/root usr/lib/pkgconfig/directfb-internal.pc +-rw-r--r-- root/root usr/lib/pkgconfig/directfb.pc +-rw-r--r-- root/root usr/lib/pkgconfig/fusion.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/directfb-1.0.1/ +-rw-r--r-- root/root usr/share/directfb-1.0.1/cursor.dat +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/dfbg.1.gz +-rw-r--r-- root/root usr/share/man/man1/directfb-csource.1.gz +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/directfbrc.5.gz diff --git a/base/directfb-1.0/.md5sum b/base/directfb-1.0/.md5sum new file mode 100644 index 000000000..53dccfada --- /dev/null +++ b/base/directfb-1.0/.md5sum @@ -0,0 +1,2 @@ +539e4b304d08bb0a2080c7b3f321d96f DirectFB-1.0.1.tar.gz +bfb34caf0c9cf9499975590d6c047b23 libpng-1.4.patch diff --git a/base/directfb-1.0/Pkgfile b/base/directfb-1.0/Pkgfile new file mode 100644 index 000000000..55ce8a6ae --- /dev/null +++ b/base/directfb-1.0/Pkgfile @@ -0,0 +1,23 @@ +# Description: Librairie graphique pour le mode Frame buffer +# URL: http://www.directfb.org +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: libjpeg , libpng, freetype + +name=directfb-1.0 +version=1.0.1 +release=1 +source=(http://www.directfb.org/downloads/Core/DirectFB-1.0/DirectFB-$version.tar.gz \ +libpng-1.4.patch) +# To build with multicore add --enable-multi +build() { + cd DirectFB-$version + patch -Np1 -i ../libpng-1.4.patch + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --enable-zlib --disable-vnc \ + --infodir=/usr/share/info \ + --enable-x11=no + make + make DESTDIR=$PKG install +} diff --git a/base/directfb-1.0/directfb#1.4.1-1.pkg.tar.gz b/base/directfb-1.0/directfb#1.4.1-1.pkg.tar.gz Binary files differnew file mode 100644 index 000000000..ad3639da0 --- /dev/null +++ b/base/directfb-1.0/directfb#1.4.1-1.pkg.tar.gz diff --git a/base/directfb-1.0/libpng-1.4.patch b/base/directfb-1.0/libpng-1.4.patch new file mode 100644 index 000000000..29b49a2ee --- /dev/null +++ b/base/directfb-1.0/libpng-1.4.patch @@ -0,0 +1,42 @@ +diff -Naur DirectFB-1.4.3-orig/interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c DirectFB-1.4.3/interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c +--- DirectFB-1.4.3-orig/interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c 2010-01-20 00:22:27.000000000 -0500 ++++ DirectFB-1.4.3/interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c 2010-01-20 00:24:55.000000000 -0500 +@@ -168,7 +168,7 @@ + static DFBResult + Probe( IDirectFBImageProvider_ProbeContext *ctx ) + { +- if (png_check_sig( ctx->header, 8 )) ++ if (!png_sig_cmp( ctx->header, 0, 8 )) + return DFB_OK; + + return DFB_UNSUPPORTED; +diff -Naur DirectFB-1.4.3-orig/interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c DirectFB-1.4.3/interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c +--- DirectFB-1.4.3-orig/interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c 2010-01-20 00:48:44.000000000 -0500 ++++ DirectFB-1.4.3/interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c 2010-01-20 00:50:27.000000000 -0500 +@@ -653,7 +653,7 @@ + if (data->color_type == PNG_COLOR_TYPE_PALETTE) { + u32 key; + png_colorp palette = data->info_ptr->palette; +- png_bytep trans = data->info_ptr->trans; ++ png_bytep trans = data->info_ptr->trans_alpha; + int num_colors = MIN( MAXCOLORMAPSIZE, + data->info_ptr->num_palette ); + u8 cmap[3][num_colors]; +@@ -678,7 +678,7 @@ + } + else { + /* ...or based on trans rgb value */ +- png_color_16p trans = &data->info_ptr->trans_values; ++ png_color_16p trans = &data->info_ptr->trans_color; + + data->color_key = (((trans->red & 0xff00) << 8) | + ((trans->green & 0xff00)) | +@@ -689,7 +689,7 @@ + switch (data->color_type) { + case PNG_COLOR_TYPE_PALETTE: { + png_colorp palette = data->info_ptr->palette; +- png_bytep trans = data->info_ptr->trans; ++ png_bytep trans = data->info_ptr->trans_alpha; + int num_trans = data->info_ptr->num_trans; + int num_colors = MIN( MAXCOLORMAPSIZE, data->info_ptr->num_palette ); + diff --git a/base/module-init-tools/Pkgfile b/base/module-init-tools/Pkgfile index fff52340d..70f9cbfcb 100755 --- a/base/module-init-tools/Pkgfile +++ b/base/module-init-tools/Pkgfile @@ -5,10 +5,10 @@ # Depends on: name=module-init-tools -version=3.11.1 +version=3.12 release=1 source=(http://www.kernel.org/pub/linux/utils/kernel/$name/$name-$version.tar.bz2\ - modprobe.conf blacklist-fb) + modprobe.conf blacklist-fb.conf) build() { cd $name-$version @@ -25,5 +25,5 @@ install -d $PKG/etc/{modprobe.d,depmod.d} make DESTDIR=$PKG mandir=/usr/share/man install rm -f $PKG/sbin/generate-modprobe.conf install -m 644 ../modprobe.conf $PKG/etc/modprobe.d/modprobe.conf -install -m 644 ../blacklist-fb $PKG/etc/modprobe.d/ +install -m 644 ../blacklist-fb.conf $PKG/etc/modprobe.d/ } diff --git a/base/module-init-tools/blacklist-fb b/base/module-init-tools/blacklist-fb.conf index c77bd22dd..4b0c0508e 100644 --- a/base/module-init-tools/blacklist-fb +++ b/base/module-init-tools/blacklist-fb.conf @@ -14,6 +14,8 @@ blacklist i8xx_tco # framebuffer drivers blacklist aty128fb blacklist atyfb +blacklist radeondrmfb +blacklist radeon blacklist radeonfb blacklist i810fb blacklist cirrusfb diff --git a/base/qingy/Pkgfile b/base/qingy/Pkgfile index 9a93a92b0..4467209cd 100644 --- a/base/qingy/Pkgfile +++ b/base/qingy/Pkgfile @@ -6,7 +6,8 @@ name=qingy version=0.9.9 release=1 -source=(http://downloads.sourceforge.net/$name/$name-$version.tar.bz2) +source=(http://downloads.sourceforge.net/$name/$name-$version.tar.bz2\ + nutyx-attapu.jpg) build() { cd $name-$version ./configure --prefix=/usr \ @@ -23,4 +24,6 @@ build() { if [ -f $PKG/usr/share/info/dir ]; then rm $PKG/usr/share/info/dir fi + echo "root Soyez prudent, vous avez tous les droits..." \ + $PKG/etc/qingy/welcomes } diff --git a/base/splashy/.footprint b/base/splashy/.footprint new file mode 100644 index 000000000..8a410e647 --- /dev/null +++ b/base/splashy/.footprint @@ -0,0 +1,72 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/console-tools/ +drwxr-xr-x root/root etc/console-tools/config.d/ +-rw-r--r-- root/root etc/console-tools/config.d/splashy +drwxr-xr-x root/root etc/default/ +-rw-r--r-- root/root etc/default/splashy +drwxr-xr-x root/root etc/rc.d/ +drwxr-xr-x root/root etc/rc.d/init.d/ +-rwxr-xr-- root/root etc/rc.d/init.d/splashy +drwxr-xr-x root/root etc/rc.d/rcsysinit.d/ +lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S00splashy -> ../init.d/splashy +drwxr-xr-x root/root etc/splashy/ +-rw-r--r-- root/root etc/splashy/config.xml +lrwxrwxrwx root/root etc/splashy/themes -> /usr/share/splashy/themes +drwxr-xr-x root/root sbin/ +-rwxr-xr-x root/root sbin/splashy +lrwxrwxrwx root/root sbin/splashy_chvt -> splashy +-rwxr-xr-x root/root sbin/splashy_config +-rwxr-xr-x root/root sbin/splashy_update +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/splashy.h +-rw-r--r-- root/root usr/include/splashycnf.h +drwxr-xr-x root/root usr/lib/ +-rwxr-xr-x root/root usr/lib/libsplashy.la +lrwxrwxrwx root/root usr/lib/libsplashy.so -> libsplashy.so.1.0.0 +lrwxrwxrwx root/root usr/lib/libsplashy.so.1 -> libsplashy.so.1.0.0 +-rwxr-xr-x root/root usr/lib/libsplashy.so.1.0.0 +-rwxr-xr-x root/root usr/lib/libsplashycnf.la +lrwxrwxrwx root/root usr/lib/libsplashycnf.so -> libsplashycnf.so.1.0.0 +lrwxrwxrwx root/root usr/lib/libsplashycnf.so.1 -> libsplashycnf.so.1.0.0 +-rwxr-xr-x root/root usr/lib/libsplashycnf.so.1.0.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/splashy.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/initramfs-tools/ +drwxr-xr-x root/root usr/share/initramfs-tools/hooks/ +-rw-r--r-- root/root usr/share/initramfs-tools/hooks/libsplashy +-rw-r--r-- root/root usr/share/initramfs-tools/hooks/splashy +drwxr-xr-x root/root usr/share/initramfs-tools/modules.d/ +-rw-r--r-- root/root usr/share/initramfs-tools/modules.d/splashy +drwxr-xr-x root/root usr/share/initramfs-tools/scripts/ +drwxr-xr-x root/root usr/share/initramfs-tools/scripts/init-bottom/ +-rw-r--r-- root/root usr/share/initramfs-tools/scripts/init-bottom/splashy +drwxr-xr-x root/root usr/share/initramfs-tools/scripts/local-premount/ +-rw-r--r-- root/root usr/share/initramfs-tools/scripts/local-premount/libsplashy +-rw-r--r-- root/root usr/share/initramfs-tools/scripts/local-premount/splashy +drwxr-xr-x root/root usr/share/locale/ +drwxr-xr-x root/root usr/share/locale/fr/ +drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/ +-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/splashy.mo +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/splashy.1.gz +-rw-r--r-- root/root usr/share/man/man1/splashy_config.1.gz +-rw-r--r-- root/root usr/share/man/man1/splashy_update.1.gz +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/splashy-config.xml.5.gz +-rw-r--r-- root/root usr/share/man/man5/splashy-theme.xml.5.gz +drwxr-xr-x root/root usr/share/splashy/ +drwxr-xr-x root/root usr/share/splashy/schemas/ +-rw-r--r-- root/root usr/share/splashy/schemas/config.xsd +-rw-r--r-- root/root usr/share/splashy/schemas/theme.xsd +-rw-r--r-- root/root usr/share/splashy/schemas/theme.xsl +drwxr-xr-x root/root usr/share/splashy/themes/ +drwxr-xr-x root/root usr/share/splashy/themes/default/ +-rw-r--r-- root/root usr/share/splashy/themes/default/FreeSans.ttf +-rw-r--r-- root/root usr/share/splashy/themes/default/background.jpg +-rw-r--r-- root/root usr/share/splashy/themes/default/background.png +-rw-r--r-- root/root usr/share/splashy/themes/default/error.png +-rw-r--r-- root/root usr/share/splashy/themes/default/suspend.png +-rw-r--r-- root/root usr/share/splashy/themes/default/theme.xml diff --git a/base/splashy/.md5sum b/base/splashy/.md5sum new file mode 100644 index 000000000..811466af3 --- /dev/null +++ b/base/splashy/.md5sum @@ -0,0 +1,3 @@ +9e3d5d8a8c89d6db10c6b41ec498a566 nutyx-attapu.jpg +a6ba5548cfacc3db268a62c76be61cab splashy +03b7ee4f31c56ee61463772f74bad8a0 splashy-0.3.13.tar.gz diff --git a/base/splashy/Pkgfile b/base/splashy/Pkgfile new file mode 100644 index 000000000..9b36a3f68 --- /dev/null +++ b/base/splashy/Pkgfile @@ -0,0 +1,31 @@ +# Description: Utilitaires pour produire des images lors du boot +# URL: http://splashy.alioth.debian.org/wiki/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch + +name=splashy +version=0.3.13 +release=1 +source=(http://alioth.debian.org/frs/download.php/2691/$name-$version.tar.gz\ + splashy nutyx-attapu.jpg) + +build() { + cd $name-$version + ./configure --prefix=/usr \ + --sbindir=/sbin --libdir=/usr/lib \ + --includedir=/usr/include \ + --datarootdir=/usr/share \ + --sysconfdir=/etc + make + make DESTDIR=$PKG install + mkdir -p $PKG/etc/rc.d{,/rcsysinit.d} + mv $PKG/etc/{init.d,rc.d/} + cp ../splashy $PKG/etc/rc.d/init.d/ + chmod 754 $PKG/etc/rc.d/init.d/splashy + ln -s ../init.d/splashy $PKG/etc/rc.d/rcsysinit.d/S00splashy + rm $PKG/etc/lsb-base-logging.sh + cp ../nutyx-attapu.jpg \ + $PKG/usr/share/splashy/themes/default/background.jpg + sed -i "s/background.png/background.jpg/g" \ + $PKG/usr/share/splashy/themes/default/theme.xml +} diff --git a/base/splashy/nutyx-attapu.jpg b/base/splashy/nutyx-attapu.jpg Binary files differnew file mode 100644 index 000000000..52771c4c3 --- /dev/null +++ b/base/splashy/nutyx-attapu.jpg diff --git a/base/splashy/splashy b/base/splashy/splashy new file mode 100755 index 000000000..ef3b986c5 --- /dev/null +++ b/base/splashy/splashy @@ -0,0 +1,157 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: splashy +# Required-Start: mountkernfs +# Required-Stop: $all +# Default-Start: S +# Default-Stop: 0 6 +# Short-Description: A script to calculate the progress percentage for init scripts +# Description: This calculates the progress percentage +# for the scripts in /etc/rcS.d and +# /etc/rc$CURRENT_RUNLEVEL.d. +### END INIT INFO + +# Author: Tim Dijkstra <newsuser@famdijkstra.org>, +# Luis Mondesi <lemsx1@gmail.com> +# Luca Capello <luca@pca.it> +# +# If called in the rc[06].d runlevels with the stop target it will start +# splashy in 'shutdown' mode. In the rcS.d runlevel it will try +# to start splashy if it didn't start yet from initramfs. +# +# When it decides to start splashy it will first calculate the +# progress percentage which will be used by the calls to splashy_update +# in the log_end_msg functions. +# This is really simple. We just count them and put them +# in alpha-numeric order. Their percentage is then just +# int( their number on the list * ( 100 / total number on list) ) +# +# Of course not all packages use log_end_msg yet, but that +# doesn't matter. The packages that do, will trigger the update +# anyway. This may result in big jumps in the percentage. +# The more scripts start using it, the more granular it will become. +# +# +# This script also needs to detect if Splashy is running and if not +# start it. It's assumed that this will only be run while halt/reboot +# and at RUNLEVEL S. +# + +PATH="/sbin:/bin:/usr/sbin:/usr/bin" +NAME="splashy" +DESC="Boot splash manager" +STEPS_DIR="/lib/init/rw/$NAME" +DEBUG=0 + +[ -r "/etc/default/$NAME" ] && . "/etc/default/$NAME" + +# Define LSB log_* functions. +# Depend on lsb-base (>= 3.0-6) to ensure that this file is present. +# if [ -r "/lib/lsb/init-functions" ]; then +# . "/lib/lsb/init-functions" +# else +# echo "Could not read file /lib/lsb/init-functions. Please install lsb-base" +# exit 1 +# fi +. /etc/sysconfig/rc +. ${rc_functions} + +set -e + + +[ "$ENABLE" = "1" ] && log_warning_msg "To enable $NAME add 'splash' to the kernel command line. Use of ENABLE in /etc/default/$NAME is deprecated."; + +check_to_enable () { + ENABLE=0 + SINGLE=false + SPLASH=false + FBMODESET=false + + for x in $(cat /proc/cmdline); do + case $x in + single) + SINGLE="true" + ;; + splash) + SPLASH="true" + ;; + nosplash) + SPLASH="false" + ;; + vga=*|video=*) + FBMODESET="true" + ;; + esac + done + [ "$SPLASH" = "true" -a "$FBMODESET" = "true" ] && ENABLE=1 + [ "$SINGLE" = "true" ] && ENABLE=0 + + if [ "$ENABLE" = "0" ]; then + log_warning_msg "To enable $NAME on multiuser runlevel add 'splash' and a valid framebuffer videomode to the kernel command line" + exit 0 + fi +} + +calculate_steps () { + boot_mesg "(Re)generating splash steps" + echo_ok + [ -f /etc/inittab ] && RLVL=`sed -n 's/id:\([2345]\):initdefault:/\1/ p' /etc/inittab` + + [ ! -d $STEPS_DIR ] && mkdir -p $STEPS_DIR + # + # Mount a tmpfs on $STEPS_DIR + # + # on Ubuntu our Steps dir gets umounted if using /dev/shm/splashy + # we will always use /lib/init/rw/splashy and mount a tmpfs there + SHM_OPT= + [ "${SHM_SIZE:=$TMPFS_SIZE}" ] && SHM_OPT="-osize=$SHM_SIZE" + mount -n -t tmpfs shmfs $STEPS_DIR + + TMP=`mktemp -p $STEPS_DIR` + + # While booting rcS will also be executed + # we only care about the scripts that actually call log_end_msg + # if not we could end up never completing our progressbar! + grep -l "Usage" ${rc_base}/rcsysinit.d/S* > $TMP 2> /dev/null || true + + for ILVL in ${RLVL:=2} 0 3 4 5 6; do + # in debian rc.local runs log_end_msg conditionally. we simply skip that + grep -l "Usage" ${rc_base}/rc$ILVL.d/[KS]* 2> /dev/null | grep -v rc.local >> $TMP || true + + NR=`sed -n -e '$=' $TMP` + I=1 + for SCR in `cat $TMP`; do + echo "$SCR $(($I*100/$NR))" + I=$(($I+1)) + done > "$STEPS_DIR/$ILVL-progress" + + # Truncate $TMP file + echo -n > $TMP + done + + # In the first stage of booting RUNLEVEL will be S + ln -sf "$STEPS_DIR/${RLVL:=2}-progress" "$STEPS_DIR/sysinit-progress" + rm -f $TMP + +} + +# Bug #400598,#401999 +if [ -z "${RUNLEVEL:-}" ]; then + # we need only the current level + RUNLEVEL=`runlevel | sed 's/^. //'` +fi + +case "$1" in + start) + calculate_steps $RUNLEVEL + ;; + + *) + N=/etc/init.d/$NAME + echo "Usage: $N {restart}" >&2 + exit 1 + ;; +esac + +exit 0 + diff --git a/extra/nfs-utils-server/.footprint b/extra/nfs-utils-server/.footprint new file mode 100644 index 000000000..33b51b4a6 --- /dev/null +++ b/extra/nfs-utils-server/.footprint @@ -0,0 +1,60 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/rc.d/ +drwxr-xr-x root/root etc/rc.d/init.d/ +-rwxr-xr-- root/root etc/rc.d/init.d/nfs-server +drwxr-xr-x root/root etc/rc.d/rc0.d/ +lrwxrwxrwx root/root etc/rc.d/rc0.d/K48nfs-server -> ../init.d/nfs-server +drwxr-xr-x root/root etc/rc.d/rc1.d/ +lrwxrwxrwx root/root etc/rc.d/rc1.d/K48nfs-server -> ../init.d/nfs-server +drwxr-xr-x root/root etc/rc.d/rc2.d/ +lrwxrwxrwx root/root etc/rc.d/rc2.d/K48nfs-server -> ../init.d/nfs-server +drwxr-xr-x root/root etc/rc.d/rc3.d/ +lrwxrwxrwx root/root etc/rc.d/rc3.d/S24nfs-server -> ../init.d/nfs-server +drwxr-xr-x root/root etc/rc.d/rc4.d/ +lrwxrwxrwx root/root etc/rc.d/rc4.d/S24nfs-server -> ../init.d/nfs-server +drwxr-xr-x root/root etc/rc.d/rc5.d/ +lrwxrwxrwx root/root etc/rc.d/rc5.d/S24nfs-server -> ../init.d/nfs-server +drwxr-xr-x root/root etc/rc.d/rc6.d/ +lrwxrwxrwx root/root etc/rc.d/rc6.d/K48nfs-server -> ../init.d/nfs-server +drwxr-xr-x root/root etc/rc.d/rcsysinit.d/ +drwxr-xr-x root/root etc/sysconfig/ +-rw-r--r-- root/root etc/sysconfig/nfs-server +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/exportfs +-rwxr-xr-x root/root usr/sbin/nfsstat +-rwxr-xr-x root/root usr/sbin/rpc.mountd +-rwxr-xr-x root/root usr/sbin/rpc.nfsd +-rwxr-xr-x root/root usr/sbin/rpc.statd +-rwxr-xr-x root/root usr/sbin/rpcdebug +-rwxr-xr-x root/root usr/sbin/showmount +-rwxr-xr-x root/root usr/sbin/sm-notify +-rwxr-xr-x root/root usr/sbin/start-statd +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man7/ +-rw-r--r-- root/root usr/share/man/man7/nfsd.7.gz +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/exportfs.8.gz +-rw-r--r-- root/root usr/share/man/man8/mount.nfs.8.gz +-rw-r--r-- root/root usr/share/man/man8/mountd.8.gz +-rw-r--r-- root/root usr/share/man/man8/nfsd.8.gz +-rw-r--r-- root/root usr/share/man/man8/nfsstat.8.gz +lrwxrwxrwx root/root usr/share/man/man8/rpc.mountd.8.gz -> mountd.8.gz +lrwxrwxrwx root/root usr/share/man/man8/rpc.nfsd.8.gz -> nfsd.8.gz +lrwxrwxrwx root/root usr/share/man/man8/rpc.sm-notify.8.gz -> sm-notify.8.gz +lrwxrwxrwx root/root usr/share/man/man8/rpc.statd.8.gz -> statd.8.gz +-rw-r--r-- root/root usr/share/man/man8/rpcdebug.8.gz +-rw-r--r-- root/root usr/share/man/man8/showmount.8.gz +-rw-r--r-- root/root usr/share/man/man8/sm-notify.8.gz +-rw-r--r-- root/root usr/share/man/man8/statd.8.gz +-rw-r--r-- root/root usr/share/man/man8/umount.nfs.8.gz +drwxr-xr-x root/root var/ +drwxr-xr-x root/root var/lib/ +drwxr-xr-x root/root var/lib/nfs/ +-rw-r--r-- root/root var/lib/nfs/etab (EMPTY) +-rw-r--r-- root/root var/lib/nfs/rmtab (EMPTY) +drwx------ nobody/root var/lib/nfs/sm.bak/ +drwx------ nobody/root var/lib/nfs/sm/ +-rw------- nobody/root var/lib/nfs/state (EMPTY) +-rw-r--r-- root/root var/lib/nfs/xtab (EMPTY) diff --git a/extra/nfs-utils-server/.md5sum b/extra/nfs-utils-server/.md5sum new file mode 100644 index 000000000..6cadbbf40 --- /dev/null +++ b/extra/nfs-utils-server/.md5sum @@ -0,0 +1,3 @@ +da9a8cfaba0905f0de06eada1edceffc nfs-server +7871ab61ae98ba382afb55c35b02eeb4 nfs-server.sh +4ab250f35979794de3d185e3c864e4d0 nfs-utils-1.2.0.tar.gz diff --git a/extra/nfs-utils-server/Pkgfile b/extra/nfs-utils-server/Pkgfile new file mode 100755 index 000000000..28cf7f5c9 --- /dev/null +++ b/extra/nfs-utils-server/Pkgfile @@ -0,0 +1,34 @@ +# Description: Utilitaires pour le système de fichiers nfs +# URL: http://nfs.sourceforge.net +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: nfs-utils + +name=nfs-utils-server +version=1.2.0 +release=1 +source=(http://ftp.kernel.org/pub/linux/utils/nfs/nfs-utils-$version.tar.gz\ + nfs-server nfs-server.sh) +build() { +source /etc/blfs-bootscripts +wget \ +http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2 +tar xvf $scripts-$scriptsversion.tar.bz2 + # build package +cd nfs-utils-$version +sed -i 's/getkversion//' tools/Makefile.in +./configure --prefix=/usr\ + --sysconfdir=/etc\ + --mandir=/usr/share/man\ + --infodir=/usr/share/info\ + --disable-nfsv4 \ + --disable-gss +make +make DESTDIR=$PKG install +cd ../$scripts-$scriptsversion +make DESTDIR=$PKG install-nfs-server +install -m 754 ../nfs-server.sh $PKG/etc/rc.d/init.d/nfs-server +mkdir -p $PKG/etc/sysconfig +install -m 644 ../nfs-server $PKG/etc/sysconfig/ +rm -r $PKG/{sbin,usr/share/man/man5} +} diff --git a/extra/nfs-utils/nfs-server b/extra/nfs-utils-server/nfs-server index c13747175..c13747175 100644 --- a/extra/nfs-utils/nfs-server +++ b/extra/nfs-utils-server/nfs-server diff --git a/extra/nfs-utils/nfs-server.sh b/extra/nfs-utils-server/nfs-server.sh index dc48b387b..dc48b387b 100644 --- a/extra/nfs-utils/nfs-server.sh +++ b/extra/nfs-utils-server/nfs-server.sh diff --git a/extra/nfs-utils/.footprint b/extra/nfs-utils/.footprint index a509c27ec..8a4e96eb0 100644 --- a/extra/nfs-utils/.footprint +++ b/extra/nfs-utils/.footprint @@ -1,68 +1,11 @@ -drwxr-xr-x root/root etc/ -drwxr-xr-x root/root etc/rc.d/ -drwxr-xr-x root/root etc/rc.d/init.d/ --rwxr-xr-- root/root etc/rc.d/init.d/nfs-server -drwxr-xr-x root/root etc/rc.d/rc0.d/ -lrwxrwxrwx root/root etc/rc.d/rc0.d/K48nfs-server -> ../init.d/nfs-server -drwxr-xr-x root/root etc/rc.d/rc1.d/ -lrwxrwxrwx root/root etc/rc.d/rc1.d/K48nfs-server -> ../init.d/nfs-server -drwxr-xr-x root/root etc/rc.d/rc2.d/ -lrwxrwxrwx root/root etc/rc.d/rc2.d/K48nfs-server -> ../init.d/nfs-server -drwxr-xr-x root/root etc/rc.d/rc3.d/ -lrwxrwxrwx root/root etc/rc.d/rc3.d/S24nfs-server -> ../init.d/nfs-server -drwxr-xr-x root/root etc/rc.d/rc4.d/ -lrwxrwxrwx root/root etc/rc.d/rc4.d/S24nfs-server -> ../init.d/nfs-server -drwxr-xr-x root/root etc/rc.d/rc5.d/ -lrwxrwxrwx root/root etc/rc.d/rc5.d/S24nfs-server -> ../init.d/nfs-server -drwxr-xr-x root/root etc/rc.d/rc6.d/ -lrwxrwxrwx root/root etc/rc.d/rc6.d/K48nfs-server -> ../init.d/nfs-server -drwxr-xr-x root/root etc/rc.d/rcsysinit.d/ -drwxr-xr-x root/root etc/sysconfig/ --rw-r--r-- root/root etc/sysconfig/nfs-server drwxr-xr-x root/root sbin/ -r-s--x--x root/root sbin/mount.nfs lrwxrwxrwx root/root sbin/mount.nfs4 -> mount.nfs lrwxrwxrwx root/root sbin/umount.nfs -> mount.nfs lrwxrwxrwx root/root sbin/umount.nfs4 -> mount.nfs drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/sbin/ --rwxr-xr-x root/root usr/sbin/exportfs --rwxr-xr-x root/root usr/sbin/nfsstat --rwxr-xr-x root/root usr/sbin/rpc.mountd --rwxr-xr-x root/root usr/sbin/rpc.nfsd --rwxr-xr-x root/root usr/sbin/rpc.statd --rwxr-xr-x root/root usr/sbin/rpcdebug --rwxr-xr-x root/root usr/sbin/showmount --rwxr-xr-x root/root usr/sbin/sm-notify --rwxr-xr-x root/root usr/sbin/start-statd drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/man/ drwxr-xr-x root/root usr/share/man/man5/ -rw-r--r-- root/root usr/share/man/man5/exports.5.gz -rw-r--r-- root/root usr/share/man/man5/nfs.5.gz -drwxr-xr-x root/root usr/share/man/man7/ --rw-r--r-- root/root usr/share/man/man7/nfsd.7.gz -drwxr-xr-x root/root usr/share/man/man8/ --rw-r--r-- root/root usr/share/man/man8/exportfs.8.gz --rw-r--r-- root/root usr/share/man/man8/mount.nfs.8.gz --rw-r--r-- root/root usr/share/man/man8/mountd.8.gz --rw-r--r-- root/root usr/share/man/man8/nfsd.8.gz --rw-r--r-- root/root usr/share/man/man8/nfsstat.8.gz -lrwxrwxrwx root/root usr/share/man/man8/rpc.mountd.8.gz -> mountd.8.gz -lrwxrwxrwx root/root usr/share/man/man8/rpc.nfsd.8.gz -> nfsd.8.gz -lrwxrwxrwx root/root usr/share/man/man8/rpc.sm-notify.8.gz -> sm-notify.8.gz -lrwxrwxrwx root/root usr/share/man/man8/rpc.statd.8.gz -> statd.8.gz --rw-r--r-- root/root usr/share/man/man8/rpcdebug.8.gz --rw-r--r-- root/root usr/share/man/man8/showmount.8.gz --rw-r--r-- root/root usr/share/man/man8/sm-notify.8.gz --rw-r--r-- root/root usr/share/man/man8/statd.8.gz --rw-r--r-- root/root usr/share/man/man8/umount.nfs.8.gz -drwxr-xr-x root/root var/ -drwxr-xr-x root/root var/lib/ -drwxr-xr-x root/root var/lib/nfs/ --rw-r--r-- root/root var/lib/nfs/etab (EMPTY) --rw-r--r-- root/root var/lib/nfs/rmtab (EMPTY) -drwx------ nobody/root var/lib/nfs/sm.bak/ -drwx------ nobody/root var/lib/nfs/sm/ --rw------- nobody/root var/lib/nfs/state (EMPTY) --rw-r--r-- root/root var/lib/nfs/xtab (EMPTY) diff --git a/extra/nfs-utils/.md5sum b/extra/nfs-utils/.md5sum index 6cadbbf40..cc626e7bd 100644 --- a/extra/nfs-utils/.md5sum +++ b/extra/nfs-utils/.md5sum @@ -1,3 +1 @@ -da9a8cfaba0905f0de06eada1edceffc nfs-server -7871ab61ae98ba382afb55c35b02eeb4 nfs-server.sh 4ab250f35979794de3d185e3c864e4d0 nfs-utils-1.2.0.tar.gz diff --git a/extra/nfs-utils/Pkgfile b/extra/nfs-utils/Pkgfile index 8be1664a0..728267912 100755 --- a/extra/nfs-utils/Pkgfile +++ b/extra/nfs-utils/Pkgfile @@ -2,19 +2,13 @@ # URL: http://nfs.sourceforge.net # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: portmap +# Depends: portmap name=nfs-utils version=1.2.0 -release=1 -source=(http://ftp.kernel.org/pub/linux/utils/nfs/$name-$version.tar.gz\ - nfs-server nfs-server.sh) +release=2 +source=(http://ftp.kernel.org/pub/linux/utils/nfs/$name-$version.tar.gz) build() { -source /etc/blfs-bootscripts -wget \ -http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2 -tar xvf $scripts-$scriptsversion.tar.bz2 - # build package cd $name-$version sed -i 's/getkversion//' tools/Makefile.in ./configure --prefix=/usr\ @@ -25,9 +19,5 @@ sed -i 's/getkversion//' tools/Makefile.in --disable-gss make make DESTDIR=$PKG install -cd ../$scripts-$scriptsversion -make DESTDIR=$PKG install-nfs-server -install -m 754 ../nfs-server.sh $PKG/etc/rc.d/init.d/nfs-server -mkdir -p $PKG/etc/sysconfig -install -m 644 ../nfs-server $PKG/etc/sysconfig/ +rm -r $PKG/{var,usr/{sbin,share/man/man{7,8}}} } |