Removed email.yml information, bug #395279.
authorMatsuu Takuto <matsuu@gentoo.org>
Wed, 11 Jan 2012 15:56:00 +0000 (15:56 +0000)
committerMatsuu Takuto <matsuu@gentoo.org>
Wed, 11 Jan 2012 15:56:00 +0000 (15:56 +0000)
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64

www-apps/redmine/ChangeLog
www-apps/redmine/Manifest
www-apps/redmine/redmine-1.2.1-r1.ebuild [deleted file]
www-apps/redmine/redmine-1.2.2.ebuild [deleted file]
www-apps/redmine/redmine-1.3.0.ebuild

index 42e707604cf03b22738c2ced9a342c9de26da42b..dfd33d1065b88b039e31c4efb6de1ffb2e1fbf2b 100644 (file)
@@ -1,6 +1,10 @@
 # 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.26 2011/12/12 16:39:48 matsuu Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/redmine/ChangeLog,v 1.27 2012/01/11 15:56:00 matsuu Exp $
+
+  11 Jan 2012; MATSUU Takuto <matsuu@gentoo.org> -redmine-1.2.1-r1.ebuild,
+  -redmine-1.2.2.ebuild, redmine-1.3.0.ebuild:
+  Removed email.yml information, bug #395279. Removed old versions.
 
 *redmine-1.3.0 (12 Dec 2011)
 *redmine-1.2.3 (12 Dec 2011)
index 0eed4f64d6abbe76e0827bee78259161b24753ef..9c7030904d2f459678777e0418e71b966fbac920 100644 (file)
@@ -5,31 +5,27 @@ AUX 10_redmine_vhost.conf 343 RMD160 b4d6188a7579162b5d3ce891cab3ed1b7a1fc2f8 SH
 AUX redmine.confd 267 RMD160 03b2a3d9d4e156bc0a6bd6969a3ae8800c9a51d9 SHA1 9402fd36df731413ce130e7e63411729de391444 SHA256 2ac6b7dfc2d055554b7ee9380fcf1a49a708bbd866987b775507d7a3b30f2d41
 AUX redmine.initd 1092 RMD160 bf656e18a7c03f096459dd66ba149dbcf632b9b3 SHA1 c4aa4daf30a286b665d821da123bb0117c7dd202 SHA256 c89d411280db50c9f57867ec79e1c13c73d241e5e6f7a833b1b84d94d1029595
 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
 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
+EBUILD redmine-1.3.0.ebuild 5067 RMD160 b06eb586acfd3a1c4b6d8bf0aaec3837349ed2df SHA1 edfe10f56bad832819a1c8419610977c23c00eac SHA256 9a6ecf6305d2b6fade10a48ccfad08b4375af352939565247778b9d1ef3eabf5
+MISC ChangeLog 5038 RMD160 fef70ac3d9e86add1abb3325c88270729bbaedf1 SHA1 26a41e1e2abe495c288237c8067113de04e31572 SHA256 f9d796b85775c0c3b6a4d9109894d143fae344797d6f50cd034616de56fc12a7
 MISC metadata.xml 618 RMD160 f79e44b9a0dabbe58db6623b335f12cc2a70fd7f SHA1 9308b667a2be99c124948dfcd82de67a301422b6 SHA256 a4a25fbf4e75e2853c36057c5dc8f4c4e77bff791f732dbe61e298df2d670a10
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (GNU/Linux)
 
-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
+iQIcBAEBAgAGBQJPDbEZAAoJECaGw+YFKA1p1gkQAKH+xLlP/qVT+4P/In9AHkCM
+eLZ0vWLYZVAXNKm0RuqcTao6nO9TJycGeT1qr7m5kwp9VCWi6938wsVOgYb5dL9J
+fPfjtzNn1zWSksHWoz5x0fY8If+NZuTe4AB2bJye37U0PZKKoWngZiOkGi40+9B1
+De7oxVXrQdu5RBhYZaha6XNFPDHr+hqqblU/yeKJCt6MLM4TwGKGZaugYB7ycFjs
+tJnHhf4vUczhls5x7M6cMJ2FrI7y9yL5fmqAjUt2pcza4SLz/g0GWIgsaD9E1BlI
+lLSBUnWdLCCiu98LOMB4XHgB9lVbwkmvW5kjptjTrSidMQHEf4og7DlNRmwyBMZA
+W19dYByeTDZwfjbzp/+nT6KeGKtoxm8lKSOBjoqOuyXad1WKzmvhU8iphhPsb3Or
+ffnAfk5ne79SPU8sj17KWkhTbsS3OenFhCC9bLnd81PG2SuM409qbX9o9PoF3kru
+tQ4Y+FjablycOwr0HwcL/I//AgKbrEOAX70xmC0xnr2lbi68FTOPrpwFSJLd7fys
+amAcWiOvVfQ7xK5iCdTrOUpYzBC+GbGGzsJ/fEsumqw/jOC4V9IRRmYqw3EEyJ1T
+U3cSs+0gexPx5OXLEtG3MczZRwMkKevAaNHL+9YAS5PidnRgxeIu8wxiSlsFZhwQ
+2HsPMmsADVho7HcAHqcY
+=OBxm
 -----END PGP SIGNATURE-----
diff --git a/www-apps/redmine/redmine-1.2.1-r1.ebuild b/www-apps/redmine/redmine-1.2.1-r1.ebuild
deleted file mode 100644 (file)
index bb9fcf0..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-# 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.1-r1.ebuild,v 1.2 2011/12/09 11:57:12 flameeyes 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"
-
-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
-       fastcgi? ( dev-ruby/ruby-fcgi )
-       imagemagick? ( dev-ruby/rmagick )
-       openid? ( dev-ruby/ruby-openid )
-       passenger? ( www-apache/passenger )"
-#ruby_add_rdepend ~dev-ruby/rails-2.3.11:2.3
-#ruby_add_rdepend "~dev-ruby/activerecord-2.3.11:2.3[mysql?,postgres?,sqlite3?]"
-
-#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}"
-}
-
-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.2.2.ebuild b/www-apps/redmine/redmine-1.2.2.ebuild
deleted file mode 100644 (file)
index 7b657bc..0000000
+++ /dev/null
@@ -1,160 +0,0 @@
-# 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.2.ebuild,v 1.2 2011/12/09 11:57:12 flameeyes 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
-}
index 54fcb4943842068b50b7ba2ac421c66bd55550a5..7c66f49cedc43905ea6e7839ac373e5b8ed2b49c 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 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 $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/redmine/redmine-1.3.0.ebuild,v 1.2 2012/01/11 15:56:00 matsuu Exp $
 
 EAPI="3"
 USE_RUBY="ruby18"
@@ -151,10 +151,4 @@ pkg_config() {
                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
 }