[ecflow] 26/50: Add SSL

Alastair McKinstry mckinstry at moszumanska.debian.org
Wed Sep 20 15:30:53 UTC 2017


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

mckinstry pushed a commit to branch debian/master
in repository ecflow.

commit 6438bd35dd74c35943e0cd00a66a7d1d0b7980f7
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Wed Jul 12 10:01:35 2017 +0100

    Add SSL
---
 debian/control |  1 +
 debian/rules   | 16 ++++++++++++++--
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 26417db..aaa9bcd 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Build-Depends: debhelper (>= 10), dh-buildinfo,
   dh-python, python-dev, python3-dev,
   cmake, chrpath, 
   libmotif-dev,
+  libssl-dev,
   libqt5gui5, libqt5widgets5,libqt5core5a,libqt5network5,
   libboost-test-dev, libboost-serialization-dev,
   libboost-date-time-dev, libboost-thread-dev,
diff --git a/debian/rules b/debian/rules
index 07ee994..a9171e3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,13 +15,25 @@ CXXFLAGS:= $(shell dpkg-buildflags --get CXXFLAGS) # -std=c++11
 DESTDIR:=`pwd`/debian/tmp/
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 LIBDIR:=/usr/lib/$(DEB_HOST_MULTIARCH)
-PY3VERS:=$(shell py3versions s)
-PY2VERS:=python2.7
+AUTOGENERATED:= ecflow-server.install ecflow-client.install libecflow_view0.install
+
+override_dh_auto_clean:
+	rm -f $(patsubst %, debian/%, ${AUTOGENERATED})
 
 override_dh_auto_configure:
+	for f in ${AUTOGENERATED} ; do \
+		sed -e 's%@ARCH@%${DEB_HOST_MULTIARCH}%g' < debian/$$f.in  > debian/$$f ; \
+                done
 	dh_auto_configure -- \
                 -DCMAKE_BUILD_TYPE=Release \
 		-DBOOST_INCLUDEDIR=/usr/include \
 		-DBOOSTROOT=$(LIBDIR)	\
 		-DENABLE_STATIC_BOOST_LIBS=OFF \
+		-DENABLE_SSL=ON \
 		-DCMAKE_C_CFLAGS="${CFLAGS} ${LDFLAGS}" 
+
+override_dh_auto_install:
+	#	Drop the suffixes on scripts ...
+	mv $(DESTDIR)/usr/bin/ecflow_logsvr.sh $(DESTDIR)/usr/bin/ecflow_logsvr
+	mv $(DESTDIR)/usr/bin/ecflow_migrate.sh $(DESTDIR)/usr/bin/ecflow_migrate
+	dh_auto_install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ecflow.git



More information about the debian-science-commits mailing list