pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11 modular-xorg: Apply at most partial RELRO for modu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/96cf19d24451
branches:  trunk
changeset: 768854:96cf19d24451
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Nov 02 08:20:24 2021 +0000

description:
modular-xorg: Apply at most partial RELRO for modular drivers.

diffstat:

 x11/modular-xorg-server/Makefile.common |  6 +++---
 x11/xf86-input-acecad/Makefile          |  4 +++-
 x11/xf86-input-elographics/Makefile     |  4 +++-
 x11/xf86-input-fpit/Makefile            |  4 +++-
 x11/xf86-input-hyperpen/Makefile        |  4 +++-
 x11/xf86-input-joystick/Makefile        |  4 +++-
 x11/xf86-input-keyboard/Makefile        |  4 +++-
 x11/xf86-input-mouse/Makefile           |  4 +++-
 x11/xf86-input-mutouch/Makefile         |  4 +++-
 x11/xf86-input-penmount/Makefile        |  4 +++-
 x11/xf86-input-vmmouse/Makefile         |  4 +++-
 x11/xf86-input-void/Makefile            |  4 +++-
 x11/xf86-input-ws/Makefile              |  4 +++-
 x11/xf86-video-amdgpu/Makefile          |  4 +++-
 x11/xf86-video-apm/Makefile             |  4 +++-
 x11/xf86-video-ark/Makefile             |  4 +++-
 x11/xf86-video-ast/Makefile             |  4 +++-
 x11/xf86-video-ati/Makefile             |  4 +++-
 x11/xf86-video-ati6/Makefile            |  4 +++-
 x11/xf86-video-chips/Makefile           |  4 +++-
 x11/xf86-video-cirrus/Makefile          |  4 +++-
 x11/xf86-video-dummy/Makefile           |  4 +++-
 x11/xf86-video-fbdev/Makefile           |  4 +++-
 x11/xf86-video-glint/Makefile           |  4 +++-
 x11/xf86-video-i128/Makefile            |  4 +++-
 x11/xf86-video-i740/Makefile            |  4 +++-
 x11/xf86-video-intel/Makefile           |  4 +++-
 x11/xf86-video-mach64/Makefile          |  4 +++-
 x11/xf86-video-mga/Makefile             |  4 +++-
 x11/xf86-video-neomagic/Makefile        |  4 +++-
 x11/xf86-video-nouveau/Makefile         |  4 +++-
 x11/xf86-video-nv/Makefile              |  4 +++-
 x11/xf86-video-openchrome/Makefile      |  4 +++-
 x11/xf86-video-qxl/Makefile             |  4 +++-
 x11/xf86-video-r128/Makefile            |  4 +++-
 x11/xf86-video-rendition/Makefile       |  4 +++-
 x11/xf86-video-s3/Makefile              |  4 +++-
 x11/xf86-video-s3virge/Makefile         |  4 +++-
 x11/xf86-video-savage/Makefile          |  4 +++-
 x11/xf86-video-siliconmotion/Makefile   |  4 +++-
 x11/xf86-video-sis/Makefile             |  4 +++-
 x11/xf86-video-suncg14/Makefile         |  4 +++-
 x11/xf86-video-suncg3/Makefile          |  4 +++-
 x11/xf86-video-suncg6/Makefile          |  4 +++-
 x11/xf86-video-sunffb/Makefile          |  4 +++-
 x11/xf86-video-sunleo/Makefile          |  4 +++-
 x11/xf86-video-suntcx/Makefile          |  4 +++-
 x11/xf86-video-tdfx/Makefile            |  4 +++-
 x11/xf86-video-tga/Makefile             |  4 +++-
 x11/xf86-video-trident/Makefile         |  4 +++-
 x11/xf86-video-tseng/Makefile           |  4 +++-
 x11/xf86-video-vboxvideo/Makefile       |  4 +++-
 x11/xf86-video-vesa/Makefile            |  4 +++-
 x11/xf86-video-vmware/Makefile          |  4 +++-
 x11/xf86-video-voodoo/Makefile          |  4 +++-
 x11/xf86-video-wsfb/Makefile            |  4 +++-
 x11/xf86-video-xgi/Makefile             |  4 +++-
 57 files changed, 171 insertions(+), 59 deletions(-)

