summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFranco Masotti2017-03-09 15:12:58 +0100
committerFranco Masotti2017-03-09 15:12:58 +0100
commit37b5a13871ff9391c664426526f6f0cc8f907c23 (patch)
tree67e909c0a180d133a41c5bcc4512265d4f656d25
parentf167ae8afd9f964de7f4615d5bd70ec79765edcd (diff)
downloadaur-rserve-sandbox-docker-bin.tar.gz
Added missing files.
-rw-r--r--.SRCINFO8
-rw-r--r--.install10
-rw-r--r--PKGBUILD2
3 files changed, 13 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 66917a36d0e..86a94584c80 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,19 @@
pkgbase = rserve-sandbox-docker-bin
pkgdesc = Pre-compiled version of a Docker spec for running Rserve in a sandbox
pkgver = r6.fb0ec65
- pkgrel = 1
+ pkgrel = 3
url = https://gitlab.com/frnmst/rserve-sandbox-bin
install = .install
arch = x86_64
license = BSD
makedepends = git
makedepends = sed
- depends = r
+ depends = bash
+ depends = coreutils
depends = docker
+ depends = gawk
+ depends = make
+ depends = r
conflicts = rserve-sandbox-docker
source = git+https://gitlab.com/frnmst/rserve-sandbox-bin#branch=distro-package
md5sums = SKIP
diff --git a/.install b/.install
index 9c4778de838..5871a701953 100644
--- a/.install
+++ b/.install
@@ -1,14 +1,16 @@
post_install() {
# Add rserve user and group.
- getent group rserve &>/dev/null || groupadd -g 32749 -r rserve >/dev/null
- getent passwd rserve &>/dev/null || useradd -u 32749 -m -d /home/rserve \
+ getent group rserve 1>/dev/null 2>/dev/null \
+|| groupadd -g 32749 -r rserve >/dev/null
+ getent passwd rserve 1>/dev/null 2>/dev/null \
+|| useradd -u 32749 -m -d /home/rserve \
-s /bin/false -r -g rserve rserve >/dev/null
# Exec the chmod just like in the Makefile.
chmod 750 /home/rserve
# Add rsd user and group.
- getent group rsd &>/dev/null || groupadd -r rsd >/dev/null
- getent passwd rsd &>/dev/null || useradd -s /bin/false \
+ getent group rsd 1>/dev/null 2>/dev/null || groupadd -r rsd >/dev/null
+ getent passwd rsd 1>/dev/null 2>/dev/null || useradd -s /bin/false \
-r -g rsd rsd >/dev/null
# This is explained in the Arch Wiki. It seems that anyone belonging to the
diff --git a/PKGBUILD b/PKGBUILD
index 052e9851028..63bd12755ce 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Franco Masotti <franco dot masotti at student dot unife dot it>
pkgname=rserve-sandbox-docker-bin
pkgver=r6.fb0ec65
-pkgrel=2
+pkgrel=3
pkgdesc="Pre-compiled version of a Docker spec for running Rserve in a sandbox"
arch=('x86_64')
url="https://gitlab.com/frnmst/rserve-sandbox-bin"