forked from pool/cracklib
Accepting request 178064 from Base:System
- update to version 2.9.0 * add new FascistCheckUser function - remove translation-fix.dif * text changed - get translation via translation-update-upstream OBS-URL: https://build.opensuse.org/request/show/178064 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cracklib?expand=0&rev=49
This commit is contained in:
commit
e387d49a2e
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:00adb1869f9efe38211cc68f0d47c045a170d5fc46ea93f86cdcf533af05ae78
|
|
||||||
size 538363
|
|
@ -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 - get translation via translation-update-upstream
|
||||||
|
-------------------------------------------------------------------
|
||||||
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
|
||||||
@ -143,7 +141,7 @@ make check
|
|||||||
%files -n libcrack2
|
%files -n libcrack2
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libcrack.so.2
|
%{_libdir}/libcrack.so.2
|
||||||
%{_libdir}/libcrack.so.2.8.1
|
%{_libdir}/libcrack.so.2.*
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
@ -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"
|
|
Loading…
Reference in New Issue
Block a user