source: packages/net/xl2tpd/Makefile @ 16897

Last change on this file since 16897 was 16897, checked in by florian, 7 years ago

[package] update xl2tpd to 1.2.4 (#5547)

  • Property svn:copyright set to Copyright (C) 2007 OpenWrt.org
File size: 1.5 KB
Line 
1#
2# Copyright (C) 2006 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=xl2tpd
11PKG_VERSION:=1.2.4
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://www.xelerance.com/software/xl2tpd
16PKG_MD5SUM:=d94fc8a13596f12a561240dfcea9f977
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/xl2tpd
21  SECTION:=net
22  CATEGORY:=Network
23  TITLE:=An L2TP (Layer 2 Tunneling Protocol) daemon
24  URL:=http://www.xelerance.com/software/xl2tpd
25  SUBMENU:=VPN
26endef
27
28define Package/xl2tpd/description
29 l2tpd is the open source implementation of the L2TP tunneling protocol
30 (RFC2661). It does implement both LAC and LNS role in a L2TP networking
31 architecture. The main goal of this protocol is to tunnel PPP frame trough
32 an ip network.
33endef
34
35# XXX: CFLAGS are already set by Build/Compile/Default
36MAKE_FLAGS+= \
37        OFLAGS=""
38
39define Package/xl2tpd/conffiles
40/etc/xl2tpd/ppp.options
41/etc/xl2tpd/ppp.secrets
42/etc/xl2tpd/xl2tpd.conf
43endef
44
45define Package/xl2tpd/install
46        $(INSTALL_DIR) $(1)/usr/sbin
47        $(INSTALL_BIN) $(PKG_BUILD_DIR)/xl2tpd $(1)/usr/sbin/
48        $(INSTALL_DIR) $(1)/etc/init.d
49        $(INSTALL_BIN) ./files/xl2tpd.init $(1)/etc/init.d/xl2tpd
50        $(INSTALL_DIR) $(1)/etc/xl2tpd
51        $(INSTALL_DATA) ./files/ppp.options $(1)/etc/xl2tpd/
52        $(INSTALL_DATA) ./files/ppp.secrets $(1)/etc/xl2tpd/
53        $(INSTALL_DATA) ./files/xl2tpd.conf $(1)/etc/xl2tpd/
54        chmod 0600 $(1)/etc/xl2tpd/ppp.secrets
55endef
56
57$(eval $(call BuildPackage,xl2tpd))
Note: See TracBrowser for help on using the repository browser.