Package: ossp-uuid
Version: 1.5.1-1.1
Severity: wishlist
Tags: patch

Hi!

ossp-uuid currently uses yada as a build system. This makes it very
unobvious and unnecessarily hard to maintain.

Would you consider switching to a more Debian-like build system with
debhelper?

I attach a patch which converts the current source to cdbs, which
dramatically reduces the build machinery and makes the package more
consistent with other Debian source packages.

 debian/packages                  |  219 --------------
 ossp-uuid-1.5.1/debian/rules     |  604 +++------------------------------------
 10 files changed, 108 insertions(+), 773 deletions(-)

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

My 5 today: #148003 (devmapper, udev), #150471 (nautilus), #173470 (cupsys,
avahi), #191860 (ndisgtk), #191963
Do 5 a day - every day! https://wiki.ubuntu.com/5-A-Day
diff -u ossp-uuid-1.5.1/debian/changelog ossp-uuid-1.5.1/debian/changelog
--- ossp-uuid-1.5.1/debian/changelog
+++ ossp-uuid-1.5.1/debian/changelog
@@ -1,3 +1,11 @@
+ossp-uuid (1.5.1-1.1ubuntu1) hardy; urgency=low
+
+  * Convert build system from yada to cdbs.
+  * Modify Maintainer value to match the DebianMaintainerField
+    specification.
+
+ -- Martin Pitt <[EMAIL PROTECTED]>  Thu, 21 Feb 2008 10:37:15 +0100
+
 ossp-uuid (1.5.1-1.1) unstable; urgency=high
 
   * Non-maintainer upload.
diff -u ossp-uuid-1.5.1/debian/rules ossp-uuid-1.5.1/debian/rules
--- ossp-uuid-1.5.1/debian/rules
+++ ossp-uuid-1.5.1/debian/rules
@@ -2,548 +2,58 @@
-# Generated automatically from debian/packages
-# by yada v0.53, of Fri,  4 May 2007
 
