diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2003-04-28 14:35:27 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2003-04-28 14:35:27 +0000 |
commit | 7076268b3a3e50795133fecc9f0362edac23b659 (patch) | |
tree | 3be4752e263dacc3433e952da042f36ca25dd3aa /x11-misc/sux | |
parent | initial import, closing bug 6659 (diff) | |
download | gentoo-2-7076268b3a3e50795133fecc9f0362edac23b659.tar.gz gentoo-2-7076268b3a3e50795133fecc9f0362edac23b659.tar.bz2 gentoo-2-7076268b3a3e50795133fecc9f0362edac23b659.zip |
initial import, closing bug 6659
Diffstat (limited to 'x11-misc/sux')
-rw-r--r-- | x11-misc/sux/ChangeLog | 10 | ||||
-rw-r--r-- | x11-misc/sux/Manifest | 4 | ||||
-rw-r--r-- | x11-misc/sux/files/digest-sux-1.0 | 1 | ||||
-rw-r--r-- | x11-misc/sux/files/sux-1.0.patch | 32 | ||||
-rw-r--r-- | x11-misc/sux/sux-1.0.ebuild | 28 |
5 files changed, 73 insertions, 2 deletions
diff --git a/x11-misc/sux/ChangeLog b/x11-misc/sux/ChangeLog new file mode 100644 index 000000000000..ad96a270b71d --- /dev/null +++ b/x11-misc/sux/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for x11-misc/sux +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/sux/ChangeLog,v 1.1 2003/04/28 14:35:19 phosphan Exp $ + +*sux-1.0 (28 Apr 2003) + + 28 Apr 2003; Patrick Kursawe <phosphan@gentoo.org> sux-1.0.ebuild: + Initial import. Since it is rather old and has no real version + number, I'll call this 1.0. + diff --git a/x11-misc/sux/Manifest b/x11-misc/sux/Manifest index a186e9941d87..8f5547d704b6 100644 --- a/x11-misc/sux/Manifest +++ b/x11-misc/sux/Manifest @@ -1,4 +1,4 @@ -MD5 1ad82c66949cac79adc81f8c526505da sux-1.0.ebuild 541 -MD5 bb3a3ebb9e80bb36defc6a9318689358 ChangeLog 310 +MD5 071f501f3d5e891415e4a5644ff91605 sux-1.0.ebuild 633 +MD5 4626673186137d0043e50dd0b43f8bf4 ChangeLog 397 MD5 7f1bcc869672e2722ab392e07bcd9983 files/sux-1.0.patch 1064 MD5 0f1c62f11288b0303d9c1a9179ec9029 files/digest-sux-1.0 46 diff --git a/x11-misc/sux/files/digest-sux-1.0 b/x11-misc/sux/files/digest-sux-1.0 new file mode 100644 index 000000000000..df5460f73672 --- /dev/null +++ b/x11-misc/sux/files/digest-sux-1.0 @@ -0,0 +1 @@ +MD5 f36740d7898914a86f4f32ec6ea1c53c sux 9403 diff --git a/x11-misc/sux/files/sux-1.0.patch b/x11-misc/sux/files/sux-1.0.patch new file mode 100644 index 000000000000..669e8e573fce --- /dev/null +++ b/x11-misc/sux/files/sux-1.0.patch @@ -0,0 +1,32 @@ +--- sux 2001-08-22 18:09:06.000000000 +0200 ++++ /usr/X11R6/bin/sux 2003-04-28 16:25:09.000000000 +0200 +@@ -29,7 +29,6 @@ + # are on NFS. In such a case, change the default to copy-cookies. + sux_root_cookie_transfer="c" + +- + usage() + { + echo "usage: `basename $0` [-m|-p|--preserve-environment]" >&2 +@@ -230,10 +229,10 @@ + # Remove the old cookies. They may cause trouble if we transfer only one + # cookie, e.g. an MIT cookie, and there's still a stale XDM cookie hanging + # around. +- export TERM="xauth -q remove $DISPLAY 2>/dev/null;" ++ export TERM="/usr/X11R6/bin/xauth -q remove $DISPLAY 2>/dev/null;" + if [ -n "$sux_unix_display" ] + then +- TERM="$TERM xauth -q remove $sux_unix_display;" ++ TERM="$TERM /usr/X11R6/bin/xauth -q remove $sux_unix_display;" + fi + + # Note that there may be more than one cookie to transfer, hence +@@ -250,7 +249,7 @@ + sux_i=`expr $sux_i + 1` + if [ $sux_i -eq 9 ] + then +- TERM="$TERM | xauth nmerge - ;" ++ TERM="$TERM | /usr/X11R6/bin/xauth nmerge - ;" + sux_i=0 + fi + done diff --git a/x11-misc/sux/sux-1.0.ebuild b/x11-misc/sux/sux-1.0.ebuild new file mode 100644 index 000000000000..b444599cde83 --- /dev/null +++ b/x11-misc/sux/sux-1.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/sux/sux-1.0.ebuild,v 1.1 2003/04/28 14:35:19 phosphan Exp $ + +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="X11" +SLOT="0" + +KEYWORDS="~x86" + +DEPEND="virtual/x11 + sys-apps/debianutils" + +src_unpack() { + cp ${DISTDIR}/${A} . + patch < ${FILESDIR}/${P}.patch +} + +src_compile() { + echo "nothing to be done" +} + +src_install() { + exeinto /usr/X11R6/bin + doexe sux +} |