blob: 0a15fafed75e0ba42516b6355da4f0579d16d7b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=su-exec
pkgver=0.1
pkgrel=0
pkgdesc="switch user and group id, setgroups and exec"
url="https://github.com/ncopa/su-exec"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="su-exec-$pkgver.tar.gz::https://github.com/ncopa/su-exec/archive/v$pkgver.tar.gz"
_builddir="$srcdir"/su-exec-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make || return 1
}
package() {
cd "$_builddir"
install -D su-exec "$pkgdir"/sbin/su-exec || return 1
}
md5sums="e11784db3e41f769b805d0f284686d72 su-exec-0.1.tar.gz"
sha256sums="dfc18f5ef97d7dfe859643ff5c3a026b368b99a37a3095cb79364f906be922c4 su-exec-0.1.tar.gz"
sha512sums="a67dd4044097c0dead914298358657211a3425353d0f8dd4960a9fb734e6d6499bc0e829a1bb3a21ac6366f199f481413092dfbc9a08b158bf40e3f06df63e49 su-exec-0.1.tar.gz"
|