]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
5 years agoca-certificates: upgrade to 20161102
Alexander Kanavin [Mon, 28 Nov 2016 13:34:15 +0000 (15:34 +0200)] 
ca-certificates: upgrade to 20161102

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit cc47bec99794c1ac7ad3cb16c3c087f659f10d7f)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
5 years agoca-certificates: remove -- separator
Maciej Borzecki [Mon, 8 Aug 2016 08:11:24 +0000 (10:11 +0200)] 
ca-certificates: remove -- separator

Options and directory separator -- slipped past the patch removing
Debianims, thus resulting in failures on hosts running Fedora.

Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit a8431689983f5860173548acd899e6806906e4d1)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
5 years agoca-certificates: add dependency for native/nativesdk on openssl-native
Paul Eggleton [Thu, 2 Jun 2016 20:22:46 +0000 (08:22 +1200)] 
ca-certificates: add dependency for native/nativesdk on openssl-native

When running update-ca-certificates on the build host, as we do during
do_install for ca-certificates-native (and nativesdk-ca-certificates),
as of OE-Core commit cea46e7b8d9463306779301fa97f651d750f380f we now
need openssl-native so it can run c_rehash.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 523c99a2f12c20ce7bfa7755609f2c860dda6717)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
5 years agoca-certificates: Add openssl as a runtime dependency
Otavio Salvador [Fri, 27 May 2016 10:28:31 +0000 (07:28 -0300)] 
ca-certificates: Add openssl as a runtime dependency

The update-ca-certificates script uses the c_rehash utility which is
installed by openssl. Add openssl as a runtime dependency to fulfill
the utility requirement.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit a90ba07812444ebac93cd535d11dd54994897bfd)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
5 years agoca-certificates: Use c_rehash utility
Otavio Salvador [Mon, 23 May 2016 20:45:26 +0000 (17:45 -0300)] 
ca-certificates: Use c_rehash utility

As now the c_rehash utility is available, we can use it. This removes
the patch to disable its usage allowing for a standard SSL behaviour.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cea46e7b8d9463306779301fa97f651d750f380f)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoffmpeg: Build libpostproc even if global gpl flag is unset
Andreas Oberritter [Sat, 11 Feb 2017 22:50:38 +0000 (23:50 +0100)] 
ffmpeg: Build libpostproc even if global gpl flag is unset

The libpostproc package has an explicit GPLv2+ license tag.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoffmpeg: Fix the license description
Andreas Oberritter [Sat, 11 Feb 2017 22:48:40 +0000 (23:48 +0100)] 
ffmpeg: Fix the license description

FFmpeg has complicated licensing options, so it should also
have complicated license statements in its recipe.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoffmpeg: use static package list
Andreas Oberritter [Sat, 11 Feb 2017 22:43:34 +0000 (23:43 +0100)] 
ffmpeg: use static package list

Dynamic packaging isn't useful if every library needs to be
listed manually.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agosystemd: backport transient mounts from 232
Andreas Oberritter [Sat, 28 Jan 2017 20:49:24 +0000 (21:49 +0100)] 
systemd: backport transient mounts from 232

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agosystemd: backport fixes for automount
Andreas Oberritter [Mon, 23 Jan 2017 21:51:01 +0000 (22:51 +0100)] 
systemd: backport fixes for automount

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agosystemd: systemd should not depend on systemd-container
Max Krummenacher [Mon, 14 Nov 2016 19:35:40 +0000 (20:35 +0100)] 
systemd: systemd should not depend on systemd-container

Currently systemd depends on systemd-container due to a dangling
symlink deployed with systemd.
Move the symlink to systemd-container.

| DEBUG: systemd contains dangling link /lib/systemd/system/systemd-machined.service
| DEBUG: target found in systemd-container

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit e12912ac7484654c201d167831b302a821e14972)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agosystemd: CVE-2016-7795
Chen Qi [Wed, 26 Oct 2016 06:09:47 +0000 (14:09 +0800)] 
systemd: CVE-2016-7795

The manager_invoke_notify_message function in systemd 231 and earlier allows
local users to cause a denial of service (assertion failure and PID 1 hang)
via a zero-length message received over a notify socket.

