commit:     dc7e5f3beb44fe99a31d3dba6275bb44180ca5a2
Author:     layman <layman <AT> localhost>
AuthorDate: Thu Dec 31 03:21:32 2015 +0000
Commit:     Mike Auty <ikelos <AT> gentoo <DOT> org>
CommitDate: Thu Dec 31 03:21:32 2015 +0000
URL:        https://gitweb.gentoo.org/dev/ikelos.git/commit/?id=dc7e5f3b

Update sasquatch, keeping it package masked while the author sorts his patching 
out.

 app-arch/sasquatch/Manifest                        |  4 +-
 ...h-9999.ebuild => sasquatch-0.0.20150425.ebuild} |  1 +
 app-arch/sasquatch/sasquatch-4.3.ebuild            | 62 ++++++++++++++++++++++
 3 files changed, 66 insertions(+), 1 deletion(-)

diff --git a/app-arch/sasquatch/Manifest b/app-arch/sasquatch/Manifest
index 3d17a1a..2632c8b 100644
--- a/app-arch/sasquatch/Manifest
+++ b/app-arch/sasquatch/Manifest
@@ -1 +1,3 @@
-EBUILD sasquatch-9999.ebuild 579 SHA256 
d141a2bf274ede1fab768693513a9e7a5fc940654d15a7df6dc9e510e0d0ebae SHA512 
dd53d2513808b27f55378866119ae59fc48ed55a66e1f4c2fa0995e714435d94ce4d6b2df30fcea5ad12947808249f75b63e8960faf01dbdef15872d8f4942bb
 WHIRLPOOL 
29109440a30fc53efe1b181a71e463294a4bb9a67efcdc7b74db48b4156d07417df0fdc9f7579426438ef593f592212c7dc41a1ed38f8317dea12a22b0dbb958
+DIST squashfs4.3.tar.gz 182550 SHA256 
0d605512437b1eb800b4736791559295ee5f60177e102e4d4ccd0ee241a5f3f6 SHA512 
854ed7acc99920f24ecf11e0da807e5a2a162eeda55db971aba63a03f0da2c13b20ec0564a906c4b0e415bd8258b273a10208c7abc0704f2ceea773aa6148a79
 WHIRLPOOL 
c819f416b34cc46a232b8bc385017774603f81b4a865e6b97208004c183ebad5de7d0f726be444f8cb4e1d450abed9340dab730aec0762407f034e99b39bdc06
+EBUILD sasquatch-0.0.20150425.ebuild 634 SHA256 
dd41813241fc8537ddfd1f19c62d99c4494861f89c75b2fe8a2ab267af847b38 SHA512 
9c4deca47addcdbdff15e64885e55227f1b46bfcac6d3351b78965bb27bfea6039f9bdcf9470a77e2eaa2f9f946b52e13a5a87a6441ce70ee4bd57022fd06034
 WHIRLPOOL 
3b7c362f57c403c2dfb5ced7af4df73628e3abb7206499a60834713f57d3dfc3351d2faf77a6295e2b8e55c18d58e1d5859798bc7567f657be8514a933a5566b
+EBUILD sasquatch-4.3.ebuild 1291 SHA256 
ee021286e6205bff18b68110f8afc412cc23fc858858f6120278dbeb42ace326 SHA512 
6bab6907efdbc6edbf68f63e981c5561248a39c285239446c27440fb8a0bb680f719b3cbc6f042ff000df7147542d88ff83e1352f671552d87a52da220e4e31f
 WHIRLPOOL 
a1c8e462c472c1315a482d6846a78bad60ece8403cf0a0b4f86de5d1d68184887e105b62bc645fa2d101dcc4c7f549c938df5c3498247cbd1733a4af29477de2

diff --git a/app-arch/sasquatch/sasquatch-9999.ebuild 
b/app-arch/sasquatch/sasquatch-0.0.20150425.ebuild
similarity index 91%
rename from app-arch/sasquatch/sasquatch-9999.ebuild
rename to app-arch/sasquatch/sasquatch-0.0.20150425.ebuild
index ef05543..c6ecc72 100644
--- a/app-arch/sasquatch/sasquatch-9999.ebuild
+++ b/app-arch/sasquatch/sasquatch-0.0.20150425.ebuild
@@ -10,6 +10,7 @@ DESCRIPTION="A modified unsquashfs utility that attempts to 
support as many hack
 HOMEPAGE="https://github.com/devttys0/sasquatch";
 SRC_URI=""
 EGIT_REPO_URI="https://github.com/devttys0/sasquatch.git";
+EGIT_COMMIT="e4ca65b176c5fe6f3ed4efb001bab0b0ca334836"
 
 LICENSE=""
 SLOT="0"

diff --git a/app-arch/sasquatch/sasquatch-4.3.ebuild 
b/app-arch/sasquatch/sasquatch-4.3.ebuild
new file mode 100644
index 0000000..f6d2977
--- /dev/null
+++ b/app-arch/sasquatch/sasquatch-4.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils toolchain-funcs git-r3
+
+DESCRIPTION="Tool for creating compressed filesystem type squashfs"
+HOMEPAGE="http://squashfs.sourceforge.net";
+SRC_URI="mirror://sourceforge/squashfs/squashfs${PV}.tar.gz"
+EGIT_REPO_URI="https://github.com/devttys0/sasquatch/";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="+xz lzma lz4 lzo xattr"
+
+RDEPEND="
+       sys-libs/zlib
+       !xz? ( !lzo? ( sys-libs/zlib ) )
+       lz4? ( app-arch/lz4 )
+       lzma? ( app-arch/xz-utils )
+       lzo? ( dev-libs/lzo )
+       xattr? ( sys-apps/attr )
+       xz? ( app-arch/xz-utils )
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"
+MY_S="${S}/squashfs${PV}/${PN}"
+
+src_unpack() {
+       git-r3_src_unpack
+       default_src_unpack
+}
+
+src_prepare() {
+       cd ${MY_S}
+       epatch "${S}/${P}/patches/patch0.txt"
+}
+
+src_configure() {
+       # set up make command line variables in EMAKE_SQUASHFS_CONF
+       EMAKE_SQUASHFS_CONF=(
+               $(usex lzma LZMA_XZ_SUPPORT=1 LZMA_XS_SUPPORT=0)
+               $(usex lzo LZO_SUPPORT=1 LZO_SUPPORT=0)
+               $(usex lz4 LZ4_SUPPORT=1 LZ4_SUPPORT=0)
+               $(usex xattr XATTR_SUPPORT=1 XATTR_SUPPORT=0)
+               $(usex xz XZ_SUPPORT=1 XZ_SUPPORT=0)
+       )
+
+       tc-export CC
+}
+
+src_compile() {
+       emake ${EMAKE_SQUASHFS_CONF[@]}
+}
+
+src_install() {
+       dobin ${PN}
+       dodoc "${S}/README"
+}

Reply via email to