* [gentoo-commits] gentoo-x86 commit in sys-apps/baselayout-prefix: baselayout-prefix-2.2.ebuild ChangeLog
@ 2013-01-10 12:06 Fabian Groffen (grobian)
0 siblings, 0 replies; only message in thread
From: Fabian Groffen (grobian) @ 2013-01-10 12:06 UTC (permalink / raw
To: gentoo-commits
grobian 13/01/10 12:06:18
Modified: ChangeLog
Added: baselayout-prefix-2.2.ebuild
Log:
Version bump. Takes libeinfo and einfo from forked OpenRC, takes profile from baselayout-2.2.
(Portage version: 2.2.01.21476-prefix/cvs/Darwin i386, signed Manifest commit with key 0x5F75F607C5C74E89)
Revision Changes Path
1.21 sys-apps/baselayout-prefix/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/baselayout-prefix/ChangeLog?rev=1.21&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/baselayout-prefix/ChangeLog?rev=1.21&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/baselayout-prefix/ChangeLog?r1=1.20&r2=1.21
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/baselayout-prefix/ChangeLog,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- ChangeLog 11 Aug 2012 10:19:18 -0000 1.20
+++ ChangeLog 10 Jan 2013 12:06:18 -0000 1.21
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/baselayout-prefix
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout-prefix/ChangeLog,v 1.20 2012/08/11 10:19:18 heroxbd Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout-prefix/ChangeLog,v 1.21 2013/01/10 12:06:18 grobian Exp $
+
+*baselayout-prefix-2.2 (10 Jan 2013)
+
+ 10 Jan 2013; Fabian Groffen <grobian@gentoo.org>
+ +baselayout-prefix-2.2.ebuild:
+ Version bump. Takes libeinfo and einfo from forked OpenRC, takes profile from
+ baselayout-2.2.
11 Aug 2012; Benda Xu <heroxbd@gentoo.org>
baselayout-prefix-1.12.14-r1.ebuild:
@@ -211,4 +218,3 @@
12 May 2005; Joseph Jezak <josejx@gentoo.org> +metadata.xml,
+baselayout-darwin-1.11.11.ebuild:
Initial commit.
-
1.1 sys-apps/baselayout-prefix/baselayout-prefix-2.2.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/baselayout-prefix/baselayout-prefix-2.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/baselayout-prefix/baselayout-prefix-2.2.ebuild?rev=1.1&content-type=text/plain
Index: baselayout-prefix-2.2.ebuild
===================================================================
# 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.ebuild,v 1.1 2013/01/10 12:06:18 grobian Exp $
EAPI=3
inherit eutils multilib
MY_P=${P/-prefix/} # just use "upstream" sources
EINFO=einfo-1.0
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="~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_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
[[ -d "${ROOT}"/usr/share/man ]] && \
echo 'MANPATH="/usr/share/man"' > "${ED}"/etc/env.d/99basic || die
# 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
}
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
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-01-10 18:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-10 12:06 [gentoo-commits] gentoo-x86 commit in sys-apps/baselayout-prefix: baselayout-prefix-2.2.ebuild ChangeLog Fabian Groffen (grobian)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox