debian: adding - initial support for creating .debs; run dpkg-buildpakcage -rfakeroot within the trunk dir

git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@188 a1433add-5e2c-0410-b055-b7f2511e0802
postfixadmin-2.3
David Goodwin 18 years ago
parent 5bf5f470a3
commit ade09f577c

@ -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

@ -0,0 +1,6 @@
# BEGIN FOR POSTFIXADMIN
Alias /postfixadmin /usr/share/postfixadmin
# END FOR POSTFIXADMIN

6
debian/changelog vendored

@ -0,0 +1,6 @@
postfixadmin (2.2.0-1rc1) unstable; urgency=low
* Initial Release (via dpkg)
-- David Goodwin <david@codepoets.co.uk> Sun, 04 Nov 2007 15:36:00 +0000

1
debian/compat vendored

@ -0,0 +1 @@
5

2
debian/conffiles vendored

@ -0,0 +1,2 @@
/etc/apache2/conf.d/postfixadmin
/etc/postfixadmin/config.inc.php

25
debian/control vendored

@ -0,0 +1,25 @@
Source: postfixadmin
Section: web
Priority: optional
Maintainer: David Goodwin <david@codepoets.co.uk>
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/

30
debian/copyright vendored

@ -0,0 +1,30 @@
This package was debianized by David Goodwin <david@codepoets.co.uk> 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 <postfixadmin-devel@lists.sourceforge.net>
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.

6
debian/docs vendored

@ -0,0 +1,6 @@
VIRTUAL_VACATION
DOCUMENTS
ADDITIONS
LICENSE.TXT
INSTALL.TXT
GPL-LICENSE.TXT

1
debian/files vendored

@ -0,0 +1 @@
postfixadmin_2.2.0-1rc1_all.deb web optional

@ -0,0 +1,3 @@
usr/share/postfixadmin
usr/share/doc/postfixadmin
etc/postfixadmin

57
debian/rules vendored

@ -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
Loading…
Cancel
Save