aboutsummaryrefslogtreecommitdiffstats
path: root/main/sudo/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/sudo/APKBUILD')
-rw-r--r--main/sudo/APKBUILD67
1 files changed, 0 insertions, 67 deletions
diff --git a/main/sudo/APKBUILD b/main/sudo/APKBUILD
deleted file mode 100644
index 487172ac21a..00000000000
--- a/main/sudo/APKBUILD
+++ /dev/null
@@ -1,67 +0,0 @@
-# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
-# Contributor: Łukasz Jendrysik <scadu@yandex.com>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=sudo
-pkgver=1.9.0
-if [ "${pkgver%_*}" != "$pkgver" ]; then
- _realver=${pkgver%_*}${pkgver#*_}
-else
- _realver=$pkgver
-fi
-pkgrel=0
-pkgdesc="Give certain users the ability to run some commands as root"
-url="https://www.sudo.ws/sudo/"
-arch="all"
-license="custom ISC"
-makedepends="zlib-dev bash mandoc"
-subpackages="$pkgname-doc $pkgname-dev"
-source="https://www.sudo.ws/dist/sudo-$_realver.tar.gz
- fix-cross-compile.patch
- SIGUNUSED.patch
- "
-options="suid"
-
-# secfixes:
-# 1.8.31-r0:
-# - CVE-2019-18634
-# 1.8.28-r0:
-# - CVE-2019-14287
-# 1.8.20_p2-r0:
-# - CVE-2017-1000368
-
-build() {
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --libexecdir=/usr/lib \
- --mandir=/usr/share/man \
- --disable-nls \
- --enable-pie \
- --with-env-editor \
- --with-mdoc \
- --without-pam \
- --without-skey \
- --with-passprompt="[sudo] password for %p: "
-
- # Workaround until SIGUNUSED.patch is not needed anymore
- rm lib/util/mksiglist.h lib/util/mksigname.h
- make -C lib/util DEVEL=1 mksiglist.h mksigname.h
- make
-}
-
-check() {
- make check
-}
-
-package() {
- # the sudo's mkinstalldir script miscreates the leading
- # path components with bad permissions. fix this.
- install -d -m0755 "$pkgdir"/var "$pkgdir"/var/db
- make -j1 DESTDIR="$pkgdir" install
- rm -rf "$pkgdir"/var/run
-}
-
-sha512sums="f2a191ea5fc65865718b110d4aca187cb5e2cd55c9c891fab32f21401e56f825f34c373e346c55c64fa49cec4d802efb63ccebf3d4a4e31d9a433077daf013b1 sudo-1.9.0.tar.gz
-f0f462f40502da2194310fe4a72ec1a16ba40f95a821ba9aa6aabaa423d28c4ab26b684afa7fb81c2407cf60de9327bdab01de51b878c5d4de49b0d62645f53c fix-cross-compile.patch
-1f81f85f9dea6ee7e66d9b180611115cf8945f01cde19f5666ac09c759ae0c9a49fb464672650ec216e43d9159ff97c9ba786d5cae5917642ab1f31c29af8546 SIGUNUSED.patch"