/devel/libosmo-netif/

le='freebsd-ports-gnome Git repository'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* rmport: usability fixes:rene2018-09-161-4/+2
| | | | | - only write the message to edit the log once - show the log itself instead of the temporary filename
* Tools/scrips/rmport: improve usabilityrene2018-09-021-10/+32
| | | | | | | | - if svn is not found, look for svnlite - improve workflow of removing ports Submitted by: blackend via email Approved by: maintainer (crees)
* Use 'make -C' instead of saving the current working directory and thengerald2018-08-201-7/+2
| | | | | | | | restoring that in the new code to add a safety belt that came in via revision 477561. This is quite a bit simpler and shorter. Reported by: adamw PR: 226926
* Add a stronger safety belt to this script by comparing the actualgerald2018-08-191-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PORTREVISION (using the Ports Collection framework, not just looking at one Makefile individually at a time) before and after the bump. If the version after the bump isn't actually increased, flag that as an error. As an example, before revision r464215 (cf. bug #226533) this script would have wreaked wreak havoc on the multimedia/avidemux* ports. This hardly can be blamed on bump-revision.sh, but with the additional safety belt it does now detect such cases. How to reproduce: % cd $PORTSDIR % svn up -r 464036 multimedia/ % Tools/scripts/bump-revision.sh multimedia/avidemux* With this patch we print: INFO: multimedia/avidemux PORTREVISION= 9 found, bumping it by 1. INFO: multimedia/avidemux-cli PORTREVISION not found, adding PORTREVISION= 1 ERROR: multimedia/avidemux-cli PORTREVISION went backwards from 5 to 1! INFO: multimedia/avidemux-plugins PORTREVISION not found, adding PORTREVISION= 1 ERROR: multimedia/avidemux-plugins PORTREVISION went backwards from 5 to 1! INFO: multimedia/avidemux-qt4 PORTREVISION not found, adding PORTREVISION= 1 ERROR: multimedia/avidemux-qt4 PORTREVISION went backwards from 5 to 1! The beauty of this approach is that it goes beyond a simple text search, and leverages what the ports framework itself does. PR: 226926, 226533 Approved by: maintainer timeout (20+ weeks) Reviewed by: mandree, riggs
* rmport: provide default for EDITOR varialble to preventeugen2018-08-051-0/+1
| | | | | | | an error "svnlog: not found" when EDITOR is undefined. Reported by: Matthias Fechner <idefix@fechner.net> Approved by: portmgr (crees)
* Also report the previous line when going backwards in time.mat2018-07-031-1/+3
| | | | | | | | This is because half of the time, the previous line is the one that is wrong, so you get redirected to line X, where X-1 has the error, and you wonder because line X looks just fine. Sponsored by: Absolight
* Remove an extra dot messing up copy and paste.mat2018-06-141-1/+1
| | | | Sponsored by: Absolight
* Return Tools/scripts/portsvar.sh to the pool.rene2018-06-021-1/+1
|
* Tools: add LEGALlinteadler2018-05-272-0/+23
| | | | This checks 'LEGAL' for common errors, It is inspired by MOVEDLint.
* - Do not download obsolete attachmentssbz2018-05-221-2/+16
| | | | | | Submitted by: gonzo Approved by: myself Differential Revision: https://reviews.freebsd.org/D14550
* Detect flavored dependencies in Tools/scripts/rmport and add myself to the ↵rene2018-03-271-1/+2
| | | | copyright.
* Show errors for duplicate source entries.bdrewery2018-01-261-0/+7
|
* Run Tools/scripts/mfh through devel/hs-ShellCheck.mat2018-01-231-17/+17
| | | | | | | | | | | | | | SC2068: Double quote array expansions to avoid re-splitting elements. SC2034: revs appears unused. Verify it or export it. SC2039: In POSIX sh, XXX is undefined. type -> command -v echo -n -> printf read -p -> printf + read SC2162: read without -r will mangle backslashes. SC2086: Double quote to prevent globbing and word splitting. Sponsored by: Absolight
* Follow up on last commit and actually allow editingmat2017-12-291-0/+1
| | | | | | | | the commit message again. PR: 224634 Reported by: yuri Sponsored by: Absolight
* Generic FLAVORS work.mat2017-11-301-1/+30
| | | | | | | | | | | | | - Enable FLAVORS. - Make make describe flavors aware. - Add a qa check for unique package names amongst flavors. - Make MOVEDlint understand flavors. - Add a bit of sanity check to make sure FLAVORS stay lowercase. - Various fixes. Reviewed by: portmgr Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D12577
* Commit the actual patch I testedmat2017-11-101-1/+1
| | | | Sponsored by: Absolight
* Cleanup resurrected processing.mat2017-11-101-7/+1
| | | | | | | There is no need to have a resurrected array, it is only used once, so move the resurrected printf where it belongs. Sponsored by: Absolight
* Don't blame the person that removed a resurrected.mat2017-11-101-1/+0
| | | | Sponsored by: Absolight
* Add braces around all if/else.mat2017-11-101-2/+3
| | | | Sponsored by: Absolight
* Re-enable blame (was annotate) with svn and git support.mat2017-10-301-2/+24
| | | | | | | | ak@ asked that I remove the unused error array, and I went to have a look at what it was actually used for back in the day. It seemed better to re-enable the blame feature instead of removing it. Sponsored by: Absolight
* The final sort was missing from some places.mat2017-10-301-2/+2
| | | | Sponsored by: Absolight
* Do not add $FreeBSD$ to the patch files.mat2017-08-231-3/+0
| | | | Sponsored by: Absolight
* Fix resurrected ports not being warned about if they have a new dest entry.bdrewery2017-08-081-3/+4
| | | | | | | | | | This now warns about these 2 ports as needing to be marked as resurrected: archivers/brotli|archivers/py-brotli|2016-11-24|Brotli is a python module devel/libbrotli|archivers/brotli|2017-07-12|meta project no longer required to build libs www/rubygem-jquery-rails||2017-01-07|Has expired: Depends on deprecated www/rubygem-railties www/rubygem-jquery-rails4|www/rubygem-jquery-rails|2017-03-27|Remove PKGNAMESUFFIX
* Allow editing commit message on failure and save it somewhere if declined.bdrewery2017-06-131-1/+8
| | | | With hat: portmgr
* Fix some FreeBSD.org case of bad case.mat2017-05-041-1/+1
| | | | Sponsored by: Absolight
* Add some usage instructions to the top of the mfh script. In particular,adamw2017-05-011-0/+6
| | | | note that multiple revisions should appear chronologically.
* Update Tools/scripts/rmport to ignore commented out EXPIRATION_DATE linesler2017-05-011-1/+1
| | | | | | Reviewed by: crees (maintainer) Approved by: rene (portmgr, mentor), adamw (portmgr, mentor), crees (maintainer) Differential Revision: https://reviews.freebsd.org/D10548
* Fix shebang. If /usr/bin/env is used the -w flag can't be passed after perl.ehaupt2017-04-254-138/+5
| | | | | | | Use 'use warnings;' instead. While here remove distinfochecker. It's not needed anymore as it was written for a simple purpose eleven years ago.
* Reset pgollucci@ as maintainer after 19 months of inactivityrene2017-03-302-2/+2
| | | | With hat: portmgr-secretary
* Set maintainer of these scripts to portmgr as the previous maintainers retired.rene2017-02-134-4/+4
|
* - Remove inclusion of bsd.default-versions.mk from ftp/curl/Makefile sotijl2017-02-061-1/+0
| | | | | | | | | | | | | | | | | bsd.default-versions.mk can rely on ARCH being defined. - In bsd.port.mk move inclusion of bsd.default-versions.mk from the pre-makefile section to the options section so the variables can be used earlier. Also put the bit of code sitting between the options section and the pre-makefile section into the options section. - Remove last few cases where ports set WITH_OPENSSL_PORT. This variable is handled in bsd.default-versions.mk and some ports were setting it after including bsd.port.options.mk. After FreeBSD 9 EoL all but a few ports, and then only when setting non-default options, work without setting that variable. PR: 215996 Exp-run by: antoine Approved by: portmgr (antoine)
* Make sure the merge is done on the latest branch.mat2017-01-041-11/+24
| | | | | | | Also, make the branch argument optional. Discussed with: swills Sponsored by: Absolight
* Use make(1) to extract variables from a Makefile, not grep.mat2016-09-081-2/+2
| | | | | | | PR: 212486 Submitted by: mat Approved by: crees (maintainer) Sponsored by: Absolight
* Fix the '-a' option to ${PORTSDIR}/Tools/scripts/addportmatthew2016-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Summary: Currently addport -a ends up running a command line like: make PORTSDIR="/tmp/ap.BsOuZJBy" clean check-categories where the temporary directory has only parts of the ports tree (specifically bits under ${PORTSDIR}/Mk) checked out. This can't work as 'make check-categories' needs to see the entire ports tree checked out. Instead, run the checks specified by '-a' and '-t' with the value of $PORTSDIR from the environment. Reviewers: crees Reviewed By: crees Subscribers: mat Differential Revision: https://reviews.freebsd.org/D7525
* Echo where the merge was done, so one can go and have a look.mat2016-08-151-0/+1
| | | | Sponsored by: Absolight
* fixup last updates, and try to be better with slave ports.mat2016-08-031-4/+14
| | | | | | | | | | | | | | the case $? needs to have the exit status of the grep, not the awk line, so remove the awk line, it was not really helpful anyway. Also, with slave ports, most of the time, they don't have (PORT|DIST)VERSION, try to use CATEGORIES, PKGNAMEPREFIX or PKGNAMESUFFIX. PR: 211243 Submitted by: mat Approved by: maintainer timeout Sponsored by: Absolight
* MFportsindexbuild:antoine2016-07-171-21/+10
| | | | | - build INDEX-12 - remove no longer used scp/ssh
* Refactor a bit.mat2016-06-171-4/+11
| | | | Sponsored by: Absolight
* - Update to last versionsbz2016-06-132-36/+63
| | | | Differential Revision: https://reviews.freebsd.org/D6827
* Add a script to indent make(1)'s .if/.for blocks.mat2016-06-021-0/+42
| | | | Sponsored by: Absolight
* Remove a stale comment in Tools/scripts/rmportrene2016-05-181-1/+0
|
* As a frequent user of the rmport script, it was time for some improvements:rene2016-05-181-21/+10
| | | | | | | | | | | | | | | | - 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
* MFportsindexbuild: build INDEX-9 with fmakeantoine2016-05-011-1/+6
|
* Remove USE_SQLITE from bsd.databases.mk, replaced by USES=sqlite.mat2016-04-261-1/+1
| | | | | | | | | | | While there replace USE_SQLITE=x by USES=sqlite:x. PR: 208971 Submitted by: mat Exp-run by: antoine With hat: portmgr Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D5951
* Revert escaped un-approved commit.mandree2016-04-121-134/+72
| | | | | This was not meant to be applied yet, as it is not yet completely developed. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192706
* Drop maintainership.mandree2016-04-121-72/+134
| | | | | | | If portmgr@ needs to commit against better advise, two years after this was first discussed without any motion of the upstream. Drop a few more maintainerships along the way.
* redundant-opt-files script: Fix deleted port outputmarino2016-03-251-1/+1
| | | | | | The last change was flawed; for deleted ports it was writing out the origin, but it should be writing out the appropriate ports cache database directory.
* redundant-opt-files script: Handle cache for deleted portsmarino2016-03-251-0/+5
| | | | | | | | | | | The redundant-opt-file scripts assumes that if options are cached, then the port that it was created by still exists. This, of course, is a terrible assumption. If the cached options refer to a port that has since been deleted or otherwise no longer exists, just print the origin and continue. The normal use case is that the origin will be piped to xargs rm -rf which will purge the obsolete directory as desired.
* redundant-opt-files.sh script: validate PORTSDIR valuemarino2016-03-171-0/+6
| | | | | Before checking validity of $db_dir, verify $portdir is valid and eject if it is not. This provides a better error message when PORTSDIR is invalid.
* - add Approved by: lineohauer2016-03-161-0/+2
|
* Add new tool script: redundant-opt-files.shmarino2016-02-141-0/+51
| | | | | | | | | | | | | | | | | I got a request to make Synth identify "redundant" cached option files, where "redundant" means the saved port options are identical to the default options. For Synth (and portmaster?) which use the port's cache options, these redundant files are somewhat of a liability. At best they do nothing (Synth assumes default options) and at worst they will cause a future build to stop if the maintainer changes the port options later. This situation is avoidable. Rather than build detection into Synth, I decided to write a generic shell script for ports. When run, it will display the full path to the port's options directory if the cached options are the same as the defaults. This output is suitable to pipe to "xargs rm -rf" to remove all the redundant options in a single command.
* Remove spurious quotation mark.erwin2015-12-221-1/+1
| | | | | | PR: 205304 Submitted by: Stig Inge Lea Bjoernsen <stiginge@pvv.org> Sponsored by: DK Hostmaster A/S
* Allow running this with a negative revision number, to backout a commit.mat2015-12-181-2/+2
| | | | Sponsored by: Absolight
* Let addport script to use svnlite if availablerm2015-09-261-18/+20
| | | | | | | | 1. Check if svnlite is available and use it by default, else: use svn 2. Dehardcode svn binary name in shell calls, to make both svn/svnlite work Approved by: crees (maintainer)
* Default to repo.FreeBSD.org for commits, as urged by our repo meister.naddy2015-09-211-5/+4
| | | | Approved by: portmgr (mat)
* Default to repo.FreeBSD.org for commits, as urged by our repo meister.naddy2015-09-152-3/+3
| | | | Approved by: crees