diff options
author | Gunnar Wrobel <wrobel@gentoo.org> | 2005-12-19 09:57:15 +0000 |
---|---|---|
committer | Gunnar Wrobel <wrobel@gentoo.org> | 2005-12-19 09:57:15 +0000 |
commit | 430d221489020b6cf558d70c26a773e413e9a5a7 (patch) | |
tree | 81bb6adcf5715d141c87ab1e35e28a4190e78f6d /www-apps | |
parent | Removed web-cyradm ebuild. (diff) | |
download | overlay-430d221489020b6cf558d70c26a773e413e9a5a7.tar.gz overlay-430d221489020b6cf558d70c26a773e413e9a5a7.tar.bz2 overlay-430d221489020b6cf558d70c26a773e413e9a5a7.zip |
Removed web-cyradm ebuild
svn path=/; revision=587
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/web-cyradm/Manifest | 3 | ||||
-rw-r--r-- | www-apps/web-cyradm/files/digest-web-cyradm-0.5.4.1 | 1 | ||||
-rw-r--r-- | www-apps/web-cyradm/files/postinstall-en.txt | 55 | ||||
-rw-r--r-- | www-apps/web-cyradm/web-cyradm-0.5.4.1.ebuild | 108 |
4 files changed, 0 insertions, 167 deletions
diff --git a/www-apps/web-cyradm/Manifest b/www-apps/web-cyradm/Manifest deleted file mode 100644 index 30017c1..0000000 --- a/www-apps/web-cyradm/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -MD5 8939530dcc96d4ef50c28dd441bf1466 web-cyradm-0.5.4.1.ebuild 3229 -MD5 bdac117857e5420bd35d278ce9633712 files/digest-web-cyradm-0.5.4.1 70 -MD5 624ff65bcf3834739c125b228d855ff0 files/postinstall-en.txt 1538 diff --git a/www-apps/web-cyradm/files/digest-web-cyradm-0.5.4.1 b/www-apps/web-cyradm/files/digest-web-cyradm-0.5.4.1 deleted file mode 100644 index f66f6b6..0000000 --- a/www-apps/web-cyradm/files/digest-web-cyradm-0.5.4.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 d06dc16899680c29b94a5460709b5fe0 web-cyradm-0.5.4-1.tar.gz 455900 diff --git a/www-apps/web-cyradm/files/postinstall-en.txt b/www-apps/web-cyradm/files/postinstall-en.txt deleted file mode 100644 index c5f9040..0000000 --- a/www-apps/web-cyradm/files/postinstall-en.txt +++ /dev/null @@ -1,55 +0,0 @@ -To complete installation, you must - -MySQL: -1. Create the needed MySQL database and tables and user: - mysql -u root -p < ${MY_SQLSCRIPTSDIR}/mysql/${PVR}_create.sql -2. Reload MySQL: - /etc/init.d/mysql restart -3. Change the password for the mail user! Inital password is - "secret" (without the qotes). - - * To change the password issue the following SQL commands: - * SET PASSWORD FOR 'mail'@'localhost' = PASSWORD('newpwd'); - * FLUSH PRIVILEGES; - * - * Replace host_name with the name of the server host and replace - * newpwd with your new password. - * - * Initial passwords for MySQL: - * User : mail - * Password : secret - * Role : MySQL database user - * - * User : admin - * Password : test - * Role : Superuser (for web interface) - * - * User : cyrus - * Password : secret - * Role : Domain user - - -PostgreSQL: -1. Create the needed PgSQL database and tables and user: - psql -U postgres -W -h 127.0.0.1 -f ${MY_SQLSCRIPTSDIR}/pgsql/${PVR}_create.sql -2. Reload PgSQL: - /etc/init.d/postgresql restart -3. Change the password for the mail user! Inital password is - "secret" (without the qotes). - - Initial passwords for PgSQL: - User : mail - Password : secret - Role : PgSQL database user - - -Config: - If you want/need to change the global configuration (valid for all hosts) then - make sure you edit ${MY_HTDOCSDIR}/config/conf.php - - -Read the documentation at: - http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/index.html - - -Finally, point your browser to http://localhost/${PN}/. diff --git a/www-apps/web-cyradm/web-cyradm-0.5.4.1.ebuild b/www-apps/web-cyradm/web-cyradm-0.5.4.1.ebuild deleted file mode 100644 index 94b45d6..0000000 --- a/www-apps/web-cyradm/web-cyradm-0.5.4.1.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit webapp - -IUSE="mysql postgres" - -MY_PV="0.5.4-1" -DESCRIPTION="Web-based that glues topnotch mailing technologies like cyrus-imap and postfix together." -SRC_URI="http://www.web-cyradm.org/${PN}-${MY_PV}.tar.gz" -HOMEPAGE="http://www.web-cyradm.org/" - -LICENSE="GPL-2" -KEYWORDS="~x86" - -DEPEND="mysql? ( >=dev-db/mysql-3.23.51 ) - postgres? ( >=dev-db/postgresql-7.1 ) - virtual/php" - -RDEPEND="${DEPEND} - dev-php/PEAR-DB - >=mail-mta/postfix-2.0.11 - >=net-mail/cyrus-imapd-2.1.12 - mysql? ( >=sys-auth/pam_mysql-0.5 )" - -S=${WORKDIR}/${PN}-${MY_PV} - -src_unpack() { - unpack ${A} - cd ${S} - - # Remove .cvs* files and CVS directories - find ${S} -name .cvs\* -or \( -type d -name CVS -prune \) -exec rm -rf {} \; - - # Rename the config file - mv -f config/conf.php.dist config/conf.php -} - -src_install() { - webapp_src_preinst - - local docs="COPYRIGHT ChangeLog README README.translations TO-BE-DONE doc/Postfix-Cyrus-Web-cyradm-HOWTO.txt" - - # handle documentation files - # - # NOTE that doc files go into /usr/share/doc as normal; they do NOT - # get installed per vhost! - dodoc ${docs} - dohtml doc/html/* - - # install the SQL scripts available to us - # - if use mysql; then - # Because of limitations in the webapp ECLASS we need to merge the - # insertuser SQL scripts into one file - # SQL Scripts: - # create_mysql.sql - # insertuser_mysql.sql - # upgrade-0.5.2-to-0.5.3_mysql.sql - # upgrade-0.5.3-to-0.5.4_mysql.sql - cp ${S}/scripts/insertuser_mysql.sql ${T}/merged_mysql.sql - echo >>${T}/merged_mysql.sql - sed -n "s/^create database/USE/gIp" ${S}/scripts/insertuser_mysql.sql >>${T}/merged_mysql.sql - echo >>${T}/merged_mysql.sql - cat ${S}/scripts/create_mysql.sql >>${T}/merged_mysql.sql - webapp_sqlscript mysql ${T}/merged_mysql.sql - webapp_sqlscript mysql ${S}/scripts/upgrade-0.5.3-to-0.5.4_mysql.sql 0.5.3 - elif use postgres; then - # Because of limitations in the webapp ECLASS we need to merge the - # insertuser SQL scripts into one file. - # SQL Scripts: - # create_pgsql.sql - # insertuser_pgsql.sql - # upgrade-0.5.3-to-0.5.4_pgsql.sql - cp ${S}/scripts/insertuser_pgsql.sql ${T}/merged_pgsql.sql - echo >>${T}/merged_pgsql.sql - sed -n "s/^create database/USE/gIp" ${S}/scripts/insertuser_pgsql.sql >>${T}/merged_pgsql.sql - echo >>${T}/merged_pgsql.sql - cat ${S}/scripts/create_pgsql.sql >>${T}/merged_pgsql.sql - webapp_sqlscript pgsql ${T}/merged_pgsql.sql - webapp_sqlscript pgsql ${S}/scripts/upgrade-0.5.3-to-0.5.4_pgsql.sql 0.5.3 - fi - - # copy the app's main files - # - einfo "Installing main files" - cp *.php ${D}${MY_HTDOCSDIR} - cp -R css ${D}${MY_HTDOCSDIR} - cp -R images ${D}${MY_HTDOCSDIR} - cp -R lib ${D}${MY_HTDOCSDIR} - cp -R locale ${D}${MY_HTDOCSDIR} - cp -R config ${D}${MY_HTDOCSDIR} - - # Identify the configuration files that this app uses - # - webapp_configfile ${MY_HTDOCSDIR}/config/conf.php - - # add the post-installation instructions - # - webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt - - # all done - # - # now we let the eclass strut its stuff ;-) - # - webapp_src_install -} |