app-emulation/xen-pvgrub: drop old version
authorYixun Lan <dlan@gentoo.org>
Thu, 28 Mar 2019 05:43:10 +0000 (13:43 +0800)
committerYixun Lan <dlan@gentoo.org>
Thu, 28 Mar 2019 05:43:16 +0000 (13:43 +0800)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Yixun Lan <dlan@gentoo.org>
app-emulation/xen-pvgrub/Manifest
app-emulation/xen-pvgrub/xen-pvgrub-4.10.2.ebuild [deleted file]

index db8f2563a580263b3e3f57b57233f1cc961abd82..dddb5629e41fcb5cc68c837706c28b6603eebfbd 100644 (file)
@@ -3,7 +3,6 @@ DIST lwip-1.3.0.tar.gz 398933 BLAKE2B 3567a593eec3d247213daaaab57d9456c9cae50329
 DIST newlib-1.16.0.tar.gz 12024353 BLAKE2B 26d3308148fb99baf8ad02eee4cc699cfac690100ea63aaa4be03b86d12dade238478342514bd083cbc3d27964ac42eb8dae3873fdac5ff2c593fc4fb39b2309 SHA512 40eb96bbc6736a16b6399e0cdb73e853d0d90b685c967e77899183446664d64570277a633fdafdefc351b46ce210a99115769a1d9f47ac749d7e82837d4d1ac3
 DIST pciutils-2.2.9.tar.bz2 212265 BLAKE2B 014b664e90c64e7255c9e21fc25a2cc60d57f47ce282fc0331a0481a460b237783bd3774dd0689e1596d4a0be0d2889faad904da01a6f02147464bce1d1b1bc0 SHA512 2b3d98d027e46d8c08037366dde6f0781ca03c610ef2b380984639e4ef39899ed8d8b8e4cd9c9dc54df101279b95879bd66bfd4d04ad07fef41e847ea7ae32b5
 DIST polarssl-1.1.4-gpl.tgz 611340 BLAKE2B 613da06dda9e4b86db5a4d616a0a0afee98c907c3c6b352eed3d9e500fc5739e62eb4f6fc32ff02579c6a6de9bd49fcd2c8bd8b2d158a5050cbaa82118d61ef0 SHA512 88da614e4d3f4409c4fd3bb3e44c7587ba051e3fed4e33d526069a67e8180212e1ea22da984656f50e290049f60ddca65383e5983c0f8884f648d71f698303ad
-DIST xen-4.10.2.tar.gz 24697204 BLAKE2B b331d3ad8d7842446f7d2da5dd31560f636aa1408dd3cc8798dff35b868ef5a609d17e97ef4355e1e5aa825a5abc74103796f9a8015037f0a564ffcebd825722 SHA512 2e301b4d6eb106fcb52203bc1208c8fd1fc7bb5d795166c0f86e4085227050301f7daa6f21db440c47bc2ca2c7f87d9b96753cfdf3fa724e0416b5679b84c163
 DIST xen-4.10.3.tar.gz 24695778 BLAKE2B 50a9e31fb4cf587eeedb357fc710405a1cd4506174a38eb9b032a0cdd9b7f7343d98624ecb07cf605b1403664c7117cdc8f011290309caa18ca9604b4008b906 SHA512 030d23109ce4c0ebf50ade6841d5525a39032bcf8fd0599ccaa9502ff301c1f61f9c5f49233b41a5934a71228958febc1e529a9fc6822ba401a0c18c490ad412
 DIST xen-4.11.1.tar.gz 25152217 BLAKE2B a8dfbeb3d490787725c589e1ce82dcbbcd0be7fb4743b38daf3a8704dffda34d1faabb07d74e01d2fab1572ce0b730c21192469317545e8b3edb3fae1130ef8c SHA512 c1655c5decdaed95a2b9a99652318cfc72f6cfdae957cfe60d635f7787e8850f33e8fafc4c4b8d61fb579c9b9d93028a6382903e71808a0418b931e76d72a649
 DIST xen-4.12.0-rc5.tar.gz 26514850 BLAKE2B 41985dc33175bee8bddc4da0ec3b4da9f8cf3ebe580406011db47a27a8740566c1ace6e906d3385f73fee9b6cd572b0f3292381ac72a696fc15d020eb982ad02 SHA512 3d7fb254503c412a3c37782f7c75d093a1d43553dc110338d8dc00df0c6be4c8825cebf7f0519731e49263cef38d07ef48c18f073926d7eaf30abe64b13c52cb
