[php-maint] Packaging php with fpm (5.2.10) - karmic

dreamcat four dreamcat4 at gmail.com
Thu Aug 6 15:17:45 UTC 2009


On Thu, Aug 6, 2009 at 1:29 AM, dreamcat four<dreamcat4 at gmail.com> wrote:
> Personally Im still unsure how to tackle this as there seem several approaches.

This approach could work. Its from debian php 5.2.3 (suhosin patch).
Any issues not to use it?


prepared: prepared-stamp
prepared-stamp: $(QUILT_STAMPFN) $(SUHOSIN_STAMP)
	dh_testdir
	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

# rules to apply the suhosin patch
suhosin-stamp:	$(QUILT_STAMPFN)
	patch -p1 < debian/patches/suhosin.patch
	# the suhosin patches patch both configure/configure.in, so let's
	# make configure.in and the sapi modules show up as newer
	touch configure.in
	touch sapi/*.m4
	touch suhosin-stamp




dreamcat4
dreamcat4 at gmail.com



More information about the pkg-php-maint mailing list