aboutsummaryrefslogtreecommitdiff
path: root/misc/mbuffer
diff options
context:
space:
mode:
Diffstat (limited to 'misc/mbuffer')
-rw-r--r--misc/mbuffer/Makefile12
-rw-r--r--misc/mbuffer/distinfo6
-rw-r--r--misc/mbuffer/files/patch-configure.in16
3 files changed, 24 insertions, 10 deletions
diff --git a/misc/mbuffer/Makefile b/misc/mbuffer/Makefile
index 6eee2ea62c8b..05f3ef961995 100644
--- a/misc/mbuffer/Makefile
+++ b/misc/mbuffer/Makefile
@@ -1,7 +1,7 @@
PORTNAME= mbuffer
-PORTVERSION= 20250429
+DISTVERSION= 20250809
CATEGORIES= misc
-MASTER_SITES= http://www.maier-komor.de/software/mbuffer/
+MASTER_SITES= https://www.maier-komor.de/software/mbuffer/
MAINTAINER= loader@FreeBSD.org
COMMENT= Tool for buffering data streams
@@ -12,10 +12,9 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= gtar:archivers/gtar
-USES= localbase ssl tar:tgz autoreconf gmake
+USES= autoreconf gmake localbase ssl tar:tgz
GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
# for --ignore-failed-read
TEST_ARGS= TAR=gtar
@@ -33,8 +32,9 @@ MHASH_RUN_DEPENDS= mhash>=0.9.9.9_5:security/mhash
RHASH_RUN_DEPENDS= rhash>=1.3.5:security/rhash
post-patch:
- ${REINPLACE_CMD} \
- -e 's@bash@sh@' ${WRKSRC}/Makefile.in
+ ${REINPLACE_CMD} -e 's@bash@sh@' \
+ ${WRKSRC}/Makefile.in \
+ ${WRKSRC}/mkversion.sh
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mbuffer
diff --git a/misc/mbuffer/distinfo b/misc/mbuffer/distinfo
index 38da49453f6a..4680263d8726 100644
--- a/misc/mbuffer/distinfo
+++ b/misc/mbuffer/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1748498592
-SHA256 (mbuffer-20250429.tgz) = a853ef720d5fc3ef47c1788f9657477b76d70ab0c9b8a7d96e995e31e3536bbf
-SIZE (mbuffer-20250429.tgz) = 152402
+TIMESTAMP = 1759142518
+SHA256 (mbuffer-20250809.tgz) = 9865dae42452437a19ae448467810a03aa46d4f25e29995eb6d6d4f39c67cd1e
+SIZE (mbuffer-20250809.tgz) = 152664
diff --git a/misc/mbuffer/files/patch-configure.in b/misc/mbuffer/files/patch-configure.in
index 9f8ba6fff9ee..ce9668ed526c 100644
--- a/misc/mbuffer/files/patch-configure.in
+++ b/misc/mbuffer/files/patch-configure.in
@@ -13,7 +13,12 @@
Remove md5 and only searches for md here to avoid linking with lib/libmd5.*
installed by www/libwww.
---- configure.in.orig 2023-02-27 19:18:52 UTC
+- CFLAGS="-O0" was introduced since mbuffer-20250429, this overrides the PIE_CFLAGS
+ if the port is built with WITH_PIE, while LDFLAGS=-pie is passed to the compiler,
+ and it results in this error message:
+ ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC
+
+--- configure.in.orig 2025-04-29 23:11:07 UTC
+++ configure.in
@@ -104,7 +104,7 @@ AC_PROG_INSTALL
AC_SUBST(CFLAGS)
@@ -42,3 +47,12 @@
AC_CHECK_HEADER(md5.h,AC_DEFINE([HAVE_MD5_H],[1],[found md5.h]),)
AC_SEARCH_LIBS(MD5_Init,crypto,AC_DEFINE([HAVE_LIBCRYPTO], [1], [Define to 1 if you have the OpenSSL crypto library]),)
fi
+@@ -156,7 +156,7 @@ else
+ AC_MSG_WARN([unable to find objdump, which is needed to run tests])
+ else
+ cflags_tmp="${CFLAGS}"
+- CFLAGS="-O0"
++ CFLAGS="${CFLAGS} -O0"
+ AC_MSG_CHECKING([linking open() and write() to detect libc names])
+ AC_LINK_IFELSE([
+ AC_LANG_SOURCE([[