summaryrefslogtreecommitdiff
path: root/packages/vpnc/vpnc_0.3.3.bb
diff options
context:
space:
mode:
authorMatthias Goebl <oe@m.goebl.net>2006-02-07 23:37:41 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-07 23:37:41 +0000
commit1639b5dab8efc2d6d791db6b024a53e66b49ec9a (patch)
treef33a69aeabe1304ce917bd9cf58847108cafc969 /packages/vpnc/vpnc_0.3.3.bb
parent7000a872cc1e36466b42e42b7e5ddf2bb1a96a39 (diff)
vpnc: Update to version 0.3.3 with patches, add to slugos
- Update to current version 0.3.3 - Fix vpnc-script so busybox-sh can run it - Add a useful default config file - Add vpnc, libgcrypt and libgpg-error to slugos-packages
Diffstat (limited to 'packages/vpnc/vpnc_0.3.3.bb')
-rw-r--r--packages/vpnc/vpnc_0.3.3.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/vpnc/vpnc_0.3.3.bb b/packages/vpnc/vpnc_0.3.3.bb
new file mode 100644
index 0000000000..5bcca982e4
--- /dev/null
+++ b/packages/vpnc/vpnc_0.3.3.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "A client for the Cisco3000 VPN Concentrator"
+SECTION = "console/network"
+PRIORITY = "optional"
+HOMEPAGE = "http://www.unix-ag.uni-kl.de/~massar/vpnc/"
+MAINTAINER = "Matthias Goebl <matthias.goebl@goebl.net>"
+LICENSE = "GPL"
+DEPENDS = "libgcrypt"
+RDEPENDS = "kernel-module-tun"
+PR = "r1"
+
+SRC_URI = "http://www.unix-ag.uni-kl.de/~massar/vpnc/vpnc-${PV}.tar.gz \
+ file://vpnc-script.patch;patch=1 \
+ file://default.conf"
+
+CFLAGS_append = ' -DVERSION=\\"${PV}\\"'
+LDFLAGS_append = " -lgcrypt -lgpg-error"
+
+do_install () {
+ oe_runmake 'DESTDIR=${D}' 'PREFIX=/usr' install
+ rm -f ${D}${sysconfdir}/vpnc/vpnc.conf #This file is useless
+ install ${WORKDIR}/default.conf ${D}${sysconfdir}/vpnc/default.conf
+}
+
+CONFFILES_${PN} = "${sysconfdir}/vpnc/default.conf"