Hello community,
here is the log from the commit of package yast2-pam for openSUSE:Factory
checked in at Fri Dec 11 16:14:40 CET 2009.
--------
--- yast2-pam/yast2-pam.changes 2008-11-10 17:12:56.000000000 +0100
+++ yast2-pam/yast2-pam.changes 2009-12-10 14:01:56.000000000 +0100
@@ -1,0 +2,12 @@
+Thu Dec 10 14:00:20 CET 2009 - jsuchome@suse.cz
+
+- kde4-kdm is now kdm (bnc#561900)
+- 2.19.0
+
+-------------------------------------------------------------------
+Tue Jun 2 22:31:29 CEST 2009 - jsuchome@suse.cz
+
+- removed obsolete functions from PamSettings
+- 2.18.0
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-pam-2.17.1.tar.bz2
New:
----
yast2-pam-2.19.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-pam.spec ++++++
--- /var/tmp/diff_new_pack.1WcSqs/_old 2009-12-11 16:12:33.000000000 +0100
+++ /var/tmp/diff_new_pack.1WcSqs/_new 2009-12-11 16:12:33.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package yast2-pam (Version 2.17.1)
+# spec file for package yast2-pam (Version 2.19.0)
#
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,13 @@
Name: yast2-pam
-Version: 2.17.1
+Version: 2.19.0
Release: 1
-License: GPL v2 or later
-Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-pam-2.17.1.tar.bz2
+Source0: yast2-pam-2.19.0.tar.bz2
Prefix: /usr
+Group: System/YaST
+License: GPLv2+
BuildRequires: doxygen perl-XML-Writer yast2 yast2-core-devel yast2-devtools yast2-testsuite
Requires: yast2
Requires: pam-config >= 0.8
@@ -39,15 +39,8 @@
%description
This agent is used by YaST2 to modify the PAM configuration files
-
-
-Authors:
---------
- Thorsten Kukuk
- Jiri Suchomel
-
%prep
-%setup -n yast2-pam-2.17.1
+%setup -n yast2-pam-2.19.0
%build
%{prefix}/bin/y2tool y2autoconf
@@ -57,7 +50,9 @@
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
%{?suse_update_config:%{suse_update_config -f}}
./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir}
-make %{?jobs:-j%jobs}
+# 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"
++++++ yast2-pam-2.17.1.tar.bz2 -> yast2-pam-2.19.0.tar.bz2 ++++++
++++ 3386 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.17.1/Makefile.am new/yast2-pam-2.19.0/Makefile.am
--- old/yast2-pam-2.17.1/Makefile.am 2008-09-03 14:41:25.000000000 +0200
+++ new/yast2-pam-2.19.0/Makefile.am 2009-12-11 14:23:54.000000000 +0100
@@ -32,10 +32,10 @@
# less strict; prefer bzip2
AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip
-# where devtools instal m4 snippets
+# where devtools install m4 snippets
# argh, executed literally
#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal
-ACLOCAL_AMFLAGS = -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal
+ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal
Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common
cmp -s $< $@ || cp -f $< $@
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.17.1/VERSION new/yast2-pam-2.19.0/VERSION
--- old/yast2-pam-2.17.1/VERSION 2008-11-10 17:12:25.000000000 +0100
+++ new/yast2-pam-2.19.0/VERSION 2009-12-10 14:01:27.000000000 +0100
@@ -1 +1 @@
-2.17.1
+2.19.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.17.1/autodocs-ycp.ami new/yast2-pam-2.19.0/autodocs-ycp.ami
--- old/yast2-pam-2.17.1/autodocs-ycp.ami 2008-09-03 14:41:25.000000000 +0200
+++ new/yast2-pam-2.19.0/autodocs-ycp.ami 2009-12-11 14:23:54.000000000 +0100
@@ -1,5 +1,5 @@
# -*- makefile -*- Automake include file
-# $Id: autodocs-ycp.ami 33394 2006-10-13 11:51:40Z mvidner $
+# $Id: autodocs-ycp.ami 57644 2009-06-19 08:38:11Z mvidner $
# Builds source documentation for YCP sources
# Uses ycpdoc
@@ -8,20 +8,25 @@
# Optional - the default is $(srcdir)/../../src/*.ycp
# AUTODOCS_PM: Files that the perl autodocs is built from
# Optional - the default is $(srcdir)/../../src/*.pm
+# AUTODOCS_SUBDIR: To install the result to $(docdir)/SUBDIR/autodocs
+# Optional - the default is no subdir, $(docdir)/autodocs
+# AUTODOCS_STRIP: Strip it from filenames. The remaining / are replaced by __
+# Optional - the default is $(srcdir)/../../src
-htmldir = $(docdir)/autodocs
+htmldir = $(docdir)/$(AUTODOCS_SUBDIR)/autodocs
-html_DATA = index.html $(wildcard *.html)
+html_DATA = index.html $(filter-out index.html, $(wildcard *.html))
CLEANFILES = $(html_DATA) pod2htm*.tmp
AUTODOCS_YCP ?= $(wildcard $(srcdir)/../../src/*.ycp)
AUTODOCS_PM ?= $(wildcard $(srcdir)/../../src/*.pm)
+AUTODOCS_STRIP ?= $(srcdir)/../../src
index.html: $(AUTODOCS_YCP) $(AUTODOCS_PM)
#including *.pm, for the index
- ${YCPDOC} -d. $^
+ ${YCPDOC} -d. -s$(AUTODOCS_STRIP) $(AUTODOCS_YCP)
for i in $(AUTODOCS_PM); do \
- b=`basename $$i`; b=$${b%.pm}; \
+ b=$${i##$(AUTODOCS_STRIP)}; b=$${b#/}; b=$${b//\//__}; b=$${b%.pm}; \
pod2html --title=$$b --infile=$$i --outfile=$$b.html; \
- echo "<a href='$$b.html'>$$b</a>" > $$b.mod.html; \
+ echo "<a href='$$b.html'>$${b/__/::}</a>" > $$b.mod.html; \
done
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.17.1/configure.in new/yast2-pam-2.19.0/configure.in
--- old/yast2-pam-2.17.1/configure.in 2008-09-03 14:41:25.000000000 +0200
+++ new/yast2-pam-2.19.0/configure.in 2009-12-11 14:23:54.000000000 +0100
@@ -1,9 +1,9 @@
dnl configure.in for yast2-pam
dnl
-dnl -- This file is generated by y2autoconf 2.17.6 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.18.11 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-pam, 2.16.2, http://bugs.opensuse.org/, yast2-pam)
+AC_INIT(yast2-pam, 2.19.0, 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.16.2"
+VERSION="2.19.0"
RPMNAME="yast2-pam"
MAINTAINER="Jiri Suchomel "
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.17.1/src/Autologin.ycp new/yast2-pam-2.19.0/src/Autologin.ycp
--- old/yast2-pam-2.17.1/src/Autologin.ycp 2008-11-10 17:12:20.000000000 +0100
+++ new/yast2-pam-2.19.0/src/Autologin.ycp 2009-12-10 14:01:41.000000000 +0100
@@ -5,7 +5,7 @@
* Author: Jiri Suchomel
* Flags: Stable
*
- * $Id: Autologin.ycp 53141 2008-11-10 16:12:19Z visnov $
+ * $Id: Autologin.ycp 60043 2009-12-10 13:01:38Z jsuchome $
*/
{
@@ -62,7 +62,7 @@
string dm = (string) SCR::Read (.sysconfig.displaymanager.DISPLAYMANAGER);
if ((issubstring (dm, "kdm") &&
- Package::InstalledAny (["kdebase3-kdm", "kde4-kdm"]))
+ Package::InstalledAny (["kdebase3-kdm", "kde4-kdm", "kdm"]))
||
(dm == "gdm" && Package::Installed ("gdm"))
)
@@ -94,7 +94,7 @@
if (!available || !modified)
return false;
-// y2milestone ("writing user %1 for autologin; pw_less is", user, pw_less);
+ y2milestone ("writing user %1 for autologin; pw_less is %2", user, pw_less);
SCR::Write (.sysconfig.displaymanager.DISPLAYMANAGER_AUTOLOGIN, user);
SCR::Write (.sysconfig.displaymanager.DISPLAYMANAGER_PASSWORD_LESS_LOGIN,
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.17.1/src/Pam.ycp new/yast2-pam-2.19.0/src/Pam.ycp
--- old/yast2-pam-2.17.1/src/Pam.ycp 2007-06-25 11:20:10.000000000 +0200
+++ new/yast2-pam-2.19.0/src/Pam.ycp 2009-06-02 22:39:58.000000000 +0200
@@ -5,7 +5,7 @@
* Authors: Jiri Suchomel
* Flags: Unstable
*
- * $Id: Pam.ycp 32577 2006-08-25 13:34:08Z jsuchome $
+ * $Id: Pam.ycp 57400 2009-06-02 20:39:28Z jsuchome $
*
*/
@@ -15,7 +15,7 @@
/**
* Query PAM configuration for status of given module
- * @param string PAM module (e.g. ldap, pwcheck)
+ * @param string PAM module (e.g. ldap, cracklib)
* @return map keys are 'management groups' (e.g. auth), values
* are lists of options
*/
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.17.1/src/PamSettings.ycp new/yast2-pam-2.19.0/src/PamSettings.ycp
--- old/yast2-pam-2.17.1/src/PamSettings.ycp 2008-05-05 20:44:05.000000000 +0200
+++ new/yast2-pam-2.19.0/src/PamSettings.ycp 2009-06-02 22:39:58.000000000 +0200
@@ -5,7 +5,7 @@
* Authors: Jiri Suchomel
* Flags: Unstable
*
- * $Id: PamSettings.ycp 45800 2008-03-27 14:36:53Z jsuchome $
+ * $Id: PamSettings.ycp 57400 2009-06-02 20:39:28Z jsuchome $
*
*/
@@ -22,150 +22,6 @@
list<string> security_files = [];
-//---------------------------- functions for handling /etc/security/*.conf
-
-/**
- * Returns list of files currently handled by the module
- * @return list
- */
-global define list<string> GetFiles () ``{
-
- y2warning ("this function is obsolete, use Pam module instead");
- if (security_files == [])
- security_files = (list<string>) SCR::Dir (.etc.security.section);
- if (security_files == nil)
- security_files = [];
- return security_files;
-}
-
-/**
- * Form absolute path name.
- * @param file name (or unambiguous substring, like "unix2" or "pwcheck")
- * @return path to file
- */
-define string Filename (string name) ``{
-
- y2warning ("this function is obsolete, use Pam module instead");
- return "";
-}
-
-/**
- * Returns the values (options) of one type in the given file
- * @param file file name
- * @param type type of management group (these are used for authentication,
- * account management and password management)
- * @return list of options
- * @example
- * GetValues ("pwcheck", "password") returns [ "nullok", "cracklib" ]
- */
-global define list<string> GetValues (string file, string type) ``{
-
- y2warning ("this function is obsolete, use Pam module instead");
- // FIXME temporary hack for backward compatibility
- if (file == "pam_pwcheck" && type == "password")
- {
- map pwcheck = Pam::Query ("pwcheck");
- return pwcheck["password"]:[];
- }
- return [];
-}
-
-/**
- * Returns the given file contents in the map form
- * @param file file name
- * @return map which maps type to list of its options
- * @example
- * GetFile ("pwcheck") returns $[ "password" : [ "nullok", "cracklib" ] ]
- */
-global define map GetFile (string file) ``{
-
- y2warning ("this function is obsolete, use Pam module instead");
- return $[];
-}
-
-
-/**
- * Adds a new options to the current list of options
- * @param file file name
- * @param type type of management group
- * @return success
- * @example
- * AddValue ("pwcheck", "password", "md5" ])
- */
-global define boolean AddValue (string file, string type, string value) ``{
- y2warning ("this function is obsolete, use Pam module instead");
- if (file == "pam_pwcheck")
- {
- if (value == "no_obscure_checks")
- return Pam::Add ("pwcheck-no_obscure_checks");
- if (value == "cracklib")
- return Pam::Add ("pwcheck-cracklib");
- list split = splitstring (value, "=");
- string pth = split[1]:"";
- if (issubstring (value, "cracklib="))
- return Pam::Add ("pwcheck-cracklib-path=" + pth);
- if (issubstring (value, "minlen="))
- return Pam::Add ("pwcheck-minlen=" + pth);
- if (issubstring (value, "remember="))
- return Pam::Add ("pwcheck-remember=" + pth);
- }
- else if (file == "unix2" || file == "pam_unix2")
- {
- if (value == "use_ldap")
- return Pam::Add ("ldap");
- if (value == "use_krb5")
- return Pam::Add ("krb5");
- if (value == "winbind")
- return Pam::Add ("winbind");
- }
- return false;
-}
-
-/**
- * Deletes an options from the current list of options
- * @param file file name
- * @param type type of management group
- * @return success
- * @example
- * RemoveValue ("pwcheck", "password", "md5" ])
- */
-global define boolean RemoveValue (string file, string type, string value) ``{
- y2warning ("this function is obsolete, use Pam module instead");
- if (file == "pam_pwcheck")
- {
- if (value == "no_obscure_checks")
- return Pam::Remove ("pwcheck-no_obscure_checks");
- if (issubstring (value, "cracklib"))
- return Pam::Remove ("pwcheck-cracklib");
- if (issubstring (value, "minlen="))
- return Pam::Remove ("pwcheck-minlen=");
- if (issubstring (value, "remember="))
- return Pam::Remove ("pwcheck-remember=");
- }
- else if (file == "unix2" || file == "pam_unix2")
- {
- if (value == "use_ldap")
- return Pam::Remove ("ldap");
- if (value == "use_krb5")
- return Pam::Remove ("krb5");
- if (value == "winbind")
- return Pam::Remove ("winbind");
- }
- return false;
-}
-
-/**
- * Saves the new list of options of one type to given file
- * @param file file name
- * @param type type of management group
- * @return success
- * @example
- * SetValues ("pwcheck", "password", [ "cracklib", "md5" ])
- */
-global define boolean SetValues (string file, string type, list<string> values) ``{
- y2warning ("this function is obsolete, use Pam module instead");
- return false;
-}
//---------------------------- functions for handling /etc/default/passwd
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.17.1/testsuite/tests/Read.ycp new/yast2-pam-2.19.0/testsuite/tests/Read.ycp
--- old/yast2-pam-2.17.1/testsuite/tests/Read.ycp 2007-06-25 11:20:10.000000000 +0200
+++ new/yast2-pam-2.19.0/testsuite/tests/Read.ycp 2009-06-02 22:39:58.000000000 +0200
@@ -3,7 +3,7 @@
* Testing PamSettings read functions
* Author: Jiri Suchomel
*
- * $Id: Read.ycp 32577 2006-08-25 13:34:08Z jsuchome $
+ * $Id: Read.ycp 57400 2009-06-02 20:39:28Z jsuchome $
*/
{
@@ -34,16 +34,4 @@
]
];
- /*
- DUMP ("==== PamSettings::GetFiles: =============================");
-
- TEST(``(PamSettings::GetFiles ()), [ READ, [], [] ], 0);
-
- DUMP ("==== PamSettings::GetValues (\"unix2\", \"passwd\") =====");
-
- TEST(``(PamSettings::GetValues ("unix2", "passwd")), [ READ, [], [] ], 0);
-
- TEST(``(PamSettings::GetValues ("unix2", "auth")), [ READ, [], [] ], 0);
- */
-
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org