Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=15c63afc3340fd66f323c04e1375ac4d827810e5

commit 15c63afc3340fd66f323c04e1375ac4d827810e5
Author: Miklos Vajna <[email protected]>
Date:   Thu Sep 1 00:54:16 2011 +0200

e2fsprogs-1.41.14-4-i686

- fix upgrade script of rc.random
- remove no longer installed sysv scripts from the tree

diff --git a/source/base/e2fsprogs/FrugalBuild 
b/source/base/e2fsprogs/FrugalBuild
index 2cfcc19..b3506bf 100644
--- a/source/base/e2fsprogs/FrugalBuild
+++ b/source/base/e2fsprogs/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=e2fsprogs
pkgver=1.41.14
-pkgrel=3
+pkgrel=4
pkgdesc="Utilities needed to create and maintain ext2 and ext3 filesystems"
depends=('glibc>=2.8-3' 'util-linux')
rodepends=('coreutils>=6.12-2')
diff --git a/source/base/e2fsprogs/e2fsprogs.install 
b/source/base/e2fsprogs/e2fsprogs.install
index 6a40684..30dd7f7 100644
--- a/source/base/e2fsprogs/e2fsprogs.install
+++ b/source/base/e2fsprogs/e2fsprogs.install
@@ -1,8 +1,8 @@
post_upgrade()
{
-       # can be removed after Frugalware-1.6
+       # these can be removed after Frugalware-1.6
rm -f /etc/rc.d/rcS.d/S{12rc.fsck,22rc.random}
-       /usr/sbin/chkconfig --del rc.random
+       rm -f /etc/rc.d/rc?.d/???rc.random
}

