Mail archive
alpine-aports

[alpine-aports] [PATCH] main/sudo: cleanup configure options

From: Sören Tempel <soeren+git_at_soeren-tempel.net>
Date: Mon, 9 Nov 2015 11:10:24 +0100

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
_at_@ -1,3 +1,4 @@
+# Contributor: Sören Tempel <soeren+alpine_at_soeren-tempel.net>
 # Contributor: Łukasz Jendrysik <scadu_at_yandex.com>
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=sudo
_at_@ -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"
_at_@ -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_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Nov 09 2015 - 11:10:24 GMT