From ee44f19815f76609eb66d88278c142ecdf224353 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Fri, 22 Jun 2018 14:35:59 +0200 Subject: [PATCH] debian: Enable SSL in src/hooks.lisp. --- debian/changelog | 1 + debian/patches/enable-ssl | 16 ++++++++++++++++ debian/patches/series | 1 + 3 files changed, 18 insertions(+) create mode 100644 debian/patches/enable-ssl create mode 100644 debian/patches/series diff --git a/debian/changelog b/debian/changelog index b463b3a..c76a50f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ pgloader (3.5.1+dfsg-1) UNRELEASED; urgency=medium * New upstream version. + * Enable SSL in src/hooks.lisp. * 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. diff --git a/debian/patches/enable-ssl b/debian/patches/enable-ssl new file mode 100644 index 0000000..03b617d --- /dev/null +++ b/debian/patches/enable-ssl @@ -0,0 +1,16 @@ +In d4737a39ca8702e32ad0a47941f93fef2872966f SSL loading automatically was +disabled for general use, but we want to have it in the Debian package. + +--- a/src/hooks.lisp ++++ b/src/hooks.lisp +@@ -30,10 +30,8 @@ + ;; handles some context and things around loading with CFFI. + (cl+ssl:reload))) + +-#| + #+ccl (push #'open-foreign-libs *lisp-startup-functions*) + #+sbcl (push #'open-foreign-libs sb-ext:*init-hooks*) +-|# + + #+ccl (push #'close-foreign-libs *save-exit-functions*) + #+sbcl (push #'close-foreign-libs sb-ext:*save-hooks*) diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..e463f04 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +enable-ssl