openSUSE Commits
Threads by month
- ----- 2024 -----
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
July 2009
- 2 participants
- 999 discussions
Hello community,
here is the log from the commit of package mozilla-nss for openSUSE:Factory
checked in at Wed Jul 29 17:52:25 CEST 2009.
--------
--- GNOME/mozilla-nss/mozilla-nss.changes 2009-06-06 15:38:36.000000000 +0200
+++ /mounts/work_src_done/STABLE/mozilla-nss/mozilla-nss.changes 2009-07-29 10:02:04.000000000 +0200
@@ -1,0 +2,10 @@
+Wed Jul 29 09:40:02 CEST 2009 - wr(a)rosenauer.org
+
+- update to NSS 3.12.3.1 (upstream use in FF 3.5.1) (bmo#504611)
+ * RNG_SystemInfoForRNG called twice by nsc_CommonInitialize
+ (bmo#489811; other changes are unrelated to Linux)
+- moved shlibsign to tools package again (as it's not needed at
+ library install time anymore)
+- use %{_libexecdir} for the tools
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
nss-3.12.3.tar.bz2
New:
----
nss-3.12.3.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mozilla-nss.spec ++++++
--- /var/tmp/diff_new_pack.UuE4nh/_old 2009-07-29 17:51:12.000000000 +0200
+++ /var/tmp/diff_new_pack.UuE4nh/_new 2009-07-29 17:51:12.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package mozilla-nss (Version 3.12.3)
+# spec file for package mozilla-nss (Version 3.12.3.1)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2006-2009 Wolfgang Rosenauer
@@ -27,9 +27,9 @@
%if %suse_version > 1030
BuildRequires: sqlite3-devel
%endif
-License: GPL v2 or later; LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
-Version: 3.12.3
-Release: 5
+License: GPL v2 or later ; LGPL v2.1 or later ; MPL
+Version: 3.12.3.1
+Release: 1
# bug437293
%ifarch ppc64
Obsoletes: mozilla-nss-64bit
@@ -63,7 +63,7 @@
Requires(post): coreutils
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define nssdbdir %{_sysconfdir}/pki/nssdb
-%define run_testsuite 1
+%define run_testsuite 0
%description
Network Security Services (NSS) is a set of libraries designed to
@@ -73,13 +73,12 @@
certificates, and other security standards.
-
Authors:
--------
- Mozilla Foundation <drivers(a)mozilla.org>
+ Mozilla Foundation
%package devel
-License: GPL v2 or later; LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
+License: GPL v2 or later ; LGPL v2.1 or later ; MPL
Summary: Network (Netscape) Security Services development files
Group: Development/Libraries/Other
Requires: mozilla-nspr-devel
@@ -104,7 +103,7 @@
Mozilla Foundation <drivers(a)mozilla.org>
%package tools
-License: GPL v2 or later; LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
+License: GPL v2 or later ; LGPL v2.1 or later ; MPL
Summary: Tools for developing, debugging, and managing applications that use NSS
Group: System/Management
PreReq: mozilla-nss >= %{version}
@@ -120,7 +119,7 @@
Mozilla Foundation <drivers(a)mozilla.org>
%package -n libfreebl3
-License: GPL v2 or later; LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
+License: GPL v2 or later ; LGPL v2.1 or later ; MPL
Summary: Freebl library for the Network Security Services
Group: System/Libraries
@@ -191,7 +190,8 @@
%endif
%install
-mkdir -p $RPM_BUILD_ROOT%{_libdir}/nss
+mkdir -p $RPM_BUILD_ROOT%{_libdir}
+mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/nss
mkdir -p $RPM_BUILD_ROOT%{_includedir}/nss3
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT/%{_lib}
@@ -243,7 +243,7 @@
bin/tstclnt \
bin/vfyserv \
bin/vfychain \
- $RPM_BUILD_ROOT%{_libdir}/nss
+ $RPM_BUILD_ROOT%{_libexecdir}/nss
# prepare pkgconfig file
mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
sed "s:%%LIBDIR%%:%{_libdir}:g
@@ -269,8 +269,8 @@
%{?__debug_package:%{__debug_install_post}} \
%{__arch_install_post} \
%{__os_install_post} \
- LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_lib}:$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_libdir}/nss/shlibsign -i $RPM_BUILD_ROOT%{_libdir}/libsoftokn3.so \
- LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_lib}:$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_libdir}/nss/shlibsign -i $RPM_BUILD_ROOT/%{_lib}/libfreebl3.so \
+ LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_lib}:$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_libexecdir}/nss/shlibsign -i $RPM_BUILD_ROOT%{_libdir}/libsoftokn3.so \
+ LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_lib}:$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_libexecdir}/nss/shlibsign -i $RPM_BUILD_ROOT/%{_lib}/libfreebl3.so \
%{nil}
%post -p /sbin/ldconfig
@@ -305,9 +305,7 @@
%if %suse_version < 1030
%{_libdir}/libnsssqlite3.so
%endif
-%{_libdir}/nss/shlibsign
%{_libdir}/libsoftokn3.chk
-/%{_lib}/libfreebl3.chk
%files devel
%defattr(644, root, root, 755)
@@ -319,12 +317,12 @@
%files tools
%defattr(-, root, root)
%{_bindir}/*
-%{_libdir}/nss/
-%exclude %{_libdir}/nss/shlibsign
+%{_libexecdir}/nss/
%exclude %{_bindir}/nss-config
%files -n libfreebl3
%defattr(-, root, root)
/%{_lib}/libfreebl3.so
+/%{_lib}/libfreebl3.chk
%changelog
++++++ nss-3.12.3.tar.bz2 -> nss-3.12.3.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nss-3.12.3/mozilla/security/coreconf/coreconf.dep new/nss-3.12.3.1/mozilla/security/coreconf/coreconf.dep
--- old/nss-3.12.3/mozilla/security/coreconf/coreconf.dep 2009-02-10 17:08:37.000000000 +0100
+++ new/nss-3.12.3.1/mozilla/security/coreconf/coreconf.dep 2009-07-28 01:34:13.000000000 +0200
@@ -42,4 +42,3 @@
*/
#error "Do not include this header file."
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nss-3.12.3/mozilla/security/nss/lib/ckfw/Makefile new/nss-3.12.3.1/mozilla/security/nss/lib/ckfw/Makefile
--- old/nss-3.12.3/mozilla/security/nss/lib/ckfw/Makefile 2008-12-03 19:44:24.000000000 +0100
+++ new/nss-3.12.3.1/mozilla/security/nss/lib/ckfw/Makefile 2009-07-28 01:34:14.000000000 +0200
@@ -34,14 +34,14 @@
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
-MAKEFILE_CVS_ID = "@(#) $RCSfile: Makefile,v $ $Revision: 1.16 $ $Date: 2008/12/03 18:44:24 $"
+MAKEFILE_CVS_ID = "@(#) $RCSfile: Makefile,v $ $Revision: 1.16.2.1 $ $Date: 2009/07/27 23:34:14 $"
include manifest.mn
include $(CORE_DEPTH)/coreconf/config.mk
include config.mk
include $(CORE_DEPTH)/coreconf/rules.mk
-ifdef MOZILLA_CLIENT
+ifdef NOTDEF # was ifdef MOZILLA_CLIENT
NSS_BUILD_CAPI = 1
endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nss-3.12.3/mozilla/security/nss/lib/freebl/os2_rand.c new/nss-3.12.3.1/mozilla/security/nss/lib/freebl/os2_rand.c
--- old/nss-3.12.3/mozilla/security/nss/lib/freebl/os2_rand.c 2009-03-29 05:45:33.000000000 +0200
+++ new/nss-3.12.3.1/mozilla/security/nss/lib/freebl/os2_rand.c 2009-07-28 02:38:48.000000000 +0200
@@ -369,5 +369,5 @@
size_t RNG_SystemRNG(void *dest, size_t maxLen)
{
- return rng_systemFromNoise(dest,maxlen);
+ return rng_systemFromNoise(dest,maxLen);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nss-3.12.3/mozilla/security/nss/lib/freebl/win_rand.c new/nss-3.12.3.1/mozilla/security/nss/lib/freebl/win_rand.c
--- old/nss-3.12.3/mozilla/security/nss/lib/freebl/win_rand.c 2009-04-02 04:32:51.000000000 +0200
+++ new/nss-3.12.3.1/mozilla/security/nss/lib/freebl/win_rand.c 2009-07-28 01:34:15.000000000 +0200
@@ -58,6 +58,7 @@
static DWORD totalFileBytes;
static DWORD maxFileBytes = 250000; /* 250 thousand */
static DWORD dwNumFiles, dwReadEvery, dwFileToRead;
+static PRBool usedWindowsPRNG;
static BOOL
CurrentClockTickTime(LPDWORD lpdwHigh, LPDWORD lpdwLow)
@@ -131,24 +132,25 @@
return n;
}
-typedef PRInt32 (* Handler)(const char *);
+typedef PRInt32 (* Handler)(const PRUnichar *);
#define MAX_DEPTH 2
+#define MAX_FOLDERS 4
+#define MAX_FILES 1024
static void
EnumSystemFilesInFolder(Handler func, PRUnichar* szSysDir, int maxDepth)
{
int iContinue;
+ unsigned int uFolders = 0;
+ unsigned int uFiles = 0;
HANDLE lFindHandle;
WIN32_FIND_DATAW fdData;
PRUnichar szFileName[_MAX_PATH];
- char narrowFileName[_MAX_PATH];
if (maxDepth < 0)
return;
- // tack *.* on the end so we actually look for files. this will
- // not overflow
- wcscpy(szFileName, szSysDir);
- wcscat(szFileName, L"\\*.*");
+ // append *.* so we actually look for files.
+ _snwprintf(szFileName, _MAX_PATH, L"%s\\*.*", szSysDir);
lFindHandle = FindFirstFileW(szFileName, &fdData);
if (lFindHandle == INVALID_HANDLE_VALUE)
@@ -163,13 +165,10 @@
_snwprintf(szFileName, _MAX_PATH, L"%s\\%s", szSysDir,
fdData.cFileName);
if (fdData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) {
- EnumSystemFilesInFolder(func, szFileName, maxDepth - 1);
+ if (++uFolders <= MAX_FOLDERS)
+ EnumSystemFilesInFolder(func, szFileName, maxDepth - 1);
} else {
- iContinue = WideCharToMultiByte(CP_ACP, 0, szFileName, -1,
- narrowFileName, _MAX_PATH,
- NULL, NULL);
- if (iContinue)
- iContinue = !(*func)(narrowFileName);
+ iContinue = (++uFiles <= MAX_FILES) && !(*func)(szFileName);
}
}
if (iContinue)
@@ -187,7 +186,6 @@
CSIDL_RECENT,
#ifndef WINCE
CSIDL_INTERNET_CACHE,
- CSIDL_COMPUTERSNEARME,
CSIDL_HISTORY,
#endif
0
@@ -208,17 +206,16 @@
}
static PRInt32
-CountFiles(const char *file)
+CountFiles(const PRUnichar *file)
{
dwNumFiles++;
return 0;
}
-static void
+static int
ReadSingleFile(const char *filename)
{
PRFileDesc * file;
- int nBytes;
unsigned char buffer[1024];
file = PR_Open(filename, PR_RDONLY, 0);
@@ -227,27 +224,43 @@
;
PR_Close(file);
}
+ return (file != NULL);
}
static PRInt32
-ReadOneFile(const char *file)
+ReadOneFile(const PRUnichar *szFileName)
{
+ char narrowFileName[_MAX_PATH];
+
if (dwNumFiles == dwFileToRead) {
- ReadSingleFile(file);
+ int success = WideCharToMultiByte(CP_ACP, 0, szFileName, -1,
+ narrowFileName, _MAX_PATH,
+ NULL, NULL);
+ if (success)
+ success = ReadSingleFile(narrowFileName);
+ if (!success)
+ dwFileToRead++; /* couldn't read this one, read the next one. */
}
dwNumFiles++;
return dwNumFiles > dwFileToRead;
}
static PRInt32
-ReadFiles(const char *file)
+ReadFiles(const PRUnichar *szFileName)
{
+ char narrowFileName[_MAX_PATH];
+
if ((dwNumFiles % dwReadEvery) == 0) {
++filesToRead;
}
if (filesToRead) {
- DWORD prevFileBytes = totalFileBytes;
- RNG_FileForRNG(file);
+ DWORD prevFileBytes = totalFileBytes;
+ int iContinue = WideCharToMultiByte(CP_ACP, 0, szFileName, -1,
+ narrowFileName, _MAX_PATH,
+ NULL, NULL);
+ if (iContinue) {
+ RNG_FileForRNG(narrowFileName);
+ }
if (prevFileBytes < totalFileBytes) {
--filesToRead;
}
@@ -257,7 +270,7 @@
}
static void
-ReadSystemFiles()
+ReadSystemFiles(void)
{
// first count the number of files
dwNumFiles = 0;
@@ -277,6 +290,7 @@
dwReadEvery = 1; // less than 10 files
dwNumFiles = 0;
+ totalFileBytes = 0;
EnumSystemFiles(ReadFiles);
}
@@ -349,8 +363,9 @@
}
#endif
- // now let's do some files
- ReadSystemFiles();
+ // Skip the potentially slow file scanning if the OS's PRNG worked.
+ if (!usedWindowsPRNG)
+ ReadSystemFiles();
nBytes = RNG_GetNoise(buffer, 20); // get up to 20 bytes
RNG_RandomUpdate(buffer, nBytes);
@@ -410,8 +425,10 @@
size_t RNG_SystemRNG(void *dest, size_t maxLen)
{
size_t bytes = 0;
+ usedWindowsPRNG = PR_FALSE;
if (CeGenRandom(maxLen, dest)) {
- bytes = maxLen;
+ bytes = maxLen;
+ usedWindowsPRNG = PR_TRUE;
}
if (bytes == 0) {
bytes = rng_systemFromNoise(dest,maxLen);
@@ -429,8 +446,6 @@
struct stat stat_buf;
unsigned char buffer[1024];
- /* static DWORD totalFileBytes = 0; */
-
/* windows doesn't initialize all the bytes in the stat buf,
* so initialize them all here to avoid UMRs.
*/
@@ -516,6 +531,7 @@
HCRYPTPROV hCryptProv;
size_t bytes = 0;
+ usedWindowsPRNG = PR_FALSE;
hModule = LoadLibrary("advapi32.dll");
if (hModule == NULL) {
return rng_systemFromNoise(dest,maxLen);
@@ -525,6 +541,7 @@
if (pRtlGenRandom) {
if (pRtlGenRandom(dest, maxLen)) {
bytes = maxLen;
+ usedWindowsPRNG = PR_TRUE;
} else {
bytes = rng_systemFromNoise(dest,maxLen);
}
@@ -544,6 +561,7 @@
PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) {
if (pCryptGenRandom(hCryptProv, maxLen, dest)) {
bytes = maxLen;
+ usedWindowsPRNG = PR_TRUE;
}
pCryptReleaseContext(hCryptProv, 0);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nss-3.12.3/mozilla/security/nss/lib/nss/nss.h new/nss-3.12.3.1/mozilla/security/nss/lib/nss/nss.h
--- old/nss-3.12.3/mozilla/security/nss/lib/nss/nss.h 2009-03-27 22:42:54.000000000 +0100
+++ new/nss-3.12.3.1/mozilla/security/nss/lib/nss/nss.h 2009-07-28 01:34:16.000000000 +0200
@@ -36,7 +36,7 @@
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
-/* $Id: nss.h,v 1.64 2009/03/27 21:42:54 christophe.ravel.bugs%sun.com Exp $ */
+/* $Id: nss.h,v 1.64.2.1 2009/07/27 23:34:16 wtc%google.com Exp $ */
#ifndef __nss_h_
#define __nss_h_
@@ -66,7 +66,7 @@
* The format of the version string should be
* "<major version>.<minor version>[.<patch level>][ <ECC>][ <Beta>]"
*/
-#define NSS_VERSION "3.12.3" _NSS_ECC_STRING _NSS_CUSTOMIZED
+#define NSS_VERSION "3.12.3.1" _NSS_ECC_STRING _NSS_CUSTOMIZED
#define NSS_VMAJOR 3
#define NSS_VMINOR 12
#define NSS_VPATCH 3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nss-3.12.3/mozilla/security/nss/lib/softoken/pkcs11.c new/nss-3.12.3.1/mozilla/security/nss/lib/softoken/pkcs11.c
--- old/nss-3.12.3/mozilla/security/nss/lib/softoken/pkcs11.c 2009-04-01 00:39:57.000000000 +0200
+++ new/nss-3.12.3.1/mozilla/security/nss/lib/softoken/pkcs11.c 2009-07-28 01:34:17.000000000 +0200
@@ -2587,8 +2587,6 @@
crv = CKR_DEVICE_ERROR;
return crv;
}
- RNG_SystemInfoForRNG();
-
/* NOTE:
* we should be getting out mutexes from this list, not statically binding
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nss-3.12.3/mozilla/security/nss/lib/softoken/softkver.h new/nss-3.12.3.1/mozilla/security/nss/lib/softoken/softkver.h
--- old/nss-3.12.3/mozilla/security/nss/lib/softoken/softkver.h 2009-03-30 22:45:54.000000000 +0200
+++ new/nss-3.12.3.1/mozilla/security/nss/lib/softoken/softkver.h 2009-07-28 01:34:17.000000000 +0200
@@ -57,7 +57,7 @@
* The format of the version string should be
* "<major version>.<minor version>[.<patch level>][ <ECC>][ <Beta>]"
*/
-#define SOFTOKEN_VERSION "3.12.3" SOFTOKEN_ECC_STRING
+#define SOFTOKEN_VERSION "3.12.3.1" SOFTOKEN_ECC_STRING
#define SOFTOKEN_VMAJOR 3
#define SOFTOKEN_VMINOR 12
#define SOFTOKEN_VPATCH 3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nss-3.12.3/mozilla/security/nss/lib/util/nssutil.h new/nss-3.12.3.1/mozilla/security/nss/lib/util/nssutil.h
--- old/nss-3.12.3/mozilla/security/nss/lib/util/nssutil.h 2009-03-29 03:56:15.000000000 +0200
+++ new/nss-3.12.3.1/mozilla/security/nss/lib/util/nssutil.h 2009-07-28 01:34:18.000000000 +0200
@@ -49,7 +49,7 @@
* The format of the version string should be
* "<major version>.<minor version>[.<patch level>][ <Beta>]"
*/
-#define NSSUTIL_VERSION "3.12.3"
+#define NSSUTIL_VERSION "3.12.3.1"
#define NSSUTIL_VMAJOR 3
#define NSSUTIL_VMINOR 12
#define NSSUTIL_VPATCH 3
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package linuxrc for openSUSE:Factory
checked in at Wed Jul 29 17:50:49 CEST 2009.
--------
--- linuxrc/linuxrc.changes 2009-06-25 18:01:32.000000000 +0200
+++ /mounts/work_src_done/STABLE/linuxrc/linuxrc.changes 2009-07-29 16:11:16.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Jul 29 16:11:08 CEST 2009 - snwint(a)suse.de
+
+- handle zypp iso url scheme (bnc #507474)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
linuxrc-3.4.3.tar.bz2
New:
----
linuxrc-3.4.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ linuxrc.spec ++++++
--- /var/tmp/diff_new_pack.RBx41m/_old 2009-07-29 17:49:43.000000000 +0200
+++ /var/tmp/diff_new_pack.RBx41m/_new 2009-07-29 17:49:43.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package linuxrc (Version 3.4.3)
+# spec file for package linuxrc (Version 3.4.4)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -24,9 +24,9 @@
Group: System/Boot
AutoReqProv: on
Summary: SUSE Installation Program
-Version: 3.4.3
+Version: 3.4.4
Release: 1
-Source: linuxrc-3.4.3.tar.bz2
+Source: linuxrc-3.4.4.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
++++++ linuxrc-3.4.3.tar.bz2 -> linuxrc-3.4.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-3.4.3/Changelog new/linuxrc-3.4.4/Changelog
--- old/linuxrc-3.4.3/Changelog 2009-06-25 18:00:10.000000000 +0200
+++ new/linuxrc-3.4.4/Changelog 2009-07-29 16:04:57.000000000 +0200
@@ -1,3 +1,6 @@
+29/7/2009: v3.4.4
+ - handle zypp iso url scheme (bnc #507474)
+
25/6/2009: v3.4.3
- removed last trace of real-root-dev (bnc #192405)
- pass on DHCPTimeout to install.inf (bnc #396824)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-3.4.3/VERSION new/linuxrc-3.4.4/VERSION
--- old/linuxrc-3.4.3/VERSION 2009-06-25 18:00:10.000000000 +0200
+++ new/linuxrc-3.4.4/VERSION 2009-07-29 16:03:54.000000000 +0200
@@ -1 +1 @@
-3.4.3
+3.4.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-3.4.3/auto2.c new/linuxrc-3.4.4/auto2.c
--- old/linuxrc-3.4.3/auto2.c 2009-06-25 18:00:10.000000000 +0200
+++ new/linuxrc-3.4.4/auto2.c 2009-07-29 16:06:34.000000000 +0200
@@ -81,6 +81,10 @@
ok = auto2_find_repo();
+ if(config.debug) fprintf(stderr, "ZyppRepoURL: %s\n", url_print(config.url.install, 4));
+
+ LXRC_WAIT
+
util_splash_bar(50, SPLASH_50);
return ok;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-3.4.3/linuxrc.c new/linuxrc-3.4.4/linuxrc.c
--- old/linuxrc-3.4.3/linuxrc.c 2009-06-25 18:00:10.000000000 +0200
+++ new/linuxrc-3.4.4/linuxrc.c 2009-07-29 16:07:14.000000000 +0200
@@ -475,8 +475,6 @@
void lxrc_end()
{
- FILE *f;
-
if(config.netstop) {
LXRC_WAIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-3.4.3/url.c new/linuxrc-3.4.4/url.c
--- old/linuxrc-3.4.3/url.c 2009-06-25 18:00:10.000000000 +0200
+++ new/linuxrc-3.4.4/url.c 2009-07-29 16:09:07.000000000 +0200
@@ -723,9 +723,13 @@
}
+/*
+ * according to zypp/media/MediaManager.h
+ */
char *url_print_zypp(url_t *url)
{
static char *buf = NULL, *s;
+ char *path = NULL, *file = NULL;
int q = 0, scheme;
// printf("start buf = %p\n", buf);
@@ -733,6 +737,17 @@
str_copy(&buf, NULL);
+ str_copy(&path, url->path);
+
+ if(url->is.file && path) {
+ if((file = strrchr(path, '/')) && *file) {
+ *file++ = 0;
+ }
+ else {
+ file = NULL;
+ }
+ }
+
scheme = url->scheme;
if(scheme == inst_disk) {
@@ -778,11 +793,11 @@
}
if(url->share) strprintf(&buf, "%s/%s", buf, url->share);
- if(url->path) {
+ if(path) {
strprintf(&buf, "%s/%s%s",
buf,
- url->scheme == inst_ftp && *url->path == '/' ? "%2F" : "",
- *url->path == '/' ? url->path + 1 : url->path
+ url->scheme == inst_ftp && *path == '/' ? "%2F" : "",
+ *path == '/' ? path + 1 : path
);
}
@@ -792,6 +807,12 @@
}
}
+ if(url->is.file && file) {
+ strprintf(&buf, "iso:/?iso=%s&url=%s", file, buf);
+ }
+
+ str_copy(&path, NULL);
+
// printf("end buf = %p\n", buf);
// LXRC_WAIT
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package gqview for openSUSE:Factory
checked in at Wed Jul 29 17:49:20 CEST 2009.
--------
--- GNOME/gqview/gqview.changes 2008-09-18 14:00:31.000000000 +0200
+++ /mounts/work_src_done/STABLE/gqview/gqview.changes 2009-07-28 13:37:23.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Jul 28 13:31:42 CEST 2009 - sbrabec(a)suse.cz
+
+- Use motion hints for smooth panning of image on slow machines.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
gqview-motion-hint.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gqview.spec ++++++
--- /var/tmp/diff_new_pack.YeoG5B/_old 2009-07-29 17:48:59.000000000 +0200
+++ /var/tmp/diff_new_pack.YeoG5B/_new 2009-07-29 17:48:59.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package gqview (Version 2.1.5)
#
-# 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,9 +19,12 @@
Name: gqview
-BuildRequires: desktop-translations fdupes gtk2-devel intltool liblcms-devel update-desktop-files
+BuildRequires: desktop-translations gtk2-devel intltool liblcms-devel update-desktop-files
+%if %suse_version > 1020
+BuildRequires: fdupes
+%endif
Version: 2.1.5
-Release: 65
+Release: 66
License: GPL v2 or later
Summary: Graphic File Browser Utility
Group: Productivity/Graphics/Viewers
@@ -31,6 +34,7 @@
Patch1: gqview-adobe-icc.patch
Patch2: gqview-rc-quotes.patch
Patch3: gqview-docdir.patch
+Patch4: gqview-motion-hint.patch
Recommends: AdobeICCProfiles
# Code can use jpegtran:
Recommends: jpeg
@@ -56,6 +60,7 @@
%patch1
%patch2
%patch3
+%patch4
rename no nb po/no.*
sed -i "s/\(ALL_LINGUAS.*\) no /\1 nb /" configure.in
for PO in po/*.po ; do msgconv --to-code=UTF-8 $PO -o $PO.new ; mv $PO.new $PO ; done
@@ -73,7 +78,9 @@
cp AUTHORS COPYING ChangeLog README TODO $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
%find_lang %{name}
%suse_update_desktop_file %name GTK Graphics Photography
+%if %suse_version > 1020
%fdupes $RPM_BUILD_ROOT
+%endif
%clean
rm -rf $RPM_BUILD_ROOT
++++++ gqview-motion-hint.patch ++++++
Use motion hints for smooth panning of image on slow machines.
================================================================================
--- src/pixbuf-renderer.c
+++ src/pixbuf-renderer.c
@@ -2968,6 +2968,13 @@
PixbufRenderer *pr;
gint accel;
+ /* This is a hack, but work far the best, at least for single pointer systems.
+ * See http://bugzilla.gnome.org/show_bug.cgi?id=587714 for more. */
+ gint x, y;
+ gdk_window_get_pointer (bevent->window, &x, &y, NULL);
+ bevent->x = x;
+ bevent->y = y;
+
pr = PIXBUF_RENDERER(widget);
if (pr->scroller_id != -1)
@@ -3003,6 +3010,11 @@
pr->drag_last_x = bevent->x;
pr->drag_last_y = bevent->y;
+ /* This is recommended by the GTK+ documentation, but does not work properly.
+ * Use deprecated way until GTK+ gets a solution for correct motion hint handling:
+ * http://bugzilla.gnome.org/show_bug.cgi?id=587714
+ */
+ /* gdk_event_request_motions (bevent); */
return FALSE;
}
@@ -3023,7 +3035,7 @@
pr->drag_last_y = bevent->y;
pr->drag_moved = 0;
gdk_pointer_grab(widget->window, FALSE,
- GDK_POINTER_MOTION_MASK | GDK_BUTTON_RELEASE_MASK,
+ GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_RELEASE_MASK,
NULL, NULL, bevent->time);
gtk_grab_add(widget);
break;
@@ -3119,7 +3131,7 @@
g_signal_connect(G_OBJECT(pr), "leave_notify_event",
G_CALLBACK(pr_mouse_leave_cb), pr);
- gtk_widget_set_events(GTK_WIDGET(pr), GDK_POINTER_MOTION_MASK |
+ gtk_widget_set_events(GTK_WIDGET(pr), GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK |
GDK_BUTTON_RELEASE_MASK | GDK_BUTTON_PRESS_MASK |
GDK_LEAVE_NOTIFY_MASK);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package gdb for openSUSE:Factory
checked in at Wed Jul 29 17:48:34 CEST 2009.
--------
--- gdb/gdb.changes 2009-06-17 17:15:49.000000000 +0200
+++ /mounts/work_src_done/STABLE/gdb/gdb.changes 2009-07-28 13:45:24.000000000 +0200
@@ -1,0 +2,10 @@
+Tue Jul 28 13:44:45 CEST 2009 - rguenther(a)suse.de
+
+- Fix crash during debuginfo reading.
+
+-------------------------------------------------------------------
+Wed Jul 8 13:22:36 CEST 2009 - rguenther(a)suse.de
+
+- Drop fixes done upstream.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
bnc329420-1.patch
bnc329420-2.patch
gdb-6.3-rh-testlibunwind1fix-20041202.patch
New:
----
fix-symread-crash.diff
gdb-6.8-bz457187-largefile-test.patch
gdb-6.8.50.20090302-upstream.patch
gdb-DW_OP_call_frame_cfa.patch
gdb-bz507267-block-sort-fast.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gdb.spec ++++++
--- /var/tmp/diff_new_pack.TXV2Wi/_old 2009-07-29 17:46:55.000000000 +0200
+++ /var/tmp/diff_new_pack.TXV2Wi/_new 2009-07-29 17:46:55.000000000 +0200
@@ -16,21 +16,21 @@
#
-Summary: The GNU Debugger
+Summary: A GNU source-level debugger for C, C++, Java and other languages
Name: gdb
# Set version to contents of gdb/version.in.
# NOTE: the FSF gdb versions are numbered N.M for official releases, like 6.3
# and, since January 2005, X.Y.Z.date for daily snapshots, like 6.3.50.20050112 # (daily snapshot from mailine), or 6.3.0.20040112 (head of the release branch).
Version: 6.8.50.20090302
-Release: 6
+Release: 7
# The release always contains a leading reserved number, start it at 1.
# `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
-License: GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later
-Group: Development/Tools/Debuggers
+License: GPLv3+
+Group: Development/Debuggers
Source: ftp://sourceware.org/pub/gdb/releases/gdb-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Url: http://www.gnu.org/software/gdb/
+Url: http://gnu.org/software/gdb/
# For our convenience
%define gdb_src gdb-%{version}
%define gdb_build build-%{_target_platform}
@@ -57,7 +57,6 @@
Patch2: gdb-6.3-rh-testversion-20041202.patch
# Check that libunwind works - new test then fix
Patch3: gdb-6.3-rh-testlibunwind-20041202.patch
-Patch4: gdb-6.3-rh-testlibunwind1fix-20041202.patch
# Use convert_from_func_ptr_addr on the solib breakpoint address;
# simplifies and makes more consistent the logic.
Patch104: gdb-6.3-ppcdotsolib-20041022.patch
@@ -170,8 +169,8 @@
Patch229: gdb-6.3-bz140532-ppc-unwinding-test.patch
# Testcase for exec() from threaded program (BZ 202689).
Patch231: gdb-6.3-bz202689-exec-from-pthread-test.patch
-# Backported post gdb-6.8 release fixups.
-###Patch232: gdb-6.8-upstream.patch
+# Backported post gdb-6.8.50.20090302 snapshot fixups.
+Patch232: gdb-6.8.50.20090302-upstream.patch
# Testcase for PPC Power6/DFP instructions disassembly (BZ 230000).
Patch234: gdb-6.6-bz230000-power6-disassembly-test.patch
# Temporary support for shared libraries >2GB on 64bit hosts. (BZ 231832)
@@ -271,6 +270,7 @@
# Fix parsing elf64-i386 files for kdump PAE vmcore dumps (BZ 457187).
# - Turn on 64-bit BFD support, globally enable AC_SYS_LARGEFILE.
Patch352: gdb-6.8-bz457187-largefile.patch
+Patch360: gdb-6.8-bz457187-largefile-test.patch
# Fix crash on pretty-printer reading uninitialized std::string (BZ 495781).
Patch357: gdb-c_get_string-xfree.patch
# Fix crash in the charset support.
@@ -278,14 +278,17 @@
# Fix crashes due to (missing) varobj revalidation, for VLA (for BZ 377541).
Patch369: gdb-varobj-revalidate-prep.patch
Patch370: gdb-varobj-revalidate-core.patch
+# Implement DW_OP_call_frame_cfa (for recent GCC).
+Patch373: gdb-DW_OP_call_frame_cfa.patch
+# Accelerate sorting blocks on reading a file (found on WebKit) (BZ 507267).
+Patch374: gdb-bz507267-block-sort-fast.patch
# Fix readline 5.1 warnings
Patch1000: readline-5.1-random.patch
Patch1001: gdb-readline6.patch
Patch1002: gdb-6.6-buildid-locate-rpm-suse.patch
Patch1004: bnc492331.patch
-Patch1005: bnc329420-1.patch
-Patch1006: bnc329420-2.patch
Patch1007: fix-gdb-backtrace.diff
+Patch1008: fix-symread-crash.diff
BuildRequires: bison flex gettext glibc-devel ncurses-devel texinfo zlib-devel
%if %{suse_version} < 1020
BuildRequires: expat
@@ -296,10 +299,12 @@
# dlopen() no longer makes rpm-libs a mandatory dependency.
#Requires: rpm-libs
BuildRequires: rpm-devel
+%if 0%{!?_without_python:1}
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
BuildRequires: python-devel
# Temporarily before it gets moved to libstdc++.rpm
BuildRequires: libstdc++
+%endif # 0%{!?_without_python:1}
%if 0%{?_with_testsuite:1}
BuildRequires: dejagnu sharutils
# gcc-objc++ is not covered by the GDB testsuite.
@@ -328,57 +333,21 @@
Requires(preun): /sbin/install-info
%description
-You can use GDB to debug programs written in C, C++, Ada, and Modula-2.
-GNU Fortran 77 support is also partially included.
-
-
-
-Authors:
---------
- Doug Evans <dje(a)cygnus.com>
- Fred Fish <fnf(a)cygnus.com>
- Ian Lance Taylor <ian(a)cygnus.com>
- J.T. Conklin <jtc(a)cygnus.com>
- Jason Molenda <crash(a)cygnus.com>
- Jeffrey A. Law <law(a)cygnus.com>
- Jim Kingdon <kingdon(a)cygnus.com>
- Kung Hsu <kung(a)cygnus.com>
- Michael Meissner <meissner(a)cygnus.com>
- Per Bothner <bothner(a)cygnus.com>
- Peter Schauer <pes(a)regent.e-technik.tu-muenchen.de>
- Rob Savoye <rob(a)cygnus.com>
- Stan Shebs <shebs(a)cygnus.com>
- Steve Chamberlain <sac(a)cygnus.com>
- Stu Grossman <grossman(a)cygnus.com>
+GDB, the GNU debugger, allows you to debug programs written in C, C++,
+Java, and other languages, by executing them in a controlled fashion
+and printing their data.
%package -n gdbserver
-License: GPL v2 or later; GPL v3 or later
-Summary: Remote Server for the GNU Debugger
-Group: Development/Tools/Debuggers
+License: GPLv3+
+Summary: A standalone server for GDB (the GNU source-level debugger)
+Group: Development/Debuggers
%description -n gdbserver
-GDBSERVER is a program that allows you to run GDB on a different
-machine than the one which is running the program being debugged.
-
-
+GDB, the GNU debugger, allows you to debug programs written in C, C++,
+Java, and other languages, by executing them in a controlled fashion
+and printing their data.
-Authors:
---------
- Doug Evans <dje(a)cygnus.com>
- Fred Fish <fnf(a)cygnus.com>
- Ian Lance Taylor <ian(a)cygnus.com>
- J.T. Conklin <jtc(a)cygnus.com>
- Jason Molenda <crash(a)cygnus.com>
- Jeffrey A. Law <law(a)cygnus.com>
- Jim Kingdon <kingdon(a)cygnus.com>
- Kung Hsu <kung(a)cygnus.com>
- Michael Meissner <meissner(a)cygnus.com>
- Per Bothner <bothner(a)cygnus.com>
- Peter Schauer <pes(a)regent.e-technik.tu-muenchen.de>
- Rob Savoye <rob(a)cygnus.com>
- Stan Shebs <shebs(a)cygnus.com>
- Steve Chamberlain <sac(a)cygnus.com>
- Stu Grossman <grossman(a)cygnus.com>
+This package provides a program that allows you to run GDB on a different machine than the one which is running the program being debugged.
%prep
# This allows the tarball name to be different from our
@@ -391,11 +360,10 @@
# Match the Fedora's version info.
%patch2 -p1
%if 0%{!?_with_upstream:1}
-###patch232 -p1
+%patch232 -p1
%patch349 -p1
%patch1 -p1
%patch3 -p1
-%patch4 -p1
%patch104 -p1
%patch105 -p1
%patch106 -p1
@@ -501,8 +469,11 @@
%patch352 -p1
%patch357 -p1
%patch359 -p1
+%patch360 -p1
%patch369 -p1
%patch370 -p1
+%patch373 -p1
+%patch374 -p1
%patch124 -p1
%patch1000
%if %{suse_version} > 1110
@@ -510,9 +481,8 @@
%endif
%patch1002 -p1
%patch1004 -p1
-%patch1005 -p1
-%patch1006
%patch1007
+%patch1008 -p1
find -name "*.orig" | xargs rm -f
! find -name "*.rej" # Should not happen.
%endif # 0%{!?_with_upstream:1}
@@ -570,7 +540,11 @@
--with-system-readline \
--with-expat \
--enable-tui \
+%if 0%{!?_without_python:1}
--with-python \
+%else
+ --without-python \
+%endif
--without-rpm \
%ifarch ia64
--with-libunwind \
@@ -652,10 +626,7 @@
# Upstream GDB would lock up the testsuite run for too long on its failures.
CHECK="$(echo $CHECK|sed 's#check//unix/[^ ]*#& &/-fPIE/-pie#g')"
%endif # 0%{!?_with_upstream:1}
- for CURRENT in $CHECK
- do
- ./orphanripper make -k $CURRENT || :
- done
+ ./orphanripper make %{?_smp_mflags} -k $CHECK || :
)
for t in sum log
do
@@ -686,6 +657,7 @@
ln -sf gdb $RPM_BUILD_ROOT%{_prefix}/bin/gdbtui
cmp $RPM_BUILD_ROOT%{_mandir}/*/gdb.1 $RPM_BUILD_ROOT%{_mandir}/*/gdbtui.1
ln -sf gdb.1 $RPM_BUILD_ROOT%{_mandir}/*/gdbtui.1
+%if 0%{!?_without_python:1}
# In the future:
#%# A part of the libstdc++ rpm.
#%rm -rf $RPM_BUILD_ROOT%{python_sitelib}/gdb/libstdcxx
@@ -697,6 +669,7 @@
sed -e 's,@dir@,%{python_sitelib}/gdb,' <$RPM_BUILD_DIR/%{gdb_src}/gdb/python/lib/gdb/libstdcxx/v6/hook.in \
>$LIBPATH/$(basename %{_prefix}/%{_lib}/libstdc++.so.6.*)-gdb.py
done
+%endif # 0%{!?_without_python:1}
# Remove the files that are part of a gdb build but that are owned and
# provided by other packages.
# These are part of binutils
@@ -745,7 +718,9 @@
%if 0%{!?_with_upstream:1}
%{_bindir}/gstack
%{_mandir}/*/gstack.1*
+%if 0%{!?_without_python:1}
%{python_sitelib}/gdb
+%endif # 0%{!?_without_python:1}
%{_datadir}/gdb
%endif # 0%{!?_with_upstream:1}
%{_infodir}/annotate.info*
++++++ fix-symread-crash.diff ++++++
Index: gdb-6.8.50.20090302/gdb/symfile.c
===================================================================
--- gdb-6.8.50.20090302.orig/gdb/symfile.c 2009-07-28 12:49:19.000000000 +0200
+++ gdb-6.8.50.20090302/gdb/symfile.c 2009-07-28 13:44:06.000000000 +0200
@@ -2342,8 +2342,14 @@ find_separate_debug_file (struct objfile
gdb_assert (i >= 0 && IS_DIR_SEPARATOR (dir[i]));
dir[i+1] = '\0';
+ canon_name = lrealpath (dir);
+ i = strlen (dir);
+ if (canon_name
+ && strlen (canon_name) > i)
+ i = strlen (canon_name);
+
debugfile = xmalloc (strlen (debug_file_directory) + 1
- + strlen (dir)
+ + i /* MAX (strlen (canon_name), strlen (dir)) */
+ strlen (DEBUG_SUBDIRECTORY)
+ strlen ("/")
+ strlen (basename)
@@ -2376,7 +2382,6 @@ find_separate_debug_file (struct objfile
/* If the file is in the sysroot, try using its base path in the
global debugfile directory. */
- canon_name = lrealpath (dir);
if (canon_name
&& strncmp (canon_name, gdb_sysroot, strlen (gdb_sysroot)) == 0
&& IS_DIR_SEPARATOR (canon_name[strlen (gdb_sysroot)]))
++++++ gdb-6.3-gstack-20050411.patch ++++++
--- /var/tmp/diff_new_pack.TXV2Wi/_old 2009-07-29 17:46:56.000000000 +0200
+++ /var/tmp/diff_new_pack.TXV2Wi/_new 2009-07-29 17:46:56.000000000 +0200
@@ -67,7 +67,7 @@
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ gdb-6.8.50.20090226/gdb/gstack.sh 2009-02-26 22:10:05.000000000 +0100
-@@ -0,0 +1,45 @@
+@@ -0,0 +1,48 @@
+#!/bin/sh
+
+if test $# -ne 1; then
@@ -107,6 +107,9 @@
+
+# Run GDB, strip out unwanted noise.
+$GDB --quiet $readnever -nx /proc/$1/exe $1 <<EOF 2>&1 |
++set width 0
++set height 0
++set pagination no
+$backtrace
+EOF
+sed -n \
++++++ gdb-6.3-gstack-without-path-20060414.patch ++++++
--- /var/tmp/diff_new_pack.TXV2Wi/_old 2009-07-29 17:46:56.000000000 +0200
+++ /var/tmp/diff_new_pack.TXV2Wi/_new 2009-07-29 17:46:56.000000000 +0200
@@ -24,7 +24,7 @@
if $GDB -nx --quiet --batch --readnever > /dev/null 2>&1; then
readnever=--readnever
@@ -39,7 +39,7 @@ fi
- $GDB --quiet $readnever -nx /proc/$1/exe $1 <<EOF 2>&1 |
+ set pagination no
$backtrace
EOF
-sed -n \
++++++ gdb-6.3-mapping-zero-inode-test.patch ++++++
--- /var/tmp/diff_new_pack.TXV2Wi/_old 2009-07-29 17:46:57.000000000 +0200
+++ /var/tmp/diff_new_pack.TXV2Wi/_new 2009-07-29 17:46:57.000000000 +0200
@@ -1,7 +1,9 @@
---- /dev/null 2008-05-02 23:36:22.370004160 +0200
-+++ gdb-6.8/gdb/testsuite/gdb.base/gcore-shmid0.exp 2008-05-03 22:36:56.000000000 +0200
-@@ -0,0 +1,120 @@
-+# Copyright 2007 Free Software Foundation, Inc.
+Index: gdb-6.8.50.20090302/gdb/testsuite/gdb.base/gcore-shmid0.exp
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ gdb-6.8.50.20090302/gdb/testsuite/gdb.base/gcore-shmid0.exp 2009-06-29 16:24:36.000000000 +0200
+@@ -0,0 +1,96 @@
++# Copyright 2007, 2009 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
@@ -17,43 +19,22 @@
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
-+# Please email any bugs, comments, and/or additions to this file to:
-+# bug-gdb(a)prep.ai.mit.edu
-+
+# Test GDB's handling of gcore for mapping with a name but zero inode.
+
-+set testfile "gcore-shmid0"
-+set srcfile ${testfile}.c
-+set binfile ${objdir}/${subdir}/${testfile}
-+
-+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
-+ untested gcore.exp
-+ return -1
++if { [prepare_for_testing gcore-shmid0.exp gcore-shmid0] } {
++ return -1
+}
+
-+# Start with a fresh gdb.
-+
-+gdb_exit
-+gdb_start
-+gdb_reinitialize_dir $srcdir/$subdir
-+gdb_load ${binfile}
-+
+# Does this gdb support gcore?
-+send_gdb "help gcore\n"
-+gdb_expect {
++set test "help gcore"
++gdb_test_multiple $test $test {
+ -re "Undefined command: .gcore.*$gdb_prompt $" {
+ # gcore command not supported -- nothing to test here.
+ unsupported "gdb does not support gcore on this target"
+ return -1;
+ }
+ -re "Save a core file .*$gdb_prompt $" {
-+ pass "help gcore"
-+ }
-+ -re ".*$gdb_prompt $" {
-+ fail "help gcore"
-+ }
-+ timeout {
-+ fail "help gcore (timeout)"
++ pass $test
+ }
+}
+
@@ -86,9 +67,6 @@
+ -re "Can't create a corefile\[\r\n\]+$gdb_prompt $" {
+ unsupported $test
+ }
-+ eof {
-+ fail $test
-+ }
+}
+
+# Be sure to remove the handle first.
@@ -121,10 +99,12 @@
+ fail $test
+ }
+}
---- /dev/null 2008-05-02 23:36:22.370004160 +0200
-+++ gdb-6.8/gdb/testsuite/gdb.base/gcore-shmid0.c 2008-05-03 22:39:10.000000000 +0200
-@@ -0,0 +1,95 @@
-+/* Copyright 2007 Free Software Foundation, Inc.
+Index: gdb-6.8.50.20090302/gdb/testsuite/gdb.base/gcore-shmid0.c
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ gdb-6.8.50.20090302/gdb/testsuite/gdb.base/gcore-shmid0.c 2009-06-29 16:22:49.000000000 +0200
+@@ -0,0 +1,123 @@
++/* Copyright 2007, 2009 Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
@@ -155,7 +135,10 @@
+#include <unistd.h>
+#include <assert.h>
+
-+/* We need a backtrace through the stack. */
++/* The same test running in a parallel testsuite may steal us the zero SID,
++ even if we never get any EEXIST. Just try a while. */
++
++#define TIMEOUT_SEC 10
+
+static void
+initialized (void)
@@ -172,19 +155,41 @@
+{
+ int sid;
+ unsigned int *addr = (void *) -1L;
-+ int try;
++ int attempt, round = 0;
++ time_t ts_start, ts;
++
++ if (time (&ts_start) == (time_t) -1)
++ {
++ printf ("time (): %m\n");
++ exit (1);
++ }
+
-+ /* The generated SID will cycle with an increment of 32768, try until it
++ /* The generated SID will cycle with an increment of 32768, attempt until it
+ * wraps to 0. */
+
-+ for (try = 0; addr == (void *) -1L; try++)
++ for (attempt = 0; addr == (void *) -1L; attempt++)
+ {
-+ /* At least kernel-2.6.25-8.fc9.x86_64 just never returns the value 0 by
-+ shmget(2). */
-+ if (try > 0x10000)
++ /* kernel-2.6.25-8.fc9.x86_64 just never returns the value 0 by
++ shmget(2). shmget returns SID range 0..1<<31 in steps of 32768,
++ 0x1000 should be enough but wrap the range it to be sure. */
++
++ if (attempt > 0x21000)
+ {
-+ printf ("Problem no longer reproducible on this kernel (try %d)\n",
-+ try);
++ if (time (&ts) == (time_t) -1)
++ {
++ printf ("time (): %m\n");
++ exit (1);
++ }
++
++ if (ts >= ts_start && ts < ts_start + TIMEOUT_SEC)
++ {
++ attempt = 0;
++ round++;
++ continue;
++ }
++
++ printf ("Problem is not reproducible on this kernel (attempt %d, "
++ "round %d))\n", attempt, round);
+ unresolved ();
+ exit (1);
+ }
@@ -192,6 +197,9 @@
+ sid = shmget ((key_t) rand (), 0x1000, IPC_CREAT | IPC_EXCL | 0777);
+ if (sid == -1)
+ {
++ if (errno == EEXIST)
++ continue;
++
+ printf ("shmget (%d, 0x1000, IPC_CREAT): errno %d\n", 0, errno);
+ exit (1);
+ }
++++++ gdb-6.3-pie-20050110.patch ++++++
--- /var/tmp/diff_new_pack.TXV2Wi/_old 2009-07-29 17:46:57.000000000 +0200
+++ /var/tmp/diff_new_pack.TXV2Wi/_new 2009-07-29 17:46:57.000000000 +0200
@@ -276,7 +276,7 @@
+ if (((b->type == bp_breakpoint) ||
+ (b->type == bp_hardware_breakpoint)) &&
+ b->enable_state == bp_enabled &&
-+ !b->loc->duplicate)
++ b->loc != NULL && !b->loc->duplicate)
+ {
+ b->enable_state = bp_startup_disabled;
+ if (!silent)
++++++ gdb-6.3-rh-testlibunwind-20041202.patch ++++++
--- /var/tmp/diff_new_pack.TXV2Wi/_old 2009-07-29 17:46:57.000000000 +0200
+++ /var/tmp/diff_new_pack.TXV2Wi/_new 2009-07-29 17:46:57.000000000 +0200
@@ -3,11 +3,53 @@
From Jeff Johnston <jjohnstn(a)redhat.com>
* gdb.arch/ia64-libunwind.exp: New file.
* gdb.arch/ia64-libunwind.c: New file.
+
+2004-08-03 Jeff Johnston <jjohnstn(a)redhat.com>
+
+ * gdb.arch/ia64-libunwind.exp: Fix test string to match
+ current code base.
+
+ [ acquire_unwind_info -> ia64_find_proc_info_x ]
+
+2009-04-30 Jan Kratochvil <jan.kratochvil(a)redhat.com>
+
+ Remove a race from send_gdb "COMMAND\n".
+ Cleanup.
+ Merge in: Patch4: gdb-6.3-rh-testlibunwind1fix-20041202.patch
---- /dev/null Thu Apr 11 10:25:15 2002
-+++ gdb+dejagnu-20040223/gdb/testsuite/gdb.arch/ia64-libunwind.exp Mon Nov 17 15:57:04 2003
-@@ -0,0 +1,55 @@
-+# Copyright 2003 Free Software Foundation, Inc.
+--- /dev/null 2009-04-19 08:52:54.499000000 +0200
++++ gdb-6.8/gdb/testsuite/gdb.arch/ia64-libunwind.c 2009-04-30 19:15:16.000000000 +0200
+@@ -0,0 +1,26 @@
++/* Copyright 2003, 2009 Free Software Foundation, Inc.
++
++ This file is part of GDB.
++
++ This program is free software; you can redistribute it and/or modify
++ it under the terms of the GNU General Public License as published by
++ the Free Software Foundation; either version 3 of the License, or
++ (at your option) any later version.
++
++ 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, see <http://www.gnu.org/licenses/>. */
++
++#include <stdio.h>
++
++int
++main ()
++{
++ printf ("hello world\n");
++
++ return 0;
++}
+--- /dev/null 2009-04-19 08:52:54.499000000 +0200
++++ gdb-6.8/gdb/testsuite/gdb.arch/ia64-libunwind.exp 2009-04-30 19:19:22.000000000 +0200
+@@ -0,0 +1,52 @@
++# Copyright 2003, 2009 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
@@ -28,16 +70,6 @@
+
+# This file was written by Jeff Johnston (jjohnstn(a)redhat.com)
+
-+if $tracelevel then {
-+ strace $tracelevel
-+}
-+
-+#
-+# test running programs
-+#
-+set prms_id 0
-+set bug_id 0
-+
+if ![istarget "ia64-*-*"] then {
+ return
+}
@@ -58,19 +90,14 @@
+gdb_start
+gdb_reinitialize_dir $srcdir/$subdir
+gdb_load ${binfile}
-+send_gdb "set debug arch 1\n"
-+send_gdb "break main\n"
-+gdb_test "run" ".*acquire_unwind_info.*"
-+
---- /dev/null Thu Apr 11 10:25:15 2002
-+++ gdb+dejagnu-20040223/gdb/testsuite/gdb.arch/ia64-libunwind.c Mon Nov 17 15:58:27 2003
-@@ -0,0 +1,9 @@
-+#include <stdio.h>
+
-+int main()
-+{
-+ printf ("hello world\n");
-+
-+ return 0;
++gdb_test "set debug arch 1"
++gdb_breakpoint "main"
++gdb_run_cmd
++
++set test "libunwind message"
++gdb_test_multiple "" $test {
++ -re "ia64_find_proc_info_x.*$gdb_prompt $" {
++ pass $test
++ }
+}
-+
++++++ gdb-6.3-test-pie-20050107.patch ++++++
--- /var/tmp/diff_new_pack.TXV2Wi/_old 2009-07-29 17:46:57.000000000 +0200
+++ /var/tmp/diff_new_pack.TXV2Wi/_new 2009-07-29 17:46:57.000000000 +0200
@@ -873,7 +873,7 @@
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ gdb-6.8.50.20081128/gdb/testsuite/gdb.pie/break.exp 2008-12-09 17:24:34.000000000 +0100
-@@ -0,0 +1,973 @@
+@@ -0,0 +1,977 @@
+# Copyright 1988, 1990, 1991, 1992, 1994, 1995, 1996, 1997, 1998, 1999,
+# 2000, 2002, 2003, 2004
+# Free Software Foundation, Inc.
@@ -1055,6 +1055,9 @@
+set bp_location8 [gdb_get_line_number "set breakpoint 8 here" $srcfile1]
+set bp_location9 [gdb_get_line_number "set breakpoint 9 here" $srcfile1]
+
++# Test a pending breakpoint in PIE executable does not crash later GDB.
++gdb_breakpoint "non_existent_function" allow-pending
++
+gdb_test "info break" \
+ "Num\[ \]+Type\[ \]+Disp Enb Address\[ \]+What.*
+\[0-9\]+\[\t \]+breakpoint keep y.* in main at .*$srcfile:$main_line.*
@@ -1064,7 +1067,8 @@
+\[0-9\]+\[\t \]+breakpoint keep y.* in main at .*$srcfile:$bp_location1.*
+\[0-9\]+\[\t \]+breakpoint keep y.* in main at .*$srcfile:$bp_location2.*
+\[0-9\]+\[\t \]+breakpoint keep y.* in multi_line_if_conditional at .*$srcfile:$bp_location3.*
-+\[0-9\]+\[\t \]+breakpoint keep y.* in multi_line_while_conditional at .*$srcfile:$bp_location4" \
++\[0-9\]+\[\t \]+breakpoint keep y.* in multi_line_while_conditional at .*$srcfile:$bp_location4.*
++\[0-9\]+\[\t \]+breakpoint keep y.* <PENDING> *non_existent_function" \
+ "breakpoint info"
+
+# FIXME: The rest of this test doesn't work with anything that can't
@@ -1490,7 +1494,7 @@
+}
+send_gdb "print marker2(99)\n"
+gdb_expect {
-+ -re "The program being debugged stopped while in a function called from GDB.\r\nWhen the function .marker2$proto. is done executing, GDB will silently\r\nstop .instead of continuing to evaluate the expression containing\r\nthe function call...*$gdb_prompt $"\
++ -re "The program being debugged stopped while in a function called from GDB.\r\nEvaluation of the expression containing the function\r\n.marker2$proto. will be abandoned.\r\nWhen the function is done executing, GDB will silently stop.\r\n$gdb_prompt $"\
+ {pass "hit breakpoint on called function"}
+ -re "$gdb_prompt $"\
+ {fail "hit breakpoint on called function"}
++++++ gdb-6.6-buildid-locate-rpm.patch ++++++
--- /var/tmp/diff_new_pack.TXV2Wi/_old 2009-07-29 17:46:58.000000000 +0200
+++ /var/tmp/diff_new_pack.TXV2Wi/_new 2009-07-29 17:46:58.000000000 +0200
@@ -421,7 +421,7 @@
}
@@ -1802,14 +2154,33 @@ debug_print_missing (const char *binary,
- }
+
*slot = missing_filepair;
- /* We do not collect and flush these messages as each such message
++++++ gdb-6.6-buildid-locate.patch ++++++
--- /var/tmp/diff_new_pack.TXV2Wi/_old 2009-07-29 17:46:58.000000000 +0200
+++ /var/tmp/diff_new_pack.TXV2Wi/_new 2009-07-29 17:46:58.000000000 +0200
@@ -13,7 +13,7 @@
#ifndef O_LARGEFILE
-@@ -267,6 +271,56 @@ add_to_thread_list (bfd *abfd, asection
+@@ -267,6 +271,50 @@ add_to_thread_list (bfd *abfd, asection
inferior_ptid = ptid; /* Yes, make it current */
}
@@ -26,6 +26,7 @@
+ struct build_id *build_id;
+ char *exec_filename, *debug_filename;
+ char *build_id_filename;
++ struct cleanup *back_to;
+
+ if (exec_bfd != NULL)
+ return;
@@ -37,32 +38,25 @@
+ if (build_id == NULL)
+ return;
+
++ /* SYMFILE_OBJFILE should refer to the main executable (not only to its
++ separate debug info file). gcc44+ keeps .eh_frame only in the main
++ executable without its duplicate .debug_frame in the separate debug info
++ file - such .eh_frame would not be found if SYMFILE_OBJFILE would refer
++ directly to the separate debug info file. */
++
+ exec_filename = build_id_to_filename (build_id, &build_id_filename, 0);
-+ if (exec_filename != NULL)
-+ exec_file_attach (exec_filename, from_tty);
-+ else
-+ debug_print_missing (_("the main executable file"), build_id_filename);
-+ xfree (build_id_filename);
++ back_to = make_cleanup (xfree, build_id_filename);
+
-+ /* `.note.gnu.build-id' section exists even for files without a separate
-+ debuginfo. */
-+ debug_filename = build_id_to_filename (build_id, &build_id_filename, 1);
-+ if (debug_filename != NULL)
++ if (exec_filename != NULL)
+ {
-+ symbol_file_add_main (debug_filename, from_tty);
-+ xfree (debug_filename);
++ make_cleanup (xfree, exec_filename);
++ exec_file_attach (exec_filename, from_tty);
++ symbol_file_add_main (exec_filename, from_tty);
+ }
+ else
-+ {
-+ if (exec_filename != NULL)
-+ symbol_file_add_main (exec_filename, from_tty);
-+ /* For EXEC_FILENAME NULL we were already complaining above. */
-+ if (symfile_objfile == NULL && exec_filename != NULL)
-+ debug_print_missing (exec_filename, build_id_filename);
-+ }
-+ xfree (build_id_filename);
++ debug_print_missing (_("the main executable file"), build_id_filename);
+
-+ xfree (exec_filename);
++ do_cleanups (back_to);
+
+ /* No automatic SOLIB_ADD as the libraries would get read twice. */
+}
@@ -646,7 +640,7 @@
if (retval != NULL && !build_id_verify (retval, build_id))
{
-@@ -1279,9 +1676,142 @@ build_id_to_debug_filename (struct build
+@@ -1279,9 +1676,150 @@ build_id_to_debug_filename (struct build
retval = NULL;
}
@@ -700,8 +694,8 @@
+ const struct missing_filepair *elem2)
+{
+ return strcmp (elem1->binary, elem2->binary) == 0
-+ && ((elem1->debug == NULL && elem2->debug == NULL)
-+ || strcmp (elem1->debug, elem2->debug) == 0);
++ && ((elem1->debug == NULL) == (elem2->debug == NULL))
++ && (elem1->debug == NULL || strcmp (elem1->debug, elem2->debug) == 0);
+}
+
+static void
@@ -732,6 +726,7 @@
+{
+ size_t binary_len0 = strlen (binary) + 1;
+ size_t debug_len0 = debug ? strlen (debug) + 1 : 0;
++ struct missing_filepair missing_filepair_find;
+ struct missing_filepair *missing_filepair;
+ struct missing_filepair **slot;
+
@@ -747,6 +742,27 @@
+ missing_filepair_xcalloc, NULL);
+ }
+
++ /* Use MISSING_FILEPAIR_FIND first instead of calling obstack_alloc with
++ obstack_free in the case of a (rare) match. The problem is ALLOC_F for
++ MISSING_FILEPAIR_HASH allocates from MISSING_FILEPAIR_OBSTACK maintenance
++ structures for MISSING_FILEPAIR_HASH. Calling obstack_free would possibly
++ not to free only MISSING_FILEPAIR but also some such structures (allocated
++ during the htab_find_slot call). */
++
++ missing_filepair_find.binary = (char *) binary;
++ missing_filepair_find.debug = (char *) debug;
++ slot = (struct missing_filepair **) htab_find_slot (missing_filepair_hash,
++ &missing_filepair_find,
++ INSERT);
++
++ /* While it may be still printed duplicitely with the missing debuginfo file
++ * it is due to once printing about the binary file build-id link and once
++ * about the .debug file build-id link as both the build-id symlinks are
++ * located in the debuginfo package. */
++
++ if (*slot != NULL)
++ return;
++
+ missing_filepair = obstack_alloc (&missing_filepair_obstack,
+ sizeof (*missing_filepair) - 1
+ + binary_len0 + debug_len0);
@@ -760,20 +776,6 @@
+ else
+ missing_filepair->debug = NULL;
+
-+ slot = (struct missing_filepair **) htab_find_slot (missing_filepair_hash,
-+ missing_filepair,
-+ INSERT);
-+
-+ /* While it may be still printed duplicitely with the missing debuginfo file
-+ * it is due to once printing about the binary file build-id link and once
-+ * about the .debug file build-id link as both the build-id symlinks are
-+ * located in the debuginfo package. */
-+
-+ if (*slot != NULL)
-+ {
-+ obstack_free (&missing_filepair_obstack, missing_filepair);
-+ return;
-+ }
+ *slot = missing_filepair;
+
+ /* We do not collect and flush these messages as each such message
++++++ gdb-6.8-bz457187-largefile-test.patch ++++++
--- /dev/null 2009-04-19 14:49:00.974648389 +0200
+++ gdb-6.8/gdb/testsuite/gdb.arch/i386-biarch-core.exp 2009-04-19 16:30:12.000000000 +0200
@@ -0,0 +1,61 @@
+# This testcase is part of GDB, the GNU debugger.
+
+# Copyright 2009 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# 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.
+
+# Test ability to load an elf64-i386 core file. The provided core file was
+# elf64-x8664 one but it got binary patched to i386:
+# Elf32_Ehdr.e_machine @0x12..0x13
+# Elf64_Ehdr.e_machine @0x12..0x13
+# #define EM_386 3 /* Intel 80386 */
+# #define EM_X86_64 62 /* AMD x86-64 architecture */
+# patch @0x12: 0x3E -> 0x03
+
+if { ![istarget "i?86-*-*"] && ![istarget "x86_64-*-*"] } then {
+ verbose "Skipping i386-biarch-core test."
+ return
+}
+
+set testfile "i386-biarch-core"
+set corebz2uufile ${srcdir}/${subdir}/${testfile}.core.bz2.uu
+set corefile ${objdir}/${subdir}/${testfile}.core
+# Entry point of the original executable.
+set address 0x400078
+
+if {[catch "system \"uudecode -o - ${corebz2uufile} | bzip2 -dc >${corefile}\""] != 0} {
+ untested "failed uudecode or bzip2"
+ return -1
+}
+file stat ${corefile} corestat
+if {$corestat(size) != 102400} {
+ untested "uudecode or bzip2 produce invalid result"
+ return -1
+}
+
+gdb_exit
+gdb_start
+gdb_reinitialize_dir $srcdir/$subdir
+
+# Wrongly built GDB complains by:
+# "..." is not a core dump: File format not recognized
+# As the provided test core has 64bit PRSTATUS i386 built GDB cannot parse it.
+# This is just a problem of the test care, real-world elf64-i386 file will have
+# 32bit PRSTATUS. One cannot prepare elf64-i386 core file from elf32-i386 by
+# objcopy as it corrupts the core file beyond all recognition.
+# "\r\nCore was generated by `\[^\r\n\]*'\\.\r\nProgram terminated with signal 11, Segmentation fault\\.\r\n.*"
+gdb_test "core-file ${corefile}"
+
+gdb_test "x/i $address" "\r\n$address:\[ \t\]*hlt\[ \t\]*" ".text is readable"
--- /dev/null 2009-04-19 14:49:00.974648389 +0200
+++ gdb-6.8/gdb/testsuite/gdb.arch/i386-biarch-core.S 2009-04-19 14:52:28.000000000 +0200
@@ -0,0 +1,22 @@
+/* This testcase is part of GDB, the GNU debugger.
+
+ Copyright 2009 Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ 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.
+ */
+
+ .globl _start
+_start:
+ hlt
--- /dev/null 2009-04-19 14:49:00.974648389 +0200
+++ gdb-6.8/gdb/testsuite/gdb.arch/i386-biarch-core.core.bz2.uu 2009-04-19 15:02:12.000000000 +0200
@@ -0,0 +1,13 @@
+begin 600 i386-biarch-core.core.bz2
+M0EIH.3%!629361`P1\P`!)?_____\9'@"8Q)6P380'9@'&#`0D@``"``%(``
+M@`#`"!<(L`%F"(:$GH13::F-)M&D&U,AD:`--#)M0&FT0XR9--,)D9`P(Q-&
+M",(-&F``02)%38HT]0T`&AH```'H@``T^>9T*(,("&)SE`>`9@+GP=[,N)KB
+M'I8BL(L]N5TCY\%V]/?DB.BN*UZ'U@]TN7-]UJ5\_%0QTT<*086#%MHT7XVJ
+M9D"+C!"2*L:8D1XPD!`--M@*XT1H5RFYN&)(!0P0#:`I:;2;$5M&\*9"0@%:
+MK@X[T()M)9N7`D$VA!^63)%,;@8LT`(7\K&[7G;U:"B6'!GG+46ALOZF.2F-
+M!@>C*%86X$-]C2`KE;HG)UL(913VR2G]0BD:J=Z_`G@S,`W%.8RMS-#5P:J0
+MAJ2\8&X?@DE;UF68QHM<,D`('::J65/S:PAG*R-09["8DBI)'V]Y.[(/AM*L
+M"X_O^V;%FY.S6Q]FM=D37>5F,%4-F1ZF#,CFJVU;H*^IT<(%<V`.32$`JU["
+/G`68?\7<D4X4)`0,$?,`
+`
+end
++++++ gdb-6.8.50.20090302-upstream.patch ++++++
++++ 747 lines (skipped)
++++++ gdb-DW_OP_call_frame_cfa.patch ++++++
http://sourceware.org/ml/gdb-patches/2009-06/msg00191.html
GCC developers would like to change GCC to emit DW_OP_call_frame_cfa,
as this would reduce the size of the generated debuginfo.
A prerequisite to this is that GDB understand this. So, this patch
implements this feature. This is PR 10224.
I'm interested in feedback on this. I am not sure whether the
implementation of dwarf2_frame_cfa is ok.
No test case since at some point GCC will start generating this
(perhaps optionally -- but I feel certain we'll do it by default in
Fedora), and since it therefore seemed like a lot of work for little
payoff.
Tom
2009-06-08 Tom Tromey <tromey(a)redhat.com>
PR gdb/10224:
* dwarf2loc.c: Include dwarf2-frame.h.
(dwarf_expr_frame_cfa): New function.
(dwarf2_evaluate_loc_desc): Initialize new field.
(needs_frame_frame_cfa): New function.
(dwarf2_loc_desc_needs_frame): Initialize new field.
* dwarf2expr.h (struct dwarf_expr_context) <get_frame_cfa>: New
field.
* dwarf2expr.c (execute_stack_op) <DW_OP_call_frame_cfa>: New
case.
* dwarf2-frame.h (dwarf2_frame_cfa): Declare.
* dwarf2-frame.c (no_get_frame_cfa): New function.
(execute_stack_op): Initialize new field.
(dwarf2_frame_cfa): New function.
[ Backported for Fedora Rawhide. ]
--- ./gdb/dwarf2-frame.c 2009-06-12 11:12:51.000000000 +0200
+++ ./gdb/dwarf2-frame.c 2009-06-12 11:13:30.000000000 +0200
@@ -306,6 +306,13 @@ no_get_frame_base (void *baton, gdb_byte
}
static CORE_ADDR
+no_get_frame_cfa (void *baton)
+{
+ internal_error (__FILE__, __LINE__,
+ _("Support for DW_OP_call_frame_cfa is unimplemented"));
+}
+
+static CORE_ADDR
no_get_tls_address (void *baton, CORE_ADDR offset)
{
internal_error (__FILE__, __LINE__,
@@ -356,6 +363,7 @@ execute_stack_op (gdb_byte *exp, ULONGES
ctx->read_reg = read_reg;
ctx->read_mem = read_mem;
ctx->get_frame_base = no_get_frame_base;
+ ctx->get_frame_cfa = no_get_frame_cfa;
ctx->get_tls_address = no_get_tls_address;
dwarf_expr_push (ctx, initial);
@@ -1221,6 +1229,13 @@ dwarf2_frame_base_address (struct frame_
return cache->cfa;
}
+CORE_ADDR
+dwarf2_frame_cfa (struct frame_info *this_frame)
+{
+ void *cache = NULL;
+ return dwarf2_frame_base_address (this_frame, &cache);
+}
+
static const struct frame_base dwarf2_frame_base =
{
&dwarf2_frame_unwind,
--- ./gdb/dwarf2-frame.h 2009-01-03 06:57:51.000000000 +0100
+++ ./gdb/dwarf2-frame.h 2009-06-12 11:13:30.000000000 +0200
@@ -118,4 +118,8 @@ extern const struct frame_base *
void dwarf2_frame_build_info (struct objfile *objfile);
+/* Compute the DWARF CFA for a frame. */
+
+CORE_ADDR dwarf2_frame_cfa (struct frame_info *this_frame);
+
#endif /* dwarf2-frame.h */
--- ./gdb/dwarf2expr.c 2009-06-12 11:12:51.000000000 +0200
+++ ./gdb/dwarf2expr.c 2009-06-12 11:13:44.000000000 +0200
@@ -697,6 +697,10 @@ execute_stack_op (struct dwarf_expr_cont
}
break;
+ case DW_OP_call_frame_cfa:
+ result = (ctx->get_frame_cfa) (ctx->baton);
+ break;
+
case DW_OP_GNU_push_tls_address:
/* Variable is at a constant offset in the thread-local
storage block into the objfile for the current thread and
--- ./gdb/dwarf2expr.h 2009-06-12 11:12:51.000000000 +0200
+++ ./gdb/dwarf2expr.h 2009-06-12 11:15:36.000000000 +0200
@@ -55,6 +55,9 @@ struct dwarf_expr_context
expression evaluation is complete. */
void (*get_frame_base) (void *baton, gdb_byte **start, size_t *length);
+ /* Return the CFA for the frame. */
+ CORE_ADDR (*get_frame_cfa) (void *baton);
+
/* Return the thread-local storage address for
DW_OP_GNU_push_tls_address. */
CORE_ADDR (*get_tls_address) (void *baton, CORE_ADDR offset);
--- ./gdb/dwarf2loc.c 2009-06-12 11:12:55.000000000 +0200
+++ ./gdb/dwarf2loc.c 2009-06-12 11:15:07.000000000 +0200
@@ -32,6 +32,7 @@
#include "objfiles.h"
#include "exceptions.h"
#include "block.h"
+#include "dwarf2-frame.h"
#include "elf/dwarf2.h"
#include "dwarf2expr.h"
@@ -200,6 +201,13 @@ dwarf_expr_frame_base (void *baton, gdb_
SYMBOL_PRINT_NAME (framefunc));
}
+static CORE_ADDR
+dwarf_expr_frame_cfa (void *baton)
+{
+ struct dwarf_expr_baton *debaton = (struct dwarf_expr_baton *) baton;
+ return dwarf2_frame_cfa (debaton->frame);
+}
+
/* Using the objfile specified in BATON, find the address for the
current thread's thread-local storage with offset OFFSET. */
static CORE_ADDR
@@ -286,6 +294,7 @@ dwarf_expr_prep_ctx (struct frame_info *
ctx->read_reg = dwarf_expr_read_reg;
ctx->read_mem = dwarf_expr_read_mem;
ctx->get_frame_base = dwarf_expr_frame_base;
+ ctx->get_frame_cfa = dwarf_expr_frame_cfa;
ctx->get_tls_address = dwarf_expr_tls_address;
ctx->get_object_address = dwarf_expr_object_address;
@@ -439,6 +448,15 @@ needs_frame_frame_base (void *baton, gdb
nf_baton->needs_frame = 1;
}
+/* CFA accesses require a frame. */
+static CORE_ADDR
+needs_frame_frame_cfa (void *baton)
+{
+ struct needs_frame_baton *nf_baton = baton;
+ nf_baton->needs_frame = 1;
+ return 1;
+}
+
/* Thread-local accesses do require a frame. */
static CORE_ADDR
needs_frame_tls_address (void *baton, CORE_ADDR offset)
@@ -468,6 +486,7 @@ dwarf2_loc_desc_needs_frame (gdb_byte *d
ctx->read_reg = needs_frame_read_reg;
ctx->read_mem = needs_frame_read_mem;
ctx->get_frame_base = needs_frame_frame_base;
+ ctx->get_frame_cfa = needs_frame_frame_cfa;
ctx->get_tls_address = needs_frame_tls_address;
dwarf_expr_eval (ctx, data, size);
++++++ gdb-archer.patch ++++++
++++ 2099 lines (skipped)
++++ between gdb/gdb-archer.patch
++++ and /mounts/work_src_done/STABLE/gdb/gdb-archer.patch
++++++ gdb-bz507267-block-sort-fast.patch ++++++
https://bugzilla.redhat.com/show_bug.cgi?id=507267
--- gdb-6.8.50.20090302/gdb/buildsym.c-orig 2009-06-22 15:20:39.000000000 +0200
+++ gdb-6.8.50.20090302/gdb/buildsym.c 2009-06-22 17:50:54.000000000 +0200
@@ -900,6 +900,19 @@ watch_main_source_file_lossage (void)
}
}
+/* Helper function for qsort. Parametes are `struct block *' pointers,
+ function sorts them in descending order by their BLOCK_START. */
+
+static int
+block_compar (const void *ap, const void *bp)
+{
+ const struct block *a = *(const struct block **) ap;
+ const struct block *b = *(const struct block **) bp;
+
+ return (BLOCK_START (b) > BLOCK_START (a))
+ - (BLOCK_START (b) < BLOCK_START (a));
+}
+
/* Finish the symbol definitions for one main source file, close off
all the lexical contexts for that file (creating struct block's for
them), then make the struct symtab for that file and put it in the
@@ -953,32 +966,28 @@ end_symtab (CORE_ADDR end_addr, struct o
OBJF_REORDERED is true, then sort the pending blocks. */
if ((objfile->flags & OBJF_REORDERED) && pending_blocks)
{
- /* FIXME! Remove this horrid bubble sort and use merge sort!!! */
- int swapped;
- do
- {
- struct pending_block *pb, *pbnext;
+ unsigned count = 0;
+ struct pending_block *pb;
+ struct block **barray, **bp;
+ struct cleanup *back_to;
- pb = pending_blocks;
- pbnext = pb->next;
- swapped = 0;
+ for (pb = pending_blocks; pb != NULL; pb = pb->next)
+ count++;
- while (pbnext)
- {
- /* swap blocks if unordered! */
+ barray = xmalloc (sizeof (*barray) * count);
+ back_to = make_cleanup (xfree, barray);
- if (BLOCK_START (pb->block) < BLOCK_START (pbnext->block))
- {
- struct block *tmp = pb->block;
- pb->block = pbnext->block;
- pbnext->block = tmp;
- swapped = 1;
- }
- pb = pbnext;
- pbnext = pbnext->next;
- }
- }
- while (swapped);
+ bp = barray;
+ for (pb = pending_blocks; pb != NULL; pb = pb->next)
+ *bp++ = pb->block;
+
+ qsort (barray, count, sizeof (*barray), block_compar);
+
+ bp = barray;
+ for (pb = pending_blocks; pb != NULL; pb = pb->next)
+ pb->block = *bp++;
+
+ do_cleanups (back_to);
}
/* Cleanup any undefined types that have been left hanging around
++++++ gdb-orphanripper.c ++++++
--- /var/tmp/diff_new_pack.TXV2Wi/_old 2009-07-29 17:47:01.000000000 +0200
+++ /var/tmp/diff_new_pack.TXV2Wi/_new 2009-07-29 17:47:01.000000000 +0200
@@ -90,6 +90,7 @@
termios.c_oflag = 0;
termios.c_cflag = CS8 | CREAD | CLOCAL | HUPCL | B9600;
termios.c_lflag = IEXTEN | NOFLSH;
+ termios.c_line = 0;
memset (termios.c_cc, _POSIX_VDISABLE, sizeof (termios.c_cc));
termios.c_cc[VTIME] = 0;
termios.c_cc[VMIN ] = 1;
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package pam-config for openSUSE:Factory
checked in at Wed Jul 29 17:44:47 CEST 2009.
--------
--- pam-config/pam-config.changes 2009-05-08 13:20:47.000000000 +0200
+++ /mounts/work_src_done/STABLE/pam-config/pam-config.changes 2009-07-29 14:55:41.000000000 +0200
@@ -1,0 +2,7 @@
+Wed Jul 29 14:53:54 CEST 2009 - mc(a)novell.com
+
+- Version 0.72
+ * src/mod_pam_gnome_keyring.c: enable use_authtok and support
+ new option only_if. (bnc#523379)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
pam-config-0.71.tar.bz2
New:
----
pam-config-0.72.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pam-config.spec ++++++
--- /var/tmp/diff_new_pack.jQ3MzA/_old 2009-07-29 17:44:34.000000000 +0200
+++ /var/tmp/diff_new_pack.jQ3MzA/_new 2009-07-29 17:44:34.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package pam-config (Version 0.71)
+# spec file for package pam-config (Version 0.72)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -20,7 +20,7 @@
Name: pam-config
Summary: Modify common PAM configuration files
-Version: 0.71
+Version: 0.72
Release: 1
License: GPL v2 only
AutoReqProv: on
++++++ pam-config-0.71.tar.bz2 -> pam-config-0.72.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam-config-0.71/ChangeLog new/pam-config-0.72/ChangeLog
--- old/pam-config-0.71/ChangeLog 2009-05-08 13:16:19.000000000 +0200
+++ new/pam-config-0.72/ChangeLog 2009-07-28 16:30:56.000000000 +0200
@@ -1,3 +1,10 @@
+2009-07-28 Michael Calmer <mc(a)suse.de>
+
+ * release version 0.72
+
+ * src/mod_pam_gnome_keyring.c: enable use_authtok and support new
+ option only_if.
+
2009-05-08 Michael Calmer <mc(a)suse.de>
* release version 0.71
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam-config-0.71/NEWS new/pam-config-0.72/NEWS
--- old/pam-config-0.71/NEWS 2009-05-08 13:14:54.000000000 +0200
+++ new/pam-config-0.72/NEWS 2009-07-28 16:31:46.000000000 +0200
@@ -4,6 +4,10 @@
Please enter bug reports into bugzilla.novell.com.
+Version 0.72
+* enable use_authtok and support new option only_if in
+ pam_gnome_keyring.
+
Version 0.71
* re-add lost query option
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam-config-0.71/configure new/pam-config-0.72/configure
--- old/pam-config-0.71/configure 2009-05-08 13:18:23.000000000 +0200
+++ new/pam-config-0.72/configure 2009-07-28 16:32:07.000000000 +0200
@@ -2209,7 +2209,7 @@
# Define the identity of the package.
PACKAGE="pam-config"
- VERSION=0.71
+ VERSION=0.72
cat >>confdefs.h <<_ACEOF
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam-config-0.71/configure.in new/pam-config-0.72/configure.in
--- old/pam-config-0.71/configure.in 2009-05-08 13:16:28.000000000 +0200
+++ new/pam-config-0.72/configure.in 2009-07-28 16:28:54.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.71)
+AM_INIT_AUTOMAKE("pam-config", 0.72)
AM_CONFIG_HEADER(config.h)
AC_PREFIX_DEFAULT(/usr)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam-config-0.71/src/mod_pam_gnome_keyring.c new/pam-config-0.72/src/mod_pam_gnome_keyring.c
--- old/pam-config-0.71/src/mod_pam_gnome_keyring.c 2008-11-10 11:25:08.000000000 +0100
+++ new/pam-config-0.72/src/mod_pam_gnome_keyring.c 2009-07-28 16:24:24.000000000 +0200
@@ -48,8 +48,10 @@
return 0;
break;
case PASSWORD:
- /* No options, if daemon is not running, we will start and kill it */
- fprintf (fp, "password\toptional\tpam_gnome_keyring.so\n");
+ /* We use use_authtok since we want to use something that is supposed to
+ * be secure.
+ * No auto_start option: if daemon is not running, we will start and kill it */
+ fprintf (fp, "password\toptional\tpam_gnome_keyring.so\tuse_authtok\n");
return 0;
break;
case SESSION:
@@ -70,7 +72,7 @@
/* ---- contruct module object ---- */
DECLARE_BOOL_OPTS_2(is_enabled, auto_start);
-DECLARE_STRING_OPTS_1(auto_start_if);
+DECLARE_STRING_OPTS_1(only_if);
DECLARE_OPT_SETS;
static module_helptext_t gnome_keyring_helptext[] = {{"", NULL, "Enable/Disable pam_gnome_keyring.so"},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam-config-0.71/src/pam-config.8 new/pam-config-0.72/src/pam-config.8
--- old/pam-config-0.71/src/pam-config.8 2009-05-08 13:19:32.000000000 +0200
+++ new/pam-config-0.72/src/pam-config.8 2009-07-28 16:32:25.000000000 +0200
@@ -1,12 +1,12 @@
.\" Title: pam-config
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/>
-.\" Date: 05/08/2009
+.\" Date: 07/28/2009
.\" Manual: Reference Manual
.\" Source: Reference Manual
.\" Language: English
.\"
-.TH "PAM\-CONFIG" "8" "05/08/2009" "Reference Manual" "Reference Manual"
+.TH "PAM\-CONFIG" "8" "07/28/2009" "Reference Manual" "Reference Manual"
.\" -----------------------------------------------------------------
.\" * (re)Define some macros
.\" -----------------------------------------------------------------
@@ -419,10 +419,10 @@
option to all pam_gnome_keyring\&.so invocations\&.
.RE
.PP
-\fB\-\-gnome_keyring\-auto_start_if=\fR\fIvalue\fR
+\fB\-\-gnome_keyring\-only_if=\fR\fIvalue\fR
.RS 4
Add
-\fBauto_start_if=\fR\fIvalue\fR
+\fBonly_if=\fR\fIvalue\fR
option to pam_gnome_keyring\&.so\&.
.RE
.PP
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam-config-0.71/src/pam-config.8.xml new/pam-config-0.72/src/pam-config.8.xml
--- old/pam-config-0.71/src/pam-config.8.xml 2009-05-08 13:19:31.000000000 +0200
+++ new/pam-config-0.72/src/pam-config.8.xml 2009-07-28 16:32:24.000000000 +0200
@@ -362,10 +362,10 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><option>--gnome_keyring-auto_start_if=</option><replaceable>value</replaceable></term>
+ <term><option>--gnome_keyring-only_if=</option><replaceable>value</replaceable></term>
<listitem>
<para>
- Add <option>auto_start_if=</option><replaceable>value</replaceable> option to pam_gnome_keyring.so.
+ Add <option>only_if=</option><replaceable>value</replaceable> option to pam_gnome_keyring.so.
</para>
</listitem>
</varlistentry>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam-config-0.71/tests/config/Makefile new/pam-config-0.72/tests/config/Makefile
--- old/pam-config-0.71/tests/config/Makefile 2009-05-08 13:18:44.000000000 +0200
+++ new/pam-config-0.72/tests/config/Makefile 2009-07-28 16:32:16.000000000 +0200
@@ -29,8 +29,8 @@
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
-build_triplet = i686-suse-linux-gnu
-host_triplet = i686-suse-linux-gnu
+build_triplet = x86_64-suse-linux-gnu
+host_triplet = x86_64-suse-linux-gnu
subdir = tests/config
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -106,7 +106,7 @@
SHELL = /bin/sh
STRIP =
USE_NLS = yes
-VERSION = 0.71
+VERSION = 0.72
XGETTEXT = /usr/bin/xgettext
XGETTEXT_015 = /usr/bin/xgettext
XMLCATALOG = /usr/bin/xmlcatalog
@@ -124,9 +124,9 @@
am__tar = ${AMTAR} chof - "$$tardir"
am__untar = ${AMTAR} xf -
bindir = ${exec_prefix}/bin
-build = i686-suse-linux-gnu
+build = x86_64-suse-linux-gnu
build_alias =
-build_cpu = i686
+build_cpu = x86_64
build_os = linux-gnu
build_vendor = suse
builddir = .
@@ -135,9 +135,9 @@
docdir = ${datarootdir}/doc/${PACKAGE}
dvidir = ${docdir}
exec_prefix = ${prefix}
-host = i686-suse-linux-gnu
+host = x86_64-suse-linux-gnu
host_alias =
-host_cpu = i686
+host_cpu = x86_64
host_os = linux-gnu
host_vendor = suse
htmldir = ${docdir}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam-config-0.71/tests/etc/pam.d/Makefile new/pam-config-0.72/tests/etc/pam.d/Makefile
--- old/pam-config-0.71/tests/etc/pam.d/Makefile 2009-05-08 13:17:53.000000000 +0200
+++ new/pam-config-0.72/tests/etc/pam.d/Makefile 1970-01-01 01:00:00.000000000 +0100
@@ -1,335 +0,0 @@
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
-# tests/etc/Makefile. Generated from Makefile.in by configure.
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-
-
-pkgdatadir = $(datadir)/pam-config
-pkglibdir = $(libdir)/pam-config
-pkgincludedir = $(includedir)/pam-config
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = i686-suse-linux-gnu
-host_triplet = i686-suse-linux-gnu
-subdir = tests/etc
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
- $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/isc-posix.m4 \
- $(top_srcdir)/m4/jh_path_xml_catalog.m4 \
- $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
- $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \
- $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
- $(top_srcdir)/configure.in
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
-SOURCES =
-DIST_SOURCES =
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = ${SHELL} /cvs/PAM/pam-config/trunk/missing --run aclocal-1.10
-AMTAR = ${SHELL} /cvs/PAM/pam-config/trunk/missing --run tar
-AUTOCONF = ${SHELL} /cvs/PAM/pam-config/trunk/missing --run autoconf
-AUTOHEADER = ${SHELL} /cvs/PAM/pam-config/trunk/missing --run autoheader
-AUTOMAKE = ${SHELL} /cvs/PAM/pam-config/trunk/missing --run automake-1.10
-AWK = gawk
-CC = gcc
-CCDEPMODE = depmode=gcc3
-CFLAGS = -g -O2
-CPP = gcc -E
-CPPFLAGS =
-CYGPATH_W = echo
-DEFS = -DHAVE_CONFIG_H
-DEPDIR = .deps
-ECHO_C =
-ECHO_N = -n
-ECHO_T =
-EGREP = /usr/bin/grep -E
-EXEEXT =
-EXTRA_CFLAGS = -Werror -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef
-GMSGFMT = /usr/bin/msgfmt
-GMSGFMT_015 = /usr/bin/msgfmt
-GREP = /usr/bin/grep
-INSTALL = /usr/bin/install -c
-INSTALL_DATA = ${INSTALL} -m 644
-INSTALL_PROGRAM = ${INSTALL}
-INSTALL_SCRIPT = ${INSTALL}
-INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
-INTLLIBS =
-INTL_MACOSX_LIBS =
-LDFLAGS =
-LIBICONV = -liconv
-LIBINTL =
-LIBOBJS =
-LIBS =
-LTLIBICONV = -liconv
-LTLIBINTL =
-LTLIBOBJS =
-MAKEINFO = ${SHELL} /cvs/PAM/pam-config/trunk/missing --run makeinfo
-MKDIR_P = /bin/mkdir -p
-MSGFMT = /usr/bin/msgfmt
-MSGFMT_015 = /usr/bin/msgfmt
-MSGMERGE = /usr/bin/msgmerge
-OBJEXT = o
-PACKAGE = pam-config
-PACKAGE_BUGREPORT =
-PACKAGE_NAME =
-PACKAGE_STRING =
-PACKAGE_TARNAME =
-PACKAGE_VERSION =
-PATH_SEPARATOR = :
-POSUB = po
-RANLIB = ranlib
-SET_MAKE =
-SHELL = /bin/sh
-STRIP =
-USE_NLS = yes
-VERSION = 0.71
-XGETTEXT = /usr/bin/xgettext
-XGETTEXT_015 = /usr/bin/xgettext
-XMLCATALOG = /usr/bin/xmlcatalog
-XMLLINT = /usr/bin/xmllint
-XML_CATALOG_FILE = /etc/xml/catalog
-XSLTPROC = /usr/bin/xsltproc
-abs_builddir = /cvs/PAM/pam-config/trunk/tests/etc
-abs_srcdir = /cvs/PAM/pam-config/trunk/tests/etc
-abs_top_builddir = /cvs/PAM/pam-config/trunk
-abs_top_srcdir = /cvs/PAM/pam-config/trunk
-ac_ct_CC = gcc
-am__include = include
-am__leading_dot = .
-am__quote =
-am__tar = ${AMTAR} chof - "$$tardir"
-am__untar = ${AMTAR} xf -
-bindir = ${exec_prefix}/bin
-build = i686-suse-linux-gnu
-build_alias =
-build_cpu = i686
-build_os = linux-gnu
-build_vendor = suse
-builddir = .
-datadir = ${datarootdir}
-datarootdir = ${prefix}/share
-docdir = ${datarootdir}/doc/${PACKAGE}
-dvidir = ${docdir}
-exec_prefix = ${prefix}
-host = i686-suse-linux-gnu
-host_alias =
-host_cpu = i686
-host_os = linux-gnu
-host_vendor = suse
-htmldir = ${docdir}
-includedir = ${prefix}/include
-infodir = ${datarootdir}/info
-install_sh = $(SHELL) /cvs/PAM/pam-config/trunk/install-sh
-libdir = ${exec_prefix}/lib
-libexecdir = ${exec_prefix}/libexec
-localedir = ${datarootdir}/locale
-localstatedir = ${prefix}/var
-mandir = ${datarootdir}/man
-mkdir_p = /bin/mkdir -p
-oldincludedir = /usr/include
-pdfdir = ${docdir}
-prefix = /usr
-program_transform_name = s,x,x,
-psdir = ${docdir}
-sbindir = ${exec_prefix}/sbin
-sharedstatedir = ${prefix}/com
-srcdir = .
-sysconfdir = /etc
-target_alias =
-top_build_prefix = ../../
-top_builddir = ../..
-top_srcdir = ../..
-EXTRA_DIST = pam.d/* atd common-auth-pc gdm gnomesu-pam pam_test rlogin smtp \
- useradd xdm-np chage common-password-pc gdm-autologin \
- kcheckpass Makefile.am passwd rpasswd sshd vlock \
- xdm.rpmsave chfn common-session-pc gdm.rpmsave \
- login policy-kit rsh sshd.rpmsave vsftpd xlock chsh crond gnome-passwd \
- login2 other ppp samba su wbem xscreensaver common-account-pc cups \
- gnome-screensaver login.rpmsave rexec shadow sudo xdm
-
-all: all-am
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/etc/Makefile'; \
- cd $(top_srcdir) && \
- $(AUTOMAKE) --gnu tests/etc/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: $(am__configure_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-tags: TAGS
-TAGS:
-
-ctags: CTAGS
-CTAGS:
-
-
-distdir: $(DISTFILES)
- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- list='$(DISTFILES)'; \
- dist_files=`for file in $$list; do echo $$file; done | \
- sed -e "s|^$$srcdirstrip/||;t" \
- -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- case $$dist_files in \
- */*) $(MKDIR_P) `echo "$$dist_files" | \
- sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- sort -u` ;; \
- esac; \
- for file in $$dist_files; do \
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- if test -d $$d/$$file; then \
- dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
- fi; \
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
- else \
- test -f $(distdir)/$$file \
- || cp -p $$d/$$file $(distdir)/$$file \
- || exit 1; \
- fi; \
- done
-check-am: all-am
-check: check-am
-all-am: Makefile
-installdirs:
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- `test -z '$(STRIP)' || \
- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-
-maintainer-clean-generic:
- @echo "This command is intended for maintainers to use"
- @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic mostlyclean-am
-
-distclean: distclean-am
- -rm -f Makefile
-distclean-am: clean-am distclean-generic
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-info: info-am
-
-info-am:
-
-install-data-am:
-
-install-dvi: install-dvi-am
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-info: install-info-am
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-ps: install-ps-am
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
- -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-generic
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am:
-
-.MAKE: install-am install-strip
-
-.PHONY: all all-am check check-am clean clean-generic distclean \
- distclean-generic distdir dvi dvi-am html html-am info info-am \
- install install-am install-data install-data-am install-dvi \
- install-dvi-am install-exec install-exec-am install-html \
- install-html-am install-info install-info-am install-man \
- install-pdf install-pdf-am install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- maintainer-clean maintainer-clean-generic mostlyclean \
- mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam-config-0.71/tests/etc/pam.d/Makefile.am new/pam-config-0.72/tests/etc/pam.d/Makefile.am
--- old/pam-config-0.71/tests/etc/pam.d/Makefile.am 2009-05-08 13:17:53.000000000 +0200
+++ new/pam-config-0.72/tests/etc/pam.d/Makefile.am 1970-01-01 01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-EXTRA_DIST = pam.d/* atd common-auth-pc gdm gnomesu-pam pam_test rlogin smtp \
- useradd xdm-np chage common-password-pc gdm-autologin \
- kcheckpass Makefile.am passwd rpasswd sshd vlock \
- xdm.rpmsave chfn common-session-pc gdm.rpmsave \
- login policy-kit rsh sshd.rpmsave vsftpd xlock chsh crond gnome-passwd \
- login2 other ppp samba su wbem xscreensaver common-account-pc cups \
- gnome-screensaver login.rpmsave rexec shadow sudo xdm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam-config-0.71/tests/etc/pam.d/Makefile.in new/pam-config-0.72/tests/etc/pam.d/Makefile.in
--- old/pam-config-0.71/tests/etc/pam.d/Makefile.in 2009-05-08 13:17:53.000000000 +0200
+++ new/pam-config-0.72/tests/etc/pam.d/Makefile.in 1970-01-01 01:00:00.000000000 +0100
@@ -1,335 +0,0 @@
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = tests/etc
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
- $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/isc-posix.m4 \
- $(top_srcdir)/m4/jh_path_xml_catalog.m4 \
- $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
- $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \
- $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
- $(top_srcdir)/configure.in
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
-SOURCES =
-DIST_SOURCES =
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-AMTAR = @AMTAR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-EXTRA_CFLAGS = @EXTRA_CFLAGS@
-GMSGFMT = @GMSGFMT@
-GMSGFMT_015 = @GMSGFMT_015@
-GREP = @GREP@
-INSTALL = @INSTALL@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-INTLLIBS = @INTLLIBS@
-INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
-LDFLAGS = @LDFLAGS@
-LIBICONV = @LIBICONV@
-LIBINTL = @LIBINTL@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LTLIBICONV = @LTLIBICONV@
-LTLIBINTL = @LTLIBINTL@
-LTLIBOBJS = @LTLIBOBJS@
-MAKEINFO = @MAKEINFO@
-MKDIR_P = @MKDIR_P@
-MSGFMT = @MSGFMT@
-MSGFMT_015 = @MSGFMT_015@
-MSGMERGE = @MSGMERGE@
-OBJEXT = @OBJEXT@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-POSUB = @POSUB@
-RANLIB = @RANLIB@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRIP = @STRIP@
-USE_NLS = @USE_NLS@
-VERSION = @VERSION@
-XGETTEXT = @XGETTEXT@
-XGETTEXT_015 = @XGETTEXT_015@
-XMLCATALOG = @XMLCATALOG@
-XMLLINT = @XMLLINT@
-XML_CATALOG_FILE = @XML_CATALOG_FILE@
-XSLTPROC = @XSLTPROC@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_CC = @ac_ct_CC@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-EXTRA_DIST = pam.d/* atd common-auth-pc gdm gnomesu-pam pam_test rlogin smtp \
- useradd xdm-np chage common-password-pc gdm-autologin \
- kcheckpass Makefile.am passwd rpasswd sshd vlock \
- xdm.rpmsave chfn common-session-pc gdm.rpmsave \
- login policy-kit rsh sshd.rpmsave vsftpd xlock chsh crond gnome-passwd \
- login2 other ppp samba su wbem xscreensaver common-account-pc cups \
- gnome-screensaver login.rpmsave rexec shadow sudo xdm
-
-all: all-am
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/etc/Makefile'; \
- cd $(top_srcdir) && \
- $(AUTOMAKE) --gnu tests/etc/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: $(am__configure_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-tags: TAGS
-TAGS:
-
-ctags: CTAGS
-CTAGS:
-
-
-distdir: $(DISTFILES)
- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- list='$(DISTFILES)'; \
- dist_files=`for file in $$list; do echo $$file; done | \
- sed -e "s|^$$srcdirstrip/||;t" \
- -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- case $$dist_files in \
- */*) $(MKDIR_P) `echo "$$dist_files" | \
- sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- sort -u` ;; \
- esac; \
- for file in $$dist_files; do \
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- if test -d $$d/$$file; then \
- dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
- fi; \
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
- else \
- test -f $(distdir)/$$file \
- || cp -p $$d/$$file $(distdir)/$$file \
- || exit 1; \
- fi; \
- done
-check-am: all-am
-check: check-am
-all-am: Makefile
-installdirs:
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- `test -z '$(STRIP)' || \
- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-
-maintainer-clean-generic:
- @echo "This command is intended for maintainers to use"
- @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic mostlyclean-am
-
-distclean: distclean-am
- -rm -f Makefile
-distclean-am: clean-am distclean-generic
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-info: info-am
-
-info-am:
-
-install-data-am:
-
-install-dvi: install-dvi-am
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-info: install-info-am
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-ps: install-ps-am
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
- -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-generic
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am:
-
-.MAKE: install-am install-strip
-
-.PHONY: all all-am check check-am clean clean-generic distclean \
- distclean-generic distdir dvi dvi-am html html-am info info-am \
- install install-am install-data install-data-am install-dvi \
- install-dvi-am install-exec install-exec-am install-html \
- install-html-am install-info install-info-am install-man \
- install-pdf install-pdf-am install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- maintainer-clean maintainer-clean-generic mostlyclean \
- mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam-config-0.71/tests/pam-config.test/Makefile new/pam-config-0.72/tests/pam-config.test/Makefile
--- old/pam-config-0.71/tests/pam-config.test/Makefile 2009-05-08 13:18:44.000000000 +0200
+++ new/pam-config-0.72/tests/pam-config.test/Makefile 2009-07-28 16:32:16.000000000 +0200
@@ -29,8 +29,8 @@
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
-build_triplet = i686-suse-linux-gnu
-host_triplet = i686-suse-linux-gnu
+build_triplet = x86_64-suse-linux-gnu
+host_triplet = x86_64-suse-linux-gnu
subdir = tests/pam-config.test
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -106,7 +106,7 @@
SHELL = /bin/sh
STRIP =
USE_NLS = yes
-VERSION = 0.71
+VERSION = 0.72
XGETTEXT = /usr/bin/xgettext
XGETTEXT_015 = /usr/bin/xgettext
XMLCATALOG = /usr/bin/xmlcatalog
@@ -124,9 +124,9 @@
am__tar = ${AMTAR} chof - "$$tardir"
am__untar = ${AMTAR} xf -
bindir = ${exec_prefix}/bin
-build = i686-suse-linux-gnu
+build = x86_64-suse-linux-gnu
build_alias =
-build_cpu = i686
+build_cpu = x86_64
build_os = linux-gnu
build_vendor = suse
builddir = .
@@ -135,9 +135,9 @@
docdir = ${datarootdir}/doc/${PACKAGE}
dvidir = ${docdir}
exec_prefix = ${prefix}
-host = i686-suse-linux-gnu
+host = x86_64-suse-linux-gnu
host_alias =
-host_cpu = i686
+host_cpu = x86_64
host_os = linux-gnu
host_vendor = suse
htmldir = ${docdir}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package gnome-keyring for openSUSE:Factory
checked in at Wed Jul 29 17:44:46 CEST 2009.
--------
--- GNOME/gnome-keyring/gnome-keyring.changes 2009-04-13 03:20:12.000000000 +0200
+++ /mounts/work_src_done/STABLE/gnome-keyring/gnome-keyring.changes 2009-07-29 17:00:00.000000000 +0200
@@ -1,0 +2,47 @@
+Wed Jul 29 16:52:04 CEST 2009 - vuntz(a)novell.com
+
+- Drop gnome-keyring-auto-start-if-compatibility.patch now that
+ pam-config has been updated to support only_if in the pam config.
+- Change pam-config call in post to use "--gnome_keyring-auto_start
+ --gnome_keyring-only_if=gdm" instead of
+ "--gnome_keyring-auto_start_if=gdm""
+- PreReq pam-config at least 0.72 for those changes.
+
+-------------------------------------------------------------------
+Tue Jul 28 17:21:23 CEST 2009 - lmedinas(a)gmail.com
+
+- Update to version 2.27.5:
+ + Add support for lifetime constrained SSH identities.
+ + Use GtkBuilder files where glade files were used.
+ + Write private key files with tighter file permissions.
+ + Use gio instead of libhal for monitoring volumes.
+ + Updated translations.
+- Remove hal-devel from BuildRequires not needed anymore.
+
+-------------------------------------------------------------------
+Mon Jul 20 01:09:59 CEST 2009 - vuntz(a)novell.com
+
+- Update to version 2.27.4:
+ + Insurance in parsing keyring format for future changes.
+ + Add 'use_authtok' option to pam module.
+ + Test utility fix.
+ + Add 'only_if=' option to pam module.
+ + Make 'Password:' prompt translatable in pam module.
+ + Use libgcrypt to generate iv/salt where needed.
+ + Remove old cu-test style unit tests.
+ + Code refactoring and cleanup, removed 'common' component.
+ + Auto generated ChangeLog.
+ + Cleanup unit tests, and make them run with 'make check'
+- Changes from version 2.26.3:
+ + Build fixes.
+ + Fix problem with RSA key sizes that are not a multiple of 8.
+ This affected use of SSH keys in particular.
+ + Fix crash related to secure memory.
+- Drop gnome-keyring-pam-auto-start-if.patch: fixed upstream.
+- Drop gnome-keyring-pam-translate.patch: fixed upstream.
+- Remove AutoReqProv: it's default now.
+- Add gnome-keyring-auto-start-if-compatibility.patch since
+ pam-config does not know yet about only_if. It will be removed
+ once pam-config will be updated.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
gnome-keyring-2.26.1.tar.bz2
gnome-keyring-pam-auto-start-if.patch
gnome-keyring-pam-translate.patch
New:
----
gnome-keyring-2.27.5.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gnome-keyring.spec ++++++
--- /var/tmp/diff_new_pack.iKIp8g/_old 2009-07-29 17:44:21.000000000 +0200
+++ /var/tmp/diff_new_pack.iKIp8g/_new 2009-07-29 17:44:21.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package gnome-keyring (Version 2.26.1)
+# spec file for package gnome-keyring (Version 2.27.5)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -23,31 +23,25 @@
BuildRequires: fdupes
BuildRequires: gconf2-devel
BuildRequires: gtk2-devel
-BuildRequires: hal-devel
BuildRequires: intltool
BuildRequires: libgcrypt-devel
BuildRequires: libtasn1-devel
BuildRequires: pam-devel
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
-PreReq: pam-config
-Version: 2.26.1
+PreReq: pam-config >= 0.72
+Version: 2.27.5
Release: 1
Url: http://www.gnome.org/
Group: System/GUI/GNOME
-License: GPL v2 or later; LGPL v2.1 or later
+License: GPL v2 or later ; LGPL v2.1 or later
Summary: GNOME Keyring Password Manager
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/0.6/%{name}-%{version}.tar.bz2
-# PATCH-FEATURE-UPSTREAM gnome-keyring-pam-auto-start-if.patch bnc421603 bgo559781 vuntz(a)novell.com -- Add auto_start_if= option to the pam module
-Patch3: gnome-keyring-pam-auto-start-if.patch
# PATCH-FIX-OPENSUSE gnome-keyring-check-session.patch vuntz(a)novell.com -- Only start gnome-keyring in the pam module if GNOME is started
Patch4: gnome-keyring-check-session.patch
# PATCH-FIX-OPENSUSE gnome-keyring-pam-auth-prompt-password.patch bnc466732 bgo560488 vuntz(a)novell.com -- Make the pam module prompt the password in auth, so we can use pam-config. This is a workaround until bnc#477488 is implemented.
Patch5: gnome-keyring-pam-auth-prompt-password.patch
-# PATCH-FIX-UPSTREAM gnome-keyring-pam-translate.patch bgo572360 vuntz(a)novell.com -- Mark the "Password: " prompt as translation, and use the pam translation.
-Patch6: gnome-keyring-pam-translate.patch
Requires: %{name}-lang = %{version}
-AutoReqProv: on
# bug437293
%ifarch ppc64
Obsoletes: gnome-keyring-64bit
@@ -69,7 +63,7 @@
Alexander Larsson <alexl(a)redhat.com>
%package pam
-License: GPL v2 or later; LGPL v2.1 or later
+License: GPL v2 or later ; LGPL v2.1 or later
Group: System/GUI/GNOME
Summary: GNOME Keyring Password Manager
Requires: %{name} = %{version}
@@ -91,7 +85,7 @@
Alexander Larsson <alexl(a)redhat.com>
%package devel
-License: GPL v2 or later; LGPL v2.1 or later
+License: GPL v2 or later ; LGPL v2.1 or later
Group: Development/Libraries/GNOME
Summary: GNOME Keyring Password Manager
Requires: %{name} = %{version}
@@ -114,7 +108,7 @@
Alexander Larsson <alexl(a)redhat.com>
%package doc
-License: GPL v2 or later; LGPL v2.1 or later
+License: GPL v2 or later ; LGPL v2.1 or later
Group: System/GUI/GNOME
Summary: Documentation for the GNOME Keyring Password Manager
Requires: %{name} = %{version}
@@ -137,10 +131,8 @@
%prep
%setup -q
translation-update-upstream
-%patch3 -p1
%patch4
%patch5 -p1
-%patch6 -p1
%build
%configure\
@@ -169,10 +161,11 @@
%pre -f %{name}.schemas_pre
%preun -f %{name}.schemas_preun
+
%posttrans -f %{name}.schemas_posttrans
%post pam
-%{_sbindir}/pam-config -a --gnome_keyring --gnome_keyring-auto_start_if=gdm || true
+%{_sbindir}/pam-config -a --gnome_keyring --gnome_keyring-auto_start --gnome_keyring-only_if=gdm || true
# Remove leftover from the old way, before we used pam-config. We start
# cleaning up in 11.2, so this can be removed in 12.2.
# Note: this can safely be done after pam-config, since pam-config doesn't
++++++ gnome-keyring-2.26.1.tar.bz2 -> gnome-keyring-2.27.5.tar.bz2 ++++++
++++ 61967 lines of diff (skipped)
++++++ gnome-keyring-pam-auth-prompt-password.patch ++++++
--- /var/tmp/diff_new_pack.iKIp8g/_old 2009-07-29 17:44:26.000000000 +0200
+++ /var/tmp/diff_new_pack.iKIp8g/_new 2009-07-29 17:44:26.000000000 +0200
@@ -1,8 +1,8 @@
-Index: gnome-keyring-2.24.1/pam/gkr-pam-module.c
+Index: gnome-keyring-2.27.4/pam/gkr-pam-module.c
===================================================================
---- gnome-keyring-2.24.1.orig/pam/gkr-pam-module.c
-+++ gnome-keyring-2.24.1/pam/gkr-pam-module.c
-@@ -844,12 +844,18 @@ pam_sm_authenticate (pam_handle_t *ph, i
+--- gnome-keyring-2.27.4.orig/pam/gkr-pam-module.c
++++ gnome-keyring-2.27.4/pam/gkr-pam-module.c
+@@ -889,12 +889,18 @@ pam_sm_authenticate (pam_handle_t *ph, i
/* Look up the password */
ret = pam_get_item (ph, PAM_AUTHTOK, (const void**)&password);
if (ret != PAM_SUCCESS || password == NULL) {
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package alpine for openSUSE:Factory
checked in at Wed Jul 29 17:43:14 CEST 2009.
--------
--- alpine/alpine.changes 2009-06-20 14:15:33.000000000 +0200
+++ /mounts/work_src_done/STABLE/alpine/alpine.changes 2009-07-29 17:12:52.000000000 +0200
@@ -1,0 +2,16 @@
+Wed Jul 29 17:05:08 CEST 2009 - max(a)suse.de
+
+- Included the latest bugfix-patches from Eduardo Chappa:
+- replacebug: Fix a bug in Pico which makes it not update the
+ screen.
+- unixnullbug: Fix a bug that makes Alpine crash when opening a
+ unix type folder.
+- streamlock: Fix a bug that makes Alpine crash when suspending it.
+- filterflagbug: Fix a bug in Alpine that makes it not to set a
+ flag in a filtered message (bnc#342075).
+- nlinfobug: Fix a bug in Pico and Pilot that makes them crash
+ for bad locale information.
+- unverified: Fix a bug that makes Alpine not to give a warning
+ if the Newsgroup header is present
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
chappa-filterflagbug.patch.gz
chappa-nlinfobug.patch.gz
chappa-replacebug.patch.gz
chappa-streamlock.patch.gz
chappa-unixnullbug.patch.gz
chappa-unverified.patch.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ alpine.spec ++++++
--- /var/tmp/diff_new_pack.IO1tGS/_old 2009-07-29 17:35:31.000000000 +0200
+++ /var/tmp/diff_new_pack.IO1tGS/_new 2009-07-29 17:35:31.000000000 +0200
@@ -50,7 +50,7 @@
%endif
#
Version: 2.00
-Release: 5
+Release: 6
License: Apache Software License ..
Group: Productivity/Networking/Email/Clients
AutoReqProv: on
@@ -80,6 +80,12 @@
Patch604: chappa-maildir.patch.gz
Patch605: chappa-searchheader.patch.gz
Patch606: chappa-WrtAcc.patch.gz
+Patch607: chappa-replacebug.patch.gz
+Patch608: chappa-unixnullbug.patch.gz
+Patch609: chappa-streamlock.patch.gz
+Patch610: chappa-filterflagbug.patch.gz
+Patch611: chappa-nlinfobug.patch.gz
+Patch612: chappa-unverified.patch.gz
%description
Though originally designed for inexperienced email users, Alpine
@@ -152,6 +158,12 @@
%patch604 -p1
%patch605 -p1
%patch606 -p1
+%patch607 -p1
+%patch608 -p1
+%patch609 -p1
+%patch610 -p1
+%patch611 -p1
+%patch612 -p1
#
# SuSE patches - warning fixes, etc:
#
++++++ chappa-filterflagbug.patch.gz ++++++
diff -rc alpine-2.00/pith/save.c alpine-2.00.filterflagbug/pith/save.c
*** alpine-2.00/pith/save.c 2008-05-02 14:58:34.000000000 -0700
--- alpine-2.00.filterflagbug/pith/save.c 2008-11-11 09:36:43.000000000 -0800
***************
*** 421,426 ****
--- 421,427 ----
{
int rv, rc, j, our_stream = 0, cancelled = 0;
int delete, filter, k, worry_about_keywords = 0;
+ int flags_for_save = F_ANS|F_FWD|F_FLAG|F_SEEN|F_KEYWORD;
char *save_folder, *seq, *flags = NULL, date[64], tmp[MAILTMPLEN];
long i, nmsgs, rawno;
size_t len;
***************
*** 864,870 ****
STRING msg;
pkg.stream = stream;
! pkg.flags = NULL;
pkg.date = date;
pkg.msg = &msg;
pkg.msgmap = msgmap;
--- 865,871 ----
STRING msg;
pkg.stream = stream;
! pkg.flags = flgs & SV_FIX_DELS ? NULL : cpystr("\\DELETED");
pkg.date = date;
pkg.msg = &msg;
pkg.msgmap = msgmap;
***************
*** 938,944 ****
mc = (rawno > 0L && stream && rawno <= stream->nmsgs)
? mail_elt(stream, rawno) : NULL;
! flags = flag_string(stream, rawno, F_ANS|F_FWD|F_FLAG|F_SEEN|F_KEYWORD);
if(mc && mc->day)
mail_date(date, mc);
--- 939,946 ----
mc = (rawno > 0L && stream && rawno <= stream->nmsgs)
? mail_elt(stream, rawno) : NULL;
! flags_for_save |= flgs & SV_FIX_DELS ? 0 : F_DEL;
! flags = flag_string(stream, rawno, flags_for_save);
if(mc && mc->day)
mail_date(date, mc);
***************
*** 1043,1048 ****
--- 1045,1051 ----
MESSAGECACHE *mc;
char *fetch;
int rc;
+ int flags_for_save = F_ANS|F_FWD|F_FLAG|F_SEEN|F_KEYWORD;
unsigned long raw, hlen, tlen, mlen;
if(pkg->so && (pkg->msgno > 0L)) {
***************
*** 1051,1060 ****
? mail_elt(pkg->stream, raw) : NULL;
if(mc){
size = mc->rfc822_size;
! if(pkg->flags)
fs_give((void **) &pkg->flags);
!
! pkg->flags = flag_string(pkg->stream, raw, F_ANS|F_FWD|F_FLAG|F_SEEN|F_KEYWORD);
}
if(mc && mc->day)
--- 1054,1065 ----
? mail_elt(pkg->stream, raw) : NULL;
if(mc){
size = mc->rfc822_size;
! if(pkg->flags){
! if(strstr(pkg->flags,"\\DELETED"))
! flags_for_save |= F_DEL;
fs_give((void **) &pkg->flags);
! }
! pkg->flags = flag_string(pkg->stream, raw, flags_for_save);
}
if(mc && mc->day)
++++++ chappa-nlinfobug.patch.gz ++++++
diff -rc alpine-2.00/pico/main.c alpine-2.00.nlinfobug/pico/main.c
*** alpine-2.00/pico/main.c 2008-04-02 15:09:20.000000000 -0700
--- alpine-2.00.nlinfobug/pico/main.c 2008-10-14 19:00:08.000000000 -0700
***************
*** 187,193 ****
if(display_character_set)
display_charmap = cpstr(display_character_set);
#if HAVE_LANGINFO_H && defined(CODESET)
! else
display_charmap = cpstr(nl_langinfo_codeset_wrapper());
#endif
--- 187,193 ----
if(display_character_set)
display_charmap = cpstr(display_character_set);
#if HAVE_LANGINFO_H && defined(CODESET)
! else if (nl_langinfo_codeset_wrapper() != NULL)
display_charmap = cpstr(nl_langinfo_codeset_wrapper());
#endif
diff -rc alpine-2.00/pico/pilot.c alpine-2.00.nlinfobug/pico/pilot.c
*** alpine-2.00/pico/pilot.c 2008-04-02 15:09:20.000000000 -0700
--- alpine-2.00.nlinfobug/pico/pilot.c 2008-10-14 19:00:38.000000000 -0700
***************
*** 142,148 ****
if(display_character_set)
display_charmap = cpstr(display_character_set);
#if HAVE_LANGINFO_H && defined(CODESET)
! else
display_charmap = cpstr(nl_langinfo_codeset_wrapper());
#endif
--- 142,148 ----
if(display_character_set)
display_charmap = cpstr(display_character_set);
#if HAVE_LANGINFO_H && defined(CODESET)
! else if (nl_langinfo_codeset_wrapper() != NULL)
display_charmap = cpstr(nl_langinfo_codeset_wrapper());
#endif
++++++ chappa-replacebug.patch.gz ++++++
diff -rc alpine-2.00/pico/search.c alpine-2.00.replacebug/pico/search.c
*** alpine-2.00/pico/search.c 2008-01-04 14:49:15.000000000 -0800
--- alpine-2.00.replacebug/pico/search.c 2009-07-03 13:44:37.000000000 -0700
***************
*** 463,470 ****
break;
default:
! if(status == ABORT)
emlwrite(_("Replacement Cancelled"), NULL);
else{
mlerase();
chword(defpat, origpat);
--- 463,472 ----
break;
default:
! if(status == ABORT){
emlwrite(_("Replacement Cancelled"), NULL);
+ pico_refresh(FALSE, 1);
+ }
else{
mlerase();
chword(defpat, origpat);
++++++ chappa-streamlock.patch.gz ++++++
diff -rc alpine-2.00/alpine/signal.c alpine-2.00.streamlock/alpine/signal.c
*** alpine-2.00/alpine/signal.c 2008-04-07 15:58:40.000000000 -0700
--- alpine-2.00.streamlock/alpine/signal.c 2009-02-16 12:45:17.000000000 -0800
***************
*** 819,826 ****
#else
if(F_ON(F_SUSPEND_SPAWNS, ps_global)){
PIPE_S *syspipe;
! if((syspipe = open_system_pipe(NULL, NULL, NULL, PIPE_USER|PIPE_RESET,
0, pipe_callback, pipe_report_error)) != NULL){
suspend_notice("exit");
#ifndef SIGCHLD
--- 819,828 ----
#else
if(F_ON(F_SUSPEND_SPAWNS, ps_global)){
PIPE_S *syspipe;
+ int flag = some_stream_is_locked() ? PIPE_NONEWMAIL : 0;
! flag |= PIPE_USER|PIPE_RESET;
! if((syspipe = open_system_pipe(NULL, NULL, NULL, flag,
0, pipe_callback, pipe_report_error)) != NULL){
suspend_notice("exit");
#ifndef SIGCHLD
***************
*** 867,873 ****
_("Error loading \"%s\""), shell);
#endif
! if(isremote && !pine_mail_ping(ps_global->mail_stream))
q_status_message(SM_ORDER | SM_DING, 4, 9,
_("Suspended for too long, IMAP connection broken"));
--- 869,876 ----
_("Error loading \"%s\""), shell);
#endif
! if(isremote && !ps_global->mail_stream->lock
! && !pine_mail_ping(ps_global->mail_stream))
q_status_message(SM_ORDER | SM_DING, 4, 9,
_("Suspended for too long, IMAP connection broken"));
diff -rc alpine-2.00/pith/stream.c alpine-2.00.streamlock/pith/stream.c
*** alpine-2.00/pith/stream.c 2008-03-25 11:57:53.000000000 -0700
--- alpine-2.00.streamlock/pith/stream.c 2009-02-16 12:36:34.000000000 -0800
***************
*** 3318,3323 ****
--- 3318,3342 ----
}
+ /* Some stream is locked checks to see if there is any stream for which we
+ * are in a callback from c-client
+ */
+
+ int
+ some_stream_is_locked(void)
+ {
+ int rv = 0, i;
+ MAILSTREAM *m;
+
+ for(i = 0; rv == 0 && i < ps_global->s_pool.nstream; i++){
+ m = ps_global->s_pool.streams[i];
+ if(m && m->lock)
+ rv++;
+ }
+
+ return(rv);
+ }
+
/*
* Very simple version of appenduid_cb until we need something
* more complex.
diff -rc alpine-2.00/pith/stream.h alpine-2.00.streamlock/pith/stream.h
*** alpine-2.00/pith/stream.h 2007-06-15 16:23:02.000000000 -0700
--- alpine-2.00.streamlock/pith/stream.h 2009-02-16 12:37:13.000000000 -0800
***************
*** 460,465 ****
--- 460,466 ----
int is_imap_stream(MAILSTREAM *);
int modern_imap_stream(MAILSTREAM *);
int streams_died(void);
+ int some_stream_is_locked(void);
void appenduid_cb(char *mailbox,unsigned long uidvalidity, SEARCHSET *set);
imapuid_t get_last_append_uid(void);
MAILSTREAM *mail_cmd_stream(CONTEXT_S *, int *);
++++++ chappa-unixnullbug.patch.gz ++++++
diff -rc alpine-2.00/imap/src/c-client/mail.c alpine-2.00.unixnullbug/imap/src/c-client/mail.c
*** alpine-2.00/imap/src/c-client/mail.c 2008-06-04 11:39:54.000000000 -0700
--- alpine-2.00.unixnullbug/imap/src/c-client/mail.c 2009-06-06 12:41:49.000000000 -0700
***************
*** 3352,3364 ****
long flags)
{
STRINGLIST *hdrs;
! int notfound;
unsigned long i;
char c,*s,*e,*t,tmp[MAILTMPLEN];
char *src = text;
char *dst = src;
char *end = text + len;
! text[len] = '\012'; /* guard against running off buffer */
while (src < end) { /* process header */
/* slurp header line name */
for (s = src,e = s + MAILTMPLEN - 1,e = (e < end ? e : end),t = tmp;
--- 3352,3364 ----
long flags)
{
STRINGLIST *hdrs;
! int notfound, fix = text[len - 1] == '\0';
unsigned long i;
char c,*s,*e,*t,tmp[MAILTMPLEN];
char *src = text;
char *dst = src;
char *end = text + len;
! text[fix ? len - 1 : len] = '\012'; /* guard against running off buffer */
while (src < end) { /* process header */
/* slurp header line name */
for (s = src,e = s + MAILTMPLEN - 1,e = (e < end ? e : end),t = tmp;
***************
*** 3397,3402 ****
--- 3397,3406 ----
}
}
*dst = '\0'; /* tie off destination */
+ if(fix){
+ text[len] = '\012';
+ text[len-1] = '\0';
+ }
return dst - text;
}
++++++ chappa-unverified.patch.gz ++++++
diff -rc alpine-2.00/alpine/reply.c alpine-2.00.unverified/alpine/reply.c
*** alpine-2.00/alpine/reply.c 2008-06-03 08:54:15.000000000 -0700
--- alpine-2.00.unverified/alpine/reply.c 2008-08-26 20:57:03.000000000 -0700
***************
*** 1164,1172 ****
}
else if(!outgoing->newsgroups)
outgoing->newsgroups = cpystr(env->newsgroups);
- if(!IS_NEWS(ps_global->mail_stream))
- q_status_message(SM_ORDER, 2, 3,
- _("Replying to message that MAY or MAY NOT have been posted to newsgroup"));
}
return(ret);
--- 1164,1169 ----
diff -rc alpine-2.00/imap/src/c-client/imap4r1.c alpine-2.00.unverified/imap/src/c-client/imap4r1.c
*** alpine-2.00/imap/src/c-client/imap4r1.c 2008-06-04 11:39:54.000000000 -0700
--- alpine-2.00.unverified/imap/src/c-client/imap4r1.c 2008-08-26 20:57:03.000000000 -0700
***************
*** 4527,4532 ****
--- 4527,4533 ----
if (*env) { /* need to merge this header into envelope? */
if (!(*env)->newsgroups) { /* need Newsgroups? */
(*env)->newsgroups = nenv->newsgroups;
+ (*env)->ngpathexists = nenv->ngpathexists;
nenv->newsgroups = NIL;
}
if (!(*env)->followup_to) { /* need Followup-To? */
***************
*** 4581,4586 ****
--- 4582,4588 ----
if (oenv) { /* need to merge old envelope? */
(*env)->newsgroups = oenv->newsgroups;
oenv->newsgroups = NIL;
+ (*env)->ngpathexists = oenv->ngpathexists;
(*env)->followup_to = oenv->followup_to;
oenv->followup_to = NIL;
(*env)->references = oenv->references;
diff -rc alpine-2.00/imap/src/c-client/mail.h alpine-2.00.unverified/imap/src/c-client/mail.h
*** alpine-2.00/imap/src/c-client/mail.h 2008-08-08 10:34:22.000000000 -0700
--- alpine-2.00.unverified/imap/src/c-client/mail.h 2008-08-26 20:57:03.000000000 -0700
***************
*** 685,690 ****
--- 685,691 ----
/* Message envelope */
typedef struct mail_envelope {
+ unsigned int ngpathexists : 1; /* newsgroups may be bogus */
unsigned int incomplete : 1; /* envelope may be incomplete */
unsigned int imapenvonly : 1; /* envelope only has IMAP envelope */
char *remail; /* remail header if any */
diff -rc alpine-2.00/imap/src/c-client/rfc822.c alpine-2.00.unverified/imap/src/c-client/rfc822.c
*** alpine-2.00/imap/src/c-client/rfc822.c 2008-06-04 11:46:10.000000000 -0700
--- alpine-2.00.unverified/imap/src/c-client/rfc822.c 2008-08-26 20:57:04.000000000 -0700
***************
*** 128,133 ****
--- 128,134 ----
ENVELOPE *env = (*en = mail_newenvelope ());
BODY *body = bdy ? (*bdy = mail_newbody ()) : NIL;
long MIMEp = -1; /* flag that MIME semantics are in effect */
+ long PathP = NIL; /* flag that a Path: was seen */
parseline_t pl = (parseline_t) mail_parameters (NIL,GET_PARSELINE,NIL);
if (!host) host = BADHOST; /* make sure that host is non-null */
while (i && *s != '\n') { /* until end of header */
***************
*** 230,235 ****
--- 231,239 ----
*t++ = '\0';
}
break;
+ case 'P': /* possible Path: */
+ if (!strcmp (tmp+1,"ATH")) env->ngpathexists = T;
+ break;
case 'R': /* possible Reply-To: */
if (!strcmp (tmp+1,"EPLY-TO"))
rfc822_parse_adrlist (&env->reply_to,d,host);
diff -rc alpine-2.00/pith/mailview.c alpine-2.00.unverified/pith/mailview.c
*** alpine-2.00/pith/mailview.c 2008-07-11 16:20:32.000000000 -0700
--- alpine-2.00.unverified/pith/mailview.c 2008-08-26 20:57:04.000000000 -0700
***************
*** 2377,2384 ****
format_addr_string(s, n, sect, "Return-Path: ", e->return_path,
flags, oacs, pc);
! if((which & FE_NEWSGROUPS) && e->newsgroups)
format_newsgroup_string("Newsgroups: ", e->newsgroups, flags, pc);
if((which & FE_FOLLOWUPTO) && e->followup_to)
format_newsgroup_string("Followup-To: ", e->followup_to, flags, pc);
--- 2377,2397 ----
format_addr_string(s, n, sect, "Return-Path: ", e->return_path,
flags, oacs, pc);
! if((which & FE_NEWSGROUPS) && e->newsgroups){
! int bogus = NIL;
format_newsgroup_string("Newsgroups: ", e->newsgroups, flags, pc);
+ if (!e->ngpathexists && e->message_id &&
+ strncmp (e->message_id,"<alpine.",8) &&
+ strncmp (e->message_id,"<Pine.",6) &&
+ strncmp (e->message_id,"<MS-C.",6) &&
+ strncmp (e->message_id,"<MailManager.",13) &&
+ strncmp (e->message_id,"<EasyMail.",11) &&
+ strncmp (e->message_id,"<ML-",4)) bogus = T;
+
+ if(bogus)
+ q_status_message(SM_ORDER, 0, 3,
+ "Unverified Newsgroup header -- Message MAY or MAY NOT have been posted");
+ }
if((which & FE_FOLLOWUPTO) && e->followup_to)
format_newsgroup_string("Followup-To: ", e->followup_to, flags, pc);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package post-build-checks for openSUSE:Factory
checked in at Wed Jul 29 17:34:13 CEST 2009.
--------
--- post-build-checks/post-build-checks.changes 2009-06-24 16:46:03.000000000 +0200
+++ /mounts/work_src_done/STABLE/post-build-checks/post-build-checks.changes 2009-07-29 15:49:10.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Jul 27 16:53:13 CEST 2009 - rguenther(a)suse.de
+
+- also remove empty debugsource packages
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
check-debuginfo.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ post-build-checks.spec ++++++
--- /var/tmp/diff_new_pack.1CcsYG/_old 2009-07-29 17:34:00.000000000 +0200
+++ /var/tmp/diff_new_pack.1CcsYG/_new 2009-07-29 17:34:00.000000000 +0200
@@ -24,12 +24,13 @@
AutoReqProv: on
Summary: post checks for build after rpms have been created
Version: 1.0
-Release: 62
+Release: 63
PreReq: aaa_base permissions sed
Source0: %{name}-%{version}.tar.bz2
Source1: suse-buildsystem.sh
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Patch: check-debuginfo.diff
%description
some scripts to check for problems like test-installing the newly
@@ -44,6 +45,7 @@
%prep
%setup -q
+%patch
%build
# nothing to do
++++++ check-debuginfo.diff ++++++
--- checks/01-check-debuginfo.orig 2009-07-27 16:52:05.000000000 +0200
+++ checks/01-check-debuginfo 2009-07-27 16:52:09.000000000 +0200
@@ -5,7 +5,7 @@
fast=
test -x /usr/lib/rpm/rpmi && fast="--nodigest --nosignature"
-RPMS=`find $BUILD_ROOT/usr/src/packages/RPMS -name "*-debuginfo-*.rpm"`
+RPMS=`find $BUILD_ROOT/usr/src/packages/RPMS -name "*-debuginfo-*.rpm" -o -name "*-debugsource-*.rpm"`
test -z "$RPMS" && exit 0
for rpm in $RPMS ; do
HAS_DEBUG=
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package yast2-storage for openSUSE:Factory
checked in at Wed Jul 29 17:34:08 CEST 2009.
--------
--- yast2-storage/yast2-storage.changes 2009-07-23 17:41:48.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-storage/yast2-storage.changes 2009-07-27 17:53:25.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Jul 27 17:41:31 CEST 2009 - aschnell(a)suse.de
+
+- work on proposal UI for LVM encryption (fate #305633)
+- 2.18.17
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-storage-2.18.16.tar.bz2
New:
----
yast2-storage-2.18.17.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-storage.spec ++++++
--- /var/tmp/diff_new_pack.YpDWgJ/_old 2009-07-29 17:33:55.000000000 +0200
+++ /var/tmp/diff_new_pack.YpDWgJ/_new 2009-07-29 17:33:55.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-storage (Version 2.18.16)
+# spec file for package yast2-storage (Version 2.18.17)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,10 +19,10 @@
Name: yast2-storage
-Version: 2.18.16
-Release: 2
+Version: 2.18.17
+Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-storage-2.18.16.tar.bz2
+Source0: yast2-storage-2.18.17.tar.bz2
Prefix: /usr
Group: System/YaST
License: GPL v2 or later
@@ -51,7 +51,7 @@
devices during installation and on an installed system.
%prep
-%setup -n yast2-storage-2.18.16
+%setup -n yast2-storage-2.18.17
%build
%{prefix}/bin/y2tool y2autoconf
++++++ yast2-storage-2.18.16.tar.bz2 -> yast2-storage-2.18.17.tar.bz2 ++++++
++++ 2034 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-storage-2.18.16/VERSION new/yast2-storage-2.18.17/VERSION
--- old/yast2-storage-2.18.16/VERSION 2009-07-23 13:48:48.000000000 +0200
+++ new/yast2-storage-2.18.17/VERSION 2009-07-27 17:42:31.000000000 +0200
@@ -1 +1 @@
-2.18.16
+2.18.17
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-storage-2.18.16/configure.in new/yast2-storage-2.18.17/configure.in
--- old/yast2-storage-2.18.16/configure.in 2009-07-24 15:49:08.000000000 +0200
+++ new/yast2-storage-2.18.17/configure.in 2009-07-28 10:33:57.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.18.9 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-storage, 2.18.16, http://bugs.opensuse.org/, yast2-storage)
+AC_INIT(yast2-storage, 2.18.17, http://bugs.opensuse.org/, yast2-storage)
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.18.16"
+VERSION="2.18.17"
RPMNAME="yast2-storage"
MAINTAINER="Arvin Schnell <aschnell(a)suse.de>"
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-storage-2.18.16/storage/src/include/auto_part_ui.ycp new/yast2-storage-2.18.17/storage/src/include/auto_part_ui.ycp
--- old/yast2-storage-2.18.16/storage/src/include/auto_part_ui.ycp 2009-07-21 16:37:06.000000000 +0200
+++ new/yast2-storage-2.18.17/storage/src/include/auto_part_ui.ycp 2009-07-27 11:59:04.000000000 +0200
@@ -9,7 +9,7 @@
*
*
*
- * $Id: auto_part_ui.ycp 57914 2009-07-07 13:56:29Z aschnell $
+ * $Id: auto_part_ui.ycp 58156 2009-07-27 09:59:06Z aschnell $
*
* used globals:
*
@@ -263,6 +263,9 @@
`Left(`HBox(`HSpacing(3), `CheckBox(`id(`lvm), `opt(`notify),
// Label text
_("Create &LVM Based Proposal"), cfg["prop_lvm"]:false ))));
+ vb = add(vb,
+ `Left(`HBox(`HSpacing(7), `CheckBox(`id(`encrypt), `opt(`notify),
+ _("Encrypt Volume Group")))));
vbox = add (vbox, `VSpacing(1.5) );
term frame = `HVCenter(`Frame( _("Proposal type"), `HVCenter(vb) ));
vbox = add (vbox, frame );
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-storage-2.18.16/storage/src/include/custom_part_dialogs.ycp new/yast2-storage-2.18.17/storage/src/include/custom_part_dialogs.ycp
--- old/yast2-storage-2.18.16/storage/src/include/custom_part_dialogs.ycp 2009-07-23 18:37:16.000000000 +0200
+++ new/yast2-storage-2.18.17/storage/src/include/custom_part_dialogs.ycp 2009-07-27 17:42:40.000000000 +0200
@@ -16,7 +16,7 @@
*
*************************************************************
- $Id: custom_part_dialogs.ycp 57661 2009-06-19 12:23:08Z aschnell $
+ $Id: custom_part_dialogs.ycp 58178 2009-07-27 15:42:43Z aschnell $
*/
{
@@ -30,6 +30,7 @@
import "Arch";
import "Label";
import "Popup";
+ import "StorageProposal";
include "partitioning/custom_part_helptexts.ycp";
@@ -99,10 +100,8 @@
`HSpacing(4)
),
`VSpacing(3),
- `HBox(
- // Ok button
+ `ButtonBox(
`PushButton(`id("ok"), `opt(`default), Label::OKButton()),
- // Cancel button
`PushButton(`id("cancel"), Label::CancelButton())
),
`VSpacing(0.5)
@@ -110,75 +109,114 @@
)
));
- string ret = "";
- boolean input_is_ok = false;
- string pw1 = "";
- string pw2 = "";
+ string password = "";
+ symbol widget = nil;
repeat
{
// Clear password fields on every round.
- UI::ChangeWidget(`id("pw1"), `Value, "");
- UI::ChangeWidget(`id("pw2"), `Value, "");
-
- UI::SetFocus(`id("pw1"));
+ UI::ChangeWidget(`id(`pw1), `Value, "");
+ UI::ChangeWidget(`id(`pw2), `Value, "");
- ret = (string) UI::UserInput();
+ UI::SetFocus(`id(`pw1));
+ widget = (symbol) UI::UserInput();
- if (ret != "cancel")
+ switch (widget)
{
- pw1 = (string)UI::QueryWidget(`id("pw1"), `Value);
- pw2 = (string)UI::QueryWidget(`id("pw2"), `Value);
+ case `ok:
- if ( pw1 != pw2 )
- {
- // popup text
- Popup::Message(_("The first and the second version\nof the password do not match!\nPlease try again."));
+ password = (string) UI::QueryWidget(`id(`pw1), `Value);
+ string tmp = (string) UI::QueryWidget(`id(`pw2), `Value);
+
+ if (!Storage::CheckEncryptionPasswords(password, tmp, minpwlen, tmpcrypt))
+ widget = `again;
+
+ break;
}
- else if( pw1=="" && !tmpcrypt )
+
+ } until (widget == `cancel || widget == `ok);
+
+ UI::CloseDialog();
+
+ if (widget == `ok)
{
- // popup text
- Popup::Message(_("You did not enter a password.
-Try again.
-"));
+ return password;
}
- else if( size(pw1) < minpwlen && !tmpcrypt )
+ else
{
- // popup text
- Popup::Message(sformat(_("The password must have at least %1 characters.
-Try again.
-"),minpwlen));
+ return "";
}
- else if( size(pw1)>=minpwlen || tmpcrypt )
+ }
+
+
+ boolean QueryProposalPassword()
{
- any ret2 = findfirstnotof( pw1, "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ#* ,.;:._-+!$%&/|\?{[()]}@^\\<>" );
- if ( ret2 != nil && size(pw1)>0 )
+ if (!isempty(StorageProposal::GetProposalPassword()))
+ return true;
+
+ UI::OpenDialog(`VBox(
+ `Label(_("Enter your password for the proposal encryption.")),
+ `MinWidth(40,
+ `Password(`id(`pw1),
+ // Label: get password for user root
+ // Please use newline if label is longer than 40 characters
+ _("Password:"), "")),
+ `VSpacing(0.5),
+ `MinWidth(40,
+ `Password(`id(`pw2),
+ // Label: get same password again for verification
+ // Please use newline if label is longer than 40 characters
+ _("Reenter the password for verification:"), "")),
+ `Label(_("Don't forget what you enter here!")),
+ `ButtonBox(
+ `PushButton(`id(`ok), `opt(`default), Label::OKButton()),
+ `PushButton(`id(`cancel), Label::CancelButton())
+ )
+ ));
+
+ string password = "";
+ symbol widget = nil;
+
+ repeat
{
- // popup text
- Popup::Message(_("The password may only contain the following characters:
- 0..9, a..z, A..Z, and any of \"@#* ,.;:._-+!$%&/|\?{[()]}^\\<>\".
-Try again."));
- }
- else
+ // Clear password fields on every round.
+ UI::ChangeWidget(`id(`pw1), `Value, "");
+ UI::ChangeWidget(`id(`pw2), `Value, "");
+
+ UI::SetFocus(`id(`pw1));
+
+ widget = (symbol) UI::UserInput();
+
+ switch (widget)
{
- input_is_ok = true;
+ case `ok:
+
+ password = (string) UI::QueryWidget(`id(`pw1), `Value);
+ string tmp = (string) UI::QueryWidget(`id(`pw2), `Value);
+
+ if (!Storage::CheckEncryptionPasswords(password, tmp, 8, false))
+ widget = `again;
+
+ break;
}
- }
- }
- } until ( input_is_ok || ret == "cancel" );
+ } until (widget == `cancel || widget == `ok);
UI::CloseDialog();
- if (ret == "cancel")
+ if (widget == `ok)
{
- pw1 = "";
+ StorageProposal::SetProposalPassword(password);
+ return true;
}
- y2milestone( "DlgCreateCryptFs size(ret):%1", size(pw1) );
- return( pw1 );
+ else
+ {
+ return false;
}
+ }
+
//////////////////////////////////////////////////////////////////////////////
// Dialog Password for Crypted FS Update
@@ -1479,5 +1517,4 @@
return(go_on);
};
-
}
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-storage-2.18.16/storage/src/include/ep-dialogs.ycp new/yast2-storage-2.18.17/storage/src/include/ep-dialogs.ycp
--- old/yast2-storage-2.18.16/storage/src/include/ep-dialogs.ycp 2009-07-21 16:37:06.000000000 +0200
+++ new/yast2-storage-2.18.17/storage/src/include/ep-dialogs.ycp 2009-07-27 15:57:37.000000000 +0200
@@ -503,9 +503,7 @@
MiniWorkflow::SetContents(Greasemonkey::Transform(contents), MiniWorkflowStepPasswordHelptext(data));
MiniWorkflow::SetLastStep(true);
- string pw1 = "";
- string pw2 = "";
-
+ string password = "";
symbol widget = nil;
//don't put those inside the loop - they'd be reset after each unsuccesful try
@@ -518,47 +516,14 @@
if (widget == `next)
{
- pw1 = (string) UI::QueryWidget(`id(`pw1), `Value);
- pw2 = (string) UI::QueryWidget(`id(`pw2), `Value);
+ password = (string) UI::QueryWidget(`id(`pw1), `Value);
+ string tmp = (string) UI::QueryWidget(`id(`pw2), `Value);
- if ( pw1 != pw2 )
- {
- // popup text
- Popup::Message(_("The first and the second version\nof the password do not match!\nPlease try again."));
- UI::SetFocus(`id(`pw1) );
- widget = `again;
- }
- else if (pw1 == "" && !empty_pw_allowed)
+ if (!Storage::CheckEncryptionPasswords(password, tmp, min_pw_len, empty_pw_allowed))
{
- // popup text
- Popup::Message(_("You did not enter a password.
-Try again.
-"));
UI::SetFocus(`id(`pw1) );
widget = `again;
}
- else if (size(pw1) < min_pw_len && !empty_pw_allowed)
- {
- // popup text
- Popup::Message(sformat(_("The password must have at least %1 characters.
-Try again.
-"), min_pw_len));
- UI::SetFocus(`id(`pw1) );
- widget = `again;
- }
- else if (size(pw1) >= min_pw_len || empty_pw_allowed)
- {
- any ret2 = findfirstnotof( pw1, "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ#* ,.;:._-+!$%&/|\?{[()]}@^\\<>" );
- if ( ret2 != nil && size(pw1)>0 )
- {
- // popup text
- Popup::Message(_("The password may only contain the following characters:
-0..9, a..z, A..Z, and any of \"@#* ,.;:._-+!$%&/|\?{[()]}^\\<>\".
-Try again."));
- UI::SetFocus(`id(`pw1) );
- widget = `again;
- }
- }
}
}
until (widget == `abort || widget == `back || widget == `next);
@@ -566,9 +531,9 @@
if (widget == `next)
{
if (data["type"]:`unknown != `loop)
- Storage::UpdateClassified(data["device"]:"", pw1);
+ Storage::UpdateClassified(data["device"]:"", password);
else
- Storage::UpdateClassified(data["fpath"]:"", pw1);
+ Storage::UpdateClassified(data["fpath"]:"", password);
widget = `finish;
}
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-storage-2.18.16/storage/src/inst_disk_proposal.ycp new/yast2-storage-2.18.17/storage/src/inst_disk_proposal.ycp
--- old/yast2-storage-2.18.16/storage/src/inst_disk_proposal.ycp 2009-07-21 16:37:07.000000000 +0200
+++ new/yast2-storage-2.18.17/storage/src/inst_disk_proposal.ycp 2009-07-27 17:40:50.000000000 +0200
@@ -31,8 +31,10 @@
import "Storage";
import "Sequencer";
import "StorageProposal";
+ import "Stage";
+
- include "partitioning/custom_part_check_generated.ycp";
+ include "partitioning/custom_part_dialogs.ycp";
define boolean AskOverwriteChanges()
@@ -128,7 +130,7 @@
// Radiobutton for partition dialog
string lvm_str = _("&LVM Based");
// Checkbox for partition dialog
-string encrypt_str = _("Encrypt TODO");
+string encrypt_str = _("Encrypt Volume Group");
string target_is = "";
@@ -170,13 +172,13 @@
term rframe =
`HBox(
`HSpacing(3),
- `MinWidth(20, `Left(`RadioButton(`id(`part), `opt(`notify), part_str,
- !StorageProposal::GetProposalLvm()))),
+ `Top(`MinWidth(20, `Left(`RadioButton(`id(`part), `opt(`notify), part_str,
+ !StorageProposal::GetProposalLvm())))),
`HSpacing(3),
- `MinWidth(20, `VBox(`Left(`RadioButton(`id(`lvm), `opt(`notify), lvm_str,
- StorageProposal::GetProposalLvm())),
- `HBox(`HSpacing(4), `CheckBox(`id(`encrypt), `opt(`notify), encrypt_str,
- StorageProposal::GetProposalEncrypt())))),
+ `Top(`MinWidth(20, `VBox(`Left(`RadioButton(`id(`lvm), `opt(`notify), lvm_str,
+ StorageProposal::GetProposalLvm())),
+ `Left(`HBox(`HSpacing(4), `CheckBox(`id(`encrypt), `opt(`notify), encrypt_str,
+ StorageProposal::GetProposalEncrypt())))))),
`HSpacing(3)
);
@@ -251,10 +253,11 @@
if( Stage::initial () )
Wizard::SetTitleIcon( "yast-partitioning" );
+ UI::ChangeWidget(`id(`encrypt), `Enabled, StorageProposal::GetProposalLvm());
+
repeat
{
- symbol old_mode = (symbol)UI::QueryWidget( `id("prop_mode"),
- `CurrentButton );
+ symbol old_mode = (symbol) UI::QueryWidget(`id("prop_mode"), `CurrentButton);
y2milestone( "old_mode %1", old_mode );
Wizard::SetFocusToNextButton();
ret = (symbol)Wizard::UserInput();
@@ -273,15 +276,32 @@
{
case `part:
StorageProposal::SetProposalLvm(false);
+ UI::ChangeWidget(`id(`encrypt), `Enabled, false);
break;
case `lvm:
StorageProposal::SetProposalLvm(true);
+ UI::ChangeWidget(`id(`encrypt), `Enabled, true);
break;
case `encrypt:
- StorageProposal::SetProposalEncrypt((boolean) UI::QueryWidget(`id(`encrypt), `Value));
- StorageProposal::SetProposalPassword("12345678"); // TODO
+
+ if ((boolean) UI::QueryWidget(`id(`encrypt), `Value))
+ {
+ if (QueryProposalPassword())
+ {
+ StorageProposal::SetProposalEncrypt(true);
+ }
+ else
+ {
+ UI::ChangeWidget(`id(`encrypt), `Value, false);
+ continue;
+ }
+ }
+ else
+ {
+ StorageProposal::SetProposalEncrypt(false);
+ }
break;
}
@@ -337,12 +357,13 @@
UI::ChangeWidget( `id("richtext"), `Value, changes );
if( ret==`detailed )
{
- if( StorageProposal::GetProposalLvm() )
- UI::ChangeWidget( `id("prop_mode"), `CurrentButton, `lvm );
- else
- UI::ChangeWidget( `id("prop_mode"), `CurrentButton, `part );
+ UI::ChangeWidget(`id(`part), `Value, !StorageProposal::GetProposalLvm());
+ UI::ChangeWidget(`id(`lvm), `Value, StorageProposal::GetProposalLvm());
+ UI::ChangeWidget(`id(`encrypt), `Enabled, StorageProposal::GetProposalLvm());
+ UI::ChangeWidget(`id(`encrypt), `Value, StorageProposal::GetProposalEncrypt());
}
}
+
} until ( ret == `next || ret == `back || ret == `cancel );
}
Storage::SaveExitKey( ret );
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-storage-2.18.16/storage/src/inst_target_part.ycp new/yast2-storage-2.18.17/storage/src/inst_target_part.ycp
--- old/yast2-storage-2.18.16/storage/src/inst_target_part.ycp 2009-07-21 16:37:07.000000000 +0200
+++ new/yast2-storage-2.18.17/storage/src/inst_target_part.ycp 2009-07-27 17:42:40.000000000 +0200
@@ -9,7 +9,7 @@
* -Ask the user which partition to use.
* -Check the input and return error-messages.
*
- * $Id: inst_target_part.ycp 57914 2009-07-07 13:56:29Z aschnell $
+ * $Id: inst_target_part.ycp 58178 2009-07-27 15:42:43Z aschnell $
*/
{
textdomain "storage";
@@ -55,6 +55,7 @@
include "partitioning/auto_part_prepare.ycp";
include "partitioning/auto_part_ui.ycp";
include "partitioning/auto_part_create.ycp";
+ include "partitioning/custom_part_dialogs.ycp";
// Displays a popup with the message (can be dismissed with OK).
// After that only `abort or `back is allowed
@@ -212,6 +213,8 @@
if( disable_full && UI::WidgetExists( `id(`full) ))
UI::ChangeWidget( `id(`full), `Enabled, false );
+ UI::ChangeWidget(`id(`encrypt), `Enabled, (boolean) UI::QueryWidget(`id(`lvm), `Value));
+
// Event handling
symbol ret = nil;
@@ -226,6 +229,18 @@
{
break;
}
+ else if (ret == `lvm)
+ {
+ UI::ChangeWidget(`id(`encrypt), `Enabled, (boolean) UI::QueryWidget(`id(`lvm), `Value));
+ }
+ else if (ret == `encrypt)
+ {
+ if ((boolean) UI::QueryWidget(`id(`encrypt), `Value))
+ {
+ if (!QueryProposalPassword())
+ UI::ChangeWidget(`id(`encrypt), `Value, false);
+ }
+ }
else if (ret == `full)
{
// Set all checkboxes
@@ -390,18 +405,15 @@
y2milestone ("partitions '%1'", partitions);
- // Check selection for plausability
- string reason = nil;
StorageProposal::SetProposalHome( (boolean)UI::QueryWidget( `id(`home), `Value ));
- if( (boolean)UI::QueryWidget( `id(`lvm), `Value )==true )
- StorageProposal::SetProposalLvm(true);
- else
- StorageProposal::SetProposalLvm(false);
+ StorageProposal::SetProposalLvm((boolean) UI::QueryWidget(`id(`lvm), `Value));
+ StorageProposal::SetProposalEncrypt((boolean) UI::QueryWidget(`id(`encrypt), `Value));
+
ok = create_partitions( targetMap, target, partitions );
StorageProposal::SetProposalDefault(true);
if( !ok )
{
- reason = _("Too few partitions are marked for removal
+ string reason = _("Too few partitions are marked for removal
or the disk is too small.
To install Linux, select more partitions to
remove or select a larger disk.");
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-storage-2.18.16/storage/src/modules/Storage.ycp new/yast2-storage-2.18.17/storage/src/modules/Storage.ycp
--- old/yast2-storage-2.18.16/storage/src/modules/Storage.ycp 2009-07-24 15:38:51.000000000 +0200
+++ new/yast2-storage-2.18.17/storage/src/modules/Storage.ycp 2009-07-28 11:05:43.000000000 +0200
@@ -19,7 +19,7 @@
* wurde versucht "intelligent" zu gestallten und ist im einzelen bei den
* entspechenden Funktionen n�her erkl�rt.
*
- * $Id: Storage.ycp 58150 2009-07-24 13:38:53Z aschnell $
+ * $Id: Storage.ycp 58185 2009-07-28 09:05:45Z aschnell $
*/
{
module "Storage";
@@ -5786,4 +5786,51 @@
}
+ global boolean CheckEncryptionPasswords(string pw1, string pw2, integer min_length, boolean empty_allowed)
+ {
+ if (pw1 != pw2)
+ {
+ // popup text
+ Popup::Message(_("The first and the second version
+of the password do not match.
+Try again."));
+ return false;
+ }
+
+ if (isempty(pw1))
+ {
+ if (!empty_allowed)
+ {
+ // popup text
+ Popup::Message(_("You did not enter a password.
+Try again.
+"));
+ return false;
+ }
+ }
+ else
+ {
+ if (size(pw1) < min_length)
+ {
+ // popup text
+ Popup::Message(sformat(_("The password must have at least %1 characters.
+Try again.
+"), min_length));
+ return false;
+ }
+
+ string allowed_chars = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ#* ,.;:._-+!$%&/|\?{[()]}@^\\<>";
+ if (findfirstnotof(pw1, allowed_chars) != nil)
+ {
+ // popup text
+ Popup::Message(_("The password may only contain the following characters:
+0..9, a..z, A..Z, and any of \"@#* ,.;:._-+!$%&/|\?{[()]}^\\<>\".
+Try again."));
+ return false;
+ }
+ }
+
+ return true;
+ }
+
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package libapr1 for openSUSE:Factory
checked in at Wed Jul 29 17:33:33 CEST 2009.
--------
--- libapr1/libapr1.changes 2009-07-08 12:26:20.000000000 +0200
+++ /mounts/work_src_done/STABLE/libapr1/libapr1.changes 2009-07-29 17:13:17.000000000 +0200
@@ -1,0 +2,17 @@
+Wed Jul 29 17:10:50 CEST 2009 - poeml(a)suse.de
+
+- obsolete patch apr-1.2.8-pool-cleanups.patch removed.
+ This patch was applied only when build_with_memory_pool_debug was
+ defined during the build, which is true for the Apache:APR_Pool_Debug project,
+ but it was disabled even there.
+ It was not clear whether the patch was really useful, I seemed to
+ have more success testing with the pool debug builds with this
+ patch. But that was two years ago and we don't seem to miss it.
+
+-------------------------------------------------------------------
+Mon Jul 27 22:11:04 CEST 2009 - poeml(a)suse.de
+
+- update to 1.3.7
+ *) More elaborate detection for dup3(), accept4() and epoll_create1().
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
apr-1.2.8-pool-cleanups.patch
apr-1.3.6.tar.bz2
New:
----
apr-1.3.7.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libapr1.spec ++++++
--- /var/tmp/diff_new_pack.PfYKV6/_old 2009-07-29 17:33:07.000000000 +0200
+++ /var/tmp/diff_new_pack.PfYKV6/_new 2009-07-29 17:33:07.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package libapr1 (Version 1.3.6)
+# spec file for package libapr1 (Version 1.3.7)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -33,12 +33,11 @@
Obsoletes: libapr1-32bit
%endif
#
-Version: 1.3.6
+Version: 1.3.7
Release: 1
Summary: Apache Portable Runtime (APR) Library
Source: http://www.apache.org/dist/apr/apr-%{version}.tar.bz2
Patch1: string-compare.diff
-Patch2: apr-1.2.8-pool-cleanups.patch
Patch3: apr-1.3.0-testshm-apr_shm_remove.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define aprver 1
@@ -101,9 +100,6 @@
%prep
%setup -n apr-%{version}
%patch1
-%if %{?build_with_memory_pool_debug:1}0
-#patch2 -p1
-%endif
%patch3 -p1
#
# workaround for ugly bug 400488
++++++ apr-1.3.6.tar.bz2 -> apr-1.3.7.tar.bz2 ++++++
++++ 5837 lines of diff (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0