From c50ad5049f984daf20dbfac808aa3cbadb509664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Sat, 4 Oct 2008 15:46:46 +0000 Subject: [PATCH] try to create a frontend node-specific package --- .gitattributes | 4 +++- debian/alternc-slave.dirs | 18 ++++++++++++++++++ debian/alternc-slave.install | 10 ++++++++++ debian/{dirs => alternc.dirs} | 0 debian/control | 24 ++++++++++++++++++++++++ 5 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 debian/alternc-slave.dirs create mode 100644 debian/alternc-slave.install rename debian/{dirs => alternc.dirs} (100%) diff --git a/.gitattributes b/.gitattributes index 4a5a673e..c65c1e67 100644 --- a/.gitattributes +++ b/.gitattributes @@ -245,7 +245,10 @@ bureau/locales/manual.pot -text bureau/locales/messages.pot -text bureau/locales/pt_BR/LC_MESSAGES/messages.po -text debian/README.Debian -text +debian/alternc-slave.dirs -text +debian/alternc-slave.install -text debian/alternc.cron.d -text +debian/alternc.dirs -text debian/alternc.links -text debian/alternc.logrotate -text debian/changelog -text @@ -253,7 +256,6 @@ debian/compat -text debian/config -text debian/control -text debian/copyright -text -debian/dirs -text debian/docs -text debian/lintian-override -text debian/po/POTFILES.in -text diff --git a/debian/alternc-slave.dirs b/debian/alternc-slave.dirs new file mode 100644 index 00000000..36397a4e --- /dev/null +++ b/debian/alternc-slave.dirs @@ -0,0 +1,18 @@ +etc/alternc +etc/alternc/templates +etc/bind +etc/bind/templates +etc/courier +etc/cron.d +etc/phpmyadmin +etc/postfix +etc/squirrelmail +usr/bin +usr/lib/alternc +usr/sbin +usr/share/alternc/install +usr/share/locale/fr/LC_MESSAGES +usr/share/lintian/overrides/ +var/backups/alternc +var/log/alternc +var/run/alternc diff --git a/debian/alternc-slave.install b/debian/alternc-slave.install new file mode 100644 index 00000000..69fd53ee --- /dev/null +++ b/debian/alternc-slave.install @@ -0,0 +1,10 @@ +etc/cron.d/alternc +etc/logrotate.d/alternc +usr/bin/* +usr/lib/alternc/* +usr/sbin/* +usr/share/alternc/install/* +usr/share/doc/alternc/* +usr/share/locale/fr/LC_MESSAGES/alternc-admintools.mo +usr/share/man/fr/man8/* +usr/share/man/man8/* diff --git a/debian/dirs b/debian/alternc.dirs similarity index 100% rename from debian/dirs rename to debian/alternc.dirs diff --git a/debian/control b/debian/control index a7841b94..e94204a5 100644 --- a/debian/control +++ b/debian/control @@ -25,3 +25,27 @@ Description: hosting software managment suite for Debian AlternC is mainly a PHP based administration interface and some conf files for the softwares used by it. More information at http://www.alternc.org/ Homepage: http://www.alternc.org/ + +Package: alternc-slave +Architecture: all +Pre-depends: debconf (>= 0.5.00) | debconf-2.0 +Depends: debianutils (>= 1.13.1), apache | apache2, libapache-mod-php5 | libapache2-mod-php5 | libapache-mod-php4 | libapache2-mod-php4, courier-ssl, courier-imap-ssl, courier-pop-ssl, php5-mysql | php4-mysql, phpmyadmin, postfix, proftpd-mysql, squirrelmail, postfix-tls, bind9, wget, rsync, quota, courier-authmysql | courier-authlib-mysql, ca-certificates, locales, perl-suid, perl, postfix-mysql, wwwconfig-common, sasl2-bin, libsasl2-modules, php5-cli | php4-cli, lockfile-progs (>= 0.1.9), gettext (>= 0.10.40-5), pdksh (>= 5.2.14-6), adduser, mysql-client +Recommends: libapache-mod-gzip, apache-ssl +Conflicts: alternc-admintools, alternc-awstats (<= 0.3.2), alternc-webalizer (<= 0.9.4) +Provides: alternc-admintools +Replaces: alternc-admintools +Suggests: alternc-awstats, alternc-mailman, alternc-changepass, pop-before-smtp, magpierss +Description: hosting software managment suite for Debian + Hosting software suite based on Valentin Lacambre's altern.org French hosting + service. It uses Apache, Postfix, Sympa, MySQL and PHP to allow a web-based + managment of services, such as web hosting, mail hosting, mailing lists, + virtual hosts, and so on. + . + AlternC is mainly a PHP based administration interface and some conf files + for the softwares used by it. More information at http://www.alternc.org/ + . + This package is designed for frontend nodes in a load balancing setup, where + the /var/alternc directory is not touched and managed over NFS. +Homepage: http://www.alternc.org/ + +