diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 00000000..1a856c59 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,30 @@ +PostfixAdmin for Debian +======================= + +After installing the package, you should find that : + +http://youserver/postfixadmin/setup.php works. This should +guide you through the appropriate process. + +You will need to create a database (either MySQL or PostgreSQL) +and know the username and password for it. The Database does not need +to be on the same server as the Postfixadmin install. + + + +Recommended and Suggested Packages +================================== + + - Postfix + - MySQL or PostgreSQL + - Courier or Dovecot + +Where to get help +================= + +The first stop would be the Postfixadmin Website, Forum or IRC channel. + +See : + - http://postfixadmin.sf.net + - #postfixadmin on irc.freenode.net + diff --git a/debian/apache-conf b/debian/apache-conf new file mode 100644 index 00000000..f8efb975 --- /dev/null +++ b/debian/apache-conf @@ -0,0 +1,6 @@ +# BEGIN FOR POSTFIXADMIN + +Alias /postfixadmin /usr/share/postfixadmin + + +# END FOR POSTFIXADMIN diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..e07a1ef8 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +postfixadmin (2.2.0-1rc1) unstable; urgency=low + + * Initial Release (via dpkg) + + -- David Goodwin Sun, 04 Nov 2007 15:36:00 +0000 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/conffiles b/debian/conffiles new file mode 100644 index 00000000..188a41ee --- /dev/null +++ b/debian/conffiles @@ -0,0 +1,2 @@ +/etc/apache2/conf.d/postfixadmin +/etc/postfixadmin/config.inc.php diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..52370f7a --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: postfixadmin +Section: web +Priority: optional +Maintainer: David Goodwin +Build-Depends: debhelper (>= 5) +Standards-Version: 3.7.2 + +Package: postfixadmin +Architecture: all +Depends: apache2 | httpd, libapache2-mod-php4 | libapache-mod-php4 | php4 | php4-cgi | libapache2-mod-php5 | libapache-mod-php5 | php5-cgi | php5, ${misc:Depends} +Recommends: squirrelmail-locales, ispell | aspell | aspell-bin, perl, postfix, postgresql-server, mysql-server +Suggests: +Description: Virtual mail hosting interface for Postfix + Postfixadmin is a web interface to managing virtual users and domains + for a Postfix mailserver. The web interface is written in PHP. + Postfixadmin allows administrators to delegate handling a domain to domain + administrators. + Postfixadmin allows users to login and change their own settings (e.g. forward, + vacation, password etc). + Postfixadmin also includes support for virtual vacation support - + this requires Perl and various CPAN modules to be installed. + See vacation.pl for further details. + . + Homepage: http://postfixadmin.sf.net/ + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000..a506976e --- /dev/null +++ b/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by David Goodwin on +Sun, 04 Nov 2007 15:21:00 +0000. + +It was downloaded from subversion, via http://postfixadmin.sf.net + +Upstream Authors: The PostfixAdmin Development Team + +Copyright: + + Copyright (C) 2007 The Postfixadmin Project Team + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + +On Debian GNU/Linux systems, the complete text of the GNU General Public +License can be found in the `/usr/share/common-licenses' directory. + +The Debian packaging of Postfixadmin is licensed under the same terms +as Postfixadmin itself. diff --git a/debian/docs b/debian/docs new file mode 100755 index 00000000..22f0ae37 --- /dev/null +++ b/debian/docs @@ -0,0 +1,6 @@ +VIRTUAL_VACATION +DOCUMENTS +ADDITIONS +LICENSE.TXT +INSTALL.TXT +GPL-LICENSE.TXT diff --git a/debian/files b/debian/files new file mode 100644 index 00000000..73bacd8b --- /dev/null +++ b/debian/files @@ -0,0 +1 @@ +postfixadmin_2.2.0-1rc1_all.deb web optional diff --git a/debian/postfixadmin.dirs b/debian/postfixadmin.dirs new file mode 100644 index 00000000..2e44f07b --- /dev/null +++ b/debian/postfixadmin.dirs @@ -0,0 +1,3 @@ +usr/share/postfixadmin +usr/share/doc/postfixadmin +etc/postfixadmin diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..4eb74344 --- /dev/null +++ b/debian/rules @@ -0,0 +1,57 @@ +#!/usr/bin/make -f +# debian/rules makefile for squirrelmail + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + dh_install + cp *.php debian/postfixadmin/usr/share/postfixadmin + mv debian/postfixadmin/usr/share/postfixadmin/config.inc.php debian/postfixadmin/etc/postfixadmin/config.inc.php + ln -s /etc/postfixadmin/config.inc.php debian/postfixadmin/usr/share/postfixadmin/config.inc.php + cp -a admin debian/postfixadmin/usr/share/postfixadmin + cp -a images debian/postfixadmin/usr/share/postfixadmin + cp -a languages debian/postfixadmin/usr/share/postfixadmin + cp -a templates debian/postfixadmin/usr/share/postfixadmin + cp -a users debian/postfixadmin/usr/share/postfixadmin + mkdir -p debian/postfixadmin/etc/apache2/conf.d + cp debian/apache-conf debian/postfixadmin/etc/apache2/conf.d/postfixadmin + find debian/postfixadmin -name .svn | xargs -r rm -r + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installdebconf + dh_installdocs -X.svn + dh_installexamples + dh_installman + dh_installcron + dh_link + dh_compress + dh_fixperms -X/var + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install