summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sudo
Commit message (Collapse)AuthorAgeFilesLines
* sudo: use ${bindir} and ${sysconfdir} instead of /usr/bin and /etcJavier Martinez Canillas2012-08-061-3/+3
| | | | | | | | | | It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. (From OE-Core rev: a9c73d9d3dd5f7fbee82d7ed3cb88a80aa3cbfbd) Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to 1.8.5p2Scott Garman2012-06-252-4/+4
| | | | | | | | | LIC_FILES_CHKSUM updated due to trivial copyright date change. (From OE-Core rev: 373e4fef7b4687a875a24c2c51a89fe2f251a4a9) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: fixed wrong `chmod` pathMihai Lindner2012-05-251-3/+3
| | | | | | | | | | | | Placed $D between braces ${D} to be correctly expanded to the workdir path, instead of a path relative to host rootfs. Currently, bitbake sudo fails on host systems where sudo is not installed. (From OE-Core rev: 70562306a051ac93001851213441c9d5d6234517) Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to 1.8.4p4Scott Garman2012-03-191-3/+3
| | | | | | | (From OE-Core rev: 4bdd31625ba9d4f9f0e9dc7775ad650d53dd221a) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to 1.8.4Scott Garman2012-03-022-5/+6
| | | | | | | | | | | | | | | | | | | During the upgrade to 1.8.4, the UCB-licensed fnmatch.c was replaced with a non-recursive BSD-licensed version, hence the removal of UCB and addition of BSD in the LICENSE field. This led to checksum changes in the doc/LICENSE file, and we now additionally track the comment headers in redblack.c. These changes were confirmed on the sudo mailing list: http://www.sudo.ws/pipermail/sudo-workers/2012-February/000736.html This upgrade also fixes CVE-2012-0809. (From OE-Core rev: 7147a569758414467c9d022e4c11fbc303e050aa) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: Avoid post install scriptsMark Hatle2011-11-112-9/+4
| | | | | | | | | | The post install script was removed, and the install_append updated to ensure the permissions are set correctly. (From OE-Core rev: 463e44ae159da2e03369f9ac14843b479de2e43d) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to 1.8.3Scott Garman2011-10-271-3/+3
| | | | | | | (From OE-Core rev: 6d300745bb70dfab367b1d472d49b719b91ab9a1) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: Fix PAM dependenciesMark Hatle2011-09-221-1/+4
| | | | | | | | | | | When PAM is enabled for the distribution we need to be sure to have a build dependency of libpam, and runtime dependencies on the pam modules used by the sudo package. (From OE-Core rev: 79db5ccc7ee9b360451074dd42f7676e138cf384) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: add pam supportKang Kai2011-07-272-3/+21
| | | | | | | | | | According to DISTRO_FEATURES to add pam support for sudo, and import configure file from Fedora. (From OE-Core rev: 1f7e088f2d570d33c2344e32a05193b37a75ea76) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop PRIORITY variableRichard Purdie2011-07-011-1/+0
| | | | | | | | | | | | | | | | As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. (From OE-Core rev: d122343362669c683acc4af295971a62cbc823fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to v1.8.1p2Scott Garman2011-06-282-18/+13
| | | | | | | | | | | | | | | | | Upgrading to the latest stable release of sudo. This version of sudo has reorganized its source code layout, hence the LIC_FILES_CHKSUM related changes. Also, some of the individual .c files we checksummed (nonunix.h, vasgroups.c) are no longer shipped with the sources. Finally, an embedded copy of zlib is now included in these sources, so Zlib is included as one of the licenses. I could not find any evidence of MIT-licensed sources, so that license has been removed. (From OE-Core rev: 10694e6037b16813e99e2204dbbe5c169f34667c) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo.inc: Add do_install_prepend () to sudo.incXiaofeng Yan2011-06-011-0/+12
| | | | | | | | | | | | | Fix bug [YOCTO #1092] Own a directory "/var/lib" before do_install() because if there isn't this directory during installing, \ then script "mkinstalldirs" from "sudo package" will create directory "/var/lib/sudo" by recursion with mode "0700" \ which will cause bug [YOCTO #1092]. So I add do_install_prepend() to create a "/var/lib" which can be accessed \ by common user before installing files. (From OE-Core rev: 16bbeb2d866a07abd5379d1de30f2b747e1693fe) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: add Upstream-Status to various recipe patchesScott Garman2011-05-181-1/+1
| | | | | | | | | | | | | | | | | Add Upstream-Status tag to patches for the following recipes: apmd insserv linuxdoc-tools openjade sgmlspl at sudo (From OE-Core rev: 89ff546de3ce6b1c441f04d7a153c4f8d514a749) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Add Upstream-Status to various recipe patchesScott Garman2011-05-171-3/+7
| | | | | | | | | | | | | | | | | | | Add Upstream-Status tag to patches for the following recipes: openssh dbus-glib expat opensp sgml-common at cpio (GPLv3 version) libpam icu (From OE-Core rev: 0702602332ad63c2cfaa207516497bb0b75bfdf3) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: pre/post actionsMark Hatle2011-02-121-1/+1
| | | | | | | | A number of the recipes did not properly label their pre and post actions, causing the actions to occur in all split packages. This was corrected by defaulting to _${PN} in most cases. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* sudo: upgrade to 1.7.4p6Scott Garman2011-01-241-2/+2
| | | | | | Addresses CVE-2011-0010 Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* sudo: upgrade to version 1.7.4p4Scott Garman2010-11-249-206/+40
| | | | | | | | | | | | | | | * Upgraded sudo to v1.7.4p4 * Removed obsolete patches * Makefile.in no longer strips binaries, removed do_configure_prepend() section which used to remove the -s * Updated HOMEPAGE to canonical URL for project * Added SUMMARY field * Added checksums for source tarball * Added patch for correcting paths to libtool scripts in m4/ * Corrected typos in LIC_FILES_CHKSUM (use of startline was invalid) and included updated checksums - no license text has actually changed Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* packages: Separate out most of the remaining packages into recipesRichard Purdie2010-09-017-0/+230
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>