1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
Commit Graph

4140 Commits

Author SHA1 Message Date
Baptiste Daroussin
5094187e53 ports-mgmt/pkg: update to 1.17.2
- make audit.h c++ friendly
- fix build with libressl
- autoremove now respects -q
- version: reports error if INDEX file does not exists but is expected
- periodic audit:
  * Allow user to specify which jail not to audit
  * New option to ignore deprecation and expiration warnings
  * Reduce verbosity of the report
  * Add a script to audit base
- register: implement -N to actually not register in the database
- fetch: do not count cached package in the list to be fetched
- query: -e is not supported as additional condition
- fix pkg not finding its db when run from a directory which does not exists
  anymore
- De-prioritize upgrade-removals in the solver
- triggers:
  * run them for pkg register and pkg add
  * Add pkg.readdir lua function
  * Add documentation for the triggers
2021-09-21 10:23:31 +02:00
Baptiste Daroussin
176f4afb4c ports-mgmt/pkg-devel: update to 1.17.99.5
- document triggers
- add pkg.readdir to lua scripts
- reduce memory usage for hashes
- fix memory corruption which can happen in some corner cases
- run triggers for pkg add and pkg register
2021-09-21 10:17:39 +02:00
Joe Marcus Clarke
772ba6c8db ports-mgmt/portlint: Update to 2.19.8
* Warn about deprecated USE_AUTOTOOLS [1]
* Add support for BROKEN_*

PR:		248487 [1]
		257951 [2]
2021-09-19 13:12:39 -04:00
Sergey A. Osokin
06a8050112 devel/mercurial: update to 5.9.1.
Bump PORTREVISIONs for dependant ports.
While I'm here update devel/tortoisehg to 5.9.1. (*)

Approved by:	arrowd (*)
PR:		ports/258352
2021-09-15 22:16:07 -04:00
Baptiste Daroussin
d7dd5ef767 ports-mgmt/pkg-devel: update to 1.17.99.4
Changes from 1.17.99.3 to 1.17.99.4
- pkg version: fix regression from conversion to pkghash
- allow filtering files at install time
- add periodic script to check vulnerabilities in base
- fix pkg failing to find its db if run from a directory which does not
  exists anymore
- fix ubsan reported issues
- fix priorization upgrade-removal along with other deletion
- fix plenty of memory leaks
2021-09-14 15:21:08 +02:00
Emmanuel Vadot
72629b6891 ports-mgmt/pkg-devel: Fix packaging from poudriere
If there is no pkg(8) installed in the jail/host pkg-static will be used
but we don't have pkg-static with SAN so add a link in the WRKSRC.
Also poudriere just extract pkg-static from the pkg archive so cp
instead of symlink
2021-09-14 13:51:58 +02:00
Emmanuel Vadot
6198006bca ports-mgmt/pkg-devel: Fix package when SAN is on
There is no pkg-static when SAN is on but the framework needs it.
So just ln pkg-static to pkg.
2021-09-14 12:53:18 +02:00
Emmanuel Vadot
4f3befc2a3 ports-mgmt/pkg-devel: Add an option for building with sanitizer
Sanitizers helps finding problems, add an option to pkg-devel to be
able to compile with them.
2021-09-14 12:08:58 +02:00
Emanuel Haupt
efc2290ca0 ports-mgmt/distilator: Update to 1.4
This version has improved url validation.

PR:		258389 (based on)
Reported by:	yuri
2021-09-10 18:08:49 +02:00
Dmitry Marakasov
9e7bd94765 ports-mgmt/dialog4ports: fix segfault
Fix segfault when moving selection in some dialog configurations

