public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/mrueg:master commit in: www-apps/redmine/
@ 2015-09-20 20:59 Manuel Rüger
  0 siblings, 0 replies; 16+ messages in thread
From: Manuel Rüger @ 2015-09-20 20:59 UTC (permalink / raw
  To: gentoo-commits

commit:     12ad416a3232355def0f64dadc6236f6b450b7c8
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 20 20:59:06 2015 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sun Sep 20 20:59:06 2015 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=12ad416a

www-apps/redmine: Version bumps. Remove old

Package-Manager: portage-2.2.20.1

 www-apps/redmine/Manifest                                       | 6 +++---
 www-apps/redmine/{redmine-2.6.6.ebuild => redmine-2.6.7.ebuild} | 0
 www-apps/redmine/{redmine-3.1.0.ebuild => redmine-3.0.5.ebuild} | 0
 www-apps/redmine/{redmine-3.0.4.ebuild => redmine-3.1.1.ebuild} | 0
 4 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/www-apps/redmine/Manifest b/www-apps/redmine/Manifest
index c1e8956..58e71f9 100644
--- a/www-apps/redmine/Manifest
+++ b/www-apps/redmine/Manifest
@@ -1,3 +1,3 @@
-DIST redmine-2.6.6.tar.gz 2125587 SHA256 fa4fdcd37debf8d72b2a481c03160d0eeabddc65cea0b848784b33136fe25cfd SHA512 288a95d0c532af698e848cb3c8cc6d4366cd08c5682b08de5f1410edf8583df7889a2c27487829a5e2b3ace5da2318ebbafc8f770a56165ec1175b052dd7aa26 WHIRLPOOL a119ac8a413105510551dda53c3fe600362acb4ff9250c758460442232d1fad4339401916b77e750b593ec56127b2f7adbe2537eb0604f9be651d4f1f2e923ae
-DIST redmine-3.0.4.tar.gz 2159370 SHA256 860abb86d89aebb027f70f040b3f64ca5b22f4baa15d0a8eaf4004e92906ecdb SHA512 fbd6fb2f97619132d1879e0daac65378011c7aa188a829dbd573d051e05d674c9068c0016b3fd9d83c84743bbd0e5a447875bdd2315a2bd1b05ddb828b3f2fe6 WHIRLPOOL 3e15f7bfa8d0b165827cb581c4c42a83243d9894b8afd9ee8f084c9e21d9db425acc76e0977d9545d3ce4549ade0afc75d3c08f5ae4ada8971a76be482d516bf
-DIST redmine-3.1.0.tar.gz 2243869 SHA256 d7ebeccfd97134ab838b234ab88122d2817e9c713bcd3fc5134b553651eb0ca0 SHA512 52ababfe14f4aa33836d4739662baf0ff4863ecae3a9dae171e594f20161b2bda69f9b7ab6a4d2c454ceb9c813a16bc0e624e7c54ccaa55da6077376ee3148db WHIRLPOOL 1047abf42347f25d71e449c1d9aff69aa94ae56e186cf00ec53e2e3328b8b05b24217b22d3cf9a1ad7ccd0050506d61fae8cc24d34217362bcf4ab61fb7b052f
+DIST redmine-2.6.7.tar.gz 2126506 SHA256 1cb9c5e49db16822c8405f84507cc798b641a0bdd934a0bb5b0689acf0edc1be SHA512 33c45d5673a34568722dbac1067ed6061bf0d05e2944bda71ba35515e59114625ab31756fbc503dd75dad63fccaabdf3dcc2a347ed9cc264c2686666ef78bd4e WHIRLPOOL 36e6bd32a19bacf2a98bf9e17227e7ae8fc71999be30590ba35c8674f12c43e56185f590ae74e9ea3cc129203d52278f3ca0e5b9052b12dd3269f8460ac457a8
+DIST redmine-3.0.5.tar.gz 2160957 SHA256 32b80317b366439be7125a0e3359349fbbe7c7e906c90f3fa08228f03091d74c SHA512 9119029b4949bf821d1d5e8aa2177eecf1caee6a7493af77f8cb100b54b81a29b1561ae5ce509a1bdf3c219a8935600a462765c149cff121fc26a91a842d44b1 WHIRLPOOL d4b776669dddb30d7b04a89f28b69aacf44444c6cdeab7099a2287c2ed43dfa3a84500e711c1326f0dd8361285c63e183419224ed6f854a1da56ec3a84df8cf5
+DIST redmine-3.1.1.tar.gz 2246322 SHA256 57307b919bcc38ada8c5bd06e49d914e428cf11f0fc2cf02d13c5d00afddeecf SHA512 cc3abe0962c132627b8e177b5a054dfe2df62daabfc3daf0d32d627838b8de59ef76d0b9034f9df78fb3fb1a097608ee4c7e74593c935c7eeefd85070f3e58f5 WHIRLPOOL 4727510c544436bdf2e698fd7ea4d3366843ba7207d344fe997c23423f040ea8173859a7b0571e4747952d704904f1fc8bc23484dfccd9f252119e1e5436ceea

diff --git a/www-apps/redmine/redmine-2.6.6.ebuild b/www-apps/redmine/redmine-2.6.7.ebuild
similarity index 100%
rename from www-apps/redmine/redmine-2.6.6.ebuild
rename to www-apps/redmine/redmine-2.6.7.ebuild

diff --git a/www-apps/redmine/redmine-3.1.0.ebuild b/www-apps/redmine/redmine-3.0.5.ebuild
similarity index 100%
rename from www-apps/redmine/redmine-3.1.0.ebuild
rename to www-apps/redmine/redmine-3.0.5.ebuild

diff --git a/www-apps/redmine/redmine-3.0.4.ebuild b/www-apps/redmine/redmine-3.1.1.ebuild
similarity index 100%
rename from www-apps/redmine/redmine-3.0.4.ebuild
rename to www-apps/redmine/redmine-3.1.1.ebuild


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] dev/mrueg:master commit in: www-apps/redmine/
@ 2016-10-15 14:29 Manuel Rüger
  0 siblings, 0 replies; 16+ messages in thread
From: Manuel Rüger @ 2016-10-15 14:29 UTC (permalink / raw
  To: gentoo-commits

commit:     f96da822ce3ae0611fdbd32193149d65a2596313
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 15 14:29:44 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sat Oct 15 14:29:44 2016 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=f96da822

www-apps/redmine: Version bump to 3.3.1, remove old

Package-Manager: portage-2.3.2

 www-apps/redmine/Manifest                                       | 2 +-
 www-apps/redmine/{redmine-3.3.0.ebuild => redmine-3.3.1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apps/redmine/Manifest b/www-apps/redmine/Manifest
index f297493..cf4f481 100644
--- a/www-apps/redmine/Manifest
+++ b/www-apps/redmine/Manifest
@@ -1 +1 @@
-DIST redmine-3.3.0.tar.gz 2353253 SHA256 469a4339c3f8c64c6a62404b1b9c9d260c427e640f5dd53b2eb68b737f9285d5 SHA512 7125cb841fef6ef9b27cf1d466afacb9a4b94e7bc5e8a1a57ff5ab9f70cd5f7170f58fd35140c9c8de64bf9f7eac41a76a961f8fb49d152c64ef054a8684d80d WHIRLPOOL c0dfc5463d6196c31f8d66cadf26a58a482a756c6eb1704578bde3d634f8a1c51b18a2c4b07f31899bbf1e6a7e2526ebf7df3e3cbdab8c42a252b43a91ccbf93
+DIST redmine-3.3.1.tar.gz 2359112 SHA256 bb548bb8001d1137e4bf013c4e96110f7e44e93e43e7e9bae65971388f291f12 SHA512 0bf2f23b0aad6dfc97b3fc816d2d1fef512c7f122a2bcf672af939bca932a61ba8f72981fc4f7dd3485d93dde659ab3cfb6df63b0ba423c1159731cea55bdc1f WHIRLPOOL 0a0a609928e1d57d5626c639f93c6410a3f72af9e1f4ab93aafe9acede5b801aa622466fa081cc3ad22c3e9f5f17fd2ecdeb5f3189923679122283c29a08c18b

diff --git a/www-apps/redmine/redmine-3.3.0.ebuild b/www-apps/redmine/redmine-3.3.1.ebuild
similarity index 99%
rename from www-apps/redmine/redmine-3.3.0.ebuild
rename to www-apps/redmine/redmine-3.3.1.ebuild
index 88b877b..6514d97 100644
--- a/www-apps/redmine/redmine-3.3.0.ebuild
+++ b/www-apps/redmine/redmine-3.3.1.ebuild
@@ -20,7 +20,7 @@ IUSE="ldap fastcgi passenger imagemagick"
 
 ruby_add_rdepend "
 	dev-ruby/rubygems
-	>=dev-ruby/rails-4.2.6:4.2
+	>=dev-ruby/rails-4.2.7.1:4.2
 	>=dev-ruby/jquery-rails-3.1.4:3
 	>=dev-ruby/coderay-1.1.1
 	>=dev-ruby/builder-3.0.4


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] dev/mrueg:master commit in: www-apps/redmine/
@ 2016-08-29  0:11 Manuel Rüger
  0 siblings, 0 replies; 16+ messages in thread
From: Manuel Rüger @ 2016-08-29  0:11 UTC (permalink / raw
  To: gentoo-commits

commit:     7f41eb5eddc279b407d151a64b248e2e19f712b2
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 29 00:09:04 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Aug 29 00:09:04 2016 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=7f41eb5e

www-apps/redmine: Add ruby22

Package-Manager: portage-2.3.0

 www-apps/redmine/redmine-3.3.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apps/redmine/redmine-3.3.0.ebuild b/www-apps/redmine/redmine-3.3.0.ebuild
index cef905a..88b877b 100644
--- a/www-apps/redmine/redmine-3.3.0.ebuild
+++ b/www-apps/redmine/redmine-3.3.0.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=5
-USE_RUBY="ruby20 ruby21"
+USE_RUBY="ruby20 ruby21 ruby22"
 inherit eutils depend.apache ruby-ng user
 
 DESCRIPTION="Flexible project management web application using the Ruby on Rails framework"
@@ -23,7 +23,7 @@ ruby_add_rdepend "
 	>=dev-ruby/rails-4.2.6:4.2
 	>=dev-ruby/jquery-rails-3.1.4:3
 	>=dev-ruby/coderay-1.1.1
-	>=dev-ruby/builder-3.0.4:3
+	>=dev-ruby/builder-3.0.4
 	>=dev-ruby/roadie-rails-1.1.0
 	dev-ruby/mimemagic
 	>=dev-ruby/rails-html-sanitizer-1.0.3


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] dev/mrueg:master commit in: www-apps/redmine/
@ 2016-08-28 20:39 Manuel Rüger
  0 siblings, 0 replies; 16+ messages in thread
From: Manuel Rüger @ 2016-08-28 20:39 UTC (permalink / raw
  To: gentoo-commits

commit:     adfac39f0ca0a6ab55238e588677ee4f87c7dba4
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 28 20:37:23 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sun Aug 28 20:37:23 2016 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=adfac39f

www-apps/redmine: Remove old

Package-Manager: portage-2.3.0

 www-apps/redmine/Manifest             |   1 -
 www-apps/redmine/redmine-3.2.1.ebuild | 211 ----------------------------------
 2 files changed, 212 deletions(-)

diff --git a/www-apps/redmine/Manifest b/www-apps/redmine/Manifest
index 489d3cb..f297493 100644
--- a/www-apps/redmine/Manifest
+++ b/www-apps/redmine/Manifest
@@ -1,2 +1 @@
-DIST redmine-3.2.1.tar.gz 2310459 SHA256 5e69ad50eef27b581e58ea0d72f2dcb19f38db3626e3bd6ed27b74d5a4da5bd6 SHA512 20bc63f82aa58a67c10733338e7aebae3348689531f1f0a6dbedb00301f128ef6a29bd6a33d3075b614e01b23f5311a9739b251fb911298e54d4df06df628bf3 WHIRLPOOL b900978ffe6374cefaa8eab9b711e3062559f5579d241edc6381190d3a6ae1f449ca7a13253914c9cd954d064d4b83e9b7ebc4aed5ff62dcf4d4a2022351ba1e
 DIST redmine-3.3.0.tar.gz 2353253 SHA256 469a4339c3f8c64c6a62404b1b9c9d260c427e640f5dd53b2eb68b737f9285d5 SHA512 7125cb841fef6ef9b27cf1d466afacb9a4b94e7bc5e8a1a57ff5ab9f70cd5f7170f58fd35140c9c8de64bf9f7eac41a76a961f8fb49d152c64ef054a8684d80d WHIRLPOOL c0dfc5463d6196c31f8d66cadf26a58a482a756c6eb1704578bde3d634f8a1c51b18a2c4b07f31899bbf1e6a7e2526ebf7df3e3cbdab8c42a252b43a91ccbf93

diff --git a/www-apps/redmine/redmine-3.2.1.ebuild b/www-apps/redmine/redmine-3.2.1.ebuild
deleted file mode 100644
index 9ad8db4..0000000
--- a/www-apps/redmine/redmine-3.2.1.ebuild
+++ /dev/null
@@ -1,211 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-USE_RUBY="ruby20 ruby21"
-inherit eutils depend.apache ruby-ng user
-
-DESCRIPTION="A flexible project management web application written using Ruby on Rails framework"
-HOMEPAGE="http://www.redmine.org/"
-SRC_URI="http://www.redmine.org/releases/${P}.tar.gz"
-
-KEYWORDS="~amd64"
-LICENSE="GPL-2"
-SLOT="0"
-# All db-related USEs are ineffective since we depend on rails
-# which depends on activerecord which depends on all ruby's db bindings
-#IUSE="ldap openid imagemagick postgres sqlite mysql fastcgi passenger"
-IUSE="ldap fastcgi passenger imagemagick"
-
-ruby_add_rdepend "
-	dev-ruby/rubygems
-	>=dev-ruby/rails-4.2.5.2:4.2
-	>=dev-ruby/jquery-rails-3.1.4:3
-	>=dev-ruby/coderay-1.1.0
-	>=dev-ruby/builder-3.0.4:3
-	>=dev-ruby/roadie-rails-1.1.0
-	dev-ruby/mime-types:*
-	=dev-ruby/request_store-1.0.5
-	>=dev-ruby/rbpdf-1.19.0
-	dev-ruby/actionpack-action_caching
-	dev-ruby/actionpack-xml_parser
-	dev-ruby/protected_attributes
-	>=dev-ruby/redcarpet-3.3.2
-	>=dev-ruby/nokogiri-1.6.7.2
-	ldap? ( >=dev-ruby/ruby-net-ldap-0.12.0 )
-	>=dev-ruby/ruby-openid-2.3.0
-	>=dev-ruby/rack-openid-0.2.1
-	fastcgi? ( dev-ruby/fcgi )
-	passenger? ( www-apache/passenger )
-	imagemagick? ( >=dev-ruby/rmagick-2.14.0 )"
-	#	ruby_targets_ruby19? (
-#		postgres? ( >=dev-ruby/pg-0.11 )
-#		sqlite3? ( dev-ruby/sqlite3 )
-#		mysql? ( dev-ruby/mysql2:0.3 )
-#	)
-
-#ruby_add_bdepend ">=dev-ruby/rdoc-2.4.2
-#	dev-ruby/yard
-#	test? (
-#		>=dev-ruby/shoulda-3.3.2
-#		>=dev-ruby/mocha-0.13.3
-#		>=dev-ruby/capybara-2.0.0
-#		<dev-ruby/nokogiri-1.6.0
-#	)"
-
-REDMINE_DIR="/var/lib/${PN}"
-
-pkg_setup() {
-	enewgroup redmine
-	enewuser redmine -1 -1 "${REDMINE_DIR}" redmine
-}
-
-all_ruby_prepare() {
-	rm -r log files/delete.me || die
-
-	# bug #406605
-	rm .gitignore .hgignore || die
-
-	rm Gemfile || 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}"
-
-	# remove ldap staff module if disabled to avoid #413779
-	use ldap || rm app/models/auth_source_ldap.rb || die
-
-	# Make it work
-	sed -i -e "1irequire 'request_store'" app/controllers/application_controller.rb || die
-	sed -i -e "18irequire 'action_controller'" -e "19irequire 'action_controller/action_caching'"\
-		app/controllers/welcome_controller.rb || die
-	sed -i -e "4irequire 'action_dispatch/xml_params_parser'" -e "/Bundler/d" config/application.rb || die
-	sed -i -e "18irequire 'protected_attributes'" app/models/custom_field.rb || die
-	sed -i -e "19irequire 'roadie-rails'" app/models/mailer.rb || die
-}
-
-all_ruby_install() {
-	dodoc doc/{CHANGELOG,INSTALL,README_FOR_APP,RUNNING_TESTS,UPGRADING}
-	rm -r doc || die
-	dodoc README.rdoc
-	rm README.rdoc || die
-
-	keepdir /var/log/${PN}
-	dosym /var/log/${PN}/ "${REDMINE_DIR}/log"
-
-	insinto "${REDMINE_DIR}"
-	doins -r .
-	keepdir "${REDMINE_DIR}/files"
-	keepdir "${REDMINE_DIR}/public/plugin_assets"
-
-	fowners -R redmine:redmine \
-		"${REDMINE_DIR}/config" \
-		"${REDMINE_DIR}/files" \
-		"${REDMINE_DIR}/public/plugin_assets" \
-		"${REDMINE_DIR}/tmp" \
-		/var/log/${PN}
-
-	fowners redmine:redmine "${REDMINE_DIR}"
-
-	# protect sensitive data, see bug #406605
-	fperms -R go-rwx \
-		"${REDMINE_DIR}/config" \
-		"${REDMINE_DIR}/files" \
-		"${REDMINE_DIR}/tmp" \
-		/var/log/${PN}
-
-	if use passenger; then
-		has_apache
-		insinto "${APACHE_VHOSTS_CONFDIR}"
-		doins "${FILESDIR}/10_redmine_vhost.conf"
-	else
-		newconfd "${FILESDIR}/${PN}.confd" ${PN}
-		newinitd "${FILESDIR}/${PN}-2.initd" ${PN}
-	fi
-	doenvd "${T}/50${PN}"
-}
-
-pkg_postinst() {
-	einfo
-	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" -o -e "${EPREFIX}${REDMINE_DIR}/config/initializers/secret_token.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 initialize environment:"
-		elog
-		elog "# cd ${EPREFIX}${REDMINE_DIR}"
-		elog "# cp config/database.yml.example config/database.yml"
-		elog "# \${EDITOR} config/database.yml"
-		elog "# chown redmine:redmine 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"
-		eerror "then edit this file in order to configure your database settings for \"production\" environment."
-		die
-	fi
-
-	local RAILS_ENV=${RAILS_ENV:-production}
-	if [ ! -L /usr/bin/ruby ]; then
-		eerror "/usr/bin/ruby is not a valid symlink to any ruby implementation."
-		eerror "Please update it via `eselect ruby`"
-		die
-	fi
-	if [[ $RUBY_TARGETS != *$( eselect ruby show | awk 'NR==2' | tr  -d ' '  )* ]]; then
-		eerror "/usr/bin/ruby is currently not included in redmine's ruby targets: ${RUBY_TARGETS}."
-		eerror "Please update it via `eselect ruby`"
-		die
-	fi
-	local RUBY=${RUBY:-ruby}
-
-	cd "${EPREFIX}${REDMINE_DIR}" || die
-	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" ]; then
-		einfo
-		einfo "Generating secret token."
-		einfo
-		rm config/initializers/session_store.rb || die
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake generate_secret_token || die
-	fi
-	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/secret_token.rb" ]; then
-		einfo
-		einfo "Upgrading database."
-		einfo
-
-		einfo "Migrating database."
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
-		einfo "Upgrading the plugin migrations."
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:plugins:migrate || 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 "Initializing database."
-		einfo
-
-		einfo "Generating a session store secret."
-		${RUBY} -S rake generate_secret_token || die
-		einfo "Creating the database structure."
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
-		einfo "Populating database with default configuration data."
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:load_default_data || die
-		chown redmine:redmine "${EPREFIX}${REDMINE_DIR}"/log/production.log
-		einfo
-		einfo "If you use sqlite3, please do not forget to change the ownership of the sqlite files."
-		einfo
-		einfo "# cd \"${EPREFIX}${REDMINE_DIR}\""
-		einfo "# chown redmine:redmine db/ db/*.sqlite3"
-		einfo
-	fi
-}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] dev/mrueg:master commit in: www-apps/redmine/
@ 2016-07-11  0:33 Manuel Rüger
  0 siblings, 0 replies; 16+ messages in thread
