Skip to content
Permalink
077d6ef2a4
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
security fix CVE-2021-3156 CVE-2021-23239
4 contributors

Users who have contributed to this file

@pmenzel @donald @david @wwwutz
executable file 55 lines (42 sloc) 1.19 KB
#!/usr/bin/env beesh
# BEE_VERSION sudo-1.8.31p2-0
SRCURL[0]="https://www.sudo.ws/sudo/dist/sudo-${PKGVERSION}${PKGEXTRAVERSION:+${PKGEXTRAVERSION}}.tar.gz"
PATCHURL+=(/src/mariux/patches/CVE-2021-3156-pre1.patch)
PATCHURL+=(/src/mariux/patches/CVE-2021-3156-1.patch)
PATCHURL+=(/src/mariux/patches/CVE-2021-3156-2.patch)
PATCHURL+=(/src/mariux/patches/CVE-2021-3156-3.patch)
PATCHURL+=(/src/mariux/patches/CVE-2021-3156-4.patch)
PATCHURL+=(/src/mariux/patches/CVE-2021-3156-5.patch)
PATCHURL+=(/src/mariux/patches/CVE-2021-23239.patch)
# BEE_CONFIGURE=compat
# BEE_BUILDTYPE=
# EXCLUDE=""
# build_in_sourcedir
#mee_extract() {
# bee_extract ${@}
#}
#mee_patch() {
# bee_patch ${@}
#}
mee_patch_post() {
sed -i \
-e '/ROOT=true/s/true/false/' \
-e '/CHOWNIT=true/s/true/false/' \
-e '/CHGROUPIT=true/s/true/false/' \
install-sh
}
mee_configure() {
bee_configure \
--with-rundir=/run/sudo \
--disable-nls \
--disable-shared-libutil \
--enable-static-sudoers
}
#mee_build() {
# bee_build
#}
mee_install_post() {
rm -vf ${D}${SYSCONFDIR}/sudoers
rm -vf ${D}${SYSCONFDIR}/sudoers.dist
rm -vrf ${D}/usr/share/doc
}