Hello community, here is the log from the commit of package yast2-pam for openSUSE:Factory checked in at Tue Oct 18 14:35:39 CEST 2011.
-------- --- openSUSE:Factory/yast2-pam/yast2-pam.changes 2011-09-23 12:53:18.000000000 +0200 +++ /mounts/work_src_done/STABLE/yast2-pam/yast2-pam.changes 2011-10-17 10:01:02.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Oct 17 09:59:01 CEST 2011 - [email protected] + +- autologin: remove checking for display manager, now most of them + support autologin +- 2.21.0 + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- yast2-pam-2.20.1.tar.bz2 New: ---- yast2-pam-2.21.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-pam.spec ++++++ --- /var/tmp/diff_new_pack.DqsUG3/_old 2011-10-18 14:35:35.000000000 +0200 +++ /var/tmp/diff_new_pack.DqsUG3/_new 2011-10-18 14:35:35.000000000 +0200 @@ -19,16 +19,14 @@ Name: yast2-pam -Version: 2.20.1 -Release: 1 +Version: 2.21.0 +Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-pam-2.20.1.tar.bz2 - -Prefix: /usr +Source0: yast2-pam-%{version}.tar.bz2 Group: System/YaST -License: GPLv2+ +License: GPL-2.0+ BuildRequires: doxygen perl-XML-Writer yast2 yast2-core-devel yast2-devtools yast2-testsuite Requires: yast2 @@ -47,26 +45,26 @@ This agent is used by YaST2 to modify the PAM configuration files %prep -%setup -n yast2-pam-2.20.1 +%setup -n yast2-pam-%{version} %build -%{prefix}/bin/y2tool y2autoconf -%{prefix}/bin/y2tool y2automake +%{_prefix}/bin/y2tool y2autoconf +%{_prefix}/bin/y2tool y2automake autoreconf --force --install export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG" export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG" %{?suse_update_config:%{suse_update_config -f}} -./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} +./configure --libdir=%{_libdir} --prefix=%{_prefix} --mandir=%{_mandir} # V=1: verbose build in case we used AM_SILENT_RULES(yes) # so that RPM_OPT_FLAGS check works make %{?jobs:-j%jobs} V=1 %install make install DESTDIR="$RPM_BUILD_ROOT" -[ -e "%{prefix}/share/YaST2/data/devtools/NO_MAKE_CHECK" ] || Y2DIR="$RPM_BUILD_ROOT/usr/share/YaST2" make check DESTDIR="$RPM_BUILD_ROOT" -for f in `find $RPM_BUILD_ROOT/%{prefix}/share/applications/YaST2/ -name "*.desktop"` ; do +[ -e "%{_prefix}/share/YaST2/data/devtools/NO_MAKE_CHECK" ] || Y2DIR="$RPM_BUILD_ROOT/usr/share/YaST2" make check DESTDIR="$RPM_BUILD_ROOT" +for f in `find $RPM_BUILD_ROOT/%{_prefix}/share/applications/YaST2/ -name "*.desktop"` ; do d=${f##*/} %suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop} done @@ -79,5 +77,6 @@ /usr/share/YaST2/modules/* /usr/share/YaST2/scrconf/*.scr /usr/lib/YaST2/servers_non_y2/ag_passwd -%doc %{prefix}/share/doc/packages/yast2-pam +%doc %{_prefix}/share/doc/packages/yast2-pam + %changelog ++++++ yast2-pam-2.20.1.tar.bz2 -> yast2-pam-2.21.0.tar.bz2 ++++++ ++++ 7120 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-pam-2.20.1/Makefile.am new/yast2-pam-2.21.0/Makefile.am --- old/yast2-pam-2.20.1/Makefile.am 2009-12-11 14:23:54.000000000 +0100 +++ new/yast2-pam-2.21.0/Makefile.am 2011-10-05 10:00:09.000000000 +0200 @@ -20,7 +20,6 @@ IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) -ALL_PACKAGES = $(DEVTOOLS_DIR)/admin/all-packages LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) COPYRIGHT_files_gpl = README COPYING @@ -155,7 +154,7 @@ $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ done -package: check-up-to-date check-tagversion check-all-packages check-textdomain package-local +package: check-up-to-date check-tagversion check-textdomain package-local TAGVERSION = $(Y2TOOL) tagversion @@ -185,21 +184,6 @@ check-parse: @echo "Not running parseycp." -check-all-packages: - @if [ ! -e "$(ALL_PACKAGES)" ]; then \ - echo ERROR: "Can't find $(ALL_PACKAGES)"; false; \ - fi - @if ! grep -q "^$(RPMNAME)[[:space:]]" $(ALL_PACKAGES); then \ - echo ERROR: "$(RPMNAME) not in $(ALL_PACKAGES)"; false; \ - fi - @if grep -q "^$(RPMNAME)[[:space:]]\+.*?" $(ALL_PACKAGES); then \ - echo ERROR: "$(RPMNAME) info in $(ALL_PACKAGES) contains some unknown (?) fields:"; \ - echo; \ - grep "^$(RPMNAME)[[:space:]]\+.*?" $(ALL_PACKAGES); \ - echo; \ - false; \ - fi - check-textdomain: $(Y2TOOL) check-textdomain $(srcdir) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-pam-2.20.1/VERSION new/yast2-pam-2.21.0/VERSION --- old/yast2-pam-2.20.1/VERSION 2011-02-01 10:20:32.000000000 +0100 +++ new/yast2-pam-2.21.0/VERSION 2011-10-17 09:59:46.000000000 +0200 @@ -1 +1 @@ -2.20.1 +2.21.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-pam-2.20.1/configure.in new/yast2-pam-2.21.0/configure.in --- old/yast2-pam-2.20.1/configure.in 2009-12-11 14:23:54.000000000 +0100 +++ new/yast2-pam-2.21.0/configure.in 2011-10-05 10:00:09.000000000 +0200 @@ -1,9 +1,9 @@ dnl configure.in for yast2-pam dnl -dnl -- This file is generated by y2autoconf 2.18.11 - DO NOT EDIT! -- +dnl -- This file is generated by y2autoconf 2.21.3 - DO NOT EDIT! -- dnl (edit configure.in.in instead) -AC_INIT(yast2-pam, 2.19.0, http://bugs.opensuse.org/, yast2-pam) +AC_INIT(yast2-pam, 2.20.1, http://bugs.opensuse.org/, yast2-pam) dnl Check for presence of file 'RPMNAME' AC_CONFIG_SRCDIR([RPMNAME]) @@ -18,7 +18,7 @@ AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) dnl Important YaST2 variables -VERSION="2.19.0" +VERSION="2.20.1" RPMNAME="yast2-pam" MAINTAINER="Jiri Suchomel <[email protected]>" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-pam-2.20.1/missing new/yast2-pam-2.21.0/missing --- old/yast2-pam-2.20.1/missing 2009-12-11 14:23:57.000000000 +0100 +++ new/yast2-pam-2.21.0/missing 2011-10-05 10:00:12.000000000 +0200 @@ -1,10 +1,10 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -scriptversion=2006-05-10.23 +scriptversion=2009-04-28.21; # UTC -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 -# Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, +# 2008, 2009 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <[email protected]>, 1996. # This program is free software; you can redistribute it and/or modify @@ -18,9 +18,7 @@ # GNU General Public License for more details. # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301, USA. +# along with this program. If not, see <http://www.gnu.org/licenses/>. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -89,6 +87,9 @@ tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] +Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and +\`g' are ignored when checking the name. + Send bug reports to <[email protected]>." exit $? ;; @@ -106,15 +107,22 @@ esac +# normalize program name to check for. +program=`echo "$1" | sed ' + s/^gnu-//; t + s/^gnu//; t + s/^g//; t'` + # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect -# the program). +# the program). This is about non-GNU programs, so use $1 not +# $program. case $1 in - lex|yacc) + lex*|yacc*) # Not GNU programs, they don't have --version. ;; - tar) + tar*) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 @@ -138,7 +146,7 @@ # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. -case $1 in +case $program in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if @@ -148,7 +156,7 @@ touch aclocal.m4 ;; - autoconf) + autoconf*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the @@ -157,7 +165,7 @@ touch configure ;; - autoheader) + autoheader*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want @@ -187,7 +195,7 @@ while read f; do touch "$f"; done ;; - autom4te) + autom4te*) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the @@ -210,7 +218,7 @@ fi ;; - bison|yacc) + bison*|yacc*) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package @@ -240,7 +248,7 @@ fi ;; - lex|flex) + lex*|flex*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package @@ -263,7 +271,7 @@ fi ;; - help2man) + help2man*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the @@ -277,11 +285,11 @@ else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" - exit 1 + exit $? fi ;; - makeinfo) + makeinfo*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file @@ -310,7 +318,7 @@ touch $file ;; - tar) + tar*) shift # We have already tried tar in the generic part. @@ -363,5 +371,6 @@ # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-end: "$" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" # End: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-pam-2.20.1/src/Autologin.ycp new/yast2-pam-2.21.0/src/Autologin.ycp --- old/yast2-pam-2.20.1/src/Autologin.ycp 2010-02-23 10:58:23.000000000 +0100 +++ new/yast2-pam-2.21.0/src/Autologin.ycp 2011-10-17 10:00:35.000000000 +0200 @@ -5,7 +5,7 @@ * Author: Jiri Suchomel <[email protected]> * Flags: Stable * - * $Id: Autologin.ycp 60966 2010-02-23 09:57:53Z jsuchome $ + * $Id: Autologin.ycp 66461 2011-10-17 08:00:33Z jsuchome $ */ { @@ -15,7 +15,6 @@ import "Package"; import "Popup"; -import "ProductFeatures"; /** * User to log in automaticaly @@ -50,8 +49,6 @@ */ global define boolean Read () { - used = ProductFeatures::GetBooleanFeature ("globals", "enable_autologin"); - if (SCR::Read (.target.size, "/etc/sysconfig/displaymanager") == -1) { available = false; @@ -59,28 +56,14 @@ used = false; return false; } - string dm = (string) SCR::Read (.sysconfig.displaymanager.DISPLAYMANAGER); - if ((issubstring (dm, "kdm") && - Package::InstalledAny (["kdebase3-kdm", "kde4-kdm", "kdm"])) - || - (dm == "gdm" && Package::Installed ("gdm")) - || - (dm == "lxdm" && Package::Installed ("lxdm")) - ) - { - available = true; - user = (string) SCR::Read (.sysconfig.displaymanager.DISPLAYMANAGER_AUTOLOGIN); - pw_less = (string) SCR::Read (.sysconfig.displaymanager.DISPLAYMANAGER_PASSWORD_LESS_LOGIN) == "yes"; + available = true; + user = (string) SCR::Read (.sysconfig.displaymanager.DISPLAYMANAGER_AUTOLOGIN); + pw_less = (string) SCR::Read (.sysconfig.displaymanager.DISPLAYMANAGER_PASSWORD_LESS_LOGIN) == "yes"; + + if (user == nil || user == "") + user = ""; - if (user == nil || user == "") - user = ""; - } - else - { - available = false; - user = ""; - } used = (user != ""); return used; } continue with "q"... Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
