summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2020-03-10 13:14:22 +0100
committerKarel Kočí <karel.koci@nic.cz>2020-03-10 13:14:22 +0100
commit0c1edf4453e1a80c98851e5084cb1f94ff424d79 (patch)
tree48ba4f1bda645659090ee7cf67125ea09bb8c4d9
parent220b4db3e67f4dc98212f1287168dc1a2ca8e74a (diff)
downloadgentoo-personal-overlay-0c1edf4453e1a80c98851e5084cb1f94ff424d79.tar.gz
gentoo-personal-overlay-0c1edf4453e1a80c98851e5084cb1f94ff424d79.tar.bz2
gentoo-personal-overlay-0c1edf4453e1a80c98851e5084cb1f94ff424d79.zip
dev-util: add build user for laminar
-rw-r--r--acct-group/build/build-0.ebuild5
-rw-r--r--acct-user/build/build-0.ebuild12
-rwxr-xr-xdev-util/laminar/files/laminar.init1
-rw-r--r--dev-util/laminar/laminar-0.8-r2.ebuild (renamed from dev-util/laminar/laminar-0.8-r1.ebuild)7
4 files changed, 23 insertions, 2 deletions
diff --git a/acct-group/build/build-0.ebuild b/acct-group/build/build-0.ebuild
new file mode 100644
index 0000000..e1a39c7
--- /dev/null
+++ b/acct-group/build/build-0.ebuild
@@ -0,0 +1,5 @@
+EAPI=7
+
+inherit acct-group
+
+ACCT_GROUP_ID=220
diff --git a/acct-user/build/build-0.ebuild b/acct-user/build/build-0.ebuild
new file mode 100644
index 0000000..60be59f
--- /dev/null
+++ b/acct-user/build/build-0.ebuild
@@ -0,0 +1,12 @@
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="Build system user"
+
+ACCT_USER_ID=220
+ACCT_USER_HOME=/var/build
+ACCT_USER_SHELL=/bin/sh
+ACCT_USER_GROUPS=( build )
+
+acct-user_add_deps
diff --git a/dev-util/laminar/files/laminar.init b/dev-util/laminar/files/laminar.init
index 46df2d9..f0a4658 100755
--- a/dev-util/laminar/files/laminar.init
+++ b/dev-util/laminar/files/laminar.init
@@ -7,4 +7,5 @@ command_background=yes
pidfile=/var/run/laminar.pid
start_stop_daemon_args="$(sed -n 's/^\([^#].*=.*\)/ -e \1/p' /etc/laminar.conf)"
command_user=build
+command_group=build
error_logger=/usr/bin/logger
diff --git a/dev-util/laminar/laminar-0.8-r1.ebuild b/dev-util/laminar/laminar-0.8-r2.ebuild
index 55d16d9..479ed3b 100644
--- a/dev-util/laminar/laminar-0.8-r1.ebuild
+++ b/dev-util/laminar/laminar-0.8-r2.ebuild
@@ -20,8 +20,11 @@ DEPEND="
dev-libs/capnproto
dev-libs/rapidjson
dev-db/sqlite
- dev-libs/boost"
-RDEPEND="${DEPEND}"
+ dev-libs/boost
+"
+RDEPEND="${DEPEND}
+ acct-user/build
+"
src_unpack() {
# Note that ${A} contains also other files so no general unpack