Mailinglist Archive: opensuse-commit (2125 mails)

< Previous Next >
commit pam_userpass
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Fri, 04 Apr 2008 01:39:53 +0200
  • Message-id: <20080403233954.24F36678168@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package pam_userpass
checked in at Fri Apr 4 01:39:53 CEST 2008.

--------
--- pam_userpass/pam_userpass.changes 2006-08-10 13:57:27.000000000 +0200
+++ /mounts/work_src_done/STABLE/pam_userpass/pam_userpass.changes
2008-04-03 11:26:57.377489000 +0200
@@ -1,0 +2,10 @@
+Thu Apr 3 11:23:27 CEST 2008 - mc@xxxxxxx
+
+- update to version 1.0.2
+ - Deal with compilation warnings generated by new gcc compiler.
+ - Restricted list of global symbols exported by the PAM module
+ to standard set of six pam_sm_* functions.
+ - Changed Makefile to pass list of libraries to linker after regular
+ object files, to fix build with -Wl,--as-needed.
+
+-------------------------------------------------------------------

Old:
----
pam_userpass-1.0.tar.bz2

New:
----
pam_userpass-1.0.2.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pam_userpass.spec ++++++
--- /var/tmp/diff_new_pack.w13962/_old 2008-04-04 01:39:41.000000000 +0200
+++ /var/tmp/diff_new_pack.w13962/_new 2008-04-04 01:39:41.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package pam_userpass (Version 1.0)
+# spec file for package pam_userpass (Version 1.0.2)
#
-# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -10,18 +10,19 @@

# norootforbuild

+
Name: pam_userpass
-URL: http://www.openwall.com/pam/
+Url: http://www.openwall.com/pam/
BuildRequires: pam-devel
-License: Other uncritical OpenSource License, Other License(s), see
package
+License: Other uncritical OpenSource License
Group: System/Libraries
Requires: pam
Provides: pam-modules:/%_lib/security/pam_userpass.so
-Autoreqprov: on
-Version: 1.0
+AutoReqProv: on
+Version: 1.0.2
Release: 1
-Summary: PAM module which use PAM binary prompts to ask applications
for username/password
-Source0: pam_userpass-1.0.tar.bz2
+Summary: Uses PAM Binary Prompts to Ask Applications for
Username/Password
+Source0: pam_userpass-1.0.2.tar.bz2
Source50: dlopen.sh
Patch0: pam_userpass-1.0.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -32,7 +33,7 @@
having to recompile programs that do authentication.

pam_userpass uses PAM binary prompts to ask the application for the
-username and password specifically.
+username and password.



