core updated.

This commit is contained in:
Ertuğrul Erata
2015-05-17 16:28:10 +03:00
parent 14d58aa1d0
commit 8e13c775be
558 changed files with 543408 additions and 27657 deletions
@@ -0,0 +1,11 @@
--- Makefile.am.OSmanOS 2012-11-08 04:25:58.000000000 +0200
+++ Makefile.am 2013-02-14 18:27:39.272866825 +0200
@@ -198,7 +198,7 @@
python_libusermodule_la_SOURCES = python/libusermodule.c python/common.h \
python/debug.h
python_libusermodule_la_CPPFLAGS = $(AM_CPPFLAGS) $(PYTHON_CPPFLAGS)
-python_libusermodule_la_LDFLAGS = -module -avoid-version $(GOBJECT_LIBS)
+python_libusermodule_la_LDFLAGS = -module -avoid-version $(GOBJECT_LIBS) -lpython$(PYTHON_VERSION)
python_libusermodule_la_LIBADD = lib/libuser.la
samples_enum_CPPFLAGS = $(AM_CPPFLAGS) $(LOCALEDIR_CPPFLAGS)
@@ -0,0 +1,18 @@
Index: libuser-0.56.17/docs/Makefile.am
===================================================================
--- libuser-0.56.17.orig/docs/Makefile.am
+++ libuser-0.56.17/docs/Makefile.am
@@ -1,12 +1,10 @@
-SUBDIRS = reference
-
man_MANS = libuser.conf.5
CLEANFILES = $(man_MANS) sgml/libuser.html sgml/libuser-1.html \
sgml/libuser-2.html sgml/libuser.txt
EXTRA_DIST = attributes.txt libuser.conf.5.in rfc2307.txt sgml/libuser.sgml
-all: sgml/libuser.txt sgml/libuser.html
+all: libuser.conf.5
libuser.conf.5: $(srcdir)/libuser.conf.5.in Makefile
sed 's,@sysconfdir\@,$(sysconfdir),g' \
@@ -0,0 +1,28 @@
--- lib/util.c 2010-05-20 15:46:11.000000000 +0200
+++ lib/util.c 2010-05-20 16:23:28.000000000 +0200
@@ -116,14 +116,14 @@
}
static const struct {
- const char initial[5];
+ const char initial[8];
char separator[2];
size_t salt_length;
gboolean sha_rounds;
} salt_type_info[] = {
{"$1$", "$", 8, FALSE },
/* FIXME: number of rounds, base64 of 128 bits */
- {"$2a$", "$", 8, FALSE },
+ {"$2a$08$", "$", 22, FALSE },
{"$5$", "$", 16, TRUE },
{"$6$", "$", 16, TRUE },
{ "", "", 2 },
@@ -230,7 +230,7 @@
} salt_types[] = {
{ "des", "", FALSE },
{ "md5", "$1$", FALSE },
- { "blowfish", "$2a$", FALSE },
+ { "blowfish", "$2a$08$", FALSE },
{ "sha256", "$5$", TRUE },
{ "sha512", "$6$", TRUE },
};
@@ -0,0 +1,22 @@
--- modules/files.c.str 2008-12-27 08:27:58.000000000 +0100
+++ modules/files.c 2008-12-27 08:28:24.000000000 +0100
@@ -281,7 +281,7 @@
string, &err);
if (ret == FALSE) {
g_assert(err != NULL);
- g_warning(lu_strerror(err));
+ g_warning("%s",lu_strerror(err));
lu_error_free(&err);
}
return ret;
--- modules/ldap.c.str 2008-12-27 08:28:41.000000000 +0100
+++ modules/ldap.c 2008-12-27 08:29:03.000000000 +0100
@@ -677,7 +677,7 @@
(&value, attr, val, &error);
if (ok == FALSE) {
g_assert(error != NULL);
- g_warning(lu_strerror(error));
+ g_warning("%s",lu_strerror(error));
lu_error_free(&error);
} else {
lu_ent_add_current(ent, attr,