summaryrefslogtreecommitdiff
path: root/app-misc
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/rogentos-reposi/files/entropy_frozen5
-rw-r--r--app-misc/rogentos-reposi/files/entropy_rogentoslinux12
-rw-r--r--app-misc/rogentos-reposi/files/entropy_sabayon-weekly13
-rw-r--r--app-misc/rogentos-reposi/files/entropy_server62
-rwxr-xr-xapp-misc/rogentos-reposi/files/reupdate8
-rw-r--r--app-misc/rogentos-reposi/rogentos-reposi-1.0.ebuild35
-rw-r--r--app-misc/rogentos-version/rogentos-version-1.1.ebuild75
-rw-r--r--app-misc/serverconf-test/serverconf-test-1.ebuild33
8 files changed, 243 insertions, 0 deletions
diff --git a/app-misc/rogentos-reposi/files/entropy_frozen b/app-misc/rogentos-reposi/files/entropy_frozen
new file mode 100644
index 00000000..d9154ee2
--- /dev/null
+++ b/app-misc/rogentos-reposi/files/entropy_frozen
@@ -0,0 +1,5 @@
+[frozen]
+desc = Sabayon Frozen 13.11 Community Repository
+repo = http://www.ols18.com/danysk/frozen/13.11#bz2
+enabled = true
+pkg = http://www.ols18.com/danysk/frozen/13.11
diff --git a/app-misc/rogentos-reposi/files/entropy_rogentoslinux b/app-misc/rogentos-reposi/files/entropy_rogentoslinux
new file mode 100644
index 00000000..4b6172d8
--- /dev/null
+++ b/app-misc/rogentos-reposi/files/entropy_rogentoslinux
@@ -0,0 +1,12 @@
+# Repository configuration file automatically generated
+# by Entropy on your behalf.
+
+[rogentoslinux]
+desc = Rogentos Linux Official Repository
+repo = http://pkg.rogentos.ro/~rogentos/entropy#bz2
+enabled = true
+pkg = http://bpr.bluepink.ro/~rogentos/entropy/
+pkg = http://pkg2.rogentos.ro/~noxis/entropy/
+pkg = http://pkg.rogentos.ro/~rogentos/entropy/
+pkg = http://pkg3.rogentos.ro/~noxis/entropy/
+
diff --git a/app-misc/rogentos-reposi/files/entropy_sabayon-weekly b/app-misc/rogentos-reposi/files/entropy_sabayon-weekly
new file mode 100644
index 00000000..827b8261
--- /dev/null
+++ b/app-misc/rogentos-reposi/files/entropy_sabayon-weekly
@@ -0,0 +1,13 @@
+# Repository configuration file automatically generated
+# by Entropy on your behalf.
+
+[sabayon-weekly]
+desc = Sabayon Linux Official Repository
+repo = http://pkg.sabayon.org#bz2
+enabled = true
+pkg = http://best.sabayon.org/entropy
+pkg = http://dl.sabayon.org/entropy
+pkg = http://redir.sabayon.org/entropy
+pkg = http://na.mirror.garr.it/mirrors/sabayonlinux/entropy
+pkg = http://pkg.sabayon.org
+
diff --git a/app-misc/rogentos-reposi/files/entropy_server b/app-misc/rogentos-reposi/files/entropy_server
new file mode 100644
index 00000000..c2e77713
--- /dev/null
+++ b/app-misc/rogentos-reposi/files/entropy_server
@@ -0,0 +1,62 @@
+# Entropy Server now supports repositories defined inside
+# /etc/entropy/repositories.conf.d/ files, written using the
+# syntax detailed below. This improves the ability to enable, disable,
+# add and remove repositories programmatically. Furthermore, it
+# makes possible to extend the supported parameters without breaking
+# backward compatibility.
+#
+# In order to differentiate Entropy Client repository definitions between
+# Entropy Server ones, each repository section must start with "[server=".
+#
+# This is an example of the syntax (with a complete listing
+# of the supported arguments):
+#
+# [server=sabayon-limbo]
+# desc = Sabayon Linux Official Testing Repository
+# repo = ssh://username@full.host:~username/sabayon-limbo
+# enabled = <true/false>
+#
+# [server=sabayon-limbo]
+# desc = This statement will be ignored.
+# repo-only = ssh://username@repo.host:~username/sabayon-limbo
+# pkg-only = ssh://username@pkg.host:~username/sabayon-limbo
+#
+# [server=sabayon-base]
+# desc = This is the base repository.
+# repo-only = ssh://username@repo.host:~username/sabayon-base
+# pkg-only = ssh://username@pkg.host:~username/sabayon-base
+# base = <true/false>
+#
+# As you can see, multiple statements for the same repository
+# are allowed. However, only the first desc = statement will be
+# considered, while there can be as many {pkg,repo}* = as you want.
+#
+# The repository order is important, but this is guaranteed by the
+# fact that configuration files are parsed in lexical order.
+#
+# Statements description:
+# - "desc": stands for description, the repository name description.
+# - "repo": the push & pull URI, for both packages and repository database.
+# - "repo-only": same as repo, but only for the repository database
+# push & pull.
+# - "pkg-only": same as repo, but only for the packages push & pull.
+# The supported protocols are those supported by entropy.fetchers.
+# - "enabled": if set, its value can be either "true" or "false". The default
+# value is "true". It indicates if a repository is configured
+# but currently disabled or enabled. Please take into account
+# that config files in /etc/entropy/repositories.conf.d/ starting
+# with "_" are considered to contain disabled repositories. This
+# is just provided for convienence.
+# - "base": if set, its value can be either "true" or "false". The default
+# value is "false". If no repository has the flag set, the first
+# listed repository will be the base one.
+# - "exclude-qa": if set, its value can be either "true" or "false". The default
+# value is "false". If "true", the repository is excluded from
+# QA checks.
+
+# [server=<example repository>]
+# desc = Entropy Server Example Repository
+# repo = ssh://user@localhost:~user/repository-name
+# repo-only = ssh://user@localhost:~user/repository-only-name
+# pkg-only = ssh://user@localhost:~user/package-only-name
+# enabled = true
diff --git a/app-misc/rogentos-reposi/files/reupdate b/app-misc/rogentos-reposi/files/reupdate
new file mode 100755
index 00000000..390a0469
--- /dev/null
+++ b/app-misc/rogentos-reposi/files/reupdate
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+rm /etc/entropy/repositories.conf.d/README
+for i in $(ls /etc/entropy/repositories.conf.d/ | cut -d '.' -f 1 | sort -u | cut -d "_" -f 2); do
+ equo repo mirrorsort $i
+done
+
+equo update
diff --git a/app-misc/rogentos-reposi/rogentos-reposi-1.0.ebuild b/app-misc/rogentos-reposi/rogentos-reposi-1.0.ebuild
new file mode 100644
index 00000000..19d9f218
--- /dev/null
+++ b/app-misc/rogentos-reposi/rogentos-reposi-1.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2012 Rogentos Linux
+# Distributed under the terms of the GNU General Public License v2
+# Maintainer BlackNoxis <stefan.cristian at rogentos.ro>
+# $Header: $
+
+EAPI=5
+
+DESCRIPTION="Offical Rogentos Stability Watcher"
+HOMEPAGE="http://www.rogentos.ro"
+SRC_URI=""
+
+LICENSE="GPL-v2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+RDEPEND="app-admin/equo
+ !app-misc/sabayon-version"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"
+
+src_install() {
+ ewarn "This is available for only Entropy package manager" || die
+ insinto /etc/entropy/repositories.conf.d/
+ doins "${FILESDIR}"/entropy* || die
+ insinto /opt/reupdate/
+ doins "${FILESDIR}"/reupdate
+ fperms u+x /opt/reupdate/reupdate
+ dosym /opt/reupdate/reupdate /usr/bin/reupdate
+}
+
+pkg_postinst() {
+ einfo "Please report bugs or glitches to"
+ einfo "stefan.cristian [aaron] rogentos.ro"
+}
diff --git a/app-misc/rogentos-version/rogentos-version-1.1.ebuild b/app-misc/rogentos-version/rogentos-version-1.1.ebuild
new file mode 100644
index 00000000..49bda9f2
--- /dev/null
+++ b/app-misc/rogentos-version/rogentos-version-1.1.ebuild
@@ -0,0 +1,75 @@
+# 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-admin/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/serverconf-test/serverconf-test-1.ebuild b/app-misc/serverconf-test/serverconf-test-1.ebuild
new file mode 100644
index 00000000..eec4b6d2
--- /dev/null
+++ b/app-misc/serverconf-test/serverconf-test-1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2004-2013 RogentOS
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+EGIT_REPO_URI="git://github.com/Rogentos/rogentos-live.git"
+EGIT_BRANCH="serverconf-test"
+
+inherit eutils systemd git-2
+
+DESCRIPTION="Rogentos live image scripts and tools"
+HOMEPAGE="http://www.rogentos.ro"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 arm x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="!app-misc/livecd-tools
+ app-admin/eselect-opengl
+ dev-util/dialog
+ sys-apps/gawk
+ sys-apps/pciutils
+ sys-apps/keyboard-configuration-helpers
+ sys-apps/sed"
+
+src_install() {
+ emake DESTDIR="${D}" SYSV_INITDIR="/etc/init.d" \
+ SYSTEMD_UNITDIR="$(systemd_get_unitdir)" \
+ install || die
+ ls -la "${WORKDIR}"/"${PN}"-"${PV}"
+}