All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] bind update req. new pkg in core
@ 2018-05-21 19:43 Armin Kuster
  2018-05-21 19:43 ` [PATCH 1/2] bind: update to 9.12.1 Armin Kuster
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Armin Kuster @ 2018-05-21 19:43 UTC (permalink / raw)
  To: akuster, openembedded-core

With this update, the python-ply package is required.
I copied the one from meta-python to core. Once this hits master,
I will send a patch to remove the same recipe from
meta-python.

Armin Kuster (2):
  bind: update to 9.12.1
  python3-ply: add package needed by bind 9.12 update

 ...0001-build-use-pkg-config-to-find-libxml2.patch | 13 +++---
 ...-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch | 13 +++---
 .../0001-lib-dns-gen.c-fix-too-long-error.patch    | 13 +++---
 .../bind/bind/bind-confgen-build-unix.o-once.patch | 48 ----------------------
 ...-searching-for-json-headers-searches-sysr.patch | 13 +++---
 .../bind/bind/dont-test-on-host.patch              | 17 --------
 .../use-python3-and-fix-install-lib-path.patch     | 36 ----------------
 .../bind/{bind_9.10.6.bb => bind_9.12.1.bb}        | 21 ++++------
 meta/recipes-devtools/python/python-ply.inc        | 18 ++++++++
 meta/recipes-devtools/python/python-ply_3.11.bb    |  2 +
 10 files changed, 49 insertions(+), 145 deletions(-)
 delete mode 100644 meta/recipes-connectivity/bind/bind/bind-confgen-build-unix.o-once.patch
 delete mode 100644 meta/recipes-connectivity/bind/bind/dont-test-on-host.patch
 delete mode 100644 meta/recipes-connectivity/bind/bind/use-python3-and-fix-install-lib-path.patch
 rename meta/recipes-connectivity/bind/{bind_9.10.6.bb => bind_9.12.1.bb} (86%)
 create mode 100644 meta/recipes-devtools/python/python-ply.inc
 create mode 100644 meta/recipes-devtools/python/python-ply_3.11.bb

-- 
2.7.4



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/2] bind: update to 9.12.1
  2018-05-21 19:43 [PATCH 0/2] bind update req. new pkg in core Armin Kuster
@ 2018-05-21 19:43 ` Armin Kuster
  2018-05-21 19:43 ` [PATCH 2/2] python3-ply: add package needed by bind 9.12 update Armin Kuster
  2018-05-22  1:06 ` [PATCH 0/2] bind update req. new pkg in core Khem Raj
  2 siblings, 0 replies; 8+ messages in thread
From: Armin Kuster @ 2018-05-21 19:43 UTC (permalink / raw)
  To: akuster, openembedded-core

LIC_FILES_CHKSUM changed do to updated year
Requires python-ply package in core

removed:
dont-test-on-host.patch, no longer impliemented
drop use-python3-and-fix-install-lib-path.patch, they added the ability to pass in lib dir loctions
drop bind-confgen-build-unix.o-once.patch, fix included in update

Refresh other patches:
add python3 flag for PACKAGECONFIG to pull in python
add new config option --with-eddsa=

Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 ...0001-build-use-pkg-config-to-find-libxml2.patch | 13 +++---
 ...-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch | 13 +++---
 .../0001-lib-dns-gen.c-fix-too-long-error.patch    | 13 +++---
 .../bind/bind/bind-confgen-build-unix.o-once.patch | 48 ----------------------
 ...-searching-for-json-headers-searches-sysr.patch | 13 +++---
 .../bind/bind/dont-test-on-host.patch              | 17 --------
 .../use-python3-and-fix-install-lib-path.patch     | 36 ----------------
 .../bind/{bind_9.10.6.bb => bind_9.12.1.bb}        | 21 ++++------
 8 files changed, 29 insertions(+), 145 deletions(-)
 delete mode 100644 meta/recipes-connectivity/bind/bind/bind-confgen-build-unix.o-once.patch
 delete mode 100644 meta/recipes-connectivity/bind/bind/dont-test-on-host.patch
 delete mode 100644 meta/recipes-connectivity/bind/bind/use-python3-and-fix-install-lib-path.patch
 rename meta/recipes-connectivity/bind/{bind_9.10.6.bb => bind_9.12.1.bb} (86%)

diff --git a/meta/recipes-connectivity/bind/bind/0001-build-use-pkg-config-to-find-libxml2.patch b/meta/recipes-connectivity/bind/bind/0001-build-use-pkg-config-to-find-libxml2.patch
index 1e23c0f..6d73e18 100644
--- a/meta/recipes-connectivity/bind/bind/0001-build-use-pkg-config-to-find-libxml2.patch
+++ b/meta/recipes-connectivity/bind/bind/0001-build-use-pkg-config-to-find-libxml2.patch
@@ -15,11 +15,11 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com>
  configure.in | 23 +++--------------------
  1 file changed, 3 insertions(+), 20 deletions(-)
 
