pathfinder: Added pathfinder (X.509 path verification)
PATCH 9/11 pathfinder: Added pathfinder (X.509 path verification)
* PathFinder is designed to provide a mechanism for any program to perform RFC3280-compliant path validation of X509 certificates, even when some of the intermediate certificates are not present on the local machine.
* pathfinder can be used with opkg to provide verification of remote ssl certificates
--- recipes/pathfinder/files/pathfinderd.conf | 21 +++++++++++++++++++ recipes/pathfinder/files/pathfinderd.init | 32 +++++++++++++++++++++++++++++ recipes/pathfinder/pathfinder.inc | 22 +++++++++++++++++++ recipes/pathfinder/pathfinder_1.1.3.bb | 11 ++++++++++ recipes/pathfinder/pathfinder_svn.bb | 11 ++++++++++ 5 files changed, 97 insertions(+), 0 deletions(-) create mode 100644 recipes/pathfinder/files/pathfinderd.conf create mode 100644 recipes/pathfinder/files/pathfinderd.init create mode 100644 recipes/pathfinder/pathfinder.inc create mode 100644 recipes/pathfinder/pathfinder_1.1.3.bb create mode 100644 recipes/pathfinder/pathfinder_svn.bb
recipes/pathfinder/files/pathfinderd.conf new file +21 -0
@@ -0,0 +1,21 @@ +<!DOCTYPE busconfig PUBLIC + "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> +<busconfig> + <policy user="root"> + <allow own="ca.carillon.pathfinder"/> + <allow send_destination="ca.carillon.pathfinder"/> + </policy> + + <!-- + <policy user="pathfinderd"> + <allow own="ca.carillon.pathfinder"/> + <allow send_destination="ca.carillon.pathfinder"/> + </policy> + --> + + <policy context="default"> + <deny own="ca.carillon.pathfinder"/> + <allow send_destination="ca.carillon.pathfinder"/> + </policy> +</busconfig>
recipes/pathfinder/files/pathfinderd.init new file +32 -0
@@ -0,0 +1,32 @@ +#!/bin/sh +DAEMON=/usr/sbin/pathfinderd +NAME=pathfinderd +DESC="pathfinderd: X509 Path Verification Daemon" +PIDFILE=/var/run/pathfinderd/pathfinderd.pid +ARGS="-d" + +test -f $DAEMON || exit 0 + +case "$1" in + start) + echo -n "Starting $DESC: $NAME" + start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $ARGS + echo "." + ;; + stop) + echo -n "Stopping $DESC: $NAME" + start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $DAEMON + echo "." + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 + ;; +esac + +exit 0
recipes/pathfinder/pathfinder.inc new file +22 -0
@@ -0,0 +1,22 @@ +DESCRIPTION = "A tool to perform RFC3280-compliant path validation of X509 certificates" + +LICENSE = "LGPL" +DEPENDS = "wvstreams openldap boost" +RDEPENDS = "dbus" +HOMEPAGE = "http://code.google.com/p/pathfinder-pki/" + +INC_PR = "0" + +inherit cmake pkgconfig update-rc.d + +INITSCRIPT_NAME = "pathfinderd" +INITSCRIPT_PARAMS = "defaults" + +do_install_append() { + install -d ${D}/${sysconfdir}/init.d/ + install -m 755 "${WORKDIR}/pathfinderd.init" "${D}/etc/init.d/pathfinderd" + + install -d ${D}/${sysconfdir}/dbus-1/system.d/ + install ${WORKDIR}/pathfinderd.conf ${D}/${sysconfdir}/dbus-1/system.d/ + +}
recipes/pathfinder/pathfinder_1.1.3.bb new file +11 -0
@@ -0,0 +1,11 @@ +require pathfinder.inc + +SRC_URI = "http://pathfinder-pki.googlecode.com/files/${PN}-${PV}-Source.tar.gz \ + file://pathfinderd.init \ + file://pathfinderd.conf \ +" + +PR = "${INC_PR}.1" + +SRC_URI[md5sum] = "6985ea14da6dff30c3c4e5cfc8b3d0f7" +SRC_URI[sha256sum] = "a81b09a306aa997980d76f2b6e9215e7b3a91ed4c5fb413b3c4d30513a5e1031"
recipes/pathfinder/pathfinder_svn.bb new file +11 -0
@@ -0,0 +1,11 @@ +require pathfinder.inc + +SRC_URI = "svn://pathfinder-pki.googlecode.com/svn/trunk;module=pathfinder;proto=http \ + file://pathfinderd.init \ + file://pathfinderd.conf \ +" + +SRCREV = "224" +PV = "1.1.3+svnr${SRCPV}" +PR = "${INC_PR}.0" +S = "${WORKDIR}/${PN}"
Signature · 1 line
1.7.3.1
Quoted 91 lines · Camille Moncelier
* PathFinder is designed to provide a mechanism for any program to perform RFC3280-compliant path validation of X509 certificates, even when some of the intermediate certificates are not present on the local machine.
* pathfinder can be used with opkg to provide verification of remote ssl certificates
---
recipes/pathfinder/files/pathfinderd.conf | 21 +++++++++++++++++++ recipes/pathfinder/files/pathfinderd.init | 32 +++++++++++++++++++++++++++++ recipes/pathfinder/pathfinder.inc | 22 +++++++++++++++++++ recipes/pathfinder/pathfinder_1.1.3.bb | 11 ++++++++++ recipes/pathfinder/pathfinder_svn.bb | 11 ++++++++++5 files changed, 97 insertions(+), 0 deletions(-)create mode 100644
recipes/pathfinder/files/pathfinderd.confcreate mode 100644 recipes/pathfinder/files/pathfinderd.init create mode 100644 recipes/pathfinder/pathfinder.inc create mode 100644 recipes/pathfinder/pathfinder_1.1.3.bb create mode 100644 recipes/pathfinder/pathfinder_svn.bbrecipes/pathfinder/files/pathfinderd.conf new file +21
-0@@ -0,0 +1,21 @@ +<!DOCTYPE busconfig PUBLIC + "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> +<busconfig> + <policy user="root"> + <allow own="ca.carillon.pathfinder"/> + <allow send_destination="ca.carillon.pathfinder"/> + </policy> + + <!-- + <policy user="pathfinderd"> + <allow own="ca.carillon.pathfinder"/> + <allow send_destination="ca.carillon.pathfinder"/> + </policy> + --> + + <policy context="default"> + <deny own="ca.carillon.pathfinder"/> + <allow send_destination="ca.carillon.pathfinder"/> + </policy> +</busconfig>recipes/pathfinder/files/pathfinderd.init new file +32
-0@@ -0,0 +1,32 @@ +#!/bin/sh +DAEMON=/usr/sbin/pathfinderd +NAME=pathfinderd +DESC="pathfinderd: X509 Path Verification Daemon" +PIDFILE=/var/run/pathfinderd/pathfinderd.pid +ARGS="-d" + +test -f $DAEMON || exit 0 + +case "$1" in + start) + echo -n "Starting $DESC: $NAME" + start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $ARGS + echo "." + ;; + stop) + echo -n "Stopping $DESC: $NAME" + start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $DAEMON + echo "." + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 + ;; +esac + +exit 0recipes/pathfinder/pathfinder.inc new file +0
-0
recipes/pathfinder/pathfinder.inc line 3
Quoted 3 lines
recipes/pathfinder/pathfinder.inc new file +3
-0@@ -0,0 +1,22 @@ +DESCRIPTION = "A tool to perform RFC3280-compliant path validation of X509 certificates" + +LICENSE = "LGPL"
version please
recipes/pathfinder/pathfinder.inc line 8
Quoted 5 lines
recipes/pathfinder/pathfinder.inc new file +5
-0+DEPENDS = "wvstreams openldap boost" +RDEPENDS = "dbus" +HOMEPAGE = "http://code.google.com/p/pathfinder-pki/" + +INC_PR = "0"
should be r0
Quoted 57 lines
recipes/pathfinder/pathfinder.inc new file +14
-0+ +inherit cmake pkgconfig update-rc.d + +INITSCRIPT_NAME = "pathfinderd" +INITSCRIPT_PARAMS = "defaults" + +do_install_append() { + install -d ${D}/${sysconfdir}/init.d/ + install -m 755 "${WORKDIR}/pathfinderd.init" "${D}/etc/init.d/pathfinderd" + + install -d ${D}/${sysconfdir}/dbus-1/system.d/ + install ${WORKDIR}/pathfinderd.conf ${D}/${sysconfdir}/dbus-1/system.d/ + +}recipes/pathfinder/pathfinder_1.1.3.bb new file +11
-0@@ -0,0 +1,11 @@ +require pathfinder.inc + +SRC_URI = "http://pathfinder-pki.googlecode.com/files/${PN}-${PV}-Source.tar.gz \ + file://pathfinderd.init \ + file://pathfinderd.conf \ +" + +PR = "${INC_PR}.1" + +SRC_URI[md5sum] = "6985ea14da6dff30c3c4e5cfc8b3d0f7" +SRC_URI[sha256sum] = "a81b09a306aa997980d76f2b6e9215e7b3a91ed4c5fb413b3c4d30513a5e1031"recipes/pathfinder/pathfinder_svn.bb new file +11
-1@@ -0,0 +1,11 @@ +require pathfinder.inc + +SRC_URI = "svn://pathfinder-pki.googlecode.com/svn/trunk;module=pathfinder;proto=http \ + file://pathfinderd.init \ + file://pathfinderd.conf \ +" + +SRCREV = "224" +PV = "1.1.3+svnr${SRCPV}" +PR = "${INC_PR}.0" +S = "${WORKDIR}/${PN}" --1.7.3.1
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel