- create downloads dir with mode 0700 instead
- pass --disable-crashreporter
This commit is contained in:
parent
aed36ea3dc
commit
84856b7c61
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.27 2009/09/10 22:18:59 martynas Exp $
|
||||
# $OpenBSD: Makefile,v 1.28 2009/09/18 20:35:27 martynas Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
ONLY_FOR_ARCHS= alpha amd64 arm i386 powerpc sparc sparc64
|
||||
@ -7,7 +7,7 @@ COMMENT= redesign of Mozilla's browser component
|
||||
|
||||
VER= 3.5.3
|
||||
DISTNAME= mozilla-1.9.1
|
||||
PKGNAME= firefox35-${VER}
|
||||
PKGNAME= firefox35-${VER}p0
|
||||
SO_VERSION= 21.2
|
||||
# NOTE: Must bump minor version if any shlib's are removed from the
|
||||
# components dir to avoid pkg_add -r issues.
|
||||
@ -92,6 +92,7 @@ CONFIGURE_ARGS= --with-system-jpeg=${LOCALBASE} \
|
||||
--enable-system-sqlite \
|
||||
--enable-canvas \
|
||||
--disable-libxul \
|
||||
--disable-crashreporter \
|
||||
--enable-official-branding
|
||||
|
||||
# from browser/config/mozconfig
|
||||
|
@ -0,0 +1,30 @@
|
||||
$OpenBSD: patch-toolkit_components_downloads_src_nsDownloadManager_cpp,v 1.1 2009/09/18 20:35:27 martynas Exp $
|
||||
--- toolkit/components/downloads/src/nsDownloadManager.cpp.orig Mon Aug 24 18:53:16 2009
|
||||
+++ toolkit/components/downloads/src/nsDownloadManager.cpp Mon Sep 14 11:40:21 2009
|
||||
@@ -1381,7 +1381,7 @@ nsDownloadManager::GetUserDownloadsDirectory(nsILocalF
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
(*aResult)->Exists(&bRes);
|
||||
if (!bRes) {
|
||||
- rv = (*aResult)->Create(nsIFile::DIRECTORY_TYPE, 0755);
|
||||
+ rv = (*aResult)->Create(nsIFile::DIRECTORY_TYPE, 0700);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
}
|
||||
return NS_OK;
|
||||
@@ -1399,7 +1399,7 @@ nsDownloadManager::GetUserDownloadsDirectory(nsILocalF
|
||||
NS_ADDREF(*aResult = customDirectory);
|
||||
return NS_OK;
|
||||
}
|
||||
- rv = customDirectory->Create(nsIFile::DIRECTORY_TYPE, 0755);
|
||||
+ rv = customDirectory->Create(nsIFile::DIRECTORY_TYPE, 0700);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
NS_ADDREF(*aResult = customDirectory);
|
||||
return NS_OK;
|
||||
@@ -1408,7 +1408,7 @@ nsDownloadManager::GetUserDownloadsDirectory(nsILocalF
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
(*aResult)->Exists(&bRes);
|
||||
if (!bRes) {
|
||||
- rv = (*aResult)->Create(nsIFile::DIRECTORY_TYPE, 0755);
|
||||
+ rv = (*aResult)->Create(nsIFile::DIRECTORY_TYPE, 0700);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
// Update dir pref
|
||||
prefBranch->SetComplexValue(NS_PREF_DIR,
|
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-xpcom_io_SpecialSystemDirectory_cpp,v 1.1 2009/09/18 20:35:27 martynas Exp $
|
||||
--- xpcom/io/SpecialSystemDirectory.cpp.orig Mon Aug 24 18:53:28 2009
|
||||
+++ xpcom/io/SpecialSystemDirectory.cpp Thu Sep 10 23:47:53 2009
|
||||
@@ -447,7 +447,7 @@ GetUnixXDGUserDirectory(SystemDirectories aSystemDirec
|
||||
if (NS_FAILED(rv))
|
||||
return rv;
|
||||
if (!exists) {
|
||||
- rv = file->Create(nsIFile::DIRECTORY_TYPE, 0755);
|
||||
+ rv = file->Create(nsIFile::DIRECTORY_TYPE, 0700);
|
||||
if (NS_FAILED(rv))
|
||||
return rv;
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.125 2009/09/10 21:34:55 martynas Exp $
|
||||
# $OpenBSD: Makefile,v 1.126 2009/09/18 20:35:27 martynas Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
ONLY_FOR_ARCHS= alpha amd64 arm i386 powerpc sparc sparc64
|
||||
@ -7,7 +7,7 @@ COMMENT= redesign of Mozilla's browser component
|
||||
|
||||
VER= 3.0.14
|
||||
DISTNAME= mozilla
|
||||
PKGNAME= mozilla-firefox-${VER}p0
|
||||
PKGNAME= mozilla-firefox-${VER}p1
|
||||
SO_VERSION= 20.0
|
||||
# NOTE: Must bump minor version if any shlib's are removed from the
|
||||
# components dir to avoid pkg_add -r issues.
|
||||
|
@ -0,0 +1,30 @@
|
||||
$OpenBSD: patch-toolkit_components_downloads_src_nsDownloadManager_cpp,v 1.1 2009/09/18 20:35:27 martynas Exp $
|
||||
--- toolkit/components/downloads/src/nsDownloadManager.cpp.orig Fri Jan 9 14:33:18 2009
|
||||
+++ toolkit/components/downloads/src/nsDownloadManager.cpp Mon Sep 14 11:49:26 2009
|
||||
@@ -1294,7 +1294,7 @@ nsDownloadManager::GetUserDownloadsDirectory(nsILocalF
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
(*aResult)->Exists(&bRes);
|
||||
if (!bRes) {
|
||||
- rv = (*aResult)->Create(nsIFile::DIRECTORY_TYPE, 0755);
|
||||
+ rv = (*aResult)->Create(nsIFile::DIRECTORY_TYPE, 0700);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
}
|
||||
return NS_OK;
|
||||
@@ -1312,7 +1312,7 @@ nsDownloadManager::GetUserDownloadsDirectory(nsILocalF
|
||||
NS_ADDREF(*aResult = customDirectory);
|
||||
return NS_OK;
|
||||
}
|
||||
- rv = customDirectory->Create(nsIFile::DIRECTORY_TYPE, 0755);
|
||||
+ rv = customDirectory->Create(nsIFile::DIRECTORY_TYPE, 0700);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
NS_ADDREF(*aResult = customDirectory);
|
||||
return NS_OK;
|
||||
@@ -1321,7 +1321,7 @@ nsDownloadManager::GetUserDownloadsDirectory(nsILocalF
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
(*aResult)->Exists(&bRes);
|
||||
if (!bRes) {
|
||||
- rv = (*aResult)->Create(nsIFile::DIRECTORY_TYPE, 0755);
|
||||
+ rv = (*aResult)->Create(nsIFile::DIRECTORY_TYPE, 0700);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
// Update dir pref
|
||||
prefBranch->SetComplexValue(NS_PREF_DIR,
|
Loading…
Reference in New Issue
Block a user