The patch is a backport from the latest git repo.

Please see the link below for more information.
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-7795

(From OE-Core rev: 543570cafa8d7f595b489d03d05f0aa4478f8539)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit df3f4785fc69d3ddbd30ccd954aad3d3618c5916)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agosystemd: install udev.pc
Robert Yang [Thu, 21 Jul 2016 03:35:53 +0000 (20:35 -0700)] 
systemd: install udev.pc

It provides udev, but doesn't install udev.pc, which causes other
recipes failed to figure out udevdir.

Fixed when systemd in DISTRO_FEATURES:
$ bitbake pcmciautils (or btrfs-tools):

Package udev was not found in the pkg-config search path.
Perhaps you should add the directory containing `udev.pc'
to the PKG_CONFIG_PATH environment variable
No package 'udev' found

Their udev rules file may not be installed according to each pkg's
implementation.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
(cherry picked from commit a32dac24808bf8621fdbbecb654eff784acee47e)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agosystemd: fix indentation
Maciej Borzecki [Wed, 21 Sep 2016 08:19:58 +0000 (10:19 +0200)] 
systemd: fix indentation

Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 170157602932aa454e721ea849fbf1679b573618)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agosystemd: drop unused gtkdoc-related variable
Alexander Kanavin [Fri, 15 Jul 2016 14:25:05 +0000 (17:25 +0300)] 
systemd: drop unused gtkdoc-related variable

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
(cherry picked from commit 3fa84900b0a008993dfbf0d5af12416f4bc3980f)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agosystemd_230.bb: Set journal RuntimeMaxSize to 64M as default
Aníbal Limón [Mon, 5 Sep 2016 21:59:12 +0000 (16:59 -0500)] 
systemd_230.bb: Set journal RuntimeMaxSize to 64M as default

At this time systemd journald uses the /run tmpfs to store logs
by default systemd uses 15% of available space [1] of the /run
partition, when the space runs out journald starts to vaccum/store
the logs into /var/log [1].

It causes two problems one of them is timeout dev-ttySN.device's
when enable debug and use journal as systemd.log_target [2] the other
is related to don't find syslog entries into the journal log [3].

This problems are now more evident because i recently enabled the
systemd debug option in testimage [4].

One area of improvement will be add support in systemd journald to
read these parameters from the kernel cmdline like systemd.log_target,
if the support exists we could add that parameter at level of testimage.

[1] https://www.freedesktop.org/software/systemd/man/journald.conf.html#SystemMaxUse=
[2] https://bugzilla.yoctoproject.org/show_bug.cgi?id=8142#c19
[3] https://bugzilla.yoctoproject.org/show_bug.cgi?id=10128#c4
[4] http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=a86a1b2703372c12e7fca18918695d093ea6ee53

[YOCTO #10128]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 808952bf6d2b7549b456293ead4728b4dbf0d89b)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agosystemd: split systemd-container
Chen Qi [Fri, 19 Aug 2016 02:24:11 +0000 (10:24 +0800)] 
systemd: split systemd-container

Split container/vm related units into a new package, systemd-container.

The split mainly references Fedora 24, with a few differences.
Apart from the bash and zsh completion files, the differences include
adding systemd-spawn@.service into the systemd-container package.

[YOCTO #9835]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 2a4bf6e4c96a8104733add315166210f04c02caf)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agosystemd-compat-units: do not inherit allarch
Joe Slater [Mon, 22 Aug 2016 22:12:31 +0000 (15:12 -0700)] 
systemd-compat-units: do not inherit allarch

Even though we are just a script, we do depend on
systemd being on the target and need an RDEPENDS
which means we cannot also be allarch.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit ef5be3c8256419d5abec566ce266718fe317417e)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agosystemd-compat-units: Only enable for systemd in DISTRO_FEATURES
Richard Purdie [Thu, 18 Aug 2016 13:43:57 +0000 (14:43 +0100)] 
systemd-compat-units: Only enable for systemd in DISTRO_FEATURES

This recipe only makes sense when systemd is enabled and otherwise causes
world build failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5dca6cc2fcdb2799c19b1697f0647a16ce296290)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agosystemd-compat-units: pkg_postinst() does not work
Joe Slater [Mon, 15 Aug 2016 23:04:53 +0000 (16:04 -0700)] 
systemd-compat-units: pkg_postinst() does not work

The test for various files is wrong and will always be
true, even if init.d does not exist.

Exit if init.d does not exist, and correctly test for
file existence otherwise.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 8183309080aee45746daaff46b0506b09b5bd269)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agosystemd: fix typo in avoid-using-system-auth.patch
Dmitry Rozhkov [Wed, 10 Aug 2016 09:47:56 +0000 (12:47 +0300)] 
systemd: fix typo in avoid-using-system-auth.patch

The patch 0015-systemd-user-avoid-using-system-auth.patch
makes PAM session for systemd-user include common-account file
which doesn't contain any session related lines and that breaks
launching "systemd --user" with the error:

Jul 29 13:03:24 intel-corei7-64 systemd[691]: user@0.service: Failed
at step PAM spawning /lib/systemd/systemd: Operation not permitted

This change fixes the patch by including common-session file
instead.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit ecff74ab68ffca27ed856be6117124b8bc1ef2d6)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agosystemd: upgrade to 230
Chen Qi [Thu, 16 Jun 2016 08:48:12 +0000 (16:48 +0800)] 
systemd: upgrade to 230

Patches are rebased or removed for the latest version.

Python testing scripts are removed for systemd-ptest as systemd is
configured with '--without-python'.

systemd-bootchart is now seprated from systemd, thus removing the
related configuration items. And we add systemd-bootchart recipe.

[ systemd-bootchart: add missing distro features check - RB ]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 70d782eee573fe46ec512bf59ac6f41e53a99b1b)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agosystemd: drop python dependency for ptests
Alexander Kanavin [Thu, 2 Jun 2016 09:25:50 +0000 (12:25 +0300)] 
systemd: drop python dependency for ptests

Python tests are not actually used, because systemd is configured
using --without-python

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit acea8caa0ce4f8fd1a0d33c01c12d4b5a81508d8)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agosystemd: support systemd-boot as a stand-alone EFI bootloader
Jianxun Zhang [Thu, 5 May 2016 18:20:37 +0000 (11:20 -0700)] 
systemd: support systemd-boot as a stand-alone EFI bootloader

The "systemd-boot" is gummiboot now included into systemd project.
The old gummiboot project supported in OE is dead.

Our intention is to get a gummiboot-like EFI bootloader without
much dependency on systemd and its features.

This work is largely derived from the existing bbclass and recipes
of gummiboot and systemd.
(commit tip: ee25d0e3987d7732a2e46e1640693b4cf419a9fc)

Please refer to the history up to the tip for authorship and
credit information for the original works.

To enable the systemd-boot in build, add this line
EFI_PROVIDER = "systemd-boot" in your machine conf file.

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e9add1cd01e498d2aa52528ec52342cae48a387a)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agosystemd: re-enable mount propagation for udevd
Roy Li [Tue, 10 May 2016 02:09:33 +0000 (10:09 +0800)] 
systemd: re-enable mount propagation for udevd

With MountFlags=slave, those mounts then become private to the systemd-udevd
namespace and are no longer accessible from outside the namespace, which is
not expected

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 73f43d857fe0102033f25491007b6dbe3d5fa8ee)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agonfs-utils: fix startup of nfsd if exportfs returns nonzero
Andreas Oberritter [Fri, 20 Jan 2017 12:30:59 +0000 (13:30 +0100)] 
nfs-utils: fix startup of nfsd if exportfs returns nonzero

If /etc/exports contains paths that don't exist during boot, the
server failed to start, because of the exit code of exportfs.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoswitch to gstreamer 1.6.4
Andreas Monzner [Sun, 11 Dec 2016 14:12:53 +0000 (15:12 +0100)] 
switch to gstreamer 1.6.4

7 years agolibc-package.bbclass: split binary localedata even more if asked to
Andreas Oberritter [Mon, 28 Nov 2016 23:00:13 +0000 (23:00 +0000)] 
libc-package.bbclass: split binary localedata even more if asked to

If GLIBC_SPLIT_LC_PACKAGES is set to a non-zero value, convert
glibc-binary-localedata-XX-YY to be a meta package depending on
glibc-binary-localedata-XX-YY-lc-address and so on. This enables
saving quite some space if someone doesn't need LC_COLLATE for
example.

Some regex code was removed from output_locale_binary_rdepends,
because legitimize_package_name already converts to lowercase.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg: use correct path for perl libraries
Andreas Oberritter [Mon, 21 Nov 2016 11:43:58 +0000 (12:43 +0100)] 
dpkg: use correct path for perl libraries

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoconnman: enable connman-wait-online.service
Andreas Oberritter [Mon, 14 Nov 2016 23:37:28 +0000 (00:37 +0100)] 
connman: enable connman-wait-online.service

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agobash-completion: backport fix for frequent error message when pressing tab
Andreas Oberritter [Mon, 14 Nov 2016 11:42:15 +0000 (12:42 +0100)] 
bash-completion: backport fix for frequent error message when pressing tab

Pressing the tab key on an empty line triggered an error message:

| bash: words: bad array subscript

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agonfs-utils: sync systemd unit files with nfs-utils.git
Andreas Oberritter [Tue, 1 Nov 2016 23:03:59 +0000 (00:03 +0100)] 
nfs-utils: sync systemd unit files with nfs-utils.git

nfs-server failed to start after install.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agonfs-utils: don't try to load kernel module
Andreas Oberritter [Tue, 1 Nov 2016 17:46:03 +0000 (18:46 +0100)] 
nfs-utils: don't try to load kernel module

This conflicts with KERNEL_MODULE_AUTOLOAD += "nfsd".

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agokernel.bbclass: fix kernel_do_compile for KERNEL_IMAGETYPE = "vmlinux.gz" on mips
Andreas Oberritter [Mon, 24 Oct 2016 12:27:48 +0000 (12:27 +0000)] 
kernel.bbclass: fix kernel_do_compile for KERNEL_IMAGETYPE = "vmlinux.gz" on mips

The target directory didn't exist.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg: enable nativesdk
Andreas Oberritter [Sun, 23 Oct 2016 20:37:20 +0000 (20:37 +0000)] 
dpkg: enable nativesdk

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agolibtimedate-perl: enable nativesdk
Andreas Oberritter [Sun, 23 Oct 2016 20:36:30 +0000 (20:36 +0000)] 
libtimedate-perl: enable nativesdk

nativesdk-dpkg depends on it.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoutil-linux: create own package for lsblk
Andreas Oberritter [Sat, 15 Oct 2016 19:20:07 +0000 (21:20 +0200)] 
util-linux: create own package for lsblk

Let util-linux-bash-completion depend on it, because it uses it.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agobash: use update-alternatives for the bash binary
Andreas Oberritter [Sat, 15 Oct 2016 17:54:37 +0000 (19:54 +0200)] 
bash: use update-alternatives for the bash binary

Busybox may offer a bash applet. If enabled, the alternatives mechanism
avoids breaking logins if bash gets deinstalled while /bin/bash is configured
as a login shell.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoopenssl: use version script from jessie-backports
Andreas Oberritter [Wed, 5 Oct 2016 08:08:16 +0000 (10:08 +0200)] 
openssl: use version script from jessie-backports

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agokernel.bbclass: do not copy bundled initramfs to /boot
Andreas Oberritter [Thu, 22 Sep 2016 12:08:08 +0000 (14:08 +0200)] 
kernel.bbclass: do not copy bundled initramfs to /boot

This caused either a warning if unpackaged or frequently changing
task hashes in do_package.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agokernel.bbclass: Avoid wildcards for kernel images
Andreas Oberritter [Wed, 21 Sep 2016 21:35:00 +0000 (23:35 +0200)] 
kernel.bbclass: Avoid wildcards for kernel images

With multiple kernel images enabled starting with 'vmlinux', e.g.
vmlinux.gz and vmlinux.bin, all files landed inside the
kernel-vmlinux package.

On top of that, even initramfs images were included, e.g.
vmlinux.gz-initramfs-*.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agokernel.bbclass: Use real filenames in kernel packages
Andreas Oberritter [Wed, 21 Sep 2016 21:31:22 +0000 (23:31 +0200)] 
kernel.bbclass: Use real filenames in kernel packages

When iterating over kernel image types to set up their packaging
variables, don't use make targets but the real names.

It was surprising if both vmlinux.bin and vmlinux.gz were enabled
and only the latter had its filename extension removed from the
package name.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agogptfdisk: put sgdisk into its own package
Andreas Oberritter [Thu, 15 Sep 2016 14:37:15 +0000 (16:37 +0200)] 
gptfdisk: put sgdisk into its own package

This allows to avoid pulling in ncurses if only sgdisk is needed.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agogptfdisk: fix support for 'large' drives
Andreas Oberritter [Thu, 15 Sep 2016 14:34:48 +0000 (16:34 +0200)] 
gptfdisk: fix support for 'large' drives

Make's switch '-e' replaced important compiler flags from the
project's Makefile, i.e. -D_FILE_OFFSET_BITS=64.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agokernel.bbclass: allow uncompressed initramfs archives
Andreas Oberritter [Thu, 15 Sep 2016 13:15:43 +0000 (15:15 +0200)] 
kernel.bbclass: allow uncompressed initramfs archives

The code failed to copy the initramfs in case it was a plain
cpio archive.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agosystemd.bbclass: don't block on restart in postinst snippet
Andreas Oberritter [Tue, 13 Sep 2016 17:18:44 +0000 (19:18 +0200)] 
systemd.bbclass: don't block on restart in postinst snippet

Blocking may lead to failed upgrades if dependencies refused to
start on boot.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agonfs-utils: new packageconfig options: blkid, ipv6, libmount, nfsv4, nfsv41
Andreas Oberritter [Mon, 6 Jun 2016 15:26:58 +0000 (17:26 +0200)] 
nfs-utils: new packageconfig options: blkid, ipv6, libmount, nfsv4, nfsv41

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agokeyutils: new recipe, used by nfs-utils
Andreas Oberritter [Mon, 6 Jun 2016 15:26:06 +0000 (17:26 +0200)] 
keyutils: new recipe, used by nfs-utils

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agonfs-utils: backport fixes for a segfault and broken protocol fallback
Andreas Oberritter [Mon, 23 May 2016 15:51:13 +0000 (17:51 +0200)] 
nfs-utils: backport fixes for a segfault and broken protocol fallback

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agonfs-utils: backport accepted patch for statd segfault
Andreas Oberritter [Mon, 23 May 2016 15:49:53 +0000 (17:49 +0200)] 
nfs-utils: backport accepted patch for statd segfault

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: dselect depends on perl
Andreas Oberritter [Tue, 10 May 2016 20:05:46 +0000 (22:05 +0200)] 
apt: dselect depends on perl

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: fix rpath error during configure
Andreas Oberritter [Tue, 10 May 2016 19:56:29 +0000 (21:56 +0200)] 
apt: fix rpath error during configure

| checking for shared library run path origin... /bin/sh: ../apt-1.0.10.1/buildlib/config.rpath: No such file or directory

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: optionally build and install manpages
Andreas Oberritter [Tue, 10 May 2016 12:19:28 +0000 (14:19 +0200)] 
apt: optionally build and install manpages

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoffmpeg: disable unsupported extensions on mips32r1
Andreas Oberritter [Mon, 9 May 2016 18:11:44 +0000 (20:11 +0200)] 
ffmpeg: disable unsupported extensions on mips32r1

| Warning: the `dsp' extension requires MIPS32 revision 2 or greater
| Warning: the `dspr2' extension requires MIPS32 revision 2 or greater

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoffmpeg: backport configuration fix for MIPS32
Andreas Oberritter [Mon, 9 May 2016 14:35:58 +0000 (16:35 +0200)] 
ffmpeg: backport configuration fix for MIPS32

| error: '-mips32r2' conflicts with the other architecture options, which specify a mips32 processor

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodebianutils: workaround dependency problem
Andreas Oberritter [Fri, 22 Apr 2016 22:50:49 +0000 (00:50 +0200)] 
debianutils: workaround dependency problem

ERROR: Nothing RPROVIDES 'debianutils-native-run-parts-native' (but virtual:native:[...]/meta/recipes-support/debianutils/debianutils_4.7.bb RDEPENDS on or otherwise requires it)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agolighttpd: access and accesslog are optional modules
Andreas Oberritter [Fri, 22 Apr 2016 18:38:56 +0000 (20:38 +0200)] 
lighttpd: access and accesslog are optional modules

Move them from RDEPENDS to RRECOMMENDS.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agolighttpd: add many packageconfig options
Andreas Oberritter [Fri, 22 Apr 2016 18:26:26 +0000 (20:26 +0200)] 
lighttpd: add many packageconfig options

Respect ipv6, largefile and xattr distro features.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agonfs-utils: create packageconfig for tirpc
Andreas Oberritter [Mon, 26 Oct 2015 22:33:50 +0000 (23:33 +0100)] 
nfs-utils: create packageconfig for tirpc

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agorpcbind: update systemd service file for early start
Andreas Oberritter [Mon, 15 Jun 2015 22:57:36 +0000 (00:57 +0200)] 
rpcbind: update systemd service file for early start

Inspired by Ubuntu package.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agorpcbind: remove rpcbind.socket
Andreas Oberritter [Mon, 15 Jun 2015 22:57:02 +0000 (00:57 +0200)] 
rpcbind: remove rpcbind.socket

We want rpcbind to start earlier than sockets.target.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agopackage_deb.bbclass: compress control.tar with the same algorithm as data.tar
Andreas Oberritter [Mon, 23 Mar 2015 14:41:51 +0000 (15:41 +0100)] 
package_deb.bbclass: compress control.tar with the same algorithm as data.tar

Yields better compression with xz and fixes a problem invoking gzip.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agonfs-utils: change file ownership for statd
Andreas Oberritter [Sun, 21 Sep 2014 18:44:29 +0000 (20:44 +0200)] 
nfs-utils: change file ownership for statd

Otherwise, rpc.statd complains about "Running as root. chown
/var/lib/nfs/statd to choose different user" when started by
systemd.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agonfs-utils: fix upgrade path for nfs-utils-client package
Andreas Oberritter [Sun, 21 Sep 2014 16:04:29 +0000 (18:04 +0200)] 
nfs-utils: fix upgrade path for nfs-utils-client package

Commit 39bb7e3 ("nfs-utils: separate package as Debain style") moved
files from nfs-utils to nfs-utils-client, breaking package upgrades.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agonfs-utils: create package nfs-utils-mount
Andreas Oberritter [Sun, 21 Sep 2014 16:00:55 +0000 (18:00 +0200)] 
nfs-utils: create package nfs-utils-mount

Contains just enough to mount and unmount nfs volumes, i.e.
the same as nfs-utils-client before commit 39bb7e3 ("nfs-utils:
separate package as Debain style").

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agonfs-utils: systemd fixes
Andreas Oberritter [Sat, 20 Sep 2014 23:34:00 +0000 (01:34 +0200)] 
nfs-utils: systemd fixes

- Start daemons by default like the initscripts do, but only if
  /etc/exports exists.
- Inform systemd.bbclass about nfs-utils-client package.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agogpgme: enable native builds
Andreas Oberritter [Thu, 18 Sep 2014 13:16:37 +0000 (15:16 +0200)] 
gpgme: enable native builds

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoupdate-rc.d: ignore initscript in prerm and preinst when systemd is active
Andreas Oberritter [Sat, 13 Sep 2014 11:29:02 +0000 (13:29 +0200)] 
update-rc.d: ignore initscript in prerm and preinst when systemd is active

In hybrid systemd/sysvinit builds, if the recipe inherits systemd and systemd
is installed, we can safely assume that the service gets stopped by the prerm
script fragment from systemd.bbclass. This fixes deinstallation of packages
with initscripts returning errors when no running service was found. The preinst
shouldn't run the initscript either, because postinst will call systemctl restart.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoconnman: Simplify and fix packaging of VPN plug-ins
Andreas Oberritter [Wed, 6 Aug 2014 11:03:45 +0000 (13:03 +0200)] 
connman: Simplify and fix packaging of VPN plug-ins

- Use simple static packaging.
- Move VPN runtime dependencies from connman to the individual plug-ins.
- Create a connmann-ppp package containing libppp-plugin.so, which is
  a shared library needed by l2tp and pptp plug-ins.
- Let connman suggest VPN packages instead of recommending them, so they
  don't get installed by default.
- Remove unknown configure options (--with-pptp --with-l2tp)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years ago{insane,package{,_deb,_ipk}}.bbclass: support 'Breaks' control field by introducing...
Andreas Oberritter [Wed, 10 Sep 2014 17:54:25 +0000 (19:54 +0200)] 
{insane,package{,_deb,_ipk}}.bbclass: support 'Breaks' control field by introducing RBREAKS

Required by Debian Policy section 7.3.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg: always install dpkg-configure.service
Andreas Oberritter [Wed, 27 Aug 2014 21:03:09 +0000 (23:03 +0200)] 
dpkg: always install dpkg-configure.service

systemd.bbclass handles everything based on DISTRO_FEATURES.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg: update packages and files to match Debian more closely
Andreas Oberritter [Wed, 27 Aug 2014 21:44:51 +0000 (23:44 +0200)] 
dpkg: update packages and files to match Debian more closely

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg: simplify replacing perl interpreter in scripts
Andreas Oberritter [Thu, 28 Aug 2014 14:04:21 +0000 (16:04 +0200)] 
dpkg: simplify replacing perl interpreter in scripts

Target scripts already contain the correct value.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg: remove unneeded do_configure override
Andreas Oberritter [Thu, 28 Aug 2014 14:02:15 +0000 (16:02 +0200)] 
dpkg: remove unneeded do_configure override

Exporting PERL_LIBDIR is enough, compiler.m4 isn't needed.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg: install start-stop-daemon to /sbin to match Debian and busybox
Andreas Oberritter [Thu, 28 Aug 2014 14:00:07 +0000 (16:00 +0200)] 
dpkg: install start-stop-daemon to /sbin to match Debian and busybox

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg: set license field to more common "GPLv2+"
Andreas Oberritter [Wed, 27 Aug 2014 21:10:42 +0000 (23:10 +0200)] 
dpkg: set license field to more common "GPLv2+"

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg: use PACKAGECONFIG
Andreas Oberritter [Wed, 27 Aug 2014 20:49:43 +0000 (22:49 +0200)] 
dpkg: use PACKAGECONFIG

Keep default dependencies as before. Set default compressor to xz
if selected, gzip otherwise.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agopackage_manager/deb: implement BAD_RECOMMENDATIONS
Andreas Oberritter [Mon, 25 Aug 2014 23:59:03 +0000 (01:59 +0200)] 
package_manager/deb: implement BAD_RECOMMENDATIONS

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agopackage_manager/deb: create Packages.xz
Andreas Oberritter [Tue, 2 Sep 2014 22:38:18 +0000 (00:38 +0200)] 
package_manager/deb: create Packages.xz

apt-get prefers it over Packages.gz.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agopackage_manager/deb: let apt-get handle postinst scripts
Andreas Oberritter [Thu, 28 Aug 2014 12:05:02 +0000 (14:05 +0200)] 
package_manager/deb: let apt-get handle postinst scripts

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: Introduce apt-opkg
Andreas Oberritter [Thu, 28 Aug 2014 18:30:15 +0000 (20:30 +0200)] 
apt: Introduce apt-opkg

'apt-opkg' provides a stripped-down opkg frontend with an apt backend.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: recommend gnupg
Andreas Oberritter [Fri, 22 Apr 2016 00:10:06 +0000 (02:10 +0200)] 
apt: recommend gnupg

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: more fine-grained packaging
Andreas Oberritter [Fri, 22 Apr 2016 00:09:20 +0000 (02:09 +0200)] 
apt: more fine-grained packaging

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: group variables (license, configuration, packaging)
Andreas Oberritter [Fri, 22 Apr 2016 00:01:24 +0000 (02:01 +0200)] 
apt: group variables (license, configuration, packaging)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: merge apt.inc into .bb
Andreas Oberritter [Thu, 21 Apr 2016 23:58:31 +0000 (01:58 +0200)] 
apt: merge apt.inc into .bb

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: merge with apt-native
Andreas Oberritter [Thu, 21 Apr 2016 23:55:22 +0000 (01:55 +0200)] 
apt: merge with apt-native

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt-native: drop obsolete patches
Andreas Oberritter [Thu, 21 Apr 2016 23:40:23 +0000 (01:40 +0200)] 
apt-native: drop obsolete patches

0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch and
noconfigure.patch are obsolete due to dpkg's new cross-bootstrap
support.

db_linking_hack.patch and environment.patch are marked as backports
from 2007.

no-curl.patch: curl-native is already a prerequisite.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: rewrite do_install
Andreas Oberritter [Thu, 21 Apr 2016 23:25:15 +0000 (01:25 +0200)] 
apt: rewrite do_install

Install missing files and directories (apt, apt-ftparchive,
apt-helper, apt-mark, manpages, trusted.gpg.d).

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: use default packaging rules for -dev package
Andreas Oberritter [Thu, 21 Apr 2016 23:04:18 +0000 (01:04 +0200)] 
apt: use default packaging rules for -dev package

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: use default packaging rules for base package, prepend apt-utils
Andreas Oberritter [Thu, 21 Apr 2016 23:02:44 +0000 (01:02 +0200)] 
apt: use default packaging rules for base package, prepend apt-utils

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: use default packaging rules for manpages
Andreas Oberritter [Thu, 21 Apr 2016 22:55:12 +0000 (00:55 +0200)] 
apt: use default packaging rules for manpages

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt-native: use sed to prepare apt.conf.sample
Andreas Oberritter [Thu, 21 Apr 2016 22:50:13 +0000 (00:50 +0200)] 
apt-native: use sed to prepare apt.conf.sample

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: merge apt-package.inc into .bb
Andreas Oberritter [Thu, 21 Apr 2016 22:42:21 +0000 (00:42 +0200)] 
apt: merge apt-package.inc into .bb

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt-native: merge apt-native.inc into .bb
Andreas Oberritter [Thu, 21 Apr 2016 22:40:22 +0000 (00:40 +0200)] 
apt-native: merge apt-native.inc into .bb

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodebianutils: Allow native builds
Andreas Oberritter [Fri, 20 Mar 2015 15:55:38 +0000 (16:55 +0100)] 
debianutils: Allow native builds

Apt has a runtime dependency on it.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agopackage_manager/deb: pass option --cross-bootstrap to dpkg
Andreas Oberritter [Thu, 25 Sep 2014 22:31:08 +0000 (00:31 +0200)] 
package_manager/deb: pass option --cross-bootstrap to dpkg

Fixes removal of packages with new dpkg version.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg-native: hardcode SYSCONFDIR to /etc in update-alternatives
Andreas Oberritter [Thu, 28 Aug 2014 14:05:50 +0000 (16:05 +0200)] 
dpkg-native: hardcode SYSCONFDIR to /etc in update-alternatives

It needs to be relative to DPKG_INSTDIR when installing.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt-native: Use option --cross-bootstrap for rootfs
Andreas Oberritter [Thu, 28 Aug 2014 03:50:36 +0000 (05:50 +0200)] 
apt-native: Use option --cross-bootstrap for rootfs

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg: update-alternatives-dpkg should conflict with other providers
Andreas Oberritter [Wed, 27 Aug 2014 21:45:35 +0000 (23:45 +0200)] 
dpkg: update-alternatives-dpkg should conflict with other providers

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg: implement offline mode for update-alternatives
Andreas Oberritter [Wed, 27 Aug 2014 15:37:20 +0000 (17:37 +0200)] 
dpkg: implement offline mode for update-alternatives

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>