From 19e7cabb1e7796c5f196e0143c868098b562b476 Mon Sep 17 00:00:00 2001 From: Markus Reichelt Date: Fri, 27 Dec 2013 07:19:08 +0700 Subject: system/extundelete: Updated for version 0.2.4. Signed-off-by: Willy Sudiarto Raharjo --- system/extundelete/extundelete-0.2.0-build.patch | 23 ---------------------- system/extundelete/extundelete.SlackBuild | 25 ++++++++++-------------- system/extundelete/extundelete.info | 8 ++++---- 3 files changed, 14 insertions(+), 42 deletions(-) delete mode 100644 system/extundelete/extundelete-0.2.0-build.patch (limited to 'system/extundelete') diff --git a/system/extundelete/extundelete-0.2.0-build.patch b/system/extundelete/extundelete-0.2.0-build.patch deleted file mode 100644 index 2bd56ef2bb..0000000000 --- a/system/extundelete/extundelete-0.2.0-build.patch +++ /dev/null @@ -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; diff --git a/system/extundelete/extundelete.SlackBuild b/system/extundelete/extundelete.SlackBuild index 00d79f9ba1..5707b90896 100644 --- a/system/extundelete/extundelete.SlackBuild +++ b/system/extundelete/extundelete.SlackBuild @@ -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 diff --git a/system/extundelete/extundelete.info b/system/extundelete/extundelete.info index 127f49d52e..d6558bd741 100644 --- a/system/extundelete/extundelete.info +++ b/system/extundelete/extundelete.info @@ -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" -- cgit v1.2.3