diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2011-05-12 16:14:10 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2011-05-12 16:14:10 +0000 |
commit | 62c1f22e5b4abe9f27fffc33073bf9acdc84b6b5 (patch) | |
tree | e4ef71d7b332a071a421ae2f1ae07ee28e73a871 /www-apps/redmine | |
parent | Stabilize for all. (diff) | |
download | historical-62c1f22e5b4abe9f27fffc33073bf9acdc84b6b5.tar.gz historical-62c1f22e5b4abe9f27fffc33073bf9acdc84b6b5.tar.bz2 historical-62c1f22e5b4abe9f27fffc33073bf9acdc84b6b5.zip |
Version bumped.
Package-Manager: portage-2.1.9.46/cvs/Linux x86_64
Diffstat (limited to 'www-apps/redmine')
-rw-r--r-- | www-apps/redmine/ChangeLog | 7 | ||||
-rw-r--r-- | www-apps/redmine/Manifest | 30 | ||||
-rw-r--r-- | www-apps/redmine/redmine-1.1.3.ebuild | 156 |
3 files changed, 178 insertions, 15 deletions
diff --git a/www-apps/redmine/ChangeLog b/www-apps/redmine/ChangeLog index 1a5831e97eba..800769013676 100644 --- a/www-apps/redmine/ChangeLog +++ b/www-apps/redmine/ChangeLog @@ -1,6 +1,11 @@ # 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.19 2011/04/24 01:45:22 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/redmine/ChangeLog,v 1.20 2011/05/12 16:14:10 matsuu Exp $ + +*redmine-1.1.3 (12 May 2011) + + 12 May 2011; MATSUU Takuto <matsuu@gentoo.org> +redmine-1.1.3.ebuild: + Version bumped. 24 Apr 2011; MATSUU Takuto <matsuu@gentoo.org> -redmine-1.0.5.ebuild, -redmine-1.1.0.ebuild, -redmine-1.1.1.ebuild, redmine-1.1.2.ebuild: diff --git a/www-apps/redmine/Manifest b/www-apps/redmine/Manifest index 37561bc32510..76d39f072b83 100644 --- a/www-apps/redmine/Manifest +++ b/www-apps/redmine/Manifest @@ -5,23 +5,25 @@ AUX 10_redmine_vhost.conf 343 RMD160 b4d6188a7579162b5d3ce891cab3ed1b7a1fc2f8 SH AUX redmine.confd 267 RMD160 03b2a3d9d4e156bc0a6bd6969a3ae8800c9a51d9 SHA1 9402fd36df731413ce130e7e63411729de391444 SHA256 2ac6b7dfc2d055554b7ee9380fcf1a49a708bbd866987b775507d7a3b30f2d41 AUX redmine.initd 1093 RMD160 735df0fd9940fe85ea4fead20702956de9cdd08c SHA1 ee6860c7a51e35cab1ab4d1bd9f346ab3b58f931 SHA256 e0c35d1598654a9d96ad33fb80c67367730639093bdce4df7ea23eed14d90cac DIST redmine-1.1.2.tar.gz 4829954 RMD160 399b15166eb7c6f89e2d3ff9809d67679888d846 SHA1 6a711a9f7181a476ff6c67456000e5578734c245 SHA256 3451363c45eae9fd25bc047a62f8e11509e53f8a0bb4749526bb1cb0c8723953 +DIST redmine-1.1.3.tar.gz 4837121 RMD160 cb1a750ee6d5532dcead4de9b48a5d24b852db6a SHA1 6d8eb536a8bad6404a092b1f1efd9292759a2442 SHA256 9e8a914852dc4262e2718d44fc6a06ce6e943d715921b8d8d48bf87e432f5a46 EBUILD redmine-1.1.2.ebuild 5142 RMD160 60f8a4e7f0c176f8cf85448b3da6d0598c87ffe6 SHA1 9971bbdebd891f70ab3940adaa56ea604c1a15e5 SHA256 7975b65b3b498ce51c2d5e1a591ded62798429f190a5d923fca65aab7cd2c52c -MISC ChangeLog 3451 RMD160 6cd5c861ad8febafe5afb8be97c0fc46045e07c1 SHA1 a67b67a468f4d311bf18f34ff8d13e11971815c6 SHA256 44388241af86e9ad74ad8cce88a527dde7a445cd37ad2b9d0f2eacb7c331ea03 +EBUILD redmine-1.1.3.ebuild 5142 RMD160 abf246b1431f5c202897e5f800436907f6e5d141 SHA1 a239d722095a5fd38729e5919b3f54cb6f42257a SHA256 2eb00cea2817d5c9b4a3760d182319d329e91b4e19412f491a2446add87d9e08 +MISC ChangeLog 3572 RMD160 e1eb5ad342f01a79f4f437a1b1a41537c465a2af SHA1 0511578582f60ec45dc5e3ac3493faeeb11e9cc3 SHA256 f03eafe75eea4cf68d73bd852c5e3b0bcfeb3e10832964e5c4ac94a28333d1ea MISC metadata.xml 639 RMD160 fe34460ce10d91252a65a67953fe04df99140d07 SHA1 f35d46b5ba207fb36dba92127395b48260afe770 SHA256 d80112afbed97dbc584e9864d01df04949f7291cd13849b09fc4ff648c0c27fd -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iQIcBAEBAgAGBQJNs4C5AAoJECaGw+YFKA1pgtMP/2RWwmn9wCloRde4HTBksP0D -PFURmXJwg1Jel/g6OXXVsiIPHv82ug6RdIm4WXfGAM2u/5Exg85EZhAPlMr2uixz -puBloolOJLcndTmmFBQfOddMX8e1bcPzVoGKSKSW8lRZrVqHnk58rtMe9UgJDN9Z -9btniHf/4IP8BW9FbvCkYlwj1/7AGz9VH/SUeGX0SrB2GY5bEF1NLpsl+04K/0bl -MXjr3H3MTiL0I0ZeQ8XkBgcCl6jzd6X8phPgJx6j0WMLve2UrRAR/esP0Gss1iIW -Obmbr4h+LTtlQaNwSJESJAbcGSNrUM3hsH8zM9JVO0wQRk5OYXn1Bz1d5Ox9uZW+ -P5nciwYWUkDXZ/bDbyb6UsWdN5DVdfA2WMNlWeMIVaw0lP/UV299nQdcMU4T+dVD -9UvKNDA1hFKoZlXMBs7Fwx8LfTEsULxiR8TRDFSjbY48kekKiaCqbTGeVA88wv7s -SuqzILdvBj6/wURJn8VhHk3gyrxI6QUjuh+4JAFI/aYAp1SdWX3Qxurv7txw+pN7 -fr0mX9y9qs5D1QAjOBmqJ01F07fGSrN2gVEJGNa1804WnlDSnNJQORdOJmWniwwS -FlS0SBqxqPuXGqE7HZYZ2K1J4oHKeSZ4Ag3w6rusGO3dSxz65vN5KVoeUqRaA4OP -DvM1+j1djyN/YxKiBY/O -=rFy3 +iQIcBAEBAgAGBQJNzAdcAAoJECaGw+YFKA1p1eQQAKEC3R/qiYOvatosn2MpiAOR +QtbIiXoVTbv2x5d6dyZrNj0gxAqIfmitFcwpvqK8bCKF0GmakqwCzzpfrk98s3VM +EWUKSCBMeJax0ZMBYH+Vafp9T3x33YMrGgQjaEGP4+H1+LxsTpnteohdnfo10KdI +P8OPL/gnSsmDe9kULTg6ghGnGfIE40OhHmaEDYtpPGKsBWT+Tw0f9JmWddHQY+h6 +OouT8jW6nrRg1xwzpP8Qz07kGVwtzxLtKrLF7ESrU64q2Eab6cf/wZyDeRyVj031 +/bCH9Oab6grkPZRB/cq113r1Q4EhUeSEDP9yb4am7JtOY7m/b5gFGieBPOTUJf/3 +ef591MZxtSjz8ziFat3pRC8Ey26DW7NYvoJLyDt444wXlNWQg9kybIl7jKdbE+TS +4nroo282zxCOWMGTe/2rzLNolvQUkNaYx86WzuMuMJrIIJVTviYV7uMC9sUGq8w5 +BDWD+VM7SwXuDdztXaPG9mkS/O0tap+chmdqPDFqChUy4zediw8h4k3pd2IR3vj1 +naoeXbGx2lD9rjOgF3y+9q50sRGfb6q2+hOKWtCk/nEEqRQ24Qa7MlslfaVCQ3o5 +b51BNajc4/I1QWAOpRGI/1XdtGdLRHi0oMPlU220a6GEocekwE/P5zhrQsuzXcJ9 +fMDX/kH5kbq46ARq999o +=UXrY -----END PGP SIGNATURE----- diff --git a/www-apps/redmine/redmine-1.1.3.ebuild b/www-apps/redmine/redmine-1.1.3.ebuild new file mode 100644 index 000000000000..8ee9726a0980 --- /dev/null +++ b/www-apps/redmine/redmine-1.1.3.ebuild @@ -0,0 +1,156 @@ +# 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.1.3.ebuild,v 1.1 2011/05/12 16:14:10 matsuu Exp $ + +EAPI="3" +USE_RUBY="ruby18" +inherit eutils confutils 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="cvs darcs fastcgi git imagemagick mercurial mysql openid passenger postgres sqlite3 subversion" + +ruby_add_rdepend "~dev-ruby/coderay-0.9.7 + >=dev-ruby/rubygems-1.3.5 + >=dev-ruby/ruby-net-ldap-0.0.4 + ~dev-ruby/i18n-0.4.2 + ~dev-ruby/rack-1.0.1 + dev-ruby/rake" +#ruby_add_rdepend ~dev-ruby/rails-2.3.5:2.3 +#ruby_add_rdepend "dev-ruby/activerecord:2.3[mysql?,postgres?,sqlite3?]" +ruby_add_rdepend fastcgi dev-ruby/ruby-fcgi +ruby_add_rdepend imagemagick dev-ruby/rmagick +ruby_add_rdepend openid dev-ruby/ruby-openid +ruby_add_rdepend passenger www-apache/passenger + +RDEPEND="${RDEPEND} + dev-ruby/activerecord:2.3[mysql?,postgres?,sqlite3?] + 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() { + confutils_require_any mysql postgres sqlite3 + 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=\"${REDMINE_DIR}/config\"" > "${T}/50${PN}" + echo "CONFIG_PROTECT_MASK=\"${REDMINE_DIR}/config/locales ${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 "${ROOT}${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 ${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 "${REDMINE_DIR}/config/database.yml" ] ; then + eerror "Copy ${REDMINE_DIR}/config/database.yml.example to ${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 "${REDMINE_DIR}" + if [ -e "${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 config/initializers/session_store.rb || 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 "${REDMINE_DIR}/config/email.yml" ] ; then + ewarn + ewarn "Copy ${REDMINE_DIR}/config/email.yml.example to ${REDMINE_DIR}/config/email.yml and edit this file to adjust your SMTP settings." + ewarn + fi +} |