Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-04-13 | pkgmk: added '--format=gnutar' to bsdtar call in build_package() to deal ↵HEADpkgutils-5.40.9master | Matt Housh | |
with some locale issues | |||
2022-01-13 | pkgmk: use curl as the default download programpkgutils-5.40.8 | Juergen Daubert | |
2021-12-18 | pkgmk: set LC_ALL to C.UTF-8 | Juergen Daubert | |
2021-10-05 | adjust copyright year | Juergen Daubert | |
2021-10-05 | pkgmk: call signify with absolute path | Juergen Daubert | |
2021-10-05 | pkgmk: add possibility to change the name of downloaded tarballs | John McQuah | |
2018-11-17 | readd bz2 support - don't commit while drunk | Fredrik Rinnestam | |
2018-03-25 | faster strip_files() function | Fun | |
Tested with a port with 5500 output files, from which 53 candidates for stripping. The timing was: - 30 secs (old code) - 0.2 secs (new code - current patch) - 1.4 secs (new code with proper quoting - not commited) Most of the time is spent in getting the output from the file program. The old code started the file program for every file. The new/present code starts N=$(nproc) processes in parallel with 10 input files for each 'file' process. The output of the file program is feed to an awk process which filters-out only the candidates for stripping. This process runs in parallel too (but with one file per strip process). The --no-buffer options is used because it sounds good (the strip should start as soon as one of the file processes has a verdict for one of their 10 files), but I didn't measure it. The "xargs -r -L10 -P$N" command will miss the files with spaces. For a file named "a b" it will spawn: file "a" "b" A slower version, with proper quoting, "xargs -r -L1 -P$N -I{} file ... '{}'", will spawn: file "a b" * xargs will force -L1 if -I{} is used Given that the file process doesn't return error codes for non-existing files, and that there is a very low probability that we have ports with filenames constaining spaces that are worth stripping them, I choose to keep the faster (non perfect) version. | |||
2018-02-07 | pkgmk: dropped bzip2 support, added support for lzip | Fredrik Rinnestam | |
2017-11-30 | pkgmk: use --compression=none for wget by default. | Fredrik Rinnestam | |
2017-09-20 | pkgmk: fix the up-to-date option (avoid unnecesarry rebuilds) | just_fun | |
build_needed() function returns true/yes if a source is missing, even when the target/package exists and is up-to-date. This behaviour triggers unnecesarry rebuilds. Because only the remote sources can be missing and we don't want to rebuild a port just because we've deleted some of its remote sources, this patch changes that condition from: ( the source is missing OR is newer than the target/package ) to ( the source exists AND is newer than the target/package ) | |||
2017-09-20 | pkgmk: dont export PKG, SRC FS#1367 | Fredrik Rinnestam | |
2017-09-19 | pkgmk.in: Add 7z to unpack_source function | Predrag Ivanovic | |
Libarchive(bsdtar) can extract 7-Zip archives since 3.0, so add them as supported source Ref: https://github.com/libarchive/libarchive/wiki/LibarchiveFormats | |||
2017-04-19 | pkgmk: update .md5sum if present (even when the port was signed) | just_fun | |
2017-04-05 | pkgmk: ignore md5sums unless signatures are missing | Fredrik Rinnestam | |
2017-02-28 | pkgmk: Remove check for empty $source in check_signature(), patch by just_fun | Juergen Daubert | |
2017-02-23 | pkgmk: Removed checking for in make_signature()pkgutils-5.40.1 | Fredrik Rinnestam | |
this is an artifact from make_md5sum() and NOT needed for make_signature(). In fact, this check breaks make_signature() because now packages that don't have a $source don't get any .signature at all, even though it can (and should) create a sha256 for the footprint and Pkgfile. Patch by Camille (onodera). | |||
2017-02-23 | Fixed various style errors and some typos. Patch by Camille (onodera). | Fredrik Rinnestam | |
2017-02-18 | pkgmk: don't assume file will print a ',' with future releases | Fredrik Rinnestam | |
2017-02-18 | pkgmk: Actually strip executables and objects. Patch by Roman Oreshnikov | Fredrik Rinnestam | |
FS#1378 | |||
2017-02-07 | updated copyright to 2017 | Fredrik Rinnestam | |
2016-11-30 | pkgmk.in: fix typo in the help text | Thomas Penteker | |
2016-10-05 | update copyright year | Juergen Daubert | |
2016-10-04 | pkgmk: extract archives with tar.lz extension | Juergen Daubert | |
2016-04-21 | document new command-line switches in pkgmk.8 | Thomas Penteker | |
2016-04-08 | clean ups and -cs now checks the signature even if the binary package is ↵ | Thomas Penteker | |
already present | |||
2016-04-07 | fix indentation even more | Thomas Penteker | |
2016-04-02 | implement proper fallback with/without PKGMK_IGNORE_MD5SUM and ↵ | Thomas Penteker | |
PKGMK_IGNORE_SIGNATURE | |||
2016-04-02 | fix indentation, remove --insecure and no-check-certificate from curl and ↵ | Thomas Penteker | |
wget options | |||
2016-03-28 | strip -x from shebang | Thomas Penteker | |
2016-03-28 | implement signature handling; yes indenting is broken | Thomas Penteker | |
2015-07-25 | pkgmk: add support for curl | Alan Mizrahi | |
See FS#1060, https://crux.nu/bugs/index.php?do=details&task_id=1060 New variables in /etc/pkgmk.conf: PKGMK_DOWNLOAD_PROG="" (curl or wget) PKGMK_CURL_OPTS="" (parameters for curl, when using curl) | |||
2013-01-21 | update copyright year to 2013 | Juergen Daubert | |
2012-11-28 | pkgmk: add support for plain tar, FS#603 | Juergen Daubert | |
2012-11-27 | pkgmk, pkgmk.conf: updates for multilib | Matt Housh | |
2010-05-29 | Updated copyright notices to 2010. | Juergen Daubert | |
2010-05-27 | Bug #221: added error codes. | Johannes Winkelmann | |
2010-05-23 | Bug #221: pkgmk optionally now only warns about new files in a footprint. | Johannes Winkelmann | |
2010-05-21 | Bug #581: Users may choose from gz/bz2/xz for the compression mode now. | Juergen Daubert | |
2010-03-27 | Added support for *.tbz2 and *.txz source entries in pkgmk. | Andrew Brouwers | |
2010-03-27 | Added support for *.rpm source entries in pkgmk. | Andrew Brouwers | |
2009-07-21 | Also accept *.tar.lzma source archives. | Tilman Sauerbeck | |
2009-07-16 | Preserve file permissions and ownership when extracting distfiles. | Juergen Daubert | |
2009-07-15 | Bug #360: Check whether files are writable early. | Juergen Daubert | |
2009-06-20 | Use bsdtar instead of GNU tar to extract all handled archive formats. | Tilman Sauerbeck | |
2008-11-01 | Bug #336: Only accept http/https/ftp/file protocols in sources. | Juergen Daubert | |
2008-11-01 | Bug #347: wget options are configurable now. | Juergen Daubert | |
2008-09-30 | pkgmk: add "extract only" functionality, previously suggested by Lucas Hazel ↵ | Johannes Winkelmann | |
and Danny Rawlins | |||
2008-04-11 | Bug #241: Don't check SSL certificates. | Brett Goulder | |
pkgmk's mechanism to check file integrity is .md5sum, so relying on proper SSL certificates for https connections isn't critical. This fixes transfers from https servers whose SSL certificates are self signed only. Original patch by Jose V Beneyto <sepen@users.sourceforge.net>. | |||
2007-12-02 | added PKGMK_SOURCE_MIRRORS support | Matt Housh | |