[jhbuild] 3.6: Add libpwquality
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] 3.6: Add libpwquality
- Date: Wed, 23 May 2012 10:55:27 +0000 (UTC)
commit 4e1bbd994af1c3b8c510afe74006c9b8810eca7f
Author: Bastien Nocera <hadess hadess net>
Date: Wed May 23 11:54:34 2012 +0100
3.6: Add libpwquality
Might use it for gnome-control-center's password generation.
See:
https://bugzilla.gnome.org/show_bug.cgi?id=676396
modulesets/gnome-world-3.6.modules | 11 ++++++++
patches/libpwquality-fix-i18n-build.patch | 38 +++++++++++++++++++++++++++++
2 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/modulesets/gnome-world-3.6.modules b/modulesets/gnome-world-3.6.modules
index 9e39c95..3670eff 100644
--- a/modulesets/gnome-world-3.6.modules
+++ b/modulesets/gnome-world-3.6.modules
@@ -103,6 +103,8 @@
href="http://tracker.openchange.org/attachments/download/"/>
<repository type="tarball" name="gnome.org"
href="http://download.gnome.org/sources/"/>
+ <repository type="tarball" name="libpwquality"
+ href="https://fedorahosted.org/releases/l/i/libpwquality/"/>
<include href="gnome-apps-3.6.modules"/>
@@ -2180,4 +2182,13 @@
</suggests>
</autotools>
+ <autotools id="libpwquality">
+ <branch repo="libpwquality"
+ module="https://fedorahosted.org/releases/l/i/libpwquality/libpwquality-1.0.0.tar.bz2" version="1.0.0"
+ hash="sha256:1f2e6171071f37871096c9d73f91ac4f2d35597ba844d07594e080c37b15009c"
+ md5sum="35e809791aedcbedfb3bd33f1a715984" size="342995">
+ <patch file="libpwquality-fix-i18n-build.patch" strip="1" />
+ </branch>
+ </autotools>
+
</moduleset>
diff --git a/patches/libpwquality-fix-i18n-build.patch b/patches/libpwquality-fix-i18n-build.patch
new file mode 100644
index 0000000..7ee5e82
--- /dev/null
+++ b/patches/libpwquality-fix-i18n-build.patch
@@ -0,0 +1,38 @@
+From 971b3cb3cef618d054a58c72375e46f4709ab1f1 Mon Sep 17 00:00:00 2001
+From: Bastien Nocera <hadess hadess net>
+Date: Wed, 23 May 2012 11:51:33 +0100
+Subject: [PATCH] Fix compilation
+
+Errors about setlocale() and LC_ALL being undefined
+---
+ src/pwmake.c | 1 +
+ src/pwscore.c | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/src/pwmake.c b/src/pwmake.c
+index 4040a7a..6e50ea7 100644
+--- a/src/pwmake.c
++++ b/src/pwmake.c
+@@ -13,6 +13,7 @@
+ #include <sys/stat.h>
+ #include <errno.h>
+ #include <libgen.h>
++#include <locale.h>
+
+ #include "pwquality.h"
+
+diff --git a/src/pwscore.c b/src/pwscore.c
+index e8d38a9..68e8722 100644
+--- a/src/pwscore.c
++++ b/src/pwscore.c
+@@ -13,6 +13,7 @@
+ #include <sys/stat.h>
+ #include <errno.h>
+ #include <libgen.h>
++#include <locale.h>
+
+ #include "pwquality.h"
+
+--
+1.7.10.1
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]