summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2012-05-24 04:21:31 +0000
committerJeremy Olexa <darkside@gentoo.org>2012-05-24 04:21:31 +0000
commit158a2d9a69e1fd3c684529506f5b2a7a43cf33e5 (patch)
tree0aa33c65e8860e936d6280710fe7849873fc48d9 /sys-apps
parentInherit user for enewuser/etc... (diff)
downloadhistorical-158a2d9a69e1fd3c684529506f5b2a7a43cf33e5.tar.gz
historical-158a2d9a69e1fd3c684529506f5b2a7a43cf33e5.tar.bz2
historical-158a2d9a69e1fd3c684529506f5b2a7a43cf33e5.zip
remove old versions
Package-Manager: portage-2.1.10.62/cvs/Linux x86_64
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/baselayout-prefix/ChangeLog6
-rw-r--r--sys-apps/baselayout-prefix/Manifest10
-rw-r--r--sys-apps/baselayout-prefix/baselayout-prefix-1.12.5-r10.ebuild215
-rw-r--r--sys-apps/baselayout-prefix/baselayout-prefix-1.12.5-r9.ebuild186
4 files changed, 8 insertions, 409 deletions
diff --git a/sys-apps/baselayout-prefix/ChangeLog b/sys-apps/baselayout-prefix/ChangeLog
index 815aa446b24d..8ec922bb7bd1 100644
--- a/sys-apps/baselayout-prefix/ChangeLog
+++ b/sys-apps/baselayout-prefix/ChangeLog
@@ -1,6 +1,10 @@
# 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.17 2012/05/24 04:14:39 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout-prefix/ChangeLog,v 1.18 2012/05/24 04:19:13 darkside Exp $
+
+ 24 May 2012; Jeremy Olexa <darkside@gentoo.org>
+ -baselayout-prefix-1.12.5-r9.ebuild, -baselayout-prefix-1.12.5-r10.ebuild:
+ remove old versions
24 May 2012; Mike Frysinger <vapier@gentoo.org>
baselayout-prefix-1.12.14.ebuild, baselayout-prefix-1.12.5-r10.ebuild,
diff --git a/sys-apps/baselayout-prefix/Manifest b/sys-apps/baselayout-prefix/Manifest
index 0b5a65460e35..08a67b8613be 100644
--- a/sys-apps/baselayout-prefix/Manifest
+++ b/sys-apps/baselayout-prefix/Manifest
@@ -15,13 +15,9 @@ AUX baselayout-1.12.5-prefix.patch 14807 RMD160 5be4ca65ee754d1c95bb00c488ddd5a7
AUX baselayout-1.12.5-solaris.patch 1860 RMD160 92f3ab1b092c0a81b924dfe90312311d3502a2b0 SHA1 4170e03100a24bfb821cf61c0e2fcdaeb77dda0d SHA256 2d2f304af9e975507793dbe6ff1a360317bef1758ac0b601dffbfad69ec2d93b
AUX baselayout-1.12.5-strsep.patch 778 RMD160 8447c3a7908bfbd3c3385e2b521f6c042d78a8aa SHA1 122611f8badb4432f41dad47b4a5e75e39c7de9b SHA256 81b1dbaeef76e8c394f2c2c61407dd5ede20dc0ab682be206163eda30b743fe9
AUX baselayout-1.12.5-termios_h.patch 893 RMD160 398140de16da1b2fb874ef00f1caaa6c828372f4 SHA1 b3debc214fe8edbf734611990901018e32ea289b SHA256 60b4251ebce7488b415686178a0eae207adf18240f80523dbc0b4bc70a53ae99
-DIST baselayout-1.12.5-gnulib-2.tar.bz2 118355 RMD160 b8ffd7fb21f709e82e268358cff229cdde81df97 SHA1 23b06d800c0381e9dc124b270b53ace665730288 SHA256 ca279cbca8a0b39aa247e5ce56eadc3e2dba557cf5765be7a1971ffe12953900
-DIST baselayout-1.12.5.tar.bz2 220693 RMD160 85f03fe3b0ff0521ec4226a1b6788575052923b7 SHA1 39ef351ceec1238cbf27d7b9671f244ccf5cca33 SHA256 4ab5512f35c547549b0406221ed92c71a5a86a11044f1d9f0d87f7ec44d39817
DIST baselayout-prefix-1.12.14.1709.tar.bz2 461562 RMD160 d11ff408a30941a33809537e7dc43810362b77fa SHA1 9a492e3e31efe47799b58a0f78139bb5b07ce82d SHA256 ca1eec028b7ec72f1e3196f71eafd564062d9b677569698fe41ac5f817c9379e
DIST baselayout-prefix-1.12.5.1701.tar.bz2 412843 RMD160 ccad4b88bfc00f84fe0837c82e5e21d121f1f106 SHA1 99261aeae6a286be1584bec912052d79860aaf98 SHA256 452ee800e37c65d9c44e77130f0ea9f082e05df2f9a673523fe2e03170fa3099
-EBUILD baselayout-prefix-1.12.14.ebuild 5385 RMD160 a749661a10bbdb7dba13b75ab714d008249d6622 SHA1 266d417889219905739b60848cbcc1bc039e99d4 SHA256 080fed23aeadbcef79f354cd9673712fac8e6a4244edcbdea1a8f331cc960eba
-EBUILD baselayout-prefix-1.12.5-r10.ebuild 6789 RMD160 a27f52b56de5989e7539bdd59bb7739625b91e33 SHA1 85ef33d7aa018ca6811bff9269ea45cdc78a7b54 SHA256 e2f61467f809fbfb6394399d052c82d9196c5a7b515381cc2aaa2a7c6869eb35
-EBUILD baselayout-prefix-1.12.5-r11.ebuild 5257 RMD160 cab1eea723cbd9a8a6e6e4efe863d099e59f25b9 SHA1 13f02152d6380170c5408364901e3f79d3aedb20 SHA256 7ff460c1e18522e469e91b8b207eb2e9eedfda80c4b77457354caf063a63342f
-EBUILD baselayout-prefix-1.12.5-r9.ebuild 6090 RMD160 5d2efafb4b0c98ce481ec337b22fbcd904dbefb4 SHA1 3e33dd1b8b431993218fb47fa2d3435c2113db06 SHA256 a4a125e509269b58323b275a6eb29056a9a95ac6502f02a2104529f4e4fbc4e1
-MISC ChangeLog 7847 RMD160 9880f7f885c9b4aa76b79e15ca15792729c46718 SHA1 31a25ae4a42f302e1c55ba296c50b7ad49077187 SHA256 8fb022241cc91d432369f323ec99ac18dbcb60f1983d05b58bb6aadbcfa7ec1b
+EBUILD baselayout-prefix-1.12.14.ebuild 5389 RMD160 f470ee0b9b0d493941591ca3b1a780971c934809 SHA1 a23f809a6de1e02facdf709a879ff6afcadcfc5b SHA256 083974adb065d0205f588ebcab5013bf379cecce17b31a86a198edd7d8177658
+EBUILD baselayout-prefix-1.12.5-r11.ebuild 5261 RMD160 2d499256ee5d6d2fdec12938f1164d18166de107 SHA1 e590eeec647916a57362a0407d563f67dbc90dc7 SHA256 0c646a03af85f78ed81fee96050621e1f5b09e3e2155c69bb883fcf6b9d8346d
+MISC ChangeLog 8389 RMD160 fc5593c400d6622ffb1856bffa40172b8c49555b SHA1 e9b5a7e21519072f974a624c9c6e08f459a897e0 SHA256 78f1831ab1e6f87491d274477d52bc1f6c59a7333e12c705c5f4dd93228ebe6b
MISC metadata.xml 296 RMD160 ddaf5bd02a55ac77bbaa810f7a02c000b3f69339 SHA1 c7bc61d05afd2ca9b23c42adb6a3fda56d81f79b SHA256 99687144efc36586c7f5aa897107c38c9efff985ac77e6e555d9f5f9ff0490ff
diff --git a/sys-apps/baselayout-prefix/baselayout-prefix-1.12.5-r10.ebuild b/sys-apps/baselayout-prefix/baselayout-prefix-1.12.5-r10.ebuild
deleted file mode 100644
index 04b789dde205..000000000000
--- a/sys-apps/baselayout-prefix/baselayout-prefix-1.12.5-r10.ebuild
+++ /dev/null
@@ -1,215 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout-prefix/baselayout-prefix-1.12.5-r10.ebuild,v 1.3 2012/05/24 04:14:39 vapier Exp $
-
-EAPI=3
-
-inherit eutils toolchain-funcs multilib prefix flag-o-matic autotools user
-
-# Needed gnulib modules:
-# getopt strndup strsep
-# Avoid depending on dev-libs/gnulib, might be missing during bootstrap.
-# The gnulib tarball has been created using these commands (basically),
-# from dev-libs/gnulib-2009.03.03.14.07.45-r1:
-# $ gnulib-tool --create-testdir --dir=gnulib getopt strndup strsep
-# $ ./configure
-# $ make maintainer-clean
-GNULIBV=2
-
-DESCRIPTION="Minimal baselayout for Gentoo Prefix installs"
-HOMEPAGE="http://www.gentoo.org/"
-SRC_URI="
- http://dev.gentoo.org/~grobian/distfiles/${P/-prefix/}.tar.bz2
- http://dev.gentoo.org/~haubi/distfiles/${P/-prefix/}-gnulib-${GNULIBV}.tar.bz2
-"
-
-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="prefix-chaining"
-DEPEND=">=sys-apps/portage-2.2.01"
-RDEPEND=">=sys-libs/readline-5.0-r1
- >=app-shells/bash-3.1_p7
- >=sys-apps/coreutils-5.2.1
- kernel_Darwin? ( sys-process/pidof-bsd )
- kernel_FreeBSD? ( sys-process/pidof-bsd )"
-
-S=${WORKDIR}/${P/-prefix}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P/-prefix/}-prefix.patch
-
- if use prefix-chaining; then
- epatch "${FILESDIR}"/${P/-prefix/}-prefix-chaining.patch
- epatch "${FILESDIR}"/${P/-prefix/}-prefix-chaining-pkgconfig.patch
- epatch "${FILESDIR}"/${P/-prefix/}-prefix-chaining-recursion.patch
- epatch "${FILESDIR}"/${P/-prefix/}-prefix-chaining-eprefix.patch
- epatch "${FILESDIR}"/${P/-prefix/}-prefix-chaining-prompt.patch
- epatch "${FILESDIR}"/${P/-prefix/}-prefix-chaining-bash.patch
-
- # need to set the PKG_CONFIG_PATH globally for this prefix, when
- # chaining is enabled, since pkg-config may not be installed locally,
- # but still .pc files should be found for all RDEPENDable prefixes in
- # the chain.
- echo "PKG_CONFIG_PATH=\"${EPREFIX}/usr/lib/pkgconfig:${EPREFIX}/usr/share/pkgconfig\"" >> "${S}"/etc/env.d/00basic
- fi
-
- epatch "${FILESDIR}"/${P/-prefix/}-prefix-src.patch
- epatch "${FILESDIR}"/${P/-prefix/}-prefix-sh.patch
- # Next patch is to be applied on systems that don't have a pidof.
- epatch "${FILESDIR}"/${P/-prefix/}-prefix-pidof.patch
-
- epatch "${FILESDIR}"/${P/-prefix/}-termios_h.patch # required by aix.patch
- epatch "${FILESDIR}"/${P/-prefix/}-aix.patch
- epatch "${FILESDIR}"/${P/-prefix/}-darwin-kvm.patch
- epatch "${FILESDIR}"/${P/-prefix/}-solaris.patch
- epatch "${FILESDIR}"/${P/-prefix/}-gnulib.patch
-
- # The consoletype application in this form will only work on Linux
- [[ ${CHOST} == *-linux-* ]] || epatch "${FILESDIR}"/${P/-prefix/}-prefix-no-consoletype.patch
-
- cd "${S}"
- eprefixify \
- etc/env.d/00basic \
- etc/profile \
- sbin/env-update.sh \
- sbin/functions.sh \
- sbin/runscript.sh \
- src/runscript.c \
- sbin/depscan.sh \
- sbin/rc-daemon.sh \
- sbin/rc-services.sh
- # add the host OS MANPATH
- echo 'MANPATH="/usr/share/man"' > etc/env.d/99basic || die "can't make file"
-
- # need to include gnulib's <config.h> first
- sed -i -e '1i#include <config.h>' $(find . -name '*.c') || die "Cannot utilize gnulib"
-
- # prepare gnulib
- cd "${WORKDIR}"/gnulib || die
- eautoreconf
-}
-
-src_configure() {
- cd "${WORKDIR}"/gnulib || die
- default
-}
-
-src_compile() {
- # build gnulib first
- cd "${WORKDIR}"/gnulib || die
- emake || die "Cannot build gnulib"
- cd "${S}"
-
- # use gnulib
- append-flags -I"${WORKDIR}"/gnulib -I"${WORKDIR}"/gnulib/gllib
- append-ldflags -L"${WORKDIR}"/gnulib/gllib
- append-libs gnu
-
- local libdir="lib"
-
- [[ ${SYMLINK_LIB} == "yes" ]] && libdir=$(get_abi_LIBDIR "${DEFAULT_ABI}")
-
- make -C "${S}"/src \
- CC="$(tc-getCC)" \
- LD="$(tc-getCC) ${LDFLAGS}" \
- CFLAGS="${CFLAGS}" \
- LIBDIR="${libdir}" || die
-}
-
-src_install() {
- local dir libdirs libdirs_env rcscripts_dir
-
- dodir /etc
- dodir /etc/env.d
- dodir /etc/init.d # .keep file might mess up init.d stuff
-
- libdirs=$(get_all_libdirs)
- : ${libdirs:=lib} # it isn't that we don't trust multilib.eclass...
-
- rcscripts_dir="/lib/rcscripts"
-
- for dir in ${libdirs}; do
- libdirs_env=${libdirs_env:+$libdirs_env:}/${dir}:/usr/${dir}:/usr/local/${dir}
- [[ ${dir} == "lib" && ${SYMLINK_LIB} == "yes" ]] && continue
- dodir /"${dir}"
- dodir /usr/"${dir}"
- dodir /usr/local/"${dir}"
- done
-
- # Ugly compatibility with stupid ebuilds and old profiles symlinks
- if [[ ${SYMLINK_LIB} == "yes" ]] ; then
- rm -r "${ED}"/{lib,usr/lib,usr/local/lib} &> /dev/null
- dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) /lib
- dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) /usr/lib
- dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) /usr/local/lib
- fi
-
- # FHS compatibility symlinks stuff
- dosym /var/tmp /usr/tmp
-
- # rc-scripts version for testing of features that *should* be present
- echo "Gentoo Prefix Base System version ${PV}" > ${ED}/etc/gentoo-release
-
- # get the basic stuff in there
- doenvd "${S}"/etc/env.d/* || die "doenvd"
-
- # copy the profile
- cp "${S}"/etc/profile "${ED}"/etc/profile
-
- # Setup files in /sbin
- #
- cd "${S}"/sbin
- into /
- # These moved from /etc/init.d/ to /sbin to help newb systems
- # from breaking
- dosbin runscript.sh functions.sh
-
- # Compat symlinks between /etc/init.d and /sbin
- # (some stuff have hardcoded paths)
- dosym ../../sbin/depscan.sh /etc/init.d/depscan.sh
- dosym ../../sbin/runscript.sh /etc/init.d/runscript.sh
- dosym ../../sbin/functions.sh /etc/init.d/functions.sh
-
- cd "${S}"/sbin
- into /
- dosbin depscan.sh
- dosbin env-update.sh
- insinto ${rcscripts_dir}/awk
- doins "${S}"/src/awk/functions.awk
-
- #
- # Install baselayout utilities
- #
- local libdir="lib"
- [[ ${SYMLINK_LIB} == "yes" ]] && libdir=$(get_abi_LIBDIR "${DEFAULT_ABI}")
-
- cd "${S}"/src
- make DESTDIR="${ED}" LIBDIR="${libdir}" install || die
-
- insinto ${rcscripts_dir}/sh
- doins "${S}"/sbin/rc-*
-}
-
-pkg_postinst() {
- if [[ ${EUID} == 0 ]] ; then
- # setup portage user, such that things that require root privs
- # don't fail, bug #321623
- enewgroup portage 250
- enewuser portage 250 -1 "${EPREFIX}"/var/tmp/portage portage
- fi
-
- # This is also written in src_install (so it's in CONTENTS), but
- # write it here so that the new version is immediately in the file
- # (without waiting for the user to do etc-update)
- rm -f "${EROOT}"/etc/._cfg????_gentoo-release
- echo "Gentoo Prefix Base System version ${PV}" > "${EROOT}"/etc/gentoo-release
-
- echo
- einfo "Please be sure to update all pending '._cfg*' files in /etc,"
- einfo "else things might break! You can use 'etc-update'"
- einfo "to accomplish this:"
- einfo
- einfo " # etc-update"
- echo
-}
diff --git a/sys-apps/baselayout-prefix/baselayout-prefix-1.12.5-r9.ebuild b/sys-apps/baselayout-prefix/baselayout-prefix-1.12.5-r9.ebuild
deleted file mode 100644
index 8ca24e34081a..000000000000
--- a/sys-apps/baselayout-prefix/baselayout-prefix-1.12.5-r9.ebuild
+++ /dev/null
@@ -1,186 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout-prefix/baselayout-prefix-1.12.5-r9.ebuild,v 1.8 2012/05/24 04:14:39 vapier Exp $
-
-EAPI=3
-
-inherit eutils toolchain-funcs multilib prefix flag-o-matic user
-
-DESCRIPTION="Minimal baselayout for Gentoo Prefix installs"
-HOMEPAGE="http://www.gentoo.org/"
-SRC_URI="http://dev.gentoo.org/~grobian/distfiles/${P/-prefix/}.tar.bz2"
-
-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="prefix-chaining"
-DEPEND=">=sys-apps/portage-2.2.01"
-RDEPEND=">=sys-libs/readline-5.0-r1
- >=app-shells/bash-3.1_p7
- >=sys-apps/coreutils-5.2.1
- ppc-aix? ( dev-libs/gnulib )
- kernel_Darwin? ( sys-process/pidof-bsd )
- kernel_FreeBSD? ( sys-process/pidof-bsd )"
-
-S=${WORKDIR}/${P/-prefix}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P/-prefix/}-prefix.patch
-
- if use prefix-chaining; then
- epatch "${FILESDIR}"/${P/-prefix/}-prefix-chaining.patch
- epatch "${FILESDIR}"/${P/-prefix/}-prefix-chaining-pkgconfig.patch
- epatch "${FILESDIR}"/${P/-prefix/}-prefix-chaining-recursion.patch
- epatch "${FILESDIR}"/${P/-prefix/}-prefix-chaining-eprefix.patch
- epatch "${FILESDIR}"/${P/-prefix/}-prefix-chaining-prompt.patch
- epatch "${FILESDIR}"/${P/-prefix/}-prefix-chaining-bash.patch
-
- # need to set the PKG_CONFIG_PATH globally for this prefix, when
- # chaining is enabled, since pkg-config may not be installed locally,
- # but still .pc files should be found for all RDEPENDable prefixes in
- # the chain.
- echo "PKG_CONFIG_PATH=\"${EPREFIX}/usr/lib/pkgconfig:${EPREFIX}/usr/share/pkgconfig\"" >> "${S}"/etc/env.d/00basic
- fi
-
- epatch "${FILESDIR}"/${P/-prefix/}-prefix-src.patch
- epatch "${FILESDIR}"/${P/-prefix/}-prefix-sh.patch
- # Next patch is to be applied on systems that don't have a pidof.
- epatch "${FILESDIR}"/${P/-prefix/}-prefix-pidof.patch
-
- epatch "${FILESDIR}"/${P/-prefix/}-termios_h.patch # required by aix.patch
- epatch "${FILESDIR}"/${P/-prefix/}-aix.patch
- epatch "${FILESDIR}"/${P/-prefix/}-darwin-kvm.patch
- epatch "${FILESDIR}"/${P/-prefix/}-solaris.patch
- epatch "${FILESDIR}"/${P/-prefix/}-strsep.patch # for solaris
-
- # The consoletype application in this form will only work on Linux
- [[ ${CHOST} == *-linux-* ]] || epatch "${FILESDIR}"/${P/-prefix/}-prefix-no-consoletype.patch
-
- cd "${S}"
- eprefixify \
- etc/env.d/00basic \
- etc/profile \
- sbin/env-update.sh \
- sbin/functions.sh \
- sbin/runscript.sh \
- src/runscript.c \
- sbin/depscan.sh \
- sbin/rc-daemon.sh \
- sbin/rc-services.sh
- # add the host OS MANPATH
- echo 'MANPATH="/usr/share/man"' > etc/env.d/99basic || die "can't make file"
-}
-
-src_compile() {
- local libdir="lib"
-
- [[ ${SYMLINK_LIB} == "yes" ]] && libdir=$(get_abi_LIBDIR "${DEFAULT_ABI}")
-
- if [[ ${CHOST} == *-aix* ]]; then
- append-flags -I"${EPREFIX}"/usr/$(get_libdir)/gnulib/include
- append-ldflags -L"${EPREFIX}"/usr/$(get_libdir)/gnulib/lib
- append-ldflags -lgnu # no LIBS makefile variable
- fi
- make -C "${S}"/src \
- CC="$(tc-getCC)" \
- LD="$(tc-getCC) ${LDFLAGS}" \
- CFLAGS="${CFLAGS}" \
- LIBDIR="${libdir}" || die
-}
-
-src_install() {
- local dir libdirs libdirs_env rcscripts_dir
-
- dodir /etc
- dodir /etc/env.d
- dodir /etc/init.d # .keep file might mess up init.d stuff
-
- libdirs=$(get_all_libdirs)
- : ${libdirs:=lib} # it isn't that we don't trust multilib.eclass...
-
- rcscripts_dir="/lib/rcscripts"
-
- for dir in ${libdirs}; do
- libdirs_env=${libdirs_env:+$libdirs_env:}/${dir}:/usr/${dir}:/usr/local/${dir}
- [[ ${dir} == "lib" && ${SYMLINK_LIB} == "yes" ]] && continue
- dodir /"${dir}"
- dodir /usr/"${dir}"
- dodir /usr/local/"${dir}"
- done
-
- # Ugly compatibility with stupid ebuilds and old profiles symlinks
- if [[ ${SYMLINK_LIB} == "yes" ]] ; then
- rm -r "${ED}"/{lib,usr/lib,usr/local/lib} &> /dev/null
- dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) /lib
- dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) /usr/lib
- dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) /usr/local/lib
- fi
-
- # FHS compatibility symlinks stuff
- dosym /var/tmp /usr/tmp
-
- # rc-scripts version for testing of features that *should* be present
- echo "Gentoo Prefix Base System version ${PV}" > ${ED}/etc/gentoo-release
-
- # get the basic stuff in there
- doenvd "${S}"/etc/env.d/* || die "doenvd"
-
- # copy the profile
- cp "${S}"/etc/profile "${ED}"/etc/profile
-
- # Setup files in /sbin
- #
- cd "${S}"/sbin
- into /
- # These moved from /etc/init.d/ to /sbin to help newb systems
- # from breaking
- dosbin runscript.sh functions.sh
-
- # Compat symlinks between /etc/init.d and /sbin
- # (some stuff have hardcoded paths)
- dosym ../../sbin/depscan.sh /etc/init.d/depscan.sh
- dosym ../../sbin/runscript.sh /etc/init.d/runscript.sh
- dosym ../../sbin/functions.sh /etc/init.d/functions.sh
-
- cd "${S}"/sbin
- into /
- dosbin depscan.sh
- dosbin env-update.sh
- insinto ${rcscripts_dir}/awk
- doins "${S}"/src/awk/functions.awk
-
- #
- # Install baselayout utilities
- #
- local libdir="lib"
- [[ ${SYMLINK_LIB} == "yes" ]] && libdir=$(get_abi_LIBDIR "${DEFAULT_ABI}")
-
- cd "${S}"/src
- make DESTDIR="${ED}" LIBDIR="${libdir}" install || die
-
- insinto ${rcscripts_dir}/sh
- doins "${S}"/sbin/rc-*
-}
-
-pkg_postinst() {
- if [[ ${EUID} == 0 ]] ; then
- # setup portage user, such that things that require root privs
- # don't fail, bug #321623
- enewgroup portage 250
- enewuser portage 250 -1 "${EPREFIX}"/var/tmp/portage portage
- fi
-
- # This is also written in src_install (so it's in CONTENTS), but
- # write it here so that the new version is immediately in the file
- # (without waiting for the user to do etc-update)
- rm -f "${EROOT}"/etc/._cfg????_gentoo-release
- echo "Gentoo Prefix Base System version ${PV}" > "${EROOT}"/etc/gentoo-release
-
- echo
- einfo "Please be sure to update all pending '._cfg*' files in /etc,"
- einfo "else things might break! You can use 'etc-update'"
- einfo "to accomplish this:"
- einfo
- einfo " # etc-update"
- echo
-}