aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/pkg-devel
Commit message (Collapse)AuthorAgeFilesLines
* ports-mgmt/pkg-devel: update to 1.18.99.3Baptiste Daroussin2022-08-042-5/+5
| | | | | Fix regression in hardlink creation, making them fail if not created in the same directory
* ports-mgmt/pkg-devel: update to 1.18.99.2Baptiste Daroussin2022-08-032-5/+5
| | | | | | | | Fix a regression introduced with the new ewtraction code which results in some bad directory path matching, creating "hidden" to pkg leftovers Reported by: tcberner
* ports-mgmt/pkg-devel: update to 1.18.99.1Baptiste Daroussin2022-08-032-5/+5
| | | | | Main change is a refactoring of the extraction process to fix a case where during an upgrade a file becomes a directory
* ports-mgmt/pkg-devel: update to 1.17.99.11 aka 1.18.0rc2Baptiste Daroussin2022-05-282-5/+5
| | | | | | Changes: - fix a regression about shlibs detected as changed wrongly - fix performance issue with pkg upgrade
* ports-mgmt/pkg-devel: update to 1.17.99.10Baptiste Daroussin2022-05-272-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes from 1.17.99.9 to 1.17.99.10 - greatly improve test coverage - many improvements in error handling for pkg fetch - Remove the deprecated pkg_get() function from the API - prevent @config files to be verified from pkg checksums checking - Remove ftp(s):// support - add tcp:// protocol support which allows to server packages form inetd and secure it via spiped for example - triggers can now be trigger when empty directories are added/removed - Add "orphans" aliases - speed up pkg which - Reduce the possibility to have a temporary file during package extraction which exceed NAME_MAX (maxium file name length) - If the pattern has a '/' in it, it now search origin and all other categories as well for example graphics/zathura and print/zathura will both match the zathura package - If the pattern has a '/' in it and a @ it will also search for the flavor <category>/<portname>@<flavor> # pkg install "editors/vim@tiny" # will install the vim-tiny package $ pkg search -g "editors/vim@*" vim Improved version of the vi editor (console flavor) vim-gtk2 Improved version of the vi editor (gtk2 flavor) vim-gtk3 Improved version of the vi editor (gtk3 flavor) vim-motif Improved version of the vi editor (motif flavor) vim-tiny Improved version of the vi editor (tiny flavor) vim-x11 Improved version of the vi editor (x11 flavor) - portability: build and run on alpine (musl)
* ports-mgmt/pkg-*: fix symbol collisionsBaptiste Daroussin2022-01-201-11/+1
| | | | | | | | | | | | | | while we fixed the symbol collision between libmd and libcrypto long ago in dynamic linked program, the collision is still there somehow for statically build programs. The manual check for liblzma_libs for static linking that was added long ago brings in a link to libmd before a link to libcrypto (this is since FreeBSD 13.0+ This manual check is not necessary anymore anyway, so let's drop it. Reported by: Franco Fitchner (from Opnsense)
* ports-mgmt/pkg-devel: Update to 1.17.99.9Baptiste Daroussin2021-11-122-5/+5
| | | | | | | | | Changes - pkg add: only runs triggers at the end of the equivalent of a transaction - pkg search: fix the combinaison of -q and -o - pkg fetch: correctly exit with error on fetch failures - Improve error message when failing to drop privileges - Ensure no temporary files are left overs when ignoring some files in package
* ports-mgmt/pkg-devel: update to 1.17.99.8Baptiste Daroussin2021-11-042-5/+5
| | | | | | | Changes: - ensure pkg waits for the programs executed by the triggers - bring back the fallback on the pkg add with mismatched version (with regression fixed)
* ports-mgmt/pkg-devel: update to 1.17.99.7Baptiste Daroussin2021-10-192-5/+5
| | | | | | | | | Changes: - speed up pkg repo on SMP machines - error on duplicated @config entry - revert the fallback on pkg add with mismatched version - document pkg upgrade --vulnerable - revert jail audit perdiodic script verbosity reduction
* ports-mgmt/pkg-devel: 1.17.99.6Baptiste Daroussin2021-10-042-5/+5
| | | | | - fix segfault when packaging packages providing shared libraries - fix fingerprint signature handling with rootdir
* ports-mgmt/pkg-devel: update to 1.17.99.5Baptiste Daroussin2021-09-213-5/+7
| | | | | | | | - document triggers - add pkg.readdir to lua scripts - reduce memory usage for hashes - fix memory corruption which can happen in some corner cases - run triggers for pkg add and pkg register
* ports-mgmt/pkg-devel: update to 1.17.99.4Baptiste Daroussin2021-09-143-5/+6
| | | | | | | | | | | | Changes from 1.17.99.3 to 1.17.99.4 - pkg version: fix regression from conversion to pkghash - allow filtering files at install time - add periodic script to check vulnerabilities in base - fix pkg failing to find its db if run from a directory which does not exists anymore - fix ubsan reported issues - fix priorization upgrade-removal along with other deletion - fix plenty of memory leaks
* ports-mgmt/pkg-devel: Fix packaging from poudriereEmmanuel Vadot2021-09-141-2/+7
| | | | | | | If there is no pkg(8) installed in the jail/host pkg-static will be used but we don't have pkg-static with SAN so add a link in the WRKSRC. Also poudriere just extract pkg-static from the pkg archive so cp instead of symlink
* ports-mgmt/pkg-devel: Fix package when SAN is onEmmanuel Vadot2021-09-141-0/+4
| | | | | There is no pkg-static when SAN is on but the framework needs it. So just ln pkg-static to pkg.
* ports-mgmt/pkg-devel: Add an option for building with sanitizerEmmanuel Vadot2021-09-141-1/+6
| | | | | Sanitizers helps finding problems, add an option to pkg-devel to be able to compile with them.
* ports-mgmt/pkg-devel: update to 1.17.99.3Baptiste Daroussin2021-08-232-5/+5
| | | | | | | | | | | | | | | | | - make pkg/audit.h C++ friendly - fix build with libressl - Enable aarch64 support for linux - plenty of portability fixes for linux with musl libc - autoremove: respect -q - version: report an error if the provided INDEX file does not exist - periodic: allow users so provide an ignore list of jails - periodic: reduce audit script verbosity - arch: to not consider .h as potentially arch specific - query: allow -e to be used with other filter options - register: implement a -N to disable registration in the database - rework internal hash tables - plenty of memory leak fixed - fetch; do not count cached files as files to be fetched
* ports-mgmt/pkg-devel: update to 1.17.99.2Baptiste Daroussin2021-07-272-5/+5
| | | | | | | | Changes from 1.17.99.1 to 1.17.99.2 - by default only create .txz symlinks for metadata - only consider the .pkg when creating a repository add an option REPO_ACCEPT_LEGACY_PKG to keep index old pkg - Reduce usage of memory stack
* ports-mgmt/pkg*: Release 1.17.0Baptiste Daroussin2021-07-222-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TL;DR: new uniq package file extension: '.pkg' Full changelog for pkg: - add a new "snap" prefix, to deal with pkg base snapshots - pkg repo now accepts packages with different compression formats - pkg now have a single extension: ".pkg" and a backward compatible symlink is created when the package is created to help transitioning - Default compression level for zstd is now set to 19 - the default compression level is now a configuration option - plenty of portability fixes - fix plenty of typos - expose the name of the package to lua and shell scripts - plist: remove internal support for @*exec (this is now in the ports tree) remove support for @ignore remove support for @dirrm/@dirrmtry remove support for @pkgdep remove stub support for @stopdaemon remove stub support for @display remove stub support for @mtree remove stub support for @conflict - VUXML: fetch .xz compressed version of the file by default - triggers are deferred to later command (firstboot is planned) if run with pkg -r - pkg triggers commands has been added and can execute the deferred triggers for example at firstboot Changes in the framework: - Add a backward compatibility layer, so people are not forced to move to pkg 1.17 yet (new quarter we will enforce the switch for triggers anyway, but it gives time to people to switch) - Introduce a new PKG_COMPRESSION_FORMAT for users to specify the compression format they are willing to use when creating packages: txz, tar, tgz, tbz, tzst are the valid ones (note that tzst is only usable on FreeBSD 13 and 14) - Add a backward compatibility for people who specified the compression format already via PKG_SUFX and issue a warning to tell them about the deprecation of PKG_SUFX
* Update to 1.16.99.5Baptiste Daroussin2021-04-262-5/+5
| | | | | | | | | | | | Changes: - allow to execute programs from lua script and triggers - fetch vuln.xml.xz by default - triggers detected by pkg -r are now deferred for firstboot - pkg triggers command can be executed at first boot to run the deferred triggers Note this is expect to be the last release before 1.17 (depending on how many new bugs has been introduced)
* One more small cleanup, forgotten yesterday.Mathieu Arnold2021-04-071-1/+0
| | | | Reported by: lwhsu
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* Update to 1.16.99.4Baptiste Daroussin2021-03-262-5/+5
| | | | | | | | | | | | | | | | | | | | Changes from 1.16.99.3 to 1.16.99.4 - expose the name of the packages to its scripts lua and shell - plist: remove internal support for @*exec - plist: remove support for @ignore - plist: remove suppot for @dirrm/@dirrmtry - plist: remove support for @pkgdep - plist: remove stub support for @stopdaemon - plist: remove stub support for @display - plist: remove stub support for @mtree - plist: remove stub support for @conflict - info: fix info processing of mutliple compares - ci runs again on linux and osx - portability fixes for linux and osx - ubsan/asan related fixes Notes: svn path=/head/; revision=569277
* update to 1.16.99.3:Baptiste Daroussin2021-03-172-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | The main big change is the switch of the package extension to .pkg This is done so we can change compression format without having to modify the tools each time to adapt to the new extension While here adapt the ports tree to the new .pkg extension and prepare the pkg-devel ports to swicth the package compression format to zstd in FreeBSD 14 in a month to give time to upgrade to a version which have the bootstrap knowing about .pkg. Changes from 1.16.99.2 to 1.16.99.3 - lua update to 5.4.2 - pkg repo accept now all supported formats mixed without config - pkg now default on creating .pkg files with backward compatible symlinks - backward compatible symlinks are now an option - make the default comprpession format a config option - set the default compression level for zstd to 19 - make the default compression level a config option - Update libucl to latest version Notes: svn path=/head/; revision=568662
* ports-mgmt/pkg-devel: Update to 1.16.99.2Emmanuel Vadot2021-02-182-5/+5
| | | | | | | | | | | | - libpkg: rsa: stop leaking an RSA object - libpkg: rsa: start abstracting away rsa bits - lua: filecmp: Fix for symlink PR: 253292, 250439 Approved by: bapt (implicit) Notes: svn path=/head/; revision=565957
* ports-mgmt/pkg-devel: Update to 1.16.99.1Emmanuel Vadot2021-01-202-5/+5
| | | | | | | | | | | | | | Changes from 1.15.99.8 to 1.16.99.1 - Avoid making making xstring.h public - audit: fix quiet - libpkg: add a snap(shot) version prefix - libpkg: only upgrade installed packages with pattern matches - libpkg: accept an "rsa:" prefixed file for pkg_finish_repo() Approved by: bapt (implicit) Notes: svn path=/head/; revision=562139
* ports-mgmt/pkg: Update WWWAdam Weinberger2020-12-281-1/+1
| | | | | | | | | | | The pkg wiki entry (https://wiki.freebsd.org/pkgng) says "The content of this page was outdated and misleading so it has been deleted." Instead, point to the upstream github repo where truths about pkg can be found. Approved by: pkg (bapt) Notes: svn path=/head/; revision=559449
* Update to 1.15.99.8Baptiste Daroussin2020-12-093-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Update documentation about configuration options - Fix variable expansion while parsing pkg.conf and repositories - Fix scripts never ending on MacOS - Do not execute post-install script if extraction fails - Fix fetching of meta.conf if it is missing - Update lua to lua 5.3.6 - Improve solver missing some reverse dependencies - 'audit' now accept a -R/--raw option for parseable output - 'audit' can now ignore packages based on use define globs or regexp - 'set' now reports when a package provided in command line is not installed - all commands are now consistently using --no-scritps instead of different flavor per commands - when request to install many packages unavailable in the repo, print all the missing one instead of stop at the first one only - 'info' now prints the timestamp and repository in the --raw output - Improve error messaging when parsing the configuration file - when upgrading in dry-run mode: stop first checking for pkg, but show all the packages to be upgraded, pkg included - Fix crash when pkg is told to package a directory as a file - 'create' now accept -e to create package with an expanded version of the manifest aka readable - Relax keywords attributes syntax by allowing spaces Notes: svn path=/head/; revision=557345
* Update to 1.15.99.7Baptiste Daroussin2020-11-052-5/+5
| | | | | | | | | | | | | | | The main features is: - implement triggers mechanism (both lua and shell) Other changes: - Merge keywords preinstall script into a single "prepackaging script" - fix issues with script leaving process in the background - fix an issue with metalog duplicated entries - improve performances of pkg query -F - get rid of sysexits Notes: svn path=/head/; revision=554145
* update to 1.15.99.6Baptiste Daroussin2020-10-212-5/+5
| | | | | | | | | | | | | | Changes from 1.15.99.5 to 1.15.99.6 - lots of keywords improvements: * validation: lua script to validate the keyword line * deprecated: boolean to mark a keyword as deprecated * deprecation_message: message if deprecated * actions_script: script version of 'actions' in lua * lua scripts: now can have real arguments instead of pre-expended ones Notes: svn path=/head/; revision=552866
* Update to 1.15.99.5Baptiste Daroussin2020-10-212-5/+5
| | | | | | | | | | changes: - New feature: @include for plist - internal only: remove utstring in favor of posix open_memstream - plenty of small memory improvements Notes: svn path=/head/; revision=552854
* Update to 1.15.99.4Baptiste Daroussin2020-10-132-5/+5
| | | | | | | - Fix build with non recent compilers Notes: svn path=/head/; revision=552205
* pkg-devel: update to 1.15.99.3:Baptiste Daroussin2020-10-132-4/+4
| | | | | | | | - Brings many fixes from the stable branch - Add support for a new @include Notes: svn path=/head/; revision=552200
* pkg2ng is gone a while ago stop advising to use itBaptiste Daroussin2020-09-291-9/+0
| | | | Notes: svn path=/head/; revision=550481
* ports-mgmt/pkg: Update to 15.99.2Emmanuel Vadot2020-09-222-5/+5
| | | | | | | | | query: Fix '%X' to include the file name and sum Approved by: bapt (implicit) Notes: svn path=/head/; revision=549596
* ports-mgmt/pkg: Update to 1.15.99.1Emmanuel Vadot2020-09-212-5/+5
| | | | | | | | | | Changes from 1.14.99.7 to 1.15.99.1 - Fix '%X' to not include the version Approved by: bapt (implicit) Notes: svn path=/head/; revision=549446
* ports-mgmt/pkg-devel: Update to 1.14.99.7Emmanuel Vadot2020-08-282-5/+5
| | | | | | | | | | | | - Default the OSVERSION check to false - Fix some errors related to getpwname_r/getgrnam_r - Add RISC-V ABI aliases - Add '%X' to pkg-query, this print the internal package checksum Approved by: bapt Notes: svn path=/head/; revision=546730
* ports-mgmt/pkg-devel: Update to 1.14.99.6Emmanuel Vadot2020-08-182-5/+5
| | | | | | | | | Changes from 1.14.99.5 to 1.14.99.6 - Run lua scripts before shell scripts - unbreak build with -fno-common Notes: svn path=/head/; revision=545228
* pkg-devel: Update to 1.44.99.5Emmanuel Vadot2020-07-202-5/+5
| | | | | | | | | | | Changes from 1.14.99.4 to 1.14.99.5 - Fix lua script during pkg_delete - Return file type for lua_stat Approved by: bapt (implicit) Notes: svn path=/head/; revision=542628
* pkg-devel: Update to 1.14.99.4Emmanuel Vadot2020-07-202-5/+5
| | | | | | | | | | | | | | | | | | | Changes from 1.14.99.3 to 1.14.99.4 - Add function to lua scripts: * Simple stat() * filecopy to copy a file preserving its attributes * filecmp to compare files * update sqlite to latest version * Add a new 'hash' mode to pkg repo to make repositories CDN friendly * Isolate transport protocol to be able to easily change implementations in the futur * Fix invalid json in even_pipe * lots of portability fixes Approved by: bapt (implicit) Notes: svn path=/head/; revision=542626
* Use correct DISTVERSIONEmmanuel Vadot2020-06-292-5/+4
| | | | | | | | Reported by: lwshu Approved by: bapt (implicit) Notes: svn path=/head/; revision=540763
* Update to 1.14.99.3Emmanuel Vadot2020-06-292-5/+5
| | | | | | | | | | Changes from 1.14.99.2 to 1.14.99.3: - Fix linking on FreeBSD Approved by: bapt (implicit) Notes: svn path=/head/; revision=540760
* Update to 1.14.99.2Emmanuel Vadot2020-06-252-5/+5
| | | | | | | | | | | | | | | | Changes from 1.14.99.1 to 1.14.99.2: - Fix hanging if a script spawn a process and it still run after the scripts finish - Prevent potential hang with lua scripts - For http mirror first try to get the list from the full path and then fallback on the root one if we didn't find anything. - Add a debug message if obtaining the lock fails Approved by: bapt Notes: svn path=/head/; revision=540396
* ports-mgmt/pkg-devel: 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/D25053 Notes: svn path=/head/; revision=539751
* Update to 1.14.99.1Baptiste Daroussin2020-04-273-5/+6
| | | | | | | | | | | | | | | | | | Changes from 1.13.99.7 to 1.14.99.1 - parallelize the run of the tests - Fix VERSION_MINOR expansion - Fix chflags tests - Bring back pkg create -n but in a consistent way - Improve build of sqlite - Use mmap in sqlite - Update sqlite to latest version - Document pkg_create(3) - Prepare the land for futur proof remote dependency handling - Update usage of pkg set -A and pkg set -v - Add pkg create -l (compression level) Notes: svn path=/head/; revision=533107
* pkg 1.13.99.7Baptiste Daroussin2020-03-232-5/+5
| | | | | | | | | | | | | | Changes since 1.13.99.5: - When backing up libraries, create a package 'compat-libraries' a4b64e6fin which the new libraries will be appended to and the version bumped each time a new library is backed up. - Fix a regression with sometimes makes some keywords being ignored aka scripts not appended to the list of scripts) - Fix ABI on DragonFly - Fix fd being closed twice wen running shell scripts Notes: svn path=/head/; revision=528965
* Update to 1.13.99.5Baptiste Daroussin2020-03-172-5/+5
| | | | | | | | | - fix a memory allocation bug during package creation [1) Reported by: flo, antoine Notes: svn path=/head/; revision=528602
* Update to 1.13.99.4Baptiste Daroussin2020-03-172-6/+6
| | | | | | | | | - Fix detection of zstd compression support for libarchive - Fix package creation on installed packages - Update autosetup to the latest version Notes: svn path=/head/; revision=528569
* Ports MUST NOT set WITH_DEBUG.Mathieu Arnold2020-03-031-1/+0
| | | | | | | | | | | | | WITH_DEBUG is a user facing variable. When a user wants to build a port with debugging symbols enabled, they either set WITH_DEBUG globally, or WITH_DEBUG_PORTS+=category/port. Approved by: bapt With hat: portmgr Differential Revision: https://reviews.freebsd.org/D23940 Notes: svn path=/head/; revision=527673
* Update to 1.13.99.3Baptiste Daroussin2020-03-032-8/+5
| | | | | | | | | - Fix regression in ABI detection (add regression tests about it) - Fix regression concerning the timestamp of the packaged/installed file (add regression tests about it) Notes: svn path=/head/; revision=527668
* Forbid the pkg-devel ports, it create 1 package with bad ABIAntoine Brodin2020-03-021-0/+3
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=527609