Commit Graph

179 Commits

Author SHA1 Message Date
Harald Welte 7d5329ed57 bridge-utils: Add missing FILES_${PN} for ifupdown integration 2015-02-13 15:16:41 +01:00
Harald Welte 61c2d2b6d3 bridge-utils: Add ifupdown integration from Debian packages
bridge-utils.sh was modified to use /usr/sbin/brctl rather than
/sbin/brctl, as OE seems to use the former while Debian uses the latter.
2015-02-13 14:56:30 +01:00
Holger Hans Peter Freyther 485d43fcd6 ifupdown: Attempt to package the debian ifupdown application
This way we can manage bridges and vlans without additional
hacks. This package shouldn't clash with busybox so I need
to install all files with a ${BPN} suffix and then use the
update-alternatives to create the symlinks. The last two parts
were not tested/verified yet.
2015-02-13 12:25:02 +01:00
Holger Hans Peter Freyther 9bcf478f7e bridge-utils: Do the broken src != builddir by hand
dora doesn't have this new bbclass yet. so let's do it
by hand.
2015-02-13 11:25:12 +01:00
Holger Hans Peter Freyther 8cff638993 bridge-utils: Import from meta-oe 2015-02-13 10:17:50 +01:00
Holger Hans Peter Freyther d1bca38043 dnsmasq: Initial configuration for sysmocom
This is untested but in the assembled IDU eth2 is the NJB
link and the range/netmask was taken from the ISC DHCPD
configuration file.
2015-02-13 09:48:22 +01:00
Holger Hans Peter Freyther e69ac76dc0 dnsmasq: Begin with a sysmocom-idu specific config 2015-02-13 09:45:50 +01:00
Henning Heinold d3d30ca98a socat: update to 1.7.3.0
* the license in README has a new checksum, it now clarifies
  to GPLv2
* bump the layer priority otherwise we could not use the latest version,
  because the yocto layers have a higher priority

Related: SYS#732
2015-02-13 00:47:38 +01:00
Holger Hans Peter Freyther 8f8dae9938 edison: Remove edison support from meta-sysmocom-bsp
This means that currently only Yocto Dora and Yocto Master are
being targeted. The amount of maintenance to get it to work on
Edison again is too high and it is better to focus on a systemd
only world. Remove the symlinks for yocto-edison.

A quick look and some notes from henning pointed me to wget
which is in the default layers, the sysmobts-2050 which is now
handle dby sysmobts and some older notes that are unlikely
to be addressed.
2015-02-13 00:45:13 +01:00
Holger Hans Peter Freyther 8f7cc4bd9a pythom-pexpect: Import from meta-python 2015-02-12 16:30:16 +01:00
Holger Hans Peter Freyther f5e3916424 python-pyserial: Import from meta-python 2015-02-12 16:27:02 +01:00
Holger Hans Peter Freyther c257a57e17 dnsmasq: It might be eaisier to use dnsmasq than the monsters
dnsmasq allows us to replace bind, dhcpd and atftpd with a
very small binary. Let's do that.
2015-02-10 19:45:05 +01:00
Holger Hans Peter Freyther 53d7c53805 sysmocom-idu: Listen on localhost for NMEA frames
Listen on localhost for NMEA frames. The frames will be received
on a system and then forwarded to a local gpsd.
2015-02-09 14:58:09 +01:00
Holger Hans Peter Freyther cfc0c70237 atftp: Add files needed by the recipe 2015-02-09 07:54:04 +01:00
Holger Hans Peter Freyther b66bf237e9 atftp: Import the version from meta-networking 2015-02-09 07:47:18 +01:00
Holger Hans Peter Freyther e068851a66 openvpn: Move to OpenVPN v2.3.6 and systemd service files
Systems that had OpenVPN enabled by default will be migrated
(at least that is the aim).
2014-12-30 12:25:11 +01:00
Harald Welte 6bd60417a1 update gpsdate to version permitting non-standard gpsd ports 2014-12-20 16:13:41 +01:00
Henning Heinold 5c189003c5 openvpn: clean update from sysv-rc to systemd for the startup files
[hfreyther: We assume that the user might install OpenVPN with
a different priority but that it will always be available in the
runlevel two (e.g. even if the user changed the default runlevel)]