diffs (truncated from 1028 to 300 lines):

diff -r 62233edaf477 -r 96cf19d24451 x11/modular-xorg-server/Makefile.common
--- a/x11/modular-xorg-server/Makefile.common   Tue Nov 02 08:14:58 2021 +0000
+++ b/x11/modular-xorg-server/Makefile.common   Tue Nov 02 08:20:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.45 2021/10/04 17:30:37 nia Exp $
+# $NetBSD: Makefile.common,v 1.46 2021/11/02 08:20:31 nia Exp $
 # used by x11/modular-xorg-server/Makefile
 # used by x11/modular-xorg-xephyr/Makefile
 # used by x11/modular-xorg-xwayland/Makefile
@@ -18,8 +18,8 @@
 
 CHECK_PORTABILITY_SKIP+=       hw/xquartz/bundle/mk_bundke.sh
 
-# Needed to load modules.
-RELRO_SUPPORTED=       no
+# Needed to load certain modules.
+RELRO_SUPPORTED=       partial
 
 PKGCONFIG_OVERRIDE+=   xorg-server.pc.in
 SHLIBTOOL_OVERRIDE=    # empty
diff -r 62233edaf477 -r 96cf19d24451 x11/xf86-input-acecad/Makefile
--- a/x11/xf86-input-acecad/Makefile    Tue Nov 02 08:14:58 2021 +0000
+++ b/x11/xf86-input-acecad/Makefile    Tue Nov 02 08:20:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2020/01/18 23:36:01 rillig Exp $
+# $NetBSD: Makefile,v 1.11 2021/11/02 08:20:24 nia Exp $
 
 DISTNAME=      xf86-input-acecad-1.5.0
 PKGREVISION=   5
@@ -15,6 +15,8 @@
 USE_LIBTOOL=   yes
 USE_TOOLS+=    pkg-config
 
+RELRO_SUPPORTED=       partial
+
 CONFIGURE_ENV.SunOS+=  DRIVER_MAN_SUFFIX=4
 
 .include "../../devel/xorg-util-macros/buildlink3.mk"
diff -r 62233edaf477 -r 96cf19d24451 x11/xf86-input-elographics/Makefile
--- a/x11/xf86-input-elographics/Makefile       Tue Nov 02 08:14:58 2021 +0000
+++ b/x11/xf86-input-elographics/Makefile       Tue Nov 02 08:20:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2020/01/18 23:36:01 rillig Exp $
+# $NetBSD: Makefile,v 1.8 2021/11/02 08:20:24 nia Exp $
 
 DISTNAME=      xf86-input-elographics-1.4.2
 CATEGORIES=    x11
@@ -13,6 +13,8 @@
 USE_LIBTOOL=   yes
 USE_TOOLS+=    pkg-config
 
+RELRO_SUPPORTED=       partial
+
 CONFIGURE_ENV.SunOS+=  DRIVER_MAN_SUFFIX=4
 
 .include "../../x11/xorgproto/buildlink3.mk"
diff -r 62233edaf477 -r 96cf19d24451 x11/xf86-input-fpit/Makefile
--- a/x11/xf86-input-fpit/Makefile      Tue Nov 02 08:14:58 2021 +0000
+++ b/x11/xf86-input-fpit/Makefile      Tue Nov 02 08:20:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2020/01/18 23:36:01 rillig Exp $
+# $NetBSD: Makefile,v 1.7 2021/11/02 08:20:24 nia Exp $
 
 DISTNAME=      xf86-input-fpit-1.4.0
 PKGREVISION=   2
