Commit graph

2784 commits

Author SHA1 Message Date
Joe Marcus Clarke
5577d18b3f Update to 2.15.4.
Use File::Basename so that only the patch filename is checked for the 100
character limit.

PR:		192161
2014-07-28 13:21:06 +00:00
Vsevolod Stakhov
d8a2263b12 Update to pre-alpha2.
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@
2014-07-28 12:56:47 +00:00
Baptiste Daroussin
89baf77680 Update to 1.3.2
Changes:
- Import fixes from libucl (fixes memory corruption with pkg.conf)
- Fix memory corruption when reinstalling packages
- Rework pkg repo process distribution
2014-07-27 23:30:11 +00:00
Andrej Zverev
8451b85d1b Fix reading pkg.conf (this will prevent pkg from segfault)
Approved by:	bapt@ (portmrg@)
2014-07-27 15:33:13 +00:00
Baptiste Daroussin
d268986101 Update to 1.3.1
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
2014-07-26 23:08:04 +00:00
Baptiste Daroussin
752da6b94b Reset maintainership for ports not staged with no pending PR
With hat:	portmgr
2014-07-24 16:33:10 +00:00
Xin LI
a4faf0853d Remove unnecessary quotation.
PR:		ports/192081
Submitted by:	<takefu airport fm>
2014-07-24 08:16:55 +00:00
Alexey Dokuchaev
aea9f4fb4b Fix the build on PowerPC: apparently it declares that it has atomic builtins,
but GCC 4.2 bombs with internal compiler error (= unrecognizable instruction)
when compiling libucl/src/ucl_util.c.

Approved by:	bapt (portmgr, maintainer)
2014-07-23 16:49:42 +00:00
Baptiste Daroussin
d68c200ddc Update to 1.3.0
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
2014-07-23 14:22:09 +00:00
Vsevolod Stakhov
392d6b7db9 Prior to release 1.3 update pkg-devel to 1.4.0.pre-alpha1.
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@
2014-07-23 14:11:10 +00:00
Vsevolod Stakhov
b9ef0484b7 Update to 1.3.0.rc4
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@
2014-07-22 16:02:04 +00:00
Vsevolod Stakhov
50e6275ec8 Update to 1.3.0.rc3.
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@
2014-07-18 13:53:23 +00:00
Jimmy Olgeni
fa3a17c064 Remove indefinite articles and trailing periods from COMMENT, plus
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)
2014-07-17 08:57:51 +00:00
Baptiste Daroussin
6ca92592d5 Fix some non default LIB_DEPENDS
With hat:	portmgr
2014-07-16 08:44:04 +00:00
Adam Weinberger
88a055c8b1 Add missing EXAMPLES and DOCS to a couple ports that
already honour PORTDOCS and PORTEXAMPLES in the plist.
2014-07-15 20:00:43 +00:00
Adam Weinberger
cd13c75523 Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS. 2014-07-15 16:49:33 +00:00
Baptiste Daroussin
ffb7170399 Modernize LIB_DEPENDS
With hat:	portmgr
2014-07-14 18:42:04 +00:00
Joe Marcus Clarke
7eaa217b85 Update to 2.15.3.
* 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]
2014-07-12 14:52:49 +00:00
Raphael Kubo da Costa
5823055b72 Update to 0.3.
PR:		191577
Submitted by:	shen.elf@gmail.com (maintainer)
2014-07-09 18:02:58 +00:00
Vsevolod Stakhov
a79014ceac Update to rc2.
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@
2014-07-09 12:11:30 +00:00
Vsevolod Stakhov
776a2caed6 Update to release candidate 1.
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@
2014-07-07 13:27:06 +00:00
Alex Kozlov
24ae2fab58 - Deprecate and set expiration date to 2014-09-01: Does not support pkgng 2014-07-06 20:38:36 +00:00
Tijl Coosemans
ec94e4d5eb Bump more ports that depend on libsqlite3.so:
- 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)
2014-07-05 12:19:32 +00:00
Bryan Drewery
0d888b0e8a - Fix pkg-rquery -I to have all expected output.
Obtained from:	upstream 29c9c84e0e11c2c182a8d79634344e57bf2575f1
With hat:	portmgr
Reported by:	dteske
2014-07-04 20:08:11 +00:00
Shaun Amott
6acc56d7fb Add staging support. 2014-07-04 15:48:37 +00:00
Tijl Coosemans
a5185846f0 Bump PORTREVISION on all ports with USE_SQLITE=yes or USE_SQLITE=3 that
have not been bumped yet after the latest libsqlite3.so library version
change.

