diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-11-06 11:31:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-11-06 11:31:00 +0000 |
commit | cdabcd433150ebbfc3593bb6d7b0c571cabf02f5 (patch) | |
tree | 51d8f8d685ae10b02d9ee298c81ee9c3466a75bd | |
parent | bee71a2da14e3761c4df67123f38e9a619fac0b1 (diff) |
kogaion version was merged into baselayout centuries ago, no longer needed, so drop it
5 files changed, 0 insertions, 352 deletions
diff --git a/app-misc/kogaion-version/files/00-sabayon-anti-fork-bomb.conf b/app-misc/kogaion-version/files/00-sabayon-anti-fork-bomb.conf deleted file mode 100644 index 4dcf561f..00000000 --- a/app-misc/kogaion-version/files/00-sabayon-anti-fork-bomb.conf +++ /dev/null @@ -1,20 +0,0 @@ -# 00-sabayon-anti-fork-bomb.conf -# -# This file estabilishes Sabayon Linux default process -# limits to defend the system against malicious or faulty -# code that could potentially make the system unusable by -# spawning an excessive amount of processes. -# -# The root account is not affected by process number -# limitations. This way a root console can always kill any -# offending process, but an offending root process could -# still block the system. -# -# Each line describes a limit for a user in the form: -# -# <domain> <type> <item> <value> - -* soft nproc 1300 -* hard nproc 1800 -root - nproc infinity - diff --git a/app-misc/kogaion-version/kogaion-version-1.2.ebuild b/app-misc/kogaion-version/kogaion-version-1.2.ebuild deleted file mode 100644 index 4b84d47a..00000000 --- a/app-misc/kogaion-version/kogaion-version-1.2.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 2004-2011 Sabayon Linux -# Copyright 2014 Kogaion Linux -# Original Authors Sabayon Team -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit multilib - -DESCRIPTION="Kogaion System Release virtual package" -HOMEPAGE="http://rogentos.ro/" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" - -IUSE="" -DEPEND="" -GCC_VER="4.7" -PYTHON_VER="2.7" -# Listing default packages for the current release -RDEPEND="app-eselect/eselect-python - dev-lang/python:${PYTHON_VER} - sys-apps/systemd - !sys-apps/hal - !sys-auth/consolekit - sys-devel/base-gcc:${GCC_VER} - sys-devel/gcc-config - !app-misc/sabayon-version" - -src_unpack () { - echo "Kogaion Linux ${ARCH} ${PV}" > "${T}/rogentos-release" - echo "Kogaion Linux ${ARCH} ${PV}" > "${T}/kogaion-release" - mkdir -p "${S}" || die -} - -src_install () { - insinto /etc - doins "${T}"/rogentos-release - doins "${T}"/kogaion-release - dosym /etc/rogentos-release /etc/system-release - dosym /etc/kogaion-release /etc/system-release - # Bug 3459 - reduce the risk of fork bombs - insinto /etc/security/limits.d - doins "${FILESDIR}/00-sabayon-anti-fork-bomb.conf" -} - -pkg_postinst() { - # Setup Python ${PYTHON_VER} - eselect python set python${PYTHON_VER} - # No need to set the GCC profile here, since it's done in base-gcc - - # Improve systemd support - if [[ ! -L /etc/mtab ]] && [[ -e /proc/self/mounts ]]; then - rm -f /etc/mtab - einfo "Migrating /etc/mtab to a /proc/self/mounts symlink" - ln -sf /proc/self/mounts /etc/mtab - fi - - # force kdm back to the default runlevel if added to boot - # this is in preparation for the logind migration - local xdm_conf="${ROOT}/etc/conf.d/xdm" - local xdm_boot_runlevel="${ROOT}/etc/runlevels/boot/xdm" - local xdm_default_runlevel="${ROOT}/etc/runlevels/default/xdm" - if [ -e "${xdm_conf}" ] && [ -e "${xdm_boot_runlevel}" ]; then - DISPLAYMANAGER="" - . "${xdm_conf}" - if [ "${DISPLAYMANAGER}" = "kdm" ]; then - elog "Moving xdm (kdm) from boot runlevel to default" - elog "or logind will not work as expected" - mv -f "${xdm_boot_runlevel}" "${xdm_default_runlevel}" - fi - fi - - # remove old hal udev rules.d file, if found. sys-apps/hal is long gone. - rm -f "${ROOT}/lib/udev/rules.d/90-hal.rules" -} diff --git a/app-misc/kogaion-version/kogaion-version-1.3.ebuild b/app-misc/kogaion-version/kogaion-version-1.3.ebuild deleted file mode 100644 index f1416485..00000000 --- a/app-misc/kogaion-version/kogaion-version-1.3.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 2004-2013 Kogaion -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit multilib - -DESCRIPTION="Kogaion system release virtual package" -HOMEPAGE="http://www.rogentos.ro" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" - -IUSE="" -DEPEND="" -GCC_VER="4.8" -PYTHON_VER="2.7" -# Listing default packages for the current release -RDEPEND="!app-admin/eselect-init - !<sys-apps/sysvinit-1000 - !sys-apps/hal - !sys-auth/consolekit - app-eselect/eselect-python - dev-lang/python:${PYTHON_VER} - sys-apps/systemd - sys-apps/systemd-sysv-utils - sys-devel/base-gcc:${GCC_VER} - sys-devel/gcc-config" - -src_unpack () { - echo "Kogaion Linux ${ARCH} ${PV}" > "${T}/kogaion-release" - - # Anaconda expects a "release" somewhere in the string - # and no trailing \n - echo -n "Kogaion ${ARCH} release ${PV}" > "${T}/system-release" - mkdir -p "${S}" || die -} - -src_install () { - insinto /etc - doins "${T}"/kogaion-release - doins "${T}"/system-release - - # Bug 3459 - reduce the risk of fork bombs - insinto /etc/security/limits.d - doins "${FILESDIR}/00-kogaion-anti-fork-bomb.conf" -} - -pkg_postinst() { - # Setup Python ${PYTHON_VER} - eselect python set python${PYTHON_VER} - # No need to set the GCC profile here, since it's done in base-gcc - - # Improve systemd support - if [[ ! -L /etc/mtab ]] && [[ -e /proc/self/mounts ]]; then - rm -f /etc/mtab - einfo "Migrating /etc/mtab to a /proc/self/mounts symlink" - ln -sf /proc/self/mounts /etc/mtab - fi - - # force kdm back to the default runlevel if added to boot - # this is in preparation for the logind migration - local xdm_conf="${ROOT}/etc/conf.d/xdm" - local xdm_boot_runlevel="${ROOT}/etc/runlevels/boot/xdm" - local xdm_default_runlevel="${ROOT}/etc/runlevels/default/xdm" - if [ -e "${xdm_conf}" ] && [ -e "${xdm_boot_runlevel}" ]; then - DISPLAYMANAGER="" - . "${xdm_conf}" - if [ "${DISPLAYMANAGER}" = "kdm" ]; then - elog "Moving xdm (kdm) from boot runlevel to default" - elog "or logind will not work as expected" - mv -f "${xdm_boot_runlevel}" "${xdm_default_runlevel}" - fi - fi - - # remove old hal udev rules.d file, if found. sys-apps/hal is long gone. - rm -f "${ROOT}/lib/udev/rules.d/90-hal.rules" - - # make sure that systemd is correctly linked to /sbin/init - # Drop this in 2015, keep in sync with systemd-sysv-utils - ln -sf ../usr/lib/systemd/systemd "${ROOT}/sbin/init" || true -} diff --git a/app-misc/kogaion-version/kogaion-version-2.ebuild b/app-misc/kogaion-version/kogaion-version-2.ebuild deleted file mode 100644 index 0984766d..00000000 --- a/app-misc/kogaion-version/kogaion-version-2.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 2004-2013 Kogaion -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit multilib - -DESCRIPTION="Kogaion system release virtual package" -HOMEPAGE="http://www.rogentos.ro" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm x86" - -IUSE="" -DEPEND="" -GCC_VER="4.8" -PYTHON_VER="2.7" -# Listing default packages for the current release -RDEPEND="!app-admin/eselect-init - !sys-apps/hal - !sys-auth/consolekit - app-eselect/eselect-python - sys-apps/gentoo-systemd-integration - dev-lang/python:${PYTHON_VER} - sys-apps/systemd - sys-devel/base-gcc:${GCC_VER} - sys-devel/gcc-config" - -src_unpack () { - echo "Kogaion Linux ${ARCH} ${PV}" > "${T}/kogaion-release" - - # Anaconda expects a "release" somewhere in the string - # and no trailing \n - echo -n "Kogaion ${ARCH} release ${PV}" > "${T}/system-release" - mkdir -p "${S}" || die -} - -src_install () { - insinto /etc - doins "${T}"/kogaion-release - doins "${T}"/system-release - - # Bug 3459 - reduce the risk of fork bombs - insinto /etc/security/limits.d - doins "${FILESDIR}/00-sabayon-anti-fork-bomb.conf" -} - -pkg_postinst() { - # Setup Python ${PYTHON_VER} - eselect python set python${PYTHON_VER} - # No need to set the GCC profile here, since it's done in base-gcc - - # Improve systemd support - if [[ ! -L /etc/mtab ]] && [[ -e /proc/self/mounts ]]; then - rm -f /etc/mtab - einfo "Migrating /etc/mtab to a /proc/self/mounts symlink" - ln -sf /proc/self/mounts /etc/mtab - fi - - # force kdm back to the default runlevel if added to boot - # this is in preparation for the logind migration - local xdm_conf="${ROOT}/etc/conf.d/xdm" - local xdm_boot_runlevel="${ROOT}/etc/runlevels/boot/xdm" - local xdm_default_runlevel="${ROOT}/etc/runlevels/default/xdm" - if [ -e "${xdm_conf}" ] && [ -e "${xdm_boot_runlevel}" ]; then - DISPLAYMANAGER="" - . "${xdm_conf}" - if [ "${DISPLAYMANAGER}" = "kdm" ]; then - elog "Moving xdm (kdm) from boot runlevel to default" - elog "or logind will not work as expected" - mv -f "${xdm_boot_runlevel}" "${xdm_default_runlevel}" - fi - fi - - # remove old hal udev rules.d file, if found. sys-apps/hal is long gone. - rm -f "${ROOT}/lib/udev/rules.d/90-hal.rules" - - # make sure that systemd is correctly linked to /sbin/init - # Drop this in 2015, keep in sync with systemd-sysv-utils - ln -sf ../usr/lib/systemd/systemd "${ROOT}/sbin/init" || true -} diff --git a/app-misc/kogaion-version/kogaion-version-3.ebuild b/app-misc/kogaion-version/kogaion-version-3.ebuild deleted file mode 100644 index 0984766d..00000000 --- a/app-misc/kogaion-version/kogaion-version-3.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 2004-2013 Kogaion -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit multilib - -DESCRIPTION="Kogaion system release virtual package" -HOMEPAGE="http://www.rogentos.ro" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm x86" - -IUSE="" -DEPEND="" -GCC_VER="4.8" -PYTHON_VER="2.7" -# Listing default packages for the current release -RDEPEND="!app-admin/eselect-init - !sys-apps/hal - !sys-auth/consolekit - app-eselect/eselect-python - sys-apps/gentoo-systemd-integration - dev-lang/python:${PYTHON_VER} - sys-apps/systemd - sys-devel/base-gcc:${GCC_VER} - sys-devel/gcc-config" - -src_unpack () { - echo "Kogaion Linux ${ARCH} ${PV}" > "${T}/kogaion-release" - - # Anaconda expects a "release" somewhere in the string - # and no trailing \n - echo -n "Kogaion ${ARCH} release ${PV}" > "${T}/system-release" - mkdir -p "${S}" || die -} - -src_install () { - insinto /etc - doins "${T}"/kogaion-release - doins "${T}"/system-release - - # Bug 3459 - reduce the risk of fork bombs - insinto /etc/security/limits.d - doins "${FILESDIR}/00-sabayon-anti-fork-bomb.conf" -} - -pkg_postinst() { - # Setup Python ${PYTHON_VER} - eselect python set python${PYTHON_VER} - # No need to set the GCC profile here, since it's done in base-gcc - - # Improve systemd support - if [[ ! -L /etc/mtab ]] && [[ -e /proc/self/mounts ]]; then - rm -f /etc/mtab - einfo "Migrating /etc/mtab to a /proc/self/mounts symlink" - ln -sf /proc/self/mounts /etc/mtab - fi - - # force kdm back to the default runlevel if added to boot - # this is in preparation for the logind migration - local xdm_conf="${ROOT}/etc/conf.d/xdm" - local xdm_boot_runlevel="${ROOT}/etc/runlevels/boot/xdm" - local xdm_default_runlevel="${ROOT}/etc/runlevels/default/xdm" - if [ -e "${xdm_conf}" ] && [ -e "${xdm_boot_runlevel}" ]; then - DISPLAYMANAGER="" - . "${xdm_conf}" - if [ "${DISPLAYMANAGER}" = "kdm" ]; then - elog "Moving xdm (kdm) from boot runlevel to default" - elog "or logind will not work as expected" - mv -f "${xdm_boot_runlevel}" "${xdm_default_runlevel}" - fi - fi - - # remove old hal udev rules.d file, if found. sys-apps/hal is long gone. - rm -f "${ROOT}/lib/udev/rules.d/90-hal.rules" - - # make sure that systemd is correctly linked to /sbin/init - # Drop this in 2015, keep in sync with systemd-sysv-utils - ln -sf ../usr/lib/systemd/systemd "${ROOT}/sbin/init" || true -} |