]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
Get rid of separate -crypto.zip download; instead include AES support in
authorRudolf Polzer <divverent@xonotic.org>
Thu, 10 Oct 2013 16:50:28 +0000 (18:50 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 10 Oct 2013 16:50:47 +0000 (18:50 +0200)
the full download and provide a -noaes build.

misc/tools/all/release.subr

index d29dba3863392b944cd663b1f8059564771bd80e..4b71ab950b2da186bdd0bbb7e125c9fa73893706 100644 (file)
@@ -552,61 +552,57 @@ case "$cmd" in
                pk3stamp=`cat Xonotic/pk3stamp.txt`
                # exe and dll files do not need +x, so this makes them eligible for 7zip compression too
                chmod a-x Xonotic/*.exe Xonotic/*.dll || true
-               # let's pass crypto import laws of some nasty countries
-               crypto_libs=`find Xonotic -name \*d0_rijndael\*.so -o -name \*d0_rijndael\*.dylib -o -name \*d0_rijndael\*.dll -o -name \*d0_rijndael\*.c`
-               if [ -n "$crypto_libs" ]; then
-                       verbose mkzip Xonotic-$stamp-crypto.zip \
-                               $crypto_libs \
+               for suffix in '' '-noaes'; do
+                       # build the archives
+                       verbose mkzip Xonotic-$stamp-enginesource$suffix.zip \
+                               Xonotic/Makefile \
+                               Xonotic/source/darkplaces/ \
                                Xonotic/COPYING Xonotic/GPL-2 Xonotic/GPL-3
-                       rm -f $crypto_libs
-               fi
-               # build the archives
-               verbose mkzip Xonotic-$stamp-enginesource.zip \
-                       Xonotic/Makefile \
-                       Xonotic/source/darkplaces/ \
-                       Xonotic/COPYING Xonotic/GPL-2 Xonotic/GPL-3
-               verbose cp Xonotic-$stamp-enginesource.zip Xonotic-$stamp-engine.zip
-               verbose mkzip Xonotic-$stamp-engine.zip \
-                       Xonotic/*.dll \
-                       Xonotic/bin32/*.dll \
-                       Xonotic/bin64/*.dll \
-                       Xonotic/*.app \
-                       Xonotic/xonotic-* \
-                       Xonotic/xonotic.exe
-               verbose cp Xonotic-$stamp-engine.zip Xonotic-$stamp-common.zip
-               verbose mkzip Xonotic-$stamp-common.zip \
-                       Xonotic/source/d0_blind_id/ \
-                       Xonotic/source/gmqcc/ \
-                       Xonotic/source/qcsrc/ \
-                       Xonotic/Docs \
-                       Xonotic/misc \
-                       Xonotic/gmqcc \
-                       Xonotic/server \
-                       Xonotic/key_0.d0pk \
-                       Xonotic/data/font-nimbussansl-$pk3stamp.pk3 \
-                       Xonotic/data/font-xolonium-$pk3stamp.pk3
-               verbose cp Xonotic-$stamp-enginesource.zip Xonotic-$stamp-source.zip
-               verbose mkzip Xonotic-$stamp-source.zip \
-                       Xonotic/source/d0_blind_id/ \
-                       Xonotic/source/gmqcc/ \
-                       Xonotic/source/qcsrc/ \
-                       Xonotic/misc/logos
-               verbose cp Xonotic-$stamp-common.zip Xonotic-$stamp.zip
-               verbose mkzip0 Xonotic-$stamp.zip \
-                       Xonotic/data/xonotic-$pk3stamp-data.pk3 \
-                       Xonotic/data/xonotic-$pk3stamp-maps.pk3 \
-                       Xonotic/data/xonotic-$pk3stamp-music.pk3 \
-                       Xonotic/data/xonotic-$pk3stamp-nexcompat.pk3
-               verbose cp Xonotic-$stamp-common.zip Xonotic-$stamp-low.zip
-               verbose mkzip0 Xonotic-$stamp-low.zip \
-                       Xonotic/data/xonotic-$pk3stamp-data-low.pk3 \
-                       Xonotic/data/xonotic-$pk3stamp-maps-low.pk3 \
-                       Xonotic/data/xonotic-$pk3stamp-music-low.pk3
-               verbose mv Xonotic-$stamp-common.zip Xonotic-$stamp-high.zip
-               verbose mkzip0 Xonotic-$stamp-high.zip \
-                       Xonotic/data/xonotic-$pk3stamp-data-high.pk3 \
-                       Xonotic/data/xonotic-$pk3stamp-maps-high.pk3 \
-                       Xonotic/data/xonotic-$pk3stamp-music.pk3
+                       verbose cp Xonotic-$stamp-enginesource$suffix.zip Xonotic-$stamp-engine$suffix.zip
+                       verbose mkzip Xonotic-$stamp-engine$suffix.zip \
+                               Xonotic/*.dll \
+                               Xonotic/bin32/*.dll \
+                               Xonotic/bin64/*.dll \
+                               Xonotic/*.app \
+                               Xonotic/xonotic-* \
+                               Xonotic/xonotic.exe
+                       verbose cp Xonotic-$stamp-engine$suffix.zip Xonotic-$stamp-common$suffix.zip
+                       verbose mkzip Xonotic-$stamp-common$suffix.zip \
+                               Xonotic/source/d0_blind_id/ \
+                               Xonotic/source/gmqcc/ \
+                               Xonotic/source/qcsrc/ \
+                               Xonotic/Docs \
+                               Xonotic/misc \
+                               Xonotic/gmqcc \
+                               Xonotic/server \
+                               Xonotic/key_0.d0pk \
+                               Xonotic/data/font-nimbussansl-$pk3stamp.pk3 \
+                               Xonotic/data/font-xolonium-$pk3stamp.pk3
+                       verbose cp Xonotic-$stamp-enginesource$suffix.zip Xonotic-$stamp-source$suffix.zip
+                       verbose mkzip Xonotic-$stamp-source$suffix.zip \
+                               Xonotic/source/d0_blind_id/ \
+                               Xonotic/source/gmqcc/ \
+                               Xonotic/source/qcsrc/ \
+                               Xonotic/misc/logos
+                       verbose cp Xonotic-$stamp-common$suffix.zip Xonotic-$stamp$suffix.zip
+                       verbose mkzip0 Xonotic-$stamp$suffix.zip \
+                               Xonotic/data/xonotic-$pk3stamp-data.pk3 \
+                               Xonotic/data/xonotic-$pk3stamp-maps.pk3 \
+                               Xonotic/data/xonotic-$pk3stamp-music.pk3 \
+                               Xonotic/data/xonotic-$pk3stamp-nexcompat.pk3
+                       verbose cp Xonotic-$stamp-common$suffix.zip Xonotic-$stamp-low$suffix.zip
+                       verbose mkzip0 Xonotic-$stamp-low$suffix.zip \
+                               Xonotic/data/xonotic-$pk3stamp-data-low.pk3 \
+                               Xonotic/data/xonotic-$pk3stamp-maps-low.pk3 \
+                               Xonotic/data/xonotic-$pk3stamp-music-low.pk3
+                       verbose mv Xonotic-$stamp-common$suffix.zip Xonotic-$stamp-high$suffix.zip
+                       verbose mkzip0 Xonotic-$stamp-high$suffix.zip \
+                               Xonotic/data/xonotic-$pk3stamp-data-high.pk3 \
+                               Xonotic/data/xonotic-$pk3stamp-maps-high.pk3 \
+                               Xonotic/data/xonotic-$pk3stamp-music.pk3
+                       # let's pass crypto import laws of some nasty countries
+                       find Xonotic -name \*d0_rijndael\*.so -o -name \*d0_rijndael\*.dylib -o -name \*d0_rijndael\*.dll -o -name \*d0_rijndael\*.c -delete
+               done
                verbose mkzip Xonotic-$stamp-mappingsupport.zip \
                        Xonotic/mapping
                verbose mkzip0 Xonotic-$stamp-mappingsupport.zip \