aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/pkg-devel
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Update to 1.13.99.2Baptiste Daroussin2020-02-283-6/+8
| | | | | | | | | | | | | | | | | | | | | Changes from 1.13.99.1 to 1.13.99.2 - Fix pkg fetch -o - Implement a mechanism to autobackup libraries during upgrades (off by default) - zsh-completion: disable repo update durign package retrival - Improve documentation - More variable are now expanded when reading the confirations files: * OSNAME: FreeBSD * RELEASE: 12.1 * ARCH: amd64 * VERSION_MAJOR (FreeBSD only) * VERSION_MINOR (FreeBSD only) - Remove the unused and inconsistent pkg create -n - Add -t timestamp to pkg create to be able to specify the expected file timestamp via command line. - Refactor the pkg_create API and mark as deprecated the old functions Notes: svn path=/head/; revision=527333
* Update to 1.13.99.1Baptiste Daroussin2020-02-142-5/+5
| | | | | | | | | | | | | | Changes from 1.13.99.0 to 1.13.99.1 - Do not create a .pkgnew file in case installing a configure file over a non existing file - Update linenoise to latest version - Update picosat to latest version - Implement HTTP keep-alive (imported from xbps) - fix a regression concerning valid url: ssh://user@host:/ was not valid anymore Notes: svn path=/head/; revision=526124
* Update to 1.13.99.0Baptiste Daroussin2020-02-123-37/+5
| | | | | | | | - Fix inverted logic about rcscripts - Improve the build handling of dependency Notes: svn path=/head/; revision=525914
* Import the libfetch patch to the bundled libfetchBaptiste Daroussin2020-01-292-0/+32
| | | | Notes: svn path=/head/; revision=524545
* Update to 1.22.99.4Baptiste Daroussin2020-01-293-5/+8
| | | | | | | | | | | - Document lua scripts - Document shell scripts - Document keywords ucl files - Add a variable to both lua scripts and shell script to allow the scripts to know they are actually being upgrading things Notes: svn path=/head/; revision=524540
* Update to 1.12.99.3Baptiste Daroussin2020-01-242-5/+5
| | | | | | | | | | - Add more regression test - Improve consistency of the default ouput - Give a hint about running pkg update -f in case of "size mismatch" - Fix pkg backup since the sqlite syscall are overridden Notes: svn path=/head/; revision=523974
* update to 1.12.99.2Baptiste Daroussin2020-01-222-4/+4
| | | | | | | | | | | | | | - lua scripts are now running in a capsicum sandbox - lua scripts io.open function is now always opening relative to ROOTDIR - expat vulnxml parser has been replaced by a yxml based one - libucl has been update to the latest git version - error reporting has been improved when parsing vuxml file - shell script can now push message at the pkg-message level by writing to the ${PKG_MSGFD} file descriptor: echo "message for the user" >&${PKG_MSGFD} Notes: svn path=/head/; revision=523818
* Update to 1.12.99.1Baptiste Daroussin2019-12-242-5/+5
| | | | | | | | | | | | | | | | | | | - When installing a file over a file that is not tracked by any package, save the previous one 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 is not created anymore, it was only used up to pkg 1.2. anyone upgrading from pkg 1.2 should first run pkg bootstrap -f to be on a recent version. - pkg -r now first lookup under the rootdir for its ABI_FILE. - 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 Notes: svn path=/head/; revision=520788
* Release pkg 1.12.99.0Baptiste Daroussin2019-09-182-28/+5
| | | | | | | | | | | Changes from previous devel version: - Fix crash with bad ABI is provided Change in the port: - Do not check anymore for pkg_tools migration to pkg Notes: svn path=/head/; revision=512257
* Update to 1.11.99.3Baptiste Daroussin2019-09-062-5/+5
| | | | Notes: svn path=/head/; revision=511357
* Update to 1.11.99.2:Baptiste Daroussin2019-08-262-4/+4
| | | | | | | | | | - Fix cross installation with new build system - Add a function to lua_script allowing to send a message which will be printed along with the other messages at the end of the message process. - Fix detection of libarchive with zstd support Notes: svn path=/head/; revision=509896
* Convert to UCL & cleanup pkg-message (categories [p-r])Mathieu Arnold2019-08-141-0/+6
| | | | Notes: svn path=/head/; revision=508908
* Update to 1.11.99.1Baptiste Daroussin2019-07-042-5/+5
| | | | | | | | | | - Add support for lua scripting: for now it allows to use scripts in lua instead of shell scripts everywhere possible, including keywords. - Fix detection of libarchive built with zstd support Notes: svn path=/head/; revision=505815
* Release pkg 1.11.99.0Baptiste Daroussin2019-06-262-5/+5
| | | | | | | | | | - add support for packages compress in zstandard format - improve messages output adding marks to separate messages from each packages and messages within a given packages - messages can now contain variables: ${PREFIX} ${PKGNAME} for now Notes: svn path=/head/; revision=505153
* Respect CC and PREFIXBaptiste Daroussin2019-06-031-1/+2
| | | | Notes: svn path=/head/; revision=503376
* Update to 1.10.99.14Baptiste Daroussin2019-05-273-53/+5
| | | | | | | | | | - fix libpkg.so when linked with binutils - instead of closing stdin for script just use /dev/null - force installation of symlinks to avoid make install to fail is some symlinks are already there Notes: svn path=/head/; revision=502778
* Bump port revisionBaptiste Daroussin2019-05-231-1/+1
| | | | Notes: svn path=/head/; revision=502343
* Add a patch to not close stding but actually use /dev/nullBaptiste Daroussin2019-05-231-0/+47
| | | | | | | When running scripts Notes: svn path=/head/; revision=502342
* Really update to 1.10.99.13Baptiste Daroussin2019-04-192-4/+5
| | | | | | | | | | | | | | Changes from pkg 1.10.99.12 to 1.10.99.13 - fix segfault when running pkg version <an_invalid_index_file> - fix segfault that can occurs sometime when forcing the installation of a localpackage: pkg install -f ./mypkg-X.txz - fix abi detection when multiple elf notes are used in the binary like on fedora Reported by: tobik, sunpoet Notes: svn path=/head/; revision=499379