aboutsummaryrefslogtreecommitdiff
path: root/system/virtualbox-kernel
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-09-05 15:54:52 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-09-06 08:50:27 +0700
commitcafdf433942d7d38bf492495abbb870389bbfe07 (patch)
treeccb3854d1536b7abfd3b6282e2ac8d011801ba3a /system/virtualbox-kernel
parent6ce5f2e08cc88df07d2f388d0d16b4326f11597c (diff)
system/virtualbox-kernel: Drop support for non-hardened virtualbox
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/virtualbox-kernel')
-rw-r--r--system/virtualbox-kernel/README3
-rw-r--r--system/virtualbox-kernel/virtualbox-kernel.SlackBuild25
2 files changed, 10 insertions, 18 deletions
diff --git a/system/virtualbox-kernel/README b/system/virtualbox-kernel/README
index 6ce574997cac8..24e44d3316515 100644
--- a/system/virtualbox-kernel/README
+++ b/system/virtualbox-kernel/README
@@ -5,9 +5,6 @@ To build the package for a kernel different from the running one,
start the script setting the KERNEL variable as in
KERNEL=2.6.38.8 ./virtualbox-kernel.SlackBuild
-Note that if you have built virtualbox with HARDENING=no, then you
-have to do the same for virtualbox-kernel.
-
If you want to build a kernel module for an other virtualbox version
you can use the included "virtualbox-kernel-mksrctarball.sh" which will
generate the needed source package for you. You will need to have
diff --git a/system/virtualbox-kernel/virtualbox-kernel.SlackBuild b/system/virtualbox-kernel/virtualbox-kernel.SlackBuild
index 780689a362d78..17b664d7b4200 100644
--- a/system/virtualbox-kernel/virtualbox-kernel.SlackBuild
+++ b/system/virtualbox-kernel/virtualbox-kernel.SlackBuild
@@ -11,16 +11,16 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by SlackBuilds.org
@@ -75,11 +75,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-if ! [ "${HARDENING:-yes}" = "yes" ]; then
- sed -i "s/ -DVBOX_WITH_HARDENING//g" \
- {vboxdrv,vboxnetadp,vboxnetflt}/Makefile
-fi
-
make KERN_DIR=${KERNELPATH}
mkdir -p $PKG/lib/modules/$KERNEL/misc