summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-10-09 20:59:03 (GMT)
committerTudor Florea <tudor.florea@enea.com>2015-10-09 20:59:03 (GMT)
commit972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch)
tree97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-support
downloadpoky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/apr/apr-util/configfix.patch51
-rw-r--r--meta/recipes-support/apr/apr-util/configure_fixes.patch31
-rw-r--r--meta/recipes-support/apr/apr-util/run-ptest6
-rw-r--r--meta/recipes-support/apr/apr-util_1.5.3.bb67
-rw-r--r--meta/recipes-support/apr/apr/cleanup.patch43
-rw-r--r--meta/recipes-support/apr/apr/configfix.patch53
-rw-r--r--meta/recipes-support/apr/apr/configure_fixes.patch68
-rw-r--r--meta/recipes-support/apr/apr/run-ptest6
-rw-r--r--meta/recipes-support/apr/apr/upgrade-and-fix-1.5.1.patch48
-rw-r--r--meta/recipes-support/apr/apr_1.5.1.bb95
-rw-r--r--meta/recipes-support/aspell/aspell_0.60.6.1.bb28
-rw-r--r--meta/recipes-support/atk/at-spi2-atk_2.12.1.bb19
-rw-r--r--meta/recipes-support/atk/at-spi2-core_2.12.0.bb20
-rw-r--r--meta/recipes-support/atk/atk_2.12.0.bb23
-rw-r--r--meta/recipes-support/atk/files/core_acinclude_m4.patch40
-rw-r--r--meta/recipes-support/attr/acl.inc39
-rw-r--r--meta/recipes-support/attr/acl/acl-fix-the-order-of-expected-output-of-getfacl.patch198
-rw-r--r--meta/recipes-support/attr/acl/add-missing-configure.ac.patch59
-rw-r--r--meta/recipes-support/attr/acl/run-ptest7
-rw-r--r--meta/recipes-support/attr/acl_2.2.52.bb9
-rw-r--r--meta/recipes-support/attr/attr.inc39
-rw-r--r--meta/recipes-support/attr/attr_2.4.47.bb10
-rw-r--r--meta/recipes-support/attr/ea-acl.inc58
-rw-r--r--meta/recipes-support/attr/files/attr-Missing-configure.ac.patch63
-rw-r--r--meta/recipes-support/attr/files/relative-libdir.patch25
-rw-r--r--meta/recipes-support/attr/files/run-ptest5
-rw-r--r--meta/recipes-support/bdwgc/bdwgc_7.4.2.bb41
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/add-option-dev-dsp.patch34
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/beecrypt-enable-ptest-support.patch37
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch43
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/fix-for-gcc-4.7.patch39
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/fix-security.patch47
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/run-ptest5
-rw-r--r--meta/recipes-support/beecrypt/beecrypt_4.2.1.bb48
-rw-r--r--meta/recipes-support/boost/bjam-native_1.56.0.bb15
-rw-r--r--meta/recipes-support/boost/boost-1.56.0.inc19
-rw-r--r--meta/recipes-support/boost/boost.inc182
-rw-r--r--meta/recipes-support/boost/boost/0001-Added-support-for-extending-operations-to-GCC-atomic.patch412
-rw-r--r--meta/recipes-support/boost/boost/arm-intrinsics.patch55
-rw-r--r--meta/recipes-support/boost/boost_1.56.0.bb7
-rw-r--r--meta/recipes-support/ca-certificates/ca-certificates/0001-Update-mozilla-certdata.txt-to-version-1.98.patch227
-rw-r--r--meta/recipes-support/ca-certificates/ca-certificates/0001-update-ca-certificates-remove-c-rehash.patch46
-rw-r--r--meta/recipes-support/ca-certificates/ca-certificates/0002-update-ca-certificates-use-SYSROOT.patch55
-rw-r--r--meta/recipes-support/ca-certificates/ca-certificates/default-sysroot.patch55
-rw-r--r--meta/recipes-support/ca-certificates/ca-certificates/sbindir.patch20
-rw-r--r--meta/recipes-support/ca-certificates/ca-certificates_20140325.bb77
-rw-r--r--meta/recipes-support/consolekit/consolekit/add-polkit-configure-argument.patch33
-rw-r--r--meta/recipes-support/consolekit/consolekit/sepbuildfix.patch19
-rw-r--r--meta/recipes-support/consolekit/consolekit_0.4.6.bb49
-rw-r--r--meta/recipes-support/createrepo/createrepo/createrepo-rpm549.patch22
-rw-r--r--meta/recipes-support/createrepo/createrepo/fix-native-install.patch163
-rw-r--r--meta/recipes-support/createrepo/createrepo/python-scripts-should-use-interpreter-from-env.patch47
-rw-r--r--meta/recipes-support/createrepo/createrepo/recommends.patch71
-rwxr-xr-xmeta/recipes-support/createrepo/createrepo/rpm-createsolvedb.py64
-rw-r--r--meta/recipes-support/createrepo/createrepo_0.4.11.bb46
-rw-r--r--meta/recipes-support/curl/curl/CVE-2014-3613.patch269
-rw-r--r--meta/recipes-support/curl/curl/CVE-2014-3620.patch69
-rw-r--r--meta/recipes-support/curl/curl/CVE-2014-3707.patch416
-rw-r--r--meta/recipes-support/curl/curl/CVE-2014-8150.patch29
-rw-r--r--meta/recipes-support/curl/curl/CVE-2015-3143.patch38
-rw-r--r--meta/recipes-support/curl/curl/CVE-2015-3144.patch45
-rw-r--r--meta/recipes-support/curl/curl/CVE-2015-3145.patch70
-rw-r--r--meta/recipes-support/curl/curl/CVE-2015-3153.patch90
-rw-r--r--meta/recipes-support/curl/curl/configure_ac.patch13
-rw-r--r--meta/recipes-support/curl/curl/pkgconfig_fix.patch32
-rw-r--r--meta/recipes-support/curl/curl_7.37.1.bb66
-rw-r--r--meta/recipes-support/db/db/arm-thumb-mutex_db5.patch48
-rw-r--r--meta/recipes-support/db/db/fix-parallel-build.patch19
-rw-r--r--meta/recipes-support/db/db_5.3.28.bb116
-rw-r--r--meta/recipes-support/db/db_6.0.30.bb115
-rw-r--r--meta/recipes-support/enchant/enchant_1.6.0.bb32
-rw-r--r--meta/recipes-support/gdbm/files/ptest.patch36
-rwxr-xr-xmeta/recipes-support/gdbm/files/run-ptest7
-rw-r--r--meta/recipes-support/gdbm/gdbm-1.8.3/ldflags.patch22
-rw-r--r--meta/recipes-support/gdbm/gdbm-1.8.3/libtool-mode.patch22
-rw-r--r--meta/recipes-support/gdbm/gdbm-1.8.3/makefile.patch60
-rw-r--r--meta/recipes-support/gdbm/gdbm_1.11.bb43
-rw-r--r--meta/recipes-support/gdbm/gdbm_1.8.3.bb19
-rw-r--r--meta/recipes-support/gmp/gmp.inc29
-rw-r--r--meta/recipes-support/gmp/gmp/amd64.patch18
-rw-r--r--meta/recipes-support/gmp/gmp/append_user_provided_flags.patch52
-rw-r--r--meta/recipes-support/gmp/gmp/configure.patch222
-rw-r--r--meta/recipes-support/gmp/gmp/gmp-6.0.0-ppc64.patch26
-rw-r--r--meta/recipes-support/gmp/gmp/use-includedir.patch15
-rw-r--r--meta/recipes-support/gmp/gmp_6.0.0.bb14
-rw-r--r--meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/0001-gsystem-subprocess.c-Enable-GNU-extensions-in-system.patch35
-rw-r--r--meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb19
-rw-r--r--meta/recipes-support/gnupg/gnupg-1.4.7/CVE-2013-4242.patch62
-rw-r--r--meta/recipes-support/gnupg/gnupg-1.4.7/CVE-2013-4351.patch44
-rw-r--r--meta/recipes-support/gnupg/gnupg-1.4.7/CVE-2013-4576.patch153
-rw-r--r--meta/recipes-support/gnupg/gnupg-1.4.7/GnuPG1-CVE-2012-6085.patch63
-rw-r--r--meta/recipes-support/gnupg/gnupg-1.4.7/configure.patch17
-rw-r--r--meta/recipes-support/gnupg/gnupg-1.4.7/curl_typeof_fix_backport.patch27
-rw-r--r--meta/recipes-support/gnupg/gnupg-1.4.7/long-long-thumb.patch19
-rw-r--r--meta/recipes-support/gnupg/gnupg-1.4.7/mips_gcc4.4.patch50
-rw-r--r--meta/recipes-support/gnupg/gnupg/pkgconfig.patch86
-rw-r--r--meta/recipes-support/gnupg/gnupg_1.4.7.bb102
-rw-r--r--meta/recipes-support/gnupg/gnupg_2.0.26.bb39
-rw-r--r--meta/recipes-support/gnutls/gnutls.inc49
-rw-r--r--meta/recipes-support/gnutls/gnutls/better-fix-for-double-free-CVE-2015-3308.patch65
-rw-r--r--meta/recipes-support/gnutls/gnutls/correct_rpl_gettimeofday_signature.patch67
-rw-r--r--meta/recipes-support/gnutls/gnutls/eliminated-double-free-CVE-2015-3308.patch33
-rw-r--r--meta/recipes-support/gnutls/gnutls_3.3.5.bb9
-rw-r--r--meta/recipes-support/gnutls/libtasn1/dont-depend-on-help2man.patch14
-rw-r--r--meta/recipes-support/gnutls/libtasn1/libtasn1-CVE-2015-3622.patch44
-rw-r--r--meta/recipes-support/gnutls/libtasn1/libtasn1_fix_for_automake_1.12.patch28
-rw-r--r--meta/recipes-support/gnutls/libtasn1_4.0.bb22
-rw-r--r--meta/recipes-support/gpgme/gpgme-1.4.3/disable_gpgconf_check.patch39
-rw-r--r--meta/recipes-support/gpgme/gpgme-1.4.3/gpgme-fix-CVE-2014-3564.patch56
-rw-r--r--meta/recipes-support/gpgme/gpgme-1.4.3/gpgme.pc10
-rw-r--r--meta/recipes-support/gpgme/gpgme_1.4.3.bb42
-rw-r--r--meta/recipes-support/icu/icu.inc59
-rw-r--r--meta/recipes-support/icu/icu/0001-Disable-LDFLAGSICUDT-for-Linux.patch28
-rw-r--r--meta/recipes-support/icu/icu/icu-CVE-2014-8146-CVE-2014-8147.patch49
-rw-r--r--meta/recipes-support/icu/icu/icu-pkgdata-large-cmd.patch29
-rw-r--r--meta/recipes-support/icu/icu_53.1.bb22
-rw-r--r--meta/recipes-support/libassuan/libassuan/libassuan-add-pkgconfig-support.patch158
-rw-r--r--meta/recipes-support/libassuan/libassuan_2.1.2.bb26
-rw-r--r--meta/recipes-support/libbsd/libbsd_0.7.0.bb21
-rw-r--r--meta/recipes-support/libcap/libcap.inc70
-rw-r--r--meta/recipes-support/libcap/libcap/fix-CAP_LAST_CAP.patch39
-rw-r--r--meta/recipes-support/libcap/libcap_2.22.bb6
-rw-r--r--meta/recipes-support/libcheck/libcheck_0.9.14.bb24
-rw-r--r--meta/recipes-support/libcroco/libcroco_0.6.8.bb23
-rw-r--r--meta/recipes-support/libdaemon/libdaemon_0.14.bb16
-rw-r--r--meta/recipes-support/libevdev/libevdev_1.2.2.bb13
-rw-r--r--meta/recipes-support/libevent/libevent-2.0.21/disable_tests.patch15
-rw-r--r--meta/recipes-support/libevent/libevent-2.0.21/obsolete_automake_macros.patch15
-rw-r--r--meta/recipes-support/libevent/libevent_2.0.21.bb26
-rw-r--r--meta/recipes-support/libexif/libexif_0.6.21.bb17
-rw-r--r--meta/recipes-support/libfm/libfm-1.1.2.2/fix-make-parallelism-issue.patch31
-rw-r--r--meta/recipes-support/libfm/libfm-1.1.2.2/ignore_automake_warnings.patch14
-rw-r--r--meta/recipes-support/libfm/libfm_1.1.2.2.bb25
-rw-r--r--meta/recipes-support/libgcrypt/files/add-pkgconfig-support.patch151
-rw-r--r--meta/recipes-support/libgcrypt/files/fix-ICE-failure-on-mips-with-option-O-and-g.patch71
-rw-r--r--meta/recipes-support/libgcrypt/files/libgcrypt-1.6.1-make-arm-asm-fPIC-friendly.patch169
-rw-r--r--meta/recipes-support/libgcrypt/files/libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch32
-rw-r--r--meta/recipes-support/libgcrypt/libgcrypt.inc40
-rw-r--r--meta/recipes-support/libgcrypt/libgcrypt_1.6.1.bb6
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error-1.12/pkgconfig.patch132
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error_1.12.bb31
-rw-r--r--meta/recipes-support/libical/libical_1.0.0.bb13
-rw-r--r--meta/recipes-support/libiconv/libiconv-1.11.1/autoconf.patch50
-rw-r--r--meta/recipes-support/libiconv/libiconv-1.11.1/shared_preloadable_libiconv_linux.patch26
-rw-r--r--meta/recipes-support/libiconv/libiconv-1.14/add-relocatable-module.patch5008
-rw-r--r--meta/recipes-support/libiconv/libiconv-1.14/autoconf.patch50
-rw-r--r--meta/recipes-support/libiconv/libiconv_1.11.1.bb34
-rw-r--r--meta/recipes-support/libiconv/libiconv_1.14.bb51
-rw-r--r--meta/recipes-support/libksba/libksba/ksba-add-pkgconfig-support.patch152
-rw-r--r--meta/recipes-support/libksba/libksba_1.3.0.bb26
-rw-r--r--meta/recipes-support/libmpc/libmpc.inc7
-rw-r--r--meta/recipes-support/libmpc/libmpc_1.0.2.bb13
-rw-r--r--meta/recipes-support/libnl/libnl/fix-pc-file.patch17
-rw-r--r--meta/recipes-support/libnl/libnl/fix-pktloc_syntax_h-race.patch36
-rw-r--r--meta/recipes-support/libnl/libnl_3.2.25.bb43
-rw-r--r--meta/recipes-support/liboil/liboil-0.3.17/0001-Fix-enable-vfp-flag.patch41
-rw-r--r--meta/recipes-support/liboil/liboil-0.3.17/fix-unaligned-whitelist.patch19
-rw-r--r--meta/recipes-support/liboil/liboil-0.3.17/liboil_fix_for_x32.patch222
-rw-r--r--meta/recipes-support/liboil/liboil-0.3.17/no-tests.patch24
-rw-r--r--meta/recipes-support/liboil/liboil_0.3.17.bb27
-rw-r--r--meta/recipes-support/libpcre/libpcre/Makefile183
-rw-r--r--meta/recipes-support/libpcre/libpcre/fix-pcre-name-collision.patch41
-rw-r--r--meta/recipes-support/libpcre/libpcre/pcre-cross.patch48
-rw-r--r--meta/recipes-support/libpcre/libpcre/run-ptest3
-rw-r--r--meta/recipes-support/libpcre/libpcre_8.35.bb75
-rw-r--r--meta/recipes-support/libproxy/libproxy_0.4.11.bb35
-rw-r--r--meta/recipes-support/libsoup/libsoup-2.4_2.46.0.bb29
-rw-r--r--meta/recipes-support/libunistring/libunistring/iconv-m4-remove-the-test-to-convert-euc-jp.patch42
-rw-r--r--meta/recipes-support/libunistring/libunistring/libunistring_fix_for_automake_1.12.patch81
-rw-r--r--meta/recipes-support/libunistring/libunistring/parallelmake.patch26
-rw-r--r--meta/recipes-support/libunistring/libunistring_0.9.3.bb32
-rw-r--r--meta/recipes-support/libunwind/libunwind-1.1/AArch64-port.patch2529
-rw-r--r--meta/recipes-support/libunwind/libunwind-1.1/Fix-test-case-link-failure-on-PowerPC-systems-with-Altivec.patch28
-rw-r--r--meta/recipes-support/libunwind/libunwind-1.1/Link-libunwind-to-libgcc_s-rather-than-libgcc.patch42
-rw-r--r--meta/recipes-support/libunwind/libunwind-1.1/Support-building-with-older-compilers.patch72
-rw-r--r--meta/recipes-support/libunwind/libunwind.inc31
-rw-r--r--meta/recipes-support/libunwind/libunwind_1.1.bb11
-rw-r--r--meta/recipes-support/liburcu/liburcu/Revert-Blacklist-ARM-gcc-4.8.0-4.8.1-4.8.2.patch47
-rw-r--r--meta/recipes-support/liburcu/liburcu/patch-to-support-aarch64-builds-using-gcc-at.patch11
-rw-r--r--meta/recipes-support/liburcu/liburcu_0.8.4.bb20
-rw-r--r--meta/recipes-support/libusb/libusb-compat_0.1.5.bb37
-rw-r--r--meta/recipes-support/libusb/libusb1_1.0.19.bb34
-rw-r--r--meta/recipes-support/libxslt/libxslt/pkgconfig.patch118
-rw-r--r--meta/recipes-support/libxslt/libxslt/pkgconfig_fix.patch24
-rw-r--r--meta/recipes-support/libxslt/libxslt_1.1.28.bb46
-rw-r--r--meta/recipes-support/lz4/lz4_svn.bb22
-rw-r--r--meta/recipes-support/lzo/lzo/0001-Use-memcpy-instead-of-reinventing-it.patch70
-rw-r--r--meta/recipes-support/lzo/lzo/acinclude.m4358
-rw-r--r--meta/recipes-support/lzo/lzo_2.08.bb24
-rw-r--r--meta/recipes-support/lzop/lzop/acinclude.m4390
-rw-r--r--meta/recipes-support/lzop/lzop_1.03.bb26
-rw-r--r--meta/recipes-support/mpfr/mpfr-3.1.2/long-long-thumb.patch39
-rw-r--r--meta/recipes-support/mpfr/mpfr.inc6
-rw-r--r--meta/recipes-support/mpfr/mpfr_3.1.2.bb17
-rw-r--r--meta/recipes-support/neon/neon-0.30.0/pkgconfig.patch18
-rw-r--r--meta/recipes-support/neon/neon_0.30.0.bb22
-rw-r--r--meta/recipes-support/nettle/nettle_2.7.1.bb26
-rw-r--r--meta/recipes-support/npth/npth_0.91.bb19
-rw-r--r--meta/recipes-support/nspr/nspr/fix-build-on-x86_64.patch52
-rw-r--r--meta/recipes-support/nspr/nspr/nspr-CVE-2014-1545.patch67
-rw-r--r--meta/recipes-support/nspr/nspr/nspr.pc.in11
-rw-r--r--meta/recipes-support/nspr/nspr/remove-rpath-from-tests.patch26
-rw-r--r--meta/recipes-support/nspr/nspr/remove-srcdir-from-configure-in.patch19
-rw-r--r--meta/recipes-support/nspr/nspr_4.10.7.bb172
-rw-r--r--meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb29
-rw-r--r--meta/recipes-support/nss/files/nss-3.15.1-fix-CVE-2013-1739.patch81
-rw-r--r--meta/recipes-support/nss/files/nss-3.15.1-fix-CVE-2013-1741.patch92
-rw-r--r--meta/recipes-support/nss/files/nss-3.15.1-fix-CVE-2013-5605.patch18
-rw-r--r--meta/recipes-support/nss/files/nss-CVE-2013-1740.patch916
-rw-r--r--meta/recipes-support/nss/files/nss-CVE-2013-5606.patch48
-rw-r--r--meta/recipes-support/nss/files/nss-CVE-2014-1492.patch68
-rw-r--r--meta/recipes-support/nss/files/nss-CVE-2014-1544.patch41
-rw-r--r--meta/recipes-support/nss/files/nss-CVE-2014-1568.patch670
-rw-r--r--meta/recipes-support/nss/files/nss-fix-incorrect-shebang-of-perl.patch110
-rw-r--r--meta/recipes-support/nss/files/nss-fix-support-cross-compiling.patch71
-rw-r--r--meta/recipes-support/nss/files/nss-no-rpath-for-cross-compiling.patch26
-rw-r--r--meta/recipes-support/nss/files/nss.pc.in11
-rw-r--r--meta/recipes-support/nss/files/signlibs.sh20
-rw-r--r--meta/recipes-support/nss/nss.inc215
-rw-r--r--meta/recipes-support/nss/nss_3.15.1.bb9
-rw-r--r--meta/recipes-support/ntp/files/ntp-4.2.4_p6-nano.patch17
-rw-r--r--meta/recipes-support/ntp/files/ntp.conf14
-rwxr-xr-xmeta/recipes-support/ntp/files/ntpd62
-rwxr-xr-xmeta/recipes-support/ntp/files/ntpdate54
-rw-r--r--meta/recipes-support/ntp/files/ntpdate.default7
-rw-r--r--meta/recipes-support/ntp/files/openssl-check.patch59
-rw-r--r--meta/recipes-support/ntp/files/tickadj.c.patch32
-rw-r--r--meta/recipes-support/ntp/ntp.inc93
-rw-r--r--meta/recipes-support/ntp/ntp_4.2.6p5.bb7
-rw-r--r--meta/recipes-support/pinentry/pinentry_0.8.4.bb31
-rw-r--r--meta/recipes-support/popt/popt/disable_tests.patch21
-rw-r--r--meta/recipes-support/popt/popt/pkgconfig_fix.patch15
-rw-r--r--meta/recipes-support/popt/popt/popt_fix_for_automake-1.12.patch21
-rw-r--r--meta/recipes-support/popt/popt_1.16.bb20
-rw-r--r--meta/recipes-support/ptest-runner/files/ptest-runner27
-rw-r--r--meta/recipes-support/ptest-runner/ptest-runner_1.0.bb22
-rw-r--r--meta/recipes-support/pth/files/pth-add-pkgconfig-support.patch105
-rw-r--r--meta/recipes-support/pth/pth_2.0.7.bb31
-rw-r--r--meta/recipes-support/serf/serf/env.patch28
-rw-r--r--meta/recipes-support/serf/serf/norpath.patch42
-rw-r--r--meta/recipes-support/serf/serf_1.3.7.bb25
-rw-r--r--meta/recipes-support/shared-mime-info/shared-mime-info.inc36
-rw-r--r--meta/recipes-support/shared-mime-info/shared-mime-info/install-data-hook.patch23
-rw-r--r--meta/recipes-support/shared-mime-info/shared-mime-info/parallelmake.patch33
-rw-r--r--meta/recipes-support/shared-mime-info/shared-mime-info_1.3.bb7
-rw-r--r--meta/recipes-support/sqlite/sqlite3.inc34
-rw-r--r--meta/recipes-support/sqlite/sqlite3_3.8.6.0.bb21
-rw-r--r--meta/recipes-support/taglib/taglib_1.9.1.bb32
-rw-r--r--meta/recipes-support/user-creation/xuser-account_0.1.bb27
-rw-r--r--meta/recipes-support/vte/vte-0.28.2/obsolete_automake_macros.patch14
-rw-r--r--meta/recipes-support/vte/vte.inc16
-rw-r--r--meta/recipes-support/vte/vte_0.28.2.bb10
252 files changed, 21991 insertions, 0 deletions
diff --git a/meta/recipes-support/apr/apr-util/configfix.patch b/meta/recipes-support/apr/apr-util/configfix.patch
new file mode 100644
index 0000000..dbb1148
--- /dev/null
+++ b/meta/recipes-support/apr/apr-util/configfix.patch
@@ -0,0 +1,51 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: apr-util-1.3.4/apu-config.in
4===================================================================
5--- apr-util-1.3.4.orig/apu-config.in 2009-01-12 17:08:06.000000000 +0000
6+++ apr-util-1.3.4/apu-config.in 2009-01-12 17:09:00.000000000 +0000
7@@ -134,14 +134,7 @@
8 exit 0
9 ;;
10 --includes)
11- if test "$location" = "installed"; then
12 flags="$flags -I$includedir $INCLUDES"
13- elif test "$location" = "source"; then
14- flags="$flags -I$APU_SOURCE_DIR/include $INCLUDES"
15- else
16- # this is for VPATH builds
17- flags="$flags -I$APU_BUILD_DIR/include -I$APU_SOURCE_DIR/include $INCLUDES"
18- fi
19 ;;
20 --ldflags)
21 flags="$flags $LDFLAGS"
22@@ -155,28 +148,10 @@
23 exit 0
24 ;;
25 --link-ld)
26- if test "$location" = "installed"; then
27- ### avoid using -L if libdir is a "standard" location like /usr/lib
28 flags="$flags -L$libdir -l$APRUTIL_LIBNAME"
29- else
30- flags="$flags -L$APU_BUILD_DIR -l$APRUTIL_LIBNAME"
31- fi
32 ;;
33 --link-libtool)
34- # If the LA_FILE exists where we think it should be, use it. If we're
35- # installed and the LA_FILE does not exist, assume to use -L/-l
36- # (the LA_FILE may not have been installed). If we're building ourselves,
37- # we'll assume that at some point the .la file be created.
38- if test -f "$LA_FILE"; then
39- flags="$flags $LA_FILE"
40- elif test "$location" = "installed"; then
41- ### avoid using -L if libdir is a "standard" location like /usr/lib
42- # Since the user is specifying they are linking with libtool, we
43- # *know* that -R will be recognized by libtool.
44- flags="$flags -L$libdir -R$libdir -l$APRUTIL_LIBNAME"
45- else
46- flags="$flags $LA_FILE"
47- fi
48+ flags="$flags -l$APRUTIL_LIBNAME"
49 ;;
50 --apu-la-file)
51 if test -f "$LA_FILE"; then
diff --git a/meta/recipes-support/apr/apr-util/configure_fixes.patch b/meta/recipes-support/apr/apr-util/configure_fixes.patch
new file mode 100644
index 0000000..91e244c
--- /dev/null
+++ b/meta/recipes-support/apr/apr-util/configure_fixes.patch
@@ -0,0 +1,31 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: apr-util-1.4.1/configure.in
4===================================================================
5--- apr-util-1.4.1.orig/configure.in 2009-12-18 03:15:19.000000000 +0800
6+++ apr-util-1.4.1/configure.in 2011-12-30 13:32:07.000000000 +0800
7@@ -8,15 +8,15 @@
8 AC_CONFIG_HEADER(include/private/apu_config.h)
9 AC_CONFIG_AUX_DIR(build)
10
11-sinclude(build/apu-conf.m4)
12-sinclude(build/apu-iconv.m4)
13-sinclude(build/apu-hints.m4)
14-sinclude(build/apr_common.m4)
15-sinclude(build/find_apr.m4)
16-sinclude(build/crypto.m4)
17-sinclude(build/dbm.m4)
18-sinclude(build/dbd.m4)
19-sinclude(build/dso.m4)
20+#sinclude(build/apu-conf.m4)
21+#sinclude(build/apu-iconv.m4)
22+#sinclude(build/apu-hints.m4)
23+#sinclude(build/apr_common.m4)
24+#sinclude(build/find_apr.m4)
25+#sinclude(build/crypto.m4)
26+#sinclude(build/dbm.m4)
27+#sinclude(build/dbd.m4)
28+#sinclude(build/dso.m4)
29
30 dnl Generate ./config.nice for reproducing runs of configure
31 dnl
diff --git a/meta/recipes-support/apr/apr-util/run-ptest b/meta/recipes-support/apr/apr-util/run-ptest
new file mode 100644
index 0000000..ae19a1d
--- /dev/null
+++ b/meta/recipes-support/apr/apr-util/run-ptest
@@ -0,0 +1,6 @@
1#!/bin/sh
2
3cd test
4./testall |sed \
5 -e 's|\(.*\): SUCCESS|PASS: \1|' \
6 -e 's|\(.*\): FAILED|FAIL: \1|'
diff --git a/meta/recipes-support/apr/apr-util_1.5.3.bb b/meta/recipes-support/apr/apr-util_1.5.3.bb
new file mode 100644
index 0000000..063a787
--- /dev/null
+++ b/meta/recipes-support/apr/apr-util_1.5.3.bb
@@ -0,0 +1,67 @@
1SUMMARY = "Apache Portable Runtime (APR) companion library"
2HOMEPAGE = "http://apr.apache.org/"
3SECTION = "libs"
4DEPENDS = "apr expat gdbm"
5
6BBCLASSEXTEND = "native"
7
8LICENSE = "Apache-2.0"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=519e0a18e03f7c023070568c14b077bb \
10 file://include/apu_version.h;endline=17;md5=806685a84e71f10c80144c48eb35df42"
11
12SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.gz \
13 file://configfix.patch \
14 file://configure_fixes.patch \
15 file://run-ptest \
16"
17
18SRC_URI[md5sum] = "71a11d037240b292f824ba1eb537b4e3"
19SRC_URI[sha256sum] = "76db34cb508e346e3bf69347c29ed1500bf0b71bcc48d54271ad9d1c25703743"
20
21EXTRA_OECONF = "--with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \
22 --without-odbc \
23 --without-pgsql \
24 --with-dbm=gdbm \
25 --with-gdbm=${STAGING_DIR_HOST}${prefix} \
26 --without-sqlite2 \
27 --without-sqlite3 \
28 --with-expat=${STAGING_DIR_HOST}${prefix}"
29
30
31inherit autotools-brokensep lib_package binconfig
32
33OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'"
34
35do_configure_append() {
36 if [ "${CLASSOVERRIDE}" = "class-target" ]; then
37 cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk
38 fi
39}
40do_configure_prepend_class-native() {
41 cp ${STAGING_DATADIR_NATIVE}/apr/apr_rules.mk ${S}/build/rules.mk
42}
43do_configure_append_class-native() {
44 sed -i "s#LIBTOOL=\$(SHELL) \$(apr_builddir)#LIBTOOL=\$(SHELL) ${STAGING_BINDIR_NATIVE}#" ${S}/build/rules.mk
45 # sometimes there isn't SHELL
46 sed -i "s#LIBTOOL=\$(apr_builddir)#LIBTOOL=${STAGING_BINDIR_NATIVE}#" ${S}/build/rules.mk
47}
48
49FILES_${PN} += "${libdir}/apr-util-1/apr_dbm_gdbm-1.so"
50FILES_${PN}-dev += "${libdir}/aprutil.exp ${libdir}/apr-util-1/apr_dbm_gdbm.so* ${libdir}/apr-util-1/apr_dbm_gdbm.la"
51FILES_${PN}-dbg += "${libdir}/apr-util-1/.debug/*"
52FILES_${PN}-staticdev += "${libdir}/apr-util-1/apr_dbm_gdbm.a"
53
54inherit ptest
55
56do_compile_ptest() {
57 cd ${S}/test
58 oe_runmake
59}
60
61do_install_ptest() {
62 t=${D}${PTEST_PATH}/test
63 mkdir $t
64 for i in testall data; do \
65 cp -r ${S}/test/$i $t; \
66 done
67}
diff --git a/meta/recipes-support/apr/apr/cleanup.patch b/meta/recipes-support/apr/apr/cleanup.patch
new file mode 100644
index 0000000..b6784e0
--- /dev/null
+++ b/meta/recipes-support/apr/apr/cleanup.patch
@@ -0,0 +1,43 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: apr-1.4.2/build/buildcheck.sh
4===================================================================
5--- apr-1.4.2.orig/build/buildcheck.sh 2009-11-13 08:27:16.000000000 +0800
6+++ apr-1.4.2/build/buildcheck.sh 2010-11-26 15:44:00.000000000 +0800
7@@ -32,35 +32,4 @@
8 echo "buildconf: autoconf version $ac_version (ok)"
9 fi
10
11-# Sample libtool --version outputs:
12-# ltmain.sh (GNU libtool) 1.3.3 (1.385.2.181 1999/07/02 15:49:11)
13-# ltmain.sh (GNU libtool 1.1361 2004/01/02 23:10:52) 1.5a
14-# output is multiline from 1.5 onwards
15-
16-# Require libtool 1.4 or newer
17-libtool=`build/PrintPath glibtool1 glibtool libtool libtool15 libtool14`
18-lt_pversion=`$libtool --version 2>/dev/null|sed -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'`
19-if test -z "$lt_pversion"; then
20-echo "buildconf: libtool not found."
21-echo " You need libtool version 1.4 or newer installed"
22-echo " to build APR from SVN."
23-exit 1
24-fi
25-lt_version=`echo $lt_pversion|sed -e 's/\([a-z]*\)$/.\1/'`
26-IFS=.; set $lt_version; IFS=' '
27-lt_status="good"
28-if test "$1" = "1"; then
29- if test "$2" -lt "4"; then
30- lt_status="bad"
31- fi
32-fi
33-if test $lt_status = "good"; then
34- echo "buildconf: libtool version $lt_pversion (ok)"
35- exit 0
36-fi
37-
38-echo "buildconf: libtool version $lt_pversion found."
39-echo " You need libtool version 1.4 or newer installed"
40-echo " to build APR from SVN."
41-
42-exit 1
43+exit 0
diff --git a/meta/recipes-support/apr/apr/configfix.patch b/meta/recipes-support/apr/apr/configfix.patch
new file mode 100644
index 0000000..605c4f6
--- /dev/null
+++ b/meta/recipes-support/apr/apr/configfix.patch
@@ -0,0 +1,53 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: apr-1.3.3/apr-config.in
4===================================================================
5--- apr-1.3.3.orig/apr-config.in 2009-01-12 15:16:31.000000000 +0000
6+++ apr-1.3.3/apr-config.in 2009-01-12 15:19:25.000000000 +0000
7@@ -152,14 +152,7 @@
8 flags="$flags $LDFLAGS"
9 ;;
10 --includes)
11- if test "$location" = "installed"; then
12 flags="$flags -I$includedir $EXTRA_INCLUDES"
13- elif test "$location" = "source"; then
14- flags="$flags -I$APR_SOURCE_DIR/include $EXTRA_INCLUDES"
15- else
16- # this is for VPATH builds
17- flags="$flags -I$APR_BUILD_DIR/include -I$APR_SOURCE_DIR/include $EXTRA_INCLUDES"
18- fi
19 ;;
20 --srcdir)
21 echo $APR_SOURCE_DIR
22@@ -181,29 +167,14 @@
23 exit 0
24 ;;
25 --link-ld)
26- if test "$location" = "installed"; then
27- ### avoid using -L if libdir is a "standard" location like /usr/lib
28- flags="$flags -L$libdir -l${APR_LIBNAME}"
29- else
30- ### this surely can't work since the library is in .libs?
31- flags="$flags -L$APR_BUILD_DIR -l${APR_LIBNAME}"
32- fi
33+ flags="$flags -l${APR_LIBNAME}"
34 ;;
35 --link-libtool)
36 # If the LA_FILE exists where we think it should be, use it. If we're
37 # installed and the LA_FILE does not exist, assume to use -L/-l
38 # (the LA_FILE may not have been installed). If we're building ourselves,
39 # we'll assume that at some point the .la file be created.
40- if test -f "$LA_FILE"; then
41- flags="$flags $LA_FILE"
42- elif test "$location" = "installed"; then
43- ### avoid using -L if libdir is a "standard" location like /usr/lib
44- # Since the user is specifying they are linking with libtool, we
45- # *know* that -R will be recognized by libtool.
46- flags="$flags -L$libdir -R$libdir -l${APR_LIBNAME}"
47- else
48- flags="$flags $LA_FILE"
49- fi
50+ flags="$flags -l${APR_LIBNAME}"
51 ;;
52 --shlib-path-var)
53 echo "$SHLIBPATH_VAR"
diff --git a/meta/recipes-support/apr/apr/configure_fixes.patch b/meta/recipes-support/apr/apr/configure_fixes.patch
new file mode 100644
index 0000000..0514000
--- /dev/null
+++ b/meta/recipes-support/apr/apr/configure_fixes.patch
@@ -0,0 +1,68 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: apr-1.3.3/configure.in
4===================================================================
5--- apr-1.3.3.orig/configure.in
6+++ apr-1.3.3/configure.in
7@@ -794,39 +794,6 @@ AC_CHECK_FUNCS([mmap munmap shm_open shm
8 create_area])
9
10 APR_CHECK_DEFINE(MAP_ANON, sys/mman.h)
11-AC_CHECK_FILE(/dev/zero)
12-
13-# Not all systems can mmap /dev/zero (such as HP-UX). Check for that.
14-if test "$ac_cv_func_mmap" = "yes" &&
15- test "$ac_cv_file__dev_zero" = "yes"; then
16- AC_MSG_CHECKING(for mmap that can map /dev/zero)
17- AC_TRY_RUN([
18-#include <sys/types.h>
19-#include <sys/stat.h>
20-#include <fcntl.h>
21-#ifdef HAVE_SYS_MMAN_H
22-#include <sys/mman.h>
23-#endif
24- int main()
25- {
26- int fd;
27- void *m;
28- fd = open("/dev/zero", O_RDWR);
29- if (fd < 0) {
30- return 1;
31- }
32- m = mmap(0, sizeof(void*), PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
33- if (m == (void *)-1) { /* aka MAP_FAILED */
34- return 2;
35- }
36- if (munmap(m, sizeof(void*)) < 0) {
37- return 3;
38- }
39- return 0;
40- }], [], [ac_cv_file__dev_zero=no], [ac_cv_file__dev_zero=no])
41-
42- AC_MSG_RESULT($ac_cv_file__dev_zero)
43-fi
44
45 # Now we determine which one is our anonymous shmem preference.
46 haveshmgetanon="0"
47@@ -1518,13 +1485,14 @@ else
48 bigendian=0
49 fi
50
51-APR_CHECK_SIZEOF_EXTENDED([#include <sys/types.h>
52-#include <sys/uio.h>],struct iovec,0)
53-if test "$ac_cv_sizeof_struct_iovec" = "0"; then
54- have_iovec=0
55-else
56- have_iovec=1
57-fi
58+#APR_CHECK_SIZEOF_EXTENDED([#include <sys/types.h>
59+##include <sys/uio.h>],struct iovec,0)
60+#if test "$ac_cv_sizeof_struct_iovec" = "0"; then
61+# have_iovec=0
62+#else
63+# have_iovec=1
64+#fi
65+have_iovec=1
66
67 AC_SUBST(voidp_size)
68 AC_SUBST(short_value)
diff --git a/meta/recipes-support/apr/apr/run-ptest b/meta/recipes-support/apr/apr/run-ptest
new file mode 100644
index 0000000..ae19a1d
--- /dev/null
+++ b/meta/recipes-support/apr/apr/run-ptest
@@ -0,0 +1,6 @@
1#!/bin/sh
2
3cd test
4./testall |sed \
5 -e 's|\(.*\): SUCCESS|PASS: \1|' \
6 -e 's|\(.*\): FAILED|FAIL: \1|'
diff --git a/meta/recipes-support/apr/apr/upgrade-and-fix-1.5.1.patch b/meta/recipes-support/apr/apr/upgrade-and-fix-1.5.1.patch
new file mode 100644
index 0000000..4bca384
--- /dev/null
+++ b/meta/recipes-support/apr/apr/upgrade-and-fix-1.5.1.patch
@@ -0,0 +1,48 @@
1Makefile.in: fix cross compiling failed
2
3The tools/gen_test_char was invoked at build time,
4and it didn't work for the cross compiling, so we
5compile it with $BUILD_CC.
6
7Remove the 'tools' dir creation, it always existed.
8And it caused gen_test_char unexpected rebuilt at
9do_install time.
10
11Upstream-Status: inappropriate [oe specific]
12
13Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
14---
15 Makefile.in | 10 ++--------
16 1 file changed, 2 insertions(+), 8 deletions(-)
17
18diff --git a/Makefile.in b/Makefile.in
19index 6f99733..5fe028f 100644
20--- a/Makefile.in
21+++ b/Makefile.in
22@@ -46,7 +46,6 @@ LT_VERSION = @LT_VERSION@
23
24 CLEAN_TARGETS = apr-config.out apr.exp exports.c export_vars.c .make.dirs \
25 build/apr_rules.out tools/gen_test_char@EXEEXT@ \
26- tools/gen_test_char.o tools/gen_test_char.lo \
27 include/private/apr_escape_test_char.h
28 DISTCLEAN_TARGETS = config.cache config.log config.status \
29 include/apr.h include/arch/unix/apr_private.h \
30@@ -129,13 +128,8 @@ check: $(TARGET_LIB)
31 etags:
32 etags `find . -name '*.[ch]'`
33
34-make_tools_dir:
35- $(APR_MKDIR) tools
36-
37-OBJECTS_gen_test_char = tools/gen_test_char.lo $(LOCAL_LIBS)
38-tools/gen_test_char.lo: make_tools_dir
39-tools/gen_test_char@EXEEXT@: $(OBJECTS_gen_test_char)
40- $(LINK_PROG) $(OBJECTS_gen_test_char) $(ALL_LIBS)
41+tools/gen_test_char@EXEEXT@: tools/gen_test_char.c
42+ $(BUILD_CC) $(CFLAGS_FOR_BUILD) $< -o $@
43
44 include/private/apr_escape_test_char.h: tools/gen_test_char@EXEEXT@
45 $(APR_MKDIR) include/private
46--
471.8.1.2
48
diff --git a/meta/recipes-support/apr/apr_1.5.1.bb b/meta/recipes-support/apr/apr_1.5.1.bb
new file mode 100644
index 0000000..a27b233
--- /dev/null
+++ b/meta/recipes-support/apr/apr_1.5.1.bb
@@ -0,0 +1,95 @@
1SUMMARY = "Apache Portable Runtime (APR) library"
2HOMEPAGE = "http://apr.apache.org/"
3SECTION = "libs"
4DEPENDS = "util-linux"
5
6LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=4dfd4cd216828c8cae5de5a12f3844c8 \
8 file://include/apr_lib.h;endline=17;md5=ee42fa7575dc40580a9e01c1b75fae96"
9
10BBCLASSEXTEND = "native"
11
12SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.bz2 \
13 file://configure_fixes.patch \
14 file://cleanup.patch \
15 file://configfix.patch \
16 file://run-ptest \
17 file://upgrade-and-fix-1.5.1.patch \
18"
19
20SRC_URI[md5sum] = "5486180ec5a23efb5cae6d4292b300ab"
21SRC_URI[sha256sum] = "e94abe431d4da48425fcccdb27b469bd0f8151488f82e5630a56f26590e198ac"
22
23inherit autotools-brokensep lib_package binconfig multilib_header ptest
24
25OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'"
26
27# Added to fix some issues with cmake. Refer to https://github.com/bmwcarit/meta-ros/issues/68#issuecomment-19896928
28CACHED_CONFIGUREVARS += "apr_cv_mutex_recursive=yes"
29
30# Also suppress trying to use sctp.
31#
32CACHED_CONFIGUREVARS += "ac_cv_header_netinet_sctp_h=no ac_cv_header_netinet_sctp_uio_h=no"
33
34do_configure_prepend() {
35 # Avoid absolute paths for grep since it causes failures
36 # when using sstate between different hosts with different
37 # install paths for grep.
38 export GREP="grep"
39
40 cd ${S}
41 ./buildconf
42}
43
44FILES_${PN}-dev += "${libdir}/apr.exp ${datadir}/build-1/*"
45RDEPENDS_${PN}-dev += "bash"
46
47#for some reason, build/libtool.m4 handled by buildconf still be overwritten
48#when autoconf, so handle it again.
49do_configure_append() {
50 sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' ${S}/build/libtool.m4
51 sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' ${S}/build/apr_rules.mk
52}
53
54do_install_append() {
55 oe_multilib_header apr.h
56 install -d ${D}${datadir}/apr
57 cp ${S}/${HOST_SYS}-libtool ${D}${datadir}/build-1/libtool
58}
59
60SSTATE_SCAN_FILES += "apr_rules.mk libtool"
61
62SYSROOT_PREPROCESS_FUNCS += "apr_sysroot_preprocess"
63
64apr_sysroot_preprocess () {
65 d=${SYSROOT_DESTDIR}${datadir}/apr
66 install -d $d/
67 cp ${S}/build/apr_rules.mk $d/
68 sed -i s,apr_builddir=.*,apr_builddir=,g $d/apr_rules.mk
69 sed -i s,apr_builders=.*,apr_builders=,g $d/apr_rules.mk
70 sed -i s,LIBTOOL=.*,LIBTOOL=${HOST_SYS}-libtool,g $d/apr_rules.mk
71 sed -i s,\$\(apr_builders\),${STAGING_DATADIR}/apr/,g $d/apr_rules.mk
72 cp ${S}/build/mkdir.sh $d/
73 cp ${S}/build/make_exports.awk $d/
74 cp ${S}/build/make_var_export.awk $d/
75}
76
77do_compile_ptest() {
78 cd ${S}/test
79 oe_runmake
80}
81
82do_install_ptest() {
83 t=${D}${PTEST_PATH}/test
84 mkdir -p $t/.libs
85 cp -r ${S}/test/data $t/
86 cp -r ${S}/test/.libs/*.so $t/.libs/
87 cp ${S}/test/proc_child $t/
88 cp ${S}/test/readchild $t/
89 cp ${S}/test/sockchild $t/
90 cp ${S}/test/sockperf $t/
91 cp ${S}/test/testall $t/
92 cp ${S}/test/tryread $t/
93}
94
95export CONFIG_SHELL="/bin/bash"
diff --git a/meta/recipes-support/aspell/aspell_0.60.6.1.bb b/meta/recipes-support/aspell/aspell_0.60.6.1.bb
new file mode 100644
index 0000000..a4f0e14
--- /dev/null
+++ b/meta/recipes-support/aspell/aspell_0.60.6.1.bb
@@ -0,0 +1,28 @@
1SUMMARY = "GNU Aspell spell-checker"
2SECTION = "console/utils"
3
4LICENSE = "LGPLv2 | LGPLv2.1"
5LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
6
7PR = "r1"
8
9SRC_URI = "${GNU_MIRROR}/aspell/aspell-${PV}.tar.gz"
10SRC_URI[md5sum] = "e66a9c9af6a60dc46134fdacf6ce97d7"
11SRC_URI[sha256sum] = "f52583a83a63633701c5f71db3dc40aab87b7f76b29723aeb27941eff42df6e1"
12
13PACKAGECONFIG ??= ""
14PACKAGECONFIG[curses] = "--enable-curses,--disable-curses,ncurses"
15
16PACKAGES += "libaspell libpspell libpspell-dev aspell-utils"
17
18RDEPENDS_${PN}-utils += "perl"
19
20FILES_${PN}-dbg += "${libdir}/aspell-0.60/.debu*"
21FILES_libaspell = "${libdir}/libaspell.so.* ${libdir}/aspell*"
22FILES_aspell-utils = "${bindir}/word-list-compress ${bindir}/aspell-import ${bindir}/run-with-aspell ${bindir}/pre*"
23FILES_${PN} = "${bindir}/aspell"
24FILES_libpspell = "${libdir}/libpspell.so.*"
25FILES_libpspell-dev = "${libdir}/libpspell* ${bindir}/pspell-config ${includedir}/pspell"
26
27ARM_INSTRUCTION_SET = "arm"
28inherit autotools-brokensep gettext texinfo
diff --git a/meta/recipes-support/atk/at-spi2-atk_2.12.1.bb b/meta/recipes-support/atk/at-spi2-atk_2.12.1.bb
new file mode 100644
index 0000000..4431c3d
--- /dev/null
+++ b/meta/recipes-support/atk/at-spi2-atk_2.12.1.bb
@@ -0,0 +1,19 @@
1SUMMARY = "AT-SPI 2 Toolkit Bridge"
2LICENSE = "LGPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=e9f288ba982d60518f375b5898283886"
4
5MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
6
7SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz"
8SRC_URI[md5sum] = "ae11df528f1f038987797f39c8357f81"
9SRC_URI[sha256sum] = "5fa9c527bdec028e06797563cd52d49bcf06f638549df983424d88db89bb1336"
10
11DEPENDS = "dbus glib-2.0 atk at-spi2-core"
12
13inherit autotools pkgconfig
14
15PACKAGES =+ "${PN}-gnome ${PN}-gtk2"
16
17FILES_${PN}-gnome = "${libdir}/gnome-settings-daemon-3.0/gtk-modules"
18FILES_${PN}-gtk2 = "${libdir}/gtk-2.0/modules/libatk-bridge.*"
19FILES_${PN}-dbg += "${libdir}/gtk-2.0/modules/.debug"
diff --git a/meta/recipes-support/atk/at-spi2-core_2.12.0.bb b/meta/recipes-support/atk/at-spi2-core_2.12.0.bb
new file mode 100644
index 0000000..e67155c
--- /dev/null
+++ b/meta/recipes-support/atk/at-spi2-core_2.12.0.bb
@@ -0,0 +1,20 @@
1SUMMARY = "Assistive Technology Service Provider Interface (dbus core)"
2LICENSE = "LGPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=e9f288ba982d60518f375b5898283886"
4
5MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
6
7SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \
8 file://core_acinclude_m4.patch \
9 "
10
11SRC_URI[md5sum] = "b12ad0e0924706f5e7f51216241068ef"
12SRC_URI[sha256sum] = "db550edd98e53b4252521459c2dcaf0f3b060a9bad52489b9dbadbaedad3fb89"
13
14DEPENDS = "dbus glib-2.0 virtual/libx11 libxi libxtst intltool-native"
15
16inherit autotools gtk-doc pkgconfig
17
18EXTRA_OECONF = "--disable-introspection --disable-xevie"
19
20FILES_${PN} += "${datadir}/dbus-1/services/*.service"
diff --git a/meta/recipes-support/atk/atk_2.12.0.bb b/meta/recipes-support/atk/atk_2.12.0.bb
new file mode 100644
index 0000000..9112bbb
--- /dev/null
+++ b/meta/recipes-support/atk/atk_2.12.0.bb
@@ -0,0 +1,23 @@
1SUMMARY = "Accessibility toolkit for GNOME"
2HOMEPAGE = "http://live.gnome.org/GAP/"
3BUGTRACKER = "https://bugzilla.gnome.org/"
4SECTION = "x11/libs"
5
6LICENSE = "GPLv2+ & LGPLv2+"
7LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
8 file://atk/atkutil.c;endline=20;md5=db21b0bdbef9da4dc6eb122debc9f9bc \
9 file://atk/atk.h;endline=20;md5=c58238d688c24387376d6c69d06248a7"
10
11DEPENDS = "glib-2.0"
12
13inherit gnomebase gtk-doc
14
15GNOME_COMPRESS_TYPE = "xz"
16
17SRC_URI[archive.md5sum] = "930238dec55fdbf8eda9975b44f07b76"
18SRC_URI[archive.sha256sum] = "48a8431974639c5a59c24fcd3ece1a19709872d5dfe78907524d9f5e9993f18f"
19
20BBCLASSEXTEND = "native"
21
22EXTRA_OECONF = "--disable-glibtest \
23 --disable-introspection"
diff --git a/meta/recipes-support/atk/files/core_acinclude_m4.patch b/meta/recipes-support/atk/files/core_acinclude_m4.patch
new file mode 100644
index 0000000..29c538e
--- /dev/null
+++ b/meta/recipes-support/atk/files/core_acinclude_m4.patch
@@ -0,0 +1,40 @@
1at-spi2-core: fix alignof m4 macro
2
3DBIND_CHECK_ALIGNOF does not work when cross-compiling, so we modify
4it to use AC_CHECK_ALIGNOF.
5
6Upstream-Status: Pending
7
8Signed-off-by: joe.slater@windriver.com
9
10
11--- a/acinclude.m4
12+++ b/acinclude.m4
13@@ -2,7 +2,26 @@
14 # type alignment test #
15 #######################
16
17-AC_DEFUN([DBIND_CHECK_ALIGNOF],
18+AC_DEFUN([DBIND_CHECK_ALIGNOF],[
19+AC_CHECK_ALIGNOF($1,[
20+#include <stdio.h>
21+#include <stdlib.h>
22+#define DBUS_API_SUBJECT_TO_CHANGE
23+#include <dbus/dbus.h>
24+typedef struct {char s1;} dbind_struct;
25+typedef void *dbind_pointer;
26+])
27+
28+dnl Note that we substitute for names like @DBIND_ALIGNOF_DBIND_STRUCT@, but
29+dnl we #define names like ALIGNOF_DBIND_STRUCT in config.h!
30+dnl
31+AC_SUBST(translit(dbind_alignof_$1, [a-z *], [A-Z_P]),[$ac_cv_alignof_$1])
32+
33+])
34+
35+dnl The following does not work for cross-compilation.
36+dnl
37+AC_DEFUN([xDBIND_CHECK_ALIGNOF],
38 [changequote(<<, >>)dnl
39 dnl The name to #define.
40 define(<<AC_TYPE_NAME>>,
diff --git a/meta/recipes-support/attr/acl.inc b/meta/recipes-support/attr/acl.inc
new file mode 100644
index 0000000..bc9fd6d
--- /dev/null
+++ b/meta/recipes-support/attr/acl.inc
@@ -0,0 +1,39 @@
1SUMMARY = "Utilities for managing POSIX Access Control Lists"
2HOMEPAGE = "http://savannah.nongnu.org/projects/acl/"
3SECTION = "libs"
4
5LICENSE = "LGPLv2.1+ & GPLv2+"
6LICENSE_${PN} = "GPLv2+"
7LICENSE_lib${BPN} = "LGPLv2.1+"
8LIC_FILES_CHKSUM = "file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \
9 file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764"
10
11DEPENDS = "attr"
12SRC_URI = "${SAVANNAH_GNU_MIRROR}/acl/${BP}.src.tar.gz \
13 file://run-ptest \
14 file://acl-fix-the-order-of-expected-output-of-getfacl.patch \
15"
16
17require ea-acl.inc
18
19# avoid RPATH hardcode to staging dir
20do_configure_append() {
21 sed -i ${S}/config.status -e s,^\\\(hardcode_into_libs=\\\).*$,\\1\'no\',
22 ${S}/config.status
23}
24
25# libdir should point to .la
26do_install_append() {
27 sed -i ${D}${libdir}/libacl.la -e \
28 s,^libdir=\'${base_libdir}\'$,libdir=\'${libdir}\',
29}
30
31inherit ptest
32
33do_install_ptest() {
34 tar -cf - test/ --exclude nfs | ( cd ${D}${PTEST_PATH} && tar -xf - )
35 mkdir ${D}${PTEST_PATH}/include
36 cp ${S}/include/builddefs ${S}/include/buildmacros ${S}/include/buildrules ${D}${PTEST_PATH}/include/
37}
38
39RDEPENDS_${PN}-ptest = "bash coreutils perl perl-module-filehandle perl-module-getopt-std perl-module-posix shadow"
diff --git a/meta/recipes-support/attr/acl/acl-fix-the-order-of-expected-output-of-getfacl.patch b/meta/recipes-support/attr/acl/acl-fix-the-order-of-expected-output-of-getfacl.patch
new file mode 100644
index 0000000..cf765fd
--- /dev/null
+++ b/meta/recipes-support/attr/acl/acl-fix-the-order-of-expected-output-of-getfacl.patch
@@ -0,0 +1,198 @@
1acl: fix the order of expected output of getfacl
2
3The result of getfacl is sorted by user id.
4In Centos or RHEL, bin user id is 1 and daemon user id is 2.
5But in our image, bin user id is 2 and daemon user id is 1.
6The patch fixes this issue to make ptest pass.
7
8Upstream-Status: Inappropriate [embedded specific]
9
10Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
11---
12 test/misc.test | 38 +++++++++++++++++++-------------------
13 1 file changed, 19 insertions(+), 19 deletions(-)
14
15diff --git a/test/misc.test b/test/misc.test
16index 6e98053..53ae5b0 100644
17--- a/test/misc.test
18+++ b/test/misc.test
19@@ -79,8 +79,8 @@ Multiple users
20
21 $ getfacl --omit-header f
22 > user::rw-
23- > user:bin:rw-
24 > user:daemon:r--
25+ > user:bin:rw-
26 > group::r--
27 > mask::rw-
28 > other::r--
29@@ -94,8 +94,8 @@ Multiple groups
30
31 $ getfacl --omit-header f
32 > user::rw-
33- > user:bin:rw-
34 > user:daemon:r--
35+ > user:bin:rw-
36 > group::r--
37 > group:daemon:r--
38 > group:users:rw-
39@@ -111,8 +111,8 @@ Remove one group
40
41 $ getfacl --omit-header f
42 > user::rw-
43- > user:bin:rw-
44 > user:daemon:r--
45+ > user:bin:rw-
46 > group::r--
47 > group:daemon:r--
48 > mask::rw-
49@@ -146,8 +146,8 @@ Default ACL
50
51 $ getfacl --omit-header d
52 > user::rwx
53- > user:bin:rwx
54 > user:daemon:rw-
55+ > user:bin:rwx
56 > group::r-x
57 > mask::rwx
58 > other::---
59@@ -236,16 +236,16 @@ Add some users and groups
60
61 $ getfacl --omit-header d/d
62 > user::rwx
63- > user:bin:rwx #effective:r-x
64 > user:daemon:r-x
65+ > user:bin:rwx #effective:r-x
66 > group::r-x
67 > group:daemon:rwx #effective:r-x
68 > group:users:r-x
69 > mask::r-x
70 > other::---
71 > default:user::rwx
72- > default:user:bin:rwx #effective:r-x
73 > default:user:daemon:r-x
74+ > default:user:bin:rwx #effective:r-x
75 > default:group::r-x
76 > default:mask::r-x
77 > default:other::---
78@@ -262,16 +262,16 @@ Symlink in directory with default ACL?
79
80 $ getfacl --omit-header d/l
81 > user::rwx
82- > user:bin:rwx #effective:r-x
83 > user:daemon:r-x
84+ > user:bin:rwx #effective:r-x
85 > group::r-x
86 > group:daemon:rwx #effective:r-x
87 > group:users:r-x
88 > mask::r-x
89 > other::---
90 > default:user::rwx
91- > default:user:bin:rwx #effective:r-x
92 > default:user:daemon:r-x
93+ > default:user:bin:rwx #effective:r-x
94 > default:group::r-x
95 > default:mask::r-x
96 > default:other::---
97@@ -287,16 +287,16 @@ Does mask manipulation work?
98
99 $ getfacl --omit-header d/d
100 > user::rwx
101- > user:bin:r-x
102 > user:daemon:r-x
103+ > user:bin:r-x
104 > group::r-x
105 > group:daemon:r-x
106 > group:users:r-x
107 > mask::r-x
108 > other::---
109 > default:user::rwx
110- > default:user:bin:rwx #effective:r-x
111 > default:user:daemon:r-x
112+ > default:user:bin:rwx #effective:r-x
113 > default:group::r-x
114 > default:mask::r-x
115 > default:other::---
116@@ -308,16 +308,16 @@ Does mask manipulation work?
117
118 $ getfacl --omit-header d/d
119 > user::rwx
120- > user:bin:r-x
121 > user:daemon:r-x
122+ > user:bin:r-x
123 > group::r-x
124 > group:daemon:r-x
125 > group:users:r-x
126 > mask::r-x
127 > other::---
128 > default:user::rwx
129- > default:user:bin:rwx
130 > default:user:daemon:r-x
131+ > default:user:bin:rwx
132 > default:group::r-x
133 > default:mask::rwx
134 > default:other::---
135@@ -333,8 +333,8 @@ Remove the default ACL
136
137 $ getfacl --omit-header d
138 > user::rwx
139- > user:bin:rwx
140 > user:daemon:rw-
141+ > user:bin:rwx
142 > group::r-x
143 > mask::rwx
144 > other::---
145@@ -373,14 +373,14 @@ Now, chmod should change the group_obj entry
146
147 $ getfacl --omit-header d
148 > user::rwx
149- > user:bin:r-x
150 > user:daemon:rwx
151+ > user:bin:r-x
152 > group::rwx
153 > mask::rwx
154 > other::r-x
155 > default:user::rwx
156- > default:user:bin:r-x
157 > default:user:daemon:rwx
158+ > default:user:bin:r-x
159 > default:group::rwx
160 > default:mask::rwx
161 > default:other::r-x
162@@ -392,14 +392,14 @@ Now, chmod should change the group_obj entry
163
164 $ getfacl --omit-header d
165 > user::rwx
166- > user:bin:r-x
167 > user:daemon:rwx #effective:r-x
168+ > user:bin:r-x
169 > group::rwx #effective:r-x
170 > mask::r-x
171 > other::---
172 > default:user::rwx
173- > default:user:bin:r-x
174 > default:user:daemon:rwx
175+ > default:user:bin:r-x
176 > default:group::rwx
177 > default:mask::rwx
178 > default:other::r-x
179@@ -411,14 +411,14 @@ Now, chmod should change the group_obj entry
180
181 $ getfacl --omit-header d
182 > user::rwx
183- > user:bin:r-x
184 > user:daemon:rwx #effective:r-x
185+ > user:bin:r-x
186 > group::rwx #effective:r-x
187 > mask::r-x
188 > other::---
189 > default:user::rwx
190- > default:user:bin:r-x
191 > default:user:daemon:rwx
192+ > default:user:bin:r-x
193 > default:group::rwx
194 > default:mask::rwx
195 > default:other::r-x
196--
1971.7.9.5
198
diff --git a/meta/recipes-support/attr/acl/add-missing-configure.ac.patch b/meta/recipes-support/attr/acl/add-missing-configure.ac.patch
new file mode 100644
index 0000000..eb6979f
--- /dev/null
+++ b/meta/recipes-support/attr/acl/add-missing-configure.ac.patch
@@ -0,0 +1,59 @@
1Upstream-Status: Backport [configure.ac is missing from tarball]
2
3Signed-off-by: Saul Wold <sgw@linux.intel.com>
4
5Index: acl-2.2.52/configure.ac
6===================================================================
7--- /dev/null
8+++ acl-2.2.52/configure.ac
9@@ -0,0 +1,50 @@
10+
11+# Copyright (C) 2009 Andreas Gruenbacher <agruen@suse.de>
12+#
13+# This program is free software: you can redistribute it and/or modify it
14+# under the terms of the GNU General Public License as published by
15+# the Free Software Foundation, either version 2 of the License, or
16+# (at your option) any later version.
17+#
18+# This program is distributed in the hope that it will be useful,
19+# but WITHOUT ANY WARRANTY; without even the implied warranty of
20+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21+# GNU General Public License for more details.
22+#
23+# You should have received a copy of the GNU General Public License
24+# along with this program. If not, see <http://www.gnu.org/licenses/>.
25+#
26+AC_INIT(include/acl.h)
27+AC_CONFIG_AUX_DIR([.])
28+AC_CONFIG_MACRO_DIR([m4])
29+AC_CONFIG_HEADER(include/config.h)
30+AC_PREFIX_DEFAULT(/usr)
31+
32+AC_PROG_LIBTOOL
33+
34+AC_ARG_ENABLE(shared,
35+[ --enable-shared=[yes/no] Enable use of shared libraries [default=yes]],,
36+ enable_shared=yes)
37+AC_SUBST(enable_shared)
38+
39+AC_ARG_ENABLE(gettext,
40+[ --enable-gettext=[yes/no] Enable alternate language support [default=yes]],,
41+ enable_gettext=yes)
42+AC_SUBST(enable_gettext)
43+
44+AC_ARG_ENABLE(lib64,
45+[ --enable-lib64=[yes/no] Enable lib64 support [default=no]],,
46+ enable_lib64=no)
47+AC_SUBST(enable_lib64)
48+
49+AC_PACKAGE_GLOBALS(acl)
50+AC_PACKAGE_UTILITIES(acl)
51+AC_PACKAGE_NEED_ATTR_XATTR_H
52+AC_PACKAGE_NEED_ATTR_ERROR_H
53+AC_MULTILIB($enable_lib64)
54+AC_PACKAGE_NEED_GETXATTR_LIBATTR
55+AC_MANUAL_FORMAT
56+
57+AC_FUNC_GCC_VISIBILITY
58+
59+AC_OUTPUT(include/builddefs)
diff --git a/meta/recipes-support/attr/acl/run-ptest b/meta/recipes-support/attr/acl/run-ptest
new file mode 100644
index 0000000..3b31cc9
--- /dev/null
+++ b/meta/recipes-support/attr/acl/run-ptest
@@ -0,0 +1,7 @@
1#!/bin/sh
2
3gpasswd -a daemon bin
4make -C test -k tests root-tests |sed \
5 -e 's|^\[.*\] \(.*\) -- ok$|PASS: \1|' \
6 -e 's|^\[.*\] \(.*\) -- failed|FAIL: \1|'
7gpasswd -d daemon bin
diff --git a/meta/recipes-support/attr/acl_2.2.52.bb b/meta/recipes-support/attr/acl_2.2.52.bb
new file mode 100644
index 0000000..ecdbdb6
--- /dev/null
+++ b/meta/recipes-support/attr/acl_2.2.52.bb
@@ -0,0 +1,9 @@
1require acl.inc
2
3SRC_URI += "file://add-missing-configure.ac.patch"
4
5SRC_URI[md5sum] = "a61415312426e9c2212bd7dc7929abda"
6SRC_URI[sha256sum] = "179074bb0580c06c4b4137be4c5a92a701583277967acdb5546043c7874e0d23"
7
8
9BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-support/attr/attr.inc b/meta/recipes-support/attr/attr.inc
new file mode 100644
index 0000000..28c750f
--- /dev/null
+++ b/meta/recipes-support/attr/attr.inc
@@ -0,0 +1,39 @@
1SUMMARY = "Utilities for manipulating filesystem extended attributes"
2HOMEPAGE = "http://savannah.nongnu.org/projects/attr/"
3SECTION = "libs"
4
5DEPENDS = "ncurses virtual/libintl"
6
7LICENSE = "LGPLv2.1+ & GPLv2+"
8LICENSE_${PN} = "GPLv2+"
9LICENSE_lib${BPN} = "LGPLv2.1+"
10LIC_FILES_CHKSUM = "file://doc/COPYING;md5=2d0aa14b3fce4694e4f615e30186335f \
11 file://attr/attr.c;endline=17;md5=be0403261f0847e5f43ed5b08d19593c \
12 file://libattr/libattr.c;endline=17;md5=7970f77049f8fa1199fff62a7ab724fb"
13
14SRC_URI = "${SAVANNAH_GNU_MIRROR}/attr/${BP}.src.tar.gz \
15 file://run-ptest \
16"
17
18require ea-acl.inc
19
20# libdir should point to .la
21do_install_append() {
22 sed -i ${D}${libdir}/libattr.la -e \
23 s,^libdir=\'${base_libdir}\'$,libdir=\'${libdir}\',
24}
25
26inherit ptest
27
28do_install_ptest() {
29 tar -cf - test/ --exclude ext | ( cd ${D}${PTEST_PATH} && tar -xf - )
30 mkdir ${D}${PTEST_PATH}/include
31 for i in builddefs buildmacros buildrules; \
32 do cp ${S}/include/$i ${D}${PTEST_PATH}/include/; \
33 done
34 sed -e 's|; @echo|; echo|' -i ${D}${PTEST_PATH}/test/Makefile
35}
36
37RDEPENDS_${PN}-ptest = "coreutils perl-module-filehandle perl-module-getopt-std perl-module-posix"
38
39BBCLASSEXTEND = "native nativesdk" \ No newline at end of file
diff --git a/meta/recipes-support/attr/attr_2.4.47.bb b/meta/recipes-support/attr/attr_2.4.47.bb
new file mode 100644
index 0000000..ad40c9b
--- /dev/null
+++ b/meta/recipes-support/attr/attr_2.4.47.bb
@@ -0,0 +1,10 @@
1require attr.inc
2
3# configure.ac was missing from the release tarball. This should be fixed in
4# future releases of attr, remove this when updating the recipe.
5SRC_URI_append += "file://attr-Missing-configure.ac.patch"
6
7SRC_URI[md5sum] = "84f58dec00b60f2dc8fd1c9709291cc7"
8SRC_URI[sha256sum] = "25772f653ac5b2e3ceeb89df50e4688891e21f723c460636548971652af0a859"
9
10BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc
new file mode 100644
index 0000000..72f623e
--- /dev/null
+++ b/meta/recipes-support/attr/ea-acl.inc
@@ -0,0 +1,58 @@
1# this build system is mostly shared by attr and acl
2
3SRC_URI += "file://relative-libdir.patch;striplevel=0 \
4 "
5
6inherit autotools-brokensep gettext
7
8# the package comes with a custom config.h.in, it cannot be
9# overwritten by autoheader
10export AUTOHEADER = "true"
11EXTRA_OECONF = "INSTALL_USER=root INSTALL_GROUP=root"
12EXTRA_OECONF_append_class-native = " --enable-gettext=no"
13
14EXTRA_OEMAKE = "PKG_LIB_DIR=${base_libdir} PKG_DEVLIB_DIR=${libdir}"
15
16do_install () {
17 oe_runmake install install-lib install-dev DIST_ROOT="${D}"
18}
19
20PACKAGES =+ "lib${BPN} lib${BPN}-dev lib${BPN}-staticdev lib${BPN}-doc"
21
22FILES_lib${BPN} = "${base_libdir}/lib*${SOLIBS}"
23
24FILES_lib${BPN}-dev = "${includedir} \
25 ${libdir}/lib*${SOLIBSDEV} \
26 ${libdir}/lib*.la \
27 ${base_libdir}/lib*${SOLIBSDEV} \
28 ${base_libdir}/lib*.la"
29
30FILES_lib${BPN}-staticdev = "${libdir}/*.a ${base_libdir}/*.a"
31
32FILES_lib${BPN}-doc = "${mandir}/man2 \
33 ${mandir}/man3"
34
35BBCLASSEXTEND = "native"
36# Only append ldflags for target recipe and if USE_NLS is enabled
37LDFLAGS_append_libc-uclibc_class-target = "${@['', ' -lintl '][(d.getVar('USE_NLS', True) == 'yes')]}"
38EXTRA_OECONF_append_libc-uclibc_class-target = "${@['', ' --disable-gettext '][(d.getVar('USE_NLS', True) == 'no')]}"
39
40fix_symlink () {
41 if test "${libdir}" = "${base_libdir}" ; then
42 return
43 fi
44 # Remove bad symlinks & create the correct symlinks
45 if test -L ${libdir}/lib${BPN}.so ; then
46 rm -rf ${libdir}/lib${BPN}.so
47 ln -sf ${base_libdir}/lib${BPN}.so ${libdir}/lib${BPN}.so
48 fi
49 if test -L ${base_libdir}/lib${BPN}.a ; then
50 rm -rf ${base_libdir}/lib${BPN}.a
51 ln -sf ${libdir}/lib${BPN}.a ${base_libdir}/lib${BPN}.a
52 fi
53 if test -L ${base_libdir}/lib${BPN}.la ; then
54 rm -rf ${base_libdir}/lib${BPN}.la
55 ln -sf ${libdir}/lib${BPN}.la ${base_libdir}/lib${BPN}.la
56 fi
57}
58SSTATEPOSTINSTFUNCS_class-native += "fix_symlink"
diff --git a/meta/recipes-support/attr/files/attr-Missing-configure.ac.patch b/meta/recipes-support/attr/files/attr-Missing-configure.ac.patch
new file mode 100644
index 0000000..20fcc3c
--- /dev/null
+++ b/meta/recipes-support/attr/files/attr-Missing-configure.ac.patch
@@ -0,0 +1,63 @@
1Subject: [PATCH] attr: Missing configure.ac
2
3Upstream-Status: Backport [Upstream released tarball missing this file]
4Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
5---
6 configure.ac | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
7 1 file changed, 48 insertions(+)
8 create mode 100644 configure.ac
9
10diff --git a/configure.ac b/configure.ac
11new file mode 100644
12index 0000000..b966d0e
13--- /dev/null
14+++ b/configure.ac
15@@ -0,0 +1,48 @@
16+# Copyright (C) 2009 Andreas Gruenbacher <agruen@suse.de>
17+#
18+# This program is free software: you can redistribute it and/or modify it
19+# under the terms of the GNU General Public License as published by
20+# the Free Software Foundation, either version 2 of the License, or
21+# (at your option) any later version.
22+#
23+# This program is distributed in the hope that it will be useful,
24+# but WITHOUT ANY WARRANTY; without even the implied warranty of
25+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26+# GNU General Public License for more details.
27+#
28+# You should have received a copy of the GNU General Public License
29+# along with this program. If not, see <http://www.gnu.org/licenses/>.
30+#
31+AC_INIT(include/attributes.h)
32+AC_CONFIG_AUX_DIR([.])
33+AC_CONFIG_MACRO_DIR([m4])
34+AC_CONFIG_HEADER(include/config.h)
35+AC_PREFIX_DEFAULT(/usr)
36+
37+AC_PROG_LIBTOOL
38+
39+AC_ARG_ENABLE(shared,
40+[ --enable-shared=[yes/no] Enable use of shared libraries [default=yes]],,
41+ enable_shared=yes)
42+AC_SUBST(enable_shared)
43+
44+AC_ARG_ENABLE(gettext,
45+[ --enable-gettext=[yes/no] Enable alternate language support [default=yes]],,
46+ enable_gettext=yes)
47+AC_SUBST(enable_gettext)
48+
49+AC_ARG_ENABLE(lib64,
50+[ --enable-lib64=[yes/no] Enable lib64 support [default=no]],,
51+ enable_lib64=no)
52+AC_SUBST(enable_lib64)
53+
54+AC_PACKAGE_GLOBALS(attr)
55+AC_PACKAGE_UTILITIES(attr)
56+AC_MANUAL_FORMAT
57+AC_MULTILIB($enable_lib64)
58+
59+AC_C_CONST
60+AC_TYPE_MODE_T
61+AC_FUNC_ALLOCA
62+
63+AC_OUTPUT(include/builddefs)
diff --git a/meta/recipes-support/attr/files/relative-libdir.patch b/meta/recipes-support/attr/files/relative-libdir.patch
new file mode 100644
index 0000000..b72bf18
--- /dev/null
+++ b/meta/recipes-support/attr/files/relative-libdir.patch
@@ -0,0 +1,25 @@
1Upstream-Status: Pending
2
3use relative path in symbolic links, or it fails in staging
4sed expression from udev
5
67/29/2010 - created by Qing He <qing.he@intel.com>
7
8diff -u include.orig/buildmacros include/buildmacros
9--- include.orig/buildmacros 2010-07-29 17:39:48.000000000 +0800
10+++ include/buildmacros 2010-07-29 18:20:34.000000000 +0800
11@@ -88,9 +88,11 @@
12 ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \
13 ../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_LIB_DIR); \
14 if test "x$(PKG_DEVLIB_DIR)" != "x$(PKG_LIB_DIR)" ; then \
15- ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \
16- ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \
17- ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so; \
18+ rel_lib_prefix=$$(echo $(PKG_LIB_DIR) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \
19+ ../$(INSTALL) -S $$rel_lib_prefix$(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \
20+ ../$(INSTALL) -S $$rel_lib_prefix$(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \
21+ rel_devlib_prefix=$$(echo $(PKG_DEVLIB_DIR) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \
22+ ../$(INSTALL) -S $$rel_devlib_prefix$(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so; \
23 fi
24 else
25 INSTALL_LTLIB_DEV = $(INSTALL_LTLIB_STATIC)
diff --git a/meta/recipes-support/attr/files/run-ptest b/meta/recipes-support/attr/files/run-ptest
new file mode 100644
index 0000000..a6c6867
--- /dev/null
+++ b/meta/recipes-support/attr/files/run-ptest
@@ -0,0 +1,5 @@
1#!/bin/sh
2
3make -C test -k tests root-tests |sed \
4 -e 's|^\[.*\] \(.*\) -- ok$|PASS: \1|' \
5 -e 's|^\[.*\] \(.*\) -- failed|FAIL: \1|'
diff --git a/meta/recipes-support/bdwgc/bdwgc_7.4.2.bb b/meta/recipes-support/bdwgc/bdwgc_7.4.2.bb
new file mode 100644
index 0000000..23ec954
--- /dev/null
+++ b/meta/recipes-support/bdwgc/bdwgc_7.4.2.bb
@@ -0,0 +1,41 @@
1SUMMARY = "A garbage collector for C and C++"
2
3DESCRIPTION = "The Boehm-Demers-Weiser conservative garbage collector can be\
4 used as a garbage collecting replacement for C malloc or C++ new. It allows\
5 you to allocate memory basically as you normally would, without explicitly\
6 deallocating memory that is no longer useful. The collector automatically\
7 recycles memory when it determines that it can no longer be otherwise\
8 accessed.\
9 The collector is also used by a number of programming language\
10 implementations that either use C as intermediate code, want to facilitate\
11 easier interoperation with C libraries, or just prefer the simple collector\
12 interface.\
13 Alternatively, the garbage collector may be used as a leak detector for C\
14 or C++ programs, though that is not its primary goal.\
15 Empirically, this collector works with most unmodified C programs, simply\
16 by replacing malloc with GC_malloc calls, replacing realloc with GC_realloc\
17 calls, and removing free calls."
18
19HOMEPAGE = "http://www.hboehm.info/gc/"
20SECTION = "devel"
21LICENSE = "MIT"
22LIC_FILES_CHKSUM = "file://README.QUICK;md5=55f5088f90a982fed7af9a4897047ef7"
23
24SRC_URI = "http://www.hboehm.info/gc/gc_source/gc-${PV}.tar.gz"
25
26SRC_URI[md5sum] = "12c05fd2811d989341d8c6d81f66af87"
27SRC_URI[sha256sum] = "63320ad7c45460e4a40e03f5aa4c6893783f21a16416c3282b994f933312afa2"
28FILES_${PN}-doc = "/usr/share"
29
30REAL_PV = "${@[d.getVar('PV',1)[:-1], d.getVar('PV',1)][(d.getVar('PV',1)[-1]).isdigit()]}"
31S = "${WORKDIR}/gc-${REAL_PV}"
32
33ARM_INSTRUCTION_SET = "arm"
34
35inherit autotools pkgconfig
36
37# by default use external libatomic-ops
38PACKAGECONFIG ??= "libatomic-ops"
39PACKAGECONFIG[libatomic-ops] = "--with-libatomic-ops=yes,--with-libatomic-ops=no,libatomics-ops"
40
41BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-support/beecrypt/beecrypt/add-option-dev-dsp.patch b/meta/recipes-support/beecrypt/beecrypt/add-option-dev-dsp.patch
new file mode 100644
index 0000000..4737d9c
--- /dev/null
+++ b/meta/recipes-support/beecrypt/beecrypt/add-option-dev-dsp.patch
@@ -0,0 +1,34 @@
1Add config option --with-dev-dsp.
2
3Upstream-Status: Pending
4
5Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
6---
7--- a/configure.ac
8+++ b/configure.ac
9@@ -106,6 +106,16 @@ AC_ARG_WITH(python,[ --with-python[[=AR
10 fi
11 ])
12
13+AC_ARG_WITH(dev-dsp,[ --with-dev-dsp enables dev/dsp for entropy producing. auto for auto-detecting dev/dep on host. [[default=no]]],[
14+ if test "$withval" = yes; then
15+ AC_DEFINE([HAVE_DEV_DSP], 1)
16+ else
17+ if test "$withval" = auto; then
18+ ac_detect_dev_dsp=yes
19+ fi
20+ fi
21+ ],[ac_detect_dev_dsp=no])
22+
23 # Check for expert mode
24 if test "$ac_enable_expert_mode" = yes; then
25 BEE_EXPERT_MODE
26@@ -464,7 +474,7 @@ linux*)
27 ac_cv_have_dev_dsp=no
28 fi
29 ])
30- if test "$ac_cv_have_dev_dsp" = yes; then
31+ if test "$ac_cv_have_dev_dsp" = yes && test "$ac_detect_dev_dsp" = yes; then
32 AC_DEFINE([HAVE_DEV_DSP], 1)
33 fi
34 ;;
diff --git a/meta/recipes-support/beecrypt/beecrypt/beecrypt-enable-ptest-support.patch b/meta/recipes-support/beecrypt/beecrypt/beecrypt-enable-ptest-support.patch
new file mode 100644
index 0000000..3e5513f
--- /dev/null
+++ b/meta/recipes-support/beecrypt/beecrypt/beecrypt-enable-ptest-support.patch
@@ -0,0 +1,37 @@
1beecrypt: enable ptest support
2
3Upstream-Status: Inappropriate [embedded specific]
4
5Add install-ptest rules.
6
7Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
8---
9 Makefile.am | 3 +++
10 tests/Makefile.am | 3 +++
11 2 files changed, 6 insertions(+)
12
13diff --git a/Makefile.am b/Makefile.am
14index b7e7869..5076f59 100644
15--- a/Makefile.am
16+++ b/Makefile.am
17@@ -73,3 +73,6 @@ DISTCLEANFILES = mpopt.s blowfishopt.s sha1opt.s
18
19 bench:
20 (cd tests && $(MAKE) $(AM_MAKEFLAGS) bench)
21+
22+install-ptest:
23+ (cd tests && $(MAKE) $(AM_MAKEFLAGS) check_PROGRAMS)
24diff --git a/tests/Makefile.am b/tests/Makefile.am
25index 1604e5e..d8db8d8 100644
26--- a/tests/Makefile.am
27+++ b/tests/Makefile.am
28@@ -101,3 +101,6 @@ bench: benchme benchrsa benchhf benchbc
29 ./benchbc AES 128
30 ./benchbc Blowfish 128
31 ./benchbc Blowfish 128
32+
33+check_PROGRAMS:
34+ $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
35--
361.8.1.2
37
diff --git a/meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch b/meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch
new file mode 100644
index 0000000..91b1fa6
--- /dev/null
+++ b/meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch
@@ -0,0 +1,43 @@
1We are unable to run code at configure time in a cross environemnt, but as we
2control the build we can be fairly certain this dependency is met.
3
4Upstream-Status: Inappropriate [embedded specific]
5
6JL 05/07/10
7Index: beecrypt-4.2.1/configure.ac
8===================================================================
9--- beecrypt-4.2.1.orig/configure.ac 2010-11-26 17:12:25.000000000 +0800
10+++ beecrypt-4.2.1/configure.ac 2010-11-26 17:12:30.000000000 +0800
11@@ -292,32 +292,6 @@
12 # Predefines and checks for C++ API support
13 AH_TEMPLATE([CPPGLUE],[Define to 1 if you want to include the C++ code])
14
15-if test "$ac_with_cplusplus" = yes; then
16- AC_MSG_CHECKING([for IBM's ICU library version >= 2.8])
17- AC_LANG_PUSH(C)
18- AC_RUN_IFELSE([
19- AC_LANG_PROGRAM([[#include <unicode/uversion.h>]],[[
20- #if U_ICU_VERSION_MAJOR_NUM < 2
21- exit(1);
22- #elif U_ICU_VERSION_MAJOR_NUM == 2
23- # if U_ICU_VERSION_MINOR_NUM < 8
24- exit(1);
25- # else
26- exit(0);
27- # endif
28- #else
29- exit(0);
30- #endif
31- ]])],[
32- AC_MSG_RESULT([yes])
33- ],[
34- AC_MSG_RESULT([no])
35- AC_MSG_WARN([disabling cplusplus])
36- ac_with_cplusplus=no
37- ])
38- AC_LANG_POP(C)
39-fi
40-
41 AM_CONDITIONAL([WITH_CPLUSPLUS],[test "$ac_with_cplusplus" = yes])
42
43 if test "$ac_with_cplusplus" = yes ; then
diff --git a/meta/recipes-support/beecrypt/beecrypt/fix-for-gcc-4.7.patch b/meta/recipes-support/beecrypt/beecrypt/fix-for-gcc-4.7.patch
new file mode 100644
index 0000000..8144e39
--- /dev/null
+++ b/meta/recipes-support/beecrypt/beecrypt/fix-for-gcc-4.7.patch
@@ -0,0 +1,39 @@
1
2gcc-4.7 seems to be stricter about some things, so follow
3the suggestion from the error/note information.
4
5 ../../x86_64-linux-libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..
6 x86_64-linux-libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -isyst
7 In file included from ../../include/beecrypt/c++/util/Hashtable.h:42:0,
8 from ../../include/beecrypt/c++/util/Properties.h:36,
9 from Properties.cxx:25:
10 ../../include/beecrypt/c++/util/AbstractSet.h: In instantiation of 'bool beecrypt::uti
11 Properties.cxx:228:1: required from here
12 ../../include/beecrypt/c++/util/AbstractSet.h:59:27: error: 'containsAll' was not decl
13 ../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: declarations in dependent b
14 ../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: use 'this->containsAll' ins
15 ../../include/beecrypt/c++/util/AbstractSet.h: In instantiation of 'bool beecrypt::uti
16 Properties.cxx:228:1: required from here
17 ../../include/beecrypt/c++/util/AbstractSet.h:59:27: error: 'containsAll' was not decl
18 ../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: declarations in dependent b
19 ../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: use 'this->containsAll' ins
20
21
22Upstream-Status: Pending
23
24Signed-off-by: Saul Wold <sgw@linux.intel.com>
25
26
27Index: beecrypt-4.2.1/include/beecrypt/c++/util/AbstractSet.h
28===================================================================
29--- beecrypt-4.2.1.orig/include/beecrypt/c++/util/AbstractSet.h
30+++ beecrypt-4.2.1/include/beecrypt/c++/util/AbstractSet.h
31@@ -56,7 +56,7 @@ namespace beecrypt {
32 if (c->size() != size())
33 return false;
34
35- return containsAll(*c);
36+ return this->containsAll(*c);
37 }
38 return false;
39 }
diff --git a/meta/recipes-support/beecrypt/beecrypt/fix-security.patch b/meta/recipes-support/beecrypt/beecrypt/fix-security.patch
new file mode 100644
index 0000000..6cb0c00
--- /dev/null
+++ b/meta/recipes-support/beecrypt/beecrypt/fix-security.patch
@@ -0,0 +1,47 @@
1Fix visibility of various C++ functions, inspired by a similar patch in the Fink
2project:
3http://www.mail-archive.com/fink-commits@lists.sourceforge.net/msg75742.html
4
5JL 05/07/10
6
7Upstream-Status: Pending
8
9Index: beecrypt-4.2.1/include/beecrypt/c++/beeyond/BeeCertificate.h
10===================================================================
11--- beecrypt-4.2.1.orig/include/beecrypt/c++/beeyond/BeeCertificate.h 2010-11-26 17:22:57.000000000 +0800
12+++ beecrypt-4.2.1/include/beecrypt/c++/beeyond/BeeCertificate.h 2010-11-26 17:23:01.000000000 +0800
13@@ -147,13 +147,13 @@
14 mutable bytearray* enc;
15
16 BeeCertificate();
17- BeeCertificate(InputStream& in) throw (IOException);
18
19 void encodeTBS(DataOutputStream& out) const throw (IOException);
20
21 bytearray* encodeTBS() const throw (CertificateEncodingException);
22
23 public:
24+ BeeCertificate(InputStream& in) throw (IOException);
25 BeeCertificate(const BeeCertificate&) throw (CloneNotSupportedException);
26 virtual ~BeeCertificate();
27
28Index: beecrypt-4.2.1/include/beecrypt/c++/security/Security.h
29===================================================================
30--- beecrypt-4.2.1.orig/include/beecrypt/c++/security/Security.h 2010-11-26 17:20:55.000000000 +0800
31+++ beecrypt-4.2.1/include/beecrypt/c++/security/Security.h 2010-11-26 17:21:36.000000000 +0800
32@@ -61,7 +61,6 @@
33 friend class SecureRandom;
34 friend class Signature;
35
36- private:
37 struct spi
38 {
39 Object* cspi;
40@@ -76,6 +75,7 @@
41 static spi* getSpi(const String& algo, const String& type, const Provider&) throw (NoSuchAlgorithmException);
42 static spi* getFirstSpi(const String& type);
43
44+ private:
45 static const String& getKeyStoreDefault();
46
47 static bool _init;
diff --git a/meta/recipes-support/beecrypt/beecrypt/run-ptest b/meta/recipes-support/beecrypt/beecrypt/run-ptest
new file mode 100644
index 0000000..2ee294d
--- /dev/null
+++ b/meta/recipes-support/beecrypt/beecrypt/run-ptest
@@ -0,0 +1,5 @@
1#!/bin/sh
2
3cd tests
4for i in `ls`; do ./$i; if [ $? -eq 0 ]; then echo "PASS: $i"; \
5 else echo "FAIL: $i"; fi; done
diff --git a/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb b/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb
new file mode 100644
index 0000000..1e626f1
--- /dev/null
+++ b/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb
@@ -0,0 +1,48 @@
1# Beecrypt OE build file
2# Copyright (C) 2004-2005, Advanced Micro Devices, Inc. All Rights Reserved
3# Released under the MIT license (see packages/COPYING)
4
5SUMMARY = "A general-purpose cryptography library"
6HOMEPAGE = "http://sourceforge.net/projects/beecrypt"
7
8SRC_URI = "${SOURCEFORGE_MIRROR}/beecrypt/beecrypt-${PV}.tar.gz \
9 file://disable-icu-check.patch \
10 file://fix-security.patch \
11 file://fix-for-gcc-4.7.patch \
12 file://run-ptest \
13 file://beecrypt-enable-ptest-support.patch \
14 file://add-option-dev-dsp.patch \
15 "
16
17SRC_URI[md5sum] = "8441c014170823f2dff97e33df55af1e"
18SRC_URI[sha256sum] = "286f1f56080d1a6b1d024003a5fa2158f4ff82cae0c6829d3c476a4b5898c55d"
19
20LICENSE = "GPLv2 & LGPLv2.1"
21LIC_FILES_CHKSUM = "file://COPYING;md5=9894370afd5dfe7d02b8d14319e729a1 \
22 file://COPYING.LIB;md5=dcf3c825659e82539645da41a7908589 \
23 file://include/beecrypt/beecrypt.h;endline=20;md5=47a93eef539aac237eef86297a4d71c1"
24
25PR = "r3"
26
27inherit autotools multilib_header ptest
28acpaths=""
29
30do_install_append() {
31 oe_multilib_header beecrypt/gnu.h
32}
33
34EXTRA_OECONF = "--without-python --enable-shared --enable-static --disable-openmp --with-java=no"
35
36PACKAGECONFIG ??= ""
37PACKAGECONFIG[cplusplus] = "--with-cplusplus,--without-cplusplus,icu"
38
39FILES_${PN} = "${sysconfdir} ${libdir}/*.so.* ${libdir}/${BPN}/*.so.*"
40FILES_${PN}-dev += "${libdir}/${BPN}/*.so ${libdir}/${BPN}/*.la"
41FILES_${PN}-staticdev += "${libdir}/${BPN}/*.a"
42
43BBCLASSEXTEND = "native nativesdk"
44
45do_install_ptest () {
46 mkdir ${D}${PTEST_PATH}/tests
47 cp -r ${B}/tests/.libs/test* ${D}${PTEST_PATH}/tests
48}
diff --git a/meta/recipes-support/boost/bjam-native_1.56.0.bb b/meta/recipes-support/boost/bjam-native_1.56.0.bb
new file mode 100644
index 0000000..d85d1a9
--- /dev/null
+++ b/meta/recipes-support/boost/bjam-native_1.56.0.bb
@@ -0,0 +1,15 @@
1include boost-${PV}.inc
2
3SUMMARY = "Portable Boost.Jam build tool for boost"
4SECTION = "devel"
5
6inherit native
7
8do_compile() {
9 ./bootstrap.sh --with-toolset=gcc
10}
11
12do_install() {
13 install -d ${D}${bindir}/
14 install -c -m 755 bjam ${D}${bindir}/
15}
diff --git a/meta/recipes-support/boost/boost-1.56.0.inc b/meta/recipes-support/boost/boost-1.56.0.inc
new file mode 100644
index 0000000..24c32b4
--- /dev/null
+++ b/meta/recipes-support/boost/boost-1.56.0.inc
@@ -0,0 +1,19 @@
1# The Boost web site provides free peer-reviewed portable
2# C++ source libraries. The emphasis is on libraries which
3# work well with the C++ Standard Library. The libraries are
4# intended to be widely useful, and are in regular use by
5# thousands of programmers across a broad spectrum of applications.
6HOMEPAGE = "http://www.boost.org/"
7LICENSE = "BSL-1.0 & MIT & Python-2.0"
8LIC_FILES_CHKSUM = "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
9
10BOOST_VER = "${@"_".join(d.getVar("PV",1).split("."))}"
11BOOST_MAJ = "${@"_".join(d.getVar("PV",1).split(".")[0:2])}"
12BOOST_P = "boost_${BOOST_VER}"
13
14SRC_URI = "${SOURCEFORGE_MIRROR}/boost/${BOOST_P}.tar.bz2"
15
16SRC_URI[md5sum] = "a744cf167b05d72335f27c88115f211d"
17SRC_URI[sha256sum] = "134732acaf3a6e7eba85988118d943f0fa6b7f0850f65131fff89823ad30ff1d"
18
19S = "${WORKDIR}/${BOOST_P}"
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc
new file mode 100644
index 0000000..069b1c8
--- /dev/null
+++ b/meta/recipes-support/boost/boost.inc
@@ -0,0 +1,182 @@
1SUMMARY = "Free peer-reviewed portable C++ source libraries"
2SECTION = "libs"
3DEPENDS = "bjam-native zlib bzip2"
4
5ARM_INSTRUCTION_SET = "arm"
6
7BOOST_LIBS = "\
8 date_time \
9 filesystem \
10 graph \
11 iostreams \
12 program_options \
13 regex \
14 serialization \
15 signals \
16 system \
17 test \
18 thread \
19 "
20
21# optional boost-python library
22PACKAGECONFIG ??= ""
23PACKAGECONFIG[python] = ",,python"
24BOOST_LIBS += "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}"
25inherit python-dir
26PYTHON_ROOT = "${STAGING_DIR_HOST}/${prefix}"
27
28# Make a package for each library, plus -dev
29PACKAGES = "${PN}-dbg ${BOOST_PACKAGES}"
30python __anonymous () {
31 packages = []
32 extras = []
33 for lib in d.getVar('BOOST_LIBS', True).split( ):
34 pkg = "boost-%s" % lib.replace("_", "-")
35 extras.append("--with-%s" % lib)
36 packages.append(pkg)
37 if not d.getVar("FILES_%s" % pkg, True):
38 d.setVar("FILES_%s" % pkg, "${libdir}/libboost_%s*.so.*" % lib)
39 d.setVar("BOOST_PACKAGES", " ".join(packages))
40 d.setVar("BJAM_EXTRA", " ".join(extras))
41}
42
43# Override the contents of specific packages
44FILES_boost-serialization = "${libdir}/libboost_serialization*.so.* \
45 ${libdir}/libboost_wserialization*.so.*"
46FILES_boost-test = "${libdir}/libboost_prg_exec_monitor*.so.* \
47 ${libdir}/libboost_unit_test_framework*.so.*"
48
49# -dev last to pick up the remaining stuff
50PACKAGES += "${PN}-dev ${PN}-staticdev"
51FILES_${PN}-dev = "${includedir} ${libdir}/libboost_*.so"
52FILES_${PN}-staticdev = "${libdir}/libboost_*.a"
53
54# "boost" is a metapackage which pulls in all boost librabries
55PACKAGES += "${PN}"
56RRECOMMENDS_${PN} += "${BOOST_PACKAGES}"
57RRECOMMENDS_${PN}_class-native = ""
58ALLOW_EMPTY_${PN} = "1"
59
60# to avoid GNU_HASH QA errors added LDFLAGS to ARCH; a little bit dirty but at least it works
61TARGET_CC_ARCH += " ${LDFLAGS}"
62
63# Oh yippee, a new build system, it's sooo cooool I could eat my own
64# foot. inlining=on lets the compiler choose, I think. At least this
65# stuff is documented...
66# NOTE: if you leave <debug-symbols>on then in a debug build the build sys
67# objcopy will be invoked, and that won't work. Building debug apparently
68# requires hacking gcc-tools.jam
69#
70# Sometimes I wake up screaming. Famous figures are gathered in the nightmare,
71# Steve Bourne, Larry Wall, the whole of the ANSI C committee. They're just
72# standing there, waiting, but the truely terrifying thing is what they carry
73# in their hands. At first sight each seems to bear the same thing, but it is
74# not so for the forms in their grasp are ever so slightly different one from
75# the other. Each is twisted in some grotesque way from the other to make each
76# an unspeakable perversion impossible to perceive without the onset of madness.
77# True insanity awaits anyone who perceives all of these horrors together.
78#
79# Quotation marks, there might be an easier way to do this, but I can't find
80# it. The problem is that the user.hpp configuration file must receive a
81# pre-processor macro defined as the appropriate string - complete with "'s
82# around it. (<> is a possibility here but the danger to that is that the
83# failure case interprets the < and > as shell redirections, creating
84# random files in the source tree.)
85#
86#bjam: '-DBOOST_PLATFORM_CONFIG=\"config\"'
87#do_compile: '-sGCC=... '"'-DBOOST_PLATFORM_CONFIG=\"config\"'"
88SQD = '"'
89EQD = '\"'
90#boost.bb: "... '-sGCC=... '${SQD}'-DBOOST_PLATFORM_CONFIG=${EQD}config${EQD}'${SQD} ..."
91BJAM_CONF = "${SQD}'-DBOOST_PLATFORM_CONFIG=${EQD}boost/config/platform/${TARGET_OS}.hpp${EQD}'${SQD}"
92
93BJAM_TOOLS = "--ignore-site-config \
94 '-sTOOLS=gcc' \
95 '-sGCC=${CC} '${BJAM_CONF} \
96 '-sGXX=${CXX} '${BJAM_CONF} \
97 '-sGCC_INCLUDE_DIRECTORY=${STAGING_INCDIR}' \
98 '-sGCC_STDLIB_DIRECTORY=${STAGING_LIBDIR}' \
99 '-sBUILD=release <optimization>space <threading>multi <inlining>on <debug-symbols>off' \
100 '-sPYTHON_VERSION=${PYTHON_BASEVERSION}' \
101 '-sPYTHON_ROOT=${PYTHON_ROOT}' \
102 '--layout=system' \
103 "
104
105# use PARALLEL_MAKE to speed up the build, but limit it by -j 64, greater paralelism causes bjam to segfault or to ignore -j
106# https://svn.boost.org/trac/boost/ticket/7634
107def get_boost_parallel_make(bb, d):
108 pm = d.getVar('PARALLEL_MAKE', True)
109 if pm:
110 # look for '-j' and throw other options (e.g. '-l') away
111 # because they might have different meaning in bjam
112 pm = pm.split()
113 while pm:
114 v = None
115 opt = pm.pop(0)
116 if opt == '-j':
117 v = pm.pop(0)
118 elif opt.startswith('-j'):
119 v = opt[2:].strip()
120 else:
121 v = None
122
123 if v:
124 v = min(64, int(v))
125 return '-j' + str(v)
126
127 return ""
128
129BOOST_PARALLEL_MAKE = "${@get_boost_parallel_make(bb, d)}"
130BJAM_OPTS = '${BOOST_PARALLEL_MAKE} \
131 ${BJAM_TOOLS} \
132 -sBOOST_BUILD_USER_CONFIG=${S}/tools/build/example/user-config.jam \
133 --builddir=${S}/${TARGET_SYS} \
134 --disable-icu \
135 ${BJAM_EXTRA}'
136
137# Native compilation of bzip2 isn't working
138BJAM_OPTS_append_class-native = ' -sNO_BZIP2=1'
139
140do_boostconfig() {
141 cp -f boost/config/platform/linux.hpp boost/config/platform/linux-gnueabi.hpp
142
143 # D2194:Fixing the failure of "error: duplicate initialization of gcc with the following parameters" during compilation.
144 if ! grep -qe "^using gcc : 4.3.1" ${S}/tools/build/example/user-config.jam
145 then
146 echo 'using gcc : 4.3.1 : ${CXX} : <cflags>"${CFLAGS}" <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;' >> ${S}/tools/build/example/user-config.jam
147 fi
148
149 echo "using python : ${PYTHON_BASEVERSION} : : ${STAGING_INCDIR}/python${PYTHON_BASEVERSION} ;" >> ${S}/tools/build/example/user-config.jam
150
151 CC="${BUILD_CC}" CFLAGS="${BUILD_CFLAGS}" ./bootstrap.sh --with-bjam=bjam --with-toolset=gcc --with-python-root=${PYTHON_ROOT}
152 sed -i '/^using python/d' project-config.jam
153}
154
155addtask do_boostconfig after do_patch before do_configure
156
157do_compile() {
158 set -ex
159 bjam ${BJAM_OPTS} --prefix=${prefix} \
160 --exec-prefix=${exec_prefix} \
161 --libdir=${libdir} \
162 --includedir=${includedir}
163}
164
165do_install() {
166 set -ex
167 bjam ${BJAM_OPTS} \
168 --libdir=${D}${libdir} \
169 --includedir=${D}${includedir} \
170 install
171 for lib in ${BOOST_LIBS}; do
172 if [ -e ${D}${libdir}/libboost_${lib}.a ]; then
173 ln -s libboost_${lib}.a ${D}${libdir}/libboost_${lib}-mt.a
174 fi
175 if [ -e ${D}${libdir}/libboost_${lib}.so ]; then
176 ln -s libboost_${lib}.so ${D}${libdir}/libboost_${lib}-mt.so
177 fi
178 done
179
180}
181
182BBCLASSEXTEND = "native"
diff --git a/meta/recipes-support/boost/boost/0001-Added-support-for-extending-operations-to-GCC-atomic.patch b/meta/recipes-support/boost/boost/0001-Added-support-for-extending-operations-to-GCC-atomic.patch
new file mode 100644
index 0000000..feece81
--- /dev/null
+++ b/meta/recipes-support/boost/boost/0001-Added-support-for-extending-operations-to-GCC-atomic.patch
@@ -0,0 +1,412 @@
1From 415db7054723291042e4ff1ffa8fdd5bc8b07163 Mon Sep 17 00:00:00 2001
2From: Andrey Semashev <andrey.semashev@gmail.com>
3Date: Sat, 27 Sep 2014 20:40:09 +0400
4Subject: [PATCH] Added support for extending operations to GCC atomic backend.
5
6Fix for #10446. Some platforms (e.g. Raspberry Pi) only support atomic ops of some particular size but not less. Use extending arithmetic operations for these platforms. Also, make sure bools are always treated as 8-bit values, even if the actual type is larger. This makes its use in atomic<>, atomic_flag and lock pool more consistent.
7
8Upstream-Status: Backport [https://svn.boost.org/trac/boost/ticket/10446]
9Signed-off-by: Peter A. Bigot <pab@pabigot.com>
10
11---
12 include/boost/atomic/capabilities.hpp | 1 +
13 include/boost/atomic/detail/atomic_template.hpp | 2 +-
14 include/boost/atomic/detail/caps_gcc_atomic.hpp | 82 +++++------
15 include/boost/atomic/detail/ops_gcc_atomic.hpp | 184 +++++++++++++++++++++---
16 4 files changed, 206 insertions(+), 63 deletions(-)
17
18diff --git a/include/boost/atomic/capabilities.hpp b/include/boost/atomic/capabilities.hpp
19index 658dd22..05bbb0f 100644
20--- a/include/boost/atomic/capabilities.hpp
21+++ b/include/boost/atomic/capabilities.hpp
22@@ -142,6 +142,7 @@
23 #define BOOST_ATOMIC_ADDRESS_LOCK_FREE BOOST_ATOMIC_POINTER_LOCK_FREE
24
25 #ifndef BOOST_ATOMIC_BOOL_LOCK_FREE
26+// We store bools in 1-byte storage in all backends
27 #define BOOST_ATOMIC_BOOL_LOCK_FREE BOOST_ATOMIC_INT8_LOCK_FREE
28 #endif
29
30diff --git a/include/boost/atomic/detail/atomic_template.hpp b/include/boost/atomic/detail/atomic_template.hpp
31index 4fd6d79..bc3922a 100644
32--- a/include/boost/atomic/detail/atomic_template.hpp
33+++ b/include/boost/atomic/detail/atomic_template.hpp
34@@ -234,7 +234,7 @@ class base_atomic< bool, int >
35 {
36 private:
37 typedef bool value_type;
38- typedef atomics::detail::operations< storage_size_of< value_type >::value, false > operations;
39+ typedef atomics::detail::operations< 1u, false > operations;
40
41 protected:
42 typedef value_type value_arg_type;
43diff --git a/include/boost/atomic/detail/caps_gcc_atomic.hpp b/include/boost/atomic/detail/caps_gcc_atomic.hpp
44index 8299ad0..f4e7a70 100644
45--- a/include/boost/atomic/detail/caps_gcc_atomic.hpp
46+++ b/include/boost/atomic/detail/caps_gcc_atomic.hpp
47@@ -29,66 +29,48 @@
48 #define BOOST_ATOMIC_DETAIL_X86_HAS_CMPXCHG16B 1
49 #endif
50
51-#if __GCC_ATOMIC_BOOL_LOCK_FREE == 2
52-#define BOOST_ATOMIC_FLAG_LOCK_FREE 2
53-#else
54-#define BOOST_ATOMIC_FLAG_LOCK_FREE 0
55-#endif
56-#if __GCC_ATOMIC_CHAR_LOCK_FREE == 2
57-#define BOOST_ATOMIC_CHAR_LOCK_FREE 2
58-#else
59-#define BOOST_ATOMIC_CHAR_LOCK_FREE 0
60-#endif
61-#if __GCC_ATOMIC_CHAR16_T_LOCK_FREE == 2
62-#define BOOST_ATOMIC_CHAR16_T_LOCK_FREE 2
63-#else
64-#define BOOST_ATOMIC_CHAR16_T_LOCK_FREE 0
65-#endif
66-#if __GCC_ATOMIC_CHAR32_T_LOCK_FREE == 2
67-#define BOOST_ATOMIC_CHAR32_T_LOCK_FREE 2
68+#if defined(BOOST_ATOMIC_DETAIL_X86_HAS_CMPXCHG16B) && (defined(BOOST_HAS_INT128) || !defined(BOOST_NO_ALIGNMENT))
69+#define BOOST_ATOMIC_INT128_LOCK_FREE 2
70 #else
71-#define BOOST_ATOMIC_CHAR32_T_LOCK_FREE 0
72+#define BOOST_ATOMIC_INT128_LOCK_FREE 0
73 #endif
74-#if __GCC_ATOMIC_WCHAR_T_LOCK_FREE == 2
75-#define BOOST_ATOMIC_WCHAR_T_LOCK_FREE 2
76+
77+#if __GCC_ATOMIC_LLONG_LOCK_FREE == 2
78+#define BOOST_ATOMIC_LLONG_LOCK_FREE 2
79 #else
80-#define BOOST_ATOMIC_WCHAR_T_LOCK_FREE 0
81+#define BOOST_ATOMIC_LLONG_LOCK_FREE BOOST_ATOMIC_INT128_LOCK_FREE
82 #endif
83-#if __GCC_ATOMIC_SHORT_LOCK_FREE == 2
84-#define BOOST_ATOMIC_SHORT_LOCK_FREE 2
85+
86+#if __GCC_ATOMIC_LONG_LOCK_FREE == 2
87+#define BOOST_ATOMIC_LONG_LOCK_FREE 2
88 #else
89-#define BOOST_ATOMIC_SHORT_LOCK_FREE 0
90+#define BOOST_ATOMIC_LONG_LOCK_FREE BOOST_ATOMIC_LLONG_LOCK_FREE
91 #endif
92+
93 #if __GCC_ATOMIC_INT_LOCK_FREE == 2
94 #define BOOST_ATOMIC_INT_LOCK_FREE 2
95 #else
96-#define BOOST_ATOMIC_INT_LOCK_FREE 0
97-#endif
98-#if __GCC_ATOMIC_LONG_LOCK_FREE == 2
99-#define BOOST_ATOMIC_LONG_LOCK_FREE 2
100-#else
101-#define BOOST_ATOMIC_LONG_LOCK_FREE 0
102+#define BOOST_ATOMIC_INT_LOCK_FREE BOOST_ATOMIC_LONG_LOCK_FREE
103 #endif
104-#if __GCC_ATOMIC_LLONG_LOCK_FREE == 2
105-#define BOOST_ATOMIC_LLONG_LOCK_FREE 2
106+
107+#if __GCC_ATOMIC_SHORT_LOCK_FREE == 2
108+#define BOOST_ATOMIC_SHORT_LOCK_FREE 2
109 #else
110-#define BOOST_ATOMIC_LLONG_LOCK_FREE 0
111+#define BOOST_ATOMIC_SHORT_LOCK_FREE BOOST_ATOMIC_INT_LOCK_FREE
112 #endif
113-#if defined(BOOST_ATOMIC_DETAIL_X86_HAS_CMPXCHG16B) && (defined(BOOST_HAS_INT128) || !defined(BOOST_NO_ALIGNMENT))
114-#define BOOST_ATOMIC_INT128_LOCK_FREE 2
115+
116+#if __GCC_ATOMIC_CHAR_LOCK_FREE == 2
117+#define BOOST_ATOMIC_CHAR_LOCK_FREE 2
118 #else
119-#define BOOST_ATOMIC_INT128_LOCK_FREE 0
120+#define BOOST_ATOMIC_CHAR_LOCK_FREE BOOST_ATOMIC_SHORT_LOCK_FREE
121 #endif
122+
123 #if __GCC_ATOMIC_POINTER_LOCK_FREE == 2
124 #define BOOST_ATOMIC_POINTER_LOCK_FREE 2
125 #else
126 #define BOOST_ATOMIC_POINTER_LOCK_FREE 0
127 #endif
128-#if __GCC_ATOMIC_BOOL_LOCK_FREE == 2
129-#define BOOST_ATOMIC_BOOL_LOCK_FREE 2
130-#else
131-#define BOOST_ATOMIC_BOOL_LOCK_FREE 0
132-#endif
133+
134
135 #define BOOST_ATOMIC_INT8_LOCK_FREE BOOST_ATOMIC_CHAR_LOCK_FREE
136
137@@ -128,6 +110,24 @@
138 #define BOOST_ATOMIC_INT64_LOCK_FREE 0
139 #endif
140
141+
142+#if __GCC_ATOMIC_WCHAR_T_LOCK_FREE == 2
143+#define BOOST_ATOMIC_WCHAR_T_LOCK_FREE 2
144+#elif BOOST_ATOMIC_DETAIL_SIZEOF_WCHAR_T == 8
145+#define BOOST_ATOMIC_WCHAR_T_LOCK_FREE BOOST_ATOMIC_INT64_LOCK_FREE
146+#elif BOOST_ATOMIC_DETAIL_SIZEOF_WCHAR_T == 4
147+#define BOOST_ATOMIC_WCHAR_T_LOCK_FREE BOOST_ATOMIC_INT32_LOCK_FREE
148+#elif BOOST_ATOMIC_DETAIL_SIZEOF_WCHAR_T == 2
149+#define BOOST_ATOMIC_WCHAR_T_LOCK_FREE BOOST_ATOMIC_INT16_LOCK_FREE
150+#elif BOOST_ATOMIC_DETAIL_SIZEOF_WCHAR_T == 1
151+#define BOOST_ATOMIC_WCHAR_T_LOCK_FREE BOOST_ATOMIC_INT8_LOCK_FREE
152+#else
153+#define BOOST_ATOMIC_WCHAR_T_LOCK_FREE 0
154+#endif
155+
156+#define BOOST_ATOMIC_CHAR32_T_LOCK_FREE BOOST_ATOMIC_INT32_LOCK_FREE
157+#define BOOST_ATOMIC_CHAR16_T_LOCK_FREE BOOST_ATOMIC_INT16_LOCK_FREE
158+
159 #define BOOST_ATOMIC_THREAD_FENCE 2
160 #define BOOST_ATOMIC_SIGNAL_FENCE 2
161
162diff --git a/include/boost/atomic/detail/ops_gcc_atomic.hpp b/include/boost/atomic/detail/ops_gcc_atomic.hpp
163index 2297791..2e4c37b 100644
164--- a/include/boost/atomic/detail/ops_gcc_atomic.hpp
165+++ b/include/boost/atomic/detail/ops_gcc_atomic.hpp
166@@ -24,6 +24,15 @@
167 #include <boost/atomic/detail/ops_cas_based.hpp>
168 #endif
169
170+#if __GCC_ATOMIC_LLONG_LOCK_FREE != BOOST_ATOMIC_LLONG_LOCK_FREE || __GCC_ATOMIC_LONG_LOCK_FREE != BOOST_ATOMIC_LONG_LOCK_FREE ||\
171+ __GCC_ATOMIC_INT_LOCK_FREE != BOOST_ATOMIC_INT_LOCK_FREE || __GCC_ATOMIC_SHORT_LOCK_FREE != BOOST_ATOMIC_SHORT_LOCK_FREE ||\
172+ __GCC_ATOMIC_CHAR_LOCK_FREE != BOOST_ATOMIC_CHAR_LOCK_FREE || __GCC_ATOMIC_BOOL_LOCK_FREE != BOOST_ATOMIC_BOOL_LOCK_FREE ||\
173+ __GCC_ATOMIC_WCHAR_T_LOCK_FREE != BOOST_ATOMIC_WCHAR_T_LOCK_FREE
174+// There are platforms where we need to use larger storage types
175+#include <boost/atomic/detail/int_sizes.hpp>
176+#include <boost/atomic/detail/ops_extending_cas_based.hpp>
177+#endif
178+
179 #ifdef BOOST_HAS_PRAGMA_ONCE
180 #pragma once
181 #endif
182@@ -154,73 +163,206 @@ struct gcc_atomic_operations
183 }
184 };
185
186-#if BOOST_ATOMIC_INT8_LOCK_FREE > 0
187+#if BOOST_ATOMIC_INT128_LOCK_FREE > 0
188+#if defined(__clang__) && defined(BOOST_ATOMIC_DETAIL_X86_HAS_CMPXCHG16B)
189+
190+// Workaround for clang bug: http://llvm.org/bugs/show_bug.cgi?id=19149
191+// Clang 3.4 does not implement 128-bit __atomic* intrinsics even though it defines __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
192 template< bool Signed >
193-struct operations< 1u, Signed > :
194- public gcc_atomic_operations< typename make_storage_type< 1u, Signed >::type >
195+struct operations< 16u, Signed > :
196+ public cas_based_operations< gcc_dcas_x86_64< Signed > >
197 {
198 };
199+
200+#else
201+
202+template< bool Signed >
203+struct operations< 16u, Signed > :
204+ public gcc_atomic_operations< typename make_storage_type< 16u, Signed >::type >
205+{
206+};
207+
208+#endif
209 #endif
210
211-#if BOOST_ATOMIC_INT16_LOCK_FREE > 0
212+
213+#if BOOST_ATOMIC_INT64_LOCK_FREE > 0
214+#if defined(__clang__) && defined(BOOST_ATOMIC_DETAIL_X86_HAS_CMPXCHG8B)
215+
216+// Workaround for clang bug http://llvm.org/bugs/show_bug.cgi?id=19355
217 template< bool Signed >
218-struct operations< 2u, Signed > :
219- public gcc_atomic_operations< typename make_storage_type< 2u, Signed >::type >
220+struct operations< 8u, Signed > :
221+ public cas_based_operations< gcc_dcas_x86< Signed > >
222+{
223+};
224+
225+#elif (BOOST_ATOMIC_DETAIL_SIZEOF_LLONG == 8 && __GCC_ATOMIC_LLONG_LOCK_FREE != BOOST_ATOMIC_LLONG_LOCK_FREE) ||\
226+ (BOOST_ATOMIC_DETAIL_SIZEOF_LONG == 8 && __GCC_ATOMIC_LONG_LOCK_FREE != BOOST_ATOMIC_LONG_LOCK_FREE) ||\
227+ (BOOST_ATOMIC_DETAIL_SIZEOF_INT == 8 && __GCC_ATOMIC_INT_LOCK_FREE != BOOST_ATOMIC_INT_LOCK_FREE) ||\
228+ (BOOST_ATOMIC_DETAIL_SIZEOF_SHORT == 8 && __GCC_ATOMIC_SHORT_LOCK_FREE != BOOST_ATOMIC_SHORT_LOCK_FREE) ||\
229+ (BOOST_ATOMIC_DETAIL_SIZEOF_WCHAR_T == 8 && __GCC_ATOMIC_WCHAR_T_LOCK_FREE != BOOST_ATOMIC_WCHAR_T_LOCK_FREE)
230+
231+#define BOOST_ATOMIC_DETAIL_INT64_EXTENDED
232+
233+template< bool Signed >
234+struct operations< 8u, Signed > :
235+ public extending_cas_based_operations< gcc_atomic_operations< typename make_storage_type< 16u, Signed >::type >, 8u, Signed >
236 {
237 };
238+
239+#else
240+
241+template< bool Signed >
242+struct operations< 8u, Signed > :
243+ public gcc_atomic_operations< typename make_storage_type< 8u, Signed >::type >
244+{
245+};
246+
247+#endif
248 #endif
249
250 #if BOOST_ATOMIC_INT32_LOCK_FREE > 0
251+#if (BOOST_ATOMIC_DETAIL_SIZEOF_LLONG == 4 && __GCC_ATOMIC_LLONG_LOCK_FREE != BOOST_ATOMIC_LLONG_LOCK_FREE) ||\
252+ (BOOST_ATOMIC_DETAIL_SIZEOF_LONG == 4 && __GCC_ATOMIC_LONG_LOCK_FREE != BOOST_ATOMIC_LONG_LOCK_FREE) ||\
253+ (BOOST_ATOMIC_DETAIL_SIZEOF_INT == 4 && __GCC_ATOMIC_INT_LOCK_FREE != BOOST_ATOMIC_INT_LOCK_FREE) ||\
254+ (BOOST_ATOMIC_DETAIL_SIZEOF_SHORT == 4 && __GCC_ATOMIC_SHORT_LOCK_FREE != BOOST_ATOMIC_SHORT_LOCK_FREE) ||\
255+ (BOOST_ATOMIC_DETAIL_SIZEOF_WCHAR_T == 4 && __GCC_ATOMIC_WCHAR_T_LOCK_FREE != BOOST_ATOMIC_WCHAR_T_LOCK_FREE)
256+
257+#define BOOST_ATOMIC_DETAIL_INT32_EXTENDED
258+
259+#if !defined(BOOST_ATOMIC_DETAIL_INT64_EXTENDED)
260+
261+template< bool Signed >
262+struct operations< 4u, Signed > :
263+ public extending_cas_based_operations< gcc_atomic_operations< typename make_storage_type< 8u, Signed >::type >, 4u, Signed >
264+{
265+};
266+
267+#else // !defined(BOOST_ATOMIC_DETAIL_INT64_EXTENDED)
268+
269+template< bool Signed >
270+struct operations< 4u, Signed > :
271+ public extending_cas_based_operations< gcc_atomic_operations< typename make_storage_type< 16u, Signed >::type >, 4u, Signed >
272+{
273+};
274+
275+#endif // !defined(BOOST_ATOMIC_DETAIL_INT64_EXTENDED)
276+
277+#else
278+
279 template< bool Signed >
280 struct operations< 4u, Signed > :
281 public gcc_atomic_operations< typename make_storage_type< 4u, Signed >::type >
282 {
283 };
284+
285+#endif
286 #endif
287
288-#if BOOST_ATOMIC_INT64_LOCK_FREE > 0
289-#if defined(__clang__) && defined(BOOST_ATOMIC_DETAIL_X86_HAS_CMPXCHG8B)
290+#if BOOST_ATOMIC_INT16_LOCK_FREE > 0
291+#if (BOOST_ATOMIC_DETAIL_SIZEOF_LLONG == 2 && __GCC_ATOMIC_LLONG_LOCK_FREE != BOOST_ATOMIC_LLONG_LOCK_FREE) ||\
292+ (BOOST_ATOMIC_DETAIL_SIZEOF_LONG == 2 && __GCC_ATOMIC_LONG_LOCK_FREE != BOOST_ATOMIC_LONG_LOCK_FREE) ||\
293+ (BOOST_ATOMIC_DETAIL_SIZEOF_INT == 2 && __GCC_ATOMIC_INT_LOCK_FREE != BOOST_ATOMIC_INT_LOCK_FREE) ||\
294+ (BOOST_ATOMIC_DETAIL_SIZEOF_SHORT == 2 && __GCC_ATOMIC_SHORT_LOCK_FREE != BOOST_ATOMIC_SHORT_LOCK_FREE) ||\
295+ (BOOST_ATOMIC_DETAIL_SIZEOF_WCHAR_T == 2 && __GCC_ATOMIC_WCHAR_T_LOCK_FREE != BOOST_ATOMIC_WCHAR_T_LOCK_FREE)
296+
297+#define BOOST_ATOMIC_DETAIL_INT16_EXTENDED
298+
299+#if !defined(BOOST_ATOMIC_DETAIL_INT32_EXTENDED)
300
301-// Workaround for clang bug http://llvm.org/bugs/show_bug.cgi?id=19355
302 template< bool Signed >
303-struct operations< 8u, Signed > :
304- public cas_based_operations< gcc_dcas_x86< Signed > >
305+struct operations< 2u, Signed > :
306+ public extending_cas_based_operations< gcc_atomic_operations< typename make_storage_type< 4u, Signed >::type >, 2u, Signed >
307+{
308+};
309+
310+#elif !defined(BOOST_ATOMIC_DETAIL_INT64_EXTENDED)
311+
312+template< bool Signed >
313+struct operations< 2u, Signed > :
314+ public extending_cas_based_operations< gcc_atomic_operations< typename make_storage_type< 8u, Signed >::type >, 2u, Signed >
315 {
316 };
317
318 #else
319
320 template< bool Signed >
321-struct operations< 8u, Signed > :
322- public gcc_atomic_operations< typename make_storage_type< 8u, Signed >::type >
323+struct operations< 2u, Signed > :
324+ public extending_cas_based_operations< gcc_atomic_operations< typename make_storage_type< 16u, Signed >::type >, 2u, Signed >
325+{
326+};
327+
328+#endif
329+
330+#else
331+
332+template< bool Signed >
333+struct operations< 2u, Signed > :
334+ public gcc_atomic_operations< typename make_storage_type< 2u, Signed >::type >
335 {
336 };
337
338 #endif
339 #endif
340
341-#if BOOST_ATOMIC_INT128_LOCK_FREE > 0
342-#if defined(__clang__) && defined(BOOST_ATOMIC_DETAIL_X86_HAS_CMPXCHG16B)
343+#if BOOST_ATOMIC_INT8_LOCK_FREE > 0
344+#if (BOOST_ATOMIC_DETAIL_SIZEOF_LLONG == 1 && __GCC_ATOMIC_LLONG_LOCK_FREE != BOOST_ATOMIC_LLONG_LOCK_FREE) ||\
345+ (BOOST_ATOMIC_DETAIL_SIZEOF_LONG == 1 && __GCC_ATOMIC_LONG_LOCK_FREE != BOOST_ATOMIC_LONG_LOCK_FREE) ||\
346+ (BOOST_ATOMIC_DETAIL_SIZEOF_INT == 1 && __GCC_ATOMIC_INT_LOCK_FREE != BOOST_ATOMIC_INT_LOCK_FREE) ||\
347+ (BOOST_ATOMIC_DETAIL_SIZEOF_SHORT == 1 && __GCC_ATOMIC_SHORT_LOCK_FREE != BOOST_ATOMIC_SHORT_LOCK_FREE) ||\
348+ (BOOST_ATOMIC_DETAIL_SIZEOF_WCHAR_T == 1 && __GCC_ATOMIC_WCHAR_T_LOCK_FREE != BOOST_ATOMIC_WCHAR_T_LOCK_FREE) ||\
349+ (__GCC_ATOMIC_CHAR_LOCK_FREE != BOOST_ATOMIC_CHAR_LOCK_FREE) ||\
350+ (__GCC_ATOMIC_BOOL_LOCK_FREE != BOOST_ATOMIC_BOOL_LOCK_FREE)
351+
352+#if !defined(BOOST_ATOMIC_DETAIL_INT16_EXTENDED)
353
354-// Workaround for clang bug: http://llvm.org/bugs/show_bug.cgi?id=19149
355-// Clang 3.4 does not implement 128-bit __atomic* intrinsics even though it defines __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
356 template< bool Signed >
357-struct operations< 16u, Signed > :
358- public cas_based_operations< gcc_dcas_x86_64< Signed > >
359+struct operations< 1u, Signed > :
360+ public extending_cas_based_operations< gcc_atomic_operations< typename make_storage_type< 2u, Signed >::type >, 1u, Signed >
361+{
362+};
363+
364+#elif !defined(BOOST_ATOMIC_DETAIL_INT32_EXTENDED)
365+
366+template< bool Signed >
367+struct operations< 1u, Signed > :
368+ public extending_cas_based_operations< gcc_atomic_operations< typename make_storage_type< 4u, Signed >::type >, 1u, Signed >
369+{
370+};
371+
372+#elif !defined(BOOST_ATOMIC_DETAIL_INT64_EXTENDED)
373+
374+template< bool Signed >
375+struct operations< 1u, Signed > :
376+ public extending_cas_based_operations< gcc_atomic_operations< typename make_storage_type< 8u, Signed >::type >, 1u, Signed >
377 {
378 };
379
380 #else
381
382 template< bool Signed >
383-struct operations< 16u, Signed > :
384- public gcc_atomic_operations< typename make_storage_type< 16u, Signed >::type >
385+struct operations< 1u, Signed > :
386+ public extending_cas_based_operations< gcc_atomic_operations< typename make_storage_type< 16u, Signed >::type >, 1u, Signed >
387+{
388+};
389+
390+#endif
391+
392+#else
393+
394+template< bool Signed >
395+struct operations< 1u, Signed > :
396+ public gcc_atomic_operations< typename make_storage_type< 1u, Signed >::type >
397 {
398 };
399
400 #endif
401 #endif
402
403+#undef BOOST_ATOMIC_DETAIL_INT16_EXTENDED
404+#undef BOOST_ATOMIC_DETAIL_INT32_EXTENDED
405+#undef BOOST_ATOMIC_DETAIL_INT64_EXTENDED
406+
407 BOOST_FORCEINLINE void thread_fence(memory_order order) BOOST_NOEXCEPT
408 {
409 __atomic_thread_fence(atomics::detail::convert_memory_order_to_gcc(order));
410--
4111.8.5.5
412
diff --git a/meta/recipes-support/boost/boost/arm-intrinsics.patch b/meta/recipes-support/boost/boost/arm-intrinsics.patch
new file mode 100644
index 0000000..fe85c69
--- /dev/null
+++ b/meta/recipes-support/boost/boost/arm-intrinsics.patch
@@ -0,0 +1,55 @@
1Upstream-Status: Backport
2
38/17/2010 - rebased to 1.44 by Qing He <qing.he@intel.com>
4
5diff --git a/boost/smart_ptr/detail/atomic_count_sync.hpp b/boost/smart_ptr/detail/atomic_count_sync.hpp
6index b6359b5..78b1cc2 100644
7--- a/boost/smart_ptr/detail/atomic_count_sync.hpp
8+++ b/boost/smart_ptr/detail/atomic_count_sync.hpp
9@@ -33,17 +33,46 @@ public:
10
11 long operator++()
12 {
13+#ifdef __ARM_ARCH_7A__
14+ int v1, tmp;
15+ asm volatile ("1: \n\t"
16+ "ldrex %0, %1 \n\t"
17+ "add %0 ,%0, #1 \n\t"
18+ "strex %2, %0, %1 \n\t"
19+ "cmp %2, #0 \n\t"
20+ "bne 1b \n\t"
21+ : "=&r" (v1), "+Q"(value_), "=&r"(tmp)
22+ );
23+#else
24 return __sync_add_and_fetch( &value_, 1 );
25+#endif
26 }
27
28 long operator--()
29 {
30+#ifdef __ARM_ARCH_7A__
31+ int v1, tmp;
32+ asm volatile ("1: \n\t"
33+ "ldrex %0, %1 \n\t"
34+ "sub %0 ,%0, #1 \n\t"
35+ "strex %2, %0, %1 \n\t"
36+ "cmp %2, #0 \n\t"
37+ "bne 1b \n\t"
38+ : "=&r" (v1), "+Q"(value_), "=&r"(tmp)
39+ );
40+ return value_;
41+#else
42 return __sync_add_and_fetch( &value_, -1 );
43+#endif
44 }
45
46 operator long() const
47 {
48+#if __ARM_ARCH_7A__
49+ return value_;
50+#else
51 return __sync_fetch_and_add( &value_, 0 );
52+#endif
53 }
54
55 private:
diff --git a/meta/recipes-support/boost/boost_1.56.0.bb b/meta/recipes-support/boost/boost_1.56.0.bb
new file mode 100644
index 0000000..dcc77bb
--- /dev/null
+++ b/meta/recipes-support/boost/boost_1.56.0.bb
@@ -0,0 +1,7 @@
1include boost-${PV}.inc
2include boost.inc
3
4SRC_URI += "\
5 file://arm-intrinsics.patch \
6 file://0001-Added-support-for-extending-operations-to-GCC-atomic.patch;striplevel=2 \
7"
diff --git a/meta/recipes-support/ca-certificates/ca-certificates/0001-Update-mozilla-certdata.txt-to-version-1.98.patch b/meta/recipes-support/ca-certificates/ca-certificates/0001-Update-mozilla-certdata.txt-to-version-1.98.patch
new file mode 100644
index 0000000..19fa6bf
--- /dev/null
+++ b/meta/recipes-support/ca-certificates/ca-certificates/0001-Update-mozilla-certdata.txt-to-version-1.98.patch
@@ -0,0 +1,227 @@
1From 9d9b795cf1066eb62db3cb5bb5cf56bdf7159b98 Mon Sep 17 00:00:00 2001
2From: Michael Shuler <michael@pbandjelly.org>
3Date: Sat, 12 Apr 2014 07:56:56 -0500
4Subject: [PATCH] Update mozilla/certdata.txt to version 1.98
5
6This update only removes an untrusted cert for "Bogus kuix.de", which was
7used for testing by mozilla.
8
9Upstream-Status: Backport
10Signed-off-by: Saul Wold <sgw@linux.intel.com>
11
12---
13 mozilla/certdata.txt | 182 ---------------------------------------------------
14 mozilla/nssckbi.h | 4 +-
15 2 files changed, 2 insertions(+), 184 deletions(-)
16
17diff --git a/mozilla/certdata.txt b/mozilla/certdata.txt
18index ae9cbc7..ca4c66b 100644
19--- a/mozilla/certdata.txt
20+++ b/mozilla/certdata.txt
21@@ -21686,188 +21686,6 @@ CKA_TRUST_CODE_SIGNING CK_TRUST CKT_NSS_NOT_TRUSTED
22 CKA_TRUST_STEP_UP_APPROVED CK_BBOOL CK_FALSE
23
24 #
25-# Certificate "Bogus kuix.de"
26-#
27-# Issuer: CN=UTN-USERFirst-Hardware,OU=http://www.usertrust.com,O=The USERTRUST Network,L=Salt Lake City,ST=UT,C=US
28-# Serial Number:72:03:21:05:c5:0c:08:57:3d:8e:a5:30:4e:fe:e8:b0
29-# Subject: CN=kuix.de,OU=Comodo Trial SSL,OU=TEST USE ONLY - NO WARRANTY ATTACHED,OU=For Testing Purposes Only,O=Kai Engert,STREET=Test Street,L=Test City,ST=Test State,postalCode=12345,C=DE
30-# Not Valid Before: Thu Mar 17 00:00:00 2011
31-# Not Valid After : Sat Apr 16 23:59:59 2011
32-# Fingerprint (MD5): F7:5F:98:BC:D8:64:0C:16:E5:AE:EE:AA:00:F6:1F:07
33-# Fingerprint (SHA1): 82:61:4B:EC:97:48:15:DE:CC:9A:CC:6E:84:21:71:79:B2:64:20:40
34-CKA_CLASS CK_OBJECT_CLASS CKO_CERTIFICATE
35-CKA_TOKEN CK_BBOOL CK_TRUE
36-CKA_PRIVATE CK_BBOOL CK_FALSE
37-CKA_MODIFIABLE CK_BBOOL CK_FALSE
38-CKA_LABEL UTF8 "Bogus kuix.de"
39-CKA_CERTIFICATE_TYPE CK_CERTIFICATE_TYPE CKC_X_509
40-CKA_SUBJECT MULTILINE_OCTAL
41-\060\201\361\061\013\060\011\006\003\125\004\006\023\002\104\105
42-\061\016\060\014\006\003\125\004\021\023\005\061\062\063\064\065
43-\061\023\060\021\006\003\125\004\010\023\012\124\145\163\164\040
44-\123\164\141\164\145\061\022\060\020\006\003\125\004\007\023\011
45-\124\145\163\164\040\103\151\164\171\061\024\060\022\006\003\125
46-\004\011\023\013\124\145\163\164\040\123\164\162\145\145\164\061
47-\023\060\021\006\003\125\004\012\023\012\113\141\151\040\105\156
48-\147\145\162\164\061\042\060\040\006\003\125\004\013\023\031\106
49-\157\162\040\124\145\163\164\151\156\147\040\120\165\162\160\157
50-\163\145\163\040\117\156\154\171\061\055\060\053\006\003\125\004
51-\013\023\044\124\105\123\124\040\125\123\105\040\117\116\114\131
52-\040\055\040\116\117\040\127\101\122\122\101\116\124\131\040\101
53-\124\124\101\103\110\105\104\061\031\060\027\006\003\125\004\013
54-\023\020\103\157\155\157\144\157\040\124\162\151\141\154\040\123
55-\123\114\061\020\060\016\006\003\125\004\003\023\007\153\165\151
56-\170\056\144\145
57-END
58-CKA_ID UTF8 "0"
59-CKA_ISSUER MULTILINE_OCTAL
60-\060\201\227\061\013\060\011\006\003\125\004\006\023\002\125\123
61-\061\013\060\011\006\003\125\004\010\023\002\125\124\061\027\060
62-\025\006\003\125\004\007\023\016\123\141\154\164\040\114\141\153
63-\145\040\103\151\164\171\061\036\060\034\006\003\125\004\012\023
64-\025\124\150\145\040\125\123\105\122\124\122\125\123\124\040\116
65-\145\164\167\157\162\153\061\041\060\037\006\003\125\004\013\023
66-\030\150\164\164\160\072\057\057\167\167\167\056\165\163\145\162
67-\164\162\165\163\164\056\143\157\155\061\037\060\035\006\003\125
68-\004\003\023\026\125\124\116\055\125\123\105\122\106\151\162\163
69-\164\055\110\141\162\144\167\141\162\145
70-END
71-CKA_SERIAL_NUMBER MULTILINE_OCTAL
72-\002\020\162\003\041\005\305\014\010\127\075\216\245\060\116\376
73-\350\260
74-END
75-CKA_VALUE MULTILINE_OCTAL
76-\060\202\005\154\060\202\004\124\240\003\002\001\002\002\020\162
77-\003\041\005\305\014\010\127\075\216\245\060\116\376\350\260\060
78-\015\006\011\052\206\110\206\367\015\001\001\005\005\000\060\201
79-\227\061\013\060\011\006\003\125\004\006\023\002\125\123\061\013
80-\060\011\006\003\125\004\010\023\002\125\124\061\027\060\025\006
81-\003\125\004\007\023\016\123\141\154\164\040\114\141\153\145\040
82-\103\151\164\171\061\036\060\034\006\003\125\004\012\023\025\124
83-\150\145\040\125\123\105\122\124\122\125\123\124\040\116\145\164
84-\167\157\162\153\061\041\060\037\006\003\125\004\013\023\030\150
85-\164\164\160\072\057\057\167\167\167\056\165\163\145\162\164\162
86-\165\163\164\056\143\157\155\061\037\060\035\006\003\125\004\003
87-\023\026\125\124\116\055\125\123\105\122\106\151\162\163\164\055
88-\110\141\162\144\167\141\162\145\060\036\027\015\061\061\060\063
89-\061\067\060\060\060\060\060\060\132\027\015\061\061\060\064\061
90-\066\062\063\065\071\065\071\132\060\201\361\061\013\060\011\006
91-\003\125\004\006\023\002\104\105\061\016\060\014\006\003\125\004
92-\021\023\005\061\062\063\064\065\061\023\060\021\006\003\125\004
93-\010\023\012\124\145\163\164\040\123\164\141\164\145\061\022\060
94-\020\006\003\125\004\007\023\011\124\145\163\164\040\103\151\164
95-\171\061\024\060\022\006\003\125\004\011\023\013\124\145\163\164
96-\040\123\164\162\145\145\164\061\023\060\021\006\003\125\004\012
97-\023\012\113\141\151\040\105\156\147\145\162\164\061\042\060\040
98-\006\003\125\004\013\023\031\106\157\162\040\124\145\163\164\151
99-\156\147\040\120\165\162\160\157\163\145\163\040\117\156\154\171
100-\061\055\060\053\006\003\125\004\013\023\044\124\105\123\124\040
101-\125\123\105\040\117\116\114\131\040\055\040\116\117\040\127\101
102-\122\122\101\116\124\131\040\101\124\124\101\103\110\105\104\061
103-\031\060\027\006\003\125\004\013\023\020\103\157\155\157\144\157
104-\040\124\162\151\141\154\040\123\123\114\061\020\060\016\006\003
105-\125\004\003\023\007\153\165\151\170\056\144\145\060\201\237\060
106-\015\006\011\052\206\110\206\367\015\001\001\001\005\000\003\201
107-\215\000\060\201\211\002\201\201\000\270\252\216\365\227\107\007
108-\137\345\170\166\156\223\153\216\337\113\074\333\231\057\161\123
109-\051\156\245\363\044\117\110\045\043\100\001\354\012\025\013\354
110-\156\310\236\046\043\146\373\351\333\330\050\205\041\117\036\337
111-\173\114\345\143\301\013\262\142\126\224\123\313\277\234\241\115
112-\331\207\305\151\110\074\261\277\245\150\122\041\035\172\334\224
113-\117\104\156\107\045\035\237\234\222\322\067\035\371\133\133\262
114-\335\076\030\327\363\207\146\255\243\364\316\217\321\157\360\271
115-\264\357\261\352\025\143\012\316\201\002\003\001\000\001\243\202
116-\001\332\060\202\001\326\060\037\006\003\125\035\043\004\030\060
117-\026\200\024\241\162\137\046\033\050\230\103\225\135\007\067\325
118-\205\226\235\113\322\303\105\060\035\006\003\125\035\016\004\026
119-\004\024\100\217\071\046\234\114\206\043\231\306\121\011\246\346
120-\362\301\376\247\366\267\060\016\006\003\125\035\017\001\001\377
121-\004\004\003\002\005\240\060\014\006\003\125\035\023\001\001\377
122-\004\002\060\000\060\035\006\003\125\035\045\004\026\060\024\006
123-\010\053\006\001\005\005\007\003\001\006\010\053\006\001\005\005
124-\007\003\002\060\106\006\003\125\035\040\004\077\060\075\060\073
125-\006\014\053\006\001\004\001\262\061\001\002\001\003\004\060\053
126-\060\051\006\010\053\006\001\005\005\007\002\001\026\035\150\164
127-\164\160\163\072\057\057\163\145\143\165\162\145\056\143\157\155
128-\157\144\157\056\143\157\155\057\103\120\123\060\173\006\003\125
129-\035\037\004\164\060\162\060\070\240\066\240\064\206\062\150\164
130-\164\160\072\057\057\143\162\154\056\143\157\155\157\144\157\143
131-\141\056\143\157\155\057\125\124\116\055\125\123\105\122\106\151
132-\162\163\164\055\110\141\162\144\167\141\162\145\056\143\162\154
133-\060\066\240\064\240\062\206\060\150\164\164\160\072\057\057\143
134-\162\154\056\143\157\155\157\144\157\056\156\145\164\057\125\124
135-\116\055\125\123\105\122\106\151\162\163\164\055\110\141\162\144
136-\167\141\162\145\056\143\162\154\060\161\006\010\053\006\001\005
137-\005\007\001\001\004\145\060\143\060\073\006\010\053\006\001\005
138-\005\007\060\002\206\057\150\164\164\160\072\057\057\143\162\164
139-\056\143\157\155\157\144\157\143\141\056\143\157\155\057\125\124
140-\116\101\144\144\124\162\165\163\164\123\145\162\166\145\162\103
141-\101\056\143\162\164\060\044\006\010\053\006\001\005\005\007\060
142-\001\206\030\150\164\164\160\072\057\057\157\143\163\160\056\143
143-\157\155\157\144\157\143\141\056\143\157\155\060\037\006\003\125
144-\035\021\004\030\060\026\202\007\153\165\151\170\056\144\145\202
145-\013\167\167\167\056\153\165\151\170\056\144\145\060\015\006\011
146-\052\206\110\206\367\015\001\001\005\005\000\003\202\001\001\000
147-\216\141\036\046\036\242\331\031\320\360\324\275\211\371\352\222
148-\021\171\152\136\173\174\237\176\071\163\011\126\121\346\206\124
149-\307\155\106\166\122\312\152\250\064\300\140\076\003\316\263\311
150-\110\227\321\237\246\241\152\017\376\167\321\036\020\263\127\200
151-\251\006\046\204\246\373\172\067\023\316\204\314\167\171\011\056
152-\342\104\276\037\254\167\156\167\106\101\333\260\262\151\221\164
153-\321\200\226\141\061\014\057\012\317\265\320\334\010\055\353\366
154-\165\202\336\212\056\272\075\007\220\140\071\126\203\341\202\312
155-\043\254\337\343\317\115\160\127\301\270\267\223\232\355\334\213
156-\336\112\240\125\050\002\253\103\014\124\227\150\030\242\353\071
157-\341\271\374\277\163\200\144\063\022\173\207\140\002\347\076\160
158-\311\207\312\251\066\074\005\361\006\136\161\012\016\012\066\231
159-\260\207\347\151\132\261\240\060\116\175\141\130\313\306\250\226
160-\200\136\175\301\052\377\233\112\112\353\051\147\212\017\157\346
161-\031\355\202\317\201\127\341\044\255\242\321\372\332\024\227\260
162-\154\174\107\306\327\224\021\041\354\326\132\322\335\217\177\221
163-END
164-
165-# Trust for Certificate "Bogus kuix.de"
166-# Issuer: CN=UTN-USERFirst-Hardware,OU=http://www.usertrust.com,O=The USERTRUST Network,L=Salt Lake City,ST=UT,C=US
167-# Serial Number:72:03:21:05:c5:0c:08:57:3d:8e:a5:30:4e:fe:e8:b0
168-# Subject: CN=kuix.de,OU=Comodo Trial SSL,OU=TEST USE ONLY - NO WARRANTY ATTACHED,OU=For Testing Purposes Only,O=Kai Engert,STREET=Test Street,L=Test City,ST=Test State,postalCode=12345,C=DE
169-# Not Valid Before: Thu Mar 17 00:00:00 2011
170-# Not Valid After : Sat Apr 16 23:59:59 2011
171-# Fingerprint (MD5): F7:5F:98:BC:D8:64:0C:16:E5:AE:EE:AA:00:F6:1F:07
172-# Fingerprint (SHA1): 82:61:4B:EC:97:48:15:DE:CC:9A:CC:6E:84:21:71:79:B2:64:20:40
173-CKA_CLASS CK_OBJECT_CLASS CKO_NSS_TRUST
174-CKA_TOKEN CK_BBOOL CK_TRUE
175-CKA_PRIVATE CK_BBOOL CK_FALSE
176-CKA_MODIFIABLE CK_BBOOL CK_FALSE
177-CKA_LABEL UTF8 "Bogus kuix.de"
178-CKA_CERT_SHA1_HASH MULTILINE_OCTAL
179-\202\141\113\354\227\110\025\336\314\232\314\156\204\041\161\171
180-\262\144\040\100
181-END
182-CKA_CERT_MD5_HASH MULTILINE_OCTAL
183-\367\137\230\274\330\144\014\026\345\256\356\252\000\366\037\007
184-END
185-CKA_ISSUER MULTILINE_OCTAL
186-\060\201\227\061\013\060\011\006\003\125\004\006\023\002\125\123
187-\061\013\060\011\006\003\125\004\010\023\002\125\124\061\027\060
188-\025\006\003\125\004\007\023\016\123\141\154\164\040\114\141\153
189-\145\040\103\151\164\171\061\036\060\034\006\003\125\004\012\023
190-\025\124\150\145\040\125\123\105\122\124\122\125\123\124\040\116
191-\145\164\167\157\162\153\061\041\060\037\006\003\125\004\013\023
192-\030\150\164\164\160\072\057\057\167\167\167\056\165\163\145\162
193-\164\162\165\163\164\056\143\157\155\061\037\060\035\006\003\125
194-\004\003\023\026\125\124\116\055\125\123\105\122\106\151\162\163
195-\164\055\110\141\162\144\167\141\162\145
196-END
197-CKA_SERIAL_NUMBER MULTILINE_OCTAL
198-\002\020\162\003\041\005\305\014\010\127\075\216\245\060\116\376
199-\350\260
200-END
201-CKA_TRUST_SERVER_AUTH CK_TRUST CKT_NSS_NOT_TRUSTED
202-CKA_TRUST_EMAIL_PROTECTION CK_TRUST CKT_NSS_NOT_TRUSTED
203-CKA_TRUST_CODE_SIGNING CK_TRUST CKT_NSS_NOT_TRUSTED
204-CKA_TRUST_STEP_UP_APPROVED CK_BBOOL CK_FALSE
205-
206-#
207 # Certificate "Go Daddy Root Certificate Authority - G2"
208 #
209 # Issuer: CN=Go Daddy Root Certificate Authority - G2,O="GoDaddy.com, Inc.",L=Scottsdale,ST=Arizona,C=US
210diff --git a/mozilla/nssckbi.h b/mozilla/nssckbi.h
211index fe89ed3..ba43e70 100644
212--- a/mozilla/nssckbi.h
213+++ b/mozilla/nssckbi.h
214@@ -45,8 +45,8 @@
215 * of the comment in the CK_VERSION type definition.
216 */
217 #define NSS_BUILTINS_LIBRARY_VERSION_MAJOR 1
218-#define NSS_BUILTINS_LIBRARY_VERSION_MINOR 97
219-#define NSS_BUILTINS_LIBRARY_VERSION "1.97"
220+#define NSS_BUILTINS_LIBRARY_VERSION_MINOR 98
221+#define NSS_BUILTINS_LIBRARY_VERSION "1.98"
222
223 /* These version numbers detail the semantic changes to the ckfw engine. */
224 #define NSS_BUILTINS_HARDWARE_VERSION_MAJOR 1
225--
2261.8.3.1
227
diff --git a/meta/recipes-support/ca-certificates/ca-certificates/0001-update-ca-certificates-remove-c-rehash.patch b/meta/recipes-support/ca-certificates/ca-certificates/0001-update-ca-certificates-remove-c-rehash.patch
new file mode 100644
index 0000000..bf02723
--- /dev/null
+++ b/meta/recipes-support/ca-certificates/ca-certificates/0001-update-ca-certificates-remove-c-rehash.patch
@@ -0,0 +1,46 @@
1Upstream-Status: Pending
2
3From 111e905fe931da1a3800accfc675cc01c8ee080c Mon Sep 17 00:00:00 2001
4From: Ulf Samuelsson <ulf@emagii.com>
5Date: Tue, 28 Feb 2012 06:42:58 +0100
6Subject: [PATCH] update-ca-certificates: remove c rehash
7
8Updated earlier patch to apply clean on 2012-02-12
9Signed-off-by: Ulf Samuelsson <ulf@emagii.com>
10---
11 sbin/update-ca-certificates | 20 ++++++++++----------
12 1 files changed, 10 insertions(+), 10 deletions(-)
13
14diff --git a/sbin/update-ca-certificates b/sbin/update-ca-certificates
15index 5375950..c567e3d 100755
16--- a/sbin/update-ca-certificates
17+++ b/sbin/update-ca-certificates
18@@ -132,16 +132,16 @@ rm -f "$CERTBUNDLE"
19 ADDED_CNT=$(wc -l < "$ADDED")
20 REMOVED_CNT=$(wc -l < "$REMOVED")
21
22-if [ "$ADDED_CNT" -gt 0 ] || [ "$REMOVED_CNT" -gt 0 ]
23-then
24- # only run if set of files has changed
25- if [ "$verbose" = 0 ]
26- then
27- c_rehash . > /dev/null
28- else
29- c_rehash .
30- fi
31-fi
32+#if [ "$ADDED_CNT" -gt 0 ] || [ "$REMOVED_CNT" -gt 0 ]
33+#then
34+# # only run if set of files has changed
35+# if [ "$verbose" = 0 ]
36+# then
37+# c_rehash . > /dev/null
38+# else
39+# c_rehash .
40+# fi
41+#fi
42
43 chmod 0644 "$TEMPBUNDLE"
44 mv -f "$TEMPBUNDLE" "$CERTBUNDLE"
45--
461.7.4.1
diff --git a/meta/recipes-support/ca-certificates/ca-certificates/0002-update-ca-certificates-use-SYSROOT.patch b/meta/recipes-support/ca-certificates/ca-certificates/0002-update-ca-certificates-use-SYSROOT.patch
new file mode 100644
index 0000000..f4c84fe
--- /dev/null
+++ b/meta/recipes-support/ca-certificates/ca-certificates/0002-update-ca-certificates-use-SYSROOT.patch
@@ -0,0 +1,55 @@
1Upstream-Status: Pending
2
3From 724cb153ca0f607fb38b3a8db3ebb2742601cd81 Mon Sep 17 00:00:00 2001
4From: Andreas Oberritter <obi@opendreambox.org>
5Date: Tue, 19 Mar 2013 17:14:33 +0100
6Subject: [PATCH 2/2] update-ca-certificates: use $SYSROOT
7
8Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
9---
10 sbin/update-ca-certificates | 14 +++++++-------
11 1 file changed, 7 insertions(+), 7 deletions(-)
12
13diff --git a/sbin/update-ca-certificates b/sbin/update-ca-certificates
14index c567e3d..923b68a 100755
15--- a/sbin/update-ca-certificates
16+++ b/sbin/update-ca-certificates
17@@ -37,11 +37,11 @@ do
18 shift
19 done
20
21-CERTSCONF=/etc/ca-certificates.conf
22-CERTSDIR=/usr/share/ca-certificates
23-LOCALCERTSDIR=/usr/local/share/ca-certificates
24+CERTSCONF=$SYSROOT/etc/ca-certificates.conf
25+CERTSDIR=$SYSROOT/usr/share/ca-certificates
26+LOCALCERTSDIR=$SYSROOT/usr/local/share/ca-certificates
27 CERTBUNDLE=ca-certificates.crt
28-ETCCERTSDIR=/etc/ssl/certs
29+ETCCERTSDIR=$SYSROOT/etc/ssl/certs
30
31 cleanup() {
32 rm -f "$TEMPBUNDLE"
33@@ -64,9 +64,9 @@ add() {
34 PEM="$ETCCERTSDIR/$(basename "$CERT" .crt | sed -e 's/ /_/g' \
35 -e 's/[()]/=/g' \
36 -e 's/,/_/g').pem"
37- if ! test -e "$PEM" || [ "$(readlink "$PEM")" != "$CERT" ]
38+ if ! test -e "$PEM" || [ "$(readlink "$PEM")" != "${CERT##$SYSROOT}" ]
39 then
40- ln -sf "$CERT" "$PEM"
41+ ln -sf "${CERT##$SYSROOT}" "$PEM"
42 echo +$PEM >> "$ADDED"
43 fi
44 cat "$CERT" >> "$TEMPBUNDLE"
45@@ -148,7 +148,7 @@ mv -f "$TEMPBUNDLE" "$CERTBUNDLE"
46
47 echo "$ADDED_CNT added, $REMOVED_CNT removed; done."
48
49-HOOKSDIR=/etc/ca-certificates/update.d
50+HOOKSDIR=$SYSROOT/etc/ca-certificates/update.d
51 echo -n "Running hooks in $HOOKSDIR...."
52 VERBOSE_ARG=
53 [ "$verbose" = 0 ] || VERBOSE_ARG=--verbose
54--
551.7.10.4
diff --git a/meta/recipes-support/ca-certificates/ca-certificates/default-sysroot.patch b/meta/recipes-support/ca-certificates/ca-certificates/default-sysroot.patch
new file mode 100644
index 0000000..7e0ee4c
--- /dev/null
+++ b/meta/recipes-support/ca-certificates/ca-certificates/default-sysroot.patch
@@ -0,0 +1,55 @@
1Upstream-Status: Pending
2
3update-ca-certificates: find SYSROOT relative to its own location
4
5This makes the script relocatable.
6
7--- ca-certificates-20130119.orig/sbin/update-ca-certificates
8+++ ca-certificates-20130119/sbin/update-ca-certificates
9@@ -37,11 +37,44 @@ do
10 shift
11 done
12
13-CERTSCONF=$SYSROOT/etc/ca-certificates.conf
14+if [ -z "$SYSROOT" ]; then
15+ local_which () {
16+ if [ $# -lt 1 ]; then
17+ return 1
18+ fi
19+
20+ (
21+ IFS=:
22+ for entry in $PATH; do
23+ if [ -x "$entry/$1" ]; then
24+ echo "$entry/$1"
25+ exit 0
26+ fi
27+ done
28+ exit 1
29+ )
30+ }
31+
32+ case "$0" in
33+ */*)
34+ sbindir=$(cd ${0%/*} && pwd)
35+ ;;
36+ *)
37+ sbindir=$(cd $(dirname $(local_which $0)) && pwd)
38+ ;;
39+ esac
40+ prefix=${sbindir%/*}
41+ SYSROOT=${prefix%/*}
42+ if [ ! -d "$SYSROOT/usr/share/ca-certificates" ]; then
43+ SYSROOT=
44+ fi
45+fi
46+
47 CERTSDIR=$SYSROOT/usr/share/ca-certificates
48+CERTSCONF=$SYSROOT/etc/ca-certificates.conf
49+ETCCERTSDIR=$SYSROOT/etc/ssl/certs
50 LOCALCERTSDIR=$SYSROOT/usr/local/share/ca-certificates
51 CERTBUNDLE=ca-certificates.crt
52-ETCCERTSDIR=$SYSROOT/etc/ssl/certs
53
54 cleanup() {
55 rm -f "$TEMPBUNDLE"
diff --git a/meta/recipes-support/ca-certificates/ca-certificates/sbindir.patch b/meta/recipes-support/ca-certificates/ca-certificates/sbindir.patch
new file mode 100644
index 0000000..a113fa8
--- /dev/null
+++ b/meta/recipes-support/ca-certificates/ca-certificates/sbindir.patch
@@ -0,0 +1,20 @@
1Upstream-Status: Pending
2
3Let us alter the install destination of the script via SBINDIR
4
5--- ca-certificates-20130119.orig/sbin/Makefile
6+++ ca-certificates-20130119/sbin/Makefile
7@@ -3,9 +3,12 @@
8 #
9 #
10
11+SBINDIR = /usr/sbin
12+
13 all:
14
15 clean:
16
17 install:
18- install -m755 update-ca-certificates $(DESTDIR)/usr/sbin/
19+ install -d $(DESTDIR)$(SBINDIR)
20+ install -m755 update-ca-certificates $(DESTDIR)$(SBINDIR)/
diff --git a/meta/recipes-support/ca-certificates/ca-certificates_20140325.bb b/meta/recipes-support/ca-certificates/ca-certificates_20140325.bb
new file mode 100644
index 0000000..a277036
--- /dev/null
+++ b/meta/recipes-support/ca-certificates/ca-certificates_20140325.bb
@@ -0,0 +1,77 @@
1SUMMARY = "Common CA certificates"
2DESCRIPTION = "This package includes PEM files of CA certificates to allow \
3SSL-based applications to check for the authenticity of SSL connections. \
4This derived from Debian's CA Certificates."
5HOMEPAGE = "http://packages.debian.org/sid/ca-certificates"
6SECTION = "misc"
7LICENSE = "GPL-2.0+ & MPL-2.0"
8LIC_FILES_CHKSUM = "file://debian/copyright;md5=0ee6c253e6406c76bfe261deaf5a60b5"
9
10# This is needed to ensure we can run the postinst at image creation time
11DEPENDS = "ca-certificates-native"
12DEPENDS_class-native = ""
13
14# tag: debian/20140325 + 2
15SRCREV = "1ce8e63dcfea6b9258da356dc023895e6f694144"
16
17SRC_URI = "git://anonscm.debian.org/collab-maint/ca-certificates.git \
18 file://0001-update-ca-certificates-remove-c-rehash.patch \
19 file://0002-update-ca-certificates-use-SYSROOT.patch \
20 file://default-sysroot.patch \
21 file://sbindir.patch"
22
23SRC_URI += "file://0001-Update-mozilla-certdata.txt-to-version-1.98.patch"
24
25S = "${WORKDIR}/git"
26
27inherit allarch
28
29EXTRA_OEMAKE = "\
30 'CERTSDIR=${datadir}/ca-certificates' \
31 'SBINDIR=${sbindir}' \
32"
33
34do_install () {
35 install -d ${D}${datadir}/ca-certificates \
36 ${D}${sysconfdir}/ssl/certs \
37 ${D}${sysconfdir}/ca-certificates/update.d
38 oe_runmake 'DESTDIR=${D}' install
39
40 install -d ${D}${mandir}/man8
41 install -m 0644 sbin/update-ca-certificates.8 ${D}${mandir}/man8/
42
43 install -d ${D}${sysconfdir}
44 {
45 echo "# Lines starting with # will be ignored"
46 echo "# Lines starting with ! will remove certificate on next update"
47 echo "#"
48 find ${D}${datadir}/ca-certificates -type f -name '*.crt' | \
49 sed 's,^${D}${datadir}/ca-certificates/,,'
50 } >${D}${sysconfdir}/ca-certificates.conf
51}
52
53do_install_append_class-target () {
54 sed -i -e 's,/etc/,${sysconfdir}/,' \
55 -e 's,/usr/share/,${datadir}/,' \
56 -e 's,/usr/local,${prefix}/local,' \
57 ${D}${sbindir}/update-ca-certificates \
58 ${D}${mandir}/man8/update-ca-certificates.8
59}
60
61pkg_postinst_${PN} () {
62 SYSROOT="$D" update-ca-certificates
63}
64
65CONFFILES_${PN} += "${sysconfdir}/ca-certificates.conf"
66
67# Postinsts don't seem to be run for nativesdk packages when populating SDKs.
68CONFFILES_${PN}_append_class-nativesdk = " ${sysconfdir}/ssl/certs/ca-certificates.crt"
69do_install_append_class-nativesdk () {
70 SYSROOT="${D}${SDKPATHNATIVE}" update-ca-certificates
71}
72
73do_install_append_class-native () {
74 SYSROOT="${D}${base_prefix}" ${D}${sbindir}/update-ca-certificates
75}
76
77BBCLASSEXTEND += "native nativesdk"
diff --git a/meta/recipes-support/consolekit/consolekit/add-polkit-configure-argument.patch b/meta/recipes-support/consolekit/consolekit/add-polkit-configure-argument.patch
new file mode 100644
index 0000000..ad879d4
--- /dev/null
+++ b/meta/recipes-support/consolekit/consolekit/add-polkit-configure-argument.patch
@@ -0,0 +1,33 @@
1Upstream-Status: Pending
2
3--- ConsoleKit-0.4.6.orig/configure.ac
4+++ ConsoleKit-0.4.6/configure.ac
5@@ -56,10 +56,24 @@ PKG_CHECK_MODULES(CONSOLE_KIT,
6 gthread-2.0 >= $GLIB_REQUIRED_VERSION
7 )
8
9-PKG_CHECK_MODULES(POLKIT,
10- polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION,
11- have_polkit=yes,
12- have_polkit=no)
13+AC_ARG_WITH([polkit],
14+ [AS_HELP_STRING([--with-polkit],
15+ [support PolicyKit @<:@default=check@:>@])],
16+ [],
17+ [with_polkit=check])
18+
19+AS_IF([test "x$with_polkit" != xno],
20+ [PKG_CHECK_MODULES(POLKIT,
21+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION,
22+ have_polkit=yes,
23+ [if test "x$with_polkit" != xcheck; then
24+ AC_MSG_FAILURE(
25+ [--with-polkit was given, but test for polkit failed])
26+ else
27+ have_polkit=no
28+ fi
29+ ])])
30+
31 if test "x$have_polkit" = "xyes" ; then
32 AC_DEFINE(HAVE_POLKIT, [], [Define if we have polkit])
33 fi
diff --git a/meta/recipes-support/consolekit/consolekit/sepbuildfix.patch b/meta/recipes-support/consolekit/consolekit/sepbuildfix.patch
new file mode 100644
index 0000000..f2f9b9c
--- /dev/null
+++ b/meta/recipes-support/consolekit/consolekit/sepbuildfix.patch
@@ -0,0 +1,19 @@
1Fix builds in the case of seprate source from the build directory.
2
3RP 2013/4/17
4
5Upstream-Status: Pending
6
7Index: pam-ck-connector/Makefile.am
8===================================================================
9--- consolekit/pam-ck-connector.orig/Makefile.am 2010-09-03 13:54:31.000000000 +0000
10+++ consolekit/pam-ck-connector/Makefile.am 2013-04-17 09:06:49.093524918 +0000
11@@ -4,7 +4,7 @@
12
13 INCLUDES = \
14 $(LIBDBUS_CFLAGS) \
15- -I$(top_builddir)/libck-connector \
16+ -I$(top_srcdir)/libck-connector \
17 $(NULL)
18
19 pamlibdir = $(PAM_MODULE_DIR)
diff --git a/meta/recipes-support/consolekit/consolekit_0.4.6.bb b/meta/recipes-support/consolekit/consolekit_0.4.6.bb
new file mode 100644
index 0000000..dfbd11c
--- /dev/null
+++ b/meta/recipes-support/consolekit/consolekit_0.4.6.bb
@@ -0,0 +1,49 @@
1SUMMARY = "Framework for defining and tracking users, login sessions, and seats"
2HOMEPAGE = "http://www.freedesktop.org/wiki/Software/ConsoleKit"
3BUGTRACKER = "https://bugs.freedesktop.org/buglist.cgi?query_format=specific&product=ConsoleKit"
4
5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
7 file://src/main.c;endline=21;md5=0a994e09769780220163255d8f9071c3"
8
9DEPENDS = "glib-2.0 glib-2.0-native dbus dbus-glib virtual/libx11"
10RDEPENDS_${PN} += "base-files"
11
12inherit autotools pkgconfig
13
14SRC_URI = "http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-${PV}.tar.xz \
15 file://sepbuildfix.patch \
16 file://add-polkit-configure-argument.patch \
17"
18
19SRC_URI[md5sum] = "611792b4d616253a5bdec9175f8b7678"
20SRC_URI[sha256sum] = "b41d17e06f80059589fbeefe96ad07bcc564c49e65516da1caf975146475565c"
21
22S = "${WORKDIR}/ConsoleKit-${PV}"
23
24PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
25 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
26
27PACKAGECONFIG[pam] = "--enable-pam-module --with-pam-module-dir=${base_libdir}/security,--disable-pam-module,libpam"
28PACKAGECONFIG[policykit] = "--with-polkit,--without-polkit,polkit"
29PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--with-systemdsystemunitdir="
30
31FILES_${PN} += "${localstatedir}/log/ConsoleKit ${exec_prefix}/lib/ConsoleKit \
32 ${libdir}/ConsoleKit ${systemd_unitdir} ${base_libdir} \
33 ${datadir}/dbus-1 ${datadir}/PolicyKit ${datadir}/polkit*"
34FILES_${PN}-dbg += "${base_libdir}/security/.debug"
35
36PACKAGES =+ "pam-plugin-ck-connector"
37FILES_pam-plugin-ck-connector += "${base_libdir}/security/*.so"
38RDEPENDS_pam-plugin-ck-connector += "${PN}"
39
40do_install_append() {
41 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
42 install -d ${D}${sysconfdir}/tmpfiles.d
43 echo "d ${localstatedir}/log/ConsoleKit - - - -" \
44 > ${D}${sysconfdir}/tmpfiles.d/consolekit.conf
45 fi
46
47 # Remove /var/run from package as console-kit-daemon will populate it on startup
48 rm -fr "${D}${localstatedir}/run"
49}
diff --git a/meta/recipes-support/createrepo/createrepo/createrepo-rpm549.patch b/meta/recipes-support/createrepo/createrepo/createrepo-rpm549.patch
new file mode 100644
index 0000000..bc7200d
--- /dev/null
+++ b/meta/recipes-support/createrepo/createrepo/createrepo-rpm549.patch
@@ -0,0 +1,22 @@
1dumpMetadata.py: Fix for RPM5 - 5.4.9 integration
2
3RPM5 no longer has a switch to disable signature validation. (Due to security
4validation concerns.)
5
6Upstream-Status: Inappropriate [other]
7 createrepo does not support RPM5 upstream
8
9Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
10
11diff -u createrepo-0.4.11.orig/dumpMetadata.py createrepo-0.4.11/dumpMetadata.py
12--- createrepo-0.4.11.orig/dumpMetadata.py 2012-06-05 10:12:55.687964222 -0500
13+++ createrepo-0.4.11/dumpMetadata.py 2012-06-05 10:40:08.154060600 -0500
14@@ -92,7 +92,7 @@
15 fdno = package # let's assume this is an fdno and go with it :)
16 except OSError:
17 raise MDError, "Error opening file"
18- ts.setVSFlags((rpm._RPMVSF_NOSIGNATURES|rpm.RPMVSF_NOMD5|rpm.RPMVSF_NEEDPAYLOAD))
19+ ts.setVSFlags((rpm.RPMVSF_NOMD5|rpm.RPMVSF_NEEDPAYLOAD))
20 try:
21 hdr = ts.hdrFromFdno(fdno)
22 except rpm.error:
diff --git a/meta/recipes-support/createrepo/createrepo/fix-native-install.patch b/meta/recipes-support/createrepo/createrepo/fix-native-install.patch
new file mode 100644
index 0000000..d8202a4
--- /dev/null
+++ b/meta/recipes-support/createrepo/createrepo/fix-native-install.patch
@@ -0,0 +1,163 @@
1Upstream-Status: Inappropriate [configuration]
2
3Date: Jan 31, 2011
4
5There are two fixes:
6 1. -native needs to customize prefix
7 2. needs to change python reference in binaries
8
9Signed-off-by: Qing He <qing.he@intel.com>
10
11diff --git a/Makefile b/Makefile
12index b2d1a32..3c3639f 100644
13--- a/Makefile
14+++ b/Makefile
15@@ -3,22 +3,22 @@ VERSION = 0.4.11
16 SHELL = /bin/sh
17 top_srcdir = .
18 srcdir = .
19-prefix = /usr
20-exec_prefix = ${prefix}
21-
22-bindir = ${exec_prefix}/bin
23-sbindir = ${exec_prefix}/sbin
24-libexecdir = ${exec_prefix}/libexec
25-datadir = ${prefix}/share
26-sysconfdir = ${prefix}/etc
27-sharedstatedir = ${prefix}/com
28-localstatedir = ${prefix}/var
29-libdir = ${exec_prefix}/lib
30-infodir = ${prefix}/info
31+prefix ?= /usr
32+exec_prefix ?= ${prefix}
33+
34+bindir ?= ${exec_prefix}/bin
35+sbindir ?= ${exec_prefix}/sbin
36+libexecdir ?= ${exec_prefix}/libexec
37+datadir ?= ${prefix}/share
38+sysconfdir ?= ${prefix}/etc
39+sharedstatedir ?= ${prefix}/com
40+localstatedir ?= ${prefix}/var
41+libdir ?= ${exec_prefix}/lib
42+infodir ?= ${prefix}/info
43 docdir =
44-includedir = ${prefix}/include
45+includedir ?= ${prefix}/include
46 oldincludedir = /usr/include
47-mandir = ${prefix}/share/man
48+mandir ?= ${prefix}/share/man
49
50 pkgdatadir = $(datadir)/$(PACKAGE)
51 pkglibdir = $(libdir)/$(PACKAGE)
52diff --git a/bin/Makefile b/bin/Makefile
53index 52c1f50..e30610e 100644
54--- a/bin/Makefile
55+++ b/bin/Makefile
56@@ -1,22 +1,22 @@
57 SHELL = /bin/sh
58 top_srcdir = ..
59 srcdir = ../bin
60-prefix = /usr
61-exec_prefix = ${prefix}
62-
63-bindir = ${exec_prefix}/bin
64-sbindir = ${exec_prefix}/sbin
65-libexecdir = ${exec_prefix}/libexec
66-datadir = ${prefix}/share
67-sysconfdir = ${prefix}/etc
68-sharedstatedir = ${prefix}/com
69-localstatedir = ${prefix}/var
70-libdir = ${exec_prefix}/lib
71-infodir = ${prefix}/info
72+prefix ?= /usr
73+exec_prefix ?= ${prefix}
74+
75+bindir ?= ${exec_prefix}/bin
76+sbindir ?= ${exec_prefix}/sbin
77+libexecdir ?= ${exec_prefix}/libexec
78+datadir ?= ${prefix}/share
79+sysconfdir ?= ${prefix}/etc
80+sharedstatedir ?= ${prefix}/com
81+localstatedir ?= ${prefix}/var
82+libdir ?= ${exec_prefix}/lib
83+infodir ?= ${prefix}/info
84 docdir =
85-includedir = ${prefix}/include
86+includedir ?= ${prefix}/include
87 oldincludedir = /usr/include
88-mandir = ${prefix}/man
89+mandir ?= ${prefix}/man
90
91 pkgdatadir = $(datadir)/$(PACKAGE)
92 pkglibdir = $(libdir)/$(PACKAGE)
93@@ -40,8 +40,11 @@ all: $(srcdir)/$(PACKAGE)
94
95
96 install: all installdirs
97- $(INSTALL_BIN) $(srcdir)/$(PACKAGE) $(DESTDIR)$(bindir)/$(PACKAGE)
98- $(INSTALL_BIN) $(srcdir)/modifyrepo $(DESTDIR)$(bindir)/modifyrepo
99+ sed -e "s|@DATADIR@|$(datadir)|" $(srcdir)/$(PACKAGE) > $(srcdir)/$(PACKAGE).tmp
100+ sed -e "s|@DATADIR@|$(datadir)|" $(srcdir)/modifyrepo > $(srcdir)/modifyrepo.tmp
101+ $(INSTALL_BIN) $(srcdir)/$(PACKAGE).tmp $(DESTDIR)$(bindir)/$(PACKAGE)
102+ $(INSTALL_BIN) $(srcdir)/modifyrepo.tmp $(DESTDIR)$(bindir)/modifyrepo
103+ rm -f $(srcdir)/$(PACKAGE).tmp $(srcdir)/modifyrepo.tmp
104
105
106 uninstall:
107diff --git a/bin/createrepo b/bin/createrepo
108index b0de515..eaacb39 100755
109--- a/bin/createrepo
110+++ b/bin/createrepo
111@@ -1,2 +1,2 @@
112 #!/bin/sh
113-exec /usr/share/createrepo/genpkgmetadata.py "$@"
114+exec @DATADIR@/createrepo/genpkgmetadata.py "$@"
115diff --git a/bin/modifyrepo b/bin/modifyrepo
116index c9732d8..6f7c1d4 100755
117--- a/bin/modifyrepo
118+++ b/bin/modifyrepo
119@@ -1,2 +1,2 @@
120 #!/bin/sh
121-exec /usr/share/createrepo/modifyrepo.py "$@"
122+exec @DATADIR@/createrepo/modifyrepo.py "$@"
123diff --git a/docs/Makefile b/docs/Makefile
124index 0a41179..e128c85 100644
125--- a/docs/Makefile
126+++ b/docs/Makefile
127@@ -1,22 +1,22 @@
128 SHELL = /bin/sh
129 top_srcdir = ..
130 srcdir = ../docs
131-prefix = /usr
132-exec_prefix = ${prefix}
133-
134-bindir = ${exec_prefix}/bin
135-sbindir = ${exec_prefix}/sbin
136-libexecdir = ${exec_prefix}/libexec
137-datadir = ${prefix}/share
138-sysconfdir = ${prefix}/etc
139-sharedstatedir = ${prefix}/com
140-localstatedir = ${prefix}/var
141-libdir = ${exec_prefix}/lib
142-infodir = ${prefix}/info
143+prefix ?= /usr
144+exec_prefix ?= ${prefix}
145+
146+bindir ?= ${exec_prefix}/bin
147+sbindir ?= ${exec_prefix}/sbin
148+libexecdir ?= ${exec_prefix}/libexec
149+datadir ?= ${prefix}/share
150+sysconfdir ?= ${prefix}/etc
151+sharedstatedir ?= ${prefix}/com
152+localstatedir ?= ${prefix}/var
153+libdir ?= ${exec_prefix}/lib
154+infodir ?= ${prefix}/info
155 docdir =
156-includedir = ${prefix}/include
157+includedir ?= ${prefix}/include
158 oldincludedir = /usr/include
159-mandir = ${datadir}/man
160+mandir ?= ${datadir}/man
161
162 pkgdatadir = $(datadir)/$(PACKAGE)
163 pkglibdir = $(libdir)/$(PACKAGE)
diff --git a/meta/recipes-support/createrepo/createrepo/python-scripts-should-use-interpreter-from-env.patch b/meta/recipes-support/createrepo/createrepo/python-scripts-should-use-interpreter-from-env.patch
new file mode 100644
index 0000000..80205a1
--- /dev/null
+++ b/meta/recipes-support/createrepo/createrepo/python-scripts-should-use-interpreter-from-env.patch
@@ -0,0 +1,47 @@
1Author: Andrei Gherzan <andrei@gherzan.ro>
2
3Python interpreter should be use from PATH - native python - and not the one from