summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@gentoo.org>2024-09-18 22:30:04 +0200
committerPetr Vaněk <arkamar@gentoo.org>2024-09-18 22:42:26 +0200
commit61b7af10900ce721f2424b58d9fca836fb3fca01 (patch)
tree3007a841ec19054343f2d0e19984ba75e205ef18 /x11-misc/slock
parentmedia-gfx/hugin: sync live ebuild (diff)
downloadgentoo-61b7af10900ce721f2424b58d9fca836fb3fca01.tar.gz
gentoo-61b7af10900ce721f2424b58d9fca836fb3fca01.tar.bz2
gentoo-61b7af10900ce721f2424b58d9fca836fb3fca01.zip
x11-misc/slock: drop 1.4-r1
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'x11-misc/slock')
-rw-r--r--x11-misc/slock/Manifest1
-rw-r--r--x11-misc/slock/slock-1.4-r1.ebuild66
2 files changed, 0 insertions, 67 deletions
diff --git a/x11-misc/slock/Manifest b/x11-misc/slock/Manifest
index 4de919f78f4b..8cd175227c4a 100644
--- a/x11-misc/slock/Manifest
+++ b/x11-misc/slock/Manifest
@@ -1,2 +1 @@
-DIST slock-1.4.tar.gz 6889 BLAKE2B 67f956fd00e7536a9db81b82e85e4128b537569d16cd25428822607a5c2f3b0310bcfec896f7e83c0091e85d21b68438f6f42da715a55cad7fac90d0d0d64b8f SHA512 ad285360dd3f16a225159abaf2f82fabf2c675bd74478cf717f68cbe5941a6c620e3c88544ce675ce3ff19af4bb0675c9405685e0f74ee4e84f7d34c61a0532f
DIST slock-1.5.tar.gz 6898 BLAKE2B f3435311b24c20fef656589f468b4cd6bbed30568459cb1d525b7dd5b57e5759ee287787d7506ad6cb922fd092bad504f38ab8c57b41deebec4f6aa554269a41 SHA512 2402b1e49f5dbe06cca2f3a31efedce6359413b240f2b98c57147483591a873c3c5457dbf6707485167002ff6d7ee0e9005d9fa506a51bf71337624e8728bb43
diff --git a/x11-misc/slock/slock-1.4-r1.ebuild b/x11-misc/slock/slock-1.4-r1.ebuild
deleted file mode 100644
index 0f6f4a035658..000000000000
--- a/x11-misc/slock/slock-1.4-r1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit fcaps savedconfig toolchain-funcs
-
-DESCRIPTION="simple X display locker"
-HOMEPAGE="https://tools.suckless.org/slock"
-SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm64 ~hppa ppc64 x86"
-
-RDEPEND="
- virtual/libcrypt:=
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXrandr
-"
-DEPEND="
- ${RDEPEND}
- x11-base/xorg-proto
-"
-
-PATCHES=(
- "${FILESDIR}"/slock-1.4-fix-link-paths.patch
-)
-
-src_prepare() {
- default
-
- 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
-
- restore_config config.h
-
- tc-export CC
-}
-
-src_compile() {
- emake slock
-}
-
-src_install() {
- dobin slock
- save_config config.h
-}
-
-pkg_postinst() {
- # cap_dac_read_search used to be enough for shadow access
- # but now slock wants to write to /proc/self/oom_score_adj
- # and for that it needs:
- fcaps \
- cap_dac_override,cap_setgid,cap_setuid,cap_sys_resource \
- /usr/bin/slock
-
- savedconfig_pkg_postinst
-}