diff options
-rw-r--r-- | meta/packages/gnome/gnome-vfs-2.16.3/gnome-vfs-no-kerberos.patch | 51 | ||||
-rw-r--r-- | meta/packages/gnome/gnome-vfs_2.16.3.bb | 15 | ||||
-rw-r--r-- | meta/site/arm-linux | 3 | ||||
-rw-r--r-- | meta/site/ix86-common | 3 |
4 files changed, 59 insertions, 13 deletions
diff --git a/meta/packages/gnome/gnome-vfs-2.16.3/gnome-vfs-no-kerberos.patch b/meta/packages/gnome/gnome-vfs-2.16.3/gnome-vfs-no-kerberos.patch new file mode 100644 index 0000000000..e25ecdd66f --- /dev/null +++ b/meta/packages/gnome/gnome-vfs-2.16.3/gnome-vfs-no-kerberos.patch | |||
@@ -0,0 +1,51 @@ | |||
1 | removes kerberos completely to avoid conflicts with installed kerberos | ||
2 | --- configure.in.orig 2007-01-05 19:42:26.418541610 +0200 | ||
3 | +++ configure.in 2007-01-05 19:42:56.604261797 +0200 | ||
4 | @@ -436,47 +436,6 @@ | ||
5 | ]) | ||
6 | AM_CONDITIONAL(HAVE_CDDA, test $have_cdda = yes) | ||
7 | AC_SUBST(CDDA_LIBS) | ||
8 | - | ||
9 | -dnl GSSAPI | ||
10 | -dnl Check for Kerberos installation | ||
11 | -have_gssapi=no | ||
12 | -AC_PATH_PROG([KRB5_CONFIG], krb5-config, none, $PATH:/usr/kerberos/bin) | ||
13 | - | ||
14 | -if test "x$KRB5_CONFIG" != "xnone"; then | ||
15 | - GSSAPI_LIBS="`${KRB5_CONFIG} --libs gssapi`" | ||
16 | - GSSAPI_CFLAGS="`${KRB5_CONFIG} --cflags gssapi`" | ||
17 | - | ||
18 | - saved_CPPFLAGS="$CPPFLAGS" | ||
19 | - saved_LIBS="$LIBS" | ||
20 | - LIBS="$LIBS $GSSAPI_LIBS" | ||
21 | - CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS" | ||
22 | - # MIT and Heimdal put gssapi.h in different places | ||
23 | - AC_CHECK_HEADERS(gssapi/gssapi.h gssapi.h, [ | ||
24 | - AC_CHECK_FUNCS(gss_init_sec_context, [ | ||
25 | - AC_MSG_NOTICE([GSSAPI authentication support enabled]) | ||
26 | - AC_DEFINE(HAVE_GSSAPI, 1, [Define if GSSAPI support is enabled]) | ||
27 | - AC_CHECK_HEADERS(gssapi/gssapi_generic.h) | ||
28 | - have_gssapi=yes | ||
29 | - | ||
30 | - # MIT Kerberos lacks GSS_C_NT_HOSTBASED_SERVICE | ||
31 | - AC_CHECK_DECL([GSS_C_NT_HOSTBASED_SERVICE],, | ||
32 | - [AC_DEFINE([GSS_C_NT_HOSTBASED_SERVICE], gss_nt_service_name, | ||
33 | - [Define if GSS_C_NT_HOSTBASED_SERVICE is not defined otherwise]) | ||
34 | - ], [ | ||
35 | - #ifdef HAVE_GSSAPI_GSSAPI_H | ||
36 | - #include <gssapi/gssapi.h> | ||
37 | - #else | ||
38 | - #include <gssapi.h> | ||
39 | - #endif | ||
40 | - ]) | ||
41 | - ]) | ||
42 | - break | ||
43 | - ]) | ||
44 | - LIBS="$saved_LIBS" | ||
45 | - CPPFLAGS="$saved_CPPFLAGS" | ||
46 | -fi | ||
47 | -AC_SUBST(GSSAPI_LIBS) | ||
48 | -AC_SUBST(GSSAPI_CFLAGS) | ||
49 | |||
50 | dnl ****************************** | ||
51 | dnl http-method (neon checks) | ||
diff --git a/meta/packages/gnome/gnome-vfs_2.16.3.bb b/meta/packages/gnome/gnome-vfs_2.16.3.bb index 77cb3a2fdf..808ae27f42 100644 --- a/meta/packages/gnome/gnome-vfs_2.16.3.bb +++ b/meta/packages/gnome/gnome-vfs_2.16.3.bb | |||
@@ -1,18 +1,19 @@ | |||
1 | LICENSE = "GPL" | 1 | LICENSE = "GPL" |
2 | PR = "r3" | ||
3 | |||
4 | inherit gnome | ||
5 | |||
6 | DEPENDS = "libxml2 gconf dbus bzip2 gnome-mime-data zlib" | 2 | DEPENDS = "libxml2 gconf dbus bzip2 gnome-mime-data zlib" |
7 | RRECOMMENDS = "gnome-vfs-plugin-file gnome-mime-data shared-mime-info" | 3 | RRECOMMENDS = "gnome-vfs-plugin-file gnome-mime-data shared-mime-info" |
8 | 4 | ||
5 | PR = "r4" | ||
6 | |||
7 | inherit gnome | ||
8 | |||
9 | # This is to provide compatibility with the gnome-vfs DBus fork | 9 | # This is to provide compatibility with the gnome-vfs DBus fork |
10 | RPROVIDES = "gnome-vfs-plugin-dbus" | 10 | PROVIDES = "gnome-vfs-plugin-dbus" |
11 | RREPLACES = "gnome-vfs-dbus" | ||
11 | 12 | ||
12 | SRC_URI += "file://gconftool-lossage.patch;patch=1;pnum=1" | 13 | SRC_URI += "file://gconftool-lossage.patch;patch=1;pnum=1 \ |
14 | file://gnome-vfs-no-kerberos.patch;patch=1;pnum=0" | ||
13 | 15 | ||
14 | EXTRA_OECONF = "--disable-openssl --disable-samba" | 16 | EXTRA_OECONF = "--disable-openssl --disable-samba" |
15 | #export KRB5_CONFIG="none" | ||
16 | 17 | ||
17 | FILES_${PN} += " ${libdir}/vfs" | 18 | FILES_${PN} += " ${libdir}/vfs" |
18 | FILES_${PN}-dev += " ${libdir}/gnome-vfs-2.0/include" | 19 | FILES_${PN}-dev += " ${libdir}/gnome-vfs-2.0/include" |
diff --git a/meta/site/arm-linux b/meta/site/arm-linux index 7946455b35..9987ff8dc1 100644 --- a/meta/site/arm-linux +++ b/meta/site/arm-linux | |||
@@ -313,6 +313,3 @@ ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes} | |||
313 | 313 | ||
314 | #dbus | 314 | #dbus |
315 | ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=no} | 315 | ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=no} |
316 | |||
317 | # Nasty hack for gnome-vfs | ||
318 | ac_cv_path_KRB5_CONFIG=${ac_cv_path_KRB5_CONFIG=none} | ||
diff --git a/meta/site/ix86-common b/meta/site/ix86-common index b84a7aaa0f..6e6a2c96dd 100644 --- a/meta/site/ix86-common +++ b/meta/site/ix86-common | |||
@@ -252,6 +252,3 @@ jm_cv_func_working_readdir=yes | |||
252 | # xorg X11R7 | 252 | # xorg X11R7 |
253 | ac_cv_sys_linker_h=${ac_cv_sys_linker_h=no} | 253 | ac_cv_sys_linker_h=${ac_cv_sys_linker_h=no} |
254 | ac_cv_file__usr_share_X11_sgml_defs_ent=${ac_cv_file__usr_share_X11_sgml_defs_ent=no} | 254 | ac_cv_file__usr_share_X11_sgml_defs_ent=${ac_cv_file__usr_share_X11_sgml_defs_ent=no} |
255 | |||
256 | # Nasty hack for gnome-vfs | ||
257 | ac_cv_path_KRB5_CONFIG=${ac_cv_path_KRB5_CONFIG=none} | ||