Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=40543acae32ae9e60a229bcc5bd80360bd429938
commit 40543acae32ae9e60a229bcc5bd80360bd429938
Author: CSÉCSY László <[EMAIL PROTECTED]>
Date: Fri Aug 15 15:06:30 2008 +0200
postfixadmin-2.2.1.1-1-i686
version bump
reworked FB (upstream changed so much)
diff --git a/source/network-extra/postfixadmin/FrugalBuild
b/source/network-extra/postfixadmin/FrugalBuild
index e6d1859..7f77c65 100644
--- a/source/network-extra/postfixadmin/FrugalBuild
+++ b/source/network-extra/postfixadmin/FrugalBuild
@@ -2,25 +2,23 @@
# Maintainer: CSÉCSY László <[EMAIL PROTECTED]>
pkgname=postfixadmin
-pkgver=2.1.0
+pkgver=2.2.1.1
pkgrel=1
pkgdesc="web-based management tool for postfix"
-rodepends=('postfix>=2.0' 'apache>=1.3.27' 'php>=4.1' 'mysql>=3.23')
+rodepends=('postfix>=2.0' 'apache>=1.3.27' 'php>=5.0' 'mysql>=5.0')
groups=('network-extra')
archs=('i686' 'x86_64')
_F_sourceforge_broken_up2date=1
Finclude sourceforge
-source=(${source//tar.gz/tgz} README.Frugalware postfixadmin.conf)
+source=($source README.Frugalware)
build()
{
Fcd ""
- Fmkdir /{var/www,etc/httpd/conf/modules.d}
- Fsed "CONF\['postfix_admin_url'\] = '';" "CONF['postfix_admin_url'] =
'http://change-this-to-your.domain.tld/postfixadmin';" config.inc.php.sample
- Fsed "CONF\['postfix_admin_path'\] = '';" "CONF['postfix_admin_path'] =
'/var/www/postfixadmin';" config.inc.php.sample
- Fsed "AuthUserFile /usr/local/www/<domain.tld>/admin/.htpasswd"
"AuthUserFile /var/www/postfixadmin/admin/.htpasswd" admin/.htaccess
+ Fmkdir /var/www
+ Fsed "CONF\['postfix_admin_url'\] = '';" "CONF['postfix_admin_url'] =
'http://change-this-to-your.domain.tld/postfixadmin';" config.inc.php
+# Fsed "CONF\['postfix_admin_path'\] = '';" "CONF['postfix_admin_path'] =
'/var/www/postfixadmin';" config.inc.php
Fmv ../src/$pkgname-$pkgver /var/www/$pkgname
- Fmv ../src/postfixadmin.conf /etc/httpd/conf/modules.d
sed -i '$ d' $Fdestdir/var/www/$pkgname/languages/{hu,mk}.lang
Fdoc README.Frugalware
# upstream INSTALL.TXT recommends these, but it would need additional hacks as
well
@@ -32,6 +30,5 @@ build()
# chmod 640 $Fdestdir/var/www/$pkgname/users/*.php
}
-sha1sums=('9c87962a543df7639a547a021d192998e5c96ca2' \
- '698cda5fae6e1dc9562e3bb178cd2041b4290df1' \
- '8acd56ffb684f6a0858dec8257a525e9616227f3')
+sha1sums=('f6d3ef393cd16df82ced0589aad8efcf945ab877' \
+ '776b5bf1d7918d5d7f7c323914a92bcb56d81c10')
diff --git a/source/network-extra/postfixadmin/README.Frugalware
b/source/network-extra/postfixadmin/README.Frugalware
index bdfe1e0..31551d0 100644
--- a/source/network-extra/postfixadmin/README.Frugalware
+++ b/source/network-extra/postfixadmin/README.Frugalware
@@ -1,33 +1,5 @@
This package relies on correct install of postfix's virtual tables and it
-needs to be configured by hand before usage. Copy
-/var/www/postfixadmin/config.inc.php.sample to
-'/var/www/postfixadmin/config.inc.php' and edit it to your taste. Below is an
-excerpt from upstream's INSTALL.TXT.
-
-1. Create the Database Tables
- In DATABASE_MYSQL.TXT you can find the table structure for MySQL that you
need
- in order to configure Postfix Admin and Postfix in general to work with
- Virtual Domains and Users. +
- In DATABASE_PGSQL.TXT you can find the table structure for PostgreSQL.
-
-2. Configure
-+
-Check the config.inc.php file. There you can specify settings that are
-relevant to your setup.
-+
-Postfix Admin contains 3 views of administration.
-There is the Site Admin view, located at http://domain.tld/postfixadmin/admin/.
-There is the Domain Admin view, located at http://domain.tld/postfixadmin/.
-And there is the User Admin View, located at
http://domain.tld/postfixadmin/users/.
-+
-In order to do the initial configuration you have to go to the Site Admin view.
-+
-The default password for the Site Admin view of Postfix Admin is admin/admin.
-+
-This is specified in the .htpasswd file in the /admin directory. Make sure
-that the location of the .htpasswd file matches your path.
-+
-When you have finished, you have to restart apache (service httpd restart) in
-order to be able to authenticate the master admin. If you fail to do this,
-anybody will be able to do anything as postfixadmin's administrator without
-any authentication.
+needs to be configured before usage. Be sure to read upstream's
++/var/www/postfixadmin/INSTALL.TXT+ in order to accomplish the setup
+or upgrade. You should also take care of configuring apache to be able to
+use the web-based interface.
diff --git a/source/network-extra/postfixadmin/postfixadmin.conf
b/source/network-extra/postfixadmin/postfixadmin.conf
deleted file mode 100644
index 8f6dd2f..0000000
--- a/source/network-extra/postfixadmin/postfixadmin.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-<Directory /var/www/postfixadmin/admin>
- AllowOverride AuthConfig
-</Directory>
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git