epiphany: upgrade to 51.0 and import libpwquality
cover epiphany: upgrade to 51.0 and import libpwquality
epiphany 51.0 adds an unconditional dependency on pwquality, provided by libpwquality which until now in meta-oe. and libpwquality's only dependency (cracklib) is already in OE-Core, this series imports libpwquality into OE-Core first and then does the epiphany upgrade, adding libpwquality to its DEPENDS.
The libpwquality import must be merged before the epiphany upgrade
Separate commit will send to meta-oe for removal of libpwquality
Jaipaul Cheernam (2):
libpwquality: import recipe from meta-oe
epiphany: upgrade 50.6 -> 51.0
meta/conf/distro/include/maintainers.inc | 1 +
...-Use-setuptools-instead-of-distutils.patch | 78 +++++++++++++++++++
...02-Makefile.am-respect-PYTHONSITEDIR.patch | 26 +++++++
.../libpwquality/libpwquality_1.4.5.bb | 40 ++++++++++
.../{epiphany_50.6.bb => epiphany_51.0.bb} | 3 +-
...-meson.build-disable-the-use-of-yelp.patch | 2 +-
.../epiphany/files/distributor.patch | 4 +-
.../epiphany/files/migrator.patch | 6 +-
8 files changed, 153 insertions(+), 7 deletions(-)
create mode 100644 meta/recipes-extended/libpwquality/files/0001-Use-setuptools-instead-of-distutils.patch
create mode 100644 meta/recipes-extended/libpwquality/files/0002-Makefile.am-respect-PYTHONSITEDIR.patch
create mode 100644 meta/recipes-extended/libpwquality/libpwquality_1.4.5.bb
rename meta/recipes-gnome/epiphany/{epiphany_50.6.bb => epiphany_51.0.bb} (92%)PATCH 1/2 libpwquality: import recipe from meta-oe
epiphany 51.0 adds an unconditional dependency on pwquality [1]
Changes from the meta-oe version:
- add SUMMARY (required by recipe QA in OE-Core)
- add maintainer entry
[1] https://github.com/GNOME/epiphany/commit/683e9a076fa3
--- meta/conf/distro/include/maintainers.inc | 1 + ...-Use-setuptools-instead-of-distutils.patch | 78 +++++++++++++++++++ ...02-Makefile.am-respect-PYTHONSITEDIR.patch | 26 +++++++ .../libpwquality/libpwquality_1.4.5.bb | 40 ++++++++++ 4 files changed, 145 insertions(+) create mode 100644 meta/recipes-extended/libpwquality/files/0001-Use-setuptools-instead-of-distutils.patch create mode 100644 meta/recipes-extended/libpwquality/files/0002-Makefile.am-respect-PYTHONSITEDIR.patch create mode 100644 meta/recipes-extended/libpwquality/libpwquality_1.4.5.bb
meta/conf/distro/include/maintainers.inc +1 -0
@@ -387,6 +387,7 @@ RECIPE_MAINTAINER:pn-libproxy = "Unassigned <[email protected]>" RECIPE_MAINTAINER:pn-libpsl = "Unassigned <[email protected]>" RECIPE_MAINTAINER:pn-libpthread-stubs = "Unassigned <[email protected]>" RECIPE_MAINTAINER:pn-libptytty = "Unassigned <[email protected]>" +RECIPE_MAINTAINER:pn-libpwquality = "Unassigned <[email protected]>" RECIPE_MAINTAINER:pn-librepo = "Wang Mingyu <[email protected]>" RECIPE_MAINTAINER:pn-librsvg = "Unassigned <[email protected]>" RECIPE_MAINTAINER:pn-libsamplerate0 = "Unassigned <[email protected]>"
meta/recipes-extended/libpwquality/files/0001-Use-setuptools-instead-of-distutils.patch new file +78 -0
78 lines not on this page · raw message
meta/recipes-extended/libpwquality/files/0002-Makefile.am-respect-PYTHONSITEDIR.patch new file +26 -0
@@ -0,0 +1,26 @@ +From edc51ba1b446913232cdf2945f485392bca72dc7 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <[email protected]> +Date: Mon, 3 Aug 2015 13:43:14 +0800 +Subject: [PATCH] Makefile.am: respect ${PYTHONSITEDIR} + +Signed-off-by: Hongxu Jia <[email protected]> +Signed-off-by: Martin Jansa <[email protected]> +--- +Upstream-Status: Backport [https://github.com/libpwquality/libpwquality/commit/5192eab011ada47b0157f8d0524bf5b18bba3bd0] + + python/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/python/Makefile.am b/python/Makefile.am +index 6e51744..0a3bad5 100644 +--- a/python/Makefile.am ++++ b/python/Makefile.am +@@ -14,7 +14,7 @@ all-local: + CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-base py$(PYTHONREV) + + install-exec-local: +- CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-base py$(PYTHONREV) install --root ${DESTDIR} --prefix=${prefix} ++ CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-base py$(PYTHONREV) install --root ${DESTDIR} --prefix=${prefix} --install-lib=$(pythonsitedir) + + clean-local: + rm -rf py$(PYTHONREV)
meta/recipes-extended/libpwquality/libpwquality_1.4.5.bb new file +40 -0
@@ -0,0 +1,40 @@ +SUMMARY = "Password quality checking and random password generation library" +DESCRIPTION = "Library for password quality checking and generating random passwords" +HOMEPAGE = "https://github.com/libpwquality/libpwquality" +SECTION = "devel/lib" + +LICENSE = "GPL-2.0-or-later" +LIC_FILES_CHKSUM = "file://COPYING;md5=6bd2f1386df813a459a0c34fde676fc2" + +DEPENDS = "cracklib" + +SRC_URI = "git://github.com/libpwquality/libpwquality;branch=master;protocol=https \ + file://0001-Use-setuptools-instead-of-distutils.patch \ + file://0002-Makefile.am-respect-PYTHONSITEDIR.patch \ +" +SRCREV = "5490e96a3dd6ed7371435ca5b3ccef98bdb48b5a" + + +inherit autotools-brokensep gettext +inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'setuptools3-base', '', d)} + +do_configure:prepend() { + cp ${STAGING_DATADIR_NATIVE}/gettext/ABOUT-NLS ${AUTOTOOLS_AUXDIR}/ +} + +export PYTHON_DIR +export BUILD_SYS +export HOST_SYS + +EXTRA_OECONF += "--libdir=${libdir} \ + --with-securedir=${base_libdir}/security \ +" + +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} python3" +PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam" +PACKAGECONFIG[python3] = "--enable-python-bindings --with-python-rev=${PYTHON_BASEVERSION} --with-python-binary=${STAGING_BINDIR_NATIVE}/python3-native/python3 --with-pythonsitedir=${PYTHON_SITEPACKAGES_DIR},--disable-python-bindings,python3-setuptools-native" + +FILES:${PN} += "${base_libdir}/security/pam_pwquality.so" +FILES:${PN}-dbg += "${base_libdir}/security/.debug" +FILES:${PN}-staticdev += "${base_libdir}/security/pam_pwquality.a" +FILES:${PN}-dev += "${base_libdir}/security/pam_pwquality.la"
PATCH 2/2 epiphany: upgrade 50.6 -> 51.0
In reply to Jaipaul CheernamCompareLog: https://github.com/GNOME/epiphany/compare/50.6...51.0
- 51.0 adds a new mandatory dependency on pwquality [1] so add libpwquality to DEPENDS.
libpwquality was imported into OE-Core in the preceding patch.
[1] https://github.com/GNOME/epiphany/commit/683e9a076fa3
---
.../epiphany/{epiphany_50.6.bb => epiphany_51.0.bb} | 3 ++-
.../0002-help-meson.build-disable-the-use-of-yelp.patch | 2 +-
meta/recipes-gnome/epiphany/files/distributor.patch | 4 ++--
meta/recipes-gnome/epiphany/files/migrator.patch | 6 +++---
4 files changed, 8 insertions(+), 7 deletions(-)
rename meta/recipes-gnome/epiphany/{epiphany_50.6.bb => epiphany_51.0.bb} (92%)meta/recipes-gnome/epiphany/epiphany_51.0.bb renamed from meta/recipes-gnome/epiphany/epiphany_50.6.bb +2 -1
@@ -15,6 +15,7 @@ DEPENDS = " \ libadwaita \ libarchive \ libportal \ + libpwquality \ libsoup \ glib-2.0-native \ coreutils-native \
@@ -31,7 +32,7 @@ SRC_URI += "\ file://migrator.patch \ file://distributor.patch \ " -SRC_URI[archive.sha256sum] = "458222a8694cfc914e7a2d6de9879067001a8d65e00a907d96112059c67ad446" +SRC_URI[archive.sha256sum] = "abaf33576462030c65bb963a56300a7786e7d75834f1c90a9dffda873835c33d" export GI_TYPELIB_PATH = "${STAGING_LIBDIR}/girepository-1.0/"
meta/recipes-gnome/epiphany/files/0002-help-meson.build-disable-the-use-of-yelp.patch +1 -1
@@ -1,4 +1,4 @@ -From 9e51ca47efc74fedb420e6b66436569d56623e2d Mon Sep 17 00:00:00 2001 +From 2bb52be1e80d1f4693a383be8270e80ef1d9586a Mon Sep 17 00:00:00 2001 From: Alexander Kanavin <[email protected]> Date: Wed, 31 Jan 2018 15:50:38 +0200 Subject: [PATCH] help/meson.build: disable the use of yelp
meta/recipes-gnome/epiphany/files/distributor.patch +2 -2
@@ -1,4 +1,4 @@ -From cc0b9a6904297387068274c802784eea740782a1 Mon Sep 17 00:00:00 2001 +From 2f52672597ab74cb17e41d308f8d9934c25d8fc0 Mon Sep 17 00:00:00 2001 From: Richard Purdie <[email protected]> Date: Fri, 26 Feb 2021 10:17:52 +0000 Subject: [PATCH] Don't encode the distro from /etc/os-release into the
@@ -11,7 +11,7 @@ RP 2021/2/26 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build -index c02b591..8af9fe7 100644 +index 8aec3cf..4a06ab6 100644 --- a/meson.build +++ b/meson.build @@ -15,6 +15,7 @@ if r.returncode() == 0
meta/recipes-gnome/epiphany/files/migrator.patch +3 -3
@@ -1,4 +1,4 @@ -From 12ead2afbdab96eeb6bac820c39c1e951a047c8b Mon Sep 17 00:00:00 2001 +From e336c2dd1368aff496a6ba01e2ca9ca7e88860a2 Mon Sep 17 00:00:00 2001 From: Richard Purdie <[email protected]> Date: Thu, 25 Feb 2021 14:52:32 +0000 Subject: [PATCH] epiphany: Fix reproducibility issue
@@ -14,10 +14,10 @@ RP 2021/2/25 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ephy-profile-utils.c b/lib/ephy-profile-utils.c -index ea2ea99..13c27c8 100644 +index 1966108..24d4364 100644 --- a/lib/ephy-profile-utils.c +++ b/lib/ephy-profile-utils.c -@@ -130,10 +130,10 @@ ephy_profile_utils_do_migration (const char *profile_directory, +@@ -131,10 +131,10 @@ ephy_profile_utils_do_migration (const char *profile_directory, argv[i++] = NULL; #if DEVELOPER_MODE
Patchtest results for [PATCH 1/2] libpwquality: import recipe from meta-oe
In reply to Jaipaul CheernamThank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information:
---
Testing patch /home/patchtest/share/mboxes/1-2-libpwquality-import-recipe-from-meta-oe.patch
FAIL: test Upstream-Status presence: Upstream-Status is present only after the patch scissors. It must be placed in the patch header before the scissors line. (test_patch.TestPatch.test_upstream_status_presence_format)
PASS: test CVE tag format (test_patch.TestPatch.test_cve_tag_format)
PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test Signed-off-by presence (test_patch.TestPatch.test_signed_off_by_presence)
PASS: test auh changelog truncation notice (test_mbox.TestMbox.test_auh_changelog_truncation_notice)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message presence (test_mbox.TestMbox.test_commit_message_presence)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test lic files chksum presence (test_metadata.TestMetadata.test_lic_files_chksum_presence)
PASS: test license presence (test_metadata.TestMetadata.test_license_presence)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test summary presence (test_metadata.TestMetadata.test_summary_presence)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)
SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: pretest src uri left files: No modified recipes, skipping pretest (test_metadata.TestMetadata.pretest_src_uri_left_files)
SKIP: test CVE check ignore: No modified recipes or older target branch, skipping test (test_metadata.TestMetadata.test_cve_check_ignore)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test lic files chksum modified not mentioned: No modified recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
SKIP: test src uri left files: No modified recipes, skipping test (test_metadata.TestMetadata.test_src_uri_left_files)
---
Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this email with an explanation of why the patch should be accepted. If you believe these results are due to an error in patchtest, please submit a bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category under 'Yocto Project Subprojects'). For more information on specific failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank you!
RE: [OE-core] [PATCH 1/2] libpwquality: import recipe from meta-oe
In reply to Jaipaul CheernamQuoted 19 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Jaipaul Cheernam
Sent: Friday, September 11, 2026 10:51 AM
To: [email protected]
Subject: [OE-core] [PATCH 1/2] libpwquality: import recipe from meta-oeepiphany 51.0 adds an unconditional dependency on pwquality [1]
Changes from the meta-oe version:
- add SUMMARY (required by recipe QA in OE-Core)
- add maintainer entry[1] https://github.com/GNOME/epiphany/commit/683e9a076fa3
Signed-off-by Jaipaul Cheernam <[email protected]>---
<snip>
Quoted 1 line
+SRC_URI = "
git://github.com/libpwquality/libpwquality;branch=master;protocol=https\
Please add ";tag=${BPN}-${PV}" to this SRC_URI entry.
Re: [OE-core] [PATCH 1/2] libpwquality: import recipe from meta-oe
Quoted 1 line · Peter
Please add ";tag=${BPN}-${PV}" to this
SRC_URIentry.
Hi Peter,
Thanks for review and I will add this as separate patch after this patch been merged. is that Okay ?
Regards,
Jaipaul
Re: [OE-core] [PATCH 2/2] epiphany: upgrade 50.6 -> 51.0
In reply to Jaipaul CheernamQuoted 8 lines · Jaipaul Cheernam via lists.openembedded.org
CompareLog: https://github.com/GNOME/epiphany/compare/50.6...51.0
- 51.0 adds a new mandatory dependency on pwquality [1] so add libpwquality to DEPENDS.
libpwquality was imported into OE-Core in the preceding patch.
Quoted 8 lines
Signed-off-by Jaipaul Cheernam <[email protected]>---
.../epiphany/{epiphany_50.6.bb => epiphany_51.0.bb} | 3 ++- .../0002-help-meson.build-disable-the-use-of-yelp.patch | 2 +- meta/recipes-gnome/epiphany/files/distributor.patch | 4 ++-- meta/recipes-gnome/epiphany/files/migrator.patch | 6 +++---4 files changed, 8 insertions(+), 7 deletions(-)rename meta/recipes-gnome/epiphany/{epiphany_50.6.bb => epiphany_51.0.bb} (92%)
Just for info, upgrading to a new version of gnome will probably need to wait until after the current release now so we'll need to wait on this for a bit.
Cheers,
Richard