- update to version 2.9.0

* add new FascistCheckUser function
- remove translation-fix.dif
  * text changed

OBS-URL: https://build.opensuse.org/package/show/Base:System/cracklib?expand=0&rev=34
This commit is contained in:
Michael Calmer 2013-06-08 09:30:58 +00:00 committed by Git OBS Bridge
parent d1389c89e8
commit 7119ba7538
5 changed files with 28 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:feaff49bfb513ec10b2618c00d2f7f60776ba93fcc5fa22dd3479dd9cad9f770
size 631796

3
cracklib-2.9.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:17fecdfa78c0b9b47afa1533ea99b5351c3cef770bbd9c8c34391827efecbdc0
size 626322

View File

@ -1,6 +1,8 @@
--- configure.in
Index: configure.in
===================================================================
--- configure.in.orig
+++ configure.in
@@ -90,6 +90,45 @@
@@ -90,6 +90,45 @@ AM_CONDITIONAL(BUILD_PYTHON,[test "$buil
dnl Handle local dict compiling properly
AC_SUBST(CROSS_COMPILING, $cross_compiling)
@ -46,7 +48,9 @@
AC_OUTPUT(util/Makefile lib/Makefile doc/Makefile python/Makefile Makefile \
python/setup.py \
po/Makefile.in m4/Makefile dicts/Makefile cracklib.spec)
--- lib/crack.h
Index: lib/crack.h
===================================================================
--- lib/crack.h.orig
+++ lib/crack.h
@@ -5,6 +5,10 @@
extern "C" {
@ -56,15 +60,18 @@
+#define CRACKLIB_API extern
+#endif
+
/* Pass this function a password (pw) and a path to the
/* 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
@@ -13,11 +17,11 @@
@@ -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.
*/
@ -73,9 +80,11 @@
#ifdef __cplusplus
};
--- lib/packer.h
Index: lib/packer.h
===================================================================
--- lib/packer.h.orig
+++ lib/packer.h
@@ -75,7 +75,7 @@
@@ -75,7 +75,7 @@ typedef struct
#define PIH_MAGIC 0x70775631
/* Internal routines */
@ -84,7 +93,7 @@
#else
@@ -86,14 +86,14 @@
@@ -86,14 +86,14 @@ typedef struct {
#endif

View File

@ -1,4 +1,11 @@
-------------------------------------------------------------------
Sat Jun 8 09:28:35 UTC 2013 - mc@suse.com
- update to version 2.9.0
* add new FascistCheckUser function
- remove translation-fix.dif
* text changed
-------------------------------------------------------------------
Tue Jan 29 08:32:56 UTC 2013 - dmueller@suse.com
- update to 2.8.22:

View File

@ -28,7 +28,7 @@ Url: http://sourceforge.net/projects/cracklib
Obsoletes: cracklib-64bit
%endif
#
Version: 2.8.22
Version: 2.9.0
Release: 0
Requires: cracklib-dict
Summary: Library to crack passwords using dictionaries
@ -41,7 +41,6 @@ Source2: baselibs.conf
Patch: cracklib-magic.diff
# PATCH-FIX-OPENSUSE Hide non-public functions
Patch1: cracklib-visibility.patch
Patch2: translation-fix.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -94,7 +93,6 @@ This package contains a small dictionay file used by cracklib.
%prep
%setup -q
%patch2
translation-update-upstream
%patch
%patch1