Hello community, here is the log from the commit of package cracklib for openSUSE:Factory checked in at 2015-01-10 23:04:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cracklib (Old) and /work/SRC/openSUSE:Factory/.cracklib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cracklib" Changes: -------- --- /work/SRC/openSUSE:Factory/cracklib/cracklib.changes 2013-06-14 16:44:09.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.cracklib.new/cracklib.changes 2015-01-10 23:04:48.000000000 +0100 @@ -1,0 +2,11 @@ +Sun Jan 4 13:38:51 UTC 2015 - [email protected] + +- Update to version 2.9.2 + + support build of python support outside of source tree + + fix bug in Python string distance calculation + + fix bug #16 / debian bug 724570 - broken optimization with packlib + prevblock +- Adapt patch to upstream changes + + cracklib-visibility.patch > cracklib-2.9.2-visibility.patch + +------------------------------------------------------------------- @@ -7,0 +19 @@ + Old: ---- cracklib-2.9.0.tar.gz cracklib-visibility.patch New: ---- cracklib-2.9.2-visibility.patch cracklib-2.9.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cracklib.spec ++++++ --- /var/tmp/diff_new_pack.eFrXbs/_old 2015-01-10 23:04:49.000000000 +0100 +++ /var/tmp/diff_new_pack.eFrXbs/_new 2015-01-10 23:04:49.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package cracklib # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -28,7 +28,7 @@ Obsoletes: cracklib-64bit %endif # -Version: 2.9.0 +Version: 2.9.2 Release: 0 Requires: cracklib-dict Summary: Library to crack passwords using dictionaries @@ -40,7 +40,7 @@ # Remove support for broken 64bit indexes from magic entry [bnc#106007] Patch: cracklib-magic.diff # PATCH-FIX-OPENSUSE Hide non-public functions -Patch1: cracklib-visibility.patch +Patch1: cracklib-2.9.2-visibility.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -49,8 +49,6 @@ stopusers from choosing passwords that are too simple.This package contains a full dictionary file used by cracklib. - - %package devel Summary: Header files and libraries for developing apps which will use CrackLib Group: Development/Libraries/C and C++ ++++++ cracklib-2.9.2-visibility.patch ++++++ Index: configure.in =================================================================== --- configure.ac.orig +++ configure.ac @@ -97,6 +97,45 @@ dnl Handle local dict compiling properly AC_SUBST(CROSS_COMPILING, $cross_compiling) + dnl ************************************************************ + dnl Enable hiding of internal symbols in library to reduce its size and + dnl speed dynamic linking of applications. This currently is only supported + dnl on gcc >= 4.0 and SunPro C. + dnl + AC_MSG_CHECKING([whether to enable hidden symbols in the library]) + AC_ARG_ENABLE(hidden-symbols, + AC_HELP_STRING([--enable-hidden-symbols],[Hide internal symbols in library]) + AC_HELP_STRING([--disable-hidden-symbols],[Leave all symbols with default visibility in library]), + [ case "$enableval" in + no) + AC_MSG_RESULT(no) + ;; + *) + AC_MSG_CHECKING([whether $CC supports it]) + if test "$GCC" = yes ; then + if $CC --help --verbose 2>&1 | grep fvisibility= > /dev/null ; then + AC_MSG_RESULT(yes) + AC_DEFINE(CRACKLIB_API, [extern __attribute__ ((visibility ("default")))], [to make a symbol visible]) + CFLAGS="$CFLAGS -fvisibility=hidden" + else + AC_MSG_RESULT(no) + fi + + else + dnl Test for SunPro cc + if $CC 2>&1 | grep flags >/dev/null && $CC -flags | grep xldscope= >/dev/null ; then + AC_MSG_RESULT(yes) + AC_DEFINE(CRACKLIB_API, [__global], [to make a symbol visible]) + CFLAGS="$CFLAGS -xldscope=hidden" + else + AC_MSG_RESULT(no) + fi + fi + ;; + esac ], + AC_MSG_RESULT(no) + ) + AC_OUTPUT(util/Makefile lib/Makefile doc/Makefile python/Makefile Makefile \ python/setup.py \ po/Makefile.in m4/Makefile dicts/Makefile cracklib.spec) Index: lib/crack.h =================================================================== --- lib/crack.h.orig +++ lib/crack.h @@ -5,6 +5,10 @@ extern "C" { #endif +#ifndef CRACKLIB_API +#define CRACKLIB_API extern +#endif + /* Pass these functions a password (pw) and a path to the * dictionaries (/usr/lib/cracklib_dict should be specified) * and it will either return a NULL string, meaning that the @@ -18,13 +22,13 @@ extern "C" { * You must link with -lcrack */ -extern const char *FascistCheck(const char *pw, const char *dictpath); -extern const char *FascistCheckUser(const char *pw, const char *dictpath, +CRACKLIB_API const char *FascistCheck(const char *pw, const char *dictpath); +CRACKLIB_API const char *FascistCheckUser(const char *pw, const char *dictpath, const char *user, const char *gecos); /* This function returns the compiled in value for DEFAULT_CRACKLIB_DICT. */ -extern const char *GetDefaultCracklibDict(void); +CRACKLIB_API const char *GetDefaultCracklibDict(void); #ifdef __cplusplus }; Index: lib/packer.h =================================================================== --- lib/packer.h.orig +++ lib/packer.h @@ -75,7 +75,7 @@ typedef struct #define PIH_MAGIC 0x70775631 /* Internal routines */ -extern char *GetPW(PWDICT *pwp, uint32_t number); +CRACKLIB_API char *GetPW(PWDICT *pwp, uint32_t number); #else @@ -86,14 +86,14 @@ typedef struct { #endif -extern PWDICT *PWOpen(const char *prefix, char *mode); -extern int PWClose(PWDICT *pwp); -extern unsigned int FindPW(PWDICT *pwp, char *string); -extern int PutPW(PWDICT *pwp, char *string); -extern int PMatch(char *control, char *string); -extern char *Mangle(char *input, char *control); -extern char Chop(char *string); -extern char *Trim(char *string); -extern char *FascistLook(PWDICT *pwp, char *instring); +CRACKLIB_API PWDICT *PWOpen(const char *prefix, char *mode); +CRACKLIB_API int PWClose(PWDICT *pwp); +CRACKLIB_API unsigned int FindPW(PWDICT *pwp, char *string); +CRACKLIB_API int PutPW(PWDICT *pwp, char *string); +CRACKLIB_API int PMatch(char *control, char *string); +CRACKLIB_API char *Mangle(char *input, char *control); +CRACKLIB_API char Chop(char *string); +CRACKLIB_API char *Trim(char *string); +CRACKLIB_API char *FascistLook(PWDICT *pwp, char *instring); #endif ++++++ cracklib-2.9.0.tar.gz -> cracklib-2.9.2.tar.gz ++++++ ++++ 4096 lines of diff (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
