summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Ramsay <lack@gentoo.org>2008-09-09 03:43:11 +0000
committerJim Ramsay <lack@gentoo.org>2008-09-09 03:43:11 +0000
commit038f56c1ee2ce5894a03334791da16ec31a98499 (patch)
tree8da312e21d2c1671642fe36c3f88836e41c8adb1 /net-www/netscape-flash
parentVersion bump per bugs 235067 and 235307 to fix Xinerama issues with only blan... (diff)
downloadgentoo-2-038f56c1ee2ce5894a03334791da16ec31a98499.tar.gz
gentoo-2-038f56c1ee2ce5894a03334791da16ec31a98499.tar.bz2
gentoo-2-038f56c1ee2ce5894a03334791da16ec31a98499.zip
Added magic 'mms.cfg' file for system-wide security configuration. Also, this file allows 'Windowless' mode to be disabled, which makes things much more stable pre-firefox-3.02
(Portage version: 2.2_rc8/cvs/Linux 2.6.23-gentoo-r5 i686)
Diffstat (limited to 'net-www/netscape-flash')
-rw-r--r--net-www/netscape-flash/ChangeLog8
-rw-r--r--net-www/netscape-flash/files/mms.cfg117
-rw-r--r--net-www/netscape-flash/netscape-flash-10_beta20080811.ebuild10
3 files changed, 133 insertions, 2 deletions
diff --git a/net-www/netscape-flash/ChangeLog b/net-www/netscape-flash/ChangeLog
index dc89789aec7b..86cc7efdff56 100644
--- a/net-www/netscape-flash/ChangeLog
+++ b/net-www/netscape-flash/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-www/netscape-flash
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/netscape-flash/ChangeLog,v 1.71 2008/08/25 19:12:16 lack Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/netscape-flash/ChangeLog,v 1.72 2008/09/09 03:43:10 lack Exp $
+
+ 09 Sep 2008; Jim Ramsay <lack@gentoo.org> +files/mms.cfg,
+ netscape-flash-10_beta20080811.ebuild:
+ Added magic 'mms.cfg' file for system-wide security configuration. Also,
+ this file allows 'Windowless' mode to be disabled, which makes things much
+ more stable pre-firefox-3.02
25 Aug 2008; Jim Ramsay <lack@gentoo.org>
netscape-flash-10_beta20080811.ebuild:
diff --git a/net-www/netscape-flash/files/mms.cfg b/net-www/netscape-flash/files/mms.cfg
new file mode 100644
index 000000000000..463c0d2e76ea
--- /dev/null
+++ b/net-www/netscape-flash/files/mms.cfg
@@ -0,0 +1,117 @@
+#
+# mmc.cfg: Adobe Flash privacy and security settings
+#
+# For more details on the meaning of most of these options, please visit:
+# http://www.adobe.com/devnet/flashplayer/articles/flash_player_admin_guide.html
+#
+
+# Lets you prevent users from designating any files on the local file system as
+# trusted
+# 0 = Not Allowed, 1 = Allowed (default)
+#AllowUserLocalTrust = 1
+
+# Lets you specify a hard limit on the amount of local storage that Flash Player
+# uses for the storage of common Flash components
+# Size in megabytes (default is 20), 0 = Component storage disabled
+#AssetCacheSize = 20
+
+# Lets you prevent Flash Player from automatically checkingfor and installing
+# updated versions
+# 0 = Not Disabled (default), 1 = Disabled
+#AutoUpdateDisable = 0
+
+# Lets you specify how often to check for an updated version of Flash Player
+# Number of days, 0 = Every startup
+# There is no default value, which falls back to the user's setting (30 days by
+# default)
+#AutoUpdateInterval =
+
+# Lets you prevent SWF files from accessing webcams or microphones
+# 0 = Not Disabled (default), 1 = Disabled
+#AVHardwareDisable = 0
+
+# Lets you prevent information on installed fonts from being displayed
+# 0 = Not Disabled (default), 1 = Disabled
+#DisableDeviceFontEnumeration = 0
+
+# Lets you prevent networking or file system access if any kind
+# Set to the executable filename, default is empty
+#DisableNetworkAndFilesystemInHostApp =
+
+# Lets you prevent native code applications that are digitally signed and
+# delivered by Adobe from being downloaded
+# 0 = Not Disabled (default), 1 = Disabled
+#DisableProductDownload = 0
+
+# Lets you enable or disable the use of the Socket.connect() and
+# XMLSocket.connect() methods
+# 0 = Not Disabled (default), 1 = Disabled
+#DisableSockets = 0
+
+# Lets you create a whitelist of servers to which socket connections are allowed
+# Set to hostname or IP address. This can be specified multiple times in this
+# file to allow more than one host, and only takes effect if DisableSockets
+# (above) is set to 1.
+#EnableSocketsTo = localhost.localdomain
+#EnableSocketsTo = 127.0.0.1
+
+# Lets you prevent the ActionScript FileReference API from performing file
+# downloads
+# 0 = Not Disabled (default), 1 = Disabled
+#FileDownloadDisable = 0
+
+# Lets you prevent the ActionScript FileReference API from prerforming file
+# uploads
+# 0 = Not Disabled (default), 1 = Disabled
+#FileUploadDisable = 0
+
+# Lets you disable SWF files playing via a browser plug-in from being displayed
+# in full-screen mode
+# 0 = Not Disabled (default), 1 = Disabled
+#FullScreenDisable = 0
+
+# Lets you specify whether SWF files produced for Flash Player 6 and earlier can
+# execute an operation that has been restricted in a newer version of Flash
+# Player
+# 0 = Deny, 1 = Allow
+# There is no default value, which falls back to the user's setting (Defaults to
+# "Ask"
+#LegacyDomainMatching =
+
+# Lets you specify how Flash Player should determine whether to execute certain
+# local SWF files that were originally produced for Flash Player 7 and earlier
+# 0 = Deny, 1 = Allow
+# There is no default value, which falls back to the user's setting
+#LocalFileLegacyAction =
+
+# Lets you prevent local SWF files from having read access to files on local
+# drive
+# 0 = Not Disabled (default), 1 = Disabled
+#LocalFileReadDisable = 0
+
+# Lets you specify a hard limit on the amout of local storage that Flash Player
+# uses (per domain) for persistent shared objects
+# 1 = no storage, 2 = 10KB, 3 = 100KB, 4 = 1MB, 5 = 10MB,
+# 6 = User specified (default)
+# If the user does not specify a limit, the default is 100KB.
+#LocalStorageLimit = 6
+
+# Lets you override GPU validation checks to force hardware acceleration
+# Warning: This may make your player (more) unstable!
+# 0 = Check GPU (default), 1 = Skip checks
+# More details:
+# http://blogs.adobe.com/penguin.swf/2008/08/secrets_of_the_mmscfg_file_1.html
+#OverrideGPUValidation = 0
+
+# Lets you specify whether third-party SWF files can read and write locally
+# persistent shared objects
+# 0 = disabled, 1 = enabled
+# There is no default value, which falls back to the user's setting
+#ThirdPartyStorage =
+
+# Lets you disable "Windowless" mode, which is may cause crashes in firefox
+# version 3.01 and earlier.
+# 0 = Not Disabled (default), 1 = Disabled
+# More details:
+# http://blogs.adobe.com/penguin.swf/2008/08/windowless_mode_fix.html
+#WindowlessDisable = 0
diff --git a/net-www/netscape-flash/netscape-flash-10_beta20080811.ebuild b/net-www/netscape-flash/netscape-flash-10_beta20080811.ebuild
index e7f34cfc2f17..d2aaf42993e2 100644
--- a/net-www/netscape-flash/netscape-flash-10_beta20080811.ebuild
+++ b/net-www/netscape-flash/netscape-flash-10_beta20080811.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/netscape-flash/netscape-flash-10_beta20080811.ebuild,v 1.2 2008/08/25 19:12:16 lack Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/netscape-flash/netscape-flash-10_beta20080811.ebuild,v 1.3 2008/09/09 03:43:10 lack Exp $
inherit nsplugins versionator
@@ -72,6 +72,10 @@ src_install() {
# libcurl.so.3 (and maybe the SSLs too, I hope) , so this will be slightly
# less ugly (especially if we can get libcurl into one of the emul-linux-x86
# packages)
+
+ # The magic config file!
+ insinto "/etc/adobe"
+ doins "${FILESDIR}/mms.cfg"
}
pkg_postinst() {
@@ -79,4 +83,8 @@ pkg_postinst() {
ewarn "issues. Please consider only running flash applets you know to"
ewarn "be safe. The firefox 'flashblock' extension may help:"
ewarn " https://addons.mozilla.org/en-US/firefox/addon/433"
+ echo
+ ewarn "Furthermore, <www-client/mozilla-firefox-3.0.2 is known to crash"
+ ewarn "with the new 'Windowless' (transparent) mode. To disable this and"
+ ewarn "avoid the crashes, set 'WindowlessDisable = 1' in /etc/adobe/mms.cfg"
}