@@ -15,6 +15,8 @@
 USE_LIBTOOL=   yes
 USE_TOOLS+=    pkg-config
 
+RELRO_SUPPORTED=       partial
+
 CONFIGURE_ENV.SunOS+=  DRIVER_MAN_SUFFIX=4
 
 .include "../../devel/xorg-util-macros/buildlink3.mk"
diff -r 62233edaf477 -r 96cf19d24451 x11/xf86-input-hyperpen/Makefile
--- a/x11/xf86-input-hyperpen/Makefile  Tue Nov 02 08:14:58 2021 +0000
+++ b/x11/xf86-input-hyperpen/Makefile  Tue Nov 02 08:20:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2020/01/18 23:36:01 rillig Exp $
+# $NetBSD: Makefile,v 1.8 2021/11/02 08:20:24 nia Exp $
 
 DISTNAME=      xf86-input-hyperpen-1.4.1
 PKGREVISION=   2
@@ -16,6 +16,8 @@
 USE_TOOLS+=    pkg-config
 USE_LANGUAGES+=        c99
 
+RELRO_SUPPORTED=       partial
+
 CONFIGURE_ENV.SunOS+=  DRIVER_MAN_SUFFIX=4
 
 .include "../../x11/xorgproto/buildlink3.mk"
diff -r 62233edaf477 -r 96cf19d24451 x11/xf86-input-joystick/Makefile
--- a/x11/xf86-input-joystick/Makefile  Tue Nov 02 08:14:58 2021 +0000
+++ b/x11/xf86-input-joystick/Makefile  Tue Nov 02 08:20:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2020/01/18 23:36:01 rillig Exp $
+# $NetBSD: Makefile,v 1.11 2021/11/02 08:20:24 nia Exp $
 
 DISTNAME=      xf86-input-joystick-1.6.3
 PKGREVISION=   2
@@ -15,6 +15,8 @@
 USE_LIBTOOL=   yes
 USE_TOOLS+=    pkg-config
 
+RELRO_SUPPORTED=       partial
+
 PKGCONFIG_OVERRIDE+=   xorg-joystick.pc.in
 
 CONFIGURE_ENV.SunOS+=  DRIVER_MAN_SUFFIX=4
diff -r 62233edaf477 -r 96cf19d24451 x11/xf86-input-keyboard/Makefile
--- a/x11/xf86-input-keyboard/Makefile  Tue Nov 02 08:14:58 2021 +0000
+++ b/x11/xf86-input-keyboard/Makefile  Tue Nov 02 08:20:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2020/09/19 13:52:14 taca Exp $
+# $NetBSD: Makefile,v 1.29 2021/11/02 08:20:24 nia Exp $
 
 DISTNAME=      xf86-input-keyboard-1.9.0
 PKGREVISION=   3
@@ -15,6 +15,8 @@
 GNU_CONFIGURE= YES
 USE_TOOLS+=    gmake pkg-config
 
+RELRO_SUPPORTED=       partial
+
 CONFIGURE_ENV.SunOS+=  DRIVER_MAN_SUFFIX=4
 
 .include "../../x11/libxkbfile/buildlink3.mk"
diff -r 62233edaf477 -r 96cf19d24451 x11/xf86-input-mouse/Makefile
--- a/x11/xf86-input-mouse/Makefile     Tue Nov 02 08:14:58 2021 +0000
+++ b/x11/xf86-input-mouse/Makefile     Tue Nov 02 08:20:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2020/01/18 23:36:01 rillig Exp $
+# $NetBSD: Makefile,v 1.32 2021/11/02 08:20:24 nia Exp $
 
 DISTNAME=      xf86-input-mouse-1.9.3
 CATEGORIES=    x11
@@ -14,6 +14,8 @@
 GNU_CONFIGURE= YES
 USE_TOOLS+=    pkg-config
 
+RELRO_SUPPORTED=       partial
+
 CONFIGURE_ENV.SunOS+=  DRIVER_MAN_SUFFIX=4
 
 .include "../../x11/xorgproto/buildlink3.mk"
