Skip to content

Commit

Permalink
Add uacme-1.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
cnuke committed Jan 16, 2024
1 parent b02acdb commit 07625d4
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 0 deletions.
1 change: 1 addition & 0 deletions uacme/artifacts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uacme
4 changes: 4 additions & 0 deletions uacme/configure_args
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
--with-openssl
--without-gnutls
--without-mbedtls
--disable-docs
2 changes: 2 additions & 0 deletions uacme/goarc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
set license src/COPYING
set warn_strict 0
11 changes: 11 additions & 0 deletions uacme/import
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
LICENSE := GPLv3
VERSION := v1.7.4
DOWNLOADS := uacme.archive

BASE_URL := https://github.com/ndilieto/uacme/archive/refs/tags

URL(uacme) := $(BASE_URL)/$(VERSION).tar.gz
SHA(uacme) := 0fd3e35218d575321e70dc3489ec3463d015c56c138e99e5add32ab7e5a48d09
DIR(uacme) := src

PATCHES := patches/configure-libev.patch
31 changes: 31 additions & 0 deletions uacme/patches/configure-libev.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
For now use the included libev and force usage of select as kqueue is
not supported and poll currently a wrapper around select anyway.
--- src/configure.ac
+++ src/configure.ac
@@ -370,10 +370,11 @@
LIBS=
AC_SEARCH_LIBS([sem_init], [pthread], [],
AC_MSG_ERROR([sem_init not found]))
- AC_SEARCH_LIBS([ev_version_major], [ev], [],
- [AC_MSG_NOTICE([libev not found, using included copy])
- with_included_libev=yes
- m4_include([libev/libev.m4])])
+
+ AC_MSG_NOTICE([libev using included copy])
+ with_included_libev=yes
+ m4_include([libev/libev.m4])
+
UALPN_LDADD=$LIBS
LIBS=$LIBS_ORIG
fi
--- src/libev/libev.m4
+++ src/libev/libev.m4
@@ -5,7 +5,7 @@
AC_CHECK_HEADERS(sys/inotify.h sys/epoll.h sys/event.h port.h poll.h sys/timerfd.h)
AC_CHECK_HEADERS(sys/select.h sys/eventfd.h sys/signalfd.h linux/aio_abi.h linux/fs.h)

-AC_CHECK_FUNCS(inotify_init epoll_ctl kqueue port_create poll select eventfd signalfd)
+AC_CHECK_FUNCS(select)

AC_CHECK_FUNCS(clock_gettime, [], [
dnl on linux, try syscall wrapper first
4 changes: 4 additions & 0 deletions uacme/used_apis
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
cnuke/api/curl
cnuke/api/libc
cnuke/api/openssl
cnuke/api/posix
1 change: 1 addition & 0 deletions uacme/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v1.7.4-2024-01-15

0 comments on commit 07625d4

Please sign in to comment.