meta-openembedded: subtree update:fe77eaab8f..629696b64b
Alex Kiernan (4):
zstd: Upgrade 1.4.4 -> 1.4.5
libxmlb: Add recipe
libjcat: Add recipe
gcab: Add recipe
Andreas Müller (14):
libdvdcss: upgrade 1.3.0 -> 1.4.2
vlc: upgrade 3.0.10 -> 3.0.11
netdata: upgrade 1.17.0 -> 1.22.1
libsass: upgrade 3.6.3 -> 3.6.4 / rename recipe
gnome-desktop3: upgrade 3.36.2 -> 3.36.3.1
evince: upgrade 3.36.3 -> 3.36.5
gnome-control-center: upgrade 3.36.2 -> 3.36.3
redis: upgrade 5.0.9 -> 6.0.4
squid: upgrade 4.9 -> 4.12
libgit2: upgrade 1.0.0 -> 1.0.1
openh264: upgrade 2.1.0 -> 2.1.1
tcpreplay: upgrade 4.3.2 -> 4.3.3
asio: upgrade 1.12.2 -> 1.16.1
Revert "packagegroup-xfce-base: add RDEPEND packagegroup-core-x11"
Anuj Mittal (2):
opencl: move headers and loader recipe to common directory
opencl-clhpp: add recipe
Armin Kuster (9):
python3-configobj: Add package
python3-croniter: add package
python3-flask-versioned: Add package
python3-huey: Add package
python3-sqlsoup: add package
python3-smpplib: add package
python3-pyrad: add package
libuv: pkg now in core, remove
ntp: update 4.2.8p15
Christian Eggers (1):
linuxptp: Fix segmentation fault on 32 bit platforms with 64 bit time_t
Konrad Weihmann (1):
libtalloc: fix upstream url
Leon Anavi (82):
python3-packaging: Consolidate in a single file
python3-packaging: Upgrade 20.3 -> 20.4
python3-parse-type: Consolidate in a single file
python3-parse-type: Upgrade 0.4.2 -> 0.5.2
python3-javaobj-py3: Consolidate in a single file
python3-jsonpointer: Consolidate in a single file
python3-kconfiglib: Consolidate in a single file
python3-twisted: Consolidate in a single file
python3-twisted: Upgrade 19.10.0 -> 20.3.0
protobuf: Upgrade 3.11.4 -> 3.12.3
xscreensaver: Upgrade 5.39 -> 5.44
python3-iso8601: Consolidate in a single file
python3-isodate: Consolidate in a single file
python3-incremental: Consolidate in a single file
python3-itsdangerous: Consolidate in a single file
python3-importlib-metadata: Consolidate in a single file
python3-importlib-metadata: Upgrade 1.5.2 -> 1.6.1
python3-can: Upgrade 3.3.2 -> 3.3.3
python3-psutil: Consolidate in a single file
python3-protobuf: Consolidate in a single file
python3-protobuf: Upgrade 3.11.3 -> 3.12.2
python-kconfiglib.inc: Remove
sip3: Consolidate in a single file
sip3: Upgrade 4.19.19 -> 4.19.23
python3-pexpect: Consolidate in a single file
python3-periphery: Consolidate in a single file
python3-periphery: Upgrade 2.0.1 -> 2.1.0
python3-pocketsphinx: Inherit features_check
python3-parse: Consolidate in a single file
python3-passlib: Consolidate in a single file
python3-pathlib2: Consolidate in a single file
python3-pretend: Consolidate in a single file
python3-prompt-toolkit: Consolidate in a single file
python3-prompt-toolkit: Upgrade 2.0.10 -> 3.0.5
python3-ptyprocess: Consolidate in a single file
python3-booleanpy: Upgrade 3.7 to 3.8
python3-toml: Upgrade 0.10.0 -> 0.10.1
python3-msgpack: Upgrade 0.6.2 -> 1.0.0
lirc: Add python3 to the run-time dependencies
python3-sqlalchemy: Upgrade 1.3.12 -> 1.3.17
python3-sh: Upgrade 1.12.14 -> 1.13.1
python3-certifi: Upgrade 2019.11.28 -> 2020.6.20
python3-setuptools-scm: Upgrade 3.5.0 -> 4.1.2
python3-more-itertools: Upgrade 8.3.0 -> 8.4.0
python3-configparser: Upgrade 4.0.2 -> 5.0.0
python3-pytest-timeout: Upgrade 1.3.4 -> 1.4.1
python3-semver: Upgrade 2.8.1 -> 2.10.2
python3-spidev: Upgrade 3.4 -> 3.5
python3-pint: Upgrade 0.12 -> 0.13
python3-xxhash: Upgrade 1.4.3 -> 1.4.4
python3-networkx: Consolidate in a single file
python3-netifaces: Consolidate in a single file
python3-netaddr: Consolidate in a single file
python3-netaddr: Upgrade 0.7.19 -> 0.7.20
python3-ndg-httpsclient: Consolidate in a single file
python3-lazy-object-proxy: Consolidate in a single file
python3-lazy-object-proxy: Upgrade 1.4.3 -> 1.5.0
python3-license-expression: Consolidate in a single file
python3-license-expression: Upgrade 1.0 -> 1.2
python3-wcwidth: Upgrade 0.2.4 -> 0.2.5
python3-ordered-set: Upgrade 3.1.1 -> 4.0.2
python3-cheetah: Upgrade 3.2.4 -> 3.2.5
python3-cmd2: Upgrade 0.9.23 -> 1.1.0
python3-pyrsistent: Upgrade 0.15.7 -> 0.16.0
python3-requests-file: Upgrade 1.4.3 -> 1.5.1
python3-msk: Upgrade 0.3.13 -> 0.3.15
python3-pyperf: Upgrade 1.7.1 -> 2.0.0
python3-padatious: Upgrade 0.4.7 -> 0.4.8
python3-croniter: Upgrade 0.3.33 -> 0.3.34
python3-lrparsing: Consolidate in a single file
python3-pytun: Consolidate in a single file
python3-jsonpatch: Upgrade 1.25 -> 1.26
python3-socketio: Upgrade 4.5.1 -> 4.6.0
python3-twine: Upgrade 3.1.1 -> 3.2.0
python3-pyexpect: Upgrade 1.0.19 -> 1.0.20
python3-pyjks: Upgrade 19.0.0 -> 20.0.0
python3-ruamel-yaml: Upgrade 0.16.5 0> 0.16.10
python3-pandas: Upgrade 1.0.3 -> 1.0.5
python3-matplotlib: Upgrade 3.2.1 -> 3.2.2
python3-coverage: Upgrade 5.0.2 -> 5.1
python3-coloredlogs: Upgrade 10.0 -> 14.0
python3-astroid: Upgrade 2.3.3 -> 2.4.2
Liwei Song (1):
pm-graph: add flags support for RT kernel
Madhavan Krishnan (1):
libcamera: Bumped to latest source revision
Martin Jansa (1):
ace: fix installation paths when usrmerge is used
Mingli Yu (1):
opencv: make ts module external
Ovidiu Panait (1):
freediameter: upgrade 1.3.2 -> 1.4.0
Paul Eggleton (1):
protobuf-c: disable parallelism to avoid race condition
Peace Lee (1):
Update commit for version 3.9.7
Pierre-Jean Texier (3):
rsnapshot: upgrade 1.4.2 -> 1.4.3
libzip: upgrade 1.7.0 -> 1.7.1
fuse3: upgrade 3.9.1 -> 3.9.2
Ryan Rowe (3):
python3-typeguard: Upgrade 2.7.1 -> 2.9.1
add python3-dynamic-dispatch
add python3-argexec
Sakib Sajal (1):
python3-requests-toolbelt: add recipe for v0.9.1
Trevor Gamblin (1):
python3-django: upgrade 2.2.7 -> 2.2.13
Wang Mingyu (4):
openipmi: upgrade 2.0.28 -> 2.0.29
twm: upgrade 1.0.10 -> 1.0.11
python3-wtforms: upgrade 2.2.1 -> 2.3.1
python3-py: upgrade 1.8.1 -> 1.8.2
Zang Ruochen (6):
python3-geojson: Enable ptest
python3-intervals: Enable ptest
python3-ipy: Enable ptest
python3-iso3166: Enable ptest
python-html2text: Enable ptest
python3-gunicorn: Enable ptest
Zheng Ruoqin (3):
python3-cachetools: Enable ptest
python3-dnspython: Enable ptest
python3-dominate: Enable ptest
lumag (1):
lmsensors: do not depend on lmsensors-isatools on non-x86
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I66b8b206b1f74dab49ef7c266e145127ba27869b
diff --git a/meta-openembedded/meta-networking/recipes-protocols/freediameter/freediameter_1.4.0.bb b/meta-openembedded/meta-networking/recipes-protocols/freediameter/freediameter_1.4.0.bb
new file mode 100644
index 0000000..15ee561
--- /dev/null
+++ b/meta-openembedded/meta-networking/recipes-protocols/freediameter/freediameter_1.4.0.bb
@@ -0,0 +1,138 @@
+SUMMARY = "An open source implementation of the diameter protocol"
+DESCRIPTION = "\
+freeDiameter is an open source Diameter protocol implementation \
+(RFC3588). It provides an extensible platform for deploying a \
+Diameter network for your Authentication, Authorization and \
+Accounting needs."
+
+HOMEPAGE = "http://www.freediameter.net"
+
+DEPENDS = "flex bison cmake-native libgcrypt gnutls libidn lksctp-tools virtual/kernel bison-native"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+fd_pkgname = "freeDiameter"
+
+SRC_URI = "\
+ http://www.freediameter.net/hg/${fd_pkgname}/archive/${PV}.tar.gz;downloadfilename=${fd_pkgname}-${PV}.tar.gz \
+ file://Replace-murmurhash-algorithm-with-Robert-Jenkin-s-ha.patch \
+ file://freediameter.service \
+ file://freediameter.init \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'file://install_test.patch file://run-ptest file://pass-ptest-env.patch', '', d)} \
+ file://freeDiameter.conf \
+ file://0001-libfdcore-sctp.c-update-the-old-sctp-api-check.patch \
+ "
+
+SRC_URI[sha256sum] = "7a537401bd110c606594b7c6be71b993f0ccc73ae151ad68040979286ba4e50e"
+
+S = "${WORKDIR}/${fd_pkgname}-${PV}"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=69bdc1d97648a2d35914563fcbbb361a"
+
+PTEST_PATH = "${libdir}/${fd_pkgname}/ptest"
+
+inherit cmake pkgconfig update-rc.d ptest systemd
+
+EXTRA_OECMAKE = " \
+ -DDEFAULT_CONF_PATH:PATH=${sysconfdir}/${fd_pkgname} \
+ -DBUILD_DBG_MONITOR:BOOL=ON \
+ -DBUILD_TEST_APP:BOOL=ON \
+ -DBUILD_TESTING:BOOL=ON \
+ -DBUILD_APP_RADGW:BOOL=ON \
+ -DBUILD_APP_REDIRECT:BOOL=ON \
+ -DBUILD_TEST_ACCT:BOOL=ON \
+ -DBUILD_TEST_NETEMUL:BOOL=ON \
+ -DBUILD_TEST_RT_ANY:BOOL=ON \
+ -DINSTALL_LIBRARY_SUFFIX:PATH=${baselib} \
+ -DINSTALL_EXTENSIONS_SUFFIX:PATH=${baselib}/${fd_pkgname} \
+ -DINSTALL_TEST_SUFFIX:PATH=${PTEST_PATH}-tests \
+ -DCMAKE_SKIP_RPATH:BOOL=ON \
+"
+# INSTALL_LIBRARY_SUFFIX is relative to CMAKE_INSTALL_PREFIX
+# specify it on cmd line will fix the SET bug in CMakeList.txt
+
+# -DBUILD_APP_ACCT:BOOL=ON This needs POSTGRESQL support
+
+# -DBUILD_APP_DIAMEAP:BOOL=ON -DBUILD_APP_SIP:BOOL=ON -DBUILD_TEST_SIP:BOOL=ON
+# These need MySQL support
+
+# -DBUILD_DBG_INTERACTIVE:BOOL=ON This needs SWIG support
+
+# -DALL_EXTENSIONS=ON will enable all
+
+FD_KEY ?="${BPN}.key"
+FD_PEM ?= "${BPN}.pem"
+FD_CA ?= "${BPN}.pem"
+FD_DH_PEM ?= "${BPN}-dh.pem"
+FD_HOSTNAME ?= "${MACHINE}"
+FD_REALM ?= "openembedded.org"
+
+do_install_append() {
+ # install the sample configuration files
+ install -d -m 0755 ${D}${sysconfdir}/${fd_pkgname}
+ for i in ${S}/doc/*.conf.sample; do
+ install -m 0644 $i ${D}${sysconfdir}/${fd_pkgname}/
+ done
+ mv ${D}${sysconfdir}/${fd_pkgname}/freediameter.conf.sample \
+ ${D}${sysconfdir}/${fd_pkgname}/freeDiameter.conf.sample
+ install -d ${D}${sysconfdir}/freeDiameter
+ install ${WORKDIR}/freeDiameter.conf ${D}${sysconfdir}/${fd_pkgname}/freeDiameter.conf
+
+ # install daemon init related files
+ install -d -m 0755 ${D}${sysconfdir}/default
+ install -d -m 0755 ${D}${sysconfdir}/init.d
+ install -m 0644 ${S}/contrib/debian/freediameter-daemon.default \
+ ${D}${sysconfdir}/default/${BPN}
+ install -m 0755 ${WORKDIR}/freediameter.init ${D}${sysconfdir}/init.d/${BPN}
+
+ # install for systemd
+ install -d ${D}${systemd_system_unitdir}
+ install -m 0644 ${WORKDIR}/freediameter.service ${D}${systemd_system_unitdir}
+ sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_system_unitdir}/*.service
+
+ cat >> ${D}${sysconfdir}/freeDiameter/freeDiameter.conf <<EOF
+## OE specific ##
+#Identity="${FD_HOSTNAME}";
+Identity = "${FD_HOSTNAME}.${FD_REALM}";
+Realm = "${FD_REALM}";
+Port = 30868;
+SecPort = 30869;
+TLS_Cred = "/etc/freeDiameter/${FD_PEM}" , "/etc/freeDiameter/${FD_KEY}";
+TLS_CA = "/etc/freeDiameter/${FD_CA}";
+TLS_DH_File = "/etc/freeDiameter/${FD_DH_PEM}";
+EOF
+
+ # create self cert
+ openssl req -x509 -config ${STAGING_DIR_NATIVE}/etc/ssl/openssl.cnf -newkey rsa:4096 -sha256 -nodes -out ${D}${sysconfdir}/freeDiameter/${FD_PEM} -keyout ${D}${sysconfdir}/freeDiameter/${FD_KEY} -days 3650 -subj '/CN=${FD_HOSTNAME}.${FD_REALM}'
+ openssl dhparam -out ${D}${sysconfdir}/freeDiameter/${FD_DH_PEM} 1024
+
+}
+
+do_install_ptest() {
+ sed -i "s#\(EXTENSIONS_DIR=\).*\$#\1${libdir}/${fd_pkgname}/#" ${D}${PTEST_PATH}/run-ptest
+ mv ${D}${PTEST_PATH}-tests/* ${D}${PTEST_PATH}/
+ rmdir ${D}${PTEST_PATH}-tests
+ install -m 0644 ${B}/tests/CTestTestfile.cmake ${D}${PTEST_PATH}/
+}
+
+FILES_${PN}-dbg += "${libdir}/${fd_pkgname}/.debug/*"
+
+# include the extensions in main package
+FILES_${PN} += "${libdir}/${fd_pkgname}/*"
+
+RDEPENDS_${PN} = "glib-2.0 gnutls libidn"
+RDEPENDS_${PN} += "openssl openssl-conf openssl-engines"
+RRECOMMENDS_${PN} += "kernel-module-tipc kernel-module-sctp"
+RRECOMMENDS_${PN} += "kernel-module-udp-tunnel kernel-module-ipip"
+RDEPENDS_${PN}-ptest = "cmake"
+
+INITSCRIPT_PACKAGES = "${PN}"
+INITSCRIPT_NAME_${PN} = "${BPN}"
+INITSCRIPT_PARAMS$_${PN} = "start 30 . stop 70 0 1 2 3 4 5 6 ."
+
+SYSTEMD_SERVICE_${PN} = "freediameter.service"
+SYSTEMD_AUTO_ENABLE = "disable"
+
+CONFFILES_${PN} = "${sysconfdir}/freediameter.conf"
+