aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2012-12-06 18:52:12 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2012-12-06 18:54:26 +0100
commit570497ae217f416c57e7afa33fa0081d274ebbda (patch)
treefa90584222c3c582ed075d10aec9ae9d41981183 /main
parent31ac7d0b6e5e817a9099399764d84f40c81caad8 (diff)
downloadaports-570497ae217f416c57e7afa33fa0081d274ebbda.tar.bz2
aports-570497ae217f416c57e7afa33fa0081d274ebbda.tar.xz
main/redmine: remove init and disable bundler
Diffstat (limited to 'main')
-rw-r--r--main/redmine/APKBUILD17
-rw-r--r--main/redmine/database.yml3
2 files changed, 9 insertions, 11 deletions
diff --git a/main/redmine/APKBUILD b/main/redmine/APKBUILD
index 35b66b2abc..3dabfc16f0 100644
--- a/main/redmine/APKBUILD
+++ b/main/redmine/APKBUILD
@@ -2,15 +2,15 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=redmine
pkgver=2.1.2
-pkgrel=7
+pkgrel=8
pkgdesc="Project management web application written in Ruby"
url="http://redmine.org"
arch="noarch"
license="GPL2"
depends="ruby-rails ruby-rmagick ruby-i18n ruby-openid ruby-rack
ruby-mocha ruby-jquery-rails ruby-coderay ruby-fastercsv
- ruby-net-ldap ruby-rack-openid ruby-bigdecimal ruby-unicorn
- ruby-json ruby-rdoc ruby-gems"
+ ruby-net-ldap ruby-rack-openid ruby-bigdecimal ruby-json
+ ruby-rdoc ruby-gems"
depends_dev=
makedepends="$depends_dev"
install="$pkgname.pre-install"
@@ -20,8 +20,7 @@ pkggroups="$pkgname"
source="http://rubyforge.org/frs/download.php/76495/redmine-$pkgver.tar.gz
additional_environment.rb
configuration.yml
- database.yml
- $pkgname.initd"
+ database.yml"
_webapps="usr/share/webapps"
_builddir="$srcdir"/redmine-$pkgver
@@ -70,12 +69,12 @@ package() {
chown -R $pkgusers:$pkggroups \
"$pkgdir/$_webapps/$pkgname" \
"$pkgdir"/var/log/"$pkgname"
- install -D -m755 "$srcdir"/$pkgname.initd \
- "$pkgdir"/etc/init.d/$pkgname
+ # this should disable bundler dependencies
+ mv "$pkgdir"/usr/share/webapps/redmine/Gemfile \
+ "$pkgdir"/usr/share/webapps/redmine/.Gemfile
}
md5sums="42feb03a4447bb6551eba34721ec235b redmine-2.1.2.tar.gz
06fa866e699a6f867603f886be3a5eea additional_environment.rb
7347eb8fa89144c8a0ca292702203803 configuration.yml
-009821f07e7337a5fe737a1704cf867d database.yml
-b969b751b3b3025fdb6071f12d8c2165 redmine.initd"
+05e17d7ca4a268b7ab7d3b6a9f5f3fcb database.yml"
diff --git a/main/redmine/database.yml b/main/redmine/database.yml
index 8f65c975c9..9e84da06cc 100644
--- a/main/redmine/database.yml
+++ b/main/redmine/database.yml
@@ -10,6 +10,5 @@ production:
#production:
# adapter: sqlite3
-# database: redmine
-# dbfile: /var/lib/redmine/redmine.db
+# database: /var/lib/redmine/redmine.db