Reported by:	gad, kumba@gentoo.org
Submitted by:	rum1cro@yandex.ru (maintainer)
PR:		244204
2021-09-09 23:02:40 +03:00
Bryan Drewery
ea4bd5e088 ports-mgmt/poudriere-devel: Update to 3.3.0-967-g764941e90
Changes:
- bulk: Don't delete unqueueud packages unless -a or -f is given
- options: Support multiple -f
2021-09-07 13:53:16 -07:00
Bryan Drewery
3dd6478b92 ports-mgmt/poudriere-devel: Update to 3.3.0-961-g039b378dc
Changes:
- Fix random bulk crashes due to sh read bug [1]
- bulk: Don't mention stale txz symlinks for -C-deleted packages

PR:	258347 [1]
2021-09-07 12:10:59 -07:00
Bryan Drewery
0d887476a4 ports-mgmt/poudriere-devel: Mark BROKEN
The last update is producing random crashes during bulk.
See https://github.com/freebsd/poudriere/issues/917 for
details.
2021-09-07 10:16:53 -07:00
Rene Ladan
3f85df4925 *: Return culot@'s ports to the pool (and perl@) after safekeeping his bit. 2021-09-06 23:13:27 +02:00
Bryan Drewery
1357179a0c ports-mgmt/poudriere-devel: Update to 3.3.0-958-g3d248385b
Changes:
 - logclean: Don't show dry-run messages when not in dry mode.
 - bulk [-a] -f: Delete packages unknown/unqueued like pkgclean would.
 - bulk: Link to the build logs at PACKAGES/logs
 - bulk missing pkg: Delete packages before fetching from remote
 - enter_interactive: Allow non-root to write to /wrkdirs
 - Various locking changes
 - Package Fetch: Clarify cached packages may be used.
 - Fix race with distfile fetch saving
 - Show loginfo on error
2021-09-04 12:41:20 -07:00
Tobias Kortkamp
4a99c65e9c
ports-mgmt/portfmt: Update to 1.0.0
Changes:	https://github.com/t6/portfmt/releases/tag/v1.0.0
2021-09-01 19:01:38 +00:00
Bryan Drewery
c555f0f92a ports-mgmt/poudriere: Bring in fix for distclean make.conf error
Fixes https://github.com/freebsd/poudriere/issues/910
2021-08-30 10:21:44 -07:00
Bryan Drewery
c47ee773c4 ports-mgmt/poudriere-devel: Update to 3.3.0-927-gb63d7c829
Changes:
- distclean: Fix reading make.conf
- pkgclean: Fix POUDRIERE_BUILD_TYPE error
2021-08-28 12:09:56 -07:00
Bryan Drewery
84a57f6bb7 ports-mgmt/poudriere-devel: Update to 3.3.0-924-g8de014b5e
Changes:
  - git dirty check: Check for untracked Makefile.local and patch files
  - bulk/testport: Detect *new but disabled* OPTIONS
  - buildlog_start: Revert display back to readable local TZ.
  - testport -c: Fix to use the right port directory
  - Package fetch: Generate logfiles, stats, and show in web
  - PACKAGE_FETCH_WHITELIST: Fix only reading the first pkgname.
  - PACKAGE_FETCH_WHITELIST: Fix so globs in the list work too.
  - Package fetch: Check OSVERSION / ABI
  - Package fetch: Save fetch list and url into logdir.
  - Package fetch: Don't double count ports-mgmt/pkg
