From 25f9c280498e86a463b0534d503f7672138d7144 Mon Sep 17 00:00:00 2001 From: Jason Schonberg Date: Mon, 5 May 2025 13:15:47 -0400 Subject: pgpool2: upgrade 4.5.2 -> 4.5.3 Changelog: https://www.pgpool.net/docs/latest/en/html/release-4-5-3.html Signed-off-by: Jason Schonberg Signed-off-by: Khem Raj Signed-off-by: Gyorgy Sarvari --- .../recipes-support/pgpool2/pgpool2_4.5.2.bb | 50 ---------------------- .../recipes-support/pgpool2/pgpool2_4.5.3.bb | 50 ++++++++++++++++++++++ 2 files changed, 50 insertions(+), 50 deletions(-) delete mode 100644 meta-networking/recipes-support/pgpool2/pgpool2_4.5.2.bb create mode 100644 meta-networking/recipes-support/pgpool2/pgpool2_4.5.3.bb (limited to 'meta-networking') diff --git a/meta-networking/recipes-support/pgpool2/pgpool2_4.5.2.bb b/meta-networking/recipes-support/pgpool2/pgpool2_4.5.2.bb deleted file mode 100644 index 0bf45c17ce..0000000000 --- a/meta-networking/recipes-support/pgpool2/pgpool2_4.5.2.bb +++ /dev/null @@ -1,50 +0,0 @@ -SUMMARY = "A language independent connection pool server for PostgreSQL." - -DESCRIPTION = "Pgpool-II is a middleware that works between PostgreSQL \ - servers and a PostgreSQL database client. It is distributed \ - under a license similar to BSD and MIT. It provides the \ - following features." - -HOMEPAGE = "http://pgpool.net" - -LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://COPYING;md5=e4b38de086d73e0521de0bbdbaa4a1a9" - -SRC_URI = "http://www.pgpool.net/mediawiki/images/pgpool-II-${PV}.tar.gz \ - file://0001-Fix-build-error-when-build-this-file.patch \ - file://define_SIGNAL_ARGS.patch \ - file://pgpool.sysconfig \ - file://pgpool.service \ - " -SRC_URI[sha256sum] = "480ac23f01cd7d6c856b29386bf17a848712fb4b4057d4c8abd5c8bf819bdf06" - -S = "${WORKDIR}/pgpool-II-${PV}" - -inherit autotools-brokensep systemd - -SYSTEMD_SERVICE:${PN} = "pgpool.service" - -PACKAGECONFIG ??= " openssl libmemcached postgresql \ -" -PACKAGECONFIG[pam] = "--with-pam,,libpam" -PACKAGECONFIG[openssl] = "--with-openssl,,openssl" -PACKAGECONFIG[libmemcached] = "--with-memcached=${STAGING_INCDIR}/libmemcachedutil-1.0,,libmemcached" -PACKAGECONFIG[postgresql] = "--with-pgsql-includedir=${STAGING_INCDIR}/postgresql,, postgresql" - -EXTRA_OECONF += "--disable-static \ - --disable-rpath \ - " -FILES:${PN} += "${datadir}/pgpool-II/ " - -do_configure:append() { - echo "#define HAVE_STRCHRNUL 1" >> ${S}/src/include/config.h - sed -i "s,#define USE_REPL_SNPRINTF 1,/* #undef USE_REPL_SNPRINTF*/,g" ${S}/src/include/config.h -} - -do_install:append() { - install -d ${D}${sysconfdir}/pgpool-II - install -D -m 0644 ${UNPACKDIR}/pgpool.sysconfig ${D}${sysconfdir}/pgpool-II/pgpool.conf - install -D -m 0644 ${S}/src/sample/pcp.conf.sample ${D}${sysconfdir}/pgpool-II/pcp.conf - install -D -m 0644 ${S}/src/sample/pool_hba.conf.sample ${D}${sysconfdir}/pgpool-II/pool_hba.conf - install -Dm 0644 ${UNPACKDIR}/pgpool.service ${D}${systemd_system_unitdir}/pgpool.service -} diff --git a/meta-networking/recipes-support/pgpool2/pgpool2_4.5.3.bb b/meta-networking/recipes-support/pgpool2/pgpool2_4.5.3.bb new file mode 100644 index 0000000000..09d756b289 --- /dev/null +++ b/meta-networking/recipes-support/pgpool2/pgpool2_4.5.3.bb @@ -0,0 +1,50 @@ +SUMMARY = "A language independent connection pool server for PostgreSQL." + +DESCRIPTION = "Pgpool-II is a middleware that works between PostgreSQL \ + servers and a PostgreSQL database client. It is distributed \ + under a license similar to BSD and MIT. It provides the \ + following features." + +HOMEPAGE = "http://pgpool.net" + +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://COPYING;md5=e4b38de086d73e0521de0bbdbaa4a1a9" + +SRC_URI = "https://www.pgpool.net/mediawiki/images/pgpool-II-${PV}.tar.gz \ + file://0001-Fix-build-error-when-build-this-file.patch \ + file://define_SIGNAL_ARGS.patch \ + file://pgpool.sysconfig \ + file://pgpool.service \ + " +SRC_URI[sha256sum] = "25ed340d7b7dc00c20e4ba763d3f9c07ba891b150d9d48af313a1351cafdd778" + +S = "${WORKDIR}/pgpool-II-${PV}" + +inherit autotools-brokensep systemd + +SYSTEMD_SERVICE:${PN} = "pgpool.service" + +PACKAGECONFIG ??= " openssl libmemcached postgresql \ +" +PACKAGECONFIG[pam] = "--with-pam,,libpam" +PACKAGECONFIG[openssl] = "--with-openssl,,openssl" +PACKAGECONFIG[libmemcached] = "--with-memcached=${STAGING_INCDIR}/libmemcachedutil-1.0,,libmemcached" +PACKAGECONFIG[postgresql] = "--with-pgsql-includedir=${STAGING_INCDIR}/postgresql,, postgresql" + +EXTRA_OECONF += "--disable-static \ + --disable-rpath \ + " +FILES:${PN} += "${datadir}/pgpool-II/ " + +do_configure:append() { + echo "#define HAVE_STRCHRNUL 1" >> ${S}/src/include/config.h + sed -i "s,#define USE_REPL_SNPRINTF 1,/* #undef USE_REPL_SNPRINTF*/,g" ${S}/src/include/config.h +} + +do_install:append() { + install -d ${D}${sysconfdir}/pgpool-II + install -D -m 0644 ${UNPACKDIR}/pgpool.sysconfig ${D}${sysconfdir}/pgpool-II/pgpool.conf + install -D -m 0644 ${S}/src/sample/pcp.conf.sample ${D}${sysconfdir}/pgpool-II/pcp.conf + install -D -m 0644 ${S}/src/sample/pool_hba.conf.sample ${D}${sysconfdir}/pgpool-II/pool_hba.conf + install -Dm 0644 ${UNPACKDIR}/pgpool.service ${D}${systemd_system_unitdir}/pgpool.service +} -- cgit v1.2.3-54-g00ecf