diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-07-25 05:25:45 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-07-25 05:25:45 +0000 |
commit | fc8245bf0ad2287f17fb3e5520e571ee48ba7ea5 (patch) | |
tree | b1427789dfaa0d33f7900c427abd74201fb24a0e /kde-base/kdm | |
parent | Bump to 3.5.4 (pre-release). (diff) | |
download | gentoo-2-fc8245bf0ad2287f17fb3e5520e571ee48ba7ea5.tar.gz gentoo-2-fc8245bf0ad2287f17fb3e5520e571ee48ba7ea5.tar.bz2 gentoo-2-fc8245bf0ad2287f17fb3e5520e571ee48ba7ea5.zip |
Bump to 3.5.4 (pre-release).
(Portage version: 2.1.1_pre3-r3)
Diffstat (limited to 'kde-base/kdm')
-rw-r--r-- | kde-base/kdm/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/kdm/files/digest-kdm-3.5.4 | 6 | ||||
-rw-r--r-- | kde-base/kdm/kdm-3.5.4.ebuild | 78 |
3 files changed, 90 insertions, 1 deletions
diff --git a/kde-base/kdm/ChangeLog b/kde-base/kdm/ChangeLog index 836a5440f7dc..c8c614797a54 100644 --- a/kde-base/kdm/ChangeLog +++ b/kde-base/kdm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/kdm # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/ChangeLog,v 1.66 2006/07/15 06:50:01 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/ChangeLog,v 1.67 2006/07/25 05:25:45 flameeyes Exp $ + +*kdm-3.5.4 (25 Jul 2006) + + 25 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> +kdm-3.5.4.ebuild: + Bump to 3.5.4 (pre-release). 15 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> kdm-3.5.3-r2.ebuild: Patch also the latest version that I forgot yesterday. diff --git a/kde-base/kdm/files/digest-kdm-3.5.4 b/kde-base/kdm/files/digest-kdm-3.5.4 new file mode 100644 index 000000000000..d7974a138105 --- /dev/null +++ b/kde-base/kdm/files/digest-kdm-3.5.4 @@ -0,0 +1,6 @@ +MD5 71b9ee636bc39514d3d445b7034b7aa7 kdebase-3.5-patchset-02.tar.bz2 7118 +RMD160 ea3c7215e68754e8acac03e9fafea8aa9c6d1202 kdebase-3.5-patchset-02.tar.bz2 7118 +SHA256 459e2ce09a7151fd5f52bf77570dccd2447f00a604dab65adf7dfb5da431ac1b kdebase-3.5-patchset-02.tar.bz2 7118 +MD5 882a9729c08b197caef2c8712c980d9c kdebase-3.5.4.tar.bz2 23636847 +RMD160 29f763ec9de2cf3437b94567b317642e7df5e295 kdebase-3.5.4.tar.bz2 23636847 +SHA256 71e3b45d91f2237ca5a66858b06e897e1f60e3042d4c54d828ba590daaa5b420 kdebase-3.5.4.tar.bz2 23636847 diff --git a/kde-base/kdm/kdm-3.5.4.ebuild b/kde-base/kdm/kdm-3.5.4.ebuild new file mode 100644 index 000000000000..529f0c184b99 --- /dev/null +++ b/kde-base/kdm/kdm-3.5.4.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/kdm-3.5.4.ebuild,v 1.1 2006/07/25 05:25:45 flameeyes Exp $ + +KMNAME=kdebase +MAXKDEVER=$PV +KM_DEPRANGE="$PV $MAXKDEVER" +inherit kde-meta eutils + +SRC_URI="${SRC_URI} + mirror://gentoo/kdebase-3.5-patchset-02.tar.bz2" + +DESCRIPTION="KDE login manager, similar to xdm and gdm" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="pam elibc_glibc" + +KMEXTRA="kdmlib/" +# kioslave/thumbnail/configure.in.in is to have HAVE_LIBART. Can be dropped on +# 3.5_beta1. +KMEXTRACTONLY="libkonq/konq_defaults.h" +# kioslave/thumbnail/configure.in.in" +KMCOMPILEONLY="kcontrol/background" +DEPEND="pam? ( kde-base/kdebase-pam ) + $(deprange $PV $MAXKDEVER kde-base/kcontrol)" + # Requires the desktop background settings and kdm kcontrol modules +RDEPEND="${DEPEND} + || ( x11-apps/xinit <virtual/x11-7 ) + kde-base/kdepasswd" + +src_unpack() { + kde-meta_src_unpack + + # Avoid using imake (kde bug 114466) + epatch "${WORKDIR}/patches/kdebase-3.5.0_beta2-noimake.patch" + + # Fix KDM symlink vulnerability, bug #136201 + epatch "${FILESDIR}/post-3.5.0-kdebase-kdm.diff" + + epatch "${FILESDIR}/${P}-strict-aliasing.patch" +} + +src_compile() { + local myconf="--with-x-binaries-dir=/usr/bin $(use_with pam)" + + if ! use pam && use elibc_glibc; then + myconf="${myconf} --with-shadow" + fi + + export USER_LDFLAGS="${LDFLAGS}" + + 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 --no-in-notice" install + + # Customize the kdmrc configuration + sed -i -e "s:#SessionsDirs=:SessionsDirs=/usr/share/xsessions\n#SessionsDirs=:" \ + ${D}/${KDEDIR}/share/config/kdm/kdmrc || die +} + +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 + if [ ! -e "${ROOT}${KDEDIR}/share/apps/kdm/faces/root.face.icon" ]; then + mkdir -p "${ROOT}${KDEDIR}/share/apps/kdm/faces" + cp "${ROOT}${KDEDIR}/share/apps/kdm/pics/users/root1.png" \ + "${ROOT}${KDEDIR}/share/apps/kdm/faces/root.face.icon" + fi +} |