Commit graph

3938 commits

Author SHA1 Message Date
Rodrigo Osorio
fb7608dce5 ports-mgmt/pkg-provides: Update to 0.7.0
Changelog:
 * Add option to restrict results to specific repository
 * Lint manual page, and fix warnings
2020-02-16 20:47:30 +00:00
Baptiste Daroussin
8349ac105e Update to 1.13.99.1
Changes from 1.13.99.0 to 1.13.99.1
- Do not create a .pkgnew file in case installing a configure file over
  a non existing file
- Update linenoise to latest version
- Update picosat to latest version
- Implement HTTP keep-alive (imported from xbps)
- fix a regression concerning valid url: ssh://user@host:/ was not valid
  anymore
2020-02-14 16:32:58 +00:00
Stefan Eßer
e1260a7ab8 Fix regression that has been introduced in r524227
Revert part of the patch that introduced the --try-broken option, it
caused problems in combination with -m.

Submitted by:	Rudolf Cejka (cejkar at fit.vutbr.cz)
Approved by:	antoine (implicit)
2020-02-13 08:34:02 +00:00
Baptiste Daroussin
33acfa449c Update to 1.13.99.0
- Fix inverted logic about rcscripts
- Improve the build handling of dependency
2020-02-12 14:53:32 +00:00
Baptiste Daroussin
252d58ddcd Update to 1.3.1
- Fix inverted logic that lead to pkg always restarting rc scripts

Reported by:	flo
2020-02-12 14:01:53 +00:00
Baptiste Daroussin
dfcf194888 Release pkg 1.13
- when installing over a non tracked file (not owned by any package)
   pkg now saves a copy of that file as .pkgsave
 - Fix a chicken/egg problem with the meta being compressed and defining
   the compression format. Now pkg repo will create a meta.conf file
   uncompressed (it is small enough) and fallback on the old meta.txz.
   Note that meta.txz is still created for backward compatibility.
 - pkg repo now creates meta files in version 2 by default meaning the
   digests.txz (this was only used with pkg up to 1.2).
   Anyone using that version and willing to upgrade can do it via:
   pkg bootstrap -f
 - suppress version checking when -j is specified
 - Alphabetically sort packages printed in the output of pkg commands to
   ease readability
 - pkg lock/unlock now allows multiple packages in arguments
 - shell script can now print messages along with pkg-messages by writing
   to ${PKG_MSGFD} file descriptor
 - improve error reporting when parsing vuxml files
 - lua script are now ready for prime time:
   - sanboxed with capsicum on plateforms that support it
   - rootdir native
   - documented
 - Fix pkg backup
 - pkg now gives a hint about running pkg update -f in case of "size mismatch"
 - scripts (lua and shell) can now determine if they are in the process of an
   upgrade or an installation via a variable
 - shell scripts are now fully documented
 - keyword files are now documented

PR:		243564
exp-run by:	antoine
2020-02-11 08:36:22 +00:00
Tobias Kortkamp
21280a4cf2 ports-mgmt/portfmt: Update to latest commit
Changes:	e3d34e1150
2020-02-06 09:47:50 +00:00
Mateusz Piotrowski
4bae1c78a6 Fix variable substitution in pkg-message
Also, while here:
- Update licenses.
- Lint with portfmt and portclippy.
- Fix typos in pkg-message.

Approved by:	portmgr (blanket approval)
2020-02-04 14:16:32 +00:00
Dmitri Goutnik
06a986d67c ports-mgmt/modules2tuple: Update to 1.15.0
Changes:	https://github.com/dmgk/modules2tuple/releases/tag/v1.15.0
2020-02-02 14:21:35 +00:00
Baptiste Daroussin
52a9e7116c Import the libfetch patch to the bundled libfetch 2020-01-29 13:11:09 +00:00
Baptiste Daroussin
d6f58b5351 Import the libfetch patch to the bundled libfetch 2020-01-29 13:09:01 +00:00
Baptiste Daroussin
d685189a88 Update to 1.22.99.4
- Document lua scripts
- Document shell scripts
- Document keywords ucl files
- Add a variable to both lua scripts and shell script to allow
  the scripts to know they are actually being upgrading things
