[arch-commits] Commit in redmine/repos (4 files)

Evangelos Foutras foutrelis at archlinux.org
Wed Apr 8 22:52:17 UTC 2020


    Date: Wednesday, April 8, 2020 @ 22:52:15
  Author: foutrelis
Revision: 612805

archrelease: copy trunk to community-staging-any

Added:
  redmine/repos/community-staging-any/
  redmine/repos/community-staging-any/Gemfile.local
    (from rev 612804, redmine/trunk/Gemfile.local)
  redmine/repos/community-staging-any/PKGBUILD
    (from rev 612804, redmine/trunk/PKGBUILD)
  redmine/repos/community-staging-any/redmine.service
    (from rev 612804, redmine/trunk/redmine.service)

-----------------+
 Gemfile.local   |    9 +++++++++
 PKGBUILD        |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 redmine.service |   15 +++++++++++++++
 3 files changed, 75 insertions(+)

Copied: redmine/repos/community-staging-any/Gemfile.local (from rev 612804, redmine/trunk/Gemfile.local)
===================================================================
--- community-staging-any/Gemfile.local	                        (rev 0)
+++ community-staging-any/Gemfile.local	2020-04-08 22:52:15 UTC (rev 612805)
@@ -0,0 +1,9 @@
+gem "xpath", "< 4.0"
+gem "capybara", "~> 3.25.0"
+gem "ffi", ">= 0"
+gem "childprocess", "= 0.9.0"
+gem "docile", "= 1.1.5"
+gem "metaclass", "= 0.0.4"
+gem "mocha", ">= 1.4.0"
+gem "mysql2", "~> 0.5.0"
+gem "pg", "~> 1.1.4"

Copied: redmine/repos/community-staging-any/PKGBUILD (from rev 612804, redmine/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-04-08 22:52:15 UTC (rev 612805)
@@ -0,0 +1,51 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Federico Cuello <fedux at fedux.com.ar>
+
+pkgname=redmine
+pkgver=4.1.0
+pkgrel=2
+pkgdesc="A flexible project management web application written using Ruby on Rails framework."
+arch=('any')
+url="https://www.redmine.org"
+license=('GPL2')
+depends=('ruby2.6' 'libmagick6' 'libxml2' 'libxslt')
+makedepends=('mariadb-libs' 'postgresql-libs')
+optdepends=('apache: A supported application server'
+            'nginx: A supported application server'
+            'mysql: MySQL database support'
+            'postgresql: PostgreSQL database support'
+            'sqlite: SQLite database support')
+source=("$url/releases/$pkgname-$pkgver.tar.gz"
+	"Gemfile.local"
+	"redmine.service")
+sha512sums=('d77eb4efe8d83a247c4462add8800297bd845276b93c7fd38b3eb5e36b7013dce39b8193b2c687de98d9da196fe8251b104363b1f16cdcbfd5a1af02d55812e7'
+            'f9b19ae2c3ef548ccde3e6fcc0c37906e38496a145adb2b4161843db7ed64a2fd7c1b35a18d8bb23dc36e896a1505388b65df7bb768517a5cafbd43e0abc3a3f'
+            '0b897980a8920538674fa7585e1dbaef48a152226215d598c41b3fcf4ac6566b5866d6e3132c30c0adbdc0d8e0080e2541cb4a119aedc6bef24fd6c129abd4eb')
+
+build() {
+    cd "$srcdir"/redmine-$pkgver
+
+    export PATH=/opt/ruby2.6/bin:$PATH
+    export PKG_CONFIG_PATH="/usr/lib/imagemagick6/pkgconfig"
+
+    cp "${srcdir}"/Gemfile.local Gemfile.local
+    bundle-2.6 lock
+    bundle-2.6 install --no-cache --deployment --without development test
+}
+
+package() {
+    install -dm 755 "$pkgdir"/usr/share/webapps/
+    cp -a --no-preserve=ownership "$srcdir"/redmine-$pkgver "$pkgdir"/usr/share/webapps/redmine
+
+    install -Dm0644 "${srcdir}"/redmine.service "${pkgdir}"/usr/lib/systemd/system/redmine.service
+
+    cd "$pkgdir"/usr/share/webapps/redmine
+    rm -rf files log
+    install -dm0755 -o http -g http "$pkgdir"/var/lib/redmine/files
+    install -dm0755 -o http -g http "$pkgdir"/var/log/redmine
+    mv tmp "$pkgdir"/var/lib/redmine/tmp
+    chown -R http:http "$pkgdir"/var/lib/redmine/tmp
+    ln -s /var/log/redmine log
+    ln -s /var/lib/redmine/files files
+    ln -s /var/lib/redmine/tmp tmp
+}

Copied: redmine/repos/community-staging-any/redmine.service (from rev 612804, redmine/trunk/redmine.service)
===================================================================
--- community-staging-any/redmine.service	                        (rev 0)
+++ community-staging-any/redmine.service	2020-04-08 22:52:15 UTC (rev 612805)
@@ -0,0 +1,15 @@
+[Unit]
+Description=DSR Redmine
+After=network.target
+
+[Service]
+Type=simple
+User=http
+Group=http
+WorkingDirectory=/usr/share/webapps/redmine
+ExecStart=/usr/bin/ruby-2.6 ./bin/rails server webrick -e production -b 127.0.0.1 -p 3020
+RestartSec=60
+Restart=always
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list