You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.2 KiB
30 lines
1.2 KiB
18 years ago
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||
|
#
|
||
|
# Filename: package/.../openl2tp/pkg_linux_pre.conf
|
||
|
# Copyright (C) 2007 The OpenSDE Project
|
||
|
#
|
||
|
# More information can be found in the files COPYING and README.
|
||
|
#
|
||
|
# This program is free software; you can redistribute it and/or modify
|
||
|
# it under the terms of the GNU General Public License as published by
|
||
|
# the Free Software Foundation; version 2 of the License. A copy of the
|
||
|
# GNU General Public License can be found in the file COPYING.
|
||
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
||
|
|
||
|
# linux kernel patch
|
||
|
pkg_openl2tp_lxpatch=`match_source_file -p pppol2tp-kmod openl2tp`
|
||
|
|
||
|
pkg_openl2tp_patchdir=${pkg_openl2tp_lxpatch##*/}
|
||
|
pkg_openl2tp_patchdir=${pkg_openl2tp_patchdir%.tar.bz2}/patches
|
||
|
|
||
|
# creating temporary directory for preparing the patch
|
||
|
pkg_openl2tp_tempdir=`mktemp -d`
|
||
|
|
||
|
tar -C $pkg_openl2tp_tempdir $taropt $pkg_openl2tp_lxpatch
|
||
|
|
||
|
echo_status "Including openl2tp patch..."
|
||
|
echo_status "${pkg_openl2tp_tempdir}/${pkg_openl2tp_patchdir}/pppol2tp-linux-$( echo $ver | cut -d'.' -f1-3 ).patch"
|
||
|
var_append patchfiles ' ' "${pkg_openl2tp_tempdir}/${pkg_openl2tp_patchdir}/pppol2tp-linux-$( echo $ver | cut -d'.' -f1-3 ).patch"
|
||
|
|