From: Manuel Rüger @ 2016-07-11  0:33 UTC (permalink / raw
  To: gentoo-commits

commit:     7630e14109270a2039f7e83db7b04821c6f356e2
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 11 00:33:12 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Jul 11 00:33:12 2016 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=7630e141

www-apps/redmine: Remove old

Package-Manager: portage-2.3.0

 www-apps/redmine/Manifest             |   2 -
 www-apps/redmine/redmine-3.1.3.ebuild | 208 ---------------------------------
 www-apps/redmine/redmine-3.2.0.ebuild | 210 ----------------------------------
 3 files changed, 420 deletions(-)

diff --git a/www-apps/redmine/Manifest b/www-apps/redmine/Manifest
index f8b6451..489d3cb 100644
--- a/www-apps/redmine/Manifest
+++ b/www-apps/redmine/Manifest
@@ -1,4 +1,2 @@
-DIST redmine-3.1.3.tar.gz 2249372 SHA256 a8db4d47f0a45fb135db3d8281dc3275ff033f448e270d6fd290ae7efb36bbc1 SHA512 05244ee2ba33c61d8bb544c3dc165feb4d3e04d09aa8ec0b2f2dd19be51d16b58dd613f615d5a54a20ce338096a5a6207f2950f38e991cada2d87f43f82a1d7d WHIRLPOOL c1db260ed26925ead59a29b07b169d362fd28ab30a0e94d389804b2819214fa598a8a820acd4338a0b8173e0c8993cf97c6bc5079941183635879c7b846430f8
-DIST redmine-3.2.0.tar.gz 2299254 SHA256 73ba69daf67e527787be23e5e8a46307483362d2c54540e7b26a7eb146498715 SHA512 c238963b084e347f88da3aca539ba5eb6fb3cc2cc7f242ace84918b75cd2a3d809798155c5d6bdb17a99ec80ec3f5ab2e533eafffb3eaedd4d7b39476284f49a WHIRLPOOL 08318af017977ef571cda939b3ceca8b2beee37e1d2f6e96f6c89b81744266b68643815a2f8e87924669637c24d67d760dd74067a8daa2d05d83c34d0bf81689
 DIST redmine-3.2.1.tar.gz 2310459 SHA256 5e69ad50eef27b581e58ea0d72f2dcb19f38db3626e3bd6ed27b74d5a4da5bd6 SHA512 20bc63f82aa58a67c10733338e7aebae3348689531f1f0a6dbedb00301f128ef6a29bd6a33d3075b614e01b23f5311a9739b251fb911298e54d4df06df628bf3 WHIRLPOOL b900978ffe6374cefaa8eab9b711e3062559f5579d241edc6381190d3a6ae1f449ca7a13253914c9cd954d064d4b83e9b7ebc4aed5ff62dcf4d4a2022351ba1e
 DIST redmine-3.3.0.tar.gz 2353253 SHA256 469a4339c3f8c64c6a62404b1b9c9d260c427e640f5dd53b2eb68b737f9285d5 SHA512 7125cb841fef6ef9b27cf1d466afacb9a4b94e7bc5e8a1a57ff5ab9f70cd5f7170f58fd35140c9c8de64bf9f7eac41a76a961f8fb49d152c64ef054a8684d80d WHIRLPOOL c0dfc5463d6196c31f8d66cadf26a58a482a756c6eb1704578bde3d634f8a1c51b18a2c4b07f31899bbf1e6a7e2526ebf7df3e3cbdab8c42a252b43a91ccbf93

diff --git a/www-apps/redmine/redmine-3.1.3.ebuild b/www-apps/redmine/redmine-3.1.3.ebuild
deleted file mode 100644
index 7c4f153..0000000
--- a/www-apps/redmine/redmine-3.1.3.ebuild
+++ /dev/null
@@ -1,208 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-USE_RUBY="ruby20 ruby21"
-inherit eutils depend.apache ruby-ng user
-
-DESCRIPTION="A flexible project management web application written using Ruby on Rails framework"
-HOMEPAGE="http://www.redmine.org/"
-SRC_URI="http://www.redmine.org/releases/${P}.tar.gz"
-
-KEYWORDS="~amd64"
-LICENSE="GPL-2"
-SLOT="0"
-# All db-related USEs are ineffective since we depend on rails
-# which depends on activerecord which depends on all ruby's db bindings
-#IUSE="ldap openid imagemagick postgres sqlite mysql fastcgi passenger"
-IUSE="ldap fastcgi passenger imagemagick"
-
-ruby_add_rdepend "
-	dev-ruby/rubygems
-	>=dev-ruby/rails-4.2.3:4.2
-	>=dev-ruby/jquery-rails-3.1.1:3
-	>=dev-ruby/coderay-1.1.0
-	dev-ruby/builder:3
-	dev-ruby/mime-types:*
-	=dev-ruby/request_store-1.0.5
-	>=dev-ruby/rbpdf-1.18.6
-	dev-ruby/actionpack-action_caching
-	dev-ruby/actionpack-xml_parser
-	dev-ruby/protected_attributes
-	>=dev-ruby/redcarpet-3.1.2
-	ldap? ( >=dev-ruby/ruby-net-ldap-0.3.1 )
-	>=dev-ruby/ruby-openid-2.3.0
-	>=dev-ruby/rack-openid-0.2.1
-	fastcgi? ( dev-ruby/fcgi )
-	passenger? ( www-apache/passenger )
-	imagemagick? ( >=dev-ruby/rmagick-2.13.4 )"
-	#	ruby_targets_ruby19? (
-#		postgres? ( >=dev-ruby/pg-0.11 )
-#		sqlite3? ( dev-ruby/sqlite3 )
-#		mysql? ( dev-ruby/mysql2:0.3 )
-#	)
-
-#ruby_add_bdepend ">=dev-ruby/rdoc-2.4.2
-#	dev-ruby/yard
-#	test? (
-#		>=dev-ruby/shoulda-3.3.2
-#		>=dev-ruby/mocha-0.13.3
-#		>=dev-ruby/capybara-2.0.0
-#		<dev-ruby/nokogiri-1.6.0
-#	)"
-
-REDMINE_DIR="/var/lib/${PN}"
-
-pkg_setup() {
-	enewgroup redmine
-	enewuser redmine -1 -1 "${REDMINE_DIR}" redmine
-}
-
-all_ruby_prepare() {
-	rm -r log files/delete.me || die
-
-	# bug #406605
-	rm .gitignore .hgignore .travis.yml || die
-
-	rm Gemfile || 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}"
-
-	# remove ldap staff module if disabled to avoid #413779
-	use ldap || rm app/models/auth_source_ldap.rb || die
-
-	# Make it work
-	sed -i -e "1irequire 'request_store'" app/controllers/application_controller.rb || die
-	sed -i -e "18irequire 'action_controller'" -e "19irequire 'action_controller/action_caching'"\
-		app/controllers/welcome_controller.rb || die
-	sed -i -e "4irequire 'action_dispatch/xml_params_parser'" -e "/Bundler/d" config/application.rb || die
-	sed -i -e "18irequire 'protected_attributes'" app/models/custom_field.rb || die
-}
-
-all_ruby_install() {
-	dodoc doc/{CHANGELOG,INSTALL,README_FOR_APP,RUNNING_TESTS,UPGRADING}
-	rm -r doc || die
-	dodoc README.rdoc
-	rm README.rdoc || die
-
-	keepdir /var/log/${PN}
-	dosym /var/log/${PN}/ "${REDMINE_DIR}/log"
-
-	insinto "${REDMINE_DIR}"
-	doins -r .
-	keepdir "${REDMINE_DIR}/files"
-	keepdir "${REDMINE_DIR}/public/plugin_assets"
-
-	fowners -R redmine:redmine \
-		"${REDMINE_DIR}/config" \
-		"${REDMINE_DIR}/files" \
-		"${REDMINE_DIR}/public/plugin_assets" \
-		"${REDMINE_DIR}/tmp" \
-		/var/log/${PN}
-
-	fowners redmine:redmine "${REDMINE_DIR}"
-
-	# protect sensitive data, see bug #406605
-	fperms -R go-rwx \
-		"${REDMINE_DIR}/config" \
-		"${REDMINE_DIR}/files" \
-		"${REDMINE_DIR}/tmp" \
-		/var/log/${PN}
-
-	if use passenger; then
-		has_apache
-		insinto "${APACHE_VHOSTS_CONFDIR}"
-		doins "${FILESDIR}/10_redmine_vhost.conf"
-	else
-		newconfd "${FILESDIR}/${PN}.confd" ${PN}
-		newinitd "${FILESDIR}/${PN}-2.initd" ${PN}
-	fi
-	doenvd "${T}/50${PN}"
-}
-
-pkg_postinst() {
-	einfo
-	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" -o -e "${EPREFIX}${REDMINE_DIR}/config/initializers/secret_token.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 initialize environment:"
-		elog
-		elog "# cd ${EPREFIX}${REDMINE_DIR}"
-		elog "# cp config/database.yml.example config/database.yml"
-		elog "# \${EDITOR} config/database.yml"
-		elog "# chown redmine:redmine 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"
-		eerror "then edit this file in order to configure your database settings for \"production\" environment."
-		die
-	fi
-
-	local RAILS_ENV=${RAILS_ENV:-production}
-	if [ ! -L /usr/bin/ruby ]; then
-		eerror "/usr/bin/ruby is not a valid symlink to any ruby implementation."
-		eerror "Please update it via `eselect ruby`"
-		die
-	fi
-	if [[ $RUBY_TARGETS != *$( eselect ruby show | awk 'NR==2' | tr  -d ' '  )* ]]; then
-		eerror "/usr/bin/ruby is currently not included in redmine's ruby targets: ${RUBY_TARGETS}."
-		eerror "Please update it via `eselect ruby`"
-		die
-	fi
-	local RUBY=${RUBY:-ruby}
-
-	cd "${EPREFIX}${REDMINE_DIR}" || die
-	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" ]; then
-		einfo
-		einfo "Generating secret token."
-		einfo
-		rm config/initializers/session_store.rb || die
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake generate_secret_token || die
-	fi
-	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/secret_token.rb" ]; then
-		einfo
-		einfo "Upgrading database."
-		einfo
-
-		einfo "Migrating database."
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
-		einfo "Upgrading the plugin migrations."
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:plugins:migrate || 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 "Initializing database."
-		einfo
-
-		einfo "Generating a session store secret."
-		${RUBY} -S rake generate_secret_token || die
-		einfo "Creating the database structure."
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
-		einfo "Populating database with default configuration data."
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:load_default_data || die
-		chown redmine:redmine "${EPREFIX}${REDMINE_DIR}"/log/production.log
-		einfo
-		einfo "If you use sqlite3, please do not forget to change the ownership of the sqlite files."
-		einfo
-		einfo "# cd \"${EPREFIX}${REDMINE_DIR}\""
-		einfo "# chown redmine:redmine db/ db/*.sqlite3"
-		einfo
-	fi
-}

