Commit Graph

328 Commits

Author SHA1 Message Date
Tom Rini 6a52bad2f4 cpan.bbclass: Perform more mangling for perl path
On hosts where we may already be past the #! limit this is required
and this is safe on the target as well.  This is be7fe31 in oe.dev.
Related to this we now bump all PRs for recipes that inherit cpan.
Note that in oe.dev we mangle for perl but here we use the new
nativeperl script.

(From OE-Core rev: 682a213dc732074985bf86f508305fc6eafe18d9)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-21 10:59:18 +01:00
Mei Lei e6971672fd lsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib
(From OE-Core rev: 0d03800caffc2341b74190d38f7a372223c89f4c)

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-20 22:20:28 +01:00
Khem Raj cbcb798b88 tzcode,tzdata: Update tzdata to 2011h
(From OE-Core rev: d3a2a48632c05bd203c0509df6a73b9b4d1eb7f2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-20 15:27:38 +01:00
Tom Rini 47245e49e6 iptuils: Add sgmlspl-native to DEPENDS
This is 4fc7d465d684d4952c52adafc1e7032b63039e53 in oe.dev.

(From OE-Core rev: c24cf8a195d5924e4e388dfa239f5d763aae39b3)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-20 15:27:33 +01:00
Scott Garman e47c1cfe71 man: add Upstream-Status field to paches
(From OE-Core rev: 69afe776afc20f4e46303d4f57b080d7c4a8542f)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-19 17:34:20 +01:00
Tom Rini b85a1e05b0 groff: Disable x11 support
groff will build with, or without x11 support depending on if X has
been built already or not.  Disable x11 support for consistency.

(From OE-Core rev: f0cf02ac0fae12cad8895fa1a9f49b0bc68c356d)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-14 15:02:28 +01:00
Saul Wold 4a6109fc36 Patches: Fix Upstream-Status info
(From OE-Core rev: f2a5b2d143fff8337d2f0d024bc593c55f56a3a3)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-13 12:29:20 +01:00
Yu Ke d3e6228205 libzypp: fix for non /usr/lib libdir case
this patch has two fixes:
1. the src tool/CMakeLists.txt has hardcode "lib", so add a patch to fix it
2. the recipe has hardcode "-DLIB=lib", so replace it with libdir

(From OE-Core rev: d415c10f8488e0cc4b175ad3d985748d07bbedaa)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-13 12:14:20 +01:00
Yu Ke 4e01f730bf sat-solver: fix for non /usr/lib libdir case
when libdir set to non /usr/lib like /usr/lib64, there is do_configure error:
"
-- Libraries will be installed in /usr/lib
CMake Error at /home/kyu3/sdb/lib64/tmp/sysroots/x86_64-linux/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91  (MESSAGE):
  Please install 'check' and 'check-devel' packages (missing: CHECK_LIBRARY)
Call Stack (most recent call first):
  /home/kyu3/sdb/lib64/tmp/sysroots/x86_64-linux/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252              (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindCheck.cmake:17 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:35 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
"

The reason is that cmake did not search /usr/lib64 for libcheck, thus report error

add ${libdir} to the CMAKE_SYSTEM_LIBRARY_PATH can fix this issue.

(From OE-Core rev: f4de87ce30a37bb2f09855d442b34d153ada8c0e)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-13 12:14:20 +01:00
Otavio Salvador e8bb8986d0 libarchive: remove undistributable copyright content from source
The original tarball has two undistributable files that we have
removed from the repacked tarball. The issue has been reported
upstream at:

http://code.google.com/p/libarchive/issues/detail?id=162

(From OE-Core rev: bdda8f8b1f3ff21b5f893efcb7c835e69e25852a)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-12 15:00:45 +01:00
Richard Purdie d41f64bd9b sysklogd: Drop ONLINE_PACKAGE_MANAGEMENT as per mailing list discussion
Online package management decisions like this are now handled by image.bbclass
itself so this code is superfluous to requirements.

(From OE-Core rev: 2710debe3335ca3763ee7fb3a757df09dc5ca8ee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-12 15:00:44 +01:00
Otavio Salvador e5fef6bc21 libarchive: add 2.8.4 version
This recipe has been imported from OpenEmbedded (rev
6db4b9050e0e8b963e2a6b63790e48e3042ea99e).

(From OE-Core rev: 292a45064aa9926868c798341dc72f183c5de076)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-08 17:20:57 +01:00
Xiaofeng Yan d988cfbb47 libQtOpenGL:Add libQtOpenGL to an lsb image
I make "opengl" as a DISTO_FEATURE for installing libQtOpenGL to image.
Fix Bug [YOCTO #1020]

(From OE-Core rev: f478f90821f5b6a5e5d5dd53708de008bc607a11)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-07 13:45:29 +01:00
Mei Lei 6bd31d770d gawk: Upgrade from 3.1.8 to 4.0.0
(From OE-Core rev: 32b535f09124d0b35c10e025a53186e0a667aa1b)

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-07 11:14:01 +01:00
Yu Ke c4d062c1d2 libidn: upgrade from 1.20 to 1.22
- update the license checksum due to some text indent change

(From OE-Core rev: 1831ede4d94a40087cc7da9f0611f9bda057e0c1)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-04 12:45:31 +01:00
Richard Purdie 8511d1ec1b Drop PRIORITY variable
As discussed on the mailing list, this variable isn't useful and if wanted
would be better implemented by distros using pn-X overrides.

This patch executes:

find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d'

against the tree removing the referenced. Thanks to Phil Blundell for
the command.

(From OE-Core rev: d122343362669c683acc4af295971a62cbc823fc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01 23:27:29 +01:00
Scott Garman 5c7d37c51c shadow-native: fix creation of home directories
Pseudo was recently changed so that when system() calls are
made after a chroot(), the host binaries can no longer be found,
breaking the system("mkdir -p") approach when useradd creates
home directories.

Instead, use mkdir(2) to create home directories with a helper
function to ensure parent directories get created.

(From OE-Core rev: 7d4099a964ec79b1ac4cf5348cf9f4221c3d4908)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:57:07 +01:00
Scott Garman 7c6f47b13c sudo: upgrade to v1.8.1p2
Upgrading to the latest stable release of sudo.

This version of sudo has reorganized its source code layout, hence
the LIC_FILES_CHKSUM related changes. Also, some of the individual
.c files we checksummed (nonunix.h, vasgroups.c) are no longer
shipped with the sources. Finally, an embedded copy of zlib is now
included in these sources, so Zlib is included as one of the
licenses. I could not find any evidence of MIT-licensed sources,
so that license has been removed.

(From OE-Core rev: 10694e6037b16813e99e2204dbbe5c169f34667c)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:43 +01:00
Mark Hatle 9bd8876fee msmtp: Disable gnome keyring
Unless we explicitly disable the gnome keyring support, the system
will attemp to discover if it's available which changes the package
output.

(From OE-Core rev: a41c763595086fa30fb80715a60d9135fa6cf01a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:41 +01:00
Khem Raj 4c3691eb4e libtirpc: Upgrade 0.2.1 -> 0.2.2
Additionally bring in the nis headers which will be
required when using eglibc 2.14 where rpc support
is removed.

Make it provide virtual/librpc

(From OE-Core rev: 42a521b28817cc8d905a93a82e02481a8968cd26)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:41 +01:00
Scott Garman c82a1b111d shadow-sysroot: new recipe for useradd.bbclass support
Packaging login.defs with base-passwd causes problems due to the
file being included in target package installs. Instead, this
shadow-sysroot recipe can be used by useradd.bbclass to put
login.defs into the target sysroot without disturbing packages
intended for target devices.

(From OE-Core rev: 6cbf741d73070759ecb9a284e6511c63d945f7c1)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:55:40 +01:00
Mark Hatle ab8f2025ee tzdata: Ensure all files are owned by root:root
(From OE-Core rev: 2a7f9848d5682836ef1313239f47adf773db2268)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:02 +01:00
Mark Hatle 93dbe8d9f7 libtirpc: Fix owner/group of /etc/netconfig
(From OE-Core rev: 25b50d2e576e641a57823eb7bf7e2cd28443f0b7)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:02 +01:00
Mark Hatle f9c2ff4ef0 ghostscript: Fix owner/group of /etc/cups
/etc/cups is owned by root:lp from the cups package, the associated
ghostscript was creating the /etc/cups directory as root:root.  /etc/cups
is the authoritative source.

(From OE-Core rev: 7ebe9412e66bb56b51bd6e757f3ea2acd839f667)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:02 +01:00
Mark Hatle fa38716294 texinfo: Change to use the standard -dbg file
Remove the custom -dbg package and replace it the standard configuration.

(From OE-Core rev: 1c920dcb61e48ee292928ffe0c7f1225220843cc)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:36 +01:00
Mark Hatle b14c56b2c5 psmisc: Remove custom -dbg packages, use default
(From OE-Core rev: 69c330714e9f89991dfe07300a6c3dfcc93da62a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:35 +01:00
Mark Hatle f0bff52a2b mc: Add missing debug files to -dbg
(From OE-Core rev: fbcba3a0954721f706ac4ad959f56d33f2b83e6a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:35 +01:00
Mark Hatle 52c96e396f gamin: Add missing debug files to -dbg
Add the missing files to the base -dbg package, remove the libPN-dbg as it is
non-standard.

(From OE-Core rev: f736d197150fdf6520402ba33e55214527455833)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:34 +01:00
Mark Hatle d9949fb5a8 quota: Avoid stripping binaries
(From OE-Core rev: ea2bad01000a63840dc8ba79eb227ead13075d32)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:32 +01:00
Mark Hatle 4bf6a73166 sysstat: Avoid stripping binaries
(From OE-Core rev: 1817d3b3a18e596d531435734e2fc6423b739905)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:32 +01:00
Mark Hatle d905e910c1 unzip: Avoid stripping binaries
Not only do we have to override things on the make line, but we
need to hack on configure as well to avoid certain behavior.

(From OE-Core rev: 97a6bf1787995f15c8033bd26bdbe50c7efbbcfd)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:32 +01:00
Xiaofeng Yan 3d710d277f task-core-lsb: Add absent libraries and commands to task-core-lsb.bb
Due to "tools-profile" and  "tools-testapps" were removed from variable \
"EXTRA_IMAGE_FEATURES" in meta-yocto/conf/local.conf.sample, some libraries \
needed by LSB Test Suite were absent in an lsb image. I add these absent \
libraries to task-core-lsb.bb.

(From OE-Core rev: 9fbef8144c5640b64b4485449f3ff697e95b5bfe)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 16:57:35 +01:00
Kang Kai ef8144b934 ghostscript: update SRC_URI
Build ghostscript-native fails on a i686 machine because it can't get
the source objarch.h and soobjarch.h, and .h files are not needed for
native package, so update the SRC_URI to fix it.

(From OE-Core rev: 4091e811c04245d53bc1bb82087e3e476c7c8c1a)

Signed-off-by: Kang Kai <kai.kang@windriver.com>

Removed the do_configure_prepend and folded into the target do_configure
since the native was picking it up for the do_configure_virtclass/native()
and then failing on i686.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:28:22 +01:00
Dexuan Cui f70eeea07d libconvert-asn1-perl: fix EXTRA_PERLFLAGS due to the perl-native change
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-09 16:58:34 +01:00
Saul Wold 5de3d14f8e core-image-lsb-sdk: ensure testapps is part of sdk image
(From OE-Core rev: 3ccf7409d7014a850f4014c7e939d26188e1ae4b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 16:44:39 +01:00
Scott Garman a314226891 tar: upgrade to v1.26
(From OE-Core rev: 0be04e2931ec1f7d5bd3ff538913081e2e8ec04f)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-07 21:38:35 +01:00
Scott Garman 757db8a21b grep: upgrade to v2.8
(From OE-Core rev: 40030433662c8a43c89e20099330aa5172ac0c27)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-07 21:38:35 +01:00
Saul Wold 7f34cd1eb2 tzcode: Update to 2011g
[YOCTO #1080]

Thanks to ilkka.tengvall@nsn.com

Cc: ilkka.tengvall@nsn.com
(From OE-Core rev: 925de3b3e74d15547840a2edaceff437e135bddd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-06 15:58:42 +01:00
Scott Garman 20ef3425b2 shadow: add a -native recipe with customized utilities
This adds a -native recipe for the shadow utilities.

The custom --root option allows the the following utilities to be
run within a chroot when invoked under pseudo:

* useradd
* groupadd
* usermod
* groupmod
* userdel
* groupdel
* passwd
* gpasswd
* pwconv
* pwunconv
* grpconv
* grpunconv

They can then be used to manipulate user and group account information
in target sysroots.

useradd was also modified to create home directories recursively when
necessary.

(From OE-Core rev: 37b8c18a3c2f3e77a9810a56a8ee786855ae1ba3)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-06 15:58:41 +01:00
Scott Garman 109aa5c860 shadow: recipe and patch cleanup
Taking over maintenance of the shadow recipe. Cleaning it up in
preparation of adding a -native version that will be used to add
users/groups during preinstall.

(From OE-Core rev: 254ca8c1667b8d35914555714239a09bfb4f43be)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-06 15:58:41 +01:00
Saul Wold 13bc4eb6f3 ghostscript: Fix up file locations and add i686
(From OE-Core rev: 3e6b6b0d290c2389e2a84b65cacd447c24309c97)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-02 16:02:57 +01:00
Dexuan Cui dba1a791a5 recipes: Upstream-status --> Upstream-Status: for multiple patches
As a keyword, Upstream-Status is case sensitive.

(From OE-Core rev: 874038469e28d011b60b2d4bfd5a6fada6e754c4)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-02 14:55:56 +01:00
Kang Kai c0867a1246 task-core-lsb: add cups and ghostscript into image
[Yocto 1030]
Because it is fixed by Qing He, then add cups and ghostscipt into image

(From OE-Core rev: 39a3842c34cf344749d7269a91c47e3a1a86d2b8)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-02 14:55:55 +01:00
Koen Kooi 08bac9fb25 shadow: remove selinux entry from pam.d/login
SElinux has been disabled in the recipe, leading to messages like this:

[  167.643218] login[312]: PAM unable to dlopen(/lib/security/pam_selinux.so): /lib/security/pam_selinux.so: cannot open shared object file: No such file or directory
[  167.670837] login[312]: PAM adding faulty module: /lib/security/pam_selinux.so

(From OE-Core rev: b90e9c2318fc421f37c57788ece54ce791a90b62)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-02 14:55:54 +01:00
Xiaofeng Yan 505ee4b0a7 sudo.inc: Add do_install_prepend () to sudo.inc
Fix bug [YOCTO #1092]
Own a directory "/var/lib" before do_install() because if there isn't this directory during installing, \
then script "mkinstalldirs" from "sudo package" will create directory "/var/lib/sudo" by recursion with mode "0700" \
which will cause bug [YOCTO #1092]. So I add do_install_prepend() to create a "/var/lib" which can be accessed \
by common user before installing files.

(From OE-Core rev: 16bbeb2d866a07abd5379d1de30f2b747e1693fe)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-01 18:34:35 +01:00
Saul Wold b326fa0735 msmtp: update tof 1.4.24
(From OE-Core rev: 5aaed6f4fc275b95e969fe880439540200201c3c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-01 18:34:34 +01:00
Saul Wold 59ab20ef31 mc: update to 4.7.5.2
(From OE-Core rev: 7773ca2682067bc7aa3c9ade35ddd187473caa95)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-01 18:34:33 +01:00
Saul Wold 8707a2d421 mailx: update to 12.5
(From OE-Core rev: 052ecd82ae73279fb768222f5f5aed17fd14c7b9)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-01 18:34:33 +01:00
Saul Wold 18940c7497 chkconfig: update to 1.3.52
(From OE-Core rev: 4cf0e0f8fc7da0e052dd779927a10eaea4823e93)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-01 18:34:33 +01:00
Saul Wold 2dfc95b92d newt: add Upstream-Status
(From OE-Core rev: b6fdf7eb9a1c5927009d88c84df59e091f5b2a7d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-01 18:34:31 +01:00