• R/O
  • SSH
  • HTTPS

globalbase: Commit


Commit MetaInfo

Revisão5985 (tree)
Hora2019-09-13 21:04:27
Autorjoshua

Mensagem de Log

develpkg -pbkdf2

Mudança Sumário

Diff

--- modules/make.project/trunk/utils/subs/distribution.pl (revision 5984)
+++ modules/make.project/trunk/utils/subs/distribution.pl (revision 5985)
@@ -92,10 +92,20 @@
9292 print OUT "Dependency:".$dependency."\n";
9393 close(OUT);
9494 if ( $develpkgExcludeConf && (-e $develpkgExcludeConf) ) {
95- do_system("cd ../..;tar cvz -X proj/posix/$develpkgExcludeConf . | openssl enc -e -aes256 -kfile $develpkgEncodeKey -out $develpkgPublic/$archive");
95+ if ( $develpkgSystem >= 10 ) {
96+ do_system("cd ../..;tar cvz -X proj/posix/$develpkgExcludeConf . | openssl enc -pbkdf2 -e -aes256 -kfile $develpkgEncodeKey -out $develpkgPublic/$archive");
97+ }
98+ else {
99+ do_system("cd ../..;tar cvz -X proj/posix/$develpkgExcludeConf . | openssl enc -e -aes256 -kfile $develpkgEncodeKey -out $develpkgPublic/$archive");
100+ }
96101 }
97102 else {
98- do_system("cd ../..;tar cvz . | openssl enc -e -aes256 -kfile $develpkgEncodeKey -out $develpkgPublic/$archive");
103+ if ( $develpkgSystem >= 10 ) {
104+ do_system("cd ../..;tar cvz . | openssl enc -pbkdf2 -e -aes256 -kfile $develpkgEncodeKey -out $develpkgPublic/$archive");
105+ }
106+ else {
107+ do_system("cd ../..;tar cvz . | openssl enc -e -aes256 -kfile $develpkgEncodeKey -out $develpkgPublic/$archive");
108+ }
99109 }
100110 do_system("rm -rf ../../develpackage.info");
101111
Show on old repository browser