Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/elilo/
Date: Thu, 22 Jul 2021 17:54:09
Message-Id: 1626976444.ea20d42dcc165f590ed1d6a5a380f8b460f37f2a.slyfox@gentoo
1 commit: ea20d42dcc165f590ed1d6a5a380f8b460f37f2a
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 22 17:53:59 2021 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 22 17:54:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea20d42d
7
8 sys-boot/elilo: drop old
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 sys-boot/elilo/elilo-3.16-r4.ebuild | 94 -------------------------------------
14 1 file changed, 94 deletions(-)
15
16 diff --git a/sys-boot/elilo/elilo-3.16-r4.ebuild b/sys-boot/elilo/elilo-3.16-r4.ebuild
17 deleted file mode 100644
18 index 8a796f6bd91..00000000000
19 --- a/sys-boot/elilo/elilo-3.16-r4.ebuild
20 +++ /dev/null
21 @@ -1,94 +0,0 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -
27 -inherit toolchain-funcs multilib
28 -
29 -DESCRIPTION="Linux boot loader for EFI-based systems such as IA-64"
30 -HOMEPAGE="https://sourceforge.net/projects/elilo/"
31 -SRC_URI="mirror://sourceforge/elilo/${P}-all.tar.gz
32 - mirror://debian/pool/main/e/elilo/elilo_3.14-3.debian.tar.gz"
33 -
34 -LICENSE="GPL-2"
35 -SLOT="0"
36 -KEYWORDS="~amd64 ~ia64 ~x86"
37 -IUSE=""
38 -
39 -# gnu-efi contains only static libs, so there's no run-time dep on it
40 -DEPEND=">=sys-boot/gnu-efi-3.0g
41 - dev-util/patchutils"
42 -# dosfstools[compat] to enable 'dosfsck' symlink
43 -RDEPEND="sys-boot/efibootmgr
44 - sys-fs/dosfstools[compat]"
45 -
46 -S="${WORKDIR}/${P}-source"
47 -
48 -PATCHES=(
49 - "${FILESDIR}"/${PN}-3.16-elilo-loop.patch #299665
50 - "${FILESDIR}"/${PN}-3.16-gnu-efi-3.0.6-ia64.patch
51 - "${FILESDIR}"/${PN}-3.16-strncpy-clash.patch
52 - "${FILESDIR}"/${PN}-3.16-FLAGS.patch
53 - "${FILESDIR}"/${PN}-3.16-ARCH.patch
54 -)
55 -
56 -src_unpack() {
57 - unpack ${A} ./${P}-source.tar.gz
58 - mv debian "${S}"/ || die
59 -}
60 -
61 -src_prepare() {
62 - default
63 -
64 - case $(tc-arch) in
65 - ia64) iarch=ia64 ;;
66 - x86) iarch=ia32 ;;
67 - amd64) iarch=x86_64 ;;
68 - *) die "unknown architecture: $(tc-arch)" ;;
69 - esac
70 -
71 - # Now Gentooize it.
72 - sed -i \
73 - -e '1s:/bin/sh:/bin/bash:' \
74 - -e "s:##VERSION##:${PV}:" \
75 - -e 's:Debian GNU/:Gentoo :g' \
76 - -e 's:Debian:Gentoo:g' \
77 - -e 's:debian:gentoo:g' \
78 - -e "s:dpkg --print-architecture:echo ${iarch}:" \
79 - debian/elilo.sh || die
80 -}
81 -
82 -src_compile() {
83 - # "prefix" on the next line specifies where to find gcc, as, ld,
84 - # etc. It's not the usual meaning of "prefix". By blanking it we
85 - # allow PATH to be searched.
86 - local libdir="${SYSROOT}${EPREFIX}/usr/$(get_libdir)"
87 - emake -j1 \
88 - prefix= \
89 - AS="$(tc-getAS)" \
90 - CC="$(tc-getCC)" \
91 - LD="$(tc-getLD)" \
92 - OBJCOPY="$(tc-getOBJCOPY)" \
93 - HOSTARCH=${iarch} \
94 - ARCH=${iarch} \
95 - EFIINC="${SYSROOT}${EPREFIX}/usr/include/efi" \
96 - GNUEFILIB="${libdir}" \
97 - EFILIB="${libdir}" \
98 - EFICRT0="${libdir}" \
99 - NATIVE_CFLAGS="${CFLAGS}" \
100 - NATIVE_LDFLAGS="${LDFLAGS}"
101 -}
102 -
103 -src_install() {
104 - exeinto /usr/lib/elilo
105 - doexe elilo.efi
106 -
107 - newsbin debian/elilo.sh elilo
108 - dosbin tools/eliloalt
109 -
110 - insinto /etc
111 - newins "${FILESDIR}"/elilo.conf.sample elilo.conf
112 -
113 - dodoc docs/* "${FILESDIR}"/elilo.conf.sample
114 - doman debian/*.[0-9]
115 -}