diff options
| author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2013-02-08 17:06:19 +0000 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-02-16 05:55:00 +0100 |
| commit | 770b14191143fd89fa18daa4048af1f618debdee (patch) | |
| tree | 64a247f6273b0cef55f517967ad0b338dbaca6ac | |
| parent | 563502f41d1a814d25f4ddbfbc5c79c44378a49e (diff) | |
| download | meta-openembedded-770b14191143fd89fa18daa4048af1f618debdee.tar.gz | |
cyrus-sasl2: add 2.1.26
I took recipe from OE classic, updated, cleaned and got it build. I use
it only as build dependency - did not checked binaries from ${PN}-bin.
There are RPATH problems to solve:
WARNING: QA Issue: package cyrus-sasl-bin contains bad RPATH
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib
in file
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl-bin/usr/sbin/saslpasswd2
WARNING: QA Issue: package cyrus-sasl-bin contains bad RPATH
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib
in file
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl-bin/usr/sbin/pluginviewer
WARNING: QA Issue: package cyrus-sasl-bin contains bad RPATH
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib
in file
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl-bin/usr/sbin/sasldblistusers2
WARNING: QA Issue: package cyrus-sasl contains bad RPATH
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib
in file
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl/usr/lib/sasl2/libsasldb.so.3.0.0
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| -rw-r--r-- | meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb new file mode 100644 index 0000000000..44336f0590 --- /dev/null +++ b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | DESCRIPTION = "Generic client/server library for SASL authentication." | ||
| 2 | SECTION = "console/network" | ||
| 3 | DEPENDS = "openssl virtual/db" | ||
| 4 | LICENSE = "BSD" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=3f55e0974e3d6db00ca6f57f2d206396" | ||
| 6 | |||
| 7 | SRC_URI = "ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-${PV}.tar.gz " | ||
| 8 | |||
| 9 | inherit autotools pkgconfig | ||
| 10 | |||
| 11 | EXTRA_OECONF += "--with-dblib=berkeley \ | ||
| 12 | --with-bdb-libdir=${STAGING_LIBDIR} \ | ||
| 13 | --with-bdb-incdir=${STAGING_INCDIR} \ | ||
| 14 | --without-pam --without-opie --without-des" | ||
| 15 | |||
| 16 | do_configure_prepend () { | ||
| 17 | rm -f acinclude.m4 config/libtool.m4 | ||
| 18 | } | ||
| 19 | |||
| 20 | do_compile_prepend () { | ||
| 21 | cd include | ||
| 22 | ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} makemd5.c -o makemd5 | ||
| 23 | touch makemd5.o makemd5.lo makemd5 | ||
| 24 | cd .. | ||
| 25 | } | ||
| 26 | |||
| 27 | pkg_postinst_${PN}-bin () { | ||
| 28 | grep cyrus /etc/passwd || adduser --disabled-password --home=/var/spool/mail --ingroup mail -g "Cyrus sasl" cyrus | ||
| 29 | echo "cyrus" | saslpasswd2 -p -c cyrus | ||
| 30 | chgrp mail /etc/sasldb2 | ||
| 31 | } | ||
| 32 | |||
| 33 | SRC_URI[md5sum] = "a7f4e5e559a0e37b3ffc438c9456e425" | ||
| 34 | SRC_URI[sha256sum] = "8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f1345b7bc3" | ||
| 35 | |||
| 36 | PACKAGES =+ "${PN}-bin" | ||
| 37 | |||
| 38 | FILES_${PN} += "${libdir}/sasl2/*.so.*" | ||
| 39 | FILES_${PN}-bin += "${bindir}" | ||
| 40 | FILES_${PN}-dev += "${libdir}/sasl2/*.so ${libdir}/sasl2/*.la" | ||
| 41 | FILES_${PN}-dbg += "${libdir}/sasl2/.debug" | ||
| 42 | FILES_${PN}-staticdev += "${libdir}/sasl2/*.a" | ||
