summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Hallendal <hallski@gentoo.org>2001-09-12 13:36:12 +0000
committerMikael Hallendal <hallski@gentoo.org>2001-09-12 13:36:12 +0000
commit2506557f7f1d3154d3ecd72e3c271b2efaa1529e (patch)
tree627f05b5acda930725bd0462714b0a9563f6bedb /gnome-apps
parentadded jmk (neep) fonts. These are perfect for small displays (diff)
downloadhistorical-2506557f7f1d3154d3ecd72e3c271b2efaa1529e.tar.gz
historical-2506557f7f1d3154d3ecd72e3c271b2efaa1529e.tar.bz2
historical-2506557f7f1d3154d3ecd72e3c271b2efaa1529e.zip
added -nolisten tcp to default conf
Diffstat (limited to 'gnome-apps')
-rw-r--r--gnome-apps/gdm/files/digest-gdm-2.2.3.2-r11
-rw-r--r--gnome-apps/gdm/gdm-2.2.3.2-r1.ebuild91
2 files changed, 92 insertions, 0 deletions
diff --git a/gnome-apps/gdm/files/digest-gdm-2.2.3.2-r1 b/gnome-apps/gdm/files/digest-gdm-2.2.3.2-r1
new file mode 100644
index 000000000000..a2429bb440a0
--- /dev/null
+++ b/gnome-apps/gdm/files/digest-gdm-2.2.3.2-r1
@@ -0,0 +1 @@
+MD5 5e05b0b4722061311121f63e02907b50 gdm-2.2.3.2.tar.gz
diff --git a/gnome-apps/gdm/gdm-2.2.3.2-r1.ebuild b/gnome-apps/gdm/gdm-2.2.3.2-r1.ebuild
new file mode 100644
index 000000000000..d49d29289c50
--- /dev/null
+++ b/gnome-apps/gdm/gdm-2.2.3.2-r1.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Mikael Hallendal <hallski@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/gnome-apps/gdm/gdm-2.2.3.2-r1.ebuild,v 1.1 2001/09/12 13:36:12 hallski Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="gdm"
+SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/gdm/${A}"
+HOMEPAGE="http://www.gnome.org/"
+
+DEPEND=">=sys-libs/pam-0.72
+ >=sys-apps/tcp-wrappers-7.6
+ >=gnome-base/gnome-libs-1.2.4
+ >=gnome-base/libglade-0.16-r1
+ >=media-libs/gdk-pixbuf-0.11"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/daemon
+ cp gdm.h gdm.h.orig
+
+ sed -e "s:/usr/bin/X11:/usr/X11R6/bin:g" \
+ gdm.h.orig > gdm.h
+
+ rm gdm.h.orig
+}
+
+src_compile() {
+ try ./configure --host=${CHOST} --prefix=/opt/gnome \
+ --sysconfdir=/etc/X11 --localstatedir=/var/lib --with-pam-prefix=/etc
+
+ try pmake
+}
+
+src_install() {
+ try make DESTDIR=${D} sysconfdir=${D}/etc/X11 localstatedir=${D}/var/lib install
+
+ rm -rf ${D}/etc/X11/pam.d
+
+ # log
+ dodir /var
+ dodir /var/lib
+ dodir /var/lib/gdm
+ chown gdm:gdm ${D}/var/lib/gdm
+ chmod 750 ${D}/var/lib/gdm
+
+ # pam startup
+ dodir /etc/pam.d
+ cd ${FILESDIR}/2.2.3/pam.d
+ insinto /etc/pam.d
+ doins gdm
+
+ # gnomerc
+ dodir /etc/X11/gdm
+ cd ${FILESDIR}/2.2.3
+ exeinto /etc/X11/gdm
+ doexe gnomerc
+
+ cd ${D}/etc/X11/gdm
+ for i in Init/Default PostSession/Default PreSession/Default gdm.conf
+ do
+ cp $i $i.orig
+ sed -e "s:/usr/bin/X11:/usr/X11R6/bin:g" $i.orig > $i
+ rm $i.orig
+ done
+
+ cd ${D}/etc/X11/gdm
+ cp gdm.conf gdm.conf.orig
+ sed -e "s:0=/usr/X11R6/bin/X:0=/usr/X11R6/bin/X -dpi 100 -nolisten tcp dpms vt7:g" \
+ -e "s:GtkRC=/opt/gnome/share/themes/Default/gtk/gtkrc:GtkRC=/usr/X11R6/share/themes/gtk/gtkrc:g" \
+ -e "s:BackgroundColor=#007777:BackgroundColor=#2a3f5b:g" \
+ -e "s:TitleBar=true:TitleBar=false:g" \
+ gdm.conf.orig > gdm.conf
+
+ rm gdm.conf.orig
+
+ cd ${S}
+ dodoc AUTHORS COPYING ChangeLog NEWS README* RELEASENOTES TODO
+}
+
+pkg_postinst()
+{
+ rc-update add xdm
+}
+
+pkg_prerm()
+{
+ rc-update del xdm
+}
+