diff --git a/app-emulation/xen-pvgrub/xen-pvgrub-4.10.2.ebuild b/app-emulation/xen-pvgrub/xen-pvgrub-4.10.2.ebuild
deleted file mode 100644 (file)
index 6309f6f..0000000
+++ /dev/null
@@ -1,163 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE='xml,threads'
-
-inherit flag-o-matic multilib python-single-r1 toolchain-funcs
-
-XEN_EXTFILES_URL="http://xenbits.xensource.com/xen-extfiles"
-LIBPCI_URL=ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
-GRUB_URL=mirror://gnu-alpha/grub
-
-UPSTREAM_VER=
-[[ -n ${UPSTREAM_VER} ]] && \
-       UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-pvgrub/}-upstream-patches-${UPSTREAM_VER}.tar.xz
-               https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${P/-pvgrub/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
-
-SRC_URI="
-               https://downloads.xenproject.org/release/xen/${PV}/xen-${PV}.tar.gz
-               $GRUB_URL/grub-0.97.tar.gz
-               $XEN_EXTFILES_URL/zlib-1.2.3.tar.gz
-               $LIBPCI_URL/pciutils-2.2.9.tar.bz2
-               $XEN_EXTFILES_URL/lwip-1.3.0.tar.gz
-               $XEN_EXTFILES_URL/newlib/newlib-1.16.0.tar.gz
-               $XEN_EXTFILES_URL/polarssl-1.1.4-gpl.tgz
-               ${UPSTREAM_PATCHSET_URI}"
-
-S="${WORKDIR}/xen-${PV}"
-
-DESCRIPTION="allows to boot Xen domU kernels from a menu.lst laying inside guest filesystem"
-HOMEPAGE="https://www.xenproject.org"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="custom-cflags"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="sys-devel/gettext
-       sys-devel/bin86
-       sys-apps/texinfo
-       x11-libs/pixman"
-
-RDEPEND="${PYTHON_DEPS}
-       >=app-emulation/xen-tools-${PV}"
-
-pkg_setup() {
-       python-single-r1_pkg_setup
-}
-
-retar-externals() {
-       # Purely to unclutter src_prepare
-       local set="grub-0.97.tar.gz lwip-1.3.0.tar.gz newlib-1.16.0.tar.gz polarssl-1.1.4-gpl.tgz zlib-1.2.3.tar.gz"
-
-       # eapply can't patch in $WORKDIR, requires a sed; Bug #455194. Patchable, but sed informative
-       sed -e s':AR=${AR-"ar rc"}:AR=${AR-"ar"}:' \
-               -i "${WORKDIR}"/zlib-1.2.3/configure
-       sed -e 's:^AR=ar rc:AR=ar:' \
-               -e s':$(AR) $@:$(AR) rc $@:' \
-               -i "${WORKDIR}"/zlib-1.2.3/{Makefile,Makefile.in}
-       einfo "zlib Makefile edited"
-
-       cd "${WORKDIR}"
-       tar czp zlib-1.2.3 -f zlib-1.2.3.tar.gz
-       tar czp grub-0.97 -f grub-0.97.tar.gz
-       tar czp lwip -f lwip-1.3.0.tar.gz
-       tar czp newlib-1.16.0 -f newlib-1.16.0.tar.gz
-       tar czp polarssl-1.1.4 -f polarssl-1.1.4-gpl.tgz
-       mv $set "${S}"/stubdom/
-       einfo "tarballs moved to source"
-}
-
-src_prepare() {
-       # Upstream's patchset
-       if [[ -n ${UPSTREAM_VER} ]]; then
-               einfo "Try to apply Xen Upstream patch set"
-               EPATCH_SUFFIX="patch" \
-               EPATCH_FORCE="yes" \
-               EPATCH_OPTS="-p1" \
-                       eapply "${WORKDIR}"/patches-upstream
-       fi
-
-       # if the user *really* wants to use their own custom-cflags, let them
-       if use custom-cflags; then
-               einfo "User wants their own CFLAGS - removing defaults"
-               # try and remove all the default custom-cflags
-               find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
-                       -e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-                       -e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-                       -e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-                       -e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-                       -e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-                       -i {} \;
-       fi
-
-       # Patch the unmergeable newlib, fix most of the leftover gcc QA issues
-       cp "${FILESDIR}"/newlib-implicits.patch stubdom || die
-
-       # Patch stubdom/Makefile to patch insource newlib & prevent internal downloading
-       eapply "${FILESDIR}"/${PN/-pvgrub/}-4.10-externals.patch
-
-       # fix jobserver in Makefile
-       eapply "${FILESDIR}"/${PN}-4.8-jserver.patch
-
-       #Substitute for internal downloading. pciutils copied only due to the only .bz2
-       cp "${DISTDIR}"/pciutils-2.2.9.tar.bz2 ./stubdom/ || die "pciutils not copied to stubdom"
-       retar-externals || die "re-tar procedure failed"
-
-       default
-}
-
-src_configure() {
-       local myconf="--prefix=${PREFIX}/usr \
-               --libdir=${PREFIX}/usr/$(get_libdir) \
-               --libexecdir=${PREFIX}/usr/libexec \
-               --disable-werror \
-               --disable-xen"
-
-       econf ${myconf}
-}
-
-src_compile() {
-       use custom-cflags || unset CFLAGS
-       if test-flag-CC -fno-strict-overflow; then
-               append-flags -fno-strict-overflow
-       fi
-
-       emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" -C tools/include
-       emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" -C tools/libs
-
-       if use x86; then
-               emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
-               XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
-       elif use amd64; then
-               emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
-               XEN_TARGET_ARCH="x86_64" -C stubdom pv-grub
-               if has_multilib_profile; then
-                       multilib_toolchain_setup x86
-                       emake CC="$(tc-getCC)" AR="$(tc-getAR)" \
-                       XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
-               fi
-       fi
-}
-
-src_install() {
-       if use x86; then
-               emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
-       fi
-       if use amd64; then
-               emake XEN_TARGET_ARCH="x86_64" DESTDIR="${D}" -C stubdom install-grub
-               if has_multilib_profile; then
-                       emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
-               fi
-       fi
-}
-
-pkg_postinst() {
-       elog "Official Xen Guide and the offical wiki page:"
-       elog "https://wiki.gentoo.org/wiki/Xen"
-       elog "https://wiki.xen.org/wiki/Main_Page"
-}