aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity
AgeCommit message (Collapse)Author
2017-06-26samba: rename initscript from 'samba.sh' to more common 'samba'Andreas Oberritter
This gets masked automatically by samba.service if systemd is running. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26samba: install all systemd unit filesAndreas Oberritter
This includes samba.service, which other major distributions install, too. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26samba: remove superflous listing of pam_smbpass.soAndreas Oberritter
EXTRA_OECONF includes --with-pammodulesdir=${base_libdir}/security when pam is enabled. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26samba: use systemd_system_unitdir variableAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26samba: remove unneeded conditionals for sysvinit and systemdAndreas Oberritter
systemd.bbclass takes care of deleting unused startup scripts. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26samba: use default packaging rules for -dbg and -dev packagesAndreas Oberritter
There's no need to create multiple packages. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26samba: fix build by linking with bfd instead of goldAndreas Müller
Use this workaround as long as there is no better (upstream) fix Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> (cherry picked from commit b60c60806e57f69233db582ef88d113867c2ecd1) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26samba: fix to package pidl in samba-pidlMingli Yu
* Use =+ to replace the previous += to let samba-pidl do package before samba to guarantee the file /usr/bin/pidl packaged in samba-pidl as both samba and samba-pidl have rules to package /usr/bin/pidl and the command pidl depends on perl modules such as Parse/Pidl.pm resides in samba-pidl Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> (cherry picked from commit b4b6465fe3409c17de25f144a6240eaf74f32a5f) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26samba: upgrade to 4.4.5Jackie Huang
* This is a security release in order to address the following defect: - CVE-2016-2119 (Client side SMB2/3 required signing can be downgraded) * Detail release note: - https://www.samba.org/samba/history/samba-4.4.5.html * Removed part of the 10-use-only-libsystemd.patch which has been fixed in new version. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> (cherry picked from commit 35326fa74dee53ffa4bd454e5fc95fdcbf0d5da6) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26samba: remove ${localstatedir}/logRobert Yang
Fixed do_package error: WARNING: samba-4.4.2-r0 do_package: FILES contains file '/var/log/samba' which resides under a directory symlink. Please fix the recipe and use the real path for the file. ERROR: samba-4.4.2-r0 do_package: File './var/log/samba' cannot be packaged into 'samba-base' because its parent directory structure does not exist. One of its parent directories is a symlink whose target directory is not included in the package. ERROR: samba-4.4.2-r0 do_package: Function failed: populate_packages It has a file ${sysconfdir}/tmpfiles.d/samba.conf which will create /var/log/samba when systemd, and volatiles.03_samba when sysvinit. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> (cherry picked from commit 74d994ed27e53370101a3a44f25cd07327d774ad) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26samba: inherit update-rc.d to manage init scriptJackie Huang
inherit update-rc.d to manage init script, so we can avoid duplicating the update-rc.d commands, and the default behavior can be easily overridden by distro. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> (cherry picked from commit 32a6fd48ab781c15c37551f4e8ed6721ca5cb87b) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26Samba: use only libsystemdSzombathelyi György
This patch was disappeared while moved to 4.4.2 Signed-off-by: Gyorgy Szombathelyi <gyurco@freemail.hu> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> (cherry picked from commit b6e805c83eb5dd27729959443abdc5191cb2c74c) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2016-08-16openconnect: PACKAGECONFIG certain dependenciesJoe Slater
Some items now in DEPENDS are configuration options, so we create PACKAGECONFIG[] entries for them. We do not select pcsc-lite by default because it is GPLv3. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> (cherry picked from commit a27d4a75c503f8cab2188cfed78754d1a4157775) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-05-09openconnect: add missing dependenciesIoan-Adrian Ratiu
They were autodetected and triggered QA warnings Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-05-02vpnc: stage vpnc-scriptIoan-Adrian Ratiu
The vpn connection handling script is used during building openconnect so we need to stage it. Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-05-02openconnect: add recipeIoan-Adrian Ratiu
openconnect is a FOSS VPN client designed to work with Cisco AnyConnect and Pulse Connect Secure (Juniper SSL). Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-05-02samba: remove dependency on ctdbMark Asselstine
During rootfs creation the following error is being hit Preparing... ######################################## [ 0%] warning: Removing ctdb-2.5.1-r0@core2_64 due to file /usr/bin/ctdb conflicting with samba-4.4.2-r0@core2_64 error: ctdb-dev-2.5.1-r0 conflicts with ctdb = 2.5.1-r0 Looking at the relationship between samba and ctdb it appears that the landscape has changed some starting in version 4.2. Samba now includes and installs ctdb instead of relying on stand-alone ctdb. Referencing https://wiki.samba.org/index.php/CTDB_Setup we see this activated by '--with-cluster-support' which we do pass to configure based on the bb. Dropping the DEPENDS on ctdb resolves this issue. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-04-29samba: fix paths in sysv initscriptRichard Leitner
The sysv initscript provided by samba assumes smbd and nmbd are installed in /opt/samba/bin/. In our case both binaries are installed to /usr/sbin/ by default. Therefore fix these paths. Furthermore fix the log and config directory as well as the name of the initscript in its usage text. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-04-29samba: fix QA warnings.Armin Kuster
V2: Fix WARN: samba: samba rdepends on libarchive, but it isn't a build dependency? V1: WARNING: samba-4.4.2-r0 do_package_qa: QA Issue: samba rdepends on libaio, but it isn't a build dependency, missing libaio in DEPENDS or PACKAGECONFIG? [build-deps] WARNING: samba-4.4.2-r0 do_package_qa: QA Issue: samba rdepends on lttng-ust, but it isn't a build dependency, missing lttng-ust in DEPENDS or PACKAGECONFIG? [build-deps] Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-04-29samba: add volatile file to support readonly rootfsJohannes Pointner
This patch adds a volatile file for samba which was removed by the update from 3.6.25 to 4.1.12. This file is necessary to build a image that uses the read-only-rootfs feature. Signed-off-by: Johannes Pointner <johannes.pointner@br-automation.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-04-29samba: Update to latest stableJoe MacDonald
The previous version of Samba had many critical security updates that would've required significant backporting effort. Update to the latest stable release instead. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-04-01dhcpcd: cleanup recipePascal Bach
- use autotools-brokensep instead of B = "${S}" - make udev configurable via PACKAGECONFIG - make ipv6 configurable via PACKAGECONFIG Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Freudiger Raphael <raphael.freudiger@siemens.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-04-01dhcpcd: update to version 6.10.1Pascal Bach
Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-04-01wolfssl: update to version 3.9.0lchristina26
Update includes new leantls configuration, RSA OAEP padding support, Arduino example client, and more. Signed-off-by: lchristina26 <leah@wolfssl.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-02-29samba: Fix typo in PACKAGECONFIG for "acl" and "aio"mike.looijmans@topic.nl
There's a "-" too many in PACKAGECONFIG[acl] and PACKAGECONFIG[aio] resulting in errors like this if built without acl: waf: error: no such option: ---without-acl-support Remove the extra "-" to fix the issue. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-02-29samba: update systemd service filesKai Kang
Update systemd service files of samba. There are no '@BASE_BINDIR@' and '@SBINDIR@' in these service files, so drop the original replacement. Command kill is installed to /bin/kill, then correct in the service files. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-02-29inetutils: Fix build when static libs disabledRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-02-22samba: Fix build when static libs disabledJoe MacDonald
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-02-22vlan: Explicitly set EXTRA_OEMAKE as requiredMike Crowe
This recipe currently relies on EXTRA_OEMAKE having been to set to "-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this explicit so that the default in bitbake.conf can be changed. Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-02-22vpnc: Explicitly set EXTRA_OEMAKE as requiredMike Crowe
This recipe currently relies on EXTRA_OEMAKE having been to set to "-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this explicit so that the default in bitbake.conf can be changed. Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-02-22snort: BlacklistMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-02-22fix missing packageconfig for samba with sysvinitStephano Cetola
Building samba with sysvinit currently throws a QA warning about "invalid PACKAGECONFIG: sysv". This fixes that issue. Signed-off-by: Stephano Cetola <stephanoc@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-26dhcpcd: add recipe for dhcpcdNate Karstens
Adds a new recipe for dhcpcd version 6.10.0. Signed-off-by: Nate Karstens <nate.karstens@garmin.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-20recipes-connectivity/samba: Only rmdir directories that existmike.looijmans@topic.nl
Depending on PACKAGECONFIG selection, the /run/samba directory may not have been created. Make the do_install_append handle both situations by checking whether these directories exist before attempting to remove them. This fixes do_install failing with an error like this: rmdir: failed to remove '/.../samba/4.1.12-r0/image/run/samba': No such file or directory Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-20samba: backport patches for cross-compilingJackie Huang
* Adds a new mode for samba cross-compiling: When both --cross-answers and --cross-execute are set, this means: - Use cross-answers - If answer is unknown, then instead of adding UNKNOWN to the cross-answers file and failing configure, the new mode runs cross-execute to determine the answer and adds that to the cross-answers file. * And some fixes and improvements for cross-compiling. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-20samba: fix the incorrect tmpfiles installed directoryJackie Huang
- The tmpfiles are always installed in /usr/lib even for multilib. - It makes no sense to have two tmpfiles in both /usr/lib/tmpfiles.d and /etc/tmpfiles.d, install it as one in /etc/tmpfiles.d. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-05samba: move RDEPENDS of perl from samba to samba-pidlJens Rehsack
samba-pidl is the package containing the perl-extension, so RDEPENDS must include perl for samba-pidl, not for samba. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-05samba: split packages similar to samba3Jens Rehsack
Since entire samba4 package is around 25MB, trying to save some space by splitting the package into several ones logically grouped as they were at samba3 in fido. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-05samba: add PACKAGECONFIG for valgrindWenzong Fan
* Add configure options '--without-valgrind' * Disable valgrind by default since it doesn't build for all targets This fixes build errors: ../source3/include/includes.h:156:31: fatal error: \ valgrind/memcheck.h: No such file or directory compilation terminated. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-04samba: make cyrus-sasl optionalJens Rehsack
Since waf doesn't allow override check results via environment, a patch is needed to remove the bad check when an optional feature is unwanted. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-04samba: fix typo distinguishing between plain sysv init and lsb initJens Rehsack
During fix for distinguishing between lsb flavoured sysv init and pure, on the rocks version, author introduced a typo. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-04talloc: rename to libtalloc and cleanup dependency messJens Rehsack
To avoid errors when building dev-images (talloc-dev is missing), and to avoid insane empty packages for that, rename talloc -> libtalloc as libtevent shows. With that, remove dependencies to attr/xattr - unless explicitely enabled via PACKAGECONFIG. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-11-30ufw: improve RRECOMMENDSRoy Li
ufw needs lots of netfilter module to run Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-11-30snort: 2.9.6.0 -> 2.9.7.5Zhiquan Li
Upgrade snort from 2.9.6.0 to 2.9.7.5, as its dependency upgrade daq from 2.0.2 to 2.0.6, and accordingly update the patches: * Add 2 new patches for snort to solve the cross compile issues * Discard 2 snort patches since it is not needed * Refresh the patch for daq new version * Remove redundant '/' to getting round the rpm debugedit bug: canonicalization unexpectedly shrank character Signed-off-by: Zhiquan Li <zhiquan.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-11-16samba: add dependency on libbsd cyrus-sasl and PACKAGECONFIG for dmapiMartin Jansa
* dmapi is in meta-filesystems * hopefully fixes: WARN: samba: samba rdepends on cyrus-sasl, but it isn't a build dependency? WARN: samba: samba rdepends on dmapi, but it isn't a build dependency? WARN: samba: samba rdepends on libbsd, but it isn't a build dependency? WARN: samba: samba rdepends on libpam, but it isn't a build dependency? WARN: samba: samba-python rdepends on libbsd, but it isn't a build dependency? Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-16samba, ctdb, libldb, libtdb, libtevent, talloc: move to meta-networkingMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-11snort: fix indentationMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-11snort: fix m4 causes out of memory during configureZhiquan Li
There is an incorrect m4_define() in configure.in which will result in an infinite recursion, and it doesn't make sense, since snort 2.9.7 it has been commented out. We follow this solution to fix it. Signed-off-by: Zhiquan Li <zhiquan.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23vpnc, arptables, lirc, debootstrap, log4cpp, python-ldap: drop unused ↵Martin Jansa
variable PRIORITY Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-21meta-networking: recipes-connectivity: add relayd recipeIoan-Adrian Ratiu
relayd is a daemon to relay and dynamically redirect incoming connections to a target host. Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>