Commit graph

216 commits

Author SHA1 Message Date
Baptiste Daroussin
a7091cda19 Update to 1.10.99.11 which attempts to fix build with recent libarchive 2018-11-03 21:27:52 +00:00
Baptiste Daroussin
351d44a02c Update to 1.10.99.10 2018-09-22 10:44:56 +00:00
Mathieu Arnold
e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00
Ben Woods
d247691573 Fix fetch by updating GH_TAGNAME as required by r479255
Approved by:	portmgr blanket
2018-09-09 03:43:17 +00:00
Brad Davis
caccd90e82 Update to 1.10.99.9
- Remove a check for config files that have hardlinks
- Add .gitlab-ci.yml to support the Gitlab CI service
- Add a few more tests with hardlinks
2018-09-08 19:22:29 +00:00
Baptiste Daroussin
a9644863f1 Update to 1.10.99.8
Changes from pkg 1.10.99.7 to 1.10.99.8
- Add options to ignore OSVERSION check and document it
- Complain about RO filesystem for pkgdb access if needed
- Fix privileges drop done too early
- Improve OSVERSION check
- Fix some resource leaks
- Lots of documentation improvements
- Improve conflicts handling
- Do not check remote packages when doing `pkg upgrade -v`
- Convert from autotools to autosetup
- Fix warnings spotted by gcc 7+
- Fix pkg info -R to match the documented behaviour
- Update zsh completion
- Fix crash with config file handling
- pkg is now a semi static binary
2018-08-20 17:06:15 +00:00
Dmitry Marakasov
0e8e345651 - Update WWW
Approved by:	portmgr blanket
2018-05-17 09:34:07 +00:00
Steve Wills
cbee9380e1 Don't use pkg-static when cross building
PR:		224217
Submitted by:	nwhitehorn
Approved by:	bapt
2018-02-06 14:13:35 +00:00
Baptiste Daroussin
ed2b8cb729 Update to 1.10.90.7
- Sort fts traversal in repo creation
- Fix floating pint exception when packaging packages with weird elf files
- More test cases for config merge
- Fix running the testsuite on linux and osx
- Fix pkg version regarding flavors
- Add support for creating packages with a hash in their names
- Accept DT_SONAME anywhere in .dynamic
- make pkg version -r imply -R
- Some fixes for the progression display
- Rename some variables in security periodic scripts.
- Parse FreeBSD OS version and forbid to install too new packages
2018-01-06 23:14:19 +00:00
Baptiste Daroussin
6b0fc35b39 Update to 1.10.99.6
- Lots of fixes/improvements on periodic scripts
- Fix typo in the .pc file
- Only check for origin if the strings contains / in pkg version
- Support flags when exporting the metalog
- Ignore flags when installing as a user
- fix again using pattern as package arch
- recognize armv7
- add %q to pkg_printf(3) and pkg-query(8) to print altabi
- add an extra line when printing pkg-messages to improve readability
- stop considering nfs as dangerous and if a corruption happens on nfs drive
  by a message the user to the highly possible reason of the corruption so
  he can fix
- zsh completion imrpovements
2017-11-11 13:04:34 +00:00
Baptiste Daroussin
268b08b8c1 Update to 1.10.99.5
- pkg clean is now happy if the cache dir non existing
- 410.pkg-audit now uses anticongestion on freebsd 12
- fix pkg install -r foo if foo is a disabled repository
- fix elf handling on non FreeBSD
- fix support for platforms without AT_SYMLINK_NOFOLLOW
- fix dropping privileges on Linux
- fix build with recent libbsd
- fix duplicate pkg registration overwriting the existing pkg
- better ABI name on linux
- lots of changes in internal API to use fd when possible
- removed option: pkg repo -L
2017-07-31 21:38:26 +00:00
Baptiste Daroussin
194470067a Update to 1.10.99.4
- Fix signing_command something saving a truncated signature in the file
  as a result pkg will reject any repository signed
