Skip to content

Commit

Permalink
Remove C plugin support until deferred mode is supported by OpenVPN
Browse files Browse the repository at this point in the history
  • Loading branch information
gdestuynder committed May 15, 2014
1 parent 8253423 commit e892e4b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 929 deletions.
10 changes: 1 addition & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
CC := gcc
CFLAGS :=
LDFLAGS := -fPIC -shared
INSTALL := install
DESTDIR := /
PREFIX := /usr

all: plugin

plugin: netfilter_openvpn.c
$(CC) $(CFLAGS) $(LDFLAGS) -I. -c netfilter_openvpn.c
$(CC) $(CFLAGS) $(LDFLAGS) -Wl,-soname,netfilter_openvpn.so -o netfilter_openvpn.so netfilter_openvpn.o
all:

install: plugin
mkdir -p $(DESTDIR)$(PREFIX)/lib/openvpn/plugins
mkdir -p $(DESTDIR)/etc/openvpn
mkdir -p $(DESTDIR)$(PREFIX)/bin
$(INSTALL) -m755 netfilter_openvpn.so $(DESTDIR)$(PREFIX)/lib/openvpn/plugins
$(INSTALL) -m755 netfilter_openvpn.py $(DESTDIR)$(PREFIX)/lib/openvpn/plugins
$(INSTALL) -m600 netfilter_openvpn.conf.inc $(DESTDIR)/etc/netfilter_openvpn.conf
$(INSTALL) -m755 scripts/vpn-fw-find-user.sh $(DESTDIR)$(PREFIX)/bin
Expand Down
107 changes: 0 additions & 107 deletions netfilter_openvpn.c

This file was deleted.

Loading

0 comments on commit e892e4b

Please sign in to comment.