From: Michał Górny Date: Fri, 11 Oct 2019 15:15:58 +0000 (+0200) Subject: sys-freebsd/boot0: Remove last-rited pkg X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=785cfa5ce80982fcb0d0d5b3ed097b2efaf0d9a9;p=gentoo.git sys-freebsd/boot0: Remove last-rited pkg Closes: https://bugs.gentoo.org/683284 Signed-off-by: Michał Górny --- diff --git a/profiles/package.mask b/profiles/package.mask index 086f537028d9..568436850f20 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -733,23 +733,6 @@ dev-libs/cgicc # Removal in 30 days. Bug #691264. dev-libs/actor-framework -# Michał Górny (2019-09-11) -# Gentoo/FreeBSD project is effectively dead. The core packages are -# outdated and vulnerable. We do not have a fully working install, -# and I have not been able to find anyone knowing how to create one. -# Leaf packages are failing to build more and more frequently, some -# simply because of our outdated base system. The profiles were marked -# exp two months ago not to stall other developers, core packages are -# masked for at least two months, and nowadays they have unsatisfied -# dependencies already. -# -# If anyone wishes to take the effort over, please consider it urgent. -# If not, I will slowly start removing remaining parts of FreeBSD -# after this batch, and checking which packages can be salvaged. -# -# Removal in 30 days. Bug #683284. -sys-freebsd/boot0 - # Lars Wendler (2019-09-04) # Unofficial build. Superseded by official 2.49.5 release. # Masked for removal. diff --git a/sys-freebsd/boot0/Manifest b/sys-freebsd/boot0/Manifest deleted file mode 100644 index f3dcd89d595d..000000000000 --- a/sys-freebsd/boot0/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST freebsd-src-11.1.tar.xz 147661560 BLAKE2B a9e6ba9d0e12c8b56ac58575d5f02931edbb6a3545d9dccae78810d2d0470a29b29dd7f724b03b8afafbca23717a71346e4cfbd3530e0f40118a23609c3f414e SHA512 b97707ec7a601ca6bcb682c45f6d94a38484301ac24630d7285eff6f88b027ce6900c93fc62f8ce36e0cf32c91f73a9d1c999db397b7f8782fd74a8551a03aca diff --git a/sys-freebsd/boot0/boot0-11.1.ebuild b/sys-freebsd/boot0/boot0-11.1.ebuild deleted file mode 100644 index 6b33a6891f7a..000000000000 --- a/sys-freebsd/boot0/boot0-11.1.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit bsdmk freebsd flag-o-matic toolchain-funcs - -DESCRIPTION="FreeBSD's bootloader" -SLOT="0" - -IUSE="bzip2 ieee1394 tftp zfs" - -# Security Advisory and Errata patches. -# UPSTREAM_PATCHES=() - -if [[ ${PV} != *9999* ]]; then - KEYWORDS="~amd64-fbsd ~x86-fbsd" - SRC_URI="${SRC_URI} - $(freebsd_upstream_patches)" -fi - -EXTRACTONLY=" - sys/ - lib/ - contrib/bzip2/ - contrib/zlib/ -" - -RDEPEND="" -DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}* - =sys-freebsd/freebsd-lib-${RV}*" - -S="${WORKDIR}/sys/boot" - -PATCHES=( "${FILESDIR}/${PN}-11.0-gcc46.patch" - "${FILESDIR}/${PN}-add-nossp-cflags.patch" ) - -boot0_use_enable() { - use ${1} && mymakeopts="${mymakeopts} LOADER_${2}_SUPPORT=\"yes\"" - use ${1} || mymakeopts="${mymakeopts} WITHOUT_${2}= " -} - -pkg_setup() { - boot0_use_enable ieee1394 FIREWIRE - boot0_use_enable zfs ZFS - boot0_use_enable tftp TFTP - boot0_use_enable bzip2 BZIP2 -} - -src_prepare() { - sed -e '/-mno-align-long-strings/d' \ - -i "${S}"/i386/boot2/Makefile \ - -i "${S}"/i386/gptboot/Makefile \ - -i "${S}"/i386/gptzfsboot/Makefile \ - -i "${S}"/i386/zfsboot/Makefile || die - - mymakeopts="${mymakeopts} LOADER_NO_GELI_SUPPORT=yes" - export MAKEOBJDIRPREFIX="${WORKDIR}/build" -} - -src_compile() { - strip-flags - append-flags "-fno-strict-aliasing" - - cd "${WORKDIR}/lib/libstand" || die - freebsd_src_compile - - CFLAGS="${CFLAGS} -I${WORKDIR}/lib/libstand" - LDFLAGS="${LDFLAGS} -L${MAKEOBJDIRPREFIX}/${WORKDIR}/lib/libstand" - export LIBSTAND="${MAKEOBJDIRPREFIX}/${WORKDIR}/lib/libstand/libstand.a" - - cd "${S}" || die - NOFLAGSTRIP="yes" freebsd_src_compile -} - -src_install() { - dodir /boot/defaults - freebsd_src_install FILESDIR=/boot - - cd "${WORKDIR}/sys/$(tc-arch-kernel)/conf" || die - insinto /boot - newins GENERIC.hints device.hints - - echo 'CONFIG_PROTECT="/boot/device.hints"' > "${T}"/50boot0 - doenvd "${T}"/50boot0 -} diff --git a/sys-freebsd/boot0/files/boot0-11.0-gcc46.patch b/sys-freebsd/boot0/files/boot0-11.0-gcc46.patch deleted file mode 100644 index ec17d92b5790..000000000000 --- a/sys-freebsd/boot0/files/boot0-11.0-gcc46.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile -index ead9ad1..af5e021 100644 ---- a/sys/boot/i386/boot2/Makefile -+++ b/sys/boot/i386/boot2/Makefile -@@ -45,6 +45,9 @@ CFLAGS.gcc+= -Os \ - .if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} <= 40201 - CFLAGS.gcc+= -mno-align-long-strings - .endif -+.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 40600 -+CFLAGS.gcc+= -fno-asynchronous-unwind-tables -+.endif - - CFLAGS.clang+= -Oz ${CLANG_OPT_SMALL} - diff --git a/sys-freebsd/boot0/files/boot0-add-nossp-cflags.patch b/sys-freebsd/boot0/files/boot0-add-nossp-cflags.patch deleted file mode 100644 index abc6a57bf4b0..000000000000 --- a/sys-freebsd/boot0/files/boot0-add-nossp-cflags.patch +++ /dev/null @@ -1,11 +0,0 @@ -https://bugs.gentoo.org/show_bug.cgi?id=511698 - -diff --git a/sys/boot/Makefile.inc b/sys/boot/Makefile.inc -index e0039b9..533dea0 100644 ---- a/sys/boot/Makefile.inc -+++ b/sys/boot/Makefile.inc -@@ -1,3 +1,3 @@ - # $FreeBSD: release/10.0.0/sys/boot/Makefile.inc 188895 2009-02-21 15:04:31Z ru $ - --SSP_CFLAGS= -+SSP_CFLAGS= -fno-stack-protector diff --git a/sys-freebsd/boot0/metadata.xml b/sys-freebsd/boot0/metadata.xml deleted file mode 100644 index d9f0c8324191..000000000000 --- a/sys-freebsd/boot0/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - bsd@gentoo.org - BSD Project - - - Enable PXE/TFTP boot support. - Enable booting on ZFS filesystems. - -