summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2011-10-01 19:54:01 +0000
committerPeter Volkov <pva@gentoo.org>2011-10-01 19:54:01 +0000
commitddbf9f811260f474e6695e8104b489b1ee441f1b (patch)
tree2e78755f371015b8e66e9511bc9d95bd033c63f1 /www-apps
parentUpdate upgrading instructions a bit. (diff)
downloadpva-ddbf9f811260f474e6695e8104b489b1ee441f1b.tar.gz
pva-ddbf9f811260f474e6695e8104b489b1ee441f1b.tar.bz2
pva-ddbf9f811260f474e6695e8104b489b1ee441f1b.zip
Drop roundcube and dependencies - they are in tree. Clean out redmine.
svn path=/; revision=505
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/redmine/Manifest5
-rw-r--r--www-apps/redmine/files/redmine-9999-postinst.en.txt26
-rw-r--r--www-apps/redmine/files/redmine.confd8
-rw-r--r--www-apps/redmine/files/redmine.initd28
-rw-r--r--www-apps/redmine/metadata.xml17
-rw-r--r--www-apps/redmine/redmine-9999.ebuild100
6 files changed, 0 insertions, 184 deletions
diff --git a/www-apps/redmine/Manifest b/www-apps/redmine/Manifest
deleted file mode 100644
index c27ec89..0000000
--- a/www-apps/redmine/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX redmine-9999-postinst.en.txt 716 RMD160 704d3ea9b32a3824003060b0f12076c05f83e196 SHA1 a415ce1e0b53f3d424010264dd198669ff41a550 SHA256 b6e8bbda2af63be181e3922ec17a9225a67b9d056000dcb33b9cfb9465f4dfdd
-AUX redmine.confd 177 RMD160 8ac3d7c625cc017ee5e5fceac7dbc0e4ba2fb815 SHA1 72971942aed5bd9c890c6174b2f8c88babcce414 SHA256 d683eea51973ce3d959019befcfbea2dd553b1a435957944e34519595dfc3dec
-AUX redmine.initd 621 RMD160 b1cd406788b820602ef5487c077e21e440d3134b SHA1 1567397e16216ac123bff2f8fcc5583e94f34894 SHA256 7c52ee1f5a753c88edab5b0314dfa3656774b3a6ddf02bf25471ac2f75855998
-EBUILD redmine-9999.ebuild 3104 RMD160 de85171426a52a5dbe3817103bf26c2a8008b6b3 SHA1 8e838eb3720ec19e258e07e9d9a159f6b2124a02 SHA256 f561eafec07e78b0e03d316d87e2d98dd0b64b773d0250e0ac2ea3a7b80b9134
-MISC metadata.xml 700 RMD160 3835f0e06da39f2234b9947e3ed9cf1e118345c4 SHA1 f295fae1c6ad348d962c3c4f94a8c28176a0ed21 SHA256 4d0c82b5dd6b8a2f50044ab1af2e6eb4bc99fe9cb4e46bc0a976b74d432c4c35
diff --git a/www-apps/redmine/files/redmine-9999-postinst.en.txt b/www-apps/redmine/files/redmine-9999-postinst.en.txt
deleted file mode 100644
index c9f5bbf..0000000
--- a/www-apps/redmine/files/redmine-9999-postinst.en.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-1. Create empty database (in this example MySQL):
-
- create database redmine character set utf8;
- create user 'redmine'@'localhost' identified by 'my_password';
- grant all privileges on redmine.* to 'redmine'@'localhost';
-
-2. Edit ${VHOST_ROOT}/${P}/config/database.yml:
-
- production:
- adapter: mysql
- database: redmine
- host: localhost
- port: 3306
- username: redmine
- password: my_password
-
-3. Generate a session store secret:
-
- rake ${VHOST_ROOT}/${P}/config/initializers/session_store.rb
-
-4. Create database structure and fill it wit default data:
- rake db:migrate RAILS_ENV="production"
- rake redmine:load_default_data RAILS_ENV="production"
-
-5. Log in to redmine with login admin and password admin
-
diff --git a/www-apps/redmine/files/redmine.confd b/www-apps/redmine/files/redmine.confd
deleted file mode 100644
index 20db8c8..0000000
--- a/www-apps/redmine/files/redmine.confd
+++ /dev/null
@@ -1,8 +0,0 @@
-# /etc/conf.d/redmine: config file for /etc/init.d/redmine
-# Bind to specified address
-# You can set to 0.0.0.0 to accept requests anywhere
-ADDRESS=localhost
-
-# Port
-PORT=3000
-
diff --git a/www-apps/redmine/files/redmine.initd b/www-apps/redmine/files/redmine.initd
deleted file mode 100644
index 2166058..0000000
--- a/www-apps/redmine/files/redmine.initd
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-depend() {
- use net
-}
-
-start() {
- ebegin "Starting redmine"
- cd /var/lib/redmine
- start-stop-daemon --start --quiet \
- --exec /usr/bin/ruby18 -- /usr/bin/mongrel_rails \
- mongrel::start -e production \
- -a ${ADDRESS} -p ${PORT} \
- --user redmine --group redmine \
- -c /var/lib/redmine -d -l /var/log/mongrel.log
- eend $?
-
-}
-
-stop() {
- ebegin "Stopping redmine"
- cd /var/lib/redmine
- start-stop-daemon --stop --quiet --pidfile /var/lib/redmine/log/mongrel.pid
- eend $?
-}
diff --git a/www-apps/redmine/metadata.xml b/www-apps/redmine/metadata.xml
deleted file mode 100644
index 104acbb..0000000
--- a/www-apps/redmine/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>www-apps</herd>
-<use>
- <flag name='darcs'>Support dev-util/darcs based repositories.</flag>
- <flag name='imagemagick'>Allows gantt export to a png image</flag>
- <flag name='git'>Support dev-util/git based repositories.</flag>
- <flag name='openid'>Enable OpenID support.</flag>
- <flag name='mercurial'>Support dev-util/mercurial based repositories.</flag>
-</use>
-<longdescription lang="en">
- Redmine is a flexible project management web application. Written using Ruby
- on Rails framework, it is cross-platform and cross-database.
-</longdescription>
-</pkgmetadata>
-
diff --git a/www-apps/redmine/redmine-9999.ebuild b/www-apps/redmine/redmine-9999.ebuild
deleted file mode 100644
index 2b0ce0b..0000000
--- a/www-apps/redmine/redmine-9999.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-inherit eutils confutils
-#inherit webapp
-
-DESCRIPTION="Flexible project management web application written using Ruby on Rails framework"
-HOMEPAGE="http://www.redmine.org"
-if [[ ${PV} = 9999 ]]; then
- inherit subversion
- ESVN_REPO_URI="http://redmine.rubyforge.org/svn/trunk/"
- KEYWORDS=""
-else
- SRC_URI="mirror://rubyforge/${PN}/${P/rc/RC}.tar.gz"
- KEYWORDS="~amd64"
- S=${WORKDIR}/${P/rc/RC}
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="cvs darcs git imagemagick mercurial +mysql openid postgres sqlite3 subversion"
-
-
-# TODO:
-# 1. dev-ruby/actionwebservice (rm vendor/plugins/{actionwebservice)
-# 2. tests: doc/RUNNING_TESTS
-DEPEND="dev-ruby/rails:2.3
- dev-ruby/activerecord:2.2[mysql?,postgres?,sqlite3?]"
-
-RDEPEND="${DEPEND}
- www-servers/mongrel
- >=dev-ruby/ruby-net-ldap-0.0.4
- >=dev-ruby/coderay-0.7.6.227
- cvs? ( >=dev-util/cvs-1.12 )
- darcs? ( dev-util/darcs )
- git? ( dev-util/git )
- imagemagick? ( dev-ruby/rmagick )
- mercurial? ( dev-util/mercurial )
- openid? ( >=dev-ruby/ruby-openid-2 )
- subversion? ( >=dev-util/subversion-1.3 )"
-
-pkg_setup() {
-# webapp_pkg_setup
- confutils_require_any mysql postgres sqlite3
- enewgroup redmine
- # home directory is required for SCM.
- enewuser redmine -1 -1 -1 redmine
-}
-
-src_install() {
- rm files/delete.me
- dodoc doc/{UPGRADING,INSTALL,CHANGELOG}
- rm -fr doc log vendor/plugins/{coderay-*,ruby-net-ldap-*}
-
- # redmine does not work in case config is symlink. Moving only really
- # important files into /etc/redmine.
- dodir /etc/${PN}
- mv config/database.yml.example "${D}/etc/${PN}/database.yml"
- mv config/email.yml.example "${D}/etc/${PN}/email.yml"
-#########################################################
- #webapp_src_preinst
- #cp -R * "${D}/${MY_HTDOCSDIR}"
- #dodir "${MY_HTDOCSDIR}"/{tmp,public/plugin_assets}
- #webapp_serverowned -R ${MY_HTDOCSDIR}/{files,log,tmp,public/plugin_assets}
- #fperms 0755 -R ${MY_HTDOCSDIR}/{files,log,tmp,public/plugin_assets}
- #webapp_configfile "${MY_HTDOCSDIR}/config/database.yml"
- #webapp_configfile "${MY_HTDOCSDIR}/config/email.yml"
- #webapp_configfile "${MY_HTDOCSDIR}/config/settings.yml"
- #webapp_postinst_txt en "${FILESDIR}"/${P}-postinst.en.txt
-
- #webapp_src_install
-#########################################################
-
- dodir /var/log/${PN}
- dosym /var/log/${PN} /var/lib/${PN}/log
-
- # This should work in EAPI=3, but not yet... using cp instead :)
- #insinto /var/lib/${PN}
- #doins -r .
- cp -r * "${D}/var/lib/${PN}"
- dosym /etc/${PN}/database.yml /var/lib/${PN}/config/
- dosym /etc/${PN}/email.yml /var/lib/${PN}/config/
- dodir /var/lib/${PN}/files
- fowners -R redmine:redmine /var/lib/${PN}/{files,tmp,public} /var/log/${PN}
-
- newconfd "${FILESDIR}/redmine.confd" redmine
- newinitd "${FILESDIR}/redmine.initd" redmine
-}
-
-pkg_postinst() {
- einfo
- elog "Installation notes are at official site"
- elog "http://www.redmine.org/wiki/redmine/RedmineInstall"
- elog
- elog "For upgrade instructions take a look at:"
- elog "http://www.redmine.org/wiki/redmine/RedmineUpgrade"
- einfo
-}