forked from pool/cracklib
- 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:
parent
d1389c89e8
commit
7119ba7538
@ -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
3
cracklib-2.9.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:17fecdfa78c0b9b47afa1533ea99b5351c3cef770bbd9c8c34391827efecbdc0
|
||||||
|
size 626322
|
@ -1,6 +1,8 @@
|
|||||||
--- configure.in
|
Index: configure.in
|
||||||
|
===================================================================
|
||||||
|
--- configure.in.orig
|
||||||
+++ configure.in
|
+++ configure.in
|
||||||
@@ -90,6 +90,45 @@
|
@@ -90,6 +90,45 @@ AM_CONDITIONAL(BUILD_PYTHON,[test "$buil
|
||||||
dnl Handle local dict compiling properly
|
dnl Handle local dict compiling properly
|
||||||
AC_SUBST(CROSS_COMPILING, $cross_compiling)
|
AC_SUBST(CROSS_COMPILING, $cross_compiling)
|
||||||
|
|
||||||
@ -46,7 +48,9 @@
|
|||||||
AC_OUTPUT(util/Makefile lib/Makefile doc/Makefile python/Makefile Makefile \
|
AC_OUTPUT(util/Makefile lib/Makefile doc/Makefile python/Makefile Makefile \
|
||||||
python/setup.py \
|
python/setup.py \
|
||||||
po/Makefile.in m4/Makefile dicts/Makefile cracklib.spec)
|
po/Makefile.in m4/Makefile dicts/Makefile cracklib.spec)
|
||||||
--- lib/crack.h
|
Index: lib/crack.h
|
||||||
|
===================================================================
|
||||||
|
--- lib/crack.h.orig
|
||||||
+++ lib/crack.h
|
+++ lib/crack.h
|
||||||
@@ -5,6 +5,10 @@
|
@@ -5,6 +5,10 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@ -56,15 +60,18 @@
|
|||||||
+#define CRACKLIB_API extern
|
+#define CRACKLIB_API extern
|
||||||
+#endif
|
+#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)
|
* dictionaries (/usr/lib/cracklib_dict should be specified)
|
||||||
* and it will either return a NULL string, meaning that the
|
* 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
|
* You must link with -lcrack
|
||||||
*/
|
*/
|
||||||
|
|
||||||
-extern const char *FascistCheck(const char *pw, const char *dictpath);
|
-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 *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.
|
/* This function returns the compiled in value for DEFAULT_CRACKLIB_DICT.
|
||||||
*/
|
*/
|
||||||
@ -73,9 +80,11 @@
|
|||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
};
|
};
|
||||||
--- lib/packer.h
|
Index: lib/packer.h
|
||||||
|
===================================================================
|
||||||
|
--- lib/packer.h.orig
|
||||||
+++ lib/packer.h
|
+++ lib/packer.h
|
||||||
@@ -75,7 +75,7 @@
|
@@ -75,7 +75,7 @@ typedef struct
|
||||||
#define PIH_MAGIC 0x70775631
|
#define PIH_MAGIC 0x70775631
|
||||||
|
|
||||||
/* Internal routines */
|
/* Internal routines */
|
||||||
@ -84,7 +93,7 @@
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
@@ -86,14 +86,14 @@
|
@@ -86,14 +86,14 @@ typedef struct {
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -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
|
Tue Jan 29 08:32:56 UTC 2013 - dmueller@suse.com
|
||||||
|
|
||||||
- update to 2.8.22:
|
- update to 2.8.22:
|
||||||
|
@ -28,7 +28,7 @@ Url: http://sourceforge.net/projects/cracklib
|
|||||||
Obsoletes: cracklib-64bit
|
Obsoletes: cracklib-64bit
|
||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
Version: 2.8.22
|
Version: 2.9.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Requires: cracklib-dict
|
Requires: cracklib-dict
|
||||||
Summary: Library to crack passwords using dictionaries
|
Summary: Library to crack passwords using dictionaries
|
||||||
@ -41,7 +41,6 @@ Source2: baselibs.conf
|
|||||||
Patch: cracklib-magic.diff
|
Patch: cracklib-magic.diff
|
||||||
# PATCH-FIX-OPENSUSE Hide non-public functions
|
# PATCH-FIX-OPENSUSE Hide non-public functions
|
||||||
Patch1: cracklib-visibility.patch
|
Patch1: cracklib-visibility.patch
|
||||||
Patch2: translation-fix.dif
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -94,7 +93,6 @@ This package contains a small dictionay file used by cracklib.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch2
|
|
||||||
translation-update-upstream
|
translation-update-upstream
|
||||||
%patch
|
%patch
|
||||||
%patch1
|
%patch1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user