aboutsummaryrefslogtreecommitdiff
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* Refactor a bit.Mathieu Arnold2016-06-171-4/+11
| | | | | | | Sponsored by: Absolight Notes: svn path=/head/; revision=417014
* - Update to last versionSofian Brabez2016-06-132-36/+63
| | | | | | | Differential Revision: https://reviews.freebsd.org/D6827 Notes: svn path=/head/; revision=416846
* Add a script to indent make(1)'s .if/.for blocks.Mathieu Arnold2016-06-021-0/+42
| | | | | | | Sponsored by: Absolight Notes: svn path=/head/; revision=416279
* Remove a stale comment in Tools/scripts/rmportRene Ladan2016-05-171-1/+0
| | | | Notes: svn path=/head/; revision=415400
* As a frequent user of the rmport script, it was time for some improvements:Rene Ladan2016-05-171-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 Notes: svn path=/head/; revision=415399
* MFportsindexbuild: build INDEX-9 with fmakeAntoine Brodin2016-05-011-1/+6
| | | | Notes: svn path=/head/; revision=414399
* Remove USE_SQLITE from bsd.databases.mk, replaced by USES=sqlite.Mathieu Arnold2016-04-251-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 Notes: svn path=/head/; revision=414014
* Revert escaped un-approved commit.Matthias Andree2016-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 Notes: svn path=/head/; revision=413101
* Drop maintainership.Matthias Andree2016-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. Notes: svn path=/head/; revision=413097
* redundant-opt-files script: Fix deleted port outputJohn Marino2016-03-241-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. Notes: svn path=/head/; revision=411812
* redundant-opt-files script: Handle cache for deleted portsJohn Marino2016-03-241-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. Notes: svn path=/head/; revision=411809
* redundant-opt-files.sh script: validate PORTSDIR valueJohn Marino2016-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. Notes: svn path=/head/; revision=411283
* - add Approved by: lineOlli Hauer2016-03-151-0/+2
| | | | Notes: svn path=/head/; revision=411190
* Add new tool script: redundant-opt-files.shJohn Marino2016-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. Notes: svn path=/head/; revision=408849
* Remove spurious quotation mark.Erwin Lansing2015-12-221-1/+1
| | | | | | | | | PR: 205304 Submitted by: Stig Inge Lea Bjoernsen <stiginge@pvv.org> Sponsored by: DK Hostmaster A/S Notes: svn path=/head/; revision=404230
* Allow running this with a negative revision number, to backout a commit.Mathieu Arnold2015-12-181-2/+2
| | | | | | | Sponsored by: Absolight Notes: svn path=/head/; revision=403975
* Let addport script to use svnlite if availableRuslan Makhmatkhanov2015-09-251-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) Notes: svn path=/head/; revision=397867
* Default to repo.FreeBSD.org for commits, as urged by our repo meister.Christian Weisgerber2015-09-201-5/+4
| | | | | | | Approved by: portmgr (mat) Notes: svn path=/head/; revision=397462
* Default to repo.FreeBSD.org for commits, as urged by our repo meister.Christian Weisgerber2015-09-152-3/+3
| | | | | | | Approved by: crees Notes: svn path=/head/; revision=396967
* Actually allow only one revision to be merged.Mathieu Arnold2015-09-071-1/+1
| | | | | | | | Pointy hat to: mat Sponsored by: Absolight Notes: svn path=/head/; revision=396269
* Support merging multiple revisions in one go with mfh.Mathieu Arnold2015-09-071-18/+38
| | | | | | | | Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3553 Notes: svn path=/head/; revision=396268
* Remove UNIQUENAME and LATEST_LINK.Mathieu Arnold2015-08-172-82/+0
| | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=394508
* Drop building 8.xErwin Lansing2015-08-011-6/+2
| | | | | | | Sponsored by: DK Hostmaster A/S Notes: svn path=/head/; revision=393391
* Invoke perl with /usr/bin/envEmanuel Haupt2015-07-091-1/+2
| | | | Notes: svn path=/head/; revision=391618
* Tools/scripts: Add size offenders report generatorJohn Marino2015-05-201-0/+46
| | | | | | | | | This is the script that generated the "20 ports account for X% of the Ports collection by size" report. This shells script is useful to identify obscenely large ports: top-size-offenders.sh Notes: svn path=/head/; revision=386863
* - Remove a few more scripts from Tools/scripts:Alex Kozlov2015-04-1012-1572/+0
| | | | | | | | | | | | | chkdepschain.py: doesn't support pkgng explicit_lib_depends.sh: doesn't support pkgng plist: obsolete; searches for /etc/mtree/BSD.local.dist, add @dirrm, doesn't know about man pages in the plist release: unused and obsolete resolveportsfromlibs.sh: doesn't support pkgng Approved by: portmgr (bapt) Notes: svn path=/head/; revision=383695
* - Obsolete and made unusable by changes in the Ports CollectionAlex Kozlov2015-04-097-867/+0
| | | | Notes: svn path=/head/; revision=383621
* Add getpatch.sh, a shell script only tool to download patch attachments on ↵Rodrigo Osorio2015-03-303-0/+220
| | | | | | | bug tracking systems Notes: svn path=/head/; revision=382731
* This scripts is not useful anymoreBaptiste Daroussin2015-03-181-100/+0
| | | | Notes: svn path=/head/; revision=381577
* Tools/scripts/bump-revision.sh: fix regression introduced in r380431Bartek Rutkowski2015-03-041-20/+29
| | | | | | | | | | | | | | | - Fix regression mistakenly introduced in r380431 - Handle multiple tabs in PORTREVISION - Handle PORTREVISION being a variable name - Handle multiple PORTREVISION values - Get rid of bash-like syntax - Grammar corrections PR: 192910 Reviewed by: danfe, mandree, mat Notes: svn path=/head/; revision=380455
* Tools/scripts/bump-revision.sh: various fixesBartek Rutkowski2015-03-041-23/+31
| | | | | | | | | | - Write nicer code replacing fix introduced by mandree - Catch up some more edge cases PR: 192910 Notes: svn path=/head/; revision=380431
* Support non default ports path.Pawel Pekala2015-02-201-1/+4
| | | | | | | | | PR: 194423 Submitted by: myself Approved by: maintainer timeout (4 months), trivial - just fix it Notes: svn path=/head/; revision=379446
* Don't add ports/ to the PR line.Mathieu Arnold2015-01-271-1/+1
| | | | | | | Sponsored by: Absolight Notes: svn path=/head/; revision=378008
* - Remove vestiges of cvs annotate supportAlex Kozlov2014-12-071-10/+0
| | | | Notes: svn path=/head/; revision=374220
* - Doesn't support Bugzilla bugtrackerAlex Kozlov2014-11-241-96/+0
| | | | Notes: svn path=/head/; revision=373347
* Make this work with any amount of tabulations between the = and the value of ↵Mathieu Arnold2014-11-181-1/+1
| | | | | | | | | PORTREVISION. Sponsored by: Absolight Notes: svn path=/head/; revision=372729
* Fix if PORTREVISION is not already there.Mathieu Arnold2014-11-181-1/+1
| | | | | | | Sponsored by: Absolight Notes: svn path=/head/; revision=372726
* Reset miwi's maintainership per his demandBaptiste Daroussin2014-11-181-1/+1
| | | | | | | Hope to see you back! Thank for all the work! Notes: svn path=/head/; revision=372709
* Catch and report substitution failure on lines such as PORTREVISION=${SOME_VAR}.Matthias Andree2014-08-221-9/+22
| | | | Notes: svn path=/head/; revision=365612
* - Eat excess newline at the end of the commit log.Bryan Drewery2014-08-211-1/+2
| | | | Notes: svn path=/head/; revision=365580
* Add a BerkeleyDB upgrade helper script in preparation of 4...4.7 removal.Matthias Andree2014-08-211-0/+77
| | | | Notes: svn path=/head/; revision=365566
* - Better handling when custom encoding is specified in detailsSofian Brabez2014-07-231-24/+23
| | | | | | | | | | | - Use only one request to retreive patchs CR: D400 CR: D401 Submitted by: rakuco Notes: svn path=/head/; revision=362667
* New script: Tools/scripts/bump-revision.shBartek Rutkowski2014-06-261-0/+66
| | | | | | | | | | | This script, requested by bapt@, is a pure sh tool to increase one or more ports PORTREVISION value or to add one, if the port havent had one already. Approved by: swills (mentor), bapt Notes: svn path=/head/; revision=359402
* ports/Tools/scripts/mfh revision:Matthias Andree2014-06-251-25/+36
| | | | | | | | | | | | | | | - use proper quoting - use fewer svn invocations - optionally drop to a shell before committing, to manually fix up a botched merge. - svnserver can be overridden in the environment. - Finally, we use sh's trap builtin to make sure we always clean up. PR: 186256 Approved by: portmgr (bapt@) Notes: svn path=/head/; revision=359280
* Remove consistency-check since it relies on MD5 and only works for old pkg_ ↵Eitan Adler2014-06-252-186/+12
| | | | | | | | | | | tools Also clean up README a bit more Discussed with: ak, bapt Notes: svn path=/head/; revision=359205
* Clean up READMEEitan Adler2014-06-251-2/+0
| | | | Notes: svn path=/head/; revision=359202
* add missing Mt to AqEitan Adler2014-06-251-1/+1
| | | | Notes: svn path=/head/; revision=359200
* To my knoledge (and grep) the close-pr script in Tools/scripts is not used ↵Eitan Adler2014-06-252-364/+0
| | | | | | | | | anywhere, so remove it. OKed by: bapt Notes: svn path=/head/; revision=359199
* Invoke perl with /usr/bin/env, as perl is not guaranteed to exist inAdam Weinberger2014-06-227-7/+7
| | | | | | | /usr/bin. Notes: svn path=/head/; revision=358817
* * Default to name search (-n) if no flags are specified.Adam Weinberger2014-06-222-69/+91
| | | | | | | | | | | * Add -e, to cat the pkg-descr for each port found. * Format with tabs instead of 4-spaces, as the latter made editing an absolute nightmare and isn't used by anything else. * Add -h to the option list, as it was missing. * Use the fields hash in the format instead of hardcoded indices. Notes: svn path=/head/; revision=358816