File: README

package info (click to toggle)
dh-make-php 0.3.0
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 404 kB
  • sloc: sh: 655; xml: 427; makefile: 194; perl: 47; python: 13; php: 7
file content (42 lines) | stat: -rw-r--r-- 2,041 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
What is dh-make-[pear|pecl]?
----------------------------

If you know dh-make-perl you already know what dh-make-[pear|pecl] does.
Both programs create debian source packages from either an extension
from PECL or PEAR.
PECL and PEAR are repositories of extensions of the PHP Hypertext Processor.

dh-make-pecl currently requires a C extension downloaded from PECL.
There is currently no way to let dh-make-pecl download the extension
by itself. The program creates a directory
php-<extension-name>-<extension-version> containing all files
for the debian source package and the extensions files itself. Usually
it should be enough to create the debian binary package by
running dpkg-buildpackage in the created directory.

Building the pecl extension requires a debhelper called dh_pecl which
is also part of this distribution.

dh-make-pear does the same as dh-make-pecl for modules from PEAR.

This version of dh-make-php has several features disabled because they
are either not mature enough or need more discussion before making it
into a new version. As there are:

  - the source packages ships a debhelper script dh_pecl. It should
    rather be part of the debhelper package. dh_pecl inserts appropriate
    code into postinst and prerm of the pecl package to register
    the new extension in the various php.ini files. The job of dh_pecl
    is currently done by supplying templates already containing the code.
  - apache isn't restarted after modifying /etc/php4/apache2/php.ini.
    The regular php4 extension don't do that either.
  - creating a changelog from the extension's package.xml file (this is
    currently supported by pear.mk, but not yet by pecl)

Author: Uwe Steinmann <steinm@debian.org>
Contributions:
  Matthew Palmer <mpalmer@debian.org> (dh_pecl and helpers)
  Charles Fry <debian@frogcircus.org> (allow to use unmodified .orig.tar.gz,
    many valueable hints on how to improve dh-make-php)
  Matt Barry �muramas@cyberdiscordia.org> (patch to create php4 and php5
    binary package from the same source.)