From 76f55c746c007bd7f7064a3acd9818a87238b641 Mon Sep 17 00:00:00 2001
From: nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Fri, 23 Sep 2005 13:11:19 +0000
Subject: [PATCH] add fixes from whiterussian, bump release number

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1979 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/pptpd/Makefile           | 4 ++--
 package/pptpd/files/pptpd.conf   | 2 +-
 package/pptpd/files/pptpd.init   | 2 +-
 package/pptpd/ipkg/pptpd.control | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/package/pptpd/Makefile b/package/pptpd/Makefile
index de12556ef..a115bd511 100644
--- a/package/pptpd/Makefile
+++ b/package/pptpd/Makefile
@@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=pptpd
 PKG_VERSION:=1.2.3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_MD5SUM:=a521e40ca304b0c125cc25f9b9d03324
 
 PKG_SOURCE_URL:=@SF/poptop
@@ -59,7 +59,7 @@ $(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 -m0644 ./files/pptpd.init $(IDIR_PPTPD)/etc/init.d/pptpd
+	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
diff --git a/package/pptpd/files/pptpd.conf b/package/pptpd/files/pptpd.conf
index e9ac115c7..354745f59 100644
--- a/package/pptpd/files/pptpd.conf
+++ b/package/pptpd/files/pptpd.conf
@@ -1,5 +1,5 @@
 #debug
-option /etc/ppp/pptp-server-options
+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
index 79db864f9..a76f739fd 100644
--- a/package/pptpd/files/pptpd.init
+++ b/package/pptpd/files/pptpd.init
@@ -9,7 +9,7 @@ PID_F=$RUN_D/$BIN.pid
 case $1 in
  start)
   mkdir -p $RUN_D
-  for m in arc4 sha1 shlc ppp_generic ppp_async ppp_mppe_mppc; do
+  for m in arc4 sha1 slhc ppp_generic ppp_async ppp_mppe_mppc; do
    insmod $m >/dev/null 2>&1
   done
   $BIN $OPTIONS
diff --git a/package/pptpd/ipkg/pptpd.control b/package/pptpd/ipkg/pptpd.control
index 7d0a19bd3..4de13ed7a 100644
--- a/package/pptpd/ipkg/pptpd.control
+++ b/package/pptpd/ipkg/pptpd.control
@@ -1,7 +1,7 @@
 Package: pptpd
 Priority: optional
 Section: net
-Maintainer: Felix Fietkau <nbd@vd-s.ath.cx>
+Maintainer: OpenWrt Delelopers Team <openwrt-devel@openwrt.org>
 Source: buildroot internal
 Description: a Point-to-Point Tunneling Protocol (PPTP) server
-Depends: ppp, kmod-gre
+Depends: ppp, kmod-crypto, kmod-mppe, kmod-ppp
-- 
2.20.1