Skip to content
Permalink
master
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
 
 
Cannot retrieve contributors at this time
executable file 58 lines (42 sloc) 1.56 KB
#!/usr/bin/env beesh
# BEE_VERSION polkit-0.115-4
# orig https://www.freedesktop.org/software/polkit/releases/polkit-${PKGVERSION}.tar.gz
SRCURL[0]="https://beehive.molgen.mpg.de/f03b055d6ae5fc8eac76838c7d83d082/polkit-0.115.tar.gz"
PATCHURL+=("https://beehive.molgen.mpg.de/252c1b18ba86a7b05840e992321f4639/polkit-0.115-security_patch-2.patch")
PATCHURL+=("https://beehive.molgen.mpg.de/bcf14dcb31568b749c4d163cf8878241/0001-GHSL-2021-074-authentication-bypass-vulnerability-in.patch")
PATCHURL+=("https://beehive.molgen.mpg.de/3aa2c730edd4db0b4028a9b8fb887163/polkit-0.115-cve-2021-4034.patch")
# build_in_sourcedir
# sourcesubdir_append src
LIBEXECDIR=/usr/lib/polkit-1
#mee_extract() {
# bee_extract "${@}"
#}
#mee_patch() {
# bee_patch "${@}"
#}
mee_configure() {
echo "" >${S}/po/LINGUAS
bee_configure \
--disable-static \
--enable-libsystemd-login
}
#mee_build() {
# bee_build
#}
#mee_install() {
# bee_install
#}
mee_install_post() {
rm -v ${D}/etc/polkit-1/rules.d/50-default.rules
# If you have built Polkit with Linux PAM support, you need to modify the
# default PAM configuration file which was installed by default to get
# Polkit to work correctly with BLFS. Issue the following commands as the
# root user to create the configuration file for Linux PAM:
start_cmd cat > ${D}/etc/pam.d/polkit-1 << "EOF"
#%PAM-1.0
auth include system-auth
account include system-auth
password include system-auth
session include system-auth
EOF
}