diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
commit | b7ebc951da8800f711142f69d9d958bde67a112d (patch) | |
tree | e318514216845acb8f2e49fff7a5cba4027e9d91 /sys-boot/netboot | |
parent | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff) |
gentoo resync : 28.04.2019
Diffstat (limited to 'sys-boot/netboot')
-rw-r--r-- | sys-boot/netboot/Manifest | 3 | ||||
-rw-r--r-- | sys-boot/netboot/metadata.xml | 18 | ||||
-rw-r--r-- | sys-boot/netboot/netboot-0.10.2-r1.ebuild | 74 |
3 files changed, 93 insertions, 2 deletions
diff --git a/sys-boot/netboot/Manifest b/sys-boot/netboot/Manifest index 3de472080cd5..55bdaee07853 100644 --- a/sys-boot/netboot/Manifest +++ b/sys-boot/netboot/Manifest @@ -1,4 +1,5 @@ AUX netboot-0.10.2-ldflags.patch 1208 BLAKE2B e9b6bbfafbb05341d807bde22c0b54a99e17b8f8370065bd8ba8bb20ebfb3cf3495205fd70397303c8e1abdb485b336710f1d1d7ab8aeef4feb6befba91bfcfe SHA512 ab96af0ddd9956c293cf1088597b543e312bb10f535b26e379692dd94b14a34f56d9ee71c1c82e6946702d69f1665a92acff42afe4d0036d56f28c533f8f1bd3 DIST netboot-0.10.2.tar.gz 1457791 BLAKE2B bd7fbaa1c87990ebac3dfb22f947146b19c199ceb579d32ded9a58bed6bcae34b02a1bf9cf5c079ba389ba24ca6f89fb6b4faf0b3ed028f9fe56b8dc083d8507 SHA512 422e78833c36e9975a77226523e14ebf8b5af5c02e98628ee030459ebf9f26d020551265899e84ea27bf6ab43c4d9bf8edc6722f942f49103bac897c7cc4fa3e +EBUILD netboot-0.10.2-r1.ebuild 1650 BLAKE2B 47566aef05d0679ab869aefec982c9f1e1f60c8f61170561ed0d9dc2a946869e01ea855aa79fc88a72a94df776b07296a2550ebd49bae92233f058fc34c72c34 SHA512 e0ec5ff39d7ad2fde3216657e2f10a5c178570c1f1b899ab1cac8dea0db5560b4bc96a2d95f23fd196c776d9eddf599b3523d2cd64a793ea4d020bc17009af77 EBUILD netboot-0.10.2.ebuild 1116 BLAKE2B 585efcea4dd20dfb07605e41b1dfeb44f81edc8ab2952198258156d18d87a1849c6cf7b6f511eb19353625c6f549d779e72b425ed302535301b0c14c711524d7 SHA512 13c6c05c03f5878a7f883bd5140182495b154bcc66b3125d769f751e90ecba83e56cb851f364c0c06b6e2d7618057b3a8fcbb499af108b20deb5ecddece312b2 -MISC metadata.xml 244 BLAKE2B a6df47dff32404b3f421b4cad7e6e4bd40fe7390ee48f379327c710b09569f46710b21eeeed3a74f2f1aa59c1797c6c766c4cf0a1e2a273aacdfae89c67a987c SHA512 fad9a4d73b1f625842d6ee8f3db1cadd4db9c32cd8c67b4caf8b3825ff5305b80a7319e2912c7113468bbb43751b102d3dce4df195b4d6c8db1de8fa2523cf52 +MISC metadata.xml 960 BLAKE2B f2262581782a9583c19256558cef60be3524fcdf054ccb0a80497bb5c284b7101071ebf258b4ae4f8c26e2085c47fff2b59701a3f25b4b2dbb6a13c545bb1ae3 SHA512 a7df07a46e8bd89d1a32f4def00f91956c63c0452f46b5482b5f26e579f0509f0f4ca736127c9c88bc83c34c9d849bbd3be7992ef57faa766251f63139e7aa22 diff --git a/sys-boot/netboot/metadata.xml b/sys-boot/netboot/metadata.xml index 7fcd5c3e9ed2..51c8a76d3fe5 100644 --- a/sys-boot/netboot/metadata.xml +++ b/sys-boot/netboot/metadata.xml @@ -1,8 +1,24 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person"> + <email>ck+gentoo@bl4ckb0x.de</email> + <name>Conrad Kostecki</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</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-r1.ebuild b/sys-boot/netboot/netboot-0.10.2-r1.ebuild new file mode 100644 index 000000000000..64a626b55466 --- /dev/null +++ b/sys-boot/netboot/netboot-0.10.2-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +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}" + +src_prepare() { + default + + # Respect users LDFLAGS + eapply "${FILESDIR}"/"${P}"-ldflags.patch + + # 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() { + 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) + --with-gnu-as86="$(tc-getAS)" + --with-gnu-cc86="$(tc-getCC)" + --with-gnu-ld86="$(tc-getLD)" + ) + + 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 +} |