diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2023-05-31 17:48:11 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2023-05-31 17:48:11 +0200 |
commit | 5779f0a6d063f2afe597ee6e86cae330a1894dab (patch) | |
tree | d8b3b02706d3ef7393cd9365181a04e5e1dc1823 /sys-boot | |
parent | net-wireless/unifi: fix install (diff) | |
download | gentoo-5779f0a6d063f2afe597ee6e86cae330a1894dab.tar.gz gentoo-5779f0a6d063f2afe597ee6e86cae330a1894dab.tar.bz2 gentoo-5779f0a6d063f2afe597ee6e86cae330a1894dab.zip |
sys-boot/netboot: last-rite package
Closes: https://bugs.gentoo.org/884335
Closes: https://bugs.gentoo.org/894128
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-boot')
-rw-r--r-- | sys-boot/netboot/Manifest | 1 | ||||
-rw-r--r-- | sys-boot/netboot/files/netboot-0.10.2-configure-clang16.patch | 37 | ||||
-rw-r--r-- | sys-boot/netboot/files/netboot-0.10.2-ldflags.patch | 38 | ||||
-rw-r--r-- | sys-boot/netboot/files/netboot-0.10.2-slibtool.patch | 11 | ||||
-rw-r--r-- | sys-boot/netboot/metadata.xml | 20 | ||||
-rw-r--r-- | sys-boot/netboot/netboot-0.10.2-r4.ebuild | 85 |
6 files changed, 0 insertions, 192 deletions
diff --git a/sys-boot/netboot/Manifest b/sys-boot/netboot/Manifest deleted file mode 100644 index 7ba28c1e5c8b..000000000000 --- a/sys-boot/netboot/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST netboot-0.10.2.tar.gz 1457791 BLAKE2B bd7fbaa1c87990ebac3dfb22f947146b19c199ceb579d32ded9a58bed6bcae34b02a1bf9cf5c079ba389ba24ca6f89fb6b4faf0b3ed028f9fe56b8dc083d8507 SHA512 422e78833c36e9975a77226523e14ebf8b5af5c02e98628ee030459ebf9f26d020551265899e84ea27bf6ab43c4d9bf8edc6722f942f49103bac897c7cc4fa3e diff --git a/sys-boot/netboot/files/netboot-0.10.2-configure-clang16.patch b/sys-boot/netboot/files/netboot-0.10.2-configure-clang16.patch deleted file mode 100644 index 41c13bb634e2..000000000000 --- a/sys-boot/netboot/files/netboot-0.10.2-configure-clang16.patch +++ /dev/null @@ -1,37 +0,0 @@ -https://bugs.gentoo.org/875116 ---- a/configure -+++ b/configure -@@ -10772,6 +10772,7 @@ else - #endif - - #include <stdio.h> -+#include <stdlib.h> - - #ifdef RTLD_GLOBAL - # define LT_DLGLOBAL RTLD_GLOBAL -@@ -25362,7 +25363,7 @@ _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ -- -+#include <stdlib.h> - #pragma pack(1) - struct { - char c[3]; -@@ -25441,7 +25442,7 @@ _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ -- -+#include <stdlib.h> - #pragma options align=packed - struct { - char c[3]; -@@ -27724,6 +27725,7 @@ _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ -+#include <stdlib.h> - - #ifdef USE_PACKED - # define PACKED __attribute__((packed)) diff --git a/sys-boot/netboot/files/netboot-0.10.2-ldflags.patch b/sys-boot/netboot/files/netboot-0.10.2-ldflags.patch deleted file mode 100644 index 2cb245076d90..000000000000 --- a/sys-boot/netboot/files/netboot-0.10.2-ldflags.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- netboot-0.10.2/make.config.in.org 2007-02-01 13:09:18.000000000 +0100 -+++ netboot-0.10.2/make.config.in 2010-02-09 00:34:15.000000000 +0100 -@@ -105,7 +105,7 @@ - INCLUDE = $(patsubst %,-I%,$(subst :, ,$(VPATH))) - CDEFS = @DEFS@ -DNETBOOT - CFLAGS = @CFLAGS@ $(CDEBUG) $(CDEFS) $(INCLUDE) --LDFLAGS = -s -+LDFLAGS = @LDFLAGS@ - SYSLIBS = @LIBS@ - BDBLIB = @BDBLIB@ - ODBCLIB = @ODBCLIB@ ---- netboot-0.10.2/misc/Makefile.org 2007-02-01 19:42:10.000000000 +0100 -+++ netboot-0.10.2/misc/Makefile 2010-02-09 00:39:21.000000000 +0100 -@@ -76,7 +76,7 @@ - - gccrules: $(LIBTOOL) gccrules.o $(LIBNBA) - @$(LIBTOOL) --mode=link \ -- $(CC) $(CFLAGS) -o gccrules gccrules.o $(LIBS) \ -+ $(CC) $(CFLAGS) $(LDFLAGS) -o gccrules gccrules.o $(LIBS) \ - -no-install - - -@@ -89,13 +89,13 @@ - - gccopt: $(LIBTOOL) gccopt.o $(LIBNBA) - @$(LIBTOOL) --mode=link \ -- $(CC) $(CFLAGS) -o gccopt gccopt.o $(LIBS) \ -+ $(CC) $(CFLAGS) $(LDFLAGS) -o gccopt gccopt.o $(LIBS) \ - -no-install - - - nbmd5: $(LIBTOOL) nbmd5.o $(LIBNBA) - @$(LIBTOOL) --mode=link \ -- $(CC) $(CFLAGS) -o nbmd5 nbmd5.o $(LIBS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o nbmd5 nbmd5.o $(LIBS) - - - instdrv: instdrv.in diff --git a/sys-boot/netboot/files/netboot-0.10.2-slibtool.patch b/sys-boot/netboot/files/netboot-0.10.2-slibtool.patch deleted file mode 100644 index 82b83f9b5888..000000000000 --- a/sys-boot/netboot/files/netboot-0.10.2-slibtool.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/misc/instdrv.in -+++ b/misc/instdrv.in -@@ -296,7 +296,7 @@ - # - test -n "$MD5PROG" || MD5PROG="$DEFAULT_MD5PROG" - case $MD5PROG in -- */libtool*) -+ *libtool*) - # It's OK when calling MD5PROG through libtool - ;; - /*) diff --git a/sys-boot/netboot/metadata.xml b/sys-boot/netboot/metadata.xml deleted file mode 100644 index 8b89cc3f76f1..000000000000 --- a/sys-boot/netboot/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>conikost@gentoo.org</email> - <name>Conrad Kostecki</name> - </maintainer> - <longdescription> - Netboot enables a computer with a compatible CPU to boot without access to a hdd or floppy. - The computer has to be equipped so it can load the operating system over an IP network from a server. - All tools required for this are included in the netboot package. - </longdescription> - <upstream> - <bugs-to>https://sourceforge.net/p/netboot/bugs/</bugs-to> - <remote-id type="sourceforge">netboot</remote-id> - </upstream> - <use> - <flag name="bootrom">Install the bootrom binary for creation of rom files, which can be used for booting via floppy or rom.</flag> - </use> -</pkgmetadata> diff --git a/sys-boot/netboot/netboot-0.10.2-r4.ebuild b/sys-boot/netboot/netboot-0.10.2-r4.ebuild deleted file mode 100644 index 1f2eca9cc44b..000000000000 --- a/sys-boot/netboot/netboot-0.10.2-r4.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Allows to remote boot a computer over an IP network" -HOMEPAGE="http://netboot.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="berkdb +bootrom +lzo odbc static-libs" - -DEPEND=" - berkdb? ( sys-libs/db:= ) - lzo? ( dev-libs/lzo:2= ) - odbc? ( dev-db/unixODBC:= ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - sys-devel/bison - sys-devel/flex -" - -PATCHES=( - "${FILESDIR}/${P}-ldflags.patch" - "${FILESDIR}/${P}-slibtool.patch" - "${FILESDIR}/${P}-configure-clang16.patch" -) - -src_prepare() { - default - - # Don't install support binaries into libdir - sed -e "152s:nblibdir:bindir:" -e "153s:nblibdir:bindir:" -i misc/Makefile || die - - # Don't install perl script into libdir - sed -e 's/nblibdir/nbmiscdir/g' -i mknbi-dos/utils/Makefile || die - - # Don't install vim syntax file, as it will be installed manually - sed -e '/mgl.vim/d' -i mknbi-mgl/Makefile || die -} - -src_configure() { - # Force Bison - unset YACC - # Uses yy_fatal_error - export LEX=flex - - local myeconfargs=( - --datadir="/usr/share/netboot" - $(use_with berkdb berkeley-db) - $(use_enable bootrom) - $(use_with lzo) - $(use_with odbc) - $(use_enable static-libs static) - # Disable compilation of 16-bit assembler files, - # since it's broken on x86 and not supported on x86_64. - --with-gnu-as86="no" - --with-gnu-cc86="no" - --with-gnu-ld86="no" - ) - - econf "${myeconfargs[@]}" -} - -src_compile() { - # mknbi fails with parallel build - emake -j1 -} - -src_install() { - emake DESTDIR="${ED}" install - - insinto /usr/share/vim/vimfiles/syntax - doins "${S}"/mknbi-mgl/misc/mgl.vim - - dodoc README doc/{HISTORY,PROBLEMS,README.*,Spec.doc} - - docinto flashcard - dodoc FlashCard/README FlashCard/*.ps - - find "${D}" -name '*.la' -type f -delete || die -} |