summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLUtils.pm
AgeCommit message (Collapse)Author
2016-04-12reintroduce verify_checksum, single out code, adapt tlmgrNorbert Preining
tlmgr uses verify_checksum to verify the downloaded tlpdb copy with the remote checksum to reduce loading time. Reintroduce verify_checksum, single out the code from verify_download, and adjust tlmgr to new calling convention that second argument is already the url for the checksum git-svn-id: svn://tug.org/texlive/trunk@40446 c570f23f-e606-0410-a88d-b1316a301751
2016-04-12unify the verify_* functions, simplify code, verify checksum fileNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40444 c570f23f-e606-0410-a88d-b1316a301751
2016-04-12switch to home-made gpg calling, make tlmgr workNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40440 c570f23f-e606-0410-a88d-b1316a301751
2016-04-12gpg signature check workingNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40438 c570f23f-e606-0410-a88d-b1316a301751
2016-04-12refactor downloading, verify downloaded tlpdbNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40437 c570f23f-e606-0410-a88d-b1316a301751
2016-04-12TLUtils: new function: setup_gpgNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40436 c570f23f-e606-0410-a88d-b1316a301751
2016-04-12work on gpg verification functionNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40435 c570f23f-e606-0410-a88d-b1316a301751
2016-04-12use tlchecksum instead of tlmd5Norbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40434 c570f23f-e606-0410-a88d-b1316a301751
2016-04-12add a verify_checksum functionNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40432 c570f23f-e606-0410-a88d-b1316a301751
2016-04-12allow for non-failing setup_unix_oneNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40431 c570f23f-e606-0410-a88d-b1316a301751
2016-04-12replace sha256 with generic checksumNorbert Preining
We use tldigest($string) or tlchecksum($file) to generate checksum. The algorithm can be changed at any time provided that tldigest and tlchecksum (in TLUtils) and the setting TLConfig::ChecksumLength are kept in sync. git-svn-id: svn://tug.org/texlive/trunk@40429 c570f23f-e606-0410-a88d-b1316a301751
2016-04-12use sha256 for remote tlpdb and location checksNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@40423 c570f23f-e606-0410-a88d-b1316a301751
2016-04-05preliminary 2016 release and copyright yearsKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@40251 c570f23f-e606-0410-a88d-b1316a301751
2016-01-12Re-apply temporary removed changes to installer and tlmgrNorbert Preining
The changes in svn 39284-39294 have been reverted in svn 39298 to fix a bug in TLDownload that slipped out (svn 39300). Reapply these changes. git-svn-id: svn://tug.org/texlive/trunk@39362 c570f23f-e606-0410-a88d-b1316a301751
2016-01-07revert changes in tlcritical to fix the TLDownload errorNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@39298 c570f23f-e606-0410-a88d-b1316a301751
2016-01-06unpack: return pair of 0,1 and msg, use itNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@39294 c570f23f-e606-0410-a88d-b1316a301751
2016-01-06checksum verification update, unwinding works againNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@39292 c570f23f-e606-0410-a88d-b1316a301751
2016-01-06debug and work on installationNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@39291 c570f23f-e606-0410-a88d-b1316a301751
2016-01-06TLUtils: remove install_package, replaced by TLPDB::install_packageNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@39289 c570f23f-e606-0410-a88d-b1316a301751
2016-01-06TLUtils::install_packages: replace long code with TLPDB::install_packageNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@39288 c570f23f-e606-0410-a88d-b1316a301751
2016-01-06TLUtils::unpack - only support .tar.xz, no .tar only anymoreNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@39285 c570f23f-e606-0410-a88d-b1316a301751
2016-01-06TLUtils::unpack - allow for checksum and size argument and removalNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@39284 c570f23f-e606-0410-a88d-b1316a301751
2015-12-08* bin/tlpfiles: doc tweaks.Karl Berry
* TeXLive/TLPDB.pm (find_file): no need for @foo. * TeXLive/TLPSRC.pm (): include $lineno in non-continuation error. * TeXLive/TLUtils.pm (parseAddFormatLine_line): doc. git-svn-id: svn://tug.org/texlive/trunk@39054 c570f23f-e606-0410-a88d-b1316a301751
2015-12-03doc/error wordingKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@39006 c570f23f-e606-0410-a88d-b1316a301751
2015-11-28rename triggers to fmttriggersNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@38967 c570f23f-e606-0410-a88d-b1316a301751
2015-11-28format triggersNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@38966 c570f23f-e606-0410-a88d-b1316a301751
2015-11-28some work on triggering format rebuildsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@38965 c570f23f-e606-0410-a88d-b1316a301751
2015-11-28allow for trigger=... in a format specificationNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@38964 c570f23f-e606-0410-a88d-b1316a301751
2015-05-06Do not create shortcut for missing targetSiep Kroonenberg
git-svn-id: svn://tug.org/texlive/trunk@37234 c570f23f-e606-0410-a88d-b1316a301751
2015-04-12forgotten change ...Norbert Preining
git-svn-id: svn://tug.org/texlive/trunk@36818 c570f23f-e606-0410-a88d-b1316a301751
2015-04-12(get_disabled_local_configs): don't worry ifKarl Berry
nothing passed. git-svn-id: svn://tug.org/texlive/trunk@36801 c570f23f-e606-0410-a88d-b1316a301751
2015-04-12version/year updates for TeX Live 2015Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@36787 c570f23f-e606-0410-a88d-b1316a301751
2014-12-31(add_link_dir_dir): use symlink() instead of system(ln -s).Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@35937 c570f23f-e606-0410-a88d-b1316a301751
2014-12-02* TLUtils.pm (add_link_dir_dir): only unlink a symlink, not everything;Karl Berry
idea from mpg tldev mail, 23 Jun 2011 13:45:27. (): do not complain if source man dir does nto exist. (dir_writable): merely reformat, no code changes. * install-menu.text.pl (main_menu): restore display of symlink creation option to the main menu. * install-tl (warnings_summary): indent by two spaces, not three. (welcome_paths): one less blank line. git-svn-id: svn://tug.org/texlive/trunk@35719 c570f23f-e606-0410-a88d-b1316a301751
2014-11-23* install-tl (run_postinst_cmd): new fn.Karl Berry
(do_postinst_stuff): call it; accumulate error count. * TLUtils.pm (wsystem): call system and warn if failure. * tl-update-tlnet: reimplement --no-consistency. git-svn-id: svn://tug.org/texlive/trunk@35647 c570f23f-e606-0410-a88d-b1316a301751
2014-11-14present platforms in OS on ARCH orderNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@35578 c570f23f-e606-0410-a88d-b1316a301751
2014-05-16dvipdfm removal, no need to create dirsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@34057 c570f23f-e606-0410-a88d-b1316a301751
2014-05-05(install_packages): use select(), not Time::HiRes,Karl Berry
which is not installed with the system Perl in CentOS 6, at least. git-svn-id: svn://tug.org/texlive/trunk@33866 c570f23f-e606-0410-a88d-b1316a301751
2014-04-20(install_packages): if we can't open the tlpobjKarl Berry
for writing, sleep and try again for a while on Windows. From TANAKA Takuji, 19 Apr 2014 23:02:29. git-svn-id: svn://tug.org/texlive/trunk@33564 c570f23f-e606-0410-a88d-b1316a301751
2014-04-17start 2014 pretest (per doc/releng.txt)Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@33475 c570f23f-e606-0410-a88d-b1316a301751
2014-02-21Add x86_64 with Cygwin to platform_desc(). Suggested by Ken Brown 2014-02-21Reinhard Kotucha
git-svn-id: svn://tug.org/texlive/trunk@33021 c570f23f-e606-0410-a88d-b1316a301751
2013-10-16(run_cmd): don't return undef for $output.Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@31914 c570f23f-e606-0410-a88d-b1316a301751
2013-08-24(platform_name) <darwin>: don't assume sysctl isKarl Berry
in /usr/sbin. git-svn-id: svn://tug.org/texlive/trunk@31511 c570f23f-e606-0410-a88d-b1316a301751
2013-08-24call /usr/sbin/sysctl on Mac OS X with full path (/usr/sbin might not be in ↵Mojca Miklavec
PATH) git-svn-id: svn://tug.org/texlive/trunk@31509 c570f23f-e606-0410-a88d-b1316a301751
2013-07-21usermode and updmap creation, report from Jan Musinsky 20 Jul 2013 16:20:04, ↵Karl Berry
fixes from Norbert git-svn-id: svn://tug.org/texlive/trunk@31259 c570f23f-e606-0410-a88d-b1316a301751
2013-06-25(platform_desc): explicit name for mipsel-linuxKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@30935 c570f23f-e606-0410-a88d-b1316a301751
2013-05-10w32 uninstaller fix; UNC paths; tl_abs_pathSiep Kroonenberg
git-svn-id: svn://tug.org/texlive/trunk@30367 c570f23f-e606-0410-a88d-b1316a301751
2013-04-26attempt netbsd guessing for i386 and amd64Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@30127 c570f23f-e606-0410-a88d-b1316a301751
2013-04-19fix updmap bugs (mail Michael Sharpe 16Apr)Norbert Preining
- updmap.pl: pull in touch from TLUtils - updmap.pl: remove any trace of TEXMFMAIN - TLUtils.pm: fix touch function to actually create a new file git-svn-id: svn://tug.org/texlive/trunk@30043 c570f23f-e606-0410-a88d-b1316a301751
2013-04-19msg tweaking in case of wget fallbackKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@30038 c570f23f-e606-0410-a88d-b1316a301751