summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2011-12-12 16:39:48 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2011-12-12 16:39:48 +0000
commitf4fefc74a85195ca4635304ec2951c610aa8dc5f (patch)
tree2e2f5cbf927733dcfa7e52199b2fb966129b5def
parentStable for AMD64, wrt security bug #394429 (diff)
downloadhistorical-f4fefc74a85195ca4635304ec2951c610aa8dc5f.tar.gz
historical-f4fefc74a85195ca4635304ec2951c610aa8dc5f.tar.bz2
historical-f4fefc74a85195ca4635304ec2951c610aa8dc5f.zip
Version bumped.
Package-Manager: portage-2.1.10.39/cvs/Linux x86_64
-rw-r--r--www-apps/redmine/ChangeLog9
-rw-r--r--www-apps/redmine/Manifest22
-rw-r--r--www-apps/redmine/redmine-1.2.3.ebuild160
-rw-r--r--www-apps/redmine/redmine-1.3.0.ebuild160
4 files changed, 346 insertions, 5 deletions
diff --git a/www-apps/redmine/ChangeLog b/www-apps/redmine/ChangeLog
index 1f43d92ccd5e..42e707604cf0 100644
--- a/www-apps/redmine/ChangeLog
+++ b/www-apps/redmine/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for www-apps/redmine
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/redmine/ChangeLog,v 1.25 2011/12/09 11:57:12 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/redmine/ChangeLog,v 1.26 2011/12/12 16:39:48 matsuu Exp $
+
+*redmine-1.3.0 (12 Dec 2011)
+*redmine-1.2.3 (12 Dec 2011)
+
+ 12 Dec 2011; MATSUU Takuto <matsuu@gentoo.org> +redmine-1.2.3.ebuild,
+ +redmine-1.3.0.ebuild:
+ Version bumped.
09 Dec 2011; Diego E. Pettenò <flameeyes@gentoo.org> redmine-1.1.3.ebuild,
redmine-1.2.1-r1.ebuild, redmine-1.2.2.ebuild:
diff --git a/www-apps/redmine/Manifest b/www-apps/redmine/Manifest
index 63485b153c6e..0eed4f64d6ab 100644
--- a/www-apps/redmine/Manifest
+++ b/www-apps/redmine/Manifest
@@ -7,15 +7,29 @@ AUX redmine.initd 1092 RMD160 bf656e18a7c03f096459dd66ba149dbcf632b9b3 SHA1 c4aa
DIST redmine-1.1.3.tar.gz 4837121 RMD160 cb1a750ee6d5532dcead4de9b48a5d24b852db6a SHA1 6d8eb536a8bad6404a092b1f1efd9292759a2442 SHA256 9e8a914852dc4262e2718d44fc6a06ce6e943d715921b8d8d48bf87e432f5a46
DIST redmine-1.2.1.tar.gz 9633744 RMD160 a2bf5237dc5f68560dc16dc707e7f59a461dcafb SHA1 5458fb394cfeffb5fb832db589f49fc10fa2c07f SHA256 16fb74b95c3b523bbdca7d71bcad1ffcc08c1e6b10552da9c3452e29179de221
DIST redmine-1.2.2.tar.gz 6301292 RMD160 620efbdcf3cf8ff1e86af93b08321d973f21bd4a SHA1 ab6b0f5e449ae13a38f85b0122e67d0600c9364f SHA256 3db0788a55ccf2ac18cbd50a5716233a0ef860faa677d0231d7baeeb416e95ca
+DIST redmine-1.2.3.tar.gz 6301383 RMD160 60d410954a09628143bc3ca91441514380778d09 SHA1 26c48136afc391a4a02ab20e02b8c7b50038cdc5 SHA256 3c8535b80987b89ec9c7710026bd96fd9e67901f940d9d740d17a44b8d0080c2
+DIST redmine-1.3.0.tar.gz 6018236 RMD160 288f699629cfdd1b5fa281b1efcc78e7b68da4c8 SHA1 51ad635083f27de7d1e243471d229b30f4ae7292 SHA256 f09027513c85440adbc2513bc13a454ca872a87c77b8a9be9256f1fc6c1b3e52
EBUILD redmine-1.1.3.ebuild 4958 RMD160 4143bd9fbe5ca8f2d65d46dc0a707d6c32000519 SHA1 88eb4aa4374be929918b6225d049767c6b562477 SHA256 3679c0965eabd5dc8dd5159fd87eccb0460ff41d88e161dd6f740d97db327ee8
EBUILD redmine-1.2.1-r1.ebuild 5206 RMD160 a0776fbd5c6ed83f6064a119bd29ac2acc88b8da SHA1 5950afbf31a53533c908a43a3ffa290ecc51097f SHA256 c286f5b3cbe1bd2a8396382c50b7de786252f79ed1b678eff2ececf038843e28
EBUILD redmine-1.2.2.ebuild 5306 RMD160 d6f61041a09f1d212e2398aa7eeb4e19f8c97ae1 SHA1 4067e7930d88e2bfcd616b8441835168b8eca24b SHA256 5c3ef71e052d982b808c57e50d383ad4231c7ee6497fde45d9bf7663a12473ef
-MISC ChangeLog 4675 RMD160 6cdf70fc314914a93d6ef010702b242dbb2ca2ce SHA1 1d632980bb9a0d717e303c88d6b70844e70772cc SHA256 3208fe91f4ad6e8c852683d71345205f70ec732742ec0bf4c6668eee3d56a786
+EBUILD redmine-1.2.3.ebuild 5303 RMD160 8fe83a2568dee1c6df75361944105b3e7a484f53 SHA1 ad3bb601828dfb8d63f1254c177f1e45bf8102bd SHA256 241d1e95e0c1154079284329c139c62e5dfc9041dc849f368b74d7a8de1e6011
+EBUILD redmine-1.3.0.ebuild 5311 RMD160 49ffaae15afd6021a69535ea9475533d5e221211 SHA1 dbc2791012c505e7be643d2117a8a606048ef28e SHA256 9dc6900631db2763b12076d2c74bd896d782b66c7ea9585de964cdb8fcda7c57
+MISC ChangeLog 4847 RMD160 f50f1506e294236b4e23e65e9fd290df01f202bc SHA1 b7104949c5ed4f8f5ca682417ab915fa4aef541b SHA256 929093de367fd5013bda7bf62d5d3bfe9370e21349cf6b2dddf6c938af6f0372
MISC metadata.xml 618 RMD160 f79e44b9a0dabbe58db6623b335f12cc2a70fd7f SHA1 9308b667a2be99c124948dfcd82de67a301422b6 SHA256 a4a25fbf4e75e2853c36057c5dc8f4c4e77bff791f732dbe61e298df2d670a10
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk7h95kACgkQAiZjviIA2XiqnQCgiEHPZawImj/si7OroKvxkyVG
-/4MAoK4plyagvY617YtvI4v+SYbYE0wy
-=j2wL
+iQIcBAEBAgAGBQJO5i5dAAoJECaGw+YFKA1pBd8P/iUXpj24hqjo5hXmvDbyCavA
++bM+gqf8JyLw7Nh49/rl7uO+8yAQVTfovj+4SrfamzlgY0ak6XSVhy03gBXcu5L0
+HSRJdJD9DOkEIqH8XCpJozuAESukC9pbdO7TlEOr8DiU1O644PDv1xXebO8LhsFq
+IzHBYOZnq0//sVmNXsIPWcfphyXBPehZC3NmaJM1WpfI4EeQKOtJKn54WXyRiXNt
+BeOvSwJ63AvUQe5rC1+/g7Qw/5udF21SXBHjfXfrYp+Kp0zV/F5tbx6HLiWlGMZ9
+MRjPJ1RaBofonsYDvN9rqyKvlhHcndlabL9urQvm6gfZl6Hjmi+8+KmLhKblYU6r
+RwNauDuV9Qt2rFSwE2MjkF605yZw3snupCdvp77XMKZU7L/NegitLCXn0VRoa92c
+JJLyJrVrTIcq4yd+Hey9YOLRRFfM2d5XkjlblDMKCwcaUsUXR1104AQ1xUHtLmyv
+RJYHV4nr5bYaYruvbi6k0LpmdhHpqJOGMHwzUxLo0tki1M6Ol4oEGtboPl/+oL4f
+oooPegqEnaaRelSr6xFbpmjunFD97L9MPAdA+teC89Pq2J2Eb7+UD8K6WdWPXVqF
+6Nk3CjUkahCZ6BAdA2FayIW72/zelpc6QlDSypklGudhIWNYf7kpRAz9xk330wD4
+CfsEbg+aZgJKcIGYs/bI
+=codB
-----END PGP SIGNATURE-----
diff --git a/www-apps/redmine/redmine-1.2.3.ebuild b/www-apps/redmine/redmine-1.2.3.ebuild
new file mode 100644
index 000000000000..7b3a423298e5
--- /dev/null
+++ b/www-apps/redmine/redmine-1.2.3.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/redmine/redmine-1.2.3.ebuild,v 1.1 2011/12/12 16:39:48 matsuu Exp $
+
+EAPI="3"
+USE_RUBY="ruby18"
+inherit eutils depend.apache ruby-ng
+
+DESCRIPTION="Redmine is a flexible project management web application written using Ruby on Rails framework"
+HOMEPAGE="http://www.redmine.org/"
+SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+#IUSE="bazaar cvs darcs fastcgi git imagemagick mercurial mysql openid passenger postgres sqlite3 subversion"
+IUSE="fastcgi imagemagick openid passenger"
+
+RDEPEND="$(ruby_implementation_depend ruby18 '>=' -1.8.6)[ssl]"
+
+ruby_add_rdepend "virtual/ruby-ssl
+ virtual/rubygems
+ =dev-ruby/coderay-0.9*
+ >=dev-ruby/ruby-net-ldap-0.0.4
+ ~dev-ruby/i18n-0.4.2
+ ~dev-ruby/rack-1.1.0
+ dev-ruby/rake
+ dev-ruby/rails:2.3
+ dev-ruby/activerecord:2.3
+ fastcgi? ( dev-ruby/ruby-fcgi )
+ imagemagick? ( dev-ruby/rmagick )
+ openid? ( dev-ruby/ruby-openid )
+ passenger? ( www-apache/passenger )"
+
+#RDEPEND="${RDEPEND}
+# bazaar ( dev-vcs/bazaar )
+# cvs? ( >=dev-vcs/cvs-1.12 )
+# darcs? ( dev-vcs/darcs )
+# git? ( dev-vcs/git )
+# mercurial? ( dev-vcs/mercurial )
+# subversion? ( >=dev-vcs/subversion-1.3 )"
+
+REDMINE_DIR="/var/lib/${PN}"
+
+pkg_setup() {
+ enewgroup redmine
+ # home directory is required for SCM.
+ enewuser redmine -1 -1 "${REDMINE_DIR}" redmine
+}
+
+all_ruby_prepare() {
+ rm -r log files/delete.me || die
+ rm -r vendor/gems/coderay-0.9.7 || die
+ rm -r vendor/plugins/ruby-net-ldap-0.0.4 || die
+ rm -fr vendor/rails || die
+ echo "CONFIG_PROTECT=\"${EPREFIX}${REDMINE_DIR}/config\"" > "${T}/50${PN}"
+ echo "CONFIG_PROTECT_MASK=\"${EPREFIX}${REDMINE_DIR}/config/locales ${EPREFIX}${REDMINE_DIR}/config/settings.yml\"" >> "${T}/50${PN}"
+ sed -i -e "/RAILS_GEM_VERSION/s/'.*'/'$(best_version dev-ruby/rails:2.3|cut -d- -f3)'/" config/environment.rb || die
+}
+
+all_ruby_install() {
+ dodoc doc/{CHANGELOG,INSTALL,README_FOR_APP,RUNNING_TESTS,UPGRADING} || die
+ rm -fr doc || die
+
+ keepdir /var/log/${PN} || die
+ dosym /var/log/${PN}/ "${REDMINE_DIR}/log" || die
+
+ insinto "${REDMINE_DIR}"
+ doins -r . || die
+ keepdir "${REDMINE_DIR}/files" || die
+ keepdir "${REDMINE_DIR}/public/plugin_assets" || die
+
+ fowners -R redmine:redmine \
+ "${REDMINE_DIR}/config/environment.rb" \
+ "${REDMINE_DIR}/files" \
+ "${REDMINE_DIR}/public/plugin_assets" \
+ "${REDMINE_DIR}/tmp" \
+ /var/log/${PN} || die
+ # for SCM
+ fowners redmine:redmine "${REDMINE_DIR}" || die
+
+ if use passenger ; then
+ has_apache
+ insinto "${APACHE_VHOSTS_CONFDIR}"
+ doins "${FILESDIR}/10_redmine_vhost.conf" || die
+ else
+ newconfd "${FILESDIR}/${PN}.confd" ${PN} || die
+ newinitd "${FILESDIR}/${PN}.initd" ${PN} || die
+ keepdir /var/run/${PN} || die
+ fowners -R redmine:redmine /var/run/${PN} || die
+ dosym /var/run/${PN}/ "${REDMINE_DIR}/tmp/pids" || die
+ fi
+ doenvd "${T}/50${PN}" || die
+}
+
+pkg_postinst() {
+ einfo
+ if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" ] ; then
+ elog "Execute the following command to upgrade environment:"
+ elog
+ elog "# emerge --config \"=${CATEGORY}/${PF}\""
+ elog
+ elog "For upgrade instructions take a look at:"
+ elog "http://www.redmine.org/wiki/redmine/RedmineUpgrade"
+ else
+ elog "Execute the following command to initlize environment:"
+ elog
+ elog "# cd ${EPREFIX}${REDMINE_DIR}"
+ elog "# cp config/database.yml.example config/database.yml"
+ elog "# \${EDITOR} config/database.yml"
+ elog "# emerge --config \"=${CATEGORY}/${PF}\""
+ elog
+ elog "Installation notes are at official site"
+ elog "http://www.redmine.org/wiki/redmine/RedmineInstall"
+ fi
+ einfo
+}
+
+pkg_config() {
+ if [ ! -e "${EPREFIX}${REDMINE_DIR}/config/database.yml" ] ; then
+ eerror "Copy ${EPREFIX}${REDMINE_DIR}/config/database.yml.example to ${EPREFIX}${REDMINE_DIR}/config/database.yml and edit this file in order to configure your database settings for \"production\" environment."
+ die
+ fi
+
+ local RAILS_ENV=${RAILS_ENV:-production}
+ local RUBY=${RUBY:-ruby18}
+
+ cd "${EPREFIX}${REDMINE_DIR}"
+ if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" ] ; then
+ einfo
+ einfo "Upgrade database."
+ einfo
+
+ einfo "Migrate database."
+ RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
+ einfo "Upgrade the plugin migrations."
+ RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate:upgrade_plugin_migrations # || die
+ RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate_plugins || die
+ einfo "Clear the cache and the existing sessions."
+ ${RUBY} -S rake tmp:cache:clear || die
+ ${RUBY} -S rake tmp:sessions:clear || die
+ else
+ einfo
+ einfo "Initialize database."
+ einfo
+
+ einfo "Generate a session store secret."
+ ${RUBY} -S rake generate_session_store || die
+ einfo "Create the database structure."
+ RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
+ einfo "Insert default configuration data in database."
+ RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:load_default_data || die
+ fi
+
+ if [ ! -e "${EPREFIX}${REDMINE_DIR}/config/email.yml" ] ; then
+ ewarn
+ ewarn "Copy ${EPREFIX}${REDMINE_DIR}/config/email.yml.example to ${EPREFIX}${REDMINE_DIR}/config/email.yml and edit this file to adjust your SMTP settings."
+ ewarn
+ fi
+}
diff --git a/www-apps/redmine/redmine-1.3.0.ebuild b/www-apps/redmine/redmine-1.3.0.ebuild
new file mode 100644
index 000000000000..54fcb4943842
--- /dev/null
+++ b/www-apps/redmine/redmine-1.3.0.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/redmine/redmine-1.3.0.ebuild,v 1.1 2011/12/12 16:39:48 matsuu Exp $
+
+EAPI="3"
+USE_RUBY="ruby18"
+inherit eutils depend.apache ruby-ng
+
+DESCRIPTION="Redmine is a flexible project management web application written using Ruby on Rails framework"
+HOMEPAGE="http://www.redmine.org/"
+SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+#IUSE="bazaar cvs darcs fastcgi git imagemagick mercurial mysql openid passenger postgres sqlite3 subversion"
+IUSE="fastcgi imagemagick openid passenger"
+
+RDEPEND="$(ruby_implementation_depend ruby18 '>=' -1.8.6)[ssl]"
+
+ruby_add_rdepend "virtual/ruby-ssl
+ virtual/rubygems
+ >=dev-ruby/coderay-1
+ >=dev-ruby/ruby-net-ldap-0.0.4
+ ~dev-ruby/i18n-0.4.2
+ >=dev-ruby/rack-1.1:0
+ dev-ruby/rake
+ >=dev-ruby/rails-2.3.14:2.3
+ dev-ruby/activerecord:2.3
+ fastcgi? ( dev-ruby/ruby-fcgi )
+ imagemagick? ( dev-ruby/rmagick )
+ openid? ( dev-ruby/ruby-openid )
+ passenger? ( www-apache/passenger )"
+
+#RDEPEND="${RDEPEND}
+# bazaar ( dev-vcs/bazaar )
+# cvs? ( >=dev-vcs/cvs-1.12 )
+# darcs? ( dev-vcs/darcs )
+# git? ( dev-vcs/git )
+# mercurial? ( dev-vcs/mercurial )
+# subversion? ( >=dev-vcs/subversion-1.3 )"
+
+REDMINE_DIR="/var/lib/${PN}"
+
+pkg_setup() {
+ enewgroup redmine
+ # home directory is required for SCM.
+ enewuser redmine -1 -1 "${REDMINE_DIR}" redmine
+}
+
+all_ruby_prepare() {
+ rm -r log files/delete.me || die
+ rm -r vendor/gems/coderay-1.0.0 || die
+ rm -r vendor/plugins/ruby-net-ldap-0.0.4 || die
+ rm -fr vendor/rails || die
+ echo "CONFIG_PROTECT=\"${EPREFIX}${REDMINE_DIR}/config\"" > "${T}/50${PN}"
+ echo "CONFIG_PROTECT_MASK=\"${EPREFIX}${REDMINE_DIR}/config/locales ${EPREFIX}${REDMINE_DIR}/config/settings.yml\"" >> "${T}/50${PN}"
+ sed -i -e "/RAILS_GEM_VERSION/s/'.*'/'$(best_version dev-ruby/rails:2.3|cut -d- -f3)'/" config/environment.rb || die
+}
+
+all_ruby_install() {
+ dodoc doc/{CHANGELOG,INSTALL,README_FOR_APP,RUNNING_TESTS,UPGRADING} || die
+ rm -fr doc || die
+
+ keepdir /var/log/${PN} || die
+ dosym /var/log/${PN}/ "${REDMINE_DIR}/log" || die
+
+ insinto "${REDMINE_DIR}"
+ doins -r . || die
+ keepdir "${REDMINE_DIR}/files" || die
+ keepdir "${REDMINE_DIR}/public/plugin_assets" || die
+
+ fowners -R redmine:redmine \
+ "${REDMINE_DIR}/config/environment.rb" \
+ "${REDMINE_DIR}/files" \
+ "${REDMINE_DIR}/public/plugin_assets" \
+ "${REDMINE_DIR}/tmp" \
+ /var/log/${PN} || die
+ # for SCM
+ fowners redmine:redmine "${REDMINE_DIR}" || die
+
+ if use passenger ; then
+ has_apache
+ insinto "${APACHE_VHOSTS_CONFDIR}"
+ doins "${FILESDIR}/10_redmine_vhost.conf" || die
+ else
+ newconfd "${FILESDIR}/${PN}.confd" ${PN} || die
+ newinitd "${FILESDIR}/${PN}.initd" ${PN} || die
+ keepdir /var/run/${PN} || die
+ fowners -R redmine:redmine /var/run/${PN} || die
+ dosym /var/run/${PN}/ "${REDMINE_DIR}/tmp/pids" || die
+ fi
+ doenvd "${T}/50${PN}" || die
+}
+
+pkg_postinst() {
+ einfo
+ if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" ] ; then
+ elog "Execute the following command to upgrade environment:"
+ elog
+ elog "# emerge --config \"=${CATEGORY}/${PF}\""
+ elog
+ elog "For upgrade instructions take a look at:"
+ elog "http://www.redmine.org/wiki/redmine/RedmineUpgrade"
+ else
+ elog "Execute the following command to initlize environment:"
+ elog
+ elog "# cd ${EPREFIX}${REDMINE_DIR}"
+ elog "# cp config/database.yml.example config/database.yml"
+ elog "# \${EDITOR} config/database.yml"
+ elog "# emerge --config \"=${CATEGORY}/${PF}\""
+ elog
+ elog "Installation notes are at official site"
+ elog "http://www.redmine.org/wiki/redmine/RedmineInstall"
+ fi
+ einfo
+}
+
+pkg_config() {
+ if [ ! -e "${EPREFIX}${REDMINE_DIR}/config/database.yml" ] ; then
+ eerror "Copy ${EPREFIX}${REDMINE_DIR}/config/database.yml.example to ${EPREFIX}${REDMINE_DIR}/config/database.yml and edit this file in order to configure your database settings for \"production\" environment."
+ die
+ fi
+
+ local RAILS_ENV=${RAILS_ENV:-production}
+ local RUBY=${RUBY:-ruby18}
+
+ cd "${EPREFIX}${REDMINE_DIR}"
+ if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" ] ; then
+ einfo
+ einfo "Upgrade database."
+ einfo
+
+ einfo "Migrate database."
+ RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
+ einfo "Upgrade the plugin migrations."
+ RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate:upgrade_plugin_migrations # || die
+ RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate_plugins || die
+ einfo "Clear the cache and the existing sessions."
+ ${RUBY} -S rake tmp:cache:clear || die
+ ${RUBY} -S rake tmp:sessions:clear || die
+ else
+ einfo
+ einfo "Initialize database."
+ einfo
+
+ einfo "Generate a session store secret."
+ ${RUBY} -S rake generate_session_store || die
+ einfo "Create the database structure."
+ RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
+ einfo "Insert default configuration data in database."
+ RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:load_default_data || die
+ fi
+
+ if [ ! -e "${EPREFIX}${REDMINE_DIR}/config/email.yml" ] ; then
+ ewarn
+ ewarn "Copy ${EPREFIX}${REDMINE_DIR}/config/email.yml.example to ${EPREFIX}${REDMINE_DIR}/config/email.yml and edit this file to adjust your SMTP settings."
+ ewarn
+ fi
+}