diff options
Diffstat (limited to 'sys-apps/baselayout-prefix')
-rw-r--r-- | sys-apps/baselayout-prefix/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/baselayout-prefix/Manifest | 9 | ||||
-rw-r--r-- | sys-apps/baselayout-prefix/baselayout-prefix-2.2-r3.ebuild | 98 |
3 files changed, 110 insertions, 5 deletions
diff --git a/sys-apps/baselayout-prefix/ChangeLog b/sys-apps/baselayout-prefix/ChangeLog index b1e0b72a9ac1..c84e6c33ed21 100644 --- a/sys-apps/baselayout-prefix/ChangeLog +++ b/sys-apps/baselayout-prefix/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/baselayout-prefix # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout-prefix/ChangeLog,v 1.30 2013/10/17 14:35:50 haubi Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout-prefix/ChangeLog,v 1.31 2013/10/22 09:28:31 haubi Exp $ + +*baselayout-prefix-2.2-r3 (22 Oct 2013) + + 22 Oct 2013; Michael Haubenwallner <haubi@gentoo.org> + +baselayout-prefix-2.2-r3.ebuild: + Still need elibtoolize, if only for exotic Prefix platforms. 17 Oct 2013; Michael Haubenwallner <haubi@gentoo.org> baselayout-prefix-2.2-r2.ebuild: diff --git a/sys-apps/baselayout-prefix/Manifest b/sys-apps/baselayout-prefix/Manifest index ac030a04a912..94bdb8ad2cc1 100644 --- a/sys-apps/baselayout-prefix/Manifest +++ b/sys-apps/baselayout-prefix/Manifest @@ -26,12 +26,13 @@ EBUILD baselayout-prefix-1.12.14-r1.ebuild 4405 SHA256 af7f8c7807c7a8f77e3367a8f EBUILD baselayout-prefix-1.12.14.ebuild 5389 SHA256 083974adb065d0205f588ebcab5013bf379cecce17b31a86a198edd7d8177658 SHA512 aea398e212550284dca9a06a4d78e0c72b77910c29fcb3582129635624c3dae2bad87f4ab8a5cd8c93ffa16d39e11fe0d7841b0570777f5569ae5442a4b514b3 WHIRLPOOL 679c3d017891a85cd0ad8fa1c5540355cbb2b0fe3f86ea47dca86f225c4073ca510c44c4b1117c2926d09102b97eaef86d7cd714aec2c8941888e3a5a4411014 EBUILD baselayout-prefix-1.12.5-r11.ebuild 5261 SHA256 0c646a03af85f78ed81fee96050621e1f5b09e3e2155c69bb883fcf6b9d8346d SHA512 ebbfc991734ffbf98ce46c985acda7f8fe0b52218ef35f8e03bbbcfc5f5cb9089badf40c8ecee93dda115956b18965a26729382185a813e138c79d269deae174 WHIRLPOOL 77b94032b729005983296f12bb1e7013db898c9f7e46d6fb89da1aa49b5faa64dbd5adfc71c882650983cc28889d62e34aa992b94612f721a48aebbcf0f06d83 EBUILD baselayout-prefix-2.2-r2.ebuild 3292 SHA256 4abc17cd440365e40ba37b9b005af763c60083428c8296db53a09eccf2fef892 SHA512 132a2e22245c6c9d56a4496b504e0f7ccbf20dddce1a18252e0583cd01cb2e3e31a9a21f66f2336b1f80bf3c3b3a666bb0b64f9e24c5ba7b9faf4001792d8d4b WHIRLPOOL 226111f6d9413935fea8d63b6a3923a73785ed8b081c644dfa39d994a637c0c5d98b2a9719d8420ffe55e112f5e21c6438cb2652761632e6691853e57236a534 -MISC ChangeLog 10413 SHA256 4208812307ad4dc13a0cf6d615a0ffa86da3c84dc8299ad096c975a28671b323 SHA512 968032b9b917877b49e63bca8b5a443a59e3db1b4519f296e78844c81d35a5da74f4fd4532ab57c98f9226d8b9372b620ddd5026041e6e8cebb4ed340f3d7011 WHIRLPOOL 494823923bd6281b044606e364b747471f87fe48a7ea39beef3a36c013859036315ca17962d9909d0b020ef561fe4c3308d8f9cd15c4af37e9e51ff28b328819 +EBUILD baselayout-prefix-2.2-r3.ebuild 3372 SHA256 3ebc648783718ab3e4693474ea71dd2ec5bb525d9b121a877a089d3193277b09 SHA512 c4e428d7d126bceb8ecb0d2a0bfd256a42ff236894bdb4341d5c49e9620216fb471096f60e4cf41642de0510a6de69ed0462c8eda746e7c0f946f15cff0dcf5a WHIRLPOOL 2d5b63a8222408f3929916ca243624cede607b244824bbcd1005d830295db5da160156ec9290231e908ebeaa08052e0a00520d43b6d3cb142720a9eb330b66ac +MISC ChangeLog 10610 SHA256 feb21de371176ea2442df073a44a333c5384fba4cbe8700391f833e33bcde38e SHA512 68f70ffdd024beb11f7aaff82926a436e5a2c5fbf9f6a8be64cbc6809fbfa95f7f1144782dd799163a0155fbbc8ded82d92e29d2810528ede7e46dc7b594386e WHIRLPOOL 0546a1ddd2006adef7885aeb0e2d9989e76a1c0edd8e17d6c387b4ed78ab58892be3b3c6d2c1048877863fcfceb06ffad5c91a4359650c6528159d67fee1b3f9 MISC metadata.xml 296 SHA256 99687144efc36586c7f5aa897107c38c9efff985ac77e6e555d9f5f9ff0490ff SHA512 f81ae448ab1a0c422d6ca54a6611c63742387e13174b8b37ff8a114ad715c75d57fc6d490c9f73a8513f5a810436048d4188ad1def72f686a04c0b277a9d9c61 WHIRLPOOL 4e79826481a9e21662b853a587b3020a8ef9f1fe3a30f25ba83c1983f52b919288eb3f705232e4eeead76f6f1f631b0bc281093a01ba3f97465c098c6c7e97cb -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) -iEYEAREIAAYFAlJf9csACgkQLc0TWKYwzLiuUwCfWWH2tXEUxbCOvWY4Vea7mNlY -+I4An2XRf2fM4ZLwdCamnQNlamsCHJyd -=PYeb +iEYEAREIAAYFAlJmRUMACgkQLc0TWKYwzLjtUwCeOsVITtYvkHDaLQY9GykrMzW+ +mh8AoIMqgrvCuase5zsmRdMH7xDLpBwI +=U88G -----END PGP SIGNATURE----- diff --git a/sys-apps/baselayout-prefix/baselayout-prefix-2.2-r3.ebuild b/sys-apps/baselayout-prefix/baselayout-prefix-2.2-r3.ebuild new file mode 100644 index 000000000000..36f68443757b --- /dev/null +++ b/sys-apps/baselayout-prefix/baselayout-prefix-2.2-r3.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout-prefix/baselayout-prefix-2.2-r3.ebuild,v 1.1 2013/10/22 09:28:31 haubi Exp $ + +EAPI=3 + +inherit eutils multilib libtool + +MY_P=${P/-prefix/} # just use "upstream" sources +EINFO=einfo-1.0.3 +DESCRIPTION="Minimal baselayout and e-functions for Gentoo Prefix installs" +HOMEPAGE="http://www.gentoo.org/" +SRC_URI="mirror://gentoo/${MY_P}.tar.bz2 + http://dev.gentoo.org/~vapier/dist/${MY_P}.tar.bz2 + http://dev.gentoo.org/~grobian/distfiles/${EINFO}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~arm ~arm-linux ~ppc-aix ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="build kernel_linux" + +S=${WORKDIR}/${EINFO} + +pkg_preinst() { + # This is written in src_install (so it's in CONTENTS), but punt all + # pending updates to avoid user having to do etc-update (and make the + # pkg_postinst logic simpler). + rm -f "${EROOT}"/etc/._cfg????_gentoo-release +} + +src_prepare() { + # POSIX specifies <termios.h>, AIX lacks <sys/termios.h> + sed -i -e 's|<sys/termios.h>|<termios.h>|' src/libeinfo/libeinfo.c || die + # exotic platforms still aren't fixed in upstream libtool + elibtoolize +} + +src_configure() { + econf --libexecdir="${EPREFIX}/usr/lib/einfo" +} + +src_install() { + emake DESTDIR="${D}" install || die + + # make functions.sh available in /etc/init.d + # Note: we cannot replace the symlink with a file here, or Portage will + # config-protect it, and etc-update can't handle symlink to file updates + dodir etc/init.d + dosym ../../usr/lib/einfo/sh/functions.sh /etc/init.d/functions.sh + + pushd "${WORKDIR}"/${MY_P} > /dev/null || die + dodir etc + sed \ + -e "/PATH=/!s:/\(etc\|usr/bin\|bin\):\"${EPREFIX}\"/\1:g" \ + -e "/PATH=/s|\([:\"]\)/|\1${EPREFIX}/|g" \ + -e "/PATH=.*\/sbin/s|\"$|:/usr/sbin:/sbin\"|" \ + -e "/PATH=.*\/bin/s|\"$|:/usr/bin:/bin\"|" \ + etc/profile > "${ED}"/etc/profile || die + dodir etc/env.d + sed \ + -e "s:/\(etc/env.d\|opt\|usr\):${EPREFIX}/\1:g" \ + -e "/^PATH=/s|\"$|:${EPREFIX}/usr/sbin:${EPREFIX}/sbin\"|" \ + etc/env.d/00basic > "${ED}"/etc/env.d/00basic || die + dodoc ChangeLog.svn + popd > /dev/null + + # add the host OS MANPATH + if [[ -d "${ROOT}"/usr/share/man ]] ; then + echo 'MANPATH="/usr/share/man"' > "${ED}"/etc/env.d/99basic || die + fi + + # rc-scripts version for testing of features that *should* be present + echo "Gentoo Prefix Base System release ${PV}" > "${ED}"/etc/gentoo-release + + # FHS compatibility symlinks stuff + dosym /var/tmp /usr/tmp + + # add a dummy to avoid Portage shebang errors + dodir sbin + cat > "${ED}"/sbin/runscript <<- EOF + #!/bin/sh + + echo "runscript not supported by Gentoo Prefix Base System release ${PV}" 1>&2 + exit 1 + EOF + chmod 755 "${ED}"/sbin/runscript || die +} + +pkg_postinst() { + # Take care of the etc-update for the user + if [ -e "${EROOT}"/etc/._cfg0000_gentoo-release ] ; then + mv "${EROOT}"/etc/._cfg0000_gentoo-release "${EROOT}"/etc/gentoo-release + fi + + # baselayout leaves behind a lot of .keep files, so let's clean them up + find "${EROOT}"/lib/rcscripts/ -name .keep -exec rm -f {} + 2>/dev/null + find "${EROOT}"/lib/rcscripts/ -depth -type d -exec rmdir {} + 2>/dev/null +} |