updated packaging to current sid package

This commit is contained in:
Frédéric Péters 2007-07-26 18:07:30 +00:00
parent 52b478f0d2
commit a629f7aec8
5 changed files with 68 additions and 35 deletions

View File

@ -1,14 +1,38 @@
lasso (0.6.5-0) unofficial; urgency=low
lasso (2.0.0-1) unstable; urgency=low
* unofficial build.
* New upstream release.
* debian/control: removes php4-lasso since PHP4 is no longer provided.
(closes: #432422, #418268)
-- Frederic Peters <fpeters@debian.org> Tue, 21 Mar 2006 10:02:53 +0100
-- Frederic Peters <fpeters@debian.org> Mon, 09 Jul 2007 22:55:58 +0200
lasso (0.6.4-0) unofficial; urgency=low
lasso (0.6.5-3) unstable; urgency=low
* unofficial build.
* 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 <fpeters@debian.org> Wed, 8 Mar 2006 13:08:34 +0100
-- Frederic Peters <fpeters@debian.org> 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 <fpeters@debian.org> 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 <fpeters@debian.org> Tue, 21 Mar 2006 10:48:05 +0100
lasso (0.6.4-1) unstable; urgency=low
* New upstream release.
-- Frederic Peters <fpeters@debian.org> Mon, 13 Mar 2006 11:38:09 +0100
lasso (0.6.3-4) unstable; urgency=low

34
control
View File

@ -2,8 +2,9 @@ Source: lasso
Priority: optional
Section: libs
Maintainer: Frederic Peters <fpeters@debian.org>
Build-Depends: debhelper (>= 4.0.0), libxml2-dev, libxslt1-dev, libxmlsec1-dev, libxmlsec1-openssl, libglib2.0-dev, python, python2.3-dev, php4-dev (>= 4:4.3.10-10), libexpat1-dev
Standards-Version: 3.6.1
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, libgcj-dev, fastjar, python-central (>= 0.5)
XS-Python-Version: all
Standards-Version: 3.7.2
Package: liblasso3-dev
Section: libdevel
@ -35,37 +36,24 @@ Description: Liberty ID-FF library - runtime library
.
Homepage: http://lasso.entrouvert.org
Package: python2.3-lasso
Conflicts: liblasso0-python2.3
Replaces: liblasso0-python2.3
Provides: liblasso0-python2.3
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: python2.3, ${shlibs:Depends}, ${misc:depends}, ${python:Depends}
Description: Liberty ID-FF library - Python 2.3 bindings
Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:depends}
XB-Python-Version: ${python:Versions}
Description: Liberty ID-FF library - Python bindings
Lasso is an implementation of the Liberty Identity Federation specifications
defined by the Liberty Alliance consortium. They defines processes such as
network identity federation and single sign-on.
.
This package contains Python 2.3 bindings for liblasso, needed to use lasso
This package contains Python bindings for liblasso, needed to use lasso
in Python applications.
.
Homepage: http://lasso.entrouvert.org
Package: php4-lasso
Section: web
Architecture: any
Depends: ${php:Depends}, ${shlibs:Depends}, ${misc:depends}
Description: Liberty ID-FF library - PHP 4 bindings
Lasso is an implementation of the Liberty Identity Federation specifications
defined by the Liberty Alliance consortium. They defines processes such as
network identity federation and single sign-on.
.
This package contains PHP 4 bindings for liblasso, needed to use lasso
in PHP applications.
.
Homepage: http://lasso.entrouvert.org
Package: liblasso-java
Section: libs
Architecture: any

1
pycompat Normal file
View File

@ -0,0 +1 @@
2

3
python-lasso.files Normal file
View File

@ -0,0 +1,3 @@
usr/lib/python*/site-packages/*.py
usr/lib/python*/site-packages/*.so

29
rules
View File

@ -12,6 +12,9 @@
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
PYDEF := $(shell pyversions -vd)
PYVERS := $(shell pyversions -vr debian/control)
OTHERPYVERS := $(filter-out $(PYDEF), $(PYVERS))
CFLAGS = -Wall -g
@ -29,16 +32,14 @@ version=`ls src/.libs/lib*.so.* | \
major=`ls src/.libs/lib*.so.* | \
awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
phpapiver=$(shell php-config --phpapi)
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) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-tests=no --disable-gtk-doc --disable-perl --disable-csharp
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-tests=no --disable-gtk-doc --disable-perl --disable-csharp --disable-php4
# be sure not to call swig:
touch php/lasso_wrap.c php/php_lasso.h php/lasso.php
touch python/lasso_wrap.c python/lasso.py
touch perl/lasso_wrap.c perl/lasso.pm
touch java/lasso_wrap.c java/lasso.java
build: build-stamp
@ -47,6 +48,14 @@ build-stamp: config.status
# Add here commands to compile the package.
$(MAKE)
set -e; \
for v in $(OTHERPYVERS); do \
rm -rf python$$v; \
cp -a python python$$v; \
sed "s/$(PYDEF)/$$v/g" python/Makefile > python$$v/Makefile; \
$(MAKE) -C python$$v clean; \
$(MAKE) -C python$$v; \
done
touch build-stamp
@ -64,6 +73,9 @@ ifneq "$(wildcard /usr/share/misc/config.guess)" ""
cp -f /usr/share/misc/config.guess config.guess
endif
for v in $(OTHERPYVERS); do \
rm -rf python$$v; \
done
dh_clean
@ -76,6 +88,11 @@ install: build
# 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 python$$v install DESTDIR=$(CURDIR)/debian/tmp; \
done
mkdir $(CURDIR)/debian/tmp/usr/lib/jni/
mv $(CURDIR)/debian/tmp/usr/lib/java/*.so $(CURDIR)/debian/tmp/usr/lib/jni/
@ -95,13 +112,13 @@ binary-arch: build install
dh_movefiles
dh_link
dh_strip
dh_pycentral -ppython-lasso
dh_python
dh_compress
dh_fixperms
dh_makeshlibs -a -V
#dh_clideps -L liblasso-cil -r -d
dh_installdeb
dh_shlibdeps -a
echo "php:Depends=phpapi-$(phpapiver)" >> debian/php4-lasso.substvars
dh_gencontrol
dh_md5sums
dh_builddeb