notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

non port: Tools/scripts/rmport

Number of commits found: 56

Saturday, 3 Jun 2023
11:06 Rene Ladan (rene) search for other commits by this committer
Tools/scripts/rmport: do not add a trailing colon when only removing one port

Reported by:	sunpoet (via private mail)
commit hash: 206e6293bd6cf689ecc3893f1306f171c0a2e8d0 commit hash: 206e6293bd6cf689ecc3893f1306f171c0a2e8d0 commit hash: 206e6293bd6cf689ecc3893f1306f171c0a2e8d0 commit hash: 206e6293bd6cf689ecc3893f1306f171c0a2e8d0 206e629
Saturday, 20 May 2023
09:39 Rene Ladan (rene) search for other commits by this committer
Tools/scripts: rmport: force cleaning up at the end
commit hash: 9f5f51d94576585b62aa1b94cb2cae813c1fa765 commit hash: 9f5f51d94576585b62aa1b94cb2cae813c1fa765 commit hash: 9f5f51d94576585b62aa1b94cb2cae813c1fa765 commit hash: 9f5f51d94576585b62aa1b94cb2cae813c1fa765 9f5f51d
Sunday, 30 Apr 2023
11:40 Rene Ladan (rene) search for other commits by this committer
Tools/scripts/rmport: also cleanup when being trapped on a signal

This should get rid of stale gitrmlist* and gitlog* files.
commit hash: 8270a4ffc5efe1b91791a8eb0602aec553e4ae12 commit hash: 8270a4ffc5efe1b91791a8eb0602aec553e4ae12 commit hash: 8270a4ffc5efe1b91791a8eb0602aec553e4ae12 commit hash: 8270a4ffc5efe1b91791a8eb0602aec553e4ae12 8270a4f
11:29 Rene Ladan (rene) search for other commits by this committer
Tools/scripts/rmport: remove extraneous trailing '/' in single-port commit
messages
commit hash: 3a59d525a9bb64d19ecc54eadc756a2bdff01840 commit hash: 3a59d525a9bb64d19ecc54eadc756a2bdff01840 commit hash: 3a59d525a9bb64d19ecc54eadc756a2bdff01840 commit hash: 3a59d525a9bb64d19ecc54eadc756a2bdff01840 3a59d52
11:18 Rene Ladan (rene) search for other commits by this committer
Tools/scripts/rmport: try to fix flow for amending the final commit
commit hash: 021979f6cf74e131e66ac7304fb53956df05cfe4 commit hash: 021979f6cf74e131e66ac7304fb53956df05cfe4 commit hash: 021979f6cf74e131e66ac7304fb53956df05cfe4 commit hash: 021979f6cf74e131e66ac7304fb53956df05cfe4 021979f
11:14 Rene Ladan (rene) search for other commits by this committer
Tools/scripts/rmport: update copyright year
commit hash: 3a48862fcd6b8e4f5ef9e80584a251e15cb3e268 commit hash: 3a48862fcd6b8e4f5ef9e80584a251e15cb3e268 commit hash: 3a48862fcd6b8e4f5ef9e80584a251e15cb3e268 commit hash: 3a48862fcd6b8e4f5ef9e80584a251e15cb3e268 3a48862
Sunday, 19 Feb 2023
20:24 Rene Ladan (rene) search for other commits by this committer
Tools/scripts/rmport: Fix my English

Reported by:	George L. Yermulnik <yz@yz.kiev.ua>
commit hash: a3e43bd4a8ee46dbea7e1eda871765fb92db7227 commit hash: a3e43bd4a8ee46dbea7e1eda871765fb92db7227 commit hash: a3e43bd4a8ee46dbea7e1eda871765fb92db7227 commit hash: a3e43bd4a8ee46dbea7e1eda871765fb92db7227 a3e43bd
19:42 Rene Ladan (rene) search for other commits by this committer
Tools/scripts: use a port-specific commit message if removing a single port.

