/lang/mozart/scripts/

h=gnome-3.28' type='application/atom+xml'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/pkg
Commit message (Collapse)AuthorAgeFilesLines
* Add a patch to fix pkg-static with linked against openssl 1.1.1bapt2018-10-162-1/+12
| | | | | | | This is needed to be able to sign repository with pkg-static Reported by: many (based on a patch by gjb) MFH: 2018Q4
* - Bump PORTREVISION to chase openssl update in CURRENTzi2018-10-111-1/+1
|
* Apply a patch from git that fixes make packages with hardlinks and config files.brd2018-09-112-1/+17
|
* Add DOCS options to ports that should have one.mat2018-09-101-2/+6
| | | | | | | | Also various fixes related to said option. PR: 230864 Submitted by: mat exp-runs by: antoine
* Add a small patch to pkg to fix NULL check in pkg_is_config_file().brd2018-08-212-1/+14
| | | | | | This helps pkgbase users with recent updates. Approved by: bapt
* - Update WWWamdmi32018-05-221-1/+1
| | | | Approved by: portmgr blanket
* Apply patch for a segfault on upgradebrd2018-05-102-0/+29
| | | | | | https://github.com/freebsd/pkg/issues/1663 Approved by: bapt
* Update pkg to 1.10.5brd2018-02-152-4/+4
| | | | | PR: 225104 Reviewed by: bdrewery
* Don't use pkg-static when cross buildingswills2018-02-061-0/+5
| | | | | | PR: 224217 Submitted by: nwhitehorn Approved by: bapt
* Update to 1.10.4bapt2018-01-073-33/+4
| | | | | - Fix progression display - Parse FreeBSD OS version and forbid to install too new packages
* Fix segfault in pkg version against the ports treebapt2017-12-062-0/+29
| | | | | | PR: 224023 Reported by: jrm, kib, Trond.Endrestol@ximalas.info Tested by: jrm (an early version of the patch)
* Update to 1.10.3bapt2017-12-054-185/+4
| | | | | | | | - 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
* Add patches from git to handle pkg version with newly flavoured ports treebapt2017-12-013-0/+181
|
* Update to 1.10.2bapt2017-11-152-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Retire WITHOUT_DEBUG flag.madpilot2017-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
* Update to 1.10.1bapt2017-03-274-39/+4
| | | | | | | | | | | - 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
* Fix signing_command something saving a truncated signature in the filebapt2017-02-272-1/+21
| | | | as a result pkg will reject any repository signed
* Allow per repo environment variable to be set forbapt2017-02-252-0/+15
| | | | | | | every kind of repositories Reported by: kib Tested by: kib
* Release pkg 1.10.0bapt2017-02-254-29/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* - Instruct portscout to ignore thesezi2017-01-041-0/+1
|
* Fix file descriptor leak that might lead to errors on packages with lots of ↵bapt2016-12-252-0/+23
| | | | | | | files PR: 215544 Submitted by: pasokondokoro@gmail.com
* Update to 1.9.4bapt2016-12-082-4/+4
| | | | | | | | | | | | | | | | | - 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]
* Update to 1.9.3bapt2016-11-042-4/+4
| | | | | | | | - 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
* Update to 1.9.2bapt2016-10-292-4/+7
| | | | | | - Fix NetBSD ABI - Add a fallback for when utimensat returns EOPNOTSUPP like on some NFS servers - Install the NEWS file
* Release 1.9.1bapt2016-10-162-4/+4
| | | | | | | - fix a fd leak on freebsd <11 Reported by: mat Tested by: mat
* Update to 1.9.0bapt2016-10-162-5/+4
| | | | | | | | - 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?
* Force a rebuild to bring in libarchive fixes from head r305819.bdrewery2016-09-151-1/+1
| | | | MFH: 2016Q3
* Add javavmwrapper 2.5_1 to the list of buggy scriptsbapt2016-09-142-3/+4
|
* Add a hack in pkg to skip running predeinstall for javavmwrapper-2.5bapt2016-07-312-0/+34
| | | | | | | | | | | 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
* Update to 1.8.7bapt2016-07-052-4/+4
| | | | | | | | | | - 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
* Release 1.8.6bapt2016-06-253-18/+4
| | | | | | | | - 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
* Fix pkg upgrade -fbapt2016-06-132-0/+14
|
* Release 1.8.5bapt2016-06-103-24/+4
| | | | | | Changes: - Fix mirror_type: http with https servers - Fix regression in the solver that tries to reinstall reverse deps sometime
* Add a patch to fix grabbing mirror lists over httpsbapt2016-06-082-0/+20
| | | | | | | | 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).
* Update to 1.8.4bapt2016-06-052-4/+4
| | | | | | | | | | | Changes: - Fix: setting date on system not POSIX 2008 compliant (like FreeBSD 8) - Fix: running pkg in env where the 0 file descriptor is closd - Fix: make http mirror type respect the specified port - Fix: chown/chmod on linux - Fix: pkg ssh - Improved upgrade chain in multi repo environment - Update libucl to latest version
* Update to 1.8.3bapt2016-05-242-4/+4
| | | | | Changes: - upgrading/reinstall packages also need to not check the result of the predeinstall script :(
* Do not check deinstall script results at all except if DEVELOPER_MODE is setbapt2016-05-232-4/+4
| | | | | | Due to too many bad quality ports, for now we are back in not checking pre/post deinstall scripts at all except if DEVELOPER_MODE=yes is set, we hope to readd those checks once the ports have been fixed
* Update to 1.8.1bapt2016-05-232-4/+4
| | | | | | Changes: - Fix double free in pkg updating - Drop failures on POST-DEINSTALL (still too many failures in ports there :()
* Release pkg 1.8.0bapt2016-05-222-3/+4
| | | | | | | | | | | | | | | | | | | | | | New features: - new vital flag that prevent from removing a package with pkg delete when not specifying -f - upgrade process now has atomicity per packages meaning now we can safely check the return of the pre* scripts - handle ctrl-c during upgrade/install/update - solver improvements - pkg clean now runs in a capsicum sandbox on supported plateforms Changes: - pkg delete now fails if one tries to delete it (the pkg package) without -f. Before it was just warning and skipping it - pkg install --from-root has been renamed pkg install --recursive to avoir confusion Fixes: - correctly handle hardlinked setuid files - better handling of setuid - fix elf analysis when some bad libraries have SONAME specified by empty - fix elf analysis when a binary provides elf_notes but not the expected ones and are still valid freebsd binaries (this fixes the case when libgdk_pixbuf was not found as a provided lib on i386) - NAMESERVER option is now working again and inputs are better checked - lots of bug fixes: potential leaks mostly
* Update to 1.7.2bapt2016-04-062-3/+3
| | | | | | Changes: - Update libucl to latest version which fixes an issue with empty pkg.conf (regression test added) - pkg install on an already installed package returns 0 again this regression was introduced when fixing pkg lock (regression test added)
* Update to 1.7.1bapt2016-04-022-3/+3
| | | | | | | This release fixes regressions: - detection of new version of pkg could fail - if the all process operation would have an inpact of less than 1MB on the FS then the action is proceed with out asking the user to acknowledge it
* Update to pkg 1.7.0bapt2016-04-023-83/+3
| | | | | | | | | | | | | | | | | Changes: - Support new "vital" notion: prevent from implicit deletion - Improved support for OpenBSD/bitrig (still lacks some functions in libc) - Improved ZSH completion - Updated libucl - Lots of fixes in error messages - Fixed "pkg lock" handling - Allow to specify "inline" respositories in pkg.conf - ipv6 fixes - Allow to restrict the accepted url schemes - More commands supports "-q" - Multiple bug fixes - As usual multiple new bugs - Improved support for shlibs dependency generation when packaging base via ALLOW_BASE_SHLIBES
* Add missing patch for r409562bdrewery2016-02-262-1/+78
|
* Add a patch to fix hardlink installationbapt2016-02-261-0/+3
| | | | pkg 1.6.5 is on its way but requires more testing
* Update to 1.6.4bapt2016-02-113-6/+3
| | | | | | | | Changes: - Fix hardlinks extraction with --rootdir - Relax url scheme acceptance to allow file:/ and file:// - Accept pkg+ for url scheme where it was never intended to be used, because users used it anyway - Remove pkg-message
* Update to 1.6.3bapt2016-01-272-3/+3
| | | | | | | | | | | | | | | | | | | Changes: - Allow to limit the valid url scheme in pkg.conf - Add support for SOURCE_DATE_EPOCH: https://reproducible-builds.org/specs/source-date-epoch/ - Fix pkg check -d - Fix testsuite with kyua 0.12 - Fix completion on pkg info -l - Reduce te probability to get an infinite loop on pkg version check - Fix pkg version -q - Update libfetch to the latest version from head - Debug mode is now verbose when fetching - Fix segfault with empty HTTP_USER_AGENT - Fix segfault when parsing invalid URL - Fix build on OS X - Better error reporint on issue during pkg create Note that this release will be merged to quarterly branch in 10 days
* Update to 1.6.2bapt2015-11-242-4/+3
| | | | | | | | | | | | Changes: - Fix cross building - Improved zsh completion - Improved error messages - Improved documentation - Bug fixes in the solver - Allow to specify repositories directly via pkg.conf - Allow multiple version of the same package in a repository - Fix ipv6 testing in configuration
* Seems like there is no place for humour :(bapt2015-10-312-3/+1
| | | | Requested by: many
* - Add bapt-get symlinkzi2015-10-212-0/+3
| | | | | | - Bump PORTREVISION Approved by: portmgr (bapt)
* Release pkg 1.6.1bapt2015-09-282-3/+3
| | | | | | Changes: - Fix a regression in performance when listing files [1] - Remove references to EOLed FreeBSD version in manpages
* Release pkg-1.6.0bapt2015-09-262-3/+3
| | | | | | | | | | | | | | | | | | | | Changes since pkg-1.5 series - Lots of improvements in the solver (in particular fixes the case like the recent jpeg upgrade) - Lots of fixes in the 3 way merge code - pkg add can now work without a version specified in the dependency line - pkg check -d now also check the required libraries - Improved support for partial upgrades - Improved zsh completion support - Improved linux support (now all regression tests passes on linux) - Messages can now be context aware: (only print a given message during installation, upgrade - version aware -, removal, or always) - @keywords now accepts new entries to add context aware messages - Add the ability to generate graphiz's dot format representation of the solver's problem - pkg search now default on showing the comments of of the matched packages - Lots of bug fixes and code cleanup - Document @{pre,post}[un]exec in plist added in pkg 1.5
* Remove UNIQUENAME and LATEST_LINK.mat2015-08-171-1/+0
| | | | | | | | | | | | | | | | | UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now, we won't have conflicts there. Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel has the correct PKGNAME anyway. Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called OPTIONS_FILE now.) Reviewed by: antoine, bapt Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3336
* Update to pkg 1.5.6bapt2015-08-122-3/+3
| | | | | | | | Changes: - Incorporate in sources the patch for expat CVE-2015-1283 Note that pkg is not vulnerable because it does not use the patched function - improvements in pkg check manpage - fix format specifier in libpkg's pkg_vets
* Release pkg 1.5.5bapt2015-07-142-3/+3
| | | | | | | | | | | Changes: - Manpages updates - Add a random delay to pkg-audit when invoked without a TTY - Update zsh completion - Add a new AUTOCLEAN option to automatically clean the cache directory - Don't attempt to set file ownership when INSTALL_AS_USER is set - Add a new configuration item to define custom HTTP User-Agent - Fix an integer overflow when displaying package size for packages larger than 2GiB.
* Update to 1.5.4bapt2015-06-112-3/+3
| | | | | | | | Changes: - Fix partial upgrades - pkg create -v now ticks (print does on a regular basis) if not on a tty - Fix vuxml url in sample configuration - zsh completion improvements
* Update to 1.5.3bapt2015-05-302-3/+3
| | | | | | | | | | Changes: - Updates in manpages - Improved support for --quiet everywhere - Keep 7 (by default) days (rotation) of backups of the database - Prune old style backups entirely - Do not pushed in shlibs required any library we can find in the list of files owned by the package
* Update to 1.5.2bapt2015-05-082-3/+3
| | | | | | | | | | | Changes: - Documentation updates - Make pkg alias -l respect quiet - Reinstall packages if shlib provided has changed - Do not expose shlibs without SONAME as provided libs - Fix pkg audit -r formatting - Stop elf analysis sooner if not operating on an elf file - Fix checking signatures on arm
* Update to 1.5.1bapt2015-04-162-3/+3
| | | | | | | Changes: - Fix pkg ssh:// - Fix a missing '\n' in pkg audit - Fix compat at functions to not mess up with cwd
* ports-mgmt/pkg: Regenerate EXTRA_PATCHES (unbreaks DragonFly)marino2015-04-151-6/+6
| | | | | | | The patch target will fail if EXTRA_PATCHES is defined, but it is only defined on DragonFly (change is no-op for FreeBSD) Approved by: Just fix it
* Let WITH_CCACHE_BUILD work on the pkg port that is not PKG_ORIGIN.bdrewery2015-04-151-3/+0
| | | | | For example, if ports-mgmt/pkg is PKG_ORIGIN then it is safe to use ccache for ports-mgmt/pkg-devel.
* Update to 1.5.0bapt2015-04-153-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes since pkg 1.4.0: - Initial provides/requires support - Lots of new regression tests have been added - Initial support for OS X - Initial support for NetBSD/EdgeBSD - Update most of the bundled third party software has been updated to their latest version - Improve the messages reported by pkg - Properly support file flags - Implement argument support for custom keywords - Extend setting credential via plist to allow to set file flags - Make credential syntax via plist more flexible allow to only defines the first - pkg updating now supports case insensitive matching - pkg create now support a verbose mode - Add an option to change the default on question, until now the default answer was "No" with that option set it would be "Yes" - Lots of fixes to pkg audit -r - Global memory usage reduction and speed up - Improvements and cleanup on pkg alias - pkg annotate --show --all has been fixed - Make pkg.h C++ friendly - Lots of improvements in the solver - Lots of fixes on 32 bits platforms - Add support for: pkg create -M ./plop.ucl -p ./plop.plist - New pkg -r <rootdir> that will install in the given rootdir without chrooting - Export PKG_ROOTDIR to scripts allow to make them as portable as possible - Stop trying to remove all installed package with the argument of pkg delete is a local file - Be more explicit about why the solver it going to reinstall, remove or upgrade (when possible) - Plenty of bug fixes - Plenty of new bugs - pkg shlibs now support -q - pkg lock gained a new --has-locked-packages option - pkg now resumes fetch if possible - CONSERVATIVE_UPGRADE is now on by default - pkg alias now have a -l argument to list aliases - A sample pkg.conf is now installed with a bunch of aliases set by default - Fix the backup script to properly export an sql which will be importable via pkg shell and/or sqlite out of box Thanks to all testers and contributors,
* Pass maintainership to pkg@bapt2015-03-251-1/+1
|
* Release pkg 1.4.12:bapt2015-02-142-3/+3
| | | | - Fix a bug that can generate an unlinkat issue on dragonfly
* Release 1.4.11bapt2015-02-122-3/+3
| | | | | | | | | | | | Changes: - show repository priority in pkg -vv - document pkg_repo_priority() in pkg_repos(3) - fix a bug handling chflags on systems without chflagsat reported on dfly but might also affect FreeBSD 8 and 9 even if no bugs were reported yet [1] [1] Special thanks goes to Dillon for removing the dirt our of my eyes and spotting the bug, Antonio Huete Jimenez (tuxillo) for testing and tracking the bug since it has been spotted on dragonfly
* Update to 1.4.10 and 1.4.99.10bapt2015-02-052-3/+3
| | | | | | - Fix a regression causing bus error Reported by: marino
* Update pkg to 1.4.9bapt2015-02-052-3/+3
| | | | | | | | | | Update pkg-devel to 1.4.99.9 Changes: - Fix regression introduced in 1.4.8 [1] - Document pkg set -n - add pkg alias Reported by: mandree [1]
* Update to 1.4.8bapt2015-02-052-3/+3
| | | | | | | | | Changes: - Tons of resources leak plugged (thanks coverity) - Fix size calculation output - Fix 'pkg add -M -' - Update libucl to latest version - Improve documentation
* Release 1.4.7:bapt2015-01-232-3/+3
| | | | | | | | | | Changes: - pkg updating now support case insensitive matching - pkg_printf(3) support %x (so print the size of the package tarball) - Use SI symbols (MiB instead of MB) - When using procctl on an older kernel that does not implement the reaper functionnality, be explicit about the failing syscall. - Lofs of fixes on the chflags handling
* Release 1.4.6bapt2015-01-182-3/+3
| | | | Fix a last minute regression
* Release 1.4.5bapt2015-01-182-3/+3
| | | | | | | | | | | | Changes: - Enforce a bit more pkgname a unicity identifier - Fix regression on pkg query with multiline - Fix sql error on some pkg query - Stop again caching files for file:/// repos - Do not trust libarchive to apply modes - Accept tar files in repositories - Handle chflags - Some updates in documentation
* Release 1.4.4bapt2015-01-022-3/+3
| | | | | | | | | | | | | Changes: - Remove lots of dead code - Fix pkg stat reporting the size of remote repositories - Remove execinfo dependency - Fix pkg check with no active remote db - Remove outdated example from manpages - More accurate error messages in pkg check - Use the new procctl(2) features when possible to prevent script from spawning daemons - More fixes in integrity check - Improvements in zsh completion
* Update to 1.4.3 and 1.4.99.3bapt2014-12-302-3/+3
| | | | | | | | Changes: - Fix integrity check in multi repository - Document CONSERVATIVE_UPGRADE - Document repository priority - Do not duplicate replacement request
* Update pkg to 1.4.2 and pkg-devel to 1.4.99.2:bapt2014-12-272-3/+3
| | | | | | | | | | Changes: - Fix applying proper modes on directories on some corner cases (fixes pkg install mailman) - Do not display pkg-message is pkg register fails - During removal, if a directory was already removed by a bogus script, continue removing parents. Changes specific to -devel: - pkg -d now set DEBUG_LEVEL -d == DEBUG_LEVEL=1 -dd == 2 etc
* Release pkg 1.4.1 and 1.4.99.1bapt2014-12-232-3/+3
| | | | | | | | | | | | | | Changes: - Manpages updates - Fix directory removal guard - Fix loading of files from packages - Add new CONSERVATIVE_UPGRADE option to enforce keeping package from the repository they were installed from - Add priority support for multi repository While this version improves a lot multi repo support please note that there is a known bug resulting in failures during integrity checking, resulting in some operations may have to be run twice we are investigating a fix
* Remove useless USESbapt2014-12-221-2/+0
| | | | Reported by: Oliver Pinter
* Disable Werror to calm down gccbapt2014-12-091-0/+1
|
* Update pkg to 1.4.0bapt2014-12-095-78/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update pkg-devel to 1.4.99.0 (aka 1.5 pre-alpha0) Changes since pkg 1.3.0: Changes you can expect in pkg 1.4 are the following: - Loads of bug fixes - Stricter checking of the path passed via the plist - Removal of the bundled libyaml - new --raw-format to chose the output format for info -R and search -R - ABI (for freebsd, unchanged for dragonfly) is now follwing MACHINE_ARCH (freebsd:10:x86:64 become FreeBSD:10:amd64) the old ABI is available as a fallback in ALTABI - pkg check now support a quiet mode - new 3 way merge code ("stolen" from the fossil-scm) to allow automerging configuration files - new @config keyword to mark a file as a config file (during upgrade/reinstallation it will try to merge the configuration with the one the user may have modified) an option AUTOMERGE is available to prevent automerging if automerge fails a .pkgnew file will be created along with the untouched user version of the configuration - The update procedure has been improved and speed up a lot (in particular for machine with low resources) - The unique identifier has been modified to be pkgname meaning now ports can be moved in new categories without having to be considered a different package - Only libraries starting by lib* are added to the provided libraries - General speed up of all operations - pkg set gain a -n option (equivalent to -o but works on name rather than origin) - pkg set -o now considered deprecated - pkg version accept '?' and '!' in pkg version limchar
* Fix a regression that made some plist errors non fatalbapt2014-10-072-1/+32
| | | | Reported by: antoine
* Fix an important regresion preventing pkg2ng to work properlybapt2014-09-262-1/+15
| | | | | Reported by: roberto Tested by: roberto
* Add a way to work around the pkg2ng gate for now.bdrewery2014-09-261-1/+2
| | | | With hat: portmgr
* - Fix crash when overriding repo configs.bdrewery2014-09-252-0/+29
| | | | | | | PR: 193890 Reported by: Nikolai Lifanov With hat: portmgr Pointyhat to: bdrewery
* Update to 1.3.8 Changes:bapt2014-09-223-11/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Plist parser do not accept modes like o+w g+s u+r - @owner/@group with no argument reset the default ownership to root/wheel - Plug regression tests into the release mechanism as mandatory - Allow url in repository configuration to be overriden by another configuration file - If one of -P, -I or -R is not explicitly given on the command line do not emit error messages while searching for a mechanism to find data about the latest available ports. - External keywords can now take arguments - Directories under PREFIX are automatically handled and removed if needed - MTREE are not packaged anymore neither extracted on final installation - OS major checking (to determine if pkg is running on an upgraded base system) uses the same mechanism as ABI detection instead of relying on UNAME_r which can have false positivie on jails - Add @dir keyword for plist which is used to package explicitly directories (directories with non root/wheel or outside prefix) and empty directories (@dirrm and @dirrmtry are now considered as deprecated) - root/wheel are now considered as the default user/group when creating a package except @owner/@group are used to change that behaviour - Import newer version of libucl which improves error messages in case of problem parsing manifest or configuration files - Fix pkg register so it checks for conflicts before actually copying files on to the filesystem - pkg now support a new no_provide_lib annotation to preventing automatic populating of provided libs (useful for packages bundling libraries like wine) - Improve documentations - Ability to select usage of IPv4/IPv6 via config, repository config or command line - Lots of bug fixes Side effects: - Convert to install-mtree target into a no-op target Add empty directories to plist of ports that needs them to run: - share/aclocal to devel/automake and devel/automake14 - share/applications to devel/desktop-file-utils - share/xml share/sgml to textproc/xmlcatmgr - Prevent check-plist to issue warnings about some @dir* - Adjist check_leftovers.sh to not take in account anything related to mtree - Bump the default required version of pkg to 1.3.8
* Add a minimal version testing for the installed pkg to enforce people to go ↵bapt2014-09-181-0/+1
| | | | | | | | | to the latest version Set minimal version to 1.3.7 for now Differential Revision: D723 Reviewed by: bdrewery
* Remove support for pkg_installbapt2014-09-011-16/+7
| | | | | | | | Merge back bsd.pkgng.mk into bsd.port.mk Add a note about @stopdaemon not being supported anymore With hat: portmgr Differential Revision: https://reviews.freebsd.org/D693
* - Update to 1.3.7bdrewery2014-08-272-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Please note announcement for special instructions at: http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000086.html - Users need to run 'pkg check -Ba' after upgrading to pkg-1.3.7 and before updating any other packages. This avoids needing to reinstall anything not needed due to changed shlibs. - People building packages for serving to other systems need to rebuild all packages with 1.3.7. Changes: * Test suite fixes * Documentation updates * pkg-rquery(8): Add a pointer to EXAMPLES in pkg-query(8) * If opening the db in READ_ONLY give a warning if it is missing * Give advice on how to recreate the database if auto-updating was skipped * Remove pkg --check-activation. It is too tempting to use. * Make it more clear that the 'Major version' change is non-fatal * Jobs display: Avoid excessive newline before prompt and after unprompted usage * Remove references to PACKAGESITE/MIRROR_TYPE/PUBKEY * Support uppercase ENABLED in repo config. * Avoid POLA, make PACKAGESITE/MIRROR_TYPE/PUBKEY in pkg.conf fatal * Fix self upgrade loop with pkg upgrade -Fy * Fix self upgrade not using the new pkg binary * pkg-{delete,autoremove}: Use a readonly lock in dry run * pkg-convert: Add locking. EXCLUSIVE by default, READONLY with -n * pkg-convert: Check for proper db permissions for both real and dry_run mode * pkg-convert -r: Only a readonly lock is required for converting from the db * pkg-convert -r: Add common db access checks * pkg convert -r: Don't crash if unable to create the package dir * Revert stripping shlib versions from e127d91d4. This will require rebuilding packages on the repository and then running pkg check -Ba to fully utilize. Until packages are rebuilt there may be false-positive shlib reinstalls. * pkg {register, check -B}: Fix registering provided shlibs as required * When analysing ELF files with DEVELOPER_MODE, don't bail on first error * Fix pkg-ssh when SSH_RESTRICT_DIR is a symlink * Fix size calculations with hardlinks * Fix pkg-which glob * pkg fetch -d: Fix crash (#955) * Progress bar improvements/fixes * Fix ETA for fetching (#943) * Fix progressbar stalled support * ETA progress: Account for TCP SLOW START and weigh the first few ticks less * Rework 'pkg update' output slightly to clarify what it is doing. * pkg check: Add progressbar when not using -v * pkg check: Add job counter with using -v * pkg clean: Add progressbar * Fix hardlink calculations (#958) * pkg backup: Add -q * pkg backup: Remove docs for '-d -' as it does not work. * pkg config: Fix output for arrays/objects (#971) * Fix RC scripts being started on deinstall rather than stopped * Add some more asserts * pkg-fetch.8: Remove reference to removed mirror mode * Fix a few typos in pkg.conf.5 (#969) * Document new configuration options. (#969) * Fix always refetching of file:// and ftp:// repositories * pkg query -g: Fix handling of ranges such as 'name-[0-9]*' which is used by ports CONFLICTS checking * Fix crash when SIGNATURE_TYPE=PUBKEY but PUBKEY is not defined
* - Update to 1.3.6bdrewery2014-08-132-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: * Fix bringing in i386-wine* as a dependency (requires rebuilding the wine package). This is fixed, for now, by not considering shlibs as provided by a package if they do not match the target architecture. (#922) !!! You should delete the i386-wine and i386-wine-devel !!! !!! packages from your repository so they rebuild. !!! !!! Bumping of PORTREVISION is pending due to the !!! !!! nature of these ports. !!! * Fix auto reinstallation of packages when shlibs/dependencies change. This will force a 'pkg update' to run to rebuild the local repository. Using -U will not work until this is done. (#933) * Fix 'pkg rquery %Av' (requires rerunning pkg-repo on remote) (#925) * Fix pkg_solve_sat_problem assertions (#915) * Fix 'pkg install -f' (#912) 'pkg install -R[f]' is still known to not work (#926) * Fix 'pkg rquery -e' (#910) * Fix 'size mismatch' errors requiring 'pkg update -f' (#906) * Fix other cases of 'pkg update -f' being required. * Fix 'pkg clean' to show files before confirming (#887) * Fix upgrade/install not showing meta packages in the output (#909) * Fix 'pkg autoremove -n' asking for confirmation * Fix 'pkg lock' not being respected for forced operations (#911, #937). Note that a locked package may still be deleted if the solver determines it is no longer needed. * Fix 'pkg delete -q' * Replace the SAT solver with Picosat (#914). This is much more mature and stable than our previous solver. It, along with other work, fixes many issues with solving upgrades. * 'pkg ssh' fixes * Do not consider shlib versions for package provides/requires as there is discrepency in what packages provide and what other require. For now only rely on libname.so. With hat: portmgr
* Update to 1.3.5.1bapt2014-08-062-3/+4
| | | | | - Fix units propagation and conflicts. - Add a convenience new configure option to avoid configure to try to find autoconf
* Update to 1.3.5bapt2014-08-052-3/+3
| | | | | | | | | | | | | | | | | Changes: - Fix progress bars when not in a tty to give output - Dragonfly fixes - Multiple fixes in @keywords(user,group,mode) support - Important fixes in repo incremental updates - Fix pkg audit not returning an error in case of vulneraibilities found (making periodic script not working) - Ignore sigpipe - Make the read lock now no op - Directories can be listed in the plist like files they will be considered like @dirrmtry - Very important refactor and fixes in the solver making the whole code more manageable: - This fixes multirepo support - Fixes missed upgrades - Fix pkg rquery -e with complex (%#r for example) queries - Fix pkg upgrade -f
* Update to 1.3.4bapt2014-08-012-3/+3
| | | | | | | | | | | Changes: - Fix repo database manipulation on FS with no proper locking mechanism - Fix regression where options have "true" value instead of "on" - Prevent early destruction of a repo - Workaround new nginx behaviour of if_modified_since - Fix pkg set -o - Improve some error messages - Do not fallback on yaml anymore to parse new keywords
* Make sure to only use the generated pkg to register the new pkgbapt2014-08-011-2/+0
|
* Update to 1.3.3bapt2014-07-302-3/+3
| | | | | | | | | | | | | | | Changes: - Always use bundled libsbuf - Make pkg help aware of aliases - Add more debug info - Yet another fix for pkg repo - Fix some size to chase ucl changes - Fix a bug if one if creating a package and a directory of that name exists - Fix plist whitspace trimming - Fix pkg_env - Fix pkg ssh - Allow pkg ssh server to serve poudriere made repositories - Fix again pkg install -A
* Update to 1.3.2bapt2014-07-284-101/+3
| | | | | | | Changes: - Import fixes from libucl (fixes memory corruption with pkg.conf) - Fix memory corruption when reinstalling packages - Rework pkg repo process distribution
* Fix reading pkg.conf (this will prevent pkg from segfault)az2014-07-272-0/+69
| | | | Approved by: bapt@ (portmrg@)
* Update to 1.3.1bapt2014-07-273-4/+4
| | | | | | | | | | | | | | | | | | | | | Changes: - Add a WORKERS_COUNT option to limit the number of workers used during pkg repo - Fix pkg repo hanging on FreeBSD 8 and 9 - Fix migration of local database from 1.2 to 1.3 which was resetting the installation time - Print the repository in search informations - Ignore meta file when rebuilding a repository - Lots of fixes in libucl - Fix pkg info -R to generate a valid yaml - Accept empty pkg.conf files - Accept empty repository configuration files - Fix pkg.conf reading so keys are now case insensitive again - Blog sigalarn when reading passphrase allowing to sign packages with a passphrase protected key - Install again zsh completion as _pkg instead of _pkg.zsh - Rework the upgrade/install procedure so it doesn't leave files behind anymore and properly runs scripts - Install periodic scripts with an executable bit - Speed up pkg version without INDEX - Preserve automatic flag on forced upgrade/reinstall - Fix memory corruption on reinstall
* Fix the build on PowerPC: apparently it declares that it has atomic builtins,danfe2014-07-241-0/+29
| | | | | | | but GCC 4.2 bombs with internal compiler error (= unrecognizable instruction) when compiling libucl/src/ucl_util.c. Approved by: bapt (portmgr, maintainer)
* Update to 1.3.0bapt2014-07-239-360/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since pkg 1.2: - 373 files changed, 66973 insertions(+), 38512 deletions(-) - 29 differents contributors - Merge of one of the 2013 Summer of code project Changelog: - New solver that can support external solvers using the CUDF format and the internal SAT solver - pkg-ssh(8) is now sandboxed with capsicum if it is available - pkg-ssh(8) now uses poll(2) - Remove StringList usage to improve portability - Rework the build system to use autotools to help portability - Now fetching is done to a temporary location and cleaned up if it fails - Remove PACKAGESITE - pkg-audit: remove support for portaudit compact database (only VulnXML will be used) - Improved UI experience based on jmmv write up (http://julipedia.meroh.net/search/label/cli-design) - Reworking the database locking mechanism into a finer grain and more clever system - Dynamic conflict handling if a conflict on files is detected at the sanity check level, try to solve the problem again with the new conflict information - Fix %t (timestamp) modifier in pkg_printf(3) - Full output now has a new field "date installed" - New pkg -o A=B to overwrite configuration from command line without the need of defining environment variables - pkg-install now can handle local files - pkg-add is now an alias on pkg-install - Simplify API by using more and more libucl objects (hidden behind an opaque 'pkg_object') - Rework multirepository handling - Prepare code for repository abstraction support - Sandbox signature checking and extraction - Support long options - Rework the extraction process - unicity of a package is now origin~name allowing subpackages and flavours - Improve ui for all commands - pkg lock -l now list the locked packages - symlinks now has a checksum to ensure they are valid - pkg backups generated by the distributed script are now plain sql files - Tons of bugfixes - Tons of behavour fixes
* - Fix pkg-rquery -I to have all expected output.bdrewery2014-07-052-1/+44
| | | | | | Obtained from: upstream 29c9c84e0e11c2c182a8d79634344e57bf2575f1 With hat: portmgr Reported by: dteske
* Add a version script to only public expose public function in libpkgbapt2014-06-112-1/+235
| | | | | | PR: 190742 Submitted by: feld With help from: jilles
* - Fix build with upcoming default -fPIE in headbdrewery2014-05-301-1/+1
| | | | pkg 1.3 deals with this better.
* Fix packaging on head, .MAKE.FreeBSD_UL has been retired from bmakeantoine2014-05-291-0/+18
| | | | With hat: portmgr
* Add the ability to specifiy the file where the ABI string will be determined ↵bapt2014-04-032-1/+26
| | | | from
* Detect invalid packages that list directories as a file in plistantoine2014-04-022-0/+19
| | | | | Exp-run by: bdrewery With hat: portmgr
* - Update to 1.2.7bdrewery2014-03-162-7/+5
| | | | | | | | | | | Changes: - Only fallback to YAML if UCL parsing fails - pkg2ng: Hide warnings about @mtree, @stopdaemon, @comment @display and @conflicts - Fix escaping issues with COMMENT - pkg add: Fix -A to properly mark package as automatic - pkg2ng: Fix over NFS - pkg2ng: Show message while analyzing shared libraries
* Update comment and description for pkg(8)bapt2014-02-242-2/+2
| | | | | | | it is not new generation anymore and it is the current package tool While here remove "for FreeBSD" as it also works on other OSes Reported by: peter
* - Update pkg and pkg-devel to 1.2.6bdrewery2014-02-022-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This update includes a security update for possible arbitrary code execution from package manifest parsing. All users are advised to upgrade ASAP. The base pkg(7) was never affected by this. [1] Changes: * Fix libyaml head-based buffer overflow [1] * Fix pkg info -E support for ports, which namely affected net/openldap* usage. [2] * Fix packages registering themselves as dependencies [3] * Bash autocompletion fixes [4] * autoremove: Don't try to remove locked packages * Support 'pkg bootstrap -f', which will force a reinstall of pkg on FreeBSD 10.0+ * Fix %t timestamp formatter with %{...%} modifiers [5] * pkg info: Show date installed * Add $daily_status_security_pkgaudit_quiet to control 410.pkg-audit.in output verbosity level * Add an error when trying to update repository and none are defined [6] * Fix typos in manpages [7] Security: CVE-2013-6393 [1] Reported by: secteam (delphij) [1] PR: ports/184797 [2] Reported by: Pavel Timofeev <timp87@gmail.com> [2], many Submitted by: smh@ [3] Submitted by: brd@ [4] Submitted by: Jamie Landeg Jones [5] Submitted by: Rodrigo Osorio [6] Submitted by: Michael Gehring, wblock [7] With hat: portmgr MFH: 2014Q1
* Update to 1.2.5:bapt2014-01-133-32/+3
| | | | | | | | - Manpage improvements - fix $auditfile in pkg audit periodic script - Fix repo-*.sqlite being corrupted when pkg update is interrupted by the user - pkg add now tells the version of the package missing - Strop decoding/encoding all fields, only scripts and description are now encoded/decoded
* Fix sefault while cleaning upbapt2013-12-162-0/+29
| | | | | | | | It only happens if one has list or key/value list in pkg.conf a workaround to update is to comment it out the time to upgrade Reported by: many Pointyhat to: bapt (again)
* Update to 1.2.4bapt2013-12-162-4/+4
| | | | | | | | | | Changes: - Fix segfault in pkg audit -F [1] - Fix multiple segfault when using eventpipe [2] - Fix REPOS_DIR being appended instead of overwritten when modified from pkg.conf Reported by: many [1] Reported by: kmoore [2]
* Update to pkg 1.2.3bapt2013-12-103-17/+3
| | | | | | | | | | | Changes: - Workaround a bug in bsd.*.mk on FreeBSD 8.x - Fix a pkg repo segfault - Document aliases in pkg.conf(5) - Be more verbose when refusing a repository configuration file - Sync libucl with upstream (bug fixes) - Fix a fd leak in pkg repo - Fix memory leaks due bad usage of libarchive
* - Fix build on 8.xbdrewery2013-12-071-0/+14
| | | | With hat: portmgr
* Update to 1.2.2bapt2013-12-063-5/+6
| | | | | | | | | | | | | | | | | | | | | | | Changelog: - Fix pkg which returns bogus non-zero exit status on success - Better check libucl returns - Fix bad build system resulting in broken binaries on arm and ia64 - Update pkg.conf documentation - Add manpage for pkg config - OOTB support for dragonfly - Lots of fixes in libucl - Fix pkg register complaining about shared libraries not found - Do not resume a jailed or chrooted pkg(8) upgrade - Document the plist format (in pkg-create(8)) - Pet mandoc -Tlint - Add manpage for pkg_repos(3) - Fix dependencies losing portepoch information - pkg-[r]query: Add %q to display architecture - Fix pkg add allowing to install package with missing dependencies - Fix description being stored escaped Special thanks to mat@ (for bug busting) and cognet@ (tracking down 2 issues on arm and as a side effect fixing on ia64
* ports-mgmt/pkg*: Prepare for alternative PORTSDIR supportmarino2013-11-302-0/+39
| | | | | | | | | | With the PKG_PORTSDIR make argument set, Release 1.2.2 will properly build pkg when PORTSDIR doesn't equal the default /usr/ports, as is the standard case with DragonFly. Additionally, pkg(8) and pkg-static(8) man pages are conditionally edited to remove references to the -j option when libjail isn't found on the system. This extra-patch should never be used on FreeBSD.
* Release pkg 1.2.1bapt2013-11-283-66/+3
| | | | | | | | | | | | | | Changes: - Fix pkg rquery always printing index like lines - Fix pkg -vv suggestion so it print something actually usable - Fix shlib's -P and -R options were swapped round. - Replace broken pkg_repos_count() by pkg_repos_total_count() and pkg_repos_activated_count() - Fix parsing of options (in manifest) - pkg add http:// now fetch to a temporary location and cleanup after itself - Fix generation of the manifest digest - Properly calculate how many packages where removed - Fix support for dependencies with the same name (grrrr Fix you port if they have package name collision !!!!) - Fix pkg info -R in case multiple dependencies has the same name
* First errata:bapt2013-11-272-0/+63
| | | | | | | | - Fix pkg rquery always printing index like lines [1] - Fix pkg -vv suggestion so it print something actually usable [2] Reported by: gjb [1] Reported by: ohauer [2]
* Welcome pkg 1.2 finalbapt2013-11-2620-569/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: - Improved build system - Allow to hook plugins, before closing the local db if it was opened in RW mode - Allow ARCH to be printed by pkg info - New pkg bootstrap subcommand that is the counter part of the pkg(7) bootstrap subcommand - Use port specified in the SRV entries to connect to a given mirror - Properly support srv priority/weigh when ordering mirrors - Lots of spelling/grammar fixes - Broken incremental pkg repo support was removed. - ABI is now checked again using globs: * a 'noarch' package should just specify: ARCH: 'freebsd:*' * a package working on both i386 and amd64: ARCH: 'freebsd:9:x86:*' - new pkg config subcommand to allow direct query of options - options can now have a description - pkg repo can now take new arguments: pkg repo [path] [rsa_key|'signing_command: <command>'] This allow calling external command to perform the signing and pass the checksum to be signed in the command stdin. - in case pkg info is querying a file or is a single direct match query then default on -f - pkg info -q is now equivalent of pkg info -qa - expat is now always bundled (for vuxml) - vuxml is now the default source for pkg audit - Accept empty/comment only configuration files - Print a pkg name only once - even if multiple vulns were found - when using -q in pkg audit - pkg info now default on glob matching - Support for pkg+foo url scheme where foo can be (http, https, ftp). - pkg add is now able to read the packages from a pipe or a non-regular file '-' is an alias for stdin, this also works from pipes, fifos, unix domain sockets etc. - New 'fingerprint' kind of signature: if a repository is declared using the fingerprint type of signature, a fingerprint directory should also be provided. Inside that fingerprint directory should be 2 directories: trusted and revoked. Those directories will contains files (in yaml/ucl format) containing the fingerprint of the trusted certificated and the revoked ones: --- begins -- function: sha256 fingerprint: an_hex_representation_of_the_fingerprint --- ends --- All unknown attribute will be silently ignored to allow extending in the future. It also support multiple signatures inside the catalog. the catalog should provide the signature in the following form: name.sig name.cert - packagesite in pkg.conf is deprecated in favour using dedicated repository configuration files - REPO_DIR is now a list instead of a simple string - New git like aliases to allow creating custom commands - Allow using '?' operator in pkg query expressions - Fix ssh:// support - New PKG_SSH_ARGS to allow passing custom arguments to ssh command used for the ssh:// protocol - Do not generate catalogs in pkg 1.0 format anymore. - YAML is replaced by UCL format: Both formats are really simular. pkg(8) will falls back on parsing YAML when the UCL parser fail. And will emit a warning to the user showing a syntax that is compatible with both YAML and UCL. More informations on UCL: https://github.com/vstakhov/libucl - Dependencies on library is now automatic via pkg register and pkg create - Auto upgrade of pkg(8) now restart the upgrade process automatically - Lots of bug fixes discovered by Coverity Scan - New debug level traces - Bug fixes in zsh completion - rquery can now take a -I argument to output index like lines (needed for bsdconfig) - Skip self upgrade with -F is passed - Autodetect if libelf should be used bundled - Lots of bug fixes Thanks a lot to all people allowed this release to happen, may that be from providing code, ideas, submitting bugs, documenting or just supporting.
* Move WITH_DEBUG check below b.p.m so it works with WITH_DEBUG_PORTSeadler2013-11-231-3/+4
| | | | Approved by: portmgr (bapt, maintainer)
* - Update to 1.1.4_10 ahead of 1.2 update with critical fixesbdrewery2013-11-204-1/+207
| | | | | | | | | | | | | | | | | Changes: * When using SRV mirrors, order the mirrors by the advertised priority and weight. This should fix 'pkg update' using mirror A while 'pkg upgrade' and 'pkg fetch' end up using mirrors A, B and C, resulting in checksum errors due to not all mirrors being updated at the same time. * Add support for 'pkg+http://' URL scheme and deprecate 'http://' when using SRV mirroring. This is only a cosmetic change that encourages users to not try loading the PACKAGESITE into a browser to view it. Discussed with: bapt With hat: portmgr Obtained from: upstream git
* - Support WITH_DEBUGbdrewery2013-11-131-2/+7
| | | | | | | | - Add shebangfix for bash completion PR: ports/183277 Submitted by: mandree (based on) With hat: portmgr
* - Force pkg to not use base libbsdyml, which was available in head|stable/10bdrewery2013-10-144-1/+42
| | | | | | | | for some months. libbsdyml is being removed for 10-R. The bundled libyaml will be used instead. Discussed with: bapt With hat: portmgr
* Fix pkg register -i (staged pass mode) not properly respecting @owner/@groupbapt2013-10-063-6/+77
| | | | Reported by: naddy
* - Fix spelling of "Upgrades" since it keeps being reportedbdrewery2013-09-252-1/+12
| | | | With hat: portmgr
* - Fix staging of meta ports that have no files, such asbdrewery2013-09-252-1/+12
| | | | | | | mail/squirrelmail-plugins Discussed with: bapt With hat: portmgr
* Fix @exec/post-install script execution with pkg register -i [1]bapt2013-09-244-1/+55
| | | | | | | Fix MTREE not properly being extracted with pkg register -i [2] Reported by: garga [1] bdrewery [2]
* Add uidfix to allow packaging as a userbapt2013-09-241-0/+1
|
* Remove 'cat PKG-MESSAGE' for stagingbdrewery2013-09-231-1/+0
|
* Add the manpages to plist, missed in previous commitbapt2013-09-231-0/+35
| | | | Reported by: ak
* Use stage.bapt2013-09-231-40/+1
|
* Add NO_STAGE all over the place in preparation for the staging support (cat: ↵bapt2013-09-211-0/+1
| | | | ports-mgmt)
* Fix build on mipsbapt2013-09-206-6/+112
| | | | Fix analyzing elf when package/registering from a stage directory
* - Fix crash when registering some linux ports, such asbdrewery2013-09-052-7/+16
| | | | | | | games/linux-candycruncher-demo With hat: portmgr Reported by: mva
* - Rename ARM patch to proper name and remove unneeded newvers.sh patchbdrewery2013-09-051-13/+0
| | | | | | as the PORTREVISION is passed in MAKE_ENV With hat: portmgr
* - Remove MAKE_JOBS_SAFE variableak2013-08-151-1/+0
| | | | Approved by: portmgr (bdrewery)
* Add proper support for detect new arm eabibapt2013-07-172-0/+59
| | | | | | Bump port revision. Submitted by: andrew@
* - Update to 1.1.4bdrewery2013-07-063-23/+3
| | | | | | | | | | | | | | Changes: * Fix crash when opening repository in some cases * Fix build with -Werror * Fix 'pkg install [-f] pkg' not finding results * Fix 'pkg upgrade -f' always wanting to upgrade pkg first * Fix 'pkg install -R' always wanting to install pkg first * Fix backwards compatibility for 1.0-built packages for tracking shlibs. This may cause some packages to be reinstalled after the repository is updated. * Fix pkg (upgrade|fetch|install) -r <repo> crash * Fix crash when specifying invalid repo with -r
* - Fix build with -Werrorbdrewery2013-06-302-0/+20
|
* - Update to 1.1.3bdrewery2013-06-293-46/+3
| | | | | | | | | | | | | | Changes: - Fix repository signing verification with new format during update - Disable terminal title setting - Fix %a/%k returning true/false instead of 0/1 - Various memory/fd leaks have been fixed - Fixed pkg self-upgrade detection - ZSH completion fixes - Several crashes fixed With hat: portmgr
* - Fix 'pkg query %a' returning true/false instead of 0/1.bdrewery2013-06-272-0/+43
| | | | | | | | | This was showing as a warning in portmaster/portupgrade and could have caused packages to be registered incorrectly automatic/non-automatic on upgrade. Reported by: many Obtained from: upstream git
* Update to 1.1.2bapt2013-06-252-3/+3
| | | | | | | | | | | Changes: - Fix install|upgrade -f not executing post-install scripts [1] - Fix bad size calculation on i386 for pkg delete (always say 4G will be freed) - Fix pkg query '%sh' now properly converting to human number on i386 - Fix zsh completion missing ']' [2] - Fix pkg stats in case no remote repositories are configured [3] Reported by: ohauer [1], Kimmo Paasiala via github issue #520 [2], rene [3]
* Update to 1.1.1:bapt2013-06-242-6/+6
| | | | | | Changes: - Fix an pkg crashing on i386 - Fix a regression on the output of pkg version
* Update to 1.1 finalbapt2013-06-243-27/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes since 1.0.X: - new simpler and more reliable solver - shared libraries are now always tracked - ssh:// is supported as a protocol to distribute packages (needs pkg 1.1+ on the server hosting the packages) - multirepository is no longer considered experimental and works by default. - incremental update of the catalog (only if the repository was created by pkg 1.1+) - simplification of the public API - stabilisation of the public API (we will now try to keep it stable and if change are needed there will be deprecation time before removal of some old functions) - new experimental pkg convert (can convert from and to legacy pkg database) pkg2ng now uses pkg convert (still recommanded to use pkg2ng) - new pkg lock/unlock to prevent any manipulation of a given package (no upgrade,delete,etc) - improved UI (now you can see the progress of an upgrade what is left to be done) - new pkg annotation to allow one to add annotations (free form key/value) to a package) - pkg audit is now able to directly parse the vuxml native format and not only the compact version - pkg -vv now shows all available options and their current settings - pkg -vvv now shows a description of all the available options - pkg info now automatically considers the query as globbing if * is in the requested pattern - new hook plugin interface (allows users to create hooks that get called at anytime during and upgrade/installation/deletion of a package) - new cmd plugin interface (allows users to create new sub command available for pkg) - pkg register can now register a port installation in the legacy database format - repository can be defined in simple yaml files - Explain why a package is being reinstalled - A package can now be marked to only be upgraded from a given repository via annotations - install and upgrade will show from which repository packages are taken from - old/unused 'informations' field has been removed in favor of using annotations - pkg repo produce a repo.txz in pkg 1.0 (legacy) fromat Internal: - massive usage of hash tables (uthash), which simplifies a lot of the code, and improves performances - lots of optimisation in plist and manifest parsing - lots of optimisation in loading packages (mmap used when possible) - lots of cleanup in memory usage - regression test framework is now ready (using atf) regression test are slowly being added and populated.
* - Update to 1.0.14, bringing minor fixes before the 1.1 release.bdrewery2013-06-203-43/+3
| | | | | | | | | | Changes: - 'pkg update' fix [already in port] - Crash fix on i386 [already in port] - Fix for periodic scripts [1] PR: ports/179723 [1] Reported by: fred@SUNBOT.Homedns.ORG [1]
* Actually push the right patchbapt2013-06-191-10/+10
|
* Fix a segfault on i386 and powerpc64 while registering a port as automatic [1]bapt2013-06-192-0/+40
| | | | | | | | | Prevent 'pkg update' will always think that the repo is up to date if no mtime header is sent by the http server [2] Bump port revision Reported by: adrian[1], hrs [1] Tested by: hrs [1] Submitted by: cperciva [2]
* - Update to 1.0.13bdrewery2013-06-113-30/+3
| | | | | | | | | | | | | | | Changes: - Add pkg -N to detect if pkgng is installed and activated. See pkg(8) for usage as this is not completely safe for 9.1's bootstrapper. - Update manpages with examples - Fix crash in shlib handling (was already in port) - Fix shlibs scanning over NFS - Update to new repository/upstream URL at http://github.com/freebsd/pkg With hat: portmgr
* Add NO_LATEST_LINK in case of pkg-devel being the default pkgbapt2013-06-111-0/+1
|
* The pkg developement team is proud to announce the new 1.1.0 beta1 release ofbapt2013-05-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pkg. Here is the list of new features that happened in pkg 1.1: - new simpler and more reliable solver - shared libraries are now always tracked - ssh:// is supported as a protocol to distribute packages (needs pkg 1.1+ on the server hosting the packages) - multirepository is no longer considered experimental and works by default. - incremental update of the catalog (only if the repository was created by pkg 1.1+) - simplification of the public API - stabilisation of the public API (we will now try to keep it stable and if change are needed there will be deprecation time before removal of some old functions) - new experimental pkg convert (can convert from and to legacy pkg database) pkg2ng now uses pkg convert (still recommanded to use pkg2ng) - new pkg lock/unlock to prevent any manipulation of a given package (no upgrade,delete,etc) - improved UI (now you can see the progress of an upgrade what is left to be done) - new pkg annotation to allow one to add annotations (free form key/value) to a package) - pkg audit is now able to directly parse the vuxml native format and not only the compact version - pkg -vv now shows all available options and their current settings - pkg -vvv now shows a description of all the available options - pkg info now automatically considers the query as globbing if * is in the requested pattern - new hook plugin interface (allows users to create hooks that get called at anytime during and upgrade/installation/deletion of a package) - new cmd plugin interface (allows users to create new sub command available for pkg) - pkg register can now register a port installation in the legacy database format - repository can be defined in simple yaml files Internal: - massive usage of hash tables (uthash), which simplifies a lot of the code, and improves performances - lots of optimisation in plist and manifest parsing - lots of optimisation in loading packages (mmap used when possible) - lots of cleanup in memory usage - regression test framework is now ready (using atf) regression test are slowly being added and populated. To use this new version: Ports users (or in building factories: poudriere/tinderbox): Add WITH_PKGNG=devel to your make.conf pkg set -o ports-mgmt/pkg:ports-mgmt/pkg-devel Binary package users, if the remote repository is providing pkg 1.1: pkg set -o ports-mgmt/pkg:ports-mgmt/pkg-devel pkg upgrade Note that pkg 1.1 can use a repository created for pkg 1.0 and vis versa. Huge thanks to all the people that have contributed to the pkg developement: - may that be by code - documentation - bug report - feedback - ideas List of people who contributed code: Baptiste Daroussin, Matthew Seaman, Bryan Drewery, Vsevolod Stakhov, Marin Atanasov Nikolov, Alexandre Perrin, Romain Tartière, Julien Laffaye, Glen Barber, John Marino, Alex Kozlov, Roman Naumann, Sofian Brabez, Alberto Villa, Will Andrews, Eitan Adler, Dan McGregor, namor, niamtokik, Arthur Gautier, Garrett Cooper, Andrew Turner, Jeremy Chadwick, Hajimu UMEMOTO, Mark Lokowich, Eygene Ryabinkin, Pietro Cerutti, Rolf Grossmann, Ed Schouten, Dimitry Andric, David Forsythe, Stefan Grundmann, Craig Rodrigues, Antoine Brodin, Andrey Zonov, Joel Dahl Stats between 1.0 and 1.1: 287 files changed, 63418 insertions(+), 18763 deletions(-) 1198 commits
* - Fix crash while packaging netbeansbdrewery2013-05-172-0/+27
| | | | | Reported by: many Reviewed by: bapt
* - Fix typo (does not affect build or package)bdrewery2013-05-021-2/+2
| | | | | Submitted by: ohauer With hat: portmgr
* - Update to 1.0.12bdrewery2013-05-024-62/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *** Binary Package Builders: It is recommended to rebuild all packages and then run 'pkg check -Ba' and 'pkg upgrade' on your client servers once. This will allow the new shlib tracking to reinstall packages that have changed shlib requirements. This step is optional. Changes: * Always track provided SHLIBS now when packages are created * Automatically reinstall packages when their needed shlibs or dependencies change. This removes the need to run 'pkg install -Rf' in many, but not all, cases. * New DB lock strategy when stored on a network filesystem * pkg version: Show ? when package is missing on remote * pkg check -s: Return non-zero exit status if a mismatch is found * pkg audit: Implement -q * Add more periodic scripts * Add bash completion script * pkg audit: Performance optimizations * Build fixes * Add some forward-compatibility support for upcoming 1.1 Thank you to all contributors, listed in the upstream commits: https://github.com/pkgng/pkgng/commits/1.0.12 With hat: portmgr
* Fix build after addition of -Wmissing-variable-declarations to WARNS=6 in HEADbapt2013-04-211-0/+56
| | | | | Submitted by: ed Feature safe: yes
* - Update to 1.0.11bdrewery2013-03-312-3/+3
| | | | | | | | | | | Changes: - Fixes pkg-[r]query %d only returning the first depedency. This could have resulted in packages being built without a full depedency list. It is recommended to rebuild any packages built in the last day. With hat: portmgr
* - Update to 1.0.10bdrewery2013-03-305-46/+6
| | | | | | | | | | | | | | | | | | | | | | | - Replace tab with space in pkg-descr Changes: - gcc44/gcc48 build fixes - pkg-install now returns 0 when requested pkgs already installed - Fixed pkgconf file handling - Hard-coded post-deinstall list has been moved to bsd.pkgng.mk as _FORCE_POST_PATTERNS so we can update that instead of having a pkgng release every time a new one is identified. - Add pkg check -n for -d to be scriptable - Fix memory corruption if WWW passed directly to manifest - COMMENT/Description/WWW are now required to make valid packages - Store fetched packages as 0644 - Add events for conflicts - Add -F to pkg-install - Pipe fixes - Misc fixes
* - Fix lib/gio/modules/giomodule.cache being seen as a leftoverbdrewery2013-03-182-1/+13
| | | | | | | | | due to @unexec gio-querymodules running before files were deinstalled. A more extensible solution is being sought for 1.0.10 to be used through bsd.pkgng.mk Reported by: miwi, swills With hat: portmgr
* - Remove the need to patch newvers.sh on revision updates bybdrewery2013-03-182-20/+2
| | | | passing PORTREVISION into the MAKE_ENV
* - Fix crash in pkg-updatebdrewery2013-03-143-0/+48
| | | | | | | | | You may need to manually 'pkg add' 1.0.9_1 or rebuild from ports if you are on 1.0.9 Submitted by: Alexandre Perrin <alexandre.perrin@netoxygen.ch> Obtained from: upstream git With hat: portmgr
* - Update to 1.0.9bdrewery2013-03-142-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: - pkg-query(8) now returns EX_UNAVAILABLE when no package could be found [1] - pkg-rquery(8) now returns EX_UNAVAILABLE when no package could be found - Incompatible ABI message has been improved - Support base libbsdyml when possible over bundled libyaml - Fix `pkg install -fR` not installing missing dependencies [2] - Fix build with clang/gcc-4.7 in some cases [3] - Fix SRV MIRROR support - pkg-{fetch,install,upgrade} -L has been deprecated. Please use -U now. -L will be removed in a future release. Thiwas was done to be consistent with future support for -U in pkg-rquery(8) and pkg-search(8) - Make DEVELOPER_MODE architecture suggestion more clear that it is non-fatal. This is not really implemented yet and is just a hint. - Fix @cwd not being respected for @exec/@unexec. This mostly manifested as directories being created in the wrong place when installing packages. - New configuration option FETCH_TIMEOUT [4] - Documentation updates PR: ports/173515 [1] Reported by: eadler [1] Submitted by: Alexandre Perrin [1] PR: ports/175899 [2] Reported by: Adam McDougall <mcdouga9@egr.msu.edu> [2] Submitted by: John Marino [3] Submitted by: Dan McGregor [4] Reviewed by: bapt (release changeset) With hat: portmgr
* - Use USE_SUBMAKE to fix running 'make build deinstall install' not properlybdrewery2013-03-101-0/+3
| | | | | | | | using the pkg-static(8) from WRKSRC during the install phase PR: ports/171831 Reported by: Garrett Cooper <yaneurabeya@gmail.com> Approved by: portmgr (bapt)
* pkg uses /usr/share/mk/* framwork to build, so it can be tuned viabapt2013-02-271-1/+1
| | | | | | | | | | make.conf/src.conf which is something we don't want when building from the ports tree. Make sure to ignore make.conf and src.conf when building. Reported by: kargl@ Tested by: kargl@
* - update to 1.0.8bapt2013-02-212-3/+3
| | | | | | | | | | | | | - changes: * libpkg: When reseting a package reset the associated flags * libpkg: Allow to build with newer and older libarchive * Fix pkg clean trying to get information on non existing packages * Fix build with bmake * Fix multi repository save remote repository to wrong database * Fix pkg repo incremental update * Return an error when one of the repository failed to update in multi repo mode * Fix dragonfly abi detection to fit the way dragonfly development is done
* - update to 1.0.7bapt2013-01-292-3/+3
| | | | | | | | | | | | | | - changes: * Fix HTTP_MIRRORS parsing * Workaround libarchive not 100% supporting mtree format * prepend remote repository by 'repo-' in multirepository mode * If mirror is stored in http use If-Modified-Since * Register the packagesite in the remote database, pkg update detects packagesite chanes * Fix pkg check -s * Allow to pipe events in json format though a unix socket/fifo via EVENT_PIPE configuration * store errno in events when it fits to avoid errno to be overwritten
* - update to 1.0.6bapt2013-01-222-3/+3
| | | | | | | | - changes: * Avoid installing .symbols on current Reported by: kwm Tested by: kwm
* - update to 1.0.5:bapt2013-01-2210-104/+3
| | | | | | | | | | | | | | | | | | - changes: * Expand all instances of $ORIGIN in RPATH strings * Use -rpath when building pkg * Handle the case where left-over records are present in the local database * Fix license logic * Fix spelling in manpages * Fix built with gcc when build without DEBUG_FLAGS * Allow to set HTTP_PROXY/FTP_PROXY directly in pkg.conf(5) * Fix +MTREE_DIR extracting during binary installation of a package * Add experimental feature: HTTP_MIRRORS, see below Please note that this version does something we normally do not do in a release branch. It adds an experimental feature: HTTP_MIRRORS, that was requested for PC-BSD. This feature makes possible to retrieve a list of mirrors via an http request first, looking for the URL: http://... lines in the fetched page.
* - Fix build due to uninitialized variables, whichbdrewery2013-01-145-0/+56
| | | | | | | were previously hidden due to DEBUG_FLAGS Obtained from: Upstream git repo Approved by: bapt
* Do not install .symbols on currentbapt2013-01-132-0/+25
| | | | Reported and tested by: kwm
* - Only show conversion "seatbelt" notice if nobdrewery2013-01-091-1/+8
| | | | | | | | pkgng packages have been installed yet. This fixes the notice showing after already running pkg2ng but having 1 or more packages fail to convert. Approved by: bapt
* - Enable seatbelt again after further testing. It willbdrewery2012-12-231-25/+25
| | | | | | | | | | | work fine as is with portmaster distfiles. pkg_info -Ea will list invalid packages, while pkg_info only gives a warning for the packages. This is already handled due to stderr being sent to /dev/null. The NB_OLDPKGS does come out correct. Approved by: bapt (implicit)
* Temporary disable the seat belt it doesn't play nice with portmasterbapt2012-12-221-25/+25
|
* - Fix runtime version still showing 1.0.3bdrewery2012-12-222-0/+20
| | | | Approved by: bapt
* - update to 1.0.4bapt2012-12-213-19/+29
| | | | | | | | | | | | | | | | | | - changes: * zsh completion for the help subcomment [1] * Make unlocking an already unlocked database a no-op, * Create the PKG_DBDIR if it doesn't exists * Fix download size calculation * When analysing shlibs, interpret the special token $ORIGIN in RPATH correctly * For shared libraries installed by a package, don't require dynamic library dependencies to resolve * Do not warn twice about unknown keywords * New PERMISSIVE option please do not use !!! * Add a seat belt in the ports Makefile to avoid automatic switching to pkgng [2] Submitted by: ume [1] Requested by: stas [2] Bad english by: bapt [2] Good english by: bdrewery, gjb [2]
* Add a patch to bump the version output bump by pkg -v this was forgotten inbapt2012-12-082-0/+16
| | | | | | the last release Feature safe: yes
* - update to 1.0.3bapt2012-12-072-3/+5
| | | | | | | | | | | | - changes: * Accept to query _https._tcp srv records * Fix diskspace change calculation in pkg upgrade * Fix pkg info -s -F apackage * Better ABI determination * Fix pkg upgrade badly returning 0 in case of failure * Fix build with recent clang 3.2 Feature safe: yes
* - update to 1.0.2bapt2012-11-073-3/+10
| | | | | | | | | | | | | | | | | | - changes: * Add a completion for zsh * 1 in pkg.conf is consider as true or yes for booleans * Fix incremental pkg repo * Provide a pkgconf pkg.pc file for third party software using libpkg * Multiple grammar fixes * Several fixes in pkg create * Do not emit error if the deletion of a directory fails with EBUSY * Use isdigit(3) rather than isnumber(3) * Jail support is automatically disabled it /usr/include/jail.h is not present * Fix a regression leading to pkg install always returning 0 even when something wrong happened * Improve portability so that it now builds on DragonFly BSD Feature safe: yes
* Mark as not ccache safebapt2012-10-021-0/+1
| | | | Reported by: Piotr Kubaj <pkubaj@gmail.com>
* - update to 1.0.1bapt2012-10-012-3/+3
| | | | | | | | | | | | - changes: * Allow extra space for environment and command when piping to /bin/sh for scripts * Improved DEVELOPER_MODE output * Error when neither www or desc is defined in the manifest * pkg help now have the same level of informations as usage() * Lots of fixes in manpages * Only try to get checksum on regular files * pkg2ng: Preserve files under $PKG_DBDIR that don't belong to pkg_tools * add dry-run to pkg autoremove
* Mark as job safebapt2012-09-251-5/+1
| | | | Submitted by: Adam McDougall <mcdouga9@egr.msu.edu>
* - update to 1.0bapt2012-08-303-15/+3
| | | | | | | | - changes: * SRV mirroring is on by default * fix large scripts executions * pkg check -d now installed packages tags as automatic * performance improvements
* - Fix crash when no PACKAGESITE is defined in pkg.confbdrewery2012-08-242-0/+12
| | | | Approved by: bapt (mentor, maintainer)
* - Fix prompt sign in pkg-message, pkg2ng must be run as rootgahr2012-08-221-1/+1
| | | | Approved by: bapt (portmgr)
* - update to 1.0-rc6bapt2012-08-173-16/+3
| | | | | | | | | | | | | | | | | | | - changes: * pkg query now fails if no format strings has been provided * pkg delete pkg is no more allowed expect if -f is specified * large improvements on pkg backup/restore interface * do not propose to downgrade dependencies expect if forced to * every script execution now uses posix_spawn(3) * this abi is now check on pkg update, if a remote repository does not fit the desired abi, pkg update will fail. * allow pkg set -o even if the oldoriring has been uninstalled * pkg version now has -O to match on package origin * respect TMPDIR environnement setting * pkg.conf now has a ${ABI} variable correcponding to the detected ABI or the set one (sample pkg.conf has been modified to use it) * when run as non root pkg upgrade is automatically set to dry-run mode * pkg version can now work on remote repository (no need for a ports tree) * many buf fixes and man pages improvements
* Fix a regression appending newline to commmentsbapt2012-07-302-0/+13
| | | | Reported by: avilla
* - update to 1.0-rc5bapt2012-07-303-50/+3
| | | | | | | | | - changes: * speed improvements in pkg repo on multi core boxes * fix pkg upgrade proposing to downgrade dependencies * fix pkg2ng losing seom origin from dependencies * fix losing new line informations in descriptions * new -A option to track a new installation as automatically installed
* add a fix to pkg2ng preventing losing track of some dependency origins leadingbapt2012-07-302-0/+47
| | | | | | | to a failure of the conversion. Reported by: Pierre Guinoiseau (via gitub issue #314) Tested by: Pierre Guinoiseau
* - update to 1.0-rc4bapt2012-07-212-3/+3
| | | | | | | | - changes: * Fix reinstalling package due to options change losing automatic flag * Fix pkg set -o * do not use dlopen for figure out path of libraries to track shlibs * more manpages cleanup
* - update to 1.0-rc3bapt2012-07-142-3/+3
| | | | | | | | | - changes: * fix bug corrupting automatic and licenselogic flags * some mdoc fixes * fix a new dependencies pulled by upgrade showed as reinstalling instead of installing * some fixes in repo generations
* - update to 1.0-rc2bapt2012-07-132-3/+3
| | | | | | | | | | - changes: * fix an important bug on script handling resulting in scripts runned sometime twice * time can no more be negative while fetching * fix a crash on pkg check * fix an infinite retry loop when fetching a file that return 404 * emit a warning when search gives no results
* - update to 1.0 rc1bapt2012-07-123-18/+3
| | | | | | | | | | | | | | | | | | | | - changes: * schema for remote repositories are versionned * fix ordering of scripts * ability to query SRV dns records for automatic mirror detection (ala portsnap/frebsd-update) via the SRV_MIRROR options default to off * new FETCH_RETRY options (default to 3) * more style(9) compliance of the code * lots of cleanup in exits codes * lots of typos fixes in manpage * improvements in manpages * pkg2ng now move the old database into /var/db/pkg.back * new -B option to pkg check to reanalyse the files and populate shlibs * new install -fR to reinstall all packages depending on a given package * disable shlib when using pkg-static No new feature to expect in next releases, only bug fixes New feature will be for 1.1 (already planned :))
* Fix alignement error making pkg repo segfaul on i386bapt2012-07-042-0/+15
| | | | | | Reported by: gjb, Ivan Klymenko <fidaj@ukr.net> (via ports@) Tested by: gjb Obtained from: pkgng git repository
* fix distinfo (sorry I commit the wrong one before)bapt2012-07-021-2/+2
|
* - update to 1.0 beta17bapt2012-07-024-25/+3
| | | | | | | | | | | - changes: * downgrading is always forbidden except if you explicitly force it * yet another fix for incremental pkg repo * pkg install/upgrade now detect ports which remote has different option set and propose to reinstall them * code refactoring, and improvement in pkgdb.c and pkg_repo.c * new -f options for pkg update * new -f and -q options for pkg repo
* Really fix build on 8-stable and 9-stablebapt2012-06-272-0/+22
| | | | | | No revision bump because no changes but allowing building when it failed Obtained from: pkgng git (Bryan Drewery)
* - update to 1.0-beta16bapt2012-06-255-80/+11
| | | | | | | | | | | | | | | | | | | | - changes: * fix incremental pkg repo * fix stage directory (copy mode) support * improvements on documentation (man pages, error messages) * new ARCH_INDEP options in developper mode to allow notifying a maintainer that a port might be archiecture independant * fix compilation on recent 8-stable and 9-stable * improvemens is usage() output * new option PORTAUDIT_SITE to allow user to set the url for the auditfile * pkg create -an to not repack existing packages * new periodic script to make daily backup of the database * new stats (pkg-stats(8)) subcommand * big improvements and bug fixes in pkg (r)query * deactivate shlibs tracking all the time in pkg-static * lots of bug fixes Thanks to all contributors
* - Fix pkg2ng with new options frameworkbapt2012-06-152-1/+44
|
* Backout reproducible packages.bapt2012-06-042-1/+33
| | | | | | | | | pkgng tried since beta14 to create reproducible package: aka 1 package build twice will get exactly the same checksums, this revealed some problem with python that were workaround in beta15 but lots of build system seems to really not approciate it, while the feature is good and might be reactivated in the futur, the ports tree and upstream build systems, need a lot of work to be able~ to deal with 100% reproducible packages :(
* Add pkg-remove.8 to MLINKS.kwm2012-06-041-0/+2
| | | | Approved by: portmgr (bapt@)
* - update to 1.0-beta15bapt2012-06-033-42/+3
| | | | | | | | | | | | | | | | | - changes: - new -d to pkg fetch to download the dependencies along with the package - fix automatic flag tracking over installs and upgrades - fix hardlink detection (size calculation of git is now sane again :)) - pkg remove is now an alias to pkg delete - fix a bug with shlibs track causing segfault - pkg check -r now updates flatesiz and checksums - all generated yaml now contain a yaml object separator, pkg info -Ra can be pased directly to a yaml parser - pkg query and pkg rquery do not fallback anymore on matching everything if -g -x or -X is passed in arguments - fix python packing on pointyhat/tinderbox with a ugly workaround for now - pkg info '' and pkg search '' now complains about empty pattern - pkg rquery now return 1 if nothing matched
* - Fix pkg update adding repo.txz twicebapt2012-05-232-0/+39
| | | | | PR: ports/168235 Submitted by: Andriy Syrovenko <andriys@gmail.com>
* - update to 1.0-beta14bapt2012-05-222-3/+3
| | | | | | | | | | | | | | | | | | | | | | | - changes: * new DEVELOPER_MODE option: it will fail instead of just printing warnings * package creation is now reproductible, the same package built twice will have the same checksum * pkg install, upgrade and fetch now automatically performs the update of the remote metadata if necessary * portmaster patch: use_pkgng is not nessecary anymore * portmaster patch: new format you can just copy it in the ports-mgmt/portmaster/files * portmaster patch: support for portmaster -o * portmaster patch: Enable --check-depends, aliasing pkg check -adv * pkg set -A to mark a package as automatically installed (-a now matches all: better consistency with other commands) * new -D option for pkg info (same as pkg_info -D) * pkg set -o now change origin for a port and everything that depends on it * new -L option for pkg {fetch,install,upgrade} to skip updating metadata. * when a package isn't valid, print human information about what is missing * some fixes in ordering (revealed by p5-XML-Sax mess) Thanks to all contributors
* - update to 1.0-beta13bapt2012-05-042-3/+3
| | | | | | | | | | | - changes: * -a (all) is now befault behaviour of check, query, rquery * speed up remote repository query * fix excessive CPU usage on fetching * improve man pages documentation * only display filenames on fetching not full url * fix an important bug on jobs ordering calculation * lots of bugs fixes
* pkg.conf.sample is not a PORTEXAMPLEbapt2012-04-262-4/+1
|
* - update to 1.0-beta12bapt2012-04-233-15/+11
| | | | | | | | | | | | | | | - changes: * Fix to be downloaded calculation * Respected rc.conf with handle_rc_scripts * Improve man pages * Fix pkg set -o * new pkg rquery subcommand, do the same as pkg query but for remote repositories * Allow forcing installation of a package even on bad arches * Add indexes to local database, speed up local queries * Speed up file loading from database * lock the database while executing a job * improvements on new pkg version detection
* Fix bug preventing self upgrade with beta11bapt2012-04-192-0/+12
|
* - update to 1.0 beta11bapt2012-04-142-3/+6
| | | | | | | | | | | | | - changes: * lot's of improvement in man pages documentations * pkg info and pkg search are now aligned like pkg_info * pkg search -x is now default * new pkg shell subcommand, this fires up a sqlite3 shell use with caution * pkg which gains 2 new options: -q (quiet) -o (origin) * fix pkg repo incremental * pkg version can now have -egXx <pattern> options * when is port is registred this is now notifified as an installation (means syslog informations :)) * force umask 022
* - update to 1.0-beta10bapt2012-04-085-27/+4
| | | | | | | | | | | | | | | | - changes: * Fix memory corruption * Fix handle_rc_script when upgrading services are now really restarted * Report Already installed/Not found when installing packages if any * when trying to pkg add something that doesn't exists, recommend the user to use pkg install * Fix abi detection on recent current * pkg -v report the version, -vv more informaton, -vvv even more :) * new pkg fetch command (not yet documented) * code factorisation * pkg repo is now incremental * install/upgrade now first forces installation/upgrade of pkg before anything Feature safe: yes
* fix @ignore handling (fixes nullmailer)bapt2012-04-012-1/+12
| | | | Feature safe: yes
* Fix plistbapt2012-03-301-0/+1
| | | | Feature safe: yes
* - Fix pkg check -rabapt2012-03-302-0/+11
| | | | | Reported by: gelraen (irc://freenode/#pkgng) Feature safe: yes
* - update to 1.0-beta9bapt2012-03-303-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - changes: * query -f has been replaced by query -F when querying a package (file) for consistency with pkg info * fix autoremove recursion * pkg set -o oldorigin:neworigin allow the user to modify the origin of a packages (useful for MOVED) * several fixes on powerpc * pkg query evaluation expression now accept != * pkg2ng is now able to migrate a local database without needed the ports tree * speed up pkg check by only loading the informations needed for the operation it will do * code cleanup in the library * fix uname/gname lookup when creating packages * new periodic script for pkg audit * new keyword shlib, pkgng is able to load information about the needed shlibs for a package (disable by default) * pkg info act as pkg info -a by default * new install timestamp in the package database, available using pkg query "%t" * pkg updating can now take a port name as argument to only show related UPDATING informations) * -q (quiet) for install, delete, upgrade, update and autoremove * new ABI detection string Concerning the new ABI, to be able to determine which package can be installed on which destination, pkgng couldn't rely on the simple: os version/machine, because some arches have incompatible ABIs. Can compute on its own the ABI, the string is the followin: OSNAME:OSMAJORVERSION:OSARCH:OSCLASS(:...) ... means the arch specific extensions. which means on: * amd64: freebsd:9:x86:64 * i386: freebsd:9:x86 * arm: freebsd:9:arm:eb:oabi:softvp etc Be careful all the packages (.txz) files have to be rebuilt!!! When binary upgradeing from pkg beta8, on amd64 do the following: UNAME_m=freebsd:9:x86:64 pkg install -f pkg on i386 UNAME_m=freebsd:9:x86:32 pkg install -f pkg Bonus when run on a chroot/jail where ABI is different from the host, pkgng will dynamically determine the destination ABI. Feature safe: yes
* - update to 1.0-beta8bapt2012-03-032-3/+5
| | | | | | | | | | - changes: * pkg info -R now show a full yaml (script, options, users and groups were missing in previous versions) * new pkg query -e <evalutaion> <query-format> to be able to query packages base on boolean expression matching content of the package * pkg check now works like other subcommand: -a for all, -gxX for (glob, regex, eregex) * pkg check is now able to check the file checksum and print what has been modified since package installation (-s option) * pkg check is now able to recompute the flatsize (-r) this can fix the flatsize of packages installed with version prior to beta7 * new pkg set currently can only be used to manually mark package as automatically installed or not
* - update to 1.0-beta7bapt2012-02-232-32/+32
| | | | | | | | | | - changes: * move commands man pages from section 1 to 8 * pkg check can now be run as a user (will print the missing dependencies if any) * better handling of database creation error * new option -f to install subcommand to force reinstallation of a package * new option -f to upgrade subcommand to force reinstallation of the whole set of packages * pkg audit can now take a package: name-version in argument
* Add forgotten pkg-updating(1) to plistbapt2012-02-161-0/+1
| | | | Submitted by: George Liaskos <geo.liaskos@gmail.com>
* liblzma in base is needed so only version >= 800505 are supportedbapt2012-02-161-2/+2
| | | | Submitted by: thompsa
* - update to 1.0-beta6bapt2012-02-162-4/+3
| | | | | | | | - changes: * pkg register: now run inside a transaction, this speeds up things a lot (thank you avg) * pkg version: -v now print name-version to match behaviour of legacy pkg_version * pkg register: fix flatsize calculation * new pkg-updating(1) man page (thanks beat)
* pkg should never register itself as automaticbapt2012-02-121-0/+2
| | | | Tested by: rene
* - update to beta5bapt2012-02-122-3/+3
| | | | | | - changes: * move all the private headers into a private subdirectory to prevent the temptation of using them in the frontend * fix a miss behaviour in pkg query printing things it shouldn't in case of mistakes
* - update to beta4bapt2012-02-122-3/+3
| | | | | | | - changes: * do not assert in case of unfinished buffer but finish it instead * more userfriendly error message for pkg audit * print not found patterns for pkg info and pkg query
* - update to beta3bapt2012-02-112-3/+3
| | | | | | | | | - changes: * fix pkg add (it is been broken during beta2 sorry about that) * fix manifest emitter: now really emit the pkg-message in message no more description * add %M to pkg query to show messages * concat all pkg-messages and show it once at the end of operations * print messages about missing dependency during pkg add
* - update to 1.0-beta2bapt2012-02-103-4/+9
| | | | | | | | | | | | | | | | | - add a message to warn user that they need to migrate using pkg2ng - add a mirror to download - changes: * update bundled sqlite to 3.7.10 * add -n to pkg create to avoid packing already packed packages * Fix rc script handling * safer sbuf usage (this fix ia64 support) * report a list of failing packages if any with pkg add * allow "<category>/<port>" pattern in pkg search * add support for syslog (through a pkg.conf option) * the portmaster patch in the git is now up to date with 3.11 and feature complete (thanks avilla) * add -R to pkg info to print out the raw manifest of a given package * fix pkg query "%a" * more robust to errors when creating packages