summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-10-19 15:27:07 +0000
committerJeroen Roovers <jer@gentoo.org>2013-10-19 15:27:07 +0000
commite422a4f4162b61c0d04daa6c2caf897510081755 (patch)
treea02faea9b0f46889ae0e7fcfebca5705e99226bf /x11-misc/slock
parentCleanup due desktop-wm removal (diff)
downloadhistorical-e422a4f4162b61c0d04daa6c2caf897510081755.tar.gz
historical-e422a4f4162b61c0d04daa6c2caf897510081755.tar.bz2
historical-e422a4f4162b61c0d04daa6c2caf897510081755.zip
Use fcaps.eclass by Luis Ressel (bug #488530).
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'x11-misc/slock')
-rw-r--r--x11-misc/slock/ChangeLog7
-rw-r--r--x11-misc/slock/Manifest11
-rw-r--r--x11-misc/slock/slock-1.1-r1.ebuild49
3 files changed, 61 insertions, 6 deletions
diff --git a/x11-misc/slock/ChangeLog b/x11-misc/slock/ChangeLog
index 019b65198b3b..e65903d07e21 100644
--- a/x11-misc/slock/ChangeLog
+++ b/x11-misc/slock/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/slock
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/ChangeLog,v 1.44 2013/06/01 12:57:15 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/ChangeLog,v 1.45 2013/10/19 15:27:06 jer Exp $
+
+*slock-1.1-r1 (19 Oct 2013)
+
+ 19 Oct 2013; Jeroen Roovers <jer@gentoo.org> +slock-1.1-r1.ebuild:
+ Use fcaps.eclass by Luis Ressel (bug #488530).
01 Jun 2013; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Cleanup due bug #151880
diff --git a/x11-misc/slock/Manifest b/x11-misc/slock/Manifest
index 7258f18ae27d..1fe638642d8b 100644
--- a/x11-misc/slock/Manifest
+++ b/x11-misc/slock/Manifest
@@ -2,13 +2,14 @@
Hash: SHA256
DIST slock-1.1.tar.gz 4604 SHA256 e04ae5070c646c78251780d386e14d16fd100367e877dd5cf616dc7aedd0e0e4 SHA512 67cd9a62edde6ca0f9f7c09989ab8fa02a11a6ec82cc52b228c0b4fd509c5605668954630b0d2727aeb3c7283580665e4b5e5c0a37f3094a6f5b2a540e45f6b5 WHIRLPOOL 48de5c869846b9489d80c316f8b3b9dadc834f888ee3c65b67823feb47f5b1bc86b4ce1b7b89f1873b6354099647a36ee4e799668e7aad1ab469c57bed5bc437
+EBUILD slock-1.1-r1.ebuild 1049 SHA256 343db573aeb9b38cb78ee9619b322fd8c88414df3ab467efcefd91f552004e10 SHA512 1a6088bfa913e6c012b83a478d06a5e9c15f7cb726704cc41509334267cb401e28d43cb3aaf5d61f8d9dcff918ad6c93512d4d9eae3a2ec28a384581b52c33a7 WHIRLPOOL b23ce9532a9643e00b701f9531f049282bb9138cff354bb9203b2fb20f4ef88ec97a9c74499a45ea20de11763eff46a5451b266eb0b30d8bcf3a3a3f123c9bab
EBUILD slock-1.1.ebuild 986 SHA256 40463859a97db823d622a1de51f461f08ab2eee436296903c7707da5ba47dec9 SHA512 976075741dc4ffb5c927367abf95306f08ddc9882a536c3d32dd9a7524c64c3f525afbc3445d2b7919be98f47d6eadb38d0e00d3f423e8d1ad2786effb1a0a43 WHIRLPOOL 8d84b5aaebcb8ecdbd34fa0fd82c59001baa441b9d165b7907dde7f24a01c526136c709981ae0e0fb4169470900bac2bc0ee75184ca8b2d3f5f266df2e34fc63
-MISC ChangeLog 4782 SHA256 959c865b62f3252215cecfc536d97bc8ee089cf72041c9ce2d876705f40a2164 SHA512 480762bce98ac629f800703b1facc2a299971d9433098e9721c53fe1d970a55930c2edbfb6ff6d85c0746f433cfc34e33b871a230cffb1eae39b0e5fbbf46693 WHIRLPOOL 37c84a6429069d38848f833d4164255370dd03f6934fcc41665f1d99abca6c02ea37fd08ccace285abe57b283fd60c700f405925d12bcccafd14bc495b9aa4c0
+MISC ChangeLog 4928 SHA256 7dfcf1ba9201c51c688a5ae2de30568155f422dbeaa780d4f5a77770e90e7963 SHA512 d816f735f9c93908dbdc75d77db457d19d8b0ebf21455185221ccf01a31939dc45d604bab5184fdf2b827f455dc5769e04f822ac0cce839eecce04058bedc388 WHIRLPOOL 63433b7ec149d163dcc4ef28313dd556f778e1f57096160e2e68e5cac3dc269f671afccf44f3117e6e4c87dcfbf201e628d983d95ed59766b3eb04e153a031c9
MISC metadata.xml 282 SHA256 5b608ee63fd72c1f5cccef382da68647b1545c2b11ef8e576f5d1126cef6ffd8 SHA512 a4ebce4de779b28ac22fbe303953bcf5d286fa6b28a2b00b0aae62a3cb6de57b2d117d20ce38418dcc7f5245d0827cc959a1876a5ac3342506ec461eea3f286b WHIRLPOOL 2c455887dfffc362be6f132e1c96806e5ead0abb92fa6507840d1099a92c18feb3bb8920790a3f8026ea859402cbb678471bb595da25d23eecfc7a0f82a6abdd
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlGp76wACgkQCaWpQKGI+9RlmwCfT/B8GnnHLkK4rjg/UnDDHhC3
-67QAnR6CNdDHEdHo7BKokZhrxf2we/4S
-=cwFn
+iEYEAREIAAYFAlJipMsACgkQVWmRsqeSphM3IwCeOR0KGFs/koCLRyjew7ehsR34
+M4oAnRZtvmcyv/w8+UvPStFKVVmMJcXQ
+=kCZe
-----END PGP SIGNATURE-----
diff --git a/x11-misc/slock/slock-1.1-r1.ebuild b/x11-misc/slock/slock-1.1-r1.ebuild
new file mode 100644
index 000000000000..43987fb291b0
--- /dev/null
+++ b/x11-misc/slock/slock-1.1-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/slock-1.1-r1.ebuild,v 1.1 2013/10/19 15:27:06 jer Exp $
+
+EAPI=5
+inherit fcaps savedconfig toolchain-funcs
+
+DESCRIPTION="simple X screen locker"
+HOMEPAGE="http://tools.suckless.org/slock"
+SRC_URI="http://dl.suckless.org/tools/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+src_prepare() {
+ sed -i \
+ -e '/^CFLAGS/{s: -Os::g; s:= :+= :g}' \
+ -e '/^CC/d' \
+ -e '/^LDFLAGS/{s:-s::g; s:= :+= :g}' \
+ config.mk || die
+ sed -i \
+ -e 's|@${CC}|$(CC)|g' \
+ Makefile || die
+ if use elibc_FreeBSD; then
+ sed -i -e 's/-DHAVE_SHADOW_H//' config.mk || die
+ fi
+ restore_config config.mk
+ tc-export CC
+}
+
+src_compile() { emake slock; }
+
+src_install() {
+ dobin slock
+ save_config config.mk
+}
+
+pkg_postinst() {
+ fcaps cap_dac_read_search /usr/bin/slock
+
+ savedconfig_pkg_postinst
+}