aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar David GOUARIN <dgouarin@gmail.com>2020-09-21 18:58:33 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-09-23 22:08:37 +0200
commit356a521f2a6cb1b62ae376992d5b4702a695f22f (patch)
treec5d9325c1666af1e1cb59b2029bdc129a5a89476 /package
parent14c29ea9d60eff309109044dae95a4fc84bdad68 (diff)
downloadbuildroot-356a521f2a6cb1b62ae376992d5b4702a695f22f.tar.gz
buildroot-356a521f2a6cb1b62ae376992d5b4702a695f22f.tar.bz2
packages/librelp: new package
Reliable Logging Protocol library. Signed-off-by: David GOUARIN <dgouarin@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package')
-rw-r--r--package/Config.in1
-rw-r--r--package/librelp/Config.in6
-rw-r--r--package/librelp/librelp.hash3
-rw-r--r--package/librelp/librelp.mk20
4 files changed, 30 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 20a0167dab..bbaa49f76c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1747,6 +1747,7 @@ menu "Networking"
source "package/libpagekite/Config.in"
source "package/libpcap/Config.in"
source "package/libpjsip/Config.in"
+ source "package/librelp/Config.in"
source "package/librsync/Config.in"
source "package/libshairplay/Config.in"
source "package/libshout/Config.in"
diff --git a/package/librelp/Config.in b/package/librelp/Config.in
new file mode 100644
index 0000000000..d1f1f9ed7e
--- /dev/null
+++ b/package/librelp/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LIBRELP
+ bool "librelp"
+ help
+ Reliable Event Logging Protocol library
+
+ https://www.rsyslog.com/librelp/
diff --git a/package/librelp/librelp.hash b/package/librelp/librelp.hash
new file mode 100644
index 0000000000..ac08039b53
--- /dev/null
+++ b/package/librelp/librelp.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 a34c8fc98bf8eef2a5baf635a0f71813cce93b1185aa03648e31b5af60b7393f librelp-1.2.18.tar.gz
+sha256 1ed76f935566e93e3c3c0d9f8fad22eb6d8bbe406e2eb8470a4a2764d9fd9685 COPYING
diff --git a/package/librelp/librelp.mk b/package/librelp/librelp.mk
new file mode 100644
index 0000000000..bcb4fe0ea1
--- /dev/null
+++ b/package/librelp/librelp.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# librelp
+#
+################################################################################
+
+LIBRELP_VERSION = 1.2.18
+LIBRELP_SITE = http://download.rsyslog.com/librelp
+LIBRELP_LICENSE = GPL-3.0+
+LIBRELP_LICENSE_FILES = COPYING
+LIBRELP_INSTALL_STAGING = YES
+
+ifeq ($(BR2_PACKAGE_GNUTLS),y)
+LIBRELP_DEPENDENCIES += gnutls host-pkgconf
+LIBRELP_CONF_OPTS += --enable-tls
+else
+LIBRELP_CONF_OPTS += --disable-tls
+endif
+
+$(eval $(autotools-package))