Related: SYS#517
2014-12-16 17:23:36 +01:00
Henning Heinold 078c48f8f1 openvpn: update 2.3.4 to 2.3.6
Fixes: SYS#836
2014-12-16 09:26:03 +01:00
Holger Hans Peter Freyther d43fa5e76f openvpn: I have no idea who creates the /run/openvpn directory
I have no idea who creates the /run/openvpn directory on Debian.
The path is not in a tmpfiles.d and I don't see the generator
creating it or the service file indicating that it needs to be
created. Place the file with openvpn.NAME.status into the /run
directory which appears to work on the device.
2014-11-22 21:50:24 +01:00
Holger Hans Peter Freyther 37deb6091c libspatialite: Upgrade to version 4.2.0
Package the new sqlite3 plugin into a new package and skip
the dev-so qa issue. Add some extra depends that are now used
by the library.
2014-11-22 15:13:04 +01:00
Holger Hans Peter Freyther 188f5fc60c Import from meta-oe to have a spatial enabled sqlite 2014-11-22 13:54:17 +01:00
Holger Hans Peter Freyther f7004f3315 openvpn: Always restart the OpenVPN service
We want the OpenVPN service to be always restarted. I am not sure
how "forking" and restart will work together but we will need to
give it a try.
2014-11-22 00:05:29 +01:00
Holger Hans Peter Freyther 6909960948 openvpn: Use the debian generator and service files for OpenVPN
We want to use systemd for managing the lifetime of OpenVPN. Take
the debian generator (which should work with busybox ash) and the
openvpn.service (to inhibit the sysvinit script) and the target
file and install it.

On systems that have ran "update-rc.d openvpn defaults" one need
to manually execute a systemctl enable openvpn.service. This is
not done through a post-inst script and I am not sure if we should
do it. This means there is a danger of ending with a unit that
doesn't start OpenVPN automatically after upgrade!

The scripts/packages have not been tested on a device yet.
2014-11-22 00:02:03 +01:00
Holger Hans Peter Freyther 812eceaea3 openvpn: Add OpenVPN 2.3.4 recipe from upstream OpenEmbedded
We should use a more recent version of the OpenVPN client. Import
it from the meta-networking layer like we did before. The sysvinit
script has just minor whitespace differences and wasn't imported.

We need to test opkg upgrades of OpenVPN through the VPN. We don't
want to kill the tunnel on such upgrade.
2014-11-21 23:42:42 +01:00
Henning Heinold 682ec7043f gpsd: RSUGGESTS the gpsd-udev
* switching gpsd-udev to RSUGGESTS on udev, makes
  it possible to not install gpsd-udev by default

* increase minor PR

FIXES: SYS#756
2014-11-11 21:53:40 +01:00
Holger Hans Peter Freyther 2e2d464894 tcpdump: Speculative fix for dora
In dora there is no autotools-brokensep bbclass. So let's just
set the build directory to the source directory ourselves. I have
not built the package for dora though/
2014-11-08 19:55:22 +01:00
Holger Hans Peter Freyther 240b08dde9 tcpdump: Upgrade to version 4.6.1 to fix cross-builds
Poky dizzy is more strict with -I/usr/include and the old
tcpdump could pick-up "/usr/bin/pcap-config" from the host
and fail. Just upgrade to a newer version of tcpdump and be
done with it.
2014-11-08 14:44:45 +01:00
Holger Hans Peter Freyther da06a847b5 misc: poky/LICENSE has changed.. reference a hopefully more stable file
Only reference the COPYING.MIT as it is unlikely to change in
the next upgrade.
2014-11-08 14:44:34 +01:00
Holger Hans Peter Freyther 4cf7207051 gpsd: Bump the PR after the latest config change for sysmobts-v2 2014-09-24 15:07:15 +02:00
Holger Hans Peter Freyther 34fc7b631b tasks-sysmocom-bts: Install packages for the sysmoBTS as well
We want to have a single image that will do the right thing on
the various BTS models we have. This means we will install the
sbts2050 utilitiy (it clashes with sysmobts-mgr anyway) and the
gpsd with a default config for it.