diff -r 62233edaf477 -r 96cf19d24451 x11/xf86-input-mutouch/Makefile
--- a/x11/xf86-input-mutouch/Makefile   Tue Nov 02 08:14:58 2021 +0000
+++ b/x11/xf86-input-mutouch/Makefile   Tue Nov 02 08:20:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2020/01/18 23:36:01 rillig Exp $
+# $NetBSD: Makefile,v 1.8 2021/11/02 08:20:24 nia Exp $
 
 DISTNAME=      xf86-input-mutouch-1.3.0
 PKGREVISION=   2
@@ -15,6 +15,8 @@
 USE_LIBTOOL=   yes
 USE_TOOLS+=    pkg-config
 
+RELRO_SUPPORTED=       partial
+
 CONFIGURE_ENV.SunOS+=  DRIVER_MAN_SUFFIX=4
 
 .include "../../x11/xorgproto/buildlink3.mk"
diff -r 62233edaf477 -r 96cf19d24451 x11/xf86-input-penmount/Makefile
--- a/x11/xf86-input-penmount/Makefile  Tue Nov 02 08:14:58 2021 +0000
+++ b/x11/xf86-input-penmount/Makefile  Tue Nov 02 08:20:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2020/01/18 23:36:02 rillig Exp $
+# $NetBSD: Makefile,v 1.11 2021/11/02 08:20:25 nia Exp $
 
 DISTNAME=      xf86-input-penmount-1.5.0
 PKGREVISION=   5
@@ -15,6 +15,8 @@
 USE_LIBTOOL=   yes
 USE_TOOLS+=    pkg-config
 
+RELRO_SUPPORTED=       partial
+
 CONFIGURE_ENV.SunOS+=  DRIVER_MAN_SUFFIX=4
 
 .include "../../x11/xorgproto/buildlink3.mk"
diff -r 62233edaf477 -r 96cf19d24451 x11/xf86-input-vmmouse/Makefile
--- a/x11/xf86-input-vmmouse/Makefile   Tue Nov 02 08:14:58 2021 +0000
+++ b/x11/xf86-input-vmmouse/Makefile   Tue Nov 02 08:20:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2020/06/28 13:52:19 nia Exp $
+# $NetBSD: Makefile,v 1.26 2021/11/02 08:20:25 nia Exp $
 
 DISTNAME=      xf86-input-vmmouse-13.1.0
 PKGREVISION=   2
@@ -15,6 +15,8 @@
 GNU_CONFIGURE= YES
 USE_TOOLS+=    gmake pkg-config
 
+RELRO_SUPPORTED=       partial
+
 # #error The vmmouse protocol is only supported on x86 architectures.
 ONLY_FOR_PLATFORM+=    *-*-i386 *-*-x86_64
 
diff -r 62233edaf477 -r 96cf19d24451 x11/xf86-input-void/Makefile
--- a/x11/xf86-input-void/Makefile      Tue Nov 02 08:14:58 2021 +0000
+++ b/x11/xf86-input-void/Makefile      Tue Nov 02 08:20:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2020/01/18 23:36:02 rillig Exp $
+# $NetBSD: Makefile,v 1.19 2021/11/02 08:20:25 nia Exp $
 
 DISTNAME=      xf86-input-void-1.4.1
 PKGREVISION=   2
@@ -14,6 +14,8 @@
 GNU_CONFIGURE= YES
 USE_TOOLS+=    pkg-config
 
+RELRO_SUPPORTED=       partial
+
 CONFIGURE_ENV.SunOS+=  DRIVER_MAN_SUFFIX=4
 
 .include "../../x11/modular-xorg-server/buildlink3.mk"