-diff --git a/configure.in b/configure.in
-index 4da73a4..6f2a754 100644
---- a/configure.in
-+++ b/configure.in
-@@ -2282,26 +2282,9 @@ case "$use_libxml2" in
+Index: bind-9.12.1/configure.in
+===================================================================
+--- bind-9.12.1.orig/configure.in
++++ bind-9.12.1/configure.in
+@@ -2569,26 +2569,9 @@ case "$use_libxml2" in
  		DST_LIBXML2_INC=""
  		;;
  	auto|yes)
@@ -49,6 +49,3 @@ index 4da73a4..6f2a754 100644
  		fi
  		;;
  esac
--- 
-2.1.4
-
diff --git a/meta/recipes-connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch b/meta/recipes-connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch
index 1215093..9d87303 100644
--- a/meta/recipes-connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch
+++ b/meta/recipes-connectivity/bind/bind/0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch
@@ -7,11 +7,11 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
  lib/dns/gen.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/lib/dns/gen.c b/lib/dns/gen.c
-index 7a7dafb..51a0435 100644
---- a/lib/dns/gen.c
-+++ b/lib/dns/gen.c
-@@ -148,7 +148,7 @@ static const char copyright[] =
+Index: bind-9.12.1/lib/dns/gen.c
+===================================================================
+--- bind-9.12.1.orig/lib/dns/gen.c
++++ bind-9.12.1/lib/dns/gen.c
+@@ -130,7 +130,7 @@ static const char copyright[] =
  #define TYPECLASSBUF (TYPECLASSLEN + 1)
  #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d"
  #define ATTRIBUTESIZE 256
