summaryrefslogtreecommitdiff
path: root/app-admin
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/enman/Manifest4
-rw-r--r--app-admin/enman/enman-0.1.ebuild26
-rw-r--r--app-admin/enman/enman-0.2.ebuild27
-rw-r--r--app-admin/enman/enman-0.3.ebuild27
-rw-r--r--app-admin/enman/enman-0.4.ebuild27
-rw-r--r--app-admin/eselect-lightdm/Manifest2
-rw-r--r--app-admin/eselect-lightdm/eselect-lightdm-0.2.ebuild25
-rw-r--r--app-admin/eselect-lightdm/files/lightdm-0.2.eselect176
8 files changed, 111 insertions, 203 deletions
diff --git a/app-admin/enman/Manifest b/app-admin/enman/Manifest
new file mode 100644
index 00000000..196ef163
--- /dev/null
+++ b/app-admin/enman/Manifest
@@ -0,0 +1,4 @@
+DIST enman-0.1.tar.gz 10416 SHA256 491117d8646f5918513a778076231d7aa37eb37694333df50dcfc8159fa6a8fb SHA512 aafe5dbff4ce3a0bb52059bc7f99d85dc1876d1d926583fcfe11a0dd5ad724e4df5eb3cb9e078f5bd7494c769bf591d15fd628eac75d4d06a4e193134bd3e244 WHIRLPOOL 678de035808756ac1f614c30afa6268b931a5eced719bb45a7820369aa502ffc66b5da58f0d5c54c53dd71df0dfba8948132c6822c24d8d108409e933379085b
+DIST enman-0.2.tar.gz 5042 SHA256 49d265d71d465feed154cec65f8ab3439744e8288d41e33848f4b2cabaeed80b SHA512 3dd49d344051b4195b055f2954600bf3b10384eeadefa45358f698ab46d13aeebd47399f84d67884275e8772fdc15846a9d225eaec9d21231b999d848de4d351 WHIRLPOOL 3c4277b56de5b21eee36b719ef27e5e9d09caf2851c0d97a9910b4cd2c4a9a703a26d9ce2134c21cbb66a51e2888c2ca836affe92805cd65e2f46d68986a5368
+DIST enman-0.3.tar.gz 6623 SHA256 7891cbe42824b8d1d8ac94c65ba313834d115b221ec065d4a5f3a0ea2ce49996 SHA512 f0ed05470d842932cab58357323c0f5d4e21e6e46d647a2b8e6c80d8bfe5baea35f267271cb41adbf155e34e7f10de0d3b3d7eb5804b581ca1132e0d545a5ce2 WHIRLPOOL d79c960470b0362c1616d92f39058037026ac70b417ad82d8441c6961541ee0b1a706779af523d41142b34579c5957294834dd7503e66e991d0688ea10b49999
+DIST enman-0.4.tar.gz 6647 SHA256 5bf805bd1755fcd068686138ce9140345c1b721ecd6b10f30e3f59a771976d72 SHA512 9be3c8320209d22dd78d9a5b009a3abffecc1b2bf737149b7506d2ed83281924ffddde7f92ee120ed2383086b61404811b4749365889d949be574df5ae6aada1 WHIRLPOOL 3d7291815633470b1ce13cdc8449361c197695d568b5cad9ae08d3b93d8e94a4a91e60880f5b541d276a675c5f08e43406cf99d5fe1c091f250377fe6d72172c
diff --git a/app-admin/enman/enman-0.1.ebuild b/app-admin/enman/enman-0.1.ebuild
new file mode 100644
index 00000000..fc848459
--- /dev/null
+++ b/app-admin/enman/enman-0.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+SRC_URI="https://github.com/Spike-Pentesting/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://github.com/Spike-Pentesting/enman"
+inherit perl-module
+
+DESCRIPTION="a layman equivalent for entropy repositories"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ dev-perl/App-Cmd
+ dev-perl/LWP-Protocol-https
+ virtual/perl-Encode
+ dev-perl/libwww-perl
+ virtual/perl-Term-ANSIColor
+"
+RDEPEND="${DEPEND}"
+
+SRC_TEST="do"
diff --git a/app-admin/enman/enman-0.2.ebuild b/app-admin/enman/enman-0.2.ebuild
new file mode 100644
index 00000000..1ddda428
--- /dev/null
+++ b/app-admin/enman/enman-0.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+SRC_URI="https://github.com/Spike-Pentesting/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://github.com/Spike-Pentesting/enman"
+inherit perl-module
+
+DESCRIPTION="a layman equivalent for entropy repositories"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ dev-perl/App-Cmd
+ dev-perl/LWP-Protocol-https
+ virtual/perl-Encode
+ dev-perl/libwww-perl
+ dev-perl/libintl-perl
+ virtual/perl-Term-ANSIColor
+"
+RDEPEND="${DEPEND}"
+
+SRC_TEST="do"
diff --git a/app-admin/enman/enman-0.3.ebuild b/app-admin/enman/enman-0.3.ebuild
new file mode 100644
index 00000000..1ddda428
--- /dev/null
+++ b/app-admin/enman/enman-0.3.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+SRC_URI="https://github.com/Spike-Pentesting/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://github.com/Spike-Pentesting/enman"
+inherit perl-module
+
+DESCRIPTION="a layman equivalent for entropy repositories"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ dev-perl/App-Cmd
+ dev-perl/LWP-Protocol-https
+ virtual/perl-Encode
+ dev-perl/libwww-perl
+ dev-perl/libintl-perl
+ virtual/perl-Term-ANSIColor
+"
+RDEPEND="${DEPEND}"
+
+SRC_TEST="do"
diff --git a/app-admin/enman/enman-0.4.ebuild b/app-admin/enman/enman-0.4.ebuild
new file mode 100644
index 00000000..1ddda428
--- /dev/null
+++ b/app-admin/enman/enman-0.4.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+SRC_URI="https://github.com/Spike-Pentesting/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://github.com/Spike-Pentesting/enman"
+inherit perl-module
+
+DESCRIPTION="a layman equivalent for entropy repositories"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ dev-perl/App-Cmd
+ dev-perl/LWP-Protocol-https
+ virtual/perl-Encode
+ dev-perl/libwww-perl
+ dev-perl/libintl-perl
+ virtual/perl-Term-ANSIColor
+"
+RDEPEND="${DEPEND}"
+
+SRC_TEST="do"
diff --git a/app-admin/eselect-lightdm/Manifest b/app-admin/eselect-lightdm/Manifest
deleted file mode 100644
index 28551431..00000000
--- a/app-admin/eselect-lightdm/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-AUX lightdm-0.2.eselect 4393 SHA256 3953380345fcb011f6f6786a1b3800f0e06ff05f7b3abd93eb734a71980bdd25 SHA512 1908ad4f363d2e7cc74ead0d52a90bc87f4752d7140b0e1098935f8f4446cc260ed73b629c895dda3afa3449718077ed70253a9becb60820d94cc2e278aeacc9 WHIRLPOOL be3248dee97a416ad84db3f080673edb7bfcffe08b4d24f9f97307a917bfb4f8cd3c132f5a59cf971ca8c00a1f9379caf328f93f9379643925288f7150283349
-EBUILD eselect-lightdm-0.2.ebuild 497 SHA256 46b5b60218693e53db3a98dcfcebc1c13a44fec4cc2a7d7b7b8ef2e33f2fee5d SHA512 3f46dd3b7ac03d93d416696f03cbeb54cbaaacecec0fbeaff446d19e47175988dddd0c264d7015c38bf70d7808cdf1dd96a7aa643632b809bf957bac15f20a3f WHIRLPOOL e1e14d07473480e70673c4ea3a5b0ada4e93eda083f78e4bf9906724d0bc0cb335fa1d3a332250a3b36056542d1707db6f06e3cdb1568b33172fe05cf9968be9
diff --git a/app-admin/eselect-lightdm/eselect-lightdm-0.2.ebuild b/app-admin/eselect-lightdm/eselect-lightdm-0.2.ebuild
deleted file mode 100644
index 7e1ef10b..00000000
--- a/app-admin/eselect-lightdm/eselect-lightdm-0.2.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-SRC_URI=""
-KEYWORDS="~amd64 ~arm ~x86"
-
-DESCRIPTION="Eselect module for making easy to switch between LightDM greeters"
-HOMEPAGE="http://www.sabayon.org"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE=""
-
-S="${WORKDIR}"
-
-RDEPEND="app-admin/eselect"
-DEPEND="${RDEPEND}"
-
-src_install() {
- insinto /usr/share/eselect/modules
- newins "${FILESDIR}/lightdm-${PV}.eselect" lightdm.eselect
-}
diff --git a/app-admin/eselect-lightdm/files/lightdm-0.2.eselect b/app-admin/eselect-lightdm/files/lightdm-0.2.eselect
deleted file mode 100644
index 00cf7e1d..00000000
--- a/app-admin/eselect-lightdm/files/lightdm-0.2.eselect
+++ /dev/null
@@ -1,176 +0,0 @@
-# -*-eselect-*- vim: ft=eselect
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2 or later
-# $Id: $
-
-DESCRIPTION="Switch between LightDM greeters"
-MAINTAINER="lxnay@gentoo.org"
-VERSION="0.1"
-
-# Module variables
-GREETERS_DIR="${EROOT}/usr/share/xgreeters"
-GREETER_SYM="${GREETERS_DIR}/default.desktop"
-
-find_targets() {
- local f fname
- for f in "${GREETERS_DIR}/"*; do
- [[ "${f}" == "${GREETER_SYM}" ]] && continue
- # skip dirs
- [[ -d "${f}" ]] && continue
- # skip broken syms etc
- [[ ! -e "${f}" ]] && continue
- # skip non reg files
- [[ ! -f "${f}" ]] && continue
-
- fname=$(basename "${f}")
- [[ "${fname}" == *.desktop ]] || continue
-
- echo "${fname%%.desktop}"
- done
-}
-
-remove_symlink() {
- rm "${GREETER_SYM}"
-}
-
-set_symlink() {
- local target="${1}"
-
- if is_number "${target}"; then
- local targets=( $(find_targets) )
- target=${targets[target-1]}
- fi
-
- [[ -z "${target}" || ! -f "${GREETERS_DIR}/${target}.desktop" ]] \
- && die -q "Target \"${target}\" doesn't appear to be valid!"
-
- echo "Setting LightDM greeter to ${target}"
- ln -sf "${target}.desktop" "${GREETER_SYM}" || die "Cannot create symlink"
-}
-
-### show action ###
-
-describe_show() {
- echo "Show the current LightDM greeter"
-}
-
-describe_show_options() {
- echo "--quiet : only print the actual symlink value"
- echo "--silent : same as --quiet"
-}
-
-do_show() {
- local quiet=""
-
- while [[ $# -gt 0 ]]; do
- case ${1##--} in
- quiet|silent)
- quiet="1"
- ;;
- esac
- shift
- done
-
- [[ -z "${quiet}" ]] && write_list_start "Current greeter:"
- if [[ -L "${GREETER_SYM}" ]] && [[ -e "${GREETER_SYM}" ]]; then
- local greeter=$(canonicalise "${GREETER_SYM}")
- local greeter_bn=$(basename "${greeter%.desktop}")
- if [[ -n "${quiet}" ]]; then
- echo "${greeter_bn}"
- else
- write_kv_list_entry "${greeter_bn}" ""
- fi
- else
- if [[ -z "${quiet}" ]]; then
- write_kv_list_entry "(unset)" ""
- fi
- fi
-}
-
-### list action ###
-
-describe_list() {
- echo "List available LightDM greeters"
-}
-
-describe_list_options() {
- echo "--quiet : only print the actual symlink value"
- echo "--silent : same as --quiet"
-}
-
-do_list() {
- local quiet
-
- while [[ $# -gt 0 ]]; do
- case ${1##--} in
- quiet|silent)
- quiet="1"
- ;;
- esac
- shift
- done
-
- local i targets=( $(find_targets) )
-
- [[ -z "${quiet}" ]] && write_list_start "Available LightDM greeters:"
- for (( i = 0; i < ${#targets[@]}; i++ )); do
- if [[ -z "${quiet}" ]]; then
- # highlight the target where the symlink is pointing to
- [[ ${targets[i]} = \
- $(basename "$(canonicalise "${GREETER_SYM}")") ]] \
- && targets[i]=$(highlight_marker "${targets[i]}")
- else
- echo "${targets[i]}"
- fi
- done
- [[ -z "${quiet}" ]] && \
- write_numbered_list -m "(none found)" "${targets[@]}"
-}
-
-### set action ###
-describe_set() {
- echo "Set a new LightDM greeter"
-}
-
-describe_set_parameters() {
- echo "<target>"
-}
-
-describe_set_options() {
- echo "target : Target name or number (from 'list' action)"
- echo "--use-old : use the old value if target is already set"
-}
-
-do_set() {
- local use_old
- local target="${1}"
-
- while [[ $# -gt 0 ]]; do
- case ${1##--} in
- use-old)
- use_old="1"
- ;;
- esac
- shift
- done
-
- [[ -z "${target}" ]] && \
- die -q "You didn't tell me what to set the symlink to"
- [[ ${#} -gt 1 ]] && die -q "Too many parameters"
-
- if [[ "${use_old}" = "1" ]]; then
- old_target=$(do_show --quiet)
- target="${old_target:-${target}}"
- fi
-
- if [[ -L "${GREETER_SYM}" ]]; then
- # existing symlink
- remove_symlink || die -q "Couldn't remove existing symlink"
- set_symlink "${target}" || die -q "Couldn't set a new symlink"
- elif [[ -e "${GREETER_SYM}" ]]; then
- # we have something strange
- die -q "${GREETER_SYM} exists but is not a symlink"
- else
- set_symlink "${target}" || die -q "Couldn't set a new symlink"
- fi
-}