diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-09-27 08:07:24 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-09-27 08:08:06 +0200 |
commit | 14ea1f1ee576a707a0dc3a9e5615124a305c7762 (patch) | |
tree | 6b69e9ee37d979a3232f36f705f1023d4b37fbc4 /dev-embedded | |
parent | dev-embedded/scratchbox-devkit-apt-https: Remove last-rited pkg (diff) | |
download | gentoo-14ea1f1ee576a707a0dc3a9e5615124a305c7762.tar.gz gentoo-14ea1f1ee576a707a0dc3a9e5615124a305c7762.tar.bz2 gentoo-14ea1f1ee576a707a0dc3a9e5615124a305c7762.zip |
dev-embedded/scratchbox: Remove last-rited pkg
Closes: https://bugs.gentoo.org/681168
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/scratchbox/Manifest | 4 | ||||
-rw-r--r-- | dev-embedded/scratchbox/files/scratchbox.rc | 23 | ||||
-rw-r--r-- | dev-embedded/scratchbox/metadata.xml | 8 | ||||
-rw-r--r-- | dev-embedded/scratchbox/scratchbox-1.0.19.ebuild | 104 | ||||
-rw-r--r-- | dev-embedded/scratchbox/scratchbox-1.0.20.ebuild | 104 |
5 files changed, 0 insertions, 243 deletions
diff --git a/dev-embedded/scratchbox/Manifest b/dev-embedded/scratchbox/Manifest deleted file mode 100644 index 8e9c07a94278..000000000000 --- a/dev-embedded/scratchbox/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST scratchbox-core-1.0.19-i386.tar.gz 51524069 BLAKE2B 0e50c204a104b2f860481170c6236664f8654c45ac256bdfa919fa88d2c49e44e45f3b5835cee6726f4b0192f3a951ea258f8bd90b20bb93a2b7e366f58d88a1 SHA512 870fa53d569fae238e4c9680ce7b61ee3f35a264ba03bb2e57e5501312826883a75c55c989f554afab24c7fa3362139f7ad9ad109019afaaa6968d88e4d4b3c0 -DIST scratchbox-core-1.0.20-i386.tar.gz 51829189 BLAKE2B d077c32c2af1f90d4d49205a89ce3eb6d8bb8bb7de55c690c36fefbffd9354296bd47740b4a289212dbe35a9fabe7a1f0f8f8293170a260d2593a319d59d9442 SHA512 a5c99d426458d38458978082db58efd74755e54294ef41dbbd811daf758573e568a84360641d61bd8d30f368e50a088b976369a1c2af543f00026f388366587d -DIST scratchbox-libs-1.0.19-i386.tar.gz 14368380 BLAKE2B cd81dfc13b1f8ad57b8ebcc078a7d8233d593fa1ca35ce6692a01cec10c726131be49ce7bd7bea0fc09d0c4f9f774a5078a4de9e850108ce72dedcecdb3fc146 SHA512 d246c4c2c502c93ad0a73b91b3db177bfb4f6952aa85068bc0561a25567cce0e355539446af51d4aaf27c8cc168050a1ca27e5c937ce9d2e14b9db3fad0977bb -DIST scratchbox-libs-1.0.20-i386.tar.gz 14369499 BLAKE2B 48bb560dc4f0b06c1e51eed2f48a8037213fa3eaae310110821cc03094cda83f7998fde89ee138ccb743218c87ff1bccfa072eecbd4781cf247a9fb14b93e341 SHA512 2be9d23e80827d80bbaaf3da940d50b8f09e24ee9e7e12accd33c8b95aca927e66a6d3bc69e47a7c49efa3f9c7cdfa37aed45303eeee46958f1ae85aed02fc2b diff --git a/dev-embedded/scratchbox/files/scratchbox.rc b/dev-embedded/scratchbox/files/scratchbox.rc deleted file mode 100644 index 4e69793ccb64..000000000000 --- a/dev-embedded/scratchbox/files/scratchbox.rc +++ /dev/null @@ -1,23 +0,0 @@ -#!/sbin/openrc-run - -depend() { - need localmount - use logger net -} - -start() { - test -x /opt/scratchbox/sbin/sbox_ctl || \ - eend 1 "scratchbox init script not found. Aborting" || return 1 - - /opt/scratchbox/sbin/sbox_ctl start - return $? -} - -stop() { - test -x /opt/scratchbox/sbin/sbox_ctl || \ - eend 1 "scratchbox init script not found. Aborting" || return 1 - - /opt/scratchbox/sbin/sbox_ctl stop - return $? -} - diff --git a/dev-embedded/scratchbox/metadata.xml b/dev-embedded/scratchbox/metadata.xml deleted file mode 100644 index 71b1461e1146..000000000000 --- a/dev-embedded/scratchbox/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>embedded@gentoo.org</email> - <name>Embedded Gentoo</name> -</maintainer> -</pkgmetadata> diff --git a/dev-embedded/scratchbox/scratchbox-1.0.19.ebuild b/dev-embedded/scratchbox/scratchbox-1.0.19.ebuild deleted file mode 100644 index d763fc05189d..000000000000 --- a/dev-embedded/scratchbox/scratchbox-1.0.19.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit eutils user - -SBOX_GROUP="sbox" - -DESCRIPTION="A cross-compilation toolkit for embedded Linux application development" -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." -} diff --git a/dev-embedded/scratchbox/scratchbox-1.0.20.ebuild b/dev-embedded/scratchbox/scratchbox-1.0.20.ebuild deleted file mode 100644 index d763fc05189d..000000000000 --- a/dev-embedded/scratchbox/scratchbox-1.0.20.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit eutils user - -SBOX_GROUP="sbox" - -DESCRIPTION="A cross-compilation toolkit for embedded Linux application development" -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." -} |