public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-boot/netboot/files/, profiles/, sys-boot/netboot/
@ 2023-05-31 15:49 Conrad Kostecki
  0 siblings, 0 replies; only message in thread
From: Conrad Kostecki @ 2023-05-31 15:49 UTC (permalink / raw
  To: gentoo-commits

commit:     5779f0a6d063f2afe597ee6e86cae330a1894dab
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Wed May 31 15:48:11 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed May 31 15:48:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5779f0a6

sys-boot/netboot: last-rite package

Closes: https://bugs.gentoo.org/884335
Closes: https://bugs.gentoo.org/894128
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 profiles/package.mask                              |  6 --
 sys-boot/netboot/Manifest                          |  1 -
 .../files/netboot-0.10.2-configure-clang16.patch   | 37 ----------
 .../netboot/files/netboot-0.10.2-ldflags.patch     | 38 ----------
 .../netboot/files/netboot-0.10.2-slibtool.patch    | 11 ---
 sys-boot/netboot/metadata.xml                      | 20 -----
 sys-boot/netboot/netboot-0.10.2-r4.ebuild          | 85 ----------------------
 7 files changed, 198 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index 4fd6fe04cebf..76c7c0059aaa 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -238,12 +238,6 @@ net-dns/ldns-utils
 # 7a1e8a90fa8a09a84741dc8ef5f774d92ae8433c
 acct-group/resin
 
-# Conrad Kostecki <conikost@gentoo.org> (2023-04-23)
-# Very old package, does not build with modern compilers.
-# It provides BOOTP support, predecessor of DHCP.
-# Removal on 2023-05-23. Bugs #894128, #884335
-sys-boot/netboot
-
 # Jakov Smolić <jsmolic@gentoo.org> (2023-04-21)
 # Does not support python 3.11, uses deprecated dev-python/future,
 # inactive upstream (last commit in 2019).

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
-}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-31 15:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-31 15:49 [gentoo-commits] repo/gentoo:master commit in: sys-boot/netboot/files/, profiles/, sys-boot/netboot/ Conrad Kostecki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox