debian: Depend on the libssl version cl-plus-ssl depends on.

This commit is contained in:
Christoph Berg 2018-06-22 10:55:16 +02:00
parent eaf3370a16
commit 7b4821e26c
3 changed files with 9 additions and 2 deletions

1
debian/changelog vendored
View File

@ -3,6 +3,7 @@ pgloader (3.5.1+dfsg-1) UNRELEASED; urgency=medium
* New upstream version.
* Run wrap-and-sort -st.
* Add new B-D cl-mustache, cl-yason, cl-zs3, sync Depends to cl-pgloader.
* Depend on the libssl version cl-plus-ssl depends on.
* Priority: optional, move cl-pgloader to Section: lisp.
* Update S-V.
* Add watch file.

2
debian/control vendored
View File

@ -56,7 +56,7 @@ Vcs-Browser: https://github.com/dimitri/pgloader
Package: pgloader
Architecture: any
Depends: freetds-dev, ${misc:Depends}, ${shlibs:Depends}
Depends: freetds-dev, ${misc:Depends}, ${shlibs:Depends}, ${ssl:Depends}
Description: extract, transform and load data into PostgreSQL
pgloader imports data from different kind of sources and COPY it into
PostgreSQL.

8
debian/rules vendored
View File

@ -1,5 +1,8 @@
#!/usr/bin/make -f
# make pgloader depend on the libssl package cl-plus-ssl depends on
LIBSSL := $(shell dpkg-query --showformat='$${Depends}' --show cl-plus-ssl | grep -o 'libssl[^ ]*')
BITS = $(shell dpkg-architecture -qDEB_BUILD_ARCH_BITS)
ifeq ($(BITS),32)
SIZE=1024
@ -38,5 +41,8 @@ override_dh_auto_test:
override_dh_strip:
# do nothing
override_dh_gencontrol:
dh_gencontrol -- -V"ssl:Depends=$(LIBSSL)"
%:
dh $@
dh $@