diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2013-01-07 13:40:16 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2013-01-07 13:40:16 +0000 |
commit | 316d59a8f00b0a0b04f13cca74ed7de14252d9b8 (patch) | |
tree | 2e9b8ee2397617166ce195e4928f9a9108e4543d | |
parent | Version bump. (diff) | |
download | historical-316d59a8f00b0a0b04f13cca74ed7de14252d9b8.tar.gz historical-316d59a8f00b0a0b04f13cca74ed7de14252d9b8.tar.bz2 historical-316d59a8f00b0a0b04f13cca74ed7de14252d9b8.zip |
Version bumped, bug #418925.
Package-Manager: portage-2.1.11.38/cvs/Linux x86_64
Manifest-Sign-Key: 0x05280D69
-rw-r--r-- | www-apps/redmine/ChangeLog | 12 | ||||
-rw-r--r-- | www-apps/redmine/Manifest | 35 | ||||
-rw-r--r-- | www-apps/redmine/files/redmine-2.initd | 45 | ||||
-rw-r--r-- | www-apps/redmine/redmine-1.4.5.ebuild | 203 | ||||
-rw-r--r-- | www-apps/redmine/redmine-2.1.5.ebuild | 215 | ||||
-rw-r--r-- | www-apps/redmine/redmine-2.2.0.ebuild | 218 |
6 files changed, 722 insertions, 6 deletions
diff --git a/www-apps/redmine/ChangeLog b/www-apps/redmine/ChangeLog index ee2c1f2d2880..c201fa382961 100644 --- a/www-apps/redmine/ChangeLog +++ b/www-apps/redmine/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for www-apps/redmine -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/redmine/ChangeLog,v 1.32 2012/08/16 03:58:52 flameeyes Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/redmine/ChangeLog,v 1.33 2013/01/07 13:39:26 matsuu Exp $ + +*redmine-2.2.0 (07 Jan 2013) +*redmine-2.1.5 (07 Jan 2013) +*redmine-1.4.5 (07 Jan 2013) + + 07 Jan 2013; MATSUU Takuto <matsuu@gentoo.org> +redmine-1.4.5.ebuild, + +redmine-2.1.5.ebuild, +redmine-2.2.0.ebuild, +files/redmine-2.initd: + Version bumped, bug #418925. 16 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> redmine-1.3.2.ebuild, redmine-1.3.3.ebuild, redmine-1.4.1.ebuild, redmine-1.4.3.ebuild: diff --git a/www-apps/redmine/Manifest b/www-apps/redmine/Manifest index 0ff0279eaa6c..e00883de56f0 100644 --- a/www-apps/redmine/Manifest +++ b/www-apps/redmine/Manifest @@ -1,15 +1,42 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX 10_redmine_vhost.conf 343 SHA256 4067d312a5fc8e7f1f98e8917d2e9c296a70a7e9847efaf92a8415d753387435 SHA512 839a01abedd2977f79bde2a55041d4e3e3a72de1e04e2bdc4aa5169b3ec22adce12b2b39d4b991d6e034fcd13fbcd030cba5ecc69ae71a76f7f37d2cdde09edc WHIRLPOOL 7bdb8c8eb7b24b5fa7750f14a5d6d90504b9e95b1c3d07827a1bba320135ff9aca195282bcc86e6964b742cf0dde3690d79065e61fd14145135ab6ff4c10816b AUX redmine-1.4.1-bundler.patch 504 SHA256 e3c49d68db8e439d9e9203d7369117bf4c61e322d37752e085d34daf012f3128 SHA512 02a799f692389ba79d58f21b2ff9cc3f0c4bdaf5883b787eaf02d43a687117c69dd57116265a48e5bb6378dac7b2fea7a6abb4e778e97bdba4e67d15c9d0eb7b WHIRLPOOL caafb4228182f736b46253f0542403ae4117549fbfd310c34b5c671d74653529bccf59f7f910a085925a271fa434eddfa46a9281ab477ad945c447de60702f0e +AUX redmine-2.initd 1335 SHA256 a838196cd2b0982be478ec4651344bdb25f7a487a38a43c85f77d0b9303e6ded SHA512 3cee5e4b162a08acc32af0e163351eedbfd4beca7ad8f1aeb5fcf7845e4cde481d4c21419d1a8a3206f0d0c105d2a271d09bc9a8fb69d2e3fb1e59e21efc4d3c WHIRLPOOL f25dcc1ae799b609bef5b56c1b4a28b91191b3f21a7329ad25ac0162fadc05fc27857ed037fded39b992c06b5ed2408a334963c185a905fb157e5eef87ed43e0 AUX redmine-rubytree-r8214.patch 8082 SHA256 4fea78ac11b90a44d94bca2f424c0c180ae9d9beb19212b8a88cf157408a5812 SHA512 c292bd850af1ac78252c2b5f4e461756be034933f8d4fc31daafd2c4b3495cd5288810bdc7bbed427dc16eae93d1390afc44ed68c5c068d0f15573f43d68d870 WHIRLPOOL e35fe926db9cb171a06ac81fc85f328538388313690a08bead40f176be040a960a1fb3d5fc3281b42082c8f2801d45a0ba2a3a2275ff2eaff06b763f3d5bb005 AUX redmine.confd 267 SHA256 2ac6b7dfc2d055554b7ee9380fcf1a49a708bbd866987b775507d7a3b30f2d41 SHA512 4e4a700f1540b5e82df6ca610a94adcb08929f5ca75e605e40372b18ccc395515cdd53451ba2b3e3d9bdf129d9052a7218f6323d526c1ffb2540254d279c8d94 WHIRLPOOL fd6e8c63921d7ab2d73b5b15ff91db64ead03e521325871e21a1d165e313a1e56c607e9d9553504ccdef10a917a85ecdd5502527df159012b471803f4063ea00 AUX redmine.initd 1328 SHA256 18ede107d4aaa4712515e9d70910e48ce508954c682cccd29d8936fee527249a SHA512 19527695226d166983d08fb0283023084a1bada6c8ced248fdde8e74048aa364bcf467c947a33127580f9a95eb67de9faaea651a3c5a61649eac9302b03d6585 WHIRLPOOL a889c9af02e0a36635dadedda96c8c0e7c6cab75273b2202ee12e618b048d3de6b9590d041d6b94e8ff8ae995dc3f0cba68d647c6e33a30319a20c645dee879c -DIST redmine-1.3.2.tar.gz 6001754 SHA256 35c8300c875e3c8461b5c21fe026ef3820dfd182b3cd467895c84eb147feabfc -DIST redmine-1.3.3.tar.gz 6002651 SHA256 5e69f80509f042a44bd3f5666b7df42995e90d74b5de154ec5429d658642d6ce -DIST redmine-1.4.1.tar.gz 3651844 SHA256 1f4aeab39c28ebe946fe244aab251e5aca1db1c040f7b2a63db41ac0c589b922 +DIST redmine-1.3.2.tar.gz 6001754 SHA256 35c8300c875e3c8461b5c21fe026ef3820dfd182b3cd467895c84eb147feabfc SHA512 b10117657f1bd424747cd18eb6a0c41e480e8ff3c0778ab3106d8c5f30ee7b0e9d4ab5aaa7ad023dd2c2b9269358e4b94c60d7e68464d1d1608e92ff5ab5bda3 WHIRLPOOL 427c7f2ac9d79b2d503690225dfd3680f7c969005d70ea94766f433ca5331debbd4cd0daa5b6c58a5a4125010ea0ee2b6d4f93e34afe9b64205e3f3203c68ab4 +DIST redmine-1.3.3.tar.gz 6002651 SHA256 5e69f80509f042a44bd3f5666b7df42995e90d74b5de154ec5429d658642d6ce SHA512 f0faf6413c2a311b6b710597d292308346bcf81f3d3a9457d606d281d0c467bea2b6206a3f5959e735ed8eb18e8226cb308d287f6852bb384f0031bb49cd15eb WHIRLPOOL d3ac326ecfb4d9bbd212357b6c6c30d1b0569f8263f3596eddba47a2d48eed7484828a067279cd40fa1e4121ca3bc0273f161afc05f6729cf1d463243ae1948d +DIST redmine-1.4.1.tar.gz 3651844 SHA256 1f4aeab39c28ebe946fe244aab251e5aca1db1c040f7b2a63db41ac0c589b922 SHA512 04761e41cf974f0763b8fa6c9d5099ee90a7e99346176fed27d07bac64e90c4b5e070b50d03c0d98eaadd41d1eeeecfc74af82f020439e4c4dce86ce17dbbe5c WHIRLPOOL 22522ee32a89b36bb3546c2bd74db02f83f362dd6c88b517d13e8d51d39fdc7b4810d591a51a62efa170d83881ff72314991787b655c2e486d67c5f1d22f6160 DIST redmine-1.4.3.tar.gz 3666875 SHA256 2f54ba3055234fb93515395d477de385259ef88b144cf382a980257cf14c8bf2 SHA512 c037fdb6734d857cc4c74de7d6099b0355a0e515fbe5a35a2bf4b1b6aaed7e875b421dab55566a8a3a188b25a902d7f777ec3bdb4ff2a12bb93a3d02f87614fe WHIRLPOOL 68cba3f77ffeab287d6bea0441b4f5137a43560b8f04b21f738205be18f14ad3fbe746f9489343937fd5ae447e3fc59d179f2969bc8f66f96132cfe2516b82c4 +DIST redmine-1.4.5.tar.gz 3675485 SHA256 6e47aed0c9b0c0be2f880078ccbefbcb319d8efc7c8c65b811968e8ca97fe085 SHA512 b95e8f4501b40ef129bd6b8a7d2b86ba0771fa8a3de742218402d5213223133189aa7b318ed026d5f6df879e878fbdf8d9a9ccbc5c973907a2dbc92de09b8456 WHIRLPOOL 58cb4a5a34929ec5e7f7af3d2b79c41553fb740fe54e4a76616e691d1bf75b093cbd1780ccb63f397e5c05c1fee1f63b2f0eb38819f2d1b967abc9e47ea0206a +DIST redmine-2.1.5.tar.gz 3717824 SHA256 6c0919b8645b3ad7be26ebeceb246d28644bc4fca82117d1d470e6903d5c9cdb SHA512 7e63092f79f2e5179e592a944e13d2ad6a612d42708d1f22cebd29d0d8d046b1a827cc6637ea31f0247a29b3002c774757af4ad48c213474052caf2a2d9a709e WHIRLPOOL a544d71433d8008c44af44b6a94e2403dff15a8d54dd83f2d2d9a196742d41b03e608f918f5736a02420b901f80ee99be40c49c9581f00665387ea287b2be476 +DIST redmine-2.2.0.tar.gz 3750916 SHA256 def6701feb247bc86d6fa0e2006832c67c07b41193db0cd2ef7c9368132b9f0c SHA512 9b74c8db74aade743e2f0d48959ff592101af04976d7fa98913afaf79a50bd835c59444911f645100cdce5a85a643a8ea108a4f94f2754fa31aeb60037dab7e7 WHIRLPOOL f5896e62b5b8e0bc75f9aff1056a71cb5a859f8804061182e1a282be6a52499d2b691a16041a2552851e70737f53458a9d81e5050a171f20e70520457b149f23 EBUILD redmine-1.3.2.ebuild 5733 SHA256 1102ab5c87455232cd70b0a67b72699dee21e316eb4c54beae87043ad9beeb90 SHA512 7922864eae569c5858cdc0324ad78540d87e5ffcbf332240ff58b13536fd11cf95f17f6d112f42dd1c400f5a678e98b0b4dd07fd821688e70205f4fd3c575ec9 WHIRLPOOL 5a475020c1fb839ecf533badc1f0fb3bbc748d2a6e1ad669872069ffda0b5f46c51835fb2ae4e149c6924d4dce650707991a34241c3f652a48ba275f5443e0cd EBUILD redmine-1.3.3.ebuild 5733 SHA256 6b76aeaf25b26094182b6bf32d6a347ce4f1963f548cfe749daa7d7f1fa08e1e SHA512 65998641e6938bd0d1fb1c05bb7ed474894c7a4255d790709689d7ddb0f88e32840b47924c2e3f1670314b470c093ac5da4e23159320b41f08e55d5967593692 WHIRLPOOL 147451c824906fb6b49a8d5065055a49415b05f0f09d71eefbb64282ffa527a8401b21c65af852b83ce84dc62d0c2c288a43eee71302af480f4483a4aa3f9395 EBUILD redmine-1.4.1.ebuild 6286 SHA256 130499717de2e4cc65cb8323662d3f7622bda021b71f7bd686661c0841f03d6a SHA512 d4f259b440ba128c10e004a8eefc8f6c840f7091e99bc64088312037db3b3fd7e4a60677094aa79fb461fa108c771236dfac0ff48527d47bf6f3ee972b8b7064 WHIRLPOOL c6af57559d629da778af149eec8c5cedaf62d8371aacd6c57ae5e0d426ed12efbf0ac58ef507cb6622e6559087926838609d25bddaaedd1c7be0e0db4c7e36b7 EBUILD redmine-1.4.3.ebuild 6293 SHA256 69070a617e97727edaf104ddeb173044dc7d13c12d3e52d2909e49e748b0c30d SHA512 712d32c2f439fe54fa9b7f7d368cc289adcb53807140e20b894ceb480f1fac0aeefdf7945a909ff46fd436f191f4e44d1a4477260e3056586f1dfaa517e3e356 WHIRLPOOL 5d523a3dcdcd9691f40fbe34958d4ff18f57f7eae75d05aecacf359173a07f481261cb3c0f0ae240259bc56f383b46621057017197118384296a1f2944ed6ff8 -MISC ChangeLog 6137 SHA256 2e73b1129d5ab8c6b834a21e61109d2daa6ff1192b8aa6163a5b12bf801b9639 SHA512 0736d1972a79343fdbdad029dc1ea44450ceb7aaf3381f91c8fa75988b1193f5c5237ad0658dd1486b9e6cc81b462d0632eccb78476d8790be440cfa1319ca30 WHIRLPOOL 0de48029d1eb78a0b53f9eb3631692a1cb01a6f111f5cd74fafc3c526eda9900cef818f61ef25660c1aab8a22b99d901b1749636b1dee9143d0ab514d6afb440 +EBUILD redmine-1.4.5.ebuild 6297 SHA256 938ab7cde47c5e2bd24dfc197f7c53c4724b3127c7253388f6e5defa3ed06e5d SHA512 169a24db359d9ed1d685907cd28a6de8d00e27dc77979fa232db1d67f6a9bd0d5aeba908abcb1ce8ae26584a57c8c5deda3f5be7f4bedf7206bf40ee507ef29c WHIRLPOOL bc7863bc89184d4ccc10a0b1fd8896f77bb71b654bb9b271da294265663b9bc221221ec201e34bd3d3f68bce7e805756db5742038efa15d1fa28a3302629a9ff +EBUILD redmine-2.1.5.ebuild 6568 SHA256 fdd4594757522cf573c78c3bf401e649b11932da64d5c0c994b884a178953de1 SHA512 9864d8c107c72af5af5de23eac58fc311b8d2641f2b52dd5a6b00874009bea30a68cb618ad6371ecbe16430cbee4ff2f5a802eaddaff61df9db68dbf8d4457be WHIRLPOOL b77564181c2803e7c2c2a791e23f76a94d5c3a70089357d763da49ceffaef6708e937263c6f05e149274dffde254ab8301aa6402d8814ad558867fcf1d68e10b +EBUILD redmine-2.2.0.ebuild 6621 SHA256 7949064867bc8042c33c45ff5a4b36716c4bd3f0bda516f3c7efb211337e1796 SHA512 c330407c615b52da481aacbb9036bfc428df9e424a8768cd87a708ecd994060d55691c50fa31a7b549b2a218e00d2b57cb07f794451cd1ce389caa3bfb59394a WHIRLPOOL 7685418a3906d0188c3b4112d7452601e458e5a24cc6bc5fc1ab8f2cc09992e6acd5fb2729561a63612927670a4c7468b63161b5b961bbf36c92298ef80b767c +MISC ChangeLog 6398 SHA256 8c78cc4aa5411c1637fd89e48c538c8db3a17154ba8dc1510328de9afdc8c410 SHA512 88e7ae96db0c825223b37d4f24a852525457fdc8a6cbac287868e2c44ed5e3795d0aeb13418aece3b150b5a8ca16a221041ed75fe38c60619746390e6900b07d WHIRLPOOL eab33f5274595087ad3b46bd7cbde395493365f67823904e722fc5ef4ae683d5bfd465cb32399b2ec333af6bbb15703c2c8fd0bd3ab933e11c4339ec79a3a30c MISC metadata.xml 398 SHA256 492fedc9e0ee6f7d2aad26b056be8d4f726159417554a5132c5bc3b91ddb68f0 SHA512 49ede1d2d955e02335fb95ef81de1aad003aee360bba1bfc1873e5b1eb7f55d8bee2adbf04bfd1a7d97b1140a3973dcec30e4157ab99c8d1a6394f3f1306af38 WHIRLPOOL 4895566791b46506ed7c9aeea7cba7589ef245c39bbe277542ac79e5abc31950edeb81112b3bc96d3192802848db72e5f6968c02e873ffa7403b96ada3c7fc9f +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQIcBAEBCAAGBQJQ6tA6AAoJECaGw+YFKA1plqAP/jp4IOaOSwQwAF/qXAO8C0tD +vaIxygHF2m0urWyTawAslU9fFMiqDjw/8UJlvjWeqz0VpurXuzqaZcyTuztJpzBh +tFMfk78Vd5NEAF/BPiQQCW+zZlmPjjdPQnunSzw8it0+rcWSos71yFlP8Lx4OeOQ +ZeZQG+MKHhSxaVHEfTlFmzbTtEjOARBfzjr7fw3hoknHfadDjBka8hYgRkK7cOa3 +L8tHqJNTGX17MTDQ4qWUbkPvP7YyRwE7iC7O1rFhsazVSl4W4yXOdr+aOKktyY7A +9cyTj/aL9QhPmxXkW61oC6Wd4XlXaGWuL6UblXejkJEyYgNDi5S6klA2Tb3kTzBr +cUKF5jTLIRaUREN8EWGw3xV174Jk64MKr3Bknm30WzWfZhc9WfJWbfidceGY/l9C +FUNY5jU1sASRJAw4NfEQTjcmROvfNe2s1qEislg7oBODcQakdcpaK4kPSBXMxLDa +NgQpxYmZQzyFfiu6/ofUFDt5ybDg5UGGKmWYRLmejD2DigewBt0UVtjNeJVGAv5E +KR2gfdSn4pa+pe49TH724EdGGqPn/WYh2QOInS13AmKU3F7kPTeV3S4A3pLd6vid +ZcEZzJ2V/h1LOa1eFRhdIIwup2xY5M3YbIRm/PbQN+WIuvX0KD5ecq2z7cmhKSJo +taiHa1Hk0M1msCQ3wafV +=IBPq +-----END PGP SIGNATURE----- diff --git a/www-apps/redmine/files/redmine-2.initd b/www-apps/redmine/files/redmine-2.initd new file mode 100644 index 000000000000..e4aece87f935 --- /dev/null +++ b/www-apps/redmine/files/redmine-2.initd @@ -0,0 +1,45 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/redmine/files/redmine-2.initd,v 1.1 2013/01/07 13:39:26 matsuu Exp $ + +RAILS_ENV=${RAILS_ENV:-production} +REDMINE_DIR=${REDMINE_DIR:-/var/lib/redmine} +REDMINE_ADDRESS=${REDMINE_ADDRESS:-localhost} +REDMINE_PORT=${REDMINE_PORT:-3000} +REDMINE_USER=${REDMINE_USER:-redmine} +REDMINE_GROUP=${REDMINE_GROUP:-redmine} +REDMINE_PIDFILE="${REDMINE_DIR}/tmp/pids/server.pid" + +depend() { + use apache2 git-daemon mysql net postgresql svnserve +} + +start_pre() { + if [ ! -e "${REDMINE_DIR}/config/initializers/secret_token.rb" ] ; then + eerror "Execute the following command to initlize environment:" + eerror + eerror "# emerge --config www-apps/redmine" + eerror + return 1 + fi +} + +start() { + ebegin "Starting redmine" + cd "${REDMINE_DIR}" + start-stop-daemon --start --quiet --user ${REDMINE_USER}:${REDMINE_GROUP} \ + --pidfile "${REDMINE_PIDFILE}" \ + --exec /usr/bin/ruby "${REDMINE_DIR}"/script/rails server -- \ + --daemon --environment=${RAILS_ENV} \ + --binding=${REDMINE_ADDRESS} --port=${REDMINE_PORT} \ + ${REDMINE_OPTS} + eend $? +} + +stop() { + ebegin "Stopping redmine" + cd "${REDMINE_DIR}" + start-stop-daemon --signal INT --quiet --pidfile "${REDMINE_PIDFILE}" + eend $? +} diff --git a/www-apps/redmine/redmine-1.4.5.ebuild b/www-apps/redmine/redmine-1.4.5.ebuild new file mode 100644 index 000000000000..5e888a133015 --- /dev/null +++ b/www-apps/redmine/redmine-1.4.5.ebuild @@ -0,0 +1,203 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/redmine/redmine-1.4.5.ebuild,v 1.1 2013/01/07 13:39:26 matsuu Exp $ + +EAPI="3" +# ruby19: dev-ruby/rack has no ruby19 +# jruby: dev-ruby/rails has no jruby +# rbx: dev-ruby/rails has no rbx +#USE_RUBY="ruby18 ree18" +USE_RUBY="ruby18" +inherit eutils depend.apache ruby-ng + +DESCRIPTION="Redmine is a flexible project management web application written using Ruby on Rails framework" +HOMEPAGE="http://www.redmine.org/" +SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-2" +SLOT="0" +#IUSE="bazaar cvs darcs fastcgi git imagemagick mercurial mysql openid passenger postgres sqlite3 subversion" +IUSE="fastcgi imagemagick ldap openid passenger" + +RDEPEND="$(ruby_implementation_depend ruby18 '>=' -1.8.6)[ssl]" + +ruby_add_rdepend "virtual/ruby-ssl + virtual/rubygems + >=dev-ruby/coderay-1.0.6 + dev-ruby/i18n:0.4 + >=dev-ruby/rack-1.1:0 + >=dev-ruby/tzinfo-0.3.31 + dev-ruby/rake + >=dev-ruby/rails-2.3.14:2.3 + fastcgi? ( dev-ruby/fcgi ) + imagemagick? ( >=dev-ruby/rmagick-2 ) + ldap? ( >=dev-ruby/ruby-net-ldap-0.3.1 ) + openid? ( >=dev-ruby/ruby-openid-2.1.4 ) + passenger? ( www-apache/passenger ) + ruby_targets_ruby18? ( + >=dev-ruby/fastercsv-1.5 + )" +# ruby_targets_ruby18? ( +# >=dev-ruby/fastercsv-1.5 +# postgres? ( >=dev-ruby/pg-0.11 ) +# sqlite3? ( dev-ruby/sqlite3 ) +# mysql? ( dev-ruby/mysql ) +# ) +# ruby_targets_ruby19? ( +# postgres? ( >=dev-ruby/pg-0.11 ) +# sqlite3? ( dev-ruby/sqlite3 ) +# mysql? ( dev-ruby/mysql2:0.2 ) +# ) +# ruby_targets_jruby? ( +# >=dev-ruby/fastercsv-1.5 +# mysql? ( dev-ruby/activerecord-jdbcmysql-adapter ) +# postgres? ( dev-ruby/activerecord-jdbcpostgresql-adapter ) +# sqlite3? ( dev-ruby/activerecord-jdbcsqlite3-adapter ) +# ) + +#ruby_add_bdepend ">=dev-ruby/rdoc-2.4.2 +# test? ( +# >=dev-ruby/shoulda-2.10.3 +# >=dev-ruby/edavis10-object_daddy +# >=dev-ruby/mocha-0.12.3 +# )" + +#RDEPEND="${RDEPEND} +# bazaar ( dev-vcs/bazaar ) +# cvs? ( >=dev-vcs/cvs-1.12 ) +# darcs? ( dev-vcs/darcs ) +# git? ( dev-vcs/git ) +# mercurial? ( dev-vcs/mercurial ) +# subversion? ( >=dev-vcs/subversion-1.3 )" + +REDMINE_DIR="/var/lib/${PN}" + +pkg_setup() { + enewgroup redmine + # home directory is required for SCM. + enewuser redmine -1 -1 "${REDMINE_DIR}" redmine +} + +all_ruby_prepare() { + rm -r log files/delete.me || die + + # bug #406605 + rm .gitignore .hgignore || die + + rm Gemfile config/preinitializer.rb || die + epatch "${FILESDIR}/${PN}-1.4.1-bundler.patch" || die + + echo "CONFIG_PROTECT=\"${EPREFIX}${REDMINE_DIR}/config\"" > "${T}/50${PN}" + echo "CONFIG_PROTECT_MASK=\"${EPREFIX}${REDMINE_DIR}/config/locales ${EPREFIX}${REDMINE_DIR}/config/settings.yml\"" >> "${T}/50${PN}" +} + +all_ruby_install() { + dodoc doc/{CHANGELOG,INSTALL,README_FOR_APP,RUNNING_TESTS,UPGRADING} || die + rm -fr doc || die + dodoc README.rdoc || die + rm README.rdoc || die + + keepdir /var/log/${PN} || die + dosym /var/log/${PN}/ "${REDMINE_DIR}/log" || die + + insinto "${REDMINE_DIR}" + doins -r . || die + keepdir "${REDMINE_DIR}/files" || die + keepdir "${REDMINE_DIR}/public/plugin_assets" || die + + fowners -R redmine:redmine \ + "${REDMINE_DIR}/config" \ + "${REDMINE_DIR}/files" \ + "${REDMINE_DIR}/public/plugin_assets" \ + "${REDMINE_DIR}/tmp" \ + /var/log/${PN} || die + # for SCM + fowners redmine:redmine "${REDMINE_DIR}" || die + # bug #406605 + fperms -R go-rwx \ + "${REDMINE_DIR}/config" \ + "${REDMINE_DIR}/files" \ + "${REDMINE_DIR}/tmp" \ + /var/log/${PN} || die + + if use passenger ; then + has_apache + insinto "${APACHE_VHOSTS_CONFDIR}" + doins "${FILESDIR}/10_redmine_vhost.conf" || die + else + newconfd "${FILESDIR}/${PN}.confd" ${PN} || die + newinitd "${FILESDIR}/${PN}.initd" ${PN} || die + keepdir /var/run/${PN} || die + fowners -R redmine:redmine /var/run/${PN} || die + dosym /var/run/${PN}/ "${REDMINE_DIR}/tmp/pids" || die + fi + doenvd "${T}/50${PN}" || die +} + +pkg_postinst() { + einfo + if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" ] ; then + elog "Execute the following command to upgrade environment:" + elog + elog "# emerge --config \"=${CATEGORY}/${PF}\"" + elog + elog "For upgrade instructions take a look at:" + elog "http://www.redmine.org/wiki/redmine/RedmineUpgrade" + else + elog "Execute the following command to initlize environment:" + elog + elog "# cd ${EPREFIX}${REDMINE_DIR}" + elog "# cp config/database.yml.example config/database.yml" + elog "# \${EDITOR} config/database.yml" + elog "# 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 and edit this file in order to configure your database settings for \"production\" environment." + die + fi + + local RAILS_ENV=${RAILS_ENV:-production} + local RUBY=${RUBY:-ruby18} + + cd "${EPREFIX}${REDMINE_DIR}" + if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" ] ; then + einfo + einfo "Upgrade database." + einfo + + einfo "Migrate database." + RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die + einfo "Upgrade the plugin migrations." + RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate:upgrade_plugin_migrations # || die + RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate_plugins || die + einfo "Clear the cache and the existing sessions." + ${RUBY} -S rake tmp:cache:clear || die + ${RUBY} -S rake tmp:sessions:clear || die + else + einfo + einfo "Initialize database." + einfo + + einfo "Generate a session store secret." + ${RUBY} -S rake generate_session_store || die + einfo "Create the database structure." + RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die + einfo "Insert default configuration data in database." + RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:load_default_data || die + 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-2.1.5.ebuild b/www-apps/redmine/redmine-2.1.5.ebuild new file mode 100644 index 000000000000..e883a8570e24 --- /dev/null +++ b/www-apps/redmine/redmine-2.1.5.ebuild @@ -0,0 +1,215 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/redmine/redmine-2.1.5.ebuild,v 1.1 2013/01/07 13:39:26 matsuu Exp $ + +EAPI="3" +# ruby19: dev-ruby/rack has no ruby19 +# jruby: dev-ruby/rails has no jruby +# rbx: dev-ruby/rails has no rbx +#USE_RUBY="ruby18 ree18" +USE_RUBY="ruby18 ruby19" +inherit eutils depend.apache ruby-ng + +DESCRIPTION="Redmine is a flexible project management web application written using Ruby on Rails framework" +HOMEPAGE="http://www.redmine.org/" +SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-2" +SLOT="0" +#IUSE="bazaar cvs darcs fastcgi git imagemagick mercurial mysql openid passenger postgres sqlite3 subversion" +IUSE="fastcgi imagemagick ldap openid passenger" + +#RDEPEND="$(ruby_implementation_depend ruby18 '>=' -1.8.6)[ssl]" + +ruby_add_rdepend "virtual/ruby-ssl + virtual/rubygems + >=dev-ruby/coderay-1.0.6 + dev-ruby/i18n:0.6 + dev-ruby/rake + ~dev-ruby/rails-3.2.8:3.2 + >=dev-ruby/jquery-rails-2.0.2 + dev-ruby/builder:3 + fastcgi? ( dev-ruby/fcgi ) + imagemagick? ( >=dev-ruby/rmagick-2 ) + ldap? ( >=dev-ruby/ruby-net-ldap-0.3.1 ) + openid? ( + >=dev-ruby/ruby-openid-2.1.4 + >=dev-ruby/rack-openid-0.2.1 + ) + passenger? ( www-apache/passenger ) + " +# ruby_targets_ruby18? ( +# >=dev-ruby/fastercsv-1.5 +# postgres? ( >=dev-ruby/pg-0.11 ) +# sqlite3? ( dev-ruby/sqlite3 ) +# mysql? ( >=dev-ruby/mysql-ruby-2.8.1 ) +# ) +# ruby_targets_ruby19? ( +# postgres? ( >=dev-ruby/pg-0.11 ) +# sqlite3? ( dev-ruby/sqlite3 ) +# mysql? ( dev-ruby/mysql2:0.3 ) +# ) +# ruby_targets_jruby? ( +# dev-ruby/jruby-openssl +# >=dev-ruby/fastercsv-1.5 +# mysql? ( dev-ruby/activerecord-jdbcmysql-adapter ) +# postgres? ( dev-ruby/activerecord-jdbcpostgresql-adapter ) +# sqlite3? ( dev-ruby/activerecord-jdbcsqlite3-adapter ) +# ) + +#ruby_add_bdepend ">=dev-ruby/rdoc-2.4.2 +# yard +# test? ( +# !ruby_targets_ruby19? ( +# >=dev-ruby/shoulda-2.11 +# ) +# ruby_targets_ruby19? ( +# dev-ruby/test-unit +# ) +# >=dev-ruby/mocha-0.12.3 +# )" + +#RDEPEND="${RDEPEND} +# bazaar ( dev-vcs/bazaar ) +# cvs? ( >=dev-vcs/cvs-1.12 ) +# darcs? ( dev-vcs/darcs ) +# git? ( dev-vcs/git ) +# mercurial? ( dev-vcs/mercurial ) +# subversion? ( >=dev-vcs/subversion-1.3 )" + +REDMINE_DIR="/var/lib/${PN}" + +pkg_setup() { + enewgroup redmine + # home directory is required for SCM. + enewuser redmine -1 -1 "${REDMINE_DIR}" redmine +} + +all_ruby_prepare() { + rm -r log files/delete.me || die + + # bug #406605 + rm .gitignore .hgignore || 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}" +} + +all_ruby_install() { + dodoc doc/{CHANGELOG,INSTALL,README_FOR_APP,RUNNING_TESTS,UPGRADING} || die + rm -fr doc || die + dodoc README.rdoc || die + rm README.rdoc || die + + keepdir /var/log/${PN} || die + dosym /var/log/${PN}/ "${REDMINE_DIR}/log" || die + + insinto "${REDMINE_DIR}" + doins -r . || die + keepdir "${REDMINE_DIR}/files" || die + keepdir "${REDMINE_DIR}/public/plugin_assets" || die + + fowners -R redmine:redmine \ + "${REDMINE_DIR}/config" \ + "${REDMINE_DIR}/files" \ + "${REDMINE_DIR}/public/plugin_assets" \ + "${REDMINE_DIR}/tmp" \ + /var/log/${PN} || die + # for SCM + fowners redmine:redmine "${REDMINE_DIR}" || die + # bug #406605 + fperms -R go-rwx \ + "${REDMINE_DIR}/config" \ + "${REDMINE_DIR}/files" \ + "${REDMINE_DIR}/tmp" \ + /var/log/${PN} || die + + if use passenger ; then + has_apache + insinto "${APACHE_VHOSTS_CONFDIR}" + doins "${FILESDIR}/10_redmine_vhost.conf" || die + else + newconfd "${FILESDIR}/${PN}.confd" ${PN} || die + newinitd "${FILESDIR}/${PN}-2.initd" ${PN} || die + keepdir /var/run/${PN} || die + fowners -R redmine:redmine /var/run/${PN} || die + dosym /var/run/${PN}/ "${REDMINE_DIR}/tmp/pids" || die + fi + doenvd "${T}/50${PN}" || die +} + +pkg_postinst() { + einfo + if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" -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 initlize 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 and edit this file in order to configure your database settings for \"production\" environment." + die + fi + + local RAILS_ENV=${RAILS_ENV:-production} + local RUBY=${RUBY:-ruby18} + + cd "${EPREFIX}${REDMINE_DIR}" + if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" ] ; then + einfo + einfo "Generate 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 "Upgrade database." + einfo + + einfo "Migrate database." + RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die + einfo "Upgrade the plugin migrations." + RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake 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 "Initialize database." + einfo + + einfo "Generate a session store secret." + ${RUBY} -S rake generate_secret_token || die + einfo "Create the database structure." + RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die + einfo "Insert default configuration data in database." + RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:load_default_data || die + 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-2.2.0.ebuild b/www-apps/redmine/redmine-2.2.0.ebuild new file mode 100644 index 000000000000..7612b6e0cb4a --- /dev/null +++ b/www-apps/redmine/redmine-2.2.0.ebuild @@ -0,0 +1,218 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/redmine/redmine-2.2.0.ebuild,v 1.1 2013/01/07 13:39:26 matsuu Exp $ + +EAPI="3" +# ruby19: dev-ruby/rack has no ruby19 +# jruby: dev-ruby/rails has no jruby +# rbx: dev-ruby/rails has no rbx +#USE_RUBY="ruby18 ree18" +USE_RUBY="ruby18 ruby19" +inherit eutils depend.apache ruby-ng + +DESCRIPTION="Redmine is a flexible project management web application written using Ruby on Rails framework" +HOMEPAGE="http://www.redmine.org/" +SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-2" +SLOT="0" +#IUSE="bazaar cvs darcs fastcgi git imagemagick mercurial mysql openid passenger postgres sqlite3 subversion" +IUSE="fastcgi imagemagick ldap openid passenger" + +#RDEPEND="$(ruby_implementation_depend ruby18 '>=' -1.8.6)[ssl]" + +ruby_add_rdepend "virtual/ruby-ssl + virtual/rubygems + >=dev-ruby/coderay-1.0.6 + dev-ruby/i18n:0.6 + dev-ruby/rake + ~dev-ruby/rails-3.2.9:3.2 + >=dev-ruby/jquery-rails-2.0.2 + dev-ruby/builder:3 + fastcgi? ( dev-ruby/fcgi ) + imagemagick? ( >=dev-ruby/rmagick-2 ) + ldap? ( >=dev-ruby/ruby-net-ldap-0.3.1 ) + openid? ( + >=dev-ruby/ruby-openid-2.1.4 + >=dev-ruby/rack-openid-0.2.1 + ) + passenger? ( www-apache/passenger ) + " +# ruby_targets_ruby18? ( +# >=dev-ruby/fastercsv-1.5 +# postgres? ( >=dev-ruby/pg-0.11 ) +# sqlite3? ( dev-ruby/sqlite3 ) +# mysql? ( >=dev-ruby/mysql-ruby-2.8.1 ) +# ) +# ruby_targets_ruby19? ( +# postgres? ( >=dev-ruby/pg-0.11 ) +# sqlite3? ( dev-ruby/sqlite3 ) +# mysql? ( dev-ruby/mysql2:0.3 ) +# ) +# ruby_targets_jruby? ( +# dev-ruby/jruby-openssl +# >=dev-ruby/fastercsv-1.5 +# mysql? ( dev-ruby/activerecord-jdbcmysql-adapter ) +# postgres? ( dev-ruby/activerecord-jdbcpostgresql-adapter ) +# sqlite3? ( dev-ruby/activerecord-jdbcsqlite3-adapter ) +# ) + +#ruby_add_bdepend ">=dev-ruby/rdoc-2.4.2 +# yard +# test? ( +# !ruby_targets_ruby19? ( +# >=dev-ruby/shoulda-2.11 +# ) +# ruby_targets_ruby19? ( +# dev-ruby/test-unit +# ) +# ruby_targets_jruby? ( +# dev-ruby/test-unit +# ) +# >=dev-ruby/mocha-0.12.3 +# )" + +#RDEPEND="${RDEPEND} +# bazaar ( dev-vcs/bazaar ) +# cvs? ( >=dev-vcs/cvs-1.12 ) +# darcs? ( dev-vcs/darcs ) +# git? ( dev-vcs/git ) +# mercurial? ( dev-vcs/mercurial ) +# subversion? ( >=dev-vcs/subversion-1.3 )" + +REDMINE_DIR="/var/lib/${PN}" + +pkg_setup() { + enewgroup redmine + # home directory is required for SCM. + enewuser redmine -1 -1 "${REDMINE_DIR}" redmine +} + +all_ruby_prepare() { + rm -r log files/delete.me || die + + # bug #406605 + rm .gitignore .hgignore || 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}" +} + +all_ruby_install() { + dodoc doc/{CHANGELOG,INSTALL,README_FOR_APP,RUNNING_TESTS,UPGRADING} || die + rm -fr doc || die + dodoc README.rdoc || die + rm README.rdoc || die + + keepdir /var/log/${PN} || die + dosym /var/log/${PN}/ "${REDMINE_DIR}/log" || die + + insinto "${REDMINE_DIR}" + doins -r . || die + keepdir "${REDMINE_DIR}/files" || die + keepdir "${REDMINE_DIR}/public/plugin_assets" || die + + fowners -R redmine:redmine \ + "${REDMINE_DIR}/config" \ + "${REDMINE_DIR}/files" \ + "${REDMINE_DIR}/public/plugin_assets" \ + "${REDMINE_DIR}/tmp" \ + /var/log/${PN} || die + # for SCM + fowners redmine:redmine "${REDMINE_DIR}" || die + # bug #406605 + fperms -R go-rwx \ + "${REDMINE_DIR}/config" \ + "${REDMINE_DIR}/files" \ + "${REDMINE_DIR}/tmp" \ + /var/log/${PN} || die + + if use passenger ; then + has_apache + insinto "${APACHE_VHOSTS_CONFDIR}" + doins "${FILESDIR}/10_redmine_vhost.conf" || die + else + newconfd "${FILESDIR}/${PN}.confd" ${PN} || die + newinitd "${FILESDIR}/${PN}-2.initd" ${PN} || die + keepdir /var/run/${PN} || die + fowners -R redmine:redmine /var/run/${PN} || die + dosym /var/run/${PN}/ "${REDMINE_DIR}/tmp/pids" || die + fi + doenvd "${T}/50${PN}" || die +} + +pkg_postinst() { + einfo + if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" -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 initlize 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 and edit this file in order to configure your database settings for \"production\" environment." + die + fi + + local RAILS_ENV=${RAILS_ENV:-production} + local RUBY=${RUBY:-ruby18} + + cd "${EPREFIX}${REDMINE_DIR}" + if [ -e "${EPREFIX}${REDMINE_DIR}/config/initializers/session_store.rb" ] ; then + einfo + einfo "Generate 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 "Upgrade database." + einfo + + einfo "Migrate database." + RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die + einfo "Upgrade the plugin migrations." + RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake 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 "Initialize database." + einfo + + einfo "Generate a session store secret." + ${RUBY} -S rake generate_secret_token || die + einfo "Create the database structure." + RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die + einfo "Insert default configuration data in database." + RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:load_default_data || die + 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 +} |