diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2018-09-17 06:08:11 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2018-09-17 06:08:17 +0000 |
commit | e1bf8de5af362bdbd6db676d03f35b4591499277 (patch) | |
tree | d2063da7a8fc6f48e3fe8de4e2bac74a54b85f3b /testing/extundelete | |
parent | beb89366fe3410d185f1fb7467c5f41061fe859b (diff) | |
download | aports-e1bf8de5af362bdbd6db676d03f35b4591499277.tar.bz2 aports-e1bf8de5af362bdbd6db676d03f35b4591499277.tar.xz |
testing/extundelete: new aport
Diffstat (limited to 'testing/extundelete')
-rw-r--r-- | testing/extundelete/APKBUILD | 32 | ||||
-rw-r--r-- | testing/extundelete/extundelete-inode.patch | 13 |
2 files changed, 45 insertions, 0 deletions
diff --git a/testing/extundelete/APKBUILD b/testing/extundelete/APKBUILD new file mode 100644 index 0000000000..5127da58ad --- /dev/null +++ b/testing/extundelete/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=extundelete +pkgver=0.2.4 +pkgrel=0 +pkgdesc="Utility for recovering deleted files from ext2, ext3 or ext4 partitions by parsing the journal" +url="http://extundelete.sourceforge.net" +arch="all" +license="GPL-2.0" +makedepends="e2fsprogs-dev" +source="https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2 + extundelete-inode.patch" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + ./configure --prefix=/usr + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR=${pkgdir} install +} + +sha512sums="5c896055b6fa3c38f283a043cca744513fdc1a60e212eac0c78fa868064a8eeb11f540c4cc5ca89ac68da0c1705a40fe45731c203b6748808f85e9870a207bcd extundelete-0.2.4.tar.bz2 +e15f06cb93f7b0f3809b2c7bb4547bd59d3ea778934b9fff7e6927f74347dda2a5fbb5567174499aae2c9024740356993934895f311e25517f3ee85e455c42f4 extundelete-inode.patch" diff --git a/testing/extundelete/extundelete-inode.patch b/testing/extundelete/extundelete-inode.patch new file mode 100644 index 0000000000..65bf9f7fdf --- /dev/null +++ b/testing/extundelete/extundelete-inode.patch @@ -0,0 +1,13 @@ +diff -ru extundelete-0.2.4.orig/src/insertionops.cc extundelete-0.2.4/src/insertionops.cc +--- extundelete-0.2.4.orig/src/insertionops.cc 2018-06-04 22:19:22.460051515 +0000 ++++ extundelete-0.2.4/src/insertionops.cc 2018-06-04 22:19:49.256717673 +0000 +@@ -33,7 +33,7 @@ + os << "File flags: " << inode.i_flags << std::endl; + os << "File version (for NFS): " << inode.i_generation << std::endl; + os << "File ACL: " << inode.i_file_acl << std::endl; +- os << "Directory ACL: " << inode.i_dir_acl << std::endl; ++ os << "Directory ACL: " << inode.i_size_high << std::endl; + os << "Fragment address: " << inode.i_faddr << std::endl; + os << "Direct blocks: "; + for (int n = 0; n < EXT2_NDIR_BLOCKS; n++) + |