diff -r 62233edaf477 -r 96cf19d24451 x11/xf86-input-ws/Makefile
--- a/x11/xf86-input-ws/Makefile        Tue Nov 02 08:14:58 2021 +0000
+++ b/x11/xf86-input-ws/Makefile        Tue Nov 02 08:20:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2020/01/26 17:32:27 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2021/11/02 08:20:25 nia Exp $
 
 DISTNAME=      xf86-input-ws-1.3.0.20151010
 PKGREVISION=   2
@@ -15,6 +15,8 @@
 USE_LIBTOOL=   yes
 USE_TOOLS+=    pkg-config
 
+RELRO_SUPPORTED=       partial
+
 .include "../../x11/modular-xorg-server/buildlink3.mk"
 .include "../../x11/xorgproto/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 62233edaf477 -r 96cf19d24451 x11/xf86-video-amdgpu/Makefile
--- a/x11/xf86-video-amdgpu/Makefile    Tue Nov 02 08:14:58 2021 +0000
+++ b/x11/xf86-video-amdgpu/Makefile    Tue Nov 02 08:20:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2020/01/18 23:36:02 rillig Exp $
+# $NetBSD: Makefile,v 1.20 2021/11/02 08:20:25 nia Exp $
 
 DISTNAME=      xf86-video-amdgpu-19.1.0
 CATEGORIES=    x11
@@ -14,6 +14,8 @@
 GNU_CONFIGURE= yes
 USE_TOOLS+=    gmake pkg-config
 
+RELRO_SUPPORTED=       partial
+
 CONFIGURE_ENV.SunOS+=  DRIVER_MAN_SUFFIX=4
 
 .include "../../x11/libdrm/buildlink3.mk"
diff -r 62233edaf477 -r 96cf19d24451 x11/xf86-video-apm/Makefile
--- a/x11/xf86-video-apm/Makefile       Tue Nov 02 08:14:58 2021 +0000
+++ b/x11/xf86-video-apm/Makefile       Tue Nov 02 08:20:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2020/01/18 23:36:02 rillig Exp $
+# $NetBSD: Makefile,v 1.22 2021/11/02 08:20:25 nia Exp $
 
 DISTNAME=      xf86-video-apm-1.3.0
 CATEGORIES=    x11
@@ -13,6 +13,8 @@
 GNU_CONFIGURE= yes
 USE_TOOLS+=    pkg-config
 
+RELRO_SUPPORTED=       partial
+
 CONFIGURE_ENV.SunOS+=  DRIVER_MAN_SUFFIX=4
 
 .include "../../x11/modular-xorg-server/buildlink3.mk"
diff -r 62233edaf477 -r 96cf19d24451 x11/xf86-video-ark/Makefile
--- a/x11/xf86-video-ark/Makefile       Tue Nov 02 08:14:58 2021 +0000
+++ b/x11/xf86-video-ark/Makefile       Tue Nov 02 08:20:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2020/01/18 23:36:02 rillig Exp $
+# $NetBSD: Makefile,v 1.20 2021/11/02 08:20:25 nia Exp $
 
 DISTNAME=      xf86-video-ark-0.7.5
 PKGREVISION=   5
@@ -14,6 +14,8 @@
 GNU_CONFIGURE= yes
 USE_TOOLS+=    pkg-config
 
+RELRO_SUPPORTED=       partial
+
 CONFIGURE_ENV.SunOS+=  DRIVER_MAN_SUFFIX=4
 
 .include "../../x11/modular-xorg-server/buildlink3.mk"
diff -r 62233edaf477 -r 96cf19d24451 x11/xf86-video-ast/Makefile
--- a/x11/xf86-video-ast/Makefile       Tue Nov 02 08:14:58 2021 +0000
+++ b/x11/xf86-video-ast/Makefile       Tue Nov 02 08:20:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2020/01/18 23:36:02 rillig Exp $
+# $NetBSD: Makefile,v 1.23 2021/11/02 08:20:25 nia Exp $
 
 DISTNAME=      xf86-video-ast-1.1.5
 PKGREVISION=   1
@@ -14,6 +14,8 @@



Home | Main Index | Thread Index | Old Index