summaryrefslogtreecommitdiff
path: root/app-cdr/extract-xiso
diff options
context:
space:
mode:
Diffstat (limited to 'app-cdr/extract-xiso')
-rw-r--r--app-cdr/extract-xiso/Manifest8
-rw-r--r--app-cdr/extract-xiso/extract-xiso-2.5.ebuild37
-rw-r--r--app-cdr/extract-xiso/extract-xiso-2.7.1.ebuild39
-rw-r--r--app-cdr/extract-xiso/files/extract-xiso-2.7.1-headers.patch20
-rw-r--r--app-cdr/extract-xiso/metadata.xml11
5 files changed, 115 insertions, 0 deletions
diff --git a/app-cdr/extract-xiso/Manifest b/app-cdr/extract-xiso/Manifest
new file mode 100644
index 000000000000..449f09813dbc
--- /dev/null
+++ b/app-cdr/extract-xiso/Manifest
@@ -0,0 +1,8 @@
+AUX extract-xiso-2.7.1-headers.patch 437 SHA256 29adc0b98829b1f8f10bd254e61af0098620ff82ab3c390335367fdffcc2c55d SHA512 4d6a46259d4c96a405d8e52347dfc9fad53bbfe5c2d4fabd74a81c6e698a4da9351c50bff6a6e810ffad4e8b927f0d687538c210eebf905ab454e2dd4146aa58 WHIRLPOOL e09faf04b9e48f7f0c9e9026ddf3611473bbe0df475ee90a1190747e15f7bd68ef0704d0f3ac8be7095370e56ba84c2b159642d564909f4b946d3469eebdab8e
+DIST extract-xiso-2.7.1.tar.gz 207518 SHA256 4aff3f16f687d4ef18607702b08a133e37ea969bc87c5a1d5f5bba91698ae993 SHA512 a7153d96fa7cfb01dfa385a0984d94dc0fa5ac14ce9f7e2d50287b7e1edbb6a4ba84b6b874aa2628b1a82f23b30687958e411699487896cc48787f48e0e012c6 WHIRLPOOL 74fbc9ec42ae7e4df0657de4711802db63dc552825c8a11ae814ca59273aae8d5e82a432540a5dbb7f5e2b557cc7d452876c33144c8ca1be7d45b00f2da4b24a
+DIST extract-xiso_v2.5_src.tgz 207052 SHA256 056bae1d970a1907aebebc796724fc82debac72010e8227f9ce5a470f16714d7 SHA512 ae73d5814167894f60530f9cb88485a9bcc39a60da87ed20b8b579f8e3f91542df102c2f9cb868ce61ff61c1a5add63d4bec66097f039c906353762358760dec WHIRLPOOL e59664007267ed5daa927e5669bb32050618af7282d5f672b2829c0782a9e8c4bc2da55534c7a4339defab14671e75d8c47d1fde0730874a9cf13486f47a1140
+EBUILD extract-xiso-2.5.ebuild 758 SHA256 5c043287024739a5dcf4eb390a7d9561c1653fb42a07ff8942ec0b76badef015 SHA512 08460534ef0168d0acb69614ba3631d64101e30df60c8ca24440e9af8ee6715ddb3872c774b63a2645780575498465b173c90c72548273ed6145ffcdc9fa17bf WHIRLPOOL b29d0bc36fddcf387852be636d984f2510c52fd7229e301b47804df69382e547b50a0047b119432f460759592797c7320742cf117fdc5b2fc71ff022f9ed62e1
+EBUILD extract-xiso-2.7.1.ebuild 847 SHA256 3dc73b503d92fccab369a272411fb56c1adc5273126fa1cc1428018858791239 SHA512 edbc8000e5646d31ed1449e1a8b092fcf298302ab41aae26d9d021b12572f6671c802682c3da883b559e5b22657f1f0503ec401bd320cffc4ea937475667b0be WHIRLPOOL 3185d4582a931c51144692f10086a14bf78c94872d5820a96756b28efb9c6b8b0de6f3e15a03fafd8ef32038c47267d93906ea3906f7969a734dcd650f563528
+MISC ChangeLog 3157 SHA256 bd0b5cc11f6ab21eb848f7a55cbb9389c7a6116e2f63c6a0001bbebbf5cb3515 SHA512 1f8235cca852dc483ac5eb252dd41bdbb43158248cfb9954b8015e9c28d1ee218fa78d28a6b52ec453653b0ee86587718c2c4e83ffb6876e54feb83aeccd11ac WHIRLPOOL 8e1f0f1feb25e794d021101731aa35e6b9b760ecbd8b6da1815e2a1f7964f49063fc23e4d8ae59aa93845171d8ede3027494b08efc968a0469efbd2779617d16
+MISC ChangeLog-2015 2300 SHA256 a07044f3f68855ad22ccc73d3ee328d701f30912e81be3b91ce7e15cf7852408 SHA512 c2455cdacd4305e8a7fa36696b5f87d1fbd8d932cd59b7a4aa5e4e98d5614ec157c0262278884b8f4a76570402ca5a6b49483319e1c4edd3e999426cbd4f72f9 WHIRLPOOL a2cf20247c96ccd07c2db23c8507701c32cb0808fe99712ee8b6e75279270cff728f60b530fb8f865f17e41939b41f8056bd552abf61f9abb9ec00dd8dfc07d1
+MISC metadata.xml 403 SHA256 b845deea7ce2b514d01bf1a1b30ae34db9045534f876f3c476f7c58d55b8f248 SHA512 96bcb6e7c85942f78eca96cb8e61508e51af1b5b2056fd9e2976d7fcef5bd2837c1aaa0c2061f17758e0ad6c4b7c42730736a31ee4a93391f7f25c140444a197 WHIRLPOOL 211815f87b9861b3fae3d157aa5af0393cfa7f1acd695abc73324b4050b42af620cce01bf354e43a1e3bea2e4b6f0c6d630cb44ed35ae7e76e190de407b27bcc
diff --git a/app-cdr/extract-xiso/extract-xiso-2.5.ebuild b/app-cdr/extract-xiso/extract-xiso-2.5.ebuild
new file mode 100644
index 000000000000..ff066f8ea7ea
--- /dev/null
+++ b/app-cdr/extract-xiso/extract-xiso-2.5.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit toolchain-funcs
+
+MY_PV=${PV/_beta/b}
+
+DESCRIPTION="Tool for extracting and creating optimised Xbox ISO images"
+HOMEPAGE="https://sourceforge.net/projects/extract-xiso"
+SRC_URI="mirror://sourceforge/extract-xiso/${PN}_v${MY_PV}_src.tgz"
+
+LICENSE="BSD-4"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e 's:__LINUX__:__linux__:' \
+ *.[ch] */*.[ch] || die
+}
+
+doit() { echo "$@"; "$@"; }
+
+src_compile() {
+ doit $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} \
+ extract-xiso.c libftp-*/*.c -o extract-xiso || die
+}
+
+src_install() {
+ dobin extract-xiso || die
+ dodoc README.TXT
+}
diff --git a/app-cdr/extract-xiso/extract-xiso-2.7.1.ebuild b/app-cdr/extract-xiso/extract-xiso-2.7.1.ebuild
new file mode 100644
index 000000000000..d7d153a3aa9d
--- /dev/null
+++ b/app-cdr/extract-xiso/extract-xiso-2.7.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit toolchain-funcs eutils
+
+MY_PV=${PV/_beta/b}
+
+DESCRIPTION="Tool for extracting and creating optimised Xbox ISO images"
+HOMEPAGE="https://sourceforge.net/projects/extract-xiso"
+SRC_URI="mirror://sourceforge/extract-xiso/${P}.tar.gz"
+
+LICENSE="BSD-4"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.7.1-headers.patch
+ sed -i \
+ -e 's:__LINUX__:__linux__:' \
+ *.[ch] */*.[ch] || die
+}
+
+doit() { echo "$@"; "$@"; }
+
+src_compile() {
+ # Need _GNU_SOURCE here for asprintf prototype.
+ doit $(tc-getCC) ${CFLAGS} ${CPPFLAGS} -D_GNU_SOURCE ${LDFLAGS} \
+ extract-xiso.c libftp-*/*.c -o extract-xiso || die
+}
+
+src_install() {
+ dobin extract-xiso
+ dodoc README.TXT
+}
diff --git a/app-cdr/extract-xiso/files/extract-xiso-2.7.1-headers.patch b/app-cdr/extract-xiso/files/extract-xiso-2.7.1-headers.patch
new file mode 100644
index 000000000000..3de797050b43
--- /dev/null
+++ b/app-cdr/extract-xiso/files/extract-xiso-2.7.1-headers.patch
@@ -0,0 +1,20 @@
+fix missing prototype warnings
+
+--- a/libftp-5.0.1.modified.by.in/FtpLibrary.h
++++ b/libftp-5.0.1.modified.by.in/FtpLibrary.h
+@@ -20,6 +20,7 @@
+ extern "C" {
+ #endif
+
++#include <ctype.h>
+ #include <errno.h>
+ #include <stdio.h>
+ #include <stdarg.h>
+@@ -33,6 +34,7 @@
+ #include <sys/time.h>
+ #include <sys/socket.h>
+ #include <arpa/ftp.h>
++#include <arpa/inet.h>
+ #include <arpa/telnet.h>
+ #include <netinet/in.h>
+ #include <netdb.h>
diff --git a/app-cdr/extract-xiso/metadata.xml b/app-cdr/extract-xiso/metadata.xml
new file mode 100644
index 000000000000..f644193e5317
--- /dev/null
+++ b/app-cdr/extract-xiso/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>vapier@gentoo.org</email>
+ </maintainer>
+ <longdescription>Tool for extracting and creating optimised Xbox ISO images</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">extract-xiso</remote-id>
+ </upstream>
+</pkgmetadata>