This helps in `git shortlog`, replacing "cleanup: Remove expired ports" by
"category/port: Remove expired port" for a given category and port.

Reported by:	gerald
commit hash: f08b42fbd9c849b7dcde7a9c23ed4a5025e1b6b9 commit hash: f08b42fbd9c849b7dcde7a9c23ed4a5025e1b6b9 commit hash: f08b42fbd9c849b7dcde7a9c23ed4a5025e1b6b9 commit hash: f08b42fbd9c849b7dcde7a9c23ed4a5025e1b6b9 f08b42f
Sunday, 4 Dec 2022
11:29 Rene Ladan (rene) search for other commits by this committer
Tools/scripts: note that you should also be in sync with origin/main
commit hash: 282db8d4189a09a4b89079e9ee62ba1122e59756 commit hash: 282db8d4189a09a4b89079e9ee62ba1122e59756 commit hash: 282db8d4189a09a4b89079e9ee62ba1122e59756 commit hash: 282db8d4189a09a4b89079e9ee62ba1122e59756 282db8d
Wednesday, 8 Sep 2021
19:57 Rene Ladan (rene) search for other commits by this committer
rmport: first check if we are in a git checkout, then check for changes.
commit hash: 332b174080094dc6b12db9f33be3b1ebe949353a commit hash: 332b174080094dc6b12db9f33be3b1ebe949353a commit hash: 332b174080094dc6b12db9f33be3b1ebe949353a commit hash: 332b174080094dc6b12db9f33be3b1ebe949353a 332b174
Saturday, 3 Jul 2021
17:56 Rene Ladan (rene) search for other commits by this committer
rmport: use "cleanup" instead of "*/*"
commit hash: 18860205ed2d85bdc8324e5d9b25d35a5ba8e098 commit hash: 18860205ed2d85bdc8324e5d9b25d35a5ba8e098 commit hash: 18860205ed2d85bdc8324e5d9b25d35a5ba8e098 commit hash: 18860205ed2d85bdc8324e5d9b25d35a5ba8e098 1886020
Friday, 11 Jun 2021
13:45 Rene Ladan (rene) search for other commits by this committer
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
commit hash: 0b673d6c5b2b727e108435637b6a3dc6eced561c commit hash: 0b673d6c5b2b727e108435637b6a3dc6eced561c commit hash: 0b673d6c5b2b727e108435637b6a3dc6eced561c commit hash: 0b673d6c5b2b727e108435637b6a3dc6eced561c 0b673d6
Monday, 31 May 2021
20:53 Rene Ladan (rene) search for other commits by this committer
Tools/scripts/rmport: satisfy path check hook
commit hash: d674d5221bc2e2c87e9404ea959fa92c96153d17 commit hash: d674d5221bc2e2c87e9404ea959fa92c96153d17 commit hash: d674d5221bc2e2c87e9404ea959fa92c96153d17 commit hash: d674d5221bc2e2c87e9404ea959fa92c96153d17 d674d52
Wednesday, 21 Apr 2021
08:01 Rene Ladan (rene) search for other commits by this committer
Tools/scripts/rmport: differentiate exit codes.
commit hash: d7d1f48512a99866bcd490c5b40e664e8dc62e0b commit hash: d7d1f48512a99866bcd490c5b40e664e8dc62e0b commit hash: d7d1f48512a99866bcd490c5b40e664e8dc62e0b commit hash: d7d1f48512a99866bcd490c5b40e664e8dc62e0b d7d1f48
Tuesday, 6 Apr 2021
20:56 Rene Ladan (rene) search for other commits by this committer
rmport: ready for git

- do not remove ports immediately but store them in a temporary file
  and remove them once the script has iterated over all ports to be
  removed. This prevents failed searches. The Subversion version
  used a temporary worktree so the main tree was unaffected.
