mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
committed by
Michael Tremer
parent
8cb142e76d
commit
1e6ce289bd
@@ -1,8 +1,19 @@
|
||||
usr/lib/openvpn
|
||||
usr/lib/openvpn/openvpn-auth-pam.so
|
||||
usr/lib/openvpn/openvpn-down-root.so
|
||||
#usr/include/openvpn-plugin.h
|
||||
#usr/lib/openvpn
|
||||
#usr/lib/openvpn/plugins
|
||||
#usr/lib/openvpn/plugins/openvpn-plugin-auth-pam.la
|
||||
usr/lib/openvpn/plugins/openvpn-plugin-auth-pam.so
|
||||
#usr/lib/openvpn/plugins/openvpn-plugin-down-root.la
|
||||
usr/lib/openvpn/plugins/openvpn-plugin-down-root.so
|
||||
usr/sbin/openvpn
|
||||
#usr/share/doc/openvpn
|
||||
#usr/share/doc/openvpn/COPYING
|
||||
#usr/share/doc/openvpn/COPYRIGHT.GPL
|
||||
#usr/share/doc/openvpn/README
|
||||
#usr/share/doc/openvpn/README.IPv6
|
||||
#usr/share/doc/openvpn/README.auth-pam
|
||||
#usr/share/doc/openvpn/README.down-root
|
||||
#usr/share/doc/openvpn/README.polarssl
|
||||
#usr/share/doc/openvpn/management-notes.txt
|
||||
#usr/share/man/man8/openvpn.8
|
||||
var/ipfire/ovpn
|
||||
|
||||
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