The sysmobts-v2 config file was for a specific usecase and is
obsolete for all intents and purposes. Make it the default

Related: SYS#559
2014-08-28 16:53:24 +02:00
Holger Hans Peter Freyther 02b15f6048 gpsd: Add custom format for sending data using -l and -m options 2014-08-22 10:08:33 +02:00
Holger Hans Peter Freyther 1872d0a488 gpsd: Add a default for the sysmobts 2050 device
There is a trimble GPS on this device
2014-07-25 11:21:16 +02:00
Henning Heinold c134a3bbdd gpsd: Enable systemd support based on DISTRO_FEATURE
Enabling the "systemd" feature will enable the socket activation
feature used by systemd. This way we can (re-)start the GPSD based
on the socket activation.
2014-07-20 18:15:16 +02:00
Holger Hans Peter Freyther 26d74189eb gpsd: Do not mess with the argv of the process
Henning got really confused that the "a.b.c:1234" he passed to
gps2udp showed up as "a.b.c 1234" in the kernel cmdline. Use
strdup to take a copy of it.

Fixes: SYS#424
2014-07-15 08:28:42 +02:00
Holger Hans Peter Freyther 2f367aec31 gpsd: Upgrade from 3.9 to 3.10 in the hope the TSIP is working better
Related: SYS#410
2014-06-24 20:28:48 +02:00
Holger Hans Peter Freyther 92c3a78288 gpsd: Do not generate an RPATH when we don't need it
So far we have used chrpath to fix the rpath we don't want but
this creates issues with supporting both dora and edison (we need
to depend on different recipes). Instead just force the RPATH to
be off. This can be done by setting the internal _RPATH variable.
I found this in Tool/gnulink.py.
2014-06-17 19:52:43 +02:00
Holger Hans Peter Freyther b895e31fd8 iperf: Add the iperf utility for GPRS performance tests
We really need a sysmocom-feed-packagegroup for all the extra
recipes we care about.
2014-05-30 08:43:40 +02:00
Holger Hans Peter Freyther c63ba210da gpsd: Address warning by bitbake about -dev package
The .pc files were already covered by the normal -dev package
glob. No need to do more work here.

