diff options
Diffstat (limited to 'meta-networking/recipes-support/pgpool2')
-rw-r--r-- | meta-networking/recipes-support/pgpool2/pgpool2_4.5.4.bb (renamed from meta-networking/recipes-support/pgpool2/pgpool2_4.5.1.bb) | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/meta-networking/recipes-support/pgpool2/pgpool2_4.5.1.bb b/meta-networking/recipes-support/pgpool2/pgpool2_4.5.4.bb index ffb879952c..706e7360a2 100644 --- a/meta-networking/recipes-support/pgpool2/pgpool2_4.5.1.bb +++ b/meta-networking/recipes-support/pgpool2/pgpool2_4.5.4.bb | |||
@@ -10,15 +10,15 @@ HOMEPAGE = "http://pgpool.net" | |||
10 | LICENSE = "BSD-2-Clause" | 10 | LICENSE = "BSD-2-Clause" |
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=e4b38de086d73e0521de0bbdbaa4a1a9" | 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=e4b38de086d73e0521de0bbdbaa4a1a9" |
12 | 12 | ||
13 | SRC_URI = "http://www.pgpool.net/mediawiki/images/pgpool-II-${PV}.tar.gz \ | 13 | SRC_URI = "https://www.pgpool.net/mediawiki/images/pgpool-II-${PV}.tar.gz \ |
14 | file://0001-Fix-build-error-when-build-this-file.patch \ | 14 | file://0001-Fix-build-error-when-build-this-file.patch \ |
15 | file://define_SIGNAL_ARGS.patch \ | 15 | file://define_SIGNAL_ARGS.patch \ |
16 | file://pgpool.sysconfig \ | 16 | file://pgpool.sysconfig \ |
17 | file://pgpool.service \ | 17 | file://pgpool.service \ |
18 | " | 18 | " |
19 | SRC_URI[sha256sum] = "8e14b0558a15dae8767c8e1acee3f2f6c7c08ebfffda66a359367eaaa56c3936" | 19 | SRC_URI[sha256sum] = "d1392e74ce2807f8ae628872cb1ab7914249921180dc99df40a1d602647a10fd" |
20 | 20 | ||
21 | S = "${WORKDIR}/pgpool-II-${PV}" | 21 | S = "${UNPACKDIR}/pgpool-II-${PV}" |
22 | 22 | ||
23 | inherit autotools-brokensep systemd | 23 | inherit autotools-brokensep systemd |
24 | 24 | ||
@@ -43,8 +43,12 @@ do_configure:append() { | |||
43 | 43 | ||
44 | do_install:append() { | 44 | do_install:append() { |
45 | install -d ${D}${sysconfdir}/pgpool-II | 45 | install -d ${D}${sysconfdir}/pgpool-II |
46 | install -D -m 0644 ${WORKDIR}/pgpool.sysconfig ${D}${sysconfdir}/pgpool-II/pgpool.conf | 46 | install -D -m 0644 ${UNPACKDIR}/pgpool.sysconfig ${D}${sysconfdir}/pgpool-II/pgpool.conf |
47 | install -D -m 0644 ${S}/src/sample/pcp.conf.sample ${D}${sysconfdir}/pgpool-II/pcp.conf | 47 | install -D -m 0644 ${S}/src/sample/pcp.conf.sample ${D}${sysconfdir}/pgpool-II/pcp.conf |
48 | install -D -m 0644 ${S}/src/sample/pool_hba.conf.sample ${D}${sysconfdir}/pgpool-II/pool_hba.conf | 48 | install -D -m 0644 ${S}/src/sample/pool_hba.conf.sample ${D}${sysconfdir}/pgpool-II/pool_hba.conf |
49 | install -Dm 0644 ${WORKDIR}/pgpool.service ${D}${systemd_system_unitdir}/pgpool.service | 49 | install -Dm 0644 ${UNPACKDIR}/pgpool.service ${D}${systemd_system_unitdir}/pgpool.service |
50 | } | 50 | } |
51 | |||
52 | # Avoid build failure with gcc-15: | ||
53 | # http://errors.yoctoproject.org/Errors/Details/853019/ | ||
54 | CFLAGS += "-std=gnu17" | ||