diff options
Diffstat (limited to 'mate-base/mdm')
-rw-r--r-- | mate-base/mdm/Manifest | 3 | ||||
-rw-r--r-- | mate-base/mdm/files/gdm-2.13.0.1-selinux-remove-attr.patch | 11 | ||||
-rw-r--r-- | mate-base/mdm/files/gdm-2.20.10-custom-session.patch | 42 | ||||
-rw-r--r-- | mate-base/mdm/mdm-2.0.2.ebuild | 137 | ||||
-rw-r--r-- | mate-base/mdm/mdm-2.0.3.ebuild | 137 | ||||
-rw-r--r-- | mate-base/mdm/mdm-2.0.4.ebuild | 137 |
6 files changed, 467 insertions, 0 deletions
diff --git a/mate-base/mdm/Manifest b/mate-base/mdm/Manifest new file mode 100644 index 00000000..30f0a293 --- /dev/null +++ b/mate-base/mdm/Manifest @@ -0,0 +1,3 @@ +DIST mdm-2.0.2.tar.gz 4304086 SHA256 499494373f6db31b5e98b5d69a87bbdb7fc940021984b715d5e010ad9f3aea11 SHA512 62176ad00d7662cdd1eec8bbed6654e48cf1a8740f2aa95c00a55e378f7c62d15e20f8059aaf521327651b026065ba1694ae70f5c7635b831042f0125d04dd93 WHIRLPOOL 68114ac1f9c3bdd4f557839db73461efecd90c84c93fcce79ebff6ca337b05bce7b457eb18a75ca4dbcf1428b346f2599793423d9eb5304a4e8ea1c19564ab40 +DIST mdm-2.0.3.tar.gz 4304282 SHA256 84e6ca578d41f320bcc83b3f08b76b5b3b30da19407b0051b0cfbda6ddbf1d78 SHA512 cd00c7299ca5eeffd2bc8e727aa44d98e94f3d1aa22f46bbd50c6f1b6f74672b055b7246442f62b9bffc5f5696e5051e9d8ac26f7faa9f6ee4416e51ccc5d800 WHIRLPOOL 5890daac69c4571e02c7b9a84df9ac631147be2c6738cbcae7a698041a3b5006db44591d65987c4544c24b9a2125c0852e32c601b4e83b7ab0e7d38562566f6f +DIST mdm-2.0.4.tar.gz 4304238 SHA256 cf4875345f610b4d00e8edecf454052e5099f417b16abb7549e14ac465fe0ab9 SHA512 e0ba9d3f9d5a6be0a833f5052e872e50beae4533299be26c00878bfa25f62e93ef16f2c9f9aad71fb859c91726269e448725e8e018d52243ed5a3e87281f77be WHIRLPOOL f98343e472fbc695bb6f9ad041614aa203eb550214b3e65f7f5c51e55af5bf677367c2acf9905d66897423c89b451ad02ddca8a485599d72105286e4b058dc91 diff --git a/mate-base/mdm/files/gdm-2.13.0.1-selinux-remove-attr.patch b/mate-base/mdm/files/gdm-2.13.0.1-selinux-remove-attr.patch new file mode 100644 index 00000000..0f9137da --- /dev/null +++ b/mate-base/mdm/files/gdm-2.13.0.1-selinux-remove-attr.patch @@ -0,0 +1,11 @@ +--- gdm-2.13.0.1.orig/configure.ac 2005-11-14 17:13:40.000000000 -0500 ++++ gdm-2.13.0.1/configure.ac 2005-11-18 14:59:23.000000000 -0500 +@@ -750,7 +750,7 @@ + AC_CHECK_LIB(selinux,setexeccon,/bin/true) + AC_CHECK_LIB(selinux,is_selinux_enabled,/bin/true) + AC_DEFINE(HAVE_SELINUX) +- EXTRA_DAEMON_LIBS="$EXTRA_DAEMON_LIBS -lselinux -lattr" ++ EXTRA_DAEMON_LIBS="$EXTRA_DAEMON_LIBS -lselinux" + fi + + # diff --git a/mate-base/mdm/files/gdm-2.20.10-custom-session.patch b/mate-base/mdm/files/gdm-2.20.10-custom-session.patch new file mode 100644 index 00000000..b1f70c00 --- /dev/null +++ b/mate-base/mdm/files/gdm-2.20.10-custom-session.patch @@ -0,0 +1,42 @@ +--- + fix custom sessions (see bug #216984, work done by Gilles, I'm just committing) + + config/Xsession.in | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +Index: b/config/Xsession.in +=================================================================== +--- a/config/Xsession.in ++++ b/config/Xsession.in +@@ -177,15 +177,6 @@ if [ -n "$GDM_LANG" ]; then + fi + fi + +-# run all system xinitrc shell scripts. +-if [ -d /etc/X11/xinit/xinitrc.d ]; then +- for i in /etc/X11/xinit/xinitrc.d/* ; do +- if [ -x "$i" ]; then +- . "$i" +- fi +- done +-fi +- + if [ "x$command" = "xcustom" ] ; then + if [ -x "$HOME/.xsession" ]; then + command="$HOME/.xsession" +@@ -213,6 +204,15 @@ if [ "x$command" = "xdefault" ] ; then + fi + fi + ++# run all system xinitrc shell scripts. ++if [ -d /etc/X11/xinit/xinitrc.d ]; then ++ for i in /etc/X11/xinit/xinitrc.d/* ; do ++ if [ -x "$i" ]; then ++ . "$i" ++ fi ++ done ++fi ++ + # add ssh-agent if found + sshagent="`gdmwhich ssh-agent`" + if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then diff --git a/mate-base/mdm/mdm-2.0.2.ebuild b/mate-base/mdm/mdm-2.0.2.ebuild new file mode 100644 index 00000000..9e479f00 --- /dev/null +++ b/mate-base/mdm/mdm-2.0.2.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit mate pam user + +DESCRIPTION="Mate Display Manager" +HOMEPAGE="http://mate-desktop.org" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="accessibility afs +consolekit dmx elibc_glibc ipv6 gnome-keyring pam remote selinux tcpd xinerama" +GDM_EXTRA="gdm-2.20.9-gentoo-files-r1" +SRC_URI="https://github.com/linuxmint/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + #mirror://gentoo/${GDM_EXTRA}.tar.bz2" + +RDEPEND=">=dev-libs/glib-2.12:2 + >=x11-libs/gtk+-2.6:2 + >=x11-libs/pango-1.3 + >=gnome-base/libglade-2:2.0 + >=gnome-base/libgnomecanvas-2 + >=gnome-base/librsvg-1.1.1:2 + >=dev-libs/libxml2-2.4.12:2 + >=media-libs/libart_lgpl-2.3.11 + net-libs/webkit-gtk:2 + x11-libs/gksu + x11-libs/libXi + x11-libs/libXau + x11-libs/libX11 + x11-libs/libXext + x11-apps/sessreg + x11-libs/libXdmcp + xinerama? ( x11-libs/libXinerama ) + consolekit? ( + sys-auth/consolekit + dev-libs/dbus-glib ) + accessibility? ( x11-libs/libXevie ) + afs? ( net-fs/openafs sys-libs/lwp ) + dmx? ( x11-libs/libdmx ) + gnome-keyring? ( gnome-base/gnome-keyring[pam] ) + pam? ( virtual/pam ) + !pam? ( elibc_glibc? ( sys-apps/shadow ) ) + remote? ( gnome-extra/zenity ) + selinux? ( sys-libs/libselinux ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) + >=x11-misc/xdg-utils-1.0.2-r3" +DEPEND="${RDEPEND} + dmx? ( x11-proto/dmxproto ) + xinerama? ( x11-proto/xineramaproto ) + app-text/docbook-xml-dtd:4.1.2 + sys-devel/gettext + x11-proto/inputproto + >=dev-util/intltool-0.35 + virtual/pkgconfig + >=app-text/scrollkeeper-0.1.4 + >=app-text/gnome-doc-utils-0.3.2" + +pkg_setup() { + DOCS="AUTHORS ChangeLog NEWS README TODO" + G2CONF="${G2CONF} + --with-prefetch + --sysconfdir=/etc/X11 + --localstatedir=/var + --with-xdmcp=yes + --with-pam-prefix=/etc + --disable-static + SOUND_PROGRAM=/usr/bin/mdmplay + $(use_enable ipv6) + $(use_enable remote secureremote) + $(use_with accessibility xevie) + $(use_with consolekit console-kit) + $(use_with dmx) + $(use_with selinux) + $(use_with tcpd tcp-wrappers) + $(use_with xinerama)" + + if use pam; then + G2CONF="${G2CONF} --enable-authentication-scheme=pam" + else + G2CONF="${G2CONF} --enable-console-helper=no" + if use elibc_glibc ; then + G2CONF="${G2CONF} --enable-authentication-scheme=shadow" + else + G2CONF="${G2CONF} --enable-authentication-scheme=crypt" + fi + fi + + enewgroup mdm + enewuser mdm -1 -1 /var/lib/mdm mdm +} + +src_prepare() { + # remove unneeded linker directive for selinux (#41022) + epatch "${FILESDIR}/gdm-2.13.0.1-selinux-remove-attr.patch" + + # Make custom session work, bug #216984 + epatch "${FILESDIR}/gdm-2.20.10-custom-session.patch" + + eautoreconf + + gnome2_src_prepare +} + +src_install() { + gnome2_src_install + + local gentoodir="${WORKDIR}/${GDM_EXTRA}" + + # install XDG_DATA_DIRS mdm changes + echo 'XDG_DATA_DIRS="/usr/share/mdm"' > 99xdg-mdm + doenvd 99xdg-mdm + + # add a custom sound playing script (#248253) + mv "${gentoodir}/gdmplay" mdmplay + dobin mdmplay + + # avoid file collision, bug #213118 + rm -f "${D}/usr/share/xsessions/gnome.desktop" + + # We replace the pam stuff by our own + rm -rf "${D}/etc/pam.d" + + if use pam ; then + use gnome-keyring && sed -i "s:#Keyring=::g" "${gentoodir}"/pam.d/* + + mv "${gentoodir}"/pam.d/{g,m}dm + mv "${gentoodir}"/pam.d/{g,m}dmsetup + mv "${gentoodir}"/pam.d/{g,m}dm-autologin + dopamd "${gentoodir}"/pam.d/* + sed s/gdmsetup/mdmsetup/ "${gentoodir}/security/console.apps/gdmsetup" > "${gentoodir}/security/console.apps/mdmsetup" + dopamsecurity console.apps "${gentoodir}/security/console.apps/mdmsetup" + fi + +} diff --git a/mate-base/mdm/mdm-2.0.3.ebuild b/mate-base/mdm/mdm-2.0.3.ebuild new file mode 100644 index 00000000..9e479f00 --- /dev/null +++ b/mate-base/mdm/mdm-2.0.3.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit mate pam user + +DESCRIPTION="Mate Display Manager" +HOMEPAGE="http://mate-desktop.org" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="accessibility afs +consolekit dmx elibc_glibc ipv6 gnome-keyring pam remote selinux tcpd xinerama" +GDM_EXTRA="gdm-2.20.9-gentoo-files-r1" +SRC_URI="https://github.com/linuxmint/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + #mirror://gentoo/${GDM_EXTRA}.tar.bz2" + +RDEPEND=">=dev-libs/glib-2.12:2 + >=x11-libs/gtk+-2.6:2 + >=x11-libs/pango-1.3 + >=gnome-base/libglade-2:2.0 + >=gnome-base/libgnomecanvas-2 + >=gnome-base/librsvg-1.1.1:2 + >=dev-libs/libxml2-2.4.12:2 + >=media-libs/libart_lgpl-2.3.11 + net-libs/webkit-gtk:2 + x11-libs/gksu + x11-libs/libXi + x11-libs/libXau + x11-libs/libX11 + x11-libs/libXext + x11-apps/sessreg + x11-libs/libXdmcp + xinerama? ( x11-libs/libXinerama ) + consolekit? ( + sys-auth/consolekit + dev-libs/dbus-glib ) + accessibility? ( x11-libs/libXevie ) + afs? ( net-fs/openafs sys-libs/lwp ) + dmx? ( x11-libs/libdmx ) + gnome-keyring? ( gnome-base/gnome-keyring[pam] ) + pam? ( virtual/pam ) + !pam? ( elibc_glibc? ( sys-apps/shadow ) ) + remote? ( gnome-extra/zenity ) + selinux? ( sys-libs/libselinux ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) + >=x11-misc/xdg-utils-1.0.2-r3" +DEPEND="${RDEPEND} + dmx? ( x11-proto/dmxproto ) + xinerama? ( x11-proto/xineramaproto ) + app-text/docbook-xml-dtd:4.1.2 + sys-devel/gettext + x11-proto/inputproto + >=dev-util/intltool-0.35 + virtual/pkgconfig + >=app-text/scrollkeeper-0.1.4 + >=app-text/gnome-doc-utils-0.3.2" + +pkg_setup() { + DOCS="AUTHORS ChangeLog NEWS README TODO" + G2CONF="${G2CONF} + --with-prefetch + --sysconfdir=/etc/X11 + --localstatedir=/var + --with-xdmcp=yes + --with-pam-prefix=/etc + --disable-static + SOUND_PROGRAM=/usr/bin/mdmplay + $(use_enable ipv6) + $(use_enable remote secureremote) + $(use_with accessibility xevie) + $(use_with consolekit console-kit) + $(use_with dmx) + $(use_with selinux) + $(use_with tcpd tcp-wrappers) + $(use_with xinerama)" + + if use pam; then + G2CONF="${G2CONF} --enable-authentication-scheme=pam" + else + G2CONF="${G2CONF} --enable-console-helper=no" + if use elibc_glibc ; then + G2CONF="${G2CONF} --enable-authentication-scheme=shadow" + else + G2CONF="${G2CONF} --enable-authentication-scheme=crypt" + fi + fi + + enewgroup mdm + enewuser mdm -1 -1 /var/lib/mdm mdm +} + +src_prepare() { + # remove unneeded linker directive for selinux (#41022) + epatch "${FILESDIR}/gdm-2.13.0.1-selinux-remove-attr.patch" + + # Make custom session work, bug #216984 + epatch "${FILESDIR}/gdm-2.20.10-custom-session.patch" + + eautoreconf + + gnome2_src_prepare +} + +src_install() { + gnome2_src_install + + local gentoodir="${WORKDIR}/${GDM_EXTRA}" + + # install XDG_DATA_DIRS mdm changes + echo 'XDG_DATA_DIRS="/usr/share/mdm"' > 99xdg-mdm + doenvd 99xdg-mdm + + # add a custom sound playing script (#248253) + mv "${gentoodir}/gdmplay" mdmplay + dobin mdmplay + + # avoid file collision, bug #213118 + rm -f "${D}/usr/share/xsessions/gnome.desktop" + + # We replace the pam stuff by our own + rm -rf "${D}/etc/pam.d" + + if use pam ; then + use gnome-keyring && sed -i "s:#Keyring=::g" "${gentoodir}"/pam.d/* + + mv "${gentoodir}"/pam.d/{g,m}dm + mv "${gentoodir}"/pam.d/{g,m}dmsetup + mv "${gentoodir}"/pam.d/{g,m}dm-autologin + dopamd "${gentoodir}"/pam.d/* + sed s/gdmsetup/mdmsetup/ "${gentoodir}/security/console.apps/gdmsetup" > "${gentoodir}/security/console.apps/mdmsetup" + dopamsecurity console.apps "${gentoodir}/security/console.apps/mdmsetup" + fi + +} diff --git a/mate-base/mdm/mdm-2.0.4.ebuild b/mate-base/mdm/mdm-2.0.4.ebuild new file mode 100644 index 00000000..9e479f00 --- /dev/null +++ b/mate-base/mdm/mdm-2.0.4.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit mate pam user + +DESCRIPTION="Mate Display Manager" +HOMEPAGE="http://mate-desktop.org" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="accessibility afs +consolekit dmx elibc_glibc ipv6 gnome-keyring pam remote selinux tcpd xinerama" +GDM_EXTRA="gdm-2.20.9-gentoo-files-r1" +SRC_URI="https://github.com/linuxmint/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + #mirror://gentoo/${GDM_EXTRA}.tar.bz2" + +RDEPEND=">=dev-libs/glib-2.12:2 + >=x11-libs/gtk+-2.6:2 + >=x11-libs/pango-1.3 + >=gnome-base/libglade-2:2.0 + >=gnome-base/libgnomecanvas-2 + >=gnome-base/librsvg-1.1.1:2 + >=dev-libs/libxml2-2.4.12:2 + >=media-libs/libart_lgpl-2.3.11 + net-libs/webkit-gtk:2 + x11-libs/gksu + x11-libs/libXi + x11-libs/libXau + x11-libs/libX11 + x11-libs/libXext + x11-apps/sessreg + x11-libs/libXdmcp + xinerama? ( x11-libs/libXinerama ) + consolekit? ( + sys-auth/consolekit + dev-libs/dbus-glib ) + accessibility? ( x11-libs/libXevie ) + afs? ( net-fs/openafs sys-libs/lwp ) + dmx? ( x11-libs/libdmx ) + gnome-keyring? ( gnome-base/gnome-keyring[pam] ) + pam? ( virtual/pam ) + !pam? ( elibc_glibc? ( sys-apps/shadow ) ) + remote? ( gnome-extra/zenity ) + selinux? ( sys-libs/libselinux ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) + >=x11-misc/xdg-utils-1.0.2-r3" +DEPEND="${RDEPEND} + dmx? ( x11-proto/dmxproto ) + xinerama? ( x11-proto/xineramaproto ) + app-text/docbook-xml-dtd:4.1.2 + sys-devel/gettext + x11-proto/inputproto + >=dev-util/intltool-0.35 + virtual/pkgconfig + >=app-text/scrollkeeper-0.1.4 + >=app-text/gnome-doc-utils-0.3.2" + +pkg_setup() { + DOCS="AUTHORS ChangeLog NEWS README TODO" + G2CONF="${G2CONF} + --with-prefetch + --sysconfdir=/etc/X11 + --localstatedir=/var + --with-xdmcp=yes + --with-pam-prefix=/etc + --disable-static + SOUND_PROGRAM=/usr/bin/mdmplay + $(use_enable ipv6) + $(use_enable remote secureremote) + $(use_with accessibility xevie) + $(use_with consolekit console-kit) + $(use_with dmx) + $(use_with selinux) + $(use_with tcpd tcp-wrappers) + $(use_with xinerama)" + + if use pam; then + G2CONF="${G2CONF} --enable-authentication-scheme=pam" + else + G2CONF="${G2CONF} --enable-console-helper=no" + if use elibc_glibc ; then + G2CONF="${G2CONF} --enable-authentication-scheme=shadow" + else + G2CONF="${G2CONF} --enable-authentication-scheme=crypt" + fi + fi + + enewgroup mdm + enewuser mdm -1 -1 /var/lib/mdm mdm +} + +src_prepare() { + # remove unneeded linker directive for selinux (#41022) + epatch "${FILESDIR}/gdm-2.13.0.1-selinux-remove-attr.patch" + + # Make custom session work, bug #216984 + epatch "${FILESDIR}/gdm-2.20.10-custom-session.patch" + + eautoreconf + + gnome2_src_prepare +} + +src_install() { + gnome2_src_install + + local gentoodir="${WORKDIR}/${GDM_EXTRA}" + + # install XDG_DATA_DIRS mdm changes + echo 'XDG_DATA_DIRS="/usr/share/mdm"' > 99xdg-mdm + doenvd 99xdg-mdm + + # add a custom sound playing script (#248253) + mv "${gentoodir}/gdmplay" mdmplay + dobin mdmplay + + # avoid file collision, bug #213118 + rm -f "${D}/usr/share/xsessions/gnome.desktop" + + # We replace the pam stuff by our own + rm -rf "${D}/etc/pam.d" + + if use pam ; then + use gnome-keyring && sed -i "s:#Keyring=::g" "${gentoodir}"/pam.d/* + + mv "${gentoodir}"/pam.d/{g,m}dm + mv "${gentoodir}"/pam.d/{g,m}dmsetup + mv "${gentoodir}"/pam.d/{g,m}dm-autologin + dopamd "${gentoodir}"/pam.d/* + sed s/gdmsetup/mdmsetup/ "${gentoodir}/security/console.apps/gdmsetup" > "${gentoodir}/security/console.apps/mdmsetup" + dopamsecurity console.apps "${gentoodir}/security/console.apps/mdmsetup" + fi + +} |