public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Weber" <xmw@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/xmw:master commit in: x11-misc/trivdm/files/, x11-misc/trivdm/
Date: Wed, 24 Feb 2016 12:18:25 +0000 (UTC)	[thread overview]
Message-ID: <1456316295.b6aae916567dd3d1a128b3dfc25a2a622f71e924.xmw@gentoo> (raw)

commit:     b6aae916567dd3d1a128b3dfc25a2a622f71e924
Author:     Michael Weber <michael <AT> xmw <DOT> de>
AuthorDate: Wed Feb 24 12:18:15 2016 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Wed Feb 24 12:18:15 2016 +0000
URL:        https://gitweb.gentoo.org/dev/xmw.git/commit/?id=b6aae916

x11-misc/trivdm: drop old versions

Package-Manager: portage-2.2.27
Manifest-Sign-Key: 0x71D573A82F434065

 x11-misc/trivdm/files/trivdm-0_p20130707           | 63 ---------------------
 .../{trivdm-0_p20150709 => trivdm-0_p20160224}     |  0
 x11-misc/trivdm/trivdm-0_p20130707-r1.ebuild       | 64 ----------------------
 x11-misc/trivdm/trivdm-0_p20150709.ebuild          | 64 ----------------------
 4 files changed, 191 deletions(-)

diff --git a/x11-misc/trivdm/files/trivdm-0_p20130707 b/x11-misc/trivdm/files/trivdm-0_p20130707
deleted file mode 100644
index 52eecad..0000000
--- a/x11-misc/trivdm/files/trivdm-0_p20130707
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/bin/zsh
-# trivdm by Christian Neukirchen, Michael Weber root@fs.lmu.de
-# wget http://xmw.de/tmp/trivdm -O /usr/local/bin/trivdm
-# c7:2345:respawn:/usr/bin/openvt -c 7 -f -w /usr/local/bin/trivdm
-# symlinks to /usr/local/bin/{gdmflexiserver,w} and /etc/local.d/trivdm.start
-# groupadd --system trivdm ; useradd --system -g trivdm -G wheel trivdm 
-# chmod u+s /usr/bin/chvt
-
-NAME=$(basename $0) ; USER=trivdm ; LANG=C ; TTYNUM=7
-log() { echo "$@" | logger -s -t $NAME }
-trap 'read -s -k -t 10 "?Press any key to continue ..." ; exit -1 ' ZERR
-w() { ps haxo ruser,tty,comm | egrep -v "$USER|tty${TTYNUM}|agetty|login$" | \
-    awk '{ if ( $3 == "X" || $2 != "?" ) print $1" "$2 }' | sort -u | \
-    awk '{ ORS="" ; if ( u != $1 ) { u=$1 ; print "\n"u"\t" } ; print $2"," }' \
-    | sed -e '1d ; s:,$:: ; $a\' }
-
-case $NAME in
-    gdmflexiserver)
-	[ "$1" = "-ls" ] && exec chvt 7 || exec /usr/bin/gdmflexiserver $@ ;;
-    trivdm.start)
-	chvt ${TTYNUM} ; exec setfont sun12x22 ;;
-    w)
-	w ; exec /usr/bin/w $@ ;;
-    *)
-	[ "$1" = "update" ] && exec wget http://xmw.de/tmp/$NAME -O $0
-	[ "$(id -un)" = "$USER" ] || exec su -c $0 $USER ;;
-esac
-
-clear
-toilet --font mono9 --metal $(hostname) | awk \
-    '{a[NR%8]=a[NR%8] $0} END {for (i=1;i<=NR;i++) print a[i];print a[0]}' \
-    | sed 's/ *$//g;/^$/d' ; echo
-( uname -srp ; echo "  (" ; date +%H:%M:%S ; echo ")" ) | tr -d '\n'
-print -n "\n\nUsage:  <username>[/<session type>]|!halt|!reboot
-	<session type> in ~/.xinitrc (default), Gnome (fallback),\n\t"
-find /etc/X11/Sessions -type f ! -name Gnome | \
-    awk -F / 'BEGIN { ORS=", " } { print $5 }' | sed 's:, $:\n\n:'
-print "connected users:\n$({ w | grep '' || print '<none>'} | sed 's:^:\t:')\n"
-read "login?$(hostname)/tty7 x11 login: "
-
-case $login in
-    "" ) [ ] ;;
-    !* ) if [ -z "$(w)" ] ; then sudo -n "${login[2,-1]}"
-	else log "$login denied, users logged in!" ; fi ; [ ] ;;
-    */* ) xclient=$(find /etc/X11/Sessions -iname "*${login#*/}*" \
-	    -type f | sort | head -n 1)
-	[ -n "$xclient" ] || { log invalid session ; [ ] }
-	login=${login%/*} ;;
-    * ) xclient="~/.xinitrc" ;;
-esac
-
-id "$login" 2>&1 >/dev/null | sed "s|^id:|$NAME:|"
-id "$login" 2>/dev/null >/dev/null 
-
-tty=$(ps h -eo ruser,tty,comm | grep "^$login " | awk '$3=="X" {print $2}')
-[ "$tty" ] && { log switching to console $tty ; chvt "${tty#tty}" ; [ ] }
-
-dpy=0 ; while [ -e /tmp/.X11-unix/X$dpy ] ; do (( dpy += 1 )) done
-su -l -c "export xclient=$xclient ; 
-    [ -x \"\$xclient\" ] || xclient=/etc/X11/Sessions/Gnome ; 
-    /usr/sbin/daemonize -a -e ~/.xorg-stderr -o ~/.xorg-stdout -c ~ \
-        /usr/bin/startx \$xclient -- :$dpy -retro" $login 
-[ ]

diff --git a/x11-misc/trivdm/files/trivdm-0_p20150709 b/x11-misc/trivdm/files/trivdm-0_p20160224
similarity index 100%
rename from x11-misc/trivdm/files/trivdm-0_p20150709
rename to x11-misc/trivdm/files/trivdm-0_p20160224

diff --git a/x11-misc/trivdm/trivdm-0_p20130707-r1.ebuild b/x11-misc/trivdm/trivdm-0_p20130707-r1.ebuild
deleted file mode 100644
index e6060e3..0000000
--- a/x11-misc/trivdm/trivdm-0_p20130707-r1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-inherit eutils readme.gentoo user
-
-DESCRIPTION="trivial display manager"
-HOMEPAGE="http://xmw.de/tmp/trivdm"
-SRC_URI=""
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="app-admin/sudo
-	app-misc/toilet
-	app-shells/zsh
-	sys-apps/daemonize
-	sys-apps/kbd"
-DEPEND=""
-
-S=${WORKDIR}
-
-pkg_postinst() {
-	enewgroup ${PN}
-	enewuser ${PN} -1 /usr/bin/${PN} -1 ${PN}
-
-	readme.gentoo_print_elog
-}
-
-src_install() {
-	newbin "${FILESDIR}"/${P} ${PN}
-
-	echo "CONFIG_PROTECT=\"/usr/bin/${PN}\"" > "${T}"/90${PN} || die
-	doenvd "${T}"/90${PN}
-
-	echo "#${PN} ALL=(root) NOPASSWD: /sbin/reboot,/sbin/halt" \
-		> "${T}"/${PN} || die
-	insopts -m0440
-	insinto /etc/sudoers.d
-	doins "${T}"/${PN}
-
-	readme.gentoo_create_doc
-}
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="Your system needs 5 minor adjustments that
-must not be made by Gentoo portage system:
-1) enable xscreensaver->newlogin compartibility
-    ln -s ../../bin/${PN} /usr/local/bin/gdmflexiserver
-2) tune w to display remote login sessions and daemonized X11
-    ln -s ../../bin/${PN} /usr/local/bin/w
-3) set a fancy font on framebuffer console on startup
-    ln -s ../../usr/bin/${PN} /etc/local.d/${PN}.start
-4) grant chvt to everyone
-    chmod u+s /usr/bin/chvt
-5) updated /etc/inittab (etc-update, dispatch-conf, ...) and reload
-    echo \"c7:2345:respawn:/usr/bin/openvt -c 7 -f -w /usr/bin/trivdm\" \
-		> /etc/inittab 
-    kill -HUP 1
-Install app-admin/sudo and review /etc/sudoers.d/${PN}"

diff --git a/x11-misc/trivdm/trivdm-0_p20150709.ebuild b/x11-misc/trivdm/trivdm-0_p20150709.ebuild
deleted file mode 100644
index 563e111..0000000
--- a/x11-misc/trivdm/trivdm-0_p20150709.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-inherit eutils readme.gentoo user
-
-DESCRIPTION="trivial display manager"
-HOMEPAGE="http://xmw.de/tmp/trivdm"
-SRC_URI=""
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="app-admin/sudo
-	app-misc/toilet
-	app-shells/zsh
-	sys-apps/daemonize
-	sys-apps/kbd"
-DEPEND=""
-
-S=${WORKDIR}
-
-pkg_postinst() {
-	enewgroup ${PN}
-	enewuser ${PN} -1 /usr/bin/${PN} -1 ${PN}
-
-	readme.gentoo_print_elog
-}
-
-src_install() {
-	newbin "${FILESDIR}"/${P} ${PN}
-
-	echo "CONFIG_PROTECT=\"/usr/bin/${PN}\"" > "${T}"/90${PN} || die
-	doenvd "${T}"/90${PN}
-
-	echo "#${PN} ALL=(root) NOPASSWD: /sbin/reboot,/sbin/halt" \
-		> "${T}"/${PN} || die
-	insopts -m0440
-	insinto /etc/sudoers.d
-	doins "${T}"/${PN}
-
-	readme.gentoo_create_doc
-}
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="Your system needs 5 minor adjustments that
-must not be made by Gentoo portage system:
-1) enable xscreensaver->newlogin compartibility
-    ln -s ../../bin/${PN} /usr/local/bin/gdmflexiserver
-2) tune w to display remote login sessions and daemonized X11
-    ln -s ../../bin/${PN} /usr/local/bin/w
-3) set a fancy font on framebuffer console on startup
-    ln -s ../../usr/bin/${PN} /etc/local.d/${PN}.start
-4) grant chvt to everyone
-    chmod u+s /usr/bin/chvt
-5) updated /etc/inittab (etc-update, dispatch-conf, ...) and reload
-    echo \"c7:2345:respawn:/usr/bin/openvt -c 7 -f -w /usr/bin/trivdm\" \
-		> /etc/inittab 
-    kill -HUP 1
-Install app-admin/sudo and review /etc/sudoers.d/${PN}"


             reply	other threads:[~2016-02-24 12:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-24 12:18 Michael Weber [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-07-09  7:17 [gentoo-commits] dev/xmw:master commit in: x11-misc/trivdm/files/, x11-misc/trivdm/ Michael Weber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1456316295.b6aae916567dd3d1a128b3dfc25a2a622f71e924.xmw@gentoo \
    --to=xmw@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox