system/extundelete: Updated for version 0.2.4.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Markus Reichelt 2013-12-27 07:19:08 +07:00 committed by Erik Hanson
parent e9f10174eb
commit 19e7cabb1e
3 changed files with 14 additions and 42 deletions

View file

@ -1,23 +0,0 @@
http://bugs.gentoo.org/402633
http://projects.archlinux.org/svntogit/community.git/tree/trunk/extundelete-build.patch?h=packages/extundelete
--- src/extundelete.cc
+++ src/extundelete.cc
@@ -943,3 +943,3 @@
{
- group_descriptor_table[n] = fs->group_desc[n];
+ group_descriptor_table[n] = *ext2fs_group_desc(fs, fs->group_desc, n);
}
@@ -2613,3 +2613,4 @@
inode->osd2.linux2.l_i_gid_high = le16_to_cpu( (uint16_t *) &inodebuf[item*60] );
- inode->osd2.linux2.l_i_reserved2 = le32_to_cpu( (uint32_t *) &inodebuf[item*62] );
+ inode->osd2.linux2.l_i_checksum_lo = le16_to_cpu( (uint16_t *) &inodebuf[item*62] );
+ inode->osd2.linux2.l_i_reserved = le16_to_cpu( (uint16_t *) &inodebuf[item*63] );
}
--- src/insertionops.cc
+++ src/insertionops.cc
@@ -65,3 +65,3 @@
os << "# Blocks per group: " << s_block->s_blocks_per_group << std::endl;
- os << "# Fragments per group: " << s_block->s_frags_per_group << std::endl;
+ os << "# Fragments per group: " << s_block->s_clusters_per_group << std::endl;
os << "# Inodes per group: " << s_block->s_inodes_per_group << std::endl;

View file

@ -2,7 +2,7 @@
# Slackware build script for extundelete
# Copyright (c) 2010 Markus Reichelt, Aachen, DE
# Copyright (c) 2010-2013 Markus Reichelt, Stolberg (Rhld.), DE
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@ -23,12 +23,11 @@
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
# 2010 Oct 22 - initial release
# Markus Reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
PRGNAM=extundelete
VERSION=${VERSION:-0.2.0}
BUILD=${BUILD:-2}
VERSION=${VERSION:-0.2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -68,25 +67,21 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# Fix build (thanks gentoo)
patch -p0 < $CWD/extundelete-0.2.0-build.patch
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/usr/bin $PKG/usr/doc
DFLAGS=$LDFLAGS \
CFLAGS=$SLKCFLAGS \
./configure \
--prefix=$PKG/usr
./configure --prefix=$PKG/usr
make
make install
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,10 +1,10 @@
PRGNAM="extundelete"
VERSION="0.2.0"
VERSION="0.2.4"
HOMEPAGE="http://extundelete.sourceforge.net/"
DOWNLOAD="http://sourceforge.net/projects/extundelete/files/extundelete/0.2.0/extundelete-0.2.0.tar.bz2"
MD5SUM="6dac74b12a747f133326ff7b81fceedd"
DOWNLOAD="http://sourceforge.net/projects/extundelete/files/extundelete/0.2.4/extundelete-0.2.4.tar.bz2"
MD5SUM="77e626ad31433680c0a222069295d2ca"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="markus reichelt"
MAINTAINER="Markus Reichelt"
EMAIL="slackbuilds@mareichelt.de"