* [PATCH 1/2] gnu: Add cracklib.
@ 2015-12-15 3:59 宋文武
2015-12-15 4:00 ` [PATCH 2/2] gnu: Add libpwquality 宋文武
2015-12-17 22:42 ` [PATCH 1/2] gnu: Add cracklib Ludovic Courtès
0 siblings, 2 replies; 4+ messages in thread
From: 宋文武 @ 2015-12-15 3:59 UTC (permalink / raw)
To: guix-devel; +Cc: 宋文武
* gnu/packages/password-utils.scm (cracklib): New variable.
---
gnu/packages/password-utils.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 1ca327b..19b184c 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -135,3 +135,24 @@ session. Two companion utilities enable users to convert CSV files to YAPET
and vice versa.")
(home-page "http://www.guengel.ch/myapps/yapet/")
(license license:gpl3+)))
+
+(define-public cracklib
+ (package
+ (name "cracklib")
+ (version "2.9.6")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/cracklib/cracklib/"
+ "releases/download/" name "-" version "/"
+ name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0hrkb0prf7n92w6rxgq0ilzkk6rkhpys2cfqkrbzswp27na7dkqp"))))
+ (build-system gnu-build-system)
+ (synopsis "Password checking library")
+ (home-page "https://github.com/cracklib/cracklib")
+ (description
+ "CrackLib is a library containing a C function which may be used in a
+passwd like program. The idea is simple: try to prevent users from choosing
+passwords that could be guessed by crack by filtering them out, at source.")
+ (license license:lgpl2.1)))
--
2.5.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] gnu: Add libpwquality.
2015-12-15 3:59 [PATCH 1/2] gnu: Add cracklib 宋文武
@ 2015-12-15 4:00 ` 宋文武
2015-12-17 22:43 ` Ludovic Courtès
2015-12-17 22:42 ` [PATCH 1/2] gnu: Add cracklib Ludovic Courtès
1 sibling, 1 reply; 4+ messages in thread
From: 宋文武 @ 2015-12-15 4:00 UTC (permalink / raw)
To: guix-devel; +Cc: 宋文武
* gnu/packages/password-utils.scm (libpwquality): New variable.
---
gnu/packages/password-utils.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 19b184c..caa89dc 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -156,3 +156,31 @@ and vice versa.")
passwd like program. The idea is simple: try to prevent users from choosing
passwords that could be guessed by crack by filtering them out, at source.")
(license license:lgpl2.1)))
+
+(define-public libpwquality
+ (package
+ (name "libpwquality")
+ (version "1.3.0")
+ (source (origin
+ (method url-fetch)
+ (uri (list
+ (string-append "https://fedorahosted.org/releases/l/i/"
+ name "/" name "-" version ".tar.bz2")
+ (string-append "https://launchpad.net/libpwquality/trunk/"
+ version "/+download/"
+ name "-" version ".tar.bz2")))
+ (sha256
+ (base32
+ "0aidriag6h0syfm33nzdfdsqgrnsgihwjv3a5lgkqch3w68fmlkl"))))
+ (build-system gnu-build-system)
+ (arguments
+ ;; XXX: have RUNPATH issue.
+ '(#:configure-flags '("--disable-python-bindings")))
+ (inputs
+ `(("cracklib" ,cracklib)))
+ (synopsis "Password quality checker")
+ (home-page "https://fedorahosted.org/libpwquality/")
+ (description
+ "Libpwquality is a library for password quality checking and generation of
+random passwords that pass the checks.")
+ (license license:gpl2+)))
--
2.5.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] gnu: Add cracklib.
2015-12-15 3:59 [PATCH 1/2] gnu: Add cracklib 宋文武
2015-12-15 4:00 ` [PATCH 2/2] gnu: Add libpwquality 宋文武
@ 2015-12-17 22:42 ` Ludovic Courtès
1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2015-12-17 22:42 UTC (permalink / raw)
To: 宋文武; +Cc: guix-devel
宋文武 <iyzsong@gmail.com> skribis:
> * gnu/packages/password-utils.scm (cracklib): New variable.
LGTM, thanks!
Ludo'.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] gnu: Add libpwquality.
2015-12-15 4:00 ` [PATCH 2/2] gnu: Add libpwquality 宋文武
@ 2015-12-17 22:43 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2015-12-17 22:43 UTC (permalink / raw)
To: 宋文武; +Cc: guix-devel
宋文武 <iyzsong@gmail.com> skribis:
> * gnu/packages/password-utils.scm (libpwquality): New variable.
LGTM.
Ludo'.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-12-17 22:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-15 3:59 [PATCH 1/2] gnu: Add cracklib 宋文武
2015-12-15 4:00 ` [PATCH 2/2] gnu: Add libpwquality 宋文武
2015-12-17 22:43 ` Ludovic Courtès
2015-12-17 22:42 ` [PATCH 1/2] gnu: Add cracklib Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).