All of lore.kernel.org
 help / color / mirror / Atom feed
* (No subject)
@ 2013-07-31 15:07 Joe MacDonald
  2013-07-31 15:07 ` [meta-networking][PATCH 1/2] cyrus-sasl: relocate files to package name dir Joe MacDonald
  2013-07-31 15:07 ` [meta-networking][PATCH 2/2] cyrus-sasl: Add patches from Debian to fix linking Joe MacDonald
  0 siblings, 2 replies; 3+ messages in thread
From: Joe MacDonald @ 2013-07-31 15:07 UTC (permalink / raw)
  To: openembedded-devel; +Cc: marcin.juszkiewicz, walters

Forwarding a patch I received last week from Colin Walters.  Initially I
thought it was duplicating the patch for cyrus-sasl from Roy Li, but it
actaully seems to be solving a related problem that isn't quite the same.
If anything, it looks like perhaps the earlier change may make the thing
Colin was fixing more common.

-- 
-Joe MacDonald.
:wq



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [meta-networking][PATCH 1/2] cyrus-sasl: relocate files to package name dir
  2013-07-31 15:07 (No subject) Joe MacDonald
@ 2013-07-31 15:07 ` Joe MacDonald
  2013-07-31 15:07 ` [meta-networking][PATCH 2/2] cyrus-sasl: Add patches from Debian to fix linking Joe MacDonald
  1 sibling, 0 replies; 3+ messages in thread
From: Joe MacDonald @ 2013-07-31 15:07 UTC (permalink / raw)
  To: openembedded-devel; +Cc: marcin.juszkiewicz, walters

A minor bit of reorganization of the cyrus-sasl recipe directory in
preparation for a build fix.

Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
---
 .../cyrus-sasl/{files => cyrus-sasl}/Fix-hardcoded-libdir.patch        |    0
 .../cyrus-sasl/{files => cyrus-sasl}/avoid-to-call-AC_TRY_RUN.patch    |    0
 2 files changed, 0 insertions(+), 0 deletions(-)
 rename meta-networking/recipes-daemons/cyrus-sasl/{files => cyrus-sasl}/Fix-hardcoded-libdir.patch (100%)
 rename meta-networking/recipes-daemons/cyrus-sasl/{files => cyrus-sasl}/avoid-to-call-AC_TRY_RUN.patch (100%)

diff --git a/meta-networking/recipes-daemons/cyrus-sasl/files/Fix-hardcoded-libdir.patch b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/Fix-hardcoded-libdir.patch
similarity index 100%
rename from meta-networking/recipes-daemons/cyrus-sasl/files/Fix-hardcoded-libdir.patch
rename to meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/Fix-hardcoded-libdir.patch
diff --git a/meta-networking/recipes-daemons/cyrus-sasl/files/avoid-to-call-AC_TRY_RUN.patch b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/avoid-to-call-AC_TRY_RUN.patch
similarity index 100%
rename from meta-networking/recipes-daemons/cyrus-sasl/files/avoid-to-call-AC_TRY_RUN.patch
rename to meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/avoid-to-call-AC_TRY_RUN.patch
-- 
1.7.10.4



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [meta-networking][PATCH 2/2] cyrus-sasl: Add patches from Debian to fix linking
  2013-07-31 15:07 (No subject) Joe MacDonald
  2013-07-31 15:07 ` [meta-networking][PATCH 1/2] cyrus-sasl: relocate files to package name dir Joe MacDonald
@ 2013-07-31 15:07 ` Joe MacDonald
  1 sibling, 0 replies; 3+ messages in thread
From: Joe MacDonald @ 2013-07-31 15:07 UTC (permalink / raw)
  To: openembedded-devel; +Cc: marcin.juszkiewicz, walters

From: Colin Walters <walters@verbum.org>

This fixes the build on at least Fedora 19 x86_64 as a host; we were
trying to link a non-PIC static object into a shared library.

Signed-off-by: Colin Walters <walters@verbum.org>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
---
 .../cyrus-sasl/debian_patches_0009_sasldb_al.diff  |   14 ++++++++++
 .../debian_patches_0014_avoid_pic_overwrite.diff   |   27 ++++++++++++++++++++
 .../cyrus-sasl/cyrus-sasl_2.1.26.bb                |    5 +++-
 3 files changed, 45 insertions(+), 1 deletion(-)
 create mode 100644 meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/debian_patches_0009_sasldb_al.diff
 create mode 100644 meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/debian_patches_0014_avoid_pic_overwrite.diff

