From 0d37a1ef234c38b27faba43bc3a22f985d311deb Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 17 May 2023 17:01:27 +0100 Subject: Remove all firmware --- repo/libotr/libotr.xibuild | 34 ++++++++++++++++++++++++++++++++++ repo/libotr/socklen-t.patch | 12 ++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 repo/libotr/libotr.xibuild create mode 100644 repo/libotr/socklen-t.patch (limited to 'repo/libotr') diff --git a/repo/libotr/libotr.xibuild b/repo/libotr/libotr.xibuild new file mode 100644 index 0000000..57d7e91 --- /dev/null +++ b/repo/libotr/libotr.xibuild @@ -0,0 +1,34 @@ +#!/bin/sh + +NAME="libotr" +DESC="Off The Record Messaging, an encryption library for secure IM conversations" + +MAKEDEPS="libgcrypt" + +PKG_VER=4.1.1 +SOURCE="https://www.cypherpunks.ca/otr/libotr-$PKG_VER.tar.gz" + +ADDITIONAL=" +socklen-t.patch +" + +prepare() { + apply_patches +} + +build() { + ./configure \ + --prefix=/usr + make +} + +package() { + make DESTDIR="$PKG_DEST" install +} + +tools() { + pkgdesc="libotr tools" + mkdir -p "$PKG_DEST"/usr/ + mv "$PKG_DEST"/usr/bin "$PKG_DEST"/usr/ +} + diff --git a/repo/libotr/socklen-t.patch b/repo/libotr/socklen-t.patch new file mode 100644 index 0000000..6d543ad --- /dev/null +++ b/repo/libotr/socklen-t.patch @@ -0,0 +1,12 @@ +diff --git a/tests/regression/client/client.c b/tests/regression/client/client.c +index e72b661..e0b3453 100644 +--- a/tests/regression/client/client.c ++++ b/tests/regression/client/client.c +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + #include + #include + #include -- cgit v1.2.1