Fix vpnc build and move out of nonworking.
authorChris Larson <clarson@kergoth.com>
Thu, 11 Dec 2003 23:22:17 +0000 (23:22 +0000)
committerChris Larson <clarson@kergoth.com>
Thu, 11 Dec 2003 23:22:17 +0000 (23:22 +0000)
BKrev: 3fd8fc29CkEvfN6RduH7TMBCFIWsNQ

libgcrypt/libgcrypt_1.1.12.oe
nonworking/alsa-driver/alsadriver_0.9.8.oe [new file with mode: 0644]
nonworking/alsa-driver/alsadriver_0_9_8.oe [deleted file]
nonworking/vpnc/vpnc-0.2-rm+zomb-pre6/attribute.patch [deleted file]
nonworking/vpnc/vpnc_0.2-rm+zomb-pre6.oe [deleted file]
vpnc/vpnc-0.2-rm+zomb-pre6/attribute.patch [new file with mode: 0644]
vpnc/vpnc_0.2-rm+zomb-pre6.oe [new file with mode: 0644]

index fa6f246..ad06ceb 100644 (file)
@@ -1,3 +1,5 @@
+LICENSE = GPL LGPL FDL
+
 SECTION="libs"
 PRIORITY="optional"
 RDEPENDS="libc6"
@@ -17,6 +19,8 @@ do_stage () {
        ln -sf ${STAGING_LIBDIR}/libgcrypt.so.1.5.1 ${STAGING_LIBDIR}/libgcrypt.so.1
        ln -sf ${STAGING_LIBDIR}/libgcrypt.so.1.5.1 ${STAGING_LIBDIR}/libgcrypt.so
 
+       install -m 0755 src/libgcrypt-config ${STAGING_BINDIR}/
+
        install -d ${STAGING_DIR}/target/include/
        for X in gcrypt.h
        do
diff --git a/nonworking/alsa-driver/alsadriver_0.9.8.oe b/nonworking/alsa-driver/alsadriver_0.9.8.oe
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/nonworking/alsa-driver/alsadriver_0_9_8.oe b/nonworking/alsa-driver/alsadriver_0_9_8.oe
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/nonworking/vpnc/vpnc-0.2-rm+zomb-pre6/attribute.patch b/nonworking/vpnc/vpnc-0.2-rm+zomb-pre6/attribute.patch
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/nonworking/vpnc/vpnc_0.2-rm+zomb-pre6.oe b/nonworking/vpnc/vpnc_0.2-rm+zomb-pre6.oe
deleted file mode 100644 (file)
index e69de29..0000000
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 (file)
index 0000000..8cf0fe5
--- /dev/null
@@ -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 (file)
index 0000000..e3e781a
--- /dev/null
@@ -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}
+}