Add Requires line for audit-libs >= 1.4 for RHEL5+
This commit is contained in:
1
mkpkg
1
mkpkg
@@ -96,6 +96,7 @@ case "$platform" in
|
||||
# RHEL 5 and up build pies and have audit support
|
||||
export CFLAGS="$F_PIE" LDFLAGS="-pie"
|
||||
configure_opts="${configure_opts}${configure_opts+$tab}--with-linux-audit"
|
||||
PPVARS="${PPVARS}${PPVARS+$space}linux_audit=1.4.0"
|
||||
fi
|
||||
# Note, must indent with tabs, not spaces due to IFS trickery
|
||||
configure_opts="$configure_opts
|
||||
|
3
sudo.pp
3
sudo.pp
@@ -46,6 +46,9 @@ still allow people to get their work done."
|
||||
pp_rpm_url="http://www.sudo.ws/"
|
||||
pp_rpm_group="Applications/System"
|
||||
pp_rpm_packager="Todd.Miller@courtesan.com"
|
||||
if test -n "$linux_audit"; then
|
||||
pp_rpm_requires="audit-libs >= $linux_audit"
|
||||
fi
|
||||
|
||||
pp_deb_maintainer="$pp_rpm_packager"
|
||||
pp_deb_release="$pp_rpm_release"
|
||||
|
Reference in New Issue
Block a user