summaryrefslogtreecommitdiffstats
path: root/openwrt/package/vpnc/patches/01-no_man.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-13 09:37:29 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-13 09:37:29 +0000
commitf4af9e6ffa08d46109f621030f33466073298245 (patch)
tree62eb4934809afd3c9b7b9787d26fd1a78a6cbfb3 /openwrt/package/vpnc/patches/01-no_man.patch
parent4ed1388b2c8c5abef5f656b1d31e15e577179009 (diff)
Added vpnc, a cicso3000 vpn concentrator client
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2647 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/vpnc/patches/01-no_man.patch')
-rw-r--r--openwrt/package/vpnc/patches/01-no_man.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/openwrt/package/vpnc/patches/01-no_man.patch b/openwrt/package/vpnc/patches/01-no_man.patch
new file mode 100644
index 000000000..a5cc3952c
--- /dev/null
+++ b/openwrt/package/vpnc/patches/01-no_man.patch
@@ -0,0 +1,27 @@
+diff -urN orig/vpnc-0.3.3/Makefile vpnc-0.3.3/Makefile
+--- orig/vpnc-0.3.3/Makefile 2005-05-01 22:30:35.000000000 +0200
++++ vpnc-0.3.3/Makefile 2005-12-13 10:30:56.000000000 +0100
+@@ -22,9 +22,8 @@
+ SBINDIR=$(PREFIX)/sbin
+ MANDIR=$(PREFIX)/share/man
+
+-CC=gcc
+-CFLAGS=-W -Wall -O -g '-DVERSION="$(shell cat VERSION)"' $(shell libgcrypt-config --cflags)
+-LDFLAGS=-g $(shell libgcrypt-config --libs)
++CFLAGS=-W -Wall -O -I$(STAGING_DIR)/usr/include '-DVERSION="$(shell cat VERSION)"' $(shell libgcrypt-config --cflags)
++LDFLAGS=-L$(STAGING_DIR)/usr/lib $(shell libgcrypt-config --libs)
+
+ ifeq ($(shell uname -s), Linux)
+ SYSDEP=sysdep-linux.o
+@@ -83,10 +82,9 @@
+ all : vpnc
+
+ install :
+- install -d $(DESTDIR)$(ETCDIR) $(DESTDIR)$(SBINDIR) $(DESTDIR)$(MANDIR)/man8
++ install -d $(DESTDIR)$(ETCDIR) $(DESTDIR)$(SBINDIR)
+ install vpnc.conf vpnc-script $(DESTDIR)$(ETCDIR)
+ install vpnc vpnc-disconnect $(DESTDIR)$(SBINDIR)
+- install vpnc.8 $(DESTDIR)$(MANDIR)/man8
+
+ install-strip :
+ install -d $(DESTDIR)$(ETCDIR) $(DESTDIR)$(SBINDIR) $(DESTDIR)$(MANDIR)/man8