2.0.53_rc1 release
authorJason Stubbs <jstubbs@gentoo.org>
Sat, 1 Oct 2005 12:01:32 +0000 (12:01 +0000)
committerJason Stubbs <jstubbs@gentoo.org>
Sat, 1 Oct 2005 12:01:32 +0000 (12:01 +0000)
Package-Manager: portage-1.524.2.76-cvs

sys-apps/portage/Manifest
sys-apps/portage/files/digest-portage-2.0.53_rc1 [new file with mode: 0644]
sys-apps/portage/portage-2.0.53_rc1.ebuild [new file with mode: 0644]

index 608332df5687b5b3d89d08aa8c915ec99490f5b2..ebd700dd29c0ae10ba7c1b14281a4cf3f57c1491 100644 (file)
@@ -1,24 +1,26 @@
 -----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
+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 953dd0c76cd59b3c4d1a32c568e5c9e6 portage-2.0.53_rc1.ebuild 3586
+MD5 7c109f64a1b96c1134ac490d0233fa3b portage-2.1.0_alpha20050718.ebuild 2566
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFDINAPxvWNPsk/ZP4RAs1jAJ0VgkrUNI45hm9mTpYsKPtODA2/cQCgjh/F
-5AeM8aOXvScHqy2FxH0phHo=
-=MAKm
+iD8DBQFDPnrKxvWNPsk/ZP4RAka/AKCd7insqwQZ/B9/tQvX83wPdTagGgCeLBSj
+fHMnDC22W6LhVDD4XcaNe4c=
+=EHgP
 -----END PGP SIGNATURE-----
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 (file)
index 0000000..29badf3
--- /dev/null
@@ -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 (file)
index 0000000..67527ca
--- /dev/null
@@ -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
+}