diff options
Diffstat (limited to 'sys-boot/netboot')
-rw-r--r-- | sys-boot/netboot/Manifest | 6 | ||||
-rw-r--r-- | sys-boot/netboot/files/netboot-0.10.2-ldflags.patch | 38 | ||||
-rw-r--r-- | sys-boot/netboot/metadata.xml | 8 | ||||
-rw-r--r-- | sys-boot/netboot/netboot-0.10.2.ebuild | 50 |
4 files changed, 102 insertions, 0 deletions
diff --git a/sys-boot/netboot/Manifest b/sys-boot/netboot/Manifest new file mode 100644 index 000000000000..124d1af264a2 --- /dev/null +++ b/sys-boot/netboot/Manifest @@ -0,0 +1,6 @@ +AUX netboot-0.10.2-ldflags.patch 1208 SHA256 8868c285afe83d138736df4a8d6bd574abbe65e1ee2b5aa792ed3ada9f232790 SHA512 ab96af0ddd9956c293cf1088597b543e312bb10f535b26e379692dd94b14a34f56d9ee71c1c82e6946702d69f1665a92acff42afe4d0036d56f28c533f8f1bd3 WHIRLPOOL df48c13adbe0d85a5b7dbde80fcaecb5312e2551f95a2aa7c5c8656f4afe92f5235621f44626bab882916ae2612c8b73d10c664f83e176fc9d9cbae0a2925003 +DIST netboot-0.10.2.tar.gz 1457791 SHA256 e07148b0c396fa8c2c542399b79a6adaafa84684b97c0991fd1dacc7f74a8027 SHA512 422e78833c36e9975a77226523e14ebf8b5af5c02e98628ee030459ebf9f26d020551265899e84ea27bf6ab43c4d9bf8edc6722f942f49103bac897c7cc4fa3e WHIRLPOOL db28598558f9e4f9d949d049624318d9105c128e3743aecd9666b1c9d02cb3f61ebb0b1fd3a220bf577cbca6e61ee5716aec3d1b868d5b1c0fc0eb97a4c600b2 +EBUILD netboot-0.10.2.ebuild 1116 SHA256 a8272799ac1882e84aedc7c8aad812159875914467f6dc1b1597a8530d3d7b81 SHA512 13c6c05c03f5878a7f883bd5140182495b154bcc66b3125d769f751e90ecba83e56cb851f364c0c06b6e2d7618057b3a8fcbb499af108b20deb5ecddece312b2 WHIRLPOOL 8e17123a87d0afe7297bcf672f44500e28e6aac362d75bfbed62098e10d5031d9e7597723a94cbad89d88955af5745c46210ee8d9eaa33cd66a321c81b031961 +MISC ChangeLog 2561 SHA256 1db6a610563d24613d915c78b9459996233e84db35cb9c55baaa0f770ceb2df5 SHA512 5e1820ff9b1bcf3e89fd8eaf24a48883293caeb74273892df99dad842fcdb483bf78296865a27764e4b4e543d163ca6195f9e69bb50c7be1b367fd49164270fe WHIRLPOOL 6b27e8cbd79cdd839f88bd3db1769d22b2c28fc3f4e33b7c1cf2199d5e0cd2526925f617dc81047d9d49c3c157441c591619bf4af1fa4a357c8dcf4ea12f62b6 +MISC ChangeLog-2015 1486 SHA256 707590ca80210bb31b9088a4cd703042d469169f58f856d222fbbbc7fd90c5ad SHA512 cdcb5b26268b68f14947b338cc90cf0eb8696ea1ea3a0c2c51b56d9f7dd8390546cab03b2132b398d0d6701baeb859c354f29b8273d19a214d0a262575026cd4 WHIRLPOOL b33c37e0bf2b0fb03e4eaad90eeb9a1950713d8e622c760e3b531244c816a7657d84b472d2da5b6008d4feb88a838a2df94588fcd6fb30a75955c11f8fa6c67e +MISC metadata.xml 244 SHA256 d048d64f213e678b2916354fe3b56216cf941e4d53afb55c024cf6da56fec442 SHA512 fad9a4d73b1f625842d6ee8f3db1cadd4db9c32cd8c67b4caf8b3825ff5305b80a7319e2912c7113468bbb43751b102d3dce4df195b4d6c8db1de8fa2523cf52 WHIRLPOOL 61184a5d05974a26f9ae3a61b845cabd2aa43fc01da7c6cfaab7b4ebbc2d743265855a923be56a9dae6510d45b618ea104f367f2574db2aa53d1d505982a53b7 diff --git a/sys-boot/netboot/files/netboot-0.10.2-ldflags.patch b/sys-boot/netboot/files/netboot-0.10.2-ldflags.patch new file mode 100644 index 000000000000..2cb245076d90 --- /dev/null +++ b/sys-boot/netboot/files/netboot-0.10.2-ldflags.patch @@ -0,0 +1,38 @@ +--- 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/metadata.xml b/sys-boot/netboot/metadata.xml new file mode 100644 index 000000000000..7fcd5c3e9ed2 --- /dev/null +++ b/sys-boot/netboot/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="sourceforge">netboot</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-boot/netboot/netboot-0.10.2.ebuild b/sys-boot/netboot/netboot-0.10.2.ebuild new file mode 100644 index 000000000000..861a4089eb28 --- /dev/null +++ b/sys-boot/netboot/netboot-0.10.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +inherit eutils toolchain-funcs + +DESCRIPTION="netbooting utility" +HOMEPAGE="http://netboot.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +DEPEND=">=dev-libs/lzo-2 + >=sys-libs/db-4" +RDEPEND="${DEPEND} + !net-misc/mknbi" + +src_prepare() { + cp -av make.config.in{,.org} + epatch "${FILESDIR}"/${P}-ldflags.patch + find "${S}" -name \*.lo -exec rm {} \; +} + +src_configure() { + econf --enable-bootrom --with-gnu-cc86="$(tc-getCC)" \ + --with-gnu-as86="$(tc-getAS)" --with-gnu-ld86="$(tc-getCC)"|| die 'cannot configure' + # --enable-config-file +} + +src_compile() { + emake -j1 || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc README doc/* + docinto FlashCard + dodoc FlashCard/README FlashCard/*.ps + mv "${D}"/usr/share/misc "${D}"/usr/share/${PN} + rm -rf "${D}"/usr/lib/netboot/utils + + dodoc "${S}"/mknbi-dos/utils/mntnbi.pl + + insinto /usr/share/vim/vimfiles/syntax + doins "${S}"/mknbi-mgl/misc/mgl.vim +} |