Addresses:
WARNING: Variable key FILES_${PN}-dev (${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la ${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig ${datadir}/aclocal ${base_libdir}/*.o ${libdir}/${BPN}/*.la ${base_libdir}/*.la) replaces original key FILES_gpsd-dev ( ${libdir}/pkgconfdir/libgpsd.pc ${libdir}/pkgconfdir/libgps.pc).
2014-05-18 10:50:03 +02:00
Holger Hans Peter Freyther 4b1f68ae33 cifs-utils: Move it to the extras like the other extras 2014-03-29 00:17:17 +01:00
Harald Welte 57863a435b update gpsdate to a version that re-connects on gpsd exit 2013-10-14 10:44:20 +02:00
Harald Welte 46d5e0b697 gpsd: Add patch to enable + configure PPS in TSIP (trimble) driver
In the sysmoBTS 2050, we want to configure the 1PPS output of the
trimble to be active only if it has at least 1 satellite in view,
and want to make the receiver output its time information in UTC,
rather than GPS time.
2013-10-09 23:58:18 +02:00
Holger Hans Peter Freyther 8fab0f3222 uucp: opkg works on files and not directories. Create /var/spool/uucp in postinst
Create the spool directory in the post install in case it does
not exist yet. Use the -m 0770 to begin with the right default
for this directory.
2013-08-17 19:14:10 +02:00
Holger Hans Peter Freyther 4f6d4893ce vlan: Add a vlan configuration utility as used on the OHM 2013-08-17 18:50:53 +02:00
Holger Hans Peter Freyther 6e7383839c gpsd: Mark the /etc/default/gpsd as a CONFFILE 2013-06-20 20:39:11 +02:00
Holger Hans Peter Freyther 6453080cef gpsd: Make sure the sysmobts-v2 gpsd default version is installed
The sysmobts-v2 version was not installed because the file was
not called properly. Rename it to gpsd-default and the sysmobts-v2
version will be picked and installed.
2013-06-20 19:48:56 +02:00
Holger Hans Peter Freyther 57c0346f56 gpsd: Upgrade to version 3.9 in the hope of some crashes being fixed
GPSD 3.7 is somehow exiting without us really knowing the cause. The
version 3.9 has been released and we hope that it might just fix the
issues we are experiencing.
2013-06-20 18:21:28 +02:00
Holger Hans Peter Freyther 5b35766651 gpsdate: Upgrade with a now fully working init script 2013-06-20 11:19:55 +02:00
Holger Hans Peter Freyther 3f228b8e6e gpsdate: Use SRCPV in the PV and bump the PE
Follow the Poky conventions and use SRCPV for the git package.
Bump the PR because otherwise the package is not upgradable.
2013-06-20 11:19:55 +02:00
Holger Hans Peter Freyther 16f9bbb288 gpsdate: Upgrade to a newer git version with improved init scripts 2013-06-20 11:19:55 +02:00
Holger Hans Peter Freyther b6dc4b91a7 gpsdate_git.bb: Use RDEPENDS_${PN} instead of RDEPENDS for dylan/master 2013-06-19 18:11:37 +02:00
Holger Hans Peter Freyther 0c797643dd gpsdate: Use "" for variable content.
The new poky is more strict. Use quotes around the variable for
the work directory.
2013-06-01 18:54:14 +02:00
Harald Welte 0c79987641 gpsdate: Update to current git master (includes init script) 2013-05-12 12:00:02 +02:00
Holger Hans Peter Freyther c83652a73a gpsd: Even when disabling python we still need it to be available during build 2013-05-10 09:55:38 +02:00
Holger Hans Peter Freyther 9c3b75040a misc: Cleanup the RDEPENDS warning by the latest bitbake parser
This is addressing:
Variable RDEPENDS is set as not being package specific, please
fix this.
2013-04-11 18:44:07 +02:00
Harald Welte fcfffacfa8 update gpsdate to git master 2013-04-10 15:17:43 +02:00
Harald Welte 920b27acba add new gpsdate recipe 2013-04-10 14:11:41 +02:00
Holger Hans Peter Freyther 336c4212e5 lmsensors-apps: Ask lmsensors to install man pages to the right directory
Ask the buildsystem to install the manpages to the mandir. This will avoid
the following warning.

WARNING: QA Issue: lmsensors-apps: Files/directories were installed but not shipped
  /usr/man
2013-04-07 16:39:58 +02:00
Holger Hans Peter Freyther 661e10551b gpsd: Fix a warning with newer bitbake parsers
RROR: There is a confusing multiline, partially commented expression on line 22 of file /home/ich/firmen/gesmokom/source/meta-sysmocom-bsp/recipes-extra/gpsd/gpsd_3.7.bb (SRC_URI[md5sum] = "52d9785eaf1a51298bb8900dbde88f98").
2013-04-07 16:39:58 +02:00
Holger Hans Peter Freyther de0f9b5f3d uucp: We are forced to chown this after the installation
We could use "fakeroot do_install() {}" but this will still not
make the spool directory be owned by uucp. Use a postinst script
to make this up. The logic is copied from the cronie bitbake file
and we will see how this works at image creation time.
2013-03-16 18:24:41 +01:00
Holger Hans Peter Freyther aea5136f30 gpsd: Make the stop work with the busybox start-stop-daemon
The stop command did not stop the GPSD. Let the start-stop-daemon
command stop the command based only on the PID.
2013-03-16 18:01:57 +01:00
Holger Hans Peter Freyther 0f3ea35f17 gpsd: Make sure the chrpath-native is built before packaging gpsd 2013-03-16 09:14:34 +01:00
Harald Welte 209d4ec0be uucp: make sure /etc/uucp is the config path, not /usr/conf/uucp 2013-03-15 13:02:06 +01:00
Harald Welte cbb7200e61 Add UUCP recipe 2013-03-15 11:52:47 +01:00
Harald Welte 85a4948d4b add sysmobts-v2 specific GPSD config file
FIXME: this will actually assume a GPS that is indirectly attached
to a GSM Modem which will be handled by openmoko-gsmd and forwarded via
UDP.  However, we might have a GPS receiver attached directly to the
GPS UART in other hardware versions!
2013-03-14 21:17:30 +01:00
Harald Welte 766aabc563 import gpsd_3.7 recipe, taken from oe-meta.git, modified
* no longer depen on python
 * no longer depend on dbus
 * disable lots of compile options we don't need
2013-03-02 17:07:30 +01:00
Jan Luebbe 5e17d8e537 Attempt to target multiple versions of Poky at the same time
The idea is that the basic extension resides inside the the normal
recipe directories. Depending on the version of poky the bbappends
need to be included. Appends applying to all versions will be put
into the shared folder, specific ones into the specific directory.
Once a bbappend can not be shared anymore it needs to be copied.
2012-09-15 17:44:57 +02:00
Holger Hans Peter Freyther 6a4abb5830 lmsensors-apps: Package the *.a into a new -staticdev package 2012-09-04 14:14:00 +02:00
Holger Hans Peter Freyther 2d8f097946 openvpn: Introduce OpenVPN from meta-openembedded 2012-08-15 17:50:48 +02:00
Holger Hans Peter Freyther 9f0744ce76 debootstrap: Add a version of debootstrap to bootstrap debian images 2012-07-21 18:10:27 +02:00
Holger Hans Peter Freyther 21c475ae4a gnupg/libksba: Add gnupg/libksba from openembedded-contrib for debootstrap 2012-07-21 18:10:27 +02:00
Holger Hans Peter Freyther a6ae74f721 ca-cacert-rootcert.bb: Have the complete root for CACert 2012-07-09 17:05:52 +02:00
Holger Hans Peter Freyther be68ad33d2 ca-cacert-rootcert.bb: Create symlinks for all fingerprints of the cert 2012-07-09 16:38:38 +02:00
Holger Hans Peter Freyther 4df5621826 ca-cacert-root: Do not use the full-blown ca-certificates
First ca-certificates does not create a symlink from /etc/ssl/certs
to /usr/lib/ssl/certs, second it does not run the c_rehash perl utility
making the recipe pretty useless and third it trusts way too many
cert authorities.
2012-07-09 16:19:40 +02:00
Holger Hans Peter Freyther ae891be609 ca-certificates: Taken from meta-openembedded needed for wget
I upgraded it to 20120623 and updated checksums.
2012-07-09 14:49:41 +02:00
Holger Hans Peter Freyther 5508643b52 wget: Be more specific about the version of GPL 2012-05-31 14:46:57 +08:00
Dexuan Cui 842d3ece07 socat: add the latest stable version 1.7.2.0
socat is useful for the self-hosted-image work.

The original recipe is from OE:
http://git.openembedded.org/openembedded/tree/recipes/socat/
and I upgraded it to 1.7.2.0.

Thank Koen Kooi <koen@dominion.thruhere.net> for suggesting
how to assign the LICENSE field with a proper value.

(From OE-Core rev: b1771ff0ad39250678bd53b0ae7543c9365572f5)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-31 14:46:57 +08:00
Holger Hans Peter Freyther b863e59aa6 wget: Add wget from meta-oe
Having wget available will allow to use it for online updates with opkg.
2012-05-31 14:46:56 +08:00
Holger Hans Peter Freyther dd6f9356b1 meta-sysmocom-bsp: Create bsp for the sysmocom hardware
This layer will power our hardware. This includes the sysmoBSC, sysmoBTS v1
and the sysmoBTS v2.
2012-05-31 14:46:42 +08:00