Package Details: sasquatch-git r60.bd864a1-1

Git Clone URL: https://aur.archlinux.org/sasquatch-git.git (read-only, click to copy)
Package Base: sasquatch-git
Description: Patched unsquashfs utility with support for vendor-specific SquashFS implementations
Upstream URL: https://github.com/devttys0/sasquatch
Licenses: GPL2
Conflicts: sasquatch
Provides: sasquatch
Submitter: c-mauderer
Maintainer: cyrozap
Last Packager: cyrozap
Votes: 3
Popularity: 0.073833
First Submitted: 2019-12-11 14:42 (UTC)
Last Updated: 2022-04-09 15:38 (UTC)

Latest Comments

1 2 Next › Last »

cyrozap commented on 2024-02-25 05:29 (UTC)

@MarsSeed The upstream code this package builds from is based on squashfs-tools 4.3, so the lack of support for squashfs-tools 4.6.1 is an upstream issue and not an issue with this package. Because of that, and because this package still builds successfully even with the old version of squashfs-tools, I've unflagged it as "outdated".

That said, the upstream looks unmaintained, so if anyone finds (or creates) a fork that is both maintained and patches the latest squashfs-tools, I'll be happy to update this package to build from that fork.

c-mauderer commented on 2021-06-13 14:37 (UTC)

Hello @selurvedu,

I'm not really using the packet any more. I removed me as a maintainer. So feel free to take over and upload your version of the PKGBUILD.

Best regards

Christian

selurvedu commented on 2021-06-13 07:56 (UTC) (edited on 2021-06-13 07:59 (UTC) by selurvedu)

I edited the PKGBUILD locally to let makepkg fetch, verify and unpack the sources directly, etc., just to find out that someone else did exactly the same thing before me. If you compare @xx55tt's version with mine you'll see they are exactly the same, except for really minor editing. I'll leave it here just in case that the link to pastebin dies.

P.S. I also believe that the license field should be set to GPL2 since sasquatch is based on squashfs which is licensed under GPL 2.0: https://sourceforge.net/p/squashfs/code/ci/master/tree/COPYING

pkgname=sasquatch-git
pkgrel=1
pkgver=r60.bd864a1
pkgdesc='Patched unsquashfs utility with support for vendor-specific SquashFS implementations'
arch=('x86_64')
url='https://github.com/devttys0/sasquatch'
license=(GPL2)
depends=('lzo' 'xz' 'zlib')
makedepends=('git')
provides=('sasquatch')
conflicts=('sasquatch')
source=("${pkgname}::git+$url.git"
    "https://downloads.sourceforge.net/project/squashfs/squashfs/squashfs4.3/squashfs4.3.tar.gz")
sha512sums=('SKIP'
            '854ed7acc99920f24ecf11e0da807e5a2a162eeda55db971aba63a03f0da2c13b20ec0564a906c4b0e415bd8258b273a10208c7abc0704f2ceea773aa6148a79')

pkgver() {
    cd "${srcdir}/${pkgname}"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
    cd "${srcdir}/squashfs4.3"
    patch -p0 < "${srcdir}/${pkgname}/patches/patch0.txt"
}

build() {
    cd "${srcdir}/squashfs4.3/squashfs-tools"
    make EXTRA_CFLAGS=-fcommon
}

package() {
    cd "${srcdir}/squashfs4.3/squashfs-tools"
    make INSTALL_DIR="${pkgdir}/usr/bin" install
}

c-mauderer commented on 2020-08-23 15:22 (UTC)

Hello xx55tt,

sorry for the awfully late reply. I somehow missed the mail in my inbox.

I updated the dependencies. But I'm not that happy removing the script. If the repository somewhen starts to live up again, that maybe makes additional problems.

xx55tt commented on 2020-08-13 21:20 (UTC)

I doubt that I'm gonna use it regularly and I'm not really interested in maintaining it either.

There are still some issues left, so I've written a PKGBUILD from scratch. It uses the Makefile directly instead of the shell script. This means that the two patches and wget are no longer required to build the package. I've also added the missing dependencies. Feel free to use it: https://pastebin.com/vv5tKee9

c-mauderer commented on 2020-08-13 17:54 (UTC)

Thanks again @xx55tt. I fixed it.

It seems that you want to actively use that packet. I only used it once in the past and never again. Should I add you as co-maintainer so that you can make the changes directly?

xx55tt commented on 2020-08-12 20:06 (UTC) (edited on 2020-08-12 20:06 (UTC) by xx55tt)

Thanks for the quick fix. However, I've run into an another issue. You are using git am to apply the patches.

There are two problems with this approach:

  1. git am will commit the patches to the local repository, so pkgver() always returns the commit hash of the last patch. It should return the last commit hash from the upstream repository.

  2. In a clean chroot there is no git configuration (name and email are not set), so git am fails to commit the patches causing makepkg to abort the building process.

Please replace git am with patch -p1 < "${srcdir}/...". With this change pkgver() will return the correct version string. (r58.3e0cc40)

c-mauderer commented on 2020-08-12 18:38 (UTC)

Thanks @xx55tt for the hint. I added the makedepends.

xx55tt commented on 2020-08-12 17:43 (UTC)

makedepends=('git') is missing from the PKGBUILD, it's not possible to build this package in a clean chroot.

c-mauderer commented on 2020-05-31 18:28 (UTC)

Thanks @svenschwermer for the patch. I applied it. But maybe you want to create a pull request for the original repository too: https://github.com/devttys0/sasquatch