@@ -20,6 +20,3 @@ index 7a7dafb..51a0435 100644
  
  static struct cc {
  	struct cc *next;
--- 
-1.9.1
-
diff --git a/meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch b/meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch
index 1ed858c..1e34746 100644
--- a/meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch
+++ b/meta/recipes-connectivity/bind/bind/0001-lib-dns-gen.c-fix-too-long-error.patch
@@ -13,11 +13,11 @@ Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
  lib/dns/gen.c |    4 ++++
  1 file changed, 4 insertions(+)
 
-diff --git a/lib/dns/gen.c b/lib/dns/gen.c
-index 51a0435..3d7214f 100644
---- a/lib/dns/gen.c
-+++ b/lib/dns/gen.c
-@@ -148,7 +148,11 @@ static const char copyright[] =
+Index: bind-9.12.1/lib/dns/gen.c
+===================================================================
+--- bind-9.12.1.orig/lib/dns/gen.c
++++ bind-9.12.1/lib/dns/gen.c
+@@ -130,7 +130,11 @@ static const char copyright[] =
  #define TYPECLASSBUF (TYPECLASSLEN + 1)
  #define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d"
  #define ATTRIBUTESIZE 256
@@ -29,6 +29,3 @@ index 51a0435..3d7214f 100644
  
  static struct cc {
  	struct cc *next;
--- 
-1.7.9.5
-
diff --git a/meta/recipes-connectivity/bind/bind/bind-confgen-build-unix.o-once.patch b/meta/recipes-connectivity/bind/bind/bind-confgen-build-unix.o-once.patch
deleted file mode 100644
index 8bc4ea3..0000000
--- a/meta/recipes-connectivity/bind/bind/bind-confgen-build-unix.o-once.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 9b40619ff6fddfef2758ba797789f8487f412df3 Mon Sep 17 00:00:00 2001
-From: Robert Yang <liezhi.yang@windriver.com>
-Date: Mon, 16 Feb 2015 00:50:01 -0800
-Subject: [PATCH] confgen: don't build unix.o twice
-
-Fixed:
-unix/os.o: file not recognized: File truncated
-collect2: error: ld returned 1 exit status
-
-This is because os.o was built twice:
-* The implicity rule (depends on unix/os.o)
-* The "make all" in unix subdir (depends on unix/os.o)
-
-Depend on subdirs which is unix only rather than unix/os.o will fix the
-problem.
-
-Upstream-Status: Pending
-
-Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-
-Update context(trailing whitespace) for version 9.10.5-P3.
-
-Signed-off-by: Kai Kang <kai.kang@windriver.com>
----
- bin/confgen/Makefile.in |    4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/bin/confgen/Makefile.in b/bin/confgen/Makefile.in
-index dca272f..02becce 100644
---- a/bin/confgen/Makefile.in
-+++ b/bin/confgen/Makefile.in
-@@ -74,11 +74,11 @@ rndc-confgen.@O@: rndc-confgen.c
- ddns-confgen.@O@: ddns-confgen.c
- 	${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} -c ${srcdir}/ddns-confgen.c
- 
--rndc-confgen@EXEEXT@: rndc-confgen.@O@ util.@O@ keygen.@O@ ${UOBJS} ${CONFDEPLIBS}
-+rndc-confgen@EXEEXT@: rndc-confgen.@O@ util.@O@ keygen.@O@ ${CONFDEPLIBS} $(SUBDIRS)
- 	export BASEOBJS="rndc-confgen.@O@ util.@O@ keygen.@O@ ${UOBJS}"; \
- 	${FINALBUILDCMD}
- 
--ddns-confgen@EXEEXT@: ddns-confgen.@O@ util.@O@ keygen.@O@ ${UOBJS} ${CONFDEPLIBS}
-+ddns-confgen@EXEEXT@: ddns-confgen.@O@ util.@O@ keygen.@O@ ${CONFDEPLIBS} $(SUBDIRS)
- 	export BASEOBJS="ddns-confgen.@O@ util.@O@ keygen.@O@ ${UOBJS}"; \
- 	${FINALBUILDCMD}
- 
--- 
-1.7.9.5
-
diff --git a/meta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch b/meta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch
index 13df3bb..55ed504 100644
--- a/meta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch
+++ b/meta/recipes-connectivity/bind/bind/bind-ensure-searching-for-json-headers-searches-sysr.patch
@@ -31,11 +31,11 @@ Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
  configure.in | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/configure.in b/configure.in
-index c9ef3a601343..17a1f613e9ac 100644
---- a/configure.in
-+++ b/configure.in
-@@ -2139,7 +2139,7 @@ case "$use_libjson" in
+Index: bind-9.12.1/configure.in
+===================================================================
+--- bind-9.12.1.orig/configure.in
++++ bind-9.12.1/configure.in
+@@ -2610,7 +2610,7 @@ case "$use_libjson" in
  		libjson_libs=""
  		;;
  	auto|yes)
@@ -44,6 +44,3 @@ index c9ef3a601343..17a1f613e9ac 100644
  		do
  			if test -f "${d}/include/json/json.h"
  			then
--- 
-2.4.2
-
diff --git a/meta/recipes-connectivity/bind/bind/dont-test-on-host.patch b/meta/recipes-connectivity/bind/bind/dont-test-on-host.patch
deleted file mode 100644
index b02ecb1..0000000
--- a/meta/recipes-connectivity/bind/bind/dont-test-on-host.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Upstream-Status: Pending
-
-Signed-off-by: Saul Wold <sgw@linux.intel.com>
-
-Index: bind-9.9.5/bin/Makefile.in
-===================================================================
---- bind-9.9.5.orig/bin/Makefile.in
-+++ bind-9.9.5/bin/Makefile.in
-@@ -19,7 +19,7 @@ srcdir =	@srcdir@
- VPATH =		@srcdir@
- top_srcdir =	@top_srcdir@
- 
--SUBDIRS =	named rndc dig delv dnssec tools tests nsupdate \
-+SUBDIRS =	named rndc dig delv dnssec tools nsupdate \
- 		check confgen @PYTHON_TOOLS@ @PKCS11_TOOLS@
- TARGETS =
- 
diff --git a/meta/recipes-connectivity/bind/bind/use-python3-and-fix-install-lib-path.patch b/meta/recipes-connectivity/bind/bind/use-python3-and-fix-install-lib-path.patch
deleted file mode 100644
index 9829f15..0000000
--- a/meta/recipes-connectivity/bind/bind/use-python3-and-fix-install-lib-path.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Use python3 rather default python which maybe links to python2 for oe. And add
-option for setup.py to install files to right directory.
-
-Upstream-Status: Inappropriate [OE specific]
-
-Signed-off-by: Kai Kang <kai.kang@windriver.com>
----
-diff --git a/bin/python/Makefile.in b/bin/python/Makefile.in
-index a43a3c1..2e727f2 100644
---- a/bin/python/Makefile.in
-+++ b/bin/python/Makefile.in
-@@ -55,9 +55,9 @@ install:: ${TARGETS} installdirs
- 	${INSTALL_DATA} ${srcdir}/dnssec-coverage.8 ${DESTDIR}${mandir}/man8
- 	if test -n "${PYTHON}" ; then \
- 		if test -n "${DESTDIR}" ; then \
--			${PYTHON} ${srcdir}/setup.py install --root=${DESTDIR} --prefix=${prefix} ; \
-+			${PYTHON} ${srcdir}/setup.py install --root=${DESTDIR} --prefix=${prefix} --install-lib=${PYTHON_SITEPACKAGES_DIR} ; \
- 		else \
--			${PYTHON} ${srcdir}/setup.py install --prefix=${prefix} ; \
-+			${PYTHON} ${srcdir}/setup.py install --prefix=${prefix} --install-lib=${PYTHON_SITEPACKAGES_DIR} ; \
- 		fi \
- 	fi
- 
-diff --git a/configure.in b/configure.in
-index 314bb90..867923e 100644
---- a/configure.in
-+++ b/configure.in
-@@ -227,7 +227,7 @@ AC_ARG_WITH(python,
- [  --with-python=PATH      specify path to python interpreter],
-     use_python="$withval", use_python="unspec")
- 
--python="python python3 python3.5 python3.4 python3.3 python3.2 python2 python2.7"
-+python="python3 python3.5 python3.4 python3.3 python3.2 python2 python2.7"
- 
- testargparse='try: import argparse
- except: exit(1)'
diff --git a/meta/recipes-connectivity/bind/bind_9.10.6.bb b/meta/recipes-connectivity/bind/bind_9.12.1.bb
similarity index 86%
rename from meta/recipes-connectivity/bind/bind_9.10.6.bb
rename to meta/recipes-connectivity/bind/bind_9.12.1.bb
index 20c8d7b..9bfe01a 100644
--- a/meta/recipes-connectivity/bind/bind_9.10.6.bb
+++ b/meta/recipes-connectivity/bind/bind_9.12.1.bb
@@ -3,28 +3,25 @@ HOMEPAGE = "http://www.isc.org/sw/bind/"
 SECTION = "console/network"
 
 LICENSE = "ISC & BSD"
-LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=dba46507446198119bcde32a4feaab43"
+LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=6ba7c9fe0c888a943c79c93e6de744fb"
 
-DEPENDS = "openssl libcap"
+DEPENDS = "openssl libcap zlib"
 
 SRC_URI = "https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.gz \
            file://conf.patch \
            file://make-etc-initd-bind-stop-work.patch \
-           file://dont-test-on-host.patch \
            file://generate-rndc-key.sh \
            file://named.service \
            file://bind9 \
            file://init.d-add-support-for-read-only-rootfs.patch \
-           file://bind-confgen-build-unix.o-once.patch \
            file://0001-build-use-pkg-config-to-find-libxml2.patch \
            file://bind-ensure-searching-for-json-headers-searches-sysr.patch \
            file://0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch \
            file://0001-lib-dns-gen.c-fix-too-long-error.patch \
-           file://use-python3-and-fix-install-lib-path.patch \
            "
 
-SRC_URI[md5sum] = "84e663284b17aee0df1ce6f248b137d7"
-SRC_URI[sha256sum] = "17bbcd2bd7b1d32f5ba4b30d5dbe8a39bce200079048073d1e0d050fdf47e69d"
+SRC_URI[md5sum] = "ec20f2d6aff50651296fad962d19ccfa"
+SRC_URI[sha256sum] = "16e446425c35e48b651ddf1171d2115ebf32b07670b652e1030a174038937510"
 
 UPSTREAM_CHECK_URI = "https://ftp.isc.org/isc/bind9/"
 UPSTREAM_CHECK_REGEX = "(?P<pver>9(\.\d+)+(-P\d+)*)/"
@@ -33,21 +30,22 @@ UPSTREAM_CHECK_REGEX = "(?P<pver>9(\.\d+)+(-P\d+)*)/"
 ENABLE_IPV6 = "--enable-ipv6=${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)}"
 EXTRA_OECONF = " ${ENABLE_IPV6} --with-libtool --enable-threads \
                  --disable-devpoll --enable-epoll --with-gost=no \
-                 --with-gssapi=no --with-ecdsa=yes \
+                 --with-gssapi=no --with-ecdsa=yes --with-eddsa=no\
                  --sysconfdir=${sysconfdir}/bind \
                  --with-openssl=${STAGING_DIR_HOST}${prefix} \
                "
 
-inherit autotools update-rc.d systemd useradd pkgconfig python3-dir
+inherit autotools update-rc.d systemd useradd pkgconfig python3native
 
 export PYTHON_SITEPACKAGES_DIR
 
 # PACKAGECONFIGs readline and libedit should NOT be set at same time
-PACKAGECONFIG ?= "readline"
+PACKAGECONFIG ?= "readline python3"
 PACKAGECONFIG[httpstats] = "--with-libxml2,--without-libxml2,libxml2"
 PACKAGECONFIG[readline] = "--with-readline=-lreadline,,readline"
 PACKAGECONFIG[libedit] = "--with-readline=-ledit,,libedit"
 PACKAGECONFIG[urandom] = "--with-randomdev=/dev/urandom,--with-randomdev=/dev/random,,"
+PACKAGECONFIG[python3] = "--with-python=${PYTHON},--without-python, python3-native python3-ply-native, python3-core"
 
 USERADD_PACKAGES = "${PN}"
 USERADD_PARAM_${PN} = "--system --home ${localstatedir}/cache/bind --no-create-home \
@@ -60,7 +58,6 @@ SYSTEMD_SERVICE_${PN} = "named.service"
 
 PARALLEL_MAKE = ""
 
-RDEPENDS_${PN} = "python3-core"
 RDEPENDS_${PN}-dev = ""
 
 PACKAGE_BEFORE_PN += "${PN}-utils"
@@ -88,7 +85,7 @@ do_install_append() {
 	install -d "${D}${sysconfdir}/init.d"
 	install -m 644 ${S}/conf/* "${D}${sysconfdir}/bind/"
 	install -m 755 "${S}/init.d" "${D}${sysconfdir}/init.d/bind"
-	sed -i -e '1s,#!.*python3,#! /usr/bin/python3,' ${D}${sbindir}/dnssec-coverage ${D}${sbindir}/dnssec-checkds
+	sed -i -e '1s,#!.*python3,#! /usr/bin/python3,' ${D}${sbindir}/dnssec-coverage ${D}${sbindir}/dnssec-checkds ${D}${sbindir}/dnssec-keymgr
 
 	# Install systemd related files
 	install -d ${D}${sbindir}
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/2] python3-ply: add package needed by bind 9.12 update
  2018-05-21 19:43 [PATCH 0/2] bind update req. new pkg in core Armin Kuster
  2018-05-21 19:43 ` [PATCH 1/2] bind: update to 9.12.1 Armin Kuster
@ 2018-05-21 19:43 ` Armin Kuster
  2018-05-22  1:06 ` [PATCH 0/2] bind update req. new pkg in core Khem Raj
  2 siblings, 0 replies; 8+ messages in thread
From: Armin Kuster @ 2018-05-21 19:43 UTC (permalink / raw)
  To: akuster, openembedded-core

move package from meta-python

Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 meta/recipes-devtools/python/python-ply.inc     | 18 ++++++++++++++++++
 meta/recipes-devtools/python/python-ply_3.11.bb |  2 ++
 2 files changed, 20 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python-ply.inc
 create mode 100644 meta/recipes-devtools/python/python-ply_3.11.bb

diff --git a/meta/recipes-devtools/python/python-ply.inc b/meta/recipes-devtools/python/python-ply.inc
new file mode 100644
index 0000000..a744950
--- /dev/null
+++ b/meta/recipes-devtools/python/python-ply.inc
@@ -0,0 +1,18 @@
+SUMMARY = "Python Lex and Yacc"
+DESCRIPTION = "Python ply: PLY is yet another implementation of lex and yacc for Python"
+HOMEPAGE = "https://pypi.python.org/pypi/ply"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://README.md;beginline=5;endline=32;md5=f5ee5c355c0e6719c787a71b8f0fa96c"
+
+SRC_URI[md5sum] = "6465f602e656455affcd7c5734c638f8"
+SRC_URI[sha256sum] = "00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3"
+
+inherit pypi
+
+RDEPENDS_${PN}_class-target += "\
+    ${PYTHON_PN}-netclient \
+    ${PYTHON_PN}-shell \
+"
+
+BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/python/python-ply_3.11.bb b/meta/recipes-devtools/python/python-ply_3.11.bb
new file mode 100644
index 0000000..2b6165c
--- /dev/null
+++ b/meta/recipes-devtools/python/python-ply_3.11.bb
@@ -0,0 +1,2 @@
+require python-ply.inc
+inherit setuptools
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/2] bind update req. new pkg in core
  2018-05-21 19:43 [PATCH 0/2] bind update req. new pkg in core Armin Kuster
  2018-05-21 19:43 ` [PATCH 1/2] bind: update to 9.12.1 Armin Kuster
  2018-05-21 19:43 ` [PATCH 2/2] python3-ply: add package needed by bind 9.12 update Armin Kuster
@ 2018-05-22  1:06 ` Khem Raj
  2018-05-22  1:30   ` akuster808
  2018-05-22  6:36   ` Martin Hundebøll
  2 siblings, 2 replies; 8+ messages in thread
From: Khem Raj @ 2018-05-22  1:06 UTC (permalink / raw)
  To: Armin Kuster; +Cc: akuster, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2078 bytes --]

On Mon, May 21, 2018 at 3:44 PM Armin Kuster <akuster808@gmail.com> wrote:

> With this update, the python-ply package is required.
> I copied the one from meta-python to core. Once this hits master,
> I will send a patch to remove the same recipe from
> meta-python.


Can this be turned on/off using packageconfig ?
If so then it would be ideal

If not then please send the removal patches for meta-python regardless so
it can be tested together

>
>
> Armin Kuster (2):
>   bind: update to 9.12.1
>   python3-ply: add package needed by bind 9.12 update
>
>  ...0001-build-use-pkg-config-to-find-libxml2.patch | 13 +++---
>  ...-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch | 13 +++---
>  .../0001-lib-dns-gen.c-fix-too-long-error.patch    | 13 +++---
>  .../bind/bind/bind-confgen-build-unix.o-once.patch | 48
> ----------------------
>  ...-searching-for-json-headers-searches-sysr.patch | 13 +++---
>  .../bind/bind/dont-test-on-host.patch              | 17 --------
>  .../use-python3-and-fix-install-lib-path.patch     | 36 ----------------
>  .../bind/{bind_9.10.6.bb => bind_9.12.1.bb}        | 21 ++++------
>  meta/recipes-devtools/python/python-ply.inc        | 18 ++++++++
>  meta/recipes-devtools/python/python-ply_3.11.bb    |  2 +
>  10 files changed, 49 insertions(+), 145 deletions(-)
>  delete mode 100644
> meta/recipes-connectivity/bind/bind/bind-confgen-build-unix.o-once.patch
>  delete mode 100644
> meta/recipes-connectivity/bind/bind/dont-test-on-host.patch
>  delete mode 100644
> meta/recipes-connectivity/bind/bind/use-python3-and-fix-install-lib-path.patch
>  rename meta/recipes-connectivity/bind/{bind_9.10.6.bb => bind_9.12.1.bb}
> (86%)
>  create mode 100644 meta/recipes-devtools/python/python-ply.inc
>  create mode 100644 meta/recipes-devtools/python/python-ply_3.11.bb
>
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 3248 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/2] bind update req. new pkg in core
  2018-05-22  1:06 ` [PATCH 0/2] bind update req. new pkg in core Khem Raj
@ 2018-05-22  1:30   ` akuster808
  2018-05-22  2:25     ` Khem Raj
  2018-05-22  6:36   ` Martin Hundebøll
  1 sibling, 1 reply; 8+ messages in thread
From: akuster808 @ 2018-05-22  1:30 UTC (permalink / raw)
  To: Khem Raj, Armin Kuster; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 3144 bytes --]



On 05/21/2018 06:06 PM, Khem Raj wrote:
>
> On Mon, May 21, 2018 at 3:44 PM Armin Kuster <akuster808@gmail.com
> <mailto:akuster808@gmail.com>> wrote:
>
>     With this update, the python-ply package is required.
>     I copied the one from meta-python to core. Once this hits master,
>     I will send a patch to remove the same recipe from
>     meta-python.
>
>
> Can this be turned on/off using packageconfig ?
Yes we can and it is already in the PACKAGECONFIG options.

If we do disable python, then the python binaries that are currently
being installed will not. Someone decided: dnssec-coverage
dnssec-checkds  where  important to install in the current Bind
solution.   A new one is being added; dnssec-keymgr. If we don't want
dnssec support, thats easy to exclude.

BTW, pthon-ply  exists in 4 other layers besides meta-python and  at
different versions.

let me know which way you want to go.
- armin




> If so then it would be ideal 
>
> If not then please send the removal patches for meta-python regardless
> so it can be tested together 
>
>
>
>     Armin Kuster (2):
>       bind: update to 9.12.1
>       python3-ply: add package needed by bind 9.12 update
>
>      ...0001-build-use-pkg-config-to-find-libxml2.patch | 13 +++---
>      ...-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch | 13 +++---
>      .../0001-lib-dns-gen.c-fix-too-long-error.patch    | 13 +++---
>      .../bind/bind/bind-confgen-build-unix.o-once.patch | 48
>     ----------------------
>      ...-searching-for-json-headers-searches-sysr.patch | 13 +++---
>      .../bind/bind/dont-test-on-host.patch              | 17 --------
>      .../use-python3-and-fix-install-lib-path.patch     | 36
>     ----------------
>      .../bind/{bind_9.10.6.bb <http://bind_9.10.6.bb> =>
>     bind_9.12.1.bb <http://bind_9.12.1.bb>}        | 21 ++++------
>      meta/recipes-devtools/python/python-ply.inc        | 18 ++++++++
>      meta/recipes-devtools/python/python-ply_3.11.bb
>     <http://python-ply_3.11.bb>    |  2 +
>      10 files changed, 49 insertions(+), 145 deletions(-)
>      delete mode 100644
>     meta/recipes-connectivity/bind/bind/bind-confgen-build-unix.o-once.patch
>      delete mode 100644
>     meta/recipes-connectivity/bind/bind/dont-test-on-host.patch
>      delete mode 100644
>     meta/recipes-connectivity/bind/bind/use-python3-and-fix-install-lib-path.patch
>      rename meta/recipes-connectivity/bind/{bind_9.10.6.bb
>     <http://bind_9.10.6.bb> => bind_9.12.1.bb <http://bind_9.12.1.bb>}
>     (86%)
>      create mode 100644 meta/recipes-devtools/python/python-ply.inc
>      create mode 100644
>     meta/recipes-devtools/python/python-ply_3.11.bb
>     <http://python-ply_3.11.bb>
>
>     -- 
>     2.7.4
>
>     -- 
>     _______________________________________________
>     Openembedded-core mailing list
>     Openembedded-core@lists.openembedded.org
>     <mailto:Openembedded-core@lists.openembedded.org>
>     http://lists.openembedded.org/mailman/listinfo/openembedded-core
>


[-- Attachment #2: Type: text/html, Size: 5808 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/2] bind update req. new pkg in core
  2018-05-22  1:30   ` akuster808
@ 2018-05-22  2:25     ` Khem Raj
  2018-05-22  4:05       ` akuster808
  0 siblings, 1 reply; 8+ messages in thread
From: Khem Raj @ 2018-05-22  2:25 UTC (permalink / raw)
  To: akuster808; +Cc: Patches and discussions about the oe-core layer

On Mon, May 21, 2018 at 9:30 PM, akuster808 <akuster808@gmail.com> wrote:
>
>
> On 05/21/2018 06:06 PM, Khem Raj wrote:
>
>
> On Mon, May 21, 2018 at 3:44 PM Armin Kuster <akuster808@gmail.com> wrote:
>>
>> With this update, the python-ply package is required.
>> I copied the one from meta-python to core. Once this hits master,
>> I will send a patch to remove the same recipe from
>> meta-python.
>
>
> Can this be turned on/off using packageconfig ?
>
> Yes we can and it is already in the PACKAGECONFIG options.
>
> If we do disable python, then the python binaries that are currently being
> installed will not. Someone decided: dnssec-coverage dnssec-checkds  where
> important to install in the current Bind solution.   A new one is being
> added; dnssec-keymgr. If we don't want dnssec support, thats easy to
> exclude.
>

these all seem to be additional utilities so probably should be
packaged into a separate package
may be bind-utils

> BTW, pthon-ply  exists in 4 other layers besides meta-python and  at
> different versions.

thats less than ideal, and probably should be consolidated, moving to
oe-core probably will not
solve that problem

>
> let me know which way you want to go.

I dont have any strong opinion either way is fine.

> - armin
>
>
>
>
>
> If so then it would be ideal
>
> If not then please send the removal patches for meta-python regardless so it
> can be tested together
>>
>>
>>
>> Armin Kuster (2):
>>   bind: update to 9.12.1
>>   python3-ply: add package needed by bind 9.12 update
>>
>>  ...0001-build-use-pkg-config-to-find-libxml2.patch | 13 +++---
>>  ...-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch | 13 +++---
>>  .../0001-lib-dns-gen.c-fix-too-long-error.patch    | 13 +++---
>>  .../bind/bind/bind-confgen-build-unix.o-once.patch | 48
>> ----------------------
>>  ...-searching-for-json-headers-searches-sysr.patch | 13 +++---
>>  .../bind/bind/dont-test-on-host.patch              | 17 --------
>>  .../use-python3-and-fix-install-lib-path.patch     | 36 ----------------
>>  .../bind/{bind_9.10.6.bb => bind_9.12.1.bb}        | 21 ++++------
>>  meta/recipes-devtools/python/python-ply.inc        | 18 ++++++++
>>  meta/recipes-devtools/python/python-ply_3.11.bb    |  2 +
>>  10 files changed, 49 insertions(+), 145 deletions(-)
>>  delete mode 100644
>> meta/recipes-connectivity/bind/bind/bind-confgen-build-unix.o-once.patch
>>  delete mode 100644
>> meta/recipes-connectivity/bind/bind/dont-test-on-host.patch
>>  delete mode 100644
>> meta/recipes-connectivity/bind/bind/use-python3-and-fix-install-lib-path.patch
>>  rename meta/recipes-connectivity/bind/{bind_9.10.6.bb => bind_9.12.1.bb}
>> (86%)
>>  create mode 100644 meta/recipes-devtools/python/python-ply.inc
>>  create mode 100644 meta/recipes-devtools/python/python-ply_3.11.bb
>>
>> --
>> 2.7.4
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/2] bind update req. new pkg in core
  2018-05-22  2:25     ` Khem Raj
@ 2018-05-22  4:05       ` akuster808
  0 siblings, 0 replies; 8+ messages in thread
From: akuster808 @ 2018-05-22  4:05 UTC (permalink / raw)
  To: Khem Raj; +Cc: Patches and discussions about the oe-core layer



On 05/21/2018 07:25 PM, Khem Raj wrote:
> On Mon, May 21, 2018 at 9:30 PM, akuster808 <akuster808@gmail.com> wrote:
>>
>> On 05/21/2018 06:06 PM, Khem Raj wrote:
>>
>>
>> On Mon, May 21, 2018 at 3:44 PM Armin Kuster <akuster808@gmail.com> wrote:
>>> With this update, the python-ply package is required.
>>> I copied the one from meta-python to core. Once this hits master,
>>> I will send a patch to remove the same recipe from
>>> meta-python.
>>
>> Can this be turned on/off using packageconfig ?
>>
>> Yes we can and it is already in the PACKAGECONFIG options.
>>
>> If we do disable python, then the python binaries that are currently being
>> installed will not. Someone decided: dnssec-coverage dnssec-checkds  where
>> important to install in the current Bind solution.   A new one is being
>> added; dnssec-keymgr. If we don't want dnssec support, thats easy to
>> exclude.
>>
> these all seem to be additional utilities so probably should be
> packaged into a separate package
> may be bind-utils
there is already a bind-utils.  bind-dnssec-utils may be more appropriate.
it is the if/conditional when python is enabled to do all the right
things that is going to get ugly.

>
>> BTW, pthon-ply  exists in 4 other layers besides meta-python and  at
>> different versions.
> thats less than ideal, and probably should be consolidated, moving to
> oe-core probably will not
> solve that problem
>
>> let me know which way you want to go.
> I dont have any strong opinion either way is fine.

I will wait to see who else may want to weight in.

thank for the input.

- armin
>
>> - armin
>>
>>
>>
>>
>>
>> If so then it would be ideal
>>
>> If not then please send the removal patches for meta-python regardless so it
>> can be tested together
>>>
>>>
>>> Armin Kuster (2):
>>>   bind: update to 9.12.1
>>>   python3-ply: add package needed by bind 9.12 update
>>>
>>>  ...0001-build-use-pkg-config-to-find-libxml2.patch | 13 +++---
>>>  ...-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch | 13 +++---
>>>  .../0001-lib-dns-gen.c-fix-too-long-error.patch    | 13 +++---
>>>  .../bind/bind/bind-confgen-build-unix.o-once.patch | 48
>>> ----------------------
>>>  ...-searching-for-json-headers-searches-sysr.patch | 13 +++---
>>>  .../bind/bind/dont-test-on-host.patch              | 17 --------
>>>  .../use-python3-and-fix-install-lib-path.patch     | 36 ----------------
>>>  .../bind/{bind_9.10.6.bb => bind_9.12.1.bb}        | 21 ++++------
>>>  meta/recipes-devtools/python/python-ply.inc        | 18 ++++++++
>>>  meta/recipes-devtools/python/python-ply_3.11.bb    |  2 +
>>>  10 files changed, 49 insertions(+), 145 deletions(-)
>>>  delete mode 100644
>>> meta/recipes-connectivity/bind/bind/bind-confgen-build-unix.o-once.patch
>>>  delete mode 100644
>>> meta/recipes-connectivity/bind/bind/dont-test-on-host.patch
>>>  delete mode 100644
>>> meta/recipes-connectivity/bind/bind/use-python3-and-fix-install-lib-path.patch
>>>  rename meta/recipes-connectivity/bind/{bind_9.10.6.bb => bind_9.12.1.bb}
>>> (86%)
>>>  create mode 100644 meta/recipes-devtools/python/python-ply.inc
>>>  create mode 100644 meta/recipes-devtools/python/python-ply_3.11.bb
>>>
>>> --
>>> 2.7.4
>>>
>>> --
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core@lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/2] bind update req. new pkg in core
  2018-05-22  1:06 ` [PATCH 0/2] bind update req. new pkg in core Khem Raj
  2018-05-22  1:30   ` akuster808
@ 2018-05-22  6:36   ` Martin Hundebøll
  1 sibling, 0 replies; 8+ messages in thread
From: Martin Hundebøll @ 2018-05-22  6:36 UTC (permalink / raw)
  Cc: openembedded-core



On 2018-05-22 03:06, Khem Raj wrote:
> 
> On Mon, May 21, 2018 at 3:44 PM Armin Kuster <akuster808@gmail.com 
> <mailto:akuster808@gmail.com>> wrote:
> 
>     With this update, the python-ply package is required.
>     I copied the one from meta-python to core. Once this hits master,
>     I will send a patch to remove the same recipe from
>     meta-python.
> 
> 
> Can this be turned on/off using packageconfig ?
> If so then it would be ideal

I did send a patch for (some of) this some time ago:
https://patchwork.openembedded.org/patch/148257/

// Martin

> If not then please send the removal patches for meta-python regardless 
> so it can be tested together
> 
> 
> 
>     Armin Kuster (2):
>        bind: update to 9.12.1
>        python3-ply: add package needed by bind 9.12 update
> 
>       ...0001-build-use-pkg-config-to-find-libxml2.patch | 13 +++---
>       ...-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch | 13 +++---
>       .../0001-lib-dns-gen.c-fix-too-long-error.patch    | 13 +++---
>       .../bind/bind/bind-confgen-build-unix.o-once.patch | 48
>     ----------------------
>       ...-searching-for-json-headers-searches-sysr.patch | 13 +++---
>       .../bind/bind/dont-test-on-host.patch              | 17 --------
>       .../use-python3-and-fix-install-lib-path.patch     | 36
>     ----------------
>       .../bind/{bind_9.10.6.bb <http://bind_9.10.6.bb> => bind_9.12.1.bb
>     <http://bind_9.12.1.bb>}        | 21 ++++------
>       meta/recipes-devtools/python/python-ply.inc        | 18 ++++++++
>       meta/recipes-devtools/python/python-ply_3.11.bb
>     <http://python-ply_3.11.bb>    |  2 +
>       10 files changed, 49 insertions(+), 145 deletions(-)
>       delete mode 100644
>     meta/recipes-connectivity/bind/bind/bind-confgen-build-unix.o-once.patch
>       delete mode 100644
>     meta/recipes-connectivity/bind/bind/dont-test-on-host.patch
>       delete mode 100644
>     meta/recipes-connectivity/bind/bind/use-python3-and-fix-install-lib-path.patch
>       rename meta/recipes-connectivity/bind/{bind_9.10.6.bb
>     <http://bind_9.10.6.bb> => bind_9.12.1.bb <http://bind_9.12.1.bb>} (86%)
>       create mode 100644 meta/recipes-devtools/python/python-ply.inc
>       create mode 100644 meta/recipes-devtools/python/python-ply_3.11.bb
>     <http://python-ply_3.11.bb>
> 
>     -- 
>     2.7.4
> 
>     -- 
>     _______________________________________________
>     Openembedded-core mailing list
>     Openembedded-core@lists.openembedded.org
>     <mailto:Openembedded-core@lists.openembedded.org>
>     http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 
> 
> 

-- 
MARTIN HUNDEBØLL, Prevas A/S
Software Developer

Hedeager 3, DK-8200 Aarhus N
Phone +45 87438070
Mobile +45 25562438
Martin.Hundeboll@prevas.dk
www.prevas.com


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-05-22 13:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-21 19:43 [PATCH 0/2] bind update req. new pkg in core Armin Kuster
2018-05-21 19:43 ` [PATCH 1/2] bind: update to 9.12.1 Armin Kuster
2018-05-21 19:43 ` [PATCH 2/2] python3-ply: add package needed by bind 9.12 update Armin Kuster
2018-05-22  1:06 ` [PATCH 0/2] bind update req. new pkg in core Khem Raj
2018-05-22  1:30   ` akuster808
2018-05-22  2:25     ` Khem Raj
2018-05-22  4:05       ` akuster808
2018-05-22  6:36   ` Martin Hundebøll

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.