summaryrefslogtreecommitdiff
path: root/vpnc
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-12-11 23:22:17 +0000
committerChris Larson <clarson@kergoth.com>2003-12-11 23:22:17 +0000
commit1daa24f9ae8b1e511ed9bb9961fe6fd8892b852b (patch)
treee77d9904b4ee2dde7b73ee1d3adf695a8ae94b92 /vpnc
parent6600e07d210fb1411882fa0a1bb3db72c1439af7 (diff)
Fix vpnc build and move out of nonworking.
BKrev: 3fd8fc29CkEvfN6RduH7TMBCFIWsNQ
Diffstat (limited to 'vpnc')
-rw-r--r--vpnc/vpnc-0.2-rm+zomb-pre6/attribute.patch12
-rw-r--r--vpnc/vpnc_0.2-rm+zomb-pre6.oe16
2 files changed, 28 insertions, 0 deletions
diff --git a/vpnc/vpnc-0.2-rm+zomb-pre6/attribute.patch b/vpnc/vpnc-0.2-rm+zomb-pre6/attribute.patch
new file mode 100644
index 0000000000..8cf0fe5485
--- /dev/null
+++ b/vpnc/vpnc-0.2-rm+zomb-pre6/attribute.patch
@@ -0,0 +1,12 @@
+--- vpnc-0.2-rm+zomb-pre6/vpnc.c~ 2003-11-01 16:21:47.000000000 -0800
++++ vpnc-0.2-rm+zomb-pre6/vpnc.c 2003-11-14 23:23:43.000000000 -0800
+@@ -1193,7 +1193,8 @@
+ ? "\n" : "")));
+ break;
+ default:
+- reject = ISAKMP_N_ATTRIBUTES_NOT_SUPPORTED;
++ //reject = ISAKMP_N_ATTRIBUTES_NOT_SUPPORTED;
++ DEBUG(1, printf("Unknow attribute: ap->type: %d. Continuing anyway.\n", ap->type));
+ }
+ DEBUG(2, printf("S5.5\n"));
+ if (reject != 0)
diff --git a/vpnc/vpnc_0.2-rm+zomb-pre6.oe b/vpnc/vpnc_0.2-rm+zomb-pre6.oe
new file mode 100644
index 0000000000..e3e781a849
--- /dev/null
+++ b/vpnc/vpnc_0.2-rm+zomb-pre6.oe
@@ -0,0 +1,16 @@
+DEPENDS=virtual/libc virtual/libgcrypt
+
+SRC_URI = http://www.unix-ag.uni-kl.de/~massar/vpnc/${PN}-${PV}.tar.gz \
+ file://${FILESDIR}/attribute.patch;patch=1
+
+
+do_compile () {
+oe_runmake \
+"CFLAGS=${CFLAGS} '-DVERSION=\"\$(shell cat ${S}/VERSION)\"' \$(shell libgcrypt-config --cflags)" \
+"LDFLAGS=${LDFLAGS} \$(shell libgcrypt-config --libs)"
+}
+
+do_install () {
+ install -d ${D}/${sbindir}
+ install -m 0755 vpnc ${D}/${sbindir}
+}