diff --git a/debian-squeeze/changelog b/debian-squeeze/changelog new file mode 100644 index 00000000..a75f9d01 --- /dev/null +++ b/debian-squeeze/changelog @@ -0,0 +1,302 @@ +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-squeeze/compat b/debian-squeeze/compat new file mode 100644 index 00000000..b8626c4c --- /dev/null +++ b/debian-squeeze/compat @@ -0,0 +1 @@ +4 diff --git a/debian-squeeze/control b/debian-squeeze/control new file mode 100644 index 00000000..819d41ef --- /dev/null +++ b/debian-squeeze/control @@ -0,0 +1,85 @@ +Source: lasso +Priority: optional +Section: libs +Maintainer: Frederic Peters +Build-Depends: debhelper (>= 5.0.37.2), libxml2-dev, libxslt1-dev, libxmlsec1-dev, libxmlsec1-openssl, libglib2.0-dev, python-all-dev (>= 2.3.5-11), libexpat1-dev, fastjar, python-central (>= 0.5), gcj, gcj-jre, gcj-jdk, php5-dev, python-lxml +XS-Python-Version: all +Standards-Version: 3.8.0 +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} +XB-Python-Version: ${python:Versions} +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: liblasso-java +Section: libs +Architecture: amd64 armel i386 ia64 mips mipsel powerpc ppc64 s390 sparc kfreebsd-i386 kfreebsd-amd64 +Depends: ${shlibs:Depends}, ${misc:depends} +Description: Library for Liberty Alliance and SAML protocols - Java 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 provides the Java interface to liblasso, needed to use lasso in + 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. + +Package: php5-lasso +Section: web +Architecture: any +Depends: ${shlibs:Depends}, ${php:Depends}, ${misc:depends} +Description: Library for Liberty Alliance and SAML protocols - PHP 5 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 PHP bindings for liblasso, needed to use lasso + in PHP applications. diff --git a/debian-squeeze/control.in b/debian-squeeze/control.in new file mode 100644 index 00000000..ca21fb1d --- /dev/null +++ b/debian-squeeze/control.in @@ -0,0 +1,85 @@ +Source: lasso +Priority: optional +Section: libs +Maintainer: Frederic Peters +Build-Depends: debhelper (>= 5.0.37.2), libxml2-dev, libxslt1-dev, libxmlsec1-dev, libxmlsec1-openssl, libglib2.0-dev, python-all-dev (>= 2.3.5-11), libexpat1-dev, fastjar, python-central (>= 0.5), gcj, gcj-jre, gcj-jdk, php5-dev, python-lxml +XS-Python-Version: all +Standards-Version: 3.8.0 +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} +XB-Python-Version: ${python:Versions} +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: java +#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. + +Package: php5-lasso +Section: php +Architecture: any +Depends: ${shlibs:Depends}, ${php:Depends}, ${misc:depends} +Description: Library for Liberty Alliance and SAML protocols - PHP 5 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 PHP bindings for liblasso, needed to use lasso + in PHP applications. diff --git a/debian-squeeze/copyright b/debian-squeeze/copyright new file mode 100644 index 00000000..93764219 --- /dev/null +++ b/debian-squeeze/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-squeeze/dirs b/debian-squeeze/dirs new file mode 100644 index 00000000..ca882bbb --- /dev/null +++ b/debian-squeeze/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin diff --git a/debian-squeeze/docs b/debian-squeeze/docs new file mode 100644 index 00000000..55bc0a63 --- /dev/null +++ b/debian-squeeze/docs @@ -0,0 +1,2 @@ +README +AUTHORS diff --git a/debian-squeeze/liblasso-java.dirs b/debian-squeeze/liblasso-java.dirs new file mode 100644 index 00000000..0b70e893 --- /dev/null +++ b/debian-squeeze/liblasso-java.dirs @@ -0,0 +1 @@ +usr/lib/jni/ diff --git a/debian-squeeze/liblasso-java.install b/debian-squeeze/liblasso-java.install new file mode 100644 index 00000000..758673ed --- /dev/null +++ b/debian-squeeze/liblasso-java.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/jni/*.so +debian/tmp/usr/share/java/*.jar diff --git a/debian-squeeze/liblasso-perl.install b/debian-squeeze/liblasso-perl.install new file mode 100644 index 00000000..a5714aff --- /dev/null +++ b/debian-squeeze/liblasso-perl.install @@ -0,0 +1,3 @@ +debian/tmp/usr/lib/perl/5.*.*/lasso.pm usr/lib/perl5/ +debian/tmp/usr/lib/perl/5.*.*/auto/lasso/lasso.bs usr/lib/perl5/auto/lasso/ +debian/tmp/usr/lib/perl/5.*.*/auto/lasso/lasso.so usr/lib/perl5/auto/lasso/ diff --git a/debian-squeeze/liblasso3-dev.dirs b/debian-squeeze/liblasso3-dev.dirs new file mode 100644 index 00000000..44188162 --- /dev/null +++ b/debian-squeeze/liblasso3-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include diff --git a/debian-squeeze/liblasso3-dev.install b/debian-squeeze/liblasso3-dev.install new file mode 100644 index 00000000..ad209437 --- /dev/null +++ b/debian-squeeze/liblasso3-dev.install @@ -0,0 +1,5 @@ +debian/tmp/usr/include/lasso +debian/tmp/usr/lib/liblasso.a +debian/tmp/usr/lib/liblasso.so +debian/tmp/usr/lib/liblasso.la +debian/tmp/usr/lib/pkgconfig/lasso.pc diff --git a/debian-squeeze/liblasso3.dirs b/debian-squeeze/liblasso3.dirs new file mode 100644 index 00000000..68457717 --- /dev/null +++ b/debian-squeeze/liblasso3.dirs @@ -0,0 +1 @@ +usr/lib diff --git a/debian-squeeze/liblasso3.install b/debian-squeeze/liblasso3.install new file mode 100644 index 00000000..c45ebcf2 --- /dev/null +++ b/debian-squeeze/liblasso3.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib*.so.* diff --git a/debian-squeeze/php5-lasso.install b/debian-squeeze/php5-lasso.install new file mode 100644 index 00000000..61607e59 --- /dev/null +++ b/debian-squeeze/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-squeeze/pycompat b/debian-squeeze/pycompat new file mode 100644 index 00000000..0cfbf088 --- /dev/null +++ b/debian-squeeze/pycompat @@ -0,0 +1 @@ +2 diff --git a/debian-squeeze/python-lasso.install b/debian-squeeze/python-lasso.install new file mode 100644 index 00000000..c60282eb --- /dev/null +++ b/debian-squeeze/python-lasso.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/python*/dist-packages/*.py +debian/tmp/usr/lib/python*/dist-packages/*.so diff --git a/debian-squeeze/rules b/debian-squeeze/rules new file mode 100755 index 00000000..ede7a6c5 --- /dev/null +++ b/debian-squeeze/rules @@ -0,0 +1,169 @@ +#!/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) + +with_java := yes +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 + +PYDEF := $(shell pyversions -vd) +PYVERS := $(shell pyversions -vr debian/control) +OTHERPYVERS := $(filter-out $(PYDEF), $(PYVERS)) + +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 + +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 \ + --disable-csharp \ + --disable-php4 \ + --with-php5-config-dir=/etc/php5/conf.d/ + + +ifeq ($(with_java),yes) + CONFIGURE_ARGS += --enable-java +else + CONFIGURE_ARGS += --disable-java +endif + + +config.status: configure + dh_testdir + # Add here commands to configure the package. + CFLAGS="$(CFLAGS)" ./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) + 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 + + 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 + + + [ ! -f Makefile ] || $(MAKE) distclean +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + + for v in $(OTHERPYVERS); do \ + rm -rf bindings/python$$v; \ + done + + rm -f config.log + + 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 + + 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 + + # 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 + dh_link + dh_strip + dh_perl + dh_pycentral -ppython-lasso + dh_python + dh_compress + dh_fixperms + dh_makeshlibs -a -V + dh_installdeb + dh_shlibdeps -a + echo "php:Depends=phpapi-`php-config5 --phpapi`" >> $(CURDIR)/debian/php5-lasso.substvars + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff --git a/debian-squeeze/source/format b/debian-squeeze/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/debian-squeeze/source/format @@ -0,0 +1 @@ +3.0 (quilt)