diff options
author | Jason Stubbs <jstubbs@gentoo.org> | 2005-10-01 12:01:32 +0000 |
---|---|---|
committer | Jason Stubbs <jstubbs@gentoo.org> | 2005-10-01 12:01:32 +0000 |
commit | 6978204588cb052949d3e32efeddcfe4cf342d39 (patch) | |
tree | 5016526b4a1416bcf5d5c38ed1bc4ba0971bd1b3 /sys-apps | |
parent | Fix bug 101336. (diff) | |
download | gentoo-2-6978204588cb052949d3e32efeddcfe4cf342d39.tar.gz gentoo-2-6978204588cb052949d3e32efeddcfe4cf342d39.tar.bz2 gentoo-2-6978204588cb052949d3e32efeddcfe4cf342d39.zip |
2.0.53_rc1 release
(Portage version: 1.524.2.76-cvs)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/portage/Manifest | 26 | ||||
-rw-r--r-- | sys-apps/portage/files/digest-portage-2.0.53_rc1 | 1 | ||||
-rw-r--r-- | sys-apps/portage/portage-2.0.53_rc1.ebuild | 126 |
3 files changed, 136 insertions, 17 deletions
diff --git a/sys-apps/portage/Manifest b/sys-apps/portage/Manifest index 608332df5687..f1b23f66d25c 100644 --- a/sys-apps/portage/Manifest +++ b/sys-apps/portage/Manifest @@ -1,24 +1,16 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -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 fc0f2ec6f18f9744037a47705057b9d1 ChangeLog 1108 -MD5 d84a1f0f9b6dad85ff874923647de011 portage-2.0.52-r1.ebuild 3640 MD5 d5d5b818347fd87b290ecb0b17516b34 files/05portage.envd 34 MD5 f29e1e5ab80c7078b004e60002173ccb files/2.0.51.22-fixes.patch 9339 +MD5 7e8e000ab445e5860a8dae291ea2dfe7 files/2.0.52-fixes.patch 1420 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 -MD5 7e8e000ab445e5860a8dae291ea2dfe7 files/2.0.52-fixes.patch 1420 MD5 635a143e3d0587687c2f43209de5c53e files/digest-portage-2.0.52-r1 67 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDINAPxvWNPsk/ZP4RAs1jAJ0VgkrUNI45hm9mTpYsKPtODA2/cQCgjh/F -5AeM8aOXvScHqy2FxH0phHo= -=MAKm ------END PGP SIGNATURE----- +MD5 c0bbeeb302bc22a9e0e6e91c76526dcc files/digest-portage-2.0.53_rc1 71 +MD5 87eff9b432487777e55298413c33ab4a files/digest-portage-2.1.0_alpha20050718 80 +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 d84a1f0f9b6dad85ff874923647de011 portage-2.0.52-r1.ebuild 3640 +MD5 de937ffc45dc786ea6c20da6bd6334e9 portage-2.0.53_rc1.ebuild 3585 +MD5 7c109f64a1b96c1134ac490d0233fa3b portage-2.1.0_alpha20050718.ebuild 2566 diff --git a/sys-apps/portage/files/digest-portage-2.0.53_rc1 b/sys-apps/portage/files/digest-portage-2.0.53_rc1 new file mode 100644 index 000000000000..29badf3531a6 --- /dev/null +++ b/sys-apps/portage/files/digest-portage-2.0.53_rc1 @@ -0,0 +1 @@ +MD5 518311aa869a280c402c68145eec61ff portage-2.0.53_rc1.tar.bz2 235611 diff --git a/sys-apps/portage/portage-2.0.53_rc1.ebuild b/sys-apps/portage/portage-2.0.53_rc1.ebuild new file mode 100644 index 000000000000..67527ca95fda --- /dev/null +++ b/sys-apps/portage/portage-2.0.53_rc1.ebuild @@ -0,0 +1,126 @@ +# 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.53_rc1.ebuild,v 1.1 2005/10/01 12:01:32 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} +} + +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 +} |