From 857c58c0dd41ee5b74736a24cbb894b0f2af7ce4507e000a9136ff3b750d8f9e Mon Sep 17 00:00:00 2001
From: Marcus Meissner <meissner@suse.com>
Date: Fri, 4 Sep 2015 10:03:34 +0000
Subject: [PATCH] Accepting request 324000 from
 home:pluskalm:branches:Base:System

- Update to 2.9.5
  * fix matching against first password in dictionary (Anton Dobkin)
- Changes for 2.9.4
  * remove doubled prototype
- Changes for 2.9.3
  * expose additional functions externally

OBS-URL: https://build.opensuse.org/request/show/324000
OBS-URL: https://build.opensuse.org/package/show/Base:System/cracklib?expand=0&rev=42
---
 cracklib-2.9.2-visibility.patch | 13 +++++++------
 cracklib-2.9.2.tar.gz           |  3 ---
 cracklib-2.9.5.tar.gz           |  3 +++
 cracklib-magic.diff             |  6 ++++--
 cracklib.changes                | 10 ++++++++++
 cracklib.spec                   |  2 +-
 6 files changed, 25 insertions(+), 12 deletions(-)
 delete mode 100644 cracklib-2.9.2.tar.gz
 create mode 100644 cracklib-2.9.5.tar.gz

diff --git a/cracklib-2.9.2-visibility.patch b/cracklib-2.9.2-visibility.patch
index a9e2fc2..7973005 100644
--- a/cracklib-2.9.2-visibility.patch
+++ b/cracklib-2.9.2-visibility.patch
@@ -1,8 +1,8 @@
-Index: configure.in
+Index: configure.ac
 ===================================================================
 --- configure.ac.orig
 +++ configure.ac
-@@ -97,6 +97,45 @@
+@@ -97,6 +97,45 @@ AM_CONDITIONAL(BUILD_PYTHON,[test "$buil
  dnl Handle local dict compiling properly
  AC_SUBST(CROSS_COMPILING, $cross_compiling)
  
@@ -84,7 +84,7 @@ Index: lib/packer.h
 ===================================================================
 --- lib/packer.h.orig
 +++ lib/packer.h
-@@ -75,7 +75,7 @@ typedef struct
+@@ -76,7 +76,7 @@ typedef struct
  #define PIH_MAGIC 0x70775631
  
  /* Internal routines */
@@ -93,7 +93,7 @@ Index: lib/packer.h
  
  #else
  
-@@ -86,14 +86,14 @@ typedef struct {
+@@ -87,15 +87,15 @@ typedef struct {
  
  #endif
  
@@ -115,5 +115,6 @@ Index: lib/packer.h
 +CRACKLIB_API char Chop(char *string);
 +CRACKLIB_API char *Trim(char *string);
 +CRACKLIB_API char *FascistLook(PWDICT *pwp, char *instring);
- 
- #endif
+ extern char *FascistLookUser(PWDICT *pwp, char *instring, const char *user, const char *gecos);
+ extern char *FascistGecos(char *password, int uid);
+ extern char *FascistGecosUser(char *password, const char *user, const char *gecos);
diff --git a/cracklib-2.9.2.tar.gz b/cracklib-2.9.2.tar.gz
deleted file mode 100644
index a4f3d85..0000000
--- a/cracklib-2.9.2.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c1c899291d443e99d1aecfbc879e4ac9c0cbc265574f47b487842da11e9759f5
-size 623125
diff --git a/cracklib-2.9.5.tar.gz b/cracklib-2.9.5.tar.gz
new file mode 100644
index 0000000..12c4c63
--- /dev/null
+++ b/cracklib-2.9.5.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:59ab0138bc8cf90cccb8509b6969a024d5e58d2d02bcbdccbb9ba9b88be3fa33
+size 622499
diff --git a/cracklib-magic.diff b/cracklib-magic.diff
index 6ae96ea..3336cdc 100644
--- a/cracklib-magic.diff
+++ b/cracklib-magic.diff
@@ -1,5 +1,7 @@
---- doc/cracklib.magic
-+++ doc/cracklib.magic	2005/08/23 12:00:02
+Index: doc/cracklib.magic
+===================================================================
+--- doc/cracklib.magic.orig
++++ doc/cracklib.magic
 @@ -1,10 +1,5 @@
  # cracklib:  file (1) magic for cracklib v2.7
  0	lelong	0x70775631	Cracklib password index, little endian
diff --git a/cracklib.changes b/cracklib.changes
index 8461356..704b911 100644
--- a/cracklib.changes
+++ b/cracklib.changes
@@ -1,3 +1,13 @@
+-------------------------------------------------------------------
+Tue Aug 18 13:00:24 UTC 2015 - mpluskal@suse.com
+
+- Update to 2.9.5
+  * fix matching against first password in dictionary (Anton Dobkin)
+- Changes for 2.9.4 
+  * remove doubled prototype
+- Changes for 2.9.3 
+  * expose additional functions externally
+
 -------------------------------------------------------------------
 Fri Apr  3 09:01:41 UTC 2015 - mpluskal@suse.com
 
diff --git a/cracklib.spec b/cracklib.spec
index 069b5eb..6fd9a04 100644
--- a/cracklib.spec
+++ b/cracklib.spec
@@ -17,7 +17,7 @@
 
 
 Name:           cracklib
-Version:        2.9.2
+Version:        2.9.5
 Release:        0
 Summary:        Library to crack passwords using dictionaries
 License:        LGPL-2.1