[oe] [meta-python][PATCH] python-pycurl: add recipes for python2 and python3
From: Jackie Huang PycURL is a Python interface to libcurl, the multiprotocol file transfer library. Similarly to the urllib Python module, PycURL can be used to fetch objects identified by a URL from a Python program Signed-off-by: Jackie Huang --- .../recipes-devtools/python/python-pycurl.inc | 26 ++ .../python/python-pycurl_7.43.0.3.bb | 2 ++ .../python/python3-pycurl_7.43.0.3.bb | 2 ++ 3 files changed, 30 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-pycurl.inc create mode 100644 meta-python/recipes-devtools/python/python-pycurl_7.43.0.3.bb create mode 100644 meta-python/recipes-devtools/python/python3-pycurl_7.43.0.3.bb diff --git a/meta-python/recipes-devtools/python/python-pycurl.inc b/meta-python/recipes-devtools/python/python-pycurl.inc new file mode 100644 index 000..ac9a370 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pycurl.inc @@ -0,0 +1,26 @@ +SUMMARY = "A Python Interface To The cURL library" +DESCRIPTION = "\ +PycURL is a Python interface to libcurl, the multiprotocol file \ +transfer library. Similarly to the urllib Python module, PycURL can \ +be used to fetch objects identified by a URL from a Python program \ +" +SECTION = "devel/python" +HOMEPAGE = "http://pycurl.io/; + +LICENSE = "LGPLv2 | MIT" +LIC_FILES_CHKSUM = " \ +file://COPYING-LGPL;md5=4fbd65380cdd255951079008b364516c \ +file://COPYING-MIT;md5=2df767ed35d8ea83de4a93feb55e7815 \ +" + +SRC_URI[md5sum] = "f0ed4c805e8bec734990e2e0ee78568e" +SRC_URI[sha256sum] = "6f08330c5cf79fa8ef68b9912b9901db7ffd34b63e225dce74db56bb21deda8e" + +inherit pypi + +PYPI_PACKAGE = "pycurl" + +DEPENDS = "\ +curl \ +${PYTHON_PN}\ +" diff --git a/meta-python/recipes-devtools/python/python-pycurl_7.43.0.3.bb b/meta-python/recipes-devtools/python/python-pycurl_7.43.0.3.bb new file mode 100644 index 000..7ab2592 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pycurl_7.43.0.3.bb @@ -0,0 +1,2 @@ +inherit setuptools +require python-pycurl.inc diff --git a/meta-python/recipes-devtools/python/python3-pycurl_7.43.0.3.bb b/meta-python/recipes-devtools/python/python3-pycurl_7.43.0.3.bb new file mode 100644 index 000..5ad319a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pycurl_7.43.0.3.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-pycurl.inc -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-python][PATCH] python-pika: add recipes for python2 and python3
From: Jackie Huang Pika is a pure-Python implementation of the AMQP 0-9-1 protocol including RabbitMQ’s extensions. Signed-off-by: Jackie Huang --- .../recipes-devtools/python/python-pika.inc| 22 ++ .../recipes-devtools/python/python-pika_1.1.0.bb | 2 ++ .../recipes-devtools/python/python3-pika_1.1.0.bb | 2 ++ 3 files changed, 26 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-pika.inc create mode 100644 meta-python/recipes-devtools/python/python-pika_1.1.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-pika_1.1.0.bb diff --git a/meta-python/recipes-devtools/python/python-pika.inc b/meta-python/recipes-devtools/python/python-pika.inc new file mode 100644 index 000..10be5bb --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pika.inc @@ -0,0 +1,22 @@ +SUMMARY = "Pika is a RabbitMQ (AMQP 0-9-1) client library for Python." +DESCRIPTION = " \ +Pika is a pure-Python implementation of the AMQP 0-9-1 protocol \ +including RabbitMQ’s extensions. \ +" +SECTION = "devel/python" +HOMEPAGE = "https://pika.readthedocs.io; +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=535836bf0a5de515a7bfee026075701d" + +SRC_URI[md5sum] = "6002400cdd33bf85ec8680ece72910d4" +SRC_URI[sha256sum] = "9fa76ba4b65034b878b2b8de90ff8660a59d925b087c5bb88f8fdbb4b64a1dbf" + +inherit pypi + +PYPI_PACKAGE = "pika" + +RDEPENDS_${PN} += " \ +${PYTHON_PN}-logging \ +${PYTHON_PN}-tornado \ +${PYTHON_PN}-twisted \ +" diff --git a/meta-python/recipes-devtools/python/python-pika_1.1.0.bb b/meta-python/recipes-devtools/python/python-pika_1.1.0.bb new file mode 100644 index 000..f7e0198 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pika_1.1.0.bb @@ -0,0 +1,2 @@ +inherit setuptools +require python-pika.inc diff --git a/meta-python/recipes-devtools/python/python3-pika_1.1.0.bb b/meta-python/recipes-devtools/python/python3-pika_1.1.0.bb new file mode 100644 index 000..a151588 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pika_1.1.0.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-pika.inc -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-python][PATCH 4/4] python-pyperf: add recipes for python2 and python3
From: Jackie Huang The Python pyperf module is a toolkit to write, run and analyze benchmarks. Signed-off-by: Jackie Huang --- .../recipes-devtools/python/python-pyperf.inc | 23 ++ .../recipes-devtools/python/python-pyperf_1.6.1.bb | 4 .../python/python3-pyperf_1.6.1.bb | 4 3 files changed, 31 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-pyperf.inc create mode 100644 meta-python/recipes-devtools/python/python-pyperf_1.6.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-pyperf_1.6.1.bb diff --git a/meta-python/recipes-devtools/python/python-pyperf.inc b/meta-python/recipes-devtools/python/python-pyperf.inc new file mode 100644 index 000..81837f3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pyperf.inc @@ -0,0 +1,23 @@ +SUMMARY = "A toolkit to write, run and analyze benchmarks" +DESCRIPTION = " \ +The Python pyperf module is a toolkit to write, run and analyze benchmarks. \ +Features: \ +* Simple API to run reliable benchmarks \ +* Automatically calibrate a benchmark for a time budget. \ +* Spawn multiple worker processes. \ +* Compute the mean and standard deviation. \ +* Detect if a benchmark result seems unstable. \ +* JSON format to store benchmark results. \ +* Support multiple units: seconds, bytes and integer. \ +" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=78bc2e6e87c8c61272937b879e6dc2f8" + +SRC_URI[md5sum] = "d67fe5f447963da8873f3e9923f76de1" +SRC_URI[sha256sum] = "8d0143a22a13ee10c997a648f30b82cdc40175d5a20b11055ae058a82e45d371" + +inherit pypi + +PYPI_PACKAGE = "pyperf" + +DEPENDS += "${PYTHON_PN}-six-native" diff --git a/meta-python/recipes-devtools/python/python-pyperf_1.6.1.bb b/meta-python/recipes-devtools/python/python-pyperf_1.6.1.bb new file mode 100644 index 000..a9d5c74 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pyperf_1.6.1.bb @@ -0,0 +1,4 @@ +inherit setuptools +require python-pyperf.inc + +RDEPENDS_${PN} += "${PYTHON_PN}-statistics" diff --git a/meta-python/recipes-devtools/python/python3-pyperf_1.6.1.bb b/meta-python/recipes-devtools/python/python3-pyperf_1.6.1.bb new file mode 100644 index 000..5ba5efb --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyperf_1.6.1.bb @@ -0,0 +1,4 @@ +inherit setuptools3 +require python-pyperf.inc + +RDEPENDS_${PN} += "${PYTHON_PN}-misc" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-python][PATCH 1/4] python-versiontools: add recipes for python2 and python3
From: Jackie Huang python-versiontools is a smart replacement for plain tuple used in __version__. Signed-off-by: Jackie Huang --- meta-python/recipes-devtools/python/python-versiontools.inc| 10 ++ .../recipes-devtools/python/python-versiontools_1.9.1.bb | 2 ++ .../recipes-devtools/python/python3-versiontools_1.9.1.bb | 2 ++ 3 files changed, 14 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-versiontools.inc create mode 100644 meta-python/recipes-devtools/python/python-versiontools_1.9.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb diff --git a/meta-python/recipes-devtools/python/python-versiontools.inc b/meta-python/recipes-devtools/python/python-versiontools.inc new file mode 100644 index 000..b0e696f --- /dev/null +++ b/meta-python/recipes-devtools/python/python-versiontools.inc @@ -0,0 +1,10 @@ +SUMMARY = "Smart replacement for plain tuple used in __version__" +SECTION = "devel/python" +HOMEPAGE = "https://launchpad.net/versiontools; +LICENSE = "LGPLv3" +LIC_FILES_CHKSUM = "file://setup.py;beginline=3;endline=20;md5=02193721a38fd8a05a4ddeb7df8e294d" + +inherit pypi + +SRC_URI[md5sum] = "602b7db8eea30dd29a1d451997adf251" +SRC_URI[sha256sum] = "a969332887a18a9c98b0df0ea4d4ca75972f24ca94f06fb87d591377e83414f6" diff --git a/meta-python/recipes-devtools/python/python-versiontools_1.9.1.bb b/meta-python/recipes-devtools/python/python-versiontools_1.9.1.bb new file mode 100644 index 000..6bfe82e --- /dev/null +++ b/meta-python/recipes-devtools/python/python-versiontools_1.9.1.bb @@ -0,0 +1,2 @@ +inherit setuptools +require python-versiontools.inc diff --git a/meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb b/meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb new file mode 100644 index 000..e8d6b7d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-versiontools.inc -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-python][PATCH 2/4] python-pymysql: add recipes for python2 and python3
From: Jackie Huang This package contains a pure-Python MySQL client library, based on PEP 249 Most public APIs are compatible with mysqlclient and MySQLdb. Signed-off-by: Jackie Huang --- meta-python/recipes-devtools/python/python-pymysql.inc | 18 ++ .../recipes-devtools/python/python-pymysql_0.9.3.bb| 2 ++ .../recipes-devtools/python/python3-pymysql_0.9.3.bb | 2 ++ 3 files changed, 22 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-pymysql.inc create mode 100644 meta-python/recipes-devtools/python/python-pymysql_0.9.3.bb create mode 100644 meta-python/recipes-devtools/python/python3-pymysql_0.9.3.bb diff --git a/meta-python/recipes-devtools/python/python-pymysql.inc b/meta-python/recipes-devtools/python/python-pymysql.inc new file mode 100644 index 000..8c7f455 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pymysql.inc @@ -0,0 +1,18 @@ +SUMMARY = "A pure-Python MySQL client library" +DESCRIPTION = " \ + This package contains a pure-Python MySQL client library, based on PEP 249 \ + Most public APIs are compatible with mysqlclient and MySQLdb. \ + " +SECTION = "devel/python" +HOMEPAGE = "https://pymysql.readthedocs.io; +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=528175c84163bb800d23ad835c7fa0fc" + +SRC_URI[md5sum] = "e5d9183cc0a775ac29f9e0365cca6556" +SRC_URI[sha256sum] = "d8c059dcd81dedb85a9f034d5e22dcb4442c0b201908bede99e306d65ea7c8e7" + +inherit pypi + +PYPI_PACKAGE = "PyMySQL" + +RDEPENDS_${PN} += "${PYTHON_PN}-cryptography" diff --git a/meta-python/recipes-devtools/python/python-pymysql_0.9.3.bb b/meta-python/recipes-devtools/python/python-pymysql_0.9.3.bb new file mode 100644 index 000..27d097e --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pymysql_0.9.3.bb @@ -0,0 +1,2 @@ +inherit setuptools +require python-pymysql.inc diff --git a/meta-python/recipes-devtools/python/python3-pymysql_0.9.3.bb b/meta-python/recipes-devtools/python/python3-pymysql_0.9.3.bb new file mode 100644 index 000..13774bd --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pymysql_0.9.3.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-pymysql.inc -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-python][PATCH 0/4] Add new recipes four python packages
From: Jackie Huang -- The following changes since commit 41fe46157ca3caa96408a9a749d62c8bbc3c2794: python-paste: upgrade 3.2.0 -> 3.2.1 (2019-09-25 22:51:10 -0700) are available in the git repository at: git://github.com/jackiehjm/meta-openembedded jackiehjm/python-versiontools_pymysql_statistics_pyperf_20190929 https://github.com/jackiehjm/meta-openembedded/tree/jackiehjm/python-versiontools_pymysql_statistics_pyperf_20190929 Jackie Huang (4): python-versiontools: add recipes for python2 and python3 python-pymysql: add recipes for python2 and python3 python-statistics: add new recipe python-pyperf: add recipes for python2 and python3 .../recipes-devtools/python/python-pymysql.inc | 18 + .../python/python-pymysql_0.9.3.bb | 2 ++ .../recipes-devtools/python/python-pyperf.inc | 23 ++ .../recipes-devtools/python/python-pyperf_1.6.1.bb | 4 .../python/python-statistics_1.0.3.5.bb| 15 ++ .../python/python-versiontools.inc | 10 ++ .../python/python-versiontools_1.9.1.bb| 2 ++ .../python/python3-pymysql_0.9.3.bb| 2 ++ .../python/python3-pyperf_1.6.1.bb | 4 .../python/python3-versiontools_1.9.1.bb | 2 ++ 10 files changed, 82 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-pymysql.inc create mode 100644 meta-python/recipes-devtools/python/python-pymysql_0.9.3.bb create mode 100644 meta-python/recipes-devtools/python/python-pyperf.inc create mode 100644 meta-python/recipes-devtools/python/python-pyperf_1.6.1.bb create mode 100644 meta-python/recipes-devtools/python/python-statistics_1.0.3.5.bb create mode 100644 meta-python/recipes-devtools/python/python-versiontools.inc create mode 100644 meta-python/recipes-devtools/python/python-versiontools_1.9.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-pymysql_0.9.3.bb create mode 100644 meta-python/recipes-devtools/python/python3-pyperf_1.6.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-python][PATCH 3/4] python-statistics: add new recipe
From: Jackie Huang A port of Python 3.4 statistics module to Python 2.*, initially done through the 3to2 tool. This module provides functions for calculating mathematical statistics of numeric (Real-valued) data. This is required by python-pyperf. Signed-off-by: Jackie Huang --- .../recipes-devtools/python/python-statistics_1.0.3.5.bb | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-statistics_1.0.3.5.bb diff --git a/meta-python/recipes-devtools/python/python-statistics_1.0.3.5.bb b/meta-python/recipes-devtools/python/python-statistics_1.0.3.5.bb new file mode 100644 index 000..ee3b822 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-statistics_1.0.3.5.bb @@ -0,0 +1,15 @@ +SUMMARY = "A port of Python 3.4 statistics module to Python 2.x" +DESCRIPTION = " \ +A port of Python 3.4 statistics module to Python 2.*, initially done \ +through the 3to2 tool. This module provides functions for calculating \ +mathematical statistics of numeric (Real-valued) data. \ +" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://statistics/__init__.py;beginline=6;endline=16;md5=b76960ee777a1529f60db47ada2a8e6e" + +SRC_URI[md5sum] = "d6d97f3a1a7b3192cff99e0f2b5956c3" +SRC_URI[sha256sum] = "2dc379b80b07bf2ddd5488cad06b2b9531da4dd31edb04dc9ec0dc226486c138" + +inherit pypi setuptools + +PYPI_PACKAGE = "statistics" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH] quagga: update to 1.2.4
From: Jackie HuangUpdate to 1.2.4 to fix significant BGP security issues: * https://www.quagga.net/security/Quagga-2018-0543.txt(CVE-2018-5378) * https://www.quagga.net/security/Quagga-2018-1114.txt(CVE-2018-5379) * https://www.quagga.net/security/Quagga-2018-1550.txt(CVE-2018-5380) * https://www.quagga.net/security/Quagga-2018-1975.txt(CVE-2018-5381) Detail release notes: http://savannah.nongnu.org/forum/forum.php?forum_id=9099 http://savannah.nongnu.org/forum/forum.php?forum_id=9095 Signed-off-by: Jackie Huang --- .../recipes-protocols/quagga/{quagga_1.2.2.bb => quagga_1.2.4.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-networking/recipes-protocols/quagga/{quagga_1.2.2.bb => quagga_1.2.4.bb} (12%) diff --git a/meta-networking/recipes-protocols/quagga/quagga_1.2.2.bb b/meta-networking/recipes-protocols/quagga/quagga_1.2.4.bb similarity index 12% rename from meta-networking/recipes-protocols/quagga/quagga_1.2.2.bb rename to meta-networking/recipes-protocols/quagga/quagga_1.2.4.bb index 653f46b36..a7697a1ae 100644 --- a/meta-networking/recipes-protocols/quagga/quagga_1.2.2.bb +++ b/meta-networking/recipes-protocols/quagga/quagga_1.2.4.bb @@ -1,4 +1,4 @@ require quagga.inc -SRC_URI[md5sum] = "e84be2938c26c0c872792090f1a6a866" -SRC_URI[sha256sum] = "522e22f2beee64e3f0c2cde3d0155f3b8103f4f6fc8abef92cb40bc3a4cc2931" +SRC_URI[md5sum] = "eced21b054d71c9e1b7c6ac43286a166" +SRC_URI[sha256sum] = "e364c082c3309910e1eb7b068bf39ee298e2f2f3f31a6431a5c115193bd653d3" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH v2] postgresql: update to 9.4.17
From: Jackie Huang* Release notes: https://www.postgresql.org/docs/9.4/static/release-9-4-17.html * Drop the patch emove.autoconf.version.check.patch since the required autoconf version is used in oe-core. * LICENSE checksum updated since the copyright year is changed. Signed-off-by: Jackie Huang --- .../postgresql/files/remove.autoconf.version.check.patch | 16 .../{postgresql_9.4.15.bb => postgresql_9.4.17.bb} | 7 +++ 2 files changed, 3 insertions(+), 20 deletions(-) delete mode 100644 meta-oe/recipes-dbs/postgresql/files/remove.autoconf.version.check.patch rename meta-oe/recipes-dbs/postgresql/{postgresql_9.4.15.bb => postgresql_9.4.17.bb} (38%) diff --git a/meta-oe/recipes-dbs/postgresql/files/remove.autoconf.version.check.patch b/meta-oe/recipes-dbs/postgresql/files/remove.autoconf.version.check.patch deleted file mode 100644 index be23fd419..0 --- a/meta-oe/recipes-dbs/postgresql/files/remove.autoconf.version.check.patch +++ /dev/null @@ -1,16 +0,0 @@ -Index: postgresql-9.2.4/configure.in -=== postgresql-9.2.4.orig/configure.in -+++ postgresql-9.2.4/configure.in -@@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch un - - AC_INIT([PostgreSQL], [9.4.2], [pgsql-b...@postgresql.org]) - --m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required. --Untested combinations of 'autoconf' and PostgreSQL versions are not --recommended. You can remove the check from 'configure.in' but it is then --your responsibility whether the result works or not.])]) - AC_COPYRIGHT([Copyright (c) 1996-2014, PostgreSQL Global Development Group]) - AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) - AC_CONFIG_AUX_DIR(config) - diff --git a/meta-oe/recipes-dbs/postgresql/postgresql_9.4.15.bb b/meta-oe/recipes-dbs/postgresql/postgresql_9.4.17.bb similarity index 38% rename from meta-oe/recipes-dbs/postgresql/postgresql_9.4.15.bb rename to meta-oe/recipes-dbs/postgresql/postgresql_9.4.17.bb index eec099a12..061184a6f 100644 --- a/meta-oe/recipes-dbs/postgresql/postgresql_9.4.15.bb +++ b/meta-oe/recipes-dbs/postgresql/postgresql_9.4.17.bb @@ -1,9 +1,8 @@ require postgresql.inc -LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=81b69ddb31a8be66baafd14a90146ee2" +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=6dc95e63aa4d72502ff8193dfe2ddd38" SRC_URI += "\ -file://remove.autoconf.version.check.patch \ file://not-check-libperl.patch \ " @@ -11,5 +10,5 @@ do_compile_prepend_libc-musl() { sed -i -e 's/\-lnsl//g' ${B}/src/Makefile.global } -SRC_URI[md5sum] = "0aada0833a9208ae5fab966c73c39379" -SRC_URI[sha256sum] = "12bfb3c7e8e45515ef921ad365e122682a5c4935dcc0032644433af2de31acc4" +SRC_URI[md5sum] = "0a08f4078f5e4a54e764f63ad38a6de3" +SRC_URI[sha256sum] = "7a320cd335052b840d209dc9688f09965763351c590e3cc7bf577591179fd7c6" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] postgresql: update to 9.4.17
From: Jackie Huang* Release notes: https://www.postgresql.org/docs/9.4/static/release-9-4-17.html * Drop the patch emove.autoconf.version.check.patch since the required autoconf version is used in oe-core. Signed-off-by: Jackie Huang --- .../postgresql/files/remove.autoconf.version.check.patch | 16 .../{postgresql_9.4.15.bb => postgresql_9.4.17.bb} | 7 +++ 2 files changed, 3 insertions(+), 20 deletions(-) delete mode 100644 meta-oe/recipes-dbs/postgresql/files/remove.autoconf.version.check.patch rename meta-oe/recipes-dbs/postgresql/{postgresql_9.4.15.bb => postgresql_9.4.17.bb} (38%) diff --git a/meta-oe/recipes-dbs/postgresql/files/remove.autoconf.version.check.patch b/meta-oe/recipes-dbs/postgresql/files/remove.autoconf.version.check.patch deleted file mode 100644 index be23fd419..0 --- a/meta-oe/recipes-dbs/postgresql/files/remove.autoconf.version.check.patch +++ /dev/null @@ -1,16 +0,0 @@ -Index: postgresql-9.2.4/configure.in -=== postgresql-9.2.4.orig/configure.in -+++ postgresql-9.2.4/configure.in -@@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch un - - AC_INIT([PostgreSQL], [9.4.2], [pgsql-b...@postgresql.org]) - --m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required. --Untested combinations of 'autoconf' and PostgreSQL versions are not --recommended. You can remove the check from 'configure.in' but it is then --your responsibility whether the result works or not.])]) - AC_COPYRIGHT([Copyright (c) 1996-2014, PostgreSQL Global Development Group]) - AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) - AC_CONFIG_AUX_DIR(config) - diff --git a/meta-oe/recipes-dbs/postgresql/postgresql_9.4.15.bb b/meta-oe/recipes-dbs/postgresql/postgresql_9.4.17.bb similarity index 38% rename from meta-oe/recipes-dbs/postgresql/postgresql_9.4.15.bb rename to meta-oe/recipes-dbs/postgresql/postgresql_9.4.17.bb index eec099a12..061184a6f 100644 --- a/meta-oe/recipes-dbs/postgresql/postgresql_9.4.15.bb +++ b/meta-oe/recipes-dbs/postgresql/postgresql_9.4.17.bb @@ -1,9 +1,8 @@ require postgresql.inc -LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=81b69ddb31a8be66baafd14a90146ee2" +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=6dc95e63aa4d72502ff8193dfe2ddd38" SRC_URI += "\ -file://remove.autoconf.version.check.patch \ file://not-check-libperl.patch \ " @@ -11,5 +10,5 @@ do_compile_prepend_libc-musl() { sed -i -e 's/\-lnsl//g' ${B}/src/Makefile.global } -SRC_URI[md5sum] = "0aada0833a9208ae5fab966c73c39379" -SRC_URI[sha256sum] = "12bfb3c7e8e45515ef921ad365e122682a5c4935dcc0032644433af2de31acc4" +SRC_URI[md5sum] = "0a08f4078f5e4a54e764f63ad38a6de3" +SRC_URI[sha256sum] = "7a320cd335052b840d209dc9688f09965763351c590e3cc7bf577591179fd7c6" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] unixodbc: update to 2.3.6
From: Jackie HuangRelease notes from http://www.unixodbc.org/: * Single bug fix that was a possible security issue so I have pushed a version out. - Fix order of arguments in SQLWriteFileDSN.c, fix unwanted free() in iusql.c - Add pkg-config files Signed-off-by: Jackie Huang --- .../unixodbc/files/do-not-use-libltdl-source-directory.patch | 12 ++-- .../unixodbc/{unixodbc_2.3.4.bb => unixodbc_2.3.6.bb}| 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) rename meta-oe/recipes-support/unixodbc/{unixodbc_2.3.4.bb => unixodbc_2.3.6.bb} (82%) diff --git a/meta-oe/recipes-support/unixodbc/files/do-not-use-libltdl-source-directory.patch b/meta-oe/recipes-support/unixodbc/files/do-not-use-libltdl-source-directory.patch index 69d26adca..2499cff72 100644 --- a/meta-oe/recipes-support/unixodbc/files/do-not-use-libltdl-source-directory.patch +++ b/meta-oe/recipes-support/unixodbc/files/do-not-use-libltdl-source-directory.patch @@ -13,22 +13,22 @@ Signed-off-by: Jackie Huang 2 files changed, 3 deletions(-) diff --git a/Makefile.am b/Makefile.am -index e881cca..1321802 100644 +index 4628401..e8989bf 100644 --- a/Makefile.am +++ b/Makefile.am -@@ -5,7 +5,6 @@ SUBDIRS = \ +@@ -11,7 +11,6 @@ SUBDIRS = \ log \ lst \ ini \ --libltdl \ +- libltdl \ odbcinst \ DriverManager \ exe \ diff --git a/configure.ac b/configure.ac -index 218502f..d50b7af 100644 +index e4bcdaf..58aa5c5 100644 --- a/configure.ac +++ b/configure.ac -@@ -136,9 +136,7 @@ dnl AC_CONFIG_MACRO_DIR([libltdl/m4]) +@@ -144,9 +144,7 @@ dnl AC_CONFIG_MACRO_DIR([libltdl/m4]) dnl LT_CONFIG_LTDL_DIR([libltdl]) dnl LTDL_INIT @@ -39,5 +39,5 @@ index 218502f..d50b7af 100644 dnl Substitute INCLTDL and LIBLTDL in the Makefiles AC_SUBST(LTDLINCL) -- -2.8.1 +2.12.3 diff --git a/meta-oe/recipes-support/unixodbc/unixodbc_2.3.4.bb b/meta-oe/recipes-support/unixodbc/unixodbc_2.3.6.bb similarity index 82% rename from meta-oe/recipes-support/unixodbc/unixodbc_2.3.4.bb rename to meta-oe/recipes-support/unixodbc/unixodbc_2.3.6.bb index 6f57f375e..62d9db843 100644 --- a/meta-oe/recipes-support/unixodbc/unixodbc_2.3.4.bb +++ b/meta-oe/recipes-support/unixodbc/unixodbc_2.3.6.bb @@ -11,8 +11,8 @@ DEPENDS = "libtool mysql5" SRC_URI = "ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-${PV}.tar.gz \ file://do-not-use-libltdl-source-directory.patch \ " -SRC_URI[md5sum] = "bd25d261ca1808c947cb687e2034be81" -SRC_URI[sha256sum] = "2e1509a96bb18d248bf08ead0d74804957304ff7c6f8b2e5965309c632421e39" +SRC_URI[md5sum] = "a8629fd2953b04b4639d0a9d8a5cf9d1" +SRC_URI[sha256sum] = "88b637f647c052ecc3861a3baa275c3b503b193b6a49ff8c28b2568656d14d69" inherit autotools-brokensep -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH v2] haveged: update to 1.9.2
From: Jackie Huang* Drop the patch remove-systemd-unit-503.patch and init script haveged.sysvinit, and use PACKAGECONFIG to set the correct sevice file or init script for systemd or sysvinit. * Add SuccessExitStatus to fix the failure when the service is stopped. * Fix an issue when build in parallel. Signed-off-by: Jackie Huang --- ...nit.d-Makefile.am-add-missing-dependency.patch} | 48 ++ .../haveged/haveged/haveged.sysvinit | 35 .../haveged/{haveged_1.9.1.bb => haveged_1.9.2.bb} | 19 + 3 files changed, 40 insertions(+), 62 deletions(-) rename meta-oe/recipes-extended/haveged/haveged/{remove-systemd-unit-503.patch => haveged-init.d-Makefile.am-add-missing-dependency.patch} (5%) delete mode 100755 meta-oe/recipes-extended/haveged/haveged/haveged.sysvinit rename meta-oe/recipes-extended/haveged/{haveged_1.9.1.bb => haveged_1.9.2.bb} (58%) diff --git a/meta-oe/recipes-extended/haveged/haveged/remove-systemd-unit-503.patch b/meta-oe/recipes-extended/haveged/haveged/haveged-init.d-Makefile.am-add-missing-dependency.patch similarity index 5% rename from meta-oe/recipes-extended/haveged/haveged/remove-systemd-unit-503.patch rename to meta-oe/recipes-extended/haveged/haveged/haveged-init.d-Makefile.am-add-missing-dependency.patch index df27bcb09..36fd57c9b 100644 --- a/meta-oe/recipes-extended/haveged/haveged/remove-systemd-unit-503.patch +++ b/meta-oe/recipes-extended/haveged/haveged/haveged-init.d-Makefile.am-add-missing-dependency.patch @@ -1,20 +1,32 @@ a/init.d/Makefile.am 2014-01-02 18:55:53.0 +0100 -+++ b/init.d/Makefile.am 2014-08-11 10:59:40.0 +0200 -@@ -34,11 +34,11 @@ +From b04eeea777df32364df74bd63fc5b7fb05d21c8d Mon Sep 17 00:00:00 2001 +From: Jackie Huang +Date: Tue, 27 Mar 2018 10:21:09 +0800 +Subject: [PATCH] init.d/Makefile.am: add missing dependency + +install-data-hook should epend on install-exec-hook, or the +haveged.service might be installed incorrectly when build +with -j option. + +Upstream-Status: Inappropriate [no upstream mailing list] + +Signed-off-by: Jackie Huang +--- + init.d/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/init.d/Makefile.am b/init.d/Makefile.am +index 5940f78..07bcdf7 100644 +--- a/init.d/Makefile.am b/init.d/Makefile.am +@@ -33,7 +33,7 @@ if ENABLE_SYSTEMD + install-exec-hook: $(do_subst) < $(srcdir)/$(src_tmpl) > haveged.service; - install-data-hook: --if ENABLE_SYSTEMD_LOOKUP -- install -p -m644 haveged.service `pkg-config --variable=systemdsystemunitdir systemd`/haveged.service; --else -- install -p -m644 haveged.service ($unit_dir)/haveged.service; --endif -- systemctl enable haveged.service; -+#if ENABLE_SYSTEMD_LOOKUP -+# install -p -m644 haveged.service `pkg-config --variable=systemdsystemunitdir systemd`/haveged.service; -+#else -+# install -p -m644 haveged.service ($unit_dir)/haveged.service; -+#endif -+# systemctl enable haveged.service; - - endif +-install-data-hook: ++install-data-hook: install-exec-hook + if ENABLE_SYSTEMD_LOOKUP + install -p -D -m644 haveged.service $(DESTDIR)`pkg-config --variable=systemdsystemunitdir systemd`/haveged.service; + else +-- +2.11.0 + diff --git a/meta-oe/recipes-extended/haveged/haveged/haveged.sysvinit b/meta-oe/recipes-extended/haveged/haveged/haveged.sysvinit deleted file mode 100755 index 98b8857e7..0 --- a/meta-oe/recipes-extended/haveged/haveged/haveged.sysvinit +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/bin:/sbin:/usr/sbin - -pidfile=/var/run/haveged.pid - -# source function library -. /etc/init.d/functions - -case "$1" in -start) -echo -n "Starting havege entropy daemon... " -start-stop-daemon --start --quiet --pidfile $pidfile --name haveged --startas haveged -- -w 1024 -v 0 && success || failure -echo -;; -stop) -echo -n "Stopping havege entropy daemon... " -start-stop-daemon --stop --quiet --pidfile $pidfile --name haveged -success -echo -;; -restart) -$0 stop -sleep 1 -$0 start -;; -status) -status haveged -;; -*) -echo "Usage: /etc/init.d/haveged {start|stop|restart|status}" -exit 1 -esac - -exit 0 diff --git a/meta-oe/recipes-extended/haveged/haveged_1.9.1.bb b/meta-oe/recipes-extended/haveged/haveged_1.9.2.bb similarity index 58% rename from meta-oe/recipes-extended/haveged/haveged_1.9.1.bb rename to meta-oe/recipes-extended/haveged/haveged_1.9.2.bb index 419c85f51..05ee842f6 100644 --- a/meta-oe/recipes-extended/haveged/haveged_1.9.1.bb +++ b/meta-oe/recipes-extended/haveged/haveged_1.9.2.bb @@ -6,22 +6,23 @@ LICENSE = "GPLv3" LIC_FILES_CHKSUM="file://COPYING;md5=d32239bcb673463ab874e80d47fae504" SRC_URI = "http://www.issihosts.com/haveged/haveged-${PV}.tar.gz \ -
[oe] [meta-oe][PATCH] dialog: update to 1.3-20171209
From: Jackie HuangSigned-off-by: Jackie Huang --- .../dialog/{dialog_1.3-20160828.bb => dialog_1.3-20171209.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-oe/recipes-extended/dialog/{dialog_1.3-20160828.bb => dialog_1.3-20171209.bb} (86%) diff --git a/meta-oe/recipes-extended/dialog/dialog_1.3-20160828.bb b/meta-oe/recipes-extended/dialog/dialog_1.3-20171209.bb similarity index 86% rename from meta-oe/recipes-extended/dialog/dialog_1.3-20160828.bb rename to meta-oe/recipes-extended/dialog/dialog_1.3-20171209.bb index 85dede177..63c65c4fc 100644 --- a/meta-oe/recipes-extended/dialog/dialog_1.3-20160828.bb +++ b/meta-oe/recipes-extended/dialog/dialog_1.3-20171209.bb @@ -10,8 +10,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" SRC_URI = "ftp://ftp.invisible-island.net/${BPN}/${BP}.tgz \ " -SRC_URI[md5sum] = "a39ec183517bc1feaff017d067300b8c" -SRC_URI[sha256sum] = "453095abaec288bfbc1ca9faced917e17742cff1ea45ec46210071ac153562f9" +SRC_URI[md5sum] = "f66f28beca900b54f5fc90fdcce93508" +SRC_URI[sha256sum] = "20139442119e2eff5c35236e8e5e313c901539008d9cccf8c8ab3851b41267e6" # hardcoded here for use in dialog-static recipe S = "${WORKDIR}/dialog-${PV}" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] haveged: update to 1.9.2
From: Jackie Huang* Drop the patch remove-systemd-unit-503.patch and init script haveged.sysvinit, and use PACKAGECONFIG to set the correct sevice file or init script for systemd or sysvinit. * Add SuccessExitStatus to fix the failure when the service is stopped. Signed-off-by: Jackie Huang --- .../haveged/haveged/haveged.sysvinit | 35 -- .../haveged/haveged/remove-systemd-unit-503.patch | 20 - .../haveged/{haveged_1.9.1.bb => haveged_1.9.2.bb} | 21 +++-- 3 files changed, 10 insertions(+), 66 deletions(-) delete mode 100755 meta-oe/recipes-extended/haveged/haveged/haveged.sysvinit delete mode 100644 meta-oe/recipes-extended/haveged/haveged/remove-systemd-unit-503.patch rename meta-oe/recipes-extended/haveged/{haveged_1.9.1.bb => haveged_1.9.2.bb} (61%) diff --git a/meta-oe/recipes-extended/haveged/haveged/haveged.sysvinit b/meta-oe/recipes-extended/haveged/haveged/haveged.sysvinit deleted file mode 100755 index 98b8857e7..0 --- a/meta-oe/recipes-extended/haveged/haveged/haveged.sysvinit +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/bin:/sbin:/usr/sbin - -pidfile=/var/run/haveged.pid - -# source function library -. /etc/init.d/functions - -case "$1" in -start) -echo -n "Starting havege entropy daemon... " -start-stop-daemon --start --quiet --pidfile $pidfile --name haveged --startas haveged -- -w 1024 -v 0 && success || failure -echo -;; -stop) -echo -n "Stopping havege entropy daemon... " -start-stop-daemon --stop --quiet --pidfile $pidfile --name haveged -success -echo -;; -restart) -$0 stop -sleep 1 -$0 start -;; -status) -status haveged -;; -*) -echo "Usage: /etc/init.d/haveged {start|stop|restart|status}" -exit 1 -esac - -exit 0 diff --git a/meta-oe/recipes-extended/haveged/haveged/remove-systemd-unit-503.patch b/meta-oe/recipes-extended/haveged/haveged/remove-systemd-unit-503.patch deleted file mode 100644 index df27bcb09..0 --- a/meta-oe/recipes-extended/haveged/haveged/remove-systemd-unit-503.patch +++ /dev/null @@ -1,20 +0,0 @@ a/init.d/Makefile.am 2014-01-02 18:55:53.0 +0100 -+++ b/init.d/Makefile.am 2014-08-11 10:59:40.0 +0200 -@@ -34,11 +34,11 @@ - $(do_subst) < $(srcdir)/$(src_tmpl) > haveged.service; - - install-data-hook: --if ENABLE_SYSTEMD_LOOKUP -- install -p -m644 haveged.service `pkg-config --variable=systemdsystemunitdir systemd`/haveged.service; --else -- install -p -m644 haveged.service ($unit_dir)/haveged.service; --endif -- systemctl enable haveged.service; -+#if ENABLE_SYSTEMD_LOOKUP -+# install -p -m644 haveged.service `pkg-config --variable=systemdsystemunitdir systemd`/haveged.service; -+#else -+# install -p -m644 haveged.service ($unit_dir)/haveged.service; -+#endif -+# systemctl enable haveged.service; - - endif diff --git a/meta-oe/recipes-extended/haveged/haveged_1.9.1.bb b/meta-oe/recipes-extended/haveged/haveged_1.9.2.bb similarity index 61% rename from meta-oe/recipes-extended/haveged/haveged_1.9.1.bb rename to meta-oe/recipes-extended/haveged/haveged_1.9.2.bb index 419c85f51..d0e9fdaa7 100644 --- a/meta-oe/recipes-extended/haveged/haveged_1.9.1.bb +++ b/meta-oe/recipes-extended/haveged/haveged_1.9.2.bb @@ -5,23 +5,22 @@ HOMEPAGE = "http://www.issihosts.com/haveged/index.html; LICENSE = "GPLv3" LIC_FILES_CHKSUM="file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -SRC_URI = "http://www.issihosts.com/haveged/haveged-${PV}.tar.gz \ -file://remove-systemd-unit-503.patch \ -file://haveged.sysvinit \ -" +SRC_URI = "http://www.issihosts.com/haveged/haveged-${PV}.tar.gz; -SRC_URI[md5sum] = "015ff58cd10607db0e0de60aeca2f5f8" -SRC_URI[sha256sum] = "9c2363ed9542a6784ff08e247182137e71f2ddb79e8e6c1ac4ad50d21ced3715" +SRC_URI[md5sum] = "fb1d8b3dcbb9d06b30eccd8aa500fd31" +SRC_URI[sha256sum] = "f77d9adbdf421b61601fa29faa9ce3b479d910f73c66b9e364ba8642ccbfbe70" inherit autotools update-rc.d systemd EXTRA_OECONF = "\ ---enable-init=service.redhat \ --enable-nistest=yes \ --enable-olt=yes \ --enable-threads=no \ " +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" +PACKAGECONFIG[systemd] = "--enable-init=service.redhat --enable-initdir=${systemd_system_unitdir}, --enable-init=sysv.redhat, systemd" + INITSCRIPT_PACKAGES = "${PN}" INITSCRIPT_NAME = "haveged" INITSCRIPT_PARAMS_${PN} = "defaults 9" @@ -30,10 +29,10 @@ SYSTEMD_PACKAGES = "${PN}" SYSTEMD_SERVICE_${PN} = "haveged.service" do_install_append() { -install -D -m 755 ${WORKDIR}/haveged.sysvinit ${D}${sysconfdir}/init.d/haveged - -mkdir -p ${D}${systemd_unitdir}/system -install -p -m644 ${B}/init.d/haveged.service ${D}${systemd_unitdir}/system +# The exit status is 143 when the service is stopped +if
[oe] [meta-networking][PATCH 2/2] polkit: add consolekit only when x11 is enabled
From: Jackie Huangconsolekit depends on virtual/libx11 then it requires x11 distro feature, so add consolekit option only when x11 is in DISTRO_FEATURES. Signed-off-by: Jackie Huang --- meta-oe/recipes-extended/polkit/polkit_0.113.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-extended/polkit/polkit_0.113.bb b/meta-oe/recipes-extended/polkit/polkit_0.113.bb index 326c9340e..f34928fe3 100644 --- a/meta-oe/recipes-extended/polkit/polkit_0.113.bb +++ b/meta-oe/recipes-extended/polkit/polkit_0.113.bb @@ -10,7 +10,9 @@ DEPENDS = "expat glib-2.0 intltool-native mozjs" inherit autotools gtk-doc pkgconfig useradd systemd gobject-introspection PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 'consolekit', d)}" + ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', \ +bb.utils.contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d), d)} \ +" PACKAGECONFIG[pam] = "--with-authfw=pam,--with-authfw=shadow,libpam,libpam" PACKAGECONFIG[systemd] = "--enable-libsystemd-login=yes --with-systemdsystemunitdir=${systemd_unitdir}/system/,--enable-libsystemd-login=no --with-systemdsystemunitdir=,systemd" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 1/2] networkmanager: add consolekit only when x11 is enabled
From: Jackie Huangconsolekit depends on virtual/libx11 then it requires x11 distro feature, so add consolekit option only when x11 is in DISTRO_FEATURES. Signed-off-by: Jackie Huang --- .../recipes-connectivity/networkmanager/networkmanager_1.4.4.bb| 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.4.4.bb b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.4.4.bb index bfd2aada7..d5f456f37 100644 --- a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.4.4.bb +++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.4.4.bb @@ -60,7 +60,8 @@ do_compile_prepend() { } PACKAGECONFIG ??= "nss ifupdown netconfig dhclient dnsmasq \ -${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 'consolekit', d)} \ +${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', \ + bb.utils.contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d), d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)} \ ${@bb.utils.filter('DISTRO_FEATURES', 'wifi', d)} \ " -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 0/2] networkmanager/polkit: add consolekit only when x11 is enabled
From: Jackie Huang-- The following changes since commit 5d6d21e98ed594809169d2b2f6964e90a3369a96: libreport: fix Nothing RPROVIDES 'lib32-python3-libreport' (2017-10-27 16:39:34 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib.git jhuang0/d_consolekit_171113_1 http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/d_consolekit_171113_1 Jackie Huang (2): networkmanager: add consolekit only when x11 is enabled polkit: add consolekit only when x11 is enabled .../recipes-connectivity/networkmanager/networkmanager_1.4.4.bb | 3 ++- meta-oe/recipes-extended/polkit/polkit_0.113.bb | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 2/3] iscsi-initiator-utils: remove the distro_features_check
From: Jackie Huangopen-isns supports both systemd and sysvinit now, so remove the distro_features_check. Signed-off-by: Jackie Huang --- .../iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb| 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb b/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb index 16ac19992..50aadb6b6 100644 --- a/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb +++ b/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb @@ -27,9 +27,7 @@ SRC_URI = "git://github.com/open-iscsi/open-iscsi \ S = "${WORKDIR}/git" B = "${WORKDIR}/build" -inherit update-rc.d systemd autotools distro_features_check -# open-isns depends on systemd -REQUIRED_DISTRO_FEATURES = "systemd" +inherit update-rc.d systemd autotools EXTRA_OECONF = " \ --target=${TARGET_SYS} \ -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 3/3] iscsi-initiator-utils: check file existence before moving
From: Jackie HuangCheck the file existence before moving to avoid the error: | mv: cannot stat //git/utils/fwparam_ibft/prom_lex.l: | No such file or directory Signed-off-by: Jackie Huang --- .../iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb| 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb b/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb index 50aadb6b6..95848d0b3 100644 --- a/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb +++ b/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb @@ -57,7 +57,9 @@ do_configure () { do_compile () { # Make sure we DO NOT regenerate prom_lex.c. -mv ${S}/utils/fwparam_ibft/prom_lex.l ${S}/utils/fwparam_ibft/prom_lex.l.unused +if [ -f ${S}/utils/fwparam_ibft/prom_lex.l ]; then +mv ${S}/utils/fwparam_ibft/prom_lex.l ${S}/utils/fwparam_ibft/prom_lex.l.unused +fi oe_runmake -C ${S} ${EXTRA_OEMAKE} user } -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 1/3] open-isns: add sysvinit support
From: Jackie HuangIt's not mandatory to depend on systemd for open-isns, the sysvinit script is also provided in open-isns source code, so add it to support sysvinit and remove the distro_features_check. Signed-off-by: Jackie Huang --- meta-networking/recipes-support/open-isns/open-isns_0.97.bb | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/meta-networking/recipes-support/open-isns/open-isns_0.97.bb b/meta-networking/recipes-support/open-isns/open-isns_0.97.bb index 420ef5be0..9ee1f87c8 100644 --- a/meta-networking/recipes-support/open-isns/open-isns_0.97.bb +++ b/meta-networking/recipes-support/open-isns/open-isns_0.97.bb @@ -11,7 +11,7 @@ LICENSE = "GPLv2+ & LGPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=321bf41f280cf805086dd5a720b37785" SECTION = "net" -DEPENDS = "openssl systemd" +DEPENDS = "openssl" SRC_URI = " \ git://github.com/open-iscsi/open-isns \ @@ -21,9 +21,7 @@ SRCREV ?= "09954404e948e41eb0fce8e28836018b4ce3d20d" S = "${WORKDIR}/git" -inherit systemd autotools-brokensep distro_features_check -# depends on systemd -REQUIRED_DISTRO_FEATURES = "systemd" +inherit systemd autotools-brokensep update-rc.d EXTRA_OECONF = " --prefix=${prefix} --enable-shared" EXTRA_OEMAKE += "SYSTEMDDIR=${D}${systemd_unitdir}/system" @@ -31,6 +29,12 @@ EXTRA_OEMAKE += "SYSTEMDDIR=${D}${systemd_unitdir}/system" do_install_append () { oe_runmake INCDIR=${D}${includedir}/libisns/ install_hdrs oe_runmake LIBDIR=${D}${libdir} install_lib + +install -D -m 755 ${S}/etc/openisns.init ${D}${sysconfdir}/init.d/openisns +sed -i 's|daemon isnsd|start-stop-daemon --start --quiet --oknodo --exec ${sbindir}/isnsd --|' \ +${D}${sysconfdir}/init.d/openisns } FILES_${PN} += "${libdir} ${systemd_unitdir}" + +INITSCRIPT_NAME = "openisns" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 0/3] iscsi-initiator-utils/open-isns: fix for sysvinit
From: Jackie Huang-- The following changes since commit 5d6d21e98ed594809169d2b2f6964e90a3369a96: libreport: fix Nothing RPROVIDES 'lib32-python3-libreport' (2017-10-27 16:39:34 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib.git jhuang0/d_iscsi-openisns_171109_0 http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/d_iscsi-openisns_171109_0 Jackie Huang (3): open-isns: add sysvinit support iscsi-initiator-utils: remove the distro_features_check iscsi-initiator-utils: check file existence before moving .../iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb | 8 meta-networking/recipes-support/open-isns/open-isns_0.97.bb | 12 2 files changed, 12 insertions(+), 8 deletions(-) -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH] xfce4-screenshooter: create src dir before build
From: Catalin EnacheIn some case the output directory for xfce4-screenshooter.appdata.xml file doesn't exist. Create directory before build. Signed-off-by: Catalin Enache Signed-off-by: Jackie Huang --- meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.9.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.9.1.bb b/meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.9.1.bb index 06dea64b3..e449dceed 100644 --- a/meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.9.1.bb +++ b/meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.9.1.bb @@ -12,6 +12,7 @@ SRC_URI[sha256sum] = "e62b31d9cf06a7414a26400c2ebe7a2ae7c2b22aa60f997f25145ea9eb do_compile_prepend() { mkdir -p lib +mkdir -p src } FILES_${PN} += " \ -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 1/2 v2] samba: add missing RDEPENDS
From: Jackie Huang* samba-tool requires the python modules from samba-python or it fails with: Traceback (most recent call last): File "/usr/bin/samba-tool", line 33, in from samba.netcmd.main import cmd_sambatool ImportError: No module named samba.netcmd.main * Provisioning with samba-tool requires samba-dsdb-modules or it fails with: Setting up secrets.ldb ldb: unable to stat module /usr/lib64/samba/ldb : No such file or directory WARNING: Module [samba_secrets] not found - do you need to set LDB_MODULES_PATH? Unable to load modules for /var/lib/samba/private/secrets.ldb: (null) ERROR(ldb): uncaught exception - None * samba-python requires pytalloc and python-tdb or it fails with: TypeError: pytalloc: unable to get talloc.BaseObject type ERROR(): uncaught exception - No module named tdb Signed-off-by: Jackie Huang --- meta-networking/recipes-connectivity/samba/samba_4.6.7.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-networking/recipes-connectivity/samba/samba_4.6.7.bb b/meta-networking/recipes-connectivity/samba/samba_4.6.7.bb index 59d7425c8..2b227c95d 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.6.7.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.6.7.bb @@ -186,7 +186,8 @@ python samba_populate_packages() { PACKAGESPLITFUNCS_prepend = "samba_populate_packages " -RDEPENDS_${PN} += "${PN}-base" +RDEPENDS_${PN} += "${PN}-base ${PN}-python ${PN}-dsdb-modules" +RDEPENDS_${PN}-python += "pytalloc python-tdb" FILES_${PN}-base = "${sbindir}/nmbd \ ${sbindir}/smbd \ -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 0/2 v2] samba: fixes for AD DC service
From: Jackie Huangv2 comments: * disable ad-dc and enable mitkrb5 by default to avoid an known issue. -- The following changes since commit 5d6d21e98ed594809169d2b2f6964e90a3369a96: libreport: fix Nothing RPROVIDES 'lib32-python3-libreport' (2017-10-27 16:39:34 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib.git jhuang0/d_samba-ad-dc-v2_171107_0 http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/d_samba-ad-dc-v2_171107_0 Jackie Huang (2): samba: add missing RDEPENDS samba: fix for AD DC service .../recipes-connectivity/samba/samba_4.6.7.bb | 43 +- 1 file changed, 34 insertions(+), 9 deletions(-) -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 2/2 v2] samba: fix for AD DC service
From: Jackie HuangThe Active Directory (AD) domain controller (DC) service is installed by default since the commit: """ commit 28b8edc760d5e0664ad4861464f5de06f5fc305a samba: install all systemd unit files This includes samba.service, which other major distributions install, too. """ But lack of required executable since ad-dc feature is disabled by default. There are two known issues when enable ad-dc feature: - it doesn't work well with mitkrb5 http://samba.2283325.n4.nabble.com/samba-4-6-6-Unknown-dependency-kdc-in-service-kdc-objlist-td4722096.html - if mitkrb5 is disabled, embedded_heimdal will be built but will fail for x86 if there is no 32bit libbsd on the host. To fix the issues: - Add PACKAGECONFIG for ad-dc and disable by default. - Add PACKAGECONFIG for gnutls which is required by ad-dc and disable by default. - Add PACKAGECONFIG for mitkrb5 and enable by default. - Don't install samba.service if ad-dc is disabled. - Re-package ad-dc service and executable into a new package samba-ad-dc Signed-off-by: Jackie Huang --- .../recipes-connectivity/samba/samba_4.6.7.bb | 40 +- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/meta-networking/recipes-connectivity/samba/samba_4.6.7.bb b/meta-networking/recipes-connectivity/samba/samba_4.6.7.bb index 2b227c95d..8395acb5e 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.6.7.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.6.7.bb @@ -34,7 +34,7 @@ inherit systemd waf-samba cpan-base perlnative update-rc.d # remove default added RDEPENDS on perl RDEPENDS_${PN}_remove = "perl" -DEPENDS += "readline virtual/libiconv zlib popt libtalloc libtdb libtevent libldb krb5 libbsd libaio libpam" +DEPENDS += "readline virtual/libiconv zlib popt libtalloc libtdb libtevent libldb libbsd libaio libpam" DEPENDS_append_libc-musl = " libtirpc" CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc" LDFLAGS_append_libc-musl = " -ltirpc" @@ -45,12 +45,18 @@ LSB_linuxstdbase = "lsb" INITSCRIPT_NAME = "samba" INITSCRIPT_PARAMS = "start 20 3 5 . stop 20 0 1 6 ." -SYSTEMD_PACKAGES = "${PN}-base winbind" +SYSTEMD_PACKAGES = "${PN}-base ${PN}-ad-dc winbind" SYSTEMD_SERVICE_${PN}-base = "nmb.service smb.service" +SYSTEMD_SERVICE_${PN}-ad-dc = "${@bb.utils.contains('PACKAGECONFIG', 'ad-dc', 'samba.service', '', d)}" SYSTEMD_SERVICE_winbind = "winbind.service" +# There are prerequisite settings to enable ad-dc, so disable the service by default. +# Reference: +# https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller +SYSTEMD_AUTO_ENABLE_${PN}-ad-dc = "disable" + PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd zeroconf', d)} \ - acl cups ldap \ + acl cups ldap mitkrb5 \ " RDEPENDS_${PN}-base += "${LSB}" @@ -68,6 +74,20 @@ PACKAGECONFIG[valgrind] = ",--without-valgrind,valgrind," PACKAGECONFIG[lttng] = "--with-lttng, --without-lttng,lttng-ust" PACKAGECONFIG[archive] = "--with-libarchive, --without-libarchive, libarchive" +# Building the AD (Active Directory) DC (Domain Controller) requires GnuTLS, +# And ad-dc doesn't work with mitkrb5 for versions prior to 4.7.0 according to: +# http://samba.2283325.n4.nabble.com/samba-4-6-6-Unknown-dependency-kdc-in-service-kdc-objlist-td4722096.html +# So the working combination is: +# 1) ad-dc: enable, gnutls: enable, mitkrb5: disable +# 2) ad-dc: disable, gnutls: enable/disable, mitkrb5: enable +# +# There is another known issue when mitkrb5 is disabled: +# embedded_heimdal will be built but will fail for x86 if there is no 32bit libbsd on the host. +# so ad-dc is disabled and mitkrb5 is enabled by default, someone wants to use ad-dc may need +# to enable themself and workaround the issue. +PACKAGECONFIG[ad-dc] = ",--without-ad-dc,," +PACKAGECONFIG[gnutls] = "--enable-gnutls,--disable-gnutls,gnutls," +PACKAGECONFIG[mitkrb5] = "--with-system-mitkrb5,,krb5," SAMBA4_IDMAP_MODULES="idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2" SAMBA4_PDB_MODULES="pdb_tdbsam,${@bb.utils.contains('PACKAGECONFIG', 'ldap', 'pdb_ldap,', '', d)}pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4" @@ -82,12 +102,9 @@ EXTRA_OECONF += "--enable-fhs \ --with-modulesdir=${libdir}/samba \ --with-lockdir=${localstatedir}/lib/samba \ --with-cachedir=${localstatedir}/lib/samba \ - --disable-gnutls \ --disable-rpath-install \ --with-shared-modules=${SAMBA4_MODULES} \ --bundled-libraries=${SAMBA4_LIBS} \ - --with-system-mitkrb5 \ - --without-ad-dc \ ${@base_conditional('TARGET_ARCH', 'x86_64', '', '--disable-glusterfs', d)} \ --with-cluster-support \ --with-profiling-data \ @@ -113,6 +130,10 @@ do_install_append() {
[oe] [meta-networking][PATCH 2/2] samba: fix for AD DC service
From: Jackie HuangThe AD DC service is installed by default since the commit: """ commit 28b8edc760d5e0664ad4861464f5de06f5fc305a samba: install all systemd unit files This includes samba.service, which other major distributions install, too. """ But lack of required executable since ad-dc feature is disabled by default. To fix the issue: - Add PACKAGECONFIG for ad-dc and enable by default. - Add PACKAGECONFIG for gnutls which is required by ad-dc and enable by default. - Add PACKAGECONFIG for mitkrb5 but disable by default because of an known issue: http://samba.2283325.n4.nabble.com/samba-4-6-6-Unknown-dependency-kdc-in-service-kdc-objlist-td4722096.html - Don't install samba.service if ad-dc is disabled. - Re-package ad-dc service and executable into a new package samba-ad-dc Signed-off-by: Jackie Huang --- .../recipes-connectivity/samba/samba_4.6.7.bb | 35 +- 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/meta-networking/recipes-connectivity/samba/samba_4.6.7.bb b/meta-networking/recipes-connectivity/samba/samba_4.6.7.bb index 2b227c95d..9372ea34a 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.6.7.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.6.7.bb @@ -34,7 +34,7 @@ inherit systemd waf-samba cpan-base perlnative update-rc.d # remove default added RDEPENDS on perl RDEPENDS_${PN}_remove = "perl" -DEPENDS += "readline virtual/libiconv zlib popt libtalloc libtdb libtevent libldb krb5 libbsd libaio libpam" +DEPENDS += "readline virtual/libiconv zlib popt libtalloc libtdb libtevent libldb libbsd libaio libpam" DEPENDS_append_libc-musl = " libtirpc" CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc" LDFLAGS_append_libc-musl = " -ltirpc" @@ -45,12 +45,18 @@ LSB_linuxstdbase = "lsb" INITSCRIPT_NAME = "samba" INITSCRIPT_PARAMS = "start 20 3 5 . stop 20 0 1 6 ." -SYSTEMD_PACKAGES = "${PN}-base winbind" +SYSTEMD_PACKAGES = "${PN}-base ${PN}-ad-dc winbind" SYSTEMD_SERVICE_${PN}-base = "nmb.service smb.service" +SYSTEMD_SERVICE_${PN}-ad-dc = "samba.service" SYSTEMD_SERVICE_winbind = "winbind.service" +# There are prerequisite settings to enable ad-dc, so disable the service by default. +# Reference: +# https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller +SYSTEMD_AUTO_ENABLE_${PN}-ad-dc = "disable" + PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd zeroconf', d)} \ - acl cups ldap \ + acl ad-dc cups gnutls ldap \ " RDEPENDS_${PN}-base += "${LSB}" @@ -68,6 +74,15 @@ PACKAGECONFIG[valgrind] = ",--without-valgrind,valgrind," PACKAGECONFIG[lttng] = "--with-lttng, --without-lttng,lttng-ust" PACKAGECONFIG[archive] = "--with-libarchive, --without-libarchive, libarchive" +# Building the AD (Active Directory) DC (Domain Controller) requires GnuTLS, +# And ad-dc doesn't work with mitkrb5 for versions prior to 4.7.0 according to: +# http://samba.2283325.n4.nabble.com/samba-4-6-6-Unknown-dependency-kdc-in-service-kdc-objlist-td4722096.html +# So the working combination is: +# 1) ad-dc: enable, gnutls: enable, mitkrb5: disable +# 2) ad-dc: disable, gnutls: enable/disable, mitkrb5: enable +PACKAGECONFIG[ad-dc] = ",--without-ad-dc,," +PACKAGECONFIG[gnutls] = "--enable-gnutls,--disable-gnutls,gnutls," +PACKAGECONFIG[mitkrb5] = "--with-system-mitkrb5,,krb5," SAMBA4_IDMAP_MODULES="idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2" SAMBA4_PDB_MODULES="pdb_tdbsam,${@bb.utils.contains('PACKAGECONFIG', 'ldap', 'pdb_ldap,', '', d)}pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4" @@ -82,12 +97,9 @@ EXTRA_OECONF += "--enable-fhs \ --with-modulesdir=${libdir}/samba \ --with-lockdir=${localstatedir}/lib/samba \ --with-cachedir=${localstatedir}/lib/samba \ - --disable-gnutls \ --disable-rpath-install \ --with-shared-modules=${SAMBA4_MODULES} \ --bundled-libraries=${SAMBA4_LIBS} \ - --with-system-mitkrb5 \ - --without-ad-dc \ ${@base_conditional('TARGET_ARCH', 'x86_64', '', '--disable-glusterfs', d)} \ --with-cluster-support \ --with-profiling-data \ @@ -113,6 +125,10 @@ do_install_append() { -e 's,/etc/sysconfig/samba,${sysconfdir}/default/samba,' \ -i ${D}${systemd_system_unitdir}/*.service +if [ "${@bb.utils.contains('PACKAGECONFIG', 'ad-dc', 'yes', 'no', d)}" = "no" ]; then +rm -f ${D}${systemd_system_unitdir}/samba.service +fi + install -d ${D}${sysconfdir}/tmpfiles.d install -m644 packaging/systemd/samba.conf.tmp ${D}${sysconfdir}/tmpfiles.d/samba.conf echo "d ${localstatedir}/log/samba 0755 root root -" \ @@ -161,7 +177,7 @@ do_install_append() { PACKAGES =+ "${PN}-python ${PN}-pidl \
[oe] [meta-networking][PATCH 1/2] samba: add missing RDEPENDS
From: Jackie Huang* samba-tool requires the python modules from samba-python or it fails with: Traceback (most recent call last): File "/usr/bin/samba-tool", line 33, in from samba.netcmd.main import cmd_sambatool ImportError: No module named samba.netcmd.main * Provisioning with samba-tool requires samba-dsdb-modules or it fails with: Setting up secrets.ldb ldb: unable to stat module /usr/lib64/samba/ldb : No such file or directory WARNING: Module [samba_secrets] not found - do you need to set LDB_MODULES_PATH? Unable to load modules for /var/lib/samba/private/secrets.ldb: (null) ERROR(ldb): uncaught exception - None * samba-python requires pytalloc and python-tdb or it fails with: TypeError: pytalloc: unable to get talloc.BaseObject type ERROR(): uncaught exception - No module named tdb Signed-off-by: Jackie Huang --- meta-networking/recipes-connectivity/samba/samba_4.6.7.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-networking/recipes-connectivity/samba/samba_4.6.7.bb b/meta-networking/recipes-connectivity/samba/samba_4.6.7.bb index 59d7425c8..2b227c95d 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.6.7.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.6.7.bb @@ -186,7 +186,8 @@ python samba_populate_packages() { PACKAGESPLITFUNCS_prepend = "samba_populate_packages " -RDEPENDS_${PN} += "${PN}-base" +RDEPENDS_${PN} += "${PN}-base ${PN}-python ${PN}-dsdb-modules" +RDEPENDS_${PN}-python += "pytalloc python-tdb" FILES_${PN}-base = "${sbindir}/nmbd \ ${sbindir}/smbd \ -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 0/2] samba: fixes for AD DC service
From: Jackie Huang-- The following changes since commit 0d220e002e4f525469f0c24e0585318d2178e7a1: tslib: update project homepage (2017-10-20 16:14:56 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib.git jhuang0/d_samba-ad-dc_171024_0 http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/d_samba-ad-dc_171024_0 Jackie Huang (2): samba: add missing RDEPENDS samba: fix for AD DC service .../recipes-connectivity/samba/samba_4.6.7.bb | 38 +- 1 file changed, 29 insertions(+), 9 deletions(-) -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH] recipes: fix invalid license file
From: Jackie HuangUse '${COMMON_LICENSE_DIR}/MIT' for MIT License to fix the warning: | WARNING: packagegroup-xfce-base-1.0-r5 do_populate_lic: ${COREBASE}/LICENSE is not a valid license file, please use '${COMMON_LICENSE_DIR}/MIT' for a MIT License file in LIC_FILES_CHKSUM. This will become an error in the future Signed-off-by: Jackie Huang --- meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb | 2 +- meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-meta-base_0.10.bb | 2 +- .../recipes-connectivity/packagegroups/packagegroup-tools-bluetooth.bb | 2 +- meta-oe/recipes-core/packagegroups/packagegroup-basic.bb| 2 +- meta-oe/recipes-core/packagegroups/packagegroup-boot.bb | 2 +- meta-oe/recipes-devtools/packagegroups/packagegroup-sdk-target.bb | 2 +- meta-oe/recipes-extended/polkit/polkit-group-rule-datetime.bb | 2 +- meta-oe/recipes-extended/polkit/polkit-group-rule-network.bb| 2 +- meta-oe/recipes-extended/zram/zram_0.1.bb | 2 +- .../recipes-multimedia/packagegroups/packagegroup-xfce-multimedia.bb| 2 +- meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-base.bb | 2 +- meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb | 2 +- meta-xfce/recipes-xfce/xfce4-session/machine-host.bb| 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb b/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb index 085955c13..804ec3235 100644 --- a/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb +++ b/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb @@ -2,7 +2,7 @@ SUMMARY = "Configuration files for kexecboot" DESCRIPTION = "Default icon and boot.cfg for kexecboot linux-as-bootloader." SECTION = "base" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" SRC_URI = "file://icon.xpm" diff --git a/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-meta-base_0.10.bb b/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-meta-base_0.10.bb index 039abe14f..88f1abf68 100644 --- a/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-meta-base_0.10.bb +++ b/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-meta-base_0.10.bb @@ -6,7 +6,7 @@ DEPENDS_UGLY="${@'gst-plugins-ugly' if 'ugly' in COMMERCIAL_PLUGINS.split('-') e DEPENDS_BAD="${@'gst-plugins-bad' if 'bad' in COMMERCIAL_PLUGINS.split('-') else ''}" DEPENDS = "gstreamer gst-plugins-base gst-plugins-good ${DEPENDS_UGLY} ${DEPENDS_BAD}" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" diff --git a/meta-oe/recipes-connectivity/packagegroups/packagegroup-tools-bluetooth.bb b/meta-oe/recipes-connectivity/packagegroups/packagegroup-tools-bluetooth.bb index 0ede5e57b..317f9728b 100644 --- a/meta-oe/recipes-connectivity/packagegroups/packagegroup-tools-bluetooth.bb +++ b/meta-oe/recipes-connectivity/packagegroups/packagegroup-tools-bluetooth.bb @@ -2,7 +2,7 @@ # Released under the MIT license (see COPYING.MIT for the terms) LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" SUMMARY = "Set of Bluetooth related tools for inclusion in images" diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-basic.bb b/meta-oe/recipes-core/packagegroups/packagegroup-basic.bb index a53fa69de..b12183b3a 100644 --- a/meta-oe/recipes-core/packagegroups/packagegroup-basic.bb +++ b/meta-oe/recipes-core/packagegroups/packagegroup-basic.bb @@ -3,7 +3,7 @@ SUMMARY = "Basic task to get a device online" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" PR = "r13" diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-boot.bb b/meta-oe/recipes-core/packagegroups/packagegroup-boot.bb index a542ae420..3ae7a49fe 100644 --- a/meta-oe/recipes-core/packagegroups/packagegroup-boot.bb +++ b/meta-oe/recipes-core/packagegroups/packagegroup-boot.bb @@ -1,6 +1,6 @@ SUMMARY = "Basic task to get a device booting" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690" +LIC_FILES_CHKSUM =
[oe] [meta-oe][PATCH v2] protobuf-c: use git fetcher instead of github archives
From: Jackie HuangChange to use git fetcher as github archives can be regenerated from time to time with different checksums. Signed-off-by: Jackie Huang --- meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb index 40fb96cf4..36de06041 100644 --- a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb +++ b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb @@ -16,10 +16,13 @@ RDEPENDS_${PN}-compiler = "protobuf-compiler" RDEPENDS_${PN}-dev += "${PN}-compiler" LIC_FILES_CHKSUM = "file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e" -SRC_URI = "https://github.com/protobuf-c/protobuf-c/archive/v${PV}.tar.gz; -SRC_URI[md5sum] = "b884aeba4283309445a8e3b6e7322dd6" -SRC_URI[sha256sum] = "2d708fb3c024b9e6e86df141faff802194f5db90a4b79e6d4aa6bd61dd983dd6" +PV .= "+git${SRCPV}" +SRCREV = "006d69bd8481738323c58af5cd4c8477d09eb9f5" + +SRC_URI = "git://github.com/protobuf-c/protobuf-c.git" + +S = "${WORKDIR}/git" inherit autotools pkgconfig -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] protobuf-c: set downloadfilename
From: Jackie HuangSet downloadfilename to avoid the file name without package name like v{PV}.tar.gz. Signed-off-by: Jackie Huang --- meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb index 40fb96cf4..696e84ed5 100644 --- a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb +++ b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb @@ -16,7 +16,7 @@ RDEPENDS_${PN}-compiler = "protobuf-compiler" RDEPENDS_${PN}-dev += "${PN}-compiler" LIC_FILES_CHKSUM = "file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e" -SRC_URI = "https://github.com/protobuf-c/protobuf-c/archive/v${PV}.tar.gz; +SRC_URI = "https://github.com/protobuf-c/protobuf-c/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz; SRC_URI[md5sum] = "b884aeba4283309445a8e3b6e7322dd6" SRC_URI[sha256sum] = "2d708fb3c024b9e6e86df141faff802194f5db90a4b79e6d4aa6bd61dd983dd6" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] pmtools: use update-alternatives for acpixtract
From: Jackie Huangacpixtract is both provided by acpica and pmtools, so use update-alternatives to fix conflicts: | file /usr/bin/acpixtract conflicts between attempted installs of pmtools-20130209+git0+3ebe0e54c5-r0.i586 and acpica-20170303-r0.i586 Signed-off-by: Jackie Huang --- meta-oe/recipes-devtools/pmtools/pmtools_git.bb | 5 + 1 file changed, 5 insertions(+) diff --git a/meta-oe/recipes-devtools/pmtools/pmtools_git.bb b/meta-oe/recipes-devtools/pmtools/pmtools_git.bb index 94fc736b5..8491fc904 100644 --- a/meta-oe/recipes-devtools/pmtools/pmtools_git.bb +++ b/meta-oe/recipes-devtools/pmtools/pmtools_git.bb @@ -15,6 +15,11 @@ COMPATIBLE_HOST = "(i.86|x86_64).*-linux" S = "${WORKDIR}/git" +inherit update-alternatives + +ALTERNATIVE_PRIORITY = "90" +ALTERNATIVE_${PN} = "acpixtract" + do_configure[noexec] = "1" do_compile() { oe_runmake -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 2/2] corosync: add support for extra features
From: Jackie Huang* Add support for features: dbus qdevice qnetd snmp * Add related PACKAGECONFIG * inherit useradd to add proper user for qnetd service Signed-off-by: Jackie Huang --- .../recipes-extended/corosync/corosync_2.4.2.bb| 30 +++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/meta-oe/recipes-extended/corosync/corosync_2.4.2.bb b/meta-oe/recipes-extended/corosync/corosync_2.4.2.bb index 2f3aef299..7d5a87e4c 100644 --- a/meta-oe/recipes-extended/corosync/corosync_2.4.2.bb +++ b/meta-oe/recipes-extended/corosync/corosync_2.4.2.bb @@ -5,7 +5,7 @@ HOMEPAGE = "http://corosync.github.io/corosync/; SECTION = "base" -inherit autotools pkgconfig systemd +inherit autotools pkgconfig systemd useradd SRC_URI = "http://build.clusterlabs.org/corosync/releases/${BP}.tar.gz; SRC_URI[md5sum] = "547fa78704da53aa35912be58d31035f" @@ -16,13 +16,23 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a85eb4ce24033adb6088dd1d6ffc5e5d" DEPENDS = "groff-native nss libqb" -SYSTEMD_SERVICE_${PN} = "corosync.service corosync-notifyd.service" +SYSTEMD_SERVICE_${PN} = "corosync.service corosync-notifyd.service \ + ${@bb.utils.contains('PACKAGECONFIG', 'qdevice', 'corosync-qdevice.service', '', d)} \ + ${@bb.utils.contains('PACKAGECONFIG', 'qnetd', 'corosync-qnetd.service', '', d)} \ +" SYSTEMD_AUTO_ENABLE = "enable" INITSCRIPT_NAME = "corosync-daemon" -PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ + dbus qdevice qnetd snmp \ +" +PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus" +PACKAGECONFIG[qdevice] = "--enable-qdevices,--disable-qdevices" +PACKAGECONFIG[qnetd] = "--enable-qnetd,--disable-qnetd" +PACKAGECONFIG[rdma] = "--enable-rdma,--disable-rdma" +PACKAGECONFIG[snmp] = "--enable-snmp,--disable-snmp,net-snmp" PACKAGECONFIG[systemd] = "--enable-systemd --with-systemddir=${systemd_system_unitdir},--disable-systemd --without-systemddir,systemd" EXTRA_OECONF = "ac_cv_path_BASHPATH=${base_bindir}/bash" @@ -43,12 +53,26 @@ do_install_append() { install -d ${D}${sysconfdir}/default/volatiles echo "d root root 0755 ${localstatedir}/log/cluster none" > ${D}${sysconfdir}/default/volatiles/05_corosync +if ${@bb.utils.contains('PACKAGECONFIG', 'qnetd', 'true', 'false', d)}; then +chown -R coroqnetd:coroqnetd ${D}${sysconfdir}/${BPN}/qnetd +echo "d coroqnetd coroqnetd 0770 /var/run/corosync-qnetd none" >> ${D}${sysconfdir}/default/volatiles/05_corosync +fi + if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then install -d ${D}${sysconfdir}/tmpfiles.d echo "d ${localstatedir}/log/cluster - - - -" > ${D}${sysconfdir}/tmpfiles.d/corosync.conf + +if ${@bb.utils.contains('PACKAGECONFIG', 'qnetd', 'true', 'false', d)}; then +install -m 0644 ${S}/conf/tmpfiles.d/corosync-qnetd.conf ${D}${sysconfdir}/tmpfiles.d +fi fi } RDEPENDS_${PN} += "bash" FILES_${PN}-dbg += "${libexecdir}/lcrso/.debug" +FILES_${PN}-doc += "${datadir}/snmp/mibs/COROSYNC-MIB.txt" + +USERADD_PACKAGES = "${PN}" +GROUPADD_PARAM_${PN} = "--system coroqnetd" +USERADD_PARAM_${PN} = "--system -d / -M -s /bin/nologin -c 'User for corosync-qnetd' -g coroqnetd coroqnetd" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 0/2] corosync: fixes and add support for extra features
From: Jackie Huang-- The following changes since commit 108cb0394a96ea51c2c3fffb470622b6cd357c63: multipath-tools: RDEPEND on bash (2017-08-28 11:06:07 +0200) are available in the git repository at: git://git.pokylinux.org/poky-contrib.git jhuang0/d_corosync_170829_0 http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/d_corosync_170829_0 Jackie Huang (2): corosync: fixes for sysvinit and systemd corosync: add support for extra features .../recipes-extended/corosync/corosync_2.4.2.bb| 54 +++--- 1 file changed, 38 insertions(+), 16 deletions(-) -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 1/2] corosync: fixes for sysvinit and systemd
From: Jackie Huang* Replace ${systemd_unitdir}/system with ${systemd_system_unitdir} * Remove the upstar settings and don't install upstar config files * Add volatile for sysvinit and tmpfiles for systemd * Set the correct bash path for init scripts to avoid QA issue: | corosync-2.4.2: /usr/share/corosync/corosync contained in package corosync requires /tmp/hosttools/bash, but no providers found in RDEPENDS_corosync? [file-rdeps] * The systemd services are intalled properly by "make install", no need to install manually. Signed-off-by: Jackie Huang --- .../recipes-extended/corosync/corosync_2.4.2.bb| 24 ++ 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/meta-oe/recipes-extended/corosync/corosync_2.4.2.bb b/meta-oe/recipes-extended/corosync/corosync_2.4.2.bb index ec1deaca5..2f3aef299 100644 --- a/meta-oe/recipes-extended/corosync/corosync_2.4.2.bb +++ b/meta-oe/recipes-extended/corosync/corosync_2.4.2.bb @@ -23,9 +23,10 @@ INITSCRIPT_NAME = "corosync-daemon" PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" -PACKAGECONFIG[systemd] = "--enable-systemd --with-systemddir=${systemd_unitdir}/system/,--with-systemddir=" +PACKAGECONFIG[systemd] = "--enable-systemd --with-systemddir=${systemd_system_unitdir},--disable-systemd --without-systemddir,systemd" -EXTRA_OECONF = "--with-upstartdir=%{_sysconfdir}/init" +EXTRA_OECONF = "ac_cv_path_BASHPATH=${base_bindir}/bash" +EXTRA_OEMAKE = "tmpfilesdir_DATA=" do_configure_prepend() { ( cd ${S} @@ -34,20 +35,17 @@ do_configure_prepend() { do_install_append() { install -d ${D}${sysconfdir}/sysconfig/ -install -d ${D}/${sysconfdir}/init.d install -m 0644 ${S}/init/corosync.sysconfig.example ${D}${sysconfdir}/sysconfig/corosync -install -m 0644 ${S}/init/corosync-notifyd.conf.in ${D}${sysconfdir}/sysconfig/corosync-notifyd.conf -install -m 0644 ${S}/init/corosync.conf.in ${D}${sysconfdir}/sysconfig/corosync.conf -install -m 0644 ${S}/init/corosync.in ${D}${sysconfdir}/init.d/corosync -install -m 0644 ${S}/init/corosync-notifyd.in ${D}${sysconfdir}/init.d/corosync-notifyd +install -m 0644 ${S}/tools/corosync-notifyd.sysconfig.example ${D}${sysconfdir}/sysconfig/corosync-notifyd + +rm -rf "${D}${localstatedir}/run" + +install -d ${D}${sysconfdir}/default/volatiles +echo "d root root 0755 ${localstatedir}/log/cluster none" > ${D}${sysconfdir}/default/volatiles/05_corosync if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then -install -d ${D}${systemd_unitdir}/system -install -m 0644 ${S}/init/corosync.service.in ${D}${systemd_unitdir}/system/corosync.service -install -m 0644 ${S}/init/corosync-notifyd.service.in ${D}${systemd_unitdir}/system/corosync-notifyd.service -sed -i -e 's,@INITWRAPPERSDIR@,${sysconfdir}/init.d,g' ${D}${systemd_unitdir}/system/corosync.service -sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' ${D}${systemd_unitdir}/system/corosync-notifyd.service -sed -i -e 's,@SBINDIR@,${base_sbindir},g' ${D}${systemd_unitdir}/system/corosync-notifyd.service +install -d ${D}${sysconfdir}/tmpfiles.d +echo "d ${localstatedir}/log/cluster - - - -" > ${D}${sysconfdir}/tmpfiles.d/corosync.conf fi } -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] multipath-tools: add rdepends on bash
From: Jackie Huang* Add rdepends on bash to fix QA Issue: | ERROR: multipath-tools-0.7.1-r0 do_package_qa: QA Issue: /sbin/mpathconf contained in package multipath-tools requires /bin/bash, but no providers found in RDEPENDS_multipath-tools? [file-rdeps] * Combine multiple assignments for PACKAGES and RDPENDS into one, re-order and re-group for related variables. Signed-off-by: Jackie Huang --- .../multipath-tools/multipath-tools_0.7.1.bb | 23 ++ 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.1.bb b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.1.bb index 610ba7a94..ccd08575e 100644 --- a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.1.bb +++ b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.1.bb @@ -92,22 +92,19 @@ do_install() { ${D}${sysconfdir}/multipath.conf.example } -FILES_${PN}-dbg += "${base_libdir}/multipath/.debug" - -PACKAGES =+ "${PN}-libs" -FILES_${PN}-libs = "${base_libdir}/lib*.so.* \ -${base_libdir}/multipath/lib*.so*" -RDEPENDS_${PN} += "${PN}-libs" - -PROVIDES += "device-mapper-multipath" -RPROVIDES_${PN} += "device-mapper-multipath" -RPROVIDES_${PN}-libs += "device-mapper-multipath-libs" +PACKAGES =+ "${PN}-libs kpartx" FILES_${PN}-dev += "${base_libdir}/pkgconfig" - -PACKAGES =+ "kpartx" +FILES_${PN}-dbg += "${base_libdir}/multipath/.debug" +FILES_${PN}-libs = "${base_libdir}/lib*.so.* \ +${base_libdir}/multipath/lib*.so* \ + " FILES_kpartx = "${base_sbindir}/kpartx \ ${nonarch_libdir}/udev/kpartx_id \ " -RDEPENDS_${PN} += "kpartx" +RDEPENDS_${PN} += "${PN}-libs kpartx bash" + +PROVIDES += "device-mapper-multipath" +RPROVIDES_${PN} += "device-mapper-multipath" +RPROVIDES_${PN}-libs += "device-mapper-multipath-libs" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] enscript: set the correct path for perl
From: Jackie HuangSet the correct path for perl and avoid searching the one in hosttools that cause QA issue: | ERROR: enscript-1.6.6-r0 do_package_qa: QA Issue: /usr/bin/diffpp contained in package enscript requires /builddir/tmp/hosttools/perl, but no providers found in RDEPENDS_enscript? [file-rdeps] Signed-off-by: Jackie Huang --- meta-oe/recipes-extended/enscript/enscript_1.6.6.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-extended/enscript/enscript_1.6.6.bb b/meta-oe/recipes-extended/enscript/enscript_1.6.6.bb index 96129880a..65f1ccfa0 100644 --- a/meta-oe/recipes-extended/enscript/enscript_1.6.6.bb +++ b/meta-oe/recipes-extended/enscript/enscript_1.6.6.bb @@ -19,4 +19,6 @@ inherit autotools gettext SRC_URI[md5sum] = "3acc242b829adacabcaf28533f049afd" SRC_URI[sha256sum] = "6d56bada6934d055b34b6c90399aa85975e66457ac5bf513427ae7fc77f5c0bb" +CACHED_CONFIGUREVARS += "ac_cv_path_PERL=${bindir}/perl" + RDEPENDS_${PN} = "perl" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-python][PATCH 1/3] python-html5lib: add Python3 support
From: Jackie HuangExtend the recipe for Python3 support. Signed-off-by: Jackie Huang --- meta-python/recipes-devtools/python/python-html5lib.inc | 14 ++ .../python/python-html5lib_0.9.bb| 16 ++-- .../python/python3-html5lib_0.9.bb | 2 ++ 3 files changed, 18 insertions(+), 14 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-html5lib.inc create mode 100644 meta-python/recipes-devtools/python/python3-html5lib_0.9.bb diff --git a/meta-python/recipes-devtools/python/python-html5lib.inc b/meta-python/recipes-devtools/python/python-html5lib.inc new file mode 100644 index 0..9c59e0d18 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-html5lib.inc @@ -0,0 +1,14 @@ +SUMMARY = "HTML parser based on the WHATWG HTML specifcation" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1ba5ada9e6fead1fdc32f43c9f10ba7c" + +SRC_URI[md5sum] = "8578e4e3a341436cb9743a9e4a299239" +SRC_URI[sha256sum] = "ee747c0ffd3028d2722061936b5c65ee4fe13c8e4613519b4447123fc4546298" + +inherit pypi + +RDEPENDS_${PN} += "\ +${PYTHON_PN}-six \ +${PYTHON_PN}-webencodings \ +${PYTHON_PN}-xml \ +" diff --git a/meta-python/recipes-devtools/python/python-html5lib_0.9.bb b/meta-python/recipes-devtools/python/python-html5lib_0.9.bb index d0f7b56ee..f5941a2a1 100644 --- a/meta-python/recipes-devtools/python/python-html5lib_0.9.bb +++ b/meta-python/recipes-devtools/python/python-html5lib_0.9.bb @@ -1,14 +1,2 @@ -SUMMARY = "HTML parser based on the WHATWG HTML specifcation" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1ba5ada9e6fead1fdc32f43c9f10ba7c" - -SRC_URI[md5sum] = "8578e4e3a341436cb9743a9e4a299239" -SRC_URI[sha256sum] = "ee747c0ffd3028d2722061936b5c65ee4fe13c8e4613519b4447123fc4546298" - -inherit pypi setuptools - -RDEPENDS_${PN} += "\ -${PYTHON_PN}-six \ -${PYTHON_PN}-webencodings \ -${PYTHON_PN}-xml \ -" +inherit setuptools +require python-html5lib.inc diff --git a/meta-python/recipes-devtools/python/python3-html5lib_0.9.bb b/meta-python/recipes-devtools/python/python3-html5lib_0.9.bb new file mode 100644 index 0..6bd8b49f5 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-html5lib_0.9.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-html5lib.inc -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-python][PATCH 2/3] python-webencodings: add Python3 support
From: Jackie HuangExtend the recipe for Python3 support. Signed-off-by: Jackie Huang --- meta-python/recipes-devtools/python/python-webencodings.inc | 10 ++ .../recipes-devtools/python/python-webencodings_0.5.1.bb | 12 ++-- .../recipes-devtools/python/python3-webencodings_0.5.1.bb| 2 ++ 3 files changed, 14 insertions(+), 10 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-webencodings.inc create mode 100644 meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb diff --git a/meta-python/recipes-devtools/python/python-webencodings.inc b/meta-python/recipes-devtools/python/python-webencodings.inc new file mode 100644 index 0..ed57c52e5 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-webencodings.inc @@ -0,0 +1,10 @@ +SUMMARY = "Character encoding aliases for legacy web content" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://PKG-INFO;startline=8;endline=9;md5=af5c81bfe98855a56d36b6ba5de2906f" + +SRC_URI[md5sum] = "32f6e261d52e57bf7e1c4d41546d15b8" +SRC_URI[sha256sum] = "b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923" + +inherit pypi + +RDEPENDS_${PN} += "${PYTHON_PN}-codecs" diff --git a/meta-python/recipes-devtools/python/python-webencodings_0.5.1.bb b/meta-python/recipes-devtools/python/python-webencodings_0.5.1.bb index d7e4d2ebb..5de2ed1d7 100644 --- a/meta-python/recipes-devtools/python/python-webencodings_0.5.1.bb +++ b/meta-python/recipes-devtools/python/python-webencodings_0.5.1.bb @@ -1,10 +1,2 @@ -SUMMARY = "Character encoding aliases for legacy web content" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://PKG-INFO;startline=8;endline=9;md5=af5c81bfe98855a56d36b6ba5de2906f" - -SRC_URI[md5sum] = "32f6e261d52e57bf7e1c4d41546d15b8" -SRC_URI[sha256sum] = "b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923" - -inherit pypi setuptools - -RDEPENDS_${PN} += "${PYTHON_PN}-codecs" +inherit setuptools +require python-webencodings.inc diff --git a/meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb b/meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb new file mode 100644 index 0..71fe741e4 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-webencodings.inc -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-python][PATCH 0/3] python-beautifulsoup4: add new recipe and required packages
From: Jackie Huang-- The following changes since commit ac2a6d2b5d69937577effcb8bb2149651bac0176: json-spirit: Add -latomic to LDFLAGS (2017-08-13 13:21:04 +0200) are available in the git repository at: git://git.pokylinux.org/poky-contrib.git jhuang0/r_up_python-beautifulsoup4_170825_0 http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/r_up_python-beautifulsoup4_170825_0 Jackie Huang (3): python-html5lib: add Python3 support python-webencodings: add Python3 support python-beautifulsoup4: add new recipe for both python2 and python3 .../recipes-devtools/python/python-beautifulsoup4.inc | 17 + .../python/python-beautifulsoup4_4.6.0.bb | 2 ++ meta-python/recipes-devtools/python/python-html5lib.inc | 14 ++ .../python/python-html5lib_0.9.bb | 16 ++-- .../recipes-devtools/python/python-webencodings.inc | 10 ++ .../python/python-webencodings_0.5.1.bb | 12 ++-- .../python/python3-beautifulsoup4_4.6.0.bb | 2 ++ .../python/python3-html5lib_0.9.bb | 2 ++ .../python/python3-webencodings_0.5.1.bb| 2 ++ 9 files changed, 53 insertions(+), 24 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-beautifulsoup4.inc create mode 100644 meta-python/recipes-devtools/python/python-beautifulsoup4_4.6.0.bb create mode 100644 meta-python/recipes-devtools/python/python-html5lib.inc create mode 100644 meta-python/recipes-devtools/python/python-webencodings.inc create mode 100644 meta-python/recipes-devtools/python/python3-beautifulsoup4_4.6.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-html5lib_0.9.bb create mode 100644 meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-python][PATCH 3/3] python-beautifulsoup4: add new recipe for both python2 and python3
From: Jackie HuangBeautiful Soup sits atop an HTML or XML parser, providing Pythonic idioms for iterating, searching, and modifying the parse tree. Signed-off-by: Jackie Huang --- .../recipes-devtools/python/python-beautifulsoup4.inc | 17 + .../python/python-beautifulsoup4_4.6.0.bb | 2 ++ .../python/python3-beautifulsoup4_4.6.0.bb | 2 ++ 3 files changed, 21 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-beautifulsoup4.inc create mode 100644 meta-python/recipes-devtools/python/python-beautifulsoup4_4.6.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-beautifulsoup4_4.6.0.bb diff --git a/meta-python/recipes-devtools/python/python-beautifulsoup4.inc b/meta-python/recipes-devtools/python/python-beautifulsoup4.inc new file mode 100644 index 0..d60d987ca --- /dev/null +++ b/meta-python/recipes-devtools/python/python-beautifulsoup4.inc @@ -0,0 +1,17 @@ +SUMMARY = "Screen-scraping library" +HOMEPAGE = " https://www.crummy.com/software/BeautifulSoup/bs4; +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=f2d38d8a40bf73fd4b3d16ca2e5882d1" + +SRC_URI[md5sum] = "c17714d0f91a23b708a592cb3c697728" +SRC_URI[sha256sum] = "808b6ac932dccb0a4126558f7dfdcf41710dd44a4ef497a0bb59a77f9f078e89" + +inherit pypi + +RDEPENDS_${PN}_class-target = "\ +${PYTHON_PN}-core \ +${PYTHON_PN}-html5lib \ +${PYTHON_PN}-lxml \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python-beautifulsoup4_4.6.0.bb b/meta-python/recipes-devtools/python/python-beautifulsoup4_4.6.0.bb new file mode 100644 index 0..907285ac1 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-beautifulsoup4_4.6.0.bb @@ -0,0 +1,2 @@ +inherit setuptools +require python-beautifulsoup4.inc diff --git a/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.6.0.bb b/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.6.0.bb new file mode 100644 index 0..d98df11e3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.6.0.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-beautifulsoup4.inc -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] logwarn: set correct paths and add missing dependency
From: Jackie Huang* Set correct paths for programs (bash, cat, rm and sed) to avoid QA issue: | ERROR: logwarn-1.0.14-r0 do_package_qa: QA Issue: | /usr/lib/nagios/plugins/check_logwarn contained in package | logwarn-nagios requires /builddir/tmp/hosttools/bash, | but no providers found in RDEPENDS_logwarn-nagios? [file-rdeps] * Add missing dependency on coreutils and sed. Signed-off-by: Jackie Huang --- meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb b/meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb index 00e5d497b..5ae36bb67 100644 --- a/meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb +++ b/meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb @@ -22,6 +22,12 @@ lcl_default_state_dir = "${localstatedir}/lib/logwarn" CFLAGS += '-DDEFAULT_STATE_DIR=\""${lcl_default_state_dir}\""' +CACHED_CONFIGUREVARS += " \ +ac_cv_path_BASH_SHELL=${base_bindir}/bash \ +ac_cv_path_CAT=${base_bindir}/cat \ +ac_cv_path_RM=${base_bindir}/rm \ +ac_cv_path_SED=${base_bindir}/sed \ +" # Make sure some files exist for autoreconf. # @@ -43,4 +49,4 @@ PACKAGES += "${PN}-nagios" FILES_${PN}-nagios = "${nonarch_libdir}/nagios" -RDEPENDS_${PN}-nagios += "bash" +RDEPENDS_${PN}-nagios += "bash coreutils sed" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-perl][PATCH v3] logcheck: update to 1.3.18 and move to meta-perl
From: Jackie Huang- logcheck depends on mime-construct which is in meta-perl, so move it to meta-perl to avoid that meta-oe depends on meta-perl. - logcheck should not be run as root, so inherit useradd and add proper user and group. - Add missing runtime dependencies according to the file debian/control and simple test by running "logcheck -ot". - For syslog, debian directly depends on rsyslog, but logcheck works with any syslog and we have busybox-syslog, sysklogd, syslog-ng and rsyslog, so use VIRTUAL-RUNTIME_syslog for the syslog dependency and set rsyslog as the default, which can be easily overridden in distro conf file or local.conf. - Don't install /var/lock when populating rootfs. Do it through volatile. - install header.txt for generated mails Signed-off-by: Jackie Huang --- .../recipes-extended/logcheck/files/99_logcheck| 2 + .../recipes-extended/logcheck/logcheck_1.3.18.bb | 50 +++--- 2 files changed, 47 insertions(+), 5 deletions(-) create mode 100644 meta-perl/recipes-extended/logcheck/files/99_logcheck rename meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb => meta-perl/recipes-extended/logcheck/logcheck_1.3.18.bb (46%) diff --git a/meta-perl/recipes-extended/logcheck/files/99_logcheck b/meta-perl/recipes-extended/logcheck/files/99_logcheck new file mode 100644 index 0..4de33aca3 --- /dev/null +++ b/meta-perl/recipes-extended/logcheck/files/99_logcheck @@ -0,0 +1,2 @@ +# +d logcheck logcheck 0755 /var/lock/logcheck none diff --git a/meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb b/meta-perl/recipes-extended/logcheck/logcheck_1.3.18.bb similarity index 46% rename from meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb rename to meta-perl/recipes-extended/logcheck/logcheck_1.3.18.bb index ba4c2ab9a..24c19b72a 100644 --- a/meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb +++ b/meta-perl/recipes-extended/logcheck/logcheck_1.3.18.bb @@ -10,11 +10,20 @@ SECTION = "Applications/System" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=c93c0550bd3173f4504b2cbd8991e50b" -SRC_URI = "git://git.debian.org/git/logcheck/logcheck.git" -SRCREV = "2429e67ad875fee8a0234c64d504277b038c89cd" +SRC_URI = "git://git.debian.org/git/logcheck/logcheck.git \ + file://99_logcheck \ +" +SRCREV = "0a5865d80fa34c55387a1917a3e6f885bcff7f1d" S = "${WORKDIR}/git" +inherit useradd + +USERADD_PACKAGES = "${PN}" +USERADD_PARAM_${PN} = "-m -g ${BPN} -G adm -r -d ${localstatedir}/lib/${BPN} \ + -s /bin/false -c 'logcheck account' ${BPN}" +GROUPADD_PARAM_${PN} = "-r ${BPN}" + do_install() { # Fix QA Issue sed -i '/install -d $(DESTDIR)\/var\/lock\/logcheck/s/^/#/' Makefile @@ -25,14 +34,45 @@ do_install() { install -m 644 docs/logcheck-test.1 ${D}${mandir}/man1/ install -m 644 docs/logtail.8 ${D}${mandir}/man8/ install -m 644 docs/logtail2.8 ${D}${mandir}/man8/ -sed -i "s/syslog/messages/" etc/logcheck.logfiles -sed -i "s/auth\.log/secure/" etc/logcheck.logfiles + install -m 755 -d ${D}${sysconfdir}/cron.d install -m 644 debian/logcheck.cron.d ${D}${sysconfdir}/cron.d/logcheck install -m 755 -d ${D}/var/lib/logcheck + oe_runmake install DESTDIR=${D} + +# install header.txt for generated mails +install -m 0644 ${S}/debian/header.txt ${D}${sysconfdir}/${BPN} + +chown -R ${BPN}:${BPN} ${D}${localstatedir}/lib/${BPN} +chown -R root:${BPN} ${D}${sysconfdir}/${BPN} + +# Don't install /var/lock when populating rootfs. Do it through volatile +if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then +install -d ${D}${sysconfdir}/default/volatiles +install -m 0644 ${WORKDIR}/99_logcheck ${D}${sysconfdir}/default/volatiles +fi +if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then +install -d ${D}${sysconfdir}/tmpfiles.d +echo "d /var/lock/logcheck 0755 logcheck logcheck -" \ +> ${D}${sysconfdir}/tmpfiles.d/logcheck.conf +fi } -RDEPENDS_${PN} = "perl" +VIRTUAL-RUNTIME_syslog ??= "rsyslog" + +RDEPENDS_${PN} = "\ +bash \ +cronie \ +debianutils-run-parts \ +grep \ +lockfile-progs \ +mime-construct \ +perl \ +perl-module-file-basename \ +perl-module-getopt-std \ +perl-module-file-glob \ +${VIRTUAL-RUNTIME_syslog} \ +" FILES_${PN} += "${datadir}/logtail" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] gflags: add runtime dependency on bash
From: Jackie Huang* add runtime dependency on bash to fix QA issue: | ERROR: gflags-2.2.0-r0 do_package_qa: QA Issue: | /usr/bin/gflags_completions.sh contained in package | gflags-bash-completion requires /bin/bash, but | no providers found in RDEPENDS_gflags-bash-completion? [file-rdeps] Signed-off-by: Jackie Huang --- meta-oe/recipes-support/gflags/gflags_2.2.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/gflags/gflags_2.2.0.bb b/meta-oe/recipes-support/gflags/gflags_2.2.0.bb index 89caa37..0e85b3f 100644 --- a/meta-oe/recipes-support/gflags/gflags_2.2.0.bb +++ b/meta-oe/recipes-support/gflags/gflags_2.2.0.bb @@ -18,4 +18,4 @@ EXTRA_OECMAKE="-DBUILD_SHARED_LIBS=ON -DREGISTER_INSTALL_PREFIX=OFF -DLIB_INSTAL PACKAGES =+ "${PN}-bash-completion" FILES_${PN}-bash-completion += "${bindir}/gflags_completions.sh" -RDEPENDS_${PN}-bash-completion = "bash-completion" +RDEPENDS_${PN}-bash-completion = "bash bash-completion" -- 1.9.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-perl][PATCH] adduser: use get_perl_version instead of PERLVERSION
From: Jackie HuangImmediate expansion for PERLVERSION(in perl-version.bbclass) is too early, it will result in 'None' before perl is built, then the module file is installed incorrectly: $ rpm -ql adduser|grep Common /usr/lib/perl/None/Debian/AdduserCommon.pm So use get_perl_version directly instead of PERLVERSION. Signed-off-by: Jackie Huang --- meta-perl/recipes-perl/adduser/adduser_3.115.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta-perl/recipes-perl/adduser/adduser_3.115.bb b/meta-perl/recipes-perl/adduser/adduser_3.115.bb index 81068d600..c21186231 100644 --- a/meta-perl/recipes-perl/adduser/adduser_3.115.bb +++ b/meta-perl/recipes-perl/adduser/adduser_3.115.bb @@ -22,8 +22,7 @@ do_install() { install -m 0755 ${S}/adduser ${D}${sbindir} install -m 0755 ${S}/deluser ${D}${sbindir} -install -d ${D}${libdir}/perl/${PERLVERSION}/Debian -install -m 0644 ${S}/AdduserCommon.pm ${D}${libdir}/perl/${PERLVERSION}/Debian +install -D -m 0644 ${S}/AdduserCommon.pm ${D}${libdir}/perl/${@get_perl_version(d)}/Debian/AdduserCommon.pm sed -i -e "s/VERSION/${PV}/" ${D}${sbindir}/* install -d ${D}/${sysconfdir} -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] mozjs: customize HOST_CFLAGS
From: Mingli YuCustomize HOST_CFLAGS, HOST_CXXFLAGS and HOST_LDFLAGS to fix do_configure error as previously use the common CFLAGS and CXXFLAGS in both cross-compile env and host env, and the option -fstack-protector-strong which not recognized in host env can result in do_configure error as below. | checking whether the host c compiler (gcc -O2 -pipe -g -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now) works... configure: error: installation or configuration problem: host compiler gcc cannot create executables. Signed-off-by: Mingli Yu Signed-off-by: Jackie Huang --- meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb index b6744395f..b72ee7bb3 100644 --- a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb +++ b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb @@ -51,6 +51,9 @@ PACKAGECONFIG[x11] = "--with-x --x-includes=${STAGING_INCDIR} --x-libraries=${ST # mozjs requires autoreconf 2.13 do_configure() { +export HOST_CFLAGS="${BUILD_CFLAGS}" +export HOST_CXXFLAGS="${BUILD_CPPFLAGS}" +export HOST_LDFLAGS="${BUILD_LDFLAGS}" ( cd ${S} gnu-configize --force mv config.guess config.sub build/autoconf ) -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-webserver][PATCH] phpmyadmin: upgrade to 4.7.3
From: Jackie HuangThe license files and md5 are updated. Signed-off-by: Jackie Huang --- .../phpmyadmin/{phpmyadmin_4.6.3.bb => phpmyadmin_4.7.3.bb}| 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) rename meta-webserver/recipes-php/phpmyadmin/{phpmyadmin_4.6.3.bb => phpmyadmin_4.7.3.bb} (70%) diff --git a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.6.3.bb b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.7.3.bb similarity index 70% rename from meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.6.3.bb rename to meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.7.3.bb index 61872ae09..9949a7395 100644 --- a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.6.3.bb +++ b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.7.3.bb @@ -1,16 +1,18 @@ SUMMARY = "Web-based MySQL administration interface" HOMEPAGE = "http://www.phpmyadmin.net; -# Main code is GPLv2, libraries/tcpdf is under LGPLv3, js/jquery is under MIT +# Main code is GPLv2, vendor/tecnickcom/tcpdf is under LGPLv3, js/jquery is under MIT LICENSE = "GPLv2 & LGPLv3 & MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ - file://libraries/tcpdf/LICENSE.TXT;md5=5c87b66a5358ebcc495b03e0afcd342c" + file://vendor/tecnickcom/tcpdf/LICENSE.TXT;md5=5c87b66a5358ebcc495b03e0afcd342c \ + file://js/jquery/MIT-LICENSE.txt;md5=e43aa437a6a1ba421653bd5034333bf9 \ +" SRC_URI = "https://files.phpmyadmin.net/phpMyAdmin/${PV}/phpMyAdmin-${PV}-all-languages.tar.xz \ file://apache.conf \ " -SRC_URI[md5sum] = "53c7a6a577d10de04a5dd21a05018542" -SRC_URI[sha256sum] = "943bad38a95f21bb015bdb78c9c067e0ea7510c1b35d4b8e757cb89c413e3bac" +SRC_URI[md5sum] = "4b0c5dbaf871eb86671613da3c31e6b3" +SRC_URI[sha256sum] = "ed51669043f62494dc3bc21a87423373164ff63865a6c6bceaee535ef785f33e" S = "${WORKDIR}/phpMyAdmin-${PV}-all-languages" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH v2] vlock: add new recipe
From: Jackie Huangvlock is a program to lock one or more sessions on the Linux console. Signed-off-by: Jackie Huang --- .../vlock/vlock-2.2.3/disable_vlockrc.patch| 37 +++ .../vlock/vlock-2.2.3/vlock-no_tally.patch | 107 + .../recipes-extended/vlock/vlock-2.2.3/vlock_pam | 3 + .../vlock/vlock-2.2.3/vlock_pam_tally2_reset.patch | 19 meta-oe/recipes-extended/vlock/vlock_2.2.3.bb | 59 5 files changed, 225 insertions(+) create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock-no_tally.patch create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock_pam create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock_pam_tally2_reset.patch create mode 100644 meta-oe/recipes-extended/vlock/vlock_2.2.3.bb diff --git a/meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch b/meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch new file mode 100644 index 0..ee0d074de --- /dev/null +++ b/meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch @@ -0,0 +1,37 @@ +Upstream-Status: Inappropriate [configuration] + +written by: Jeff Polk +Signed-off-by: Jackie Huang + +Index: vlock-2.2.2/man/vlock.1 +=== +--- vlock-2.2.2.orig/man/vlock.1 2010-07-26 14:12:42.0 -0400 vlock-2.2.2/man/vlock.12010-07-26 14:13:06.0 -0400 +@@ -111,11 +111,6 @@ + to an invalid value or 0 no timeout is used. \fBWarning\fR: If this value is + too low, you may not be able to unlock your session. + .PP +-.SH FILES +-.B ~/.vlockrc +-.IP +-This file is read by \fBvlock\fR on startup if it exists. All the variables +-mentioned above can be set here. + .SH SECURITY + See the SECURITY file in the \fBvlock\fR distribution for more information. + .PP +Index: vlock-2.2.2/src/vlock.sh +=== +--- vlock-2.2.2.orig/src/vlock.sh 2010-07-26 14:12:32.0 -0400 vlock-2.2.2/src/vlock.sh 2010-07-26 14:13:33.0 -0400 +@@ -35,11 +35,6 @@ + + ${VLOCK_ENTER_PROMPT}" + +-# Read user settings. +-if [ -r "${HOME}/.vlockrc" ] ; then +- . "${HOME}/.vlockrc" +-fi +- + # "Compile" time variables. + VLOCK_MAIN="%PREFIX%/sbin/vlock-main" + VLOCK_VERSION="%VLOCK_VERSION%" diff --git a/meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock-no_tally.patch b/meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock-no_tally.patch new file mode 100644 index 0..6e8a6a9fd --- /dev/null +++ b/meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock-no_tally.patch @@ -0,0 +1,107 @@ +Upstream-Status: Pending + +written by: Jeff Polk +Signed-off-by: Jackie Huang + +--- a/Makefile b/Makefile +@@ -126,6 +126,10 @@ ifeq ($(AUTH_METHOD),shadow) + vlock-main : override LDLIBS += $(CRYPT_LIB) + endif + ++ifneq ($(ENABLE_FAIL_COUNT),yes) ++vlock-main.o : override CFLAGS += -DNO_FAIL_COUNT ++endif ++ + ifeq ($(ENABLE_PLUGINS),yes) + vlock-main: plugins.o plugin.o module.o process.o script.o tsort.o list.o + # -rdynamic is needed so that the all plugin can access the symbols from console_switch.o +--- a/configure b/configure +@@ -44,6 +44,7 @@ Optional Features: + --enable-shadow enable shadow authentication [disabled] + --enable-root-password enable unlogging with root password [enabled] + --enable-debug enable debugging ++ --enable-fail-count enable failed login attempt summary [enabled] + + Additional configuration: + --with-scripts=SCRIPTS enable the named scripts [] +@@ -78,6 +79,9 @@ enable_feature() { + root-password) + ENABLE_ROOT_PASSWORD="$2" + ;; ++fail-count) ++ ENABLE_FAIL_COUNT="$2" ++;; + pam|shadow) + if [ "$2" = "yes" ] ; then + if [ -n "$auth_method" ] && [ "$auth_method" != "$1" ] ; then +@@ -232,6 +232,7 @@ set_defaults() { + AUTH_METHOD="pam" + ENABLE_ROOT_PASSWORD="yes" + ENABLE_PLUGINS="yes" ++ ENABLE_FAIL_COUNT="yes" + SCRIPTS="" + + VLOCK_GROUP="vlock" +@@ -356,10 +356,14 @@ ENABLE_PLUGINS = ${ENABLE_PLUGINS} + # which plugins should be build + MODULES = ${MODULES} + # which scripts should be installed + SCRIPTS = ${SCRIPTS} + ++# display a summary of failed authentication attempts after successfully ++# unlocking? ++ENABLE_FAIL_COUNT = ${ENABLE_FAIL_COUNT} ++ + # root's group + ROOT_GROUP = ${ROOT_GROUP} + + # group for privileged plugins + VLOCK_GROUP = ${VLOCK_GROUP} +--- a/src/vlock-main.c b/src/vlock-main.c +@@ -111,7 +111,9 @@ static void restore_terminal(void) + (void) tcsetattr(STDIN_FILENO, TCSANOW, ); + } + ++#ifdef ENABLE_FAIL_COUNT + static int auth_tries; ++#endif /* ENABLE_FAIL_COUNT */
[oe] [meta-oe][PATCH v2] logcheck: update to 1.3.18
From: Jackie HuangChanges: - logcheck should not be run as root, so inherit useradd and add proper user and group. - Add missing runtime dependencies according to the file debian/control and simple test by running "logcheck -ot". - For syslog, debian directly depends on rsyslog, but logcheck works with any syslog and we have busybox-syslog, sysklogd, syslog-ng and rsyslog, so use VIRTUAL-RUNTIME_syslog for the syslog dependency and set rsyslog as the default, which can be easily overridden in distro conf file or local.conf. - Don't install /var/lock when populating rootfs. Do it through volatile. - install header.txt for generated mails Signed-off-by: Jackie Huang --- .../recipes-extended/logcheck/files/99_logcheck| 2 + .../{logcheck_1.3.17.bb => logcheck_1.3.18.bb} | 52 +++--- 2 files changed, 49 insertions(+), 5 deletions(-) create mode 100644 meta-oe/recipes-extended/logcheck/files/99_logcheck rename meta-oe/recipes-extended/logcheck/{logcheck_1.3.17.bb => logcheck_1.3.18.bb} (45%) diff --git a/meta-oe/recipes-extended/logcheck/files/99_logcheck b/meta-oe/recipes-extended/logcheck/files/99_logcheck new file mode 100644 index 0..4de33aca3 --- /dev/null +++ b/meta-oe/recipes-extended/logcheck/files/99_logcheck @@ -0,0 +1,2 @@ +# +d logcheck logcheck 0755 /var/lock/logcheck none diff --git a/meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb b/meta-oe/recipes-extended/logcheck/logcheck_1.3.18.bb similarity index 45% rename from meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb rename to meta-oe/recipes-extended/logcheck/logcheck_1.3.18.bb index ba4c2ab9a..f776f58dc 100644 --- a/meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb +++ b/meta-oe/recipes-extended/logcheck/logcheck_1.3.18.bb @@ -10,11 +10,20 @@ SECTION = "Applications/System" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=c93c0550bd3173f4504b2cbd8991e50b" -SRC_URI = "git://git.debian.org/git/logcheck/logcheck.git" -SRCREV = "2429e67ad875fee8a0234c64d504277b038c89cd" +SRC_URI = "git://git.debian.org/git/logcheck/logcheck.git \ + file://99_logcheck \ +" +SRCREV = "0a5865d80fa34c55387a1917a3e6f885bcff7f1d" S = "${WORKDIR}/git" +inherit useradd + +USERADD_PACKAGES = "${PN}" +USERADD_PARAM_${PN} = "-m -g ${BPN} -G adm -r -d ${localstatedir}/lib/${BPN} \ + -s /bin/false -c 'logcheck account' ${BPN}" +GROUPADD_PARAM_${PN} = "-r ${BPN}" + do_install() { # Fix QA Issue sed -i '/install -d $(DESTDIR)\/var\/lock\/logcheck/s/^/#/' Makefile @@ -25,14 +34,47 @@ do_install() { install -m 644 docs/logcheck-test.1 ${D}${mandir}/man1/ install -m 644 docs/logtail.8 ${D}${mandir}/man8/ install -m 644 docs/logtail2.8 ${D}${mandir}/man8/ -sed -i "s/syslog/messages/" etc/logcheck.logfiles -sed -i "s/auth\.log/secure/" etc/logcheck.logfiles + install -m 755 -d ${D}${sysconfdir}/cron.d install -m 644 debian/logcheck.cron.d ${D}${sysconfdir}/cron.d/logcheck install -m 755 -d ${D}/var/lib/logcheck + oe_runmake install DESTDIR=${D} + +# install header.txt for generated mails +install -m 0644 ${S}/debian/header.txt ${D}${sysconfdir}/${BPN} + +chown -R ${BPN}:${BPN} ${D}${localstatedir}/lib/${BPN} +chown -R root:${BPN} ${D}${sysconfdir}/${BPN} + +# Don't install /var/lock when populating rootfs. Do it through volatile +if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then +install -d ${D}${sysconfdir}/default/volatiles +install -m 0644 ${WORKDIR}/99_logcheck ${D}${sysconfdir}/default/volatiles +fi +if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then +install -d ${D}${sysconfdir}/tmpfiles.d +echo "d /var/lock/logcheck 0755 logcheck logcheck -" \ +> ${D}${sysconfdir}/tmpfiles.d/logcheck.conf +fi } -RDEPENDS_${PN} = "perl" +VIRTUAL-RUNTIME_syslog ??= "rsyslog" + +RDEPENDS_${PN} = "\ +bash \ +cronie \ +debianutils-run-parts \ +grep \ +lockfile-progs \ +perl \ +perl-module-file-basename \ +perl-module-getopt-std \ +perl-module-file-glob \ +${VIRTUAL-RUNTIME_syslog} \ +" + +# mime-construct is for mailing the reports, not mandatory +RRECOMMENDS_${PN} = "mime-construct" FILES_${PN} += "${datadir}/logtail" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH] freeradius: Upgrade to 3.0.15
From: Jackie Huang* Upgrade to 3.0.15 to fix many CVE issues. * There is a defect for disabling dhcp feature: https://github.com/FreeRADIUS/freeradius-server/issues/2039 We don't need the dhcp feature but it's harmless to enable it, so enable it as the default. Signed-off-by: Jackie Huang --- .../freeradius/{freeradius_3.0.14.bb => freeradius_3.0.15.bb}| 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename meta-networking/recipes-connectivity/freeradius/{freeradius_3.0.14.bb => freeradius_3.0.15.bb} (98%) diff --git a/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.14.bb b/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.15.bb similarity index 98% rename from meta-networking/recipes-connectivity/freeradius/freeradius_3.0.14.bb rename to meta-networking/recipes-connectivity/freeradius/freeradius_3.0.15.bb index 6971b0379..4155a4059 100644 --- a/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.14.bb +++ b/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.15.bb @@ -30,8 +30,8 @@ SRC_URI = "ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-${PV}.tar.b file://radiusd.service \ file://radiusd-volatiles.conf \ " -SRC_URI[md5sum] = "7d98dfafffac81f19cadccea5af89cea" -SRC_URI[sha256sum] = "2771f6ecd6c816ac4d52b66bb8ae6781ca20e1e4984c5804fc4e67de3a807c59" +SRC_URI[md5sum] = "0c81a4464ccf1d04f7ef1218a029d37a" +SRC_URI[sha256sum] = "23267d8505e7b2909f5bdbf3938ca077c1fe122290dc969304d4f3b594f7e3ba" PARALLEL_MAKE = "" @@ -58,7 +58,6 @@ EXTRA_OECONF = " --enable-strict-dependencies \ --without-rlm_sql_oracle \ --without-rlm_sql_sybase \ --without-rlm_sqlhpwippool \ ---without-dhcp \ ac_cv_path_PERL=${bindir}/perl \ ax_cv_cc_builtin_choose_expr=no \ ax_cv_cc_builtin_types_compatible_p=no \ -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 2/2] openl2tp: add init script and systemd support
From: Jackie Huang- Add patches to fix init script issues - Add openl2tpd.service to add systemd support - Add runtime dependency on ppp and ppp-l2tp Signed-off-by: Jackie Huang --- .../openl2tpd-initscript-fix-sysconfig.patch | 35 .../openl2tpd-initscript-fix-warning.patch | 32 ++ .../openl2tp/openl2tpd-initscript-fix.patch| 49 ++ .../openl2tp/openl2tp/openl2tpd.service| 17 .../recipes-protocols/openl2tp/openl2tp_1.8.bb | 29 - 5 files changed, 161 insertions(+), 1 deletion(-) create mode 100644 meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd-initscript-fix-sysconfig.patch create mode 100644 meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd-initscript-fix-warning.patch create mode 100644 meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd-initscript-fix.patch create mode 100644 meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd.service diff --git a/meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd-initscript-fix-sysconfig.patch b/meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd-initscript-fix-sysconfig.patch new file mode 100644 index 0..3119425e6 --- /dev/null +++ b/meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd-initscript-fix-sysconfig.patch @@ -0,0 +1,35 @@ +commit 6ea3125e2bec15004f312814022335d94cdf7e94 +Author: Aws Ismail +Date: Wed Sep 19 11:34:48 2012 -0400 + +Fix openl2tp config script location + +Correct the location of the sysconfig +script. Use /etc/default/ instead of +/etc/sysconfig/ + +Signed-off-by: Aws Ismail + +Upstream-Status: Inappropriate [configuration] + +Signed-off-by: Jackie Huang + +diff --git a/etc/rc.d/init.d/openl2tpd b/etc/rc.d/init.d/openl2tpd +index 7f27bb7..4194f63 100755 +--- a/etc/rc.d/init.d/openl2tpd b/etc/rc.d/init.d/openl2tpd +@@ -8,12 +8,12 @@ + # can be used to implement L2TP VPNs. As a server, it can handle + # hundreds of tunnels and sessions. + # processname: openl2tpd +-# config: /etc/sysconfig/openl2tpd ++# config: /etc/default/openl2tpd + # pidfile: /var/run/openl2tpd.pid + + # Source function library. + . /etc/init.d/functions +-. /etc/sysconfig/openl2tpd ++. /etc/default/openl2tpd + + # See how we were called. + diff --git a/meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd-initscript-fix-warning.patch b/meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd-initscript-fix-warning.patch new file mode 100644 index 0..15a8c5b08 --- /dev/null +++ b/meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd-initscript-fix-warning.patch @@ -0,0 +1,32 @@ +openl2tp: eliminate warning from modprobe + +modprobe will emit alarming warnings if it cannot +find a module, but we only care that it find one +of two possible modules when we start openl2tpd. + +Suppress messages from modprobe. + +Upstream-Status: Pending + +Signed-off-by: Joe Slater + +--- a/etc/rc.d/init.d/openl2tpd b/etc/rc.d/init.d/openl2tpd +@@ -29,7 +29,7 @@ start() { + return 1 + fi + fi +- modprobe -s pppol2tp || modprobe -s l2tp_ppp ++ modprobe -sq pppol2tp || modprobe -sq l2tp_ppp + RETVAL=$? + if [ $RETVAL -eq 0 ]; then + start-stop-daemon --start --exec openl2tpd $OPENL2TPDARGS +@@ -57,7 +57,7 @@ stop() { + return 1; + fi + killproc openl2tpd +- modprobe -s -r pppol2tp || modprobe -s -r l2tp_ppp ++ modprobe -srq pppol2tp || modprobe -srq l2tp_ppp + echo + rm -f /var/run/openl2tpd.pid + rm -f /var/lock/subsys/openl2tpd diff --git a/meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd-initscript-fix.patch b/meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd-initscript-fix.patch new file mode 100644 index 0..9ecd4b072 --- /dev/null +++ b/meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd-initscript-fix.patch @@ -0,0 +1,49 @@ +commit 7c58a1e244ea83a9e7bbd51a6d354cee25cdbd33 +Author: Aws Ismail +Date: Wed Sep 12 23:35:40 2012 -0400 + +Fix openl2tpd initscript + +- Correct the location of the retval statement. +- use start-stop-daemon instead of daemon. + +Signed-off-by: Aws Ismail + +Upstream-Status: Inappropriate [OE specific] + +Signed-off-by: Jackie Huang + +diff --git a/etc/rc.d/init.d/openl2tpd b/etc/rc.d/init.d/openl2tpd +index ce21b50..7f27bb7 100755 +--- a/etc/rc.d/init.d/openl2tpd b/etc/rc.d/init.d/openl2tpd +@@ -24,7 +24,7 @@ start() { + if [ -e /var/lock/subsys/openl2tpd ]; then + if [ -e
[oe] [meta-networking][PATCH 1/2] openl2tp: add LGPL-2.1 license
From: Jackie Huangcli and usl use license LGPL-2.1. Signed-off-by: Jackie Huang --- meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb index e1670b3ae..9be1c7956 100644 --- a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb +++ b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb @@ -7,8 +7,15 @@ different configuration. It is used by several ISPs to provide \ L2TP services and by corporations to implement L2TP VPNs." HOMEPAGE = "http://www.openl2tp.org/; SECTION = "net" -LICENSE = "GPL-2.0" -LIC_FILES_CHKSUM = "file://COPYING;md5=e9d9259cbbf00945adc25a470c1d3585" + +# cli and usl use license LGPL-2.1 +LICENSE = "GPL-2.0 & LGPL-2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=e9d9259cbbf00945adc25a470c1d3585 \ +file://LICENSE;md5=f8970abd5ea9be701a0deedf5afd77a5 \ +file://cli/LICENSE;md5=9c1387a3c5213aa40671438af3e00793 \ +file://usl/LICENSE;md5=9c1387a3c5213aa40671438af3e00793 \ +" + DEPENDS = "popt flex readline" SRC_URI = "ftp://ftp.openl2tp.org/releases/${BP}/${BP}.tar.gz \ -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 0/2] openl2tp: several fixes
From: Jackie Huang--- The following changes since commit a8b54e300be027fefe8a774ca1861d0fb8e80d99: pidgin-otr: unblacklist (2017-07-24 18:58:55 +0200) are available in the git repository at: git://git.pokylinux.org/poky-contrib.git jhuang0/r_up_openl2tp_170728_0 http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/r_up_openl2tp_170728_0 Jackie Huang (2): openl2tp: add LGPL-2.1 license openl2tp: add init script and systemd support .../openl2tpd-initscript-fix-sysconfig.patch | 35 .../openl2tpd-initscript-fix-warning.patch | 32 ++ .../openl2tp/openl2tpd-initscript-fix.patch| 49 ++ .../openl2tp/openl2tp/openl2tpd.service| 17 .../recipes-protocols/openl2tp/openl2tp_1.8.bb | 40 -- 5 files changed, 170 insertions(+), 3 deletions(-) create mode 100644 meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd-initscript-fix-sysconfig.patch create mode 100644 meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd-initscript-fix-warning.patch create mode 100644 meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd-initscript-fix.patch create mode 100644 meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd.service -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] logcheck: update to 1.3.18
From: Jackie HuangChanges: - logcheck should not be run as root, so inherit useradd and add proper user and group. - Add missing runtime dependencies according to the file debian/control and simple test by running "logcheck -ot". - For syslog, debian directly depends on rsyslog, but logcheck works with any syslog and we have busybox-syslog, sysklogd, syslog-ng and rsyslog, so use VIRTUAL-RUNTIME_syslog for the syslog dependency and set rsyslog as the default, which can be easily overridden in distro conf file or local.conf. - Don't install /var/lock when populating rootfs. Do it through volatile. - install header.txt for generated mails Signed-off-by: Jackie Huang --- .../recipes-extended/logcheck/files/99_logcheck| 2 + .../{logcheck_1.3.17.bb => logcheck_1.3.18.bb} | 50 +++--- 2 files changed, 47 insertions(+), 5 deletions(-) create mode 100644 meta-oe/recipes-extended/logcheck/files/99_logcheck rename meta-oe/recipes-extended/logcheck/{logcheck_1.3.17.bb => logcheck_1.3.18.bb} (46%) diff --git a/meta-oe/recipes-extended/logcheck/files/99_logcheck b/meta-oe/recipes-extended/logcheck/files/99_logcheck new file mode 100644 index 0..4de33aca3 --- /dev/null +++ b/meta-oe/recipes-extended/logcheck/files/99_logcheck @@ -0,0 +1,2 @@ +# +d logcheck logcheck 0755 /var/lock/logcheck none diff --git a/meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb b/meta-oe/recipes-extended/logcheck/logcheck_1.3.18.bb similarity index 46% rename from meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb rename to meta-oe/recipes-extended/logcheck/logcheck_1.3.18.bb index ba4c2ab9a..24c19b72a 100644 --- a/meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb +++ b/meta-oe/recipes-extended/logcheck/logcheck_1.3.18.bb @@ -10,11 +10,20 @@ SECTION = "Applications/System" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=c93c0550bd3173f4504b2cbd8991e50b" -SRC_URI = "git://git.debian.org/git/logcheck/logcheck.git" -SRCREV = "2429e67ad875fee8a0234c64d504277b038c89cd" +SRC_URI = "git://git.debian.org/git/logcheck/logcheck.git \ + file://99_logcheck \ +" +SRCREV = "0a5865d80fa34c55387a1917a3e6f885bcff7f1d" S = "${WORKDIR}/git" +inherit useradd + +USERADD_PACKAGES = "${PN}" +USERADD_PARAM_${PN} = "-m -g ${BPN} -G adm -r -d ${localstatedir}/lib/${BPN} \ + -s /bin/false -c 'logcheck account' ${BPN}" +GROUPADD_PARAM_${PN} = "-r ${BPN}" + do_install() { # Fix QA Issue sed -i '/install -d $(DESTDIR)\/var\/lock\/logcheck/s/^/#/' Makefile @@ -25,14 +34,45 @@ do_install() { install -m 644 docs/logcheck-test.1 ${D}${mandir}/man1/ install -m 644 docs/logtail.8 ${D}${mandir}/man8/ install -m 644 docs/logtail2.8 ${D}${mandir}/man8/ -sed -i "s/syslog/messages/" etc/logcheck.logfiles -sed -i "s/auth\.log/secure/" etc/logcheck.logfiles + install -m 755 -d ${D}${sysconfdir}/cron.d install -m 644 debian/logcheck.cron.d ${D}${sysconfdir}/cron.d/logcheck install -m 755 -d ${D}/var/lib/logcheck + oe_runmake install DESTDIR=${D} + +# install header.txt for generated mails +install -m 0644 ${S}/debian/header.txt ${D}${sysconfdir}/${BPN} + +chown -R ${BPN}:${BPN} ${D}${localstatedir}/lib/${BPN} +chown -R root:${BPN} ${D}${sysconfdir}/${BPN} + +# Don't install /var/lock when populating rootfs. Do it through volatile +if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then +install -d ${D}${sysconfdir}/default/volatiles +install -m 0644 ${WORKDIR}/99_logcheck ${D}${sysconfdir}/default/volatiles +fi +if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then +install -d ${D}${sysconfdir}/tmpfiles.d +echo "d /var/lock/logcheck 0755 logcheck logcheck -" \ +> ${D}${sysconfdir}/tmpfiles.d/logcheck.conf +fi } -RDEPENDS_${PN} = "perl" +VIRTUAL-RUNTIME_syslog ??= "rsyslog" + +RDEPENDS_${PN} = "\ +bash \ +cronie \ +debianutils-run-parts \ +grep \ +lockfile-progs \ +mime-construct \ +perl \ +perl-module-file-basename \ +perl-module-getopt-std \ +perl-module-file-glob \ +${VIRTUAL-RUNTIME_syslog} \ +" FILES_${PN} += "${datadir}/logtail" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] vlock: add new recipe
From: Jackie Huangvlock is a program to lock one or more sessions on the Linux console. Signed-off-by: Jackie Huang --- .../vlock/vlock-2.2.3/disable_vlockrc.patch| 37 +++ .../vlock/vlock-2.2.3/vlock-no_tally.patch | 107 + .../recipes-extended/vlock/vlock-2.2.3/vlock_pam | 3 + .../vlock/vlock-2.2.3/vlock_pam_tally2_reset.patch | 19 meta-oe/recipes-extended/vlock/vlock_2.2.3.bb | 53 ++ 5 files changed, 219 insertions(+) create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock-no_tally.patch create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock_pam create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock_pam_tally2_reset.patch create mode 100644 meta-oe/recipes-extended/vlock/vlock_2.2.3.bb diff --git a/meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch b/meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch new file mode 100644 index 0..ee0d074de --- /dev/null +++ b/meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch @@ -0,0 +1,37 @@ +Upstream-Status: Inappropriate [configuration] + +written by: Jeff Polk +Signed-off-by: Jackie Huang + +Index: vlock-2.2.2/man/vlock.1 +=== +--- vlock-2.2.2.orig/man/vlock.1 2010-07-26 14:12:42.0 -0400 vlock-2.2.2/man/vlock.12010-07-26 14:13:06.0 -0400 +@@ -111,11 +111,6 @@ + to an invalid value or 0 no timeout is used. \fBWarning\fR: If this value is + too low, you may not be able to unlock your session. + .PP +-.SH FILES +-.B ~/.vlockrc +-.IP +-This file is read by \fBvlock\fR on startup if it exists. All the variables +-mentioned above can be set here. + .SH SECURITY + See the SECURITY file in the \fBvlock\fR distribution for more information. + .PP +Index: vlock-2.2.2/src/vlock.sh +=== +--- vlock-2.2.2.orig/src/vlock.sh 2010-07-26 14:12:32.0 -0400 vlock-2.2.2/src/vlock.sh 2010-07-26 14:13:33.0 -0400 +@@ -35,11 +35,6 @@ + + ${VLOCK_ENTER_PROMPT}" + +-# Read user settings. +-if [ -r "${HOME}/.vlockrc" ] ; then +- . "${HOME}/.vlockrc" +-fi +- + # "Compile" time variables. + VLOCK_MAIN="%PREFIX%/sbin/vlock-main" + VLOCK_VERSION="%VLOCK_VERSION%" diff --git a/meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock-no_tally.patch b/meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock-no_tally.patch new file mode 100644 index 0..6e8a6a9fd --- /dev/null +++ b/meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock-no_tally.patch @@ -0,0 +1,107 @@ +Upstream-Status: Pending + +written by: Jeff Polk +Signed-off-by: Jackie Huang + +--- a/Makefile b/Makefile +@@ -126,6 +126,10 @@ ifeq ($(AUTH_METHOD),shadow) + vlock-main : override LDLIBS += $(CRYPT_LIB) + endif + ++ifneq ($(ENABLE_FAIL_COUNT),yes) ++vlock-main.o : override CFLAGS += -DNO_FAIL_COUNT ++endif ++ + ifeq ($(ENABLE_PLUGINS),yes) + vlock-main: plugins.o plugin.o module.o process.o script.o tsort.o list.o + # -rdynamic is needed so that the all plugin can access the symbols from console_switch.o +--- a/configure b/configure +@@ -44,6 +44,7 @@ Optional Features: + --enable-shadow enable shadow authentication [disabled] + --enable-root-password enable unlogging with root password [enabled] + --enable-debug enable debugging ++ --enable-fail-count enable failed login attempt summary [enabled] + + Additional configuration: + --with-scripts=SCRIPTS enable the named scripts [] +@@ -78,6 +79,9 @@ enable_feature() { + root-password) + ENABLE_ROOT_PASSWORD="$2" + ;; ++fail-count) ++ ENABLE_FAIL_COUNT="$2" ++;; + pam|shadow) + if [ "$2" = "yes" ] ; then + if [ -n "$auth_method" ] && [ "$auth_method" != "$1" ] ; then +@@ -232,6 +232,7 @@ set_defaults() { + AUTH_METHOD="pam" + ENABLE_ROOT_PASSWORD="yes" + ENABLE_PLUGINS="yes" ++ ENABLE_FAIL_COUNT="yes" + SCRIPTS="" + + VLOCK_GROUP="vlock" +@@ -356,10 +356,14 @@ ENABLE_PLUGINS = ${ENABLE_PLUGINS} + # which plugins should be build + MODULES = ${MODULES} + # which scripts should be installed + SCRIPTS = ${SCRIPTS} + ++# display a summary of failed authentication attempts after successfully ++# unlocking? ++ENABLE_FAIL_COUNT = ${ENABLE_FAIL_COUNT} ++ + # root's group + ROOT_GROUP = ${ROOT_GROUP} + + # group for privileged plugins + VLOCK_GROUP = ${VLOCK_GROUP} +--- a/src/vlock-main.c b/src/vlock-main.c +@@ -111,7 +111,9 @@ static void restore_terminal(void) + (void) tcsetattr(STDIN_FILENO, TCSANOW, ); + } + ++#ifdef ENABLE_FAIL_COUNT + static int auth_tries; ++#endif /* ENABLE_FAIL_COUNT */ +
[oe] [meta-oe][PATCH] pam-ssh-agent-auth: add new recipe
From: Jackie HuangA PAM module which permits authentication via ssh-agent. Signed-off-by: Jackie Huang --- .../pam/pam-ssh-agent-auth_0.10.3.bb | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 meta-oe/recipes-extended/pam/pam-ssh-agent-auth_0.10.3.bb diff --git a/meta-oe/recipes-extended/pam/pam-ssh-agent-auth_0.10.3.bb b/meta-oe/recipes-extended/pam/pam-ssh-agent-auth_0.10.3.bb new file mode 100644 index 0..42b648e8b --- /dev/null +++ b/meta-oe/recipes-extended/pam/pam-ssh-agent-auth_0.10.3.bb @@ -0,0 +1,46 @@ +SUMMARY = "pam-ssh-agent-auth" +DESCRIPTION = "A PAM module which permits authentication via ssh-agent." +HOMEPAGE = "http://sourceforge.net/projects/pamsshagentauth/; +SECTION = "libs" +LICENSE = "openssl & BSD" +LIC_FILES_CHKSUM = "file://LICENSE.OpenSSL;md5=8ab01146141ded59b75f8ba7811ed05a \ + file://OPENSSH_LICENSE;md5=7ae09218173be1643c998a4b71027f9b \ +" + +SRC_URI = "http://sourceforge.net/projects/pamsshagentauth/files/pam_ssh_agent_auth/v${PV}/pam_ssh_agent_auth-${PV}.tar.bz2; +SRC_URI[md5sum] = "8dbe90ab3625e545036333e6f51ccf1d" +SRC_URI[sha256sum] = "3c53d358d6eaed1b211239df017c27c6f9970995d14102ae67bae16d4f47a763" + +DEPENDS += "libpam openssl" + +# This gets us ssh-agent, which we are almost certain to want. +# +RDEPENDS_${PN} += "openssh-misc" + +# Kind of unfortunate to have underscores in the name. +# +S = "${WORKDIR}/pam_ssh_agent_auth-${PV}" + +inherit autotools-brokensep + +# Avoid autoreconf. Override the --libexec oe_runconf specifies so that +# the module is put with the other pam modules. Because it cannot, in general, +# do a runtime test, configure wants to use rpl_malloc() and rpl_realloc() +# instead of malloc() and realloc(). We set variables to tell it not to because +# these functions do not exist. +# +do_configure () { +oe_runconf --without-openssl-header-check --libexecdir=${base_libdir}/security \ + ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes +} + +# Link with CC. Configure cannot figure out the correct AR. +# +do_compile () { +oe_runmake LD="${CC}" AR="${AR}" +} + +# This stuff is not any place looked at by default. +# +FILES_${PN} += "${base_libdir}/security/pam*" +FILES_${PN}-dbg += "${base_libdir}/security/.debug" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH] snort: fix for snort.conf
From: Jackie HuangThe /etc/snort/snort.conf doesn't work since there are hardcoded paths and lib names, and it tries to include many rules that are not provided. Signed-off-by: Jackie Huang --- meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb | 11 +++ 1 file changed, 11 insertions(+) diff --git a/meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb b/meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb index 57a04f2e7..dfd6ba971 100644 --- a/meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb +++ b/meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb @@ -57,6 +57,17 @@ do_install_append() { for i in map config conf dtd; do cp ${S}/etc/*.$i ${D}${sysconfdir}/snort/ done + +# fix the hardcoded path and lib name +# comment out the rules that are not provided +sed -i -e 's#/usr/local/lib#${libdir}#' \ + -e 's#\.\./\(.*rules\)#${sysconfdir}/snort/\1#' \ + -e 's#\(libsf_engine.so\)#\1.0#' \ + -e 's/^\(include $RULE_PATH\)/#\1/' \ + -e 's/^\(dynamicdetection\)/#\1/' \ + -e '/preprocessor reputation/,/blacklist/ s/^/#/' \ + ${D}${sysconfdir}/snort/snort.conf + cp ${S}/preproc_rules/*.rules ${D}${sysconfdir}/snort/preproc_rules/ install -m 755 ${WORKDIR}/snort.init ${D}${sysconfdir}/init.d/snort mkdir -p ${D}${localstatedir}/log/snort -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 2/2] rdist: add new recipe
From: Jackie Huangrdist is a remote file distribution client and server. Signed-off-by: Jackie Huang --- .../rdist/rdist-6.1.5/rdist-6.1.5-bb-build.patch | 75 + .../rdist/rdist-6.1.5/rdist-6.1.5-bison.patch | 147 ++ .../rdist/rdist-6.1.5/rdist-6.1.5-cleanup.patch| 2087 .../rdist-6.1.5-fix-msgsndnotify-loop.patch| 37 + .../rdist/rdist-6.1.5/rdist-6.1.5-hardlink.patch | 25 + .../rdist/rdist-6.1.5/rdist-6.1.5-lfs.patch| 142 ++ .../rdist/rdist-6.1.5/rdist-6.1.5-links.patch | 79 + .../rdist/rdist-6.1.5/rdist-6.1.5-linux.patch | 28 + .../rdist-6.1.5-makefile-add-ldflags.patch | 23 + .../rdist/rdist-6.1.5/rdist-6.1.5-maxargs.patch| 16 + .../rdist/rdist-6.1.5/rdist-6.1.5-mkstemp.patch| 28 + .../rdist/rdist-6.1.5/rdist-6.1.5-oldpath.patch| 59 + .../rdist/rdist-6.1.5/rdist-6.1.5-ssh.patch| 14 + .../rdist/rdist-6.1.5/rdist-6.1.5-stat64.patch | 85 + .../rdist/rdist-6.1.5/rdist-6.1.5-svr4.patch | 15 + .../rdist/rdist-6.1.5/rdist-6.1.5-varargs.patch| 16 + .../recipes-connectivity/rdist/rdist_6.1.5.bb | 37 + 17 files changed, 2913 insertions(+) create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-bb-build.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-bison.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-cleanup.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-fix-msgsndnotify-loop.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-hardlink.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-lfs.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-links.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-linux.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-makefile-add-ldflags.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-maxargs.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-mkstemp.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-oldpath.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-ssh.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-stat64.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-svr4.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-varargs.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb diff --git a/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-bb-build.patch b/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-bb-build.patch new file mode 100644 index 0..c95eaf8f5 --- /dev/null +++ b/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-bb-build.patch @@ -0,0 +1,75 @@ +From 244861e2c9bb9cc44f4bd246964ba850a7cf1216 Mon Sep 17 00:00:00 2001 +From: Xin Ouyang +Date: Tue, 15 May 2012 15:06:43 +0800 +Subject: [PATCH] rdist: bitbake build + +Upstream-Status: Inappropriate [OE specific] + +--- + Makefile.local|8 + doc/Makefile.real |4 +++- + src/Makefile.real |1 + + 3 files changed, 8 insertions(+), 5 deletions(-) + +diff --git a/Makefile.local b/Makefile.local +index 26092b2..389cb84 100644 +--- a/Makefile.local b/Makefile.local +@@ -14,7 +14,7 @@ + # BIN_DIR variable, you would uncomment the following line + # or add your own line. + # +-#BIN_DIR = /usr/bin ++BIN_DIR = ${DESTDIR}/${bindir} + + # + # Add any local definitions you want pass to the compiler to DEFS_LOCAL +@@ -46,13 +46,13 @@ LIBS_LOCAL = + # Set a site specific install program to use. Must support BSD style + # install(1) arguments. + # +-#INSTALL = install ++INSTALL = install + + # + # Site specific Man Page configuration. + # +-#MAN_1_DIR= /usr/local/man/man1 +-#MAN_8_DIR= /usr/local/man/man8 ++MAN_1_DIR = ${DESTDIR}/${mandir}/man1 ++MAN_8_DIR = ${DESTDIR}/${mandir}/man8 + #MAN_OWNER= bin + #MAN_GROUP= bin + #MAN_MODE = 644 +diff --git a/doc/Makefile.real b/doc/Makefile.real +index 42cabec..e32c30b 100644 +--- a/doc/Makefile.real b/doc/Makefile.real +@@ -16,9 +16,11 @@ all: + + doc: + +-install: ++install: install.man + + install.man: rdist.man rdistd.man ++ test -d ${MAN_1_DIR} || ${INSTALL} -d ${MAN_1_DIR} ++ test -d ${MAN_8_DIR} || ${INSTALL} -d ${MAN_8_DIR} + ${INSTALL} ${INSTALL_ARGS}
[oe] [meta-networking][PATCH 1/2] rdate: add new recipe
From: Jackie Huangrdate is a tool for getting the date/time from a remote machine. Signed-off-by: Jackie Huang --- .../recipes-connectivity/rdate/rdate_1.5.bb| 18 ++ 1 file changed, 18 insertions(+) create mode 100644 meta-networking/recipes-connectivity/rdate/rdate_1.5.bb diff --git a/meta-networking/recipes-connectivity/rdate/rdate_1.5.bb b/meta-networking/recipes-connectivity/rdate/rdate_1.5.bb new file mode 100644 index 0..818f16a52 --- /dev/null +++ b/meta-networking/recipes-connectivity/rdate/rdate_1.5.bb @@ -0,0 +1,18 @@ +SUMMARY = "Tool for getting the date/time from a remote machine." +DESCRIPTION = "The rdate utility retrieves the date and time from \ + another machine on your network, using the protocol described in RFC 868. \ + If you run rdate as root, it will set your machine local time to the \ + time of the machine that you queried. \ +" + +HOMEPAGE= "https://www.aelius.com/njh/rdate/; +SECTION = "Applications/System" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" + +SRC_URI= "https://www.aelius.com/njh/${BPN}/${BP}.tar.gz; +SRC_URI[md5sum] = "0a4f612480777fdf25264ac03c57eae6" +SRC_URI[sha256sum] = "6e800053eaac2b21ff4486ec42f0aca7214941c7e5fceedd593fa0be99b9227d" + +inherit autotools -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 0/2] rdate and rdist: add new recipe
From: Jackie Huang-- The following changes since commit d2da8b82cfb2f8e55236751c1c56c9e7f3b5f68d: scsirastools: Upgrade to 1.6.6 (2017-06-22 16:04:14 +0200) are available in the git repository at: git://git.pokylinux.org/poky-contrib.git jhuang0/r_up_rdate-rdist_170623_0 http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/r_up_rdate-rdist_170623_0 Jackie Huang (2): rdate: add new recipe rdist: add new recipe .../recipes-connectivity/rdate/rdate_1.5.bb| 18 + .../rdist/rdist-6.1.5/rdist-6.1.5-bb-build.patch | 75 + .../rdist/rdist-6.1.5/rdist-6.1.5-bison.patch | 147 ++ .../rdist/rdist-6.1.5/rdist-6.1.5-cleanup.patch| 2087 .../rdist-6.1.5-fix-msgsndnotify-loop.patch| 37 + .../rdist/rdist-6.1.5/rdist-6.1.5-hardlink.patch | 25 + .../rdist/rdist-6.1.5/rdist-6.1.5-lfs.patch| 142 ++ .../rdist/rdist-6.1.5/rdist-6.1.5-links.patch | 79 + .../rdist/rdist-6.1.5/rdist-6.1.5-linux.patch | 28 + .../rdist-6.1.5-makefile-add-ldflags.patch | 23 + .../rdist/rdist-6.1.5/rdist-6.1.5-maxargs.patch| 16 + .../rdist/rdist-6.1.5/rdist-6.1.5-mkstemp.patch| 28 + .../rdist/rdist-6.1.5/rdist-6.1.5-oldpath.patch| 59 + .../rdist/rdist-6.1.5/rdist-6.1.5-ssh.patch| 14 + .../rdist/rdist-6.1.5/rdist-6.1.5-stat64.patch | 85 + .../rdist/rdist-6.1.5/rdist-6.1.5-svr4.patch | 15 + .../rdist/rdist-6.1.5/rdist-6.1.5-varargs.patch| 16 + .../recipes-connectivity/rdist/rdist_6.1.5.bb | 37 + 18 files changed, 2931 insertions(+) create mode 100644 meta-networking/recipes-connectivity/rdate/rdate_1.5.bb create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-bb-build.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-bison.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-cleanup.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-fix-msgsndnotify-loop.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-hardlink.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-lfs.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-links.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-linux.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-makefile-add-ldflags.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-maxargs.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-mkstemp.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-oldpath.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-ssh.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-stat64.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-svr4.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-varargs.patch create mode 100644 meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-perl][PATCH] libfile-slurp-perl: add new recipe
From: Jackie HuangThis module provides subroutines to read or write entire files with a simple call. It also has a subroutine for reading the list of filenames in a directory. Signed-off-by: Jackie Huang --- .../libfile/libfile-slurp-perl_.19.bb | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 meta-perl/recipes-perl/libfile/libfile-slurp-perl_.19.bb diff --git a/meta-perl/recipes-perl/libfile/libfile-slurp-perl_.19.bb b/meta-perl/recipes-perl/libfile/libfile-slurp-perl_.19.bb new file mode 100644 index 0..945b4c1c8 --- /dev/null +++ b/meta-perl/recipes-perl/libfile/libfile-slurp-perl_.19.bb @@ -0,0 +1,19 @@ +SUMMARY = "Slurp entire files into variables." +DESCRIPTION = "This module provides subroutines to read or write \ + entire files with a simple call. It also has a subroutine for \ + reading the list of filenames in a directory. \ +" +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0+" + +LIC_FILES_CHKSUM = "file://README;beginline=37;endline=41;md5=255fbd5f98a90d51d9908d31271ae4d4" +SRC_URI = "http://search.cpan.org/CPAN/authors/id/U/UR/URI/File-Slurp-${PV}.tar.gz; + +S = "${WORKDIR}/File-Slurp-${PV}" + +inherit cpan + +SRC_URI[md5sum] = "7d584cd15c4f8b9547765eff8c4ef078" +SRC_URI[sha256sum] = "ce29ebe995097ebd6e9bc03284714cdfa0c46dc94f6b14a56980747ea3253643" + +BBCLASSEXTEND="native" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] passwdqc: add new recipe and replace pam-passwdqc
From: Jackie Huangpasswdqc is a password/passphrase strength checking and policy enforcement toolset, including an optional PAM module (pam_passwdqc), command-line programs(pwqcheck and pwqgen), and a library(libpasswdqc). pam_passwdqc 1.0.5 is the final version of pam_passwdqc only before it's turned into passwdqc in 2009, so remove the pam-passwdqc recipe. Signed-off-by: Jackie Huang --- .../pam-passwdqc/files/1000patch-219201.patch | 156 - .../pam-passwdqc/files/7000Makefile-fix-CC.patch | 11 -- .../passwdqc/passwdqc/makefile-add-ldflags.patch | 31 .../passwdqc_1.3.1.bb} | 73 ++ 4 files changed, 80 insertions(+), 191 deletions(-) delete mode 100644 meta-oe/recipes-support/pam-passwdqc/files/1000patch-219201.patch delete mode 100644 meta-oe/recipes-support/pam-passwdqc/files/7000Makefile-fix-CC.patch create mode 100644 meta-oe/recipes-support/passwdqc/passwdqc/makefile-add-ldflags.patch rename meta-oe/recipes-support/{pam-passwdqc/pam-passwdqc_1.0.5.bb => passwdqc/passwdqc_1.3.1.bb} (5%) diff --git a/meta-oe/recipes-support/pam-passwdqc/files/1000patch-219201.patch b/meta-oe/recipes-support/pam-passwdqc/files/1000patch-219201.patch deleted file mode 100644 index 366d461eb..0 --- a/meta-oe/recipes-support/pam-passwdqc/files/1000patch-219201.patch +++ /dev/null @@ -1,156 +0,0 @@ -diff -urNp pam_passwdqc-1.0.5-orig/pam_passwdqc.c pam_passwdqc-1.0.5/pam_passwdqc.c pam_passwdqc-1.0.5-orig/pam_passwdqc.c 2008-02-12 15:11:13.0 -0500 -+++ pam_passwdqc-1.0.5/pam_passwdqc.c 2009-09-28 12:10:32.171696694 -0400 -@@ -70,6 +70,8 @@ typedef struct { - passwdqc_params_t qc; - int flags; - int retry; -+ char oldpass_prompt_file[FILE_LEN+1]; -+ char newpass_prompt_file[FILE_LEN+1]; - } params_t; - - static params_t defaults = { -@@ -79,10 +81,13 @@ static params_t defaults = { - 3, /* passphrase_words */ - 4, /* match_length */ - 1, /* similar_deny */ -- 42 /* random_bits */ -+ 42, /* random_bits */ -+ 1 /* firstupper_lastdigit_check */ - }, - F_ENFORCE_EVERYONE, /* flags */ -- 3 /* retry */ -+ 3, /* retry */ -+ "", /* oldpass_prompt_file */ -+ "" /* newpass_prompt_file */ - }; - - #define PROMPT_OLDPASS \ -@@ -361,6 +366,37 @@ static int parse(params_t *params, pam_h - if (!strcmp(*argv, "use_authtok")) { - params->flags |= F_USE_AUTHTOK; - } else -+ if (!strcmp(*argv, "disable_firstupper_lastdigit_check")) { -+ params->qc.firstupper_lastdigit_check = 0; -+ } else -+ if (!strncmp(*argv, "oldpass_prompt_file=", 20)) { -+ int n; -+ FILE *fp = fopen(*argv + 20, "r"); -+ if (fp) { -+ n=fread(params->oldpass_prompt_file, sizeof(char), FILE_LEN, fp); -+ if (0==n || ferror(fp)!=0 ) { -+ memset(params->oldpass_prompt_file, '\0', FILE_LEN+1); -+ } -+ else { -+ feof(fp)? (params->oldpass_prompt_file[n-1]='\0'): (params->oldpass_prompt_file[n]='\0'); -+ } -+ fclose(fp); -+ } -+ } else -+ if (!strncmp(*argv, "newpass_prompt_file=", 20)) { -+ int n; -+ FILE *fp = fopen(*argv + 20, "r"); -+ if (fp) { -+ n=fread(params->newpass_prompt_file, sizeof(char), FILE_LEN, fp); -+ if (0==n || ferror(fp)!=0 ) { -+ memset(params->newpass_prompt_file, '\0', FILE_LEN+1); -+ } -+ else { -+feof(fp)? (params->newpass_prompt_file[n-1]='\0'): (params->newpass_prompt_file[n]='\0'); -+ } -+ fclose(fp); -+ } -+ } else - break; - argc--; argv++; - } -@@ -406,7 +442,7 @@ PAM_EXTERN int pam_sm_chauthtok(pam_hand - - if (ask_oldauthtok && !am_root(pamh)) { - status = converse(pamh, PAM_PROMPT_ECHO_OFF, -- PROMPT_OLDPASS, );
[oe] [meta-oe][PATCH 0/1 v2] microcode-ctl: add new recipe
From: Jackie Huangv2 comments: - fix the licenses and add Intel-ucode license file - remove the un-needed MACHINE specific variable -- The following changes since commit 0abf5af3ffd3d13c009a8ffcd5a6f045c36be837: opencv: fix runtime dependencies. (2017-06-12 06:56:45 +0200) are available in the git repository at: git://git.pokylinux.org/poky-contrib.git jhuang0/r_up_microcode-v2_170614_0 http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/r_up_microcode-v2_170614_0 Jackie Huang (1): microcode-ctl: add new recipe meta-oe/licenses/Intel-ucode | 30 ++ .../0001-add-support-for-other-distributions.patch | 27 + .../files/0001-fix-the-help-return-code.patch | 57 +++ .../files/fix-No-GNU_HASH-in-the-elf-binary.patch | 30 ++ .../microcode-ctl/files/microcode_ctl.service | 11 .../recipes-bsp/microcode-ctl/microcode-ctl_git.bb | 65 ++ 6 files changed, 220 insertions(+) create mode 100644 meta-oe/licenses/Intel-ucode create mode 100644 meta-oe/recipes-bsp/microcode-ctl/files/0001-add-support-for-other-distributions.patch create mode 100644 meta-oe/recipes-bsp/microcode-ctl/files/0001-fix-the-help-return-code.patch create mode 100644 meta-oe/recipes-bsp/microcode-ctl/files/fix-No-GNU_HASH-in-the-elf-binary.patch create mode 100644 meta-oe/recipes-bsp/microcode-ctl/files/microcode_ctl.service create mode 100755 meta-oe/recipes-bsp/microcode-ctl/microcode-ctl_git.bb -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 1/1 v2] microcode-ctl: add new recipe
From: Jackie HuangThe microcode_ctl utility is a companion to the IA32 microcode driver. Signed-off-by: Jackie Huang --- meta-oe/licenses/Intel-ucode | 30 ++ .../0001-add-support-for-other-distributions.patch | 27 + .../files/0001-fix-the-help-return-code.patch | 57 +++ .../files/fix-No-GNU_HASH-in-the-elf-binary.patch | 30 ++ .../microcode-ctl/files/microcode_ctl.service | 11 .../recipes-bsp/microcode-ctl/microcode-ctl_git.bb | 65 ++ 6 files changed, 220 insertions(+) create mode 100644 meta-oe/licenses/Intel-ucode create mode 100644 meta-oe/recipes-bsp/microcode-ctl/files/0001-add-support-for-other-distributions.patch create mode 100644 meta-oe/recipes-bsp/microcode-ctl/files/0001-fix-the-help-return-code.patch create mode 100644 meta-oe/recipes-bsp/microcode-ctl/files/fix-No-GNU_HASH-in-the-elf-binary.patch create mode 100644 meta-oe/recipes-bsp/microcode-ctl/files/microcode_ctl.service create mode 100755 meta-oe/recipes-bsp/microcode-ctl/microcode-ctl_git.bb diff --git a/meta-oe/licenses/Intel-ucode b/meta-oe/licenses/Intel-ucode new file mode 100644 index 0..964953bb9 --- /dev/null +++ b/meta-oe/licenses/Intel-ucode @@ -0,0 +1,30 @@ +Copyright (c) <1995-2017>, Intel Corporation. +All rights reserved. + +Redistribution. Redistribution and use in binary form, without modification, are +permitted provided that the following conditions are met: +.Redistributions must reproduce the above copyright notice and the following +disclaimer in the documentation and/or other materials provided with the +distribution. +.Neither the name of Intel Corporation nor the names of its suppliers may be used +to endorse or promote products derived from this software without specific prior +written permission. +.No reverse engineering, decompilation, or disassembly of this software is +permitted. +."Binary form" includes any format commonly used for electronic conveyance +which is a reversible, bit-exact translation of binary representation to ASCII or +ISO text, for example, "uuencode." + +DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT +HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER +OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/meta-oe/recipes-bsp/microcode-ctl/files/0001-add-support-for-other-distributions.patch b/meta-oe/recipes-bsp/microcode-ctl/files/0001-add-support-for-other-distributions.patch new file mode 100644 index 0..fe5428493 --- /dev/null +++ b/meta-oe/recipes-bsp/microcode-ctl/files/0001-add-support-for-other-distributions.patch @@ -0,0 +1,27 @@ +Subject: [PATCH] add support for other distributions + +Upstream-Status: Inappropriate [OE specific] + +Signed-off-by: Jackie Huang +--- + microcode_ctl.start | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/microcode_ctl.start b/microcode_ctl.start +index 6fa9d72..e9321d0 100755 +--- a/microcode_ctl.start b/microcode_ctl.start +@@ -47,8 +47,8 @@ elif [ -f /etc/slackware-version ]; then + END=slack_end + fi + else +- echo "$0: Can't guess distribution, aborting!" +- exit 1 ++ START= ++ END= + fi + + # Lets just be sure we have a device file... +-- +2.11.0 + diff --git a/meta-oe/recipes-bsp/microcode-ctl/files/0001-fix-the-help-return-code.patch b/meta-oe/recipes-bsp/microcode-ctl/files/0001-fix-the-help-return-code.patch new file mode 100644 index 0..cbe7755e9 --- /dev/null +++ b/meta-oe/recipes-bsp/microcode-ctl/files/0001-fix-the-help-return-code.patch @@ -0,0 +1,57 @@ +[PATCH] fix the help return code + +Upstream-Status: Pending + +not always return 1 when call usage(), differ the return code by user action; +if a use wants to get help information, it is normal action, should be +return 0; +if input parameter is wrong, and microcode_ctl prompts the help information, +it should be return 1; + +Signed-off-by: Roy Li +--- + microcode_ctl.c | 7 +-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +diff --git a/microcode_ctl.c b/microcode_ctl.c +index 3f9c151..cdcdc10 100644 +--- a/microcode_ctl.c b/microcode_ctl.c +@@ -40,7 +40,6 @@ static void usage(void) +
[oe] [meta-oe][PATCH 3/4] logwarn: add new recipe
From: Jackie Huanglogwarn is a utility for finding interesting messages in log files. Signed-off-by: Jackie Huang --- meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb | 46 +++ 1 file changed, 46 insertions(+) create mode 100644 meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb diff --git a/meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb b/meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb new file mode 100644 index 0..00e5d497b --- /dev/null +++ b/meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb @@ -0,0 +1,46 @@ +SUMMARY = "A utility for finding interesting messages in log files" +DESCRIPTION = "Logwarn searches for interesting messages in log files, \ + where 'interesting' is defined by a user-supplied list of positive and \ + negative extended regular expressions. \ +" +HOMEPAGE = "https://github.com/archiecobbs/logwarn/wiki; +SECTION = "console/utils" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI = "https://s3.amazonaws.com/archie-public/${BPN}/${BP}.tar.gz; + +SRC_URI[md5sum] = "e544a6230673ea54f7430bf817bb39d8" +SRC_URI[sha256sum] = "8dbfcf9b28c782ab3bddd6a620d4fb95d1b0ffcbe93276996cdc4800aa9aebd1" + +inherit autotools-brokensep + +# This directory is NOT volatile. +# +lcl_default_state_dir = "${localstatedir}/lib/logwarn" + +CFLAGS += '-DDEFAULT_STATE_DIR=\""${lcl_default_state_dir}\""' + + +# Make sure some files exist for autoreconf. +# +do_configure_prepend () { +touch ${S}/NEWS +touch ${S}/ChangeLog +touch ${S}/README +} + +# Create a directory for logfile state info, usually under /var/lib. +# +do_install_append () { +install -d ${D}${lcl_default_state_dir} +} + +# Make a package for the nagios plug-in (script). +# +PACKAGES += "${PN}-nagios" + +FILES_${PN}-nagios = "${nonarch_libdir}/nagios" + +RDEPENDS_${PN}-nagios += "bash" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 2/4] enscript: add new recipe
From: Jackie Huangenscript is a plain ASCII to PostScript converter. Signed-off-by: Jackie Huang --- .../enscript/enscript/enscript-autoconf.patch | 118 + .../recipes-extended/enscript/enscript_1.6.6.bb| 22 2 files changed, 140 insertions(+) create mode 100644 meta-oe/recipes-extended/enscript/enscript/enscript-autoconf.patch create mode 100644 meta-oe/recipes-extended/enscript/enscript_1.6.6.bb diff --git a/meta-oe/recipes-extended/enscript/enscript/enscript-autoconf.patch b/meta-oe/recipes-extended/enscript/enscript/enscript-autoconf.patch new file mode 100644 index 0..d3bb5c03a --- /dev/null +++ b/meta-oe/recipes-extended/enscript/enscript/enscript-autoconf.patch @@ -0,0 +1,118 @@ +autoconf no longer supports AM_C_PROTOTYPES + +| configure.ac:14: error: automatic de-ANSI-fication support has been removed +| /bitbake_build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.12/protos.m4:10: AM_C_PROTOTYPES is expanded from... + +Upstream-Status: Pending + +Author: Mark Hatle +Signed-off-by: Jackie Huang + +Index: enscript-1.6.6/configure.ac +=== +--- enscript-1.6.6.orig/configure.ac enscript-1.6.6/configure.ac +@@ -11,7 +11,6 @@ AC_PROG_INSTALL + AC_PROG_CC + + AC_USE_SYSTEM_EXTENSIONS +-AM_C_PROTOTYPES + + AC_C_CONST + AC_FUNC_ALLOCA +Index: enscript-1.6.6/afmlib/afm.h +=== +--- enscript-1.6.6.orig/afmlib/afm.h enscript-1.6.6/afmlib/afm.h +@@ -24,11 +24,7 @@ + #define AFM_H + + #ifndef ___P +-#if PROTOTYPES + #define ___P(protos) protos +-#else /* no PROTOTYPES */ +-#define ___P(protos) () +-#endif /* no PROTOTYPES */ + #endif + + /** +Index: enscript-1.6.6/afmlib/afmint.h +=== +--- enscript-1.6.6.orig/afmlib/afmint.h enscript-1.6.6/afmlib/afmint.h +@@ -34,11 +34,7 @@ + #include + + #ifndef ___P +-#if PROTOTYPES + #define ___P(protos) protos +-#else /* no PROTOTYPES */ +-#define ___P(protos) () +-#endif /* no PROTOTYPES */ + #endif + + #if STDC_HEADERS +Index: enscript-1.6.6/afmlib/strhash.h +=== +--- enscript-1.6.6.orig/afmlib/strhash.h enscript-1.6.6/afmlib/strhash.h +@@ -24,11 +24,7 @@ + #define STRHASH_H + + #ifndef ___P +-#if PROTOTYPES + #define ___P(protos) protos +-#else /* no PROTOTYPES */ +-#define ___P(protos) () +-#endif /* no PROTOTYPES */ + #endif + + typedef struct stringhash_st *StringHashPtr; +Index: enscript-1.6.6/compat/xalloc.h +=== +--- enscript-1.6.6.orig/compat/xalloc.h enscript-1.6.6/compat/xalloc.h +@@ -28,11 +28,7 @@ + #define XALLOC_H + + #ifndef ___P +-#if PROTOTYPES + #define ___P(protos) protos +-#else /* no PROTOTYPES */ +-#define ___P(protos) () +-#endif /* no PROTOTYPES */ + #endif + + void *xmalloc ___P ((size_t size)); +Index: enscript-1.6.6/src/gsint.h +=== +--- enscript-1.6.6.orig/src/gsint.h enscript-1.6.6/src/gsint.h +@@ -39,11 +39,7 @@ + #include + + #ifndef ___P +-#if PROTOTYPES + #define ___P(protos) protos +-#else /* no PROTOTYPES */ +-#define ___P(protos) () +-#endif /* no PROTOTYPES */ + #endif + + #if STDC_HEADERS +Index: enscript-1.6.6/states/defs.h +=== +--- enscript-1.6.6.orig/states/defs.h enscript-1.6.6/states/defs.h +@@ -37,11 +37,7 @@ + #include + + #ifndef ___P +-#if PROTOTYPES + #define ___P(protos) protos +-#else /* no PROTOTYPES */ +-#define ___P(protos) () +-#endif /* no PROTOTYPES */ + #endif + + #if STDC_HEADERS diff --git a/meta-oe/recipes-extended/enscript/enscript_1.6.6.bb b/meta-oe/recipes-extended/enscript/enscript_1.6.6.bb new file mode 100644 index 0..96129880a --- /dev/null +++ b/meta-oe/recipes-extended/enscript/enscript_1.6.6.bb @@ -0,0 +1,22 @@ +SUMMARY = "A plain ASCII to PostScript converter" +DESCRIPTION = "GNU enscript is a free replacement for Adobe''s Enscript \ +program. Enscript converts ASCII files to PostScript(TM) and spools generated \ +PostScript output to the specified printer or saves it to a file. Enscript can \ +be extended to handle different output media and includes many options for \ +customizing printouts." +HOMEPAGE = "http://www.gnu.org/software/enscript/; +SECTION = "console/utils" + +LICENSE = "GPLv3+" +LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" + +SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \ + file://enscript-autoconf.patch \ +" + +inherit autotools gettext + +SRC_URI[md5sum] = "3acc242b829adacabcaf28533f049afd" +SRC_URI[sha256sum] =
[oe] [meta-oe][PATCH 4/4] microcode-ctl: add new recipe
From: Jackie HuangThe microcode_ctl utility is a companion to the IA32 microcode driver. Signed-off-by: Jackie Huang --- .../0001-add-support-for-other-distributions.patch | 27 ++ .../files/0001-fix-the-help-return-code.patch | 57 .../files/fix-No-GNU_HASH-in-the-elf-binary.patch | 30 +++ .../microcode-ctl/files/microcode_ctl.service | 11 .../recipes-bsp/microcode-ctl/microcode-ctl_git.bb | 62 ++ 5 files changed, 187 insertions(+) create mode 100644 meta-oe/recipes-bsp/microcode-ctl/files/0001-add-support-for-other-distributions.patch create mode 100644 meta-oe/recipes-bsp/microcode-ctl/files/0001-fix-the-help-return-code.patch create mode 100644 meta-oe/recipes-bsp/microcode-ctl/files/fix-No-GNU_HASH-in-the-elf-binary.patch create mode 100644 meta-oe/recipes-bsp/microcode-ctl/files/microcode_ctl.service create mode 100755 meta-oe/recipes-bsp/microcode-ctl/microcode-ctl_git.bb diff --git a/meta-oe/recipes-bsp/microcode-ctl/files/0001-add-support-for-other-distributions.patch b/meta-oe/recipes-bsp/microcode-ctl/files/0001-add-support-for-other-distributions.patch new file mode 100644 index 0..fe5428493 --- /dev/null +++ b/meta-oe/recipes-bsp/microcode-ctl/files/0001-add-support-for-other-distributions.patch @@ -0,0 +1,27 @@ +Subject: [PATCH] add support for other distributions + +Upstream-Status: Inappropriate [OE specific] + +Signed-off-by: Jackie Huang +--- + microcode_ctl.start | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/microcode_ctl.start b/microcode_ctl.start +index 6fa9d72..e9321d0 100755 +--- a/microcode_ctl.start b/microcode_ctl.start +@@ -47,8 +47,8 @@ elif [ -f /etc/slackware-version ]; then + END=slack_end + fi + else +- echo "$0: Can't guess distribution, aborting!" +- exit 1 ++ START= ++ END= + fi + + # Lets just be sure we have a device file... +-- +2.11.0 + diff --git a/meta-oe/recipes-bsp/microcode-ctl/files/0001-fix-the-help-return-code.patch b/meta-oe/recipes-bsp/microcode-ctl/files/0001-fix-the-help-return-code.patch new file mode 100644 index 0..cbe7755e9 --- /dev/null +++ b/meta-oe/recipes-bsp/microcode-ctl/files/0001-fix-the-help-return-code.patch @@ -0,0 +1,57 @@ +[PATCH] fix the help return code + +Upstream-Status: Pending + +not always return 1 when call usage(), differ the return code by user action; +if a use wants to get help information, it is normal action, should be +return 0; +if input parameter is wrong, and microcode_ctl prompts the help information, +it should be return 1; + +Signed-off-by: Roy Li +--- + microcode_ctl.c | 7 +-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +diff --git a/microcode_ctl.c b/microcode_ctl.c +index 3f9c151..cdcdc10 100644 +--- a/microcode_ctl.c b/microcode_ctl.c +@@ -40,7 +40,6 @@ static void usage(void) + " -u upload microcode (default filename:\"%s\"\n" + " -f upload microcode from named Intel formatted file\n\n", + progname, MICROCODE_FILE_DEFAULT); +- exit(1); + } + + /* +@@ -141,6 +140,7 @@ int main(int argc, char *argv[]) + switch(c) { + case 'h': + usage(); ++ return 0; + + case 'q': + print_normal_messages=0; +@@ -168,14 +168,17 @@ int main(int argc, char *argv[]) + + case '?': + usage(); ++ return 0; + } + } + + if (upload) { + if((return_code = do_update(device, filename))) + exit(return_code); +- } else ++ } else { + usage(); ++ return 1; ++ } + + return 0; + } +-- +1.9.1 + diff --git a/meta-oe/recipes-bsp/microcode-ctl/files/fix-No-GNU_HASH-in-the-elf-binary.patch b/meta-oe/recipes-bsp/microcode-ctl/files/fix-No-GNU_HASH-in-the-elf-binary.patch new file mode 100644 index 0..87d8f7dfe --- /dev/null +++ b/meta-oe/recipes-bsp/microcode-ctl/files/fix-No-GNU_HASH-in-the-elf-binary.patch @@ -0,0 +1,30 @@ +From a5d4baf79ee332cf73e5259a2568958babcdbce2 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia +Date: Mon, 1 Aug 2016 07:00:35 -0400 +Subject: [PATCH] fix No GNU_HASH in the elf binary + +Let recipe's LDFLAGS work in Makefile. + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Hongxu Jia +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 590ae7e..d4e0610 100644 +--- a/Makefile b/Makefile +@@ -37,7 +37,7 @@ RCFILETO= $(RCDIR)/$(RCHOMEDIR) + all:
[oe] [meta-oe][PATCH 1/4] agent-proxy: add new recipe
From: Jackie Huangagent-proxy is a simple, small proxy which is intended for use with kgdb, or gdbserver type connections where you want to share a text console and a debug session. Signed-off-by: Jackie Huang --- .../recipes-kernel/agent-proxy/agent-proxy_git.bb | 25 + .../files/0001-Makefile-Add-LDFLAGS-variable.patch | 43 ++ 2 files changed, 68 insertions(+) create mode 100644 meta-oe/recipes-kernel/agent-proxy/agent-proxy_git.bb create mode 100644 meta-oe/recipes-kernel/agent-proxy/files/0001-Makefile-Add-LDFLAGS-variable.patch diff --git a/meta-oe/recipes-kernel/agent-proxy/agent-proxy_git.bb b/meta-oe/recipes-kernel/agent-proxy/agent-proxy_git.bb new file mode 100644 index 0..8e370f962 --- /dev/null +++ b/meta-oe/recipes-kernel/agent-proxy/agent-proxy_git.bb @@ -0,0 +1,25 @@ +SUMMARY = "Proxy for UDP/TCP debug connections" +DESCRIPTION = "The agent-proxy will forward tcp or udp connections as well as allow for script multiplexing of terminal sessions." +HOMEPAGE = "http://kgdb.wiki.kernel.org/; +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" + +SECTION = "devel" + +EXTRA_OEMAKE = "'CC=${CC}'" + +SRCREV = "e6c9d3d996bd55e7ab14dbd74deb7841e0c3a4f1" +PV = "1.96+git${SRCPV}" + +SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kgdb/agent-proxy.git;protocol=git \ + file://0001-Makefile-Add-LDFLAGS-variable.patch \ +" + +BBCLASSEXTEND = "native nativesdk" + +S = "${WORKDIR}/git" + +do_install () { +install -d ${D}${bindir} +install -m 0755 agent-proxy ${D}${bindir} +} diff --git a/meta-oe/recipes-kernel/agent-proxy/files/0001-Makefile-Add-LDFLAGS-variable.patch b/meta-oe/recipes-kernel/agent-proxy/files/0001-Makefile-Add-LDFLAGS-variable.patch new file mode 100644 index 0..5eec91d72 --- /dev/null +++ b/meta-oe/recipes-kernel/agent-proxy/files/0001-Makefile-Add-LDFLAGS-variable.patch @@ -0,0 +1,43 @@ +From 1beb0dad6f8b99eb3bf1b9982e0b49e81ff77bbc Mon Sep 17 00:00:00 2001 +From: Jackie Huang +Date: Wed, 23 Nov 2016 19:17:31 +0800 +Subject: [PATCH] Makefile: Add LDFLAGS variable + +Add LDFLAGS variable to make sure the extra linkder +flags can be passed. + +Upstream-Status: Pending + +Signed-off-by: Jackie Huang +--- + Makefile | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/Makefile b/Makefile +index e20918f..25d92d3 100644 +--- a/Makefile b/Makefile +@@ -51,7 +51,7 @@ $(CROSS_COMPILE)agent-proxy: $(OBJS) + $(CC) -DAGENT_VER=$(AGENTVER) $(LINKFLAGS) $(CFLAGS) -o $(extpath)$@ $(OBJS) wsock32.lib + else + $(CROSS_COMPILE)agent-proxy: $(OBJS) +- $(CC) -DAGENT_VER=$(AGENTVER) $(CFLAGS) -o $(extpath)$@ $(OBJS) $(LDLIBS) ++ $(CC) -DAGENT_VER=$(AGENTVER) $(CFLAGS) $(LDFLAGS) -o $(extpath)$@ $(OBJS) $(LDLIBS) + endif + + +@@ -61,9 +61,9 @@ clean: + rm -f $(extpath)$(CROSS_COMPILE)agent-proxy $(extpath)agent-proxy $(extpath)*.o $(extpath)*.obj $(extpath)*.exp $(extpath)*.exe $(extpath)*.ilk $(extpath)*.pdb *~ + + $(extpath)$(CROSS_COMPILE)%.o::%.c +- $(CC) -DAGENT_VER=$(AGENTVER) $(CFLAGS) -c $< -o $@ ++ $(CC) -DAGENT_VER=$(AGENTVER) $(CFLAGS) $(LDFLAGS) -c $< -o $@ + + $(extpath)%.obj:%.c +- $(CC) -DAGENT_VER=$(AGENTVER) $(CFLAGS) -c -Fo$@ $(TLSPATH_INC) $< ++ $(CC) -DAGENT_VER=$(AGENTVER) $(CFLAGS) $(LDFLAGS) -c -Fo$@ $(TLSPATH_INC) $< + + +-- +2.8.3 + -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 0/4] add new recipes: agent-proxy, enscript, logwarn and microcode-ctl
From: Jackie Huang-- The following changes since commit 41cf832cc9abd6f2293a6d612463a34a53a9a52a: Revert "rrdtool: add gettext-native dependency" (2017-06-05 11:13:09 +0200) are available in the git repository at: git://git.pokylinux.org/poky-contrib.git jhuang0/r_up_agent-enscript-logwarn-microcode_170609_0 http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/r_up_agent-enscript-logwarn-microcode_170609_0 Jackie Huang (4): agent-proxy: add new recipe enscript: add new recipe logwarn: add new recipe microcode-ctl: add new recipe .../0001-add-support-for-other-distributions.patch | 27 + .../files/0001-fix-the-help-return-code.patch | 57 ++ .../files/fix-No-GNU_HASH-in-the-elf-binary.patch | 30 ++ .../microcode-ctl/files/microcode_ctl.service | 11 ++ .../recipes-bsp/microcode-ctl/microcode-ctl_git.bb | 62 +++ .../enscript/enscript/enscript-autoconf.patch | 118 + .../recipes-extended/enscript/enscript_1.6.6.bb| 22 .../recipes-kernel/agent-proxy/agent-proxy_git.bb | 25 + .../files/0001-Makefile-Add-LDFLAGS-variable.patch | 43 meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb | 46 10 files changed, 441 insertions(+) create mode 100644 meta-oe/recipes-bsp/microcode-ctl/files/0001-add-support-for-other-distributions.patch create mode 100644 meta-oe/recipes-bsp/microcode-ctl/files/0001-fix-the-help-return-code.patch create mode 100644 meta-oe/recipes-bsp/microcode-ctl/files/fix-No-GNU_HASH-in-the-elf-binary.patch create mode 100644 meta-oe/recipes-bsp/microcode-ctl/files/microcode_ctl.service create mode 100755 meta-oe/recipes-bsp/microcode-ctl/microcode-ctl_git.bb create mode 100644 meta-oe/recipes-extended/enscript/enscript/enscript-autoconf.patch create mode 100644 meta-oe/recipes-extended/enscript/enscript_1.6.6.bb create mode 100644 meta-oe/recipes-kernel/agent-proxy/agent-proxy_git.bb create mode 100644 meta-oe/recipes-kernel/agent-proxy/files/0001-Makefile-Add-LDFLAGS-variable.patch create mode 100644 meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-python][PATCH 2/2] python3-django: add python3 recipe and update to 1.11.2
From: Jackie Huang* move the mommon portions into .inc * update to version 1.11.2 * add new recipe for python3-django Signed-off-by: Jackie Huang --- .../python/{python-django_1.10.5.bb => python-django.inc} | 6 +++--- meta-python/recipes-devtools/python/python-django_1.11.2.bb | 2 ++ meta-python/recipes-devtools/python/python3-django_1.11.2.bb| 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) rename meta-python/recipes-devtools/python/{python-django_1.10.5.bb => python-django.inc} (75%) create mode 100644 meta-python/recipes-devtools/python/python-django_1.11.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-django_1.11.2.bb diff --git a/meta-python/recipes-devtools/python/python-django_1.10.5.bb b/meta-python/recipes-devtools/python/python-django.inc similarity index 75% rename from meta-python/recipes-devtools/python/python-django_1.10.5.bb rename to meta-python/recipes-devtools/python/python-django.inc index 11242df7f..d83e7d25a 100644 --- a/meta-python/recipes-devtools/python/python-django_1.10.5.bb +++ b/meta-python/recipes-devtools/python/python-django.inc @@ -3,11 +3,11 @@ HOMEPAGE = "http://www.djangoproject.com/; LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" -SRC_URI[md5sum] = "3fce02f1e6461fec21f1f15ea7489924" -SRC_URI[sha256sum] = "0db89374b691b9c8b057632a6cd64b18d08db2f4d63b4d4af6024267ab965f8b" +SRC_URI[md5sum] = "f089f1f86d25f2b78f6cf36478d4edd1" +SRC_URI[sha256sum] = "3c5b070482df4f9e5750539dc1824d353729ee423fd410c579b8cd3dea5b0617" PYPI_PACKAGE = "Django" -inherit pypi setuptools +inherit pypi FILES_${PN} += "${datadir}/django" diff --git a/meta-python/recipes-devtools/python/python-django_1.11.2.bb b/meta-python/recipes-devtools/python/python-django_1.11.2.bb new file mode 100644 index 0..ccd7714e9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-django_1.11.2.bb @@ -0,0 +1,2 @@ +require python-django.inc +inherit setuptools diff --git a/meta-python/recipes-devtools/python/python3-django_1.11.2.bb b/meta-python/recipes-devtools/python/python3-django_1.11.2.bb new file mode 100644 index 0..e1e38c322 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-django_1.11.2.bb @@ -0,0 +1,2 @@ +require python-django.inc +inherit setuptools3 -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-python][PATCH 1/2] python3-django-south: add new recipe
From: Jackie Huang* move the common portions into .inc * add new recipe for python3-django-south Signed-off-by: Jackie Huang --- .../recipes-devtools/python/python-django-south.inc | 17 + .../python/python-django-south_1.0.2.bb | 19 ++- .../python/python3-django-south_1.0.2.bb | 2 ++ 3 files changed, 21 insertions(+), 17 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-django-south.inc create mode 100644 meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb diff --git a/meta-python/recipes-devtools/python/python-django-south.inc b/meta-python/recipes-devtools/python/python-django-south.inc new file mode 100644 index 0..ce904b694 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-django-south.inc @@ -0,0 +1,17 @@ +SUMMARY = "Migrations for Django" +DESCRIPTION = "South is an intelligent database migrations library for the Django web framework. It is database-independent and DVCS-friendly, as well as a whole host of other features." +HOMEPAGE = "http://south.aeracode.org/; +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=17;endline=18;md5=2155d8ae21e7c23101d5febac696b27e" + +SRC_URI[md5sum] = "c76a9758b2011bc3b6c39f881bba2f66" +SRC_URI[sha256sum] = "d360bd31898f9df59f6faa786551065bba45b35e7ee3c39b381b4fbfef7392f4" + +PYPI_PACKAGE = "South" +inherit pypi + +BBCLASSEXTEND = "nativesdk" + +RDEPENDS_${PN} += "\ +${PYTHON_PN}-django \ +" diff --git a/meta-python/recipes-devtools/python/python-django-south_1.0.2.bb b/meta-python/recipes-devtools/python/python-django-south_1.0.2.bb index 3a2775807..357b766a3 100644 --- a/meta-python/recipes-devtools/python/python-django-south_1.0.2.bb +++ b/meta-python/recipes-devtools/python/python-django-south_1.0.2.bb @@ -1,17 +1,2 @@ -SUMMARY = "Migrations for Django" -DESCRIPTION = "South is an intelligent database migrations library for the Django web framework. It is database-independent and DVCS-friendly, as well as a whole host of other features." -HOMEPAGE = "http://south.aeracode.org/; -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=17;endline=18;md5=2155d8ae21e7c23101d5febac696b27e" - -SRC_URI[md5sum] = "c76a9758b2011bc3b6c39f881bba2f66" -SRC_URI[sha256sum] = "d360bd31898f9df59f6faa786551065bba45b35e7ee3c39b381b4fbfef7392f4" - -PYPI_PACKAGE = "South" -inherit pypi setuptools - -BBCLASSEXTEND = "nativesdk" - -RDEPENDS_${PN} += "\ -${PYTHON_PN}-django \ -" +require python-django-south.inc +inherit setuptools diff --git a/meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb b/meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb new file mode 100644 index 0..10519111f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb @@ -0,0 +1,2 @@ +require python-django-south.inc +inherit setuptools3 -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-python][PATCH 0/2] python3-django: add python3 recipes and update
From: Jackie Huang-- The following changes since commit 41cf832cc9abd6f2293a6d612463a34a53a9a52a: Revert "rrdtool: add gettext-native dependency" (2017-06-05 11:13:09 +0200) are available in the git repository at: git://git.pokylinux.org/poky-contrib.git jhuang0/r_up_python-django_170609_0 http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/r_up_python-django_170609_0 Jackie Huang (2): python3-django-south: add new recipe python3-django: add python3 recipe and update to 1.11.2 .../recipes-devtools/python/python-django-south.inc | 17 + .../python/python-django-south_1.0.2.bb | 19 ++- .../{python-django_1.10.5.bb => python-django.inc}| 6 +++--- .../recipes-devtools/python/python-django_1.11.2.bb | 2 ++ .../python/python3-django-south_1.0.2.bb | 2 ++ .../recipes-devtools/python/python3-django_1.11.2.bb | 2 ++ 6 files changed, 28 insertions(+), 20 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-django-south.inc rename meta-python/recipes-devtools/python/{python-django_1.10.5.bb => python-django.inc} (75%) create mode 100644 meta-python/recipes-devtools/python/python-django_1.11.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-django_1.11.2.bb -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] inotify-tools: fix __NR_inotify_add_watch system call number on _MIPS_SIM_ABI64
From: Jackie HuangThe correct value should be the same as defined in linux/arch/mips/include/uapi/asm/unistd.h Signed-off-by: Roy Li Signed-off-by: Jackie Huang --- .../inotify-nosys-fix-system-call-number.patch | 31 ++ .../inotify-tools/inotify-tools_git.bb | 1 + 2 files changed, 32 insertions(+) create mode 100644 meta-oe/recipes-support/inotify-tools/inotify-tools/inotify-nosys-fix-system-call-number.patch diff --git a/meta-oe/recipes-support/inotify-tools/inotify-tools/inotify-nosys-fix-system-call-number.patch b/meta-oe/recipes-support/inotify-tools/inotify-tools/inotify-nosys-fix-system-call-number.patch new file mode 100644 index 0..89b890dda --- /dev/null +++ b/meta-oe/recipes-support/inotify-tools/inotify-tools/inotify-nosys-fix-system-call-number.patch @@ -0,0 +1,31 @@ +inotify-tools: fix __NR_inotify_add_watch system call number on _MIPS_SIM_ABI64 + +The correct value should be the same as defined in +linux/arch/mips/include/uapi/asm/unistd.h + +Upstream-Status: Summitted [https://github.com/rvoicilas/inotify-tools/pull/71] + +Signed-off-by: Roy Li +Signed-off-by: Jackie Huang +--- + libinotifytools/src/inotifytools/inotify-nosys.h |4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/libinotifytools/src/inotifytools/inotify-nosys.h b/libinotifytools/src/inotifytools/inotify-nosys.h +index db76b2c..5f7b11b 100644 +--- a/libinotifytools/src/inotifytools/inotify-nosys.h b/libinotifytools/src/inotifytools/inotify-nosys.h +@@ -100,8 +100,8 @@ struct inotify_event { + # endif + # if _MIPS_SIM == _MIPS_SIM_ABI64 + # define __NR_inotify_init (__NR_Linux + 243) +-# define __NR_inotify_add_watch (__NR_Linux + 243) +-# define __NR_inotify_rm_watch (__NR_Linux + 243) ++# define __NR_inotify_add_watch (__NR_Linux + 244) ++# define __NR_inotify_rm_watch (__NR_Linux + 245) + # endif + # if _MIPS_SIM == _MIPS_SIM_NABI32 + # define __NR_inotify_init (__NR_Linux + 247) +-- +1.7.10.4 + diff --git a/meta-oe/recipes-support/inotify-tools/inotify-tools_git.bb b/meta-oe/recipes-support/inotify-tools/inotify-tools_git.bb index a8ef55764..efc753d5b 100644 --- a/meta-oe/recipes-support/inotify-tools/inotify-tools_git.bb +++ b/meta-oe/recipes-support/inotify-tools/inotify-tools_git.bb @@ -10,6 +10,7 @@ PV = "3.14+git${SRCPV}" SRC_URI = "git://github.com/rvoicilas/${BPN} \ file://inotifywait-fix-compile-error-with-GCC-6.patch \ + file://inotify-nosys-fix-system-call-number.patch \ " S = "${WORKDIR}/git" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 2/3] umip: add systemd and sysvinit support
From: Jackie HuangAdd systemd service and and sysvinit script so it's easy to manage the mip6d daemon. Signed-off-by: Jackie Huang --- meta-oe/recipes-connectivity/umip/files/mip6d | 112 + .../recipes-connectivity/umip/files/mip6d.service | 10 ++ meta-oe/recipes-connectivity/umip/umip_1.0.bb | 18 +++- 3 files changed, 139 insertions(+), 1 deletion(-) create mode 100755 meta-oe/recipes-connectivity/umip/files/mip6d create mode 100644 meta-oe/recipes-connectivity/umip/files/mip6d.service diff --git a/meta-oe/recipes-connectivity/umip/files/mip6d b/meta-oe/recipes-connectivity/umip/files/mip6d new file mode 100755 index 0..ebd70a6cc --- /dev/null +++ b/meta-oe/recipes-connectivity/umip/files/mip6d @@ -0,0 +1,112 @@ +#!/bin/sh +# +# mip6dStart script for the Mobile IPv6 daemon +# +# chkconfig: - 55 25 +# description: The mobile IPv6 daemon allows nodes to remain \ +# reachable while moving around in the IPv6 Internet. +# processname: mip6d +# config: /etc/mip6d.conf +# config: /etc/sysconfig/mip6d +# +### BEGIN INIT INFO +# Provides: mipv6-daemon +# Required-Start: $local_fs $remote_fs $network $named +# Required-Stop: $local_fs $remote_fs $network +# Should-Start: $syslog +# Should-Stop: $network $syslog +# Default-Start: +# Default-Stop: 0 1 6 +# Short-Description: Start and stop Mobile IPV6 daemon +# Description: The mobile IPv6 daemon allows nodes to remain +# reachable while moving around in the IPv6 Internet. +### END INIT INFO + +# Source function library. +. /etc/init.d/functions + +if [ -f /etc/sysconfig/mip6d ]; then + . /etc/sysconfig/mip6d +fi + +mip6d=/usr/sbin/mip6d +prog="mip6d" +lockfile=/var/lock/subsys/$prog + +start() { + [ -x $mip6d ] || exit 5 + echo -n $"Starting $prog: " + start-stop-daemon -S -x ${mip6d} && success || failure + retval=$? + echo + [ $retval -eq 0 ] && touch ${lockfile} + return $retval +} + +stop() { + echo -n $"Stopping $prog: " + start-stop-daemon -K -x $mip6d + retval=$? + echo + [ $retval -eq 0 ] && rm -f ${lockfile} + return $retval +} + +restart() { + stop + start +} + +reload() +{ + echo -n $"Reloading $prog configuration: " + killproc $mip6d -HUP + retval=$? + echo + return $retval +} + +force_reload() { + restart +} + +rh_status() { + status $prog +} + +rh_status_q() { + rh_status > /dev/null 2>&1 +} + +case "$1" in + start) + rh_status_q && exit 0 + $1 + ;; + stop) + rh_status_q || exit 0 + $1 + ;; + restart) + $1 + ;; + reload) + rh_status_q || exit 7 + $1 + ;; + force-reload) + force_reload + ;; + status) + rh_status + ;; + condrestart|try-restart) + rh_status_q || exit 0 + restart + ;; + *) + echo $"Usage: $prog {start|stop|status|restart|condrestart|try-restart|reload|force-reload}" + exit 2 +esac + +exit $? diff --git a/meta-oe/recipes-connectivity/umip/files/mip6d.service b/meta-oe/recipes-connectivity/umip/files/mip6d.service new file mode 100644 index 0..2b5a5b9f1 --- /dev/null +++ b/meta-oe/recipes-connectivity/umip/files/mip6d.service @@ -0,0 +1,10 @@ +[Unit] +Description=MIPL Mobile IPv6 +After=network.target + +[Service] +EnvironmentFile=-@SYSCONFDIR@/sysconfig/mip6d +ExecStart=@SBINDIR@/mip6d $ARGS + +[Install] +WantedBy=multi-user.target diff --git a/meta-oe/recipes-connectivity/umip/umip_1.0.bb b/meta-oe/recipes-connectivity/umip/umip_1.0.bb index e97dd48f6..b8b90eb81 100644 --- a/meta-oe/recipes-connectivity/umip/umip_1.0.bb +++ b/meta-oe/recipes-connectivity/umip/umip_1.0.bb @@ -11,10 +11,26 @@ DEPENDS = "rpm indent-native" SRC_URI = "git://git.umip.org/umip.git \ file://add-dependency-to-support-parallel-compilation.patch \ +file://mip6d \ +file://mip6d.service \ " SRCREV = "428974c2d0d8e75a2750a3ab0488708c5dfdd8e3" S = "${WORKDIR}/git" EXTRA_OE_CONF = "--enable-vt" -inherit autotools-brokensep +inherit autotools-brokensep systemd update-rc.d + +INITSCRIPT_NAME = "mip6d" +INITSCRIPT_PARAMS = "start 64 . stop 36 0 1 2 3 4 5 6 ." + +SYSTEMD_SERVICE_${PN} = "mip6d.service" +SYSTEMD_AUTO_ENABLE = "disable" + +do_install_append() { + install -D -m 0755 ${WORKDIR}/mip6d ${D}${sysconfdir}/init.d/mip6d + install -D -m 0644 ${WORKDIR}/mip6d.service ${D}${systemd_system_unitdir}/mip6d.service + sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' \ + -e 's,@SBINDIR@,${sbindir},g' \ + ${D}${systemd_system_unitdir}/mip6d.service +} -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 3/3] umip: fix EXTRA_OECONF and add RRECOMMENDS
From: Jackie Huang* fix EXTRA_OE_CONF -> EXTRA_OECONF * add RRECOMMENDS on kernel modules Signed-off-by: Jackie Huang --- meta-oe/recipes-connectivity/umip/umip_1.0.bb | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-connectivity/umip/umip_1.0.bb b/meta-oe/recipes-connectivity/umip/umip_1.0.bb index b8b90eb81..a25056645 100644 --- a/meta-oe/recipes-connectivity/umip/umip_1.0.bb +++ b/meta-oe/recipes-connectivity/umip/umip_1.0.bb @@ -17,7 +17,8 @@ SRC_URI = "git://git.umip.org/umip.git \ SRCREV = "428974c2d0d8e75a2750a3ab0488708c5dfdd8e3" S = "${WORKDIR}/git" -EXTRA_OE_CONF = "--enable-vt" + +EXTRA_OECONF = "--enable-vt" inherit autotools-brokensep systemd update-rc.d @@ -34,3 +35,5 @@ do_install_append() { -e 's,@SBINDIR@,${sbindir},g' \ ${D}${systemd_system_unitdir}/mip6d.service } + +RRECOMMENDS_${PN} = "kernel-module-mip6 kernel-module-ipv6" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 1/3] umip: fix for parallel compilation
From: Jackie HuangAdd missing dependency in Makefile to fix the parallel compile issue and re-enable PARALLEL_MAKE Signed-off-by: Jackie Huang --- ...ependency-to-support-parallel-compilation.patch | 23 ++ meta-oe/recipes-connectivity/umip/umip_1.0.bb | 6 +++--- 2 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 meta-oe/recipes-connectivity/umip/files/add-dependency-to-support-parallel-compilation.patch diff --git a/meta-oe/recipes-connectivity/umip/files/add-dependency-to-support-parallel-compilation.patch b/meta-oe/recipes-connectivity/umip/files/add-dependency-to-support-parallel-compilation.patch new file mode 100644 index 0..dbf008264 --- /dev/null +++ b/meta-oe/recipes-connectivity/umip/files/add-dependency-to-support-parallel-compilation.patch @@ -0,0 +1,23 @@ +When "make -j10", the compilation will fail, +because scan.c has included gram.h, but gram.h was produced +after scan.c was compiled + +So add this dependency to ensure that gram.h is produced +before scan.c is produced. + +Upstream-Status: Inappropriate [upstream is not active] + +Signed-off-by: Roy.Li +Signed-off-by: Jackie Huang +--- + src/Makefile.am |2 ++ + 1 file changed, 2 insertions(+) + +--- a/src/Makefile.am b/src/Makefile.am +@@ -81,3 +81,5 @@ CLEANFILES = gram.c gram.h \ + + DISTCLEANFILES = $(BUILT_SOURCES) + MAINTAINERCLEANFILES = Makefile.in ++ ++scan.c: gram.h diff --git a/meta-oe/recipes-connectivity/umip/umip_1.0.bb b/meta-oe/recipes-connectivity/umip/umip_1.0.bb index e80c1b130..e97dd48f6 100644 --- a/meta-oe/recipes-connectivity/umip/umip_1.0.bb +++ b/meta-oe/recipes-connectivity/umip/umip_1.0.bb @@ -9,12 +9,12 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=073dc31ccb2ebed70db54f1e8aeb4c33" DEPENDS = "rpm indent-native" -SRC_URI = "git://git.umip.org/umip.git" +SRC_URI = "git://git.umip.org/umip.git \ +file://add-dependency-to-support-parallel-compilation.patch \ +" SRCREV = "428974c2d0d8e75a2750a3ab0488708c5dfdd8e3" S = "${WORKDIR}/git" EXTRA_OE_CONF = "--enable-vt" inherit autotools-brokensep - -PARALLEL_MAKE = "" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 0/3] umip: several fixes
From: Jackie Huang-- The following changes since commit b063789560bfb9c60a7a15277b5b3a9839b5ba74: libgpiod: add new recipe (2017-05-23 15:59:31 +0200) are available in the git repository at: git://git.pokylinux.org/poky-contrib.git jhuang0/r_up_umip_170602_0 http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/r_up_umip_170602_0 Jackie Huang (3): umip: fix for parallel compilation umip: add systemd and sysvinit support umip: fix EXTRA_OECONF and add RRECOMMENDS ...ependency-to-support-parallel-compilation.patch | 23 + meta-oe/recipes-connectivity/umip/files/mip6d | 112 + .../recipes-connectivity/umip/files/mip6d.service | 10 ++ meta-oe/recipes-connectivity/umip/umip_1.0.bb | 27 - 4 files changed, 168 insertions(+), 4 deletions(-) create mode 100644 meta-oe/recipes-connectivity/umip/files/add-dependency-to-support-parallel-compilation.patch create mode 100755 meta-oe/recipes-connectivity/umip/files/mip6d create mode 100644 meta-oe/recipes-connectivity/umip/files/mip6d.service -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 2/2] ssiapi: add new recipe
From: Jackie HuangIntel Rapid Storage Technology enterprise with Linux OS* Standard Storage Interface API Library. The library allows user to manage storage devices including creating and managing Raid arrays on systems with Intel chipset. Signed-off-by: Jackie Huang --- meta-oe/recipes-support/ssiapi/ssiapi_1.0.1.bb | 25 + 1 file changed, 25 insertions(+) create mode 100644 meta-oe/recipes-support/ssiapi/ssiapi_1.0.1.bb diff --git a/meta-oe/recipes-support/ssiapi/ssiapi_1.0.1.bb b/meta-oe/recipes-support/ssiapi/ssiapi_1.0.1.bb new file mode 100644 index 0..5b951eb26 --- /dev/null +++ b/meta-oe/recipes-support/ssiapi/ssiapi_1.0.1.bb @@ -0,0 +1,25 @@ +SUMMARY = "Intel RSTe with Linux OS SSI API Library" + +DESCRIPTION = "Intel Rapid Storage Technology enterprise with Linux OS* Standard Storage Interface API Library. \ +The library allows user to manage storage devices including creating and managing Raid arrays on systems with Intel chipset." + +HOMEPAGE = "http://irstessi.sourceforge.net/; + +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=0413ff365e0bd733c4869a6797551c6f" + +DEPENDS += "sg3-utils" + +SRC_URI = "http://sourceforge.net/projects/irstessi/files/${BPN}.${PV}.tgz; +SRC_URI[md5sum] = "02f16d7cbd30d28034093212906591f5" +SRC_URI[sha256sum] = "e10d283b0f211afb8ebd0bde87c097769613d30a052cdf164753e35e803264c7" + +S ="${WORKDIR}/${BPN}.${PV}" + +inherit autotools-brokensep + +do_configure_prepend(){ +./autogen.sh +} + +RDEPENDS_${PN} += "mdadm" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 1/2] xf86-video-mga: add new recipe
From: Jackie Huangmga is an Xorg driver for Matrox video cards Signed-off-by: Jackie Huang --- .../xorg-driver/xf86-video-mga/checkfile.patch | 68 ++ .../xorg-driver/xf86-video-mga_1.6.5.bb| 21 +++ 2 files changed, 89 insertions(+) create mode 100644 meta-oe/recipes-graphics/xorg-driver/xf86-video-mga/checkfile.patch create mode 100644 meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_1.6.5.bb diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga/checkfile.patch b/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga/checkfile.patch new file mode 100644 index 0..ceae6dfba --- /dev/null +++ b/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga/checkfile.patch @@ -0,0 +1,68 @@ +Upstream-Status: Submitted [https://bugs.freedesktop.org/show_bug.cgi?id=57606] +Signed-off-by: Ross Burton + +From c9014a8f3c9b691b5aa7b1f3ec66cf7c84b8211b Mon Sep 17 00:00:00 2001 +From: Ross Burton +Date: Thu, 29 Nov 2012 11:00:43 + +Subject: [PATCH] build: dont use AC_CHECK_FILE when enabling DRI + +Automatically enabling or disabling a feature based on installed files isn't +deterministic, and AC_CHECK_FILE returns an error when cross-compiling. + +Fix this by enabling DRI by default, and removing the explicit file checks as +pkg-config is good enough. + +(#57606) + +Signed-off-by: Ross Burton +--- + configure.ac | 25 ++--- + 1 file changed, 2 insertions(+), 23 deletions(-) + +diff --git a/configure.ac b/configure.ac +index fca1a9c..d2aa2ed 100644 +--- a/configure.ac b/configure.ac +@@ -55,9 +55,9 @@ AC_ARG_WITH(xorg-module-dir, + [moduledir="$libdir/xorg/modules"]) + + AC_ARG_ENABLE(dri, AS_HELP_STRING([--disable-dri], +- [Disable DRI support [[default=auto]]]), ++ [Disable DRI support [[default=enabled]]]), + [DRI="$enableval"], +- [DRI=auto]) ++ [DRI=yes]) + AC_ARG_ENABLE(exa, + AS_HELP_STRING([--disable-exa], + [Disable EXA support [[default=enabled]]]), +@@ -76,27 +76,6 @@ sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server` + + # Checks for libraries. + +-if test "x$DRI" != xno; then +-AC_CHECK_FILE([${sdkdir}/dri.h], +- [have_dri_h="yes"], [have_dri_h="no"]) +-AC_CHECK_FILE([${sdkdir}/sarea.h], +- [have_sarea_h="yes"], [have_sarea_h="no"]) +-AC_CHECK_FILE([${sdkdir}/dristruct.h], +- [have_dristruct_h="yes"], [have_dristruct_h="no"]) +-fi +- +-AC_MSG_CHECKING([whether to include DRI support]) +-if test "x$DRI" = xauto; then +-if test "x$have_dri_h" = xyes && \ +- test "x$have_sarea_h" = xyes && \ +- test "x$have_dristruct_h" = xyes; then +-DRI="yes" +-else +-DRI="no" +-fi +-fi +-AC_MSG_RESULT([$DRI]) +- + AM_CONDITIONAL(DRI, test "x$DRI" = xyes) + if test "x$DRI" = xyes; then + PKG_CHECK_MODULES(DRI, [libdrm >= 2.0 xf86driproto]) +-- +1.7.10.4 + diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_1.6.5.bb b/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_1.6.5.bb new file mode 100644 index 0..cd680597c --- /dev/null +++ b/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_1.6.5.bb @@ -0,0 +1,21 @@ +require recipes-graphics/xorg-driver/xorg-driver-video.inc + +SUMMARY = "X.Org X server -- Matrox MGA display driver" + +DESCRIPTION = "mga is an Xorg driver for Matrox video cards" + +LIC_FILES_CHKSUM = "file://COPYING;md5=bc1395d2cd32dfc5d6c57d2d8f83d3fc" + +SRC_URI += "file://checkfile.patch" + +DEPENDS += "virtual/libx11 libpciaccess" + +COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)' + +SRC_URI[md5sum] = "3ee2549247e01de3e7bce52c27483118" +SRC_URI[sha256sum] = "b663cd8e6364f7c4e2637b9fcab9861d0e3971518c73b00d213f6545a1289422" + +PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri', '', d)}" +PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,drm xf86driproto,xserver-xorg-extension-dri" + +RDEPENDS_${PN} = "xserver-xorg-module-exa" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 0/2] add new recipe for xf86-video-mga and ssiapi
From: Jackie Huang-- The following changes since commit fc03b3d9382dd5b6a8fff5f84e4c86a1acc9a73a: drbd-utils: fix dependency for perl under small-fs (2017-05-09 12:29:15 -0400) are available in the git repository at: git://git.pokylinux.org/poky-contrib.git jhuang0/r_upstream-xf86-video-mga-ssiapi_170523_0 http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/r_upstream-xf86-video-mga-ssiapi_170523_0 Jackie Huang (2): xf86-video-mga: add new recipe ssiapi: add new recipe .../xorg-driver/xf86-video-mga/checkfile.patch | 68 ++ .../xorg-driver/xf86-video-mga_1.6.5.bb| 21 +++ meta-oe/recipes-support/ssiapi/ssiapi_1.0.1.bb | 25 3 files changed, 114 insertions(+) create mode 100644 meta-oe/recipes-graphics/xorg-driver/xf86-video-mga/checkfile.patch create mode 100644 meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_1.6.5.bb create mode 100644 meta-oe/recipes-support/ssiapi/ssiapi_1.0.1.bb -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH] drbd-utils: remove /var/lock to avoid conflict
From: Jackie HuangRemove the empty /var/lock to avoid conflict with base-files: | Error: Transaction check error: file /var/lock conflicts between attempted installs of drbd-utils-8.9.6-r0.core2_64 and base-files-3.0.14-r89.qemux86_64 Signed-off-by: Jackie Huang --- meta-networking/recipes-support/drbd/drbd-utils_8.9.6.bb | 5 + 1 file changed, 5 insertions(+) diff --git a/meta-networking/recipes-support/drbd/drbd-utils_8.9.6.bb b/meta-networking/recipes-support/drbd/drbd-utils_8.9.6.bb index 67ed8e5c0..5f6c43f7e 100644 --- a/meta-networking/recipes-support/drbd/drbd-utils_8.9.6.bb +++ b/meta-networking/recipes-support/drbd/drbd-utils_8.9.6.bb @@ -30,6 +30,11 @@ EXTRA_OECONF = " \ --without-manual\ " +do_install_append() { +# don't install empty /var/lock to avoid conflict with base-files +rm -rf ${D}${localstatedir}/lock +} + RDEPENDS_${PN} += "bash perl-module-getopt-long perl-module-exporter perl-module-constant perl-module-overloading perl-module-exporter-heavy" # The drbd items are explicitly put under /lib when installed. -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 3/3] vblade: update to version 22
From: Jackie HuangUpdate to version 22 and add support for systemd and sysvinit, the scripts and conf files are taken from Fedora. Signed-off-by: Jackie Huang --- .../recipes-daemons/vblade/files/vblade.conf | 2 + .../recipes-daemons/vblade/files/vblade.init | 193 + .../recipes-daemons/vblade/files/vblade.service| 11 ++ .../vblade/files/volatiles.99_vblade | 1 + .../vblade/{vblade_20.bb => vblade_22.bb} | 37 +++- 5 files changed, 240 insertions(+), 4 deletions(-) create mode 100644 meta-networking/recipes-daemons/vblade/files/vblade.conf create mode 100644 meta-networking/recipes-daemons/vblade/files/vblade.init create mode 100644 meta-networking/recipes-daemons/vblade/files/vblade.service create mode 100644 meta-networking/recipes-daemons/vblade/files/volatiles.99_vblade rename meta-networking/recipes-daemons/vblade/{vblade_20.bb => vblade_22.bb} (23%) diff --git a/meta-networking/recipes-daemons/vblade/files/vblade.conf b/meta-networking/recipes-daemons/vblade/files/vblade.conf new file mode 100644 index 0..e8b93ec37 --- /dev/null +++ b/meta-networking/recipes-daemons/vblade/files/vblade.conf @@ -0,0 +1,2 @@ +# network_device shelf slot file/disk/partition mac[,mac[,mac]] +#eth0 0 0 /dev/sdb 00:11:22:33:44:55 diff --git a/meta-networking/recipes-daemons/vblade/files/vblade.init b/meta-networking/recipes-daemons/vblade/files/vblade.init new file mode 100644 index 0..0298c8001 --- /dev/null +++ b/meta-networking/recipes-daemons/vblade/files/vblade.init @@ -0,0 +1,193 @@ +#!/bin/sh +# +# Init script for vblade (ATA over Ethernet daemon) +# +# chkconfig: - 30 70 +# description: vblade AoE daemon +# +# processname: vblade +# config: /etc/vblade.conf +# +# Shamelessly hacked together from other init scripts (sshd, mostly) +# integrate vblade.init from Fedora's vblade-14-6.fc12.src.rpm +# + +RETVAL=0 +prog=vblade + +spawn_vblade() { + ALLOWMACS="" + [ -n "$5" ] && ALLOWMACS="-m $5" + ID="$1-e$2.$3" + if [ ! -d "/var/run/$prog" ]; then +mkdir /var/run/$prog + fi + PID_FILE=/var/run/$prog/${ID}.pid + $prog $ALLOWMACS $2 $3 $1 $4 >> /var/log/$prog.log 2>&1 & + pid=$! + RETVAL=$? + echo $pid > $PID_FILE + echo -n $"$4 (e$2.$3@$1) [pid $pid]" + [ "$RETVAL" = 0 ] && echo "success" || echo "failure" + echo +} + +start() { + local ret + + echo $"Starting up $prog: " + + #/var/lock/subsys/$prog exists? + status $prog 2>&1 > /dev/null + ret=$? + + if [ "$ret" = "2" ]; then +echo "$prog dead but subsys locked" +echo +return 2 + else +if [ "$ret" = "0" ]; then + #is running + echo "already running" + return 0 +fi + fi + + if [ 0 -ne `grep -vc '^#\|^$' /etc/$prog.conf` ] + then +grep -v '^#' /etc/$prog.conf | sed -e 's/ / /g' -e 's/ / /g' | while read line +do + spawn_vblade $line +done +touch /var/lock/subsys/$prog + else +echo -n "empty $prog.conf?" +echo " passed" +echo + fi +} + +stop() { + echo -n $"Shutting down $prog: " + for pidfile in `ls /var/run/$prog/*.pid 2>/dev/null` + do +kill -TERM `cat $pidfile` +rm -f $pidfile + done + echo "success" + echo + rm -f /var/lock/subsys/$prog +} + +__pids_var_run() { +local base=${1##*/} +local pid_file=${2:-/var/run/$base.pid} + +pid= +if [ -f "$pid_file" ] ; then +local line p + +while : ; do +read line +[ -z "$line" ] && break +for p in $line ; do +[ -z "${p//[0-9]/}" -a -d "/proc/$p" ] && pid="$pid $p" +done +done < "$pid_file" + +if [ -n "$pid" ]; then +return 0 +fi +return 1 # "Program is dead and /var/run pid file exists" +fi +return 3 # "Program is not running" +} + +__pids_pidof() { +pidof "$1" || pidof "${1##*/}" +} + +status() { +local base pid lock_file= pid_file= + +# Test syntax. +if [ "$#" = 0 ] ; then +echo $"Usage: status [-p pidfile] {program}" +return 1 +fi +if [ "$1" = "-p" ]; then +pid_file=$2 +shift 2 +fi +if [ "$1" = "-l" ]; then +lock_file=$2 +shift 2 +fi +base=${1##*/} + +# First try "pidof" +__pids_var_run "$1" "$pid_file" +RC=$? +if [ -z "$pid_file" -a -z "$pid" ]; then +pid="$(__pids_pidof "$1")" +fi +if [ -n "$pid" ]; then +echo $"${base} (pid $pid) is running..." +return 0 +fi + +case "$RC" in +0) +echo $"${base} (pid $pid) is running..." +
[oe] [meta-networking][PATCH 2/3] freediameter: add new recipe
From: Jackie HuangfreeDiameter is an open source Diameter protocol implementation. It provides an extensible platform for deploying a Diameter network for your Authentication, Authorization and Accounting needs. Signed-off-by: Jackie Huang --- ...murhash-algorithm-with-Robert-Jenkin-s-ha.patch | 223 + .../freediameter/files/freediameter.init | 72 +++ .../freediameter/files/freediameter.service| 11 + .../freediameter/files/install_test.patch | 22 ++ .../freediameter/files/pass-ptest-env.patch| 72 +++ .../recipes-protocols/freediameter/files/run-ptest | 11 + .../freediameter/freediameter.inc | 98 + .../freediameter/freediameter_1.2.1.bb | 7 + 8 files changed, 516 insertions(+) create mode 100644 meta-networking/recipes-protocols/freediameter/files/Replace-murmurhash-algorithm-with-Robert-Jenkin-s-ha.patch create mode 100755 meta-networking/recipes-protocols/freediameter/files/freediameter.init create mode 100644 meta-networking/recipes-protocols/freediameter/files/freediameter.service create mode 100644 meta-networking/recipes-protocols/freediameter/files/install_test.patch create mode 100644 meta-networking/recipes-protocols/freediameter/files/pass-ptest-env.patch create mode 100644 meta-networking/recipes-protocols/freediameter/files/run-ptest create mode 100644 meta-networking/recipes-protocols/freediameter/freediameter.inc create mode 100644 meta-networking/recipes-protocols/freediameter/freediameter_1.2.1.bb diff --git a/meta-networking/recipes-protocols/freediameter/files/Replace-murmurhash-algorithm-with-Robert-Jenkin-s-ha.patch b/meta-networking/recipes-protocols/freediameter/files/Replace-murmurhash-algorithm-with-Robert-Jenkin-s-ha.patch new file mode 100644 index 0..71a5a1ae4 --- /dev/null +++ b/meta-networking/recipes-protocols/freediameter/files/Replace-murmurhash-algorithm-with-Robert-Jenkin-s-ha.patch @@ -0,0 +1,223 @@ +Replace murmurhash algorithm with Robert Jenkin's hash algorithm + +Upstream-Status: Pending + +From test result, murmurhash algorithm does not work in big endian +processor, so replace it with Robert Jenkin's hash which has worked +in linux kernel for many years and has more adaptability. + +Signed-off-by: Roy.Li +--- + libfdproto/ostr.c | 192 + + 1 file changed, 74 insertions(+), 118 deletions(-) + +diff --git a/libfdproto/ostr.c b/libfdproto/ostr.c +index 8f29b48..ce1f4dd 100644 +--- a/libfdproto/ostr.c b/libfdproto/ostr.c +@@ -430,128 +430,84 @@ after_proto: + + + // +-/* Hash function -- credits to Austin Appleby, thank you ^^ */ +-/* See http://murmurhash.googlepages.com for more information on this function */ +- +-/* the strings are NOT always aligned properly (ex: received in RADIUS message), so we use the aligned MurmurHash2 function as needed */ +-#define _HASH_MIX(h,k,m) { k *= m; k ^= k >> r; k *= m; h *= m; h ^= k; } +-uint32_t fd_os_hash ( uint8_t * string, size_t len ) ++/* ++ * Robert Jenkin's hash function. ++ * http://burtleburtle.net/bob/hash/evahash.html ++ * This is in the public domain. ++ */ ++#define mix(a, b, c) \ ++ do {\ ++ a = a - b; a = a - c; a = a ^ (c >> 13); \ ++ b = b - c; b = b - a; b = b ^ (a << 8); \ ++ c = c - a; c = c - b; c = c ^ (b >> 13); \ ++ a = a - b; a = a - c; a = a ^ (c >> 12); \ ++ b = b - c; b = b - a; b = b ^ (a << 16); \ ++ c = c - a; c = c - b; c = c ^ (b >> 5); \ ++ a = a - b; a = a - c; a = a ^ (c >> 3); \ ++ b = b - c; b = b - a; b = b ^ (a << 10); \ ++ c = c - a; c = c - b; c = c ^ (b >> 15); \ ++ } while (0) ++ ++unsigned hash_rjenkins(const char *str, unsigned length) + { +- uint32_t hash = len; +- uint8_t * data = string; +- +- const unsigned int m = 0x5bd1e995; +- const int r = 24; +- int align = (long)string & 3; +- +- if (!align || (len < 4)) { +- /* In case data is aligned, MurmurHash2 function */ +- while(len >= 4) +- { +- /* Mix 4 bytes at a time into the hash */ +- uint32_t k = *(uint32_t *)data; /* We don't care about the byte order */ +- +- _HASH_MIX(hash, k, m); +- +- data += 4; +- len -= 4; +- } +- +- /* Handle the last few bytes of the input */ +- switch(len) { +- case 3: hash ^= data[2]
[oe] [meta-networking][PATCH 1/3] keepalived: add new recipe
From: Jackie Huangkeepalived is a High Availability monitor built upon LVS, VRRP and service pollers. Signed-off-by: Jackie Huang --- .../recipes-daemons/keepalived/keepalived_1.3.5.bb | 49 ++ 1 file changed, 49 insertions(+) create mode 100644 meta-networking/recipes-daemons/keepalived/keepalived_1.3.5.bb diff --git a/meta-networking/recipes-daemons/keepalived/keepalived_1.3.5.bb b/meta-networking/recipes-daemons/keepalived/keepalived_1.3.5.bb new file mode 100644 index 0..5e7e6e49f --- /dev/null +++ b/meta-networking/recipes-daemons/keepalived/keepalived_1.3.5.bb @@ -0,0 +1,49 @@ +SUMMARY = "High Availability monitor built upon LVS, VRRP and service pollers" +DESCRIPTION = "Keepalived is a routing software written in C. The main goal \ +of this project is to provide simple and robust facilities for loadbalancing \ +and high-availability to Linux system and Linux based infrastructures. \ +Loadbalancing framework relies on well-known and widely used Linux Virtual \ +Server (IPVS) kernel module providing Layer4 loadbalancing \ +" +HOMEPAGE = "http://www.keepalived.org/; + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "http://www.keepalived.org/software/${BP}.tar.gz; + +SRC_URI[md5sum] = "9964d295ec9d34ed3408b57d28847b68" +SRC_URI[sha256sum] = "c0114d86ea4c896557beb0d9367819a423ffba772bc5d7c548dc455e6b3bd048" + +DEPENDS = "libnfnetlink openssl" + +inherit autotools pkgconfig systemd update-rc.d + +PACKAGECONFIG ??= "libnl snmp \ +${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ +" +PACKAGECONFIG[libnl] = "--enable-libnl,--disable-libnl,libnl" +PACKAGECONFIG[snmp] = "--enable-snmp,--disable-snmp,net-snmp" +PACKAGECONFIG[systemd] = "--with-init=systemd --with-systemdsystemunitdir=${systemd_system_unitdir},--with-init=SYSV,systemd" + +EXTRA_OECONF = "--disable-libiptc" +EXTRA_OEMAKE = "initdir=${sysconfdir}/init.d" + +do_install_append() { +if [ -f ${D}${sysconfdir}/init.d/${BPN} ]; then +chmod 0755 ${D}${sysconfdir}/init.d/${BPN} +sed -i 's#rc.d/##' ${D}${sysconfdir}/init.d/${BPN} +fi + +if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then +install -D -m 0644 ${B}/${BPN}/${BPN}.service ${D}${systemd_system_unitdir}/${BPN}.service +fi +} + +FILES_${PN} += "${datadir}/snmp/mibs/KEEPALIVED-MIB.txt" + +INITSCRIPT_NAME = "keepalived" +INITSCRIPT_PARAMS = "remove" + +SYSTEMD_SERVICE_${PN} = "keepalived.service" +SYSTEMD_AUTO_ENABLE ?= "disable" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 0/3] update vblade and add freediameter and keepalived
From: Jackie Huang--- The following changes since commit fc03b3d9382dd5b6a8fff5f84e4c86a1acc9a73a: drbd-utils: fix dependency for perl under small-fs (2017-05-09 12:29:15 -0400) are available in the git repository at: git://git.pokylinux.org/poky-contrib.git jhuang0/r_upstream-diameter-keepalived-vblade_170512_0 http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/r_upstream-diameter-keepalived-vblade_170512_0 Jackie Huang (3): keepalived: add new recipe freediameter: add new recipe vblade: update to version 22 .../recipes-daemons/keepalived/keepalived_1.3.5.bb | 49 + .../recipes-daemons/vblade/files/vblade.conf | 2 + .../recipes-daemons/vblade/files/vblade.init | 193 ++ .../recipes-daemons/vblade/files/vblade.service| 11 + .../vblade/files/volatiles.99_vblade | 1 + .../recipes-daemons/vblade/vblade_20.bb| 22 -- .../recipes-daemons/vblade/vblade_22.bb| 51 + ...murhash-algorithm-with-Robert-Jenkin-s-ha.patch | 223 + .../freediameter/files/freediameter.init | 72 +++ .../freediameter/files/freediameter.service| 11 + .../freediameter/files/install_test.patch | 22 ++ .../freediameter/files/pass-ptest-env.patch| 72 +++ .../recipes-protocols/freediameter/files/run-ptest | 11 + .../freediameter/freediameter.inc | 98 + .../freediameter/freediameter_1.2.1.bb | 7 + 15 files changed, 823 insertions(+), 22 deletions(-) create mode 100644 meta-networking/recipes-daemons/keepalived/keepalived_1.3.5.bb create mode 100644 meta-networking/recipes-daemons/vblade/files/vblade.conf create mode 100644 meta-networking/recipes-daemons/vblade/files/vblade.init create mode 100644 meta-networking/recipes-daemons/vblade/files/vblade.service create mode 100644 meta-networking/recipes-daemons/vblade/files/volatiles.99_vblade delete mode 100644 meta-networking/recipes-daemons/vblade/vblade_20.bb create mode 100644 meta-networking/recipes-daemons/vblade/vblade_22.bb create mode 100644 meta-networking/recipes-protocols/freediameter/files/Replace-murmurhash-algorithm-with-Robert-Jenkin-s-ha.patch create mode 100755 meta-networking/recipes-protocols/freediameter/files/freediameter.init create mode 100644 meta-networking/recipes-protocols/freediameter/files/freediameter.service create mode 100644 meta-networking/recipes-protocols/freediameter/files/install_test.patch create mode 100644 meta-networking/recipes-protocols/freediameter/files/pass-ptest-env.patch create mode 100644 meta-networking/recipes-protocols/freediameter/files/run-ptest create mode 100644 meta-networking/recipes-protocols/freediameter/freediameter.inc create mode 100644 meta-networking/recipes-protocols/freediameter/freediameter_1.2.1.bb -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 1/1 v3] freeradius: add new recipe
From: Jackie HuangFreeRADIUS is an Internet authentication daemon, which implements the RADIUS protocol, as defined in RFC 2865 (and others). Signed-off-by: Jackie Huang --- .../freeradius/files/freeradius| 110 ++ .../freeradius-avoid-searching-host-dirs.patch | 197 + ...radius-configure.ac-add-option-for-libcap.patch | 70 ++ ...dius-configure.ac-allow-cross-compilation.patch | 31 +++ .../files/freeradius-enble-user-in-conf.patch | 28 +++ ...eeradius-fix-error-for-expansion-of-macro.patch | 61 ++ ...ius-fix-issues-related-to-m4-include-path.patch | 236 + .../freeradius-fix-quoting-for-BUILT_WITH.patch| 55 + .../files/freeradius-libtool-detection.patch | 89 .../freeradius-libtool-do-not-use-jlibtool.patch | 160 ++ .../freeradius-rlm_python-add-PY_INC_DIR.patch | 33 +++ .../freeradius/files/radiusd-volatiles.conf| 2 + .../freeradius/files/radiusd.service | 16 ++ .../freeradius/files/volatiles.58_radiusd | 3 + .../freeradius/freeradius_3.0.13.bb| 223 +++ 15 files changed, 1314 insertions(+) create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-avoid-searching-host-dirs.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-configure.ac-add-option-for-libcap.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-configure.ac-allow-cross-compilation.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-enble-user-in-conf.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-fix-error-for-expansion-of-macro.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-fix-issues-related-to-m4-include-path.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-fix-quoting-for-BUILT_WITH.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-libtool-detection.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-libtool-do-not-use-jlibtool.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-rlm_python-add-PY_INC_DIR.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/radiusd-volatiles.conf create mode 100644 meta-networking/recipes-connectivity/freeradius/files/radiusd.service create mode 100644 meta-networking/recipes-connectivity/freeradius/files/volatiles.58_radiusd create mode 100644 meta-networking/recipes-connectivity/freeradius/freeradius_3.0.13.bb diff --git a/meta-networking/recipes-connectivity/freeradius/files/freeradius b/meta-networking/recipes-connectivity/freeradius/files/freeradius new file mode 100644 index 0..fa412e2aa --- /dev/null +++ b/meta-networking/recipes-connectivity/freeradius/files/freeradius @@ -0,0 +1,110 @@ +#!/bin/sh +# Start/stop the FreeRADIUS daemon. + +### BEGIN INIT INFO +# Provides: freeradius +# Required-Start:$remote_fs $network $syslog +# Should-Start: $time mysql slapd postgresql samba krb5-kdc +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Radius Daemon +# Description: Extensible, configurable radius daemon +### END INIT INFO + +set -e + +# Source function library. +. /etc/init.d/functions + +if [ -f /lib/lsb/init-functions ]; then + . /lib/lsb/init-functions +fi + +PROG="radiusd" +PROGRAM="/usr/sbin/radiusd" +PIDFILE="/var/run/radiusd/radiusd.pid" +DESCR="FreeRADIUS daemon" + +if [ -r /etc/default/$PROG ]; then + . /etc/default/$PROG +fi + +test -f $PROGRAM || exit 0 + +check_certs() { + if [ ! -f /etc/raddb/certs/server.pem ]; then + echo -n "Creating certificates for freeradius..." + if sudo -u radiusd /etc/raddb/certs/bootstrap 1> /dev/null 2> /dev/null; then + echo "done" + else + echo "failed!" + fi + fi + +} + +# /var/run may be a tmpfs +if [ ! -d /var/run/radiusd ]; then + mkdir -p /var/run/radiusd + chown radiusd:radiusd /var/run/radiusd +fi + +if [ ! -d /var/log/radius ]; then + mkdir -p /var/log/radius + touch /var/log/radius/radius.log + chown radiusd:radiusd /var/run/radius +fi + +if [ ! -f ${PIDFILE} ]; then + touch ${PIDFILE} + chown radiusd:radiusd ${PIDFILE} +fi + +export PATH="${PATH:+$PATH:}/usr/sbin:/sbin" + +ret=0 + +case "$1" in +start) + check_certs +echo -n "Starting $DESCR" "$PROG" +start-stop-daemon --start --quiet
[oe] [meta-networking][PATCH 0/1 v3] freeradius: add new recipe
From: Jackie Huangv3 comments: update to the latest version 3.0.13 --- The following changes since commit 6418010bf0d74b21247962edbc63dd5e6fb1069a: ninja: extend to nativesdk (2017-05-04 09:18:58 +0200) are available in the git repository at: git://git.pokylinux.org/poky-contrib.git jhuang0/r_upstream-freeradius-v3_170510_0 http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/r_upstream-freeradius-v3_170510_0 Jackie Huang (1): freeradius: add new recipe .../freeradius/files/freeradius| 110 ++ .../freeradius-avoid-searching-host-dirs.patch | 197 + ...radius-configure.ac-add-option-for-libcap.patch | 70 ++ ...dius-configure.ac-allow-cross-compilation.patch | 31 +++ .../files/freeradius-enble-user-in-conf.patch | 28 +++ ...eeradius-fix-error-for-expansion-of-macro.patch | 61 ++ ...ius-fix-issues-related-to-m4-include-path.patch | 236 + .../freeradius-fix-quoting-for-BUILT_WITH.patch| 55 + .../files/freeradius-libtool-detection.patch | 89 .../freeradius-libtool-do-not-use-jlibtool.patch | 160 ++ .../freeradius-rlm_python-add-PY_INC_DIR.patch | 33 +++ .../freeradius/files/radiusd-volatiles.conf| 2 + .../freeradius/files/radiusd.service | 16 ++ .../freeradius/files/volatiles.58_radiusd | 3 + .../freeradius/freeradius_3.0.13.bb| 223 +++ 15 files changed, 1314 insertions(+) create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-avoid-searching-host-dirs.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-configure.ac-add-option-for-libcap.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-configure.ac-allow-cross-compilation.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-enble-user-in-conf.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-fix-error-for-expansion-of-macro.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-fix-issues-related-to-m4-include-path.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-fix-quoting-for-BUILT_WITH.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-libtool-detection.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-libtool-do-not-use-jlibtool.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-rlm_python-add-PY_INC_DIR.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/radiusd-volatiles.conf create mode 100644 meta-networking/recipes-connectivity/freeradius/files/radiusd.service create mode 100644 meta-networking/recipes-connectivity/freeradius/files/volatiles.58_radiusd create mode 100644 meta-networking/recipes-connectivity/freeradius/freeradius_3.0.13.bb -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] python-pygobject: remove the empty pkgconfig directory
From: Jackie HuangThe empty pkgconfif directory causes error when run relocatable_native_pcfiles: | sed: can't read /path/to/recipe-sysroot-native/usr/lib/pkgconfig/*.pc: No such file or directory So remove the directory instead of removing the pc file but left an empty pkgconfig diretory. Signed-off-by: Jackie Huang --- meta-oe/recipes-devtools/python/python-pygobject_3.22.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-devtools/python/python-pygobject_3.22.0.bb b/meta-oe/recipes-devtools/python/python-pygobject_3.22.0.bb index 952145f1e..acc2f5b7a 100644 --- a/meta-oe/recipes-devtools/python/python-pygobject_3.22.0.bb +++ b/meta-oe/recipes-devtools/python/python-pygobject_3.22.0.bb @@ -30,5 +30,5 @@ RDEPENDS_${PN}_class-native = "" do_install_append() { # Remove files that clash with python3-pygobject; their content is same -rm ${D}${includedir}/pygobject-3.0/pygobject.h ${D}${libdir}/pkgconfig/pygobject-3.0.pc +rm -rf ${D}${includedir}/pygobject-3.0//pygobject.h ${D}${libdir}/pkgconfig } -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 8/8 v2] ipmitool: add new recipe
From: Jackie HuangUtility for IPMI control which is for interfacing with devices that support the Intelligent Platform Management Interface specification. Signed-off-by: Jackie Huang --- .../recipes-support/ipmitool/ipmitool_1.8.18.bb| 36 ++ 1 file changed, 36 insertions(+) create mode 100644 meta-oe/recipes-support/ipmitool/ipmitool_1.8.18.bb diff --git a/meta-oe/recipes-support/ipmitool/ipmitool_1.8.18.bb b/meta-oe/recipes-support/ipmitool/ipmitool_1.8.18.bb new file mode 100644 index 0..9f73d2799 --- /dev/null +++ b/meta-oe/recipes-support/ipmitool/ipmitool_1.8.18.bb @@ -0,0 +1,36 @@ +SUMMARY = "Utility for IPMI control" +DESCRIPTION = "This package contains a utility for interfacing with devices that support \ +the Intelligent Platform Management Interface specification. IPMI is \ +an open standard for machine health, inventory, and remote power control. \ +\ +This utility can communicate with IPMI-enabled devices through either a \ +kernel driver such as OpenIPMI or over the RMCP LAN protocol defined in \ +the IPMI specification. IPMIv2 adds support for encrypted LAN \ +communications and remote Serial-over-LAN functionality. \ +\ +It provides commands for reading the Sensor Data Repository (SDR) and \ +displaying sensor values, displaying the contents of the System Event \ +Log (SEL), printing Field Replaceable Unit (FRU) information, reading and \ +setting LAN configuration, and chassis power control. \ +" + +HOMEPAGE = "http://ipmitool.sourceforge.net/; +SECTION = "kernel/userland" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://COPYING;md5=9aa91e13d644326bf281924212862184" + +DEPENDS = "openssl readline ncurses" + +SRC_URI = "${SOURCEFORGE_MIRROR}/ipmitool/ipmitool-${PV}.tar.bz2" +SRC_URI[md5sum] = "bab7ea104c7b85529c3ef65c54427aa3" +SRC_URI[sha256sum] = "0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01" + +inherit autotools + +# --disable-dependency-tracking speeds up the build +# --enable-file-security adds some security checks +# --disable-intf-free disables FreeIPMI support - we don't want to depend on +# FreeIPMI libraries, FreeIPMI has its own ipmitoool-like utility. +# +EXTRA_OECONF = "--disable-dependency-tracking --enable-file-security --disable-intf-free" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 7/8 v2] openipmi: add new recipe
From: Jackie HuangOpenIPMI is an effort to create a full-function IPMI system to allow full access to all IPMI information on a server and to abstract it to a level that will make it easy to use. Signed-off-by: Jackie Huang --- .../files/do-not-install-pyc-and-pyo.patch | 25 + .../fix-symlink-install-error-in-cmdlang.patch | 22 + .../files/ipmi-init-fix-the-arguments.patch| 41 ++ .../recipes-support/openipmi/files/ipmi.service| 12 + .../openipmi/files/makefile-add-ldflags.patch | 19 + .../openipmi/files/openipmi-don-t-rm-.libs.patch | 32 ++ .../recipes-support/openipmi/files/openipmi-helper | 512 + .../files/openipmi-no-openipmigui-man.patch| 26 ++ ...openipmi-remove-host-path-from-la_LDFLAGS.patch | 85 .../recipes-support/openipmi/openipmi_2.0.22.bb| 111 + 10 files changed, 885 insertions(+) create mode 100644 meta-oe/recipes-support/openipmi/files/do-not-install-pyc-and-pyo.patch create mode 100644 meta-oe/recipes-support/openipmi/files/fix-symlink-install-error-in-cmdlang.patch create mode 100644 meta-oe/recipes-support/openipmi/files/ipmi-init-fix-the-arguments.patch create mode 100644 meta-oe/recipes-support/openipmi/files/ipmi.service create mode 100644 meta-oe/recipes-support/openipmi/files/makefile-add-ldflags.patch create mode 100644 meta-oe/recipes-support/openipmi/files/openipmi-don-t-rm-.libs.patch create mode 100755 meta-oe/recipes-support/openipmi/files/openipmi-helper create mode 100644 meta-oe/recipes-support/openipmi/files/openipmi-no-openipmigui-man.patch create mode 100644 meta-oe/recipes-support/openipmi/files/openipmi-remove-host-path-from-la_LDFLAGS.patch create mode 100644 meta-oe/recipes-support/openipmi/openipmi_2.0.22.bb diff --git a/meta-oe/recipes-support/openipmi/files/do-not-install-pyc-and-pyo.patch b/meta-oe/recipes-support/openipmi/files/do-not-install-pyc-and-pyo.patch new file mode 100644 index 0..d4e02be45 --- /dev/null +++ b/meta-oe/recipes-support/openipmi/files/do-not-install-pyc-and-pyo.patch @@ -0,0 +1,25 @@ +Do not install pyc and pyo for python module + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Yi Zhao +--- + swig/python/Makefile.am | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/swig/python/Makefile.am b/swig/python/Makefile.am +index da95a81..97a62bf 100644 +--- a/swig/python/Makefile.am b/swig/python/Makefile.am +@@ -33,8 +33,6 @@ CLEANFILES = OpenIPMI_wrap.c OpenIPMI.py OpenIPMI.pyo OpenIPMI.pyc + install-exec-local: _OpenIPMI.la OpenIPMI.py OpenIPMI.pyc OpenIPMI.pyo + $(INSTALL) -d $(DESTDIR)$(PYTHON_INSTALL_DIR) + $(INSTALL_DATA) OpenIPMI.py "$(DESTDIR)$(PYTHON_INSTALL_DIR)" +- $(INSTALL_DATA) OpenIPMI.pyc "$(DESTDIR)$(PYTHON_INSTALL_DIR)" +- $(INSTALL_DATA) OpenIPMI.pyo "$(DESTDIR)$(PYTHON_INSTALL_DIR)" + if test "x$(PYTHON_GUI_DIR)" = "xopenipmigui"; then \ + $(INSTALL) -d $(DESTDIR)$(bindir); \ + $(INSTALL_SCRIPT) $(srcdir)/openipmigui.py "$(DESTDIR)$(bindir)/openipmigui";\ +-- +1.9.1 + diff --git a/meta-oe/recipes-support/openipmi/files/fix-symlink-install-error-in-cmdlang.patch b/meta-oe/recipes-support/openipmi/files/fix-symlink-install-error-in-cmdlang.patch new file mode 100644 index 0..9a568b2b2 --- /dev/null +++ b/meta-oe/recipes-support/openipmi/files/fix-symlink-install-error-in-cmdlang.patch @@ -0,0 +1,22 @@ +Author: Aws Ismail +Date: Thu Jun 7 16:00:13 2012 -0400 + +This patch fixes the error during the install stage when +creating a symbolic link for opeipmish in openipmi/cmdlang + +Upstream-Status: Pending + +Signed-off-by: Aws Ismail + +diff --git a/cmdlang/Makefile.am b/cmdlang/Makefile.am +index 92d6e83..f6039f9 100644 +--- a/cmdlang/Makefile.am b/cmdlang/Makefile.am +@@ -36,6 +36,7 @@ CLEANFILES = libOpenIPMIcmdlang.map + # compatability. + install-data-local: + rm -f $(DESTDIR)$(bindir)/ipmish ++ mkdir -p $(DESTDIR)$(bindir)/ + $(LN_S) openipmish $(DESTDIR)$(bindir)/ipmish + + uninstall-local: diff --git a/meta-oe/recipes-support/openipmi/files/ipmi-init-fix-the-arguments.patch b/meta-oe/recipes-support/openipmi/files/ipmi-init-fix-the-arguments.patch new file mode 100644 index 0..51a398ba5 --- /dev/null +++ b/meta-oe/recipes-support/openipmi/files/ipmi-init-fix-the-arguments.patch @@ -0,0 +1,41 @@ +Subject: [PATCH] ipmi-init: fix the arguments + +The functions success/failure/warning defined in /etc/init.d/functions +(provided by initscripts) only accepts numeric argument as return code, +not a string. + +Upstream-Status: Inappropriate [OE specific] + +Signed-off-by: Jackie Huang +--- + ipmi.init | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/ipmi.init b/ipmi.init
[oe] [meta-perl][PATCH 6/8 v2] libauthen-radius-perl: add new recipe
From: Jackie HuangThe Authen::Radius module provides a simple class that allows you to send/receive Radius requests/responses to/from a Radius server. Signed-off-by: Jackie Huang --- .../libauthen/libauthen-radius-perl/run-ptest | 21 + .../test.pl-adjust-for-ptest.patch | 90 ++ .../libauthen/libauthen-radius-perl_0.22.bb| 39 ++ 3 files changed, 150 insertions(+) create mode 100644 meta-perl/recipes-perl/libauthen/libauthen-radius-perl/run-ptest create mode 100644 meta-perl/recipes-perl/libauthen/libauthen-radius-perl/test.pl-adjust-for-ptest.patch create mode 100644 meta-perl/recipes-perl/libauthen/libauthen-radius-perl_0.22.bb diff --git a/meta-perl/recipes-perl/libauthen/libauthen-radius-perl/run-ptest b/meta-perl/recipes-perl/libauthen/libauthen-radius-perl/run-ptest new file mode 100644 index 0..f1c833e6c --- /dev/null +++ b/meta-perl/recipes-perl/libauthen/libauthen-radius-perl/run-ptest @@ -0,0 +1,21 @@ +#!/bin/sh +# + +# prepare testing config +CONF_USERS=`readlink -f /etc/raddb/users` +mv ${CONF_USERS} ${CONF_USERS}_orig +echo "testing Cleartext-Password := \"testpassword\"" > ${CONF_USERS} +cat ${CONF_USERS}_orig >> ${CONF_USERS} + +# restart radiusd server +systemctl restart radiusd || /etc/init.d/radiusd restart || { +echo "FAIL: Start radiusd service." +exit 1 +} + +# run teests +perl test.pl + +# restore the config and restart +mv ${CONF_USERS}_orig ${CONF_USERS} +systemctl restart radiusd || /etc/init.d/radiusd restart diff --git a/meta-perl/recipes-perl/libauthen/libauthen-radius-perl/test.pl-adjust-for-ptest.patch b/meta-perl/recipes-perl/libauthen/libauthen-radius-perl/test.pl-adjust-for-ptest.patch new file mode 100644 index 0..9798af497 --- /dev/null +++ b/meta-perl/recipes-perl/libauthen/libauthen-radius-perl/test.pl-adjust-for-ptest.patch @@ -0,0 +1,90 @@ +From 829302792bf0e4935d29efc23ca1f2e9e7ee7dfd Mon Sep 17 00:00:00 2001 +From: Jackie Huang +Date: Thu, 7 Jan 2016 03:12:38 -0500 +Subject: [PATCH] test.pl: adjust for ptest + +* Don't use interactive inputs, set default test + settings instead. +* Change the test results output to the ptest format + +Upstream-Status: Inappropriate [OE ptest specific] + +Signed-off-by: Jackie Huang +--- + test.pl | 31 ++- + 1 file changed, 18 insertions(+), 13 deletions(-) + +diff --git a/test.pl b/test.pl +index cfd1c1e..9b4f10e 100644 +--- a/test.pl b/test.pl +@@ -7,11 +7,11 @@ + # Change 1..1 below to 1..last_test_to_print . + # (It may become useful if the test is moved to ./t subdirectory.) + +-BEGIN {print "1..5\n";} +-END {print "not ok 1\n" unless $loaded;} ++BEGIN {print "Start testing for libauthen-radius-perl\n";} ++END {print "\nFAIL: test1\n" unless $loaded;} + use Authen::Radius; + $loaded = 1; +-print "ok 1\n"; ++print "\nPASS: test1\n"; + + # End of black magic. + +@@ -19,26 +19,31 @@ print "ok 1\n"; + # (correspondingly "not ok 13") depending on the success of chunk 13 + # of the test code): + ++$host = "127.0.0.1"; ++$secret = "testing123"; ++$user = "testing"; ++$pwd = "testpassword"; ++ + print "Make sure this machine is in your Radius clients file!\n"; +-print "Enter hostname[:port] of your Radius server: "; chomp ($host = ); +-print "Enter shared-secret of your Radius server: "; chomp ($secret = ); +-print "Enter a username to be validated: "; chomp ($user = ); +-print "Enter this user's password: "; chomp ($pwd = ); ++print "hostname of your Radius server: $host\n"; ++print "shared-secret of your Radius server: $secret\n"; ++print "The username to be validated: $user\n"; ++print "The user's password: $pwd\n"; + + $t = 2; + if ($host ne '') { + $r = new Authen::Radius(Host => $host, Secret => $secret, Debug => 1); +- print defined($r) ? "" : "not ", "ok $t\n"; $t++; ++ print defined($r) ? "\nPASS: test$t\n" : "\nFAIL: test$t\n"; $t++; + #Authen::Radius->load_dictionary; +- print $r->check_pwd($user, $pwd) ? "" : "not ", "ok $t\n"; $t++; ++ print $r->check_pwd($user, $pwd) ? "\nPASS: test$t\n" : "\nFAIL: test$t\n"; $t++; + @a = $r->get_attributes; +- print $#a != -1 ? "" : "not ", "ok $t\n"; $t++; ++ print $#a != -1 ? "\nPASS: test$t\n" : "\nFAIL: test$t\n"; $t++; + #for $a (@a) { + # print "attr: name=$a->{'Name'} value=$a->{'Value'}\n"; + #} + } else { + foreach my $t (2..4) { +- print "skipped $t\n"; ++ print "\nSKIP test$t\n"; + } + } + +@@ -53,9 +58,9 @@ my $data = "what do ya want for nothing?"; + my $etalon_digest = hex_to_ascii("750c783e6ab0b503eaa86e310a5db738"); + my $digest = Authen::Radius::hmac_md5(undef, $data, $key); + if ($etalon_digest eq $digest) { +- print "ok 5\n"; ++ print "\nPASS: test5\n"; + } else {
[oe] [meta-perl][PATCH 5/8 v2] libnet-telnet-perl: add new recipe
From: Jackie HuangNet-Telnet Perl module, it allows you to make client connections to a TCP port and do network I/O, especially to a port using the TELNET protocol. Signed-off-by: Jackie Huang --- .../recipes-perl/libnet/libnet-telnet-perl_3.04.bb | 25 ++ 1 file changed, 25 insertions(+) create mode 100644 meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.04.bb diff --git a/meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.04.bb b/meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.04.bb new file mode 100644 index 0..652e8c941 --- /dev/null +++ b/meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.04.bb @@ -0,0 +1,25 @@ +SUMMARY = "Net-Telnet Perl module" +DESCRIPTION = "Net::Telnet allows you to make client connections to a TCP port and do \ +network I/O, especially to a port using the TELNET protocol. Simple I/O \ +methods such as print, get, and getline are provided. More sophisticated \ +interactive features are provided because connecting to a TELNET port \ +ultimately means communicating with a program designed for human interaction. \ +These interactive features include the ability to specify a time-out and to \ +wait for patterns to appear in the input stream, such as the prompt from a \ +shell." + +HOMEPAGE = "http://search.cpan.org/dist/Net-Telnet/; +SECTION = "Development/Libraries" + +LICENSE = "Artistic-1.0|GPLv1+" +LIC_FILES_CHKSUM = "file://README;beginline=4;endline=7;md5=3fd238bfb6ee1810cb15d5d95e07b0f5" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/J/JR/JROGERS/Net-Telnet-${PV}.tar.gz; +SRC_URI[md5sum] = "d2514080116c1b0fa5f96295c84538e3" +SRC_URI[sha256sum] = "e64d567a4e16295ecba949368e7a6b8b5ae2a16b3ad682121d9b007dc5d2a37a" + +S = "${WORKDIR}/Net-Telnet-${PV}" + +inherit cpan + +RDEPENDS_${PN} = "perl" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-perl][PATCH 4/8 v2] libdata-hexdump-perl: add new recipe
From: Jackie HuangData::HexDump - Hexadecial Dumper module for perl. It's required by libauthen-radius-perl. Signed-off-by: Jackie Huang --- meta-perl/recipes-perl/libdata/files/run-ptest | 16 +++ .../libdata/libdata-hexdump-perl_0.02.bb | 33 ++ 2 files changed, 49 insertions(+) create mode 100644 meta-perl/recipes-perl/libdata/files/run-ptest create mode 100644 meta-perl/recipes-perl/libdata/libdata-hexdump-perl_0.02.bb diff --git a/meta-perl/recipes-perl/libdata/files/run-ptest b/meta-perl/recipes-perl/libdata/files/run-ptest new file mode 100644 index 0..c9f9ca94d --- /dev/null +++ b/meta-perl/recipes-perl/libdata/files/run-ptest @@ -0,0 +1,16 @@ +#!/bin/sh + +for case in `find t -type f -name '*.t'`; do +perl $case >$case.output 2>&1 +ret=$? +cat $case.output +if [ $ret -ne 0 ]; then +echo "FAIL: ${case%.t}" +elif grep -i 'SKIP' $case.output; then +echo "SKIP: ${case%.t}" +else +echo "PASS: ${case%.t}" +fi + +rm -f $case.output +done diff --git a/meta-perl/recipes-perl/libdata/libdata-hexdump-perl_0.02.bb b/meta-perl/recipes-perl/libdata/libdata-hexdump-perl_0.02.bb new file mode 100644 index 0..6ab5a4204 --- /dev/null +++ b/meta-perl/recipes-perl/libdata/libdata-hexdump-perl_0.02.bb @@ -0,0 +1,33 @@ +SUMMARY = "Data::HexDump - Hexadecial Dumper" +DESCRIPTION = "Dump in hexadecimal the content of a scalar. The result \ +is returned in a string. Each line of the result consists of the offset \ +in the source in the leftmost column of each line, followed by one or \ +more columns of data from the source in hexadecimal. The rightmost column \ +of each line shows the printable characters \ +(all others are shown as single dots).\ +" + +HOMEPAGE = "http://search.cpan.org/~ftassin/Data-HexDump-0.02/lib/Data/HexDump.pm; +SECTION = "libs" + +LICENSE = "Artistic-1.0" +LIC_FILES_CHKSUM = "file://lib/Data/HexDump.pm;beginline=215;endline=217;md5=bf1cd9373f8d1f85fe091ee069a480e9" + +DEPENDS = "perl" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/F/FT/FTASSIN/Data-HexDump-${PV}.tar.gz \ + file://run-ptest \ +" +SRC_URI[md5sum] = "467b7183d1062ab4a502b50c34e7d67f" +SRC_URI[sha256sum] = "1a9d843e7f667c1c6f77c67af5d77e7462ff23b41937cb17454d03535cd9be70" + +S = "${WORKDIR}/Data-HexDump-${PV}" + +inherit cpan ptest + +do_install_ptest () { +install -d ${D}${PTEST_PATH}/t +install -m 0755 ${B}/t/* ${D}${PTEST_PATH}/t +} + +BBCLASSEXTEND = "native" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-perl][PATCH 3/8 v2] libnet-ldap-perl: add new recipe
From: Jackie HuangNet::LDAP is a collection of modules that implements a LDAP services API for Perl programs. Signed-off-by: Jackie Huang --- .../recipes-perl/libnet/libnet-ldap-perl_0.65.bb | 29 ++ 1 file changed, 29 insertions(+) create mode 100644 meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.65.bb diff --git a/meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.65.bb b/meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.65.bb new file mode 100644 index 0..f2b1f1634 --- /dev/null +++ b/meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.65.bb @@ -0,0 +1,29 @@ +SUMMARY = "LDAP Perl module" +DESCRIPTION = "Net::LDAP is a collection of modules that implements \ +a LDAP services API for Perl programs. The module may be used to \ +search directories or perform maintenance functions such as adding, \ +deleting or modifying entries." + +SECTION = "libs" + +LICENSE = "Artistic-1.0|GPLv1+" +LIC_FILES_CHKSUM = "file://README;beginline=3;endline=5;md5=4d6588c2fa0d38ae162f6314d201d89e" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MARSCHAP/perl-ldap-${PV}.tar.gz; + +SRC_URI[md5sum] = "d057c8db76913d95c0e460c7bdd98b27" +SRC_URI[sha256sum] = "5f57dd261dc16ebf942a272ddafe69526598df71151a51916edc37a4f2f23834" + +S = "${WORKDIR}/perl-ldap-${PV}" + +inherit cpan + +do_configure_prepend() { +perl -pi -e 's/auto_install_now.*//g' Makefile.PL +} + +RDEPENDS_${PN} = "perl \ +libconvert-asn1-perl \ +libio-socket-ssl-perl \ +libauthen-sasl-perl \ +" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 2/8 v2] freeradius: add new recipe
From: Jackie HuangFreeRADIUS is an Internet authentication daemon, which implements the RADIUS protocol, as defined in RFC 2865 (and others). Signed-off-by: Jackie Huang --- .../freeradius/files/freeradius| 110 ++ .../freeradius-avoid-searching-host-dirs.patch | 194 + ...radius-configure.ac-add-option-for-libcap.patch | 70 ++ ...dius-configure.ac-allow-cross-compilation.patch | 31 +++ .../files/freeradius-enble-user-in-conf.patch | 28 +++ ...eeradius-fix-error-for-expansion-of-macro.patch | 61 ++ ...ius-fix-issues-related-to-m4-include-path.patch | 236 + .../freeradius-fix-quoting-for-BUILT_WITH.patch| 55 + .../files/freeradius-libtool-detection.patch | 89 .../freeradius-libtool-do-not-use-jlibtool.patch | 160 ++ .../freeradius-rlm_python-add-PY_INC_DIR.patch | 33 +++ .../freeradius/files/radiusd-volatiles.conf| 2 + .../freeradius/files/radiusd.service | 16 ++ .../freeradius/files/volatiles.58_radiusd | 3 + .../freeradius/freeradius_3.0.12.bb| 223 +++ 15 files changed, 1311 insertions(+) create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-avoid-searching-host-dirs.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-configure.ac-add-option-for-libcap.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-configure.ac-allow-cross-compilation.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-enble-user-in-conf.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-fix-error-for-expansion-of-macro.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-fix-issues-related-to-m4-include-path.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-fix-quoting-for-BUILT_WITH.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-libtool-detection.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-libtool-do-not-use-jlibtool.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-rlm_python-add-PY_INC_DIR.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/radiusd-volatiles.conf create mode 100644 meta-networking/recipes-connectivity/freeradius/files/radiusd.service create mode 100644 meta-networking/recipes-connectivity/freeradius/files/volatiles.58_radiusd create mode 100644 meta-networking/recipes-connectivity/freeradius/freeradius_3.0.12.bb diff --git a/meta-networking/recipes-connectivity/freeradius/files/freeradius b/meta-networking/recipes-connectivity/freeradius/files/freeradius new file mode 100644 index 0..fa412e2aa --- /dev/null +++ b/meta-networking/recipes-connectivity/freeradius/files/freeradius @@ -0,0 +1,110 @@ +#!/bin/sh +# Start/stop the FreeRADIUS daemon. + +### BEGIN INIT INFO +# Provides: freeradius +# Required-Start:$remote_fs $network $syslog +# Should-Start: $time mysql slapd postgresql samba krb5-kdc +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Radius Daemon +# Description: Extensible, configurable radius daemon +### END INIT INFO + +set -e + +# Source function library. +. /etc/init.d/functions + +if [ -f /lib/lsb/init-functions ]; then + . /lib/lsb/init-functions +fi + +PROG="radiusd" +PROGRAM="/usr/sbin/radiusd" +PIDFILE="/var/run/radiusd/radiusd.pid" +DESCR="FreeRADIUS daemon" + +if [ -r /etc/default/$PROG ]; then + . /etc/default/$PROG +fi + +test -f $PROGRAM || exit 0 + +check_certs() { + if [ ! -f /etc/raddb/certs/server.pem ]; then + echo -n "Creating certificates for freeradius..." + if sudo -u radiusd /etc/raddb/certs/bootstrap 1> /dev/null 2> /dev/null; then + echo "done" + else + echo "failed!" + fi + fi + +} + +# /var/run may be a tmpfs +if [ ! -d /var/run/radiusd ]; then + mkdir -p /var/run/radiusd + chown radiusd:radiusd /var/run/radiusd +fi + +if [ ! -d /var/log/radius ]; then + mkdir -p /var/log/radius + touch /var/log/radius/radius.log + chown radiusd:radiusd /var/run/radius +fi + +if [ ! -f ${PIDFILE} ]; then + touch ${PIDFILE} + chown radiusd:radiusd ${PIDFILE} +fi + +export PATH="${PATH:+$PATH:}/usr/sbin:/sbin" + +ret=0 + +case "$1" in +start) + check_certs +echo -n "Starting $DESCR" "$PROG" +start-stop-daemon --start --quiet
[oe] [meta-networking][PATCH 1/8 v2] openhpi: add new recipe
From: Jackie HuangOpenHPI is an open source project created with the intent of providing an implementation of the SA Forum's Hardware Platform Interface (HPI). Signed-off-by: Jackie Huang --- .../files/openhpi-add-libnetsnmp-when-link.patch | 25 +++ .../files/openhpi-fix-alignment-issue.patch| 23 +++ .../openhpi/files/openhpi-fix-host-gcc.patch | 24 +++ .../files/openhpi-fix-testfail-errors.patch| 31 +++ .../openhpi/files/openhpi-glib-cross-compile.patch | 33 +++ .../files/openhpi-hpi-shell-thread-fix.patch | 29 +++ .../openhpi/files/openhpi-invalide-session.patch | 21 ++ .../files/openhpi-libxml2-cross-compile.patch | 21 ++ .../openhpi/files/openhpi-linkfix.patch| 33 +++ .../files/openhpi-netsnmp-cross-compile.patch | 48 + .../files/openhpi-sysfs-cross-compile.patch| 23 +++ ...i-use-serial-tests-config-needed-by-ptest.patch | 31 +++ .../recipes-daemons/openhpi/files/openhpi.init | 230 + .../recipes-daemons/openhpi/files/openhpid.service | 11 + .../recipes-daemons/openhpi/files/run-ptest| 5 + .../recipes-daemons/openhpi/openhpi_3.6.1.bb | 109 ++ 16 files changed, 697 insertions(+) create mode 100644 meta-networking/recipes-daemons/openhpi/files/openhpi-add-libnetsnmp-when-link.patch create mode 100644 meta-networking/recipes-daemons/openhpi/files/openhpi-fix-alignment-issue.patch create mode 100644 meta-networking/recipes-daemons/openhpi/files/openhpi-fix-host-gcc.patch create mode 100644 meta-networking/recipes-daemons/openhpi/files/openhpi-fix-testfail-errors.patch create mode 100644 meta-networking/recipes-daemons/openhpi/files/openhpi-glib-cross-compile.patch create mode 100644 meta-networking/recipes-daemons/openhpi/files/openhpi-hpi-shell-thread-fix.patch create mode 100644 meta-networking/recipes-daemons/openhpi/files/openhpi-invalide-session.patch create mode 100644 meta-networking/recipes-daemons/openhpi/files/openhpi-libxml2-cross-compile.patch create mode 100644 meta-networking/recipes-daemons/openhpi/files/openhpi-linkfix.patch create mode 100644 meta-networking/recipes-daemons/openhpi/files/openhpi-netsnmp-cross-compile.patch create mode 100644 meta-networking/recipes-daemons/openhpi/files/openhpi-sysfs-cross-compile.patch create mode 100644 meta-networking/recipes-daemons/openhpi/files/openhpi-use-serial-tests-config-needed-by-ptest.patch create mode 100755 meta-networking/recipes-daemons/openhpi/files/openhpi.init create mode 100644 meta-networking/recipes-daemons/openhpi/files/openhpid.service create mode 100755 meta-networking/recipes-daemons/openhpi/files/run-ptest create mode 100644 meta-networking/recipes-daemons/openhpi/openhpi_3.6.1.bb diff --git a/meta-networking/recipes-daemons/openhpi/files/openhpi-add-libnetsnmp-when-link.patch b/meta-networking/recipes-daemons/openhpi/files/openhpi-add-libnetsnmp-when-link.patch new file mode 100644 index 0..4644910b7 --- /dev/null +++ b/meta-networking/recipes-daemons/openhpi/files/openhpi-add-libnetsnmp-when-link.patch @@ -0,0 +1,25 @@ +[PATCH] add libnetsnmp when link + +Upstream-Status: Pending + +Signed-off-by: Roy Li +--- + plugins/snmp_bc/t/Makefile.am |2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/plugins/snmp_bc/t/Makefile.am b/plugins/snmp_bc/t/Makefile.am +index 57e77ac..9894620 100644 +--- a/plugins/snmp_bc/t/Makefile.am b/plugins/snmp_bc/t/Makefile.am +@@ -74,7 +74,7 @@ nodist_libsnmp_bc_la_SOURCES = $(GENERATED_EVENT_CODE) $(REMOTE_SIM_SOURCES) + # libopenhpi_la_LIBADD= $(top_builddir)/utils/libopenhpiutils.la + # libopenhpi_la_LDFLAGS = -L$(top_builddir)/utils -version-info @HPI_LIB_VERSION@ -export-symbols $(top_srcdir)/src/hpi.sym + +-libsnmp_bc_la_LIBADD = -luuid @SNMPLIBS@ $(top_builddir)/utils/libopenhpiutils.la ++libsnmp_bc_la_LIBADD = -luuid @SNMPLIBS@ $(top_builddir)/utils/libopenhpiutils.la -lnetsnmp + libsnmp_bc_la_LDFLAGS = -L$(top_builddir)/utils -module -version-info @HPI_LIB_VERSION@ + # libsnmp_bc_la_LDFLAGS = -version 0:0:0 + +-- +1.7.10.4 + diff --git a/meta-networking/recipes-daemons/openhpi/files/openhpi-fix-alignment-issue.patch b/meta-networking/recipes-daemons/openhpi/files/openhpi-fix-alignment-issue.patch new file mode 100644 index 0..077e26cbf --- /dev/null +++ b/meta-networking/recipes-daemons/openhpi/files/openhpi-fix-alignment-issue.patch @@ -0,0 +1,23 @@ +Fix alignment issue in ipmi_inventory.c + +Upstream-Status: Pending + +Signed-of-by: Aws Ismail + +diff --git a/plugins/ipmi/ipmi_inventory.c b/plugins/ipmi/ipmi_inventory.c +index 5382186..01655c6 100644 +--- a/plugins/ipmi/ipmi_inventory.c b/plugins/ipmi/ipmi_inventory.c +@@ -2546,8 +2546,11 @@ static SaErrorT modify_inventory(SaHpiIdrFieldT *field, + if (tb->DataLength
[oe] [PATCH 0/8 v2] ipmi/hpi/radius: add new recipes and related packages
From: Jackie Huangv2 comments: For PATCH 1/8: use BPN and BP instead and remove the definition for S. --- The following changes since commit 444e1fb198076f34a0fa66e83f3eec76efba2e6c: php: remove PNBLACKLIST (2017-04-18 14:21:53 +0200) are available in the git repository at: git://git.pokylinux.org/poky-contrib.git jhuang0/r_upstream-perl-ipmi-hpi_170426-1 http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/r_upstream-perl-ipmi-hpi_170426-1 Jackie Huang (8): openhpi: add new recipe freeradius: add new recipe libnet-ldap-perl: add new recipe libdata-hexdump-perl: add new recipe libnet-telnet-perl: add new recipe libauthen-radius-perl: add new recipe openipmi: add new recipe ipmitool: add new recipe .../freeradius/files/freeradius| 110 + .../freeradius-avoid-searching-host-dirs.patch | 194 ...radius-configure.ac-add-option-for-libcap.patch | 70 +++ ...dius-configure.ac-allow-cross-compilation.patch | 31 ++ .../files/freeradius-enble-user-in-conf.patch | 28 ++ ...eeradius-fix-error-for-expansion-of-macro.patch | 61 +++ ...ius-fix-issues-related-to-m4-include-path.patch | 236 ++ .../freeradius-fix-quoting-for-BUILT_WITH.patch| 55 +++ .../files/freeradius-libtool-detection.patch | 89 .../freeradius-libtool-do-not-use-jlibtool.patch | 160 +++ .../freeradius-rlm_python-add-PY_INC_DIR.patch | 33 ++ .../freeradius/files/radiusd-volatiles.conf| 2 + .../freeradius/files/radiusd.service | 16 + .../freeradius/files/volatiles.58_radiusd | 3 + .../freeradius/freeradius_3.0.12.bb| 223 + .../files/openhpi-add-libnetsnmp-when-link.patch | 25 + .../files/openhpi-fix-alignment-issue.patch| 23 + .../openhpi/files/openhpi-fix-host-gcc.patch | 24 + .../files/openhpi-fix-testfail-errors.patch| 31 ++ .../openhpi/files/openhpi-glib-cross-compile.patch | 33 ++ .../files/openhpi-hpi-shell-thread-fix.patch | 29 ++ .../openhpi/files/openhpi-invalide-session.patch | 21 + .../files/openhpi-libxml2-cross-compile.patch | 21 + .../openhpi/files/openhpi-linkfix.patch| 33 ++ .../files/openhpi-netsnmp-cross-compile.patch | 48 ++ .../files/openhpi-sysfs-cross-compile.patch| 23 + ...i-use-serial-tests-config-needed-by-ptest.patch | 31 ++ .../recipes-daemons/openhpi/files/openhpi.init | 230 + .../recipes-daemons/openhpi/files/openhpid.service | 11 + .../recipes-daemons/openhpi/files/run-ptest| 5 + .../recipes-daemons/openhpi/openhpi_3.6.1.bb | 109 + .../recipes-support/ipmitool/ipmitool_1.8.18.bb| 36 ++ .../files/do-not-install-pyc-and-pyo.patch | 25 + .../fix-symlink-install-error-in-cmdlang.patch | 22 + .../files/ipmi-init-fix-the-arguments.patch| 41 ++ .../recipes-support/openipmi/files/ipmi.service| 12 + .../openipmi/files/makefile-add-ldflags.patch | 19 + .../openipmi/files/openipmi-don-t-rm-.libs.patch | 32 ++ .../recipes-support/openipmi/files/openipmi-helper | 512 + .../files/openipmi-no-openipmigui-man.patch| 26 ++ ...openipmi-remove-host-path-from-la_LDFLAGS.patch | 85 .../recipes-support/openipmi/openipmi_2.0.22.bb| 111 + .../libauthen/libauthen-radius-perl/run-ptest | 21 + .../test.pl-adjust-for-ptest.patch | 90 .../libauthen/libauthen-radius-perl_0.22.bb| 39 ++ meta-perl/recipes-perl/libdata/files/run-ptest | 16 + .../libdata/libdata-hexdump-perl_0.02.bb | 33 ++ .../recipes-perl/libnet/libnet-ldap-perl_0.65.bb | 29 ++ .../recipes-perl/libnet/libnet-telnet-perl_3.04.bb | 25 + 49 files changed, 3182 insertions(+) create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-avoid-searching-host-dirs.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-configure.ac-add-option-for-libcap.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-configure.ac-allow-cross-compilation.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-enble-user-in-conf.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-fix-error-for-expansion-of-macro.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-fix-issues-related-to-m4-include-path.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-fix-quoting-for-BUILT_WITH.patch create mode 100644 meta-networking/recipes-connectivity/freeradius/files/freeradius-libtool-detection.patch create mode 100644
[oe] [meta-oe][PATCH 8/8] ipmitool: add new recipe
From: Jackie HuangUtility for IPMI control which is for interfacing with devices that support the Intelligent Platform Management Interface specification. Signed-off-by: Jackie Huang --- .../recipes-support/ipmitool/ipmitool_1.8.18.bb| 36 ++ 1 file changed, 36 insertions(+) create mode 100644 meta-oe/recipes-support/ipmitool/ipmitool_1.8.18.bb diff --git a/meta-oe/recipes-support/ipmitool/ipmitool_1.8.18.bb b/meta-oe/recipes-support/ipmitool/ipmitool_1.8.18.bb new file mode 100644 index 0..9f73d2799 --- /dev/null +++ b/meta-oe/recipes-support/ipmitool/ipmitool_1.8.18.bb @@ -0,0 +1,36 @@ +SUMMARY = "Utility for IPMI control" +DESCRIPTION = "This package contains a utility for interfacing with devices that support \ +the Intelligent Platform Management Interface specification. IPMI is \ +an open standard for machine health, inventory, and remote power control. \ +\ +This utility can communicate with IPMI-enabled devices through either a \ +kernel driver such as OpenIPMI or over the RMCP LAN protocol defined in \ +the IPMI specification. IPMIv2 adds support for encrypted LAN \ +communications and remote Serial-over-LAN functionality. \ +\ +It provides commands for reading the Sensor Data Repository (SDR) and \ +displaying sensor values, displaying the contents of the System Event \ +Log (SEL), printing Field Replaceable Unit (FRU) information, reading and \ +setting LAN configuration, and chassis power control. \ +" + +HOMEPAGE = "http://ipmitool.sourceforge.net/; +SECTION = "kernel/userland" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://COPYING;md5=9aa91e13d644326bf281924212862184" + +DEPENDS = "openssl readline ncurses" + +SRC_URI = "${SOURCEFORGE_MIRROR}/ipmitool/ipmitool-${PV}.tar.bz2" +SRC_URI[md5sum] = "bab7ea104c7b85529c3ef65c54427aa3" +SRC_URI[sha256sum] = "0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01" + +inherit autotools + +# --disable-dependency-tracking speeds up the build +# --enable-file-security adds some security checks +# --disable-intf-free disables FreeIPMI support - we don't want to depend on +# FreeIPMI libraries, FreeIPMI has its own ipmitoool-like utility. +# +EXTRA_OECONF = "--disable-dependency-tracking --enable-file-security --disable-intf-free" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 7/8] openipmi: add new recipe
From: Jackie HuangOpenIPMI is an effort to create a full-function IPMI system to allow full access to all IPMI information on a server and to abstract it to a level that will make it easy to use. Signed-off-by: Jackie Huang --- .../files/do-not-install-pyc-and-pyo.patch | 25 + .../fix-symlink-install-error-in-cmdlang.patch | 22 + .../files/ipmi-init-fix-the-arguments.patch| 41 ++ .../recipes-support/openipmi/files/ipmi.service| 12 + .../openipmi/files/makefile-add-ldflags.patch | 19 + .../openipmi/files/openipmi-don-t-rm-.libs.patch | 32 ++ .../recipes-support/openipmi/files/openipmi-helper | 512 + .../files/openipmi-no-openipmigui-man.patch| 26 ++ ...openipmi-remove-host-path-from-la_LDFLAGS.patch | 85 .../recipes-support/openipmi/openipmi_2.0.22.bb| 111 + 10 files changed, 885 insertions(+) create mode 100644 meta-oe/recipes-support/openipmi/files/do-not-install-pyc-and-pyo.patch create mode 100644 meta-oe/recipes-support/openipmi/files/fix-symlink-install-error-in-cmdlang.patch create mode 100644 meta-oe/recipes-support/openipmi/files/ipmi-init-fix-the-arguments.patch create mode 100644 meta-oe/recipes-support/openipmi/files/ipmi.service create mode 100644 meta-oe/recipes-support/openipmi/files/makefile-add-ldflags.patch create mode 100644 meta-oe/recipes-support/openipmi/files/openipmi-don-t-rm-.libs.patch create mode 100755 meta-oe/recipes-support/openipmi/files/openipmi-helper create mode 100644 meta-oe/recipes-support/openipmi/files/openipmi-no-openipmigui-man.patch create mode 100644 meta-oe/recipes-support/openipmi/files/openipmi-remove-host-path-from-la_LDFLAGS.patch create mode 100644 meta-oe/recipes-support/openipmi/openipmi_2.0.22.bb diff --git a/meta-oe/recipes-support/openipmi/files/do-not-install-pyc-and-pyo.patch b/meta-oe/recipes-support/openipmi/files/do-not-install-pyc-and-pyo.patch new file mode 100644 index 0..d4e02be45 --- /dev/null +++ b/meta-oe/recipes-support/openipmi/files/do-not-install-pyc-and-pyo.patch @@ -0,0 +1,25 @@ +Do not install pyc and pyo for python module + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Yi Zhao +--- + swig/python/Makefile.am | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/swig/python/Makefile.am b/swig/python/Makefile.am +index da95a81..97a62bf 100644 +--- a/swig/python/Makefile.am b/swig/python/Makefile.am +@@ -33,8 +33,6 @@ CLEANFILES = OpenIPMI_wrap.c OpenIPMI.py OpenIPMI.pyo OpenIPMI.pyc + install-exec-local: _OpenIPMI.la OpenIPMI.py OpenIPMI.pyc OpenIPMI.pyo + $(INSTALL) -d $(DESTDIR)$(PYTHON_INSTALL_DIR) + $(INSTALL_DATA) OpenIPMI.py "$(DESTDIR)$(PYTHON_INSTALL_DIR)" +- $(INSTALL_DATA) OpenIPMI.pyc "$(DESTDIR)$(PYTHON_INSTALL_DIR)" +- $(INSTALL_DATA) OpenIPMI.pyo "$(DESTDIR)$(PYTHON_INSTALL_DIR)" + if test "x$(PYTHON_GUI_DIR)" = "xopenipmigui"; then \ + $(INSTALL) -d $(DESTDIR)$(bindir); \ + $(INSTALL_SCRIPT) $(srcdir)/openipmigui.py "$(DESTDIR)$(bindir)/openipmigui";\ +-- +1.9.1 + diff --git a/meta-oe/recipes-support/openipmi/files/fix-symlink-install-error-in-cmdlang.patch b/meta-oe/recipes-support/openipmi/files/fix-symlink-install-error-in-cmdlang.patch new file mode 100644 index 0..9a568b2b2 --- /dev/null +++ b/meta-oe/recipes-support/openipmi/files/fix-symlink-install-error-in-cmdlang.patch @@ -0,0 +1,22 @@ +Author: Aws Ismail +Date: Thu Jun 7 16:00:13 2012 -0400 + +This patch fixes the error during the install stage when +creating a symbolic link for opeipmish in openipmi/cmdlang + +Upstream-Status: Pending + +Signed-off-by: Aws Ismail + +diff --git a/cmdlang/Makefile.am b/cmdlang/Makefile.am +index 92d6e83..f6039f9 100644 +--- a/cmdlang/Makefile.am b/cmdlang/Makefile.am +@@ -36,6 +36,7 @@ CLEANFILES = libOpenIPMIcmdlang.map + # compatability. + install-data-local: + rm -f $(DESTDIR)$(bindir)/ipmish ++ mkdir -p $(DESTDIR)$(bindir)/ + $(LN_S) openipmish $(DESTDIR)$(bindir)/ipmish + + uninstall-local: diff --git a/meta-oe/recipes-support/openipmi/files/ipmi-init-fix-the-arguments.patch b/meta-oe/recipes-support/openipmi/files/ipmi-init-fix-the-arguments.patch new file mode 100644 index 0..51a398ba5 --- /dev/null +++ b/meta-oe/recipes-support/openipmi/files/ipmi-init-fix-the-arguments.patch @@ -0,0 +1,41 @@ +Subject: [PATCH] ipmi-init: fix the arguments + +The functions success/failure/warning defined in /etc/init.d/functions +(provided by initscripts) only accepts numeric argument as return code, +not a string. + +Upstream-Status: Inappropriate [OE specific] + +Signed-off-by: Jackie Huang +--- + ipmi.init | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/ipmi.init b/ipmi.init
[oe] [meta-perl][PATCH 6/8] libauthen-radius-perl: add new recipe
From: Jackie HuangThe Authen::Radius module provides a simple class that allows you to send/receive Radius requests/responses to/from a Radius server. Signed-off-by: Jackie Huang --- .../libauthen/libauthen-radius-perl/run-ptest | 21 + .../test.pl-adjust-for-ptest.patch | 90 ++ .../libauthen/libauthen-radius-perl_0.22.bb| 39 ++ 3 files changed, 150 insertions(+) create mode 100644 meta-perl/recipes-perl/libauthen/libauthen-radius-perl/run-ptest create mode 100644 meta-perl/recipes-perl/libauthen/libauthen-radius-perl/test.pl-adjust-for-ptest.patch create mode 100644 meta-perl/recipes-perl/libauthen/libauthen-radius-perl_0.22.bb diff --git a/meta-perl/recipes-perl/libauthen/libauthen-radius-perl/run-ptest b/meta-perl/recipes-perl/libauthen/libauthen-radius-perl/run-ptest new file mode 100644 index 0..f1c833e6c --- /dev/null +++ b/meta-perl/recipes-perl/libauthen/libauthen-radius-perl/run-ptest @@ -0,0 +1,21 @@ +#!/bin/sh +# + +# prepare testing config +CONF_USERS=`readlink -f /etc/raddb/users` +mv ${CONF_USERS} ${CONF_USERS}_orig +echo "testing Cleartext-Password := \"testpassword\"" > ${CONF_USERS} +cat ${CONF_USERS}_orig >> ${CONF_USERS} + +# restart radiusd server +systemctl restart radiusd || /etc/init.d/radiusd restart || { +echo "FAIL: Start radiusd service." +exit 1 +} + +# run teests +perl test.pl + +# restore the config and restart +mv ${CONF_USERS}_orig ${CONF_USERS} +systemctl restart radiusd || /etc/init.d/radiusd restart diff --git a/meta-perl/recipes-perl/libauthen/libauthen-radius-perl/test.pl-adjust-for-ptest.patch b/meta-perl/recipes-perl/libauthen/libauthen-radius-perl/test.pl-adjust-for-ptest.patch new file mode 100644 index 0..9798af497 --- /dev/null +++ b/meta-perl/recipes-perl/libauthen/libauthen-radius-perl/test.pl-adjust-for-ptest.patch @@ -0,0 +1,90 @@ +From 829302792bf0e4935d29efc23ca1f2e9e7ee7dfd Mon Sep 17 00:00:00 2001 +From: Jackie Huang +Date: Thu, 7 Jan 2016 03:12:38 -0500 +Subject: [PATCH] test.pl: adjust for ptest + +* Don't use interactive inputs, set default test + settings instead. +* Change the test results output to the ptest format + +Upstream-Status: Inappropriate [OE ptest specific] + +Signed-off-by: Jackie Huang +--- + test.pl | 31 ++- + 1 file changed, 18 insertions(+), 13 deletions(-) + +diff --git a/test.pl b/test.pl +index cfd1c1e..9b4f10e 100644 +--- a/test.pl b/test.pl +@@ -7,11 +7,11 @@ + # Change 1..1 below to 1..last_test_to_print . + # (It may become useful if the test is moved to ./t subdirectory.) + +-BEGIN {print "1..5\n";} +-END {print "not ok 1\n" unless $loaded;} ++BEGIN {print "Start testing for libauthen-radius-perl\n";} ++END {print "\nFAIL: test1\n" unless $loaded;} + use Authen::Radius; + $loaded = 1; +-print "ok 1\n"; ++print "\nPASS: test1\n"; + + # End of black magic. + +@@ -19,26 +19,31 @@ print "ok 1\n"; + # (correspondingly "not ok 13") depending on the success of chunk 13 + # of the test code): + ++$host = "127.0.0.1"; ++$secret = "testing123"; ++$user = "testing"; ++$pwd = "testpassword"; ++ + print "Make sure this machine is in your Radius clients file!\n"; +-print "Enter hostname[:port] of your Radius server: "; chomp ($host = ); +-print "Enter shared-secret of your Radius server: "; chomp ($secret = ); +-print "Enter a username to be validated: "; chomp ($user = ); +-print "Enter this user's password: "; chomp ($pwd = ); ++print "hostname of your Radius server: $host\n"; ++print "shared-secret of your Radius server: $secret\n"; ++print "The username to be validated: $user\n"; ++print "The user's password: $pwd\n"; + + $t = 2; + if ($host ne '') { + $r = new Authen::Radius(Host => $host, Secret => $secret, Debug => 1); +- print defined($r) ? "" : "not ", "ok $t\n"; $t++; ++ print defined($r) ? "\nPASS: test$t\n" : "\nFAIL: test$t\n"; $t++; + #Authen::Radius->load_dictionary; +- print $r->check_pwd($user, $pwd) ? "" : "not ", "ok $t\n"; $t++; ++ print $r->check_pwd($user, $pwd) ? "\nPASS: test$t\n" : "\nFAIL: test$t\n"; $t++; + @a = $r->get_attributes; +- print $#a != -1 ? "" : "not ", "ok $t\n"; $t++; ++ print $#a != -1 ? "\nPASS: test$t\n" : "\nFAIL: test$t\n"; $t++; + #for $a (@a) { + # print "attr: name=$a->{'Name'} value=$a->{'Value'}\n"; + #} + } else { + foreach my $t (2..4) { +- print "skipped $t\n"; ++ print "\nSKIP test$t\n"; + } + } + +@@ -53,9 +58,9 @@ my $data = "what do ya want for nothing?"; + my $etalon_digest = hex_to_ascii("750c783e6ab0b503eaa86e310a5db738"); + my $digest = Authen::Radius::hmac_md5(undef, $data, $key); + if ($etalon_digest eq $digest) { +- print "ok 5\n"; ++ print "\nPASS: test5\n"; + } else {