non port: Tools/scripts/README |
Number of commits found: 40 |
Thursday, 9 Mar 2023
|
11:18 Charlie Li (vishwin)
strip_RECORD.py: move to Mk/Scripts
Requested by: mat
67de7ad |
03:20 Charlie Li (vishwin)
Tools/scripts: add strip_RECORD.py
Strips/prints only the first column of a Python wheel's RECORD file.
To be used as part of the USE_PYTHON=autoplist process.
1e9c999 |
Wednesday, 28 Sep 2022
|
07:48 Rene Ladan (rene)
Mk: remove ancient 'make update-patches' target.
People should use 'make makepatch' instead which creates patches
with the expected filename and header.
Differential Revision: https://reviews.freebsd.org/D36767
b74ed0f |
Monday, 9 May 2022
|
19:06 Rene Ladan (rene)
Tools/scripts: remove addport
The addport script is no longer useful since git has been introduced in
April 2021, just use plain "git add" instead. Do not forget to add the
port name to the category Makefile and mention the contributor in the
contributors article in the doc repository.
Differential Revision: https://reviews.freebsd.org/D35104
bec21c9 |
Saturday, 22 Jan 2022
|
11:48 Stefan Eßer (se)
Tools/scripts: Add port_conflicts_check.lua
Add a script to check the CONFLICTS and CONFLICTS_INSTALL parameters
of ports for completeness and correctness.
This script uses the "hidden" LUA interpreter in the FreeBSD base
system and the pkg-provides extension of the pkg command to check
for conflicting files in all packages available for the architecture
and version of the base system this command is run on.
It generates output in the following format:
portedit merge -ie 'CONFLICTS_INSTALL=kicad-library-footprints-devel \
# share/kicad/template/fp-lib-table' \
/usr/ports/cad/kicad-library-footprints
(The last line is shown wrapped for the text of this commit message.)
The portedit command is provided by the port-fmt package. It takes
care of placing the CONFLICTS_ENTRY into the correct position of the
port's Makefile (and removes prior definitions).
The files listed with each result are examples of files that are in
conflict between the port and the packages in the list after ">".
The main purpose of the files list is to help distinguish between
conflicts that affect all flavors or versions of a port, or whether
the files are placed in version specific sub-directories or use other
mechanisms to allow e.g. multiple Python versions to co-exist.
(In the latter case ${PYTHON_PKGNAMEPREFIX} can be used to limit
the CONFLICTS_INSTALL entry to conflicting packages using the same
Python interpreter version, for example, else a prefix like py*- might
be required for a version independent pattern).
Users of this feature are highly advised to check each Makefile by
comparing it with pre-edit version before the changes are committed!
There are several limitations that can cause incorrect or undesirable
changes:
- The list of files installed by each port is only available for the
officially built packages (and the flavors selected from the set of
available flavors). It does not include ports that may not be
packaged or that are broken or ignored due to a dependency on a
broken port (or for other reasons). As a result, there may be
undected conflicts with ports for which no official package is
available.
- The CONFLICTS_INSTALL line is not always inserted into the correct
position in the Makefile, typically due to out-of-order entries used
by portedit to locate the desired position.
- Complex ports may have conditional CONFLICTS_INSTALL entries,
depending on port options or flavors that are in effect. It is not
possible to deal with that kind of Makefiles in an automated way.
- The union of all CONFLICTS and CONFLICTS_INSTALL entries is used as
the list of install conflicts of a port. But only CONFLICTS_INSTALL
entries are generated by this tool. Quite a lot of ports have
CONFLICTS entries where CONFLICTS_INSTALL would suffice (i.e. there
is no build conflict, actually), but there are ports that need to
keep the conflicts listed as CONFLICTS. Such issues can be found by
comparing the before and after versions of the edited Makefiles.
- Conflicting ports that have been removed from the ports system will
only be found as long as their official package files are still
available. (There is a recommendation that conflicts with removed
ports are kept for a few months.)
- If all packages conflicting with a given port have been removed
from the ports system and the official packages repository, the
now superfluous CONFLICTS_INSTALL definition will not be detected.
This is due to only Makefiles of ports being parsed that install
files in the same place as some other port. Parsing all Makefiles
instead would increase the run-time of this script by more than a
factor of 10.
59c3022 |
Sunday, 14 Nov 2021
|
22:45 Rodrigo Osorio (rodrigo)
Tools/scripts: Add new script update_crates to replace CARGO_CRATES block
Simple shell script to help updating Makefile CARGO_CRATES variable
returned by make cargo-crates.
simplest way to use it :
make cargo-crates | update_crates Makefile > NewMakefile
0c8d8eb |
Friday, 11 Jun 2021
|
13:45 Rene Ladan (rene)
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
0b673d6 |
Tuesday, 6 Apr 2021
|
14:27 Mathieu Arnold (mat)
framework: Remove $FreeBSD$
Where appropriate fiddle with a few other things.
5d33e04 |
10:39 Rene Ladan (rene)
Remove two tools that are no longer useful with Git.
- mfh: this is replaced by 'git cherry-pick -x HASH'
- psvn: unlike svn, git has no per-file properties
Adjust README accordingly.
Differential Revision: https://reviews.freebsd.org/D29451
With hat: portmgr
a4c3b6f |
Thursday, 5 Sep 2019
|
14:18 bapt
Stop documenting scripts which no longer lives in the tree
PR: 226606
Submitted by: Sergey Akhmatov <sergey@akhmatov.ru>
|
Thursday, 28 Mar 2019
|
17:01 mfechner
Added a script to bump PORTREVISION if a library has changed a version like
libgit2.
Just execute it in the root of you ports with e.g.
Tools/scripts/search_lib_depends_and_bump.sh devel/libgit2
This will search over all existing ports, check if they need to be bumped.
After all ports are bumped it triggers a portlint for each modified port.
The portlint loop continues till all errors and warnings are fixed.
Feel free to break this loop using CTRL+C.
|
Sunday, 27 May 2018
|
05:02 eadler
Tools: add LEGALlint
This checks 'LEGAL' for common errors, It is inspired by MOVEDLint.
|
Monday, 17 Aug 2015
|
14:20 mat
Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.
Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.
Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)
Reviewed by: antoine, bapt
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3336
|
Monday, 30 Mar 2015
|
21:13 rodrigo
Add getpatch.sh, a shell script only tool to download patch attachments on bug
tracking systems
|
Wednesday, 25 Jun 2014
|
08:50 eadler
Remove consistency-check since it relies on MD5 and only works for old pkg_
tools
Also clean up README a bit more
Discussed with: ak, bapt
|
08:39 eadler
Clean up README
|
08:27 eadler
To my knoledge (and grep) the close-pr script in Tools/scripts is not used
anywhere, so remove it.
OKed by: bapt
|
Thursday, 19 Dec 2013
|
14:43 bapt
Import mfh script to merge to the Q branches
|
Wednesday, 30 Oct 2013
|
21:28 eadler
Remove p5-deps.pl which was used when perl 5.8 was removed. It has not been
needed in many years.
Reported by: ak
|
Saturday, 21 Sep 2013
|
00:06 bapt
Remove Tools/scripts/convert-makefile-header.pl it is not needed anymore
|
Sunday, 7 Jul 2013
|
15:32 eadler
Remove dialogwrapper now that dialog4ports exists
|
Wednesday, 12 Dec 2012
|
02:02 bdrewery
prdone and prpatch were removed in r297358
|
Wednesday, 28 Nov 2012
|
18:06 eadler
Document tool which converts from old style header to new style
Feature safe: yes
|
Saturday, 1 Sep 2012
|
02:56 eadler
By request, move dialogwrapper to the main folder and fix the readme.
Additionally, document the wrapper in the main readme
|
Thursday, 30 Aug 2012
|
10:23 sbz
- Fix documentation
Submitted by: culot, gahr
|
Thursday, 23 Aug 2012
|
14:07 sbz
- Add getpatch script to download patch attachments on bug tracking systems
Approved by: portmgr (bapt)
|
Thursday, 16 Feb 2012
|
16:09 eadler
Document MOVEDlint in README
|
Tuesday, 27 Dec 2011
|
03:32 eadler
- Remove some old duplicate words. They were getting in way of finding newer
ones.
|
Friday, 29 Jan 2010
|
14:52 kuriyama
- Add a script to check unneeded dependencies for perl modules.
|
Sunday, 17 May 2009
|
11:40 pgollucci
note mark_safe.pl
|
Tuesday, 6 May 2008
|
16:17 sat
Add a tiny sh hack - ardiff - compares two archives.
|
Sunday, 26 Aug 2007
|
15:02 netchild
Add explicit_lib_depends.sh.
|
Sunday, 12 Aug 2007
|
12:49 netchild
Add 2 scripts which help in port maintenance to list all direct library
dependencies of a port:
neededlibs.sh
Extract direct library dependencies (filenames) from binaries.
resolveportsfromlibs.sh
Prints the name(s) of ports(s) given a library filename,
suitable for direct use (copy&paste) in LIB_DEPENDS.
Example usage is included in the scripts. The following combined usage may
be helpful for further porting/testing automation:
resolveportsfromlibs.sh -b /usr/local $(neededlibs.sh /test/bin/*)
Requested by: kris, lofi (sort of)
|
Tuesday, 12 Apr 2005
|
10:56 tobez
Add a splitpatch.pl utility, a small script to convert multi-file
patches to several appropriately named single-file patches.
Requested by: flz
|
09:22 flz
- Add bump_revision.pl, a small script to bump the PORTREVISION variable
of ports which are depending on a port with a changed shared lib version.
Edwin dedicates this script to his son Dirk, born few days ago :)
Congrats (again) !
PR: ports/63915
Submitted by: edwin
|
Monday, 24 Jan 2005
|
07:22 kris
Document the check-latest-link and tindex scripts
|
Sunday, 9 Jan 2005
|
10:21 krion
Remove traling spaces.
|
Friday, 19 Mar 2004
|
11:08 eik
Add chkorigin.sh, a script that checks the ports tree for ports with a wrong
PKGORIGIN. Useful especially after repocopies.
env PORTSDIR=/usr/ports sh /usr/ports/Tools/scripts/chkorigin.sh
Approved by: marcus (portmgr)
|
Friday, 2 Jan 2004
|
23:27 obrien
There is nothing "future" about 'addport'.
|
Tuesday, 18 Feb 2003
|
12:45 knu
Add de-pkg-comment.
|
Number of commits found: 40 |