* Exclude .git directories from error reporting [1]
* Add some additional Perl checks for STAGEDIR [2]
* Try not to flag on direct use of "install" if we're running a make command [3]
* Fix the checks for Perl given the new hierarchy [4]
PR: 195780 [1]
194759 [3]
196222 [4]
Submitted by: gerald [3]
Yasuhiro KIMURA <yasu@utahime.org> [1]
Requested by: mat [2]
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.
- Lots of fixes on the chflags handling
- Emit names in cudf instead of origins
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
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
- update sqlite to 3.8.8 (small performances improvements and bug memory usage reduction)
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
2015-01-06 ports-mgmt/portcheckout: Uses ports cvs repo, which is long gone
2015-01-06 ports-mgmt/pkg_trackinst: Does not support pkgng, generates incorrect pkg-plist
2015-01-06 ports-mgmt/pkg_remove: Does not support pkgng
2015-01-06 ports-mgmt/pkg-orphan: Does not support pkgng
2015-01-06 ports-mgmt/p5-FreeBSD-Pkgs-FindUpdates: Depends on ports-mgmt/p5-FreeBSD-Pkgs
2015-01-06 ports-mgmt/p5-FreeBSD-Pkgs: Does not support pkgng
2015-01-06 ports-mgmt/p5-App-Pm2Port: Does not know about USES=perl, generates incorrect pkg-plist
2015-01-06 ports-mgmt/bpkg: Does not support pkgng
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
- Initial support for OSX (passes all regression tests)
- Initial support for Linux (early)
- Update libucl to 0.7.1
- Bundle libfetch (to simplify porting as well as providing latest improvements to all FreeBSD version)
- Support blake2b digests
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
Currently building portshaker package on a clean system will install
subversion 1.8 even if 1.7 is defined in make.conf with
WITH_SUBVERSION_VER=17.
Patch fixes this and will use either 1.7 or 1.8 as required for the
run dependency.
PR: 195740
Submitted by: simon.wright@gmx.net
Approved by: romain (maintainer timeout)
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
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
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
Changes:
- More fixes to pkg fetch -o
- Fix pkg delete removing too many directories
- new pkg set -n (to change names) equivalent of pkg set -o
- Run pkg set -n and -o understand transaction to speed up
- Allow @dir to be a symlink
Portlint's history goes back to itojun. I've researched his open source
projects and he either used two licenses:
BSD3CLAUSE: magicpoint, sch
His own license: portlint, snooper, various camera tools, etc
Debian asked him years ago about his license to see if it complies with
thier DFSG:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=88416
Example of his license:
Copyright(c) 1997 by Jun-ichiro Hagino <itojun@itojun.org>.
All rights reserved.
Freely redistributable. Absolutely no warranty.
OR
Absolutely no warranty. Pray before try. Freely redistributable.
Hope I'm not crossing any boundaries here, but in my effort to clean up
"BSD" licenses in the ports tree this one certainly is not and sadly we
can't just ask him.
ports-mgmt/bpkg: Does not support pkgng
ports-mgmt/p5-App-Pm2Port: Does not know about USES=perl, generates incorrect pkg-plist
ports-mgmt/p5-FreeBSD-Pkgs: Does not support pkgng
ports-mgmt/p5-FreeBSD-Pkgs-FindUpdates: Depends on ports-mgmt/p5-FreeBSD-Pkgs
ports-mgmt/pkg-orphan: Does not support pkgng
ports-mgmt/pkg_remove: Does not support pkgng
ports-mgmt/pkg_trackinst: Does not support pkgng, generates incorrect pkg-plist
ports-mgmt/portcheckout: Uses ports cvs repo, which is long gone
Changes:
- Important bug fix in the solver in case an explicit conflict has been
discovered in that case the solve should delete the old version then
install the new version when it was deleting the old version then upgrading \
to the new version
- Small cosmetic fix
Changes:
- Print orphaned packages in pkg version when comparing with the INDEX file
- Fix pkg upgrade leaving directories behind
- Plug memory leaks when parsing plists
- Remove some dead code
- Improve documentation
- file:// repository files are now fetched again into the cache to avoid
problems in integrity check
- The repository configuration files are now load in alpha order
- When upgrading from a database with duplicated package names arbitrary rename them
- Fix pkg fetch -o
- Fix return code when pkg fetch fails
Make a pkg-plist for a FreeBSD port. Try to be as "automatic" as possible.
That's all it does ;-)
Basic usage
===========
1. Build your port to the staging directory: `make stage`.
2. Run this from your port's directory (or set `-p`).
Alternatively, you can install your ports to a "fake" prefix, this is the "old"
from before staging support, but it has the added advantage that you've tested
whether your port works when installing to a different prefix.
1. Build & install your port with a different `PREFIX`: `make install
PREFIX=/var/tmp/ptest`.
2. Run this from your port's directory with `-x` set to `PREFIX`.
WWW: http://code.arp242.net/pkg-plist
PR: 195576
Submitted by: lightside@gmx.com
Approved by: martin@arp242.net (maintainer)
19 months have passed since the release of 3.0.0 and there have been 1259
commits from over 24 contributors. Though many of the bugfixes did make it into
the 3.0 branch, not all of them did.
3.1 brings many speedups, new features and commands, a new web interface, and
build hooks. The new web interface works at a top-level, jail-level and the
build-level still by using a static site with AJAX.
There is a queue system that is not quite ready yet but should make it into
3.2.
The release notes documenting the major changes is at
https://github.com/freebsd/poudriere/wiki/release_notes_31
Thank you to everyone involved.
Support can be found in #poudriere on Freenode.
2014-11-30 ports-mgmt/pkg-plist: Generate incorrect plists
2014-11-30 sysutils/rubygem-hiera-puppet: Has been incorporated into hiera
2014-11-30 sysutils/rubygem-hiera-json: Has been incorporated into hiera
2014-11-30 databases/memcachedb: Depends on deprecated Berkeley DB version, needs porting to DB_SITE
2014-12-01 games/djgame2: Online servers gone, game is not playable
2014-12-01 devel/creduce: Unmaintained and depends on ancient LLVM 3.2
2014-12-01 lang/clay: No development since July 2013, depends on obsolete clang-3.2
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the
Perl version, minimizing the upgrade when the major Perl version is changed.
It uses a version dependent directory for modules with compiled bits.
As PERL_ARCH is no longer needed in plists, it has been removed from
PLIST_SUB.
The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now
always removed, as is perllocal.pod.
The old site_perl and site_perl/arch directories have been kept in the
default Perl @INC for all Perl ports, and will be phased out as these old
Perl versions expire.
PR: 194969
Differential Revision: https://reviews.freebsd.org/D1019
Exp-run by: antoine
Reviewed by: perl@
Approved by: portmgr
Gnome 3.14.1 and Cinnamon 2.2.16 are supported on FreeBSD 9.3-RELEASE and up.
This commit removes the old GNOME 2 desktop, bindings and some ports that
can't be compiled. A few ports where updated to more recent versions to
allow them to compile with this update.
Apart from updating ports to newer versions
GDM is more integrated with gnome-shell now, and handles several things for
the GNOME desktop such as screen locking. If you want to use GNOME 3 via
startx, you will have to add your own lock screen/screensaver. For example xscreensaver
can be used for sessions started without GDM.
Shell Extensions can be installed via https://extensions.gnome.org/ , we have
ported a few that can't be installed via this way.
The old gnome-utils and gnome-games ports where split up into single ports
and where converted to meta-ports.
gnome-terminal requires a UTF-8 locale to run, gdm handles this already, but
if you use startx you need to do this yourself.
Upgrade instructions:
Delete the old and conflicting packages:
# pkg delete clutter gnome-utils gnome-panel gnome-keyring vala-vapigen \
guile gcalctool gnome-media libgnomekbd
# pkg delete gnome-screensaver gnome-applets bug-buddy evolution-exchange \
evolution-webcal gnome-system-tools seahorse-plugins gnome-control-center
For package users the following lines will be enough:
# pkg upgrade
# pkg install gnome3
For ports users should do the following:
# portmaster -a
# portmaster x11/gnome3
We are currently aware of two issues. The first issue is a bug in the
file monitoring code in the glib20 port. This bug causes glib programs
to crash when files in a monitored directory are added or removed.
Upstream is aware of the problem, but since the problem is quite complex
there is no solution yet. This problem isn't restricted to BSD.
The second issue is that on certain video cards totem will display a
purple/pink overlay on the video. It not clear yet where the issues
comes from.
Major thanks goes to Gustau Perez for being a driving force behind getting
GNOME 3 up to speed again. Also thanks to Antoine Brodin for running the exp-runs.
This update was also made possible by:
Joe Maloney
Kris Moore
Beeblebrox
Ryan Lortie
Antoine Jacoutot
and everyone I missed
Changes:
- Lots of documentation fixes
- Lots of typos fixes in messages
- Fix UI when a package is going to be downgraded
- Cleanup is internal functions (removing useless accessors)
- Do not allow to create packages in old format anymore (it was broken anyway)
- allow ? and ! in pkg version limchar
- New configuration option VERSION_SOURCE (to the version used to read INDEX)
- Really fix multirepo (hopefully)
The next update will be 3.1-RC1.
Changes:
* The HTML interface is now fixed for file:// and direct access. This
currently only works for the build directory. The jail-level and top-level
do not yet work, but may in the future.
* Fix usage over NFS when root does not have access to current directory.
* Fix performance for qemu/native-xdev by not using /bin/sh for pkg(8)'s
ABI_FILE
Changes:
- Reinstall packages if one of its dependency have change
While hackish this allows seamless upgrade of perl5 and ruby2
- Fix pkg audit as used from ports
- Reject chroot for unknown ABIs
- Fix generating repos from 1.3 created packages
- Allow to build out of the source tree
- Fix ABI detection on armeb
- Fix some left overs from Unique id migration
- Fix pkg delete regression (it is again recursive by default)
- Locked packages prevent deleting anything that depends on them
- Fix pkg upgrade on multi repo
- Fix pkg upgrade ignoring the lock flag
Thank you very much for all the testers and reports! Please keep testing!
precompiled binary was removed from it. Also move ${MASTER_SITE_LOCAL}
towards the end in MASTER_SITES because the new file is still not
propagated to the mirrors.
This program provides for an alternate pkg upgrade procedure.
Usage: pkg-compare [options] new_path old_path
This program reads local.sqlite in new_path and compares list of installed
packages in local.sqlite in old_path. If a package is found in old_path which
is not in new_path then the name of the port is printed, one per line.
Command line switches:
-p prefix uninstalled packages with 'pkg install -Rf'
-m show manually installed packages only, no deps
WWW: https://github.com/waitman/pkg-compare
PR: 186484
Submitted by: waitman@waitman.net
Changes:
* Minor display fixes
* poudriered cleanups
* ports -l: Support -n like jail
* Add a 'jail stop' hook called right before jail is shutdown
* Auto fix shadowed files in repository that are owned by pkg(8)
* jail -cx: TARGET/TARGET_ARCH fixes
Changes:
- Change the default fetch site for vuxml
- simplify some code
- fix too small buffers
- only add in provided shlibs the files starting with lib*
- Upgrade to 1.03
Changelog:
- Mark port submit as broken
- Mark port followup as broken
PR: 194323
Differential Revision: https://reviews.freebsd.org/D992
Approved by: swills (mentor)
Changes:
- Lots of cleanup in the API
- Huge refactoring to avoid using hashes where not needed
- add a new @config keyword for all files with such flags pkg will try
automatically to merge the difference with newer version on upgrades
a vanilla version of the file is kept in the db to allow 3 way merge
this was the last blocker to be able to package base
- new options AUTOMERGE to prevent pkg to automatically merge @config files
- speed up upgrades by only extracting files that are different from 2 packages
- convert unique package identifier to the package name (at last !)
- drop incremental update support this was preventing allowing multiple packages
with the same name in a remote repo
- lots of improvements in the pkg update process
- update sqlite to 3.8.7
- Change pkg audit so that it points to the http://vuxml.FreeBSD.org/freebsd/
location by default
- Lots of fixes in the solver
* Remove @MASTERSITES_WHITELIST
* Remove some remnants of multi-OS support: always false conditions and
unused variables ($automan, $autoinfo, $manstrict, $mancompress,
$multiplist, $newxdef, $rcsidinplist, $ldconfigwithtrue)
* Remove check for USE_SIZE
* Remove check for 'Version Required' in header
* Remove pkgtools remnants: fix pkg_version invocations,
remove check for PKGINSTALLVER, remove check for old packages in $portsdir
* Update check for IGNOREFILES macro
* Remove comment about EXEC_DEPENDS
* Remove check for NO_CONFIGURE/NO_PATCH
* Remove '@dirrm for %%DOCSDIR%%' check
* Remove pkg-comment check
* Remove check for /usr/X11R6
* Remove check for gcc_val 3.x and 4.1 conditions
* STAGE is now required
* Remove MANLANG check
* Add NOPORTEXAMPLES/NOPORTDOCS deprecation warning
* Add @stopdaemon, @cwd deprecation warning
* Add PLIST_DIRSTRY deprecation warning
* Add check for make :L :U modifiers
* Add check for for MAN[1-9] macro
* Allow use of absolute path in plist
* Fix checks for EXTRACT_SUFX
* Fix USE_ANT and USES=gmake warning
* Convert WITH(OUT)_$1 to PORT_OPTIONS:M$1 in warning
* Convert USE_DOS2UNIX to USES=dos2unix in warning
* Convert USE_ZIP to USES=zip in EXTRACT_SUFX check
* Convert USE_PERL5 to USES=perl5 in warning
* Convert USE_ICONV to USES=iconv in warning
* Modify checkplist() to accept @fc/@shell/other new keywords
PR: 194285
Submitted by: ak
Changes:
- Rework the job request processing
- Fix pkg install/upgrade
- Fix forced reinstall
- Rework of integrity checking
- The ABI is now defined using MACHINE_ARCH meaning freebsd:10:x86:64 is now FreeBSD:10:amd64
this is encoded in the package as "abi" the old "arch" key remains for compatibility and is translated to the old ABI
- New option ALTABI represent the ancient ABI format
- Repository configuration files can now talle ${ALTABI} as well as ${ABI}
- The audit periodic script is able to audit pkgs in jails or chroots from the host system
- The backup periodic script is able to backup database from jails or chroots to the host system
- The status periodic script is able to report on chroots and jails from the host system.
- The checksum periodic script is able to report on checksum mismatches in chroots and jails.
- pkg check now support -q (--quiet)
- 3 way merge code has been imported from the fossil scm project (not yet in use)
- Code cleanup
- Lots of minor bug fixes
- Update libucl
- Rationalise path before packaging ( /something//bla is not the same a /something/bla)
- pkg info/search -R can now specify ucl as a format for the raw output
* Do not report on DEBUG as an OPTION. [1]
* Check for use of muted INSTALL_foo commands.
* Warn on use of @dirrm[try].
* Check to make sure rc.d scripts contain a '# PROVIDE:' line. [2]
* Check to see that the options provided to USES are sorted. [3]
* Fix an errant "direct use of command" warning. [4]
* Remove the check to see if StartupNotify is the empty string in
DESKTOP_ENTRIES. This is allowed per the spec and per the porter's
handbook. [5]
* Check for empty lines in plist. [6]
* Check for direct command use in SHEBANG_FILES. [7]
PR: 192525 [1]
193464 [2]
193792 [3]
193793 [4]
193456 [5]
193794 [6]
193795 [7]
- Update plist for pkg-1.3
- Remove pkg-message as ALT_PKGDEP has not worked properly since 2008.
See https://github.com/freebsd/portupgrade/issues/61
Changes:
* portinstall/upgrade -P[P] now supported with pkgng
* pkg_fetch now supports pkgng
* Fixed pkg-1.3 delete support to not recurse
* Fixed portupgrade -b support with pkgng
* Improved portsclean performance with pkgng (#59)
* Use service(8) for rc script restarting
* Show command executions with PORTUPGRADE_DEBUG in environment
* Deprecate rc script handling in lieu of pkg's HANDLE_RC_SCRIPTS in pkg.conf
- Update @dir usage
Changes:
* portinstall/upgrade -P[P] now supported with pkgng
* pkg_fetch now supports pkgng
* Fixed pkg-1.3 delete support to not recurse
* Fixed portupgrade -b support with pkgng
* Improved portsclean performance with pkgng (#59)
* Use service(8) for rc script restarting
* Show command executions with PORTUPGRADE_DEBUG in environment
* Deprecate rc script handling in lieu of pkg's HANDLE_RC_SCRIPTS in pkg.conf
Changes:
* Fix another race in balance_ool() causing crashed builds
* More color fixes
* jail -u: Fix detection of invalid jails
* Better handling of crashed builds
* Fix incremental rebuild for pkg/pkg-devel
the normal pkg for packaging pkg-devel. This is needed because the repo is
expected to be only non-devel packages.
This also fixes a poudriere crash when the repo is empty and both pkg and
pkg-devel are built. When pkg-devel would finish first it would crash due to
not having a pkg to use for caching various metadata from the package.
Differential Revision: D809
With hat: portmgr
Reviewed by: bapt
- 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
- Poudriere's home has moved to https://github.com/freebsd/poudriere/wiki
Changes:
* Fix some error handling with the recent races fixes, which led to them
still crashing.
* Display some nicer errors in some cases rather then just exiting.
* jail -m null: Fix /etc/login.conf.db being stale after deleting
the jail.
* Fix a possible case of dependency calculation errors being lost.
Also the compat NO_INSTALL_MANPAGES shim.
Differential Revision: https://reviews.freebsd.org/D730
Reviewed by: antoine
With hat: portmgr
Sponsored by: Absolight
Changes:
* HTML: Fix NaN showing in a case
* Fix handling of SIGPIPE for cleaning up.
* Improvements to cleanup handling such that recursive errors will not
stop the cleanup process.
* HTML: Add an apache example
* testport: Allow tee(1) more time to flush buffer before killing it off.
* bulk: Remove the use of tee(1)
* bulk: Fix several races leading to "stuck_in_queue" and "Unknown stuck
queue bug".
* jail -m src=: Also copy in the src tree now. .git and .svn are ignored.
* bulk: Fix high CPU usage/spinning when the queue is waiting on the last
jobs to finish.
* Remove use of stripcolors pipe which used far too much CPU.
* bulk: Fix a case where computing deps was not delaying errors until
the end of deps calculation was intended.
Changes:
* Add a check for 3.1 repository and reject the build. 3.0 does not know
how to handle 3.1's repository format. Downgrading is not supported
at this point.
* Allow securelevel>=1 with USE_TMPFS=all
* Add a warning that DEVELOPER=yes is ignored in lieu of bulk -t/testport
Changes:
- pkg register checks conflicts before installing the files
- do not provide any shlibs if the "no_provide_shlib" annotation is set
- fix invalid free() in keywords arguments parsing
- Add ability to select usage of IPv4/IPv6 via config, repository config or command line
- some documentation fixes and improvements
- 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.
- Rework automatic directory deletion
Changes:
- New @dir keyword
- @dirrm/@dirrmtry will now expose a warning in DEVELOPER_MODE
- directories outside of PREFIX are now automatically handled
- Determine the running OS version from /bin/sh not uname so that
pkg doesn't think a jail running on a newer host is an OS upgrade
- Remove libyaml
- The plist now entirely default on owner root, group wheel
- Add more regressions tests
* Increase pkg_replace compatibility with portupgrade
- Update MASTER_SITES
- Remove support for pkg_tools
- Use PLIST_FILES
PR: 193304
Submitted by: Ken DEGUCHI <kdeguchi@sz.tokoha-u.ac.jp> (maintainer)
Changes:
- @owner/@group without var reset to root/wheel
- Do not accept @mode with '+-' like u+s or g-w
- Integrate kyua with autools (make check now calls kyua)
- Fix pkg annotate -y
- Fix a regression in pkg_is_valid
- Allow keywords define in ucl files '(Keywords/*.ucl)' to consider its
argument as a command line argument (aka split it)
- Completly ignore mtree
- Automatically remove any directory under PREFIX if needed
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
Changes:
* testport: Detect invalid origin in -o
* Still symlink logs to errors/ for 'stuck_in_queue'
* Add a jail:start hook. Can be used to customize the jail for builds on
startup.
* jail -u: Stop trying to nullmount /usr/src on top of itself, and
fix /compat warning.
* bulk -t/testport: Only show NEEDED libraries using readelf(1) rather than
ldd(1) which was showing indirect library dependencies.
* bulk -R / NO_RESTRICTED: Show which files are being removed by
clean_restricted
* Fix showing missing MOVED as a warning
* jail -i: Fix to not require a ports tree
* bulk -i: Fix installation of ports-mgmt/pkg
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
Changes:
* Documentation updates
* 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
* New output for UX testing/feedback:
* pkg add - Use a nested tree view due to how the job is handled
* pkg upgrade/install/delete - Show 'Installing' message separate
from Extracting or Deleting of files. This is so that any messages
from the package are shown after noting what is being done. Messages
were shown before "Installing" before.
Users will see a "changed shlibs" reinstall for 'pkg upgrade' until:
1. _All_ packages on remote repositories are rebuilt with this version
of pkg.
2. 'pkg check -Ba' should be run after upgrading pkg but before upgrading
other packages. This requires #1 though, which is not happening until
1.3.7 is released. Running 'pkg check -Ba' before the remote repository
is fixed will just continue to propose reinstalling packages for 'changed
shlibs'.
Changes:
* 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)
Changes:
* Test suite fixes
* Fix pkg-devel self upgrade when remote repo defaults to non-devel
* 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
GCC 4.2 in FreeBSD 8.X/9.X base is now too old to compile OpenEXR, so
GCC-based systems will upgrade to the default ports compiler (GCC 4.7
currently.)
Add two patches to OpenEXR to permit building it in a live system with
the older OpenEXR version installed. Bug report filed to upstream Github
at https://github.com/openexr/openexr/issues/130
Couple OpenEXR more tightly to ilmbase and require its exact .so
version.
Add UPDATING note, and bump PORTREVISION of all dependent ports.
Proto-STAGE hugin-devel, and mark it IGNORE because hugin is newer.
Approved by: portmgr (implicit for bumping PORTREVISION on unstaged ports)
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
Changes:
- When filtering out shlib archs, compare wordsize first and then ABI arch string
- Fix rquery -e
- Fix install progress output for meta packages
- Fix writing annotations to manifests
- pkg-clean: Show files to delete first
- Add a pkg_symlink_cksumat to fix pkg-delete
- Add packages checksums to digest file to fix broken repo update
- Unbreak pkg-ssh
With hat: pkg@
Changes:
* ports -u: Fix with git
* bulk: Some dependency failures are now delayed rather than immediately
fatal. This allows identifying more build problems rather than
needing to iteratively run bulk to continue finding more.
* Add a note that DEVELOPER is ignored without bulk -t/testport.
* Also remove DEVELOPER_MODE for ports not being tested. (pkg uses it and
causes fatal pkg-lstat errors on bad plist)
* Only show boost priority if actually building the packages listed
* Add PKG_REPO_META_FILE passthrough for repo meta file for pkg-repo. Not
currently useful so undocumented. It will be more useful when pkg-repo -m
learn mores metadata options and there is a client-side way to view the
metadata.
* Fix "ln: ...Latest/: File exists" errors.
* Allow setting ALLOW_MAKE_JOBS_PACKAGES blank
* Move ALLOW_MAKE_JOBS_PACKAGES to -v
* Fix newly built pkg not being used to build the repository, rather than
using the one that existed at the start.
* Add TRIM_ORPANED_BUILD_DEPS to override behavior added to trim the queue
of build dependencies that are not needed for the build but were found
and possibly deleted from the repository.
* Fix testport of ports-mgmt/pkg. It has not worked in a very long time, if
ever.
* Allow securelevel>=1 if using USE_TMPFS=all.
Changes:
- Fix crash on i386 (thanks to antoine@)
- Ignore duplicates in require/provide
- Add missed call to pkg_list_free for PKG_PROVIDES (thanks to Maxim Ignatenko)
- Print error if we cannot parse manifest
- Select the newest possible package to satisfy dependency
- Check shared libraries architecture and ignore incompatible ones
With hat: pkg@
Changes:
- Print number of upgrade candidates
- Fix request addition
- Suggest manual resolution for UNSAT problems
- Check repository and force update if it is not valid
- Fix issue with seen packages not added to the request
- Use plain .so for all shared libraries requires/provides
With hat: pkg@
Changes:
- Use picosat SAT solver instead of the internal one:
* production grade solver that is extensively tested
* faster than internal one
* has more flexible features
- Fix issues with adding items to the universe
- Fix forced operations
With hat: pkg@
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
Changes:
- The solver and jobs interface were completely reworked:
* multirepos have now better support
* fix a number of issue with missed shared library dependencies
* upgrade and install are now more clever about chosing repositories
* implement package pinning to a repository
* add heuristic to resolve conflicts between remote packages
* removed tonns of old hacks
* arrays are now used in many places instead of lists for performance
* some hash tables are improved by using direct pointers hash
- Minor fixes
Changes:
- Explicitly pass when passmode should be used with libarchive
- Properly trim end spaces in plist for files and directories
- Fix pkg ssh client
- Fix pkg_env
- Follow symlinks in fstatat otherwise it breaks repos created by poudriere
- Fix sqlite on FS without proper locking mechanism
- Fix pkg install -A
- Do not distinguish anymore between dirrm and drirmtry
- Fix options parsing by libucl
- Rework repo update to avoid early repo destruction
- Fix forced update
- Update errors are now not fatal
- Fix realpath usage
- Fix pkg set -o
- Fix progress bars when not in a tty to give output
- Ignore sigpipe to avoid resources leak
- Read lock is now no-op unles READ_LOCK option is turned on
- Fix incremental repo updates (size missmatch error)
- Add a rootfd to simplify handling of relocation
- Implement a set of *at functions
- Improve documentation
- Tons of minor bugfixes
With hat: pkg@
Changes:
* Workaround regression with pkg-1.3 causing all packages to have new options.
* distclean: Fix some false-positives
* Fix dead link in poudriere.conf
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
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
This build includes all fixes from pkg 1.3.2 plus the following changes:
- Fix an issue with pkg-repo that prevents from getting all packages in the
archive
- Fix an issue with manifests parsing on big-endian platforms
- Add help messages for aliases (by admi3)
- Fix linkage with sbuf (always use bundled sbuf)
With hat: pkg@
Changes:
- Import fixes from libucl (fixes memory corruption with pkg.conf)
- Fix memory corruption when reinstalling packages
- Rework pkg repo process distribution
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
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
This version is equal to pkg 1.3.0 tag.
Changes from 1.3.0.rc4:
- Use rename(2) to install symlink [1]
- Link directly pkg frontend to libsbuf
- Rework installation logic:
If a file is found on the way do the following:
1) Append 12 chars random suffix to the filename;
2) Extract new file to that modified filename;
3) Rename new file to old file.
- or -
3) Remove temporary file in case of error.
- Fix reporting of locked packages [2]
- Fix link with binutils 2.24
Reported by: bdrewery[1], az[2]
With hat: pkg@
Changes:
- Fix output format when a dependency is missing
- Fix typo (dbpath -> dbdir)
- Create repo compatible with pkg 1.2 (path -> repopath)
- Event pipe related fixes
- Fetching now does not use mkstemp(2) to create files
- Change permissions of files fetched to default ones
- Fix fetching for reinstalled packages
- Fix build on mips by proper checking of atomic builtins
With hat: pkg@
Changes:
- Fix bug in upgrade repos schemas from 1.2 [1]
- Fix repos downgrade sql
- Add -r (--recursive) flag to pkg-audit that makes pkg-audit to print all
reverse dependencies of vulnerable packages. This allows users to
upgrade or reinstall potentially vulnerable packages.
- Rework pkg-audit to support pkg names without versions
- pkg-audit now supports multiple patterns in the command line
- Do not throw failed assertion if pattern is empty in [r]query
- Fix symlinks checksum verification in pkg-delete
- Fix bug in libucl variables parsing code
- Add --raw-format to info/search
- Ignore not top level packages with missing fields (for example, missing dependencies)
- Make dependency missing message more informative [1]
- Introduce mirror mode for pkg-fetch
- Add -o flag to pkg-fetch to specify mirroring output directory
Found by: az [1]
With hat: pkg@
minor COMMENT typos and surrounding whitespace fixes. A few Makefiles
where not included as they contain Latin-1 characters that break
the Phabricator workflow. Categories P-S.
CR: D422
Approved by: portmgr (bapt)
* Make sure a port is placed in its proper category directory. [1]
* Don't check INSTALL_TARGET for direct command use. [2]
* Remove the single MASTER_SITE warning. [3]
* Check to make sure patch file names contain no more than 100 characters. [4]
PR: 191631 [2]
191079 [3]
Submitted by: wen heping <wenheping@gmail.com> [1]
gerald [2]
Requested by: demon [4]
Discussed on: ports@ [3]
Changes:
- Fix critical bug in the solver caused not required packages being installed
- Rework DPLL algorithm to solve tasks quicker by propagating units on each step
- Fix bug with loading of package files and directories
- If all files are downloaded then perform integrity check immediately without extra queries to a user
- Removed incorrect error messages
With hat: pkg@
Changes:
- Fix repo ident for local packages [1]
- Fix pkg-stat
- Improve safety of 1.2 -> 1.3 database migration
- Fix minor bugs in progress bar
- Restart system calls on SIGALARM
Submitted by: des[1]
With hat: pkg@
- ports that set USE_SQLITE with the *_USE option helper
- ports that depend on libsqlite3 indirectly as reported by pkg rquery
Approved by: portmgr (implicit)
Changes:
- Quit pkg ssh if an error occurs while reading
- Fix critical issue with manifest fields (path->repopath) [1]
- Set reponame for local packages [1]
- Fix forced upgrade [1]
- Fix packages count in pkg-delete
- Allow override `enabled` state for repos
- Fix message if a pattern has not been found
- Move the pkg_keys[] array from private/pkg.h to pkg.c to reduce duplication [1]
- Add package validation function
- Fix local packages installation
- Validate pkg when changing its uid
- Rework solver initial guessing
- Fix multirepos documentation
- Fix issue with repository metafile updating
- Fix issue with unnecessary fingerprints check
- Fix meta loading
Submitted by: des [1]
With hat: pkg@