diff --git a/cracklib-2.8.18.tar.bz2 b/cracklib-2.8.18.tar.bz2 deleted file mode 100644 index 9e295f3..0000000 --- a/cracklib-2.8.18.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:00adb1869f9efe38211cc68f0d47c045a170d5fc46ea93f86cdcf533af05ae78 -size 538363 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..0e4d430 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 - get translation via translation-update-upstream +------------------------------------------------------------------- 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..7497516 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 @@ -143,7 +141,7 @@ make check %files -n libcrack2 %defattr(-,root,root) %{_libdir}/libcrack.so.2 -%{_libdir}/libcrack.so.2.8.1 +%{_libdir}/libcrack.so.2.* %files -f %{name}.lang %defattr(-,root,root) diff --git a/translation-fix.dif b/translation-fix.dif deleted file mode 100644 index b19e118..0000000 --- a/translation-fix.dif +++ /dev/null @@ -1,81 +0,0 @@ ---- po/zh_CN.po -+++ po/zh_CN.po -@@ -19,63 +19,63 @@ - - #: lib/fascist.c:550 - msgid "you are not registered in the password file" --msgstr "??????????????????????????????" -+msgstr "尚未在口令文件中注册" - - #: lib/fascist.c:564 - msgid "it is based on your username" --msgstr "??????????????????" -+msgstr "它基于用户名" - - #: lib/fascist.c:629 - msgid "it is based upon your password entry" --msgstr "????????????????????????" -+msgstr "它基于输入的口令" - - #: lib/fascist.c:649 - msgid "it is derived from your password entry" --msgstr "???????????????????????????" -+msgstr "它派生自输入的口令" - - #: lib/fascist.c:662 - msgid "it's derived from your password entry" --msgstr "???????????????????????????" -+msgstr "它派生自输入的口令" - - #: lib/fascist.c:676 - msgid "it is derivable from your password entry" --msgstr "???????????????????????????" -+msgstr "可从输入的口令推断" - - #: lib/fascist.c:690 - msgid "it's derivable from your password entry" --msgstr "???????????????????????????" -+msgstr "可从输入的口令推断" - - #: lib/fascist.c:726 - msgid "it is WAY too short" --msgstr "WAY ??????" -+msgstr "WAY 过短" - - #: lib/fascist.c:731 - msgid "it is too short" --msgstr "??????" -+msgstr "过短" - - #: lib/fascist.c:748 - msgid "it does not contain enough DIFFERENT characters" --msgstr "????????????????????????????????????" -+msgstr "它没有包含足够的 DIFFERENT 字符" - - #: lib/fascist.c:762 - msgid "it is all whitespace" --msgstr "????????????" -+msgstr "全是空格" - - #: lib/fascist.c:781 - msgid "it is too simplistic/systematic" --msgstr "????????????/?????????" -+msgstr "过于简单化/系统化" - - #: lib/fascist.c:786 - msgid "it looks like a National Insurance number." --msgstr "??????????????????????????????" -+msgstr "看起来像国家保险号码。" - - #: lib/fascist.c:813 - msgid "it is based on a dictionary word" --msgstr "?????????????????????" -+msgstr "它基于字典单词" - - #: lib/fascist.c:832 - msgid "it is based on a (reversed) dictionary word" --msgstr "????????????????????????????????????" -+msgstr "它基于(颠倒的)字典单词" - - #: lib/fascist.c:867 - msgid "error loading dictionary"