- remove a "merge" from a question, we use rebase now.
- check if INDEX is readable and exit if not
commit hash: 578d48f1bc1949bd03d0ea4b6ae9750eb9aed43e commit hash: 578d48f1bc1949bd03d0ea4b6ae9750eb9aed43e commit hash: 578d48f1bc1949bd03d0ea4b6ae9750eb9aed43e commit hash: 578d48f1bc1949bd03d0ea4b6ae9750eb9aed43e 578d48f1
15:07 Rene Ladan (rene) search for other commits by this committer
rmport: fix and simplify workflow

- gather information about the deleted port for the commit message
  before removing the port. I somehow missed that when testing the
  script.
- Instead of a temporary branch, just operate on the current branch
  and incorporate upstream changes with git pull --rebase. This
  prevents one from being stranded on a temporary branch if the
  script crashes and oblivates the need for a squash merge [1]

Suggested by:	mat [1]
commit hash: 6d299fa340def7265630d8c2e8343b3bfaf7134b commit hash: 6d299fa340def7265630d8c2e8343b3bfaf7134b commit hash: 6d299fa340def7265630d8c2e8343b3bfaf7134b commit hash: 6d299fa340def7265630d8c2e8343b3bfaf7134b 6d299fa
10:39 Rene Ladan (rene) search for other commits by this committer
Tools/scripts/rmport: convert workflow to git.

Do not push the final result automatically yet, unlike its previous
Subversion version.

Reviewed by:	emaste, mat, uqs
Approved by:	crees (maintainer, implicit)
Differential Revision:	https://reviews.freebsd.org/D29451
commit hash: 297cd655811ca6374660d466c2bae8a5887f6b3b commit hash: 297cd655811ca6374660d466c2bae8a5887f6b3b commit hash: 297cd655811ca6374660d466c2bae8a5887f6b3b commit hash: 297cd655811ca6374660d466c2bae8a5887f6b3b 297cd65
Tuesday, 5 Mar 2019
22:54 rene search for other commits by this committer
rmport: fix and speed up the find_expired() function.

find_expired() is used with -F (report on all expired ports using the
format "date category/port: reason") and -a (remove all expired ports).

Some speedups:
- only calculate the deprecation reason for -F
- use nested loops instead of nested recursion for traversing all ports.
  The nested recursion would also stop after finding the first port.

Approved by:	maintainer (crees) (implicit, fixit)
Original commitRevision:494751 
Tuesday, 26 Feb 2019
21:51 rene search for other commits by this committer
rmport: correctly deal with expired ports when the -a (find all expired) option.

Instead of grepping port Makefiles for EXPIRATION_DATE, evaluate this variable
using make. Also find ports by evaluating SUBDIR recursively instead of using
find on Makefile\*

Submitted by:   crees (maintainer)
Approved by:    crees (maintainer)
Original commitRevision:493983 
Monday, 17 Dec 2018
15:09 crees search for other commits by this committer
Revert flavour support.

Submitted by:	rene
Original commitRevision:487692 
14:54 crees search for other commits by this committer
Support flavor_EXPIRATION_DATE

Correctly ignore commented dates (why would that exist?)

Handle more neatly when EXPIRATION_DATE is not in the main Makefile
Original commitRevision:487690 
Thursday, 11 Oct 2018
13:40 rene search for other commits by this committer
rmport: if the user edited the commit message, ask again afterwards.

This is in line with asking for recreating the diffs and "fixes" the workflow.
Original commitRevision:481824 
Sunday, 16 Sep 2018
09:20 rene search for other commits by this committer
rmport: usability fixes:
- only write the message to edit the log once
- show the log itself instead of the temporary filename
Original commitRevision:479882 
Sunday, 2 Sep 2018
11:30 rene search for other commits by this committer
Tools/scrips/rmport: improve usability

- if svn is not found, look for svnlite
- improve workflow of removing ports

Submitted by:	blackend via email
Approved by:	maintainer (crees)
Original commitRevision:478786 
Saturday, 4 Aug 2018
16:29 eugen search for other commits by this committer
rmport: provide default for EDITOR varialble to prevent
an error "svnlog: not found" when EDITOR is undefined.

