Date: Sun, 22 May 2022 21:08:08 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 264161] databases/postgresql12-server: %%PG_VERSION%% not expanded in rc script Message-ID: <bug-264161-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264161 Bug ID: 264161 Summary: databases/postgresql12-server: %%PG_VERSION%% not expanded in rc script Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: pgsql@FreeBSD.org Reporter: vidar@karlsen.tech Flags: maintainer-feedback?(pgsql@FreeBSD.org) Assignee: pgsql@FreeBSD.org A change introduced in commit 5b11f47f0d59c95f6dcf1ff75badede5ec84e72e [1] causes postgresql12-server not to be able to start via its rc script. The %%PG_VERSION%% variable does not get expanded, and the resulting rc scr= ipt ends up using the literal string. This likely affects versions 10 through 14 as their files/postgresql.in fil= es all have the same string on line 35. As a side note, postgresql15-server is hardcoded to point to ${postgresql_user}/data14 which might cause some funny issues as well. The problem was reported earlier in #264097 but the PR was closed because it referenced portmaster and not postgresqlXX-server. [1] diff excerpt: -eval postgresql_data=3D${postgresql_data:-"~${postgresql_user}/data12"} +eval postgresql_data=3D${postgresql_data:-"~${postgresql_user}/data%%PG_VERSION%= %"} --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264161-7788>