[Pkg-ocaml-maint-commits] [ocamlnet] 10/13: Enable gnutls

Stéphane Glondu glondu at moszumanska.debian.org
Fri Oct 16 08:23:45 UTC 2015


This is an automated email from the git hooks/post-receive script.

glondu pushed a commit to branch master
in repository ocamlnet.

commit 50fe58192937634c4b01cec511b8819dbe082b38
Author: Stephane Glondu <steph at glondu.net>
Date:   Thu Oct 15 14:00:09 2015 +0200

    Enable gnutls
---
 debian/control                              | 1 +
 debian/libocamlnet-ssl-ocaml-dev.install.in | 1 +
 debian/libocamlnet-ssl-ocaml.install.in     | 1 +
 debian/rules                                | 1 +
 4 files changed, 4 insertions(+)

diff --git a/debian/control b/debian/control
index 60b104a..25bf22b 100644
--- a/debian/control
+++ b/debian/control
@@ -18,6 +18,7 @@ Build-Depends:
  libssl-ocaml-dev (>= 0.4.3-3~),
  libzip-ocaml-dev,
  libcryptokit-ocaml-dev,
+ libgnutls28-dev,
  apache2-dev
 Standards-Version: 3.9.4
 Homepage: http://projects.camlcity.org/projects/ocamlnet.html
diff --git a/debian/libocamlnet-ssl-ocaml-dev.install.in b/debian/libocamlnet-ssl-ocaml-dev.install.in
index e69de29..86bf6d7 100644
--- a/debian/libocamlnet-ssl-ocaml-dev.install.in
+++ b/debian/libocamlnet-ssl-ocaml-dev.install.in
@@ -0,0 +1 @@
+ at OCamlStdlibDir@/nettls-gnutls     @OCamlStdlibDir@
diff --git a/debian/libocamlnet-ssl-ocaml.install.in b/debian/libocamlnet-ssl-ocaml.install.in
index e69de29..d33a3bb 100644
--- a/debian/libocamlnet-ssl-ocaml.install.in
+++ b/debian/libocamlnet-ssl-ocaml.install.in
@@ -0,0 +1 @@
+ at OCamlDllDir@/dllnettls-gnutls.so     @OCamlDllDir@
diff --git a/debian/rules b/debian/rules
index bf477e3..0c2dc3a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,6 +20,7 @@ CFGFLAGS += -with-nethttpd -prefer-netcgi2
 CFGFLAGS += -bindir /usr/bin -datadir /usr/share/ocamlnet
 CFGFLAGS += -enable-apache -apache /usr/sbin/apache2 -apxs /usr/bin/apxs2
 CFGFLAGS += -enable-pcre -enable-zip
+CFGFLAGS += -enable-gnutls
 
 %:
 	dh $@ --with ocaml,apache2

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ocamlnet.git



More information about the Pkg-ocaml-maint-commits mailing list