Difference between revisions of "Create or Update a Debian package"
From Organic Design wiki
(→OD Control File) |
|||
Line 10: | Line 10: | ||
== OD Control File == | == OD Control File == | ||
− | 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 | + | The ultimate purpose of the ''organicdesign-server'' package is to replace the [[Debian Post Install]] script. |
− | ln -s /etc/apache2/mods-available/ssl.conf /etc/apache2/mods-enabled/ssl.conf | + | <pre> |
− | ln -s /etc/apache2/mods-available/ssl.load /etc/apache2/mods-enabled/ssl.load | + | Package: organicdesign-server |
− | ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load | + | 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. | ||
+ | </pre> | ||
+ | |||
+ | 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 | ||
== See also == | == See also == |
Revision as of 11:17, 24 June 2008
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