add l2tpd

SVN-Revision: 731
This commit is contained in:
Felix Fietkau 2005-04-27 09:42:33 +00:00
parent a93ff44e1e
commit 6f9c494071
6 changed files with 3467 additions and 0 deletions

View File

@ -53,6 +53,7 @@ source "package/olsrd/Config.in"
source "package/usbutils/Config.in"
source "package/kismet/Config.in"
source "package/nmap/Config.in"
source "package/l2tpd/Config.in"
comment "Libraries"
source "package/libgcc/Config.in"

View File

@ -25,6 +25,7 @@ package-$(BR2_PACKAGE_HASERL) += haserl
package-$(BR2_PACKAGE_IPTABLES) += iptables
package-$(BR2_PACKAGE_IPROUTE2) += iproute2
package-$(BR2_PACKAGE_KISMET) += kismet
package-$(BR2_PACKAGE_L2TPD) += l2tpd
package-$(BR2_PACKAGE_LCD4LINUX) += lcd4linux
package-$(BR2_PACKAGE_LIBELF) += libelf
package-$(BR2_PACKAGE_LIBGCC) += libgcc

View File

@ -0,0 +1,9 @@
config BR2_PACKAGE_L2TPD
tristate "l2tpd"
default m if CONFIG_DEVEL
help
A layer 2 tunneling protocol implementation.
l2tpd is the open source implementation of the L2TP tunneling
protocol (RFC2661). It does implement both LAC and LNS role
in a L2TP networking architecture. The main goal of this protocol is
to tunnel PPP frame trough an ip network.

View File

@ -0,0 +1,52 @@
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=l2tpd
PKG_VERSION:=0.70pre
PKG_UPSTREAM_VERSION:=0.70-pre20031121
PKG_RELEASE:=1
PKG_MD5SUM:=3f2707b6e16a8cb72e7bf64f574202fa
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/l/l2tpd
PKG_SOURCE:=$(PKG_NAME)_$(PKG_UPSTREAM_VERSION).orig.tar.gz
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_UPSTREAM_VERSION).orig
IPKG_L2TPD:=$(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
IDIR_L2TPD:=$(PKG_BUILD_DIR)/ipkg/$(PKG_NAME)
INFO_L2TPD:=$(IPKG_STATE_DIR)/info/$(PKG_NAME).list
$(DL_DIR)/$(PKG_SOURCE):
$(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE) $(PKG_MD5SUM) $(PKG_SOURCE_URL)
$(PKG_BUILD_DIR)/.prepared: $(DL_DIR)/$(PKG_SOURCE)
$(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
$(PATCH) $(PKG_BUILD_DIR) ./patches
touch $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/$(PKG_NAME): $(PKG_BUILD_DIR)/.prepared
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CC=$(TARGET_CC) \
CFLAGS="$(TARGET_CFLAGS) -I. -DLINUX -DSANITY -DIP_ALLOCATION"
$(IPKG_L2TPD): $(PKG_BUILD_DIR)/$(PKG_NAME)
$(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_L2TPD) $(PKG_NAME).control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
mkdir -p $(IDIR_L2TPD)/usr/sbin
cp $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_L2TPD)/usr/sbin/
$(STRIP) $(IDIR_L2TPD)/usr/sbin/*
mkdir -p $(PACKAGE_DIR)
$(IPKG_BUILD) $(IDIR_L2TPD) $(PACKAGE_DIR)
$(INFO_L2TPD): $(IPKG_L2TPD)
$(IPKG) install $(IPKG_L2TPD)
source: $(DL_DIR)/$(PKG_SOURCE)
prepare: $(PKG_BUILD_DIR)/.prepared
compile: $(IPKG_L2TPD)
install: $(INFO_L2TPD)
clean:
rm -rf $(PKG_BUILD_DIR) $(IPKG_L2TPD)

View File

@ -0,0 +1,10 @@
Package: l2tpd
Priority: optional
Section: net
Maintainer: Felix Fietkau <nbd@vd-s.ath.cx>
Source: buildroot internal
Description: A layer 2 tunneling protocol implementation.
l2tpd is the open source implementation of the L2TP tunneling
protocol (RFC2661). It does implement both LAC and LNS role
in a L2TP networking architecture. The main goal of this protocol is
to tunnel PPP frame trough an ip network.

File diff suppressed because it is too large Load Diff