All of lore.kernel.org
 help / color / mirror / Atom feed
* Sam Nelson : ti-softhsmv2: Add recipe for ti customised softhsm package
@ 2015-02-02 20:38 Arago Project git
  0 siblings, 0 replies; 2+ messages in thread
From: Arago Project git @ 2015-02-02 20:38 UTC (permalink / raw)
  To: meta-ti

Module: meta-ti
Branch: daisy
Commit: a4fa63b39f6a55559efb905a887a664e3c868ccc
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=a4fa63b39f6a55559efb905a887a664e3c868ccc

Author: Sam Nelson <sam.nelson@ti.com>
Date:   Thu Jan 29 22:11:25 2015 +0000

ti-softhsmv2: Add recipe for ti customised softhsm package

- Provide library, deamon and util for ti customised softhsm

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>

---

 recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb |   43 +++++++++++++++++++++++++++
 1 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb b/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb
new file mode 100644
index 0000000..518508c
--- /dev/null
+++ b/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb
@@ -0,0 +1,43 @@
+DESCRIPTION = "TI softhsmv2 package"
+LICENSE = "BSD-2-Clause | BSD-3-Clause | ISC | IBM-License | FSFULLR | Zlib"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=55144a048ba54f211a1aaa38c7fd2424"
+SECTION = "libs"
+
+mntdir = "/mnt"
+
+inherit autotools pkgconfig
+
+DEPENDS = "openssl libdaemon"
+COMPATIBLE_MACHINE = "(tci6614-evm|keystone)"
+
+BRANCH="master"
+SRC_URI = "git://git.ti.com/keystone-linux/ti-softhsmv2.git;protocol=git;branch=${BRANCH}"
+#Following commit corresponds to tag DEV.SOFTHSM-01.03.00.01
+SRCREV = "c79d93ac2a326567a7245dda1b903ef340b5650c"
+PV = "1.3.0.1"
+
+S = "${WORKDIR}/git"
+
+CFLAGS += " -mno-unaligned-access"
+CPPFLAGS += " -mno-unaligned-access"
+
+INITSCRIPT_NAME = "softhsm-daemon.sh"
+INITSCRIPT_PARAMS = "defaults 10"
+
+inherit update-rc.d
+
+SELECTED_OPTIMIZATION := "${@d.getVar("SELECTED_OPTIMIZATION", True).replace("-O2", "-O3")}"
+SELECTED_OPTIMIZATION := "${@d.getVar("SELECTED_OPTIMIZATION", True).replace("-ggdb2", "")}"
+
+FILES_${PN} += "${libdir}/softhsm/lib*.so.* ${mntdir}/*"
+FILES_${PN}-dbg += "${libdir}/softhsm/.debug"
+FILES_${PN}-staticdev += "${libdir}/softhsm/*.a "
+FILES_${PN}-dev += "${libdir}/softhsm/*.la ${libdir}/softhsm/lib*.so"
+
+do_install_append() {
+	install -d ${D}${mntdir}/securedbv0
+	install -d ${D}${mntdir}/securedbv1
+
+	install -d ${D}${sysconfdir}/init.d/
+	install -c -m 755 ${S}/src/bin/daemon/softhsm-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
+}



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Sam Nelson : ti-softhsmv2: Add recipe for ti customised softhsm package
@ 2015-02-02 20:38 Arago Project git
  0 siblings, 0 replies; 2+ messages in thread
From: Arago Project git @ 2015-02-02 20:38 UTC (permalink / raw)
  To: meta-ti

Module: meta-ti
Branch: master
Commit: 02faeb98837ac068ff056f8480a5c8e86eb4041b
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=02faeb98837ac068ff056f8480a5c8e86eb4041b

Author: Sam Nelson <sam.nelson@ti.com>
Date:   Thu Jan 29 22:11:25 2015 +0000

ti-softhsmv2: Add recipe for ti customised softhsm package

- Provide library, deamon and util for ti customised softhsm

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>

---

 recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb |   43 +++++++++++++++++++++++++++
 1 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb b/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb
new file mode 100644
index 0000000..518508c
--- /dev/null
+++ b/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb
@@ -0,0 +1,43 @@
+DESCRIPTION = "TI softhsmv2 package"
+LICENSE = "BSD-2-Clause | BSD-3-Clause | ISC | IBM-License | FSFULLR | Zlib"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=55144a048ba54f211a1aaa38c7fd2424"
+SECTION = "libs"
+
+mntdir = "/mnt"
+
+inherit autotools pkgconfig
+
+DEPENDS = "openssl libdaemon"
+COMPATIBLE_MACHINE = "(tci6614-evm|keystone)"
+
+BRANCH="master"
+SRC_URI = "git://git.ti.com/keystone-linux/ti-softhsmv2.git;protocol=git;branch=${BRANCH}"
+#Following commit corresponds to tag DEV.SOFTHSM-01.03.00.01
+SRCREV = "c79d93ac2a326567a7245dda1b903ef340b5650c"
+PV = "1.3.0.1"
+
+S = "${WORKDIR}/git"
+
+CFLAGS += " -mno-unaligned-access"
+CPPFLAGS += " -mno-unaligned-access"
+
+INITSCRIPT_NAME = "softhsm-daemon.sh"
+INITSCRIPT_PARAMS = "defaults 10"
+
+inherit update-rc.d
+
+SELECTED_OPTIMIZATION := "${@d.getVar("SELECTED_OPTIMIZATION", True).replace("-O2", "-O3")}"
+SELECTED_OPTIMIZATION := "${@d.getVar("SELECTED_OPTIMIZATION", True).replace("-ggdb2", "")}"
+
+FILES_${PN} += "${libdir}/softhsm/lib*.so.* ${mntdir}/*"
+FILES_${PN}-dbg += "${libdir}/softhsm/.debug"
+FILES_${PN}-staticdev += "${libdir}/softhsm/*.a "
+FILES_${PN}-dev += "${libdir}/softhsm/*.la ${libdir}/softhsm/lib*.so"
+
+do_install_append() {
+	install -d ${D}${mntdir}/securedbv0
+	install -d ${D}${mntdir}/securedbv1
+
+	install -d ${D}${sysconfdir}/init.d/
+	install -c -m 755 ${S}/src/bin/daemon/softhsm-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
+}



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-02 20:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-02 20:38 Sam Nelson : ti-softhsmv2: Add recipe for ti customised softhsm package Arago Project git
  -- strict thread matches above, loose matches on Subject: below --
2015-02-02 20:38 Arago Project git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.