@@ -78,6 +79,13 @@
%doc LICENSE README conf/*
%attr(755,root,root) /%{_lib}/security/pam_*.so

-%changelog -n pam_userpass
-* Thu Aug 10 2006 - mc@xxxxxxx
+%changelog
+* Thu Apr 03 2008 mc@xxxxxxx
+- update to version 1.0.2
+ - Deal with compilation warnings generated by new gcc compiler.
+ - Restricted list of global symbols exported by the PAM module
+ to standard set of six pam_sm_* functions.
+ - Changed Makefile to pass list of libraries to linker after regular
+ object files, to fix build with -Wl,--as-needed.
+* Thu Aug 10 2006 mc@xxxxxxx
- version 1.0 branched from pam-modules


++++++ pam_userpass-1.0.tar.bz2 -> pam_userpass-1.0.2.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/pam_userpass-1.0/appl_userpass.c
new/pam_userpass-1.0.2/appl_userpass.c
--- old/pam_userpass-1.0/appl_userpass.c 2001-06-14 05:13:48.000000000
+0200
+++ new/pam_userpass-1.0.2/appl_userpass.c 2006-05-22 04:15:20.000000000
+0200
@@ -27,7 +27,7 @@
return PAM_CONV_ERR;

prompt = (pamc_bp_t)msg[0]->msg;
- input = PAM_BP_RDATA(prompt);
+ input = (const char *)PAM_BP_RDATA(prompt);

if (PAM_BP_RCONTROL(prompt) != PAM_BPC_SELECT ||
strncmp(input, USERPASS_AGENT_ID "/", USERPASS_AGENT_ID_LENGTH + 1))
@@ -46,7 +46,7 @@
prompt = NULL;
PAM_BP_RENEW(&prompt, PAM_BPC_DONE,
strlen(userpass->user) + 1 + strlen(userpass->pass));
- output = PAM_BP_WDATA(prompt);
+ output = (char *)PAM_BP_WDATA(prompt);

strcpy(output, userpass->user);
output += strlen(output) + 1;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/pam_userpass-1.0/libpam_userpass.map
new/pam_userpass-1.0.2/libpam_userpass.map
--- old/pam_userpass-1.0/libpam_userpass.map 1970-01-01 01:00:00.000000000
+0100
+++ new/pam_userpass-1.0.2/libpam_userpass.map 2006-04-04 00:59:09.000000000
+0200
@@ -0,0 +1,8 @@
+# $Owl: Owl/packages/pam_userpass/pam_userpass/libpam_userpass.map,v 1.1
2006/04/03 22:59:09 ldv Exp $
+
+{
+ global:
+ pam_userpass_conv;
+ local:
+ *;
+};
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/pam_userpass-1.0/Makefile
new/pam_userpass-1.0.2/Makefile
--- old/pam_userpass-1.0/Makefile 2005-03-25 22:09:00.000000000 +0100
+++ new/pam_userpass-1.0.2/Makefile 2006-04-07 05:00:10.000000000 +0200
@@ -21,6 +21,8 @@
LIBAPPLSHARED = lib$(TITLE).so.1.0
LIBAPPLSHARED_LINK = lib$(TITLE).so
LIBAPPLSTATIC = lib$(TITLE).a
+PAM_MAP = pam_userpass.map
+APPL_MAP = libpam_userpass.map
SHLIBMODE = 755
STLIBMODE = 644
INCLUDEMODE = 644
@@ -37,11 +39,12 @@

all: $(LIBPAMSHARED) $(LIBAPPLSTATIC) example_userpass

-$(LIBPAMSHARED): pam_userpass.o
- $(LINK_SHARED) $< $(LIBS) -o $@
+$(LIBPAMSHARED): pam_userpass.o $(PAM_MAP)
+ $(LINK_SHARED) -Wl,--version-script,$(PAM_MAP) $< $(LIBS) -o $@

-$(LIBAPPLSHARED): appl_userpass.o
- $(LINK_SHARED) -Wl,-soname,$(SONAME) $< $(LIBS) -o $@
+$(LIBAPPLSHARED): appl_userpass.o $(APPL_MAP)
+ $(LINK_SHARED) -Wl,--version-script,$(APPL_MAP),-soname,$(SONAME) \
+ $< $(LIBS) -o $@

$(LIBAPPLSTATIC): appl_userpass.o
$(AR) $(ARFLAGS) $@ $<
@@ -58,7 +61,7 @@
include/security/pam_userpass.h

example_userpass: example_userpass.o $(LIBAPPLSHARED_LINK)
- $(LINK) $< -L. -l$(TITLE) -o $@
+ $(LINK) $< $(LIBS) -L. -l$(TITLE) -o $@

install: all
$(MKDIR) $(DESTDIR)$(SECUREDIR)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/pam_userpass-1.0/pam_userpass.c
new/pam_userpass-1.0.2/pam_userpass.c
--- old/pam_userpass-1.0/pam_userpass.c 2005-03-25 22:02:08.000000000 +0100
+++ new/pam_userpass-1.0.2/pam_userpass.c 2006-05-22 04:15:20.000000000
+0200
@@ -40,7 +40,7 @@
prompt = NULL;
PAM_BP_RENEW(&prompt, PAM_BPC_SELECT,
USERPASS_AGENT_ID_LENGTH + 1 + 1 + (user ? strlen(user) : 0));
- output = PAM_BP_WDATA(prompt);
+ output = (char *)PAM_BP_WDATA(prompt);

memcpy(output, USERPASS_AGENT_ID "/", USERPASS_AGENT_ID_LENGTH + 1);
output += USERPASS_AGENT_ID_LENGTH + 1;
@@ -67,7 +67,7 @@
return PAM_AUTH_ERR;

prompt = (pamc_bp_t)resp->resp;
- input = PAM_BP_RDATA(prompt);
+ input = (const char *)PAM_BP_RDATA(prompt);

if (PAM_BP_RCONTROL(prompt) == PAM_BPC_DONE &&
strlen(input) + 1 <= PAM_BP_LENGTH(prompt)) {
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/pam_userpass-1.0/pam_userpass.map
new/pam_userpass-1.0.2/pam_userpass.map
--- old/pam_userpass-1.0/pam_userpass.map 1970-01-01 01:00:00.000000000
+0100
+++ new/pam_userpass-1.0.2/pam_userpass.map 2006-04-04 00:59:09.000000000
+0200
@@ -0,0 +1,13 @@
+# $Owl: Owl/packages/pam_userpass/pam_userpass/pam_userpass.map,v 1.1
2006/04/03 22:59:09 ldv Exp $
+
+{
+ global:
+ pam_sm_acct_mgmt;
+ pam_sm_authenticate;
+ pam_sm_chauthtok;
+ pam_sm_close_session;
+ pam_sm_open_session;
+ pam_sm_setcred;
+ local:
+ *;
+};
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/pam_userpass-1.0/pam_userpass.spec
new/pam_userpass-1.0.2/pam_userpass.spec
--- old/pam_userpass-1.0/pam_userpass.spec 2005-03-25 22:07:36.000000000
+0100
+++ new/pam_userpass-1.0.2/pam_userpass.spec 2006-05-22 04:15:20.000000000
+0200
@@ -1,13 +1,14 @@
-# $Id: pam_userpass.spec,v 1.17 2005/03/25 21:07:36 solar Exp $
+# $Owl: Owl/packages/pam_userpass/pam_userpass/pam_userpass.spec,v 1.24
2006/05/21 22:26:05 ldv Exp $

Summary: Pluggable authentication module for USER/PASS-style protocols.
Name: pam_userpass
-Version: 1.0
+Version: 1.0.2
Release: owl1
License: relaxed BSD and (L)GPL-compatible
Group: System Environment/Base
URL: http://www.openwall.com/pam/
Source:
ftp://ftp.openwall.com/pub/projects/pam/modules/%name/%name-%version.tar.gz
+BuildRequires: pam-devel
BuildRoot: /override/%name-%version

%description
@@ -30,11 +31,11 @@
%setup -q

%build
-CFLAGS="-Wall -fPIC $RPM_OPT_FLAGS" make
+CFLAGS="-Wall -fPIC %optflags" make

%install
rm -rf %buildroot
-make install DESTDIR=%buildroot
+make install DESTDIR=%buildroot SECUREDIR=/%_lib/security LIBDIR=%_libdir

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@@ -42,7 +43,7 @@
%files
%defattr(-,root,root)
%doc LICENSE README
-/lib/security/pam_userpass.so
+/%_lib/security/pam_userpass.so
%_libdir/*.so.*

%files devel
@@ -52,38 +53,48 @@
%_includedir/security/*

%changelog
-* Fri Mar 25 2005 Solar Designer <solar@xxxxxxxxxxxxxxxx> 1.0-owl1
+* Sun May 21 2006 Dmitry V. Levin <ldv-at-owl.openwall.com> 1.0.2-owl1
+- Deal with compilation warnings generated by new gcc compiler.
+
+* Tue Apr 04 2006 Dmitry V. Levin <ldv-at-owl.openwall.com> 1.0.1-owl1
+- Restricted list of global symbols exported by the PAM module
+to standard set of six pam_sm_* functions.
+- Changed Makefile to pass list of libraries to linker after regular
+object files, to fix build with -Wl,--as-needed.
+- Corrected specfile to make it build on x86_64.
+
+* Fri Mar 25 2005 Solar Designer <solar-at-owl.openwall.com> 1.0-owl1
- Corrected the source code to not break C strict aliasing rules.

-* Sun Nov 02 2003 Solar Designer <solar@xxxxxxxxxxxxxxxx> 0.9.1-owl1
+* Sun Nov 02 2003 Solar Designer <solar-at-owl.openwall.com> 0.9.1-owl1
- Use "install -c" (makes a difference on some non-Linux systems).
- Moved the "-c" out of CFLAGS.

-* Wed Apr 02 2003 Dmitry V. Levin <ldv@xxxxxxxxxxxxxxxx> 0.9-owl1
+* Wed Apr 02 2003 Dmitry V. Levin <ldv-at-owl.openwall.com> 0.9-owl1
- Added libpam_userpass library, in shared and static forms.
- Packaged development libraries and header files in separate
subpackage, pam_userpass-devel.

-* Tue Apr 02 2002 Solar Designer <solar@xxxxxxxxxxxxxxxx>
+* Tue Apr 02 2002 Solar Designer <solar-at-owl.openwall.com>
- 0.5.1: use const within the declaration of pam_userpass_t, use '='
instead of '.set' to declare the alias.

-* Thu Feb 07 2002 Michail Litvak <mci@xxxxxxxxxxxxxxxx>
+* Thu Feb 07 2002 Michail Litvak <mci-at-owl.openwall.com>
- Enforce our new spec file conventions.

-* Fri Nov 09 2001 Solar Designer <solar@xxxxxxxxxxxxxxxx>
+* Fri Nov 09 2001 Solar Designer <solar-at-owl.openwall.com>
- 0.5: provide a pam_sm_chauthtok as well, currently only supporting
password changes which don't require the old password to be passed.

-* Thu Jun 14 2001 Solar Designer <solar@xxxxxxxxxxxxxxxx>
+* Thu Jun 14 2001 Solar Designer <solar-at-owl.openwall.com>
- 0.4: deal with null passwords correctly (thanks to Rafal Wojtczuk
-<nergal@xxxxxxxxxxxxxxxx>), support Linux-PAM 0.74+'s new BP macros.
+<nergal at owl.openwall.com>), support Linux-PAM 0.74+'s new BP macros.

-* Tue Dec 19 2000 Solar Designer <solar@xxxxxxxxxxxxxxxx>
+* Tue Dec 19 2000 Solar Designer <solar-at-owl.openwall.com>
- Added "-Wall -fPIC" to the CFLAGS.

-* Fri Aug 18 2000 Solar Designer <solar@xxxxxxxxxxxxxxxx>
+* Fri Aug 18 2000 Solar Designer <solar-at-owl.openwall.com>
- 0.3, added README.

-* Sun Jul 09 2000 Solar Designer <solar@xxxxxxxxxxxxxxxx>
+* Sun Jul 09 2000 Solar Designer <solar-at-owl.openwall.com>
- Initial version.


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread