mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
committed by
Michael Tremer
parent
8cb142e76d
commit
1e6ce289bd
18
lfs/openvpn
18
lfs/openvpn
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2011 IPFire Team <info@ipfire.org> #
|
||||
# Copyright (C) 2007-2013 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 2.2.2
|
||||
VER = 2.3.2
|
||||
|
||||
THISAPP = openvpn-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = c5181e27b7945fa6276d21873329c5c7
|
||||
$(DL_FILE)_MD5 = 06e5f93dbf13f2c19647ca15ffc23ac1
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -73,16 +73,16 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
cd $(DIR_APP) && ./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/var/ipfire/ovpn \
|
||||
--enable-iproute2 \
|
||||
--enable-password-save \
|
||||
--enable-pthread
|
||||
--enable-plugins \
|
||||
--enable-plugin-auth-pam \
|
||||
--enable-plugin-down-root
|
||||
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
cd $(DIR_APP) && cp -Rvf $(DIR_SRC)/config/ovpn /var/ipfire
|
||||
-mkdir -pv /usr/lib/openvpn
|
||||
cd $(DIR_APP)/plugin/auth-pam && make
|
||||
cp -pvf $(DIR_APP)/plugin/auth-pam/openvpn-auth-pam.so /usr/lib/openvpn
|
||||
cd $(DIR_APP)/plugin/down-root && make
|
||||
cp -pvf $(DIR_APP)/plugin/down-root/openvpn-down-root.so /usr/lib/openvpn
|
||||
-mkdir -vp /usr/lib/openvpn/plugins
|
||||
-mkdir -vp /var/ipfire/ovpn/ca
|
||||
-mkdir -vp /var/ipfire/ovpn/ccd
|
||||
-mkdir -vp /var/ipfire/ovpn/crls
|
||||
|
||||
Reference in New Issue
Block a user