cyrus-sasl: several fixes
authorRoy.Li <rongqing.li@windriver.com>
Fri, 19 Jul 2013 06:29:31 +0000 (14:29 +0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:31:38 +0000 (08:31 -0800)
commit9beb7e35de38f61d31e5e1b5f9696e4d001efaa9
treeabfd8cd2fcca73fe61e46fcf5714e1feeb0e89e0
parent6a5c5ce965483a961d9eb1d4016450f690762f79
cyrus-sasl: several fixes

1. Fix hardcoded libdir
2. configure cyrus-sasl based on PACKAGECONFIG
3. create user by inherit useradd
4. add -fPIC to CFLAG to fix the below building failure:
        ld: ../sasldb/.libs/libsasldb.a(db_berkeley.o): relocation R_X86_64_32S against
        `.rodata' can not be used when making a shared object; recompile with -fPIC
        ../sasldb/.libs/libsasldb.a(db_berkeley.o): could not read symbols: Bad value
   The cause is that libsasldb.a is built twice since {.c.o: and .c.lo} co-exist, one
   with -fPIC, other without -fPIC. if no -fPIC library follows behind, this error
   will appear. so we enable -fPIC no matter whatever objects are built.
5. The version of db in oe-core is 5.0

(From meta-openembedded rev: fe85f4980e7c7c35df8fc6b93431c125577dd643)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
meta-openembedded/meta-networking/recipes-daemons/cyrus-sasl/files/Fix-hardcoded-libdir.patch [new file with mode: 0644]