diff --git a/cracklib-2.8.22.tar.gz b/cracklib-2.8.22.tar.gz deleted file mode 100644 index d82f64d..0000000 --- a/cracklib-2.8.22.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:feaff49bfb513ec10b2618c00d2f7f60776ba93fcc5fa22dd3479dd9cad9f770 -size 631796 diff --git a/cracklib-2.9.0.tar.gz b/cracklib-2.9.0.tar.gz new file mode 100644 index 0000000..b9c3b0f --- /dev/null +++ b/cracklib-2.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:17fecdfa78c0b9b47afa1533ea99b5351c3cef770bbd9c8c34391827efecbdc0 +size 626322 diff --git a/cracklib-visibility.patch b/cracklib-visibility.patch index f11708c..dd8a5d5 100644 --- a/cracklib-visibility.patch +++ b/cracklib-visibility.patch @@ -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 diff --git a/cracklib.changes b/cracklib.changes index 0fed046..be9ce71 100644 --- a/cracklib.changes +++ b/cracklib.changes @@ -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: diff --git a/cracklib.spec b/cracklib.spec index 57de825..9776406 100644 --- a/cracklib.spec +++ b/cracklib.spec @@ -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