Difference between revisions of "Create or Update a Debian package"

From Organic Design wiki
(OD Control File)
(three packages we'd like to have set up)
Line 4: Line 4:
 
}}
 
}}
  
Ultimately we'd want to be able to collect all the distinct functionalities we use into Debian packages, so the [[Debian Post Install]] would be more like the following:
+
== organicdesign-server ==
<pre>
 
apt-get install od-wikia od-perl od-mail
 
</pre>
 
 
 
== OD Control File ==
 
 
The ultimate purpose of the ''organicdesign-server'' package is to replace the [[Debian Post Install]] script.
 
The ultimate purpose of the ''organicdesign-server'' package is to replace the [[Debian Post Install]] script.
 
<pre>
 
<pre>
Line 30: Line 25:
 
  ln -s /etc/apache2/mods-available/ssl.load /etc/apache2/mods-enabled/ssl.load
 
  ln -s /etc/apache2/mods-available/ssl.load /etc/apache2/mods-enabled/ssl.load
 
  ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load
 
  ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load
 +
 +
== organicdesign-mail ==
 +
This package will set up IMAP, POP3 and webmail
 +
 +
== organicdesign-workstation ==
 +
This package will ultimately replace the [[Ubuntu Post Install]] so that a freshly installed Ubuntu workstation simply needs to ''apt-get organicdesign-workstation''.
  
 
== See also ==
 
== See also ==

Revision as of 11:21, 24 June 2008

Procedure.svg Create or Update a Debian package
Organic Design procedure

organicdesign-server

The ultimate purpose of the organicdesign-server package is to replace the Debian Post Install script.

Package: organicdesign-server
Version: 1.0
Section: admin
Priority: optional
Architecture: all
Essential: no
Depends: build-essential, p7zip-full, bzip2, rar, htmldoc, subversion, mysql-server-5.0, apache2, libapache2-svn,
         libapache2-mod-php5, php5-mysql, php5-gd, php5-xsl, php5-curl, php5-sqlite3, imagemagick, perlmagick,
         librsvg2-bin, libwww-perl, libio-socket-ssl-perl, libtimedate-perl, libnet-scp-expect-perl
Maintainer: Aran Dunkley [aran@organicdesign.co.nz]
Description: Installs all the packages and required
             by an Organic Design servers.

Need to add this script

ln -s /etc/apache2/mods-available/ssl.conf /etc/apache2/mods-enabled/ssl.conf
ln -s /etc/apache2/mods-available/ssl.load /etc/apache2/mods-enabled/ssl.load
ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load

organicdesign-mail

This package will set up IMAP, POP3 and webmail

organicdesign-workstation

This package will ultimately replace the Ubuntu Post Install so that a freshly installed Ubuntu workstation simply needs to apt-get organicdesign-workstation.

See also