notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
Ukraine
non port: Mk/Uses/shebangfix.mk
SVNWeb

Number of commits found: 25

Sun, 24 Apr 2022
[ 10:00 Tobias C. Berner (tcberner) search for other commits by this committer ]    commit hash:aa2539679084872cd84112e9df6bfee571570623  commit hash:aa2539679084872cd84112e9df6bfee571570623  commit hash:aa2539679084872cd84112e9df6bfee571570623  aa25396  (Only the first 10 of 118 ports in this commit are shown above. View all ports for this commit)
framework: cleanup conditional-indentations in Mk/

Run Tools/scripts/indent_make_if.pl on all of Mk.

These white space changes contribute greatly to the readability of those files.
As we have a version control system, finding out the reasons for the changes
prior to these white space changes is still easily possible

Differential Revision:	https://reviews.freebsd.org/D35024
Reviewed by:		portmgr (rene, bapt)
[ 09:29 Rene Ladan (rene) search for other commits by this committer ]    commit hash:767d81e1296a49573aaa24dfc9677f801fddc6d4  commit hash:767d81e1296a49573aaa24dfc9677f801fddc6d4  commit hash:767d81e1296a49573aaa24dfc9677f801fddc6d4  767d81e  (Only the first 10 of 34 ports in this commit are shown above. View all ports for this commit)
Mk: release portmgr maintainership of most USES files

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

Reviewed by:	desktop (tcberner), portmgr (tcberner), ruby (yasu), tijl
Tue, 6 Apr 2021
[ 14:27 Mathieu Arnold (mat) search for other commits by this committer ]    commit hash:5d33e045968104ac678d8b4b4ec1e8956bbf68e0  commit hash:5d33e045968104ac678d8b4b4ec1e8956bbf68e0  commit hash:5d33e045968104ac678d8b4b4ec1e8956bbf68e0  5d33e04  (Only the first 10 of 224 ports in this commit are shown above. View all ports for this commit)
framework: Remove $FreeBSD$

Where appropriate fiddle with a few other things.
Thu, 21 Dec 2017
[ 13:27 amdmi3 search for other commits by this committer ] Original commit   Revision:456908
Report (in q/a) and fix (in shebangfix) python[23] shebangs

Currently, only python shebangs (e.g. /bin/python, /usr/local/bin/python,
/usr/bin/env python etc.) are reported by stage Q/A and fixed by
USES=shebangfix. We need to do the same for python[23] as well.

Before the problem was not noticeable since many ports had e.g.
USES=python:2, which added a dependency on python2 metaport, however
that's going to switch to USES=python:2.7, and neither it, nor more
widely used USES=python adds a dependency on metaports, so there's
very high probability that python[23] links are not available.

Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D13571
Tue, 8 Aug 2017
[ 01:10 feld search for other commits by this committer ] Original commit   Revision:447527
Mk/Uses/shebangfix.mk: Fix SHEBANG_FILES to use find(1)

Ports like net/vmware-vsphere-cli use SHEBANG_FILES with globs like so:

