~alpine/aports

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

Details
Message ID
<1436802033-452-1-git-send-email-developer@it-offshore.co.uk>
Sender timestamp
1436802033
DKIM signature
missing
Download raw message
Patch: +6 -1
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 <fabian@affolter-engineering.ch>
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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)