Subject: How to have Source: and Package: be different in control?

From: Yves Arrouye <[email-masked]>
Date: Mon, 16 Sep 1996 22:05:31 +0200

Hello,

I am building a package which will provide different binaries packages, and
tried to use a control file like:

Source: php
Section: net
Priority: optional
Maintainer: Yves Arrouye <[email-masked]>
Standards-Version: 2.0.1.0

Package: php-module
Architecture: any
Depends: ${shlibs:Depends}, apache (>= 1.1.1)
Description: a simple language interpreter for scripts embedded in HTML
  This package provides a PHP/FI module for the Apache server. PHP/FI
  provides a way to embed scripts in special HTML files (with the .phtml
  extension by default), and to have these scripts run when the files
  are accessed. The scripts can do a lot of things including producing
  images and accessing databases.
  .
  Features enabled in this module include DBM, mSQL and Postgres 95
  uses. There is no need for the corresponding libraries as the module
  is statically linked against them.

However, when I try to build, dpkg-gencontrol complains that my source
package has two different names: php and php-module. What I want to do is
to have php as source (because that's the name of the package, php-2.0b6)
and then build php-module, php-cgi, etc. How can I do that?

Thanks in advance,
Yves.

-- 
Yves Arrouye                          Email: [email-masked]
7, avenue Leon Bollee                Web: http://www.fdn.fr/~yarrouye/
75013 Paris                                      Work: +33 45 95 64 59
France                                           Home: +33 53 61 09 55

---

From: Dale Scheetz <[email-masked]>
Date: Mon, 16 Sep 1996 23:13:31 -0400 (EDT)

> and then build php-module, php-cgi, etc. How can I do that?
I just finished converting the pine package over to the new source format
and had no trouble. However the packages I built were pine, pico, and
imapd. I suspect that at least one package in the group must have the name
of the source, although the rational for such a thing escapes me. Can you
name at least one of the packages the same as the source?

Luck,

Dwarf

------------                                          --------------

aka   Dale Scheetz                   Phone:   1 (904) 877-0257
      Flexible Software              Fax:     NONE 
      Black Creek Critters           e-mail:  [email-masked]

------------ If you don't see what you want, just ask --------------