add softhsm2, libgcrypt, zeromq
This commit is contained in:
parent
3bbfc67230
commit
397251b5c9
|
@ -1,7 +1,7 @@
|
|||
MACHINE ??= "aud8516p1v2-consys-slc-128"
|
||||
DISTRO ?= "poky-aud-systemd"
|
||||
PACKAGE_CLASSES ?= "package_rpm"
|
||||
EXTRA_IMAGE_FEATURES = "debug-tweaks"
|
||||
#EXTRA_IMAGE_FEATURES = "debug-tweaks"
|
||||
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
|
||||
PATCHRESOLVE = "noop"
|
||||
SSTATE_DIR ?= "${TOPDIR}/../sstate-cache"
|
||||
|
@ -17,9 +17,17 @@ DL_DIR ?= "${TOPDIR}/../downloads"
|
|||
INHERIT += "buildhistory"
|
||||
BUILDHISTORY_COMMIT = "1"
|
||||
INCOMPATIBLE_LICENSE ?= "GPL-3.0 LGPL-3.0 AGPL-3.0"
|
||||
#QEMU_TARGETS = "arm aarch64 i386 x86_64"
|
||||
QEMU_TARGETS = "arm aarch64 i386 x86_64"
|
||||
# BB_NO_NETWORK = "${@int(os.path.isdir('${DL_DIR}/.git') == True)}"
|
||||
BB_NO_NETWORK = "0"
|
||||
LICENSE_FLAGS_WHITELIST = "commercial"
|
||||
LICENSE_FLAGS_FFMPEG="yes"
|
||||
LICENSE_FLAGS_GMRENDER="yes"
|
||||
|
||||
BB_NUMBER_THREADS = "12"
|
||||
PARALLEL_MAKE = "-j8"
|
||||
|
||||
PACKAGE_EXCLUDE="ntp"
|
||||
IMAGE_INSTALL_append = " nfs-utils"
|
||||
ALLOW_EMPTY_libgpg-error = "1"
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
SUMMARY = "SoftHSM is part of the OpenDNSSEC project"
|
||||
SECTION = "System Environment/Libraries"
|
||||
LICENSE = "MIT"
|
||||
#LIC_FILES_CHKSUM = "file://LICENSE;md5=ef3f77a3507c3d91e75b9f2bdaee4210"
|
||||
|
||||
SRC_URI = "https://github.com/opendnssec/SoftHSMv2/archive/refs/tags/2.6.1.tar.gz"
|
||||
SRC_URI[md5sum] = "2f6f21d859ad08fec55c61bb4e1747c4"
|
||||
SRC_URI[sha256sum] = "e3daff28b164611b1f080401d4d70edd0944f692385a7ef75eba5ce056c8c9ca"
|
||||
|
||||
DEPENDS = "openssl"
|
||||
|
||||
inherit autotools
|
||||
|
||||
S = "${WORKDIR}/SoftHSMv2-2.6.1"
|
||||
|
||||
FILES_${PN} = "/usr/lib64/softhsm/libsofthsm2* ${bindir}/softhsm2-util"
|
||||
|
||||
|
||||
do_install_append() {
|
||||
# Install Sample application to test Alexa Voice Service
|
||||
install -d ${D}${bindir}
|
||||
install -d ${D}${libdir}
|
||||
install -m 0755 ${B}/./src/bin/util/softhsm2-util ${D}${bindir}
|
||||
install -m 0755 ${B}/./src/bin/keyconv/softhsm2-keyconv ${D}${bindir}
|
||||
install -m 0755 ${B}/./src/lib/.libs/libsofthsm2.so ${D}${libdir}
|
||||
}
|
||||
|
||||
INSANE_SKIP_${PN} += "installed-vs-shipped staticdev"
|
|
@ -0,0 +1,20 @@
|
|||
DESCRIPTION = "ZeroMQ looks like an embeddable networking library but acts like a concurrency framework"
|
||||
HOMEPAGE = "http://www.zeromq.org"
|
||||
LICENSE = "GNU"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=c593001a89f5a85dd2ddf564805deb860e02471171b3f204944857336295c3e5"
|
||||
|
||||
PACKAGECONFIG ??= "libsodium"
|
||||
PACKAGECONFIG[libsodium] = "--with-libsodium, --without-libsodium, libsodium"
|
||||
|
||||
SRC_URI = "http://github.com/zeromq/zeromq4-1/releases/download/v${PV}/zeromq-${PV}.tar.gz"
|
||||
SRC_URI[md5sum] = "c897d4005a3f0b8276b00b7921412379"
|
||||
SRC_URI[sha256sum] = "c593001a89f5a85dd2ddf564805deb860e02471171b3f204944857336295c3e5"
|
||||
|
||||
S = "${WORKDIR}/zeromq-${PV}"
|
||||
|
||||
#Uncomment to choose polling system manually. valid values are kqueue, epoll, devpoll, poll or select
|
||||
#EXTRA_OECONF += "--with-poller=kqueue"
|
||||
#CFLAGS_append = " -O0"
|
||||
#CXXFLAGS_append = " -O0"
|
||||
|
||||
inherit autotools ptest pkgconfig
|
|
@ -9,6 +9,10 @@ inherit create-link
|
|||
inherit create-mtdverity
|
||||
inherit mkusrdata
|
||||
inherit pack-update-zip
|
||||
#inherit extrausers
|
||||
|
||||
EXTRA_USERS_PARAMS = "usermod -p $(openssl passwd avs123!@#) root;"
|
||||
EXTRA_USERS_PARAMS += "useradd -P $(openssl passwd avs123!@#) aud8516;"
|
||||
|
||||
CORE_IMAGE_EXTRA_INSTALL += " \
|
||||
packagegroup-mtk-upgrade-kit-native \
|
||||
|
@ -75,6 +79,9 @@ IMAGE_INSTALL_append = " \
|
|||
libarchive \
|
||||
faad2 \
|
||||
nfs-utils \
|
||||
softhsm2 \
|
||||
libgcrypt \
|
||||
zeromq \
|
||||
"
|
||||
|
||||
install_proc() {
|
||||
|
|
Loading…
Reference in New Issue