diff --git a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/debian_patches_0009_sasldb_al.diff b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/debian_patches_0009_sasldb_al.diff
new file mode 100644
index 0000000..8eff5a8
--- /dev/null
+++ b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/debian_patches_0009_sasldb_al.diff
@@ -0,0 +1,14 @@
+Author: Fabian Fagerholm <fabbe@debian.org>
+Description: Fix linking with libsasldb.a when saslauthd is built with sasldb
+support.
+--- a/saslauthd/configure.in
++++ b/saslauthd/configure.in
+@@ -77,7 +77,7 @@ if test "$authsasldb" != no; then
+   AC_DEFINE(AUTH_SASLDB,[],[Include SASLdb Support])
+   SASL_DB_PATH_CHECK()
+   SASL_DB_CHECK()
+-  SASL_DB_LIB="$SASL_DB_LIB ../sasldb/.libs/libsasldb.al"
++  SASL_DB_LIB="$SASL_DB_LIB ../sasldb/.libs/libsasldb.a"
+ fi
+ 
+ AC_ARG_ENABLE(httpform, [  --enable-httpform       enable HTTP form authentication [[no]] ],
diff --git a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/debian_patches_0014_avoid_pic_overwrite.diff b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/debian_patches_0014_avoid_pic_overwrite.diff
new file mode 100644
index 0000000..2e5b175
--- /dev/null
+++ b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/debian_patches_0014_avoid_pic_overwrite.diff
@@ -0,0 +1,27 @@
+Author: Fabian Fagerholm <fabbe@debian.org>
+Description: This patch makes sure the non-PIC version of libsasldb.a, which
+is created out of non-PIC objects, is not going to overwrite the PIC version,
+which is created out of PIC objects. The PIC version is placed in .libs, and
+the non-PIC version in the current directory.  This ensures that both non-PIC
+and PIC versions are available in the correct locations.
+--- a/lib/Makefile.am
++++ b/lib/Makefile.am
+@@ -78,7 +78,7 @@ endif
+ 
+ libsasl2.a: libsasl2.la $(SASL_STATIC_OBJS)
+ 	@echo adding static plugins and dependencies
+-	$(AR) cru .libs/$@ $(SASL_STATIC_OBJS)
++	$(AR) cru $@ $(SASL_STATIC_OBJS)
+ 	@for i in ./libsasl2.la ../sasldb/libsasldb.la ../plugins/lib*.la; do \
+ 	if test ! -f $$i; then continue; fi; . $$i; \
+ 	for j in $$dependency_libs foo; do \
+--- a/sasldb/Makefile.am
++++ b/sasldb/Makefile.am
+@@ -63,6 +63,6 @@ libsasldb_a_SOURCES =
+ EXTRA_libsasldb_a_SOURCES =
+ 
+ libsasldb.a: libsasldb.la $(SASL_DB_BACKEND_STATIC)
+-	$(AR) cru .libs/$@ $(SASL_DB_BACKEND_STATIC)
++	$(AR) cru $@ $(SASL_DB_BACKEND_STATIC)
+ 
+ 
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
index 7dcef26..f05ab85 100644
--- 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
@@ -6,7 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3f55e0974e3d6db00ca6f57f2d206396"
 
 SRC_URI = "ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-${PV}.tar.gz \
 	   file://avoid-to-call-AC_TRY_RUN.patch \
-	   file://Fix-hardcoded-libdir.patch" 
+	   file://Fix-hardcoded-libdir.patch \
+	   file://debian_patches_0009_sasldb_al.diff \
+	   file://debian_patches_0014_avoid_pic_overwrite.diff \
+	   "
 
 inherit autotools pkgconfig useradd
 
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-31 15:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-31 15:07 (No subject) Joe MacDonald
2013-07-31 15:07 ` [meta-networking][PATCH 1/2] cyrus-sasl: relocate files to package name dir Joe MacDonald
2013-07-31 15:07 ` [meta-networking][PATCH 2/2] cyrus-sasl: Add patches from Debian to fix linking Joe MacDonald

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.