Approved by:	portmgr (implicit)
2014-07-04 09:40:59 +00:00
Antoine Brodin
046f632b9d Attempt to unbreak 2014-07-01 18:58:54 +00:00
Koop Mast
fd5cc8b21d Stagify.
Use USES=shared-mime-info for packagekit port.
2014-07-01 07:42:24 +00:00
Vsevolod Stakhov
5885a25654 Update to 1.3.0.b9
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@
2014-06-30 13:52:33 +00:00
Martin Wilke
bd48d39657 - Chase database/sqlite3 slib bump
Approved by:	portmgr (myself)
2014-06-27 17:21:06 +00:00
Bryan Drewery
a3a0e37d74 - Update to checkin 6d00750ddc
Changes:
  * HTML: Fix printing of "Remaining" on the jail page
  * Build reason: Change "missing LDFLAGS" to "missing_LDFLAGS" to have a one
    word reason
  * Update example nginx config for 1.6: nginx 1.6 now includes
    application/json in default mime.times
  * Add USE_PROCFS and USE_FDESCFS to allow disabling requirement on them
2014-06-27 03:30:50 +00:00
Vsevolod Stakhov
5e1f0868b9 Update to 1.3.0.b8.
Changes:
- Fix pkg-backup display issues
- Fix UID changing when looking for upgrade candidates
- Rework integritycheck procedure to use uids
- Improve searching of local and remote packages
- Lazy load of files and dirs for remote packages
- Fix upgrades with UID changed
- Fix actions count in jobs progress display
- Fix serious bug in pkg-repo by moving to socketpairs from pipes
- Detect SOCK_SEQPACKET support and fallback to SOCK_DGRAM (for 8.x)

With hat:	pkg@
2014-06-26 13:30:24 +00:00
Baptiste Daroussin
a33191366c Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends

With hat:	portmgr
2014-06-25 05:35:31 +00:00
Vanilla I. Shu
d5dd9713b5 Stagify.
Approved by:	portmgr@ (blanket approval)
2014-06-24 15:42:43 +00:00
Jason E. Hale
62eae3dbd3 - Support staging
- Simplify MASTER_SITES
- Remove indefinite article from COMMENT
- USES_BZIP2 -> USE=tar:bzip2

Approved by:	portmgr (blanket approval)
2014-06-24 03:56:37 +00:00
Jason E. Hale
7ae5daeb11 - Support staging
Approved by:	portmgr (blanket approval)
2014-06-24 03:28:04 +00:00
Antoine Brodin
c32d17775a gnome-packagekit builds fine in ports/head
With hat:	portmgr
2014-06-23 19:42:55 +00:00
Vsevolod Stakhov
2ecafe66a4 Update to 1.3.0.b7
Changes:
- Save repo type in the annotation.
- Fix packages fetching for reinstallation
- Convert pkg repo from threads to processes (no more pthread dependency)
- Add progress indicators to repo create
- Implement new repo style:
	* Add metafile
	* Use data from that metafile
	* Use advanced manifest digests format
	* Implement legacy repos creation
