Browse Source

[grsecurity] Fixed injection of lx_extraversion moving it into a postpatch hook

user/chris/old/linux-pax
Christian Wiese 17 years ago committed by Christian Wiese
parent
commit
d717760321
  1. 2
      security/grsecurity/pkg_linux_post.conf

2
security/grsecurity/pkg_linux_post.conf

@ -25,7 +25,7 @@ bzcat $pkg_grsec_lxpatch | sed -e 's,\(EXTRAVERSION =\).*,\1,' > \
$pkg_grsec_tempdir/grsecurity-$pkg_grsec_ver-$ver.patch
# manualy adjusting EXTRAVERSION
lx_extraversion="${lx_extraversion}-grsec"
hook_add postpatch 5 'lx_extraversion="${lx_extraversion}-grsec"'
echo_status "Including grsecurity (grsecurity-$pkg_grsec_ver-$ver) patch..."
var_append patchfiles ' ' "$pkg_grsec_tempdir/grsecurity-$pkg_grsec_ver-$ver.patch"

Loading…
Cancel
Save