diff --git a/devel/libsearpc/Makefile b/devel/libsearpc/Makefile index bd731111febc..5d588d73897b 100644 --- a/devel/libsearpc/Makefile +++ b/devel/libsearpc/Makefile @@ -1,27 +1,30 @@ PORTNAME= libsearpc -PORTVERSION= 3.3.0 -PORTEPOCH= 1 +PORTVERSION= 3.3.20260612 +PORTEPOCH= 2 CATEGORIES= devel MAINTAINER= d.stoye@cms.hu-berlin.de COMMENT= Simple RPC framework based on GObject System in C WWW= https://github.com/haiwen/libsearpc LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libjansson.so:devel/jansson \ libgobject-2.0.so:devel/glib20 USE_GITHUB= yes GH_ACCOUNT= haiwen -GH_TAGNAME= 54145b0 +GH_TAGNAME= 23d5df6 USES= autoreconf gettext libtool pathfix pkgconfig python shebangfix SHEBANG_FILES= lib/searpc-codegen.py USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip +post-patch: + @${REINPLACE_CMD} -e 's#%%PORTVERSION%%#${PORTVERSION}#' ${WRKSRC}/configure.ac + .include diff --git a/devel/libsearpc/distinfo b/devel/libsearpc/distinfo index e279ad4f3240..58b9e38a7f06 100644 --- a/devel/libsearpc/distinfo +++ b/devel/libsearpc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1783761601 -SHA256 (haiwen-libsearpc-3.3.0-54145b0_GH0.tar.gz) = a768e498e6b3c9b89b62fad297fbe7638349176be609a3f7027af00a62c29408 -SIZE (haiwen-libsearpc-3.3.0-54145b0_GH0.tar.gz) = 54015 +TIMESTAMP = 1784133865 +SHA256 (haiwen-libsearpc-3.3.20260612-23d5df6_GH0.tar.gz) = ea9e89b78361dc75d85400300fc631c470b5d7e35855c38a3e4da55fc7c8428a +SIZE (haiwen-libsearpc-3.3.20260612-23d5df6_GH0.tar.gz) = 56006 diff --git a/devel/libsearpc/files/patch-Makefile.am b/devel/libsearpc/files/patch-Makefile.am deleted file mode 100644 index adc166d8943b..000000000000 --- a/devel/libsearpc/files/patch-Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.am.orig 2020-02-08 21:24:39 UTC -+++ Makefile.am -@@ -23,7 +23,7 @@ if MACOS - sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles) - else - if FBSD -- sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles) -+ ${SED} -i '' -e "s|(DESTDIR)||g" $(pcfiles) - else - ${SED} -i "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles) - endif diff --git a/devel/libsearpc/files/patch-configure.ac b/devel/libsearpc/files/patch-configure.ac new file mode 100644 index 000000000000..44f20693bb9b --- /dev/null +++ b/devel/libsearpc/files/patch-configure.ac @@ -0,0 +1,11 @@ +--- configure.ac.orig 2026-07-15 16:47:17 UTC ++++ configure.ac +@@ -2,7 +2,7 @@ AC_PREREQ([2.61]) + # Process this file with autoconf to produce a configure script. + + AC_PREREQ([2.61]) +-AC_INIT([libsearpc], [3.1.0], [info@seafile.com]) ++AC_INIT([libsearpc], [%%PORTVERSION%%], [info@seafile.com]) + AC_CONFIG_SRCDIR([lib/searpc-server.c]) + AC_CONFIG_HEADERS([config.h]) + AC_CONFIG_MACRO_DIR([m4])