summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-13pkgmk: added '--format=gnutar' to bsdtar call in build_package() to deal ↵HEADpkgutils-5.40.9masterMatt Housh
with some locale issues
2022-01-13pkgmk: use curl as the default download programpkgutils-5.40.8Juergen Daubert
2021-12-18pkgmk: set LC_ALL to C.UTF-8Juergen Daubert
2021-10-05adjust copyright yearJuergen Daubert
2021-10-05Makefile: bump versionJuergen Daubert
2021-10-05pkgmk: call signify with absolute pathJuergen Daubert
2021-10-05Makefile: add new man-page pkgfile.5Juergen Daubert
2021-10-05pkgfile.5: new man-page, initial work by funJohn McQuah
2021-10-05pkgmk: add possibility to change the name of downloaded tarballsJohn McQuah
2018-11-17readd bz2 support - don't commit while drunkFredrik Rinnestam
2018-04-10pkgadd: add lzip support (closes FS#1638)Fun
It should complete the commit ae5df6094b41 ('pkgmk: dropped bzip2 support, added support for lzip'). Signed-off-by: Fun <just.the.real.fun@gmail.com>
2018-03-25faster strip_files() functionFun
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-14pkgutils 5.40.7pkgutils-5.40.7Fredrik Rinnestam
2018-02-07pkgmk: dropped bzip2 support, added support for lzipFredrik Rinnestam
2018-01-27pkgadd.conf: Don't overwrite rc.d/wlan on updateFredrik Rinnestam
2017-11-30bump versionpkgutils-5.40.6Fredrik Rinnestam
2017-11-30pkgmk: use --compression=none for wget by default.Fredrik Rinnestam
2017-09-20bump versionpkgutils-5.40.5Fredrik Rinnestam
2017-09-20Add JOBS to pkgmk.confjust_fun
2017-09-20pkgmk: 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-20pkgmk: dont export PKG, SRC FS#1367Fredrik Rinnestam
2017-09-19bump version to 5.40.4pkgutils-5.40.4Fredrik Rinnestam
2017-09-19cleanupFredrik Rinnestam
2017-09-19added sepen's patch for pkgadd config-fileFredrik Rinnestam
2017-09-19pkgadd: avoid fake installations if unpacking failsjust_fun
This patch aborts the package installation and remove the package from the database on any extraction error. This fixes FS#620. I don't know why the extraction errors were ignored (even documented). The initial commit already had this behaviour. Another odd thing is that the install status of the package was commited to the database before it was installed while there are exceptions used in pkg_install(): - archive open error - empty archive - archive read error Any of these errors will falsely mark the package as installed (maybe not a big problem with upgrades). To avoid breaking something (else), this fix kicks in only with fresh installs (not upgrades). Thanks Erich Eckner, for pointing out that the issue is reproductible with a read-only destination. Otherwise, I don't think I would have looked at this issue. A test case is presented with the FS issue, just in case someone who loves C++ enough to dig deeper or have more knowledge about the history of this program would take a closer look.
2017-09-19pkgmk.in: Add 7z to unpack_source functionPredrag 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-05-08pkgutils-5.40.3pkgutils-5.40.3Fredrik Rinnestam
2017-04-19pkgmk: update .md5sum if present (even when the port was signed)just_fun
2017-04-08bump Makefile versionpkgutils-5.40.2Fredrik Rinnestam
2017-04-05pkgmk: ignore md5sums unless signatures are missingFredrik Rinnestam
2017-02-28pkgmk: Remove check for empty $source in check_signature(), patch by just_funJuergen Daubert
2017-02-28pkgadd: fix deprecated warning, patch by tnutJuergen Daubert
2017-02-23pkgmk: Removed checking for in make_signature()pkgutils-5.40.1Fredrik 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-23Fixed various style errors and some typos. Patch by Camille (onodera).Fredrik Rinnestam
2017-02-18pkgmk: don't assume file will print a ',' with future releasesFredrik Rinnestam
2017-02-18pkgmk: Actually strip executables and objects. Patch by Roman OreshnikovFredrik Rinnestam
FS#1378
2017-02-08pkgmk.conf: include PKGMK_IGNORE_MD5SUM and PKGMK_IGNORE_SIGNATURE variablesFredrik Rinnestam
2017-02-07signify related updates to pkgmk.8.inFredrik Rinnestam
2017-02-07updated copyright to 2017Fredrik Rinnestam
2016-11-30pkgmk.in: fix typo in the help textThomas Penteker
2016-10-05update copyright yearJuergen Daubert
2016-10-04pkgmk: extract archives with tar.lz extensionJuergen Daubert
2016-08-06Merge branch 'signed'Thomas Penteker
2016-08-06pkgmk.8: minor documentation adjustmentssignedThomas Penteker
2016-06-15Makefile: bump version to 5.40pkgutils-5.40Fredrik Rinnestam
2016-04-21document new command-line switches in pkgmk.8Thomas Penteker
2016-04-08clean ups and -cs now checks the signature even if the binary package is ↵Thomas Penteker
already present
2016-04-07fix indentation even moreThomas Penteker
2016-04-02implement proper fallback with/without PKGMK_IGNORE_MD5SUM and ↵Thomas Penteker
PKGMK_IGNORE_SIGNATURE
2016-04-02fix indentation, remove --insecure and no-check-certificate from curl and ↵Thomas Penteker
wget options

Generated by cgit