diff options
author | Gregorio Guidi <greg_g@gentoo.org> | 2005-04-08 12:29:22 +0000 |
---|---|---|
committer | Gregorio Guidi <greg_g@gentoo.org> | 2005-04-08 12:29:22 +0000 |
commit | 1595593ae420191882091f5760214d4a81e65201 (patch) | |
tree | 0c9d128aa59cbb537a668562d1a2cf7e62a69f5e /kde-base | |
parent | Stable on ppc64 (diff) | |
download | historical-1595593ae420191882091f5760214d4a81e65201.tar.gz historical-1595593ae420191882091f5760214d4a81e65201.tar.bz2 historical-1595593ae420191882091f5760214d4a81e65201.zip |
Add patch to fix /etc/passwd corruption (#87405).
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'kde-base')
-rw-r--r-- | kde-base/kuser/ChangeLog | 8 | ||||
-rw-r--r-- | kde-base/kuser/files/digest-kuser-3.4.0-r1 | 1 | ||||
-rw-r--r-- | kde-base/kuser/files/kdeadmin-3.4.0-kuser.patch | 41 | ||||
-rw-r--r-- | kde-base/kuser/kuser-3.4.0-r1.ebuild | 17 |
4 files changed, 66 insertions, 1 deletions
diff --git a/kde-base/kuser/ChangeLog b/kde-base/kuser/ChangeLog index 61347a823925..20f50ebec1bd 100644 --- a/kde-base/kuser/ChangeLog +++ b/kde-base/kuser/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for kde-base/kuser # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kuser/ChangeLog,v 1.7 2005/03/25 01:27:20 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kuser/ChangeLog,v 1.8 2005/04/08 12:29:21 greg_g Exp $ + +*kuser-3.4.0-r1 (08 Apr 2005) + + 08 Apr 2005; Gregorio Guidi <greg_g@gentoo.org> + +files/kdeadmin-3.4.0-kuser.patch, +kuser-3.4.0-r1.ebuild: + Add patch to fix /etc/passwd corruption (#87405). 25 Mar 2005; Jason Wever <weeve@gentoo.org> kuser-3.4.0.ebuild: Added ~sparc keyword. diff --git a/kde-base/kuser/files/digest-kuser-3.4.0-r1 b/kde-base/kuser/files/digest-kuser-3.4.0-r1 new file mode 100644 index 000000000000..8cbd9915d983 --- /dev/null +++ b/kde-base/kuser/files/digest-kuser-3.4.0-r1 @@ -0,0 +1 @@ +MD5 d1db9fac4faca194cbda1e8189453363 kdeadmin-3.4.0.tar.bz2 1567785 diff --git a/kde-base/kuser/files/kdeadmin-3.4.0-kuser.patch b/kde-base/kuser/files/kdeadmin-3.4.0-kuser.patch new file mode 100644 index 000000000000..b73ae0b384e3 --- /dev/null +++ b/kde-base/kuser/files/kdeadmin-3.4.0-kuser.patch @@ -0,0 +1,41 @@ +diff -Nur kdeadmin-3.4.0.orig/kuser/propdlg.cpp kdeadmin-3.4.0/kuser/propdlg.cpp +--- kdeadmin-3.4.0.orig/kuser/propdlg.cpp 2004-11-29 01:03:48.000000000 +0100 ++++ kdeadmin-3.4.0/kuser/propdlg.cpp 2005-04-08 14:05:03.000000000 +0200 +@@ -210,6 +210,8 @@ + connect(cbposix, SIGNAL(stateChanged(int)), this, SLOT(changed())); + connect(cbposix, SIGNAL(stateChanged(int)), this, SLOT(cbposixChanged())); + addRow(frame, layout, row++, cbposix, i18n("Disable &POSIX account information"), whatstr); ++ } else { ++ cbposix = 0; + } + frontrow = row; + } +@@ -706,7 +708,8 @@ + bool posix, samba = false; + + newuser->copy( user ); +- if ( cbposix->state() != QButton::NoChange ) { ++ ++ if ( kug->getUsers().getCaps() & KUsers::Cap_Disable_POSIX && cbposix->state() != QButton::NoChange ) { + if ( cbposix->isChecked() ) + newuser->setCaps( newuser->getCaps() & ~KUser::Cap_POSIX ); + else +@@ -873,7 +876,7 @@ + bool propdlg::check() + { + bool one = ( mUsers.getFirst() == mUsers.getLast() ); +- bool posix = !( cbposix->isChecked() ); ++ bool posix = !( kug->getUsers().getCaps() & KUsers::Cap_Disable_POSIX ) || !( cbposix->isChecked() ); + + if ( one && posix && leid->text().isEmpty() ) { + KMessageBox::sorry( 0, i18n("You need to specify an UID.") ); +@@ -928,7 +931,8 @@ + + uid_t newuid = leid->text().toULong(); + +- if ( one && !cbposix->isChecked() && olduid != newuid ) ++ if ( one && ( !( kug->getUsers().getCaps() & KUsers::Cap_Disable_POSIX ) || !cbposix->isChecked() ) ++ && olduid != newuid ) + { + if (kug->getUsers().lookup(newuid)) { + KMessageBox::sorry( 0, diff --git a/kde-base/kuser/kuser-3.4.0-r1.ebuild b/kde-base/kuser/kuser-3.4.0-r1.ebuild new file mode 100644 index 000000000000..e54ee768f77e --- /dev/null +++ b/kde-base/kuser/kuser-3.4.0-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kuser/kuser-3.4.0-r1.ebuild,v 1.1 2005/04/08 12:29:21 greg_g Exp $ +KMNAME=kdeadmin +MAXKDEVER=$PV +KM_DEPRANGE="$PV $MAXKDEVER" +inherit kde-meta eutils + +DESCRIPTION="KDE user (/etc/passwd and other methods) manager" +KEYWORDS="~x86 ~amd64 ~ppc ~sparc" +IUSE="" +DEPEND="" + +# Fix /etc/passwd corruption (kde bug 100443). Applied for 3.4.1. +PATCHES1="${FILESDIR}/kdeadmin-3.4.0-kuser.patch" + +# TODO add NIS support |