2021-08-27 13:48:05 -07:00
Baptiste Daroussin
35c7ef4d57 ports-mgmt/pkg-devel: update to 1.17.99.3
- make pkg/audit.h C++ friendly
- fix build with libressl
- Enable aarch64 support for linux
- plenty of portability fixes for linux with musl libc
- autoremove: respect -q
- version: report an error if the provided INDEX file does not exist
- periodic: allow users so provide an ignore list of jails
- periodic: reduce audit script verbosity
- arch: to not consider .h as potentially arch specific
- query: allow -e to be used with other filter options
- register: implement a -N to disable registration in the database
- rework internal hash tables
- plenty of memory leak fixed
- fetch; do not count cached files as files to be fetched
2021-08-23 16:42:45 +02:00
Bryan Drewery
70421b2fb1 ports-mgmt/poudriere: Update to 3.3.7
Changes:        https://github.com/freebsd/poudriere/wiki/release_notes_337
2021-08-18 11:14:12 -07:00
Bryan Drewery
0081aa8f7f ports-mgmt/poudriere-devel: Update to 3.3.0-869-g7a9e09c8f
Changes:
  * misc fixes for pkg-1.17's new PKG_SUFX of .pkg
  * Some PORTBUILD_UID/GID fixes and display changes
  * ports -c: Disallow using - in new trees as it causes parsing issues
  * ALLOW_MAKE_JOBS: Explicitly compare to 'yes'
  * bulk -b: prefetch package fixes
  * bulk -b: prefetch packages are now cached (linked and deleted under normal pkgclean/bulk delete behavior)
  * Add in more notes for built packages.
  * Don't store timestamp+poudriere version git notes if PKG_REPRODUCIBLE is set
  * Change pkg notes naming style From_This to_this
  * Allow zstd in WRKDIR_ARCHIVE_FORMAT
  * misc manpage improvements
  * jail: Automatically set XDEV as needed
  * Rename MUTABLE_BASE to clearer IMMUTABLE_BASE
  * bulk/testport -i: Many improvements and /etc/motd populated with env hints
  * jail -m src: Fix src.conf not being used during install
  * Add PACKAGE_FETCH_BLACKLIST
  * bulk: Rebuild all packages if the pkg bootstrap is missing
  * Disallow /dev/bpf in the jails
  * CCACHE_DIR_NON_ROOT_SAFE: Chmod /root to 755 to allow non-root to access
  * CCACHE + BUILD_AS_NON_ROOT: Give detailed information on proper setup for this.
    See https://github.com/freebsd/poudriere/commit/8c36dfe5cca92
  * bulk: Do not process dependencies of IGNORED ports.
  * misc error handling fixes
  * bulk: Rebuild packages with changed ABI
2021-08-18 11:14:11 -07:00
Dirk Meyer
229bbfb6dc ports-mgmt/pkg_jail: Update to 2.11 2021-07-29 20:38:32 +02:00
Baptiste Daroussin
acd0a3266d ports-mgmt/pkg: retag the release
The tag was put on the wrong version of the release, (missing the NEWS
update and the internal version update)

retag it
2021-07-27 18:08:15 +02:00
Baptiste Daroussin
bfb91594d9 ports-mgmt/pkg: release 1.17.1
Changes from 1.17.0 to 1.17.1
- by default only create .txz symlinks for metadata
- only consider the .pkg when creating a repository
  add an option REPO_ACCEPT_LEGACY_PKG to keep index old pkg
- Reduce usage of memory stack
2021-07-27 17:52:53 +02:00
Baptiste Daroussin
6b00d26163 ports-mgmt/pkg-devel: update to 1.17.99.2
Changes from 1.17.99.1 to 1.17.99.2
- by default only create .txz symlinks for metadata
- only consider the .pkg when creating a repository
  add an option REPO_ACCEPT_LEGACY_PKG to keep index old pkg
  - Reduce usage of memory stack
2021-07-27 10:38:35 +02:00
Ken DEGUCHI
9cc7149a9a ports-mgmt/pkg_replace: update to 20210726
Support new '.pkg' package suffix

PR:		257424
2021-07-26 18:44:01 -07:00
Dima Panov
c7bca5d559 ports-mgmt/synth: update to 2.12 release
* Support pkg 1.17.0 new extension and compression
2021-07-25 09:41:10 +10:00
Stefan Eßer
4812894fc1 ports-mgmt/portmaster: Make compatible with pkg-1.17.0
The new pkg command uses the ".pkg" extension for all files,
independently of the archive format chosen.

This update adapts portmaster to that convention and removes all
support for other extensions. (This might be considered premature,
but supporting multiple extensions would require logic changes and
I expect all users to quickly convert their local repositories to
comply with the new naming.)

