--- matrixssl-1.8.8.orig/debian/changelog +++ matrixssl-1.8.8/debian/changelog @@ -0,0 +1,206 @@ +matrixssl (1.8.8-1) unstable; urgency=high + + * new upstream version. + * disable renegotiation (CVE-2009-3555). + * debian/diff/0001-don-t-define-USE_MULTITHREADING-with-diet-libc.diff: + remove; multithreading is now disabled by default. + * debian/rules: no longer apply 0001-don-t-define-...diff. + * debian/control: libmatrixssl-dev: Depends: ${shlibs:Depends}. + * debian/rules: libmatrixssl-dev: run dpkg-shlibdeps (closes: #553244). + + -- Gerrit Pape Wed, 18 Nov 2009 22:09:19 +0000 + +matrixssl (1.8.6-1) unstable; urgency=low + + * new upstream version. + + -- Gerrit Pape Wed, 19 Nov 2008 21:40:28 +0000 + +matrixssl (1.8.5-1) unstable; urgency=low + + * new upstream version. + * debian/control: Source: Section: libs; package libmatrixssl1.8-dev: + Depends: libmatrixssl1.8 (= ${binary:Version}) instead of (= + ${Source-Version}); Standards-Version: 3.8.0.1. + + -- Gerrit Pape Sun, 15 Jun 2008 18:29:35 +0000 + +matrixssl (1.8.3-1) unstable; urgency=low + + * new upstream version (closes: #380005). + * debian/diff/include-asm.diff: remove; obsolete. + * debian/rules: no longer apply debian/diff/include-asm.diff. + * debian/rules: adjust DFLAGS, CFLAGS. + * debian/rules: apply patch(es) with patch -p1 instead of -p0. + * debian/diff/diet-nopthread.diff: rename to + debian/diff/0001-don-t-define-USE_MULTITHREADING-with-diet-libc.diff; + adapt. + * debian/libmatrixssl1.7*: rename to debian/libmatrixssl1.8*. + * debian/control: 1.7 -> 1.8. + * debian/libmatrixssl1.8.shlibs: remove; auto-generated. + * debian/rules: remove debian/libmatrixssl1.8.shlibs in target clean:. + + -- Gerrit Pape Fri, 29 Jun 2007 00:01:59 +0000 + +matrixssl (1.7.3-1.1) unstable; urgency=low + + * Non-maintainer upload to fix Failure To Build From Source due to a + problematic inclusion of asm/timex.h. + * Modified debian/rules so that all the linux.c files are patched not to + include . (Closes: #380683) + + -- Margarita Manterola Mon, 7 Aug 2006 17:21:54 -0300 + +matrixssl (1.7.3-1) unstable; urgency=low + + * new upstream point release. + + -- Gerrit Pape Fri, 18 Nov 2005 14:23:58 +0000 + +matrixssl (1.7.1-2) unstable; urgency=low + + * debian/rules: install missing /usr/include/diet/matrixConfig.h. + + -- Gerrit Pape Tue, 18 Oct 2005 19:57:11 +0000 + +matrixssl (1.7.1-1) unstable; urgency=low + + * new upstream release. + * debian/diff/clocks-per-sec.diff: remove; obsolete. + * debian/control: remove version restriction form Build-Depends:, + Suggests: dietlibc-dev. + * debian/diff/diet-nopthread.diff: adapt. + * debian/libmatrixssl1.7-dev.README.Debian: minor. + + -- Gerrit Pape Sun, 25 Sep 2005 13:27:03 +0000 + +matrixssl (1.2.5-1) unstable; urgency=low + + * new upstream point release. + * debian/diff/uint32-typo.diff: remove; applied upstream. + * debian/rules: don't apply uint32-typo.diff. + * debian/copyright: 2005; GPLv2 only, not any later version. + + -- Gerrit Pape Tue, 19 Apr 2005 18:28:14 +0000 + +matrixssl (1.2.4-3) unstable; urgency=low + + * debian/control: add Build-Depends: dietlibc-dev [ppc64]. + * debian/rules: add ppc64 to DIET_ARCHS. + + -- Gerrit Pape Sun, 13 Mar 2005 14:08:18 +0000 + +matrixssl (1.2.4-2) unstable; urgency=low + + * debian/diff/uint32-typo.diff: new; unsigned int32 -> uint32 (fixes build + failures on non-i386). + * debian/rules: unpack: apply diff. + + -- Gerrit Pape Sun, 6 Mar 2005 13:57:29 +0000 + +matrixssl (1.2.4-1) unstable; urgency=low + + * new upstream point release. + * debian/diff/include-asm.diff: new; don't include kernel headers when + building with diet libc. + * debian/rules: unpack-diet-stamp: apply include-asm.diff; use upstream + src/Makefile to build static libraries. + * debian/Makefile.static: remove; obsolete. + * debian/libmatrixssl1.2.postinst, debian/libmatrixssl1.2.postrm: minor. + + -- Gerrit Pape Sun, 6 Mar 2005 10:09:38 +0000 + +matrixssl (1.2.2-1) unstable; urgency=low + + * new upstream point release. + * debian/libmatrixssl1.2-dev.README.Debian: typo. + + -- Gerrit Pape Sat, 25 Sep 2004 16:55:30 +0000 + +matrixssl (1.2.1-1) unstable; urgency=low + + * new upstream point release, fixing several non-security bugs. + + -- Gerrit Pape Mon, 30 Aug 2004 08:52:17 +0000 + +matrixssl (1.2-2) unstable; urgency=medium + + * debian/control: typo in Recommends: (closes: #266496). + + -- Gerrit Pape Wed, 18 Aug 2004 07:13:22 +0000 + +matrixssl (1.2-1) unstable; urgency=low + + * new upstream release. + * bump soversion. + * debian/control: Build-Depends: dietlibc-dev (>> 0.27-0); Package: + libmatrixssl1.2-dev: Suggests: dietlibc-dev (>> 0.27-0). + * debian/libmatrixssl1.2-dev.README.Debian: wording. + * debian/rules: adapt TARGZ, SOVER, SOREV. + + -- Gerrit Pape Sun, 1 Aug 2004 19:59:23 +0000 + +matrixssl (1.1.2-1) unstable; urgency=low + + * new upstream release. + * debian/implicit: update to revision 1.10. + * debian/libmatrixssl1.1-dev.README.Debian: minor. + * debian/rules: adapt; cleanup. + + -- Gerrit Pape Sun, 11 Jul 2004 05:34:04 +0000 + +matrixssl (1.1.1-2) unstable; urgency=low + + * debian/rules: install diet library into /usr/lib/diet/lib/; shorten + architecture-test; use Debian default CFLAGS+=-g -O2. + * debian/control: Build-Depends: dietlibc-dev (>= 0.26-3); + libmatrixssl-dev: Suggests: dietlibc-dev (>= 0.26-3). + + -- Gerrit Pape Sun, 20 Jun 2004 19:43:08 +0000 + +matrixssl (1.1.1-1) unstable; urgency=low + + * new upstream release. + * debian/rules: minor. + * debian/control: minor update to descriptions. + + -- Gerrit Pape Sun, 13 Jun 2004 09:12:39 +0000 + +matrixssl (1.1-1) unstable; urgency=low + + * new upstream release (fixes problem handling client hello message from + gnutls clients; closes: #248014). + * debian/control: bump soversion. + * debian/rules: use '-O2 -g' for shared library; use diet defaults for diet + library; use upstream's default for static library; bump soversion. + + -- Gerrit Pape Wed, 2 Jun 2004 18:32:01 +0000 + +matrixssl (1-0-2-2) unstable; urgency=low + + * debian/rules: add -lgcc to LDFLAGS when linking shared library (should + fix build failure on hppa, arm). + + -- Gerrit Pape Fri, 7 May 2004 08:55:21 +0000 + +matrixssl (1-0-2-1) unstable; urgency=low + + * new upstream release. + * debian/rules: revert to -O3 in DFLAGS. + + -- Gerrit Pape Thu, 6 May 2004 11:06:20 +0000 + +matrixssl (1-0-1-1) unstable; urgency=low + + * new upstream release. + * debian/rules: use -Os instead of -O3 in DFLAGS; use dietlibc-dev on + amd64. + * debian/control: Build-Depends: dietlibc-dev +[amd64]. + + -- Gerrit Pape Sun, 25 Apr 2004 06:52:51 +0000 + +matrixssl (1-0-1) unstable; urgency=low + + * initial release (closes: #232506). + + -- Gerrit Pape Sat, 3 Apr 2004 12:50:27 +0000 --- matrixssl-1.8.8.orig/debian/control +++ matrixssl-1.8.8/debian/control @@ -0,0 +1,56 @@ +Source: matrixssl +Priority: optional +Section: libs +Maintainer: Gerrit Pape +Build-Depends: dietlibc-dev [alpha amd64 arm hppa i386 ia64 mips mipsel powerpc ppc64 s390 sparc] +Standards-Version: 3.8.0.1 + +Package: libmatrixssl1.8-dev +Section: libdevel +Architecture: any +Depends: libmatrixssl1.8 (= ${binary:Version}), ${shlibs:Depends} +Provides: libmatrixssl-dev +Conflicts: libmatrixssl-dev +Recommends: libmatrixssl1.8-doc +Suggests: dietlibc-dev +Description: small SSL library optimized for embedded systems (development files) + MatrixSSL is an embedded SSL implementation designed for small footprint + devices and applications requiring low overhead per connection. The + library is less than 50K on disk with cipher suites. It includes SSLv3 + server support, session resumption, and implementations of RSA, 3DES, + ARC4, SHA1, and MD5. The source is well documented and contains + portability layers for additional operating systems, cipher suites, and + crypto providers. + . + See http://www.matrixssl.org/ for more information. + +Package: libmatrixssl1.8 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: small SSL library optimized for embedded systems + MatrixSSL is an embedded SSL implementation designed for small footprint + devices and applications requiring low overhead per connection. The + library is less than 50K on disk with cipher suites. It includes SSLv3 + server support, session resumption, and implementations of RSA, 3DES, + ARC4, SHA1, and MD5. The source is well documented and contains + portability layers for additional operating systems, cipher suites, and + crypto providers. + . + See http://www.matrixssl.org/ for more information. + +Package: libmatrixssl1.8-doc +Section: doc +Architecture: all +Provides: libmatrixssl-doc +Suggests: libmatrixssl-dev, pdf-viewer +Description: small SSL library optimized for embedded systems (documentation) + MatrixSSL is an embedded SSL implementation designed for small footprint + devices and applications requiring low overhead per connection. The + library is less than 50K on disk with cipher suites. It includes SSLv3 + server support, session resumption, and implementations of RSA, 3DES, + ARC4, SHA1, and MD5. The source is well documented and contains + portability layers for additional operating systems, cipher suites, and + crypto providers. + . + See http://www.matrixssl.org/ for more information. --- matrixssl-1.8.8.orig/debian/copyright +++ matrixssl-1.8.8/debian/copyright @@ -0,0 +1,13 @@ +This package was debianized by Gerrit Pape on +Wed, 31 Mar 2004 12:33:47 +0000 + +It was downloaded from http://www.matrixssl.org/ + +Upstream Author: PeerSec Networks LLC + +Copyright: + +This package is Copyright (c) PeerSec Networks, 2002-2005, and may be copied +according to the GNU GENERAL PUBLIC LICENSE (GPL) Version 2. + +The full text of the GPL can be found at /usr/share/common-licenses/GPL-2. --- matrixssl-1.8.8.orig/debian/implicit +++ matrixssl-1.8.8/debian/implicit @@ -0,0 +1,85 @@ +# $Id: implicit,v 1.10 2004/07/03 15:20:00 pape Exp $ + +.PHONY: deb-checkdir deb-checkuid + +deb-checkdir: + @test -e debian/control || sh -cx '! : wrong directory' +deb-checkuid: + @test "`id -u`" -eq 0 || sh -cx '! : need root privileges' + +%.deb: %.deb-docs %.deb-DEBIAN + @rm -f $*.deb $*.deb-checkdir $*.deb-docs $*.deb-docs-base \ + $*.deb-docs-docs $*.deb-docs-examples $*.deb-DEBIAN \ + $*.deb-DEBIAN-dir $*.deb-DEBIAN-scripts $*.deb-DEBIAN-md5sums + +%.udeb: %.deb-DEBIAN + @rm -f $*.deb $*.deb-checkdir $*.deb-DEBIAN $*.deb-DEBIAN-dir \ + $*.deb-DEBIAN-scripts $*.deb-DEBIAN-md5sums + +%.deb-checkdir: + @test -d debian/$* || sh -cx '! : directory debian/$* missing' + @test "`id -u`" -eq 0 || sh -cx '! : need root privileges' + +%.deb-docs-base: + : implicit + @rm -f debian/$*/usr/share/doc/$*/* || : + @install -d -m0755 debian/$*/usr/share/doc/$* + : debian/$*/usr/share/doc/$*/ + @sh -cx 'install -m0644 debian/copyright debian/$*/usr/share/doc/$*/' + @sh -cx 'install -m0644 debian/changelog \ + debian/$*/usr/share/doc/$*/changelog.Debian' + @test ! -r changelog || \ + sh -cx 'install -m0644 changelog debian/$*/usr/share/doc/$*/' + @test -r debian/$*/usr/share/doc/$*/changelog || \ + sh -cx 'mv debian/$*/usr/share/doc/$*/changelog.Debian \ + debian/$*/usr/share/doc/$*/changelog' + @test -s debian/$*/usr/share/doc/$*/changelog || \ + sh -cx 'rm -f debian/$*/usr/share/doc/$*/changelog' + @gzip -9 debian/$*/usr/share/doc/$*/changelog* +%.deb-docs-docs: + @for i in `cat debian/$*.docs 2>/dev/null || :`; do \ + sh -cx "install -m0644 $$i debian/$*/usr/share/doc/$*/" || exit 1; \ + done + @test ! -r debian/$*.README.Debian || \ + sh -cx 'install -m0644 debian/$*.README.Debian \ + debian/$*/usr/share/doc/$*/README.Debian' + @if test -r debian/$*.NEWS.Debian; then \ + sh -cx 'install -m0644 debian/$*.NEWS.Debian \ + debian/$*/usr/share/doc/$*/NEWS.Debian && \ + gzip -9 debian/$*/usr/share/doc/$*/NEWS.Debian'; \ + fi +%.deb-docs-examples: + @rm -rf debian/$*/usr/share/doc/$*/examples + : debian/$*/usr/share/doc/$*/examples/ + @test ! -r debian/$*.examples || \ + install -d -m0755 debian/$*/usr/share/doc/$*/examples + @for i in `cat debian/$*.examples 2>/dev/null || :`; do \ + sh -cx "install -m0644 $$i debian/$*/usr/share/doc/$*/examples/" \ + || exit 1; \ + done +%.deb-docs: %.deb-checkdir %.deb-docs-base %.deb-docs-docs %.deb-docs-examples + : debian/$*/usr/share/doc/$*/ ok + +%.deb-DEBIAN-base: + @rm -rf debian/$*/DEBIAN + : debian/$*/DEBIAN/ + @install -d -m0755 debian/$*/DEBIAN + @for i in conffiles shlibs templates; do \ + test ! -r debian/$*.$$i || \ + sh -cx "install -m0644 debian/$*.$$i debian/$*/DEBIAN/$$i" \ + || exit 1; \ + done +%.deb-DEBIAN-scripts: + @for i in preinst prerm postinst postrm config; do \ + test ! -r debian/$*.$$i || \ + sh -cx "install -m0755 debian/$*.$$i debian/$*/DEBIAN/$$i" \ + || exit 1; \ + done +%.deb-DEBIAN-md5sums: + : debian/$*/DEBIAN/md5sums + @rm -f debian/$*/DEBIAN/md5sums + @cd debian/$* && find * -path 'DEBIAN' -prune -o \ + -type f -exec md5sum {} >>DEBIAN/md5sums \; +%.deb-DEBIAN: %.deb-checkdir %.deb-DEBIAN-base %.deb-DEBIAN-scripts \ + %.deb-DEBIAN-md5sums + : debian/$*/DEBIAN/ ok --- matrixssl-1.8.8.orig/debian/libmatrixssl1.8-dev.README.Debian +++ matrixssl-1.8.8/debian/libmatrixssl1.8-dev.README.Debian @@ -0,0 +1,15 @@ +libmatrixssl-dev for Debian +--------------------------- + +matrixssl compiled against the glibc is available as static and shared +libraries through /usr/lib/, the include file is installed in /usr/include/. + +matrixssl compiled against the diet libc (on architectures the dietlibc is +available for) is installed in /usr/lib/diet/lib/, and so automatically +found when using the diet compiler wrapper. The library is built without +pthread support. The include files are available through /usr/include/diet/. + +For documentation and examples please install the libmatrixssl-doc package. +Example programs for testing are installed in /usr/lib/matrixssl/. + + -- Gerrit Pape , Sat, 03 Apr 2004 12:47:10 +0000 --- matrixssl-1.8.8.orig/debian/libmatrixssl1.8-doc.docs +++ matrixssl-1.8.8/debian/libmatrixssl1.8-doc.docs @@ -0,0 +1 @@ +gnu/static/matrixssl/doc/*.pdf --- matrixssl-1.8.8.orig/debian/libmatrixssl1.8-doc.examples +++ matrixssl-1.8.8/debian/libmatrixssl1.8-doc.examples @@ -0,0 +1 @@ +examples/* --- matrixssl-1.8.8.orig/debian/libmatrixssl1.8.postinst +++ matrixssl-1.8.8/debian/libmatrixssl1.8.postinst @@ -0,0 +1,2 @@ +#!/bin/sh +test "$1" != 'configure' || exec ldconfig --- matrixssl-1.8.8.orig/debian/libmatrixssl1.8.postrm +++ matrixssl-1.8.8/debian/libmatrixssl1.8.postrm @@ -0,0 +1,2 @@ +#!/bin/sh +test "$1" != 'remove' || exec ldconfig --- matrixssl-1.8.8.orig/debian/rules +++ matrixssl-1.8.8/debian/rules @@ -0,0 +1,165 @@ +#!/usr/bin/make -f + +DFLAGS =-Wall -g -O2 -D_REENTRANT +DFLAGSSO =-Wall -g -O2 -fPIC -D_REENTRANT +DFLAGSDIET =-Wall -D_REENTRANT + +TARGZ =matrixssl-1-8-8-open.tgz +SOVER =1.8 +SOREV =1.8.8 + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + DFLAGS += -g -DDEBUG +endif +STRIP =strip +ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + STRIP =: nostrip +endif + +build =build-gnu-stamp +install =install-gnu +DIET_ARCHS =alpha amd64 arm hppa i386 ia64 mips mipsel powerpc ppc64 s390 sparc +ARCH ?=$(shell dpkg-architecture -qDEB_HOST_ARCH) +ifneq (,$(findstring $(ARCH),$(DIET_ARCHS))) + build =build-gnu-stamp build-diet-stamp + install =install-gnu install-diet +endif + +DIR =$(shell pwd)/debian/libmatrixssl$(SOVER) + +unpack: deb-checkdir unpack-gnu-stamp unpack-diet-stamp +unpack-gnu-stamp: + mkdir -p gnu/static gnu/shared + (cd gnu/static && tar xzf - && ln -s matrixssl* matrixssl) <'$(TARGZ)' + (cd gnu/shared && tar xzf - && ln -s matrixssl* matrixssl) <'$(TARGZ)' + touch unpack-gnu-stamp +unpack-diet-stamp: + mkdir -p diet + (cd diet && tar xzf - && ln -s matrixssl* matrixssl) <'$(TARGZ)' + touch unpack-diet-stamp + +build: deb-checkdir $(build) +build-gnu-stamp: unpack-gnu-stamp + -gcc -v + $(MAKE) -Cgnu/static/matrixssl/src libmatrixssl.a \ + STATIC=libmatrixssl.a CFLAGS='$(DFLAGS) -DLINUX -I./' + $(MAKE) -Cgnu/static/matrixssl/examples LDFLAGS='-lpthread' SO=.a \ + CFLAGS='$(DFLAGS) -DLINUX -I./' + $(MAKE) -Cgnu/shared/matrixssl/src libmatrixssl.so \ + CFLAGS='$(DFLAGSSO) -DLINUX -I./' STRIP=': nostrip' \ + LDFLAGS='-Wl,-soname,libmatrixssl.so."$(SOVER)" -lc -lgcc -lpthread' + $(MAKE) -Cgnu/shared/matrixssl/examples \ + LDFLAGS='-L../src -lmatrixssl' LIBRARIES='' \ + CFLAGS='$(DFLAGSSO) -DLINUX -I./' + touch build-gnu-stamp +build-diet-stamp: unpack-diet-stamp + -gcc -v + $(MAKE) -Cdiet/matrixssl/src libmatrixssl.a STATIC=libmatrixssl.a \ + CC='diet -v -Os gcc' CFLAGS='$(DFLAGSDIET) -nostdinc -DLINUX -I./' + $(MAKE) -Cdiet/matrixssl/examples LDFLAGS='' SO=.a \ + CC='diet -v -Os gcc' CFLAGS='$(DFLAGSDIET) -nostdinc -DLINUX -I./' + touch build-diet-stamp + +clean: deb-checkdir deb-checkuid + rm -rf gnu diet examples + rm -f unpack-gnu-stamp unpack-diet-stamp build-gnu-stamp \ + build-diet-stamp + rm -rf '$(DIR)' '$(DIR)'-dev '$(DIR)'-doc + rm -f debian/files debian/substvars changelog \ + debian/libmatrixssl1.8.shlibs + +install: install-indep install-arch +install-indep: deb-checkdir deb-checkuid unpack-gnu-stamp + rm -rf '$(DIR)'-doc + install -d -m0755 '$(DIR)'-doc + rm -rf examples + cp -pr gnu/static/matrixssl/examples . + $(MAKE) -Cexamples clean + # no upstream changelog + rm -f changelog && cp /dev/null changelog + +install-arch: deb-checkdir deb-checkuid $(install) +install-gnu: build-gnu-stamp + rm -rf '$(DIR)' '$(DIR)'-dev + # libmatrixssl1 + install -d -m0755 '$(DIR)'/usr/lib + install -m0644 gnu/shared/matrixssl/src/libmatrixssl.so \ + '$(DIR)'/usr/lib/libmatrixssl.so.'$(SOREV)' + $(STRIP) -R .note -R .comment --strip-unneeded \ + '$(DIR)'/usr/lib/libmatrixssl.so.'$(SOREV)' + ln -s libmatrixssl.so.'$(SOREV)' \ + '$(DIR)'/usr/lib/libmatrixssl.so.'$(SOVER)' + echo 'libmatrixssl $(SOVER) libmatrixssl$(SOVER)' \ + >debian/libmatrixssl'$(SOVER)'.shlibs + # libmatrixssl1-dev + install -d -m0755 '$(DIR)'-dev/usr/lib/matrixssl + ln -s libmatrixssl.so.'$(SOVER)' '$(DIR)'-dev/usr/lib/libmatrixssl.so + install -m0755 gnu/shared/matrixssl/examples/httpsReflector \ + '$(DIR)'-dev/usr/lib/matrixssl/httpsReflector.shared + install -m0755 gnu/shared/matrixssl/examples/httpsClient \ + '$(DIR)'-dev/usr/lib/matrixssl/httpsClient.shared + install -m0644 gnu/static/matrixssl/src/libmatrixssl.a \ + '$(DIR)'-dev/usr/lib/ + $(STRIP) --strip-debug '$(DIR)'-dev/usr/lib/libmatrixssl.a + install -m0755 gnu/static/matrixssl/examples/httpsReflector \ + '$(DIR)'-dev/usr/lib/matrixssl/httpsReflector + install -m0755 gnu/static/matrixssl/examples/httpsClient \ + '$(DIR)'-dev/usr/lib/matrixssl/httpsClient + $(STRIP) -R .comment -R .note '$(DIR)'-dev/usr/lib/matrixssl/* + install -d -m0755 '$(DIR)'-dev/usr/include + sed -e 's}#include "matrixCommon.h"}#include }' \ + '$(DIR)'-dev/usr/include/matrixSsl.h + chmod 644 '$(DIR)'-dev/usr/include/matrixSsl.h + sed -e 's}#include "src/matrixConfig.h"}#include }' \ + '$(DIR)'-dev/usr/include/matrixCommon.h + chmod 644 '$(DIR)'-dev/usr/include/matrixCommon.h + install -m0644 gnu/shared/matrixssl/src/matrixConfig.h \ + '$(DIR)'-dev/usr/include/ + # no upstream changelog + rm -f changelog && cp /dev/null changelog +install-diet: build-diet-stamp install-gnu + # libmatrixssl1-dev + install -d -m0755 '$(DIR)'-dev/usr/lib/diet/lib + install -m0644 diet/matrixssl/src/libmatrixssl.a \ + '$(DIR)'-dev/usr/lib/diet/lib/ + $(STRIP) --strip-debug '$(DIR)'-dev/usr/lib/diet/lib/*.a + install -m0755 diet/matrixssl/examples/httpsReflector \ + '$(DIR)'-dev/usr/lib/matrixssl/httpsReflector.diet + install -m0755 diet/matrixssl/examples/httpsClient \ + '$(DIR)'-dev/usr/lib/matrixssl/httpsClient.diet + $(STRIP) -R .comment -R .note '$(DIR)'-dev/usr/lib/matrixssl/*.diet + install -d -m0755 '$(DIR)'-dev/usr/include/diet + ln -s ../matrixSsl.h '$(DIR)'-dev/usr/include/diet/ + ln -s ../matrixCommon.h '$(DIR)'-dev/usr/include/diet/ + sed -e 's}#include "src/matrixConfig.h"}#include }' \ + '$(DIR)'-dev/usr/include/diet/matrixCommon.h + chmod 644 '$(DIR)'-dev/usr/include/diet/matrixCommon.h + install -m0644 gnu/shared/matrixssl/src/matrixConfig.h \ + '$(DIR)'-dev/usr/include/diet/ + # no upstream changelog + rm -f changelog && cp /dev/null changelog + +binary-indep: install-indep libmatrixssl'$(SOVER)'-doc.deb + dpkg-gencontrol -isp -plibmatrixssl'$(SOVER)'-doc -P'$(DIR)'-doc + dpkg -b '$(DIR)'-doc .. + +binary-arch: install-arch libmatrixssl'$(SOVER)'.deb \ + libmatrixssl'$(SOVER)'-dev.deb + rm -f debian/substvars + dpkg-shlibdeps '$(DIR)'/usr/lib/libmatrixssl.so.* + dpkg-gencontrol -isp -plibmatrixssl'$(SOVER)' -P'$(DIR)' + dpkg -b '$(DIR)' .. + rm -f debian/substvars + dpkg-shlibdeps '$(DIR)'-dev/usr/lib/matrixssl/* + dpkg-gencontrol -isp -plibmatrixssl'$(SOVER)'-dev -P'$(DIR)'-dev + dpkg -b '$(DIR)'-dev .. + +binary: binary-indep binary-arch + +.PHONY: unpack build clean binary-indep binary-arch binary install-indep \ + install-arch install-gnu install-diet install + +include debian/implicit