[php-maint] upload of 5.2.9

Mark A. Hershberger mah at everybody.org
Thu Mar 26 16:20:30 UTC 2009

sean finney <seanius at debian.org> writes:

>> If there is interest, I can repeat the process to include the php4
>> releases.
> i'm kinda ambivalent about php4, mostly because i'd rather not have to
> think about/touch it :) but i guess if it's not a great deal of work it'd
> be nice to have.

If it takes the same amount of work to import as the other dsc files,
then it isn't really a problem.  The hardest part is tracking down or
re-creating dsc files.

> - i'd like to rename s/master/debian-sid/ and s/upstream/upstream-sid/ in
>   the history, since it seems this history only includes the uploads
>   that have gone through unstable.  if we end up having both php4 and php5
>   in the repo, i guess it should be debian-php5-sid (or php5-debian-sid,
>   though that requires bashing tab a couple more times in zsh).

Yes, I was creating the dsc files from svn.

> - i'd like to import the versions of php5 from stable-security and 
>   oldstable-securityby selecting the approprate tags as branchpoints
>   and importing the .dscs onto {debian,upstream}-{sarge,etch}.  i forget
>   if we also have anything in -proposed-updates but if we do we could always
>   add it later.

Is there a single place that would have all the dsc that were ever
released to (old)?stable(-security)? that I could download?

As far as the functionality of the import, I managed to compile 5.2.9
from git-buildpackage.  The only diff was to the rules file:

$ git diff aff5cd981d13aeeb34df372ecea95da632ee031e 62caf3984acc6cc536cd55e175031ee1b456795d 
diff --git a/debian/rules b/debian/rules
index cffd4f1..20a5857 100755
--- a/debian/rules
+++ b/debian/rules
@@ -115,15 +115,12 @@ prepared: prepared-stamp
 prepared-stamp: $(QUILT_STAMPFN)
        sed -i -e 's/EXTRA_VERSION=""/EXTRA_VERSION="-$(PHP5_DEBIAN_REVISION)"/' configure.in
-       rm -f aclocal.m4 config.sub config.guess ltmain.sh
        ./buildconf --force
        touch prepared-stamp
        sed -i -e 's/EXTRA_VERSION="-$(PHP5_DEBIAN_REVISION)"/EXTRA_VERSION=""/' configure.in
-       rm -f configure aclocal.m4 config.sub config.guess ltmain.sh
-       rm -f build/libtool.m4 main/php_config.h.in
        rm -f prepared-stamp
 test-results.txt: build-apache2-stamp build-cli-stamp build-cgi-stamp
@@ -325,7 +322,8 @@ clean: unprepared unpatch
        rm -rf pear-build pear-build-download
        rm -f debian/copyright
        rm -f test-results.txt
-       dh_clean
+       dh_clean -Xorig
        # clean up autogenerated cruft
        cat debian/modulelist | while read package extname dsoname; do \
                rm -f debian/php5-$$package.postinst; \
@@ -403,7 +401,6 @@ install: build
                $(RM) -r debian/php-pear/usr/share/php/doc; \
                ln -s ../doc/php-pear/PEAR debian/php-pear/usr/share/php/doc; \
        # install extensions
        ext=`./debian/libapache2-mod-php5/usr/bin/php-config --extension-dir`;\

More information about the pkg-php-maint mailing list