summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2011-06-04 06:54:28 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2011-06-04 06:54:28 +0000
commita5ca6c879e29228d5efdf93d52c7fc1dd9dd67b0 (patch)
tree2eeed181f5327b998b84af9c0b545fd6d2c72b6d /www-apps/redmine
parentRemove old version. (diff)
downloadhistorical-a5ca6c879e29228d5efdf93d52c7fc1dd9dd67b0.tar.gz
historical-a5ca6c879e29228d5efdf93d52c7fc1dd9dd67b0.tar.bz2
historical-a5ca6c879e29228d5efdf93d52c7fc1dd9dd67b0.zip
Version bumped. Removed SCM USE flags.
Package-Manager: portage-2.1.9.50/cvs/Linux x86_64
Diffstat (limited to 'www-apps/redmine')
-rw-r--r--www-apps/redmine/ChangeLog7
-rw-r--r--www-apps/redmine/Manifest30
-rw-r--r--www-apps/redmine/redmine-1.2.0.ebuild159
3 files changed, 181 insertions, 15 deletions
diff --git a/www-apps/redmine/ChangeLog b/www-apps/redmine/ChangeLog
index 800769013676..cb172c2217a5 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.20 2011/05/12 16:14:10 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/redmine/ChangeLog,v 1.21 2011/06/04 06:54:27 matsuu Exp $
+
+*redmine-1.2.0 (04 Jun 2011)
+
+ 04 Jun 2011; MATSUU Takuto <matsuu@gentoo.org> +redmine-1.2.0.ebuild:
+ Version bumped. Removed SCM USE flags.
*redmine-1.1.3 (12 May 2011)
diff --git a/www-apps/redmine/Manifest b/www-apps/redmine/Manifest
index 76d39f072b83..c65a3d66e7fb 100644
--- a/www-apps/redmine/Manifest
+++ b/www-apps/redmine/Manifest
@@ -6,24 +6,26 @@ AUX redmine.confd 267 RMD160 03b2a3d9d4e156bc0a6bd6969a3ae8800c9a51d9 SHA1 9402f
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
+DIST redmine-1.2.0.tar.gz 5926919 RMD160 18b4f41611dee4154daf9dbfd4e1b25e953ac3f3 SHA1 dae9c47c531b653d9a9018a21ba35f80a3c15981 SHA256 18c26a614c7fb4091eaf4e00c74c64f3d87c041309dba73c361317318c62ce12
EBUILD redmine-1.1.2.ebuild 5142 RMD160 60f8a4e7f0c176f8cf85448b3da6d0598c87ffe6 SHA1 9971bbdebd891f70ab3940adaa56ea604c1a15e5 SHA256 7975b65b3b498ce51c2d5e1a591ded62798429f190a5d923fca65aab7cd2c52c
EBUILD redmine-1.1.3.ebuild 5142 RMD160 abf246b1431f5c202897e5f800436907f6e5d141 SHA1 a239d722095a5fd38729e5919b3f54cb6f42257a SHA256 2eb00cea2817d5c9b4a3760d182319d329e91b4e19412f491a2446add87d9e08
-MISC ChangeLog 3572 RMD160 e1eb5ad342f01a79f4f437a1b1a41537c465a2af SHA1 0511578582f60ec45dc5e3ac3493faeeb11e9cc3 SHA256 f03eafe75eea4cf68d73bd852c5e3b0bcfeb3e10832964e5c4ac94a28333d1ea
+EBUILD redmine-1.2.0.ebuild 5246 RMD160 fa1b40b81a02374eaca42472fab6051f772e2d13 SHA1 684152fa0bcca8599b5067083476ffbc0690dffe SHA256 7e50ea2ff93dcb4bd450ff6aab29d9e54686d90065f76fbeaca7426e6e56e581
+MISC ChangeLog 3716 RMD160 0d67242d1ca017f2eff72641f4eb35ab493bb878 SHA1 54af27a4d04168b0af8c560a2e9a20fe5f6ffbf6 SHA256 c31d276441cb9a4c06dbefb2edc66175fdf860d32957b83d0f047de47842e653
MISC metadata.xml 639 RMD160 fe34460ce10d91252a65a67953fe04df99140d07 SHA1 f35d46b5ba207fb36dba92127395b48260afe770 SHA256 d80112afbed97dbc584e9864d01df04949f7291cd13849b09fc4ff648c0c27fd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-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
+iQIcBAEBAgAGBQJN6datAAoJECaGw+YFKA1pcW8P/3Z685wOO2wQCOiFfQGV8OR+
+hPZglbtZbyeuZTFiE4YL1aXe9fz2EuknZEE8EwJqle27v/t4UKJd5ygqCmD+SEr8
+HPWL1q86e/x0BElVSe3oGC5mIZEAuZARbYyPE1oc/80OwuYdY0Y+bQOcWYgxWKba
+KnVcdonBw/heKZMc6kHW3zGT2OIyOovP/GUSJ6d7gTo9hpelQ1jlcLHA7TGFyPyY
+dwE2NcZ4yxvNr38Rs4gBoCE09We4TimqwgJSER6VRHpDg2TkxCv3SyeqcaFXULiB
+PI4cIM5IsQwzngHlb75rJd5uwcUAA+BzmMZfPErDWii1V0xRVtV8OxCOtjoLug2e
+ai89c47fF5mNXBuzP6ghsHaJxCwBgB2VFpCwT30xuPy+7kJztVzHY4wXUZIaooaV
+EnT4v3Bjq3oH4GzUvMvKMr60wAICj9wJSE7wZERCpySmViMM1u2AavOtHlbHtIR6
+H8e84/9aOUp1zH7ta43bX45I3puxuV9dWmZTP7fwIj2Ot4XQDEK837AOAspX//35
+di6ZRyuZhQwIDCVqscs/wgQFLafsAezLM7x9Tfj1XPZ1PL/VkTyS2oMIpphcuI8h
+Vo74U+69nAG0iELdL2ZBB5VGsroCrVW9r6C273VcwsikuNN2fgEywkgCBfPndhRG
+Qob+p9Tu2PaR51DOq4Ga
+=hVEc
-----END PGP SIGNATURE-----
diff --git a/www-apps/redmine/redmine-1.2.0.ebuild b/www-apps/redmine/redmine-1.2.0.ebuild
new file mode 100644
index 000000000000..defcc335b9e9
--- /dev/null
+++ b/www-apps/redmine/redmine-1.2.0.ebuild
@@ -0,0 +1,159 @@
+# 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.0.ebuild,v 1.1 2011/06/04 06:54:28 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="bazaar cvs darcs fastcgi git imagemagick mercurial mysql openid passenger postgres sqlite3 subversion"
+IUSE="fastcgi imagemagick mysql openid passenger postgres sqlite3"
+
+RDEPEND="$(ruby_implementation_depend ruby18 '>=' -1.8.6)[ssl]"
+
+ruby_add_rdepend "~dev-ruby/coderay-0.9.7
+ >=dev-ruby/rubygems-1.3.7
+ >=dev-ruby/ruby-net-ldap-0.0.4
+ ~dev-ruby/i18n-0.4.2
+ ~dev-ruby/rack-1.1.0
+ dev-ruby/rake"
+ruby_add_rdepend ~dev-ruby/rails-2.3.11: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}
+# 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() {
+ 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 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 "${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
+}