Subject: [alpine-aports] [PATCH] testing/lshell: add lshell user:group (revised)

From: Stuart Cardall <[email-masked]>
Date: Mon, 13 Jul 2015 15:40:33 +0000

with $pkgrel bumped
---
 testing/lshell/APKBUILD           | 2 +-
 testing/lshell/lshell.pre-install | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)
 create mode 100644 testing/lshell/lshell.pre-install

diff --git a/testing/lshell/APKBUILD b/testing/lshell/APKBUILD
index 6504225..b0b59bc 100644
--- a/testing/lshell/APKBUILD
+++ b/testing/lshell/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Fabian Affolter <[email-masked]>
 pkgname=lshell
 pkgver=0.9.16
-pkgrel=0
+pkgrel=1
 pkgdesc="Python-based limited Shell"
 url="http://ghantoos.org/limited-shell-lshell"
 arch="noarch"
diff --git a/testing/lshell/lshell.pre-install b/testing/lshell/lshell.pre-install
new file mode 100644
index 0000000..b8b883e
--- /dev/null
+++ b/testing/lshell/lshell.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+addgroup -S lshell 2>/dev/null
+adduser -S -H -h /var/empty -G lshell -D -s /sbin/nologin lshell 2>/dev/null
+exit 0
+
-- 
2.4.5

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---