Don't use both --with-man and --with-mdoc since they both set different
mantypes. We only need --with-mdoc in order to use the mdoc mantype.
Furthermore explicitly enable PIE support and explicitly disable NLS
support.
---
main/sudo/APKBUILD | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/main/sudo/APKBUILD b/main/sudo/APKBUILD
index c9850e4..b55f032 100644
--- a/main/sudo/APKBUILD
+++ b/main/sudo/APKBUILD
@@ -1,3 +1,4 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sudo
@@ -7,7 +8,7 @@ if [ "${pkgver%_*}" != "$pkgver" ]; then
else
_realver=$pkgver
fi
-pkgrel=0
+pkgrel=1
pkgdesc="Give certain users the ability to run some commands as root"
url="http://www.sudo.ws/sudo/"
arch="all"
@@ -40,8 +41,9 @@ build() {
--prefix=/usr \
--libexecdir=/usr/lib \
--mandir=/usr/share/man \
+ --disable-nls \
+ --enable-pie \
--with-env-editor \
- --with-man \
--with-mdoc \
--without-pam \
--without-skey \
--
2.6.1
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---