The package format can still be selected as before.

If you have package files in /usr/packages/* that you want to be
visible to portmaster, then rename them, e.g. from "*.txz" to "*.pkg".
(The "mmv" command (misc/mmv port) performs this renaming with the
following command in /usr/packages/All:

	  mmv "*.txz" =1.pkg
2021-07-22 16:14:54 +02:00
Baptiste Daroussin
e497a16a28 ports-mgmt/pkg*: Release 1.17.0
TL;DR: new uniq package file extension: '.pkg'

Full changelog for pkg:
- add a new "snap" prefix, to deal with pkg base snapshots
- pkg repo now accepts packages with different compression formats
- pkg now have a single extension: ".pkg" and a backward compatible
  symlink is created when the package is created to help transitioning
- Default compression level for zstd is now set to 19
- the default compression level is now a configuration option
- plenty of portability fixes
- fix plenty of typos
- expose the name of the package to lua and shell scripts
- plist:
  remove internal support for @*exec (this is now in the ports tree)
  remove support for @ignore
  remove support for @dirrm/@dirrmtry
  remove support for @pkgdep
  remove stub support for @stopdaemon
  remove stub support for @display
  remove stub support for @mtree
  remove stub support for @conflict
- VUXML: fetch .xz compressed version of the file by default
- triggers are deferred to later command (firstboot is planned) if run
  with pkg -r
- pkg triggers commands has been added and can execute the deferred
  triggers for example at firstboot

Changes in the framework:
- Add a backward compatibility layer, so people are not forced to move
  to pkg 1.17 yet (new quarter we will enforce the switch for triggers
  anyway, but it gives time to people to switch)
- Introduce a new PKG_COMPRESSION_FORMAT for users to specify the
  compression format they are willing to use when creating packages:
  txz, tar, tgz, tbz, tzst are the valid ones (note that tzst is only
  usable on FreeBSD 13 and 14)
- Add a backward compatibility for people who specified the compression
  format already via PKG_SUFX and issue a warning to tell them about the
  deprecation of PKG_SUFX
2021-07-22 10:05:59 +02:00
Po-Chuan Hsieh
bdc6310618
ports-mgmt/portscout: Update WWW
Approved by:	portmgr (blanket)
2021-07-22 05:14:11 +08:00
Bryan Drewery
8bccb92f04 ports-mgmt/poudriere-devel: Update to 3.3.0-748-g71646de83
Changes:
 - bulk: Fix unqueuing needed deps. (regression from
   3.3.0-744-g0bf7bd31e / 3.3.99.20210714)
 - bulk -vv: Show unqueue operations
 - bulk/testport: Show environment per phase in build log
2021-07-20 16:39:34 -07:00
Bryan Drewery
d75b45371e ports-mgmt/poudriere-devel: Update to 3.3.0-744-g0bf7bd31e
Changes:
 - PACKAGE_FETCH: Don't fetch packages that are not queued.
 - bulk: Store (pkg note) and show top level ports git info as well
 - image: various fixes
2021-07-14 13:10:03 -07:00
Stefan Eßer
22b261986a ports-mgmt/portmaster: Fix syntax error introduced in last commit
A last minute change from "case" to "if" caused a syntax error since
I had forgotten to remove a now stray ";;" ...

Reported by:	bsd@dino.sk
2021-07-09 23:16:08 +02:00
Stefan Eßer
94eb8d09b1 ports-mgmt/portmaster: make --no-confirm omit the PAGER
As requested in Github issue #64 the pager should not be used if
portmaster is executed within a script. In order to not introduce
a new option, --no-conform will now imply that output will not be
halted waiting for user input to proceed when displaying the package
messages.

Reported by:	Michael Osipov (michael-o on Github)
2021-07-09 20:59:53 +02:00
Fukang Chen
f76aa00290 Mk/bsd.options.desc.mk: Add shared version control OPTIONS & descriptions
- Add CVS description
- Add DARCS description
- Add GIT description
- Add MERCURIAL description
- Add PERFORCE description
- Rename SVN to SUBVERSION

devel/anjuta:
    - Rename OPTION SVN to SUBVERSION
    - Sort OPTIONS_DEFINE and OPTIONS_DEFAULT
    - Change SUBVERSION_DESC to use the default description

devel/git:
    - Rename OPTION P4 to PERFORCE
    - Rename OPTION SVN to SUBVERSION
    - Change PERFORCE_DESC to use the default description

devel/ocaml-opam:
    - Rename OPTION HG to MERCURIAL
    - Sort OPTIONS_DEFINE and OPTIONS_DEFAULT
    - Change {DARCS,GIT,MERCURIAL}_DESC to use the default description

devel/thunar-vcs-plugin:
    - Rename OPTION SVN to SUBVERSION
    - Sort OPTIONS_DEFINE
    - Change GIT_DESC to use the default description

devel/viewvc-devel:
    - Rename OPTION SVN to SUBVERSION
    - Sort OPTIONS_DEFINE, OPTIONS_DEFAULT and OPTIONS_SINGLE

net-mgmt/observium:
    - Rename OPTION SVN to SUBVERSION

net-mgmt/rancid3:
    - Rename OPTION SVN to SUBVERSION
    - Sort OPTIONS_SINGLE_SCM
    - Change {CVS,GIT,SUBVERSION}_DESC to use the default description

ports-mgmt/portshaker:
    - Rename OPTION SVN to SUBVERSION
    - Rename HG to MERCURIAL
    - Sort OPTIONS_DEFINE
    - Change {GIT,MERCURIAL}_DESC to use the default description

security/hydra:
    - Rename OPTION SVN to SUBVERSION

security/medusa:
    - Rename OPTION SVN to SUBVERSION
    - Sort OPTIONS_DEFINE

shells/scponly:
    - Rename OPTION SVN to SUBVERSION
    - Sort OPTIONS_DEFINE
    - Typo fix in SVNSERVE_DESC

www/trac-devel:
    - Rename OPTION SVN to SUBVERSION
    - Sort OPTIONS_DEFINE, OPTIONS_DEFAULT and OPTIONS_MULTI_DATABASE
    - Change {GIT,SUBVERSION}_DESC to use the default description

Reviewed by:	koobs, adamw, dvl, garga, hannes_mehnert.org, rm, dbaio, romain
Approved by:	koobs (ports, mentor)
Differential Revision:	https://reviews.freebsd.org/D17459
MFH:		No (OPTION description updates)
2021-06-30 05:09:36 +00:00
Mateusz Piotrowski
2bea883c25 ports-mgmt/fastest_pkg: Set NO_ARCH
Approved by:	portmgr blanket
2021-06-25 18:00:24 +02:00
Bryan Drewery
25060b9198 ports-mgmt/poudriere-devel: Update to 3.3.0-738-g9839954fb
Changes
      - testport: Show logs info on depend build failures
      - MUTABLE_BASE=schg: Support writing to /boot/firmware for cpu microcode
      - jail -x: This is not limited to src builds
      - bulk: Don't run 'bulk crashed' hook on -f failures
      - Add git hash annotation into built packages.
      - jail -cu: Fix freebsd-update using wrong arch [1]
      - Update log parsing reasons (processonelog.sh)

PR:	256652 [1]
2021-06-17 15:01:15 -07:00
Joe Marcus Clarke
c810710455 ports-mgmt/portlint: Update to 2.19.7
* Account for LEGAL_TEXT and per-ARCH DISTFILES in the Makefile sections
  [1]
* Relax USE_LDCONFIG checks now that we don't need a specific lib
  pattern [2]

PR:		255764 [1]
		255651 [2]
2021-06-14 13:56:52 -04:00
Rene Ladan
0b673d6c5b cleanup: remove LEGAL and (support in) related tools.
LEGAL is badly maintained, LEGALlint notices quite a number of ports
which mismatch their line in LEGAL. The port itself is always leading.

* math/giacxcas: restrict RESTRICTED_FILES to giac_* only

Differential Revision: https://reviews.freebsd.org/D30061

Reviewed by:	portmgr (mat), dch, eadler, marcus
2021-06-11 15:45:10 +02:00
Rene Ladan
3f55f50337 */*: return shurd's ports to the pool ...
... after safekeeping his commit bit.

