2010-10-05 20:27:21 +03:00
|
|
|
#
|
2011-07-18 01:42:29 +03:00
|
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
2006-06-27 03:35:46 +03:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2005-03-21 10:12:49 +02:00
|
|
|
|
2005-03-15 12:34:22 +02:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=pptp
|
2010-05-06 22:48:33 +03:00
|
|
|
PKG_VERSION:=1.7.1
|
2011-07-18 01:42:29 +03:00
|
|
|
PKG_RELEASE:=4
|
2005-03-21 10:12:49 +02:00
|
|
|
|
2005-03-15 12:34:22 +02:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2006-05-10 22:06:22 +03:00
|
|
|
PKG_SOURCE_URL:=@SF/pptpclient
|
2010-05-06 22:48:33 +03:00
|
|
|
PKG_MD5SUM:=b47735ba5d6d37dfdbccb85afc044ede
|
2005-03-15 12:34:22 +02:00
|
|
|
|
2006-06-21 05:32:39 +03:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2005-05-19 02:42:09 +03:00
|
|
|
|
2006-05-10 22:06:22 +03:00
|
|
|
define Package/pptp
|
2006-09-23 16:29:15 +03:00
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=PPTP client
|
2010-09-30 13:48:37 +03:00
|
|
|
MAINTAINER:=Jo-Philipp Wich <xm@subsignal.org>
|
2006-09-23 16:29:15 +03:00
|
|
|
URL:=http://pptpclient.sourceforge.net/
|
2011-07-18 01:42:29 +03:00
|
|
|
DEPENDS:=+ppp +kmod-gre +resolveip
|
2006-05-10 22:06:22 +03:00
|
|
|
endef
|
2005-03-15 12:34:22 +02:00
|
|
|
|
2010-10-05 20:27:21 +03:00
|
|
|
define Package/pptp/description
|
2007-09-07 11:34:51 +03:00
|
|
|
This package contains a PPTP (Point-to-Point Tunneling Protocol) client.
|
|
|
|
endef
|
|
|
|
|
2010-10-05 20:27:21 +03:00
|
|
|
define Package/pptp/conffiles
|
|
|
|
/etc/ppp/options.pptp
|
|
|
|
endef
|
|
|
|
|
2006-05-10 22:06:22 +03:00
|
|
|
define Package/pptp/install
|
2006-11-23 02:29:07 +02:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/pptp $(1)/usr/sbin/
|
|
|
|
$(INSTALL_DIR) $(1)/etc/ppp
|
|
|
|
$(INSTALL_DATA) ./files/options.pptp $(1)/etc/ppp/
|
|
|
|
$(INSTALL_DIR) $(1)/lib/network
|
|
|
|
$(INSTALL_BIN) ./files/pptp.sh $(1)/lib/network/
|
2006-05-10 22:06:22 +03:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,pptp))
|