diff options
author | Dan Armak <danarmak@gentoo.org> | 2005-01-15 02:24:42 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2005-01-15 02:24:42 +0000 |
commit | a991c64f8c843d16a7f43b8cb8a15e7206c2b78f (patch) | |
tree | ad1c8a59a418f4d87e54ca58e306bf33d3596cda /kde-base/kdm | |
parent | (Manifest recommit) (diff) | |
download | gentoo-2-a991c64f8c843d16a7f43b8cb8a15e7206c2b78f.tar.gz gentoo-2-a991c64f8c843d16a7f43b8cb8a15e7206c2b78f.tar.bz2 gentoo-2-a991c64f8c843d16a7f43b8cb8a15e7206c2b78f.zip |
kde 3.4 split ebuilds, all masked
Diffstat (limited to 'kde-base/kdm')
-rw-r--r-- | kde-base/kdm/ChangeLog | 12 | ||||
-rw-r--r-- | kde-base/kdm/Manifest | 8 | ||||
-rw-r--r-- | kde-base/kdm/files/agent-shutdown.sh | 13 | ||||
-rw-r--r-- | kde-base/kdm/files/agent-startup.sh | 13 | ||||
-rw-r--r-- | kde-base/kdm/files/digest-kdm-3.4.0_beta1 | 3 | ||||
-rw-r--r-- | kde-base/kdm/files/kde-np.pam | 12 | ||||
-rw-r--r-- | kde-base/kdm/files/kde.pam | 12 | ||||
-rw-r--r-- | kde-base/kdm/kdm-3.4.0_beta1.ebuild | 62 | ||||
-rw-r--r-- | kde-base/kdm/metadata.xml | 5 |
9 files changed, 140 insertions, 0 deletions
diff --git a/kde-base/kdm/ChangeLog b/kde-base/kdm/ChangeLog new file mode 100644 index 000000000000..21b02b071b88 --- /dev/null +++ b/kde-base/kdm/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for kde-base/kdm +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/ChangeLog,v 1.1 2005/01/15 02:24:32 danarmak Exp $ + +*kdm-3.4.0_beta1 (15 Jan 2005) + + 15 Jan 2005; Dan Armak <danarmak@gentoo.org> +metadata.xml, + +files/agent-shutdown.sh, +files/agent-startup.sh, +files/kde-np.pam, + +files/kde.pam, +kdm-3.4.0_beta1.ebuild: + Adding the split ebuilds to portage. For KDE 3.4, we've created separate + ebuilds for all the KDE apps. + diff --git a/kde-base/kdm/Manifest b/kde-base/kdm/Manifest new file mode 100644 index 000000000000..856ce9352bbd --- /dev/null +++ b/kde-base/kdm/Manifest @@ -0,0 +1,8 @@ +MD5 b5f7310334df85226b60031ebb1a5cbb kdm-3.4.0_beta1.ebuild 1409 +MD5 b5f7310334df85226b60031ebb1a5cbb kdm-3.4.0_alpha1.ebuild 1409 +MD5 99206d9cd7498b2daddb8b1099b0b24b files/digest-kdm-3.4.0_alpha1 69 +MD5 b048371a651391ef2bb4166e40e6adff files/kde.pam 405 +MD5 ec8a5f0c1ed08c8b554530920490e63e files/digest-kdm-3.4.0_beta1 216 +MD5 ca0fc4bf60b72dd1b8d42cb7e2be5a75 files/agent-shutdown.sh 204 +MD5 2b5419b0b173138e22fe03f4157d5660 files/kde-np.pam 379 +MD5 510d05672fcad238e92db44fbfa65f89 files/agent-startup.sh 209 diff --git a/kde-base/kdm/files/agent-shutdown.sh b/kde-base/kdm/files/agent-shutdown.sh new file mode 100644 index 000000000000..c2095806c68a --- /dev/null +++ b/kde-base/kdm/files/agent-shutdown.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# +# Customized agents shutdown file +# +#if [ -x /usr/bin/gpg-agent ]; then +# eval "$(/usr/bin/gpg-agent -k)" +#fi +# +#if [ -x /usr/bin/ssh-agent ]; then +# eval "$(/usr/bin/ssh-agent -k)" +#fi +# + diff --git a/kde-base/kdm/files/agent-startup.sh b/kde-base/kdm/files/agent-startup.sh new file mode 100644 index 000000000000..bf788b003549 --- /dev/null +++ b/kde-base/kdm/files/agent-startup.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# +# Customized agents startup file +# +#if [ -x /usr/bin/gpg-agent ]; then +# eval "$(/usr/bin/gpg-agent --daemon)" +#fi +# +#if [ -x /usr/bin/ssh-agent ]; then +# eval "$(/usr/bin/ssh-agent -s)" +#fi +# + diff --git a/kde-base/kdm/files/digest-kdm-3.4.0_beta1 b/kde-base/kdm/files/digest-kdm-3.4.0_beta1 new file mode 100644 index 000000000000..52cd643f15fa --- /dev/null +++ b/kde-base/kdm/files/digest-kdm-3.4.0_beta1 @@ -0,0 +1,3 @@ +MD5 46a0b6a8f72b16812d4ad745902fdcf5 kdebase-3.3.90.tar.bz2 20659998 +MD5 cd0819379968496b415c3a4121272e1f kdebase-3.3.90-3.3.91.tar.xdelta 3128388 +MD5 079120d41e7d4f4453b3fb2398f4d4c9 kdebase-3.3.91.tar.bz2 21271893 diff --git a/kde-base/kdm/files/kde-np.pam b/kde-base/kdm/files/kde-np.pam new file mode 100644 index 000000000000..c7556154a83f --- /dev/null +++ b/kde-base/kdm/files/kde-np.pam @@ -0,0 +1,12 @@ +#%PAM-1.0 + +auth required /lib/security/pam_nologin.so +auth required /lib/security/pam_permit.so + +account required /lib/security/pam_stack.so service=system-auth + +password required /lib/security/pam_stack.so service=system-auth + +session required /lib/security/pam_stack.so service=system-auth + +session optional /lib/security/pam_console.so diff --git a/kde-base/kdm/files/kde.pam b/kde-base/kdm/files/kde.pam new file mode 100644 index 000000000000..c50acb182045 --- /dev/null +++ b/kde-base/kdm/files/kde.pam @@ -0,0 +1,12 @@ +#%PAM-1.0 + +auth required /lib/security/pam_stack.so service=system-auth +auth required /lib/security/pam_nologin.so + +account required /lib/security/pam_stack.so service=system-auth + +password required /lib/security/pam_stack.so service=system-auth + +session required /lib/security/pam_stack.so service=system-auth + +session optional /lib/security/pam_console.so diff --git a/kde-base/kdm/kdm-3.4.0_beta1.ebuild b/kde-base/kdm/kdm-3.4.0_beta1.ebuild new file mode 100644 index 000000000000..9cbb67e8c442 --- /dev/null +++ b/kde-base/kdm/kdm-3.4.0_beta1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/kdm-3.4.0_beta1.ebuild,v 1.1 2005/01/15 02:24:32 danarmak Exp $ + +KMNAME=kdebase +MAXKDEVER=$PV +KM_DEPRANGE="$PV $MAXKDEVER" +inherit kde-meta eutils + +DESCRIPTION="KDE login manager, similar to xdm and gdm" +KEYWORDS="~x86" +IUSE="pam" + +KMEXTRA="kdmlib/" +KMEXTRACTONLY="libkonq/konq_defaults.h" +KMCOMPILEONLY="kcontrol/background" +DEPEND="$DEPEND + pam? ( sys-libs/pam $(deprange-dual $PV $MAXKDEVER kde-base/kdebase-pam) ) + $(deprange-dual $PV $MAXKDEVER kde-base/kcontrol)" + # Requires the desktop background settings and kdm modules, + # so until we separate the kcontrol modules into separate ebuilds :-), + # there's a dep here + + +src_compile() { + use pam \ + && myconf="$myconf --with-pam=yes" \ + || myconf="$myconf --with-pam=no --with-shadow" + + kde-meta_src_compile myconf configure + kde_remove_flag kdm/kfrontend -fomit-frame-pointer + kde-meta_src_compile make +} + +src_install() { + kde-meta_src_install + cd ${S}/kdm && make DESTDIR=${D} GENKDMCONF_FLAGS="--no-old --no-backup" install + + # We tell kdm to /use session files from /usr/share/xsessions. + # I've removed some other kdmrc mods from here, since it's not clear why + # the default aren't ok (and I'm not sure about the benefits of using + # the xdm configfiles under /etc/X11 instead of our own ones), + # and it's the Gentoo Way to avoid modifying upstream behaviour. + # Tell me if you don't like this. --danarmak + cd ${D}/${KDEDIR}/share/config/kdm || die + sed -i -e "s:#SessionsDirs=:SessionsDirs=/usr/share/xsessions\n#SessionsDirs=:" \ + -e "s:#GreetFont=:GreetFont=Sans Serif,24,-1,5,50,0,0,0,0,0\n#GreetFont=:" \ + -e "s:#StdFont=:StdFont=Sans Serif,12,-1,5,50,0,0,0,0,0\n#StdFont=:" \ + -e "s:#FailFont=:FailFont=Sans Serif,12,-1,5,75,0,0,0,0,0\n#FailFont=:" \ + -e "s:#AntiAliasing=:AntiAliasing=true\n#AntiAliasing=:" \ + kdmrc +} + +pkg_postinst() { + # set the default kdm face icon if it's not already set by the system admin + # because this is user-overrideable in that way, it's not in src_install + if [ ! -e "${ROOT}${KDEDIR}/share/apps/kdm/faces/.default.face.icon" ]; then + mkdir -p "${ROOT}${KDEDIR}/share/apps/kdm/faces" + cp "${ROOT}${KDEDIR}/share/apps/kdm/pics/users/default1.png" \ + "${ROOT}${KDEDIR}/share/apps/kdm/faces/.default.face.icon" + fi +} diff --git a/kde-base/kdm/metadata.xml b/kde-base/kdm/metadata.xml new file mode 100644 index 000000000000..1a4592f97a10 --- /dev/null +++ b/kde-base/kdm/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>kde-core</herd> +</pkgmetadata> |