diff options
author | Jason Stubbs <jstubbs@gentoo.org> | 2005-09-08 15:47:01 +0000 |
---|---|---|
committer | Jason Stubbs <jstubbs@gentoo.org> | 2005-09-08 15:47:01 +0000 |
commit | 7498af21ed4bee1628fe662a327982919e7714b2 (patch) | |
tree | f45363e98b0f45b9a1f0693bc3dff50996a9abf9 /sys-apps | |
parent | Mark 2.2.7-r1 stable on ia64 (diff) | |
download | gentoo-2-7498af21ed4bee1628fe662a327982919e7714b2.tar.gz gentoo-2-7498af21ed4bee1628fe662a327982919e7714b2.tar.bz2 gentoo-2-7498af21ed4bee1628fe662a327982919e7714b2.zip |
Next in the stable line begins its journey into ~arch
(Portage version: 2.0.52)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/portage/Manifest | 16 | ||||
-rw-r--r-- | sys-apps/portage/files/digest-portage-2.0.52 | 1 | ||||
-rw-r--r-- | sys-apps/portage/metadata.xml | 2 | ||||
-rw-r--r-- | sys-apps/portage/portage-2.0.52.ebuild | 127 |
4 files changed, 133 insertions, 13 deletions
diff --git a/sys-apps/portage/Manifest b/sys-apps/portage/Manifest index 1eb06356f042..ded5965c9834 100644 --- a/sys-apps/portage/Manifest +++ b/sys-apps/portage/Manifest @@ -1,21 +1,13 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 fc0f2ec6f18f9744037a47705057b9d1 ChangeLog 1108 -MD5 c697b628359c7055961817876804f0a6 metadata.xml 221 +MD5 d6b977803745e0eb5416cc1a38467a19 ChangeLog 1251 +MD5 e57748276505fab96a2ab4e64de45366 metadata.xml 220 MD5 8acf56587de4c66daf1cfed2cc8be000 portage-2.0.51.19.ebuild 13221 MD5 a4921b091c6057013549c33f933bfd40 portage-2.0.51.22-r2.ebuild 5708 MD5 7c109f64a1b96c1134ac490d0233fa3b portage-2.1.0_alpha20050718.ebuild 2566 +MD5 d0497458a1bfcba802068939457bcad0 portage-2.0.52.ebuild 3599 MD5 d5d5b818347fd87b290ecb0b17516b34 files/05portage.envd 34 MD5 f29e1e5ab80c7078b004e60002173ccb files/2.0.51.22-fixes.patch 9339 MD5 a754ca9e2eea9f8484bf5f93d339043a files/README.RESCUE 1911 MD5 f8627c17a73d8568e94f92ea15c69360 files/digest-portage-2.0.51.19 70 MD5 159e3519c10187285ab4b0a536b2a1d3 files/digest-portage-2.0.51.22-r2 70 MD5 87eff9b432487777e55298413c33ab4a files/digest-portage-2.1.0_alpha20050718 80 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFDA130EZCkKN40op4RAsvuAKDD2YPygXuoWqDq2Dd9pk3D+DlrqwCcCBAX -1hSGzX14ek5aPIfJMj3FOec= -=NqWt ------END PGP SIGNATURE----- +MD5 635a143e3d0587687c2f43209de5c53e files/digest-portage-2.0.52 67 diff --git a/sys-apps/portage/files/digest-portage-2.0.52 b/sys-apps/portage/files/digest-portage-2.0.52 new file mode 100644 index 000000000000..fc872d3ff32a --- /dev/null +++ b/sys-apps/portage/files/digest-portage-2.0.52 @@ -0,0 +1 @@ +MD5 2ce8c438bfcd2a966ba95da7aa0c1bf5 portage-2.0.52.tar.bz2 242934 diff --git a/sys-apps/portage/metadata.xml b/sys-apps/portage/metadata.xml index d8e587cddf51..e1a1a0a2a499 100644 --- a/sys-apps/portage/metadata.xml +++ b/sys-apps/portage/metadata.xml @@ -2,6 +2,6 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>no-herd</herd> -<maintainer><email>carpaski@gentoo.org</email></maintainer> +<maintainer><email>jstubbs@gentoo.org</email></maintainer> </pkgmetadata> diff --git a/sys-apps/portage/portage-2.0.52.ebuild b/sys-apps/portage/portage-2.0.52.ebuild new file mode 100644 index 000000000000..8f6330f384de --- /dev/null +++ b/sys-apps/portage/portage-2.0.52.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.0.52.ebuild,v 1.1 2005/09/08 15:47:01 jstubbs Exp $ + +inherit toolchain-funcs + +DESCRIPTION="The Portage Package Management System. The primary package management and distribution system for Gentoo." +HOMEPAGE="http://www.gentoo.org/" +SRC_URI="mirror://gentoo/${PN}-${PV}.tar.bz2 http://dev.gentoo.org/~jstubbs/releases/${PN}-${PV}.tar.bz2" +LICENSE="GPL-2" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86" + +SLOT="0" +IUSE="build selinux" +DEPEND=">=dev-lang/python-2.2.1" +RDEPEND="!build? ( >=sys-apps/sed-4.0.5 dev-python/python-fchksum >=dev-lang/python-2.2.1 sys-apps/debianutils >=app-shells/bash-2.05a ) !x86-fbsd? ( !ppc-macos? ( sys-apps/sandbox ) ) selinux? ( >=dev-python/python-selinux-2.15 )" + +S=${WORKDIR}/${PN}-${PV} + + +src_unpack() { + unpack ${A} + cd "${S}" +} + +src_compile() { + python -O -c "import compileall; compileall.compile_dir('${S}/pym')" + + cd "${S}"/src + $(tc-getCC) ${CFLAGS} -o tbz2tool tbz2tool.c + + if ! use ppc-macos; then + cd "${S}"/src/python-missingos + chmod +x setup.py + ./setup.py build || die "Failed to build missingos module" + fi + + if use x86-fbsd; then + cd "${S}"/src/bsd-flags + chmod +x setup.py + ./setup.py build || die "Failed to install bsd-chflags module" + fi +} + +src_install() { + cd "${S}"/cnf + insinto /etc + doins etc-update.conf dispatch-conf.conf make.globals + if [ -f "make.conf.${ARCH}" ]; then + newins make.conf.${ARCH} make.conf.example + else + eerror "" + eerror "Portage does not have an arch-specific configuration for this arch." + eerror "Please notify the arch maintainer about this issue. Using generic." + eerror "" + newins make.conf make.conf.example + fi + + if ! use ppc-macos; then + cd "${S}"/src/python-missingos + ./setup.py install --root ${D} || die "Failed to install missingos module" + fi + + if use x86-fbsd; then + cd "${S}"/src/bsd-flags + ./setup.py install --root ${D} || die "Failed to install bsd-chflags module" + fi + + dodir /usr/lib/portage/bin + exeinto /usr/lib/portage/bin + cd "${S}"/bin + doexe * + doexe "${S}"/src/tbz2tool + dosym newins /usr/lib/portage/bin/donewins + + dodir /usr/lib/portage/pym + insinto /usr/lib/portage/pym + cd "${S}"/pym + doins * + + doman "${S}"/man/*.[0-9] + dodoc "${S}"/ChangeLog + + dodir /usr/bin + for x in ebuild emerge portageq repoman tbz2tool xpak; do + dosym ../lib/portage/bin/${x} /usr/bin/${x} + done + + dodir /usr/sbin + for x in archive-conf dispatch-conf emerge-webrsync env-update etc-update fixpackages quickpkg regenworld; do + dosym ../lib/portage/bin/${x} /usr/sbin/${x} + done + + dodir /etc/portage + keepdir /etc/portage + + doenvd ${FILESDIR}/05portage.envd +} + +pkg_preinst() { + if has livecvsportage ${FEATURES} && [ "${ROOT}" = "/" ]; then + rm -rf ${IMAGE}/usr/lib/portage/pym/* + mv ${IMAGE}/usr/lib/portage/bin/tbz2tool ${T} + rm -rf ${IMAGE}/usr/lib/portage/bin/* + mv ${T}/tbz2tool ${IMAGE}/usr/lib/portage/bin/ + else + rm /usr/lib/portage/pym/*.pyc >& /dev/null + rm /usr/lib/portage/pym/*.pyo >& /dev/null + fi +} + +pkg_postinst() { + local x + + if [ ! -f "${ROOT}/var/lib/portage/world" ] && + [ -f ${ROOT}/var/cache/edb/world ] && + [ ! -h ${ROOT}/var/cache/edb/world ]; then + mv ${ROOT}/var/cache/edb/world ${ROOT}/var/lib/portage/world + ln -s ../../lib/portage/world /var/cache/edb/world + fi + + for x in ${ROOT}etc/._cfg????_make.globals; do + # Overwrite the globals file automatically. + [ -e "${X}" ] && mv -f "${X}" "${ROOT}etc/make.globals" + done +} |