SHEBANG_FILES= bin/* ...

As of FreeBSD 11.1-RELEASE sed has changed and errors if attempted on non-file
objects. In the case of the cited port there are many other files in the
bin/ directory which are symlinks for compatibility with old scripts.
This causes the port patching to fail.

PR:		221229
Differential Revision:	https://reviews.freebsd.org/D11853
Fri, 14 Jul 2017
[ 12:47 amdmi3 search for other commits by this committer ] Original commit   Revision:445751
- shebangfix: allow to use SHEBANG_REGEX, SHEBANG_GLOB, and SHEBANG_FILES
simultaneously

Reported by:	lev
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D11572
Thu, 20 Apr 2017
[ 11:45 amdmi3 search for other commits by this committer ] Original commit   Revision:438940
- Add /usr/local/bin/* old cmd patterns to shebangfix

Approved by:	portmgr (mat, rene)
Differential Revision:	https://reviews.freebsd.org/D10412
Mon, 24 Oct 2016
[ 14:16 mat search for other commits by this committer ] Original commit   Revision:424566
Add SHEBANG_REGEX and SHEBANG_GLOB, similar as the DOS2UNIX ones.

Sponsored by:	Absolight
Thu, 22 Oct 2015
[ 13:36 amdmi3 search for other commits by this committer ] Original commit   Revision:399976
- Add shebangfix documentation bits
- Fix tcl_OLD_CMD tk_OLD_CMD

Approved by:	portmgr (bapt)
Differential Revision:	D3939
Tue, 20 Oct 2015
[ 15:36 bdrewery search for other commits by this committer ] Original commit   Revision:399863
Roll all of the commands into a loop and use the same patterns for every lang.
 - /usr/bin/CMD
 - /bin/CMD
 - /usr/bin/env CMD

With hat:	portmgr
Reviewed by:	bapt, amdmi3
Differential Revision:	https://reviews.freebsd.org/D3942
Mon, 19 Oct 2015
[ 14:50 amdmi3 search for other commits by this committer ] Original commit   Revision:399684 (Only the first 10 of 93 ports in this commit are shown above. View all ports for this commit)
Improve shebangfix framework

- Support multiple values in *_OLD_CMD, i.e. we can now fix both
"/usr/bin/python" and "/usr/bin/env python" at the same time
- Default *_OLD_CMD values are now always appended, so you don't need to specify
them in individual ports
- Add lua support (depends on USES=lua)
- Add more default values, such as "/usr/bin/env foo" for python, perl, bash,
ruby and lua
- Shebangfix now matches whole words, e.g. we will no longer (erroneously)
replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is
still (correctly) replaced with "${perl_CMD} -tt")

Note that *_OLD_CMD items containing spaces must now be quoted (e.g.
perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl")

Update shebangfix usage according to new rules in many ports:

- Remove *_OLD_CMD for patterns now replaced by default
- Quote custom *_OLD_CMD which contain spaces

Fix shebangfix usage in many ports (irrelevant to infrastructure change):

- Remove redundant SHEBANG_LANG (no need to duplicate default langs)
- Remove redundant *_CMD (such as
python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present)
- Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for
exact string

Approved by:	portmgr (bapt)
Differential Revision:	D3756
Mon, 17 Aug 2015
[ 13:31 mat search for other commits by this committer ] Original commit   Revision:394503 (Only the first 10 of 17 ports in this commit are shown above. View all ports for this commit)
Rewrite the target ordering code.

The targets now have priority assigned to them, and, when the dependency
ordering magic is done at the end of bsd.port.mk, they are sorted
according to their priority.

This allows USES to add targets easily and have them run whenever they
want without touching bsd.port.mk.

To add a target that runs just before post-configure run, do:

_USES_configure+=  695:my-post-configure
my-post-configure:
	do something
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Wed, 29 Jul 2015
[ 22:09 antoine search for other commits by this committer ] Original commit   Revision:393196 (Only the first 10 of 62 ports in this commit are shown above. View all ports for this commit)
Switch default python_CMD used by shebangfix to ${PYTHON_CMD} for ports
using python

PR:		201077
Reviewed by:	mat
With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D2955
Fri, 12 Jun 2015
[ 19:51 antoine search for other commits by this committer ] Original commit   Revision:389294
Fix a typo
Mon, 18 Aug 2014
[ 19:34 antoine search for other commits by this committer ] Original commit   Revision:365345
Add ksh support to USES=shebangfix

PR:		ports/192781
Submitted by:	timp87
With hat:	portmgr
Sat, 15 Mar 2014
[ 10:31 gerald search for other commits by this committer ] Original commit   Revision:348308 (Only the first 10 of 47 ports in this commit are shown above. View all ports for this commit)
Move MAINTAINER lines to the end of the initial comment block and
make things a bit more consistent.

Approved by:	portmgr (bapt)
Mon, 17 Feb 2014
[ 16:38 gahr search for other commits by this committer ] Original commit   Revision:344793
- Add 'tcl' and 'tk' support in SHEBANG_LANG

By default, /usr/bin/tclsh and /usr/bin/wish will be substituted with ${TCLSH}
and ${WISH}, respectively. This only works when USES contains 'tcl' or 'tk'.

Approved by:	portmgr (bapt)
Sat, 15 Feb 2014
[ 09:20 des search for other commits by this committer ] Original commit   Revision:344338
Add java_CMD.  Although Java programs don't use shebangs, it is sometimes
useful to have a centrally located list of interpreters for other purposes.

Approved by:	portmgr (mat)
Sat, 4 Jan 2014
[ 00:26 bapt search for other commits by this committer ] Original commit   Revision:338605
Properly add targets to the sequence they belong to, that now makes them
predictable
Thu, 28 Nov 2013
[ 23:57 gerald search for other commits by this committer ] Original commit   Revision:335130
Extend description of USE=shebangfix.  Improve grammar and formatting.

Approved by:	portmgr (bapt)
Wed, 20 Nov 2013
[ 07:29 bapt search for other commits by this committer ] Original commit   Revision:334392
Mark some targets .PHONY
Sun, 25 Aug 2013
[ 16:14 mva search for other commits by this committer ] Original commit   Revision:325357
- Fix a documentation typo
Mon, 10 Jun 2013
[ 10:19 bapt search for other commits by this committer ] Original commit   Revision:320453
Add some more comment to explain how SHEBANG_FILES works

Requested by:	kwm (gnome)
Wed, 29 May 2013
[ 10:34 bapt search for other commits by this committer ] Original commit   Revision:319366
Do not leave .bak files after converting shebangs
Mon, 6 May 2013
[ 22:23 bapt search for other commits by this committer ] Original commit   Revision:317555
Add new USES: shebangfix

use it to fix shebang on files specified by SHEBANG_FILES macro, by default it
proposes default values for bash, perl, php, python, ruby, it can be customized
and extended

Number of commits found: 25