summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sudo/sudo.inc
Commit message (Collapse)AuthorAgeFilesLines
* sudo: update 1.9.7p2 -> 1.9.8p1Alexander Kanavin2021-10-141-9/+7
| | | | | | | | | | Drop specialhandling for mksig items; issue fixed upstream. (From OE-Core rev: c5226a62fe90ff6b24d5063f1ecefd656b3494a3) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: Use specific BSD license variantJoshua Watt2021-09-021-1/+1
| | | | | | | | | | | Make the license more accurate by specifying the specific variant of BSD license instead of the generic one. This helps with SPDX license attribution as "BSD" is not a valid SPDX license. (From OE-Core rev: ff27ea21d7c14086335da5c3e2fac353e44438da) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-021-4/+4
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-check: CVE_VERSION_SUFFIX to work with patched releaseLee Chee Yang2021-03-201-0/+2
| | | | | | | | | | | | | CVE_VERSION_SUFFIX in "patch" to treat version string with suffix "pX" or "patchX" as patched release. also update testcases to cover this changes and set CVE_VERSION_SUFFIX for sudo. (From OE-Core rev: 8076815fc2ffc8f632e73527ce2b7d158a29e9ea) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade 1.9.4p1 -> 1.9.5p1Anuj Mittal2021-01-201-1/+1
| | | | | | | | | License-Update: copyright years changed (From OE-Core rev: b72b3e04457928235843173981fd0a20ef1b00ae) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade 1.8.31 -> 1.9.0Alexander Kanavin2020-06-041-1/+1
| | | | | | | | License-Update: additional copyright statements, all BSD (From OE-Core rev: a37947c7ba882ae35b4709562035a249c9e0dbe9) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade 1.8.30 -> 1.8.31Wang Mingyu2020-02-141-1/+1
| | | | | | | | | -License-Update: Copyright year updated from 1998-2019 to 1998-2020. (From OE-Core rev: 19711adc45cf57fc007a7d1e052726fd45157f98) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: specify where target tools areRoss Burton2020-02-081-1/+1
| | | | | | | | | | | | | sudo uses AC_PATH_PROG to find target paths, which means at best potential host-contamination (and reproducible issues) and at worst it thinks sh is at /your/build/path/hosttools/sh. Solve this by explicitly passing the correct paths to configure. (From OE-Core rev: 61650dd8498a093f3bfa93202c9cd2e9a7fb7834) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: update to 1.8.29Alexander Kanavin2019-12-161-11/+11
| | | | | | | | License-Update: added SPDX info. (From OE-Core rev: d3660148a64fc6ef18c7f9d2080c26d89c0b3826) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: Fix BSD license file checksumWes Lindauer2019-08-211-5/+5
| | | | | | | | | BSD license files must include the copyright notice. (From OE-Core rev: f5cfcaa79fd3a2cfd9299f2c8e7686b502e52551) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to 1.8.27Chen Qi2019-02-201-1/+1
| | | | | | | | | License-Update: copyright years updated (From OE-Core rev: 53b5629cf5010f8fee79d82260e291b418cbef7c) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to 1.8.26Chen Qi2018-12-051-2/+5
| | | | | | | | | License-Update: include more files to check, but license remains the same. (From OE-Core rev: ad0f26263eb51cda4cf96cd2fe7f6e7f950b9e8e) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: add PACKAGECONFIG for pam-wheelYi Zhao2018-08-021-0/+1
| | | | | | | | | | | | The pam_wheel PAM module is used to enforce the so-called wheel group. By default it permits root access to the system if the applicant user is a member of the wheel group. Add PACKAGECONFIG to enable pam_wheel module for sudo. (From OE-Core rev: 7a46ca79b18527a56de470fcaaf95c870c097cf6) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to 1.8.23Chen Qi2018-05-151-2/+3
| | | | | | | | | | | | | | | Upgrade sudo to 1.8.23. The license checksum changes but the actual license does not. The /var/run/sudo directory has changed to /run/sudo, change do_install_append according to avoid error. (From OE-Core rev: abd809670ea4048551d20c11da95203536250001) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: 1.8.21P1 -> 1.8.22Huang Qiyu2018-02-241-2/+2
| | | | | | | | | | | | | | 1.Upgrade sudo from 1.8.21P1 to 1.8.22. 2.Update the checksum of LIC_FILES_CHKSUM. The following content is appended to doc/LICENSE, plugins/sudoers/redblack.c. Todd C. Miller <Todd.Miller@courtesan.com> -> Todd C. Miller <Todd.Miller@sudo.ws> (From OE-Core rev: 05e8601dcbf6ba8500696d874c483f9ac8df71fa) Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: improve reproducibilityJuro Bystricky2017-11-301-0/+6
| | | | | | | | | | | | | | Delete various build host references from the internally generated file sudo_usage.h. The references get compiled into executables, which leads to non-reproducible builds. The removed references (configure options) were only used as part of the sudo "usage", and even then only when ran as root. (From OE-Core rev: 090eb9efdb2204673b1d569582813ea8860c8570) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to 1.8.20p2Chen Qi2017-07-271-1/+1
| | | | | | | | | | The checksum for doc/LICENSE is changed, but the content only changes year from '2013' to '2017', so the license remains the same. (From OE-Core rev: e1d27852bf21be49db574ed207bc90d42c4bd898) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to 1.8.19p2Chen Qi2017-03-011-1/+1
| | | | | | | | | | | | The license checksum for doc/LICENSE is changed. It's a small change. '2015' is changed to '2017'. Nothing else is changed. So the licenses remain the same. (From OE-Core rev: a14b935461d231429b6dc3bd0fdc34142b48fe86) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: remove libdir INSANE_SKIPRoss Burton2015-12-121-5/+0
| | | | | | | | | Now that the libdir check allows libraries in libexecdir, remove INSANE_SKIP. (From OE-Core rev: a760d550b099a9287b188b8376ef2f0787cc85fc) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: handle libexecdir != libdir/PN.Ross Burton2015-12-081-0/+5
| | | | | | | | | | | | | | | | | sudo has somewhat special file installation logic and installs the modules and libraries to $libexecdir/sudo, with special handling for the case when libexecdir already contains /sudo (which it does by default in current oe-core where libexecdir=$libdir/$PN). As setting libexecdir to /usr/libexec should work, add both possibilities to FILES to be sure the right files are captured, and add INSANE_SKIP for the libdir warning that libraries are outside of /usr/lib/ (arguably, this should be fixed in insane). (From OE-Core rev: 431ad7a268fc07c367ce830c4f69dba515f44b4e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to 1.8.14p3Ross Burton2015-07-271-1/+2
| | | | | | | | | | | | | | | The licence checksum is modified according to the change of doc/LICENCE. In specific, file://lib/util/reallocarray.c is added to LIC_FILES_CHECKSUM. Fix out of tree builds, and explicitly enable/disable tmpfiles.d support based on the systemd DISTRO_FEATURE to avoid non-deterministic packaging. Based on a patch by Chen Qi <Qi.Chen@windriver.com> (From OE-Core rev: ef2a842d06b3a9ee6036af06247c7c022f8c720d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: Disable hardening for muslKhem Raj2015-04-131-0/+2
| | | | | | | | | | musl does not yet enable ssp Change-Id: If40ab0a54b17d5528676b1268182b6c7e7ef5761 (From OE-Core rev: a583f81d9bc6ae984699d9aba7a53019ff0afc23) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to 1.8.13Chen Qi2015-04-101-9/+3
| | | | | | | | | | | | | | The do_configure_prepend is deleted because it doesn't seem to have any positive effect and it causes the following error. | aclocal: error: acinclude.m4:133: file 'm4/ax_sys_weak_alias.m4' does not exist | autoreconf: aclocal failed with exit status: 1 | ERROR: autoreconf execution failed. (From OE-Core rev: a31d05f7bb60d5431a6e1cd370d7106ae785b0ca) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to latest state version 1.8.11p2Chen Qi2014-12-271-7/+7
| | | | | | | | | | Files containing license information have changed position. FILES_${PN}-dev needs to be modified to contain correct files. (From OE-Core rev: 62995a7ab26554842036dd7254ad3b0a46f57273) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: make sudoers a config fileDan McGregor2014-09-101-0/+2
| | | | | | | | | (From OE-Core rev: c840369a65ee5041154e12fdd8919938856a0a6c) Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade from 1.8.9p5 to 1.8.10p2Chen Qi2014-05-081-3/+3
| | | | | | | | | | | | | | | | Upgrade sudo from 1.8.9p5 to the newest stable release 1.8.10p2. The license checksums are modified as required, because the doc/LICENSE file now declares that compat/inet_pton.c bears the ISC license. As /var/run/sudo is the default directory for sudo's time stamp files, this patch adds a configuration file to manage this directory. (From OE-Core rev: af625d2f78a24dac96d11f159569f6465a534dfd) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to 1.8.9p1Chen Qi2014-01-141-2/+3
| | | | | | | | | | | | | Upgrade sudo from 1.8.8 to 1.8.9p1. This patch adds include/queue.h to the LIC_FILES_CHECKSUM because it's specified in the doc/LICENSE file. (From OE-Core rev: 0262bd1fc9507a39b7f313a8a5e85e7001f6bd9f) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to 1.8.8Cristiana Voicu2013-10-301-1/+1
| | | | | | | | | | | License checksum updated to reflect additional Copyright for file getopt_long.c, owned by The NetBSD Foundation, Inc (From OE-Core rev: e78a5cf3af993d87300d6a527fa14ec6ef9ed79a) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to 1.8.7Cristiana Voicu2013-08-161-2/+2
| | | | | | | | | | Removed a patch because the changes were merged upstream. Also, the license had some modifications in two files. (From OE-Core rev: 13ba4490f6422109f934ed36809bd52d44577574) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: quote BUILD_CCKai Kang2013-08-121-1/+1
| | | | | | | | | | | | | | | BUILD_CC is assigned to CC when do compile. If BUILD_CC has multi-items such as "ccache gcc", compilation fails with: make: *** No rule to make target `gcc'. Stop. Double quote BUILD_CC to avoid this error. (From OE-Core rev: 4f1fcdbea1629ebf506fb0dbd5df71a588f0372b) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: add PACKAGECONFIG for zlibMartin Jansa2013-07-291-0/+3
| | | | | | | | | | | * it's autodetected from sysroot * add PACKAGECONFIG to make it deterministic (From OE-Core rev: 871d9d264dbf43ca4a7d000f39253d16854c0bd3) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: set CFLAGS for build mksigname and mksiglistKang Kai2013-05-241-1/+1
| | | | | | | | | | | | | | | | | | | mksigname and mksiglist are compiled by BUILD_CC for build host. When there are some options in CFLAGS that BUILD_CC doesn't support, compilation fails. Build for arm on a x86 host, if option "-mapcs-frame" is provided, error occurs with: | cc1: error: unrecognized command line option "-mapcs-frame" Pass BUILD_CFLAGS to CFLAGS to fix that kind of failure. (From OE-Core rev: 6022e81570b80232f272a1aa474e8ced3a089382) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: disable SSP for auxiliary build tools mksiglist and mksignameTomas Frydrych2013-04-291-1/+1
| | | | | | | | | | | | | The do_compile_prepend() fragment ensures that the non-installable build tools mksiglist and mksigname are built using the BUILD_CC, but if the the BUILD_CC does not support SSP and the cross compiler does, the build fails due to the SSP flags set in the Makefile. Ensuring that SSP is not enabled when building these tools prevents this from happening. (From OE-Core rev: ad9a9c6e6b4f00bc47449bbe8c85777ea7c89b88) Signed-off-by: Tomas Frydrych <tomas@sleepfive.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: Fix out of tree builds ${B} != ${S}Richard Purdie2013-03-231-1/+1
| | | | | | | | The last change to sudo broke out of tree builds, fix this. (From OE-Core rev: a1226175c405db6eacb6e490e8e635b9dd156126) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: Compile mksigname and mksiglist for build hostKhem Raj2013-03-231-0/+5
| | | | | | | | | | | | | | | | | cross compiling sudo doesnt work well since it uses mksigname and mksiglist to generate C sources which are then used in sudo build itself. With this patch now we make sure those hosttools are compiled for build machine. It fixes the build failures like ./mksigname > signame.c /bin/sh: ./mksigname: cannot execute binary file make[1]: *** [signame.c] Error 126 (From OE-Core rev: 2ce5b1364ef6eb276352f7170d23dc3492c779f6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: Fix case where ${B} != ${S}Richard Purdie2013-03-181-2/+2
| | | | | | | | | Fix out of tree builds by using full path to files in ${S} and remove cwd assumptions. (From OE-Core rev: 97dc39e42e95dcadc7bed1aee32db3560e21efe5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to 1.8.5p2Scott Garman2012-06-251-1/+1
| | | | | | | | | 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: upgrade to 1.8.4Scott Garman2012-03-021-3/+4
| | | | | | | | | | | | | | | | | | | 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-111-8/+0
| | | | | | | | | | 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>
* 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-281-16/+11
| | | | | | | | | | | | | | | | | 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: 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 version 1.7.4p4Scott Garman2010-11-241-12/+9
| | | | | | | | | | | | | | | * 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-011-0/+36
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>