diff --git a/www-apps/redmine/redmine-3.2.0.ebuild b/www-apps/redmine/redmine-3.2.0.ebuild
deleted file mode 100644
index 03825c3..0000000
--- a/www-apps/redmine/redmine-3.2.0.ebuild
+++ /dev/null
@@ -1,210 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-USE_RUBY="ruby20 ruby21"
-inherit eutils depend.apache ruby-ng user
-
-DESCRIPTION="A flexible project management web application written using Ruby on Rails framework"
-HOMEPAGE="http://www.redmine.org/"
-SRC_URI="http://www.redmine.org/releases/${P}.tar.gz"
-
-KEYWORDS="~amd64"
-LICENSE="GPL-2"
-SLOT="0"
-# All db-related USEs are ineffective since we depend on rails
-# which depends on activerecord which depends on all ruby's db bindings
-#IUSE="ldap openid imagemagick postgres sqlite mysql fastcgi passenger"
-IUSE="ldap fastcgi passenger imagemagick"
-
-ruby_add_rdepend "
-	dev-ruby/rubygems
-	>=dev-ruby/rails-4.2.5:4.2
-	>=dev-ruby/jquery-rails-3.1.4:3
-	>=dev-ruby/coderay-1.1.0
-	>=dev-ruby/builder-3.0.4:3
-	>=dev-ruby/roadie-rails-1.1.0
-	dev-ruby/mime-types:*
-	=dev-ruby/request_store-1.0.5
-	>=dev-ruby/rbpdf-1.19.0
-	dev-ruby/actionpack-action_caching
-	dev-ruby/actionpack-xml_parser
-	dev-ruby/protected_attributes
-	>=dev-ruby/redcarpet-3.3.2
-	ldap? ( >=dev-ruby/ruby-net-ldap-0.12.0 )
-	>=dev-ruby/ruby-openid-2.3.0
-	>=dev-ruby/rack-openid-0.2.1
-	fastcgi? ( dev-ruby/fcgi )
-	passenger? ( www-apache/passenger )
-	imagemagick? ( >=dev-ruby/rmagick-2.14.0 )"
-	#	ruby_targets_ruby19? (
-#		postgres? ( >=dev-ruby/pg-0.11 )
-#		sqlite3? ( dev-ruby/sqlite3 )
-#		mysql? ( dev-ruby/mysql2:0.3 )
-#	)
-
-#ruby_add_bdepend ">=dev-ruby/rdoc-2.4.2
-#	dev-ruby/yard
-#	test? (
-#		>=dev-ruby/shoulda-3.3.2
-#		>=dev-ruby/mocha-0.13.3
-#		>=dev-ruby/capybara-2.0.0
-#		<dev-ruby/nokogiri-1.6.0
-#	)"
-
-REDMINE_DIR="/var/lib/${PN}"
-
-pkg_setup() {
-	enewgroup redmine
-	enewuser redmine -1 -1 "${REDMINE_DIR}" redmine
-}
-
-all_ruby_prepare() {
-	rm -r log files/delete.me || die
-
-	# bug #406605
-	rm .gitignore .hgignore .travis.yml || die
-
-	rm Gemfile || 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}"
-
-	# remove ldap staff module if disabled to avoid #413779
-	use ldap || rm app/models/auth_source_ldap.rb || die
-
-	# Make it work
-	sed -i -e "1irequire 'request_store'" app/controllers/application_controller.rb || die
-	sed -i -e "18irequire 'action_controller'" -e "19irequire 'action_controller/action_caching'"\
-		app/controllers/welcome_controller.rb || die
-	sed -i -e "4irequire 'action_dispatch/xml_params_parser'" -e "/Bundler/d" config/application.rb || die
-	sed -i -e "18irequire 'protected_attributes'" app/models/custom_field.rb || die
-	sed -i -e "19irequire 'roadie-rails'" app/models/mailer.rb || die
-}
-
-all_ruby_install() {
-	dodoc doc/{CHANGELOG,INSTALL,README_FOR_APP,RUNNING_TESTS,UPGRADING}
-	rm -r doc || die
-	dodoc README.rdoc
-	rm README.rdoc || die
-
-	keepdir /var/log/${PN}
-	dosym /var/log/${PN}/ "${REDMINE_DIR}/log"
-
-	insinto "${REDMINE_DIR}"
-	doins -r .
-	keepdir "${REDMINE_DIR}/files"
-	keepdir "${REDMINE_DIR}/public/plugin_assets"
-
-	fowners -R redmine:redmine \
-		"${REDMINE_DIR}/config" \
-		"${REDMINE_DIR}/files" \
-		"${REDMINE_DIR}/public/plugin_assets" \
-		"${REDMINE_DIR}/tmp" \
-		/var/log/${PN}
-
-	fowners redmine:redmine "${REDMINE_DIR}"
-
-	# protect sensitive data, see bug #406605
-	fperms -R go-rwx \
-		"${REDMINE_DIR}/config" \
-		"${REDMINE_DIR}/files" \
-		"${REDMINE_DIR}/tmp" \
-		/var/log/${PN}
-
-	if use passenger; then
-		has_apache
-		insinto "${APACHE_VHOSTS_CONFDIR}"
-		doins "${FILESDIR}/10_redmine_vhost.conf"
-	else
-		newconfd "${FILESDIR}/${PN}.confd" ${PN}
-		newinitd "${FILESDIR}/${PN}-2.initd" ${PN}
-	fi
-	doenvd "${T}/50${PN}"
-}
-
-pkg_postinst() {
-	einfo
-	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" -o -e "${EPREFIX}${REDMINE_DIR}/config/initializers/secret_token.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 initialize environment:"
-		elog
-		elog "# cd ${EPREFIX}${REDMINE_DIR}"
-		elog "# cp config/database.yml.example config/database.yml"
-		elog "# \${EDITOR} config/database.yml"
-		elog "# chown redmine:redmine 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"
-		eerror "then edit this file in order to configure your database settings for \"production\" environment."
-		die
-	fi
-
-	local RAILS_ENV=${RAILS_ENV:-production}
-	if [ ! -L /usr/bin/ruby ]; then
-		eerror "/usr/bin/ruby is not a valid symlink to any ruby implementation."
-		eerror "Please update it via `eselect ruby`"
-		die
-	fi
-	if [[ $RUBY_TARGETS != *$( eselect ruby show | awk 'NR==2' | tr  -d ' '  )* ]]; then
-		eerror "/usr/bin/ruby is currently not included in redmine's ruby targets: ${RUBY_TARGETS}."
-		eerror "Please update it via `eselect ruby`"
-		die
-	fi
-	local RUBY=${RUBY:-ruby}
-
-	cd "${EPREFIX}${REDMINE_DIR}" || die
-	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" ]; then
-		einfo
-		einfo "Generating secret token."
-		einfo
-		rm config/initializers/session_store.rb || die
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake generate_secret_token || die
-	fi
-	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/secret_token.rb" ]; then
-		einfo
-		einfo "Upgrading database."
-		einfo
-
-		einfo "Migrating database."
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
-		einfo "Upgrading the plugin migrations."
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:plugins:migrate || 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 "Initializing database."
-		einfo
-
-		einfo "Generating a session store secret."
-		${RUBY} -S rake generate_secret_token || die
-		einfo "Creating the database structure."
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
-		einfo "Populating database with default configuration data."
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:load_default_data || die
-		chown redmine:redmine "${EPREFIX}${REDMINE_DIR}"/log/production.log
-		einfo
-		einfo "If you use sqlite3, please do not forget to change the ownership of the sqlite files."
-		einfo
-		einfo "# cd \"${EPREFIX}${REDMINE_DIR}\""
-		einfo "# chown redmine:redmine db/ db/*.sqlite3"
-		einfo
-	fi
-}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] dev/mrueg:master commit in: www-apps/redmine/
@ 2016-07-11  0:33 Manuel Rüger
  0 siblings, 0 replies; 16+ messages in thread
From: Manuel Rüger @ 2016-07-11  0:33 UTC (permalink / raw
  To: gentoo-commits

commit:     89968c457992ee468ba158020e9ff4d943b7cb99
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 11 00:32:55 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Jul 11 00:32:55 2016 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=89968c45

www-apps/redmine: Version bump to 3.3.0

Package-Manager: portage-2.3.0

 www-apps/redmine/Manifest             |   1 +
 www-apps/redmine/metadata.xml         |   2 +-
 www-apps/redmine/redmine-3.3.0.ebuild | 213 ++++++++++++++++++++++++++++++++++
 3 files changed, 215 insertions(+), 1 deletion(-)

diff --git a/www-apps/redmine/Manifest b/www-apps/redmine/Manifest
index 2d8936f..f8b6451 100644
--- a/www-apps/redmine/Manifest
+++ b/www-apps/redmine/Manifest
@@ -1,3 +1,4 @@
 DIST redmine-3.1.3.tar.gz 2249372 SHA256 a8db4d47f0a45fb135db3d8281dc3275ff033f448e270d6fd290ae7efb36bbc1 SHA512 05244ee2ba33c61d8bb544c3dc165feb4d3e04d09aa8ec0b2f2dd19be51d16b58dd613f615d5a54a20ce338096a5a6207f2950f38e991cada2d87f43f82a1d7d WHIRLPOOL c1db260ed26925ead59a29b07b169d362fd28ab30a0e94d389804b2819214fa598a8a820acd4338a0b8173e0c8993cf97c6bc5079941183635879c7b846430f8
 DIST redmine-3.2.0.tar.gz 2299254 SHA256 73ba69daf67e527787be23e5e8a46307483362d2c54540e7b26a7eb146498715 SHA512 c238963b084e347f88da3aca539ba5eb6fb3cc2cc7f242ace84918b75cd2a3d809798155c5d6bdb17a99ec80ec3f5ab2e533eafffb3eaedd4d7b39476284f49a WHIRLPOOL 08318af017977ef571cda939b3ceca8b2beee37e1d2f6e96f6c89b81744266b68643815a2f8e87924669637c24d67d760dd74067a8daa2d05d83c34d0bf81689
 DIST redmine-3.2.1.tar.gz 2310459 SHA256 5e69ad50eef27b581e58ea0d72f2dcb19f38db3626e3bd6ed27b74d5a4da5bd6 SHA512 20bc63f82aa58a67c10733338e7aebae3348689531f1f0a6dbedb00301f128ef6a29bd6a33d3075b614e01b23f5311a9739b251fb911298e54d4df06df628bf3 WHIRLPOOL b900978ffe6374cefaa8eab9b711e3062559f5579d241edc6381190d3a6ae1f449ca7a13253914c9cd954d064d4b83e9b7ebc4aed5ff62dcf4d4a2022351ba1e
+DIST redmine-3.3.0.tar.gz 2353253 SHA256 469a4339c3f8c64c6a62404b1b9c9d260c427e640f5dd53b2eb68b737f9285d5 SHA512 7125cb841fef6ef9b27cf1d466afacb9a4b94e7bc5e8a1a57ff5ab9f70cd5f7170f58fd35140c9c8de64bf9f7eac41a76a961f8fb49d152c64ef054a8684d80d WHIRLPOOL c0dfc5463d6196c31f8d66cadf26a58a482a756c6eb1704578bde3d634f8a1c51b18a2c4b07f31899bbf1e6a7e2526ebf7df3e3cbdab8c42a252b43a91ccbf93

diff --git a/www-apps/redmine/metadata.xml b/www-apps/redmine/metadata.xml
index 22fab00..3babff8 100644
--- a/www-apps/redmine/metadata.xml
+++ b/www-apps/redmine/metadata.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<maintainer>
+	<maintainer type="person">
 		<email>mrueg@gentoo.org</email>
 		<name>Manuel Rüger</name>
 	</maintainer>

diff --git a/www-apps/redmine/redmine-3.3.0.ebuild b/www-apps/redmine/redmine-3.3.0.ebuild
new file mode 100644
index 0000000..cef905a
--- /dev/null
+++ b/www-apps/redmine/redmine-3.3.0.ebuild
@@ -0,0 +1,213 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21"
+inherit eutils depend.apache ruby-ng user
+
+DESCRIPTION="Flexible project management web application using the Ruby on Rails framework"
+HOMEPAGE="http://www.redmine.org/"
+SRC_URI="http://www.redmine.org/releases/${P}.tar.gz"
+
+KEYWORDS="~amd64"
+LICENSE="GPL-2"
+SLOT="0"
+# All db-related USEs are ineffective since we depend on rails
+# which depends on activerecord which depends on all ruby's db bindings
+#IUSE="ldap openid imagemagick postgres sqlite mysql fastcgi passenger"
+IUSE="ldap fastcgi passenger imagemagick"
+
+ruby_add_rdepend "
+	dev-ruby/rubygems
+	>=dev-ruby/rails-4.2.6:4.2
+	>=dev-ruby/jquery-rails-3.1.4:3
+	>=dev-ruby/coderay-1.1.1
+	>=dev-ruby/builder-3.0.4:3
+	>=dev-ruby/roadie-rails-1.1.0
+	dev-ruby/mimemagic
+	>=dev-ruby/rails-html-sanitizer-1.0.3
+	dev-ruby/mime-types:3
+	=dev-ruby/request_store-1.0.5
+	>=dev-ruby/rbpdf-1.19.0
+	dev-ruby/actionpack-action_caching
+	dev-ruby/actionpack-xml_parser
+	dev-ruby/protected_attributes
+	>=dev-ruby/redcarpet-3.3.2
+	>=dev-ruby/nokogiri-1.6.7.2
+	ldap? ( >=dev-ruby/ruby-net-ldap-0.12.0 )
+	>=dev-ruby/ruby-openid-2.3.0
+	>=dev-ruby/rack-openid-0.2.1
+	fastcgi? ( dev-ruby/fcgi )
+	passenger? ( www-apache/passenger )
+	imagemagick? ( >=dev-ruby/rmagick-2.14.0 )"
+	#	ruby_targets_ruby19? (
+#		postgres? ( >=dev-ruby/pg-0.11 )
+#		sqlite3? ( dev-ruby/sqlite3 )
+#		mysql? ( dev-ruby/mysql2:0.3 )
+#	)
+
+#ruby_add_bdepend ">=dev-ruby/rdoc-2.4.2
+#	dev-ruby/yard
+#	test? (
+#		>=dev-ruby/shoulda-3.3.2
+#		>=dev-ruby/mocha-0.13.3
+#		>=dev-ruby/capybara-2.0.0
+#		<dev-ruby/nokogiri-1.6.0
+#	)"
+
+REDMINE_DIR="/var/lib/${PN}"
+
+pkg_setup() {
+	enewgroup redmine
+	enewuser redmine -1 -1 "${REDMINE_DIR}" redmine
+}
+
+all_ruby_prepare() {
+	rm -r log files/delete.me || die
+
+	# bug #406605
+	rm .gitignore .hgignore || die
+
+	rm Gemfile || 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}"
+
+	# remove ldap staff module if disabled to avoid #413779
+	use ldap || rm app/models/auth_source_ldap.rb || die
+
+	# Make it work
+	sed -i -e "1irequire 'request_store'" app/controllers/application_controller.rb || die
+	sed -i -e "18irequire 'action_controller'" -e "19irequire 'action_controller/action_caching'"\
+		app/controllers/welcome_controller.rb || die
+	sed -i -e "4irequire 'action_dispatch/xml_params_parser'" -e "/Bundler/d" config/application.rb || die
+	sed -i -e "18irequire 'protected_attributes'" app/models/custom_field.rb || die
+	sed -i -e "19irequire 'roadie-rails'" app/models/mailer.rb || die
+}
+
+all_ruby_install() {
+	dodoc doc/{CHANGELOG,INSTALL,README_FOR_APP,RUNNING_TESTS,UPGRADING}
+	rm -r doc || die
+	dodoc README.rdoc
+	rm README.rdoc || die
+
+	keepdir /var/log/${PN}
+	dosym /var/log/${PN}/ "${REDMINE_DIR}/log"
+
+	insinto "${REDMINE_DIR}"
+	doins -r .
+	keepdir "${REDMINE_DIR}/files"
+	keepdir "${REDMINE_DIR}/public/plugin_assets"
+
+	fowners -R redmine:redmine \
+		"${REDMINE_DIR}/config" \
+		"${REDMINE_DIR}/files" \
+		"${REDMINE_DIR}/public/plugin_assets" \
+		"${REDMINE_DIR}/tmp" \
+		/var/log/${PN}
+
+	fowners redmine:redmine "${REDMINE_DIR}"
+
+	# protect sensitive data, see bug #406605
+	fperms -R go-rwx \
+		"${REDMINE_DIR}/config" \
+		"${REDMINE_DIR}/files" \
+		"${REDMINE_DIR}/tmp" \
+		/var/log/${PN}
+
+	if use passenger; then
+		has_apache
+		insinto "${APACHE_VHOSTS_CONFDIR}"
+		doins "${FILESDIR}/10_redmine_vhost.conf"
+	else
+		newconfd "${FILESDIR}/${PN}.confd" ${PN}
+		newinitd "${FILESDIR}/${PN}-2.initd" ${PN}
+	fi
+	doenvd "${T}/50${PN}"
+}
+
+pkg_postinst() {
+	einfo
+	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" -o -e "${EPREFIX}${REDMINE_DIR}/config/initializers/secret_token.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 initialize environment:"
+		elog
+		elog "# cd ${EPREFIX}${REDMINE_DIR}"
+		elog "# cp config/database.yml.example config/database.yml"
+		elog "# \${EDITOR} config/database.yml"
+		elog "# chown redmine:redmine 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"
+		eerror "then edit this file in order to configure your database settings for \"production\" environment."
+		die
+	fi
+
+	local RAILS_ENV=${RAILS_ENV:-production}
+	if [ ! -L /usr/bin/ruby ]; then
+		eerror "/usr/bin/ruby is not a valid symlink to any ruby implementation."
+		eerror "Please update it via `eselect ruby`"
+		die
+	fi
+	if [[ $RUBY_TARGETS != *$( eselect ruby show | awk 'NR==2' | tr  -d ' '  )* ]]; then
+		eerror "/usr/bin/ruby is currently not included in redmine's ruby targets: ${RUBY_TARGETS}."
+		eerror "Please update it via `eselect ruby`"
+		die
+	fi
+	local RUBY=${RUBY:-ruby}
+
+	cd "${EPREFIX}${REDMINE_DIR}" || die
+	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" ]; then
+		einfo
+		einfo "Generating secret token."
+		einfo
+		rm config/initializers/session_store.rb || die
+		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake generate_secret_token || die
+	fi
+	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/secret_token.rb" ]; then
+		einfo
+		einfo "Upgrading database."
+		einfo
+
+		einfo "Migrating database."
+		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
+		einfo "Upgrading the plugin migrations."
+		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:plugins:migrate || 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 "Initializing database."
+		einfo
+
+		einfo "Generating a session store secret."
+		${RUBY} -S rake generate_secret_token || die
+		einfo "Creating the database structure."
+		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
+		einfo "Populating database with default configuration data."
+		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:load_default_data || die
+		chown redmine:redmine "${EPREFIX}${REDMINE_DIR}"/log/production.log
+		einfo
+		einfo "If you use sqlite3, please do not forget to change the ownership of the sqlite files."
+		einfo
+		einfo "# cd \"${EPREFIX}${REDMINE_DIR}\""
+		einfo "# chown redmine:redmine db/ db/*.sqlite3"
+		einfo
+	fi
+}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] dev/mrueg:master commit in: www-apps/redmine/
@ 2016-03-17  1:17 Manuel Rüger
  0 siblings, 0 replies; 16+ messages in thread
