summaryrefslogtreecommitdiff
path: root/sys-devel/bin86
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/bin86')
-rw-r--r--sys-devel/bin86/Manifest9
-rw-r--r--sys-devel/bin86/bin86-0.16.20-r2.ebuild34
-rw-r--r--sys-devel/bin86/bin86-0.16.21.ebuild32
-rw-r--r--sys-devel/bin86/files/bin86-0.16.17-amd64-build.patch17
-rw-r--r--sys-devel/bin86/metadata.xml15
5 files changed, 107 insertions, 0 deletions
diff --git a/sys-devel/bin86/Manifest b/sys-devel/bin86/Manifest
new file mode 100644
index 000000000000..e7e7aa83eb4f
--- /dev/null
+++ b/sys-devel/bin86/Manifest
@@ -0,0 +1,9 @@
+AUX bin86-0.16.17-amd64-build.patch 327 SHA256 607e7233c0499ceafe3f91596a27bcdaa470cf7ca45e845b08ed38b3bbe2aef5 SHA512 8e4102c5b0848249c69fd9b3f16a93b12bbe8dce9771b78514bf423bec7b0144677f4eae07cb0ea479bf03dbd21092fdb2ce0a028df95f28c37d48b660466c13 WHIRLPOOL b9224447f5b81422e072543fe7f3ae86dceefbb4a7a388f0b8d876b5876bf77150db81e14b83d7287d6f0caf1e393913345578f14792efad41154b082bb4ff96
+DIST bin86-0.16.20-fix_lilo_build.patch 3488 SHA256 bc735c292880c523e8f2af847852953898faa5b4670fab1012c2114bac472398 SHA512 f307438ced09e34ce5c552f808a9d1ae09bb9bbaceee4e1e07021f810470dfb07d21a30d1447295b2d023ccf56f158f4b7f3d80d478b1d7e3e4b79b13b8e760c WHIRLPOOL 1a12bf35237324cf374496e1032bb6a54aeb5e160934ee185494783fcb93d0616e544ab222ed6a37b3b269377cef72ebcc1a2159ad29c5b4984360cd9b3d6902
+DIST bin86-0.16.20.tar.gz 154107 SHA256 00dcf75f75080b4a51d137f14fe787d8144d12fff0448e08fe696e8909780437 SHA512 c567ad5f9241d9ed768410f988266d4ff952fd4767d033552b100a2643db69ee9d4b5929a1b40c3018db7037b0efc7b47db84fa1f561bc39f01e640b1a3bacfc WHIRLPOOL 028be86ee91f47768837b35b917eaa0ff0231b900a052e15ec3e30574ba76693d8699a186bcef5d4b580a445c152334bc33028b32be60b33c369fb7f12331514
+DIST bin86-0.16.21.tar.gz 154283 SHA256 021e37cde3a20632c4c9000993cb4aa9f58cb82b1d3c26b9aeb62d6566925738 SHA512 e80e06965fbdcf13100aae4690071d01a6efe74aed7ff8f14e5892c6803393a1b5acda1296e0f0e1837dfb73e0edd02e9cccfeabbeabe1b68fa6b6b85ced1f56 WHIRLPOOL ba46856d70f6dacd010307426eefc0c8eeac104f435b18470148145e6ef785d02cbbf7256870922d7b6904f134829950907ae7d4868604d75af9724ec8d4f9d2
+EBUILD bin86-0.16.20-r2.ebuild 971 SHA256 f1356e56e14affb7a70fe3a11b147ea4c7acd52bfe9f91f5ae1e5d6a8d43888e SHA512 efbfee52390cef1e5e0d7146897153c62bc8c9b5887b0f040bccdcd468d33ce472c7df5e63ba731830a0fc6b8caf07a105c53db24de7cb02bbb3e1fba6bc42d7 WHIRLPOOL 88d8c382a823899ee8c59c7ee22f0e246a0764f0706452871690d1c449adc86274c67abffedb4efd0b11ac4c4119072a8f44c0fa4ea46a20d3879b7b7963428b
+EBUILD bin86-0.16.21.ebuild 808 SHA256 b83d1dbaa020d22b2f4bc65be9a693a91887b18bd772792119a62756a1c19161 SHA512 48171ada6e9587321565216d3b89a23e0327c0175421b29334900d0ca863155d71efd51c193e9fcfed7ebbe38712858462dc4ad99a7b5b32f94180bce3c0293a WHIRLPOOL 49647ba24e3a04433cfb8e60c45054636598c1ffdac919f43509b43def8cf4aab7815b4ad84ae8dafbd42c83b7b3d8fc253fb48742354106b9c7c6fd963bc37d
+MISC ChangeLog 3243 SHA256 2bad513d78a7e20a40c2bf1ce73a4b93a382a687d3878b7c9b07e31b2e2e04da SHA512 71045bf74e6f0f675f024673e11f6d733f8c55240d0e070cd8d1914d0bf2f95986aa1c00c63b76d319a847ccfc304bf5ef5878d516c09cb6e293634c346a6e95 WHIRLPOOL d58cf7cb0e3c7bdbffc1276c3b65798dffd79f7f1a40b26a2c39196468856ea67237bbb3134c59553e6e421f0402f263d54b9c8dff837a69b953dcd0227f4623
+MISC ChangeLog-2015 5479 SHA256 b7f25c52e2e16c09d8d74ec42b520d1ceeb0b479cef51504e4ade8c0d05e09a7 SHA512 4b5af82e8406d054e489249a142a28be4244458490a388af01866a89282cbde6a5c70759023faac6e8ac2aafd826e450e05f541258556287172b6b81b6ab9609 WHIRLPOOL fff1a84a1d9b9dc3aceb137f9481b1a906f001f58634525229cdfd8857c5753269a019ded55cf62995b2f4fa304aee24dbf893963f363b571394bba5ce71dc7e
+MISC metadata.xml 479 SHA256 09a5fc19de2f5d0bcb9ad4eac740942f4a9a8d0f501221bc6a36bdc2598baa44 SHA512 89e8c96a44e57ccae73c66141904a99e0128587fd62acc8b2d3e860636ab05396e9842c80152ab27860850a7582dd4097fefb465e0d0a86761b96614d8c0992d WHIRLPOOL 37673100d2747c2b0c6894a55f6f34c14456e89129e0b7e448026d7eb6b7022a5a6922824b6144c941479711d2d4fb4befd8fb01a43f186e61141c8e08efa41f
diff --git a/sys-devel/bin86/bin86-0.16.20-r2.ebuild b/sys-devel/bin86/bin86-0.16.20-r2.ebuild
new file mode 100644
index 000000000000..5bb161c54a2b
--- /dev/null
+++ b/sys-devel/bin86/bin86-0.16.20-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="Assembler and loader used to create kernel bootsector"
+HOMEPAGE="http://v3.sk/~lkundrak/dev86/"
+SRC_URI="http://v3.sk/~lkundrak/dev86/${P}.tar.gz
+ https://github.com/lkundrak/dev86/commit/2c95336f19eeff761ecb858c5a2a58484bb3ceeb.patch -> ${PN}-0.16.20-fix_lilo_build.patch"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-fbsd ~x86-fbsd"
+IUSE=""
+
+src_prepare() {
+ sed -i \
+ -e '/^PREFIX/s:=.*:=$(DESTDIR)/usr:' \
+ -e '/^MANDIR/s:)/man/man1:)/share/man/man1:' \
+ -e '/^INSTALL_OPTS/s:-s::' \
+ -e "/^CFLAGS/s:=.*:=${CFLAGS} -D_POSIX_SOURCE ${CPPFLAGS}:" \
+ -e "/^LDFLAGS/s:=.*:=${LDFLAGS}:" \
+ Makefile || die
+ epatch "${FILESDIR}"/${PN}-0.16.17-amd64-build.patch \
+ "${DISTDIR}"/${P}-fix_lilo_build.patch
+ tc-export CC
+}
+
+src_install() {
+ dodir /usr/bin /usr/share/man/man1
+ default
+}
diff --git a/sys-devel/bin86/bin86-0.16.21.ebuild b/sys-devel/bin86/bin86-0.16.21.ebuild
new file mode 100644
index 000000000000..3c587b03ca5e
--- /dev/null
+++ b/sys-devel/bin86/bin86-0.16.21.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="Assembler and loader used to create kernel bootsector"
+HOMEPAGE="http://v3.sk/~lkundrak/dev86/"
+SRC_URI="http://v3.sk/~lkundrak/dev86/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~amd64-fbsd ~x86-fbsd"
+IUSE=""
+
+src_prepare() {
+ sed -i \
+ -e '/^PREFIX/s:=.*:=$(DESTDIR)/usr:' \
+ -e '/^MANDIR/s:)/man/man1:)/share/man/man1:' \
+ -e '/^INSTALL_OPTS/s:-s::' \
+ -e "/^CFLAGS/s:=.*:=${CFLAGS} -D_POSIX_SOURCE ${CPPFLAGS}:" \
+ -e "/^LDFLAGS/s:=.*:=${LDFLAGS}:" \
+ Makefile || die
+ epatch "${FILESDIR}"/${PN}-0.16.17-amd64-build.patch
+ tc-export CC
+}
+
+src_install() {
+ dodir /usr/bin /usr/share/man/man1
+ default
+}
diff --git a/sys-devel/bin86/files/bin86-0.16.17-amd64-build.patch b/sys-devel/bin86/files/bin86-0.16.17-amd64-build.patch
new file mode 100644
index 000000000000..b494a8b724de
--- /dev/null
+++ b/sys-devel/bin86/files/bin86-0.16.17-amd64-build.patch
@@ -0,0 +1,17 @@
+This should make it built on other archictectures as well
+
+https://bugs.gentoo.org/428228
+
+--- ld/x86_aout.h
++++ ld/x86_aout.h
+@@ -13,7 +13,9 @@
+ typedef long Long;
+ #define __OUT_OK 1
+ #else
+-typedef char Long[4];
++#define __OUT_OK 1
++#include <inttypes.h>
++typedef int32_t Long;
+ #endif
+
+ struct exec { /* a.out header */
diff --git a/sys-devel/bin86/metadata.xml b/sys-devel/bin86/metadata.xml
new file mode 100644
index 000000000000..b6943a7745a3
--- /dev/null
+++ b/sys-devel/bin86/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>base-system@gentoo.org</email>
+ <name>Gentoo Base System</name>
+</maintainer>
+<!--
+ If anyone from base-system wants to be secondary, by all means just add
+ yourself, and send me (boo) a mail telling me that you've done so.
+-->
+<upstream>
+ <remote-id type="github">lkundrak/dev86</remote-id>
+</upstream>
+</pkgmetadata>