summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-09-20 20:49:31 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2016-09-20 20:49:31 +0100
commita57481602d7f1262b3534d2c08e8193ad2c4afc7 (patch)
treef3ec965543c755fcb6c9cf1afb9c0d4d93ae5aed /app-forensics/quickfuzz/quickfuzz-9999.ebuild
parentmedia-gfx/gimp: 2.8.18 (bug #594486) (diff)
downloadgentoo-a57481602d7f1262b3534d2c08e8193ad2c4afc7.tar.gz
gentoo-a57481602d7f1262b3534d2c08e8193ad2c4afc7.tar.bz2
gentoo-a57481602d7f1262b3534d2c08e8193ad2c4afc7.zip
app-forensics/quickfuzz: update snapshot and live ebuild. all patches are upstreamed \o/
Package-Manager: portage-2.3.1
Diffstat (limited to 'app-forensics/quickfuzz/quickfuzz-9999.ebuild')
-rw-r--r--app-forensics/quickfuzz/quickfuzz-9999.ebuild31
1 files changed, 16 insertions, 15 deletions
diff --git a/app-forensics/quickfuzz/quickfuzz-9999.ebuild b/app-forensics/quickfuzz/quickfuzz-9999.ebuild
index 8e47d5c453a..8703bac831c 100644
--- a/app-forensics/quickfuzz/quickfuzz-9999.ebuild
+++ b/app-forensics/quickfuzz/quickfuzz-9999.ebuild
@@ -94,19 +94,16 @@ DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.18.1.3
"
-PATCHES=(
- # bundled libs:
- "${FILESDIR}"/${P}-megadeth-ghc-8.patch
- "${FILESDIR}"/${P}-megadeth-better-erroro.patch
- "${FILESDIR}"/${P}-megadeth-ghc-8-gadt.patch
-
- "${FILESDIR}"/${P}-ttasm-layout.patch
-
- # package itself:
- "${FILESDIR}"/${PN}-0.1-QC-2.9.patch
- "${FILESDIR}"/${P}-th-2.11-1.patch
- "${FILESDIR}"/${P}-th-2.11-2.patch
-)
+# $1 - target tarball name (not including extension)
+make_snapshot() {
+ ln -s "${S}" "${WORKDIR}"/"$1" || die
+ tar \
+ --dereference \
+ --directory="${WORKDIR}" \
+ --exclude="$1"/bundled/Juicy.Pixels/tests \
+ -zcvvf \
+ "${WORKDIR}"/"$1".tar.gz "$1"/ || die
+}
# As of 2016-09-10 QuickFuzz forks a few hackage packages
# without renames:
@@ -114,7 +111,7 @@ PATCHES=(
# - hogg: more functions are exported directly
# - juicypixels: more functions and modules are exported,
# unsafe functions are changed to safe
-# - svg-tree: expose internal modules
+# - svg-tree: upstream, build agains patched juicypixels
# - x509: stabilised handling of corrupterd data
# - megadeth: not a fork but has no releases
# - ttasm: cabalised, renamed module
@@ -129,7 +126,6 @@ src_unpack() {
hogg
hs-asn1-encoding
hs-certificate-x509
- svg-tree
ttasm
# not exactly fork. just unreleased upstream library
@@ -143,6 +139,11 @@ src_unpack() {
git-r3_fetch https://github.com/CIFASIS/${repo_name}.git
git-r3_checkout https://github.com/CIFASIS/${repo_name}.git "${repo_subdir}/${repo_name}"
done
+
+ git-r3_fetch https://github.com/Twinside/svg-tree.git
+ git-r3_checkout https://github.com/Twinside/svg-tree.git "${repo_subdir}/svg-tree"
+
+ make_snapshot quickfuzz-0.1_p$(date "+%Y%m%d")
}
src_prepare() {