From: Manuel Rüger @ 2016-03-17  1:17 UTC (permalink / raw
  To: gentoo-commits

commit:     e5e506b96632f7d0e0f2519cbb327149a18af912
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 17 01:16:59 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Thu Mar 17 01:16:59 2016 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=e5e506b9

www-apps/redmine: Remove old

Package-Manager: portage-2.2.28

 www-apps/redmine/Manifest             |   1 -
 www-apps/redmine/redmine-3.0.7.ebuild | 208 ----------------------------------
 2 files changed, 209 deletions(-)

diff --git a/www-apps/redmine/Manifest b/www-apps/redmine/Manifest
index 1cba57f..2d8936f 100644
--- a/www-apps/redmine/Manifest
+++ b/www-apps/redmine/Manifest
@@ -1,4 +1,3 @@
-DIST redmine-3.0.7.tar.gz 2163194 SHA256 b9e602a3b0004b7c17685aab13dfcc21f54475c4a0d605ce98ae15422c338526 SHA512 330dc05ea3051ca1bed316fc897c1bfc409dedc522e17b7fa09f350a66d9ae68a2c70e7171be6e796b82ed0d0e5a12407f8c785c2b9efec187146ca40e15ab7d WHIRLPOOL 4efa450691f1e2a501d3e4c20c8a67c14ef54fc135e61002aac1f763dc56c3f5ee00ff24b916710917aa9bf6a68fdc9388f29eae803afe75c0287375276f34af
 DIST redmine-3.1.3.tar.gz 2249372 SHA256 a8db4d47f0a45fb135db3d8281dc3275ff033f448e270d6fd290ae7efb36bbc1 SHA512 05244ee2ba33c61d8bb544c3dc165feb4d3e04d09aa8ec0b2f2dd19be51d16b58dd613f615d5a54a20ce338096a5a6207f2950f38e991cada2d87f43f82a1d7d WHIRLPOOL c1db260ed26925ead59a29b07b169d362fd28ab30a0e94d389804b2819214fa598a8a820acd4338a0b8173e0c8993cf97c6bc5079941183635879c7b846430f8
 DIST redmine-3.2.0.tar.gz 2299254 SHA256 73ba69daf67e527787be23e5e8a46307483362d2c54540e7b26a7eb146498715 SHA512 c238963b084e347f88da3aca539ba5eb6fb3cc2cc7f242ace84918b75cd2a3d809798155c5d6bdb17a99ec80ec3f5ab2e533eafffb3eaedd4d7b39476284f49a WHIRLPOOL 08318af017977ef571cda939b3ceca8b2beee37e1d2f6e96f6c89b81744266b68643815a2f8e87924669637c24d67d760dd74067a8daa2d05d83c34d0bf81689
 DIST redmine-3.2.1.tar.gz 2310459 SHA256 5e69ad50eef27b581e58ea0d72f2dcb19f38db3626e3bd6ed27b74d5a4da5bd6 SHA512 20bc63f82aa58a67c10733338e7aebae3348689531f1f0a6dbedb00301f128ef6a29bd6a33d3075b614e01b23f5311a9739b251fb911298e54d4df06df628bf3 WHIRLPOOL b900978ffe6374cefaa8eab9b711e3062559f5579d241edc6381190d3a6ae1f449ca7a13253914c9cd954d064d4b83e9b7ebc4aed5ff62dcf4d4a2022351ba1e

diff --git a/www-apps/redmine/redmine-3.0.7.ebuild b/www-apps/redmine/redmine-3.0.7.ebuild
deleted file mode 100644
index 7c4f153..0000000
--- a/www-apps/redmine/redmine-3.0.7.ebuild
+++ /dev/null
@@ -1,208 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-USE_RUBY="ruby20 ruby21"
-inherit eutils depend.apache ruby-ng user
-
-DESCRIPTION="A flexible project management web application written using Ruby on Rails framework"
-HOMEPAGE="http://www.redmine.org/"
-SRC_URI="http://www.redmine.org/releases/${P}.tar.gz"
-
-KEYWORDS="~amd64"
-LICENSE="GPL-2"
-SLOT="0"
-# All db-related USEs are ineffective since we depend on rails
-# which depends on activerecord which depends on all ruby's db bindings
-#IUSE="ldap openid imagemagick postgres sqlite mysql fastcgi passenger"
-IUSE="ldap fastcgi passenger imagemagick"
-
-ruby_add_rdepend "
-	dev-ruby/rubygems
-	>=dev-ruby/rails-4.2.3:4.2
-	>=dev-ruby/jquery-rails-3.1.1:3
-	>=dev-ruby/coderay-1.1.0
-	dev-ruby/builder:3
-	dev-ruby/mime-types:*
-	=dev-ruby/request_store-1.0.5
-	>=dev-ruby/rbpdf-1.18.6
-	dev-ruby/actionpack-action_caching
-	dev-ruby/actionpack-xml_parser
-	dev-ruby/protected_attributes
-	>=dev-ruby/redcarpet-3.1.2
-	ldap? ( >=dev-ruby/ruby-net-ldap-0.3.1 )
-	>=dev-ruby/ruby-openid-2.3.0
-	>=dev-ruby/rack-openid-0.2.1
-	fastcgi? ( dev-ruby/fcgi )
-	passenger? ( www-apache/passenger )
-	imagemagick? ( >=dev-ruby/rmagick-2.13.4 )"
-	#	ruby_targets_ruby19? (
-#		postgres? ( >=dev-ruby/pg-0.11 )
-#		sqlite3? ( dev-ruby/sqlite3 )
-#		mysql? ( dev-ruby/mysql2:0.3 )
-#	)
-
-#ruby_add_bdepend ">=dev-ruby/rdoc-2.4.2
-#	dev-ruby/yard
-#	test? (
-#		>=dev-ruby/shoulda-3.3.2
-#		>=dev-ruby/mocha-0.13.3
-#		>=dev-ruby/capybara-2.0.0
-#		<dev-ruby/nokogiri-1.6.0
-#	)"
-
-REDMINE_DIR="/var/lib/${PN}"
-
-pkg_setup() {
-	enewgroup redmine
-	enewuser redmine -1 -1 "${REDMINE_DIR}" redmine
-}
-
-all_ruby_prepare() {
-	rm -r log files/delete.me || die
-
-	# bug #406605
-	rm .gitignore .hgignore .travis.yml || die
-
-	rm Gemfile || 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}"
-
-	# remove ldap staff module if disabled to avoid #413779
-	use ldap || rm app/models/auth_source_ldap.rb || die
-
-	# Make it work
-	sed -i -e "1irequire 'request_store'" app/controllers/application_controller.rb || die
-	sed -i -e "18irequire 'action_controller'" -e "19irequire 'action_controller/action_caching'"\
-		app/controllers/welcome_controller.rb || die
-	sed -i -e "4irequire 'action_dispatch/xml_params_parser'" -e "/Bundler/d" config/application.rb || die
-	sed -i -e "18irequire 'protected_attributes'" app/models/custom_field.rb || die
-}
-
-all_ruby_install() {
-	dodoc doc/{CHANGELOG,INSTALL,README_FOR_APP,RUNNING_TESTS,UPGRADING}
-	rm -r doc || die
-	dodoc README.rdoc
-	rm README.rdoc || die
-
-	keepdir /var/log/${PN}
-	dosym /var/log/${PN}/ "${REDMINE_DIR}/log"
-
-	insinto "${REDMINE_DIR}"
-	doins -r .
-	keepdir "${REDMINE_DIR}/files"
-	keepdir "${REDMINE_DIR}/public/plugin_assets"
-
-	fowners -R redmine:redmine \
-		"${REDMINE_DIR}/config" \
-		"${REDMINE_DIR}/files" \
-		"${REDMINE_DIR}/public/plugin_assets" \
-		"${REDMINE_DIR}/tmp" \
-		/var/log/${PN}
-
-	fowners redmine:redmine "${REDMINE_DIR}"
-
-	# protect sensitive data, see bug #406605
-	fperms -R go-rwx \
-		"${REDMINE_DIR}/config" \
-		"${REDMINE_DIR}/files" \
-		"${REDMINE_DIR}/tmp" \
-		/var/log/${PN}
-
-	if use passenger; then
-		has_apache
-		insinto "${APACHE_VHOSTS_CONFDIR}"
-		doins "${FILESDIR}/10_redmine_vhost.conf"
-	else
-		newconfd "${FILESDIR}/${PN}.confd" ${PN}
-		newinitd "${FILESDIR}/${PN}-2.initd" ${PN}
-	fi
-	doenvd "${T}/50${PN}"
-}
-
-pkg_postinst() {
-	einfo
-	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" -o -e "${EPREFIX}${REDMINE_DIR}/config/initializers/secret_token.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 initialize environment:"
-		elog
-		elog "# cd ${EPREFIX}${REDMINE_DIR}"
-		elog "# cp config/database.yml.example config/database.yml"
-		elog "# \${EDITOR} config/database.yml"
-		elog "# chown redmine:redmine 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"
-		eerror "then edit this file in order to configure your database settings for \"production\" environment."
-		die
-	fi
-
-	local RAILS_ENV=${RAILS_ENV:-production}
-	if [ ! -L /usr/bin/ruby ]; then
-		eerror "/usr/bin/ruby is not a valid symlink to any ruby implementation."
-		eerror "Please update it via `eselect ruby`"
-		die
-	fi
-	if [[ $RUBY_TARGETS != *$( eselect ruby show | awk 'NR==2' | tr  -d ' '  )* ]]; then
-		eerror "/usr/bin/ruby is currently not included in redmine's ruby targets: ${RUBY_TARGETS}."
-		eerror "Please update it via `eselect ruby`"
-		die
-	fi
-	local RUBY=${RUBY:-ruby}
-
-	cd "${EPREFIX}${REDMINE_DIR}" || die
-	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" ]; then
-		einfo
-		einfo "Generating secret token."
-		einfo
-		rm config/initializers/session_store.rb || die
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake generate_secret_token || die
-	fi
-	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/secret_token.rb" ]; then
-		einfo
-		einfo "Upgrading database."
-		einfo
-
-		einfo "Migrating database."
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
-		einfo "Upgrading the plugin migrations."
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:plugins:migrate || 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 "Initializing database."
-		einfo
-
-		einfo "Generating a session store secret."
-		${RUBY} -S rake generate_secret_token || die
-		einfo "Creating the database structure."
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
-		einfo "Populating database with default configuration data."
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:load_default_data || die
-		chown redmine:redmine "${EPREFIX}${REDMINE_DIR}"/log/production.log
-		einfo
-		einfo "If you use sqlite3, please do not forget to change the ownership of the sqlite files."
-		einfo
-		einfo "# cd \"${EPREFIX}${REDMINE_DIR}\""
-		einfo "# chown redmine:redmine db/ db/*.sqlite3"
-		einfo
-	fi
-}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] dev/mrueg:master commit in: www-apps/redmine/
@ 2016-03-17  1:17 Manuel Rüger
  0 siblings, 0 replies; 16+ messages in thread
