From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3D1041581E7 for ; Sun, 28 Apr 2024 07:05:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B000E2A11; Sun, 28 Apr 2024 07:05:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 341E3E2A11 for ; Sun, 28 Apr 2024 07:05:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7298533BF39 for ; Sun, 28 Apr 2024 07:05:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 14BE715EC for ; Sun, 28 Apr 2024 07:05:26 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1714287913.f8677fea6f7f00e4807b0f9467eefe45ec6caedd.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/mbr/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-boot/mbr/mbr-1.1.11-r2.ebuild X-VCS-Directories: sys-boot/mbr/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: f8677fea6f7f00e4807b0f9467eefe45ec6caedd X-VCS-Branch: master Date: Sun, 28 Apr 2024 07:05:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 87f12ddd-2883-4518-8194-bd5164b2f9b6 X-Archives-Hash: f0049c5016c8f0d27480b979a14aa4b9 commit: f8677fea6f7f00e4807b0f9467eefe45ec6caedd Author: Arthur Zamarin gentoo org> AuthorDate: Sun Apr 28 06:51:01 2024 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sun Apr 28 07:05:13 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8677fea sys-boot/mbr: EAPI 6 -> 8 Signed-off-by: Arthur Zamarin gentoo.org> sys-boot/mbr/mbr-1.1.11-r2.ebuild | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/sys-boot/mbr/mbr-1.1.11-r2.ebuild b/sys-boot/mbr/mbr-1.1.11-r2.ebuild new file mode 100644 index 000000000000..82f8be0ffca3 --- /dev/null +++ b/sys-boot/mbr/mbr-1.1.11-r2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A replacement master boot record for IBM-PC compatible computers" +HOMEPAGE="https://www.chiark.greenend.org.uk/~neilt/mbr/" +SRC_URI="https://www.chiark.greenend.org.uk/~neilt/mbr/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="sys-devel/bin86" +BDEPEND="test? ( dev-vcs/rcs )" + +src_prepare() { + # do not treat warnings as errors + sed -i -e "s: -Werror::" {,harness/}Makefile.{in,am} || die + default +} + +src_install() { + dosbin install-mbr + doman install-mbr.8 + dodoc AUTHORS ChangeLog install-mbr.8 NEWS README TODO +} + +pkg_postinst() { + elog "To install the MBR, run /sbin/install-mbr" +}