From owner-svn-ports-all@freebsd.org Fri Feb 17 06:49:44 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0FC13CE1F99; Fri, 17 Feb 2017 06:49:44 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DBE45194F; Fri, 17 Feb 2017 06:49:43 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1H6ngnD060863; Fri, 17 Feb 2017 06:49:42 GMT (envelope-from jkim@FreeBSD.org) Received: (from jkim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1H6ngBl060861; Fri, 17 Feb 2017 06:49:42 GMT (envelope-from jkim@FreeBSD.org) Message-Id: <201702170649.v1H6ngBl060861@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jkim set sender to jkim@FreeBSD.org using -f From: Jung-uk Kim Date: Fri, 17 Feb 2017 06:49:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r434271 - in branches/2017Q1/www/nspluginwrapper: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Feb 2017 06:49:44 -0000 Author: jkim Date: Fri Feb 17 06:49:42 2017 New Revision: 434271 URL: https://svnweb.freebsd.org/changeset/ports/434271 Log: MFH: r434240 Catch up with r428854 to fix automatic plugin discovery of Flash Player. Approved by: ports-secteam (junovitch) Modified: branches/2017Q1/www/nspluginwrapper/Makefile branches/2017Q1/www/nspluginwrapper/files/patch-src__npw-config.c Directory Properties: branches/2017Q1/ (props changed) Modified: branches/2017Q1/www/nspluginwrapper/Makefile ============================================================================== --- branches/2017Q1/www/nspluginwrapper/Makefile Fri Feb 17 06:18:55 2017 (r434270) +++ branches/2017Q1/www/nspluginwrapper/Makefile Fri Feb 17 06:49:42 2017 (r434271) @@ -3,7 +3,7 @@ PORTNAME= nspluginwrapper PORTVERSION= 1.4.4 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= www linux emulators MASTER_SITES= http://nspluginwrapper.org/download/ \ LOCAL/jkim \ @@ -35,24 +35,17 @@ USE_XORG= x11 xext xt CFLAGS+= -std=c99 CONFIGURE_ARGS= --enable-generic --enable-strip --prefix=${PREFIX} \ - --target-os=linux --target-cpu=i386 \ + --target-cpu=i386 --target-os=linux \ --with-cc=${CC} --with-cxx=${CXX} LIBDIR= ${PREFIX}/lib/${PORTNAME} LINUX_BINDIR= usr/lib/nspluginwrapper/i386/linux -PLIST_SUB= LIBDIR="${LIBDIR:C/^${PREFIX}\///}" HOST_ARCH="${HOST_ARCH}" +PLIST_SUB= HOST_ARCH="${ARCH:S/amd64/x86_64/}" \ + LIBDIR="${LIBDIR:C/^${PREFIX}\///}" SUB_FILES= npviewer -SUB_LIST+= NSPLUGINWRAPPER="${LIBDIR}" - -.include - -.if ${ARCH} == "amd64" -HOST_ARCH= x86_64 -.else -HOST_ARCH= ${ARCH} -.endif +SUB_LIST= NSPLUGINWRAPPER="${LIBDIR}" post-patch: ${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \ @@ -66,4 +59,4 @@ post-install: ${WRKDIR}/${LINUX_BINDIR}/*.so ${STAGEDIR}${LIBDIR}/i386/linux/ ${INSTALL_SCRIPT} ${WRKDIR}/npviewer ${STAGEDIR}${LIBDIR}/i386/linux/ -.include +.include Modified: branches/2017Q1/www/nspluginwrapper/files/patch-src__npw-config.c ============================================================================== --- branches/2017Q1/www/nspluginwrapper/files/patch-src__npw-config.c Fri Feb 17 06:18:55 2017 (r434270) +++ branches/2017Q1/www/nspluginwrapper/files/patch-src__npw-config.c Fri Feb 17 06:49:42 2017 (r434271) @@ -1,6 +1,6 @@ ---- ./src/npw-config.c.orig 2011-07-01 06:18:57.000000000 +0300 -+++ ./src/npw-config.c 2014-03-28 07:33:35.829791175 +0200 -@@ -133,8 +133,9 @@ +--- src/npw-config.c.orig 2011-07-01 03:18:57 UTC ++++ src/npw-config.c +@@ -133,8 +133,9 @@ static const char *get_system_mozilla_pl #if defined(__FreeBSD__) { static const char *freebsd_dirs[] = { @@ -12,7 +12,7 @@ }; dirs = freebsd_dirs; } -@@ -232,11 +233,14 @@ +@@ -232,11 +233,13 @@ static const char **get_mozilla_plugin_d "/usr/lib32/nsbrowser/plugins", // XXX how unfortunate "/usr/lib64/nsbrowser/plugins", #if defined(__FreeBSD__) @@ -24,8 +24,7 @@ + "%%LOCALBASE%%/lib/browser_plugins", + "%%LOCALBASE%%/lib/firefox/plugins", + "%%LOCALBASE%%/lib/seamonkey/plugins", -+ "%%LOCALBASE%%/lib/browser_plugins/linux-f10-flashplugin", -+ "%%LOCALBASE%%/lib/browser_plugins/linux-c6-flashplugin", ++ "%%LOCALBASE%%/lib/browser_plugins/linux-flashplayer", + "%%LOCALBASE%%/lib/browser_plugins/symlinks/linux-firefox", + "%%LOCALBASE%%/Adobe/Reader8/ENU/Adobe/Reader8/Browser/intellinux", + "%%LOCALBASE%%/Adobe/Reader9/ENU/Adobe/Reader9/Browser/intellinux",