op=$1
diff --git a/source/base/e2fsprogs/messages/fsck.en 
b/source/base/e2fsprogs/messages/fsck.en
deleted file mode 100644
index 78b6ea1..0000000
--- a/source/base/e2fsprogs/messages/fsck.en
+++ /dev/null
@@ -1,56 +0,0 @@
-# (c) 2003-2004 Vajna Miklos <[email protected]>
-# (c) 2005 Laszlo Dvornik <[email protected]>
-# fsck.en for Frugalware
-# distributed under GPL License
-# Copyright 1993-2003 Patrick J. Volkerding, All rights reserved
-# Patrick J. Volkerding's scripts were distributed under an OSI approved
-# BSD License, which can be found in the COPYRIGHT file.
-
-fsstatro="Testing root filesystem status: read-only filesystem"
-fsstatrw="Testing root filesystem status: read-write filesystem"
-fscheck="Checking root filesystem: "
-
-greater4="\n***********************************************************\n\
-*** An error occurred during the root filesystem check. ***\n\
-*** You will now be given a chance to log into the      ***\n\
-*** system in single-user mode to fix the problem.      ***\n\
-***                                                     ***\n\
-*** If you are using the ext2 filesystem, running       ***\n\
-*** 'e2fsck -v -y <partition>' might help.              ***\n\
-***********************************************************\n\n\
-Once you exit the single-user shell, the system will reboot.\n"
-
-repairfs="Repair filesystem"
-
-autoreboot="\n***********************************\n\
-*** The filesystem was changed. ***\n\
-*** The system will now reboot. ***\n\
-***********************************\n"
-
-umountfs="Unmounting file systems."
-rebootsys="Rebooting system."
-remountrw="Remounting root device with read-write enabled"
-
-failedrw="\n\
-Attempt to remount root device as read-write failed!  This is going to\n\
-cause serious problems.\n\n\
-Normal bootdisks can be made to mount a system read-write with the rdev 
command:\n\n\
-rdev -R /dev/fd0 0\n\n\
-You can also get into your system by using a boot disk with a command like 
this\n\
-on the prompt line:  (change the root partition name as needed)\n\n\
-root=/dev/hda1 rw\n\n\
-Please press ENTER to continue, then reboot and use one of the above methods 
to\
-\nget into your machine and start looking for the problem."
-
-rwwarning="\n\
-*** ERROR: Root partition has already been mounted read-write. Cannot check!\n\
-\nFor filesystem checking to work properly, your system must initially mount\n\
-the root partition as read only. Please modify your kernel with 'rdev' so 
that\n\
-it does this. If you boot from a kernel on a floppy disk, put it in the 
drive\n\
-and type:\n\n\
-   rdev -R /dev/fd0 1\n\n\
-If you boot from a bootdisk, you can add the 'ro' flag.\n\n\
-This will fix the problem *AND* eliminate this annoying message. :-)\n\n\
-Press ENTER to continue."
-
-# vim: ft=sh
diff --git a/source/base/e2fsprogs/messages/fsck.hu 
b/source/base/e2fsprogs/messages/fsck.hu
deleted file mode 100644
index fcdf0cb..0000000
--- a/source/base/e2fsprogs/messages/fsck.hu
+++ /dev/null
@@ -1,53 +0,0 @@
-# (c) 2003-2004 Vajna Miklos <[email protected]>
-# (c) 2005 Laszlo Dvornik <[email protected]>
-# fsck.hu for Frugalware
-# distributed under GPL License
-
-fsstatro="A root fájlrendszer állapotának vizsgálata: csak olvasható 
fájlrendszer"
-fsstatrw="A root fájlrendszer állapotának vizsgálata: írható fájlrendszer"
-fscheck="A root fájlrendszer vizsgálata: "
-
-greater4="\n************************************************************\n\
-*** Hiba történt a root fájlrendszer vizsgálata során.   ***\n\
-*** Megvan a lehetõsége, hogy bejelentkezzen a rendszerbe***\n\
-*** rendszergazdaként, hogy orvosolja a hibát.           ***\n\
-***                                                      ***\n\
-*** Ha ext3 fájlrendszert használ, az                    ***\n\
-*** 'e2fsck -v -y <partíció>' lehet, hogy segít.         ***\n\
-************************************************************\n\n\
-Ha kilép a rendszergazda-shellbõl, a rendszer újraindul.\n"
-
-repairfs="Fájlrendszer-javítás"
-
-autoreboot="\n***********************************\n\
-*** A fájlrendszer megváltozott.***\n\
-*** A rendszer most újraindul.  ***\n\
-***********************************\n"
-
-umountfs="Fájlrendszerek lecsatolása."
-rebootsys="A rendszer újraindítása."
-remountrw="A root eszköz újracsatolása írható módban"
-
-failedrw="\n\
-Nem sikerült újracsatolni a root fájlrendszert írható módban!  Ez\n\
-súlyos problémákat fog okozni.\n\n\
-Bootlemezekkel az rdev paranccsal lehet írható módban csatolni egy 
rendszert:\n\n\
-rdev -R /dev/fd0 0\n\n\
-Be lehet jutni a rendszerbe egy bootlemezzel és a következõ paranccsal\n\
-a parancssorban: (változtassa meg a root partíciót, ha szükséges)\n\n\
-root=/dev/hda1 rw\n\n\
-Nyomjon ENTER-t a folytatáshoz, induljon újra és használja ezeket módokat, 
hogy\
-\nbejusson a rendszerbe, és orvosolja a problémát."
-
-rwwarning="\n\
-*** HIBA: A root partíció már írható módban van csatolva. Nem lehet 
vizsgálni!\n\
-\nHogy a fájlrendszer-ellenõrzés megfelelõen dolgozzon, elõször csak 
olvasható\n\
-módban kell csatolni a root partíciót. Módosítsa a kernel-paramétereket, 
hogy\n\
-így legyen. Ha egy floppy-n található kernellel bootol, tegye a meghajtóba,\n\
-és írja be:\n\n\
-   rdev -R /dev/fd0 1\n\n\
-Ha bootlemezzel bootol, akkor adja meg az 'ro' opciót.\n\n\
-Ez megoldja a problémát, *ÉS* eltünteti ezt a dühítõ szöveget. :-)\n\n\
-Nyomjon ENTER-t a folytatáshoz."
-
-# vim: ft=sh
diff --git a/source/base/e2fsprogs/messages/random.en 
b/source/base/e2fsprogs/messages/random.en
deleted file mode 100644
index f76a29f..0000000
--- a/source/base/e2fsprogs/messages/random.en
+++ /dev/null
@@ -1,12 +0,0 @@
-# (c) 2003-2004 Vajna Miklos <[email protected]>
-# (c) 2005 Laszlo Dvornik <[email protected]>
-# random.en for Frugalware
-# distributed under GPL License
-# Copyright 1993-2003 Patrick J. Volkerding, All rights reserved
-# Patrick J. Volkerding's scripts were distributed under an OSI approved
-# BSD License, which can be found in the COPYRIGHT file.
-
-startrandom="Initializing /dev/urandom"
-stoprandom="Saving /dev/urandom"
-
-# vim: ft=sh
diff --git a/source/base/e2fsprogs/messages/random.hu 
b/source/base/e2fsprogs/messages/random.hu
deleted file mode 100644
index 7a1fa0b..0000000
--- a/source/base/e2fsprogs/messages/random.hu
+++ /dev/null
@@ -1,9 +0,0 @@
-# (c) 2003-2004 Vajna Miklos <[email protected]>
-# (c) 2005 Laszlo Dvornik <[email protected]>
-# rc.fsck for Frugalware
-# distributed under GPL License
-
-startrandom="A /dev/urandom inicializálása"
-stoprandom="A /dev/urandom elmentése"
-
-# vim: ft=sh
diff --git a/source/base/e2fsprogs/rc.fsck b/source/base/e2fsprogs/rc.fsck
deleted file mode 100644
index 1ef58b9..0000000
--- a/source/base/e2fsprogs/rc.fsck
+++ /dev/null
@@ -1,84 +0,0 @@
-#!/bin/sh
-
-# (c) 2003-2004 Vajna Miklos <[email protected]>
-# (c) 2005 Laszlo Dvornik <[email protected]>
-# rc.fsck for Frugalware
-# distributed under GPL License
-# Copyright 1993-2003 Patrick J. Volkerding, All rights reserved
-# Patrick J. Volkerding's scripts were distributed under an OSI approved
-# BSD License, which can be found in the COPYRIGHT file.
-
-. /etc/rc.d/rc.functions
-
-if [ "$1" = "start" ]; then
-       # Test to see if the root partition is read-only, like it ought to be.
-       if touch /fsrwtestfile 2>/dev/null; then
-               rm -f /fsrwtestfile
-               rw=yes
-       else
-               start "$fsstatro"
-               rw=no
-               ok $?
-       fi
-
-       # See if a forced filesystem check was requested at shutdown:
-       if [ -r /etc/forcefsck ]; then
-               ffsck="-f"
-       fi
-
-       # Check the root filesystem:
-       if [ ! $rw = yes ]; then
-               if [ ! -r /etc/fastboot ]; then
-                       start "$fscheck"
-                       echo
-                       /sbin/fsck $ffsck -C -a -T /
-                       fsstate=$?
-                       echo -ne '\033[A'
-                       ok $fsstate
-               else
-                       fsstate=0
-               fi
-
-               # An error code of 2 or higher will require a reboot.
-               if [ $fsstate -ge 2 ]; then
-                       # An error code equal to or greater than 4 means that 
some
-                       # errors could not be corrected.  This requires manual
-                       # attention, so we offer a chance to try to fix the
-                       # problem in single-user mode:
-                       if [ $fsstate -ge 4 ]; then
-                               echo -e "$greater4"
-                               PS1="($repairfs) \#"; export PS1
-                               sulogin
-                       else # With an error code of 2 or 3,
-                            # reboot the machine automatically:
-                               echo -e "$autoreboot"
-                       fi
-                       echo "$umountfs"
-                       umount -a -r
-                       mount -n -o remount,ro /
-                       echo "$rebootsys"
-                       sleep 2
-                       reboot -f
-               fi
-               # Remount the root filesystem in read-write mode
-               start "$remountrw"
-               mount -w -n -o remount /
-               if [ $? -gt 0 ] ; then
-                       ok 1
-                       echo -e "$failedrw"
-                       read junk;
-               else
-                       ok 0
-               fi
-       else
-               start "$fsstatrw"
-               ok 1
-               echo -e "$rwwarning"
-               read junk;
-       fi # Done checking root filesystem
-
-       # /etc/mtab is not a symlink? Fix it!
-       if [ ! -h /etc/mtab ]; then
-               ln -sf /proc/self/mounts /etc/mtab
-       fi
-fi
diff --git a/source/base/e2fsprogs/rc.random b/source/base/e2fsprogs/rc.random
deleted file mode 100644
index 2d4618c..0000000
--- a/source/base/e2fsprogs/rc.random
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/sh
-
-# (c) 2003-2004 Vajna Miklos <[email protected]>
-# (c) 2005 Laszlo Dvornik <[email protected]>
-# rc.random for Frugalware
-# distributed under GPL License
-# Copyright 1993-2003 Patrick J. Volkerding, All rights reserved
-# Patrick J. Volkerding's scripts were distributed under an OSI approved
-# BSD License, which can be found in the COPYRIGHT file.
-
-. /etc/rc.d/rc.functions
-
-# chkconfig: - 00 95
-# description: Carry an entropy pool between reboots to improve randomness.
-
-if [ "$1" = "stop" ]; then
-       stop "$stoprandom"
-       if [ "$2" = 0 -o "$2" = 6 ]; then
-               # before unmounting file systems write a reboot/halt record to 
wtmp
-               if [ "$2" = "0" ]; then
-                       halt -w
-               else
-                       reboot -w
-               fi
-
-               # clear /var/lock/subsys
-               if [ -d /var/lock/subsys ]; then
-                       rm -f /var/lock/subsys/*
-               fi
-
-               dd if=/dev/urandom of=/etc/random-seed count=1 bs=512 2> 
/dev/null
-               ok $?
-       fi
-elif [ "$1" = "restart" ]; then
-       "$0" stop
-       sleep 1
-       "$0" start
-else # start
-       start "$startrandom"
-
-       # some clean up
-       rm -f /var/lock/* /var/spool/uucp/LCK..* /tmp/.X*lock /tmp/core /core \
-               1> /dev/null 2> /dev/null
-
-       if [ -r /tmp/hunt -o -r /tmp/hunt.stats ]; then
-               rm -f /tmp/hunt*
-       fi
-       chmod 755 / 2> /dev/null
-       chmod 1777 /tmp /var/tmp
-
-       if [ -f /etc/random-seed ]; then
-               cat /etc/random-seed >/dev/urandom
-       fi
-       dd if=/dev/urandom of=/etc/random-seed count=1 bs=512 2> /dev/null
-       ok $?
-fi
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to