With hat:	portmgr-secretary
2021-06-07 19:36:24 +02:00
Li-Wen Hsu
bbc328d0d7
ports-mgmt/pkg_tree: Bump PORTREVISION for 4c6e492cd3
PR:		256214
2021-06-01 15:24:37 +08:00
Tatsuki Makino
4c6e492cd3
ports-mgmt/pkg_tree: Retrieve data from pkg info at one time
The way it works is that it calls pkg info 3 times, so there is a
possibility of losing consistency.

The -r option added for displaying the "Required by" graph instead of
the "Depends on" graph.

Pass maintainership to submitter

PR:		256214
2021-06-01 15:19:46 +08:00
Bryan Drewery
4f7a0060c2 ports-mgmt/poudriere-devel: - Update to 3.3.0-704-g8c78cfb24
Changes:
* testport|bulk -b: New feature to fetch remote packages. See PACKAGE_FETCH options in poudriere.conf.sample.
  This feature has pitfalls like downloading and deleting packages. That may be improved with
  upcoming improved incremental build supoport.
* ports now defaults to using FreeBSD's git repository for checkout when no method is specified.
* jail: Add support for fetching from artifact.ci.freebsd.org
* ports -m git: Remove default --single-branch.
* ports: Support -D to not shallow clone with git
* ports: Properly detect vcs checkout errors
* ports/jail -m git: Properly check for git being installed
* logclean -N <n>: Fix to keep latest <n>.
* bulk -n: Don't remove .building dir unless this ran made it
* bulk -f: Ignore anything after first column.
* Update cpdup to v1.22 68cb3cb4e14d9c
* ports/jail -m git: Support -U /local/path.
* jail: Allow poudriere -v to override -q for git/svn
* jail -cm git: Allow -v to be excluded to default to remote branch
* ports: Fix -B being rejected with git.
* jail -r: Fix this to work again

