From aebec92048f2beeb0dc3025757e98eed90cc6bad Mon Sep 17 00:00:00 2001 From: Kacper Kowalik Date: Tue, 21 Aug 2012 08:15:35 +0000 Subject: Drop old (Portage version: 2.2.0_alpha120/cvs/Linux x86_64) --- x11-misc/i3status/ChangeLog | 7 ++- x11-misc/i3status/i3status-2.4.ebuild | 79 ---------------------------------- x11-misc/i3status/i3status-2.5.ebuild | 80 ----------------------------------- 3 files changed, 5 insertions(+), 161 deletions(-) delete mode 100644 x11-misc/i3status/i3status-2.4.ebuild delete mode 100644 x11-misc/i3status/i3status-2.5.ebuild (limited to 'x11-misc') diff --git a/x11-misc/i3status/ChangeLog b/x11-misc/i3status/ChangeLog index ba252744c212..422057e80eff 100644 --- a/x11-misc/i3status/ChangeLog +++ b/x11-misc/i3status/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-misc/i3status # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/i3status/ChangeLog,v 1.10 2012/06/26 07:25:44 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/i3status/ChangeLog,v 1.11 2012/08/21 08:15:35 xarthisius Exp $ + + 21 Aug 2012; Kacper Kowalik -i3status-2.4.ebuild, + -i3status-2.5.ebuild: + Drop old 26 Jun 2012; Jeff Horelick i3status-2.5.1.ebuild: marked x86 per bug 422373 @@ -43,4 +47,3 @@ +metadata.xml: Initial import. Fixes bug 296434. Thanks to Simeon Maryasin and Oleg Akimov for their work - diff --git a/x11-misc/i3status/i3status-2.4.ebuild b/x11-misc/i3status/i3status-2.4.ebuild deleted file mode 100644 index 53b6aceb869d..000000000000 --- a/x11-misc/i3status/i3status-2.4.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/i3status/i3status-2.4.ebuild,v 1.4 2012/03/24 17:28:33 phajdan.jr Exp $ - -EAPI=4 - -inherit toolchain-funcs versionator - -DESCRIPTION="generates a status bar for dzen2, xmobar or similar" -HOMEPAGE="http://i3wm.org/i3status/" -SRC_URI="http://i3wm.org/${PN}/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+caps" - -RDEPEND="dev-libs/confuse - media-libs/alsa-lib - net-wireless/wireless-tools" -DEPEND="${RDEPEND} - caps? ( sys-libs/libcap )" - -# borrowed from GSoC2010_Gentoo_Capabilities by constanze and flameyeys -# @FUNCTION: fcaps -# @USAGE: fcaps {uid:gid} {file-mode} {cap1[,cap2,...]} {file} -# @RETURN: 0 if all okay; non-zero if failure and fallback -# @DESCRIPTION: -# fcaps sets the specified capabilities in the effective and permitted set of -# the given file. In case of failure fcaps sets the given file-mode. -# Requires versionator.eclass -fcaps() { - local uid_gid=$1 - local perms=$2 - local capset=$3 - local path=$4 - local res - - chmod $perms $path && \ - chown $uid_gid $path - res=$? - - use caps || return $res - - #set the capability - setcap "$capset=ep" "$path" &> /dev/null - #check if the capabilitiy got set correctly - setcap -v "$capset=ep" "$path" &> /dev/null - res=$? - - if [ $res -ne 0 ]; then - ewarn "Failed to set capabilities. Probable reason is missing kernel support." - ewarn "Your kernel must have _FS_SECURITY enabled (e.g. EXT4_FS_SECURITY)" - ewarn "where is the filesystem to store ${path}" - if ! version_is_at_least 2.6.33 "$(uname -r)"; then - ewarn "For kernel 2.6.32 or older, you will also need to enable" - ewarn "SECURITY_FILE_CAPABILITIES." - fi - ewarn - ewarn "Falling back to suid now..." - chmod u+s ${path} - fi - return $res -} - -pkg_setup() { - tc-export CC -} - -src_prepare() { - sed -e "/@echo/d" -e "s:@\$(:\$(:g" -e "/setcap/d" \ - -e '/CFLAGS+=-g/d' -i Makefile || die -} - -pkg_postinst() { - fcaps 0:users 550 cap_net_admin "${ROOT}"/usr/bin/${PN} - elog "You need to install x11-misc/xmobar or x11-misc/dzen to use ${PN}." - elog "Please refer to manual: man ${PN}" -} diff --git a/x11-misc/i3status/i3status-2.5.ebuild b/x11-misc/i3status/i3status-2.5.ebuild deleted file mode 100644 index 7ccfb9575210..000000000000 --- a/x11-misc/i3status/i3status-2.5.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/i3status/i3status-2.5.ebuild,v 1.1 2012/05/03 16:16:04 xarthisius Exp $ - -EAPI=4 - -inherit toolchain-funcs versionator - -DESCRIPTION="generates a status bar for dzen2, xmobar or similar" -HOMEPAGE="http://i3wm.org/i3status/" -SRC_URI="http://i3wm.org/${PN}/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+caps" - -RDEPEND="dev-libs/confuse - >=dev-libs/yajl-2.0.2 - media-libs/alsa-lib - net-wireless/wireless-tools" -DEPEND="${RDEPEND} - caps? ( sys-libs/libcap )" - -# borrowed from GSoC2010_Gentoo_Capabilities by constanze and flameyeys -# @FUNCTION: fcaps -# @USAGE: fcaps {uid:gid} {file-mode} {cap1[,cap2,...]} {file} -# @RETURN: 0 if all okay; non-zero if failure and fallback -# @DESCRIPTION: -# fcaps sets the specified capabilities in the effective and permitted set of -# the given file. In case of failure fcaps sets the given file-mode. -# Requires versionator.eclass -fcaps() { - local uid_gid=$1 - local perms=$2 - local capset=$3 - local path=$4 - local res - - chmod $perms $path && \ - chown $uid_gid $path - res=$? - - use caps || return $res - - #set the capability - setcap "$capset=ep" "$path" &> /dev/null - #check if the capabilitiy got set correctly - setcap -v "$capset=ep" "$path" &> /dev/null - res=$? - - if [ $res -ne 0 ]; then - ewarn "Failed to set capabilities. Probable reason is missing kernel support." - ewarn "Your kernel must have _FS_SECURITY enabled (e.g. EXT4_FS_SECURITY)" - ewarn "where is the filesystem to store ${path}" - if ! version_is_at_least 2.6.33 "$(uname -r)"; then - ewarn "For kernel 2.6.32 or older, you will also need to enable" - ewarn "SECURITY_FILE_CAPABILITIES." - fi - ewarn - ewarn "Falling back to suid now..." - chmod u+s ${path} - fi - return $res -} - -pkg_setup() { - tc-export CC -} - -src_prepare() { - sed -e "/@echo/d" -e "s:@\$(:\$(:g" -e "/setcap/d" \ - -e '/CFLAGS+=-g/d' -i Makefile || die -} - -pkg_postinst() { - fcaps 0:users 550 cap_net_admin "${ROOT}"/usr/bin/${PN} - elog "You need to install x11-misc/xmobar or x11-misc/dzen to use ${PN}." - elog "Please refer to manual: man ${PN}" -} -- cgit v1.2.3-65-gdbad