summaryrefslogtreecommitdiff
path: root/app-cdr/b5i2iso
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-cdr/b5i2iso
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-cdr/b5i2iso')
-rw-r--r--app-cdr/b5i2iso/Manifest4
-rw-r--r--app-cdr/b5i2iso/b5i2iso-0.2-r1.ebuild24
-rw-r--r--app-cdr/b5i2iso/files/b5i2iso-0.2-segfault.patch18
-rw-r--r--app-cdr/b5i2iso/metadata.xml5
4 files changed, 51 insertions, 0 deletions
diff --git a/app-cdr/b5i2iso/Manifest b/app-cdr/b5i2iso/Manifest
new file mode 100644
index 000000000000..b19c599d69c1
--- /dev/null
+++ b/app-cdr/b5i2iso/Manifest
@@ -0,0 +1,4 @@
+AUX b5i2iso-0.2-segfault.patch 388 BLAKE2B 151e6f41afe5e241be181de2b0ce50a2ee0bff64ab1b04ff99501b2844705a1295cbfea28b85446d2aa899eb6e3a58b9f40e992c336965f8b07749e1698af53c SHA512 133fb1c4da9391e1465f0c820fea2038859c351dbf9b9a8de293294c66857a68f0f544bbca9b8a927a615cc3488a691db6a0bb532bea98362904876634966a5f
+DIST b5i2iso.tar.bz2 7503 BLAKE2B a1ac74596213845c49dd007390445640ebe6226ae6273f4e05d567c58badb2ca2698c06951be7348c63c89920dd8034e376343d387665ae08ee13747efcf903b SHA512 2ec6ce30225370898aee9876937b70ee38ed68b6515bef13eb010f1ef1970894995461d5dc5f44ac24d2e7e682774e4fc3c6d2bdde8f744129a3f6103b50f9e4
+EBUILD b5i2iso-0.2-r1.ebuild 581 BLAKE2B 88f162876dd3af073cd3af7c3a188cf998c3fd3ebac2e36880bd6379d9a6270ceea581d23c9f7bd30e9b83ed4fa62969a8ff408811becb12f0261684750e4496 SHA512 33048970e02ab8bd1d39a6a77be648e7e7e6bf20633b7ea10e5e274ab356dabac1b375a26442f699ca0324957b2dea62df7f013676e1f1470d6b9a12c4c5ca2a
+MISC metadata.xml 168 BLAKE2B 3e5971a4f8eec29fb98ca9e9e3e93e1ffb3ceecbc911e171844dee81b53f757ee37173d79fdeba5ceded1ae70f84cd00da36912efed91d3bbdfd09e339886166 SHA512 a0f46e63b4efc395be44cfec9bafd3f0067a239be0ac79de35b85c6ad14f6bb7dae7c4e82ce8d18fb4c089026426d6554ecbe2c54d4b0f8bdcd77cfee6467ec4
diff --git a/app-cdr/b5i2iso/b5i2iso-0.2-r1.ebuild b/app-cdr/b5i2iso/b5i2iso-0.2-r1.ebuild
new file mode 100644
index 000000000000..f45009e3c802
--- /dev/null
+++ b/app-cdr/b5i2iso/b5i2iso-0.2-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit toolchain-funcs
+
+DESCRIPTION="Convert CD images from b5i (BlindWrite) to iso"
+HOMEPAGE="https://web.archive.org/web/20100116120705/b5i2iso.berlios.de"
+SRC_URI="mirror://gentoo/${PN}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+PATCHES=( "${FILESDIR}/${P}-segfault.patch" )
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+ $(tc-getCC) ${LDFLAGS} ${CFLAGS} src/${PN}.c -o ${PN}
+}
+
+src_install() {
+ dobin ${PN}
+}
diff --git a/app-cdr/b5i2iso/files/b5i2iso-0.2-segfault.patch b/app-cdr/b5i2iso/files/b5i2iso-0.2-segfault.patch
new file mode 100644
index 000000000000..6fda80e79605
--- /dev/null
+++ b/app-cdr/b5i2iso/files/b5i2iso-0.2-segfault.patch
@@ -0,0 +1,18 @@
+--- b5i2iso/src/b5i2iso.c
++++ b5i2iso/src/b5i2iso.c
+@@ -1,3 +1,4 @@
++#include <errno.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -45,6 +46,10 @@
+ }
+
+ fsource = fopen(argv[1],"rb");
++if (fsource == NULL) {
++ printf("can't open %s: %s\n", argv[1], strerror(errno));
++ exit(EXIT_FAILURE);
++}
+ fdest = fopen(destfilename,"wb");
+
+ fseek(fsource, 2352, SEEK_CUR); \ No newline at end of file
diff --git a/app-cdr/b5i2iso/metadata.xml b/app-cdr/b5i2iso/metadata.xml
new file mode 100644
index 000000000000..11f5a93ba0e7
--- /dev/null
+++ b/app-cdr/b5i2iso/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!--maintainer-needed-->
+</pkgmetadata>