Skip to contentSkip to conversation

patchelf: upgrade 0.19.2 -> 0.19.3

PATCH In review Jaipaul Cheernam 2 participants 6 messages Nov 2 – Nov 9

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 patchelf: upgrade 0.19.2 -> 0.19.3

Release: https://github.com/NixOS/patchelf/releases/tag/0.19.3

A bug fix release for executable rewrites, symbol version definitions, and zsh completion.

* Fix overlapping load segment mappings when growing an executable's interpreter and then rewriting its RPATH. Preserve writable coverage of .dynamic so the dynamic loader can update DT_DEBUG, fixing crashes in musl bootstrap GCC and GNAT (#672).
* Reuse the header load segment for further growth and reserve enough file and virtual address space after strip removes padding, preventing later rewrites from overlapping mappings or corrupting section contents (#672).
* Keep the program header table covered by a load segment when repeated executable rewrites split note segments and grow the table. This fixes invalid PHDR coverage on x86_64 and an assertion failure on AArch64, including when patching Grpc.Tools binaries (#675, #679).
* Update DT_VERDEF when .gnu.version_d is relocated, preventing the dynamic loader from following stale symbol version definitions and crashing before the program starts (#664, #665).
* Fix zsh completion of options, OS ABI names, input files, library names, and colon-separated directory lists (#677).

---
 meta/recipes-devtools/patchelf/patchelf_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/patchelf/patchelf_git.bb +2 -2
index a69f3b9d757..9553b211556 100644
@@ -5,9 +5,9 @@ HOMEPAGE = "https://github.com/NixOS/patchelf"
 LICENSE = "GPL-3.0-only"
 
 SRC_URI = "git://github.com/NixOS/patchelf;protocol=https;branch=master;tag=${PV}"
-SRCREV = "382d8bc12db9e720515da49d9c272ef4a622c3c0"
+SRCREV = "2b4b49d36b62690860414dd127f567be4f1f3208"
 
-PV = "0.19.2"
+PV = "0.19.3"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e"
 
#1 lore raw

PATCH 2/4 mtools: upgrade 4.0.49 -> 4.0.50

ReleaseInfo: https://lists.gnu.org/archive/html/info-mtools/2026-10/msg00001.html

Improvements since the 4.0.49 release are:
- Fix CVE-2026-118384

- Refresh existing patches

---
 meta/recipes-devtools/mtools/mtools/clang_UNUSED.patch      | 2 +-
 .../mtools/mtools/disable-hardcoded-configs.patch           | 2 +-
 meta/recipes-devtools/mtools/mtools/mtools-makeinfo.patch   | 6 +++---
 .../mtools/{mtools_4.0.49.bb => mtools_4.0.50.bb}           | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)
 rename meta/recipes-devtools/mtools/{mtools_4.0.49.bb => mtools_4.0.50.bb} (93%)
meta/recipes-devtools/mtools/mtools/clang_UNUSED.patch +1 -1
index ddf3706f511..3b975d5c40a 100644
@@ -1,4 +1,4 @@
-From 6914c6e15cd15daf1dae81458e5346958c9d5449 Mon Sep 17 00:00:00 2001
+From 1e420800695fce8af0f2c93d3485646d0f50e93a Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Wed, 19 Sep 2018 11:55:41 -0700
 Subject: [PATCH] Undefine UNUSED macros with clang
meta/recipes-devtools/mtools/mtools/disable-hardcoded-configs.patch +1 -1
index 63992ac5471..2220295f844 100644
@@ -1,4 +1,4 @@
-From 16969d42ec6514883bcee87cc89b3e7864481d7e Mon Sep 17 00:00:00 2001
+From 8b7a818762eb2d87428e0e1dfe439456cc3e6e85 Mon Sep 17 00:00:00 2001
 From: Ed Bartosh <[email protected]>
 Date: Tue, 13 Jun 2017 14:55:52 +0300
 Subject: [PATCH] Disabled reading host configs.
meta/recipes-devtools/mtools/mtools/mtools-makeinfo.patch +3 -3
index fb7ba56eec7..682341af2bc 100644
@@ -1,4 +1,4 @@
-From b517158e8ffc6a665506007b20708d6c2589cec1 Mon Sep 17 00:00:00 2001
+From f487cd37a3fce9b2829e62f29347a06c75677a2e Mon Sep 17 00:00:00 2001
 From: Marcin Juszkiewicz <[email protected]>
 Date: Fri, 8 Jun 2007 08:35:12 +0000
 Subject: [PATCH] mtools: imported from OE
@@ -10,7 +10,7 @@ Upstream-Status: Inappropriate [licensing]
  2 files changed, 33 insertions(+), 5 deletions(-)
 
 diff --git a/Makefile.in b/Makefile.in
-index 7b305b0..70c8c74 100644
+index d9cc6e3..1f8d93f 100644
 --- a/Makefile.in
 +++ b/Makefile.in
 @@ -26,10 +26,11 @@ USERCFLAGS =
@@ -39,7 +39,7 @@ index 7b305b0..70c8c74 100644
  pdf: mtools.pdf
  %.pdf: %.texi sysconfdir.texi
 diff --git a/configure.ac b/configure.ac
-index 37f0d00..c93cfb5 100644
+index fa73f7b..c42a232 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -36,6 +36,33 @@ AC_PATH_PROG(INSTALL_INFO, install-info, "")
meta/recipes-devtools/mtools/mtools_4.0.50.bb renamed from meta/recipes-devtools/mtools/mtools_4.0.49.bb +1 -1
similarity index 93%
rename from meta/recipes-devtools/mtools/mtools_4.0.49.bb
rename to meta/recipes-devtools/mtools/mtools_4.0.50.bb
index 294b2f37b28..0e3b754f1d2 100644
@@ -24,7 +24,7 @@ RRECOMMENDS:${PN}:libc-glibc = "\
 	glibc-gconv-ibm866 \
 	glibc-gconv-ibm869 \
 	"
-SRC_URI[sha256sum] = "6fe5193583d6e7c59da75e63d7234f76c0b07caf33b103894f46f66a871ffc9f"
+SRC_URI[sha256sum] = "f3a58e6cfc2634b03c240442548e3b00103692357afc28e1e7104744dd6478b5"
 
 SRC_URI = "${GNU_MIRROR}/mtools/mtools-${PV}.tar.bz2 \
            file://mtools-makeinfo.patch \
#2 lore raw

PATCH 3/4 kmod: upgrade 34.2 -> 34.3

In reply to Jaipaul Cheernam

git log --oneline v34.2..v34.3
8f674de (HEAD, tag: v34.3) kmod 34.3
516a390 (origin/kmod-34.y) ci: Fix alpine setup
b41275b shared: util.c: fix buffer overflow in alias_normalize() 043f708 util: Use const variable type in mkdir_parents
e695de6 libkmod: fix type confusion in kmod_module_get_sections() error path 2742f1c man/modprobe.8: document --show-exports
f019fc7 man/modprobe.8: document --remove-holders
4e4b844 libkmod: Fix open file which some char device
f0fce2f scripts/sanitizer-env.sh: remove incorrect $CC quotes 5c69143 testsuite: fix dirty rootfs error message
4692b8b man/modprobe.8: use MODULE_DIRECTORY as applicable 6b93232 tools/modprobe: Fix odd --remove-holders behavior 180335d libkmod: return ENOMEM when strbuf_pushchar(s) fails 6047d8b libkmod: Fix dependency count in kmod_module_parse_depline() 95275d2 tools/rmmod: fix garbled error message

---
 meta/recipes-kernel/kmod/{kmod_34.2.bb => kmod_34.3.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-kernel/kmod/{kmod_34.2.bb => kmod_34.3.bb} (97%)
meta/recipes-kernel/kmod/kmod_34.3.bb renamed from meta/recipes-kernel/kmod/kmod_34.2.bb +1 -1
similarity index 97%
rename from meta/recipes-kernel/kmod/kmod_34.2.bb
rename to meta/recipes-kernel/kmod/kmod_34.3.bb
index 892468a87e4..435ab4f47cd 100644
@@ -18,7 +18,7 @@ inherit bash-completion gtk-doc manpages meson pkgconfig update-alternatives
 SRC_URI = "https://www.kernel.org/pub/linux/utils/kernel/${BPN}/${BP}.tar.xz \
            file://depmod-search.conf \
            "
-SRC_URI[sha256sum] = "5a5d5073070cc7e0c7a7a3c6ec2a0e1780850c8b47b3e3892226b93ffcb9cb54"
+SRC_URI[sha256sum] = "985554de49c21a58abd68c6cda2251384e1e5bb08b3b14c7f02b51f4c90c2958"
 
 EXTRA_OEMESON += "\
     -Ddistconfdir=${nonarch_base_libdir} \
#3 lore raw

PATCH 4/4 libarchive: upgrade 3.8.10 -> 3.8.11

In reply to Jaipaul Cheernam

ReleaseNotes: https://github.com/libarchive/libarchive/releases/tag/v3.8.11

Libarchive 3.8.11 is a security and bugfix release. Security and Bug Fixes

    see ChangeLog [https://github.com/libarchive/libarchive/compare/v3.8.10...v3.8.11]

Thanks to all contributors and bug reporters!

Full Changelog: v3.8.10...v3.8.11 [https://github.com/libarchive/libarchive/compare/v3.8.10...v3.8.11]

---
 ...er_bidder-Allow-ARCHIVE_STATE_HEADER.patch |  9 ++++----
 ...vert-RPM-reader-into-a-proper-format.patch | 22 +++++++++----------
 ...0005-Disable-RPM-filter-auto-bidding.patch |  2 +-
 ...archive_3.8.10.bb => libarchive_3.8.11.bb} |  2 +-
 4 files changed, 17 insertions(+), 18 deletions(-)
 rename meta/recipes-extended/libarchive/{libarchive_3.8.10.bb => libarchive_3.8.11.bb} (97%)
meta/recipes-extended/libarchive/libarchive/0003-archive_read-register_bidder-Allow-ARCHIVE_STATE_HEADER.patch +4 -5
index cc8f2896a26..c9ecb0edbbf 100644
@@ -1,6 +1,6 @@
-From 84b6ba6f4ac5f00e70d66bb7c765dd487147d83b Mon Sep 17 00:00:00 2001
+From de3e8eb0219dbe21c805cc03f1aa25b4f19dcb8a Mon Sep 17 00:00:00 2001
 From: Davide Beatrici <[email protected]>
-Date: Mon, 25 Aug 2026 22:39:08 +0000
+Date: Tue, 25 Aug 2026 22:39:08 +0000
 Subject: [PATCH] __archive_read_register_bidder(): Allow ARCHIVE_STATE_HEADER
 
 This allows formats to apply filters when they know what they need.
@@ -9,16 +9,15 @@ In the case of RPM, that's after parsing the (uncompressed) header.
 
 Upstream-Status: Submitted [https://github.com/libarchive/libarchive/pull/2846 commit 84b6ba6f4ac5]
 Signed-off-by: Jaipaul Cheernam <[email protected]>
-
 ---
  libarchive/archive_read.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
 
 diff --git a/libarchive/archive_read.c b/libarchive/archive_read.c
-index 2f006fb..5c51df5 100644
+index 6235d66..66bd4e8 100644
 --- a/libarchive/archive_read.c
 +++ b/libarchive/archive_read.c
-@@ -1297,7 +1297,8 @@ __archive_read_register_bidder(struct archive_read *a,
+@@ -1325,7 +1325,8 @@ __archive_read_register_bidder(struct archive_read *a,
  	int i, number_slots;
  
  	archive_check_magic(&a->archive, ARCHIVE_READ_MAGIC,
meta/recipes-extended/libarchive/libarchive/0004-Convert-RPM-reader-into-a-proper-format.patch +11 -11
index 34c0cf415e7..0344919b632 100644
@@ -1,6 +1,6 @@
-From dcda938b907d3b99e012b52ea1250d01fb0c8546 Mon Sep 17 00:00:00 2001
+From 970b16c3468dbdf6d4caec9363dbb19279944852 Mon Sep 17 00:00:00 2001
 From: Davide Beatrici <[email protected]>
-Date: Mon, 25 Aug 2026 23:47:31 +0000
+Date: Tue, 25 Aug 2026 23:47:31 +0000
 Subject: [PATCH] Convert RPM reader into a proper format, supporting both
  stripped CPIO and SVR4
 
@@ -27,11 +27,11 @@ Signed-off-by: Jaipaul Cheernam <[email protected]>
  .../test_read_format_cpio_svr4_bzip2_rpm.c    |    4 +-
  .../test_read_format_cpio_svr4_gzip_rpm.c     |    4 +-
  libarchive/test/test_read_format_huge_rpm.c   |   13 +-
- 14 files changed, 1154 insertions(+), 14 deletions(-)
+ 14 files changed, 1155 insertions(+), 13 deletions(-)
  create mode 100644 libarchive/archive_read_support_format_rpm.c
 
 diff --git a/Makefile.am b/Makefile.am
-index 8bc70c5..487bef3 100644
+index c171c24..0c150c0 100644
 --- a/Makefile.am
 +++ b/Makefile.am
 @@ -212,6 +212,7 @@ libarchive_la_SOURCES= \
@@ -67,7 +67,7 @@ index ac039c1..34ba173 100644
    archive_read_support_format_warc.c
    archive_read_support_format_xar.c
 diff --git a/libarchive/archive.h b/libarchive/archive.h
-index 19b316a..f04a747 100644
+index 2c13908..64dbdaa 100644
 --- a/libarchive/archive.h
 +++ b/libarchive/archive.h
 @@ -316,7 +316,9 @@ typedef const char *archive_passphrase_callback(struct archive *,
@@ -80,7 +80,7 @@ index 19b316a..f04a747 100644
  #define	ARCHIVE_FILTER_LZIP	9
  #define	ARCHIVE_FILTER_LRZIP	10
  #define	ARCHIVE_FILTER_LZOP	11
-@@ -387,6 +389,7 @@ typedef const char *archive_passphrase_callback(struct archive *,
+@@ -389,6 +391,7 @@ typedef const char *archive_passphrase_callback(struct archive *,
  #define	ARCHIVE_FORMAT_7ZIP			0xE0000
  #define	ARCHIVE_FORMAT_WARC			0xF0000
  #define	ARCHIVE_FORMAT_RAR_V5			0x100000
@@ -88,7 +88,7 @@ index 19b316a..f04a747 100644
  
  /*
   * Codes returned by archive_read_format_capabilities().
-@@ -480,7 +483,9 @@ __LA_DECL int archive_read_support_filter_program(struct archive *,
+@@ -482,7 +485,9 @@ __LA_DECL int archive_read_support_filter_program(struct archive *,
  __LA_DECL int archive_read_support_filter_program_signature
  		(struct archive *, const char * /* cmd */,
  				    const void * /* match */, size_t);
@@ -98,7 +98,7 @@ index 19b316a..f04a747 100644
  __LA_DECL int archive_read_support_filter_uu(struct archive *);
  __LA_DECL int archive_read_support_filter_xz(struct archive *);
  __LA_DECL int archive_read_support_filter_zstd(struct archive *);
-@@ -501,6 +506,7 @@ __LA_DECL int archive_read_support_format_mtree(struct archive *);
+@@ -503,6 +508,7 @@ __LA_DECL int archive_read_support_format_mtree(struct archive *);
  __LA_DECL int archive_read_support_format_rar(struct archive *);
  __LA_DECL int archive_read_support_format_rar5(struct archive *);
  __LA_DECL int archive_read_support_format_raw(struct archive *);
@@ -149,11 +149,11 @@ index f086773..cc5c2b2 100644
  	archive_read_support_filter_lrzip(a);
  	/* Lzop decompress falls back to "lzop -d" command-line. */
 diff --git a/libarchive/archive_read_support_filter_by_code.c b/libarchive/archive_read_support_filter_by_code.c
-index 4c8b6cb..d3c7d21 100644
+index 6c18421..7a30c49 100644
 --- a/libarchive/archive_read_support_filter_by_code.c
 +++ b/libarchive/archive_read_support_filter_by_code.c
-@@ -49,8 +49,10 @@ archive_read_support_filter_by_code(struct archive *a, int filter_code)
- 		return archive_read_support_filter_xz(a);
+@@ -50,8 +50,10 @@ archive_read_support_filter_by_code(struct archive *a, int filter_code)
+ 	case ARCHIVE_FILTER_B64:
  	case ARCHIVE_FILTER_UU:
  		return archive_read_support_filter_uu(a);
 +#if ARCHIVE_VERSION_NUMBER < 4000000
meta/recipes-extended/libarchive/libarchive/0005-Disable-RPM-filter-auto-bidding.patch +1 -1
index 86eb48a8045..3a4f7368df9 100644
@@ -1,4 +1,4 @@
-From b367b31b5b764e15c8d484a75c790b6ffa1e20d8 Mon Sep 17 00:00:00 2001
+From 82ccfb45b0aacb275b0228ec3b3dd2522e5393e9 Mon Sep 17 00:00:00 2001
 From: Sumanth Gavini <[email protected]>
 Date: Tue, 11 Aug 2026 12:02:31 -0700
 Subject: [PATCH] libarchive: Disable RPM filter auto-bidding
meta/recipes-extended/libarchive/libarchive_3.8.11.bb renamed from meta/recipes-extended/libarchive/libarchive_3.8.10.bb +1 -1
similarity index 97%
rename from meta/recipes-extended/libarchive/libarchive_3.8.10.bb
rename to meta/recipes-extended/libarchive/libarchive_3.8.11.bb
index 747a6b99693..034aeab7ebd 100644
@@ -37,7 +37,7 @@ SRC_URI = "https://libarchive.org/downloads/libarchive-${PV}.tar.gz \
            "
 UPSTREAM_CHECK_URI = "https://www.libarchive.org/"
 
-SRC_URI[sha256sum] = "a1bffbe5152cfe869751179e7b16648c87c461cb8c46eee75062efbe164cc57c"
+SRC_URI[sha256sum] = "900fe9fc7237c2b04f090f3c3648de8fe597525771f5035016537ce2d667d12b"
 
 inherit autotools update-alternatives pkgconfig ptest
 
#4 lore raw

Re: [OE-core] [PATCH 4/4] libarchive: upgrade 3.8.10 -> 3.8.11

Quoted 5 lines · Jaipaul Cheernam

ReleaseNotes: https://github.com/libarchive/libarchive/releases/tag/v3.8.11

Libarchive 3.8.11 is a security and bugfix release. Security and Bug Fixes

Quoted 8 lines
    see ChangeLog [https://github.com/libarchive/libarchive/compare/v3.8.10...v3.8.11]

Thanks to all contributors and bug reporters!

Full Changelog: v3.8.10...v3.8.11 [https://github.com/libarchive/libarchive/compare/v3.8.10...v3.8.11]

---

Hi Jaipaul,

Thanks for the upgrade.

It looks like some ptest is failing:

Failed ptests:
{'libarchive': ['libarchive_test']}

https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/4868
https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/4834

Can you have a look at the issue?

Thanks,
Mathieu

Signature · 3 lines
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#5 lore raw

PATCH v2 1/1 libarchive: upgrade 3.8.10 -> 3.8.11

In reply to Jaipaul Cheernam

Release: https://github.com/libarchive/libarchive/releases/tag/v3.8.11
ChangeLog: https://github.com/libarchive/libarchive/compare/v3.8.10...v3.8.11

- Refresh the carried RPM patches (0003, 0004, 0005);

- Update PR #2846 patch as 3.8.11 (PR #3694) updated same area and now local patch needs update

ptest (qemux86-64, core-image-ptest-libarchive): all pass, 0 failures.
libarchive_test: 957 tests, 0 failed

  bsdtar_test:       80 tests, 0 failed
  bsdcpio_test:      50 tests, 0 failed
  bsdcat_test:       18 tests, 0 failed
  bsdunzip_test:     32 tests, 0 failed

---
Changes since v1:
- Fix RPM ptest failures

 ...er_bidder-Allow-ARCHIVE_STATE_HEADER.patch |  9 ++-
 ...vert-RPM-reader-into-a-proper-format.patch | 70 ++++++++++++++-----
 ...0005-Disable-RPM-filter-auto-bidding.patch |  2 +-
 ...archive_3.8.10.bb => libarchive_3.8.11.bb} |  2 +-
 4 files changed, 58 insertions(+), 25 deletions(-)
 rename meta/recipes-extended/libarchive/{libarchive_3.8.10.bb => libarchive_3.8.11.bb} (97%)
meta/recipes-extended/libarchive/libarchive/0003-archive_read-register_bidder-Allow-ARCHIVE_STATE_HEADER.patch +4 -5
index cc8f2896a26..c9ecb0edbbf 100644
@@ -1,6 +1,6 @@
-From 84b6ba6f4ac5f00e70d66bb7c765dd487147d83b Mon Sep 17 00:00:00 2001
+From de3e8eb0219dbe21c805cc03f1aa25b4f19dcb8a Mon Sep 17 00:00:00 2001
 From: Davide Beatrici <[email protected]>
-Date: Mon, 25 Aug 2026 22:39:08 +0000
+Date: Tue, 25 Aug 2026 22:39:08 +0000
 Subject: [PATCH] __archive_read_register_bidder(): Allow ARCHIVE_STATE_HEADER
 
 This allows formats to apply filters when they know what they need.
@@ -9,16 +9,15 @@ In the case of RPM, that's after parsing the (uncompressed) header.
 
 Upstream-Status: Submitted [https://github.com/libarchive/libarchive/pull/2846 commit 84b6ba6f4ac5]
 Signed-off-by: Jaipaul Cheernam <[email protected]>
-
 ---
  libarchive/archive_read.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
 
 diff --git a/libarchive/archive_read.c b/libarchive/archive_read.c
-index 2f006fb..5c51df5 100644
+index 6235d66..66bd4e8 100644
 --- a/libarchive/archive_read.c
 +++ b/libarchive/archive_read.c
-@@ -1297,7 +1297,8 @@ __archive_read_register_bidder(struct archive_read *a,
+@@ -1325,7 +1325,8 @@ __archive_read_register_bidder(struct archive_read *a,
  	int i, number_slots;
  
  	archive_check_magic(&a->archive, ARCHIVE_READ_MAGIC,
meta/recipes-extended/libarchive/libarchive/0004-Convert-RPM-reader-into-a-proper-format.patch +52 -18

152 lines not on this page · raw message

meta/recipes-extended/libarchive/libarchive/0005-Disable-RPM-filter-auto-bidding.patch +1 -1
index 86eb48a8045..3a4f7368df9 100644
@@ -1,4 +1,4 @@
-From b367b31b5b764e15c8d484a75c790b6ffa1e20d8 Mon Sep 17 00:00:00 2001
+From 82ccfb45b0aacb275b0228ec3b3dd2522e5393e9 Mon Sep 17 00:00:00 2001
 From: Sumanth Gavini <[email protected]>
 Date: Tue, 11 Aug 2026 12:02:31 -0700
 Subject: [PATCH] libarchive: Disable RPM filter auto-bidding
meta/recipes-extended/libarchive/libarchive_3.8.11.bb renamed from meta/recipes-extended/libarchive/libarchive_3.8.10.bb +1 -1
similarity index 97%
rename from meta/recipes-extended/libarchive/libarchive_3.8.10.bb
rename to meta/recipes-extended/libarchive/libarchive_3.8.11.bb
index 747a6b99693..034aeab7ebd 100644
@@ -37,7 +37,7 @@ SRC_URI = "https://libarchive.org/downloads/libarchive-${PV}.tar.gz \
            "
 UPSTREAM_CHECK_URI = "https://www.libarchive.org/"
 
-SRC_URI[sha256sum] = "a1bffbe5152cfe869751179e7b16648c87c461cb8c46eee75062efbe164cc57c"
+SRC_URI[sha256sum] = "900fe9fc7237c2b04f090f3c3648de8fe597525771f5035016537ce2d667d12b"
 
 inherit autotools update-alternatives pkgconfig ptest