- Fix symlinks checksums (reported by misha @ #pkgng)
- Fix pkg backup -r messages
- Now pkg is able to delete multiple versions of the same package (e.g. when some packages are
 merged into one another)
- Fix repo schema upgrade
- Do not try to re-fetch broken packages infinitely
- Fix couple minor bugs and crashes

With hat:	pkg@
2014-06-23 13:56:49 +00:00
Dmitry Marakasov
275c65d7c3 - Switch devel/jansson to libtool, drop .la files
- Bump dependent ports as .so version has changed

Approved by:	portmgr blanket
2014-06-23 13:20:54 +00:00
Dmitry Marakasov
b856ae2798 - Remove redundant pkg-message display
Approved by:	portmgr blanket
2014-06-23 12:54:24 +00:00
Baptiste Daroussin
1014aaf8b0 Mark as broken: it is failing for a while
With hat:	portmgr
2014-06-22 22:31:36 +00:00
Joe Marcus Clarke
b999e16732 Update to 2.15.2.
* Add s3.amazonaws.com to the list of whitelist master sites. [1]
* Correct a typo. [2]
* Add support for the @sample directive. [3]
* Check for USE_AUTOTOOLS=libtool and suggest USES=libtool instead.

PR:		183864 [3]
Submitted by:	skreuzer [1]
		culot [2]
2014-06-21 19:24:50 +00:00
Vsevolod Stakhov
c2ff371b35 Update to 1.3.0 beta6.
Changes:
- fixed pkg-delete bug
- fixed issues with progress displaying

With hat:	pkg@
2014-06-20 08:47:53 +00:00
Bryan Drewery
cdbd7f5388 - Update to checkin 81baf7e90d
Changes:
  * Fix bulk -f handling of relative file
2014-06-19 23:07:17 +00:00
John Marino
cb4839820c ports-mgmt/pkg-devel: Chase relocation of pkg.8 man page
The pkg.8 manpage is edited by an extra patch on DragonFly due to
differences in jail operation.  The patch no longer applies both due
to file relocation and regular bitrot.  Regenerate the patch and
change its name to reflect the new file location.  This is a no-op
on all releases of FreeBSD.

Approved by:	just-fix-it blanket
2014-06-19 20:51:52 +00:00
Bryan Drewery
2599040fab - Update to checkin df5632bbea
Changes:
  * bulk: Always clean restricted packages when done building if NO_RESTRICTED
    is set
  * bulk: Don't rebuild unneeded deps which were not specified on the cmdline.
    NOTE: This means that partial builds will not create a consistent repo of
          other existing packages. I.e., running bulk PORT1 PORT2 and then
          running bulk PORT1 will make it only create a consistent repo
          for PORT1. Always build with the ports you expect to be there.
  * Fix 'msg_error' not defined errors.
  * pkgclean/distclean: Consider hardlinks for size calculation
  * distclean:
    - Fix some false-positives
    - Support multiple -p options
    - Parallelization improvements
  * HTML:
    - Fix skipped column sorting
    - Pkg/Hour: Don't show 'Infinity' for older builds
    - More column width tweaks to fix word breaking
    - Fix skipped filter
  * jail:
    - Better support for native builds on powerpc and other archs,
      -a now accepts TARGET.TARGET_ARCH or TARGET_ARCH.
    - Add several new methods (see poudriere.8). Note that some
      of these may change a lot before release.
      * Null import an existing jail: -m null -M path
      * Install from existing src/obj dir: -m src=PATH
      * Install from tarball: -m tar=PATH
    - Always run -u after -c to get latest freebsd-updates
    - Fix -r and give hints on next steps
    - Try to modify the jail on creation less and do it during build
      startup instead.
  * Updates to log processing to offset common "cluster" reason
  * Better QEMU support
  * Better deadlock detection analysis
  * testport: Add -w to save workdir just as bulk has
  * Remove TRACK_BUILDTIMES
  * Sign the pkg.txz for pkg(7) when using SIGNING_COMMAND
  * portsnap interactive support
  * Try to handle long mount points better with MNAMELEN limit of 88
    by shortening many internal paths and hashing the mastername when
    required.
  * Support poudriere.d/[jail-][ptname-][setname-]poudriere.conf (this support
    is a bit unreliable still)
  * status: Add -r to show results of a build
  * Remove DURATION_FORMAT and always show HH:MM:SS to avoid wrapping at
    24 hours back to 00.
  * Improvements to internal timestamp utility
  * Fixes for update_stats lock crashes
  * Fixes for 'make clean' crashes which typically crashes a builder
  * Avoid restarting jail on build start to help with lock contention
2014-06-19 15:04:31 +00:00
Vsevolod Stakhov
9b7cae180b Update to 1.3.0 beta5
Changes:
- repositories system has been reworked to support opaque repository operations
- progress bar has been reworked and simplified
- pkg backups generated by the distributed script are now plain sql files
- fixed some visual issues while installing packages

With hat:	pkg@
2014-06-19 13:18:42 +00:00
Bryan Drewery
7b879fa85a - Update to 3.17.6
Changes:
  * Speedup --list-origins with pkg
  * Use proper /usr/local/etc/portmaster.rc path in portmaster.8
  * Fix running from deleted dirs.
  * Fix losing control of building run-depends of staged ports
    (thus breaking -g and counts). [1]

PR:		189398 [1]
2014-06-19 00:36:18 +00:00
Stephen Hurd
4e5b54a3ec Update my ports to use my shurd@FreeBSD.org account
Approved by:    db, skreuzer (mentors)
2014-06-18 20:18:11 +00:00
Vsevolod Stakhov
cf38f40174 Update to 1.3.0.b4.
With hat:	pkg@
2014-06-15 15:10:11 +00:00