summaryrefslogtreecommitdiffstats
path: root/meta/packages/sudo/sudo.inc
diff options
context:
space:
mode:
authorKevin Tian <kevin.tian@intel.com>2010-06-22 11:33:06 +0800
committerSaul Wold <Saul.Wold@intel.com>2010-07-02 10:35:11 -0700
commit6b81c6dbb55d57a0f8d96ee5e3f5d1e6148850b1 (patch)
tree529a9eeec848c4c258c7282f394a1d1d02fca999 /meta/packages/sudo/sudo.inc
parent14df5714866dcb1b0b93fc9e30dffb4931127de9 (diff)
downloadpoky-6b81c6dbb55d57a0f8d96ee5e3f5d1e6148850b1.tar.gz
sudo: upgrade to 1.7.2p7
Old 1.6.8p12 is quite old, even w/o source available now (only cached in pokylinux). [Patches-Poky] KEEP _autofoo.patch_: deal with bunch of autotool warnings/errors, more about underquotes. In 1.7.2p7, those error conditions disappear. But the underquotes fix is still valid to remove a bunch of autoconf warnings REMOVE _autofoo1.patch_: copy of autofoo.patch. no one uses it. REMOVE. KEEP _noexec-link.patch_: use "-module" to avoid libtool complaining about not starting with "lib". Add comment to the patch file. DISABLE _nostrip.patch_: it's wrong to strip target binaries on build host. Borrow from OE to use 'sed' instead of patch, but keept it for remind to upstream REMOVE _nonrootinstall.patch_: handle mode/owner population at install. It's not requried at all since there's pkg_postinst to handle it at right stage Other misc stuff: - update metadata information - no need to use ${S} in 1.7.2p7 - fix idention - use sed to disable strip - changes from OE: * disable PAM as our pam doesn't include necessary config files and plugs * no need to special sudo_cv_uid_t_len tweak in the recipe. It's already there in poky site files for a long time * move sudo_cv_func_unsetenv_void to meta/site/common. Stdlib.h is common across architectures in our libc headers, which conforms to POSIX standard (borrow from openembedded 1.7.2p4) Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Diffstat (limited to 'meta/packages/sudo/sudo.inc')
-rw-r--r--meta/packages/sudo/sudo.inc18
1 files changed, 13 insertions, 5 deletions
diff --git a/meta/packages/sudo/sudo.inc b/meta/packages/sudo/sudo.inc
index 0dfb22ba8a..2add94bef4 100644
--- a/meta/packages/sudo/sudo.inc
+++ b/meta/packages/sudo/sudo.inc
@@ -1,17 +1,25 @@
1DESCRIPTION = "Sudo (superuser do) allows a system \ 1DESCRIPTION = "Sudo (superuser do) allows a system administrator to give certain users (or groups of users) the ability to run some (or all) commands as root while logging all commands and arguments."
2administrator to give certain users (or groups of \
3users) the ability to run some (or all) commands \
4as root while logging all commands and arguments."
5LICENSE = "sudo"
6HOMEPAGE = "http://www.courtesan.com/sudo/" 2HOMEPAGE = "http://www.courtesan.com/sudo/"
3BUGTRACKER = "http://www.sudo.ws/bugs/"
7PRIORITY = "optional" 4PRIORITY = "optional"
8SECTION = "admin" 5SECTION = "admin"
6LICENSE = "ISC & UCB & MIT"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=a7dfe8895011d65d0c2e24aaf5ad0843 \
8 file://nonunix.h;startline=4;endline=28;md5=1e70feedac93a3fd7f5254e3fec52677 \
9 file://vasgroups.c;startline=4;endline=28;md5=1e70feedac93a3fd7f5254e3fec52677 \
10 file://fnmatch.c;startline=6;endline=31;md5=0779058eafd6e23b966585b45bfa54f3 \
11 file://getcwd.c;startline=5;endline=27;md5=08d82914995224a0ca42116d7ca2a218 \
12 file://glob.c;startline=6;endline=31;md5=299cb38ec8d56e89118ce57fb83b4f78 \
13 file://snprintf.c;startline=6;endline=31;md5=dabd56a89a7a773850dc06ee4f1ecde2"
9 14
10inherit autotools 15inherit autotools
11 16
12EXTRA_OECONF = "--with-editor=/bin/vi --with-env-editor" 17EXTRA_OECONF = "--with-editor=/bin/vi --with-env-editor"
13 18
14do_configure_prepend () { 19do_configure_prepend () {
20 # Prevent binaries from being stripped on the host
21 sed -i 's/\($(INSTALL).*\) -s \(.*[(sudo|visudo)]\)/\1 \2/g' Makefile.in
22
15 rm -f acsite.m4 23 rm -f acsite.m4
16 if [ ! -e acinclude.m4 ]; then 24 if [ ! -e acinclude.m4 ]; then
17 cat aclocal.m4 > acinclude.m4 25 cat aclocal.m4 > acinclude.m4