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