Reported by:	Matthias Fechner <idefix@fechner.net>
Approved by:	portmgr (crees)
Original commitRevision:476368 
Monday, 26 Mar 2018
16:55 rene search for other commits by this committer
Detect flavored dependencies in Tools/scripts/rmport and add myself to the
copyright.
Original commitRevision:465615 
Sunday, 30 Apr 2017
17:45 ler search for other commits by this committer
Update Tools/scripts/rmport to ignore commented out EXPIRATION_DATE lines

Reviewed by: 	crees (maintainer)
Approved by:	rene (portmgr, mentor), adamw (portmgr, mentor), crees (maintainer)
Differential Revision:	https://reviews.freebsd.org/D10548
Original commitRevision:439833 
Tuesday, 17 May 2016
17:53 rene search for other commits by this committer
Remove a stale comment in Tools/scripts/rmport
Original commitRevision:415400 
17:51 rene search for other commits by this committer
As a frequent user of the rmport script, it was time for some improvements:
- allow PORTSDIR to be a symbolic link when looking for expired ports or
  dependent ports
- allow for trailing slashes when specifying ports as cat/name. This prevents
  the port being a false positive for itself when the Makefile mentions the
  port name (e.g., in PLIST_FILES)
- fetch possibly open PRs via Bugzilla, GNATS is long gone. Remove the
  version that used freefall. Thanks to crees for pretty-printing the results.
- forcibly delete the temporary checkout to prevent rm(1) from asking for
  confirmation on each file in .svn
- add myself as author

Approved by:	maintainer (crees)
Differential Revision:	https://reviews.freebsd.org/D6396
Original commitRevision:415399 
Tuesday, 15 Sep 2015
15:31 naddy search for other commits by this committer
Default to repo.FreeBSD.org for commits, as urged by our repo meister.

Approved by:	crees
Original commitRevision:396967 
Monday, 24 Mar 2014
20:30 crees search for other commits by this committer
Fix cdiff

Reported by:	swills
Original commitRevision:349064 
Saturday, 9 Mar 2013
23:49 bapt search for other commits by this committer
Make check_deps behave the same as check_PRs:
propose to skip removing a port if anything depends on it, instead of infinite
looping on "ignore the issue"
Original commitRevision:313779 
Sunday, 23 Sep 2012
17:56 eadler search for other commits by this committer
Make the removal diff nicer to read by not showing the line-by-line removal and
instead replace it with "FILE has been deleted"

Reviewed by:	crees
Original commitRevision:304756 
Sunday, 15 Jul 2012
20:57 svn2cvs search for other commits by this committer
SVN rev 300901 on 2012-07-15 20:57:22Z by beat

- Update addport and rmport to work with Subversion

Submitted by:   crees, miwi
Original commit
20:57 beat search for other commits by this committer
- Update addport and rmport to work with Subversion

Submitted by:	crees, miwi
Original commit
Wednesday, 2 May 2012
18:32 crees search for other commits by this committer
Take maintainership-- thanks to vd for his past work on this script

Approved by:    vd (maintainer)

- Make the diff output work

- Use cdiff if exists, otherwise stick with $EDITOR

- Stop trying to remove CVSROOT; hasn't been checked out since modules
  support was removed by erwin
Original commit
Tuesday, 6 Oct 2009
00:48 glarkin search for other commits by this committer
- Fixed "permission denied" error
- Prevented full ports tree build when operating with ~/.cvsrc

PR:             ports/139121
Original commit
Thursday, 19 Jun 2008
22:09 erwin search for other commits by this committer
CVSROOT/modules no longer contains an entry per port, remove support
for this from these scripts.
Original commit
Wednesday, 28 Mar 2007
20:39 vd search for other commits by this committer
Use echo instead of printf because external commands cannot be executed
with very long arguments (>400000 characters).

The problem reveals for example if
/usr/ports/Tools/scripts/rmport -d print/ghostscript-gnu
is executed - it does
printf "%s\n" "... 451109 chars ..."

Spotted by:     rafan
Original commit
Monday, 19 Feb 2007
07:24 vd search for other commits by this committer
* Run cvs update just before cvs commit to sync a potentially changed files
  in the repository. Suggested by: gabor@
* Fix typo in the output
Original commit
Friday, 26 Jan 2007
14:25 vd search for other commits by this committer
A bunch of cosmetic changes - add one empty line to make the output more
readable and use double quotes everywhere.
Original commit
10:19 vd search for other commits by this committer
Make output messages more useful
Original commit
Friday, 19 Jan 2007
15:49 vd search for other commits by this committer
* Make it possible to skip existing dependencies and ports references in LEGAL
  and continue with removal anyway. Requested by miwi@
* Pipe dependencies information (if any) through a PAGER because INDEX lines
  are very long and hard to read when wrapped
Original commit
Wednesday, 20 Dec 2006
13:18 vd search for other commits by this committer
Query Gnats for PRs by using the query-pr command on freefall instead of the
web-interface becase the later is not reliable.
Original commit
Wednesday, 13 Dec 2006
07:32 vd search for other commits by this committer
Add check for existing non-closed PRs related to the port being removed.
If any are found then ask if the port should be skipped from removal or
removed regardless of the PRs.
Original commit
Thursday, 2 Nov 2006
09:20 vd search for other commits by this committer
Add deprecated reason to the output of -F
Original commit
Wednesday, 1 Nov 2006
09:57 vd search for other commits by this committer
* Create custom commit message template and populate it with the ports
  to be removed, possibly with the expiration date and deprecated reason
* If port is not marked for expiration than put "Removed" in ports/MOVED
  entry instead of "Has expired"
* Implement -a option to remove all expired ports
* Ask if the cvs diff output should be recreated/reviewed again thus
  giving the committer a chance to edit files by hand and view diff
  results afterwards
* Cosmetic changes
Original commit
Thursday, 5 Oct 2006
10:40 vd search for other commits by this committer
When checking for dependencies of foocategory/barport also find constructs
like .../barport/something e.g. expect either space, slash or eol after
port's name
Original commit
Thursday, 14 Sep 2006
09:13 vd search for other commits by this committer
When checking dependencies also look for portname references in Mk/*.mk
in addition to */*/Makefile* and ignore references in comments
Original commit
Tuesday, 12 Sep 2006
08:35 vd search for other commits by this committer
Remove grep's -w switch from the dependency check since it misses some
dependencies. This needs some more polishing but for now it is better to
emit false positives than skip dependencies.
Original commit
Wednesday, 5 Jul 2006
08:31 vd search for other commits by this committer
Escape characters (like +) that may appear in ports' names and
break sed -E regular expressions
Original commit
Tuesday, 2 May 2006
11:31 vd search for other commits by this committer
Add support for specifying ports to be removed as directories on the
filesystem (either absolute or relative) in addition to `category/port'.

PR:             ports/96649
Submitted by:   Cheng-Lung Sung <clsung@freebsd.org>
Reworked by:    vd
Original commit
09:16 vd search for other commits by this committer
Improve dependency check:
When removing category/port - look if other ports' Makefiles contain
`/port' rather than `category/port', since the later misses things
like `${.CURDIR}/../port'
Original commit
Monday, 17 Apr 2006
08:08 vd search for other commits by this committer
Add support for removing multiple ports which depend on each other
Original commit
Wednesday, 12 Apr 2006
05:23 vd search for other commits by this committer
Quote ${1} so we don't get ``[: =: unexpected operator'' if the script
is started without arguments.
Original commit
Monday, 10 Apr 2006
05:54 vd search for other commits by this committer
Add the script I use to remove ports so everyone
can benefit (or suffer :-) from it.
Original commit

Number of commits found: 56