Commit graph

157 commits

Author SHA1 Message Date
Baptiste Daroussin
3c7dd2add8 Release pkg 1.6.99.1
Changes:
- Fix a regression in performance when listing files [1]
- Remove references to EOLed FreeBSD version in manpages
2015-09-27 19:40:25 +00:00
Baptiste Daroussin
3e4b4d0817 Update to 1.6.99.0
Changes:
- Document @{pre,post}[un]exec
2015-09-25 23:15:51 +00:00
Baptiste Daroussin
89f5b5512e Update to pkg 1.5.99.13 aka 1.6.0 rc3
Changes:
- Important fixes in the solver (fixes the jpeg->jpeg-turbo issue)
- +DISPLAY can now be a ucl file (contextual messages)
- pkg info -D now understand ucl format
- keywords can now define messages to be printed (depending on the context)
- PKG_ROOTDIR is now always set in scripts (default to /)
- pkg version now accept -n <pkgname> to check a given package version against
  remote repository or ports tree or INDEX file
- Improve Linux support: testuite now passes entirely on linux
- pkg register only tries to load +DESC if it exists
2015-09-21 21:08:39 +00:00
Baptiste Daroussin
8950b41433 Update to 1.5.99.12 (aka 1.6.0 rc1)
Changes:
- Restore ordering of files and directories
- Simplify regression test framework
- Silence `pkg upgrade -q' when there are no packages to upgrade.
2015-09-05 14:56:01 +00:00
Baptiste Daroussin
ba11c55ba7 Update to 1.5.99.11
Changes:
- Fix 3 way merge
- Properly apply credentials on merged files (@config)
2015-08-30 18:23:02 +00:00
Baptiste Daroussin
2ec4008ed0 Update to 1.5.99.10
Changes:
Fix signature pubkey which was:
1/ broken
2/ backward incompatible.
Allow to not use ldns on Linux
Improve build on linux
Fix corruption on @config files
Fix @config files extraction when parent directories does not exists
2015-08-29 23:26:24 +00:00
Baptiste Daroussin
332cb55e20 1.5.99.9
Changes:
- Allow to emit dot graphs from the solver (-o DOT_FILE=afile)
- Update bundled libucl
- Fix bus error intorduced in 1.5.99.8
- Fix forward compatibility
2015-08-19 15:35:05 +00:00
Baptiste Daroussin
d70ee20ba8 Update to 1.5.99.8
Changes:
- Fix endless cycle of reinstall/deinstall of packages
- Reduce a bit memory usage
- New context aware messages (only show a message depending on where you are upgrading from)
- Fix a bug about pkg messages not being properly decoded
- Reduce code duplication
2015-08-18 09:53:01 +00:00
Mathieu Arnold
21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00
Baptiste Daroussin
5e1ae330d2 Update to 1.5.99.7
Changes:
- Use mmap with sqlite during pkg update
- Fix pkg query humanized output
- Improvement in pkg check manpage
- Lots of improvements in the solver
- Improve Linux support
- Fix CVE-2015-1283 in bundle expat

Note that this release does not pass 100% of the regression tests due to a known
cosmetic issue.
2015-08-11 22:25:15 +00:00
Baptiste Daroussin
7f8f30a522 Update to 1.5.99.6
Changes:
- Manpages updates
- Add a random delay to pkg-audit when invoked without a TTY
- Update zsh completion
- Add a new AUTOCLEAN option to automatically clean the cache directory
- Don't attempt to set file ownership when INSTALL_AS_USER is set
- Add a new configuration item to define custom HTTP User-Agent
- Fix an integer overflow when displaying package size for packages larger than
2GiB.
- Initial support for flexible dependencies
- Allow to specify dependencies without hardcoded versions
2015-07-14 14:36:17 +00:00
Baptiste Daroussin
67a86ac3ee Update to 1.5.99.5
Changes:
- Progress is not printing dots on the fly when stdout is not a tty
- Fix partial upgrades
- Fix url in pkg.conf.sample about vuxml
- Improve zsh completion
2015-06-06 20:11:43 +00:00
Baptiste Daroussin
f2a5a9e656 Update to 1.5.99.4
Changes:
- fix signature checking
2015-05-30 12:03:33 +00:00
Baptiste Daroussin
694e3c87ea Remove outdated mirrors 2015-05-30 09:00:07 +00:00
Baptiste Daroussin
78bb648706 Update to 1.5.99.3
Changes:
- Updates in manpages
- Improved support for --quiet everywhere
- Keep 7 (by default) days (rotation) of backups of the database
- Prune old style backups entirely
- Code cleanup
- Deduplication of the checksum related part of the code
- New checksum serialization format for files allowing to change the checksum
  algorihtm (fully backward compatible) for now sha256 and blake2b are supported
- pkg check -d now knows about provides/requires
- Do not pushed in shlibs required any library we can find in the list of files
  owned by the package
2015-05-30 08:52:59 +00:00
Baptiste Daroussin
cc8d23daab Update to 1.5.99.2
Changes:
- Documentation updates
- Make pkg alias -l respect quiet
- Reinstall packages if shlib provided has changed
- Do not expose shlibs without SONAME as provided libs
- Update sqlite to 3.8.9
- Add linenoise to have editing capabilities with pkg shell
- Fix pkg audit -r formatting
- Stop elf analysis sooner if not operating on an elf file
- Fix checking signatures on arm
2015-05-07 22:45:08 +00:00
John Marino
330ab91772 ports-mgmt/pkg-devel: Regenerate EXTRA_PATCHES (unbreaks DragonFly)
The patch target will fail if EXTRA_PATCHES is defined, but it is
only defined on DragonFly (change is no-op for FreeBSD)

Approved by:	Just fix it
2015-04-16 22:23:19 +00:00
Baptiste Daroussin
36a72bc24f Update to 1.5.99.1
Changes:
- Fix pkg ssh://
- Fix a missing '\n' in pkg audit
- Fix compat at functions to not mess up with cwd
2015-04-16 15:25:43 +00:00
Bryan Drewery
ea5adfb8f1 Let WITH_CCACHE_BUILD work on the pkg port that is not PKG_ORIGIN.
For example, if ports-mgmt/pkg is PKG_ORIGIN then it is safe to use
ccache for ports-mgmt/pkg-devel.
2015-04-14 20:58:26 +00:00
Baptiste Daroussin
0bfa28f3ea Update to 1.5.99.0 aka (1.5.0 but from master branch)
Changes:
- Fix pkg query -e "%#0"
- Add some test for pkg query
- Add some tests for pkg repo
- pkg repo now follows symlinks and skip Latest
- Bunch of documentation updates
2015-04-14 18:59:17 +00:00
Baptiste Daroussin
2aacf18235 Update to 1.4.99.20 aka pkg 1.5.0 rc2
Changes:
- Print notice to stdout
- Prevent pkg-static from trying to load plugins
- Bring back displaying of download size
- pkg shlib now support -q (quiet)
- Accept symlinks in pkg repo and ignore directories named (Latest or hidden: starting with a .)
2015-04-11 13:30:48 +00:00
Baptiste Daroussin
b9f89802dc Install a default pkg.conf is not already existing
Requested by:	amdmi3
2015-04-07 12:09:35 +00:00
Baptiste Daroussin
f4e0af4cde Update to 1.4.99.19 aka 1.5.0-rc1
Changes:
- Activate CONSERVATIVE_UPGRADE by default (by popular demand)
- Add -l to pkg alias
- Small improvements on zsh completion
- Add some new popular aliases to the sample pkg.conf
2015-04-07 12:08:59 +00:00
Baptiste Daroussin
b82954d753 Update to 1.44.99.18
Changes:
- Add the user_version in the sql dump
- Fix pkg version when checking the ports tree without INDEX
- Make pkg lock -l respect -q
- Fix ipv6
- Add noauto alias
- Make lead alias more accurate
- New pkg lock --has-locked-packages (return 0 if it has locked packages 1 otherwise)
- Resume fetch support for http/ftp
2015-04-03 20:03:04 +00:00
Baptiste Daroussin
cc047292ea Update to pkg 1.4.99.17 (pkg 1.5.0 beta2)
Changes:
- Allow processing of Transfer-Encoding: chunked responses. when fetch a package
- Only consider compatible ABI when processing shlibs provides/requires
- Ensure to first satisfy requires on packages already in universe before trying
  add new ones into the universe
2015-04-02 18:14:45 +00:00
Baptiste Daroussin
e8d245bd51 Update to 1.4.99.16 aka pkg 1.5.0 beta1
Changes:
- Important fixes on provides/requires (now we can solve situation like php upgrades with modification in the ports tree to set the provides/requires)
2015-03-31 18:28:20 +00:00
Baptiste Daroussin
ff04e756a2 Update to 1.4.99.15 aka pkg 1.5.0 alpha2
Changes:
- stop spamming users about false libraries not found when creating a package
- do not consider local files when evaluation the pkg delete arguments
- be more precise about the reasons of a dependency change
- give informations about abi changes
- give informations about options changes
- fix conflicts handling in multi repository mode
2015-03-28 01:58:01 +00:00
Baptiste Daroussin
6890e87f20 Update to 1.4.99.14 aka 1.5.0 alpha1
Changes:
- More fixes on pkg lock/unlock on 32bits
- Initial support for provides/requires
- Print which package is the reason for direct depend change
- Cleanup regression tests
- Allow pkg create -M ./plop.ucl -p ./plop.plist
- Deprecate --relocate
- add pkg -r <rootdir> option to allow easy cross installation
- export PKG_ROOTDIR in script to ease cross installation friendly scripts
2015-03-18 19:08:55 +00:00
Baptiste Daroussin
3b13fab0f3 Release 1.4.99.13
Changes:
- Add examples about annotations
- Make the public API c++ friendly
- Fix bug in solver found by the ruby 2.1 upgrade: puppet getting removed when
  it should not
2015-03-07 00:02:18 +00:00
Baptiste Daroussin
470fcdb1bc Release 1.4.99.12
Changes:
- New option DEFAULT_ALWAYS_YES to have pkg defaulting on Yes for all questions
- Cleanup some internal APIs
- 37 more regression tests
- Improved support for NetBSD
- Fix return code of pkg lock -l
- Fix documentation about the default location for keywords
- Mark @ignore as deprecated
- Add more flexibility to keyword credentials:
  * Now accept mini version of arguments: @(owner) or @(,group)
  * All arguments after 4th arguments is now considered as file flags
- Allow custom (UCL) keywords to have arguments, this will split the line after
  the keywords line any command line arguments.
- Improve report from error when parsing the plist lines to format the '%' keys
- Reduce memory usage in lot of operations
- Speed up lot of operations
- Update bundled libelf
- Add support for aarch64
- Fix pkg audit -r printing twice the CVE entry
- Fix pkg audit -r not finding reverse dependencies
- Fix dynamic conflicts (was only broken in devel branches not releases)
- Fix pkg lock on 32bits
- Cleanup pkg alias: Show errors in stderr, Support -q (quiet)
- Fix parsing key/value list from env
- Fix annotate --show --all
- Make sure the kernel allows PROCCTL_REAP_ACQUIRE.
2015-03-01 01:41:00 +00:00
Baptiste Daroussin
4e22fc3280 Release 1.4.99.11
Changes:
- connect pkg alias to the build
- add pkg create -v and PKG_CREATE_VERBOSE in pkg.conf to get verbose package
  creation
- show repository priority in pkg -vv
- document pkg_repo_priority() in pkg_repos(3)
- fix a bug handling chflags on systems without chflagsat reported on dfly but
  might also affect FreeBSD 8 and 9 even if no bugs were reported yet [1]

  [1] Special thanks goes to Dillon for removing the dirt our of my eyes and
  spotting the bug, Antonio Huete Jimenez (tuxillo) for testing and tracking the
  bug since it has been spotted on dragonfly
2015-02-11 21:46:53 +00:00
Baptiste Daroussin
e6d0c7f821 Update to 1.4.10 and 1.4.99.10
- Fix a regression causing bus error

Reported by:	marino
2015-02-05 10:24:50 +00:00
Baptiste Daroussin
4617df4fba Update pkg to 1.4.9
Update pkg-devel to 1.4.99.9
Changes:
- Fix regression introduced in 1.4.8 [1]
- Document pkg set -n
- add pkg alias

Reported by:	mandree [1]
2015-02-04 22:38:00 +00:00
Baptiste Daroussin
fc8ee30c40 Update to 1.4.99.8
Changes:
- Tons of resources leak plugged (thanks coverity)
- Fix size calculation output
- Fix 'pkg add -M -'
- Update libucl to latest version
- Improve documentation
- Make pkg create more verbose
- Add -q|--quiet option to pkg create
- Add a new pkg alias subcommand
- Update sqlite to 3.8.8.2
- Update libucl to 0.7.2
2015-02-04 20:51:05 +00:00
Baptiste Daroussin
88dcdf979d Update to 1.4.99.7
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
2015-01-23 16:04:24 +00:00
Baptiste Daroussin
ff4b9929e3 Update to 1.4.99.6
Fix last minute regression
2015-01-17 17:47:58 +00:00
Baptiste Daroussin
44f69f3ec9 Update to 1.4.99.5
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)
2015-01-17 16:51:14 +00:00
Baptiste Daroussin
32b11fba60 Update to 1.4.99.4
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
2015-01-02 15:19:18 +00:00
Baptiste Daroussin
dcce7a470c Update to 1.4.3 and 1.4.99.3
Changes:
- Fix integrity check in multi repository
- Document CONSERVATIVE_UPGRADE
- Document repository priority
- Do not duplicate replacement request
2014-12-29 20:14:49 +00:00
Baptiste Daroussin
58c057d2bc Update pkg to 1.4.2 and pkg-devel to 1.4.99.2:
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
2014-12-27 11:22:29 +00:00
Baptiste Daroussin
903e334d32 Release pkg 1.4.1 and 1.4.99.1
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
2014-12-22 19:57:53 +00:00
Baptiste Daroussin
3c3ac2d7a3 Disable Werror to calm down gcc 2014-12-09 14:50:07 +00:00
Baptiste Daroussin
4126c83152 Update pkg to 1.4.0
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
2014-12-09 14:22:10 +00:00
Baptiste Daroussin
825572a861 Update to 1.4.0 rc3
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
2014-12-08 14:48:19 +00:00
Baptiste Daroussin
e8ac976874 Update to 1.4.0 rc2
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
2014-12-06 11:45:34 +00:00
Baptiste Daroussin
be5bff64ac Update to 1.4.0 rc1
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
2014-12-05 17:48:02 +00:00
Baptiste Daroussin
c7d4d6bd7e Cleanup the @dirrm
Reported by:	marino
2014-11-19 11:15:06 +00:00
Baptiste Daroussin
d938d9d96d Reroll the tarball I was mising some dfly only commits:
- fix build with bundle libelf
- keep ABI on dragonfly
2014-11-19 07:34:50 +00:00
Baptiste Daroussin
337d98cc5d Update to 1.4.0.b2
- more fixes to multi repo
- fix pkg autoremove recursivity
2014-11-19 07:28:02 +00:00
Baptiste Daroussin
92d05cd558 Update to 1.4.0.b1
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)
2014-11-18 14:00:18 +00:00