From: Manuel Rüger @ 2016-03-17  1:17 UTC (permalink / raw
  To: gentoo-commits

commit:     3b45706cae7b5565ec4f8624fc6f77d6896bbca0
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 17 01:16:42 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Thu Mar 17 01:16:42 2016 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=3b45706c

www-apps/redmine: Version bump

Package-Manager: portage-2.2.28

 www-apps/redmine/Manifest             |   1 +
 www-apps/redmine/redmine-3.2.1.ebuild | 211 ++++++++++++++++++++++++++++++++++
 2 files changed, 212 insertions(+)

diff --git a/www-apps/redmine/Manifest b/www-apps/redmine/Manifest
index 26c5c24..1cba57f 100644
--- a/www-apps/redmine/Manifest
+++ b/www-apps/redmine/Manifest
@@ -1,3 +1,4 @@
 DIST redmine-3.0.7.tar.gz 2163194 SHA256 b9e602a3b0004b7c17685aab13dfcc21f54475c4a0d605ce98ae15422c338526 SHA512 330dc05ea3051ca1bed316fc897c1bfc409dedc522e17b7fa09f350a66d9ae68a2c70e7171be6e796b82ed0d0e5a12407f8c785c2b9efec187146ca40e15ab7d WHIRLPOOL 4efa450691f1e2a501d3e4c20c8a67c14ef54fc135e61002aac1f763dc56c3f5ee00ff24b916710917aa9bf6a68fdc9388f29eae803afe75c0287375276f34af
 DIST redmine-3.1.3.tar.gz 2249372 SHA256 a8db4d47f0a45fb135db3d8281dc3275ff033f448e270d6fd290ae7efb36bbc1 SHA512 05244ee2ba33c61d8bb544c3dc165feb4d3e04d09aa8ec0b2f2dd19be51d16b58dd613f615d5a54a20ce338096a5a6207f2950f38e991cada2d87f43f82a1d7d WHIRLPOOL c1db260ed26925ead59a29b07b169d362fd28ab30a0e94d389804b2819214fa598a8a820acd4338a0b8173e0c8993cf97c6bc5079941183635879c7b846430f8
 DIST redmine-3.2.0.tar.gz 2299254 SHA256 73ba69daf67e527787be23e5e8a46307483362d2c54540e7b26a7eb146498715 SHA512 c238963b084e347f88da3aca539ba5eb6fb3cc2cc7f242ace84918b75cd2a3d809798155c5d6bdb17a99ec80ec3f5ab2e533eafffb3eaedd4d7b39476284f49a WHIRLPOOL 08318af017977ef571cda939b3ceca8b2beee37e1d2f6e96f6c89b81744266b68643815a2f8e87924669637c24d67d760dd74067a8daa2d05d83c34d0bf81689
+DIST redmine-3.2.1.tar.gz 2310459 SHA256 5e69ad50eef27b581e58ea0d72f2dcb19f38db3626e3bd6ed27b74d5a4da5bd6 SHA512 20bc63f82aa58a67c10733338e7aebae3348689531f1f0a6dbedb00301f128ef6a29bd6a33d3075b614e01b23f5311a9739b251fb911298e54d4df06df628bf3 WHIRLPOOL b900978ffe6374cefaa8eab9b711e3062559f5579d241edc6381190d3a6ae1f449ca7a13253914c9cd954d064d4b83e9b7ebc4aed5ff62dcf4d4a2022351ba1e

diff --git a/www-apps/redmine/redmine-3.2.1.ebuild b/www-apps/redmine/redmine-3.2.1.ebuild
new file mode 100644
index 0000000..9ad8db4
--- /dev/null
+++ b/www-apps/redmine/redmine-3.2.1.ebuild
@@ -0,0 +1,211 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21"
+inherit eutils depend.apache ruby-ng user
+
+DESCRIPTION="A flexible project management web application written using Ruby on Rails framework"
+HOMEPAGE="http://www.redmine.org/"
+SRC_URI="http://www.redmine.org/releases/${P}.tar.gz"
+
+KEYWORDS="~amd64"
+LICENSE="GPL-2"
+SLOT="0"
+# All db-related USEs are ineffective since we depend on rails
+# which depends on activerecord which depends on all ruby's db bindings
+#IUSE="ldap openid imagemagick postgres sqlite mysql fastcgi passenger"
+IUSE="ldap fastcgi passenger imagemagick"
+
+ruby_add_rdepend "
+	dev-ruby/rubygems
+	>=dev-ruby/rails-4.2.5.2:4.2
+	>=dev-ruby/jquery-rails-3.1.4:3
+	>=dev-ruby/coderay-1.1.0
+	>=dev-ruby/builder-3.0.4:3
+	>=dev-ruby/roadie-rails-1.1.0
+	dev-ruby/mime-types:*
+	=dev-ruby/request_store-1.0.5
+	>=dev-ruby/rbpdf-1.19.0
+	dev-ruby/actionpack-action_caching
+	dev-ruby/actionpack-xml_parser
+	dev-ruby/protected_attributes
+	>=dev-ruby/redcarpet-3.3.2
+	>=dev-ruby/nokogiri-1.6.7.2
+	ldap? ( >=dev-ruby/ruby-net-ldap-0.12.0 )
+	>=dev-ruby/ruby-openid-2.3.0
+	>=dev-ruby/rack-openid-0.2.1
+	fastcgi? ( dev-ruby/fcgi )
+	passenger? ( www-apache/passenger )
+	imagemagick? ( >=dev-ruby/rmagick-2.14.0 )"
+	#	ruby_targets_ruby19? (
+#		postgres? ( >=dev-ruby/pg-0.11 )
+#		sqlite3? ( dev-ruby/sqlite3 )
+#		mysql? ( dev-ruby/mysql2:0.3 )
+#	)
+
+#ruby_add_bdepend ">=dev-ruby/rdoc-2.4.2
+#	dev-ruby/yard
+#	test? (
+#		>=dev-ruby/shoulda-3.3.2
+#		>=dev-ruby/mocha-0.13.3
+#		>=dev-ruby/capybara-2.0.0
+#		<dev-ruby/nokogiri-1.6.0
+#	)"
+
+REDMINE_DIR="/var/lib/${PN}"
+
+pkg_setup() {
+	enewgroup redmine
+	enewuser redmine -1 -1 "${REDMINE_DIR}" redmine
+}
+
+all_ruby_prepare() {
+	rm -r log files/delete.me || die
+
+	# bug #406605
+	rm .gitignore .hgignore || die
+
+	rm Gemfile || 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}"
+
+	# remove ldap staff module if disabled to avoid #413779
+	use ldap || rm app/models/auth_source_ldap.rb || die
+
+	# Make it work
+	sed -i -e "1irequire 'request_store'" app/controllers/application_controller.rb || die
+	sed -i -e "18irequire 'action_controller'" -e "19irequire 'action_controller/action_caching'"\
+		app/controllers/welcome_controller.rb || die
+	sed -i -e "4irequire 'action_dispatch/xml_params_parser'" -e "/Bundler/d" config/application.rb || die
+	sed -i -e "18irequire 'protected_attributes'" app/models/custom_field.rb || die
+	sed -i -e "19irequire 'roadie-rails'" app/models/mailer.rb || die
+}
+
+all_ruby_install() {
+	dodoc doc/{CHANGELOG,INSTALL,README_FOR_APP,RUNNING_TESTS,UPGRADING}
+	rm -r doc || die
+	dodoc README.rdoc
+	rm README.rdoc || die
+
+	keepdir /var/log/${PN}
+	dosym /var/log/${PN}/ "${REDMINE_DIR}/log"
+
+	insinto "${REDMINE_DIR}"
+	doins -r .
+	keepdir "${REDMINE_DIR}/files"
+	keepdir "${REDMINE_DIR}/public/plugin_assets"
+
+	fowners -R redmine:redmine \
+		"${REDMINE_DIR}/config" \
+		"${REDMINE_DIR}/files" \
+		"${REDMINE_DIR}/public/plugin_assets" \
+		"${REDMINE_DIR}/tmp" \
+		/var/log/${PN}
+
+	fowners redmine:redmine "${REDMINE_DIR}"
+
+	# protect sensitive data, see bug #406605
+	fperms -R go-rwx \
+		"${REDMINE_DIR}/config" \
+		"${REDMINE_DIR}/files" \
+		"${REDMINE_DIR}/tmp" \
+		/var/log/${PN}
+
+	if use passenger; then
+		has_apache
+		insinto "${APACHE_VHOSTS_CONFDIR}"
+		doins "${FILESDIR}/10_redmine_vhost.conf"
+	else
+		newconfd "${FILESDIR}/${PN}.confd" ${PN}
+		newinitd "${FILESDIR}/${PN}-2.initd" ${PN}
+	fi
+	doenvd "${T}/50${PN}"
+}
+
+pkg_postinst() {
+	einfo
+	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" -o -e "${EPREFIX}${REDMINE_DIR}/config/initializers/secret_token.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 initialize environment:"
+		elog
+		elog "# cd ${EPREFIX}${REDMINE_DIR}"
+		elog "# cp config/database.yml.example config/database.yml"
+		elog "# \${EDITOR} config/database.yml"
+		elog "# chown redmine:redmine 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"
+		eerror "then edit this file in order to configure your database settings for \"production\" environment."
+		die
+	fi
+
+	local RAILS_ENV=${RAILS_ENV:-production}
+	if [ ! -L /usr/bin/ruby ]; then
+		eerror "/usr/bin/ruby is not a valid symlink to any ruby implementation."
+		eerror "Please update it via `eselect ruby`"
+		die
+	fi
+	if [[ $RUBY_TARGETS != *$( eselect ruby show | awk 'NR==2' | tr  -d ' '  )* ]]; then
+		eerror "/usr/bin/ruby is currently not included in redmine's ruby targets: ${RUBY_TARGETS}."
+		eerror "Please update it via `eselect ruby`"
+		die
+	fi
+	local RUBY=${RUBY:-ruby}
+
+	cd "${EPREFIX}${REDMINE_DIR}" || die
+	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" ]; then
+		einfo
+		einfo "Generating secret token."
+		einfo
+		rm config/initializers/session_store.rb || die
+		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake generate_secret_token || die
+	fi
+	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/secret_token.rb" ]; then
+		einfo
+		einfo "Upgrading database."
+		einfo
+
+		einfo "Migrating database."
+		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
+		einfo "Upgrading the plugin migrations."
+		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:plugins:migrate || 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 "Initializing database."
+		einfo
+
+		einfo "Generating a session store secret."
+		${RUBY} -S rake generate_secret_token || die
+		einfo "Creating the database structure."
+		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
+		einfo "Populating database with default configuration data."
+		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:load_default_data || die
+		chown redmine:redmine "${EPREFIX}${REDMINE_DIR}"/log/production.log
+		einfo
+		einfo "If you use sqlite3, please do not forget to change the ownership of the sqlite files."
+		einfo
+		einfo "# cd \"${EPREFIX}${REDMINE_DIR}\""
+		einfo "# chown redmine:redmine db/ db/*.sqlite3"
+		einfo
+	fi
+}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] dev/mrueg:master commit in: www-apps/redmine/
@ 2016-01-17 18:44 Manuel Rüger
  0 siblings, 0 replies; 16+ messages in thread
From: Manuel Rüger @ 2016-01-17 18:44 UTC (permalink / raw
  To: gentoo-commits

commit:     8c7535efaa6c43ff52859c34fc7ce793d477dd7d
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 17 18:44:14 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sun Jan 17 18:44:14 2016 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=8c7535ef

www-apps/redmine: Remove version moved to the tree

Package-Manager: portage-2.2.26

 www-apps/redmine/Manifest             |   1 -
 www-apps/redmine/redmine-2.6.9.ebuild | 203 ----------------------------------
 2 files changed, 204 deletions(-)

diff --git a/www-apps/redmine/Manifest b/www-apps/redmine/Manifest
index 01bf7d1..26c5c24 100644
--- a/www-apps/redmine/Manifest
+++ b/www-apps/redmine/Manifest
@@ -1,4 +1,3 @@
-DIST redmine-2.6.9.tar.gz 2127454 SHA256 15cafc3983e0520c3ecc6105ef33031f55b1dc2b21270d092938562b47362d4c SHA512 c376e0096e35c0307960c5e186abe2d8618064564813873e30aa0c9f7f6fcbf41b22239cf54e7aed794a0a06de9cd8b931d5c130776d4818428f788d0ef9e866 WHIRLPOOL 85eba2d64896ba96698b4449a1580987d25b725011feac969a612eb932da99fdd701d5f5808f26efef80dec86ebcfc505445f185fc8dec08d5909d2ce8a0b2d4
 DIST redmine-3.0.7.tar.gz 2163194 SHA256 b9e602a3b0004b7c17685aab13dfcc21f54475c4a0d605ce98ae15422c338526 SHA512 330dc05ea3051ca1bed316fc897c1bfc409dedc522e17b7fa09f350a66d9ae68a2c70e7171be6e796b82ed0d0e5a12407f8c785c2b9efec187146ca40e15ab7d WHIRLPOOL 4efa450691f1e2a501d3e4c20c8a67c14ef54fc135e61002aac1f763dc56c3f5ee00ff24b916710917aa9bf6a68fdc9388f29eae803afe75c0287375276f34af
 DIST redmine-3.1.3.tar.gz 2249372 SHA256 a8db4d47f0a45fb135db3d8281dc3275ff033f448e270d6fd290ae7efb36bbc1 SHA512 05244ee2ba33c61d8bb544c3dc165feb4d3e04d09aa8ec0b2f2dd19be51d16b58dd613f615d5a54a20ce338096a5a6207f2950f38e991cada2d87f43f82a1d7d WHIRLPOOL c1db260ed26925ead59a29b07b169d362fd28ab30a0e94d389804b2819214fa598a8a820acd4338a0b8173e0c8993cf97c6bc5079941183635879c7b846430f8
 DIST redmine-3.2.0.tar.gz 2299254 SHA256 73ba69daf67e527787be23e5e8a46307483362d2c54540e7b26a7eb146498715 SHA512 c238963b084e347f88da3aca539ba5eb6fb3cc2cc7f242ace84918b75cd2a3d809798155c5d6bdb17a99ec80ec3f5ab2e533eafffb3eaedd4d7b39476284f49a WHIRLPOOL 08318af017977ef571cda939b3ceca8b2beee37e1d2f6e96f6c89b81744266b68643815a2f8e87924669637c24d67d760dd74067a8daa2d05d83c34d0bf81689

diff --git a/www-apps/redmine/redmine-2.6.9.ebuild b/www-apps/redmine/redmine-2.6.9.ebuild
deleted file mode 100644
index 5e21524..0000000
--- a/www-apps/redmine/redmine-2.6.9.ebuild
+++ /dev/null
@@ -1,203 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-USE_RUBY="ruby19 ruby20"
-inherit eutils depend.apache ruby-ng user
-
-DESCRIPTION="A flexible project management web application written using Ruby on Rails framework"
-HOMEPAGE="http://www.redmine.org/"
-SRC_URI="http://www.redmine.org/releases/${P}.tar.gz"
-
-KEYWORDS="~amd64"
-LICENSE="GPL-2"
-SLOT="0"
-# All db-related USEs are ineffective since we depend on rails
-# which depends on activerecord which depends on all ruby's db bindings
-#IUSE="ldap openid imagemagick postgres sqlite mysql fastcgi passenger"
-IUSE="ldap imagemagick fastcgi passenger"
-
-#RDEPEND="$(ruby_implementation_depend jruby '>=' -1.6.7)[ssl]"
-
-ruby_add_rdepend "
-	dev-ruby/rubygems
-	>=dev-ruby/rails-3.2.22:3.2
-	>=dev-ruby/jquery-rails-3.1.1:3
-	dev-ruby/i18n:0.6
-	>=dev-ruby/coderay-1.1.0
-	dev-ruby/builder:3
-	dev-ruby/mime-types:*
-	=dev-ruby/request_store-1.0.5
-	>=dev-ruby/rbpdf-1.18.6
-	ldap? ( >=dev-ruby/ruby-net-ldap-0.3.1 )
-	>=dev-ruby/ruby-openid-2.3.0
-	>=dev-ruby/rack-openid-0.2.1
-	imagemagick? ( >=dev-ruby/rmagick-2 )
-	fastcgi? ( dev-ruby/fcgi )
-	passenger? ( www-apache/passenger )"
-#	ruby_targets_ruby19? (
-#		postgres? ( >=dev-ruby/pg-0.11 )
-#		sqlite3? ( dev-ruby/sqlite3 )
-#		mysql? ( dev-ruby/mysql2:0.3 )
-#	)
-
-#ruby_add_bdepend ">=dev-ruby/rdoc-2.4.2
-#	dev-ruby/yard
-#	test? (
-#		>=dev-ruby/shoulda-3.3.2
-#		>=dev-ruby/mocha-0.13.3
-#		>=dev-ruby/capybara-2.0.0
-#		<dev-ruby/nokogiri-1.6.0
-#	)"
-
-REDMINE_DIR="/var/lib/${PN}"
-
-pkg_setup() {
-	enewgroup redmine
-	enewuser redmine -1 -1 "${REDMINE_DIR}" redmine
-}
-
-all_ruby_prepare() {
-	rm -r log files/delete.me || die
-
-	# bug #406605
-	rm .gitignore .hgignore .travis.yml || die
-
-	rm Gemfile config/preinitializer.rb || 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}"
-
-	# remove ldap staff module if disabled to avoid #413779
-	use ldap || rm app/models/auth_source_ldap.rb || die
-
-	# Make it work
-	sed -i -i "1irequire 'request_store'" app/controllers/application_controller.rb || die
-}
-
-all_ruby_install() {
-	dodoc doc/{CHANGELOG,INSTALL,README_FOR_APP,RUNNING_TESTS,UPGRADING}
-	rm -r doc || die
-	dodoc README.rdoc
-	rm README.rdoc || die
-
-	keepdir /var/log/${PN}
-	dosym /var/log/${PN}/ "${REDMINE_DIR}/log"
-
-	insinto "${REDMINE_DIR}"
-	doins -r .
-	keepdir "${REDMINE_DIR}/files"
-	keepdir "${REDMINE_DIR}/public/plugin_assets"
-
-	fowners -R redmine:redmine \
-		"${REDMINE_DIR}/config" \
-		"${REDMINE_DIR}/files" \
-		"${REDMINE_DIR}/public/plugin_assets" \
-		"${REDMINE_DIR}/tmp" \
-		/var/log/${PN}
-
-	fowners redmine:redmine "${REDMINE_DIR}"
-
-	# protect sensitive data, see bug #406605
-	fperms -R go-rwx \
-		"${REDMINE_DIR}/config" \
-		"${REDMINE_DIR}/files" \
-		"${REDMINE_DIR}/tmp" \
-		/var/log/${PN}
-
-	if use passenger; then
-		has_apache
-		insinto "${APACHE_VHOSTS_CONFDIR}"
-		doins "${FILESDIR}/10_redmine_vhost.conf"
-	else
-		newconfd "${FILESDIR}/${PN}.confd" ${PN}
-		newinitd "${FILESDIR}/${PN}-2.initd" ${PN}
-	fi
-	doenvd "${T}/50${PN}"
-}
-
-pkg_postinst() {
-	einfo
-	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" -o -e "${EPREFIX}${REDMINE_DIR}/config/initializers/secret_token.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 initialize environment:"
-		elog
-		elog "# cd ${EPREFIX}${REDMINE_DIR}"
-		elog "# cp config/database.yml.example config/database.yml"
-		elog "# \${EDITOR} config/database.yml"
-		elog "# chown redmine:redmine 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"
-		eerror "then edit this file in order to configure your database settings for \"production\" environment."
-		die
-	fi
-
-	local RAILS_ENV=${RAILS_ENV:-production}
-	if [ ! -L /usr/bin/ruby ]; then
-		eerror "/usr/bin/ruby is not a valid symlink to any ruby implementation."
-		eerror "Please update it via `eselect ruby`"
-		die
-	fi
-	if [[ $RUBY_TARGETS != *$( eselect ruby show | awk 'NR==2' | tr  -d ' '  )* ]]; then
-		eerror "/usr/bin/ruby is currently not included in redmine's ruby targets: ${RUBY_TARGETS}."
-		eerror "Please update it via `eselect ruby`"
-		die
-	fi
-	local RUBY=${RUBY:-ruby}
-
-	cd "${EPREFIX}${REDMINE_DIR}" || die
-	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" ]; then
-		einfo
-		einfo "Generating secret token."
-		einfo
-		rm config/initializers/session_store.rb || die
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake generate_secret_token || die
-	fi
-	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/secret_token.rb" ]; then
-		einfo
-		einfo "Upgrading database."
-		einfo
-
-		einfo "Migrating database."
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
-		einfo "Upgrading the plugin migrations."
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:plugins:migrate || 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 "Initializing database."
-		einfo
-
-		einfo "Generating a session store secret."
-		${RUBY} -S rake generate_secret_token || die
-		einfo "Creating the database structure."
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
-		einfo "Populating database with default configuration data."
-		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:load_default_data || die
-		chown redmine:redmine "${EPREFIX}${REDMINE_DIR}"/log/production.log
-		einfo
-		einfo "If you use sqlite3, please do not forget to change the ownership of the sqlite files."
-		einfo
-		einfo "# cd \"${EPREFIX}${REDMINE_DIR}\""
-		einfo "# chown redmine:redmine db/ db/*.sqlite3"
-		einfo
-	fi
-}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] dev/mrueg:master commit in: www-apps/redmine/
@ 2015-12-20 10:55 Manuel Rüger
  0 siblings, 0 replies; 16+ messages in thread
