Create or Update a Debian package
From Organic Design wiki
Create or Update a Debian package Organic Design procedure |
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:
apt-get install od-wikia od-perl od-mail
OD Control File
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