summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libuser
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/libuser')
-rw-r--r--meta/recipes-extended/libuser/libuser/fixsepbuild.patch35
-rw-r--r--meta/recipes-extended/libuser/libuser_0.60.bb30
2 files changed, 65 insertions, 0 deletions
diff --git a/meta/recipes-extended/libuser/libuser/fixsepbuild.patch b/meta/recipes-extended/libuser/libuser/fixsepbuild.patch
new file mode 100644
index 0000000000..893ca1490b
--- /dev/null
+++ b/meta/recipes-extended/libuser/libuser/fixsepbuild.patch
@@ -0,0 +1,35 @@
1Fix out of tree build errors and parallel make issues. The mkdir commands
2can race each other. The srcdir variable is a complete path so a ../ prefix makes
3no sense.
4
5Upstream-Status: Pending
6
7RP 2013/03/21
8
9Index: libuser-0.58/docs/Makefile.am
10===================================================================
11--- libuser-0.58.orig/docs/Makefile.am 2012-11-07 18:25:58.000000000 -0800
12+++ libuser-0.58/docs/Makefile.am 2013-03-22 23:32:06.843518069 -0700
13@@ -8,14 +8,14 @@
14
15 all: sgml/libuser.txt sgml/libuser.html
16
17-libuser.conf.5: $(srcdir)/libuser.conf.5.in Makefile
18+libuser.conf.5: $(abs_srcdir)/libuser.conf.5.in Makefile
19 sed 's,@sysconfdir\@,$(sysconfdir),g' \
20- < $(srcdir)/libuser.conf.5.in > $@
21+ < $(abs_srcdir)/libuser.conf.5.in > $@
22
23-sgml/libuser.txt: $(srcdir)/sgml/libuser.sgml
24- [ -d sgml ] || mkdir sgml
25- cd sgml; sgml2txt ../$(srcdir)/sgml/libuser.sgml
26+sgml/libuser.txt: $(abs_srcdir)/sgml/libuser.sgml
27+ [ -d sgml ] || mkdir sgml || true
28+ cd sgml; sgml2txt $(abs_srcdir)/sgml/libuser.sgml
29
30-sgml/libuser.html: $(srcdir)/sgml/libuser.sgml
31- [ -d sgml ] || mkdir sgml
32- cd sgml; sgml2html ../$(srcdir)/sgml/libuser.sgml
33+sgml/libuser.html: $(abs_srcdir)/sgml/libuser.sgml
34+ [ -d sgml ] || mkdir sgml || true
35+ cd sgml; sgml2html $(abs_srcdir)/sgml/libuser.sgml
diff --git a/meta/recipes-extended/libuser/libuser_0.60.bb b/meta/recipes-extended/libuser/libuser_0.60.bb
new file mode 100644
index 0000000000..e6316ef488
--- /dev/null
+++ b/meta/recipes-extended/libuser/libuser_0.60.bb
@@ -0,0 +1,30 @@
1SUMMARY = "user and group account administration library"
2DESCRIPTION = "The libuser library implements a standardized interface for manipulating and administering user \
3and group accounts"
4HOMEPAGE = "https://fedorahosted.org/libuser/"
5BUGTRACKER = "https://fedorahosted.org/libuser/newticket"
6
7LICENSE = "LGPLv2"
8LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
9 file://lib/user.h;endline=19;md5=76b301f63c39fa992062395efbdc9558 \
10 file://samples/testuser.c;endline=19;md5=3b87fa660fa3f4a6bb31d624afe30ba1"
11
12SECTION = "base"
13
14SRC_URI = "https://fedorahosted.org/releases/l/i/libuser/libuser-${PV}.tar.xz \
15 file://fixsepbuild.patch"
16
17SRC_URI[md5sum] = "5c549724999ccca65ceaaecc4eb8cb98"
18SRC_URI[sha256sum] = "b1f73408ebfee79eb01a47c5879a2cdef6a00b75ee24870de7df1b816ff483eb"
19
20DEPENDS = "popt libpam glib-2.0 xz-native docbook-utils-native linuxdoc-tools-native python"
21
22inherit autotools gettext pythonnative python-dir pkgconfig
23
24EXTRA_OEMAKE = "PYTHON_CPPFLAGS=-I${STAGING_INCDIR}/${PYTHON_DIR}"
25
26PACKAGES += "${PN}-python "
27
28FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/.debug"
29FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
30