mirror of https://github.com/hak5/openwrt.git
parent
c050c0c948
commit
b3b5f02ab3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue