From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- sys-devel/bin86/Manifest | 3 ++ sys-devel/bin86/bin86-0.16.20-r2.ebuild | 35 ++++++++++++++++++++++ sys-devel/bin86/bin86-0.16.21.ebuild | 33 ++++++++++++++++++++ .../bin86/files/bin86-0.16.17-amd64-build.patch | 17 +++++++++++ sys-devel/bin86/files/bin86-0.16.18-headers.patch | 34 +++++++++++++++++++++ .../files/bin86-0.16.20-remove-seg-ss-check.patch | 22 ++++++++++++++ sys-devel/bin86/metadata.xml | 9 ++++++ 7 files changed, 153 insertions(+) create mode 100644 sys-devel/bin86/Manifest create mode 100644 sys-devel/bin86/bin86-0.16.20-r2.ebuild create mode 100644 sys-devel/bin86/bin86-0.16.21.ebuild create mode 100644 sys-devel/bin86/files/bin86-0.16.17-amd64-build.patch create mode 100644 sys-devel/bin86/files/bin86-0.16.18-headers.patch create mode 100644 sys-devel/bin86/files/bin86-0.16.20-remove-seg-ss-check.patch create mode 100644 sys-devel/bin86/metadata.xml (limited to 'sys-devel/bin86') diff --git a/sys-devel/bin86/Manifest b/sys-devel/bin86/Manifest new file mode 100644 index 000000000000..6755c085bc58 --- /dev/null +++ b/sys-devel/bin86/Manifest @@ -0,0 +1,3 @@ +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 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..63490452f518 --- /dev/null +++ b/sys-devel/bin86/bin86-0.16.20-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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..4d8eebf8d5e4 --- /dev/null +++ b/sys-devel/bin86/bin86-0.16.21.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ~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 ++typedef int32_t Long; + #endif + + struct exec { /* a.out header */ diff --git a/sys-devel/bin86/files/bin86-0.16.18-headers.patch b/sys-devel/bin86/files/bin86-0.16.18-headers.patch new file mode 100644 index 000000000000..16c9fa1d8db8 --- /dev/null +++ b/sys-devel/bin86/files/bin86-0.16.18-headers.patch @@ -0,0 +1,34 @@ +fix implicit function decl warnings + +by David J Cozatt + +--- bin86-0.16.18/ld/catimage.c ++++ bin86-0.16.18/ld/catimage.c +@@ -21,6 +21,8 @@ + */ + + #include ++#include ++#include + #include "x86_aout.h" + + #ifndef __OUT_OK +--- bin86-0.16.18/ld/dumps.c ++++ bin86-0.16.18/ld/dumps.c +@@ -6,6 +6,7 @@ + #include "obj.h" + #include "type.h" + #include "globvar.h" ++#include + + /* print list of modules and whether they are loaded */ + +--- bin86-0.16.18/ld/objchop.c ++++ bin86-0.16.18/ld/objchop.c +@@ -1,5 +1,6 @@ + + #include ++#include + #include "x86_aout.h" + + #ifndef __OUT_OK diff --git a/sys-devel/bin86/files/bin86-0.16.20-remove-seg-ss-check.patch b/sys-devel/bin86/files/bin86-0.16.20-remove-seg-ss-check.patch new file mode 100644 index 000000000000..146b42f9063e --- /dev/null +++ b/sys-devel/bin86/files/bin86-0.16.20-remove-seg-ss-check.patch @@ -0,0 +1,22 @@ +This check leads to false positives for lilo. We disable it. + +From: Anthony G. Basile + +diff -Naur bin86-0.16.20.orig/as/assemble.c bin86-0.16.20/as/assemble.c +--- bin86-0.16.20.orig/as/assemble.c 2013-10-29 11:45:37.000000000 -0400 ++++ bin86-0.16.20/as/assemble.c 2013-12-09 18:43:45.018184693 -0500 +@@ -325,12 +325,14 @@ + /* We handle "rep[ne]" refix as separate instruction; check if it's valid */ + if (prevop == 0xF2 && (opcode&0xF6) != 0xA6) /* REPNE CMPS/SCAS */ + error (REPNE_STRING); ++#if 0 + if (prevop == 0xF3 && !((opcode&0xFC) == 0x6C || /* REP INS/OUTS */ + (opcode&0xFC) == 0xA4 || /* REP MOVS/CMPS */ + (opcode&0xFC) == 0xAC || /* REP SCAS/LODS */ + (opcode&0xFE) == 0xAA)) /* REP STOS */ + error (REP_STRING); + #endif ++#endif + routine = rout_table[symptr->value_reg_or_op.op.routine]; + getsym(); + (*routine)(); diff --git a/sys-devel/bin86/metadata.xml b/sys-devel/bin86/metadata.xml new file mode 100644 index 000000000000..746b4d9abbe8 --- /dev/null +++ b/sys-devel/bin86/metadata.xml @@ -0,0 +1,9 @@ + + + + base-system + + -- cgit v1.2.3-65-gdbad