Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: 2020-01-25-netbsd-raspi-earmv6hf.img (Re: Raspberry Pi update please.)
Hi,
Jun Ebihara <jun%soum.co.jp@localhost> writes:
(snip)
> security.pax.mprotect.enabled
> http://netbsd.org/gallery/presentations/msaitoh/2016_BSDCan/BSDCan2016-NetBSD.pdf
> man security
> man paxctl
> sysctl -a |grep pax
> If application failed, such as omxplayer.
> try to test
> sysctl -w security.pax.mprotect.enabled=0
(snip)
Could you test attached patch for pkgsrc/multimedia/omxplayer?
This disables PaX mprotect for bin/omxplayer.bin only
in pkgsrc framework.
Thank you.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/omxplayer/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- Makefile 12 Jan 2020 20:20:36 -0000 1.25
+++ Makefile 22 Jan 2020 14:14:27 -0000
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.25 2020/01/12 20:20:36 ryoon Exp $
DISTNAME= omxplayer-20170112
-PKGREVISION= 13
+PKGREVISION= 14
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_GITHUB:=popcornmix/}
GITHUB_PROJECT= omxplayer
@@ -25,6 +25,8 @@
CFLAGS+= -DPREFIX=\"${PREFIX}\"
CFLAGS+= -Dfopen64=fopen -Dfseeko64=fseeko -Dftello64=ftello
+NOT_PAX_MPROTECT_SAFE+= bin/omxplayer.bin
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/omxplayer.bin ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/omxplayer ${DESTDIR}${PREFIX}/bin
--
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Home |
Main Index |
Thread Index |
Old Index