From: Manuel Rüger @ 2015-12-20 10:55 UTC (permalink / raw
  To: gentoo-commits

commit:     097ffdc74d88ceabaf87836b109077e319a60c99
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 20 10:54:50 2015 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sun Dec 20 10:54:50 2015 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=097ffdc7

www-apps/redmine: Fix missing include

Package-Manager: portage-2.2.26

 www-apps/redmine/redmine-3.2.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www-apps/redmine/redmine-3.2.0.ebuild b/www-apps/redmine/redmine-3.2.0.ebuild
index 87caf39..03825c3 100644
--- a/www-apps/redmine/redmine-3.2.0.ebuild
+++ b/www-apps/redmine/redmine-3.2.0.ebuild
@@ -80,6 +80,7 @@ all_ruby_prepare() {
 		app/controllers/welcome_controller.rb || die
 	sed -i -e "4irequire 'action_dispatch/xml_params_parser'" -e "/Bundler/d" config/application.rb || die
 	sed -i -e "18irequire 'protected_attributes'" app/models/custom_field.rb || die
+	sed -i -e "19irequire 'roadie-rails'" app/models/mailer.rb || die
 }
 
 all_ruby_install() {


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] dev/mrueg:master commit in: www-apps/redmine/
@ 2015-12-20 10:09 Manuel Rüger
  0 siblings, 0 replies; 16+ messages in thread
From: Manuel Rüger @ 2015-12-20 10:09 UTC (permalink / raw
  To: gentoo-commits

commit:     9ddda0977b9803fd454616ccdaf62f0ce2fd1608
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 20 10:09:22 2015 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sun Dec 20 10:09:22 2015 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=9ddda097

www-apps/redmine: Version bump

Package-Manager: portage-2.2.26

 www-apps/redmine/Manifest             |   1 +
 www-apps/redmine/redmine-3.2.0.ebuild | 209 ++++++++++++++++++++++++++++++++++
 2 files changed, 210 insertions(+)

diff --git a/www-apps/redmine/Manifest b/www-apps/redmine/Manifest
index 518149f..01bf7d1 100644
--- a/www-apps/redmine/Manifest
+++ b/www-apps/redmine/Manifest
@@ -1,3 +1,4 @@
 DIST redmine-2.6.9.tar.gz 2127454 SHA256 15cafc3983e0520c3ecc6105ef33031f55b1dc2b21270d092938562b47362d4c SHA512 c376e0096e35c0307960c5e186abe2d8618064564813873e30aa0c9f7f6fcbf41b22239cf54e7aed794a0a06de9cd8b931d5c130776d4818428f788d0ef9e866 WHIRLPOOL 85eba2d64896ba96698b4449a1580987d25b725011feac969a612eb932da99fdd701d5f5808f26efef80dec86ebcfc505445f185fc8dec08d5909d2ce8a0b2d4
 DIST redmine-3.0.7.tar.gz 2163194 SHA256 b9e602a3b0004b7c17685aab13dfcc21f54475c4a0d605ce98ae15422c338526 SHA512 330dc05ea3051ca1bed316fc897c1bfc409dedc522e17b7fa09f350a66d9ae68a2c70e7171be6e796b82ed0d0e5a12407f8c785c2b9efec187146ca40e15ab7d WHIRLPOOL 4efa450691f1e2a501d3e4c20c8a67c14ef54fc135e61002aac1f763dc56c3f5ee00ff24b916710917aa9bf6a68fdc9388f29eae803afe75c0287375276f34af
 DIST redmine-3.1.3.tar.gz 2249372 SHA256 a8db4d47f0a45fb135db3d8281dc3275ff033f448e270d6fd290ae7efb36bbc1 SHA512 05244ee2ba33c61d8bb544c3dc165feb4d3e04d09aa8ec0b2f2dd19be51d16b58dd613f615d5a54a20ce338096a5a6207f2950f38e991cada2d87f43f82a1d7d WHIRLPOOL c1db260ed26925ead59a29b07b169d362fd28ab30a0e94d389804b2819214fa598a8a820acd4338a0b8173e0c8993cf97c6bc5079941183635879c7b846430f8
+DIST redmine-3.2.0.tar.gz 2299254 SHA256 73ba69daf67e527787be23e5e8a46307483362d2c54540e7b26a7eb146498715 SHA512 c238963b084e347f88da3aca539ba5eb6fb3cc2cc7f242ace84918b75cd2a3d809798155c5d6bdb17a99ec80ec3f5ab2e533eafffb3eaedd4d7b39476284f49a WHIRLPOOL 08318af017977ef571cda939b3ceca8b2beee37e1d2f6e96f6c89b81744266b68643815a2f8e87924669637c24d67d760dd74067a8daa2d05d83c34d0bf81689

diff --git a/www-apps/redmine/redmine-3.2.0.ebuild b/www-apps/redmine/redmine-3.2.0.ebuild
new file mode 100644
index 0000000..87caf39
--- /dev/null
+++ b/www-apps/redmine/redmine-3.2.0.ebuild
@@ -0,0 +1,209 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21"
+inherit eutils depend.apache ruby-ng user
+
+DESCRIPTION="A flexible project management web application written using Ruby on Rails framework"
+HOMEPAGE="http://www.redmine.org/"
+SRC_URI="http://www.redmine.org/releases/${P}.tar.gz"
+
+KEYWORDS="~amd64"
+LICENSE="GPL-2"
+SLOT="0"
+# All db-related USEs are ineffective since we depend on rails
+# which depends on activerecord which depends on all ruby's db bindings
+#IUSE="ldap openid imagemagick postgres sqlite mysql fastcgi passenger"
+IUSE="ldap fastcgi passenger imagemagick"
+
+ruby_add_rdepend "
+	dev-ruby/rubygems
+	>=dev-ruby/rails-4.2.5:4.2
+	>=dev-ruby/jquery-rails-3.1.4:3
+	>=dev-ruby/coderay-1.1.0
+	>=dev-ruby/builder-3.0.4:3
+	>=dev-ruby/roadie-rails-1.1.0
+	dev-ruby/mime-types:*
+	=dev-ruby/request_store-1.0.5
+	>=dev-ruby/rbpdf-1.19.0
+	dev-ruby/actionpack-action_caching
+	dev-ruby/actionpack-xml_parser
+	dev-ruby/protected_attributes
+	>=dev-ruby/redcarpet-3.3.2
+	ldap? ( >=dev-ruby/ruby-net-ldap-0.12.0 )
+	>=dev-ruby/ruby-openid-2.3.0
+	>=dev-ruby/rack-openid-0.2.1
+	fastcgi? ( dev-ruby/fcgi )
+	passenger? ( www-apache/passenger )
+	imagemagick? ( >=dev-ruby/rmagick-2.14.0 )"
+	#	ruby_targets_ruby19? (
+#		postgres? ( >=dev-ruby/pg-0.11 )
+#		sqlite3? ( dev-ruby/sqlite3 )
+#		mysql? ( dev-ruby/mysql2:0.3 )
+#	)
+
+#ruby_add_bdepend ">=dev-ruby/rdoc-2.4.2
+#	dev-ruby/yard
+#	test? (
+#		>=dev-ruby/shoulda-3.3.2
+#		>=dev-ruby/mocha-0.13.3
+#		>=dev-ruby/capybara-2.0.0
+#		<dev-ruby/nokogiri-1.6.0
+#	)"
+
+REDMINE_DIR="/var/lib/${PN}"
+
+pkg_setup() {
+	enewgroup redmine
+	enewuser redmine -1 -1 "${REDMINE_DIR}" redmine
+}
+
+all_ruby_prepare() {
+	rm -r log files/delete.me || die
+
+	# bug #406605
+	rm .gitignore .hgignore .travis.yml || die
+
+	rm Gemfile || 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}"
+
+	# remove ldap staff module if disabled to avoid #413779
+	use ldap || rm app/models/auth_source_ldap.rb || die
+
+	# Make it work
+	sed -i -e "1irequire 'request_store'" app/controllers/application_controller.rb || die
+	sed -i -e "18irequire 'action_controller'" -e "19irequire 'action_controller/action_caching'"\
+		app/controllers/welcome_controller.rb || die
+	sed -i -e "4irequire 'action_dispatch/xml_params_parser'" -e "/Bundler/d" config/application.rb || die
+	sed -i -e "18irequire 'protected_attributes'" app/models/custom_field.rb || die
+}
+
+all_ruby_install() {
+	dodoc doc/{CHANGELOG,INSTALL,README_FOR_APP,RUNNING_TESTS,UPGRADING}
+	rm -r doc || die
+	dodoc README.rdoc
+	rm README.rdoc || die
+
+	keepdir /var/log/${PN}
+	dosym /var/log/${PN}/ "${REDMINE_DIR}/log"
+
+	insinto "${REDMINE_DIR}"
+	doins -r .
+	keepdir "${REDMINE_DIR}/files"
+	keepdir "${REDMINE_DIR}/public/plugin_assets"
+
+	fowners -R redmine:redmine \
+		"${REDMINE_DIR}/config" \
+		"${REDMINE_DIR}/files" \
+		"${REDMINE_DIR}/public/plugin_assets" \
+		"${REDMINE_DIR}/tmp" \
+		/var/log/${PN}
+
+	fowners redmine:redmine "${REDMINE_DIR}"
+
+	# protect sensitive data, see bug #406605
+	fperms -R go-rwx \
+		"${REDMINE_DIR}/config" \
+		"${REDMINE_DIR}/files" \
+		"${REDMINE_DIR}/tmp" \
+		/var/log/${PN}
+
+	if use passenger; then
+		has_apache
+		insinto "${APACHE_VHOSTS_CONFDIR}"
+		doins "${FILESDIR}/10_redmine_vhost.conf"
+	else
+		newconfd "${FILESDIR}/${PN}.confd" ${PN}
+		newinitd "${FILESDIR}/${PN}-2.initd" ${PN}
+	fi
+	doenvd "${T}/50${PN}"
+}
+
+pkg_postinst() {
+	einfo
+	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" -o -e "${EPREFIX}${REDMINE_DIR}/config/initializers/secret_token.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 initialize environment:"
+		elog
+		elog "# cd ${EPREFIX}${REDMINE_DIR}"
+		elog "# cp config/database.yml.example config/database.yml"
+		elog "# \${EDITOR} config/database.yml"
+		elog "# chown redmine:redmine 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"
+		eerror "then edit this file in order to configure your database settings for \"production\" environment."
+		die
+	fi
+
+	local RAILS_ENV=${RAILS_ENV:-production}
+	if [ ! -L /usr/bin/ruby ]; then
+		eerror "/usr/bin/ruby is not a valid symlink to any ruby implementation."
+		eerror "Please update it via `eselect ruby`"
+		die
+	fi
+	if [[ $RUBY_TARGETS != *$( eselect ruby show | awk 'NR==2' | tr  -d ' '  )* ]]; then
+		eerror "/usr/bin/ruby is currently not included in redmine's ruby targets: ${RUBY_TARGETS}."
+		eerror "Please update it via `eselect ruby`"
+		die
+	fi
+	local RUBY=${RUBY:-ruby}
+
+	cd "${EPREFIX}${REDMINE_DIR}" || die
+	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" ]; then
+		einfo
+		einfo "Generating secret token."
+		einfo
+		rm config/initializers/session_store.rb || die
+		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake generate_secret_token || die
+	fi
+	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/secret_token.rb" ]; then
+		einfo
+		einfo "Upgrading database."
+		einfo
+
+		einfo "Migrating database."
+		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
+		einfo "Upgrading the plugin migrations."
+		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:plugins:migrate || 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 "Initializing database."
+		einfo
+
+		einfo "Generating a session store secret."
+		${RUBY} -S rake generate_secret_token || die
+		einfo "Creating the database structure."
+		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
+		einfo "Populating database with default configuration data."
+		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:load_default_data || die
+		chown redmine:redmine "${EPREFIX}${REDMINE_DIR}"/log/production.log
+		einfo
+		einfo "If you use sqlite3, please do not forget to change the ownership of the sqlite files."
+		einfo
+		einfo "# cd \"${EPREFIX}${REDMINE_DIR}\""
+		einfo "# chown redmine:redmine db/ db/*.sqlite3"
+		einfo
+	fi
+}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] dev/mrueg:master commit in: www-apps/redmine/
@ 2015-12-06 18:31 Manuel Rüger
  0 siblings, 0 replies; 16+ messages in thread
