summaryrefslogtreecommitdiff
path: root/app-misc/rogentos-version
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/rogentos-version')
-rw-r--r--app-misc/rogentos-version/Manifest2
-rw-r--r--app-misc/rogentos-version/files/00-sabayon-anti-fork-bomb.conf20
-rw-r--r--app-misc/rogentos-version/rogentos-version-1.1.ebuild75
-rw-r--r--app-misc/rogentos-version/rogentos-version-1.ebuild48
4 files changed, 0 insertions, 145 deletions
diff --git a/app-misc/rogentos-version/Manifest b/app-misc/rogentos-version/Manifest
deleted file mode 100644
index dabcf8ff..00000000
--- a/app-misc/rogentos-version/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-AUX 00-sabayon-anti-fork-bomb.conf 690 SHA256 80f397f12a746a73d48d90c010d6176c9e0661fbe118c770f97c165810caeee5 SHA512 da4c0ce2efacb3a420a73fc6ac533d17fef8e338bf6d3e784e52e49f1098504e985d4a24a96b4f67c1ceda45942c592423de3f5699cefd4aa148c23f5414acd3 WHIRLPOOL dc283b03fdd9acf8bb27c2904a40f94ebc5c45f81bd4f46c825fa5e999975d5663c25bf1d8226bb4b9e0c31791295dd75e0ef2ed3ed343defaf21557aba71d19
-EBUILD rogentos-version-1.ebuild 1110 SHA256 76520b13c997d823f3fbead4001794ace9ec962756fd145a5b613165ac5b0d89 SHA512 effab571839d3f6a7c29e0eec3f9e6bc7ea9aeacf85f4781b0ccfe62e13cdb6cd2f0548cc68f41c10cad4f6c37235bfe46334ac3a74e8863c2be24a11a9d718e WHIRLPOOL 5f7a0d29389f3126f512f4b44e894a5e911ee9f51d3175ebb24cf938bdab37ca9d48babe3abf9d34db874e4a58eb8a65cb264ffa572cdb6edeb50a1003f39b31
diff --git a/app-misc/rogentos-version/files/00-sabayon-anti-fork-bomb.conf b/app-misc/rogentos-version/files/00-sabayon-anti-fork-bomb.conf
deleted file mode 100644
index 4dcf561f..00000000
--- a/app-misc/rogentos-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/rogentos-version/rogentos-version-1.1.ebuild b/app-misc/rogentos-version/rogentos-version-1.1.ebuild
deleted file mode 100644
index 2769fbca..00000000
--- a/app-misc/rogentos-version/rogentos-version-1.1.ebuild
+++ /dev/null
@@ -1,75 +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="Rogentos 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"
-
-src_unpack () {
- echo "Kogaion Linux ${ARCH} ${PV}" > "${T}/rogentos-release"
- mkdir -p "${S}" || die
-}
-
-src_install () {
- insinto /etc
- doins "${T}"/rogentos-release
- dosym /etc/rogentos-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/rogentos-version/rogentos-version-1.ebuild b/app-misc/rogentos-version/rogentos-version-1.ebuild
deleted file mode 100644
index a37cc512..00000000
--- a/app-misc/rogentos-version/rogentos-version-1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 2004-2011 Sabayon Linux
-# Copyright 2012 Rogentos Linux
-# Original Authors Sabayon Team
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=3
-
-DESCRIPTION="Rogentos System Release virtual package"
-HOMEPAGE="http://rogentos.ro/"
-SRC_URI=""
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-
-IUSE=""
-DEPEND=""
-RDEPEND="app-eselect/eselect-python
- dev-lang/python:2.7
- sys-devel/base-gcc:4.6
- sys-devel/gcc-config"
-
-ROGENTOS_VER="${PV}"
-ROGENTOS_HEADER="Rogentos Linux"
-ROGENTOS_RELEASE="rogentos-release"
-
-src_unpack () {
- if use x86; then
- echo "${ROGENTOS_HEADER} x86 ${ROGENTOS_VER}" > "${ROGENTOS_RELEASE}"
- else
- echo "${ROGENTOS_HEADER} amd64 ${ROGENTOS_VER}" > "${ROGENTOS_RELEASE}"
- fi
-}
-
-src_install () {
- insinto /etc
- doins rogentos-release
- dosym /etc/rogentos-release /etc/system-release
- # Adding sabayon anti-fork bomb
- insinto /etc/security/limits.d
- doins "${FILESDIR}/00-sabayon-anti-fork-bomb.conf"
-}
-
-pkg_postinst() {
- # Setup Python 2.7
- eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2 --ignore 3.3 --ignore 3.4
-}