-DEB_HOST_ARCH        := $(shell dpkg-architecture -qDEB_HOST_ARCH 2>/dev/null)
-DEB_HOST_ARCH_OS     := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 
2>/dev/null)
-DEB_HOST_ARCH_CPU    := $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU 
2>/dev/null)
-DEB_HOST_GNU_CPU     := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU 
2>/dev/null)
-DEB_HOST_GNU_TYPE    := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE 
2>/dev/null)
-DEB_HOST_GNU_SYSTEM  := $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM 
2>/dev/null)
-
-DEB_BUILD_ARCH       := $(shell dpkg-architecture -qDEB_BUILD_ARCH 2>/dev/null)
-DEB_BUILD_ARCH_OS    := $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS 
2>/dev/null)
-DEB_BUILD_ARCH_CPU   := $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU 
2>/dev/null)
-DEB_BUILD_GNU_CPU    := $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU 
2>/dev/null)
-DEB_BUILD_GNU_TYPE   := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE 
2>/dev/null)
-DEB_BUILD_GNU_SYSTEM := $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM 
2>/dev/null)
-
-# Take account of old dpkg-architecture output.
-ifeq ($(DEB_HOST_ARCH_CPU),)
-  DEB_HOST_ARCH_CPU := $(DEB_HOST_GNU_CPU))
-  ifeq ($(DEB_HOST_ARCH_CPU),i486)
-    DEB_HOST_ARCH_OS := i386
-  else
-  ifeq ($(DEB_HOST_ARCH_CPU),x86_64)
-    DEB_HOST_ARCH_OS := amd64
-  endif
-  endif
-endif
-ifeq ($(DEB_HOST_ARCH_OS),)
-  DEB_HOST_ARCH_OS := $(subst -gnu,,$(DEB_HOST_GNU_SYSTEM))
-  ifeq ($(DEB_HOST_ARCH_OS),gnu)
-    DEB_HOST_ARCH_OS := hurd
-  endif
-endif
-ifeq ($(DEB_BUILD_ARCH_CPU),)
-  DEB_BUILD_ARCH_CPU := $(DEB_BUILD_GNU_CPU))
-  ifeq ($(DEB_BUILD_ARCH_CPU),i486)
-    DEB_BUILD_ARCH_OS := i386
-  else
-  ifeq ($(DEB_BUILD_ARCH_CPU),x86_64)
-    DEB_BUILD_ARCH_OS := amd64
-  endif
-  endif
-endif
-ifeq ($(DEB_BUILD_ARCH_OS),)
-  DEB_BUILD_ARCH_OS := $(subst -gnu,,$(DEB_BUILD_GNU_SYSTEM))
-  ifeq ($(DEB_BUILD_ARCH_OS),gnu)
-    DEB_BUILD_ARCH_OS := hurd
-  endif
-endif
-
-LEFT_PARENTHESIS:=(
-VERSION:=$(shell head -n1 debian/changelog | sed -e "s/^[0-9a-zA-Z.-]* 
$(LEFT_PARENTHESIS)//" -e "s/[^0-9a-zA-Z.:+~-].*//")
-
-SHELL=/bin/bash
-
-.PHONY: default
-default:
-       @echo "Specify a target:"; \
-       echo " build              compile the package"; \
-       echo " build-arch         compile the architecture-dependent package"; \
-       echo " build-indep        compile the architecture-independent 
package"; \
-       echo " binary             make all binary packages"; \
-       echo " binary-arch        make all architecture-dependent binary 
packages"; \
-       echo " binary-indep       make all architecture-independent binary 
packages"; \
-       echo " clean              clean up the source package"; \
-       echo; \
-       echo " clean-install-tree clean up only under debian/"; \
-       echo
-
-# Build the package and prepare the install tree
-
-.PHONY: build-only build
-build-only: debian/build-stamp
-build: build-only
-
-.PHONY: build-arch-only build-arch
-build-arch-only: debian/build-arch-stamp
-build-arch: build-arch-only
-
-.PHONY: build-indep-only build-indep
-build-indep-only: debian/build-indep-stamp
-build-indep: build-indep-only
-
-# Make sure these rules and the control file are up-to-date
-
-.PHONY: rules control templates
-rules: debian/rules
-debian/rules: $(shell which yada) debian/packages-tmp
-       yada rebuild rules
-
-control: debian/control
-debian/control: $(shell which yada) debian/packages-tmp
-       yada rebuild control
-
-templates: debian/templates debian/po/POTFILES.in
-debian/templates: $(shell which yada) debian/packages-tmp
-       yada rebuild templates
-debian/po/POTFILES.in: $(shell which yada) debian/packages-tmp
-       yada rebuild templates
-
-debian/build-stamp: debian/build-arch-stamp debian/build-indep-stamp
-       @[ -f $(shell which yada) -a -f debian/rules ]
-       yada patch "debian/patches/*.patch"
-       @umask 022 \
-         && export pwd="$$(pwd)" \
-         && export TMPROOT="$$(pwd)/debian/tmp" \
-         && export SOURCE="ossp-uuid" \
-         && export VERSION="$(VERSION)" \
-         && export DEB_HOST_GNU_CPU="$(DEB_HOST_GNU_CPU)" \
-         && export DEB_HOST_GNU_TYPE="$(DEB_HOST_GNU_TYPE)" \
-         && export DEB_HOST_GNU_SYSTEM="$(DEB_HOST_GNU_SYSTEM)" \
-         && export DEB_BUILD_GNU_CPU="$(DEB_BUILD_GNU_CPU)" \
-         && export DEB_BUILD_GNU_TYPE="$(DEB_BUILD_GNU_TYPE)" \
-         && export DEB_BUILD_GNU_SYSTEM="$(DEB_BUILD_GNU_SYSTEM)" && (\
-       echo -E 'eval "yada () { perl $$(which yada) \"[EMAIL PROTECTED]"; }"; 
set -e; set -v';\
-       echo -E 'CC=$${CC:-gcc}';\
-       echo -E 'CFLAGS=$${CFLAGS:--Wall -g}';\
-       echo -E 'CXX=$${CXX:-g++}';\
-       echo -E 'CXXFLAGS=$${CXXFLAGS:--Wall -g}';\
-       echo -E 'if [ "$${DEB_BUILD_OPTIONS#*noopt}" != "$$DEB_BUILD_OPTIONS" 
]; then';\
-       echo -E '    CFLAGS="$$CFLAGS -O0"';\
-       echo -E '    CXXLAGS="$$CFLAGS -O0"';\
-       echo -E 'else';\
-       echo -E '    CFLAGS="$$CFLAGS -O2"';\
-       echo -E '    CXXLAGS="$$CFLAGS -O2"';\
-       echo -E 'fi';\
-       echo -E './configure \';\
-       echo -E '    --cache-file=config.cache \';\
-       echo -E '    --prefix=/usr \';\
-       echo -E '    --includedir=/usr/include/ossp \';\
-       echo -E '    --mandir=/usr/share/man \';\
-       echo -E '    --without-perl \';\
-       echo -E '    --without-dce \';\
-       echo -E '    --with-cxx';\
-       echo -E 'make CC="$$CC" CFLAGS="$$CFLAGS" CXX="$$CXX" 
CXXFLAGS="$$CXXFLAGS"';\
-       echo -E 'make install DESTDIR=$$pwd/debian/tmp';\
-       echo -E '';\
-       echo -E 'pushd perl';\
-       echo -E '    PERL=$${PERL:-/usr/bin/perl}';\
-       echo -E '    $$PERL Makefile.PL INSTALLDIRS=vendor COMPAT=1';\
-       echo -E '    make CC="$$CC" OPTIMIZE="$$CFLAGS"';\
-       echo -E '    make test';\
-       echo -E 'popd';\
-       echo -E '';\
-       echo -E 'pushd php';\
-       echo -E '    phpize5';\
-       echo -E '    mkdir build-php5';\
-       echo -E '    pushd build-php5';\
-       echo -E '        CC="$$CC" CFLAGS="$$CFLAGS -I../.. -L../.. 
-L../../.libs" \';\
-       echo -E '        ../configure \';\
-       echo -E '            --cache-file=../config.cache \';\
-       echo -E '            --enable-uuid \';\
-       echo -E '            --disable-static \';\
-       echo -E '            --with-php-config=php-config5';\
-       echo -E '        make';\
-       echo -E '    popd';\
-       echo -E '    LD_LIBRARY_PATH=`pwd`/../.libs \';\
-       echo -E '    php5 -q -d "safe_mode=0" -d "extension=modules/uuid.so" -d 
"extension_dir=./build-php5" uuid.ts 5';\
-       echo -E 'popd';\
-       echo -E '';\
-       echo -E 'echo "php:php5-uuid:Depends=phpapi-`php-config5 --phpapi`" >> 
debian/substvars') | /bin/bash
-       touch debian/build-stamp
-
-debian/build-arch-stamp:
-       @[ -f $(shell which yada) -a -f debian/rules ]
-       yada patch "debian/patches/*.patch"
-       touch debian/build-arch-stamp
-
-debian/build-indep-stamp: debian/build-arch-stamp
-       @[ -f $(shell which yada) -a -f debian/rules ]
-       yada patch "debian/patches/*.patch"
-       touch debian/build-indep-stamp
-
-.PHONY: install-tree
-install-tree: install-tree-any
-install-tree-any: \
-       debian/tmp-libossp-uuid15/DEBIAN/control \
-       debian/tmp-libossp-uuid-dev/DEBIAN/control \
-       debian/tmp-uuid/DEBIAN/control \
-       debian/tmp-libossp-uuid-perl/DEBIAN/control \
-       debian/tmp-php5-uuid/DEBIAN/control
-
-debian/tmp-libossp-uuid15/DEBIAN/control: debian/build-stamp debian/control
-       rm -rf debian/tmp-libossp-uuid15
-       umask 022 && install -d debian/tmp-libossp-uuid15/DEBIAN
-       install -d debian/tmp-libossp-uuid15/usr/share/doc/libossp-uuid15
-       umask 022; yada generate copyright \
-         > debian/tmp-libossp-uuid15/usr/share/doc/libossp-uuid15/copyright
-       install -m 644 -p debian/changelog \
-         
debian/tmp-libossp-uuid15/usr/share/doc/libossp-uuid15/changelog.Debian
-       @umask 022 \
-         && export pwd="$$(pwd)" \
-         && export ROOT="$$(pwd)/debian/tmp-libossp-uuid15" \
-         && export TMPROOT="$$(pwd)/debian/tmp" \
-         && export CONTROL="$$(pwd)/debian/tmp-libossp-uuid15/DEBIAN" \
-         && export PACKAGE="libossp-uuid15" \
-         && export SOURCE="ossp-uuid" \
-         && export VERSION="$(VERSION)" \
-         && export DEB_HOST_GNU_CPU="$(DEB_HOST_GNU_CPU)" \
-         && export DEB_HOST_GNU_TYPE="$(DEB_HOST_GNU_TYPE)" \
-         && export DEB_HOST_GNU_SYSTEM="$(DEB_HOST_GNU_SYSTEM)" \
-         && export DEB_BUILD_GNU_CPU="$(DEB_BUILD_GNU_CPU)" \
-         && export DEB_BUILD_GNU_TYPE="$(DEB_BUILD_GNU_TYPE)" \
-         && export DEB_BUILD_GNU_SYSTEM="$(DEB_BUILD_GNU_SYSTEM)" && (\
-       echo -E 'eval "yada () { perl $$(which yada) \"[EMAIL PROTECTED]"; }"; 
set -e; set -v';\
-       echo -E 'yada copy -lib debian/tmp/usr/lib/*.so.*';\
-       echo -E 'yada makeshlibs') | /bin/sh
-       @umask 022 \
-         && export pwd="$$(pwd)" \
-         && export ROOT="$$(pwd)/debian/tmp-libossp-uuid15" \
-         && export TMPROOT="$$(pwd)/debian/tmp" \
-         && export CONTROL="$$(pwd)/debian/tmp-libossp-uuid15/DEBIAN" \
-         && export PACKAGE="libossp-uuid15" \
-         && export SOURCE="ossp-uuid" \
-         && export VERSION="$(VERSION)" && (\
-       echo -E 'eval "yada () { perl $$(which yada) \"[EMAIL PROTECTED]"; }"; 
set -e; set -v';\
-       echo -E 'yada perl';\
-       echo -E 'yada python';\
-       echo -E 'yada strip';\
-       echo -E 'yada shlibdeps') | /bin/sh
-       yada compress libossp-uuid15
-       yada generate maintscripts libossp-uuid15
-       find debian/tmp-libossp-uuid15 -type f -print \
-         | sed -n 's/^debian\/tmp-libossp-uuid15\(\/etc\/.*\)$$/\1/p' \
-         > debian/tmp-libossp-uuid15/DEBIAN/conffiles
-       test -s debian/tmp-libossp-uuid15/DEBIAN/conffiles || rm -f 
debian/tmp-libossp-uuid15/DEBIAN/conffiles
-       yada rebuild control
-       yada generate substvars libossp-uuid15
-       umask 022 && dpkg-gencontrol -isp -plibossp-uuid15 
-Pdebian/tmp-libossp-uuid15
-
-debian/tmp-libossp-uuid-dev/DEBIAN/control: debian/build-stamp debian/control
-       rm -rf debian/tmp-libossp-uuid-dev
-       umask 022 && install -d debian/tmp-libossp-uuid-dev/DEBIAN
-       install -d debian/tmp-libossp-uuid-dev/usr/share/doc/libossp-uuid-dev
-       umask 022; yada generate copyright \
-         > debian/tmp-libossp-uuid-dev/usr/share/doc/libossp-uuid-dev/copyright
-       install -m 644 -p debian/changelog \
-         
debian/tmp-libossp-uuid-dev/usr/share/doc/libossp-uuid-dev/changelog.Debian
-       @umask 022 \
-         && export pwd="$$(pwd)" \
-         && export ROOT="$$(pwd)/debian/tmp-libossp-uuid-dev" \
-         && export TMPROOT="$$(pwd)/debian/tmp" \
-         && export CONTROL="$$(pwd)/debian/tmp-libossp-uuid-dev/DEBIAN" \
-         && export PACKAGE="libossp-uuid-dev" \
-         && export SOURCE="ossp-uuid" \
-         && export VERSION="$(VERSION)" \
-         && export DEB_HOST_GNU_CPU="$(DEB_HOST_GNU_CPU)" \
-         && export DEB_HOST_GNU_TYPE="$(DEB_HOST_GNU_TYPE)" \
-         && export DEB_HOST_GNU_SYSTEM="$(DEB_HOST_GNU_SYSTEM)" \
-         && export DEB_BUILD_GNU_CPU="$(DEB_BUILD_GNU_CPU)" \
-         && export DEB_BUILD_GNU_TYPE="$(DEB_BUILD_GNU_TYPE)" \
-         && export DEB_BUILD_GNU_SYSTEM="$(DEB_BUILD_GNU_SYSTEM)" && (\
-       echo -E 'eval "yada () { perl $$(which yada) \"[EMAIL PROTECTED]"; }"; 
set -e; set -v';\
-       echo -E 'cp -a debian/tmp/* $$ROOT';\
-       echo -E 'yada rename -data -into /usr/lib/pkgconfig -as ossp-uuid.pc 
uuid.pc';\
-       echo -E 'yada rename -man -as uuid.3ossp uuid.3';\
-       echo -E 'yada rename -man -as uuid++.3ossp uuid++.3';\
-       echo -E 'rm -f $$ROOT/usr/bin/uuid $$ROOT/usr/lib/*.so.* 
$$ROOT/usr/share/man/man1/uuid.*') | /bin/bash
-       @umask 022 \
-         && export pwd="$$(pwd)" \
-         && export ROOT="$$(pwd)/debian/tmp-libossp-uuid-dev" \
-         && export TMPROOT="$$(pwd)/debian/tmp" \
-         && export CONTROL="$$(pwd)/debian/tmp-libossp-uuid-dev/DEBIAN" \
-         && export PACKAGE="libossp-uuid-dev" \
-         && export SOURCE="ossp-uuid" \
-         && export VERSION="$(VERSION)" && (\
-       echo -E 'eval "yada () { perl $$(which yada) \"[EMAIL PROTECTED]"; }"; 
set -e; set -v';\
-       echo -E 'yada perl';\
-       echo -E 'yada python';\
-       echo -E 'yada strip';\
-       echo -E 'yada shlibdeps') | /bin/sh
-       yada compress libossp-uuid-dev
-       yada generate maintscripts libossp-uuid-dev
-       find debian/tmp-libossp-uuid-dev -type f -print \
-         | sed -n 's/^debian\/tmp-libossp-uuid-dev\(\/etc\/.*\)$$/\1/p' \
-         > debian/tmp-libossp-uuid-dev/DEBIAN/conffiles
-       test -s debian/tmp-libossp-uuid-dev/DEBIAN/conffiles || rm -f 
debian/tmp-libossp-uuid-dev/DEBIAN/conffiles
-       yada rebuild control
-       yada generate substvars libossp-uuid-dev
-       umask 022 && dpkg-gencontrol -isp -plibossp-uuid-dev 
-Pdebian/tmp-libossp-uuid-dev
-
-debian/tmp-uuid/DEBIAN/control: debian/build-stamp debian/control
-       rm -rf debian/tmp-uuid
-       umask 022 && install -d debian/tmp-uuid/DEBIAN
-       install -d debian/tmp-uuid/usr/share/doc/uuid
-       umask 022; yada generate copyright \
-         > debian/tmp-uuid/usr/share/doc/uuid/copyright
-       install -m 644 -p debian/changelog \
-         debian/tmp-uuid/usr/share/doc/uuid/changelog.Debian
-       @umask 022 \
-         && export pwd="$$(pwd)" \
-         && export ROOT="$$(pwd)/debian/tmp-uuid" \
-         && export TMPROOT="$$(pwd)/debian/tmp" \
-         && export CONTROL="$$(pwd)/debian/tmp-uuid/DEBIAN" \
-         && export PACKAGE="uuid" \
-         && export SOURCE="ossp-uuid" \
-         && export VERSION="$(VERSION)" \
-         && export DEB_HOST_GNU_CPU="$(DEB_HOST_GNU_CPU)" \
-         && export DEB_HOST_GNU_TYPE="$(DEB_HOST_GNU_TYPE)" \
-         && export DEB_HOST_GNU_SYSTEM="$(DEB_HOST_GNU_SYSTEM)" \
-         && export DEB_BUILD_GNU_CPU="$(DEB_BUILD_GNU_CPU)" \
-         && export DEB_BUILD_GNU_TYPE="$(DEB_BUILD_GNU_TYPE)" \
-         && export DEB_BUILD_GNU_SYSTEM="$(DEB_BUILD_GNU_SYSTEM)" && (\
-       echo -E 'eval "yada () { perl $$(which yada) \"[EMAIL PROTECTED]"; }"; 
set -e; set -v';\
-       echo -E 'yada copy -bin debian/tmp/usr/bin/uuid';\
-       echo -E 'yada copy -man debian/tmp/usr/share/man/man1/uuid.*') | /bin/sh
-       @umask 022 \
-         && export pwd="$$(pwd)" \
-         && export ROOT="$$(pwd)/debian/tmp-uuid" \
-         && export TMPROOT="$$(pwd)/debian/tmp" \
-         && export CONTROL="$$(pwd)/debian/tmp-uuid/DEBIAN" \
-         && export PACKAGE="uuid" \
-         && export SOURCE="ossp-uuid" \
-         && export VERSION="$(VERSION)" && (\
-       echo -E 'eval "yada () { perl $$(which yada) \"[EMAIL PROTECTED]"; }"; 
set -e; set -v';\
-       echo -E 'yada perl';\
-       echo -E 'yada python';\
-       echo -E 'yada strip';\
-       echo -E 'yada shlibdeps') | /bin/sh
-       yada compress uuid
-       yada generate maintscripts uuid
-       find debian/tmp-uuid -type f -print \
-         | sed -n 's/^debian\/tmp-uuid\(\/etc\/.*\)$$/\1/p' \
-         > debian/tmp-uuid/DEBIAN/conffiles
-       test -s debian/tmp-uuid/DEBIAN/conffiles || rm -f 
debian/tmp-uuid/DEBIAN/conffiles
-       yada rebuild control
-       yada generate substvars uuid
-       umask 022 && dpkg-gencontrol -isp -puuid -Pdebian/tmp-uuid
-
-debian/tmp-libossp-uuid-perl/DEBIAN/control: debian/build-stamp debian/control
-       rm -rf debian/tmp-libossp-uuid-perl
-       umask 022 && install -d debian/tmp-libossp-uuid-perl/DEBIAN
-       install -d debian/tmp-libossp-uuid-perl/usr/share/doc/libossp-uuid-perl
-       umask 022; yada generate copyright \
-         > 
debian/tmp-libossp-uuid-perl/usr/share/doc/libossp-uuid-perl/copyright
-       install -m 644 -p debian/changelog \
-         
debian/tmp-libossp-uuid-perl/usr/share/doc/libossp-uuid-perl/changelog.Debian
-       @umask 022 \
-         && export pwd="$$(pwd)" \
-         && export ROOT="$$(pwd)/debian/tmp-libossp-uuid-perl" \
-         && export TMPROOT="$$(pwd)/debian/tmp" \
-         && export CONTROL="$$(pwd)/debian/tmp-libossp-uuid-perl/DEBIAN" \
-         && export PACKAGE="libossp-uuid-perl" \
-         && export SOURCE="ossp-uuid" \
-         && export VERSION="$(VERSION)" \
-         && export DEB_HOST_GNU_CPU="$(DEB_HOST_GNU_CPU)" \
-         && export DEB_HOST_GNU_TYPE="$(DEB_HOST_GNU_TYPE)" \
-         && export DEB_HOST_GNU_SYSTEM="$(DEB_HOST_GNU_SYSTEM)" \
-         && export DEB_BUILD_GNU_CPU="$(DEB_BUILD_GNU_CPU)" \
-         && export DEB_BUILD_GNU_TYPE="$(DEB_BUILD_GNU_TYPE)" \
-         && export DEB_BUILD_GNU_SYSTEM="$(DEB_BUILD_GNU_SYSTEM)" && (\
-       echo -E 'eval "yada () { perl $$(which yada) \"[EMAIL PROTECTED]"; }"; 
set -e; set -v';\
-       echo -E 'pushd perl';\
-       echo -E '    PERL=$${PERL:-/usr/bin/perl}';\
-       echo -E '    make install PREFIX=$$ROOT/usr';\
-       echo -E 'popd';\
-       echo -E '';\
-       echo -E 'chrpath $$ROOT/usr/lib/perl5/auto/OSSP/uuid/uuid.so && \';\
-       echo -E 'chrpath -d $$ROOT/usr/lib/perl5/auto/OSSP/uuid/uuid.so') | 
/bin/bash
-       @umask 022 \
-         && export pwd="$$(pwd)" \
-         && export ROOT="$$(pwd)/debian/tmp-libossp-uuid-perl" \
-         && export TMPROOT="$$(pwd)/debian/tmp" \
-         && export CONTROL="$$(pwd)/debian/tmp-libossp-uuid-perl/DEBIAN" \
-         && export PACKAGE="libossp-uuid-perl" \
-         && export SOURCE="ossp-uuid" \
-         && export VERSION="$(VERSION)" && (\
-       echo -E 'eval "yada () { perl $$(which yada) \"[EMAIL PROTECTED]"; }"; 
set -e; set -v';\
-       echo -E 'yada perl';\
-       echo -E 'yada python';\
-       echo -E 'yada strip';\
-       echo -E 'yada shlibdeps') | /bin/sh
-       yada compress libossp-uuid-perl
-       yada generate maintscripts libossp-uuid-perl
-       find debian/tmp-libossp-uuid-perl -type f -print \
-         | sed -n 's/^debian\/tmp-libossp-uuid-perl\(\/etc\/.*\)$$/\1/p' \
-         > debian/tmp-libossp-uuid-perl/DEBIAN/conffiles
-       test -s debian/tmp-libossp-uuid-perl/DEBIAN/conffiles || rm -f 
debian/tmp-libossp-uuid-perl/DEBIAN/conffiles
-       yada rebuild control
-       yada generate substvars libossp-uuid-perl
-       umask 022 && dpkg-gencontrol -isp -plibossp-uuid-perl 
-Pdebian/tmp-libossp-uuid-perl
-
-debian/tmp-php5-uuid/DEBIAN/control: debian/build-stamp debian/control
-       rm -rf debian/tmp-php5-uuid
-       umask 022 && install -d debian/tmp-php5-uuid/DEBIAN
-       install -d debian/tmp-php5-uuid/usr/share/doc/php5-uuid
-       umask 022; yada generate copyright \
-         > debian/tmp-php5-uuid/usr/share/doc/php5-uuid/copyright
-       install -m 644 -p debian/changelog \
-         debian/tmp-php5-uuid/usr/share/doc/php5-uuid/changelog.Debian
-       @umask 022 \
-         && export pwd="$$(pwd)" \
-         && export ROOT="$$(pwd)/debian/tmp-php5-uuid" \
-         && export TMPROOT="$$(pwd)/debian/tmp" \
-         && export CONTROL="$$(pwd)/debian/tmp-php5-uuid/DEBIAN" \
-         && export PACKAGE="php5-uuid" \
-         && export SOURCE="ossp-uuid" \
-         && export VERSION="$(VERSION)" \
-         && export DEB_HOST_GNU_CPU="$(DEB_HOST_GNU_CPU)" \
-         && export DEB_HOST_GNU_TYPE="$(DEB_HOST_GNU_TYPE)" \
-         && export DEB_HOST_GNU_SYSTEM="$(DEB_HOST_GNU_SYSTEM)" \
-         && export DEB_BUILD_GNU_CPU="$(DEB_BUILD_GNU_CPU)" \
-         && export DEB_BUILD_GNU_TYPE="$(DEB_BUILD_GNU_TYPE)" \
-         && export DEB_BUILD_GNU_SYSTEM="$(DEB_BUILD_GNU_SYSTEM)" && (\
-       echo -E 'eval "yada () { perl $$(which yada) \"[EMAIL PROTECTED]"; }"; 
set -e; set -v';\
-       echo -E 'pushd php/build-php5';\
-       echo -E '    make install INSTALL_ROOT=$$ROOT';\
-       echo -E 'popd';\
-       echo -E '';\
-       echo -E 'chmod -x $$ROOT/usr/lib/php5/*/uuid.so';\
-       echo -E 'chrpath $$ROOT/usr/lib/php5/*/uuid.so && \';\
-       echo -E 'chrpath -d $$ROOT/usr/lib/php5/*/uuid.so';\
-       echo -E '';\
-       echo -E 'yada install -conf -subdir php5/conf.d debian/conf/uuid.ini') 
| /bin/bash
-       @umask 022 \
-         && export pwd="$$(pwd)" \
-         && export ROOT="$$(pwd)/debian/tmp-php5-uuid" \
-         && export TMPROOT="$$(pwd)/debian/tmp" \
-         && export CONTROL="$$(pwd)/debian/tmp-php5-uuid/DEBIAN" \
-         && export PACKAGE="php5-uuid" \
-         && export SOURCE="ossp-uuid" \
-         && export VERSION="$(VERSION)" && (\
-       echo -E 'eval "yada () { perl $$(which yada) \"[EMAIL PROTECTED]"; }"; 
set -e; set -v';\
-       echo -E 'yada perl';\
-       echo -E 'yada python';\
-       echo -E 'yada strip';\
-       echo -E 'yada shlibdeps') | /bin/sh
-       yada compress php5-uuid
-       yada generate maintscripts php5-uuid
-       find debian/tmp-php5-uuid -type f -print \
-         | sed -n 's/^debian\/tmp-php5-uuid\(\/etc\/.*\)$$/\1/p' \
-         > debian/tmp-php5-uuid/DEBIAN/conffiles
-       test -s debian/tmp-php5-uuid/DEBIAN/conffiles || rm -f 
debian/tmp-php5-uuid/DEBIAN/conffiles
-       yada rebuild control
-       yada generate substvars php5-uuid
-       umask 022 && dpkg-gencontrol -isp -pphp5-uuid -Pdebian/tmp-php5-uuid
-
-# Build package files
-
-.PHONY: binary binary-arch binary-indep
-binary: binary-arch binary-indep
-binary-arch: binary-arch-any
-
-.PHONY: binary-arch-any
-binary-arch-any: \
-       binary-package-libossp-uuid15 \
-       binary-package-libossp-uuid-dev \
-       binary-package-uuid \
-       binary-package-libossp-uuid-perl \
-       binary-package-php5-uuid
-binary-indep:
-
-.PHONY: binary-package-libossp-uuid15
-binary-package-libossp-uuid15: check-root 
debian/tmp-libossp-uuid15/DEBIAN/control
-       @[ -f $(shell which yada) -a -f debian/rules ]
-       chown -R 0.0 debian/tmp-libossp-uuid15
-       chmod -R u=rwX,go=rX debian/tmp-libossp-uuid15
-       @if [ -d debian/tmp-libossp-uuid15/usr/doc/libossp-uuid15 ]; then \
-         echo "*** Yada warning: /usr/doc/libossp-uuid15 should be 
/usr/share/doc/libossp-uuid15";\
-       fi
-       dpkg-deb --build debian/tmp-libossp-uuid15 ..
-
-.PHONY: binary-package-libossp-uuid-dev
-binary-package-libossp-uuid-dev: check-root 
debian/tmp-libossp-uuid-dev/DEBIAN/control
-       @[ -f $(shell which yada) -a -f debian/rules ]
-       chown -R 0.0 debian/tmp-libossp-uuid-dev
-       chmod -R u=rwX,go=rX debian/tmp-libossp-uuid-dev
-       @if [ -d debian/tmp-libossp-uuid-dev/usr/doc/libossp-uuid-dev ]; then \
-         echo "*** Yada warning: /usr/doc/libossp-uuid-dev should be 
/usr/share/doc/libossp-uuid-dev";\
-       fi
-       dpkg-deb --build debian/tmp-libossp-uuid-dev ..
-
-.PHONY: binary-package-uuid
-binary-package-uuid: check-root debian/tmp-uuid/DEBIAN/control
-       @[ -f $(shell which yada) -a -f debian/rules ]
-       chown -R 0.0 debian/tmp-uuid
-       chmod -R u=rwX,go=rX debian/tmp-uuid
-       @if [ -d debian/tmp-uuid/usr/doc/uuid ]; then \
-         echo "*** Yada warning: /usr/doc/uuid should be /usr/share/doc/uuid";\
-       fi
-       dpkg-deb --build debian/tmp-uuid ..
-
-.PHONY: binary-package-libossp-uuid-perl
-binary-package-libossp-uuid-perl: check-root 
debian/tmp-libossp-uuid-perl/DEBIAN/control
-       @[ -f $(shell which yada) -a -f debian/rules ]
-       chown -R 0.0 debian/tmp-libossp-uuid-perl
-       chmod -R u=rwX,go=rX debian/tmp-libossp-uuid-perl
-       @if [ -d debian/tmp-libossp-uuid-perl/usr/doc/libossp-uuid-perl ]; then 
\
-         echo "*** Yada warning: /usr/doc/libossp-uuid-perl should be 
/usr/share/doc/libossp-uuid-perl";\
-       fi
-       dpkg-deb --build debian/tmp-libossp-uuid-perl ..
-
-.PHONY: binary-package-php5-uuid
-binary-package-php5-uuid: check-root debian/tmp-php5-uuid/DEBIAN/control
-       @[ -f $(shell which yada) -a -f debian/rules ]
-       chown -R 0.0 debian/tmp-php5-uuid
-       chmod -R u=rwX,go=rX debian/tmp-php5-uuid
-       @if [ -d debian/tmp-php5-uuid/usr/doc/php5-uuid ]; then \
-         echo "*** Yada warning: /usr/doc/php5-uuid should be 
/usr/share/doc/php5-uuid";\
-       fi
-       dpkg-deb --build debian/tmp-php5-uuid ..
-
-.PHONY: check-root
-check-root:
-       @[ `id -u` = 0 ] || (echo "You must be root to do this!"; false)
-
-debian/packages-tmp: debian/packages 
-       yada rebuild packages
-
-## Clean up afterwards
-
-.PHONY: clean clean-install-tree clean-build
-
-clean: clean-install-tree clean-build debian/control debian/rules
-       rm -f debian/packages-tmp debian/packages-tmp-new 
debian/packages-tmp-include
-
-clean-build:
-       @[ -f $(shell which yada) -a -f debian/rules ]
-       rm -f debian/build-stamp debian/build-arch-stamp 
debian/build-indep-stamp
-       @umask 022 \
-         && export pwd="$$(pwd)" \
-         && export TMPROOT="$$(pwd)/debian/tmp" \
-         && export SOURCE="ossp-uuid" \
-         && export VERSION="$(VERSION)" \
-         && export DEB_HOST_GNU_CPU="$(DEB_HOST_GNU_CPU)" \
-         && export DEB_HOST_GNU_TYPE="$(DEB_HOST_GNU_TYPE)" \
-         && export DEB_HOST_GNU_SYSTEM="$(DEB_HOST_GNU_SYSTEM)" \
-         && export DEB_BUILD_GNU_CPU="$(DEB_BUILD_GNU_CPU)" \
-         && export DEB_BUILD_GNU_TYPE="$(DEB_BUILD_GNU_TYPE)" \
-         && export DEB_BUILD_GNU_SYSTEM="$(DEB_BUILD_GNU_SYSTEM)" && (\
-       echo -E 'eval "yada () { perl $$(which yada) \"[EMAIL PROTECTED]"; }"; 
set -e; set -v';\
-       echo -E 'pushd perl';\
-       echo -E '    test -f Makefile && touch Makefile && make distclean || 
true';\
-       echo -E 'popd';\
-       echo -E 'rm -rf php/build-php?';\
-       echo -E 'pushd php';\
-       echo -E '    phpize --clean || true';\
-       echo -E 'popd';\
-       echo -E 'test -f Makefile && touch Makefile && make distclean || true';\
-       echo -E 'rm -rf debian/tmp || true') | /bin/bash
-       yada unpatch
-       rm -rf debian/tmp
-
-clean-install-tree: debian/rules
-       @[ -f $(shell which yada) -a -f debian/rules ]
-       rm -f debian/install-tree-stamp
-       rm -rf debian/tmp-* debian/files* debian/substvars debian/shlibs.local 
debian/ucf
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+DEB_CONFIGURE_EXTRA_FLAGS := --srcdir= --includedir=/usr/include/ossp 
--without-perl --without-dce --with-cxx
+DEB_DH_INSTALL_SOURCEDIR := debian/tmp
+DEB_DH_GENCONTROL_ARGS := -- -Vphp5-uuid:Depends=phpapi-$(shell php-config5 
--phpapi)
+
+common-build-arch:: build-stamp-ext
+
+build-stamp-ext:
+       # build perl bindings
+       cd perl; \
+       /usr/bin/perl Makefile.PL INSTALLDIRS=vendor COMPAT=1; \
+       make CC="$(CC)" OPTIMIZE="$(CFLAGS)"; \
+       make test
+
+       # build php bindings
+       cd php; \
+       phpize5; \
+       mkdir build-php5; \
+       cd build-php5; \
+       CC="$(CC)" CFLAGS="$(CFLAGS) -I../.. -L../.. -L../../.libs" 
../configure \
+           --cache-file=../config.cache \
+           --enable-uuid \
+           --disable-static \
+           --with-php-config=php-config5; \
+       make; \
+       cd ..; \
+       LD_LIBRARY_PATH=`pwd`/../.libs \
+       php5 -q -d "safe_mode=0" -d "extension=modules/uuid.so" -d 
"extension_dir=./build-php5" uuid.ts 5
+
+       touch build-stamp-ext
+
+clean::
+       cd perl; test -f Makefile && touch Makefile && make distclean || true
+       rm -rf php/build-php?
+       cd php; phpize --clean || true
+       test -f Makefile && touch Makefile && make distclean || true
+       rm -f build-stamp-ext
+
+install/libossp-uuid-perl::
+       cd perl; make install PREFIX=$(CURDIR)/debian/$(cdbs_curpkg)/usr
+       chrpath debian/$(cdbs_curpkg)/usr/lib/perl5/auto/OSSP/uuid/uuid.so && \
+       chrpath -d debian/$(cdbs_curpkg)/usr/lib/perl5/auto/OSSP/uuid/uuid.so
+
+install/php5-uuid::
+       cd php/build-php5; make install 
INSTALL_ROOT=$(CURDIR)/debian/$(cdbs_curpkg)
+       chmod -x debian/$(cdbs_curpkg)/usr/lib/php5/*/uuid.so
+       chrpath debian/$(cdbs_curpkg)/usr/lib/php5/*/uuid.so && \
+       chrpath -d debian/$(cdbs_curpkg)/usr/lib/php5/*/uuid.so
+
+binary-post-install/libossp-uuid-dev::
+       # rename manpages to not conflict with libuuid-dev
+       for i in debian/$(cdbs_curpkg)/usr/share/man/man3/*.3; do mv $$i 
$${i}ossp; done
+
+       install -D -m 644 debian/tmp/usr/lib/pkgconfig/uuid.pc 
debian/$(cdbs_curpkg)/usr/lib/pkgconfig/ossp-uuid.pc
reverted:
--- ossp-uuid-1.5.1/debian/packages
+++ ossp-uuid-1.5.1.orig/debian/packages
@@ -1,219 +0,0 @@
-# $Id: /svn/trunk/debian/dists/ossp-uuid/debian/packages 2269 
2006-11-20T16:14:41.579517Z dexter  $
-
-# If the debian/rules or debian/control file is missing, rebuild the file:
-#
-#   $ yada rebuild control
-#   $ yada rebuild rules
-
-
-# Environment variables:
-
-# don't run `make test'
-#   with_no_test=%{$without_test}  -
-
-
-# Other macros:
-
-%define shver %`./shtool version -l c -d libtool uuid_vers.h | sed 's/:.*//'`
-
-#   shver=%{shver}
-
-
-Source: ossp-uuid
-Section: libs
-Priority: optional
-Maintainer: Piotr Roszatycki <[EMAIL PROTECTED]>
-Standards-Version: 3.7.2
-Upstream-Source: <URL:ftp://ftp.ossp.org/pkg/lib/uuid/uuid-([0-9.]+)\.tar.gz>
-Home-Page: <URL:http://www.ossp.org/pkg/lib/uuid/>
-Upstream-Authors: Ralf S. Engelschall <[EMAIL PROTECTED]>
-Description: OSSP uuid ISO-C and Perl application programming interface
- OSSP uuid is an ISO-C and Perl application programming interface (API)
- and corresponding command line interface (CLI) for the generation of
- DCE 1.1 and ISO/IEC 11578:1996 compliant Universally Unique Identifier
- (UUID). It supports DCE 1.1 variant UUIDs of version 1 (time and node
- based), version 3 (name based) and version 4 (random number based).
- .
- UUIDs are 128 bit numbers which are intended to have a high likelihood
- of uniqueness over space and time and are computationally difficult
- to guess. They are globally unique identifiers which can be locally
- generated without contacting a global registration authority. UUIDs
- are intended as unique identifiers for both mass tagging objects
- with an extremely short lifetime and to reliably identifying very
- persistent objects across a network.
-Copyright: .
-   Copyright (c) 2004-2005 Ralf S. Engelschall <[EMAIL PROTECTED]>
-   Copyright (c) 2004-2005 The OSSP Project <http://www.ossp.org/>
- .
-   This file is part of OSSP uuid, a library for the generation
-   of UUIDs which can found at http://www.ossp.org/pkg/lib/uuid/
- .
-   Permission to use, copy, modify, and distribute this software for
-   any purpose with or without fee is hereby granted, provided that
-   the above copyright notice and this permission notice appear in all
-   copies.
- .
-   THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
-   WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-   MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-   IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
-   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
-   USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-   ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-   OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
-   OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-   SUCH DAMAGE.
-Build-Depends: libtool
-Build-Depends: perl (>= 5.8), chrpath
-Build-Depends: php5-dev
-%if %{without_no_test}
-Build-Depends: php5-cli
-%endif
-Patches: patches/*.patch
-Major-Changes:
-%`cd debian/patches; ls *.patch | sed -e 's/^/ /'`
- .
- The soname was changed to ossp-uuid to prevend the name clash with e2fsprogs's
- uuid library.
-Build: bash
- CC=${CC:-gcc}
- CFLAGS=${CFLAGS:--Wall -g}
- CXX=${CXX:-g++}
- CXXFLAGS=${CXXFLAGS:--Wall -g}
- if [ "${DEB_BUILD_OPTIONS#*noopt}" != "$DEB_BUILD_OPTIONS" ]; then
-     CFLAGS="$CFLAGS -O0"
-     CXXLAGS="$CFLAGS -O0"
- else
-     CFLAGS="$CFLAGS -O2"
-     CXXLAGS="$CFLAGS -O2"
- fi
- ./configure \
-     --cache-file=config.cache \
-     --prefix=/usr \
-     --includedir=/usr/include/ossp \
-     --mandir=/usr/share/man \
-     --without-perl \
-     --without-dce \
-     --with-cxx
- make CC="$CC" CFLAGS="$CFLAGS" CXX="$CXX" CXXFLAGS="$CXXFLAGS"
- make install DESTDIR=$pwd/debian/tmp
- .
- pushd perl
-     PERL=${PERL:-/usr/bin/perl}
-     $PERL Makefile.PL INSTALLDIRS=vendor COMPAT=1
-     make CC="$CC" OPTIMIZE="$CFLAGS"
-%if %{without_no_test}
-     make test
-%endif
- popd
- .
- pushd php
-     phpize5
-     mkdir build-php5
-     pushd build-php5
-         CC="$CC" CFLAGS="$CFLAGS -I../.. -L../.. -L../../.libs" \
-         ../configure \
-             --cache-file=../config.cache \
-             --enable-uuid \
-             --disable-static \
-             --with-php-config=php-config5
-         make
-     popd
-%if %{without_no_test}
-     LD_LIBRARY_PATH=`pwd`/../.libs \
-     php5 -q -d "safe_mode=0" -d "extension=modules/uuid.so" -d 
"extension_dir=./build-php5" uuid.ts 5
-%endif
- popd
- .
- echo "php:php5-uuid:Depends=phpapi-`php-config5 --phpapi`" >> debian/substvars
-Clean: bash
- pushd perl
-     test -f Makefile && touch Makefile && make distclean || true
- popd
- rm -rf php/build-php?
- pushd php
-     phpize --clean || true
- popd
- test -f Makefile && touch Makefile && make distclean || true
- rm -rf debian/tmp || true
-
-Package: libossp-uuid%{shver}
-Architecture: any
-Suggests: uuid
-Description: OSSP uuid ISO-C and C++ - shared library
- This package contains the shared library.
-Install: sh
- yada copy -lib debian/tmp/usr/lib/*.so.*
- yada makeshlibs
-Contains: libs
-
-Package: libossp-uuid-dev
-Section: libdevel
-Architecture: any
-Depends: libossp-uuid%{shver} (= ${Source-Version}), []
-Description: OSSP uuid ISO-C and C++ - headers and static libraries
- This package contains the development environment for the ossp-uuid library.
-Install: bash
- cp -a debian/tmp/* $ROOT
- yada rename -data -into /usr/lib/pkgconfig -as ossp-uuid.pc uuid.pc
- yada rename -man -as uuid.3ossp uuid.3
- yada rename -man -as uuid++.3ossp uuid++.3
- rm -f $ROOT/usr/bin/uuid $ROOT/usr/lib/*.so.* $ROOT/usr/share/man/man1/uuid.*
-Overrides:
- manpage-section-mismatch usr/share/man/man3/uuid++.3ossp.gz:132 3ossp != 3
- manpage-section-mismatch usr/share/man/man3/uuid.3ossp.gz:132 3ossp != 3
-
-Package: uuid
-Section: utils
-Architecture: any
-Conflicts: libossp-uuid11
-Description: OSSP uuid
- This package contains the Universally Unique Identifier Command-Line Tool.
-Install: sh
- yada copy -bin debian/tmp/usr/bin/uuid
- yada copy -man debian/tmp/usr/share/man/man1/uuid.*
-
-Package: libossp-uuid-perl
-Section: perl
-Architecture: any
-Provides: libdata-uuid-perl
-Conflicts: libdata-uuid-perl
-Replaces: libdata-uuid-perl
-Description: perl OSSP::UUID - OSSP uuid Perl Binding
- OSSP::uuid provides two Perl APIs:
- .
- The OO-style API is a wrapper around the C-style API and intended for
- high-level and regular programming.
- .
- The C-style API is a direct mapping of the OSSP uuid ISO-C API to Perl and
- is intended for low-level programming.
- .
- The Debian package provides also Data::UUID interface so OSSP::uuid can be
- used as free replacement for non-DFSG Perl module.
-Install: bash
- pushd perl
-     PERL=${PERL:-/usr/bin/perl}
-     make install PREFIX=$ROOT/usr
- popd
- .
- chrpath $ROOT/usr/lib/perl5/auto/OSSP/uuid/uuid.so && \
- chrpath -d $ROOT/usr/lib/perl5/auto/OSSP/uuid/uuid.so
-
-Package: php5-uuid
-Section: interpreters
-Architecture: any
-Description: OSSP uuid module for php5
- This package provides a module for OSSP uuid functions support in PHP
- scripts.
-Install: bash
- pushd php/build-php5
-     make install INSTALL_ROOT=$ROOT
- popd
- .
- chmod -x $ROOT/usr/lib/php5/*/uuid.so
- chrpath $ROOT/usr/lib/php5/*/uuid.so && \
- chrpath -d $ROOT/usr/lib/php5/*/uuid.so
- .
- yada install -conf -subdir php5/conf.d debian/conf/uuid.ini
diff -u ossp-uuid-1.5.1/debian/control ossp-uuid-1.5.1/debian/control
--- ossp-uuid-1.5.1/debian/control
+++ ossp-uuid-1.5.1/debian/control
@@ -1,13 +1,14 @@
 Source: ossp-uuid
-Maintainer: Piotr Roszatycki <[EMAIL PROTECTED]>
+Maintainer: Ubuntu Core Developers <[EMAIL PROTECTED]>
+XSBC-Original-Maintainer: Piotr Roszatycki <[EMAIL PROTECTED]>
 Section: libs
 Priority: optional
 Standards-Version: 3.7.2
-Build-Depends: libtool, perl (>= 5.8), chrpath, php5-dev, php5-cli, yada (>= 
0.53)
+Build-Depends: cdbs, debhelper (>= 5), libtool, perl (>= 5.8), chrpath, 
php5-dev, php5-cli
 
 Package: libossp-uuid15
 Architecture: any
-Depends: ${libossp-uuid15:Depends}
+Depends: ${shlibs:Depends}
 Suggests: uuid
 Description: OSSP uuid ISO-C and C++ - shared library
  OSSP uuid is an ISO-C and Perl application programming interface (API)
@@ -29,7 +30,7 @@
 Package: libossp-uuid-dev
 Architecture: any
 Section: libdevel
-Depends: libossp-uuid15 (= ${Source-Version}), ${libossp-uuid-dev:Depends}
+Depends: libossp-uuid15 (= ${Source-Version}), ${shlibs:Depends}
 Description: OSSP uuid ISO-C and C++ - headers and static libraries
  OSSP uuid is an ISO-C and Perl application programming interface (API)
  and corresponding command line interface (CLI) for the generation of
@@ -50,7 +51,7 @@
 Package: uuid
 Architecture: any
 Section: utils
-Depends: ${uuid:Depends}
+Depends: ${shlibs:Depends}
 Conflicts: libossp-uuid11
 Description: OSSP uuid
  OSSP uuid is an ISO-C and Perl application programming interface (API)
@@ -72,7 +73,7 @@
 Package: libossp-uuid-perl
 Architecture: any
 Section: perl
-Depends: ${libossp-uuid-perl:Depends}
+Depends:  ${shlibs:Depends}, ${perl:Depends}
 Provides: libdata-uuid-perl
 Conflicts: libdata-uuid-perl
 Replaces: libdata-uuid-perl
@@ -105,7 +106,7 @@
 Package: php5-uuid
 Architecture: any
 Section: interpreters
-Depends: ${php5-uuid:Depends}
+Depends: ${shlibs:Depends}, ${php5-uuid:Depends}
 Description: OSSP uuid module for php5
  OSSP uuid is an ISO-C and Perl application programming interface (API)
  and corresponding command line interface (CLI) for the generation of
only in patch2:
unchanged:
--- ossp-uuid-1.5.1.orig/debian/libossp-uuid-dev.install
+++ ossp-uuid-1.5.1/debian/libossp-uuid-dev.install
@@ -0,0 +1,7 @@
+usr/bin/uuid-config
+usr/include
+usr/lib/*.a
+usr/lib/*.la
+usr/lib/*.so
+usr/share/man/man1/uuid-config.1
+usr/share/man/man3
only in patch2:
unchanged:
--- ossp-uuid-1.5.1.orig/debian/php5-uuid.install
+++ ossp-uuid-1.5.1/debian/php5-uuid.install
@@ -0,0 +1 @@
+../conf/uuid.ini etc/php5/conf.d
only in patch2:
unchanged:
--- ossp-uuid-1.5.1.orig/debian/uuid.install
+++ ossp-uuid-1.5.1/debian/uuid.install
@@ -0,0 +1,2 @@
+usr/bin/uuid
+usr/share/man/man1/uuid.*
only in patch2:
unchanged:
--- ossp-uuid-1.5.1.orig/debian/compat
+++ ossp-uuid-1.5.1/debian/compat
@@ -0,0 +1 @@
+5
only in patch2:
unchanged:
--- ossp-uuid-1.5.1.orig/debian/copyright
+++ ossp-uuid-1.5.1/debian/copyright
@@ -0,0 +1,23 @@
+Copyright (c) 2004-2005 Ralf S. Engelschall <[EMAIL PROTECTED]>
+Copyright (c) 2004-2005 The OSSP Project <http://www.ossp.org/>
+
+This file is part of OSSP uuid, a library for the generation
+of UUIDs which can found at http://www.ossp.org/pkg/lib/uuid/
+
+Permission to use, copy, modify, and distribute this software for
+any purpose with or without fee is hereby granted, provided that
+the above copyright notice and this permission notice appear in all
+copies.
+
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
only in patch2:
unchanged:
--- ossp-uuid-1.5.1.orig/debian/libossp-uuid15.install
+++ ossp-uuid-1.5.1/debian/libossp-uuid15.install
@@ -0,0 +1 @@
+usr/lib/*.so.*

Attachment: signature.asc
Description: Digital signature

Reply via email to