You are not logged in.

#1 2008-04-28 11:45:37

mullman
Member
Registered: 2007-05-24
Posts: 28

[Request] RoundCube Webmail

Could someone be kind enough to look over this please and help finish it?
Comments and suggestions welcome.

Not safe yet - use at own risk!

# Contributor:  <your name could be here!>
pkgname=roundcubemail
pkgver=0.1.1
pkgrel=1
pkgdesc="Multilingual IMAP Webmail with a browser-based application-like user interface"
url="http://www.roundcube.net"
arch=('i686' 'x86_64')
license=('GPL')
# depends - rough list - needs more investigating...
depends=('lighttpd' 'postgresql')
#makedepends=('')
options=('!libtool')
source=(http://downloads.sourceforge.net/roundcubemail/$pkgname-$pkgver.tar.gz)
md5sums=('a2bf665acd7f8a6b2b63c92aedefb23f')

# Install instructions - http://trac.roundcube.net/wiki/Howto_Install
#                        http://trac.roundcube.net/wiki/Howto_Requirements

build() {
    mkdir /srv/www/roundcubemail
    tar -xzf roundcubemail-$pkgver.tar.gz
    # delete .htaccess?
    
    chown -R lighttpd:lighttpd /srv/www/roundcubmail/{logs,temp}

    # automate default database creation?
    
    # autodetect upgrade and perform on database?
    
    # automate editing of needed php.ini settings?
}


echo "RoundCube Webmail needs some manual configuration to be functional

1. PostgreSQL Database
Please follow these simple steps, which have to be done as the postgres system user (or
which ever is the database superuser):

$ createuser roundcube
$ createdb -O roundcube roundcubemail
$ psql roundcubemail

roundcubemail =# ALTER USER roundcube WITH PASSWORD 'the_new_password';
roundcubemail =# \c - roundcube
roundcubemail => \i /srv/www/roundcubemail/SQL/postgres.initial.sql

2. Edit /etc/php/php.ini
   - error_reporting E_ALL & ~E_NOTICE (or lower)
   - file_uploads on (for attachment upload features)
   - memory_limit (increase as suitable to support large attachments) eg:32Mb
   - session.auto_start needs to be off/0

3. Point your browser to: http://[url]/roundcubemail/installer/
   and follow the instructions of the install script (or see MANUAL CONFIGURATION)

4. After creating and testing the configuration, remove the installer directory:
   $ rm -rf /srv/www/roundcubemail/installer

5. Protect your installation
Access through your webserver to at least the following directories should be denied:
    * /config
    * /temp
    * /logs"

Need to get exact options/commands for points 2 and 5. Should it be necessary to list out the Manual Configuration?

Offline

#2 2008-10-04 18:33:49

Streinleght
Member
Registered: 2008-07-16
Posts: 5

Re: [Request] RoundCube Webmail

Hello , anyone can help to mullman PKGBUILD to roundcube?

Offline

Board footer

Powered by FluxBB