From: Manuel Rüger @ 2015-12-06 18:31 UTC (permalink / raw
  To: gentoo-commits

commit:     e5f0b3bb70ba7baa961d65b166dfe5ca8872a8c6
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  6 18:31:32 2015 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sun Dec  6 18:31:32 2015 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=e5f0b3bb

www-apps/redmine: Version bump

Package-Manager: portage-2.2.26

 www-apps/redmine/Manifest                                       | 6 +++---
 www-apps/redmine/{redmine-2.6.8.ebuild => redmine-2.6.9.ebuild} | 0
 www-apps/redmine/{redmine-3.1.2.ebuild => redmine-3.0.7.ebuild} | 0
 www-apps/redmine/{redmine-3.0.6.ebuild => redmine-3.1.3.ebuild} | 0
 4 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/www-apps/redmine/Manifest b/www-apps/redmine/Manifest
index 913ff60..518149f 100644
--- a/www-apps/redmine/Manifest
+++ b/www-apps/redmine/Manifest
@@ -1,3 +1,3 @@
-DIST redmine-2.6.8.tar.gz 2127176 SHA256 41258026fbdfd17cd18402839d7fdcecf47c03363fd148ae36c37a63447a8915 SHA512 8dfe67d348bfddc24ae7f042545b2123ce2a91744cefba966c54d313a2764938713d755f35bf8d48b7bb5d108aaadc959ec25d8ed1e09056dd42d8a58475492d WHIRLPOOL 8111b3deb8461f8bff91a77b3c0ff702d0aa4c56792f2f4e4bb920d9ce21b248646b0a7cf171826ab12c22ffab4c908e20b8a2c64983773cf64de427945b30c9
-DIST redmine-3.0.6.tar.gz 2162390 SHA256 dd18a5d13656430a0ec3d12fccfa416f7891b41e2df5c501efc02773ea3bac12 SHA512 6c25a9bde2144cbb9cce1f086b66e5d13175d84ee26259b2c4b8e5b88902573c6f8976b8d819b02693b0e942721e57d9100797a323d8cb63858c1f141fce7fdb WHIRLPOOL a0a5e54dc97f6e4d06e8c53c525f56d51757e50fce5cb4d4786e81d233e16700bccde85fa24d226d978c319e767d9879f774426ffa832d585c3bd06b006957fd
-DIST redmine-3.1.2.tar.gz 2248299 SHA256 ea371f1d2a20ab3c4211179ecd5d806fc46675aa78049258bb0f20d36b30e28b SHA512 54c779602071aaf0eeef15c8b7ecf3bb098eb5ccbbcd207f3302e4934e13e3eb802b6e7a5178969c1725b3393f153a8c654bc4c6a37a9466c9c9b9d1e52cae0a WHIRLPOOL f9dc8fb33c952a72982927a3bd77e0b4a1e1c344d809404c3a167e71a4aceba412ad3258465da0a26bb1f3986df71ab8b832d84c0ad12f2b292e6e26176f07e6
+DIST redmine-2.6.9.tar.gz 2127454 SHA256 15cafc3983e0520c3ecc6105ef33031f55b1dc2b21270d092938562b47362d4c SHA512 c376e0096e35c0307960c5e186abe2d8618064564813873e30aa0c9f7f6fcbf41b22239cf54e7aed794a0a06de9cd8b931d5c130776d4818428f788d0ef9e866 WHIRLPOOL 85eba2d64896ba96698b4449a1580987d25b725011feac969a612eb932da99fdd701d5f5808f26efef80dec86ebcfc505445f185fc8dec08d5909d2ce8a0b2d4
+DIST redmine-3.0.7.tar.gz 2163194 SHA256 b9e602a3b0004b7c17685aab13dfcc21f54475c4a0d605ce98ae15422c338526 SHA512 330dc05ea3051ca1bed316fc897c1bfc409dedc522e17b7fa09f350a66d9ae68a2c70e7171be6e796b82ed0d0e5a12407f8c785c2b9efec187146ca40e15ab7d WHIRLPOOL 4efa450691f1e2a501d3e4c20c8a67c14ef54fc135e61002aac1f763dc56c3f5ee00ff24b916710917aa9bf6a68fdc9388f29eae803afe75c0287375276f34af
+DIST redmine-3.1.3.tar.gz 2249372 SHA256 a8db4d47f0a45fb135db3d8281dc3275ff033f448e270d6fd290ae7efb36bbc1 SHA512 05244ee2ba33c61d8bb544c3dc165feb4d3e04d09aa8ec0b2f2dd19be51d16b58dd613f615d5a54a20ce338096a5a6207f2950f38e991cada2d87f43f82a1d7d WHIRLPOOL c1db260ed26925ead59a29b07b169d362fd28ab30a0e94d389804b2819214fa598a8a820acd4338a0b8173e0c8993cf97c6bc5079941183635879c7b846430f8

diff --git a/www-apps/redmine/redmine-2.6.8.ebuild b/www-apps/redmine/redmine-2.6.9.ebuild
similarity index 100%
rename from www-apps/redmine/redmine-2.6.8.ebuild
rename to www-apps/redmine/redmine-2.6.9.ebuild

diff --git a/www-apps/redmine/redmine-3.1.2.ebuild b/www-apps/redmine/redmine-3.0.7.ebuild
similarity index 100%
rename from www-apps/redmine/redmine-3.1.2.ebuild
rename to www-apps/redmine/redmine-3.0.7.ebuild

diff --git a/www-apps/redmine/redmine-3.0.6.ebuild b/www-apps/redmine/redmine-3.1.3.ebuild
similarity index 100%
rename from www-apps/redmine/redmine-3.0.6.ebuild
rename to www-apps/redmine/redmine-3.1.3.ebuild


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] dev/mrueg:master commit in: www-apps/redmine/
@ 2015-11-21 14:49 Manuel Rüger
  0 siblings, 0 replies; 16+ messages in thread
From: Manuel Rüger @ 2015-11-21 14:49 UTC (permalink / raw
  To: gentoo-commits

commit:     d282092d877e2c63d6e3e0e9b7c83accf908a6b4
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 21 14:49:45 2015 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sat Nov 21 14:49:45 2015 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=d282092d

www-apps/redmine: Version bump. Remove old

Package-Manager: portage-2.2.25

 www-apps/redmine/Manifest                                       | 6 +++---
 www-apps/redmine/{redmine-2.6.7.ebuild => redmine-2.6.8.ebuild} | 0
 www-apps/redmine/{redmine-3.1.1.ebuild => redmine-3.0.6.ebuild} | 0
 www-apps/redmine/{redmine-3.0.5.ebuild => redmine-3.1.2.ebuild} | 0
 4 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/www-apps/redmine/Manifest b/www-apps/redmine/Manifest
index 58e71f9..913ff60 100644
--- a/www-apps/redmine/Manifest
+++ b/www-apps/redmine/Manifest
@@ -1,3 +1,3 @@
-DIST redmine-2.6.7.tar.gz 2126506 SHA256 1cb9c5e49db16822c8405f84507cc798b641a0bdd934a0bb5b0689acf0edc1be SHA512 33c45d5673a34568722dbac1067ed6061bf0d05e2944bda71ba35515e59114625ab31756fbc503dd75dad63fccaabdf3dcc2a347ed9cc264c2686666ef78bd4e WHIRLPOOL 36e6bd32a19bacf2a98bf9e17227e7ae8fc71999be30590ba35c8674f12c43e56185f590ae74e9ea3cc129203d52278f3ca0e5b9052b12dd3269f8460ac457a8
-DIST redmine-3.0.5.tar.gz 2160957 SHA256 32b80317b366439be7125a0e3359349fbbe7c7e906c90f3fa08228f03091d74c SHA512 9119029b4949bf821d1d5e8aa2177eecf1caee6a7493af77f8cb100b54b81a29b1561ae5ce509a1bdf3c219a8935600a462765c149cff121fc26a91a842d44b1 WHIRLPOOL d4b776669dddb30d7b04a89f28b69aacf44444c6cdeab7099a2287c2ed43dfa3a84500e711c1326f0dd8361285c63e183419224ed6f854a1da56ec3a84df8cf5
-DIST redmine-3.1.1.tar.gz 2246322 SHA256 57307b919bcc38ada8c5bd06e49d914e428cf11f0fc2cf02d13c5d00afddeecf SHA512 cc3abe0962c132627b8e177b5a054dfe2df62daabfc3daf0d32d627838b8de59ef76d0b9034f9df78fb3fb1a097608ee4c7e74593c935c7eeefd85070f3e58f5 WHIRLPOOL 4727510c544436bdf2e698fd7ea4d3366843ba7207d344fe997c23423f040ea8173859a7b0571e4747952d704904f1fc8bc23484dfccd9f252119e1e5436ceea
+DIST redmine-2.6.8.tar.gz 2127176 SHA256 41258026fbdfd17cd18402839d7fdcecf47c03363fd148ae36c37a63447a8915 SHA512 8dfe67d348bfddc24ae7f042545b2123ce2a91744cefba966c54d313a2764938713d755f35bf8d48b7bb5d108aaadc959ec25d8ed1e09056dd42d8a58475492d WHIRLPOOL 8111b3deb8461f8bff91a77b3c0ff702d0aa4c56792f2f4e4bb920d9ce21b248646b0a7cf171826ab12c22ffab4c908e20b8a2c64983773cf64de427945b30c9
+DIST redmine-3.0.6.tar.gz 2162390 SHA256 dd18a5d13656430a0ec3d12fccfa416f7891b41e2df5c501efc02773ea3bac12 SHA512 6c25a9bde2144cbb9cce1f086b66e5d13175d84ee26259b2c4b8e5b88902573c6f8976b8d819b02693b0e942721e57d9100797a323d8cb63858c1f141fce7fdb WHIRLPOOL a0a5e54dc97f6e4d06e8c53c525f56d51757e50fce5cb4d4786e81d233e16700bccde85fa24d226d978c319e767d9879f774426ffa832d585c3bd06b006957fd
+DIST redmine-3.1.2.tar.gz 2248299 SHA256 ea371f1d2a20ab3c4211179ecd5d806fc46675aa78049258bb0f20d36b30e28b SHA512 54c779602071aaf0eeef15c8b7ecf3bb098eb5ccbbcd207f3302e4934e13e3eb802b6e7a5178969c1725b3393f153a8c654bc4c6a37a9466c9c9b9d1e52cae0a WHIRLPOOL f9dc8fb33c952a72982927a3bd77e0b4a1e1c344d809404c3a167e71a4aceba412ad3258465da0a26bb1f3986df71ab8b832d84c0ad12f2b292e6e26176f07e6

diff --git a/www-apps/redmine/redmine-2.6.7.ebuild b/www-apps/redmine/redmine-2.6.8.ebuild
similarity index 100%
rename from www-apps/redmine/redmine-2.6.7.ebuild
rename to www-apps/redmine/redmine-2.6.8.ebuild

diff --git a/www-apps/redmine/redmine-3.1.1.ebuild b/www-apps/redmine/redmine-3.0.6.ebuild
similarity index 100%
rename from www-apps/redmine/redmine-3.1.1.ebuild
rename to www-apps/redmine/redmine-3.0.6.ebuild

diff --git a/www-apps/redmine/redmine-3.0.5.ebuild b/www-apps/redmine/redmine-3.1.2.ebuild
similarity index 100%
rename from www-apps/redmine/redmine-3.0.5.ebuild
rename to www-apps/redmine/redmine-3.1.2.ebuild


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] dev/mrueg:master commit in: www-apps/redmine/
@ 2015-08-06 19:50 Manuel Rüger
  0 siblings, 0 replies; 16+ messages in thread
From: Manuel Rüger @ 2015-08-06 19:50 UTC (permalink / raw
  To: gentoo-commits

commit:     bbbb24a677eae1223ecdf21e17cb495ced56f62f
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  6 19:50:14 2015 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Thu Aug  6 19:50:14 2015 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=bbbb24a6

[www-apps/redmine] Version bump.

Package-Manager: portage-2.2.20

 www-apps/redmine/Manifest             |   1 +
 www-apps/redmine/redmine-3.1.0.ebuild | 208 ++++++++++++++++++++++++++++++++++
 2 files changed, 209 insertions(+)

diff --git a/www-apps/redmine/Manifest b/www-apps/redmine/Manifest
index cf9b735..c1e8956 100644
--- a/www-apps/redmine/Manifest
+++ b/www-apps/redmine/Manifest
@@ -1,2 +1,3 @@
 DIST redmine-2.6.6.tar.gz 2125587 SHA256 fa4fdcd37debf8d72b2a481c03160d0eeabddc65cea0b848784b33136fe25cfd SHA512 288a95d0c532af698e848cb3c8cc6d4366cd08c5682b08de5f1410edf8583df7889a2c27487829a5e2b3ace5da2318ebbafc8f770a56165ec1175b052dd7aa26 WHIRLPOOL a119ac8a413105510551dda53c3fe600362acb4ff9250c758460442232d1fad4339401916b77e750b593ec56127b2f7adbe2537eb0604f9be651d4f1f2e923ae
 DIST redmine-3.0.4.tar.gz 2159370 SHA256 860abb86d89aebb027f70f040b3f64ca5b22f4baa15d0a8eaf4004e92906ecdb SHA512 fbd6fb2f97619132d1879e0daac65378011c7aa188a829dbd573d051e05d674c9068c0016b3fd9d83c84743bbd0e5a447875bdd2315a2bd1b05ddb828b3f2fe6 WHIRLPOOL 3e15f7bfa8d0b165827cb581c4c42a83243d9894b8afd9ee8f084c9e21d9db425acc76e0977d9545d3ce4549ade0afc75d3c08f5ae4ada8971a76be482d516bf
+DIST redmine-3.1.0.tar.gz 2243869 SHA256 d7ebeccfd97134ab838b234ab88122d2817e9c713bcd3fc5134b553651eb0ca0 SHA512 52ababfe14f4aa33836d4739662baf0ff4863ecae3a9dae171e594f20161b2bda69f9b7ab6a4d2c454ceb9c813a16bc0e624e7c54ccaa55da6077376ee3148db WHIRLPOOL 1047abf42347f25d71e449c1d9aff69aa94ae56e186cf00ec53e2e3328b8b05b24217b22d3cf9a1ad7ccd0050506d61fae8cc24d34217362bcf4ab61fb7b052f

diff --git a/www-apps/redmine/redmine-3.1.0.ebuild b/www-apps/redmine/redmine-3.1.0.ebuild
new file mode 100644
index 0000000..ab77ab8
--- /dev/null
+++ b/www-apps/redmine/redmine-3.1.0.ebuild
@@ -0,0 +1,208 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/redmine/redmine-2.4.6.ebuild,v 1.2 2014/08/06 00:06:01 mrueg Exp $
+
+EAPI=5
+USE_RUBY="ruby20 ruby21"
+inherit eutils depend.apache ruby-ng user
+
+DESCRIPTION="A flexible project management web application written using Ruby on Rails framework"
+HOMEPAGE="http://www.redmine.org/"
+SRC_URI="http://www.redmine.org/releases/${P}.tar.gz"
+
+KEYWORDS="~amd64"
+LICENSE="GPL-2"
+SLOT="0"
+# All db-related USEs are ineffective since we depend on rails
+# which depends on activerecord which depends on all ruby's db bindings
+#IUSE="ldap openid imagemagick postgres sqlite mysql fastcgi passenger"
+IUSE="ldap fastcgi passenger imagemagick"
+
+ruby_add_rdepend "
+	dev-ruby/rubygems
+	>=dev-ruby/rails-4.2.3:4.2
+	>=dev-ruby/jquery-rails-3.1.1:3
+	>=dev-ruby/coderay-1.1.0
+	dev-ruby/builder:3
+	dev-ruby/mime-types:*
+	=dev-ruby/request_store-1.0.5
+	>=dev-ruby/rbpdf-1.18.6
+	dev-ruby/actionpack-action_caching
+	dev-ruby/actionpack-xml_parser
+	dev-ruby/protected_attributes
+	>=dev-ruby/redcarpet-3.1.2
+	ldap? ( >=dev-ruby/ruby-net-ldap-0.3.1 )
+	>=dev-ruby/ruby-openid-2.3.0
+	>=dev-ruby/rack-openid-0.2.1
+	fastcgi? ( dev-ruby/fcgi )
+	passenger? ( www-apache/passenger )
+	imagemagick? ( >=dev-ruby/rmagick-2.13.4 )"
+	#	ruby_targets_ruby19? (
+#		postgres? ( >=dev-ruby/pg-0.11 )
+#		sqlite3? ( dev-ruby/sqlite3 )
+#		mysql? ( dev-ruby/mysql2:0.3 )
+#	)
+
+#ruby_add_bdepend ">=dev-ruby/rdoc-2.4.2
+#	dev-ruby/yard
+#	test? (
+#		>=dev-ruby/shoulda-3.3.2
+#		>=dev-ruby/mocha-0.13.3
+#		>=dev-ruby/capybara-2.0.0
+#		<dev-ruby/nokogiri-1.6.0
+#	)"
+
+REDMINE_DIR="/var/lib/${PN}"
+
+pkg_setup() {
+	enewgroup redmine
+	enewuser redmine -1 -1 "${REDMINE_DIR}" redmine
+}
+
+all_ruby_prepare() {
+	rm -r log files/delete.me || die
+
+	# bug #406605
+	rm .gitignore .hgignore .travis.yml || die
+
+	rm Gemfile || 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}"
+
+	# remove ldap staff module if disabled to avoid #413779
+	use ldap || rm app/models/auth_source_ldap.rb || die
+
+	# Make it work
+	sed -i -e "1irequire 'request_store'" app/controllers/application_controller.rb || die
+	sed -i -e "18irequire 'action_controller'" -e "19irequire 'action_controller/action_caching'"\
+		app/controllers/welcome_controller.rb || die
+	sed -i -e "4irequire 'action_dispatch/xml_params_parser'" -e "/Bundler/d" config/application.rb || die
+	sed -i -e "18irequire 'protected_attributes'" app/models/custom_field.rb || die
+}
+
+all_ruby_install() {
+	dodoc doc/{CHANGELOG,INSTALL,README_FOR_APP,RUNNING_TESTS,UPGRADING}
+	rm -r doc || die
+	dodoc README.rdoc
+	rm README.rdoc || die
+
+	keepdir /var/log/${PN}
+	dosym /var/log/${PN}/ "${REDMINE_DIR}/log"
+
+	insinto "${REDMINE_DIR}"
+	doins -r .
+	keepdir "${REDMINE_DIR}/files"
+	keepdir "${REDMINE_DIR}/public/plugin_assets"
+
+	fowners -R redmine:redmine \
+		"${REDMINE_DIR}/config" \
+		"${REDMINE_DIR}/files" \
+		"${REDMINE_DIR}/public/plugin_assets" \
+		"${REDMINE_DIR}/tmp" \
+		/var/log/${PN}
+
+	fowners redmine:redmine "${REDMINE_DIR}"
+
+	# protect sensitive data, see bug #406605
+	fperms -R go-rwx \
+		"${REDMINE_DIR}/config" \
+		"${REDMINE_DIR}/files" \
+		"${REDMINE_DIR}/tmp" \
+		/var/log/${PN}
+
+	if use passenger; then
+		has_apache
+		insinto "${APACHE_VHOSTS_CONFDIR}"
+		doins "${FILESDIR}/10_redmine_vhost.conf"
+	else
+		newconfd "${FILESDIR}/${PN}.confd" ${PN}
+		newinitd "${FILESDIR}/${PN}-2.initd" ${PN}
+	fi
+	doenvd "${T}/50${PN}"
+}
+
+pkg_postinst() {
+	einfo
+	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" -o -e "${EPREFIX}${REDMINE_DIR}/config/initializers/secret_token.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 initialize environment:"
+		elog
+		elog "# cd ${EPREFIX}${REDMINE_DIR}"
+		elog "# cp config/database.yml.example config/database.yml"
+		elog "# \${EDITOR} config/database.yml"
+		elog "# chown redmine:redmine 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"
+		eerror "then edit this file in order to configure your database settings for \"production\" environment."
+		die
+	fi
+
+	local RAILS_ENV=${RAILS_ENV:-production}
+	if [ ! -L /usr/bin/ruby ]; then
+		eerror "/usr/bin/ruby is not a valid symlink to any ruby implementation."
+		eerror "Please update it via `eselect ruby`"
+		die
+	fi
+	if [[ $RUBY_TARGETS != *$( eselect ruby show | awk 'NR==2' | tr  -d ' '  )* ]]; then
+		eerror "/usr/bin/ruby is currently not included in redmine's ruby targets: ${RUBY_TARGETS}."
+		eerror "Please update it via `eselect ruby`"
+		die
+	fi
+	local RUBY=${RUBY:-ruby}
+
+	cd "${EPREFIX}${REDMINE_DIR}" || die
+	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" ]; then
+		einfo
+		einfo "Generating secret token."
+		einfo
+		rm config/initializers/session_store.rb || die
+		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake generate_secret_token || die
+	fi
+	if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/secret_token.rb" ]; then
+		einfo
+		einfo "Upgrading database."
+		einfo
+
+		einfo "Migrating database."
+		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
+		einfo "Upgrading the plugin migrations."
+		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:plugins:migrate || 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 "Initializing database."
+		einfo
+
+		einfo "Generating a session store secret."
+		${RUBY} -S rake generate_secret_token || die
+		einfo "Creating the database structure."
+		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
+		einfo "Populating database with default configuration data."
+		RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:load_default_data || die
+		chown redmine:redmine "${EPREFIX}${REDMINE_DIR}"/log/production.log
+		einfo
+		einfo "If you use sqlite3, please do not forget to change the ownership of the sqlite files."
+		einfo
+		einfo "# cd \"${EPREFIX}${REDMINE_DIR}\""
+		einfo "# chown redmine:redmine db/ db/*.sqlite3"
+		einfo
+	fi
+}


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] dev/mrueg:master commit in: www-apps/redmine/
@ 2015-07-09  1:20 Manuel Rüger
  0 siblings, 0 replies; 16+ messages in thread
