diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2012-05-11 21:20:53 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2012-05-11 21:20:53 +0000 |
commit | 42ac75383a715640d6334ed620bc6e56d2c39d2b (patch) | |
tree | 3f24e0d8faa640763e91e72aac9d23bcee03faad /x11-misc/i3status | |
parent | Version bump; forgo tests when using JRuby for now. (diff) | |
download | historical-42ac75383a715640d6334ed620bc6e56d2c39d2b.tar.gz historical-42ac75383a715640d6334ed620bc6e56d2c39d2b.tar.bz2 historical-42ac75383a715640d6334ed620bc6e56d2c39d2b.zip |
Version bump
Package-Manager: portage-2.2.0_alpha103/cvs/Linux x86_64
Diffstat (limited to 'x11-misc/i3status')
-rw-r--r-- | x11-misc/i3status/ChangeLog | 7 | ||||
-rw-r--r-- | x11-misc/i3status/Manifest | 30 | ||||
-rw-r--r-- | x11-misc/i3status/i3status-2.5.1.ebuild | 80 |
3 files changed, 102 insertions, 15 deletions
diff --git a/x11-misc/i3status/ChangeLog b/x11-misc/i3status/ChangeLog index 25348f34345c..d53464d2b3b2 100644 --- a/x11-misc/i3status/ChangeLog +++ b/x11-misc/i3status/ChangeLog @@ -1,6 +1,11 @@ # 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.7 2012/05/03 16:16:05 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/i3status/ChangeLog,v 1.8 2012/05/11 21:20:53 xarthisius Exp $ + +*i3status-2.5.1 (11 May 2012) + + 11 May 2012; Kacper Kowalik <xarthisius@gentoo.org> +i3status-2.5.1.ebuild: + Version bump *i3status-2.5 (03 May 2012) diff --git a/x11-misc/i3status/Manifest b/x11-misc/i3status/Manifest index 91a622dc7223..1d481895de30 100644 --- a/x11-misc/i3status/Manifest +++ b/x11-misc/i3status/Manifest @@ -2,25 +2,27 @@ Hash: SHA256 DIST i3status-2.4.tar.bz2 26020 RMD160 5f42fceff6591230432e18de1a6b5a309e6c947b SHA1 7548595bc05f69f8ec9bf781b7b21702e3d74540 SHA256 620f3768dc4e9ea391ca5b5e358d018ca5d2820da1fce71a71664ca554778abd +DIST i3status-2.5.1.tar.bz2 30956 RMD160 06bc07c25607ef88d4dd685ededa2d96b6d30650 SHA1 affab82d697c52c46db7250f759cac12f78df061 SHA256 7734efdf79a77617023f1e6d80080251eab3a05defb67313283568511d3e58f2 DIST i3status-2.5.tar.bz2 30540 RMD160 c7649b3635fbc3971ac9ca1b3cec83a15e042761 SHA1 6c71e2c07d53a36b38e55d5a81c735acde580a20 SHA256 83106945125076cb5f917ba4525bdd99175bc5b0396a6f0e47b6623a254c0aee EBUILD i3status-2.4.ebuild 2171 RMD160 c01b57de6a3efdfec4f6b801e578326e9147b4b7 SHA1 8902cf1b17ca15b68c7a890fa1d97a4847dc34a6 SHA256 6f78f5073e048bcaea38e68c621542648d9c0160d0cb31622c0eb3f5f61ad1ec +EBUILD i3status-2.5.1.ebuild 2198 RMD160 e8ffc0db037fb8b886518b732b5984cd9faeb183 SHA1 5b14fc188872cbb71d238decee63ab3b6066667a SHA256 b33b043acd37973436260b96596f26a47503fa3d9faf99b3a1c6fb2824e2cc24 EBUILD i3status-2.5.ebuild 2196 RMD160 9306a37b07ab9e0a1448b275ffa875624fe68714 SHA1 fdf06afe7de46c0696c60b8df56ba2dfd32a5ea0 SHA256 58591bac440173da6a0baa62dd10ed1b601677554c8dfd0882359014ee16e40c -MISC ChangeLog 1218 RMD160 3bfac1e032dfd91044042febe83cb1ccaff6cab5 SHA1 a45cdf75efc2cae3f2ecc6ee0f5f0b117477f7e1 SHA256 c118cc56ad1414d3de3bca64c431763b7ec8da667e6d2b8d8992556b7a8dd4d2 +MISC ChangeLog 1343 RMD160 3aa2810ed824217f4b0f6e83978cbf8f42c92ea9 SHA1 d5abfc7f22831666d7f80ad3cb91bc11cee7a834 SHA256 5536a34d4287eae63c9e83f6b216a4739e77e9d68d623625b4913373c11fd92c MISC metadata.xml 781 RMD160 41843de6254f08a4cd9519b20c86e9a28f0c1f20 SHA1 1d6ecc85ed13e42018d388b4249ce98d565fcdbd SHA256 97cc7157bfe2d05a4c77793b89190fef0f94d1decd52e41c717c37583696f3f4 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCAAGBQJPoq9PAAoJEF0huFKJUZL5gH8P/1hUU9WmDW2pY4LY1XQWmlRP -RHjrHps7z23Uzpg5++gvwPQ96kfD7BJp53wGIie2n+1pDVWn3pyStENh6SQaWvLi -dbTbK4zFGWTqOteQcDrgj7ttaY6PMoGMH85bqAZgzqft6v6aelCz0In/AaI9HkpN -M0XCTOcYs3nbOo4vk0WvJ0bS0y9JJlyZjBO+DStr1YqAWeN55UDdd3fqrW1sYBM8 -LAB01BvX8U7TIAgffjv3iLkuYL+f1RYcJwfwGQ2/FwKuPi+xoHwLe874KDmmRWag -3rvHNIL9icRGx0EEHS9CDK+KiW36lgxWtt1xnUg+trrqetewCOk+jHiYN3e+bG+K -V4s3EXLTpQQ7yKehYW6fL5U7klBZm6IZxPz1Z8YKPoLwo0qR4IdMObOaa2m9cSoc -ymcsNlDIm/0x+M/uMTmba6wTv/ggukyJD0e4BhIvkxLJbGfn6tSvD6NZwGyqEe5N -ZD+1FzfPlaqNqKhAXKlWcDtf+Rgyj43rToeBPUc0leVKx0qVZMQ4/dOKyI4bd6LZ -2wlo9Ad+nynDDv7miHUoQrveff/j50eGpMW7/6ksZ3WFRpsrPEpJWWiDQukDoX4C -s7Hrja4sWHx7YU/wzE9hKF82ymjLmGbaPpOnXoctzdBgAZPd4lWwB2eYkAnVYhiq -+S/IrlMRaMSraNwsBUH0 -=/tWC +iQIcBAEBCAAGBQJPrYLBAAoJEF0huFKJUZL5vDQP/0rL+4jR/SjuqZIcOqfRDBCQ +0llwuZ8zs402+UUkZS9WBp7bA4zKF5POxxP6Sbtja+HxqTJ3CmJRVSdvWHXoUvca +9ONcyx87EkBnehiUNJn8A5L8e/KGgWDMemOiizo9yus2YUACzK+jBdQNzGhtTAii +TcDC/Vm/74UxAiEJPa7htFBZLNEtdVV32jJPav57tCEK8dem7Jv9xxcjVI3Zioi8 +JF9iyglDiorhlwf3LExMsInQKbISHUmfoR4zxOCbGNXgL6OLk7+yxh9ORyIZtHmH +wwfL/4HIeXSsGGwuimcaEGyrHb4rQ6IGGuGE7ei/r7rGurNP68cIOKOlQeLWDPhP +soHSGFPMzAu5j1dwYjJlptlLznxgR81kq/4mTLLXgJAL/HdXtOw6gRSLNtGwpkxA +0V6FWGZzijm4Y4XHJrno+MBtr2C0R+T1gSgl5g4IOxzcsQHkrCTjLCYnQMr2MWzN +XLV01UdhSkOfDAg3KVJx+YdvLh0n89t1vYMhTfUPwmRa2RiCCw9D5kuvEMcFTqAt +baMVz4IYhxCaXqjuIR/7LOBOgOpARMMgaJo4Uu1LoFOeTWpVoBHbDaLEiU4yZ42M +aUkmSWqrJr5OWWhCvuZpxccue25JxF3xhQGwM/zL9hH7S+G1f5EGBNAVoytO7Bc6 +vQH/GIqSKsbPYCbg4nur +=u0lo -----END PGP SIGNATURE----- diff --git a/x11-misc/i3status/i3status-2.5.1.ebuild b/x11-misc/i3status/i3status-2.5.1.ebuild new file mode 100644 index 000000000000..c1b7e63f4e1e --- /dev/null +++ b/x11-misc/i3status/i3status-2.5.1.ebuild @@ -0,0 +1,80 @@ +# 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.1.ebuild,v 1.1 2012/05/11 21:20:53 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>_FS_SECURITY enabled (e.g. EXT4_FS_SECURITY)" + ewarn "where <FS> 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}" +} |