- pkg which: add -m to show what files matched using globs
- fix sqlite overload with new sqlite
- Revert the new UI which does not respect 80 columns
- Fix query '%q' printing the internal arch instead of the official one
2017-03-26 21:19:39 +00:00
Baptiste Daroussin
f1bc69869a Update to 1.10.99.3
Changes
- Replace some mmap with getline()
- Fix pkg which -g
- allow setting env before fetching for every kind of repo
2017-02-25 12:40:55 +00:00
Baptiste Daroussin
71a1feb6ee Update to 1.10.99.2
- Remove pkg2ng and pkg convert code
- Emit dep_formula within the manifests
- Use stack based read (32k buffer) instead of mmap
- Use 32k buffers for each reads
- Cache pw/group to reduce overreading nsswitch.conf
- Update libucl and remove over call of getcwd
2017-02-19 16:43:03 +00:00
Baptiste Daroussin
af3583134d Update to 1.10.99.1
- The solver now uses natively the new dep formula (more works needed)
- Ensure don't call getcwd for each manifest part (useful for the builders)
2017-02-17 23:12:18 +00:00
Baptiste Daroussin
36ca5b2073 Update to 1.9.99.11
- Fix install as user
- Allow to set env variable per repo to pass to libfetch
- Plug a memory leak
- Fix repo initialization when a repo is disabled
- Fix installing sparse binary files
- Add an option for a user to change locking over nfs
2017-02-12 21:09:17 +00:00
Ryan Steinmetz
b76b458340 - Instruct portscout to ignore these 2017-01-03 20:38:47 +00:00
Baptiste Daroussin
230e423e23 Release to 1.9.99.10 (yes I forgot update the port for 1.9.99.9
- Fix symlinks created by pkg register
- Fix pkg version -n
- Do not autoremove packages marked as vital
- pkg query: aggregate license information
- Fix build on OSX
- Fix build on FreeBSD 8
- Implement pkg upgrade --vulnerable
- Fix descriptor leak
2017-01-02 23:32:02 +00:00
Baptiste Daroussin
a4de3b025a Update to 1.9.99.8
- bug fixes and simplification of pkg register
2016-12-04 22:19:58 +00:00
Baptiste Daroussin
72ec8d3ea7 Update to 1.9.99.7
changes:
- pkg register: fix timestamps
2016-12-04 00:15:46 +00:00
Baptiste Daroussin
dc2eb94047 Update to 1.9.99.6
- Fix pkg register when target hardlink is not in the same directory as the source file
2016-12-03 22:50:40 +00:00
Baptiste Daroussin
2895a58be0 Update to 1.9.99.5
- In case of errors during pkg update exit with a non 0 status
- Fix pkg register issues with some version of libarchive:
  * hardlinks not being made hardlinks sometime
  * issues when PREFIX is a symlink to another directory
- Use portable mechanism to find the number of CPUs which allows pkg repo to be
  faster on linux
2016-12-03 21:14:01 +00:00
Steve Wills
7f220fd3ff Rename PKG_CMD to PKG_REGISTER
Submitted by:	bapt
Differential Revision:	https://reviews.freebsd.org/D8677
2016-12-01 21:29:04 +00:00
Baptiste Daroussin
3bedd80422 Update to 1.9.99.4:
- Add progress when fetching (number of files to fetch)
- Improved messages about locked packages
- Return 1 when a user rejects the proposed plan
- When dealing with configuration files '@config' never overwrites non tracked files
- Warn everyone about deprecation of @dirrm and @exec
- Deduplicate metadata loading code
- pkg register now understands context aware messages
2016-11-20 15:52:35 +00:00
Baptiste Daroussin
f96ddf0ed1 Update to pkg 1.9.99.3
- Add a fallback for utimensat when reporting EOPNOTSUPP
- replace libsbuf with utstring for portability
- Overwrite some sqlite vfs functions to allow capsicumisation of pkg
- move more pkg audit details into the library
- allow to run pkg query without any privileges
- extend the audit periodic script to report deprecated packages
- Fix fd leak to rcscripts
- stop dropping privieges during fetching it causes more issues than it solves
- speed walking though [reverse]dependencies
- Update blake2b to latest version
- Add blake2s to the list of supported checksums
- Internal digest now default on blake2b on 64 bits and blake2s on 32 bits.
- Fix segfault when ABI is defined but empty
- Do not use the shared library provides/requires on non FreeBSD/Linux
- Define _NETBSD_SOURCES on NetBSD to allow libfetch to use funopen
- Document vital flags
- Fix potential double free when dealing with @config keyword
2016-11-19 22:26:49 +00:00
Baptiste Daroussin
b1f3b90389 Update to 1.9.99.2
- readd FTS support to sqlite lib to allow dropping fts tables
- rewrite some functions to use file descriptors when possible
2016-10-30 20:02:19 +00:00
Baptiste Daroussin
39bf209dc3 Update to 1.9.99.1
- Fix fd leak on systems without utimensat (merged in release branch)
- Do not use openssl for sha256
- Improve the default output when fetching data
- Update libfetch to the version of FreeBSD 11
- Update libsbuf to the version of FreeBSD 11
- Fix NetBSD ABI
- Add a fallback for utimensat when reporting EOPNOTSUPP
2016-10-30 17:57:33 +00:00
Baptiste Daroussin
56a7235107 Update to 1.9.99.0
- Fix pkg refetching te repositories all the time
- Add support for METALOG
2016-10-15 21:23:41 +00:00
Baptiste Daroussin
987ab62e4a Update to 1.8.99.1
- removes chroot in sanboxes it causes too many issues

Reported by:	kwm, bdrewery
2016-08-20 17:26:20 +00:00
Baptiste Daroussin
4f321f2fba Update to 1.8.99.10
- sandboxes always drops privileges if run as root and chroot in /var/empty
- sandboxes limits resource usage to make them less useless on system without capsicum
- drops privileges and chroot to /var/empty in various commands if run as root:
  * pkg audit
  * pkg info
  * pkg (r)query
2016-08-19 22:16:07 +00:00
Baptiste Daroussin
b0ba98cf02 Update to 1.8.99.9:
- Update internal expat to 2.2.0
- Fix using an external solver
- Fix build on FreeBSD prior to 9.2
- Fix issues on armv6
- Add a mini summary of the operations (removal, installation, upgrades) that
  that will be done
- Fix solver issues that could trigger issues with conflicts or reinstall too
  many things
2016-07-05 15:02:08 +00:00
Baptiste Daroussin
7394e77926 Update to 1.8.99.8
- Accept symlinks to directory when the package expects a directory
- Cleanup symlink checksuming code
- Fix a bug that results in bus error on very specific cases with lots of
  packages installed
2016-06-25 11:31:42 +00:00
Baptiste Daroussin
4702f4204a Update to 1.8.99.7
- Lots of important fixes in the solver
- Fix pkg upgrade -f
- Reduce namecache contention a bit
- Prefix all temporary files with a . so they are hidden
- Explicitly tell the users which conflicts were found
- Do not fork pkg when being ptraced (only on FreeBSD)
- Implement repo pinning so once installed a package will keep coming from a
  given repo
- Fix repository priority handling on directly requested packages

Big thanks az@ and vsevolod@ for the thank less help provided
2016-06-22 21:22:06 +00:00
Baptiste Daroussin
f1eb32fd9b Update to 1.8.99.6
Changes:
- fix solver deciding to reinstall the reverse dependencies
- fix mirror_type: http with https url
2016-06-09 22:07:46 +00:00
Baptiste Daroussin
46cd1f14f3 Update to 1.8.99.5
Changes:
- Fix: make http mirror type respect the specified port
- Fix: chown/chmod on linux
- Fix: pkg ssh
- Update libucl to latest version
- Reduce adherence on openssl
2016-06-05 09:03:42 +00:00
Baptiste Daroussin
4cd51edc85 update to 1.8.99.4
Changes:
- Fix checks for duplicates in the universe chains (multirepo)
2016-05-30 18:31:45 +00:00
Baptiste Daroussin
27160e884a Update to 1.8.99.3
Changes:
- fix some memory issues found with -fsanitize=address
2016-05-28 13:22:54 +00:00
Baptiste Daroussin
16f24225c6 Update to 1.8.99.2
Changes:
- improvements in the solver regarding multirepo
- fix setting time on pre POSIX 2008 systems (such as freebsd 8)
- fix running pkg when FD 0 has been closed
2016-05-25 18:54:40 +00:00
Baptiste Daroussin
fbcd69b81a Update to 1.8.99.1
Changes:
- Reduce memory used while analysing elf files
- Stop checking pre-deinstall script except if DEVELOPER=yes is set
- fix double free in pkg updating
2016-05-23 18:18:00 +00:00
Baptiste Daroussin
e55afefa90 Release pkg 1.8.0
New features:
- new vital flag that prevent from removing a package with pkg delete when not specifying -f
- upgrade process now has atomicity per packages meaning now we can safely check the return of the pre* scripts
- handle ctrl-c during upgrade/install/update
- solver improvements
- pkg clean now runs in a capsicum sandbox on supported plateforms

Changes:
- pkg delete now fails if one tries to delete it (the pkg package) without -f. Before it was just warning and skipping it
- pkg install --from-root has been renamed pkg install --recursive to avoir confusion

Fixes:
- correctly handle hardlinked setuid files
- better handling of setuid
- fix elf analysis when some bad libraries have SONAME specified by empty
- fix elf analysis when a binary provides elf_notes but not the expected ones and are still valid freebsd binaries
  (this fixes the case when libgdk_pixbuf was not found as a provided lib on i386)
- NAMESERVER option is now working again and inputs are better checked
- lots of bug fixes: potential leaks mostly
2016-05-22 15:12:16 +00:00
Baptiste Daroussin
e91ee36b41 Reroll the tar file it was badly created 2016-05-15 17:20:33 +00:00
Baptiste Daroussin
82f863985d Update to 1.7.99.11
Changes:
- ensure pre-install script failing are making the install process fail
- do not try to set attributes on directories if they already have the proper attributes
2016-05-15 15:23:19 +00:00
Baptiste Daroussin
f2cfee8083 Update to 1.7.99.10
Changes:
- Do not fail in case timestamps cannot be set on a directory
- Fix issue that can lead to some libraries not being provided
- Updates in pkg-repo(8)
2016-05-14 23:45:41 +00:00
Baptiste Daroussin
0cc8b577a0 Update to 1.7.99.9
Changes:
- rename install --from-root into install --recursive to avoid confusions
- cleanup old packages later which reduces the window when the filesystem is "unstable"
- fix issue with recursive deps when using pkg add
2016-05-08 17:51:10 +00:00
Baptiste Daroussin
edc0dc7842 Update to 1.7.99.8
Changes:
- run post install scripts a bit later to ensure all the new files are in place
- fix a fd leak when extracting files
2016-05-06 19:51:30 +00:00
Baptiste Daroussin
42dc37945a Update to 1.7.99.7
Changes:
- bug fixes after capsicumization of pkg clean
- improved a bit the output of pkg fetch to make it more understandable
2016-05-06 18:22:48 +00:00
Baptiste Daroussin
01cd57f515 Update to 1.7.99.6
Changes:
- Fix a regression on systems wihtout utimensat(2)
- Revert a behaviour change with rootdir and repositories that
  appeared to be more painful for users than helpful
- Fix pkg clean removing /var/cache/pkg if it is a symlink
- capsicumize pkg clean
- make pkg clean remove empty directories
2016-05-06 11:49:06 +00:00
Baptiste Daroussin
05606229ae Update to 1.7.99.5
Fix regression on hardlinks and setuid

Reported by:	gjb
2016-05-06 00:38:49 +00:00
Baptiste Daroussin
9b7bfdb5ca Fix a regression regarding extraction of symlinks (regression tests added)
Reported by:	gjb
2016-05-05 23:58:30 +00:00
Baptiste Daroussin
ba64112eae Update to 1.7.99.3
Revert 2 fixes that were actually coverity false positives
2016-05-05 22:51:45 +00:00