aboutsummaryrefslogtreecommitdiff
path: root/media/video/cinelerra
diff options
context:
space:
mode:
Diffstat (limited to 'media/video/cinelerra')
-rw-r--r--media/video/cinelerra/Manifest32
-rwxr-xr-xmedia/video/cinelerra/cinelerra.SlackBuild66
-rw-r--r--media/video/cinelerra/cinelerra.diff (renamed from media/video/cinelerra/cinelerra-git_version.diff)0
3 files changed, 82 insertions, 16 deletions
diff --git a/media/video/cinelerra/Manifest b/media/video/cinelerra/Manifest
index 22772614..97d65bba 100644
--- a/media/video/cinelerra/Manifest
+++ b/media/video/cinelerra/Manifest
@@ -1,25 +1,25 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MKBUILD cinelerra.mkbuild 3573 MD5 b64de9891e6996d109e84339ad8a432a RMD160 ce9030a5093579b32e4de4e06b2d3efc48679a04 SHA1 7107c8a737d527239df4c87b2ea9fc6cc5e325e3 SHA256 c957b705d6514eba4bfb5c957f3f17b2ac7b4011c3d34061019dcd2efcf80c58 SHA512 a7d5e5dbfa092481deed02abe560fbeacc76afa1dae4bd325098926b8f9c053af00585cb49f7b77518ae1f2098f313c66cd8e22ad86243a622f292f53e945cee
+MKBUILD cinelerra.mkbuild 3593 MD5 6f5788c2b2f753de07b506a1ed0901b7 RMD160 92a5c7cb099baa75746bb8771adaa4837be03ec8 SHA1 7dea9fe1a522a7bc6dfa78efa784ac94723ea4c1 SHA256 248efa25b1808a58d6c5b90ad0f645e4f52ffe65252e8684819c6bb133b8f361 SHA512 a1c434cf57719dddbc089d5b56265a00d4cfeb0a89bdc04f24f9cbf8cf51e52be878aae7369cef41bf5c3caa5243c54d4575261c48a8eeb45a8b73a9a3180a83
PATCH cinelerra-altivec.diff 1512 MD5 4d355626b69e0a5ec80ffe7b0d67a04a RMD160 1aa86330043b309e2ae8bb0ebcd84112a16aa096 SHA1 078b15b78fbbf1abe61c33360ebf09915570dc98 SHA256 6ea5e62dce887178e0af5664034a10561c804f5b09c47fae16263c6cc40ac3ef SHA512 2c979f10e4a6d047ba1a7d18d62552da946e9ac5e5089edcae44b3817bd5f0f15216c63788e0cd00e4feb5cb3d20d0506f22a838b02598d6d51dacff06e75e56
-PATCH cinelerra-git_version.diff 386 MD5 4edab9c08f9aa2a000e8ad2448df3a2f RMD160 d9a5b10836435fce72bc4b3ba0dc169f43b00878 SHA1 fe42ed01fa441d57978f8b3ae08b3375a23411af SHA256 3718f88e955c0f019c506528ea72f02c65cb0e24642e256f8544dfd1d99c4d50 SHA512 aec168d4b79f6d901c75b65e7acb1877678b29fcbcff3136257e3e3ea74d704f7aaba93beb0d9da9ad4223f44c44e482258bf12f6835ca23a601e247badcc905
+PATCH cinelerra-git_version.diff 732 MD5 0297972dd518c1a75e5befc6cfc50876 RMD160 985c4aa151f7090b629390d990b16ba60453bbd2 SHA1 c67b334f9ac10d3b631047e93d04b1ea69766f11 SHA256 1f919464835a0ab8ebf38db5b83cb9f5096892c1be8df05ed63d07132a43ea6c SHA512 30952a5570ab728a131c0ad256efd282566d1531df4814e20a36ea5a439d0e15beb5a2b74df68ef2029a73d4907d58a73c357b9256bb3681d209b70bdb2ee3ad
SLACK-REQUIRED slack-required 238 MD5 6f4bb0514f34bbdbf57ccccec8e43dde RMD160 501a2205f942d6b3af700fa71527f6fa49fbb9b5 SHA1 62124d02edd9cd533d71e48fbd3ddf931391b837 SHA256 d66761e5d0949530f2acdea4436ee4eb25ae07ab1446b739d97d9add3ef557e6 SHA512 3e9b81f07e31d2d2b1ae75ececfb7baf35d54a94e51efe971d3a95f22cb63bf700751584c8abdfa81bece961651c1d3514b2088ba19d36606ea4b1cab85164ce
-SLACKBUILD cinelerra.SlackBuild 6391 MD5 ce32b2915aa1375a98428064542c60d3 RMD160 c8310b229f7acc7cbc5b8dd9d742bf3b2ce8f5a9 SHA1 d52ca7d86a0ff9553dc280f03eae0baf7abeb1cd SHA256 91770999949e6c1164429e9262d69e87e503ee16930cf0d53cfa5bce1975b542 SHA512 cf3bd370090ac652abbaf32b7122540a6e4616d3b99467aae2cb8e7b78a6d804cbeafa7324aeb34c98e38d219c84722b01583f333dbe8018f6ede8a55d9a6b99
+SLACKBUILD cinelerra.SlackBuild 8436 MD5 26e25e829a38b16ecb3ca46a47d5695d RMD160 3f9e676c7fce93688a31cd3af66833eb069109cd SHA1 a216239ab2db4c91fe04495e8b42ba828bec5d0f SHA256 4cc33008ce661b79a16c0c18bdfcca3fc564dc179ffa64bb3bab713cfaa9b2c7 SHA512 14c24d15f03fe531c1fa4417783a518655aa9695d9e99961ce00c7e51ce66c6635da1dc4e51bc47a762b8fe8662e415f09b87c2e9dc760d4f6b94d6c64726d30
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
-iQIcBAEBAgAGBQJJ/er8AAoJEEHL93ESzgeipa4QALOR4yDPRBiMSZ3KuNz4bhgy
-eeKrRLXyHDHWOL1q/SPq93fcDF7a4tmFi6M+fVUEzQA/AHeGh0N/Ip7Yu1gl3CVw
-aoIuYQdG5KWwoyDu5sBxjmVcyNAwsTaV+QcyCmBnoLKJ/32en8ftqnFDmSIJ2GU1
-sZtk2IJF7df9RWL8CRcCBHj/sgi6lWLaw9BOj0LdPorpRKx6aSEEuiU5U3A00jsW
-wUnC03tAEQUZQDREat0fJftu1r5iHieNe7XuE7vTQ259UDooDf7VYlSX1+UsMhpl
-mlOR33T15862IEYo0Avj/ueb/XAxyg0PkRMkBKKgV0OjXwuv9GB3eZpDqslmhGfW
-ukKJRevw7AhW5a5KtJ1lapfWbPe1E7V1E3Newm/fxcM5zNtBm8OWfHSi1uR9xnKO
-/K6r/6mRP4xP8NuGgOEqPbAGYpdO+U8v+9LeRB5QuOoRS5HyXmF6n4dT3mpEAYWp
-MZAwLoVYigdpSrZd0jOawGkaUQrLHAg1yu9nhKaYuRPFtefoj5P0pWFL47M6haJL
-A1v6aW3BeXXwRWEWgrsGoNrDj1KkgQWwm//0MdmH4kF3RFEEvVvlqgHZy4lK1859
-yaQm2zTK9bllRpiTcc2zOcxUmSzPvpY7h2EEQ78Fhp7WL8qUPHCdI9/bejaJtbym
-NXl2ZNCBPUWjhRoRXWUg
-=zt52
+iQIcBAEBAgAGBQJJ/wolAAoJEEHL93ESzgeiWlgQAKpsANCY4bFOJS0o14kgmN5o
+dIx5uh9KU7vdhU+lbu0E8zKyroPIBxbde9dbi6tNwYg8fSL3yez2xxS7VQYq40CW
+us1aNeQGAbqnowDQ3fp+6Y/72cOIaAoT3U2mTY9TTgHxRWYQusesYSJqPMs1awS/
+/DgmG21old/aPQFS9Up8F72H5r+DpQexPAOGGXWcrOP8nGqaROVO3h/iAK75VKk9
+cdwXWC4mxlSzhlKBaA6ujviOZmUWVtFRChLo2sVwUZKYUFbPLF62XJneuTrtBBXh
+yNa8IJXQpiU0SMZ9o5L8erirvbtgqgQZMuqn97j/YKRFT9sXyrRA/99iupWa/lZy
+74Apz3sfcXKhKCdMVdqfXPioWm1AK/gO+9YwXBMleco8/G/E/woPeeu7hV4StlPm
+DLN06MGz4t1YIQFuw39XZC0aATFmGoNsWWUr4SkdW8l2KcAUHVSdjz+6lK+8rsJ0
+QHPWRvL//ZPUOohL3K7ddhjv5G0fCTZ8N+kGGb728YL/sX+A1yM+88Co3gawZ1fH
+CUb3ODxrpT7eqHmvMh7S7AHVGx4MoDBbkdgZ04lvqsPq5w1ijJb3Mym56hrTPylH
+hpOhFOjoNs4NSuNihLE6hHcf7olvOAnrzXVjtSUVsjXAhx4V3LJIWN72U93yiJ0q
+mKLp9BWudDcVuoT2tIVC
+=7WrQ
-----END PGP SIGNATURE-----
diff --git a/media/video/cinelerra/cinelerra.SlackBuild b/media/video/cinelerra/cinelerra.SlackBuild
index 511fd10d..fbcd36df 100755
--- a/media/video/cinelerra/cinelerra.SlackBuild
+++ b/media/video/cinelerra/cinelerra.SlackBuild
@@ -99,6 +99,72 @@ cp -a $SRC_DIR/* .
PKG_SRC="$PWD/$SND_DIR"
cd "$PKG_SRC"
+# Check Manifest file
+if [ -e "$CWD/Manifest" ]; then
+
+ # Manifest signature checking
+ if grep -q -- "-----BEGIN PGP SIGNED MESSAGE-----" $CWD/Manifest; then
+ echo "Checking Manifest signature..."
+ gpg --verify $CWD/Manifest
+ if [ "$?" != "0" ]; then
+ exit $ERROR_MANIFEST
+ fi
+ fi
+
+ MANIFEST_LINES="`grep -E -v "^(MKBUILD|SLACKBUILD)" $CWD/Manifest | wc -l`"
+
+ for ((MANIFEST_COUNT=1; MANIFEST_COUNT <= $MANIFEST_LINES; MANIFEST_COUNT++)); do
+
+ MANIFEST_LINE="`grep -E -v "^(MKBUILD|SLACKBUILD)" $CWD/Manifest | head -n $MANIFEST_COUNT | tail -n 1`"
+ MANIFEST_FILE="`echo $MANIFEST_LINE | awk '{ print $2 }'`"
+ MANIFEST_FILE_TYPE="`echo $MANIFEST_LINE | awk '{ print $1 }'`"
+
+ if [ -e "$SRC_DIR/$MANIFEST_FILE" ]; then
+ MANIFEST_FILE="$SRC_DIR/$MANIFEST_FILE"
+ else
+ MANIFEST_FILE="`find $CWD -name $MANIFEST_FILE`"
+ fi
+
+ if [ ! -e "$MANIFEST_FILE" ] || [ -d "$MANIFEST_FILE" ]; then
+ continue
+ fi
+
+ echo "Checking Manifest for $MANIFEST_FILE_TYPE $MANIFEST_FILE integrity..."
+
+ SIZE_SRC="`wc -c $MANIFEST_FILE | awk '{ print $1 }'`"
+ SIZE_MANIFEST="`echo $MANIFEST_LINE | awk '{ print $3 }'`"
+
+ # Check source code size
+ if [ "$SIZE_SRC" != "$SIZE_MANIFEST" ]; then
+ echo "SIZE Manifest: $SIZE_MANIFEST; SIZE $SRC: $SIZE_SRC"
+ exit $ERROR_MANIFEST
+ else
+ echo "Size match."
+ fi
+
+ # Check source code integrity
+ for ALGO in md5 rmd160 sha1 sha256 sha512; do
+ if [ $ALGO = "rmd160" ]; then
+ ALGO_SRC="`openssl rmd160 $MANIFEST_FILE | awk '{ print $2 }'`"
+ else
+ ALGO_SRC="`"$ALGO"sum $MANIFEST_FILE | awk '{ print $1 }'`"
+ fi
+ ALGO="`echo $ALGO | tr '[:lower:]' '[:upper:]'`"
+ ALGO_MANIFEST=$(echo $MANIFEST_LINE | sed "s/.* $ALGO //" | awk '{ print $1 }')
+ if [ "$ALGO_SRC" != "$ALGO_MANIFEST" ]; then
+ echo "$ALGO Manifest: $ALGO_MANIFEST; $ALGO $SRC: $ALGO_SRC"
+ exit $ERROR_MANIFEST
+ else
+ echo "$ALGO match."
+ fi
+ done
+
+ done
+
+else
+ exit $ERROR_MANIFEST
+fi
+
# Patch source
patches=" [[PATCH URLS]]
$PKG_NAME.diff $PKG_NAME-$PKG_VERSION.diff
diff --git a/media/video/cinelerra/cinelerra-git_version.diff b/media/video/cinelerra/cinelerra.diff
index 04352db7..04352db7 100644
--- a/media/video/cinelerra/cinelerra-git_version.diff
+++ b/media/video/cinelerra/cinelerra.diff