Ticket #394 (new task)

Opened 1 year ago

Last modified 5 months ago

Debian packaging: required changes

Reported by: raphael Assigned to:
Priority: major Milestone: ispCP ω 1.1.0
Component: Backend (Engine) Version: ispCP ω 1.0.0 - DEV
Severity: Hard Keywords: debian,packaging
Cc: rats, malte

Description (Last modified by raphael)

This is the To-Do before ispCP can be packaged for Debian (in such a way that doesn't require patching every file):

Do not replace existing config files, rename if required and integrate.
Drop/replace (These are GPL'ed, which conflict with MPL)

gui/include/phpsysinfo/class.error.inc.php
gui/include/phpsysinfo/class.WINNT.inc.php
gui/include/phpsysinfo/class.BSD.common.inc.php
gui/include/phpsysinfo/class.parseProgs.inc.php
gui/include/phpsysinfo/class.Linux.inc.php
gui/include/phpsysinfo/class.NetBSD.inc.php
gui/include/phpsysinfo/class.OpenBSD.inc.php
gui/include/phpsysinfo/class.Darwin.inc.php
gui/include/phpsysinfo/class.SunOS.inc.php
gui/include/phpsysinfo/class.HP-UX.inc.php
gui/include/phpsysinfo/class.FreeBSD.inc.php
gui/include/phpsysinfo/common_functions.php

Other recommended changes:
Stop using per-distro config files and instead use per-application-version config files, together with relative paths

I hope poeple will help me on this so I can create the package ASAP.

Attachments

Change History

06/12/2007 09:54:58 PM changed by raphael

  • keywords changed from debian,packaging, to debian,packaging.
  • owner set to raphael,rats,malte.
  • reporter changed from anonymous to raphael.

Oops, session expired

(follow-up: ↓ 8 ) 06/14/2007 02:47:55 AM changed by raphael

Make install paths relative (e.g. making use of a var like ROOT which by default be /) and read from the ENV vars if there's a different ROOT being set.

INST_PREF seems to do the job...

Some other things to do:

* drop/replace:

gui/include/security/core.inc.php
gui/include/security/level-paranoid.php
gui/include/security/level-high.php
gui/include/security/level-medium.php
gui/include/security/level-easy.php
gui/include/phpsysinfo/class.error.inc.php
gui/include/phpsysinfo/class.WINNT.inc.php
gui/include/phpsysinfo/class.BSD.common.inc.php
gui/include/phpsysinfo/class.parseProgs.inc.php
gui/include/phpsysinfo/class.Linux.inc.php
gui/include/phpsysinfo/class.NetBSD.inc.php
gui/include/phpsysinfo/class.OpenBSD.inc.php
gui/include/phpsysinfo/class.Darwin.inc.php
gui/include/phpsysinfo/class.SunOS.inc.php
gui/include/phpsysinfo/class.HP-UX.inc.php
gui/include/phpsysinfo/class.FreeBSD.inc.php
gui/include/phpsysinfo/common_functions.php

* #397

06/16/2007 01:18:25 AM changed by raphael

  • description changed.

Drop usage of ispcp-mkdirs.pl and replace it either with mkdir or install

done

Make install paths relative (e.g. making use of a var like ROOT which by default be /) and read from the ENV vars if there's a different ROOT being set.

done

Add start/stop/restart targets to init.d/ispcp_network and prevent it from overwriting/cleaning existing rules (see #257, NOTE: applying the patch from that ticket requires some changes to be made in engine/traffic/ispcp-srv-traff too)

done

In configs/apache/Makefile there's a check that installs fastcgi2.conf in working/ if etch is being used but when installing to /etc/apache2/mods-enabled/ no check is made

done

Close this ticket: #302

err.... done (next time I won't say 'close' :P)

And now updating first message

(in reply to: ↑ description ) 06/22/2007 05:50:30 PM changed by raphael

  • version deleted.
  • description changed.

Do not install /etc/apache2/mods-enabled/fastcgi.conf with that name, use something like fastcgi.ispcp.conf as it would replace any existing fastcgi configuration

Done

07/05/2007 08:13:02 PM changed by raphael

  • cc set to rats, malte.
  • owner deleted.
  • description changed.

In /Makefile add a 'build' target which will cd to tools/daemon and make build the daemon.

done

07/17/2007 08:30:36 AM changed by rats

  • milestone changed from ispCP ω 1.0.0 - RC3 to ispCP ω 1.0.0.

07/27/2007 09:50:19 PM changed by raphael

  • description changed.

Take care of #397

done

(in reply to: ↑ 2 ) 09/01/2007 07:45:40 PM changed by rats

  • description changed.

Replying to raphael:

* drop/replace: {{{ gui/include/security/core.inc.php gui/include/security/level-paranoid.php gui/include/security/level-high.php gui/include/security/level-medium.php gui/include/security/level-easy.php }}}

Done

09/03/2007 12:14:45 AM changed by raphael

  • description changed.

Add 'build' and 'install' targets in tools/daemon/Makefile and add a way to prevent the binary from being stripped (but keep stripping by default).

done

02/17/2008 02:44:29 PM changed by rats

  • severity set to Hard.
  • milestone changed from ispCP ω 1.0.0 to Working.

02/17/2008 11:13:21 PM changed by rats

  • version set to ispCP ω 1.0.0 - DEV.
  • milestone changed from Working to ispCP ω 1.1.0.

Add/Change #394 (Debian packaging: required changes)