2020-01-29 11:46:54 +00:00
Stefan Eßer
a141fedd06 Save the file with instructions how to restart portmaster after a failure
to non-world-writable directory.

Save this file in the user's home directory instead of in /tmp to prevent
a possible sym-link attack against the user.

PR:		233378
Submitted by:	Robert Schulze
Approved by:	antoine (implicit)
2020-01-26 20:22:32 +00:00
Stefan Eßer
aed8c82ed5 Make the pre-build "make clean" use SU_CMD if appropriate.
Additionally document that PORTSDIR can be passed in the environment.

PR:		228439
Approved by:	antoine (implicit)
2020-01-26 20:12:08 +00:00
Stefan Eßer
09a6aa76b7 Make portmaster fall back to other locations if invoked in, e.g., /sys/conf.
PR:		237061
Approved by:	antoine (implicit)
2020-01-26 19:00:18 +00:00
Stefan Eßer
fdbfc11b4d Add option --try-broken
This option makes portmaster try to build ports that are marked as
BROKEN or IGNORE.

Passing this option implies the "-m -DTRYBROKEN" option.

The change is inspired by (but not based on) the patch suggested by
Walter Schwarzenfeld.

PR:		235793
Reported by:	Yasuhiro KIMURA
Approved by:	antoine (implicit)
2020-01-26 18:19:00 +00:00
Baptiste Daroussin
d3d5b4fd47 Update to 1.12.99.3
- Add more regression test
- Improve consistency of the default ouput
- Give a hint about running pkg update -f in case of "size mismatch"
- Fix pkg backup since the sqlite syscall are overridden
2020-01-24 17:11:00 +00:00
Stefan Eßer
ab17e00297 Do not re-build ports unneccessarily
The previous patch has not completely fixed the issue, according to some
reports (it did on my system and for my set of installed ports).

This version contains a further change suggested by Walter Schwarzenfeld.

Submitted by:	Walter Schwarzenfeld
Approved by:	antoine (implicit)
2020-01-22 18:58:12 +00:00
Baptiste Daroussin
9009b06bf6 update to 1.12.99.2
- lua scripts are now running in a capsicum sandbox
- lua scripts io.open function is now always opening relative to ROOTDIR
- expat vulnxml parser has been replaced by a yxml based one
- libucl has been update to the latest git version
- error reporting has been improved when parsing vuxml file
- shell script can now push message at the pkg-message level by writing
  to the ${PKG_MSGFD} file descriptor:
   echo "message for the user" >&${PKG_MSGFD}
2020-01-22 16:50:05 +00:00
Stefan Eßer
2dcb7d8bc2 Attempt to fix a problem that leads to repeated building of some ports
There are build dependencies, that were compiled again and again even
though the latest version was already installed.

This fix is based on a patch suggested by Tatsuki Makino, with a small
change to better comply with the existing style used in this program.

An extended patch has been provided by Walter Schwarzenfeld, but in my
tests it did not make a difference. If further testing shows a need for
the additional commands suggested by Walter, I'll add them (or a variation)
in a follow-up commit.

