* [PR PATCH] postgresql: depend on openssl for development files
@ 2022-12-27 0:20 kruceter
2022-12-27 9:22 ` [PR PATCH] [Merged]: " paper42
0 siblings, 1 reply; 2+ messages in thread
From: kruceter @ 2022-12-27 0:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1268 bytes --]
There is a new pull request by kruceter against master on the void-packages repository
https://github.com/kruceter/void-packages postgresql
https://github.com/void-linux/void-packages/pull/41309
postgresql: depend on openssl for development files
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/41309.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-postgresql-41309.patch --]
[-- Type: text/x-diff, Size: 2372 bytes --]
From ba4d8a9a96a9077843c6bc0cab57c79ebff6148c Mon Sep 17 00:00:00 2001
From: Krul Ceter <kruceter@proton.me>
Date: Tue, 27 Dec 2022 03:00:32 +0300
Subject: [PATCH 1/2] postgresql14: depend on openssl-devel for development
files
libpq.pc depends on "libssl" and "libcrypto" from openssl-devel.
"pkg-config --exists libpq" exits with code 1 if openssl-devel is not
present.
---
srcpkgs/postgresql14/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/postgresql14/template b/srcpkgs/postgresql14/template
index 541839588719..9c1d31ce1444 100644
--- a/srcpkgs/postgresql14/template
+++ b/srcpkgs/postgresql14/template
@@ -1,7 +1,7 @@
# Template file for 'postgresql14'
pkgname=postgresql14
version=14.5
-revision=2
+revision=3
build_style=gnu-configure
make_build_target=world
_major="${version%%.*}"
@@ -124,7 +124,7 @@ postgresql-libs_package() {
}
postgresql-libs-devel_package() {
- depends="postgresql-libs>=${version}_${revision}"
+ depends="postgresql-libs>=${version}_${revision} openssl-devel"
short_desc="PostgreSQL shared libraries (development files)"
conflicts="postgresql9.6-libs-devel>=0 postgresql12-libs-devel>=0 postgresql13-libs-devel>=0"
pkg_install() {
From 1c4585f33590cae88a0178f41cb7fd96e80bd03c Mon Sep 17 00:00:00 2001
From: Krul Ceter <kruceter@proton.me>
Date: Tue, 27 Dec 2022 03:05:22 +0300
Subject: [PATCH 2/2] postgresql13: depend on openssl-devel for development
files
libpq.pc specifies "-lssl -lcrypto", which requires openssl-devel to be
installed.
---
srcpkgs/postgresql13/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/postgresql13/template b/srcpkgs/postgresql13/template
index b08ec73de78b..0f1ea0072b11 100644
--- a/srcpkgs/postgresql13/template
+++ b/srcpkgs/postgresql13/template
@@ -1,7 +1,7 @@
# Template file for 'postgresql13'
pkgname=postgresql13
version=13.8
-revision=2
+revision=3
build_style=gnu-configure
make_build_target=world
_major="${version%%.*}"
@@ -123,7 +123,7 @@ postgresql13-libs_package() {
}
postgresql13-libs-devel_package() {
- depends="postgresql-libs>=${version}_${revision}"
+ depends="postgresql-libs>=${version}_${revision} openssl-devel"
short_desc="PostgreSQL shared libraries (development files)"
conflicts="postgresql9.6-libs-devel>=0 postgresql12-libs-devel>=0"
pkg_install() {
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: postgresql: depend on openssl for development files
2022-12-27 0:20 [PR PATCH] postgresql: depend on openssl for development files kruceter
@ 2022-12-27 9:22 ` paper42
0 siblings, 0 replies; 2+ messages in thread
From: paper42 @ 2022-12-27 9:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1112 bytes --]
There's a merged pull request on the void-packages repository
postgresql: depend on openssl for development files
https://github.com/void-linux/void-packages/pull/41309
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-27 9:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-27 0:20 [PR PATCH] postgresql: depend on openssl for development files kruceter
2022-12-27 9:22 ` [PR PATCH] [Merged]: " paper42
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).