- 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
- 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
- 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.
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
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)
- 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]
- 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
- 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
- changes:
* SRV mirroring is on by default
* fix large scripts executions
* pkg check -d now installed packages tags as automatic
* performance improvements
- 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
- 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
- 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
- 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
- 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
- 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 :))
- 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
- 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
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 :(
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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