PR:		241227, 242086, 243432
Submitted by:	Tatsuki Makino
Approved by:	antoine (implicit)
2020-01-21 21:05:19 +00:00
Loïc Bartoletti
be19bdfc55 Change my mail address to lbartoletti@FreeBSD.org
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D23169
2020-01-14 21:45:15 +00:00
Tobias Kortkamp
dd02c37293 ports-mgmt/portfmt: Update to latest commit
Changes:	d133e34395
2020-01-13 18:02:29 +00:00
Steven Kreuzer
f76041bb71 Update to version 1.09 2020-01-11 01:26:08 +00:00
Dmitri Goutnik
bd9aeebbff ports-mgmt/modules2tuple: Update to 1.14.0
Changes:	https://github.com/dmgk/modules2tuple/releases/tag/v1.14.0
2020-01-04 12:29:53 +00:00
Baptiste Daroussin
0735393d14 Fix build when libncursesw will be removed 2019-12-27 16:52:47 +00:00
Baptiste Daroussin
4bb3aa6a22 Ensure building against the proper libncurses 2019-12-27 16:44:16 +00:00
Baptiste Daroussin
b948349c9b Update to 1.12.99.1
- When installing a file over a file that is not tracked by any
  package, save the previous one as .pkgsave
- Fix a chicken/egg problem with the meta being compressed and defining
  the compression format. Now pkg repo will create a meta.conf file
  uncompressed (it is small enough) and fallback on the old meta.txz.
  Note that meta.txz is still created for backward compatibility
- pkg repo now creates meta files in version 2 by default meaning the digests.txz
  is not created anymore, it was only used up to pkg 1.2. anyone upgrading
  from pkg 1.2 should first run pkg bootstrap -f to be on a recent version.
- pkg -r now first lookup under the rootdir for its ABI_FILE.
- suppress version checking when -j is specified
- Alphabetically sort packages printed in the output of pkg commands to ease readability
- pkg lock/unlock now allows multiple packages in arguments
2019-12-24 08:45:01 +00:00
Dmitri Goutnik
75a7837e82 ports-mgmt/modules2tuple: Update to 1.13.0
Changes:	https://github.com/dmgk/modules2tuple/releases/tag/v1.13.0
2019-12-23 12:32:14 +00:00
Piotr Kubaj
a296d1e51c ports-mgmt/portal: fix build on GCC architectures
Only add -L${NCURSESLIB} when ${NCURSESLIB} isn't /usr/lib to prevent linking with base libstdc++ on GCC architectures.

PR:		240707
Approved by:	culot (maintainer)
2019-12-22 19:23:51 +00:00
Michael Gmelin
713b8bcb1a Update to 0.8.1.4
PR:		242774
Approved by:	koobs (maintainer)
2019-12-22 10:17:56 +00:00
Steve Wills
26863bb194 ports-mgmt/py-FreeBSD-ports: works OK with newer python too 2019-12-16 14:12:55 +00:00
Rodrigo Osorio
9cfd588629 ports-mgmt/pkg-provides: Upgrade to 0.6.2
Changelog:
 * Fix PCRE options, search should be caseless.
2019-12-16 10:57:53 +00:00
Tobias Kortkamp
84806e9aa6 ports-mgmt/portfmt: Update to latest commit
Changes:	dc6727041f
2019-12-15 08:29:08 +00:00
Dmitri Goutnik
412c74e72e New port: ports-mgmt/portgrep
portgrep is a fast parallel ports tree search utility, supporting both
predefined queries (by MAINTAINER, USES, etc.) and custom regex searches.

WWW: https://github.com/dmgk/portgrep
2019-12-10 23:00:10 +00:00
Bryan Drewery
c9d046a651 - Update to 3.3.3
Changes: https://github.com/freebsd/poudriere/wiki/release_notes_333

 - qemu: Add /usr/bin/wc and /usr/bin/head to HLINK_FILES.
 - Show flavor in more messages.
 - ports -l: Fix error when no ports trees exist yet.
 - distclean: Remove empty directories when done.
 - Allow overriding default nullfs paths with NULLFS_PATHS.
 - Fix WRKDIR saving with FLAVOR'd origins
 - Expand securelevel check to handle MUTABLE_BASE=schg and TMPFS_WRKDIR/TMPFS_LOCALBASE.
 - testport -c: Fix make.conf not being respected for `make config`.
 - image: warn if MFSROOT may be too large
 - jail: Pass MAKEWORLDARGS during installworld too
 - jail -c: Fix NO_LIB32 support
 - jail -d: Don't confirm if the jail doesn't exist
 - jail -i: Don't show ports tree info if not requested
