core updated.
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
shelltools.export("AUTOPOINT", "true")
|
||||
|
||||
autotools.configure("--with-python \
|
||||
--without-ldap \
|
||||
--without-sasl \
|
||||
--with-popt \
|
||||
--disable-rpath \
|
||||
--enable-gtk-doc-html=no \
|
||||
--disable-gtk-doc")
|
||||
|
||||
pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
autotools.make("-C po update-gmo")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR='%s'" % get.installDIR())
|
||||
|
||||
pisitools.removeDir("/usr/share/gtk-doc")
|
||||
|
||||
pisitools.dodoc("ABOUT*", "AUTHORS", "COPYING", "NEWS", "README")
|
||||
@@ -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,
|
||||
@@ -0,0 +1,122 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libuser</Name>
|
||||
<Homepage>https://fedorahosted.org/libuser</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>A user and group account administration library</Summary>
|
||||
<Description>libuser implements a standardized interface for manipulating and administering user and group accounts. The library uses pluggable back-ends to interface to its data sources.</Description>
|
||||
<Archive sha1sum="78e81c5ac033921e1abb9f93bc6bfa96d6a11ef6" type="tarxz">https://fedorahosted.org/releases/l/i/libuser/libuser-0.61.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>pam-devel</Dependency>
|
||||
<Dependency>popt-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>python-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch>libuser-0.56.15-fix_blowfish.patch</Patch>
|
||||
<Patch>libuser-0.56.9-fix-str-fmt.patch</Patch>
|
||||
<!--<Patch level="1">disable-sgml2x-conversion.diff</Patch>
|
||||
<Patch level="0">add-python-linkage.diff</Patch>-->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libuser</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>pam</Dependency>
|
||||
<Dependency>popt</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>python</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<!-- WARNING: To be removed in Bootstrap -->
|
||||
<!--Package>
|
||||
<Name>libuser-ldap</Name>
|
||||
<PartOf>server.misc</PartOf>
|
||||
<Summary>LDAP library of libuser</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>openldap-client</Dependency>
|
||||
<Dependency>libuser</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/libuser/*ldap*</Path>
|
||||
</Files>
|
||||
</Package-->
|
||||
|
||||
|
||||
<Package>
|
||||
<Name>libuser-devel</Name>
|
||||
<PartOf>system.devel</PartOf>
|
||||
<Summary>Development files for libuser</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libuser</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Date>2015-04-07</Date>
|
||||
<Version>0.61</Version>
|
||||
<Comment>Version bump, build without-sasl</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-05-11</Date>
|
||||
<Version>0.60</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-10-28</Date>
|
||||
<Version>0.60</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-07-28</Date>
|
||||
<Version>0.59</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-01-14</Date>
|
||||
<Version>0.58.0</Version>
|
||||
<Comment>New release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-08-23</Date>
|
||||
<Version>0.57.6</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libuser</Name>
|
||||
<Summary xml:lang="tr">Kullanıcı ve grup hesap yönetim kitaplığı</Summary>
|
||||
<Description xml:lang="tr">libuser kullanıcı ve grup hesaplarını yönetmek ve işlemek için standart bir arayüz sunar. Kitaplık, sağladığı arayüzün verilere erişimi için genişletilebilir arkauçlar kullanmaktadır.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libuser-devel</Name>
|
||||
<Summary xml:lang="tr">libuser için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libuser-ldap</Name>
|
||||
<Summary xml:lang="tr">libuser için LDAP kitaplığı</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user