pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/libXdmcp libXdmcp: update to 1.1.4.
details: https://anonhg.NetBSD.org/pkgsrc/rev/807257bb48f5
branches: trunk
changeset: 388407:807257bb48f5
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Nov 19 08:10:45 2022 +0000
description:
libXdmcp: update to 1.1.4.
Alan Coopersmith (11):
Update configure.ac bug URL for gitlab migration
gitlab CI: add a basic build test
Fix build on Solaris 11.3.0 - 11.3.8
Build xz tarballs instead of bzip2
Fix spelling/wording issues
gitlab CI: enable doc builds in basic build test
Use memcpy() instead of memmove() when buffers are known not to overlap
arc4random_buf: Only declare ret if HAVE_GETENTROPY is defined
XdmcpDisposeARRAYofARRAY8: Reduce scope of i
Only link with libbsd if needed for arc4random_buf()
libXdmcp 1.1.4
Guillem Jover (1):
Switch from libbsd to libbsd-overlay
diffstat:
x11/libXdmcp/Makefile | 6 +++---
x11/libXdmcp/builtin.mk | 10 +++++-----
x11/libXdmcp/distinfo | 11 ++++-------
x11/libXdmcp/patches/patch-Key.c | 20 --------------------
x11/libXdmcp/patches/patch-config.h.in | 18 ------------------
x11/libXdmcp/patches/patch-configure | 20 --------------------
6 files changed, 12 insertions(+), 73 deletions(-)
diffs (138 lines):
diff -r bfc2fa408379 -r 807257bb48f5 x11/libXdmcp/Makefile
--- a/x11/libXdmcp/Makefile Sat Nov 19 02:42:20 2022 +0000
+++ b/x11/libXdmcp/Makefile Sat Nov 19 08:10:45 2022 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.14 2022/11/09 13:14:21 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2022/11/19 08:10:45 wiz Exp $
-DISTNAME= libXdmcp-1.1.3
+DISTNAME= libXdmcp-1.1.4
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XORG:=lib/}
-EXTRACT_SUFX= .tar.bz2
+EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://xorg.freedesktop.org/
diff -r bfc2fa408379 -r 807257bb48f5 x11/libXdmcp/builtin.mk
--- a/x11/libXdmcp/builtin.mk Sat Nov 19 02:42:20 2022 +0000
+++ b/x11/libXdmcp/builtin.mk Sat Nov 19 08:10:45 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.7 2019/11/03 09:14:11 rillig Exp $
+# $NetBSD: builtin.mk,v 1.8 2022/11/19 08:10:45 wiz Exp $
BUILTIN_PKG:= libXdmcp
@@ -31,10 +31,10 @@
. else
USE_BUILTIN.libXdmcp= ${IS_BUILTIN.libXdmcp}
. if defined(BUILTIN_PKG.libXdmcp) && \
- !empty(IS_BUILTIN.libXdmcp:M[yY][eE][sS])
+ ${IS_BUILTIN.libXdmcp:M[yY][eE][sS]}
USE_BUILTIN.libXdmcp= yes
. for _dep_ in ${BUILDLINK_API_DEPENDS.libXdmcp}
-. if !empty(USE_BUILTIN.libXdmcp:M[yY][eE][sS])
+. if ${USE_BUILTIN.libXdmcp:M[yY][eE][sS]}
USE_BUILTIN.libXdmcp!= \
if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.libXdmcp:Q}; then \
${ECHO} yes; \
@@ -51,11 +51,11 @@
.include "../../mk/x11.builtin.mk"
CHECK_BUILTIN.libXdmcp?= no
-.if !empty(CHECK_BUILTIN.libXdmcp:M[nN][oO])
+.if ${CHECK_BUILTIN.libXdmcp:M[nN][oO]}
# If we are using the builtin version, check whether it has a xdmcp.pc
# file or not. If the latter, generate a fake one.
-. if !empty(USE_BUILTIN.libXdmcp:M[Yy][Ee][Ss])
+. if ${USE_BUILTIN.libXdmcp:M[Yy][Ee][Ss]}
BUILDLINK_TARGETS+= xdmcp-fake-pc
xdmcp-fake-pc:
diff -r bfc2fa408379 -r 807257bb48f5 x11/libXdmcp/distinfo
--- a/x11/libXdmcp/distinfo Sat Nov 19 02:42:20 2022 +0000
+++ b/x11/libXdmcp/distinfo Sat Nov 19 08:10:45 2022 +0000
@@ -1,8 +1,5 @@
-$NetBSD: distinfo,v 1.14 2022/03/17 01:05:48 gutteridge Exp $
+$NetBSD: distinfo,v 1.15 2022/11/19 08:10:45 wiz Exp $
-BLAKE2s (libXdmcp-1.1.3.tar.bz2) = a830d9b0484d17db15080be824ba9f9819ea08c56fe07670c2bd2e17fafc2386
-SHA512 (libXdmcp-1.1.3.tar.bz2) = cb1d4650f97d66e73acd2465ec7d757b9b797cce2f85e301860a44997a461837eea845ec9bd5b639ec5ca34c804f8bdd870697a5ce3f4e270b687c9ef74f25ec
-Size (libXdmcp-1.1.3.tar.bz2) = 332795 bytes
-SHA1 (patch-Key.c) = 4080e63823818b464718fc7c09a7c53ba350aa48
-SHA1 (patch-config.h.in) = 0470c2eaa4e431027e1507c5b01367ca2267b0ec
-SHA1 (patch-configure) = 803ae824fcc3e281dde6fc1b3b5b65975ca0b051
+BLAKE2s (libXdmcp-1.1.4.tar.xz) = de650b9b48b5f3909ce6734a054493b1cdff7d667e4ced5383d216533101f528
+SHA512 (libXdmcp-1.1.4.tar.xz) = 83b384d43bfb034c395f83f97d1c6e73aa3d5faa8f8756b08e697c0b9c3c87189651b51e8213fbd1f5f9cbc2d8136cbf143627481744345d78cfe0ff2ad074a9
+Size (libXdmcp-1.1.4.tar.xz) = 295184 bytes
diff -r bfc2fa408379 -r 807257bb48f5 x11/libXdmcp/patches/patch-Key.c
--- a/x11/libXdmcp/patches/patch-Key.c Sat Nov 19 02:42:20 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-$NetBSD: patch-Key.c,v 1.4 2022/03/17 01:05:48 gutteridge Exp $
-
-Fix builds where getentropy() exists but arc4random_buf() does not, as
-the case with Solaris 11.3, reported in PR pkg/54628.
-https://gitlab.freedesktop.org/xorg/lib/libxdmcp/-/commit/4a71fdf6d34df67d3f1335590da6ae3050128fb2
-
---- Key.c.orig 2019-03-16 16:21:22.000000000 +0000
-+++ Key.c
-@@ -64,6 +64,11 @@ getbits (long data, unsigned char *dst)
-
- #ifndef HAVE_ARC4RANDOM_BUF
-
-+/* Solaris 11.3.0 - 11.4.15 only define getentropy() in <sys/random.h> */
-+#if HAVE_GETENTROPY && HAVE_SYS_RANDOM_H
-+# include <sys/random.h>
-+#endif
-+
- static void
- insecure_getrandom_buf (unsigned char *auth, int len)
- {
diff -r bfc2fa408379 -r 807257bb48f5 x11/libXdmcp/patches/patch-config.h.in
--- a/x11/libXdmcp/patches/patch-config.h.in Sat Nov 19 02:42:20 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-$NetBSD: patch-config.h.in,v 1.1 2022/03/17 01:05:48 gutteridge Exp $
-
-Fix builds where getentropy() exists but arc4random_buf() does not, as
-the case with Solaris 11.3, reported in PR pkg/54628.
-https://gitlab.freedesktop.org/xorg/lib/libxdmcp/-/commit/4a71fdf6d34df67d3f1335590da6ae3050128fb2
-
---- config.h.in.orig 2019-03-16 16:21:32.000000000 +0000
-+++ config.h.in
-@@ -42,6 +42,9 @@
- /* Define to 1 if you have the <string.h> header file. */
- #undef HAVE_STRING_H
-
-+/* Define to 1 if you have the <sys/random.h> header file. */
-+#undef HAVE_SYS_RANDOM_H
-+
- /* Define to 1 if you have the <sys/stat.h> header file. */
- #undef HAVE_SYS_STAT_H
-
diff -r bfc2fa408379 -r 807257bb48f5 x11/libXdmcp/patches/patch-configure
--- a/x11/libXdmcp/patches/patch-configure Sat Nov 19 02:42:20 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-$NetBSD: patch-configure,v 1.1 2022/03/17 01:05:48 gutteridge Exp $
-
-Fix builds where getentropy() exists but arc4random_buf() does not, as
-the case with Solaris 11.3, reported in PR pkg/54628.
-https://gitlab.freedesktop.org/xorg/lib/libxdmcp/-/commit/4a71fdf6d34df67d3f1335590da6ae3050128fb2
-
---- configure.orig 2019-03-16 16:21:31.000000000 +0000
-+++ configure
-@@ -19342,6 +19342,11 @@ else
- $as_echo "no, using $LN_S" >&6; }
- fi
-
-+# Checks for header files.
-+ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
-+if test "x$ac_cv_header_sys_random_h" = xyes; then :
-+ printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
-+fi
-
- # Checks for libraries.
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing recvfrom" >&5
Home |
Main Index |
Thread Index |
Old Index