aboutsummaryrefslogtreecommitdiffstats
path: root/package/pptpd
diff options
context:
space:
mode:
Diffstat (limited to 'package/pptpd')
-rw-r--r--package/pptpd/Config.in11
-rw-r--r--package/pptpd/Makefile69
-rw-r--r--package/pptpd/files/options.pptpd23
-rw-r--r--package/pptpd/files/pptpd.conf5
-rw-r--r--package/pptpd/files/pptpd.init25
-rw-r--r--package/pptpd/ipkg/pptpd.conffiles2
-rw-r--r--package/pptpd/ipkg/pptpd.control5
7 files changed, 0 insertions, 140 deletions
diff --git a/package/pptpd/Config.in b/package/pptpd/Config.in
deleted file mode 100644
index e75d71a033..0000000000
--- a/package/pptpd/Config.in
+++ /dev/null
@@ -1,11 +0,0 @@
-config BR2_PACKAGE_PPTPD
- prompt "pptpd............................. PPTP (Point-to-Point Tunneling Protocol) server"
- tristate
- default m if CONFIG_DEVEL
- select BR2_PACKAGE_KMOD_GRE
- select BR2_PACKAGE_PPP
- help
- A Point-to-Point Tunneling Protocol server
-
- http://poptop.sourceforge.net/
-
diff --git a/package/pptpd/Makefile b/package/pptpd/Makefile
deleted file mode 100644
index 32e301d75d..0000000000
--- a/package/pptpd/Makefile
+++ /dev/null
@@ -1,69 +0,0 @@
-# $Id$
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=pptpd
-PKG_VERSION:=1.2.3
-PKG_RELEASE:=2
-PKG_MD5SUM:=a521e40ca304b0c125cc25f9b9d03324
-
-PKG_SOURCE_URL:=@SF/poptop
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_CAT:=zcat
-
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
-include $(TOPDIR)/package/rules.mk
-
-$(eval $(call PKG_template,PPTPD,pptpd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-
-$(PKG_BUILD_DIR)/.configured:
- (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status}; \
- $(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)" \
- ./configure \
- --target=$(GNU_TARGET_NAME) \
- --host=$(GNU_TARGET_NAME) \
- --build=$(GNU_HOST_NAME) \
- --program-prefix="" \
- --program-suffix="" \
- --prefix=/usr \
- --exec-prefix=/usr \
- --bindir=/usr/bin \
- --datadir=/usr/share \
- --includedir=/usr/include \
- --infodir=/usr/share/info \
- --libdir=/usr/lib \
- --libexecdir=/usr/lib \
- --localstatedir=/var \
- --mandir=/usr/share/man \
- --sbindir=/usr/sbin \
- --sysconfdir=/etc \
- $(DISABLE_LARGEFILE) \
- $(DISABLE_NLS) \
- --with-pppd-ip-alloc \
- )
- touch $@
-
-$(PKG_BUILD_DIR)/.built:
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC=$(TARGET_CC) \
- CFLAGS="$(TARGET_CFLAGS) -DSBINDIR=\\\"/usr/sbin\\\"" \
- DESTDIR="$(PKG_INSTALL_DIR)" \
- INSTALL="install" \
- all install
- touch $@
-
-$(IPKG_PPTPD):
- install -d -m0755 $(IDIR_PPTPD)/etc
- install -m0644 ./files/pptpd.conf $(IDIR_PPTPD)/etc/
- install -d -m0755 $(IDIR_PPTPD)/etc/init.d
- install -m0755 ./files/pptpd.init $(IDIR_PPTPD)/etc/init.d/pptpd
- install -d -m0755 $(IDIR_PPTPD)/etc/ppp
- install -m0644 ./files/options.pptpd $(IDIR_PPTPD)/etc/ppp/
- install -d -m0755 $(IDIR_PPTPD)/usr/sbin
- $(CP) $(PKG_INSTALL_DIR)/usr/sbin/pptpd $(IDIR_PPTPD)/usr/sbin/
- $(CP) $(PKG_INSTALL_DIR)/usr/sbin/pptpctrl $(IDIR_PPTPD)/usr/sbin/
- $(RSTRIP) $(IDIR_PPTPD)
- $(IPKG_BUILD) $(IDIR_PPTPD) $(PACKAGE_DIR)
diff --git a/package/pptpd/files/options.pptpd b/package/pptpd/files/options.pptpd
deleted file mode 100644
index 5dd2daf797..0000000000
--- a/package/pptpd/files/options.pptpd
+++ /dev/null
@@ -1,23 +0,0 @@
-#debug
-#logfile /tmp/pptp-server.log
-172.16.1.1:
-auth
-name "pptp-server"
-lcp-echo-failure 3
-lcp-echo-interval 60
-default-asyncmap
-mtu 1482
-mru 1482
-nobsdcomp
-nodeflate
-#noproxyarp
-#nomppc
-mppe required,no40,no56,stateless
-require-mschap-v2
-refuse-chap
-refuse-mschap
-refuse-eap
-refuse-pap
-#ms-dns 172.16.1.1
-#plugin radius.so
-#radius-config-file /etc/radius.conf
diff --git a/package/pptpd/files/pptpd.conf b/package/pptpd/files/pptpd.conf
deleted file mode 100644
index 354745f592..0000000000
--- a/package/pptpd/files/pptpd.conf
+++ /dev/null
@@ -1,5 +0,0 @@
-#debug
-option /etc/ppp/options.pptpd
-speed 115200
-stimeout 10
-#localip & remoteip are not needed, ip management is done by pppd
diff --git a/package/pptpd/files/pptpd.init b/package/pptpd/files/pptpd.init
deleted file mode 100644
index a76f739fd4..0000000000
--- a/package/pptpd/files/pptpd.init
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-BIN=pptpd
-DEFAULT=/etc/default/$BIN
-RUN_D=/var/run
-PID_F=$RUN_D/$BIN.pid
-[ -f $DEFAULT ] && . $DEFAULT
-
-case $1 in
- start)
- mkdir -p $RUN_D
- for m in arc4 sha1 slhc ppp_generic ppp_async ppp_mppe_mppc; do
- insmod $m >/dev/null 2>&1
- done
- $BIN $OPTIONS
- ;;
- stop)
- [ -f $PID_F ] && kill $(cat $PID_F)
- ;;
- *)
- echo "usage: $0 (start|stop)"
- exit 1
-esac
-
-exit $?
diff --git a/package/pptpd/ipkg/pptpd.conffiles b/package/pptpd/ipkg/pptpd.conffiles
deleted file mode 100644
index c5afda91fb..0000000000
--- a/package/pptpd/ipkg/pptpd.conffiles
+++ /dev/null
@@ -1,2 +0,0 @@
-/etc/ppp/options.pptpd
-/etc/pptpd.conf
diff --git a/package/pptpd/ipkg/pptpd.control b/package/pptpd/ipkg/pptpd.control
deleted file mode 100644
index 135fa944c5..0000000000
--- a/package/pptpd/ipkg/pptpd.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: pptpd
-Priority: optional
-Section: net
-Description: a Point-to-Point Tunneling Protocol (PPTP) server
-Depends: ppp, kmod-crypto, kmod-mppe, kmod-ppp