# ChangeLog for dev-embedded/scratchbox-devkit-apt-https
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-devkit-apt-https/ChangeLog,v 1.6 2010/01/18 13:00:54 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-devkit-apt-https/ChangeLog,v 1.7 2010/06/29 17:36:26 ayoy Exp $
+
+*scratchbox-devkit-apt-https-1.0.11 (29 Jun 2010)
+
+ 29 Jun 2010; Dominik Kapusta <ayoy@gentoo.org>
+ +scratchbox-devkit-apt-https-1.0.11.ebuild:
+ Version bump (bug #325659). Thanks to David King <amigadave@amigadave.com>
+ for the new ebuild.
18 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org>
scratchbox-devkit-apt-https-1.0.10.ebuild:
--- /dev/null
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-devkit-apt-https/scratchbox-devkit-apt-https-1.0.11.ebuild,v 1.1 2010/06/29 17:36:26 ayoy Exp $
+
+SBOX_GROUP="sbox"
+
+DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier."
+HOMEPAGE="http://www.scratchbox.org/"
+SRC_URI="http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${P}-i386.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# Stripping BREAKS scratchbox, it runs in a chroot and is pre-stripped when needed (bug #296294)
+RESTRICT="strip"
+
+RDEPEND="=dev-embedded/scratchbox-1.0*"
+DEPEND=""
+
+TARGET_DIR="/opt/scratchbox"
+
+S=${WORKDIR}/scratchbox
+
+src_install() {
+ dodir ${TARGET_DIR}
+ cp -pRP * "${D}/${TARGET_DIR}"
+}
# ChangeLog for dev-embedded/scratchbox-devkit-debian-squeeze
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-devkit-debian-squeeze/ChangeLog,v 1.2 2010/04/24 14:17:35 ayoy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-devkit-debian-squeeze/ChangeLog,v 1.3 2010/06/29 17:37:44 ayoy Exp $
+
+*scratchbox-devkit-debian-squeeze-1.0.4 (29 Jun 2010)
+
+ 29 Jun 2010; Dominik Kapusta <ayoy@gentoo.org>
+ +scratchbox-devkit-debian-squeeze-1.0.4.ebuild:
+ Version bump (bug #325659). Thanks to David King <amigadave@amigadave.com>
+ for the new ebuild.
*scratchbox-devkit-debian-squeeze-1.0.3 (24 Apr 2010)
--- /dev/null
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-devkit-debian-squeeze/scratchbox-devkit-debian-squeeze-1.0.4.ebuild,v 1.1 2010/06/29 17:37:44 ayoy Exp $
+
+DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier."
+HOMEPAGE="http://www.scratchbox.org/"
+SRC_URI="http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${P}-i386.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# Stripping BREAKS scratchbox, it runs in a chroot and is pre-stripped when needed (bug #296294)
+RESTRICT="strip"
+
+DEPEND=""
+RDEPEND="=dev-embedded/scratchbox-1.0*"
+
+TARGET_DIR="/opt/scratchbox"
+
+S=${WORKDIR}/scratchbox
+
+src_install() {
+ dodir ${TARGET_DIR}
+ cp -pRP * "${D}/${TARGET_DIR}"
+}
# ChangeLog for dev-embedded/scratchbox-devkit-debian
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-devkit-debian/ChangeLog,v 1.5 2010/01/18 13:01:29 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-devkit-debian/ChangeLog,v 1.6 2010/06/29 17:37:09 ayoy Exp $
+
+*scratchbox-devkit-debian-1.0.11 (29 Jun 2010)
+
+ 29 Jun 2010; Dominik Kapusta <ayoy@gentoo.org>
+ +scratchbox-devkit-debian-1.0.11.ebuild:
+ Version bump (bug #325659). Thanks to David King <amigadave@amigadave.com>
+ for the new ebuild.
18 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org>
scratchbox-devkit-debian-1.0.10.ebuild:
--- /dev/null
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-devkit-debian/scratchbox-devkit-debian-1.0.11.ebuild,v 1.1 2010/06/29 17:37:09 ayoy Exp $
+
+SBOX_GROUP="sbox"
+
+DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier."
+HOMEPAGE="http://www.scratchbox.org/"
+SRC_URI="http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${P}-i386.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# Stripping BREAKS scratchbox, it runs in a chroot and is pre-stripped when needed (bug #296294)
+RESTRICT="strip"
+
+RDEPEND="=dev-embedded/scratchbox-1.0*"
+DEPEND=""
+
+TARGET_DIR="/opt/scratchbox"
+
+QA_TEXTRELS="opt/scratchbox"
+
+S=${WORKDIR}/scratchbox
+
+src_install() {
+ dodir ${TARGET_DIR}
+ cp -pRP * "${D}/${TARGET_DIR}"
+}
# ChangeLog for dev-embedded/scratchbox-devkit-doctools
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-devkit-doctools/ChangeLog,v 1.7 2010/01/18 13:01:46 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-devkit-doctools/ChangeLog,v 1.8 2010/06/29 17:38:10 ayoy Exp $
+
+*scratchbox-devkit-doctools-1.0.14 (29 Jun 2010)
+
+ 29 Jun 2010; Dominik Kapusta <ayoy@gentoo.org>
+ +scratchbox-devkit-doctools-1.0.14.ebuild:
+ Version bump (bug #325659). Thanks to David King <amigadave@amigadave.com>
+ for the new ebuild.
18 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org>
scratchbox-devkit-doctools-1.0.9.ebuild,
--- /dev/null
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-devkit-doctools/scratchbox-devkit-doctools-1.0.14.ebuild,v 1.1 2010/06/29 17:38:10 ayoy Exp $
+
+SBOX_GROUP="sbox"
+
+DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier."
+HOMEPAGE="http://www.scratchbox.org/"
+SRC_URI="http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${P}-i386.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# Stripping BREAKS scratchbox, it runs in a chroot and is pre-stripped when needed (bug #296294)
+RESTRICT="strip"
+
+RDEPEND="=dev-embedded/scratchbox-1.0*"
+DEPEND=""
+
+TARGET_DIR="/opt/scratchbox"
+
+S=${WORKDIR}/scratchbox
+
+src_install() {
+ dodir ${TARGET_DIR}
+ cp -pRP * "${D}/${TARGET_DIR}"
+}
# ChangeLog for dev-embedded/scratchbox-devkit-git
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-devkit-git/ChangeLog,v 1.5 2010/01/18 13:02:04 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-devkit-git/ChangeLog,v 1.6 2010/06/29 17:38:39 ayoy Exp $
+
+*scratchbox-devkit-git-1.0.2 (29 Jun 2010)
+
+ 29 Jun 2010; Dominik Kapusta <ayoy@gentoo.org>
+ +scratchbox-devkit-git-1.0.2.ebuild:
+ Version bump (bug #325659). Thanks to David King <amigadave@amigadave.com>
+ for the new ebuild.
18 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org>
scratchbox-devkit-git-1.0.1.ebuild:
--- /dev/null
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-devkit-git/scratchbox-devkit-git-1.0.2.ebuild,v 1.1 2010/06/29 17:38:39 ayoy Exp $
+
+SBOX_GROUP="sbox"
+
+DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier."
+HOMEPAGE="http://www.scratchbox.org/"
+SRC_URI="http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${P}-i386.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# Stripping BREAKS scratchbox, it runs in a chroot and is pre-stripped when needed (bug #296294)
+RESTRICT="strip"
+
+RDEPEND="=dev-embedded/scratchbox-1.0*"
+DEPEND=""
+
+TARGET_DIR="/opt/scratchbox"
+
+QA_TEXTRELS="opt/scratchbox"
+
+S=${WORKDIR}/scratchbox
+
+src_install() {
+ dodir ${TARGET_DIR}
+ cp -pRP * "${D}/${TARGET_DIR}"
+}
# ChangeLog for dev-embedded/scratchbox-devkit-perl
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-devkit-perl/ChangeLog,v 1.5 2010/01/18 13:02:39 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-devkit-perl/ChangeLog,v 1.6 2010/06/29 17:39:07 ayoy Exp $
+
+*scratchbox-devkit-perl-1.0.5 (29 Jun 2010)
+
+ 29 Jun 2010; Dominik Kapusta <ayoy@gentoo.org>
+ +scratchbox-devkit-perl-1.0.5.ebuild:
+ Version bump (bug #325659). Thanks to David King <amigadave@amigadave.com>
+ for the new ebuild.
18 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org>
scratchbox-devkit-perl-1.0.4.ebuild:
--- /dev/null
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-devkit-perl/scratchbox-devkit-perl-1.0.5.ebuild,v 1.1 2010/06/29 17:39:07 ayoy Exp $
+
+SBOX_GROUP="sbox"
+
+DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier."
+HOMEPAGE="http://www.scratchbox.org/"
+SRC_URI="http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${P}-i386.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# Stripping BREAKS scratchbox, it runs in a chroot and is pre-stripped when needed (bug #296294)
+RESTRICT="strip"
+
+RDEPEND="=dev-embedded/scratchbox-1.0*"
+DEPEND=""
+
+TARGET_DIR="/opt/scratchbox"
+
+S=${WORKDIR}/scratchbox
+
+src_install() {
+ dodir ${TARGET_DIR}
+ cp -pRP * "${D}/${TARGET_DIR}"
+}
# ChangeLog for dev-embedded/scratchbox-toolchain-cs2007q3-glibc2_5
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-toolchain-cs2007q3-glibc2_5/ChangeLog,v 1.6 2010/04/04 09:19:35 ayoy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-toolchain-cs2007q3-glibc2_5/ChangeLog,v 1.7 2010/06/29 17:39:46 ayoy Exp $
+
+*scratchbox-toolchain-cs2007q3-glibc2_5-1.0.16 (29 Jun 2010)
+
+ 29 Jun 2010; Dominik Kapusta <ayoy@gentoo.org>
+ +scratchbox-toolchain-cs2007q3-glibc2_5-1.0.16.ebuild:
+ Version bump (bug #325659). Thanks to David King <amigadave@amigadave.com>
+ for the new ebuild.
*scratchbox-toolchain-cs2007q3-glibc2_5-1.0.14-r1 (04 Apr 2010)
--- /dev/null
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-toolchain-cs2007q3-glibc2_5/scratchbox-toolchain-cs2007q3-glibc2_5-1.0.16.ebuild,v 1.1 2010/06/29 17:39:46 ayoy Exp $
+
+ARMV=${PV}-2
+I486V=${PV}-1
+
+DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier."
+HOMEPAGE="http://www.scratchbox.org/"
+SRC_URI="http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${PN/_/.}-arm7-${ARMV}-i386.tar.gz
+ http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${PN/_/.}-i486-${I486V}-i386.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# Stripping BREAKS scratchbox, it runs in a chroot and is pre-stripped when needed (bug #296294)
+RESTRICT="strip"
+
+DEPEND=""
+RDEPEND="=dev-embedded/scratchbox-1.0*"
+
+TARGET_DIR="/opt/scratchbox"
+
+S=${WORKDIR}/scratchbox
+
+src_install() {
+ dodir ${TARGET_DIR}
+ cp -pRP * "${D}/${TARGET_DIR}"
+}
# ChangeLog for dev-embedded/scratchbox-toolchain-cs2009q1-eglibc2_8
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-toolchain-cs2009q1-eglibc2_8/ChangeLog,v 1.7 2010/05/05 19:07:50 ayoy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-toolchain-cs2009q1-eglibc2_8/ChangeLog,v 1.8 2010/06/29 17:40:16 ayoy Exp $
+
+*scratchbox-toolchain-cs2009q1-eglibc2_8-1.0.17 (29 Jun 2010)
+
+ 29 Jun 2010; Dominik Kapusta <ayoy@gentoo.org>
+ +scratchbox-toolchain-cs2009q1-eglibc2_8-1.0.17.ebuild:
+ Version bump (bug #325659). Thanks to David King <amigadave@amigadave.com>
+ for the new ebuild.
*scratchbox-toolchain-cs2009q1-eglibc2_8-1.0.15-r1 (05 May 2010)
--- /dev/null
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-toolchain-cs2009q1-eglibc2_8/scratchbox-toolchain-cs2009q1-eglibc2_8-1.0.17.ebuild,v 1.1 2010/06/29 17:40:16 ayoy Exp $
+
+ARMV=${PV}-10
+I486V=${PV}-5
+
+DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier."
+HOMEPAGE="http://www.scratchbox.org/"
+SRC_URI="http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${PN/_/.}-armv7-${ARMV}-i386.tar.gz
+ http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${PN/_/.}-i486-${I486V}-i386.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# Stripping BREAKS scratchbox, it runs in a chroot and is pre-stripped when needed (bug #296294)
+RESTRICT="strip"
+
+DEPEND=""
+RDEPEND="=dev-embedded/scratchbox-1.0*"
+
+TARGET_DIR="/opt/scratchbox"
+
+S=${WORKDIR}/scratchbox
+
+src_install() {
+ dodir ${TARGET_DIR}
+ cp -pRP * "${D}/${TARGET_DIR}"
+}
# ChangeLog for dev-embedded/scratchbox
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox/ChangeLog,v 1.15 2010/01/18 08:56:50 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox/ChangeLog,v 1.16 2010/06/29 17:35:55 ayoy Exp $
+
+*scratchbox-1.0.19 (29 Jun 2010)
+
+ 29 Jun 2010; Dominik Kapusta <ayoy@gentoo.org> +scratchbox-1.0.19.ebuild:
+ Version bump (bug #325659). Thanks to David King <amigadave@amigadave.com>
+ for the new ebuild.
18 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org>
scratchbox-1.0.11.ebuild, scratchbox-1.0.16.ebuild,
--- /dev/null
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox/scratchbox-1.0.19.ebuild,v 1.1 2010/06/29 17:35:55 ayoy Exp $
+
+inherit eutils
+
+SBOX_GROUP="sbox"
+
+DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier."
+HOMEPAGE="http://www.scratchbox.org/"
+SRC_URI="http://scratchbox.org/download/files/sbox-releases/hathor/tarball/scratchbox-core-${PV}-i386.tar.gz
+ http://scratchbox.org/download/files/sbox-releases/hathor/tarball/scratchbox-libs-${PV}-i386.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# Stripping BREAKS scratchbox, it runs in a chroot and is pre-stripped when needed (bug #296294)
+RESTRICT="strip"
+
+DEPEND=""
+RDEPEND=""
+
+TARGET_DIR="/opt/scratchbox"
+
+S=${WORKDIR}/${PN}
+
+src_install() {
+ dodir ${TARGET_DIR}
+ # doins doesn't work with symlinks, getting "file not found" with doins
+ cp -pRP ./* "${D}/${TARGET_DIR}"
+ ln -s opt/scratchbox "${D}/scratchbox"
+
+ # scratchbox service loader
+ newinitd "${FILESDIR}/scratchbox.rc" scratchbox || die "newinitd failed"
+
+ # group already created
+ echo ${SBOX_GROUP} > "${D}/${TARGET_DIR}/.run_me_first_done"
+}
+
+pkg_preinst() {
+ einfo "Creating group sbox"
+ enewgroup "${SBOX_GROUP}"
+}
+
+pkg_postinst() {
+ "${TARGET_DIR}/sbin/sbox_configure" "no" ${SBOX_GROUP}
+
+ elog
+ elog "You can run:"
+ elog "\"emerge --config =${CATEGORY}/${PF}\""
+ elog "to setup scratchbox users"
+ elog
+ elog "For further documentation about how to setup"
+ elog "scratchbox for your development needs have a look at"
+ elog "http://scratchbox.org/documentation/user/scratchbox-1.0/"
+ elog
+ elog "Also note that when you reboot you should run:"
+ elog "/etc/init.d/scratchbox start"
+ elog "before trying to run scratchbox."
+ elog "You can also add it to the default runlevel:"
+ elog "rc-update add scratchbox default"
+ elog
+ elog "Type /opt/scratchbox/login to start scratchbox."
+ elog
+}
+
+pkg_postrm() {
+ elog
+ elog "To remove all traces of scratchbox you will need to remove the file"
+ elog "/etc/init.d/scratchbox. Don't forget to delete the sbox group."
+ elog
+}
+
+pkg_config() {
+ if [ `id -u` != "0" ]; then
+ ewarn "Must be root to run this"
+ die "not root"
+ fi
+
+ mkdir -p "${TARGET_DIR}/users"
+
+ while true; do
+ einfo "Existing users:"
+ einfo $(ls "${TARGET_DIR}/users")
+ echo
+
+ einfo "Create new user (leaf empty to skip): "
+ read newuser
+ case "$newuser" in
+ "")
+ break;
+ ;;
+ *)
+ einfo "Note: users have to be in the '${SBOX_GROUP}' to be able to login into the scratchbox"
+ "${TARGET_DIR}/sbin/sbox_adduser" ${newuser} || die "sbox_adduser failed"
+ ;;
+ esac
+ done
+
+ einfo "Configuration finished. Make sure you run '/etc/init.d/scratchbox start' before logging in."
+}