summaryrefslogtreecommitdiff
path: root/app-misc/rogentos-version/rogentos-version-1.1.ebuild
diff options
context:
space:
mode:
authorStefanCristian <steven.darklight@gmail.com>2015-09-05 03:19:47 +0300
committerStefanCristian <steven.darklight@gmail.com>2015-09-05 03:19:47 +0300
commitbff857edb9b6388216f91b39a6f0c9c394072dd0 (patch)
tree1ae8faf6876149cae6b0f047706a7612e60424b8 /app-misc/rogentos-version/rogentos-version-1.1.ebuild
parent9549dcc66df552867e19ab208c9add4f51d1ed12 (diff)
[app-misc/*] stergem ramasitile ce nu le mai folosim ale vechiului sistem
Diffstat (limited to 'app-misc/rogentos-version/rogentos-version-1.1.ebuild')
-rw-r--r--app-misc/rogentos-version/rogentos-version-1.1.ebuild75
1 files changed, 0 insertions, 75 deletions
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"
-}