Hello community,

here is the log from the commit of package pam-modules for openSUSE:Factory 
checked in at 2013-03-11 09:53:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pam-modules (Old)
 and      /work/SRC/openSUSE:Factory/.pam-modules.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pam-modules", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/pam-modules/pam-modules.changes  2012-11-14 
16:52:48.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.pam-modules.new/pam-modules.changes     
2013-03-11 09:53:15.000000000 +0100
@@ -1,0 +2,13 @@
+Thu Mar  7 13:16:35 UTC 2013 - [email protected]
+
+- license update: BSD-3-Clause and GPL-2.0
+  See e.g. /src/copy_xattr.c
+
+-------------------------------------------------------------------
+Thu Feb 28 17:40:08 UTC 2013 - [email protected]
+
+- pam-modules-automake.patch: Fix build with new automake 
+  there is nop AM_CONFIG_HEADER anymore.
+  * Modernize use of autoconf, use current macros. 
+
+-------------------------------------------------------------------

New:
----
  pam-modules-automake.patch

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

Other differences:
------------------
++++++ pam-modules.spec ++++++
--- /var/tmp/diff_new_pack.g2yjj2/_old  2013-03-11 09:53:17.000000000 +0100
+++ /var/tmp/diff_new_pack.g2yjj2/_new  2013-03-11 09:53:17.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package pam-modules
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -24,7 +24,7 @@
 
 Name:           pam-modules
 Summary:        Additional PAM Modules
-License:        BSD-3-Clause ; GPL-2.0+
+License:        BSD-3-Clause and GPL-2.0
 Group:          System/Libraries
 Version:        12.1
 Release:        0
@@ -41,11 +41,12 @@
 Patch1:         0004-add-workarounds-for-blowfish-signedness-bug.diff
 Patch2:         pam_unix2-glibc216.patch
 Patch3:         pam_unix2-selinux.patch
+Patch4:         pam-modules-automake.patch
 #
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 PreReq:         permissions
-BuildRequires:  automake
 BuildRequires:  cracklib-devel
+BuildRequires:  libtool
 BuildRequires:  pam-devel
 %if %{enable_selinux}
 BuildRequires:  libselinux-devel
@@ -72,19 +73,21 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-gettextize -f
-autoreconf -f -i
 popd
-
+%patch4
 %build
+pushd pam_unix2-*
+gettextize -f
+popd
 for i in * ; do
   cd $i;
+  autoreconf -fiv
   %configure --enable-selinux \
                --libdir=/%{_lib}
   make %{?_smp_mflags}
   cd ..
 done
-%__cc -o $RPM_BUILD_DIR/unix2_chkpwd -fpie $RPM_OPT_FLAGS -pie %{SOURCE21} 
-lpam
+%__cc -fwhole-program -fpie -pie -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE 
%{optflags} %{SOURCE21} -o $RPM_BUILD_DIR/unix2_chkpwd -lpam
 
 %install
 mkdir -p $RPM_BUILD_ROOT/sbin

++++++ pam-modules-automake.patch ++++++
--- pam_pwcheck-3.13/configure.in.orig
+++ pam_pwcheck-3.13/configure.in
@@ -2,7 +2,7 @@ dnl Process this file with autoconf to p
 AC_INIT(pam_pwcheck, 3.13, [email protected], pam_pwcheck)
 AM_INIT_AUTOMAKE
 AC_CONFIG_SRCDIR([src/pam_pwcheck.c])
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
 AC_PREFIX_DEFAULT(/usr)
 
 dnl Some hacks for correct paths ...
@@ -31,8 +31,9 @@ test "$CFLAGS" = "" && CFLAGS="-O2"
 CFLAGS="$CFLAGS -fPIC -DPIC"
 
 dnl Check for programs
-AC_GNU_SOURCE
-AC_PROG_CC
+AC_USE_SYSTEM_EXTENSIONS
+AC_PROG_CC_STDC
+AC_SYS_LARGEFILE
 AC_PROG_MAKE_SET
 AC_PROG_INSTALL
 
@@ -90,7 +91,7 @@ else
   LDFLAGS="${LDFLAGS} -G"
 fi
 
-AM_GNU_GETTEXT_VERSION
+AM_GNU_GETTEXT_VERSION([0.17])
 AM_GNU_GETTEXT([external])
 
 AC_OUTPUT([doc/Makefile src/Makefile Makefile po/Makefile.in])
--- pam_unix2-2.9.1/configure.in.orig
+++ pam_unix2-2.9.1/configure.in
@@ -2,7 +2,7 @@ dnl Process this file with autoconf to p
 AC_INIT(pam_unix2, 2.9.1, http://www.suse.de/feedback, pam_unix2)
 AM_INIT_AUTOMAKE
 AC_CONFIG_SRCDIR([src/support.c])
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
 AC_PREFIX_DEFAULT(/usr)
 
 dnl Set of available languages.
@@ -33,11 +33,12 @@ test "$CFLAGS" = "" && CFLAGS="-O2 -Wall
 CFLAGS="$CFLAGS -fPIC -DPIC"
 
 dnl Check for programs
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
 AC_PROG_MAKE_SET
 AC_PROG_INSTALL
 
-AC_GNU_SOURCE
 
 AC_CHECK_LIB(crypt, crypt)
 AC_CHECK_LIB(dl, dlerror)
--- pam_homecheck-2.0/configure.in.orig
+++ pam_homecheck-2.0/configure.in
@@ -2,7 +2,7 @@ dnl Process this file with autoconf to p
 AC_INIT(src/pam_homecheck.c)
 AC_CANONICAL_SYSTEM
 AM_INIT_AUTOMAKE("pam_homecheck", 2.0)
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
 AC_PREFIX_DEFAULT(/usr)
 
 dnl Some hacks for correct paths ...
@@ -25,7 +25,9 @@ dnl Try to set usefull CFLAGS
 test "$CFLAGS" = "" && CFLAGS="-O2 -Wall"
 
 dnl Check for programs
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
 AC_PROG_MAKE_SET
 AC_PROG_INSTALL
 # per default don't build static libraries
@@ -41,7 +43,7 @@ AC_CHECK_HEADERS(security/pam_ext.h)
 dnl Various function checking
 AC_CHECK_FUNCS(fprintf snprintf syslog strncmp, , AC_MSG_ERROR(some basic C 
functions cannot be found))
 
-AM_GNU_GETTEXT_VERSION
+AM_GNU_GETTEXT_VERSION([0.17])
 AM_GNU_GETTEXT([external])
 
 AH_VERBATIM([_ZZENABLE_NLS],
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to