diff options
author | root | 2006-04-24 09:03:08 -0500 |
---|---|---|
committer | root | 2006-04-24 09:03:08 -0500 |
commit | 84d8b510ac289af0a43bfa9e110844af27a90196 (patch) | |
tree | d7093929b954dd2f71114bff270755e18f737eb1 /gnome1-libs/gdm |
initial commit from stable 0.3
Diffstat (limited to 'gnome1-libs/gdm')
-rwxr-xr-x | gnome1-libs/gdm/BUILD | 28 | ||||
-rwxr-xr-x | gnome1-libs/gdm/CONFLICTS | 1 | ||||
-rwxr-xr-x | gnome1-libs/gdm/DEPENDS | 7 | ||||
-rwxr-xr-x | gnome1-libs/gdm/DETAILS | 51 | ||||
-rw-r--r-- | gnome1-libs/gdm/HISTORY | 60 | ||||
-rwxr-xr-x | gnome1-libs/gdm/TRIGGERS | 5 | ||||
-rwxr-xr-x | gnome1-libs/gdm/gdm.patch | 30 | ||||
-rwxr-xr-x | gnome1-libs/gdm/init.d/gdm | 34 | ||||
-rwxr-xr-x | gnome1-libs/gdm/init.d/gdm.sh | 27 | ||||
-rwxr-xr-x | gnome1-libs/gdm/pam.d/gdm | 6 | ||||
-rw-r--r-- | gnome1-libs/gdm/pam.d/gdm-autologin | 7 |
11 files changed, 256 insertions, 0 deletions
diff --git a/gnome1-libs/gdm/BUILD b/gnome1-libs/gdm/BUILD new file mode 100755 index 0000000000..e826a89c80 --- /dev/null +++ b/gnome1-libs/gdm/BUILD @@ -0,0 +1,28 @@ +( + + if spell_ok linux-pam; then SCHEME="pam" + elif spell_ok shadow; then SCHEME="shadow" + else SCHEME="auto" + fi + + AUTH_SCHEME="--enable-authentication-scheme=$SCHEME" + + sedit "s/ eu / /" docs/Makefile.in + + groupadd gdm 2>/dev/null + useradd gdm -g gdm 2>/dev/null + + patch -p 0 < $SCRIPT_DIRECTORY/gdm.patch && + + ./configure --prefix=${INSTALL_ROOT}/usr \ + --localstatedir=${INSTALL_ROOT}/var \ + --sysconfdir=${INSTALL_ROOT}/etc \ + $AUTH_SCHEME $OPTS && + make && + prepare_install && + make install && + mkdir -p ${INSTALL_ROOT}/var/gdm && + chown -R gdm:gdm ${INSTALL_ROOT}/var/gdm && + chmod 750 ${INSTALL_ROOT}/var/gdm + +) > $C_FIFO 2>&1 diff --git a/gnome1-libs/gdm/CONFLICTS b/gnome1-libs/gdm/CONFLICTS new file mode 100755 index 0000000000..844e46dd45 --- /dev/null +++ b/gnome1-libs/gdm/CONFLICTS @@ -0,0 +1 @@ +conflicts gdm2 diff --git a/gnome1-libs/gdm/DEPENDS b/gnome1-libs/gdm/DEPENDS new file mode 100755 index 0000000000..b5fa87cc88 --- /dev/null +++ b/gnome1-libs/gdm/DEPENDS @@ -0,0 +1,7 @@ +depends perl && +depends libglade && +depends gnome-libs && +depends gdk-pixbuf && +depends scrollkeeper && +optional_depends "linux-pam" "" "" "for PAM authentication" && +optional_depends "shadow" "" "" "To use shadow passwords" diff --git a/gnome1-libs/gdm/DETAILS b/gnome1-libs/gdm/DETAILS new file mode 100755 index 0000000000..260be75350 --- /dev/null +++ b/gnome1-libs/gdm/DETAILS @@ -0,0 +1,51 @@ + SPELL=gdm + VERSION=2.2.5.5 + BRANCH=`echo $VERSION|cut -d . -f 1,2` + SOURCE=$SPELL-$VERSION.tar.bz2 +SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION + SOURCE_URL[0]=$GNOME_URL/sources/$SPELL/$BRANCH/$SOURCE + SOURCE_URL[1]=ftp://ftp.gnome.org/pub/GNOME/sources/$SPELL/$BRANCH/$SOURCE + MD5[0]='d3b315487362304aaadcd562e66f5650' + MAINTAINER=jon-sven@frisurf.no + WEB_SITE=http://www.gnome.org + LICENSE[0]=GPL + ENTERED=20010922 + UPDATED=20030822 + SHORT="gdm, Gnome Display Manager, is an improved xdm." +cat << EOF +The Gnome Display Manager is a re-implementation of the well known xdm +program. gdm 2.2 implements all significant features required for +managing local and remote displays. + +gdm daemon: + o X Authentication + o Default and per-display initialization scripts + o Pre and post session scripts + o Pluggable Authentication Modules + o XDMCP + o TCP Wrappers for access control + o Autologin for single user workstations + o Timed login for kiosks and public terminals + +gdmlogin: + o Logo image + o Background image/color + o Halt and reboot + o Iconified login window + o Session selection support + o Language selection support + o GNOME session selection support + o Face browser + o Background program support + o Xinerama support + +gdmchooser: + o Visual host browser + o Customizable icons + +gdmconfig: + o GUI way to configure everything about GDM + +Most features can be turned on and off in the configuration file by +the sysadmin. +EOF diff --git a/gnome1-libs/gdm/HISTORY b/gnome1-libs/gdm/HISTORY new file mode 100644 index 0000000000..26e96ceffa --- /dev/null +++ b/gnome1-libs/gdm/HISTORY @@ -0,0 +1,60 @@ +2005-01-29 Arjan Bouter <abouter@sourcemage.org> + * BUILD: spell_installed converted to spell_ok + +2005-01-23 Arjan Bouter <abouter@sourcemage.org> + * lowercase linux-pam + +2004-02-22 Robin Cook <rcook@wyrms.net> + * DEPENDS: added scrollkeeper + added gdk-pixbuf + +2003-08-22 hgg <hgreig@bigpond.net.au> + * DETAILS: update UPDATED purely for test grimoire integration. + +2003-08-10 hgg <hgreig@bigpond.net.au> + * TRIGGERS: Revert on_dispel Linux-PAM cast_self (doesn't work the way it is documented) + +2003-07-28 Robin Cook <rcook@wyrms.net> + * OTHER: update to new init system + +2003-07-26 hgg <hgreig@bigpond.net.au> + * TRIGGERS: update TRIGGERS for Linux-PAM + +2003-05-27 Robin Cook <rcook@wyrms.net> + * BUILD: added ${INSTALL_ROOT} to BUILD + +2003-05-01 Rob Verkuylen <rob@verkuylen.net> + * OTHER: Copied /init.d/gdm.sh to /init.d/gdm + Step 1/3 in bug#: 3115 + +2003-04-08 M.L. <mlubrano@sourcemage.org> + * BUILD: Added $OPTS + +2003-03-31 Eric Sandall <eric@sandall.us> + * OTHER: Moved gdm.sh from init.d to gdm + +2002-10-23 Robin Cook <rcook@wyrms.net> + * DETAILS: Add MD5 + +2002-09-20 Jon Svendsen <jon-sven@frisurf.no> + * DETAILS: URLs now match new ftp.gnome.org layout + +2002-08-03 Jon Svendsen <jon-sven@frisurf.no> + * OTHER: Added PAM configuration for autologin + +2002-06-19 Jon Svendsen <jon-sven@frisurf.no> + * DETAILS: Added licensing information + +2002-03-21 Jon Svendsen <jon-sven@frisurf.no> + * DETAILS: updated to 2.2.5.5 + * BUILD: required small sedit hack in BUILD + +2002-03-13 Jon Svendsen <jon-sven@frisurf.no> + * HISTORY: renamed Changelog to HISTORY + * DETAILS: Added MAINTAINER=myself + fixed backup url + +2002-01-06 Kyle Sallee <anonymous@sourcemage.org> + * OTHER: created a gdm patch so that gdm would not install it's pam + configuration. + diff --git a/gnome1-libs/gdm/TRIGGERS b/gnome1-libs/gdm/TRIGGERS new file mode 100755 index 0000000000..c8d3360deb --- /dev/null +++ b/gnome1-libs/gdm/TRIGGERS @@ -0,0 +1,5 @@ +for i in $(grep $SPELL $DEPENDS_STATUS); +do if [ $(echo $i | cut -d: -f1) = "$SPELL" ] && [ $(echo $i | cut -d: -f2) == "linux-pam" ] && [ $(echo $i | cut -d: -f3 ) = "on" ] ; + then on_cast linux-pam cast_self + fi +done diff --git a/gnome1-libs/gdm/gdm.patch b/gnome1-libs/gdm/gdm.patch new file mode 100755 index 0000000000..a7f8a12c5a --- /dev/null +++ b/gnome1-libs/gdm/gdm.patch @@ -0,0 +1,30 @@ +diff -u config/Makefile.in config/Makefile.in +--- config/Makefile.in Mon Dec 31 20:03:19 2001 ++++ config/Makefile.in Sun Jan 6 15:17:15 2002 +@@ -129,5 +129,4 @@ + ORBIT_LIBS = @ORBIT_LIBS@ + PACKAGE = @PACKAGE@ +-PAM_PREFIX = @PAM_PREFIX@ + PIXBUF_CFLAGS = @PIXBUF_CFLAGS@ + PIXBUF_LIBS = @PIXBUF_LIBS@ +@@ -365,20 +364,4 @@ + fi + +- system=`uname`; \ +- if test -f /usr/include/security/pam_appl.h; then \ +- if test '!' -d $(DESTDIR)$(PAM_PREFIX)/pam.d; then \ +- $(mkinstalldirs) $(DESTDIR)$(PAM_PREFIX)/pam.d; \ +- chmod 755 $(DESTDIR)$(PAM_PREFIX)/pam.d; \ +- fi; \ +- if test $$system = Linux && test '!' -f $(DESTDIR)$(PAM_PREFIX)/pam.d/gdm; then \ +- $(INSTALL_DATA) gdm $(DESTDIR)$(PAM_PREFIX)/pam.d/gdm; \ +- fi; \ +- if test $$system = Linux && test '!' -f $(DESTDIR)$(PAM_PREFIX)/pam.d/gdm-autologin; then \ +- $(INSTALL_DATA) gdm-autologin $(DESTDIR)$(PAM_PREFIX)/pam.d/gdm-autologin; \ +- fi; \ +- if test $$system = SunOS; then \ +- echo "Please add PAM authentication for gdm and gdm-autologin in $(PAM_PREFIX)/pam.conf!"; \ +- fi; \ +- fi + + # Tell versions [3.59,3.63) of GNU make to not export all variables. diff --git a/gnome1-libs/gdm/init.d/gdm b/gnome1-libs/gdm/init.d/gdm new file mode 100755 index 0000000000..6c33733795 --- /dev/null +++ b/gnome1-libs/gdm/init.d/gdm @@ -0,0 +1,34 @@ +#!/bin/bash +# +# gdm.sh Load the GDM login manager at boot +# +# Written for Source Mage GNU/Linux +# +# Version: @(#)gdm.sh 1.0.0 2002-10-02 Eric Sandall <eric@sandall.us> +# Version: @(#)gdm.sh 1.0.1 2003-03-28 Eric Sandall <eric@sandall.us> +# Now properly kills all instances of gdm (since they are not just named gdm) +# + +RUNLEVEL=5 +PROVIDES=display_manager + +. /etc/init.d/smgl_init + +case $1 in + start) echo "$1ing gdm" + gdm + evaluate_retval + ;; + + stop) echo "$1ping gdm" + pkill "^gdm*" + evaluate_retval + ;; + + restart) stop $0 && + start $0 + ;; + + *) echo "Usage: $0 {start|stop|restart}" + ;; +esac diff --git a/gnome1-libs/gdm/init.d/gdm.sh b/gnome1-libs/gdm/init.d/gdm.sh new file mode 100755 index 0000000000..18cb6a1d29 --- /dev/null +++ b/gnome1-libs/gdm/init.d/gdm.sh @@ -0,0 +1,27 @@ +#!/bin/sh +# +# gdm.sh Load the GDM login manager at boot +# +# Written for Source Mage GNU/Linux +# +# Version: @(#)gdm.sh 1.0.0 2002-10-02 Eric Sandall <eric@sandall.us> +# Version: @(#)gdm.sh 1.0.1 2003-03-28 Eric Sandall <eric@sandall.us> +# Now properly kills all instances of gdm (since they are not just named gdm) +# + +case $1 in + start) echo "$1ing gdm" + gdm + ;; + + stop) echo "$1ping gdm" + pkill "^gdm*" + ;; + + restart) stop $0 && + start $0 + ;; + + *) echo "Usage: $0 {start|stop|restart}" + ;; +esac diff --git a/gnome1-libs/gdm/pam.d/gdm b/gnome1-libs/gdm/pam.d/gdm new file mode 100755 index 0000000000..059479548b --- /dev/null +++ b/gnome1-libs/gdm/pam.d/gdm @@ -0,0 +1,6 @@ +# +# The PAM configuration file for the `gdm' service +# +auth required pam_unix.so +account required pam_unix.so +session required pam_unix.so diff --git a/gnome1-libs/gdm/pam.d/gdm-autologin b/gnome1-libs/gdm/pam.d/gdm-autologin new file mode 100644 index 0000000000..f342703957 --- /dev/null +++ b/gnome1-libs/gdm/pam.d/gdm-autologin @@ -0,0 +1,7 @@ +# +# The PAM configuration file for the `gdm-autologin' service +# +auth required pam_env.so +auth required pam_permit.so +account required pam_unix.so +session required pam_unix.so |