This repository has been archived by the owner on Sep 10, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aegisub, cryptsetup, cups-filters, kernel-custom, libbsd, libldp, lib…
…tevent, networkmanager-vpnc, parted, samba, libdrm
- Loading branch information
Phantom X
committed
Jul 30, 2014
1 parent
be6a875
commit 19c2f16
Showing
179 changed files
with
1,766 additions
and
12,322 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,4 @@ fftw >= 3.3.3 | |
hunspell >= 1.2.9 | ||
libass >= 0.10.0 | ||
lua51 >= 5.1.5 | ||
openal >= 1.10.622 | ||
wxgtk3 >= 2.9.4.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
set -e -o pipefail | ||
|
||
SB_PATCHDIR=${CWD}/patches | ||
|
||
# patch -p0 -E --backup --verbose -i ${SB_PATCHDIR}/${NAME}.patch | ||
zcat ${SB_PATCHDIR}/amp-0.7.6-gcc43.patch.gz | patch -p0 -E --backup --verbose | ||
|
||
set +e +o pipefail |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
cryptsetup/patches/0001-Move-safe-table-params-wipe-into-function-which-allo.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
From 2250d5f71f9dd66112d5c63367169f4e6af8ad70 Mon Sep 17 00:00:00 2001 | ||
From: Milan Broz <gmazyland@gmail.com> | ||
Date: Thu, 24 Jul 2014 11:37:24 +0200 | ||
Subject: [PATCH 1/3] Move safe table params wipe into function which allocates | ||
it. | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
--- | ||
lib/libdevmapper.c | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/lib/libdevmapper.c b/lib/libdevmapper.c | ||
index 3ed87c0..8e5a696 100644 | ||
--- a/lib/libdevmapper.c | ||
+++ b/lib/libdevmapper.c | ||
@@ -642,8 +642,6 @@ out_no_removal: | ||
if (cookie && _dm_use_udev()) | ||
(void)_dm_udev_wait(cookie); | ||
|
||
- if (params) | ||
- crypt_safe_free(params); | ||
if (dmt) | ||
dm_task_destroy(dmt); | ||
|
||
@@ -674,6 +672,8 @@ int dm_create_device(struct crypt_device *cd, const char *name, | ||
r = _dm_create_device(name, type, dmd->data_device, | ||
dmd->flags, dmd->uuid, dmd->size, | ||
table_params, reload); | ||
+ | ||
+ crypt_safe_free(table_params); | ||
dm_exit_context(); | ||
return r; | ||
} | ||
-- | ||
2.0.1 | ||
|
62 changes: 62 additions & 0 deletions
62
cryptsetup/patches/0002-Re-check-flags-after-DM-device-creations.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
From 3640eaa726b7a9d761f1c67cd8620153d791688e Mon Sep 17 00:00:00 2001 | ||
From: Milan Broz <gmazyland@gmail.com> | ||
Date: Thu, 24 Jul 2014 11:52:58 +0200 | ||
Subject: [PATCH 2/3] Re-check flags after DM device creations. | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
--- | ||
lib/libdevmapper.c | 16 +++++++++++----- | ||
1 file changed, 11 insertions(+), 5 deletions(-) | ||
|
||
diff --git a/lib/libdevmapper.c b/lib/libdevmapper.c | ||
index 8e5a696..6138a6b 100644 | ||
--- a/lib/libdevmapper.c | ||
+++ b/lib/libdevmapper.c | ||
@@ -566,6 +566,9 @@ static int _dm_create_device(const char *name, const char *type, | ||
uint32_t cookie = 0; | ||
uint16_t udev_flags = 0; | ||
|
||
+ if (!params) | ||
+ return -EINVAL; | ||
+ | ||
if (flags & CRYPT_ACTIVATE_PRIVATE) | ||
udev_flags = CRYPT_TEMP_UDEV_FLAGS; | ||
|
||
@@ -646,6 +649,10 @@ out_no_removal: | ||
dm_task_destroy(dmt); | ||
|
||
dm_task_update_nodes(); | ||
+ | ||
+ /* If code just loaded target module, update versions */ | ||
+ _dm_check_versions(); | ||
+ | ||
return r; | ||
} | ||
|
||
@@ -655,7 +662,7 @@ int dm_create_device(struct crypt_device *cd, const char *name, | ||
int reload) | ||
{ | ||
char *table_params = NULL; | ||
- int r = -EINVAL; | ||
+ int r; | ||
|
||
if (!type) | ||
return -EINVAL; | ||
@@ -668,10 +675,9 @@ int dm_create_device(struct crypt_device *cd, const char *name, | ||
else if (dmd->target == DM_VERITY) | ||
table_params = get_dm_verity_params(dmd->u.verity.vp, dmd); | ||
|
||
- if (table_params) | ||
- r = _dm_create_device(name, type, dmd->data_device, | ||
- dmd->flags, dmd->uuid, dmd->size, | ||
- table_params, reload); | ||
+ r = _dm_create_device(name, type, dmd->data_device, | ||
+ dmd->flags, dmd->uuid, dmd->size, | ||
+ table_params, reload); | ||
|
||
crypt_safe_free(table_params); | ||
dm_exit_context(); | ||
-- | ||
2.0.1 | ||
|
Oops, something went wrong.