mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
x11-misc/sux: Drop 1.0-r4, EAPI5--
Closes: https://bugs.gentoo.org/776457 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST sux 9403 BLAKE2B 26df0f3759b4f4f70479d1532459e3e04da05098045bed7b1066a89f6c636a1200f28866c7ba251d54c24d621b658686889f2306ed797719dfb95a55fb7b3430 SHA512 cf1afb736299e349a14837f89f0feb6a5beb1af35be8e6baef74d03e7278a9d9c331d2759ec21e5cf8b43197734f96464b82ff5904968428bc43a45d2ad0c598
|
||||
DIST sux-1.0.1.tar.gz 10614 BLAKE2B f22005a76194ff483ec24ad6ca1d92190fa9f2dbeabb96ad0343b06658b2bc2498e502e167e67df9ed335c74120b443e3daa31530aa18c615416d8464d758a5c SHA512 f121f70daa9e341ae636361675b1c73e3bb5c3f2301b93b32155c79175b3639d307b8fb0b63fbd51d98b6f3ae6c4530c0991343e86f95192a523a9a08a6048f3
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
--- a/sux
|
||||
+++ b/sux
|
||||
@@ -302,7 +302,8 @@
|
||||
then
|
||||
if [ "$sux_got_minus" = "1" ]
|
||||
then
|
||||
- sux_cmd="sh -c \"exec -l \$SHELL\""
|
||||
+ # exec -l does not work in dash (Gentoo bug #473200)
|
||||
+ sux_cmd="sh -c \"exec \$SHELL\""
|
||||
else
|
||||
sux_cmd="\$SHELL"
|
||||
fi
|
||||
@@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="\"su\" wrapper which transfers X credentials"
|
||||
HOMEPAGE="http://fgouget.free.fr/sux/sux-readme.shtml"
|
||||
SRC_URI="http://fgouget.free.fr/sux/sux"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~arm64 ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
RDEPEND="x11-apps/xauth"
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}"/${A} .
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-1.0-xauth-and-home.patch \
|
||||
"${FILESDIR}"/${P}-dash.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin sux
|
||||
}
|
||||
Reference in New Issue
Block a user