From 0d325e597a613a8142b0c69cb4ca944de753c9fe Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 28 Feb 2007 20:12:09 +0000 Subject: [PATCH] * added openl2tp (0.17) - An L2TP client/server written specifically for Linux git-svn-id: svn://svn.opensde.net/opensde/package/trunk@20215 10447126-35f2-4685-b0cf-6dd780d3921f --- network/openl2tp/openl2tp.cache | 22 +++++++++++++ network/openl2tp/openl2tp.conf | 23 +++++++++++++ network/openl2tp/openl2tp.desc | 38 ++++++++++++++++++++++ network/openl2tp/pkg_linux-header_pre.conf | 15 +++++++++ network/openl2tp/pkg_linux26_pre.conf | 15 +++++++++ network/openl2tp/pkg_linux_pre.conf | 29 +++++++++++++++++ 6 files changed, 142 insertions(+) create mode 100644 network/openl2tp/openl2tp.cache create mode 100644 network/openl2tp/openl2tp.conf create mode 100644 network/openl2tp/openl2tp.desc create mode 100644 network/openl2tp/pkg_linux-header_pre.conf create mode 100644 network/openl2tp/pkg_linux26_pre.conf create mode 100644 network/openl2tp/pkg_linux_pre.conf diff --git a/network/openl2tp/openl2tp.cache b/network/openl2tp/openl2tp.cache new file mode 100644 index 000000000..dcd487460 --- /dev/null +++ b/network/openl2tp/openl2tp.cache @@ -0,0 +1,22 @@ + +[TIMESTAMP] 1172684626 Wed Feb 28 18:43:46 2007 +[BUILDTIME] 10 (5) +[SIZE] 0.69 MB, 21 files + +[DEP] 00-dirtree +[DEP] bash +[DEP] binutils +[DEP] bzip2 +[DEP] coreutils +[DEP] diffutils +[DEP] findutils +[DEP] gcc +[DEP] glibc +[DEP] grep +[DEP] gzip +[DEP] make +[DEP] ppp +[DEP] readline +[DEP] sed +[DEP] sysfiles +[DEP] tar diff --git a/network/openl2tp/openl2tp.conf b/network/openl2tp/openl2tp.conf new file mode 100644 index 000000000..3ee4721d9 --- /dev/null +++ b/network/openl2tp/openl2tp.conf @@ -0,0 +1,23 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../openl2tp/openl2tp.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 --- + +# openl2tp needs ppp +pkgprefix -t ppp +var_append makeopt ' ' "PPPD_VERSION=$( pkgprefix ver ppp )" + +#makeopt="daemon app" +var_append makeopt ' ' "L2TP_KERNELDIR=" +var_append makeopt ' ' "KERNEL_SRCDIR=$root/usr" + +makeinstopt="$makeopt install" diff --git a/network/openl2tp/openl2tp.desc b/network/openl2tp/openl2tp.desc new file mode 100644 index 000000000..38c2b3fbc --- /dev/null +++ b/network/openl2tp/openl2tp.desc @@ -0,0 +1,38 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../openl2tp/openl2tp.desc +[COPY] Copyright (C) 2007 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] An L2TP client/server written specifically for Linux + +[T] OpenL2TP is an L2TP client/server written specifically for Linux. It +[T] has been designed for use as an enterprise L2TP VPN server or for use in +[T] commercial, Linux-based, embedded networking products. It consists of a +[T] daemon, openl2tpd, which handles the L2TP control protocol exchanges for +[T] all tunnels and sessions, a plugin for pppd to allow its PPP connections +[T] to run over L2TP sessions, a Linux kernel driver for efficient datapath, +[T] and a command line application for management. + +[U] http://opensource.katalix.com/openl2tp + +[A] James Chapman +[M] Christian Wiese + +[C] extra/network + +[L] GPL +[S] Beta +[V] 0.17 +[P] X -----5---9 800.000 + +[D] 2951865613 openl2tp-0.17.tar.gz http://dl.sourceforge.net/sourceforge/openl2tp/ +[D] 4285767239 pppol2tp-kmod-0.15.tar.gz http://dl.sourceforge.net/sourceforge/openl2tp/ diff --git a/network/openl2tp/pkg_linux-header_pre.conf b/network/openl2tp/pkg_linux-header_pre.conf new file mode 100644 index 000000000..12352f2d8 --- /dev/null +++ b/network/openl2tp/pkg_linux-header_pre.conf @@ -0,0 +1,15 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../openl2tp/pkg_linux-header_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 --- + +. package/*/openl2tp/pkg_linux_pre.conf diff --git a/network/openl2tp/pkg_linux26_pre.conf b/network/openl2tp/pkg_linux26_pre.conf new file mode 100644 index 000000000..3078adfaa --- /dev/null +++ b/network/openl2tp/pkg_linux26_pre.conf @@ -0,0 +1,15 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../openl2tp/pkg_linux26_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 --- + +. package/*/openl2tp/pkg_linux_pre.conf diff --git a/network/openl2tp/pkg_linux_pre.conf b/network/openl2tp/pkg_linux_pre.conf new file mode 100644 index 000000000..bf9e07f7a --- /dev/null +++ b/network/openl2tp/pkg_linux_pre.conf @@ -0,0 +1,29 @@ +# --- 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" +