From de83cc1fe0f097bbbe5732c5bab7d40a7c26596f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 20 Sep 2019 17:28:58 +0200 Subject: DilOS: build tqca-tls Signed-off-by: Denis Kozadaev --- dilos/dependencies/tqca-tls/debian/changelog | 84 +++++++++++++++ dilos/dependencies/tqca-tls/debian/compat | 1 + dilos/dependencies/tqca-tls/debian/control | 24 +++++ dilos/dependencies/tqca-tls/debian/copyright | 20 ++++ dilos/dependencies/tqca-tls/debian/docs | 1 + dilos/dependencies/tqca-tls/debian/rules | 120 +++++++++++++++++++++ dilos/dependencies/tqca-tls/debian/source/format | 1 + dilos/dependencies/tqca-tls/debian/source/options | 6 ++ .../dependencies/tqca-tls/debian/tqca-tls.install | 1 + .../tqca-tls/debian/tqca-tls.install.arch | 1 + 10 files changed, 259 insertions(+) create mode 100644 dilos/dependencies/tqca-tls/debian/changelog create mode 100644 dilos/dependencies/tqca-tls/debian/compat create mode 100644 dilos/dependencies/tqca-tls/debian/control create mode 100644 dilos/dependencies/tqca-tls/debian/copyright create mode 100644 dilos/dependencies/tqca-tls/debian/docs create mode 100755 dilos/dependencies/tqca-tls/debian/rules create mode 100644 dilos/dependencies/tqca-tls/debian/source/format create mode 100644 dilos/dependencies/tqca-tls/debian/source/options create mode 100644 dilos/dependencies/tqca-tls/debian/tqca-tls.install create mode 100644 dilos/dependencies/tqca-tls/debian/tqca-tls.install.arch diff --git a/dilos/dependencies/tqca-tls/debian/changelog b/dilos/dependencies/tqca-tls/debian/changelog new file mode 100644 index 000000000..080b12959 --- /dev/null +++ b/dilos/dependencies/tqca-tls/debian/changelog @@ -0,0 +1,84 @@ +tqca-tls (1.0-0) squeeze; urgency=low + + * TQt upload + + -- Timothy Pearson Sat, 17 Dec 2011 19:48:00 -0600 + +qca-tls (1.0-5) natty; urgency=low + + * Natty upload + + -- Timothy Pearson Mon, 15 Aug 2011 13:51:00 -0600 + +qca-tls (1.0-4) unstable; urgency=low + + * Honour DEB_BUILD_OPTIONS=nostrip (Closes: Bug#437850) + * Fixed a intian warning + + -- Jan Niehusmann Tue, 14 Aug 2007 17:13:06 +0200 + +qca-tls (1.0-3) unstable; urgency=low + + * Changed two type conversions to const to make gcc happy + (Closes: Bug#337449) + * Set Standards-Version to 3.6.2.0 + + -- Jan Niehusmann Thu, 15 Dec 2005 22:59:09 +0100 + +qca-tls (1.0-2) unstable; urgency=low + + * Recompiled for C++ ABI transition. + + -- Jan Niehusmann Fri, 26 Aug 2005 18:10:30 +0000 + +qca-tls (1.0-1) unstable; urgency=low + + * Most of the following changes were done by Peter Palfrader + - many thanks to him! + * New upstream version (closes: #235093). + * qca-tls is a non-native package now (closes: #235084). + * Clean up properly in clean target: + rm -rf .ui .moc .obj Makefile conf.log conf.pri extra.pri + (closes: #235089). + * Do not copy over config.{sub,guess} from /usr/share during + build. They are not needed at all (closes: #235085). + * Remove debian/qca.doc-base.EX example file (closes: #235092). + * Do not ship readme in the binary package: it's just install + instructions (closes: #234939). + * Something changed that makes the configure script make the + Makefile install the .so into usr/lib, as opposed to usr/share + (closes: #233530). At any rate, we will not claim to have + built a working package if it happens again: + * Make the build fail if we don't have a + usr/lib/qt3/plugins/crypto/libqca-tls.so file after install. + * Make stamps in debian/rules actually work. + * Update copyright file to list current download link + * Added QMAKE_PROJECT_DEPTH=0 to .pro file to make qca-tls build in + nested directory structures. + + -- Jan Niehusmann Sat, 28 Feb 2004 13:35:28 +0100 + +qca-tls (0.0-CVS-20031209-1.3) unstable; urgency=low + + * Damn. Added build-depends on libssl-dev... + + -- Jan Niehusmann Fri, 13 Feb 2004 15:06:45 +0100 + +qca-tls (0.0-CVS-20031209-1.2) unstable; urgency=low + + * Added build-depends on libqt3-mt-dev + + -- Jan Niehusmann Fri, 13 Feb 2004 13:27:34 +0100 + +qca-tls (0.0-CVS-20031209-1.1) unstable; urgency=low + + * Upload to unstable + + -- Jan Niehusmann Thu, 12 Feb 2004 20:28:19 +0100 + +qca-tls (0.0-CVS-20031209-1) experimental; urgency=low + + * Initial Release. + * New upstream version + + -- Jan Niehusmann Wed, 10 Dec 2003 12:21:07 +0100 diff --git a/dilos/dependencies/tqca-tls/debian/compat b/dilos/dependencies/tqca-tls/debian/compat new file mode 100644 index 000000000..ec635144f --- /dev/null +++ b/dilos/dependencies/tqca-tls/debian/compat @@ -0,0 +1 @@ +9 diff --git a/dilos/dependencies/tqca-tls/debian/control b/dilos/dependencies/tqca-tls/debian/control new file mode 100644 index 000000000..8c719a019 --- /dev/null +++ b/dilos/dependencies/tqca-tls/debian/control @@ -0,0 +1,24 @@ +Source: tqca-tls +Section: libs +Priority: optional +Maintainer: Jan Niehusmann +Build-Depends: debhelper (>= 7.0.50~), libtqtinterface-dev, libssl-dev +Standards-Version: 3.8.4 + +Package: tqca-tls +Section: libs +Architecture: any +Multi-Arch: same +Replaces: tqca-tls (<< 4:14.0.0~) +Breaks: tqca-tls (<< 4:14.0.0~) +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: TLS plugin for the TQt Cryptographic Architecture (TQCA) + This is a plugin to provide SSL/TLS capability to programs that + utilize the TQt Cryptographic Architecture (TQCA). + . + TQCA is a library providing an easy API for several cryptographic algorithms + to TQt programs. + . + At the moment only the tqca-tls plugin is packaged for debian, as it's + used by the package 'psi'. The generic library and several other plugins + will be packaged when upstream releases them. diff --git a/dilos/dependencies/tqca-tls/debian/copyright b/dilos/dependencies/tqca-tls/debian/copyright new file mode 100644 index 000000000..e64397c08 --- /dev/null +++ b/dilos/dependencies/tqca-tls/debian/copyright @@ -0,0 +1,20 @@ +This package was debianized by Jan Niehusmann on +Tue, 9 Dec 2003 19:30:45 +0100. + +It was downloaded from http://psi.affinix.com/?page=download + + +Upstream Author: Justin Karneges + +Copyright: + +Copyright (C) 2003 Justin Karneges + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +On Debian systems, the complete text of the GNU Lesser General Public +License can be found in /usr/share/common-licenses/LGPL file. + diff --git a/dilos/dependencies/tqca-tls/debian/docs b/dilos/dependencies/tqca-tls/debian/docs new file mode 100644 index 000000000..e845566c0 --- /dev/null +++ b/dilos/dependencies/tqca-tls/debian/docs @@ -0,0 +1 @@ +README diff --git a/dilos/dependencies/tqca-tls/debian/rules b/dilos/dependencies/tqca-tls/debian/rules new file mode 100755 index 000000000..e05e32c32 --- /dev/null +++ b/dilos/dependencies/tqca-tls/debian/rules @@ -0,0 +1,120 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ + && echo xz || echo bzip2) + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + + +#CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +# shared library versions, option 1 +version=2.0.5 +major=2 +# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so +#version=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +#major=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + CFLAGS="$(CFLAGS)" ./configure + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + rm -rf .ui .moc .obj Makefile conf.log conf.pri extra.pri + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # update multi-arch path in install files + for a in debian/*install; do \ + [ -d $$a ] || [ -f $$a.arch ] || \ + sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \ + done + + # Add here commands to install the package into debian/tmp + $(MAKE) install INSTALL_ROOT=$(CURDIR)/debian/tmp/ + [ -e $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins/crypto/libtqca-tls.so ] || ( echo "libtqca-tls.so not in usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins/crypto/libtqca-tls.so" && exit 1 ) + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_install --sourcedir=debian/tmp --list-missing +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb $(DEB_DH_BUILDDEB_ARGS) + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff --git a/dilos/dependencies/tqca-tls/debian/source/format b/dilos/dependencies/tqca-tls/debian/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/dilos/dependencies/tqca-tls/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/dilos/dependencies/tqca-tls/debian/source/options b/dilos/dependencies/tqca-tls/debian/source/options new file mode 100644 index 000000000..72f1f5450 --- /dev/null +++ b/dilos/dependencies/tqca-tls/debian/source/options @@ -0,0 +1,6 @@ +# Use xz instead of gzip +compression = "xz" +compression-level = 9 + +# Don't run differences +diff-ignore = .* diff --git a/dilos/dependencies/tqca-tls/debian/tqca-tls.install b/dilos/dependencies/tqca-tls/debian/tqca-tls.install new file mode 100644 index 000000000..82bd1ecad --- /dev/null +++ b/dilos/dependencies/tqca-tls/debian/tqca-tls.install @@ -0,0 +1 @@ +usr/lib/amd64/tqt3/plugins/crypto/* diff --git a/dilos/dependencies/tqca-tls/debian/tqca-tls.install.arch b/dilos/dependencies/tqca-tls/debian/tqca-tls.install.arch new file mode 100644 index 000000000..bf57d3931 --- /dev/null +++ b/dilos/dependencies/tqca-tls/debian/tqca-tls.install.arch @@ -0,0 +1 @@ +usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins/crypto/* -- cgit v1.2.3