Manjaro Difference between revisions of "PKGBUILD/ru"

Difference between revisions of "PKGBUILD/ru"

From Manjaro
(Created page with "{{Note|Более консервативная замена в Bash будет включать кавычки или, возможно, даже цикл, вызывающи...")
Tags: Mobile web edit Mobile edit
(Created page with "=== md5sums === Массив контрольных сумм MD5 файлов, перечисленных в массиве {{ic|source}}. Когда все файлы в ма...")
Tags: Mobile web edit Mobile edit
Line 165: Line 165:


=== md5sums ===
=== md5sums ===
An array of MD5 checksums of the files listed in the {{ic|source}} array. Once all files in the {{ic|source}} array are available, an MD5 hash of each file will be automatically generated and compared with the values of this array in the same order they appear in the {{ic|source}} array. While the order of the source files itself does not matter, it is important that it matches the order of this array since {{ic|makepkg}} cannot guess which checksum belongs to what source file. You can generate this array quickly and easily using the commands {{ic|updpkgsums}} or {{ic|makepkg -g}} in the directory that contains the {{ic|PKGBUILD}} file.
Массив контрольных сумм MD5 файлов, перечисленных в массиве {{ic|source}}. Когда все файлы в массиве {{ic|source}} будут доступны - MD5-хэш каждого файла будет автоматически сгенерирован и сравнен со значениями этого массива в том же порядке, в котором они появляются в массиве {{ic|source}}. Хотя порядок исходных файлов сам по себе не имеет значения - важно, чтобы он совпадал с порядком этого массива, поскольку {{ic|makepkg}} не может угадать, какая контрольная сумма принадлежит какому исходному файлу. Вы можете быстро и легко сгенерировать этот массив с помощью команд {{ic|updpkgsums}} или {{ic|makepkg -g}} в каталоге, содержащем файл {{ic|PKGBUILD}}.
{{Note|The MD5 algorithm is known to have weaknesses, you should consider using a stronger alternative.}}
{{Note|Алгоритм MD5, как известно, имеет недостатки - Вам следует рассмотреть возможность использования более надежной альтернативы}}.


=== sha1sums ===
=== sha1sums ===
Cookies help us deliver our services. By using our services, you agree to our use of cookies.