From 75d3a2ca460478b3026eefa97892afa608732f74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sat, 10 Feb 2018 15:53:13 +0100 Subject: [PATCH] debian: initialize stretch packaging with a copy of upstream debian (#21772) --- debian-stretch/changelog | 447 ++++++++++++++++++++++++++++++++ debian-stretch/compat | 1 + debian-stretch/control | 113 ++++++++ debian-stretch/control.in | 113 ++++++++ debian-stretch/copyright | 44 ++++ debian-stretch/dirs | 2 + debian-stretch/docs | 2 + debian-stretch/liblasso-java.dirs | 1 + debian-stretch/liblasso-java.install | 2 + debian-stretch/liblasso-perl.install.in | 1 + debian-stretch/liblasso3-dev.dirs | 2 + debian-stretch/liblasso3-dev.install | 4 + debian-stretch/liblasso3.dirs | 1 + debian-stretch/liblasso3.install | 1 + debian-stretch/php5-lasso.install | 3 + debian-stretch/php5-lasso.postinst | 7 + debian-stretch/php5-lasso.prerm | 7 + debian-stretch/php5-lasso.substvars | 4 + debian-stretch/python-lasso.install | 2 + debian-stretch/python3-lasso.install | 2 + debian-stretch/rules | 199 ++++++++++++++ debian-stretch/source/format | 1 + 22 files changed, 959 insertions(+) create mode 100644 debian-stretch/changelog create mode 100644 debian-stretch/compat create mode 100644 debian-stretch/control create mode 100644 debian-stretch/control.in create mode 100644 debian-stretch/copyright create mode 100644 debian-stretch/dirs create mode 100644 debian-stretch/docs create mode 100644 debian-stretch/liblasso-java.dirs create mode 100644 debian-stretch/liblasso-java.install create mode 100644 debian-stretch/liblasso-perl.install.in create mode 100644 debian-stretch/liblasso3-dev.dirs create mode 100644 debian-stretch/liblasso3-dev.install create mode 100644 debian-stretch/liblasso3.dirs create mode 100644 debian-stretch/liblasso3.install create mode 100644 debian-stretch/php5-lasso.install create mode 100644 debian-stretch/php5-lasso.postinst create mode 100644 debian-stretch/php5-lasso.prerm create mode 100644 debian-stretch/php5-lasso.substvars create mode 100644 debian-stretch/python-lasso.install create mode 100644 debian-stretch/python3-lasso.install create mode 100755 debian-stretch/rules create mode 100644 debian-stretch/source/format diff --git a/debian-stretch/changelog b/debian-stretch/changelog new file mode 100644 index 00000000..ebea731f --- /dev/null +++ b/debian-stretch/changelog @@ -0,0 +1,447 @@ +lasso (2.5.0-5) unstable; urgency=medium + + * d/: disable PHP support for now. (closes: #821547, #821683) + + -- Frederic Peters Thu, 05 May 2016 11:11:01 +0200 + +lasso (2.5.0-4) unstable; urgency=medium + + * d/control: add missing php5-common dependency. (closes: #811340) + + -- Frederic Peters Thu, 10 Mar 2016 22:38:24 +0100 + +lasso (2.5.0-3) unstable; urgency=medium + + * d/p/0001-perl-remove-quotes-from-PERL-V-ccflags-output.patch: new patch, + make sure to remove quotes given by "perl -V::ccflags:" as they ultimately + cause the 32bit builds to fail. (closes: #809759) + * Thanks to Niko Tyni for the detailed diagnostic. + * d/rules: enable verbose builds. (closes: #809760) + + -- Frederic Peters Mon, 11 Jan 2016 09:16:31 +0100 + +lasso (2.5.0-2) unstable; urgency=medium + + * Build against latest Perl release. + + -- Frederic Peters Sun, 03 Jan 2016 13:33:18 +0100 + +lasso (2.5.0-1) unstable; urgency=medium + + * New upstream release. + * d/control, d/rules: add new package for Python 3 bindings. + + -- Frederic Peters Fri, 04 Sep 2015 17:48:04 +0200 + +lasso (2.4.1-1) unstable; urgency=medium + + * New upstream release. + * d/p/perl-get-required-CFLAGS-from-perl-V-ccflags.patch: merged upstream + * d/p/Use-INSTALLDIRS-vendor-for-the-Perl-bindings-as-per-.patch: refreshed + + -- Frederic Peters Thu, 28 Aug 2014 17:27:48 +0200 + +lasso (2.4.0-4) unstable; urgency=medium + + * d/p/Use-INSTALLDIRS-vendor-for-the-Perl-bindings-as-per-.patch: use + INSTALLDIRS=vendor for the Perl bindings, as per the Debian Perl policy. + (thanks Niko Tyni) + * debian/rules, debian/liblasso-perl.install: don't hardcode /usr/lib/perl5 + (thanks Niko Tyni, again) (closes: #752703) + + -- Frederic Peters Wed, 25 Jun 2014 23:15:03 +0200 + +lasso (2.4.0-3) unstable; urgency=medium + + * d/p/perl-get-required-CFLAGS-from-perl-V-ccflags.patch (stolen from git): + get required CFLAGS from $(perl -V::ccflags:) (closes: #742522) + + -- Frederic Peters Tue, 08 Apr 2014 09:29:11 +0200 + +lasso (2.4.0-2) unstable; urgency=medium + + * debian/php5-lasso.prerm: fix call to php5dismod. (closes: #734767) + + -- Frederic Peters Mon, 13 Jan 2014 11:00:16 +0100 + +lasso (2.4.0-1) unstable; urgency=low + + * New upstream version. + * debian/control, debian/rules: use autoreconf + * debian/source/version: switch to 3.0 (quilt) + + -- Frederic Peters Tue, 07 Jan 2014 13:22:21 +0100 + +lasso (2.3.6-3) unstable; urgency=medium + + * Remove double-free in lasso_node_build_deflated_query. (thanks Andjelko + Horvat, closes: #732543) + * Enable hardened build flags. (thanks Moritz Muehlenhoff, closes: #667555) + * debian/php5-lasso.{postinst,prerm}: use php5enmod and php5dismod. + (closes: #667766) + * bindings/php5/lasso.ini: change comment marker. (closes: #571736) + + -- Frederic Peters Sun, 29 Dec 2013 10:06:47 +0100 + +lasso (2.3.6-2.2) unstable; urgency=low + + * Non-maintainer upload. + * Apply commit a5674b48 from upstream to port to the libxml buffer API. + Also adopt changes for the Perl binding. libxml stopped to expose the + internals of xmlOutputBuffer in 2.9. (Closes: #713668) + + -- Sebastian Ramacher Tue, 30 Jul 2013 14:19:34 +0200 + +lasso (2.3.6-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Convert to dh_python2 (Closes: #616856). + + -- Luca Falavigna Thu, 30 May 2013 20:36:16 +0200 + +lasso (2.3.6-2) unstable; urgency=low + + * Fix building against glib 2.32 (closes: #665565, #666636) + + -- Frederic Peters Mon, 02 Apr 2012 17:31:31 +0200 + +lasso (2.3.6-1) unstable; urgency=low + + * New upstream version. + * bindings/php5/wrapper_source.py: use zend_function_entry, making it build + against PHP 5.4 (upstream, closes: #662622) + + -- Frederic Peters Mon, 05 Mar 2012 14:07:05 +0100 + +lasso (2.3.5-4) unstable; urgency=low + + * Don't force gcc 4.4 anymore; /facepalm. (closes: #635640) + + -- Frederic Peters Thu, 28 Jul 2011 08:16:14 +0200 + +lasso (2.3.5-3) unstable; urgency=low + + * debian/control.in, debian/rules: disable liblasso-java on all + architectures, at the moment it is too complicated to have reliable builds + with java activated. (closes: #624777) + * build against a newer perl version. (closes: #635446) + + -- Frederic Peters Tue, 26 Jul 2011 22:36:27 +0200 + +lasso (2.3.5-2) unstable; urgency=low + + * debian/liblasso-perl.install: fixed module name (uppercase L). + (closes: #622114) + * debian/liblasso3-dev.install: do not install libtool archive file. + (closes: #620909, #621560) + * debian/control.in: add build-dependency on gcc-4.4, to match the gcj + version that is used. + * debian/rules: + + force gcc 4.4, because of gcj 4.4. + + remove rpath from Lasso.so Perl module. + + remove obsolete call to dh_python. + + -- Frederic Peters Mon, 11 Apr 2011 09:35:48 +0200 + +lasso (2.3.5-1) unstable; urgency=low + + * New upstream release. + + -- Frederic Peters Tue, 08 Feb 2011 09:58:03 +0100 + +lasso (2.2.1-4) unstable; urgency=low + + * debian/control, debian/rules: updated build-depends for recent gcj + changes, and to use the default gcc version. (Closes: #566895) + + -- Frederic Peters Mon, 25 Jan 2010 22:34:55 +0100 + +lasso (2.2.1-3) unstable; urgency=low + + * debian/control, debian/rules: add missing dependency on phpapi-$foo. + (Closes: #566288) + + -- Frederic Peters Sun, 24 Jan 2010 16:25:18 +0100 + +lasso (2.2.1-2) unstable; urgency=high + + * Correctly check for signature validity (CVE-2009-0050) (Closes: #511262) + + -- Frederic Peters Fri, 09 Jan 2009 10:30:58 +0100 + +lasso (2.2.1-1) unstable; urgency=low + + * New upstream release. + + -- Frederic Peters Tue, 22 Jul 2008 15:51:52 +0200 + +lasso (2.2.0-1) unstable; urgency=low + + * New upstream release. + * Acknowledge NMU. + * Fixed missing quotes in configure.in (Closes: #487816) + * debian/control: + * Updated package descriptions, + * Used new Homepage field. + * Moved liblasso-perl to perl section. + * debian/rules: + * remove config.log on clean. + * remove empty id-wsf include directory. + + -- Frederic Peters Sun, 13 Jul 2008 12:06:12 +0200 + +lasso (2.1.98-4.1) unstable; urgency=high + + * NMU. + * Don't build-depend on gcj and gcj-4.3 on alpha, arm, hppa (same as for + java-gcj-compat). Closes: #477870. + * Adjust list of architectures for liblasso-java. Closes: #479737. + + -- Matthias Klose Sun, 25 May 2008 11:28:09 +0200 + +lasso (2.1.98-4) unstable; urgency=low + + * debian/rules: create control from control.in, so liblasso-java is not + built on architectures lacking gcj. + + -- Frederic Peters Sun, 04 May 2008 12:17:10 +0200 + +lasso (2.1.98-3) unstable; urgency=low + + * debian/liblasso-perl.install: really fix building with Perl 5.10. + + -- Frederic Peters Sat, 03 May 2008 12:30:41 +0200 + +lasso (2.1.98-2) unstable; urgency=low + + * debian/liblasso-perl.install: use wildcard for minor version number; so it + still works with Perl 5.10. (closes: #479065) + + -- Frederic Peters Fri, 02 May 2008 16:30:09 +0200 + +lasso (2.1.98-1) unstable; urgency=low + + * New upstream release (RC). + * debian/control: + * build new php5-lasso package. + * limit liblasso-java to architecture with gcj (closes: #477870). + * add Homepage field. + * liblasso3-dev: Replace ${Source-Version} with ${binary:Version} + (from Ubuntu patch) + * debian/rules: + * ignore liblasso-java package on architectures without gcj. + * update to match new upstream language bindings layout. + * don't ignore a make clean error. (from Ubuntu patch) + + -- Frederic Peters Tue, 29 Apr 2008 22:03:51 +0200 + +lasso (2.1.1-3) unstable; urgency=low + + * debian/rules: added call to dh_perl; debian/control: added ${perl:Depends} + (closes: #463097) + * configure(.ac): fixed gcj check to work with gcj-4.3; debian/control: + updated build-deps for gcj 4.3 and added gcc-4.3; debian/rules: force + gcc-4.3 so jni.h is found and the java interface is built. + (closes: #464319) + + -- Frederic Peters Tue, 25 Mar 2008 16:48:15 +0100 + +lasso (2.1.1-2) unstable; urgency=low + + * debian/rules, debian/*.files: updated from dh_movefiles to dh_install + * really install files in liblasso-perl package (closes: #446578) + + -- Frederic Peters Mon, 15 Oct 2007 17:12:37 +0200 + +lasso (2.1.1-1) unstable; urgency=low + + * New upstream release. + * debian/control: added liblasso-perl, Perl bindings for the library. + * debian/rules: --enable-perl + + -- Frederic Peters Wed, 22 Aug 2007 18:08:12 +0200 + +lasso (2.0.0-1) unstable; urgency=low + + * New upstream release. + * debian/control: removes php4-lasso since PHP4 is no longer provided. + (closes: #432422, #418268) + + -- Frederic Peters Mon, 09 Jul 2007 22:55:58 +0200 + +lasso (0.6.5-3) unstable; urgency=low + + * Converted to new Python policy (merged from unreported Ubuntu patch) + * debian/control: keep conflict on python2.4-lasso which is unnecessary + for Debian but will reduce Ubuntu changes. + + -- Frederic Peters Sat, 21 Oct 2006 17:31:47 +0200 + +lasso (0.6.5-2) unstable; urgency=low + + * debian/control: adding libgcj-dev and fastjar to build-depends since + liblasso-java is now built. + + -- Frederic Peters Wed, 22 Mar 2006 11:06:56 +0100 + +lasso (0.6.5-1) unstable; urgency=low + + * New upstream release. + * Incorporates Ubuntu patch for phpapi version. + + -- Frederic Peters Tue, 21 Mar 2006 10:48:05 +0100 + +lasso (0.6.4-1) unstable; urgency=low + + * New upstream release. + + -- Frederic Peters Mon, 13 Mar 2006 11:38:09 +0100 + +lasso (0.6.3-4) unstable; urgency=low + + * debian/control: removed mono packages from build-depends since the -cil + package is no longer built. + + -- Frederic Peters Thu, 6 Oct 2005 14:18:56 +0200 + +lasso (0.6.3-3) unstable; urgency=low + + * debian/control: fixed php depends line. (closes: #331710) + + -- Frederic Peters Tue, 4 Oct 2005 22:59:17 +0200 + +lasso (0.6.3-2) unstable; urgency=low + + * php/Makefile.am: don't patch autogenerated swig file if swig was not + present (which implies the file has already been patched) + * debian/rules: touch swig generated files after configure so swig is + not called; even if available. (closes: #331699) + + -- Frederic Peters Tue, 4 Oct 2005 21:52:25 +0200 + +lasso (0.6.3-1) unstable; urgency=low + + * New upstream release. + * debian/copyright: new FSF address. + + -- Frederic Peters Fri, 30 Sep 2005 01:07:49 +0200 + +lasso (0.6.2-3) unstable; urgency=low + + * debian/control: removed liblasso-cil package since the .net assembly + doesn't work (and don't even compile anymore) (closes: #320898) + + -- Frederic Peters Fri, 19 Aug 2005 23:08:43 +0200 + +lasso (0.6.2-2) unstable; urgency=low + + * debian/rules: removed call to dh_makenetshlibs which is no longer shipped + with Mono 1.1 packages. (closes: #311837) + * debian/control, debian/rules: updated to new CLI policy. + + -- Frederic Peters Fri, 3 Jun 2005 20:15:12 +0200 + +lasso (0.6.2-1) unstable; urgency=low + + * New upstream release. + + -- Frederic Peters Thu, 26 May 2005 11:56:42 +0200 + +lasso (0.6.1-3) unstable; urgency=low + + * debian/control: fixed Depends line, this is no longer -zts. + * debian/control: updated Build-depends to php4-dev (>= 4:4.3.10-10) + (closes: #301330) + + -- Frederic Peters Fri, 25 Mar 2005 10:15:22 +0100 + +lasso (0.6.1-2) unstable; urgency=low + + * Rebuilt with PHP Zend Thread Safety disabled. + * lasso/xml/lib_authn_request.c, lasso/id-ff/login.c: backported + AssertionConsumerServiceID fix from CVS. + * python/lasso_wrap.c, python/lasso.py: regenerated with SWIG 1.3.22; + 1.3.24 created a buggy binding. + * debian/control: Build-depends on mono-utils (>= 1.0) + + -- Frederic Peters Fri, 25 Mar 2005 08:50:39 +0100 + +lasso (0.6.1-1) unstable; urgency=low + + * New upstream release. + * lasso/id-ff/login.c: backported SAML 1.0 compatibility fix from CVS. + + -- Frederic Peters Sun, 6 Mar 2005 14:07:45 +0100 + +lasso (0.6.0-1) unstable; urgency=low + + * New upstream release. + * Rebuilt with new PHP API. (closes: #294003) + + -- Frederic Peters Tue, 8 Feb 2005 13:42:24 +0100 + +lasso (0.4.1-3) unstable; urgency=low + + * debian/control: added libexpat1-dev to build-depends; it is required for + the PHP binding. + + -- Frederic Peters Mon, 13 Sep 2004 09:26:34 +0200 + +lasso (0.4.1-2) unstable; urgency=low + + * debian/control: added python to build-depends + + -- Frederic Peters Sun, 12 Sep 2004 21:40:57 +0200 + +lasso (0.4.1-1) unstable; urgency=low + + * New upstream release. + + -- Frederic Peters Wed, 8 Sep 2004 10:40:56 +0200 + +lasso (0.4.0-1) unstable; urgency=low + + * New upstream release. + * changed soname, liblasso0 -> liblasso1 + * Packaging of PHP4 binding and .NET assemblies. + + -- Frederic Peters Mon, 6 Sep 2004 19:18:38 +0200 + +lasso (0.3.0-6) unstable; urgency=low + + * debian/control: improved package description (closes: #266556) + * python/: backported fix to use libtool correctly; should fix the build + failures on hppa and amd64 (closes: #267556, #268198) + + -- Frederic Peters Thu, 26 Aug 2004 17:01:13 +0200 + +lasso (0.3.0-4) unstable; urgency=low + + * debian/copyright: fixed address of the FSF; add a pointer to + /usr/share/common-licenses/GPL. + * debian/control: lasso source package goes in section libs and liblasso-dev + goes in section libdevel + * debian/control: -dev package renamed to liblasso0-dev; provides + liblasso-dev (per Debian Library Packaging guide) + + -- Frederic Peters Sun, 8 Aug 2004 10:55:39 +0200 + +lasso (0.3.0-3) unstable; urgency=low + + * fixed lasso.pc + + -- Frederic Peters Thu, 29 Jul 2004 23:24:57 +0200 + +lasso (0.3.0-2) unstable; urgency=low + + * debian/liblasso0-python2.3.files: don't include static library in Python + package. [brown bag] + + -- Frederic Peters Tue, 27 Jul 2004 17:23:07 +0200 + +lasso (0.3.0-1) unstable; urgency=low + + * Initial Release. + + -- Frederic Peters Tue, 27 Jul 2004 16:50:43 +0200 + diff --git a/debian-stretch/compat b/debian-stretch/compat new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/debian-stretch/compat @@ -0,0 +1 @@ +5 diff --git a/debian-stretch/control b/debian-stretch/control new file mode 100644 index 00000000..6bebc429 --- /dev/null +++ b/debian-stretch/control @@ -0,0 +1,113 @@ +Source: lasso +Priority: optional +Section: libs +Maintainer: Frederic Peters +Build-Depends: debhelper (>= 8), + dh-python, + libxml2-dev, + libxslt1-dev, + libxmlsec1-dev, + libxmlsec1-openssl, + libglib2.0-dev, + python-all-dev (>= 2.6.6-3~), + python3-all-dev (>= 3.2), + libexpat1-dev, + fastjar, + python-lxml, + python3-lxml, + python-six, + python3-six, + chrpath, + dh-python +Standards-Version: 3.9.6 +X-Python-Version: >= 2.6 +X-Python3-Version: >= 3.2 +Homepage: http://lasso.entrouvert.org + +Package: liblasso3-dev +Section: libdevel +Architecture: any +Depends: liblasso3 (= ${binary:Version}), libxml2-dev, libxmlsec1-dev, libglib2.0-dev +Provides: liblasso-dev +Conflicts: liblasso-dev, liblasso0, liblasso1 +Description: Library for Liberty Alliance and SAML protocols - development kit + Lasso is an implementation of Liberty Alliance and related protocols, for + network identity federations, single sign-on and other web services protocols. + The main specifications implemented by the library are ID-FF, ID-WSF and SAML. + . + This package contains the development files for Lasso. + +Package: liblasso3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Library for Liberty Alliance and SAML protocols - runtime library + Lasso is an implementation of Liberty Alliance and related protocols, for + network identity federations, single sign-on and other web services protocols. + The main specifications implemented by the library are ID-FF, ID-WSF and SAML. + . + This package contains liblasso library used by applications to gain Library + Alliance support. + +Package: python-lasso +Conflicts: liblasso0-python2.3, python2.3-lasso, python2.4-lasso +Replaces: liblasso0-python2.3, python2.3-lasso, python2.4-lasso +Provides: liblasso0-python2.3, ${python:Provides} +Section: python +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:depends} +Description: Library for Liberty Alliance and SAML protocols - Python bindings + Lasso is an implementation of Liberty Alliance and related protocols, for + network identity federations, single sign-on and other web services protocols. + The main specifications implemented by the library are ID-FF, ID-WSF and SAML. + . + This package contains Python bindings for liblasso, needed to use lasso + in Python applications. + +Package: python3-lasso +Section: python +Architecture: any +Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:depends} +Description: Library for Liberty Alliance and SAML protocols - Python bindings + Lasso is an implementation of Liberty Alliance and related protocols, for + network identity federations, single sign-on and other web services protocols. + The main specifications implemented by the library are ID-FF, ID-WSF and SAML. + . + This package contains Python bindings for liblasso, needed to use lasso + in Python applications. + +#JAVA#Package: liblasso-java +#JAVA#Section: libs +#JAVA#Architecture: amd64 armel i386 ia64 mips mipsel powerpc ppc64 s390 sparc kfreebsd-i386 kfreebsd-amd64 +#JAVA#Depends: ${shlibs:Depends}, ${misc:depends} +#JAVA#Description: Library for Liberty Alliance and SAML protocols - Java bindings +#JAVA# Lasso is an implementation of Liberty Alliance and related protocols, for +#JAVA# network identity federations, single sign-on and other web services protocols. +#JAVA# The main specifications implemented by the library are ID-FF, ID-WSF and SAML. +#JAVA# . +#JAVA# This package provides the Java interface to liblasso, needed to use lasso in +#JAVA# Java applications + +Package: liblasso-perl +Section: perl +Architecture: any +Depends: ${shlibs:Depends}, ${misc:depends}, ${perl:Depends} +Description: Library for Liberty Alliance and SAML protocols - Perl bindings + Lasso is an implementation of Liberty Alliance and related protocols, for + network identity federations, single sign-on and other web services protocols. + The main specifications implemented by the library are ID-FF, ID-WSF and SAML. + . + This package contains Perl bindings for liblasso, needed to use lasso + in Perl applications. + + + + + + + + + + + + diff --git a/debian-stretch/control.in b/debian-stretch/control.in new file mode 100644 index 00000000..85688937 --- /dev/null +++ b/debian-stretch/control.in @@ -0,0 +1,113 @@ +Source: lasso +Priority: optional +Section: libs +Maintainer: Frederic Peters +Build-Depends: debhelper (>= 8), + dh-python, + libxml2-dev, + libxslt1-dev, + libxmlsec1-dev, + libxmlsec1-openssl, + libglib2.0-dev, + python-all-dev (>= 2.6.6-3~), + python3-all-dev (>= 3.2), + libexpat1-dev, + fastjar, + python-lxml, + python3-lxml, + python-six, + python3-six, + chrpath, + dh-python +Standards-Version: 3.9.6 +X-Python-Version: >= 2.6 +X-Python3-Version: >= 3.2 +Homepage: http://lasso.entrouvert.org + +Package: liblasso3-dev +Section: libdevel +Architecture: any +Depends: liblasso3 (= ${binary:Version}), libxml2-dev, libxmlsec1-dev, libglib2.0-dev +Provides: liblasso-dev +Conflicts: liblasso-dev, liblasso0, liblasso1 +Description: Library for Liberty Alliance and SAML protocols - development kit + Lasso is an implementation of Liberty Alliance and related protocols, for + network identity federations, single sign-on and other web services protocols. + The main specifications implemented by the library are ID-FF, ID-WSF and SAML. + . + This package contains the development files for Lasso. + +Package: liblasso3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Library for Liberty Alliance and SAML protocols - runtime library + Lasso is an implementation of Liberty Alliance and related protocols, for + network identity federations, single sign-on and other web services protocols. + The main specifications implemented by the library are ID-FF, ID-WSF and SAML. + . + This package contains liblasso library used by applications to gain Library + Alliance support. + +Package: python-lasso +Conflicts: liblasso0-python2.3, python2.3-lasso, python2.4-lasso +Replaces: liblasso0-python2.3, python2.3-lasso, python2.4-lasso +Provides: liblasso0-python2.3, ${python:Provides} +Section: python +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:depends} +Description: Library for Liberty Alliance and SAML protocols - Python bindings + Lasso is an implementation of Liberty Alliance and related protocols, for + network identity federations, single sign-on and other web services protocols. + The main specifications implemented by the library are ID-FF, ID-WSF and SAML. + . + This package contains Python bindings for liblasso, needed to use lasso + in Python applications. + +Package: python3-lasso +Section: python +Architecture: any +Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:depends} +Description: Library for Liberty Alliance and SAML protocols - Python bindings + Lasso is an implementation of Liberty Alliance and related protocols, for + network identity federations, single sign-on and other web services protocols. + The main specifications implemented by the library are ID-FF, ID-WSF and SAML. + . + This package contains Python bindings for liblasso, needed to use lasso + in Python applications. + +#JAVA#Package: liblasso-java +#JAVA#Section: libs +#JAVA#Architecture: amd64 armel i386 ia64 mips mipsel powerpc ppc64 s390 sparc kfreebsd-i386 kfreebsd-amd64 +#JAVA#Depends: ${shlibs:Depends}, ${misc:depends} +#JAVA#Description: Library for Liberty Alliance and SAML protocols - Java bindings +#JAVA# Lasso is an implementation of Liberty Alliance and related protocols, for +#JAVA# network identity federations, single sign-on and other web services protocols. +#JAVA# The main specifications implemented by the library are ID-FF, ID-WSF and SAML. +#JAVA# . +#JAVA# This package provides the Java interface to liblasso, needed to use lasso in +#JAVA# Java applications + +Package: liblasso-perl +Section: perl +Architecture: any +Depends: ${shlibs:Depends}, ${misc:depends}, ${perl:Depends} +Description: Library for Liberty Alliance and SAML protocols - Perl bindings + Lasso is an implementation of Liberty Alliance and related protocols, for + network identity federations, single sign-on and other web services protocols. + The main specifications implemented by the library are ID-FF, ID-WSF and SAML. + . + This package contains Perl bindings for liblasso, needed to use lasso + in Perl applications. + +#PHP#Package: php5-lasso +#PHP#Section: web +#PHP#Architecture: any +#PHP#Depends: ${shlibs:Depends}, php5-common, ${php:Depends}, ${misc:depends} +#PHP#Description: Library for Liberty Alliance and SAML protocols - PHP 5 bindings +#PHP# Lasso is an implementation of Liberty Alliance and related protocols, for +#PHP# network identity federations, single sign-on and other web services protocols. +#PHP# The main specifications implemented by the library are ID-FF, ID-WSF and SAML. +#PHP# . +#PHP# This package contains PHP bindings for liblasso, needed to use lasso +#PHP# in PHP applications. diff --git a/debian-stretch/copyright b/debian-stretch/copyright new file mode 100644 index 00000000..93764219 --- /dev/null +++ b/debian-stretch/copyright @@ -0,0 +1,44 @@ +This package was debianized by Frederic Peters on +Fri, 16 Jul 2004 14:50:19 +0200. + +It was downloaded from http://lasso.entrouvert.org + +Upstream Authors: + + Nicolas Clapies + Valery Febvre + (complete list in AUTHORS) + + +Copyright (c) 2004 Entr'ouvert +Excepted the Lasso logo, copyright (c) 2004, Entr'ouvert & Florent Monnier + +License is GNU GPL v2 or later plus OpenSSL exception clause. + +This program is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +In addition, as a special exception, Entr'ouvert gives permission to link +the code of its release of Lasso with the OpenSSL project's "OpenSSL" +library (or with modified versions of it that use the same license as the +"OpenSSL" library), and distribute the linked executables. You must obey +the GNU General Public License in all respects for all of the code used +other than "OpenSSL". If you modify this file, you may extend this +exception to your version of the file, but you are not obligated to do so. +If you do not wish to do so, delete this exception statement from your +version. + +On Debian GNU/Linux systems, the complete text of the GNU General Public +License can be found in `/usr/share/common-licenses/GPL'. + diff --git a/debian-stretch/dirs b/debian-stretch/dirs new file mode 100644 index 00000000..ca882bbb --- /dev/null +++ b/debian-stretch/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin diff --git a/debian-stretch/docs b/debian-stretch/docs new file mode 100644 index 00000000..55bc0a63 --- /dev/null +++ b/debian-stretch/docs @@ -0,0 +1,2 @@ +README +AUTHORS diff --git a/debian-stretch/liblasso-java.dirs b/debian-stretch/liblasso-java.dirs new file mode 100644 index 00000000..0b70e893 --- /dev/null +++ b/debian-stretch/liblasso-java.dirs @@ -0,0 +1 @@ +usr/lib/jni/ diff --git a/debian-stretch/liblasso-java.install b/debian-stretch/liblasso-java.install new file mode 100644 index 00000000..758673ed --- /dev/null +++ b/debian-stretch/liblasso-java.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/jni/*.so +debian/tmp/usr/share/java/*.jar diff --git a/debian-stretch/liblasso-perl.install.in b/debian-stretch/liblasso-perl.install.in new file mode 100644 index 00000000..6f786063 --- /dev/null +++ b/debian-stretch/liblasso-perl.install.in @@ -0,0 +1 @@ +debian/tmp/${archlib} diff --git a/debian-stretch/liblasso3-dev.dirs b/debian-stretch/liblasso3-dev.dirs new file mode 100644 index 00000000..44188162 --- /dev/null +++ b/debian-stretch/liblasso3-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include diff --git a/debian-stretch/liblasso3-dev.install b/debian-stretch/liblasso3-dev.install new file mode 100644 index 00000000..de3d1dfa --- /dev/null +++ b/debian-stretch/liblasso3-dev.install @@ -0,0 +1,4 @@ +debian/tmp/usr/include/lasso +debian/tmp/usr/lib/liblasso.a +debian/tmp/usr/lib/liblasso.so +debian/tmp/usr/lib/pkgconfig/lasso.pc diff --git a/debian-stretch/liblasso3.dirs b/debian-stretch/liblasso3.dirs new file mode 100644 index 00000000..68457717 --- /dev/null +++ b/debian-stretch/liblasso3.dirs @@ -0,0 +1 @@ +usr/lib diff --git a/debian-stretch/liblasso3.install b/debian-stretch/liblasso3.install new file mode 100644 index 00000000..c45ebcf2 --- /dev/null +++ b/debian-stretch/liblasso3.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib*.so.* diff --git a/debian-stretch/php5-lasso.install b/debian-stretch/php5-lasso.install new file mode 100644 index 00000000..61607e59 --- /dev/null +++ b/debian-stretch/php5-lasso.install @@ -0,0 +1,3 @@ +debian/tmp/etc/php5/ +debian/tmp/usr/share/php/ +debian/tmp/usr/lib/php5/*/lasso.so diff --git a/debian-stretch/php5-lasso.postinst b/debian-stretch/php5-lasso.postinst new file mode 100644 index 00000000..7fc54e5b --- /dev/null +++ b/debian-stretch/php5-lasso.postinst @@ -0,0 +1,7 @@ +#! /bin/sh -e + +if [ "$1" = "configure" ]; then + php5enmod lasso +fi + +#DEBHELPER# diff --git a/debian-stretch/php5-lasso.prerm b/debian-stretch/php5-lasso.prerm new file mode 100644 index 00000000..c12f5a40 --- /dev/null +++ b/debian-stretch/php5-lasso.prerm @@ -0,0 +1,7 @@ +#! /bin/sh -e + +if [ "$1" = "remove" ]; then + php5dismod lasso +fi + +#DEBHELPER# diff --git a/debian-stretch/php5-lasso.substvars b/debian-stretch/php5-lasso.substvars new file mode 100644 index 00000000..3e2e8040 --- /dev/null +++ b/debian-stretch/php5-lasso.substvars @@ -0,0 +1,4 @@ +shlibs:Depends=libc6 (>= 2.2.5), libglib2.0-0 (>= 2.41.1), liblasso3 (>= 2.5.0), libssl1.0.2 (>= 1.0.2d), libxml2 (>= 2.7.4), libxmlsec1 (>= 1.2.20), libxmlsec1-openssl (>= 1.2.20), libxslt1.1 (>= 1.1.25), zlib1g (>= 1:1.1.4) +php:Depends=phpapi-20131226 +misc:Depends= +misc:Pre-Depends= diff --git a/debian-stretch/python-lasso.install b/debian-stretch/python-lasso.install new file mode 100644 index 00000000..6e8f7ef0 --- /dev/null +++ b/debian-stretch/python-lasso.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/python2*/dist-packages/*.py +debian/tmp/usr/lib/python2*/dist-packages/*.so diff --git a/debian-stretch/python3-lasso.install b/debian-stretch/python3-lasso.install new file mode 100644 index 00000000..89f00bf0 --- /dev/null +++ b/debian-stretch/python3-lasso.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/python3*/dist-packages/*.py +debian/tmp/usr/lib/python3*/dist-packages/*.so diff --git a/debian-stretch/rules b/debian-stretch/rules new file mode 100755 index 00000000..8814eb0e --- /dev/null +++ b/debian-stretch/rules @@ -0,0 +1,199 @@ +#!/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 + + +# 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_TARGET_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) + +ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}') + +with_java := no +no_java_archs := alpha arm hppa hurd-i386 +ifneq ($(DEB_TARGET_ARCH),i386) + ifneq ($(DEB_TARGET_ARCH),amd64) + ifeq ($(DEB_TARGET_ARCH), $(findstring $(DEB_TARGET_ARCH),$(no_java_archs))) + with_java := disabled for architecture $(DEB_TARGET_ARCH) + endif + endif +endif + +with_php := no + +PYDEF := $(shell pyversions -vd) +PYVERS := $(shell pyversions -vr debian/control) +PY3VERS := $(shell py3versions -vr '>= 3.0') +OTHERPYVERS := $(filter-out $(PYDEF), $(PYVERS)) + +CFLAGS = `dpkg-buildflags --get CFLAGS` +CFLAGS += -Wall +LDFLAGS = `dpkg-buildflags --get LDFLAGS` +CPPFLAGS = `dpkg-buildflags --get CPPFLAGS` + +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +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_ARGS := \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --enable-tests=no \ + --disable-gtk-doc \ + --enable-perl + + +ifeq ($(with_java),yes) + CONFIGURE_ARGS += --enable-java +else + CONFIGURE_ARGS += --disable-java +endif + +ifeq ($(with_php),yes) + CONFIGURE_ARGS += --enable-php --with-php5-config-dir=/etc/php5/mods-available/ +else + CONFIGURE_ARGS += --disable-php +endif + + + +config.status: configure + dh_testdir + # Add here commands to configure the package. + autoreconf -fi + CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) $(CONFIGURE_ARGS) + + +build: build-stamp +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) V=1 + set -e; \ + for v in $(OTHERPYVERS); do \ + rm -rf bindings/python$$v; \ + cp -a bindings/python bindings/python$$v; \ + sed "s/$(PYDEF)/$$v/g" bindings/python/Makefile > bindings/python$$v/Makefile; \ + $(MAKE) -C bindings/python$$v clean; \ + $(MAKE) -C bindings/python$$v; \ + done + for v in $(PY3VERS); do \ + rm -rf bindings/python$$v; \ + cp -a bindings/python bindings/python$$v; \ + sed "s/$(PYDEF)/$$v/g" bindings/python/Makefile > bindings/python$$v/Makefile; \ + $(MAKE) -C bindings/python$$v clean; \ + $(MAKE) -C bindings/python$$v; \ + done + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + +ifeq ($(with_java),yes) + sed -e 's/^#JAVA#//' < debian/control.in > debian/control +else + sed -e 's/^#JAVA#.*//' < debian/control.in > debian/control +endif + +ifeq ($(with_php),yes) + sed -e 's/^#PHP#//' < debian/control.in > debian/control +else + sed -e 's/^#PHP#.*//' < debian/control.in > debian/control +endif + + + [ ! -f Makefile ] || $(MAKE) distclean + + for v in $(OTHERPYVERS); do \ + rm -rf bindings/python$$v; \ + done + for v in $(PY3VERS); do \ + rm -rf bindings/python$$v; \ + done + + rm -f config.log + rm -f debian/liblasso-perl.install + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp \ + GACUTIL="/usr/bin/gacutil -root $(CURDIR)/debian/tmp/usr/lib" + set -e; \ + for v in $(OTHERPYVERS); do \ + $(MAKE) -C bindings/python$$v install DESTDIR=$(CURDIR)/debian/tmp; \ + done + for v in $(PY3VERS); do \ + $(MAKE) -C bindings/python$$v install DESTDIR=$(CURDIR)/debian/tmp; \ + done + + +ifeq ($(with_java),yes) + mkdir $(CURDIR)/debian/tmp/usr/lib/jni/ + if [ -e $(CURDIR)/debian/tmp/usr/lib/java ]; then \ + mv $(CURDIR)/debian/tmp/usr/lib/java/*.so $(CURDIR)/debian/tmp/usr/lib/jni/ ; \ + fi +endif + + sed -e 's,$${archlib},$(ARCHLIB),g' debian/liblasso-perl.install.in > debian/liblasso-perl.install + + # remove id-wsf directory if it is empty + -rmdir $(CURDIR)/debian/tmp/usr/include/lasso/id-wsf/ + + +# Build architecture-independent files here. +binary-indep: build install + #dh_makeclilibs -L liblasso-cil -r + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples -XCVS + dh_installman + dh_install + chrpath -d $(CURDIR)/debian/liblasso-perl/$(ARCHLIB)/auto/Lasso/Lasso.so + dh_link + dh_strip + dh_perl + dh_python2 -ppython-lasso + dh_python3 -ppython3-lasso + dh_compress + dh_fixperms + dh_makeshlibs -a -V + dh_installdeb + dh_shlibdeps -a +ifeq ($(with_php),yes) + echo "php:Depends=phpapi-`php-config5 --phpapi`" >> $(CURDIR)/debian/php5-lasso.substvars +endif + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff --git a/debian-stretch/source/format b/debian-stretch/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/debian-stretch/source/format @@ -0,0 +1 @@ +3.0 (quilt) -- 2.16.1