2019-12-10 18:02:22 +00:00
Bryan Drewery
bfb88d1d3b - Update to 3.3.0-229-gce2011f23
* Pass MAKEWORLDARGS during installworld too
  * bulk/testport: Initial support for ports OVERLAYS
  * testport: Show log info on failure exit
  * jail -d: Don't confirm if the jail doesn't exist
  * jail -c: Fix NO_LIB32 support
  * jail -i: Don't show ports tree info if not requested
  * bulk: Compute queued stats after trimming ignored AND trimming queue.
  * Various fixes and expansion of sh mapfile support
  * Always export `LC_COLLATE=C`
2019-12-10 17:58:02 +00:00
Steve Wills
3f68ad2b8d ports-mgmt/create-rb-port: fetches again 2019-12-09 14:15:41 +00:00
Sunpoet Po-Chuan Hsieh
430d8eb0af Update to 0.3.0
Changes:	https://github.com/lonkamikaze/bsda2/releases
2019-12-08 16:52:21 +00:00
Dmitry Marakasov
b463b7c5ce - Update to 20191018
PR:		241320
Submitted by:	kdeguchi@sz.tokoha-u.ac.jp (maintainer)
2019-12-04 17:04:41 +00:00
Rodrigo Osorio
6f8b467874 Upgrade ports/pkg-provides to v0.6.1
Changelog:
 - fix minor bug who empties the database
   file at each update check.
2019-11-29 12:39:25 +00:00
Rodrigo Osorio
d908d9c0b0 Upgrade ports-mgmt/pkg-provides to v0.6.0
Changelog:
- new database format reducing the file size
2019-11-23 09:29:23 +00:00
Tobias Kortkamp
9f503a3283 ports-mgmt/portfmt: Update to latest commit (chase r517831)
Changes:	9121f61168
2019-11-17 18:20:03 +00:00
Dmitri Goutnik
033c3da3d4 ports-mgmt/modules2tuple: Update to 1.12.0
Changes:	https://github.com/dmgk/modules2tuple/releases/tag/v1.12.0

Remove custom do-test after r517831.

Approved by:	tz (mentor, implicit)
2019-11-17 16:26:12 +00:00
Tobias Kortkamp
3025ca247d ports-mgmt/portfmt: Update to latest commit
Changes:	6cd962511a
2019-11-17 15:56:03 +00:00
Kurt Jaeger
209775410d ports-mgmt/psearch: update MASTER_SITES, unbreak
- take maintainer, because status of old maintainer undefined

PR:		241899
Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
Reported by:	p5B2E9A8F@t-online.de
2019-11-17 11:51:45 +00:00
Dmitri Goutnik
d84aa50743 Bump PORTREVISION after r517743 to force relinking.
Approved by:	araujo (mentor)
Differential Revision:	https://reviews.freebsd.org/D21854
2019-11-16 12:52:39 +00:00
Dmitri Goutnik
74f031544d ports-mgmt/modules2tuple: Update to 1.11.0
Changes:	https://github.com/dmgk/modules2tuple/releases/tag/v1.11.0

Approved by:	tz (mentor, implicit)
2019-11-12 13:27:11 +00:00
Tobias Kortkamp
c4927e043c Add missing USES={gnome,php,sdl} to the rest 2019-11-08 14:47:00 +00:00
Antoine Brodin
d0f83e12f1 Mark a few ports BROKEN (unfetchable) 2019-11-06 14:00:19 +00:00
Tobias Kortkamp
d6fd3197a0 ports-mgmt/portfmt: Update to latest commit
Changes:	a0df0ca8a0
2019-11-04 16:24:21 +00:00