Changes:
* Fix leftover detection on HEAD due to new nmtree
* Fix jail rollback on HEAD due to new nmtree which manifested
as missing dependencies in /new_packages
* Don't exclude anything when looking for stage orphans, which
fixes finding /var/run/PORTNAME as an orphan
- Changes:
* Fix loading of fingerprints
* Fix ssh transport by refactoring
* Skip self upgrade with -F is passed
* Fix pkg info -[q]O
* Fix pkg info -q (with no other options)
* Make fingerprints signature checking actually working
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
- let the ports-secteam maintain this port instead of secteam. This should assign PRs to the appropriate place. [1]
- recent freebsd versions should use pkg audit instead of portaudit
- stagify
- remove mention of preference file format changes which changed in 2004
PR: ports/184004 (partial
Discussed with: simon (many months ago) [1]
- Update bundled libucl code (which fixes bugs)
- Fix double escaped \n for script and messages
- Fix rquery with -e not properly working [1]
- rquery can now take a -I argument to output index like lines (needed for bsdconfig)
- Fix local database creation (initial)
- With build with older bsd.prog.mk
- Improved documentation for pkg query
Reported by: mat [1]
Changes:
- Bug fixes in zsh completion
- Lots of bug fixes discovered by Coverity Scan
- New debug level traces
- Auto upgrade of pkg(8) now restart the upgrade process automatically
- Dependencies on library is now automatic via pkg register and pkg
create
- 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
- Do not generate catalogs in pkg 1.0 format anymore.
- Working ssh protocol supported for repositories
- New PKG_SSH_ARGS to allow passing custom arguments to ssh command
used for the ssh:// protocol
- Allow using '?' operator in pkg query expressions
- New git like aliases to allow creating custom commands
- REPO_DIR is now a list instead of a simple string
- packagesite in pkg.conf is deprecated in favour using dedicated
repository configuration files
- 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
- 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.
- Support for pkg+foo url scheme where foo can be (http, https, ftp).
- pkg info now default on glob matching
- Print a pkg name only once - even if multiple vulns were found -
when using -q
- Accept empty/comment only configuration files
- vuxml is now the default source for pkg audir
- expat is now bundled (for vuxml)
- pkg info -q is now equivalent of pkg info -qa
- in case pkg info is querying a file or is a single direct match
query then default on -f
- 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.
- options can now have a description
- new pkg config subcommand to allow direct query of options
- 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:*'
- Broken incremental pkg repo support was removed.
- Lots of spelling/grammar fixes
- Properly support srv priority/weigh when ordering mirrors
- Use port specified in the SRV entries to connect to a given mirror
- New pkg bootstrap subcommand that is the counter part of the
pkg(7) bootstrap subcommand
- Allow ARCH to be printed by pkg info
- Allow to hook plugins, before closing the local db if it was
opened in RW mode
- Improved build system
* Fix a typo resulting in an undefined function [1]
* Add X11 to the list of common OPTIONS [2]
* Remove an errant space [2]
* Do not warn on empty .svn directories. [2]
PR: 183330 [1]
Submitted by: Kubilay Kocak <koobs.freebsd@gmail.com> [1]
Reported by: eadler [2]
- Switched to automake 1.11.6, see CVE-2012-3386.
- #14669: Fixed extraction of CC from gmp.h.
- Fixed case of intermediate zero real or imaginary part in mpc_fma,
found by hydra with GMP_CHECK_RANDOMIZE=1346362345.
This is on top of the following changes from version 1.0
- Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
invariant sections) for the documentation.
- 100% of all lines are covered by tests
- Renamed functions
. mpc_mul_2exp to mpc_mul_2ui
. mpc_div_2exp to mpc_div_2ui
- 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
- Removed compatibility with K&R compilers, which was untestable due
to lack of such compilers.
- New functions
. mpc_log10
. mpc_mul_2si, mpc_div_2si
- Speed-ups
. mpc_fma
- Bug fixes
. mpc_div and mpc_norm now return a value indicating the effective
rounding direction, as the other functions.
. mpc_mul, mpc_sqr and mpc_norm now return correct results even if
there are over- or underflows during the computation.
. mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
infinite part and equals output variable is corrected.
. mpc_fr_sub: Wrong return value for imaginary part is corrected.
Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.
Bump PORTREVISIONS of all dependent ports.
PR: 183141
Approved by: portmgr (bdrewery)
DEBUG_FLAGS through MAKE_ARGS if the former is defined.
While here, support staging.
PR: ports/183278
Approved by: Ilya A. Arkhipov (maintainer, on IRC)
* Mute svn warnings if .svn doesn't exist. [1]
* Add check for ${OPTION}_* (option helpers) [1]
* Suggest LICENSE as warning [1]
* Fix get_makevar and use instead of direct calls to make(1) [1]
* Remove MAKE_JOBS_SAFE [1]
* Remove vestiages of old OPTIONS [1]
* Suggest converting to stage if NO_STAGE is defined. [1]
* Check for use of MANCOMPRESSED when STAGE support is enabled.
* Do not warn about man pages in the plist if the port is built with stage
support.
* Do not flag .svn in the search for dotfiles.
Submitted by: ak [1]
Changes:
* pkgclean: Fix to properly remove correct duplicated package
* Only markfs prepkg for bulk/testport, not pkgclean
* jail -l: Fix crash if no jails defined
Changes:
* pkgclean: Detect and cleanup duplicated packages due to PKGNAME
renaming
* Misc typo fixes
* ports -m git
- Use --depth=1 to not download all history for the repository.
- Support -v to show output
Changes:
* poudriere.8: Document that -j is required for bulk
* bulk/testport: Delete packages that have changed PKGNAME during startup,
which will avoid pkg-repo duplicate package warnings/bugs. This will not
clean up existing duplicates, just fix new ones going forward.
* bulk: Fix start hook starting before validations
Changes:
* poudriere.8: Document that -j is required for bulk
* bulk/testport: Delete packages that have changed PKGNAME during startup,
which will avoid pkg-repo duplicate package warnings/bugs. This will not
clean up existing duplicates, just fix new ones going forward.
Changes:
* Fix recommending to replace USES=gmake with ${GMAKE} [1]
* Ignore USES when recommending to replace direct commands [1]
* Fix COMMENT check so it checks for length even if it
is not formatted properly [2]
PR: ports/181359 [1]
Submitted by: Alan Hicks <ahicks@p-o.co.uk> [1]
Reported by: many
PR: ports/181730 [2]
Submitted by: gerald
Approved by: maintainer timeout (> 1 month)
Changes:
* Fix random crashes with parallel process handling
* jail -cu: Disable CCACHE on 10
* testport/bulk -t: Fix staging absolute link checking with files
that have spaces
* testport: Fix so that MAKE_JOBS runs by default
* bulk -t: Fix so that MAKE_JOBS does not run by default
* testport: Fix so that the port being tested shows in the web ui.
Note that this is still in data/logs/bulk/
* jail: Make -m http work
* jail -c: Fix -m ftp-archive for 9.0
Changes:
* Fix random crashes with parallel process handling
* sanity check is now parallelized for a big speedup
* Pkg deleting during startup has been optimized further
to avoid a bottleneck during parallelization
* jail -cu: Disable CCACHE on 10
* Manpage typo fix
* testport/bulk -t: Fix staging absolute link checking with files
that have spaces
* testport: Fix so that MAKE_JOBS runs by default
* bulk -t: Fix so that MAKE_JOBS does not run by default
* testport: Fix so that the port being tested shows in the web ui.
Note that this is still in data/logs/bulk/
Changes:
* Loopback address fixes
* Fixes for when running poudriere in a jail (do not use fdescfs or
devfs to hide/unhide devices). PATCHED_FS_KERNEL overrides this
* Prevent SIGTSTP from reaching child builders
* jail -c: Fix -m ftp-archive for 9.0
* jail -cu: Add svnlite support and SVN_CMD override
Changes:
* testport: Fix /prefix error when using pkg_install
* Fix sample bulk.sh hook for stats
* Don't set PREFIX when using 'testport -n', which avoids
hiding cases where bsd.port.pre.mk are needed
Changes:
* testport: Fix pkg_install error about /prefix when not using -n
This is due to a bug introduced in base r23100, fixed in r240682
which never made it to 9.1
Reported by: eadler, mandree, koobs
Changes:
* Add BUILD_AS_NON_ROOT and set to 'no' by default. Set to 'yes' to
attempt to build ports as non-root. Ports may need USES=uidfix to
build, or NEED_ROOT=yes to mark as requiring root
* Check for absolute symlinked files when staging
- Added sysutils/pcbsd-utils-qt4
- Retired some old ports replaced by these
* ports-mgmt/pbi-manager
* sysutils/libpcbsd
* sysutils/pbreg
* sysutils/warden
Changes:
- Non-root build fixes
- Added BUILD_AS_NON_ROOT and disable by default until more wide
testing can be done. Set to yes to build ports as non-root where
possible
Changes:
- Fix @exec/post-install script execution with pkg register -i
- Fix MTREE not properly being extracted with pkg register -i
- Fix staging of meta ports that have no files, such as
mail/squirrelmail-plugins
With hat: portmgr
Changes:
- Many usage/notices cleaned up
- Some default invokations now work as expected
- jail -cu: http method now supported
- Non-root package building is now in for staged ports that do
not have NEED_ROOT. It defaults to building as 'nobody', but
can be overridden by changing PORTBUILD_USER in poudriere.conf
- Fix detecting {/,/usr,/usr/local} on staged NO_MTREE ports
Changes:
- Respect DESTDIR on poudriere install
- testport -i: Fix when orphans are found with staging
- bulk -v: Reword distfiles message
- bulk: Fix INDEX building showing wrong origins
- bulk: Remove stray " done" message
- Staging fixes for testing ports-mgmt/pkg
- jail: Deprecate csup
- Add safety check for rm -rf /*
- pkgclean: Fix finding packages [1]
- During build, call install-mtree after run-depends. This should be
a NOP, but mentioned in case weird things happen.
Reported by: olgeni
This release supports upcoming STAGE support. Please
update to it soon.
Changes:
- Staging support.
* Detect files orphaned in the stagedir that are not
installed due to not being in the pkg-plist
* Detect files that get installed outside of the
STAGEDIR during 'make stage' as 'stage_fs_violation'
- Rename 'preinst_fs_violation' to 'build_fs_violation'
- latest-per-pkg links are now hardlinks
- Fix possible recursive crash during jail startup
- Chmod jail build dirs to 0711 to keep out gvfs-trash
from tracking the directory during build, leading to
kernel panic sometimes
- jail -uc: Fix detection of errors during distrib-dirs
- jail -uc: Fix on recent HEAD during distrib-dirs due to
new unbound user.
- testport: Only show -n warning if there are leftovers
- jail -u (SVN): Fix RELEASE not being updated for UNAME_r
during major upgrades (head becomes 10-ALPHA, 11, etc)
- jail: usage cleanup
- hook 'bulk done' now has stats passed to it:
#built #failed #ignored #skipped
- jail -uc (SVN): Show SVN revision number in uname via
UNAME_v
- testport: Always run with TRYBROKEN
- Now showing status messages when running mtree(1) for
fs checks
This release supports upcoming STAGE support. Please
update to it soon.
Changes:
- Staging support.
* Detect files orphaned in the stagedir that are not
installed due to not being in the pkg-plist
* Detect files that get installed outside of the
STAGEDIR during 'make stage' as 'stage_fs_violation'
- Rename 'preinst_fs_violation' to 'build_fs_violation'
- latest-per-pkg links are now hardlinks
- Fix possible recursive crash during jail startup
- Chmod jail build dirs to 0711 to keep out gvfs-trash
from tracking the directory during build, leading to
kernel panic sometimes
- jail -uc: Fix detection of errors during distrib-dirs
- jail -uc: Fix on recent HEAD during distrib-dirs due to
new unbound user.
- testport: Only show -n warning if there are leftovers
- jail -u (SVN): Fix RELEASE not being updated for UNAME_r
during major upgrades (head becomes 10-ALPHA, 11, etc)
Changes:
ports: Add -k for -d usage to keep files around after deleting
testport -i: Fix TERM not being passed into the jail
jail -cu: Fix build with recent head due to new user 'unbound'
Hardlink logs into latest and latest-per-pkg
Fix recursive crash in jail_stop()
Add TIMESTAMP_LOGS support
Set build dir to 0700 to avoid gvfsd-trash tracking all mounts during build
Changes:
- Fix removing PREFIX in OVERWRITE_BASE ports
- Fix race condition in jail cleanup
- CHECKED_CHANGED_DEPS is fixed to properly handle
dependencies on base libraries with port fallbacks
- Disable buildtime tracking by default
- testport -i: Fix for when build fails
- testport: Add hint about using -n when leftovers
are found
- Change to using USE_PACKAGE_DEPENDS_ONLY
- Fix detection of errors during startup due to missing
fdescfs or other kernel modules
Changes:
- HTML interface now use DataTables for pagination/searching/sorting
- NO_FORCE_PACKAGE added to prevent setting FORCE_PACKAGE
- New pkgclean subcommand for removing unwanted/unneeded packages.
Similar concept as 'pkg autoremove', but for the repository.
- testport -i: Fix for when the build fails
- testport: Add hint about using -n when leftovers are found
- Switch to using USE_PACKAGE_DEPENDS_ONLY
- Fixes for detecting errors in startup, such as missing fdescfs
support
- Improved runaway output
date in $FreeBSD header in the Makefile of the port. If there is no $FreeBSD
header then it is assumed to be a beta port.
Chucky also features a shar file backup feature, which is normally used to
backup 'beta' development ports.
WWW: https://dx.burplex.com/bin/chucky.html
PR: ports/177220
Submitted by: Waitman Gobble <uzimac@da3m0n8t3r.com>
Dash symbols are required when using OptionsNG and $UNIQUENAME_SET/UNSET. e.g. apache22-event-mpm_SET=...
Plus symbols can be used to extend existing variables. e.g. OPTIONS_SET+=...
PR: ports/172355, ports/181119
Submitted by: Manuel <manuel-freebsd@mausz.at>,
Gea-Suan Lin <gslin@gslin.org>
so that for examplee DATABASEDIR can be specified there and
is not "ignored"
PR: 135471
Submitted by: John Marshall <john@rwsrv05.mby.riverwillow.net.au>
Discussed with: des
While here:
- add USES+=shebangfix to ports-mgmt/p5-FreeBSD-Portindex
- set $PERL in CONFIGURE_ENV to achieve equivalent to shebangfix
for www/rt40
- upgrade to 0.17 and fix pkg-plist for www/p5-RT-Authen-ExternalAuth
- trim Makefile header for www/p5-RTx-Calendar
This update updates Glib20 to 2.36 and Gtk+ 3.8
* The gio-fam-backend port that used gamin for the GFileMonitor API is gone.
It is replaced by a GIO kqueue implementation developed as part of a NetBSD
GSoC 2011 project by Dimitry Matveev.
* Fix a bug in the glib20 Makefile so it includes -lintl in the glib-2.0
pkgconfig file [1]. This broke static linking and newer binutils.
* Add introspection USE_GNOME component which sets GI_SCANNER_DISABLE_CACHE to
prevent creation of / root/.cache dir. Defaults to build & run depend,
but :build and :run switches available.
* New x11-toolkits/pangox-compat port and companion USE_GNOME component for
pangox support which was removed from the pango port. Add it to ports still
using pangox API.
Exp-run by: bapt@
PR: ports/178958 [1]
Submitted by: emaste@ [1]
Unfortunately, this also affects some ports using QT3 as a GUI toolkit.
Changes to infrastructure files:
- bsd.kde.mk : obsolete, remove
- bsd.qt.mk : note that a CONFLICTS_BUILD line can probably go after a while
- CHANGES : document the removals from bsd.port.mk
- KNOBS : remove KDE and QT (KDE4 and QT4 should be used instead)
- MOVED : add the removed ports
PR: ports/180745
Submitted by: rene
Approved by: portmgr (bapt)
Exp-run by: bapt
Changes:
* Fix --check-port-dbdir support after ports r321785 changed
to /var/db/ports/category_port (OPTIONS_NAME) instead of
UNIQUENAME [1]
Reported by: many
Changes:
* Speedup sanity checks by only checking ports that are required
by the build and not all existing packages.
* Switch to embedded cpdup(1) for creating jails instead of pax(1)
* Implement port blacklisting defined in
etc/poudriere.d/[(setname|jailname)-]blacklist
* Add hooks for bulk start/stop
* status: Always show actual path to logs instead of /latest
* bulk: Add check for missing PKGNAME (empty port dir)
* Disable tracking buildtimes by default
TRACK_BUILDTIMES=yes to enable
* bulk: Fixed dependency calculation for CHECK_CHANGED_DEPS.
There are still some ports with issues.
* Add portbuild/tinderbox error reasons [1]
Submitted by: linimon [1]
* Fix some minor issues in the portlint man page [1]
* Warn about using ${SITE_PERL} in depends [2]
* Add a check to see that OPTIONS_{RADIO/SINGLE/MULTI/GROUP}_SOMETHING exists
if OPTIONS_{RADIO/SINGLE/MULTI/GROUP} is defined [3]
* Join all lines with a backslash before doing anything to fix parsing
of comments [4]
* Stop looping through MASTER_SITES as soon as a comment is seen [4]
* Detect plain ftp/http sites and print a warning if none have been
found [4]
* Opt for USES=pkgconfig instead of USE_PKGCONFIG [5]
* Add check for ${TRUE}/${FALSE} in DESKTOP_ENTRIES [5]
* Remove CDRTOOLS check [5]
* Remove USE_REINPLACE check [5]
* Remove USE_GETOPT_LONG check [5]
* Modify USE_GETTEXT -> USES gettext [5]
* Remove WITHOUT_NLS check [5]
* Relax headers check for $FreeBSD$ + $MCom$ case [5]
* Fix URL suggestion for CPAN so that it ends with a '/' [6]
PR: 178952 [2]
179262 [3]
179338 [5]
180260 [6]
Submitted by: eadler [1]
"Anton Yuzhaninov" <ayuzhaninov@openstat.ru> [2]
"Ilya A. Arkhipov" <rum1cro@yandex.ru> [3]
tijl [4]
Alex Kozlov <spam@rm-rf.kiev.ua> [5]
Anes Mukhametov <anes@anes.su> [6]
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
Changes:
* Fix including MASTERNAME-make.conf twice in some cases
* Fix filename quoting to ensure any packages with spaces
work. This is to allow S3 usage with files that have '+'
in them [1]
* Fix deps calculations not halting the build on errors
* jail/ports -u: Always run 'svn upgrade' before starting,
which fixes 1.7->1.8 svn upgrades
* jail: Fix building older releases from recent HEAD, which
requires devel/fmake on host.
* bulk -c: Fix cleaning of cache dir
* HTML: Default the build name to YYYY-MM-DD_HHhMMmSSs to
remove ':' which causes URL encoding/tab-completion issues
* Update wiki on custom ports tree creation
[1] https://forums.aws.amazon.com/message.jspa?messageID=208136
Changes:
* HTML: Always redirect /latest/ to the actual build URL
* HTML: Name build names as YYYY-MM-DD_HHhMMmSSs to remove ':'
to make completions/URL encoding nicer.
* Leftover updates
* ports -u: Always 'svn upgrade' before updating (for 1.7->1.8)
* Fix SVN compatibility with 1.8 for URL recording
* jail -s now starts networking
* Fix jail building on recent HEAD [requires devel/fmake on host]
* Pre-liminary support for mips64/armv6
See: https://fossil.etoilebsd.net/poudriere/info/f781dc0560
* Repo building now always occurs if the repo is missing.
* bulk -c: Fix deleting old caches
* Allow user to override etc dir via POUDRIERE_ETC and -e switch
See: https://fossil.etoilebsd.net/poudriere/info/5b2608fcc7
Changes:
* Fix how pkgng support is detected for completions
* Fix portcvsweb so it uses svnweb.FreeBSD.ORG [1]
* Symlink portcvsweb as portsvnweb
* Fix portcvsweb FreshPorts and datespec support [2]
* Add support for WITH_PKGNG=devel
Submitted by: Matthew Luckie <mjl@luckie.org.nz> [1] (based on)
Submitted by: paranormal <paranormal@isgroup.com.ua> [2]
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
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
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]
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.
Changes:
- Fix packing of +UPGRADE scripts
- Fix pkg update always thinking the repo is up to date if the remote server sends no mtime header
- Various updates on the manpage
- New pkg-repository(5) man page
* Fix the conditional statement of checking the result of svn status
* Make use of addport with -c option
* Make use of svn commit with -F option
* Cosmetic change
PR: ports/178539
Submitted by: tota (myself)
Approved by: maintainer timeout (> 1 month)
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 upstream repo location
Changes:
* Fix how pkgng support is detected for completions
* Fix portcvsweb so it uses svnweb.FreeBSD.ORG
* Symlink portcvsweb as portsvnweb
* Fix portcvsweb FreshPorts and datespec support
* Add support for WITH_PKGNG=devel
Changes:
- Don't free memory when process is exiting [1]
- Some style fixes [1]
- Consistently use C99 bool, true and false [1]
- Generalise parsing of env var into StringList [1]
- Rename ITEM_SEPARATE to ITEM_SEPARATOR [1]
- Highlight new options (by a '+' at the beginning of the line) [1]
Submitted by: tijl [1]
Changes:
- Fix pkg install -R [1]
- pkg install -R does not downgrade anymore except if -f is passed.
- Fix package validation [2]
- Do not try to search on repositories if no repositories are configured
- Fix pkg query '%M' printing '(null)' [3]
Reported by: Nikolai Lifanov <lifanov@mail.lifanov.com> [1],
Waitman Gobble (github issue #514), and many others [2],
flo [3]
Changes:
- Fix parallel_exec child errors not stopping the build.
I.e., when computing deps if an origin is not found, the
build was not properly detecting that.
- Be more strict about leftovers in /var/db
- Package filename quoting fixes
Changes:
- A package can now be marked to only be upgraded from a given repository via annotations
- install and upgrade will now show from which repository packages are taken (if at least 2 repositories are setup)
- old/unused 'informations' field has been removed in favor of using annotations
- important cleanup using pkg_printf(3)
- add seat belt so pkg-devel can only be removed with -f
- signing key is only asked once now in pkg repo
- only look withing the note version of elf files
- fix pkg delete -a
- pkg repo has been changed to produce repo.txz in 1.0 only format
- catalog is now only take from digest in 1.1
- fix pkg update to that is is really incremental.
- fix pkg convert (thus fix pkg2ng)
- Add a DISABLE_MTREE option, which just disables processing +MTREE data
- Rename ENV to PKG_ENV to not conflict with sh(1)'s ENV
- Refactor 'pkg [-v|-vv|-vvv]' handling
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
Changes:
- Jail tar(1) and pkg(8) invokations
- Remove unneeded ldd temp script
- Fix appending MASTERNAME-make.conf twice [1]
- Use swap-based disk for MDMFS [2]
- HTML: Move assets into assets/ so that tab completion
is not hindered for logs/ by logo.jpg
Reported by: kwm [1]
Submitted by: ak [2]
- Update web documentation for using custom ports tree
Changes:
- Add missing validations to check that the specified
ports tree exists
- SIGINFO/status fixes
- SIGINT/SIGTERM no longer marks a build as 'crashed'
- Fix pkgng being required on the host to build pkgng packages [1]
- Fix CCACHE support by always mounting to /root/.ccache
- jail: Fix USE_TMPFS=all cleanup/deleting
- ports -c: Fix svn+file
- Allow DISTFILES_CACHE=PORTSDIR/distfiles again
- Jail tar(1) and pkg(8) invokations
- testport: Make failed builds more clear [2]
Reported by: tj [1]
Submitted by: antoine [2]
- Rename distfile and fix checksum errors. These errors
were due to renaming the upstream account, which changed
which directory the distfile untarred in.
- Shuffle MASTER_SITES so that FreeBSD.org and other more
reliable mirrors come before github
Changes:
- Leftover fixes
- Status fixes
- ports-mgmt/pkg no longer required in the host when building
WITH_PKGNG sets.
- CCACHE fixes
- jail: Support -m url= [1]
- jail -u: Allow updating snapshot jails [1]
- jail: Fix destroying/cleanup of jails with USE_TMPFS=all
- HTML: Show skipped counts in failed/ignored tables
- HTML: Show SVN URL
- Allow DISTFILES_CACHE=PORTSDIR/distfiles now that DISTFILES
are mounted in /distfiles [2]
- testport: Make failed builds more clear [3]
Submitted by: will [1]
Reported by: mat [2]
Reported by: tj [3]
- Fix the solver endlessly proposing to reinstall some packages [1]
- Fix a typo in repository configuration parser
- Explain why a package is being reinstalled
Reported and tested by: Nikolai Lifanov <lifanov@mail.lifanov.com> [1]
- Fix pkg audit -F [1]
- Fix the new solver trying to downgrade some packages when it shouldn't
- Properly show how much space is going to be free/required when deinstalling [2]
Reported by: Nikolai Lifanov <lifanov@mail.lifanov.com> [1], gerald [2]
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
- Actually checkout the older version when recursing
Reported by: jrm: IRC
- Behave properly when the path to the temp ports directory contains a symlink
Changes:
- Add example hook in etc/poudriere.d/hooks
- Documentation cleanups
- Sanity check fixes (ports tree exists)
- SIGINT during build no longer register the build as
'crashed'
- status: Fix cases where this would change the status of
the actual build
- queue/daemon - Use a UNIX domain socket for scheduling builds
instead of requiring the 'queue' user to have write access to
the queue dir.
- bulk -t: Add -r flag to recursively test dependencies (this was
the old default behavior)
- Revert linux leftover change - this is now handled in ports
r318960
- Update WWW to be a tagged link so that the documentation
matches the version installed
Changes:
- Add workaround for ZFS zteardown deadlock on 9.0/9.1-RELEASE
- jail -c: Fix NO_ZFS support
- options: Fix *make.conf not being respected
- status: Fix when running multiple builds at once
- Various fixes and documentation fixes
Changes:
- Add rc script
- jail -c: Fix NO_ZFS support
- bulk -t: Only test ports specified, not unlisted depends
- make_index: Jail the INDEX building
- options: Fix *make.conf not being respected
- Add workaround for ZFS zteardown deadlock on 9.0/9.1-RELEASE
- status: Fix when running multiple builds at once
- leftovers: Ignore shared library cache files
- Various fixes
Changes:
- ZFS support is now optional:
* NO_ZFS can be set to disable ZFS usage
* TMPFS_ALL can be used to the build 100% in memory via tmpfs
- Jail/Port properties are no longer stored in ZFS. They will
be automatically converted on the first execution. This means
that downgrading to 2.x is not easily possible.
- Removed cron command
- queue/daemon added
* These will be expanded more in 3.1 and the usage may change.
- New HTML/AJAX interface using jQuery
- Build times are now tracked
- Runaway builds are now automatically killed after 7200/84600
seconds of no output / max build time
- Build logs are now saved forever and not removed on every build.
testport will store its logs into "bulk" dir for now as well.
- Ability to resume a previous bulk -a build by using -B (this
is mostly for exp-runs as it allows grouping incremental logs
in with the previous logs). By default the buildname defaults
to YYYY-MM-DD_HH:MM:SS for every build.
- Install depends just-in-time in the proper sequence ordering,
instead of all upfront. This also fixes differences between
testport and bulk with regards to run-depends.
- Give a port all the special depends distfiles it needs during
build as well. This fixes issues with fetching and distfiles.
- Add basic hook support in /usr/local/etc/poudriere.d/hooks
- CHECK_CHANGED_OPTIONS now defaults to verbose
- Add CHECK_CHANGED_DEPS (default yes) to automatically detect
direct dependency changes and rebuild packages if needed. This
allow automatically detecting default postgresql/mysql/perl
changes requiring rebuild of ports. Note this has a bug with
ports that depend on libraries that are in base, but have a
port fallback. This will be addressed in 3.1.
- The reason for packages being deleted during the startup is
now more verbose
- Speedup packaging by reducing I/O
- Port testing: Add "preinst_fs_violation" which will detect
ports that touch the filesystem during fetch/build before
calling install.
- Lots of performance improvements. Poudriere is now lock-free
and has very little overhead.
- Various documentation/typo fixes
- Support value of 'no' for NO_RESTRICTED and SAVE_WRKDIR
- Add new latest-per-pkg symlinks into the root bulk/ dir and
bulk/jail/ dirs to link back to the most recent builds for
each package
- Add new subcommand 'status' which lists running builds. Specify
-j[pz] to view the current status of a specific build and all of
its jobs
- Fix support for jails with ':' in them
- Buildtimes are now tracked
- ports:
* Support checking out a different branch with -B
- testport:
* -d option has been removed
* testport -i improvements:
- Network enabled
- Works even when build fails
- RUN_DEPENDS now installed
- Add hostname into /etc/hosts
- tty usage is fixed
* Add .keep support for wrkdir saving
- bulk:
* New C index builder for pkg_* builds
* Add -N: skip generating package repository or INDEX
* Add -T: Use TRY_BROKEN
* Add -F: Try to download from the original mirror and
ignore all FreeBSD mirrors
* Allow specifying -f multiple times
- jail:
* -c: Add -P ./path.to.patch to patch the src tree with
the given patch before building it
* -c: Fix on recent CURRENT by using DB_FROM_SRC
Thank you to all contributors and testers
Please report and discuss defects in #poudriere on freenode
or report to https://fossil.etoilebsd.net/poudriere/reportlist
Changes:
- Add new subcommand 'status' which lists running builds. Specify
-j[pz] to view the current status of a specific build and all of
its jobs.
- Missing/New Dependencies: Be more verbose by default about why
packages are being deleted.
- CHECK_CHANGED_OPTIONS now defaults to verbose
- Add CHECK_CHANGED_DEPS and default it to on
- Fix support for jails with ':' in them
- bulk: Allow specifying -f multiple times
- testport -i: Add hostname into /etc/hosts
- Documentation fixes
- Fix DISABLE_MAKE_JOBS support
- Fix dependencies being checked twice during port builds when not
port testing
- jail -u fixes for freebsd-update/ftp
- Fix buildtime tracking missing a space
*** 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
For a while now bsdtar is able to autotermine compression and archive format.
Let's then use tar directly instead of piping to tar.
Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
* Add support for the PL_SVN_IGNORE environment variable. [1]
* Promote PORT_OPTIONS:MDOCS to NOPORTDOCS. [2]
* Add a check for pure FTP or HTTP mirrors in MASTER_SITES. [3]
PR: 177043 [1]
177048 [2]
177805 [3]
Submitted by: tota [1]
pclin [2]
Tijl Coosemans <tijl@coosemans.org> [3]
Changes:
- Add new latest-per-pkg symlinks into the root
bulk/ dir and bulk/jail/ dirs to link back to
the most recent builds for each package
- Use new CCACHE_DIR support
- Fix JS error in HTML page when loading too early
- Fix trying to clean '*' due to race condition when
skipping packages
- Remove CCACHE_CPP2 from jail -c as latest devel/ccache
is already handling this for buildworld
- Fix linux ports hanging during build
- Fix jail -c on recent CURRENT by using DB_FROM_SRC
Changes:
- testport/bulk -t: Fix leftover detection for TMPFS LOCALBASE
- Add bpf* to list of devices to unhide to fix libnet10
- Use --fast-read (-q) option of tar when possible
- Fix hanging when building some linux ports
- testport -i: Fix terminal not being fully usable, ie for vi(1)
- Fix depends failures not halting port building
- Major speedups for NO_ZFS/USE_TMPFS startup/cloning
- Mount /usr/src as read-only in every builder jail. This also
saves using ~1GB of memory for every builder when using TMPFS
- testport/bulk -t: Add checks to look for filesystem being touched
before 'make install'
- Fix some cases where poudriere would hang when errors were
encountered
- Various documentation/typo fixes
- Support value of 'no' for NO_RESTRICTED and SAVE_WRKDIR
- jail -d: Ensure jail not running before deleting
Feature safe: yes
Changes:
- Remove distfile sandboxing for now, which fixes several ports
trying to fetch files in the wrong phase and then failing.
This has been reworked in 3.0/poudriere-devel.
- Fix VERSION leaking into some builds
- Hide some harmless warnings
Feature safe: yes
Changes:
- Skip deleting symlinks/empty dirs with -s
- Fix pkg_install builds [1]
- Fix SETNAME-options not working [2]
- ports: Fix cleanup when create is aborted
- ports: Add -v to show more output for SVN operations
- bulk: Add -N to skip generating package repository or INDEX
- Show CONFIGURE_ENV/CONFIGURE_ARGS/MAKE_ENV in build logs
- Add support for PTNAME-options
Submitted by: Jimmy Olgeni <olgeni@olgeni.com> [1,2]
Feature safe: yes
Changes:
- Install depends just-in-time in the proper sequence ordering, instead of all upfront.
This also fixes differences between testport and bulk with regards to run-depends.
- Give a port all the special depends distfiles it needs during build as well. This fixes
issues with fetching and distfiles.
- Add basic hook support in /usr/local/etc/poudriere.d/hooks
- bulk: New C index builder for pkg_* bulks
- bulk: Automatically detect direct dependency changes. This should detect
postgresql/mysql/perl updates (change of default versions) without
needing user interraction.
- Delete empty directories when cleaning up repositories
- Add ftp-archive method for old releases
- jail: consistently accept svn revision number
- bulk -T: Implement try-broken
- bulk -F: fetch-orginal - This flag tries to download from the original mirror
and ignores all FreeBSD mirrors
- jail -c -P ./path.to.patch: Patch the src tree with the given patch before building it
- Add a small C code to determine if a directory is empty (faster than find for this)
- jail -u: Fix 'Error: 1 argument expected: jname'
- ports -F: Fix not populating method file
- ports -u: Fix backwards compatibility with snap dir
- Fix NO_ZFS still causing zfs.ko kernel module to be loaded
- Raise default nohang time to 7200 and add MAX_EXECUTION_TIME/NOHANG_TIME
- ports -d: Fix deleting the ports tree
- jail -d: Fix deleting jails
- testport: Add .keep support for wrkdir saving
- Speedup packaging by reducing I/O
- Fix crash in siginfo_handler() via cache_get_pkgname() if origin is empty
- ZSH completion fixes
- Documentaiton fixes
- Various leftover fixes
- Various other fixes
Feature safe: yes
- Add support for parsing the output of 'svn update' as one
of the input formats for cache-update.
- Drop support for parsing cvsup output or the cvsup checkouts
file, as the ports no longer uses cvsup.
- Accordingly remove the PropagationDelay configuration item,
that only applied to cvsup-mirroring.
- Cope with systems where realpath($PORTSDIR) != $PORTSDIR
Thanks to Doug Barton for bug reports and testing.
Feature safe: yes
- use links to Subversion tree, HTTPS-flavored ones;
- extract revision using Subversion format of $FreeBSD$;
- refuse to work with vuln.xml that comes from CVS:
automated exporter is switched off, so this source of
vulnerabilities is stale.
Reviewed by: simon, bz (partly), gavin
Approved by: portmgr (tabthorpe), so (des), secteam (simon)