Hello community,
here is the log from the commit of package pam-config
checked in at Tue Jul 8 23:12:29 CEST 2008.
--------
--- pam-config/pam-config.changes 2008-05-23 15:28:10.000000000 +0200
+++ pam-config/pam-config.changes 2008-06-30 14:41:29.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Jun 30 14:41:10 CEST 2008 - kukuk@suse.de
+
+- Version 0.54
+ * Add pam_ssh support (to start ssh-agent, not for authentication)
+
+-------------------------------------------------------------------
Old:
----
pam-config-0.53.tar.bz2
New:
----
pam-config-0.54.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pam-config.spec ++++++
--- /var/tmp/diff_new_pack.q16879/_old 2008-07-08 23:11:11.000000000 +0200
+++ /var/tmp/diff_new_pack.q16879/_new 2008-07-08 23:11:11.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package pam-config (Version 0.53)
+# spec file for package pam-config (Version 0.54)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -13,7 +13,7 @@
Name: pam-config
Summary: Modify common PAM configuration files
-Version: 0.53
+Version: 0.54
Release: 1
License: GPL v2 only
AutoReqProv: on
@@ -88,6 +88,9 @@
%ghost %config %{_sysconfdir}/pam.d/common-session-pc
%changelog
+* Mon Jun 30 2008 kukuk@suse.de
+- Version 0.54
+ * Add pam_ssh support (to start ssh-agent, not for authentication)
* Fri May 23 2008 kukuk@suse.de
- Version 0.53
* Better debug messages on writing config files
++++++ pam-config-0.53.tar.bz2 -> pam-config-0.54.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pam-config-0.53/ChangeLog new/pam-config-0.54/ChangeLog
--- old/pam-config-0.53/ChangeLog 2008-05-23 15:27:34.000000000 +0200
+++ new/pam-config-0.54/ChangeLog 2008-06-30 14:39:06.000000000 +0200
@@ -1,3 +1,12 @@
+2008-06-20 Thorsten Kukuk
+
+ * release version 0.54
+
+ * src/supported-modules.h: Add pam_ssh.
+ * src/Makefile.am: Likewise.
+ * src/mod_pam_ssh.c: New.
+ Based on patch from Marius Tomaschewski .
+
2008-05-23 Thorsten Kukuk
* release version 0.53
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pam-config-0.53/configure new/pam-config-0.54/configure
--- old/pam-config-0.53/configure 2008-05-23 15:13:07.000000000 +0200
+++ new/pam-config-0.54/configure 2008-06-30 14:40:02.000000000 +0200
@@ -2056,7 +2056,7 @@
# Define the identity of the package.
PACKAGE="pam-config"
- VERSION=0.53
+ VERSION=0.54
cat >>confdefs.h <<_ACEOF
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pam-config-0.53/configure.in new/pam-config-0.54/configure.in
--- old/pam-config-0.53/configure.in 2008-05-23 15:13:01.000000000 +0200
+++ new/pam-config-0.54/configure.in 2008-06-30 14:39:56.000000000 +0200
@@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/pam-config.c)
-AM_INIT_AUTOMAKE("pam-config", 0.53)
+AM_INIT_AUTOMAKE("pam-config", 0.54)
AM_CONFIG_HEADER(config.h)
AC_PREFIX_DEFAULT(/usr)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pam-config-0.53/NEWS new/pam-config-0.54/NEWS
--- old/pam-config-0.53/NEWS 2008-05-23 15:27:40.000000000 +0200
+++ new/pam-config-0.54/NEWS 2008-06-30 14:39:50.000000000 +0200
@@ -4,6 +4,9 @@
Please send bug reports, questions and suggestions to .
+Version 0.54
+* Add pam_ssh support (to start ssh-agent, not for authentication)
+
Version 0.53
* Better debug messages on writing config files
* Fix handling of backup files
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pam-config-0.53/src/Makefile.am new/pam-config-0.54/src/Makefile.am
--- old/pam-config-0.53/src/Makefile.am 2008-02-13 15:06:06.000000000 +0100
+++ new/pam-config-0.54/src/Makefile.am 2008-06-20 14:41:52.000000000 +0200
@@ -27,7 +27,7 @@
mod_pam_make.c mod_pam_unix.c mod_pam_mount.c mod_pam_deny.c \
single_config.c mod_pam_loginuid.c mod_pam_lastlog.c \
mod_pam_cryptpass.c mod_pam_ck_connector.c mod_pam_thinkfinger.c \
- mod_pam_group.c mod_pam_time.c
+ mod_pam_group.c mod_pam_time.c mod_pam_ssh.c
noinst_HEADERS = pam-config.h pam-module.h
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pam-config-0.53/src/Makefile.in new/pam-config-0.54/src/Makefile.in
--- old/pam-config-0.53/src/Makefile.in 2008-05-23 15:13:06.000000000 +0200
+++ new/pam-config-0.54/src/Makefile.in 2008-06-30 14:40:01.000000000 +0200
@@ -73,7 +73,8 @@
single_config.$(OBJEXT) mod_pam_loginuid.$(OBJEXT) \
mod_pam_lastlog.$(OBJEXT) mod_pam_cryptpass.$(OBJEXT) \
mod_pam_ck_connector.$(OBJEXT) mod_pam_thinkfinger.$(OBJEXT) \
- mod_pam_group.$(OBJEXT) mod_pam_time.$(OBJEXT)
+ mod_pam_group.$(OBJEXT) mod_pam_time.$(OBJEXT) \
+ mod_pam_ssh.$(OBJEXT)
pam_config_OBJECTS = $(am_pam_config_OBJECTS)
pam_config_LDADD = $(LDADD)
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
@@ -217,7 +218,7 @@
mod_pam_make.c mod_pam_unix.c mod_pam_mount.c mod_pam_deny.c \
single_config.c mod_pam_loginuid.c mod_pam_lastlog.c \
mod_pam_cryptpass.c mod_pam_ck_connector.c mod_pam_thinkfinger.c \
- mod_pam_group.c mod_pam_time.c
+ mod_pam_group.c mod_pam_time.c mod_pam_ssh.c
noinst_HEADERS = pam-config.h pam-module.h
all: all-am
@@ -324,6 +325,7 @@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mod_pam_nam.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mod_pam_pkcs11.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mod_pam_pwcheck.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mod_pam_ssh.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mod_pam_thinkfinger.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mod_pam_time.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mod_pam_umask.Po@am__quote@
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pam-config-0.53/src/mod_pam_ssh.c new/pam-config-0.54/src/mod_pam_ssh.c
--- old/pam-config-0.53/src/mod_pam_ssh.c 1970-01-01 01:00:00.000000000 +0100
+++ new/pam-config-0.54/src/mod_pam_ssh.c 2008-06-30 14:38:06.000000000 +0200
@@ -0,0 +1,90 @@
+/* Copyright (C) 2008 Marius Tomaschewski
+ Author: Marius Tomaschewski
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License version 2 as
+ published by the Free Software Foundation.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+
+#ifdef HAVE_CONFIG_H
+#include
+#endif
+
+#include
+#include
+#include
+
+#include "pam-config.h"
+#include "pam-module.h"
+
+static int
+write_config_ssh (pam_module_t *this, enum write_type op, FILE *fp)
+{
+ option_set_t *opt_set = this->get_opt_set (this, op);
+
+ if (debug)
+ debug_write_call (this, op);
+
+ if (!opt_set->is_enabled (opt_set, "is_enabled"))
+ return 0;
+
+ switch (op)
+ {
+ case ACCOUNT:
+ case PASSWORD:
+ /*** null functions only ***/
+ break;
+
+ case AUTH:
+ fprintf (fp, "auth\toptional\tpam_ssh.so\t");
+ break;
+
+ case SESSION:
+ fprintf (fp, "session\toptional\tpam_ssh.so\t");
+ fprintf (fp, "\n");
+ break;
+ }
+
+ WRITE_CONFIG_OPTIONS
+
+ return 0;
+}
+
+GETOPT_START_ALL
+ else if (strcmp ("keyfiles", opt) == 0)
+ {
+ if (g_opt->m_delete)
+ {
+ opt_set = this->get_opt_set (this, AUTH);
+ opt_set->set_opt (opt_set, "keyfiles", NULL);
+ }
+ else
+ {
+ opt_set = this->get_opt_set (this, AUTH);
+ opt_set->set_opt (opt_set, "keyfiles", optarg);
+ }
+ }
+GETOPT_END_ALL
+
+PRINT_ARGS("ssh")
+
+/* ---- contruct module object ---- */
+DECLARE_BOOL_OPTS_4 (is_enabled, debug, nullok, try_first_pass);
+DECLARE_STRING_OPTS_1 (keyfiles);
+DECLARE_OPT_SETS;
+/* at last construct the complete module object */
+pam_module_t mod_pam_ssh = { "pam_ssh.so", opt_sets,
+ &def_parse_config,
+ &def_print_module,
+ &write_config_ssh,
+ &get_opt_set,
+ &getopt,
+ &print_args};
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pam-config-0.53/src/supported-modules.h new/pam-config-0.54/src/supported-modules.h
--- old/pam-config-0.53/src/supported-modules.h 2008-02-13 15:06:06.000000000 +0100
+++ new/pam-config-0.54/src/supported-modules.h 2008-06-20 14:43:02.000000000 +0200
@@ -14,6 +14,7 @@
extern pam_module_t mod_pam_nam;
extern pam_module_t mod_pam_pkcs11;
extern pam_module_t mod_pam_pwcheck;
+extern pam_module_t mod_pam_ssh;
extern pam_module_t mod_pam_thinkfinger;
extern pam_module_t mod_pam_time;
extern pam_module_t mod_pam_umask;
@@ -44,6 +45,7 @@
&mod_pam_nam,
&mod_pam_pkcs11,
&mod_pam_pwcheck,
+ &mod_pam_ssh,
&mod_pam_thinkfinger,
&mod_pam_umask,
&mod_pam_unix,
@@ -75,6 +77,7 @@
&mod_pam_nam,
&mod_pam_winbind,
&mod_pam_group,
+ &mod_pam_ssh,
NULL
};
@@ -103,6 +106,7 @@
&mod_pam_nam,
&mod_pam_umask,
&mod_pam_env,
+ &mod_pam_ssh,
NULL
};
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pam-config-0.53/tests/config/Makefile new/pam-config-0.54/tests/config/Makefile
--- old/pam-config-0.53/tests/config/Makefile 2008-05-23 15:13:10.000000000 +0200
+++ new/pam-config-0.54/tests/config/Makefile 2008-06-30 14:40:06.000000000 +0200
@@ -103,7 +103,7 @@
SHELL = /bin/sh
STRIP =
USE_NLS = yes
-VERSION = 0.53
+VERSION = 0.54
XGETTEXT = /usr/bin/xgettext
XGETTEXT_015 = /usr/bin/xgettext
XMLCATALOG = /usr/bin/xmlcatalog
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pam-config-0.53/tests/etc/pam.d/Makefile new/pam-config-0.54/tests/etc/pam.d/Makefile
--- old/pam-config-0.53/tests/etc/pam.d/Makefile 2008-05-23 15:27:53.000000000 +0200
+++ new/pam-config-0.54/tests/etc/pam.d/Makefile 2008-06-30 14:40:25.000000000 +0200
@@ -103,7 +103,7 @@
SHELL = /bin/sh
STRIP =
USE_NLS = yes
-VERSION = 0.53
+VERSION = 0.54
XGETTEXT = /usr/bin/xgettext
XGETTEXT_015 = /usr/bin/xgettext
XMLCATALOG = /usr/bin/xmlcatalog
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pam-config-0.53/tests/pam-config.test/Makefile new/pam-config-0.54/tests/pam-config.test/Makefile
--- old/pam-config-0.53/tests/pam-config.test/Makefile 2008-05-23 15:13:10.000000000 +0200
+++ new/pam-config-0.54/tests/pam-config.test/Makefile 2008-06-30 14:40:06.000000000 +0200
@@ -103,7 +103,7 @@
SHELL = /bin/sh
STRIP =
USE_NLS = yes
-VERSION = 0.53
+VERSION = 0.54
XGETTEXT = /usr/bin/xgettext
XGETTEXT_015 = /usr/bin/xgettext
XMLCATALOG = /usr/bin/xmlcatalog
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org