aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/pkg/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Update to 1.14.6Emmanuel Vadot2020-06-291-1/+1
| | | | | | | | | | Changes from 1.14.5 to 1.14.6: - Fix linking on FreeBSD Approved by: bapt (implicit) Notes: svn path=/head/; revision=540761
* Update to 1.14.5Emmanuel Vadot2020-06-251-2/+1
| | | | | | | | | | | Changes from 1.14.4 to 1.14.5: - Prevent potential hang with lua scripts - Add a debug message if obtaining the lock fails Approved by: bapt Notes: svn path=/head/; revision=540398
* ports-mgmt/pkg: Respect liblzma.pc if available.Xin LI2020-06-201-0/+12
| | | | | | | | | | | | | Note that this is meant to be a temporary hack and will be reverted once the freebsd/pkg have solved this in the build infrastructure. PR: 200142 MFH: 2020Q2 Approved by: portmgr (bapt over IRC) Differential Revision: https://reviews.freebsd.org/D24972 Notes: svn path=/head/; revision=539750
* Update to 1.14.4Baptiste Daroussin2020-04-291-1/+1
| | | | | | | | | | | - fix a hang in pkg scripts PR: 245462 Submitted by: sobomax Reported by: sobomax, jkim Notes: svn path=/head/; revision=533325
* Update to 1.14.3:Baptiste Daroussin2020-04-271-1/+1
| | | | | | | | | | | | - Add pkg create -l to set compression level - Parallelize the run of kyua - Fix VERSION_MINOR UCL expansion - Bring back pkg create -n - Document pkg_create(3) - Improve documentations in pkg-set(8) Notes: svn path=/head/; revision=533108
* Update to 1.14.2Baptiste Daroussin2020-04-031-1/+1
| | | | | | | - Disable keep-alive for now, it is not stable enough Notes: svn path=/head/; revision=530484
* Update to 1.14.1Baptiste Daroussin2020-04-021-1/+1
| | | | | | | | - fix a regression in the autosetup system which resulted in bad path for periodic script Notes: svn path=/head/; revision=530393
* Update to 1.14Baptiste Daroussin2020-04-021-3/+6
| | | | | | | | | | | | | | Major changes since 1.13: - HTTP keep-alive in libfetch (imported from xbps) - allow to backup shared libraries during upgrades (a compat-libraries packages is created to keep track of it) - better reproducible build support - More variable exposed to configuration exp-run by: antoine Notes: svn path=/head/; revision=530367
* Update to 1.13.2Baptiste Daroussin2020-02-211-1/+1
| | | | | | | | - fix pkg fetch -o - accept again colon before path in ssh url scheme in repositories Notes: svn path=/head/; revision=526628
* Update to 1.3.1Baptiste Daroussin2020-02-121-1/+1
| | | | | | | | | - Fix inverted logic that lead to pkg always restarting rc scripts Reported by: flo Notes: svn path=/head/; revision=525910
* Release pkg 1.13Baptiste Daroussin2020-02-111-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - when installing over a non tracked file (not owned by any package) pkg now saves a copy of that file as .pkgsave - Fix a chicken/egg problem with the meta being compressed and defining the compression format. Now pkg repo will create a meta.conf file uncompressed (it is small enough) and fallback on the old meta.txz. Note that meta.txz is still created for backward compatibility. - pkg repo now creates meta files in version 2 by default meaning the digests.txz (this was only used with pkg up to 1.2). Anyone using that version and willing to upgrade can do it via: pkg bootstrap -f - suppress version checking when -j is specified - Alphabetically sort packages printed in the output of pkg commands to ease readability - pkg lock/unlock now allows multiple packages in arguments - shell script can now print messages along with pkg-messages by writing to ${PKG_MSGFD} file descriptor - improve error reporting when parsing vuxml files - lua script are now ready for prime time: - sanboxed with capsicum on plateforms that support it - rootdir native - documented - Fix pkg backup - pkg now gives a hint about running pkg update -f in case of "size mismatch" - scripts (lua and shell) can now determine if they are in the process of an upgrade or an installation via a variable - shell scripts are now fully documented - keyword files are now documented PR: 243564 exp-run by: antoine Notes: svn path=/head/; revision=525794
* Import the libfetch patch to the bundled libfetchBaptiste Daroussin2020-01-291-0/+1
| | | | Notes: svn path=/head/; revision=524543
* Release pkg 1.12.0Baptiste Daroussin2019-09-181-1/+1
| | | | | | | | | | | | | | | | | | | | | - updating: allow to use regular expession in AFFECTS: value - updating: improve the exact matching for AFFECTS: values - recommand using pkg bootstrap -f instead of pkg-static install -f to reinstall pkg itself - Add support for lua in package scripts (not documented yet) - Add support for lua in keywords definition (not documented yet) - Properly detect when base libarchive is linked to zstd and handle it. (needed an upcoming change in base) - Add a function tu lua script to append message at the run of the pkg process along with other messages - Add the missing warning about @unexec being deprecated for a while now in pkg-plist - Fix build with gmake - Ensure pkg_shutdown properly reinitialize all the closed fd to -1. - Do not crash when being passed an unsupported ABI Notes: svn path=/head/; revision=512256
* Respect CCBaptiste Daroussin2019-06-031-0/+1
| | | | | | | Submitted by: tijl Notes: svn path=/head/; revision=503375
* - fix build with custom PREFIXDirk Meyer2019-06-031-1/+1
| | | | | | | PR: 238296 Notes: svn path=/head/; revision=503349
* Update to 1.11.1Baptiste Daroussin2019-05-311-1/+1
| | | | | | | | | | | - Fix abi string for dragonfly - Fix libfetch built without ipv6 support [1] PR: 238264 Reported by: ume Notes: svn path=/head/; revision=503177
* Update to 1.11Baptiste Daroussin2019-05-311-14/+10
| | | | | | | | | | | | | | | | | | | | | | | | | Improvements: * better ABI name on linux * lots of changes in internal API to use fd when possible * 410.pkg-audit now uses anticongestion on freebsd 12+ * completion improvements * add an extra line when printing pkg-messages to improve readability * add %q to pkg_printf(3) and pkg-query(8) to print altabi * make pkg version -r imply -R * New build system based on autosetup * pkg is now a semi static binary * Add 3 new aliases: - rall-depends: showing depenencies of a non installed package - rcomment: showing only the comment of a non installed package - rdesc: showing only the description of a non installed package * close stdin when running scripts * Tons of bug fixes Removal: * removed option: pkg repo -L * removed script: pkg2ng Notes: svn path=/head/; revision=503131
* Add a patch to fix pkg-static with linked against openssl 1.1.1Baptiste Daroussin2018-10-161-1/+1
| | | | | | | | | | This is needed to be able to sign repository with pkg-static Reported by: many (based on a patch by gjb) MFH: 2018Q4 Notes: svn path=/head/; revision=482214
* - Bump PORTREVISION to chase openssl update in CURRENTRyan Steinmetz2018-10-111-1/+1
| | | | Notes: svn path=/head/; revision=481775
* Apply a patch from git that fixes make packages with hardlinks and config files.Brad Davis2018-09-101-1/+1
| | | | Notes: svn path=/head/; revision=479486
* Add DOCS options to ports that should have one.Mathieu Arnold2018-09-101-2/+6
| | | | | | | | | | | Also various fixes related to said option. PR: 230864 Submitted by: mat exp-runs by: antoine Notes: svn path=/head/; revision=479406
* Add a small patch to pkg to fix NULL check in pkg_is_config_file().Brad Davis2018-08-201-1/+1
| | | | | | | | | This helps pkgbase users with recent updates. Approved by: bapt Notes: svn path=/head/; revision=477662
* Apply patch for a segfault on upgradeBrad Davis2018-05-091-0/+1
| | | | | | | | | https://github.com/freebsd/pkg/issues/1663 Approved by: bapt Notes: svn path=/head/; revision=469451
* Update pkg to 1.10.5Brad Davis2018-02-151-1/+1
| | | | | | | | PR: 225104 Reviewed by: bdrewery Notes: svn path=/head/; revision=461849
* Don't use pkg-static when cross buildingSteve Wills2018-02-061-0/+5
| | | | | | | | | PR: 224217 Submitted by: nwhitehorn Approved by: bapt Notes: svn path=/head/; revision=461053
* Update to 1.10.4Baptiste Daroussin2018-01-061-2/+1
| | | | | | | | - Fix progression display - Parse FreeBSD OS version and forbid to install too new packages Notes: svn path=/head/; revision=458302
* Fix segfault in pkg version against the ports treeBaptiste Daroussin2017-12-051-0/+1
| | | | | | | | | PR: 224023 Reported by: jrm, kib, Trond.Endrestol@ximalas.info Tested by: jrm (an early version of the patch) Notes: svn path=/head/; revision=455589
* Update to 1.10.3Baptiste Daroussin2017-12-041-4/+1
| | | | | | | | | | | - Accept DT_SONAME anywhere in .dynamic when parsing elf binaries - Fix pkg version when it deals with the ports tree and INDEX after flavors - Sort fts traversal in repo creation (for reproducible builds) - Documentation improvements - make pkg version -r imply -R Notes: svn path=/head/; revision=455546
* Add patches from git to handle pkg version with newly flavoured ports treeBaptiste Daroussin2017-12-011-0/+3
| | | | Notes: svn path=/head/; revision=455294
* Update to 1.10.2Baptiste Daroussin2017-11-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes from 1.10.1 to 1.10.2 - pkg clean is now happy if the cache dir non existing - 410.pkg-audit now uses anticongestion on freebsd 12 - fix pkg install -r foo if foo is a disabled repository - fix elf handling on non FreeBSD - fix support for platforms without AT_SYMLINK_NOFOLLOW - fix dropping privileges on Linux - fix build with recent libbsd - fix duplicate pkg registration overwriting the existing pkg - fix again using pattern as package arch - recognize armv7 - add %q to pkg_printf(3) and pkg-query(8) to print altabi - add support for new periodic variables in multiple scripts - add an extra line when printing pkg-messages to improve readability - stop considering nfs as dangerous and if a corruption happens on nfs drive by a message the user to the highly possible reason of the corruption so that he can fix - better ABI name on linux - fix pollution of "locked" message PR: 221129 exp-run by: antoine Notes: svn path=/head/; revision=454228
* Retire WITHOUT_DEBUG flag.Guido Falsi2017-10-151-1/+1
| | | | | | | | | | | | The flag has partial support across the tree, and the same effect can be obtained by using ".undef WITH_DEBUG". Reviewed by: mat, rene Approved by: portmgr (rene) Differential Revision: https://reviews.freebsd.org/D12548 Notes: svn path=/head/; revision=452147
* Update to 1.10.1Baptiste Daroussin2017-03-261-2/+1
| | | | | | | | | | | | | | - Cache pw result to avoid over reloading nssswitch.conf - Fix allow to set env per repo for everykind of repo - Fix signing_command something saving a truncated signature in the file as a result pkg will reject any repository signed - Fix sqlite vfs overload with new sqlite - pkg which: add -m to show what files matched using globs - Revert the new UI which does not respect 80 columns - Fix query '%q' printing the internal arch instead of the official one Notes: svn path=/head/; revision=437007
* Fix signing_command something saving a truncated signature in the fileBaptiste Daroussin2017-02-271-1/+1
| | | | | | | as a result pkg will reject any repository signed Notes: svn path=/head/; revision=434959
* Allow per repo environment variable to be set forBaptiste Daroussin2017-02-251-0/+1
| | | | | | | | | | every kind of repositories Reported by: kib Tested by: kib Notes: svn path=/head/; revision=434798
* Release pkg 1.10.0Baptiste Daroussin2017-02-241-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix pkg which -g * Do not use openssl for sha256 * Improve the default output when fetching data * Update libfetch to the version of FreeBSD 11 * Fix NetBSD ABI * Add a fallback for utimensat when reporting EOPNOTSUPP * replace libsbuf with utstring for portability * Overwrite some sqlite vfs functions to allow more capsicumisation of pkg * move more pkg audit details into the library * allow to run pkg query without any privileges * extend the audit periodic script to report deprecated packages * Fix fd leak to rcscripts * stop dropping privieges during fetching it causes more issues than it solves * speed walking though [reverse]dependencies * Update blake2b to latest version * Add blake2s to the list of supported checksums * Internal digest now default on blake2b on 64 bits and blake2s on 32 bits. * Fix segfault when ABI is defined but empty * Do not use the shared library provides/requires on non FreeBSD/Linux * Define _NETBSD_SOURCES on NetBSD to allow libfetch to use funopen * Document vital flags * Fix potential double free when dealing with @config keyword * Add progress when fetching (number of files to fetch) * Improved messages about locked packages * Return 1 when a user rejects the proposed plan * When dealing with configuration files '@config' never overwrites non tracked files * Warn everyone about deprecation of @dirrm and @exec * Deduplicate metadata loading code * pkg register now understands context aware messages * Fix pkg register issues with some version of libarchive: hardlinks not being made hardlinks sometime issues when PREFIX is a symlink to another directory * Use portable mechanism to find the number of CPUs which allows pkg repo to be faster on linux * New pkg upgrade --vulnerable Notes: svn path=/head/; revision=434755
* - Instruct portscout to ignore theseRyan Steinmetz2017-01-031-0/+1
| | | | Notes: svn path=/head/; revision=430519
* Fix file descriptor leak that might lead to errors on packages with lots of ↵Baptiste Daroussin2016-12-251-0/+1
| | | | | | | | | | files PR: 215544 Submitted by: pasokondokoro@gmail.com Notes: svn path=/head/; revision=429439
* Update to 1.9.4Baptiste Daroussin2016-12-081-1/+1
| | | | | | | | | | | | | | | | | | | | - Stop dropping privileges for fetching, it causes more issues than it solves - Fix segfault when ABI is defined by empty - Fix reporting of deprecated packages - Provide instructions on how to unset vital flages - Fix libfetch for NetBSD - Fix @config potential double free - Always warn about the deprecated @dirrm/@dirrmtry - Always warn about the deprecated @exec - Rework pkg register to share more code with pkg install * It makes it more robust to libarchive regressions [1] PR: 214381 [1], 215029 [2] Reported by: lampa@fit.vutbr.cz [1] Exp-run: antoine [2] Notes: svn path=/head/; revision=428110
* Update to 1.9.3Baptiste Daroussin2016-11-031-1/+1
| | | | | | | | | | | - Fix file descriptor leak during rc script execution - Fix setting attributes on directories - Fix locking on NFS - Allow pkg annodate -S to run as a non priviledge user - Extend the audit periodic script to report about expiration/deprecation Notes: svn path=/head/; revision=425275
* Update to 1.9.2Baptiste Daroussin2016-10-291-1/+4
| | | | | | | | | - Fix NetBSD ABI - Add a fallback for when utimensat returns EOPNOTSUPP like on some NFS servers - Install the NEWS file Notes: svn path=/head/; revision=424896
* Release 1.9.1Baptiste Daroussin2016-10-161-1/+1
| | | | | | | | | | - fix a fd leak on freebsd <11 Reported by: mat Tested by: mat Notes: svn path=/head/; revision=424068
* Update to 1.9.0Baptiste Daroussin2016-10-151-2/+1
| | | | | | | | | | | - Drop privileges in many commands - Drop privileges when fetching a file - Add resource limitation in sandboxes - Add support for METALOG - pkg delete new prints a warning for pattens that matches nothing? Notes: svn path=/head/; revision=424032
* Force a rebuild to bring in libarchive fixes from head r305819.Bryan Drewery2016-09-141-1/+1
| | | | | | | MFH: 2016Q3 Notes: svn path=/head/; revision=422170
* Add javavmwrapper 2.5_1 to the list of buggy scriptsBaptiste Daroussin2016-09-131-1/+1
| | | | Notes: svn path=/head/; revision=422083
* Add a hack in pkg to skip running predeinstall for javavmwrapper-2.5Baptiste Daroussin2016-07-311-0/+1
| | | | | | | | | | | | | | During upgrades/reinstall javavmwrapper 2.5 pre deinstall script deletes the pkg temporary files preventing to finish the upgrade. A fixed version of javavmwrapper will be made soon, this hack will remain in the ports tree and not in pkg(8) itself. This hack is made to not bother users is only affecting upgrade/reinstall phase not proper deinstall PR: 210313 Notes: svn path=/head/; revision=419360
* Update to 1.8.7Baptiste Daroussin2016-07-051-1/+1
| | | | | | | | | | | | | - update internal expat to 2.2.0 - fix external solver - fix build on freebsd pre 9.2 - fix warnings on armv6 - fix solver issue resulting in missing conflicts or reinstalling unneeded packages - add a mini summary at the end of the output Notes: svn path=/head/; revision=418088
* Release 1.8.6Baptiste Daroussin2016-06-251-2/+1
| | | | | | | | | | | - Important fixes in the solver - When conflicts are found, they are explicitly printed - Reduce namecache contention a bit - Temporary files created during extraction are now hidden - Accept symlinks to directories when pkg is expecting a directory Notes: svn path=/head/; revision=417464
* Fix pkg upgrade -fBaptiste Daroussin2016-06-121-0/+1
| | | | Notes: svn path=/head/; revision=416827
* Release 1.8.5Baptiste Daroussin2016-06-091-2/+1
| | | | | | | | | Changes: - Fix mirror_type: http with https servers - Fix regression in the solver that tries to reinstall reverse deps sometime Notes: svn path=/head/; revision=416634
* Add a patch to fix grabbing mirror lists over httpsBaptiste Daroussin2016-06-081-0/+1
| | | | | | | | | | | Note that people are using mirror_type: http when they should not most probably due to bad documentation on our side so we will improve that later mirror_type: http is only useful if you actually host multiple mirror of your repos see pkg-repository(5). Notes: svn path=/head/; revision=416541