[Pkg-php-commits] r1284 - pear/php-log/trunk/debian

Guillaume Delacour kcd-guest at alioth.debian.org
Tue Jul 7 21:28:23 UTC 2009


tags 529676 pending
thanks

Author: kcd-guest
Date: 2009-07-07 21:28:22 +0000 (Tue, 07 Jul 2009)
New Revision: 1284

Modified:
   pear/php-log/trunk/debian/changelog
   pear/php-log/trunk/debian/control
   pear/php-log/trunk/debian/rules
Log:
New upstream release and bump standards

Modified: pear/php-log/trunk/debian/changelog
===================================================================
--- pear/php-log/trunk/debian/changelog	2009-06-28 21:25:09 UTC (rev 1283)
+++ pear/php-log/trunk/debian/changelog	2009-07-07 21:28:22 UTC (rev 1284)
@@ -1,18 +1,28 @@
-php-log (1.9.16-1) unstable; urgency=low
+php-log (1.11.4-1) unstable; urgency=low
 
   * New upstream release.
-  * Update to standards version 3.7.3, no further required changes.
-  * Update short description to have unform PEAR packaging.
-  * Migrate homepage to Homepage: field.
-  * Update description like in package.xml.
-  * Remove php-mdb2 from Suggests (php-mdb2 isn't in Debian).
-  * Add Vcs-* fields in debian/control.
-  * Move to team maintainership and update Uploaders. (Closes: #383010)
-  * Upgrade debian/rules to have unform PEAR packaging.
-  * Remove empty directory in debian/rules to fix lintian warning.
+  * New maintainer (Closes: #529676).
+  * debian/control: add "${misc:Depends}".
+  * Bump to Standards-Version 3.8.2 (move section from web to php).
+  * Bump to debhelper compatibility 7.
 
- -- Gregory Colpart (evolix) <reg at evolix.fr>  Fri, 08 Feb 2008 23:23:37 +0100
+ -- Guillaume Delacour <gui at iroqwa.org>  Tue, 06 Jul 2009 20:01:25 +0000
 
+php-log (1.10.0-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control:
+    - Bump Standards-Version: 3.7.3.
+    - Added Homepage header.
+    - Added dh-make-php (>= 0.2.3), cdbs Build-Depends.
+    - Removed Build-Depends-Indep: php-pear
+  * debian/dirs removed.
+  * debian/docs removed.
+  * debian/examples removed.
+  * debian/rules reorganized to use cdbs.
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Wed, 26 Mar 2008 01:09:30 -0300
+
 php-log (1.9.11-1) unstable; urgency=low
 
   * New upstream release. (Closes: #417567)

Modified: pear/php-log/trunk/debian/control
===================================================================
--- pear/php-log/trunk/debian/control	2009-06-28 21:25:09 UTC (rev 1283)
+++ pear/php-log/trunk/debian/control	2009-07-07 21:28:22 UTC (rev 1284)
@@ -1,22 +1,19 @@
 Source: php-log
-Section: web
+Section: php
 Priority: optional
-Maintainer: Debian PHP Maintainers <pkg-php-maint at lists.alioth.debian.org>
-Uploaders: Ola Lundqvist <opal at debian.org>, Gregory Colpart (evolix) <reg at evolix.fr>
-Build-Depends-Indep: php-pear
-Build-Depends: debhelper (>= 5)
-Standards-Version: 3.7.3
+Maintainer: Guillaume Delacour <gui at iroqwa.org>
+Uploaders: Ola Lundqvist <opal at debian.org>
+Build-Depends: debhelper (>= 7), dh-make-php (>= 0.2.3), cdbs
+Standards-Version: 3.8.2
 Homepage: http://pear.php.net/package/Log/
-Vcs-Svn: svn://svn.debian.org/pkg-php/pear/php-log/trunk
-Vcs-Browser: http://svn.debian.org/wsvn/pkg-php/pear/php-log/trunk
 
 Package: php-log
 Architecture: all
-Depends: php-pear
-Suggests: php-db (>= 1.3), php5-sqlite
+Depends: php-pear, ${misc:Depends}
+Suggests: php-db (>= 1.3), php5-sqlite, php-mdb2
 Replaces: php4-pear-log (<= 1.9.3-1)
 Conflicts: php4-pear-log (<= 1.9.3-2)
-Description: PHP PEAR modules for logging
- The Log package provides an abstracted logging framework. It includes output
- handlers for log files, databases, syslog, email, Firebug, and the console.
- It also provides composite and subject-observer logging mechanisms.
+Description: log module for PEAR
+ The Log framework provides an abstracted logging system.  It supports
+ logging to console, file, syslog, SQL, and mcal targets.  It also provides
+ a subject - observer mechanism.

Modified: pear/php-log/trunk/debian/rules
===================================================================
--- pear/php-log/trunk/debian/rules	2009-06-28 21:25:09 UTC (rev 1283)
+++ pear/php-log/trunk/debian/rules	2009-07-07 21:28:22 UTC (rev 1284)
@@ -1,96 +1,7 @@
 #!/usr/bin/make -f
-# 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
+DEB_COMPRESS_EXCLUDE=package.xml
 
-DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
-DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-)
-DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//')
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/pear.mk
 
-PEAR ?= /usr/bin/pear
-pear_pkg = $(shell ls |grep Log)
-package = php-log
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	touch configure-stamp
-
-build: build-stamp
-
-build-stamp: configure-stamp 
-	dh_testdir
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	if [ -f $(pear_pkg)/package.xml ]; then \
-		rm $(pear_pkg)/package.xml; \
-	fi
-	dh_clean build-stamp configure-stamp
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-
-	# Add here commands to install the package into debian/package.
-	cp package.xml $(pear_pkg)/package.xml;
-	$(PEAR) \
-		-c debian/pearrc \
-		-d include_path=/usr/share/php \
-		-d php_bin=/usr/bin/php \
-		-d bin_dir=/usr/bin \
-		-d php_dir=/usr/share/php \
-		-d data_dir=/usr/share/php/data \
-		-d doc_dir=/usr/share/php/docs \
-		-d test_dir=/usr/share/php/tests \
-		install -n -f -P debian/$(package) $(pear_pkg)/package.xml
-
-	# remove unwanted files
-	rm -f debian/$(package)/usr/share/php/.filemap;
-	rm -f debian/$(package)/usr/share/php/.lock;
-	rm -rf debian/$(package)/usr/share/php/.channels;
-	rm -rf debian/$(package)/usr/share/php/.depdblock;
-	rm -rf debian/$(package)/usr/share/php/.depdb;
-	rm -rf debian/$(package)/usr/share/php/.registry/.channel.pecl.php.net;
-	rm -rf debian/$(package)/usr/share/php/.registry/.channel.__uri;
-	rm -rf debian/$(package)/tmp
-
-	# remove duplicated files, these files are in /usr/share/doc/package
-	rm -rf debian/$(package)/usr/share/php/tests \
-		debian/$(package)/usr/share/php/docs \
-		debian/$(package)/usr/share/php/data/Log
-
-	# remove empty directory (lintian warning)
-	rmdir debian/$(package)/usr/share/php/data
-	
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installexamples
-	dh_installchangelogs 
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
-
-get-orig-source:
-	wget http://download.pear.php.net/package/Log-${DEB_UPSTREAM_VERSION}.tgz \
-	    -O php-log_${DEB_UPSTREAM_VERSION}.orig.tar.gz
-




More information about the Pkg-php-commits mailing list