mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
openvpn: build down-root plugin.
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
lib/openvpn-auth-pam.so
|
lib/openvpn-auth-pam.so
|
||||||
|
lib/openvpn-down-root.so
|
||||||
usr/sbin/openvpn
|
usr/sbin/openvpn
|
||||||
#usr/share/doc/openvpn
|
#usr/share/doc/openvpn
|
||||||
#usr/share/man/man8/openvpn.8
|
#usr/share/man/man8/openvpn.8
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
# #
|
# #
|
||||||
# IPFire.org - A linux based firewall #
|
# IPFire.org - A linux based firewall #
|
||||||
# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
|
# Copyright (C) 2007-2011 IPFire Team <info@ipfire.org> #
|
||||||
# #
|
# #
|
||||||
# This program is free software: you can redistribute it and/or modify #
|
# 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 #
|
# it under the terms of the GNU General Public License as published by #
|
||||||
@@ -77,6 +77,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
|||||||
cd $(DIR_APP) && cp -Rvf $(DIR_SRC)/config/ovpn /var/ipfire
|
cd $(DIR_APP) && cp -Rvf $(DIR_SRC)/config/ovpn /var/ipfire
|
||||||
cd $(DIR_APP)/plugin/auth-pam && make
|
cd $(DIR_APP)/plugin/auth-pam && make
|
||||||
cp -pvf $(DIR_APP)/plugin/auth-pam/openvpn-auth-pam.so /lib/
|
cp -pvf $(DIR_APP)/plugin/auth-pam/openvpn-auth-pam.so /lib/
|
||||||
|
cd $(DIR_APP)/plugin/down-root && make
|
||||||
|
cp -pvf $(DIR_APP)/plugin/down-root/openvpn-down-root.so /lib/
|
||||||
-mkdir -vp /var/ipfire/ovpn/ca
|
-mkdir -vp /var/ipfire/ovpn/ca
|
||||||
-mkdir -vp /var/ipfire/ovpn/crls
|
-mkdir -vp /var/ipfire/ovpn/crls
|
||||||
touch /var/ipfire/ovpn/ovpn-leases.db
|
touch /var/ipfire/ovpn/ovpn-leases.db
|
||||||
|
|||||||
Reference in New Issue
Block a user