** Some git handling and the PACKAGE_FETCH support is not yet stable and may change in the future.
2021-05-21 11:39:35 -07:00
Joe Marcus Clarke
122c3ecb51 ports-mgmt/portlint: Update to 2.19.6
* Allow ports without any leading comment section [1]
  loader@ submitted a patch on which this was based
* Add a check to make sure the license is actually valid
PR:		255520 [1]
2021-05-14 13:15:44 -04:00
Steven Kreuzer
b8e3cc36b6
ports-mgmt/porttools: Update to version 1.10
Update port to version 1.10, which adds support for working with git repos

PR:		255713
Reported by:	John Hein <jcfyecrayz@liamekaens.com>
2021-05-14 15:44:11 +00:00
Romain Tartière
ce16181df8 ports-mgmt/portshaker: Update to 1.0.19
This release fix the warnings that spawned after the transition to git.
2021-05-13 12:13:42 -10:00
Dima Panov
a53b9c858e ports-mgmt/synth: Update to 2.11 release
This fixes https://github.com/jrmarino/synth/issues/193
(sys/sys/param.h in freebsd/main loses comment after __FreeBSD_version)

MFH:	2021Q2
2021-05-10 01:26:28 +10:00
Emanuel Haupt
3a978f1c8a ports-mgmt/distilator: Fix warnings emitted by python 3.8
PR:		255672
Reported by:	yuri
2021-05-07 08:29:51 +02:00
Rene Ladan
1d9f3bb0a7 *: reset kmoore's ports after safekeeping his ports bit.
Hat:	portmgr-secretary
2021-05-04 18:57:55 +02:00