From: Manuel Rüger @ 2015-07-09  1:20 UTC (permalink / raw
  To: gentoo-commits

commit:     b682641c2b8c999372d6fa88ddafd8362226946b
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  9 01:20:24 2015 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Thu Jul  9 01:20:24 2015 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=b682641c

[www-apps/redmine] Version bump.

Package-Manager: portage-2.2.20

 www-apps/redmine/Manifest                                     |  4 ++--
 .../redmine/{redmine-2.6.5.ebuild => redmine-2.6.6.ebuild}    |  4 ++--
 .../redmine/{redmine-3.0.3.ebuild => redmine-3.0.4.ebuild}    | 11 +++++------
 3 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/www-apps/redmine/Manifest b/www-apps/redmine/Manifest
index f444e1e..cf9b735 100644
--- a/www-apps/redmine/Manifest
+++ b/www-apps/redmine/Manifest
@@ -1,2 +1,2 @@
-DIST redmine-2.6.5.tar.gz 2123682 SHA256 8f1292867307352e4de2a320ad794be18cd6b79f9bb423d14c685a1b7e14229f SHA512 81f3c33adf940f750819f59c248eadab5e2e32d35abd642fd53b56e67832386d92ff340244d9825ee096b7c085f736903f4a5e2d7551e687dc7c7247459c2419 WHIRLPOOL ad3cd2d9a5a841e3f3ec9e8ae9c1d7a243ed249cb268a5dd3b0f6823ade749a60465e9c23811eb0f0911332e22f8c35de20f21130ef7986ebfec72f1fedbe644
-DIST redmine-3.0.3.tar.gz 2157425 SHA256 f95b4db01ebd6b95dce6eaf5782e8dc527e72af7bf52251459cd0f557a3cc045 SHA512 5ad9cce4aa6f22ff2a48e5677fa64f485341e81e450149706c97236a6dde65ebd899e0b01f2e6fe54104a05d13b9da2625d2fa72ddda0052152f8fd19faf97f9 WHIRLPOOL 02a45d86395c73bd09686a7f7875c39dffb84dabafa9a9abf6d517ca725e0675131d1621338efec10d7ebc5e4f1c252b10f8f455dbde62886d20a45d62692b5e
+DIST redmine-2.6.6.tar.gz 2125587 SHA256 fa4fdcd37debf8d72b2a481c03160d0eeabddc65cea0b848784b33136fe25cfd SHA512 288a95d0c532af698e848cb3c8cc6d4366cd08c5682b08de5f1410edf8583df7889a2c27487829a5e2b3ace5da2318ebbafc8f770a56165ec1175b052dd7aa26 WHIRLPOOL a119ac8a413105510551dda53c3fe600362acb4ff9250c758460442232d1fad4339401916b77e750b593ec56127b2f7adbe2537eb0604f9be651d4f1f2e923ae
+DIST redmine-3.0.4.tar.gz 2159370 SHA256 860abb86d89aebb027f70f040b3f64ca5b22f4baa15d0a8eaf4004e92906ecdb SHA512 fbd6fb2f97619132d1879e0daac65378011c7aa188a829dbd573d051e05d674c9068c0016b3fd9d83c84743bbd0e5a447875bdd2315a2bd1b05ddb828b3f2fe6 WHIRLPOOL 3e15f7bfa8d0b165827cb581c4c42a83243d9894b8afd9ee8f084c9e21d9db425acc76e0977d9545d3ce4549ade0afc75d3c08f5ae4ada8971a76be482d516bf

diff --git a/www-apps/redmine/redmine-2.6.5.ebuild b/www-apps/redmine/redmine-2.6.6.ebuild
similarity index 99%
rename from www-apps/redmine/redmine-2.6.5.ebuild
rename to www-apps/redmine/redmine-2.6.6.ebuild
index 62d5921..837cd9e 100644
--- a/www-apps/redmine/redmine-2.6.5.ebuild
+++ b/www-apps/redmine/redmine-2.6.6.ebuild
@@ -22,14 +22,14 @@ IUSE="ldap imagemagick fastcgi passenger"
 
 ruby_add_rdepend "
 	dev-ruby/rubygems
-	>=dev-ruby/rails-3.2.19:3.2
+	>=dev-ruby/rails-3.2.22:3.2
 	>=dev-ruby/jquery-rails-3.1.1:3
 	dev-ruby/i18n:0.6
 	>=dev-ruby/coderay-1.1.0
 	dev-ruby/builder:3
 	dev-ruby/mime-types:*
 	=dev-ruby/request_store-1.0.5
-	>=dev-ruby/rbpdf-1.18.1
+	>=dev-ruby/rbpdf-1.18.6
 	ldap? ( >=dev-ruby/ruby-net-ldap-0.3.1 )
 	>=dev-ruby/ruby-openid-2.3.0
 	>=dev-ruby/rack-openid-0.2.1

diff --git a/www-apps/redmine/redmine-3.0.3.ebuild b/www-apps/redmine/redmine-3.0.4.ebuild
similarity index 96%
rename from www-apps/redmine/redmine-3.0.3.ebuild
rename to www-apps/redmine/redmine-3.0.4.ebuild
index d07cbbc..ab77ab8 100644
--- a/www-apps/redmine/redmine-3.0.3.ebuild
+++ b/www-apps/redmine/redmine-3.0.4.ebuild
@@ -16,17 +16,17 @@ SLOT="0"
 # All db-related USEs are ineffective since we depend on rails
 # which depends on activerecord which depends on all ruby's db bindings
 #IUSE="ldap openid imagemagick postgres sqlite mysql fastcgi passenger"
-IUSE="ldap fastcgi passenger" #imagemagick
+IUSE="ldap fastcgi passenger imagemagick"
 
 ruby_add_rdepend "
 	dev-ruby/rubygems
-	>=dev-ruby/rails-4.2.1:4.2
+	>=dev-ruby/rails-4.2.3:4.2
 	>=dev-ruby/jquery-rails-3.1.1:3
 	>=dev-ruby/coderay-1.1.0
 	dev-ruby/builder:3
 	dev-ruby/mime-types:*
 	=dev-ruby/request_store-1.0.5
-	>=dev-ruby/rbpdf-1.18.5
+	>=dev-ruby/rbpdf-1.18.6
 	dev-ruby/actionpack-action_caching
 	dev-ruby/actionpack-xml_parser
 	dev-ruby/protected_attributes
@@ -35,9 +35,8 @@ ruby_add_rdepend "
 	>=dev-ruby/ruby-openid-2.3.0
 	>=dev-ruby/rack-openid-0.2.1
 	fastcgi? ( dev-ruby/fcgi )
-	passenger? ( www-apache/passenger )"
-	# Not available yet, tests fail
-	#imagemagick? ( >=dev-ruby/rmagick-2.14.0 )
+	passenger? ( www-apache/passenger )
+	imagemagick? ( >=dev-ruby/rmagick-2.13.4 )"
 	#	ruby_targets_ruby19? (
 #		postgres? ( >=dev-ruby/pg-0.11 )
 #		sqlite3? ( dev-ruby/sqlite3 )


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [gentoo-commits] dev/mrueg:master commit in: www-apps/redmine/
@ 2015-07-04 10:45 Manuel Rüger
  0 siblings, 0 replies; 16+ messages in thread
From: Manuel Rüger @ 2015-07-04 10:45 UTC (permalink / raw
  To: gentoo-commits

commit:     b7aa3f1ad3187d1e910832090c80a8fcbec2adf6
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  4 10:45:31 2015 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sat Jul  4 10:45:31 2015 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=b7aa3f1a

[www-apps/redmine] Add ruby21 support to Redmine 3. Add slot deps.

Package-Manager: portage-2.2.20

 www-apps/redmine/redmine-2.6.5.ebuild | 4 ++--
 www-apps/redmine/redmine-3.0.3.ebuild | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/www-apps/redmine/redmine-2.6.5.ebuild b/www-apps/redmine/redmine-2.6.5.ebuild
index 99d348c..62d5921 100644
--- a/www-apps/redmine/redmine-2.6.5.ebuild
+++ b/www-apps/redmine/redmine-2.6.5.ebuild
@@ -23,11 +23,11 @@ IUSE="ldap imagemagick fastcgi passenger"
 ruby_add_rdepend "
 	dev-ruby/rubygems
 	>=dev-ruby/rails-3.2.19:3.2
-	>=dev-ruby/jquery-rails-3.1.1
+	>=dev-ruby/jquery-rails-3.1.1:3
 	dev-ruby/i18n:0.6
 	>=dev-ruby/coderay-1.1.0
 	dev-ruby/builder:3
-	dev-ruby/mime-types
+	dev-ruby/mime-types:*
 	=dev-ruby/request_store-1.0.5
 	>=dev-ruby/rbpdf-1.18.1
 	ldap? ( >=dev-ruby/ruby-net-ldap-0.3.1 )

diff --git a/www-apps/redmine/redmine-3.0.3.ebuild b/www-apps/redmine/redmine-3.0.3.ebuild
index 9959ac3..d07cbbc 100644
--- a/www-apps/redmine/redmine-3.0.3.ebuild
+++ b/www-apps/redmine/redmine-3.0.3.ebuild
@@ -3,7 +3,7 @@
 # $Header: /var/cvsroot/gentoo-x86/www-apps/redmine/redmine-2.4.6.ebuild,v 1.2 2014/08/06 00:06:01 mrueg Exp $
 
 EAPI=5
-USE_RUBY="ruby20"
+USE_RUBY="ruby20 ruby21"
 inherit eutils depend.apache ruby-ng user
 
 DESCRIPTION="A flexible project management web application written using Ruby on Rails framework"
@@ -21,10 +21,10 @@ IUSE="ldap fastcgi passenger" #imagemagick
 ruby_add_rdepend "
 	dev-ruby/rubygems
 	>=dev-ruby/rails-4.2.1:4.2
-	>=dev-ruby/jquery-rails-3.1.1
+	>=dev-ruby/jquery-rails-3.1.1:3
 	>=dev-ruby/coderay-1.1.0
 	dev-ruby/builder:3
-	dev-ruby/mime-types
+	dev-ruby/mime-types:*
 	=dev-ruby/request_store-1.0.5
 	>=dev-ruby/rbpdf-1.18.5
 	dev-ruby/actionpack-action_caching


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2016-10-15 14:30 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-20 20:59 [gentoo-commits] dev/mrueg:master commit in: www-apps/redmine/ Manuel Rüger
  -- strict thread matches above, loose matches on Subject: below --
2016-10-15 14:29 Manuel Rüger
2016-08-29  0:11 Manuel Rüger
2016-08-28 20:39 Manuel Rüger
2016-07-11  0:33 Manuel Rüger
2016-07-11  0:33 Manuel Rüger
2016-03-17  1:17 Manuel Rüger
2016-03-17  1:17 Manuel Rüger
2016-01-17 18:44 Manuel Rüger
2015-12-20 10:55 Manuel Rüger
2015-12-20 10:09 Manuel Rüger
2015-12-06 18:31 Manuel Rüger
2015-11-21 14:49 Manuel Rüger
2015-08-06 19:50 Manuel Rüger
2015-07-09  1:20 Manuel Rüger
2015-07-04 10:45 Manuel Rüger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox