mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-01 19:52:16 +01:00
community/inspircd: create inspircd user/group
This commit is contained in:
parent
b635aaef64
commit
3d4eb16287
@ -2,7 +2,7 @@
|
||||
# Maintainer: Sadie Powell <sadie@witchery.services>
|
||||
pkgname=inspircd
|
||||
pkgver=4.7.0
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="internet relay chat daemon (ircd)"
|
||||
url="https://www.inspircd.org/"
|
||||
pkgusers="inspircd"
|
||||
@ -21,6 +21,7 @@ makedepends="
|
||||
sqlite-dev
|
||||
yyjson-dev
|
||||
"
|
||||
install="inspircd.pre-install"
|
||||
subpackages="$pkgname-doc $pkgname-openrc"
|
||||
options="!check" # no test suite
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/inspircd/inspircd/archive/v$pkgver.tar.gz
|
||||
|
||||
6
community/inspircd/inspircd.pre-install
Normal file
6
community/inspircd/inspircd.pre-install
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
addgroup -S inspircd 2>/dev/null
|
||||
adduser -S -D -h /var/lib/inspircd -s /sbin/nologin -G inspircd -g inspircd inspircd 2>/dev/null
|
||||
|
||||
exit 0
|
||||
Loading…
x
Reference in New Issue
Block a user