aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Show errors for duplicate source entries.bdrewery2018-02-041-0/+7
|
* Run Tools/scripts/mfh through devel/hs-ShellCheck.mat2018-02-041-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 editingmat2018-02-041-0/+1
| | | | | | | | the commit message again. PR: 224634 Reported by: yuri Sponsored by: Absolight
* Generic FLAVORS work.mat2018-02-041-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 testedmat2018-02-041-1/+1
| | | | Sponsored by: Absolight
* Cleanup resurrected processing.mat2018-02-041-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.mat2018-02-041-1/+0
| | | | Sponsored by: Absolight
* Add braces around all if/else.mat2018-02-041-2/+3
| | | | Sponsored by: Absolight
* Re-enable blame (was annotate) with svn and git support.mat2018-02-041-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.mat2018-02-041-2/+2
| | | | Sponsored by: Absolight
* Do not add $FreeBSD$ to the patch files.mat2018-02-041-3/+0
| | | | Sponsored by: Absolight
* Fix resurrected ports not being warned about if they have a new dest entry.bdrewery2018-02-041-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
* Actually allow only one revision to be merged.mat2015-09-071-1/+1
| | | | | Pointy hat to: mat Sponsored by: Absolight
* Support merging multiple revisions in one go with mfh.mat2015-09-071-18/+38
| | | | | Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3553
* Remove UNIQUENAME and LATEST_LINK.mat2015-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
* Drop building 8.xerwin2015-08-011-6/+2
| | | | Sponsored by: DK Hostmaster A/S
* Invoke perl with /usr/bin/envehaupt2015-07-091-1/+2
|
* Tools/scripts: Add size offenders report generatormarino2015-05-211-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
* - Remove a few more scripts from Tools/scripts:ak2015-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)
* - Obsolete and made unusable by changes in the Ports Collectionak2015-04-097-867/+0
|
* Add getpatch.sh, a shell script only tool to download patch attachments on ↵rodrigo2015-03-313-0/+220
| | | | bug tracking systems
* This scripts is not useful anymorebapt2015-03-191-100/+0
|
* Tools/scripts/bump-revision.sh: fix regression introduced in r380431robak2015-03-051-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
* Tools/scripts/bump-revision.sh: various fixesrobak2015-03-041-23/+31
| | | | | | | - Write nicer code replacing fix introduced by mandree - Catch up some more edge cases PR: 192910
* Support non default ports path.pawel2015-02-211-1/+4
| | | | | | PR: 194423 Submitted by: myself Approved by: maintainer timeout (4 months), trivial - just fix it
* Don't add ports/ to the PR line.mat2015-01-271-1/+1
| | | | Sponsored by: Absolight
* - Remove vestiges of cvs annotate supportak2014-12-081-10/+0
|
* - Doesn't support Bugzilla bugtrackerak2014-11-251-96/+0
|
* Make this work with any amount of tabulations between the = and the value of ↵mat2014-11-191-1/+1
| | | | | | PORTREVISION. Sponsored by: Absolight
* Fix if PORTREVISION is not already there.mat2014-11-191-1/+1
| | | | Sponsored by: Absolight
* Reset miwi's maintainership per his demandbapt2014-11-181-1/+1
| | | | Hope to see you back! Thank for all the work!
* Catch and report substitution failure on lines such as PORTREVISION=${SOME_VAR}.mandree2014-08-221-9/+22
|
* - Eat excess newline at the end of the commit log.bdrewery2014-08-221-1/+2
|
* Add a BerkeleyDB upgrade helper script in preparation of 4...4.7 removal.mandree2014-08-211-0/+77
|
* - Better handling when custom encoding is specified in detailssbz2014-07-231-24/+23
| | | | | | | | - Use only one request to retreive patchs CR: D400 CR: D401 Submitted by: rakuco
* New script: Tools/scripts/bump-revision.shrobak2014-06-271-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
* ports/Tools/scripts/mfh revision:mandree2014-06-261-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@)
* Remove consistency-check since it relies on MD5 and only works for old pkg_ ↵eadler2014-06-252-186/+12
| | | | | | | | tools Also clean up README a bit more Discussed with: ak, bapt
* Clean up READMEeadler2014-06-251-2/+0
|
* add missing Mt to Aqeadler2014-06-251-1/+1
|
* To my knoledge (and grep) the close-pr script in Tools/scripts is not used ↵eadler2014-06-252-364/+0
| | | | | | anywhere, so remove it. OKed by: bapt
* Invoke perl with /usr/bin/env, as perl is not guaranteed to exist inadamw2014-06-237-7/+7
| | | | /usr/bin.
* * Default to name search (-n) if no flags are specified.adamw2014-06-232-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.
* - Switch to bugzilla as default value for the modesbz2014-06-192-7/+7
| | | | | CR: D235 Submitted by: rakuco
* - Correct the bugzilla urlmiwi2014-06-021-1/+1
| | | | With hat: portmgr
* - Move security-check.awk to Mk/Scripts where it is more proper these days.bdrewery2014-05-101-100/+0
| | | | With hat: portmgr
* - Use https in URL_BASEsbz2014-04-221-2/+2
| | | | - Update with our bugzilla experimental url
* Replace edwin's contact address with mine in the help, too. Andgerald2014-04-191-1/+1
| | | | also solicit improvements. :-)
* Only show the final instructions on how to do the actual commit whengerald2014-04-061-6/+8
| | | | | | | | doing the real job, not for a dry run. Tweak those instructions a bit. Assume maintainership. Approved by: edwin (maintainer)
* Fix cdiffcrees2014-03-251-2/+2
| | | | Reported by: swills
* Make MOVEDLint output more consistenteadler2014-01-241-1/+1
|
* Give proper reason why we reject replaced files.mandree2014-01-211-1/+2
|
* - Allow a leading "r" in the svn revisionlme2014-01-091-16/+28
| | | | | | | | - Use a variable for the Subversion server - Consistently use ${} around variables - Bail out if neither svn(1) nor svnlite(1) are installed Approved by: bapt
* Remove ^MFH: lines from the logbapt2014-01-081-1/+1
|
* update the tree before merge to avoid having a mixed revision tree before ↵bapt2013-12-271-0/+1
| | | | merging
* Import mfh script to merge to the Q branchesbapt2013-12-192-0/+87
|
* Adjust a bit towards the new world of SVN in terms of directorygerald2013-12-021-6/+6
| | | | | | structure and output for the user. Approved by: maintainer (edwin)
* Remove p5-deps.pl which was used when perl 5.8 was removed. It has not been ↵eadler2013-10-312-107/+0
| | | | | | needed in many years. Reported by: ak
* This one goes to 11.erwin2013-10-131-2/+5
|
* - Move dialog4ports.sh to more appropriate new directory Mk/Scripts asbdrewery2013-10-101-48/+0
| | | | | | | it is related to infrastructure/framework and a required portmgr- maintained script With hat: portmgr
* no longer point to NO_LATEST_LINK but to PKGNAMESUFFIX instead.erwin2013-10-071-4/+3
| | | | Also mention the latest portmgr blog post.
* Remove Tools/scripts/convert-makefile-header.pl it is not needed anymorebapt2013-09-212-183/+0
|
* Remove dialogwrapper now that dialog4ports existseadler2013-07-082-146/+0
|
* Re-add dialog4ports.sh helper. This is critical for dialog4ports usage.bdrewery2013-07-071-0/+48
| | | | Pointyhat to: eadler
* Remove dialogwrapper now that dialog4ports existseadler2013-07-072-50/+0
|
* Remove the last remnants of PKGINSTALLVER. It hasn't been used sincetijl2013-06-181-1/+1
| | | | | | | r231958 and the definition in bsd.port.subdir.mk generates a warning with bmake, pkgng and no pkg_info. Approved by: erwin
* Require versions of perl supporting smartmatch operator (~~)crees2013-05-301-0/+3
| | | | Submitted by: az
* Fix -c optioncrees2013-05-131-1/+2
| | | | | PR: ports/178193 Submitted by: tota
* Use MAINTAINER line for Submitted by: if Created by: does not exist.crees2013-05-131-2/+4
| | | | | | | Still prefer Created by because we still don't use real names in MAINTAINER lines (oh please let that change....) Submitted by: jgh (based on)
* - Use literal instead of constructor to avoid CALL_FUNCTION bytecode instructionsbz2013-05-102-14/+16
| | | | | | | | - Add add_patch method [1] - Update README wording and fix typo PR: ports/175984 [1] Submitted by: Christoph Mallon <christoph.mallon at gmx.de>
* Normalize FreeBSD.org address during conversion.ehaupt2013-05-071-0/+4
|
* - Remove Tools/scripts/modules, they're not used anymoreak2013-04-264-359/+0
| | | | Approved by: edwin (maintainer), portmgr (bapt)
* Add pgollucci's FreeBSD.org address also to the list of nice people.ehaupt2013-04-251-0/+1
| | | | Requested by: pgollucci
* Provide an option to not preserve the original file.ehaupt2013-04-251-3/+3
| | | | Requested by: eadler
* Use case insensitive "nice people" matchingehaupt2013-04-251-1/+1
|
* - Rework 'nice people' handlingehaupt2013-04-251-16/+64
| | | | - Properly handle non-default $MCom RCS strings
* - Update to 0.1.3 which only brings a -v option to allowbdrewery2013-03-281-1/+10
| | | | | | | supporting older versions for the stdout/stderr switching Approved by: Ilya A. Arkhipov <rum1cro@yandex.ru> (maintainer) With hat: portmgr
* Replace linebreak with space instead of comma in addresserwin2013-03-271-1/+1
| | | | list, to make the for loop lateron actually work.
* Revert to sending both stdout and stderr to the OPTIONSFILE for nowbdrewery2013-03-251-1/+1
| | | | | | | | as this change was not backwards compatible. A more robust solution checking the installed version and auto updating is needed. Pointyhat to: bdrewery With hat: portmgr
* - Update to 0.1.2bdrewery2013-03-251-1/+1
| | | | | | | | | | Changes: - Use stderr as the old dialog did, which fixes usage inside of jails - Add D4PMINHEIGHT and D4PALIGNCENTER (see dialog4ports(1)) Approved by: Ilya A. Arkhipov <rum1cro@yandex.ru> (maintainer) With hat: portmgr
* - Fix dialog4ports missing when PREFIX!=LOCALBASEbdrewery2013-03-211-1/+3
| | | | | | PR: ports/177174 Reported by: Hirohisa Yamaguchi <umq@ueo.co.jp> With hat: portmgr
* - Remove prompt for dialog4ports. Dialog4Ports is abdrewery2013-03-211-0/+37
| | | | | | | | | | | | | | | | required part of ports 'make config' now. This is seen as not much different than any other dependency. - Allow dialog4ports to work with INSTALL_AS_USER by building and using the port's WRKDIR version through a Tools/scripts wrapper - Add NO_DIALOG for 'config' as well. - Fix D4P environment variables not passing to dialog4ports: D4PHEIGHT, D4PWIDTH, D4PFULLSCREEN Reviewed by: miwi, bapt, rum1cro@yandex.ru Tested by: miwi, bapt, rum1cro@yandex.ru Tested by: bdrewery (small exp-run) Requested by: many
* Make check_deps behave the same as check_PRs:bapt2013-03-101-25/+21
| | | | propose to skip removing a port if anything depends on it, instead of infinite looping on "ignore the issue"
* Remove support for FreeBSD 7.xerwin2013-03-071-6/+2
|
* Don't hardcode makecrees2013-03-041-1/+1
| | | | Submitted by: az
* Apparently some people override PKGCATEGORY, socrees2013-03-041-3/+2
| | | | | | manually extract it from CATEGORIES again. Discovered by: dinoex
* Add myself to the list of people who don't need a Created by: line.brooks2013-03-011-1/+1
|
* Loosen regex to match additional emailseadler2013-02-161-1/+1
| | | | | | Add makc's alternate email Submitted by: makc
* - I hereby declare myself a "nice" persontabthorpe2013-02-161-1/+1
|
* Various spelling correctionscrees2013-02-091-5/+5
| | | | | | | | | | PR: ports/175331 Submitted by: Christoph Mallon Approved by: No objections within three weeks from any maintainer While here, style and duplicate phrase fixes in bsdcflow pkg-descr Submitted by: mi
* Add some checks for Subversion; minimum version required is 1.7, or addingcrees2013-02-031-0/+11
| | | | | | ports with subdirectories fails because of scattered .svn directories. Original issue reported by: netchild
* Add azeadler2012-12-171-1/+1
| | | | Fix regex - I had this locally but forgot to commit
* Make the regex stricter to avoid false positive matcheseadler2012-12-171-1/+1
| | | | | Add kuriyama to the list Add bapt's alternate email to the list
* Covert gnomedepends.py from Python 2 to Python 3.eadler2012-12-161-5/+5
| | | | No objections from: sobomax
* Add both of pgollucci's email addresseseadler2012-12-161-1/+1
| | | | | | | Add rm's alternate email address Add wxs If anyone else wants to be added please email me so we could batch them up into one set.
* I and Philip are Nice Peoplecrees2012-12-161-1/+1
|
* Teach the conversion script about all the nice people that offered to reduce ↵eadler2012-12-161-1/+5
| | | | the number of wasted bytes in the world
* Teach convert-makefile-header about the mcom header line.eadler2012-12-151-0/+13
| | | | Don't remove this when doing the conversion.
* prdone and prpatch were removed in r297358bdrewery2012-12-122-11/+2
|
* Strip svn:executable just in case it's been setcrees2012-12-101-0/+4
| | | | Reported by: db
* Document tool which converts from old style header to new styleeadler2012-11-291-0/+1
| | | | Feature safe: yes
* - Fix runtime utf-8 problems using codec encoder and system localesbz2012-11-061-3/+6
| | | | | | | PR: ports/173195 Submitted by: rm Reviewed by: sbz (myself) Feature safe: yes
* Use the 'Created by:' header option per default rather than the RCS onlyehaupt2012-10-301-5/+6
| | | | | | | header. Suggested by: adamw Feature safe: yes
* Add convert-makefile-header.pl, a perl script that converts old style Makefileehaupt2012-10-291-0/+111
| | | | | | headers to the new format. Feature safe: yes
* Freefall doesn't have LWP::Simple, so use /usr/bin/fetch to reduce dependenciescrees2012-10-291-3/+2
| | | | | Noticed by: thierry Feature safe: yes
* - Fix reference to the Additional Contributors' list due to renamingmadpilot2012-10-261-1/+1
| | | | | | | to .xml in r39631 Approved by: crees Feature safe: yes
* Silence svn update commands.erwin2012-10-211-4/+4
| | | | Feature safe: yes
* - Sync with the versions currently running on pointyhatbeat2012-10-202-105/+42
| | | | | | | - Use Subversion instead of CVS Approved by: erwin (maintainer) Feature safe: yes
* Sync with the version that's currently running on pointyhat:erwin2012-10-191-2/+5
| | | | | | | | | - be less verbose to be more friendly to running from cron - I've been running this script for several years now, not Kris - Send me a copy of the output for debugging Feature safe: yes
* Add MOVEDLint checks for some of the other formatting problemseadler2012-10-161-0/+7
| | | | | | seen in MOVED lines. Feature safe: yes
* Clean-up command-line options.ale2012-10-091-7/+3
| | | | Approved by: crees
* Make the removal diff nicer to read by not showing the line-by-line removal ↵eadler2012-09-241-1/+1
| | | | | | and instead replace it with "FILE has been deleted" Reviewed by: crees
* - prefix saved files (PR/patches) with PR_$numohauer2012-09-241-6/+9
| | | | | | PR: ports/171853 Submitted by: ohauer Approved by: miwi (maintainer) explicit per PM
* bsd.port.mk handles getting the primary category for uscrees2012-09-211-5/+4
| | | | | | Since Created by: line appears to be popular, get Submitted by: from that Old-style Makefile headers should no longer be used
* - Fix bytes problem returned by urlopen when using Python 3.xsbz2012-09-181-4/+4
|
* Accepts the new svn_revision tag in the removed ports xml database.crees2012-09-161-5/+11
| | | | | Apologies for the complexity of the code; it's optimised for speed. Soon I will be able to remove the section working with dates.
* - Set fbsd:nokeywords property value to the one recommended by the Portsbeat2012-09-101-1/+1
| | | | | | Subversion Primer. Approved by: mandree@ (maintainer)
* - Support Python 3.xsbz2012-09-061-1/+4
|
* By request, move dialogwrapper to the main folder and fix the readme.eadler2012-09-013-8/+2
| | | | Additionally, document the wrapper in the main readme
* Now that the headers have been removed, we no longer get the Whom line fromcrees2012-09-011-3/+3
| | | | | | | which to acquire the Submitted by: line. It should be reasonable to simply use the MAINTAINER line; unfortunately we lose the real name and only get the email address.
* Add $FreeBSD$ lineseadler2012-09-012-0/+4
| | | | reported by: crees
* By request, add dialog wrapper used to give the ports options dialogeadler2012-09-012-0/+150
| | | | | | | | | | | additional features such as: - extended descriptions - auto resizing - compatability with older dialog implementations Submitted by: wblock Reviewed by: ports@
* - Fix documentationsbz2012-08-303-27/+27
| | | | Submitted by: culot, gahr
* Fix the -y option to test for possible duplicate ports; use INDEX instead ofcrees2012-08-251-6/+7
| | | | | | modules file that was removed. It's fast, use it!
* Use "exec" when executing SVN with user-provided arguments,mandree2012-08-251-2/+2
| | | | | | | | | to avoid running SVN multiple times with command lines like the following: svn co --depth empty svn+ssh://svn.freebsd.org/ports/head ports Reported by: ak@ (on IRC)
* - Add getpatch script to download patch attachments on bug tracking systemssbz2012-08-233-0/+275
| | | | Approved by: portmgr (bapt)
* - Look for older versions of ports to copy over before committing.crees2012-08-211-13/+75
| | | | | | | | Requested by: several - Remove older readded ports from MOVED - Tighten up find syntax (split by null and use -print0)
* Changes over original script:mandree2012-08-211-49/+94
| | | | | | | | | | | | | | | | | | | | | | - FIX: all progress and error output goes to fd#2 (stderr) - FIX: at top level, properly detect commands if preceded by options - FIX: in checkstatus(), handle ~ (obstructed versioned item) - FIX: support blanks, leading dashes, and shell meta characters: + in file names, so as not to choke the script on difficult file names + in command line arguments, so that svn commit -m "commit message" works, rather than complaining about an unversioned file "message". - FIX: in checkstatus(), keep leading spaces from svn status - FIX: in setprop(), detect egrep errors, rather than assuming "no match" - ADD: die if "check" psvn-specific command has trailing arguments - CHANGE: replace `...` by more concise $(...) notation - CHANGE: take maintainership, offered by beat@. - SPEEDUP: in checkstatus(), use shell built-ins, rather than commands - SPEEDUP: when checking files, run svn only once, rather than for each file - SPEEDUP: when skipping "svn rm"-ed files, use ! -e rather than head|awk - TODO: handle long options for svn commit - TODO: do not stomp over svn:mime-type if it's already set (binary files!) Approved by: beat@ (maintainer)
* Don't replace - with _ in category variable.crees2012-08-101-3/+2
| | | | | | | | | | | | | This was required with CVS, since the category was checked out as a module, but the directory name is used with svn. For example: pcvs co ports_ports_mgmt svn co $ports/head/ports-mgmt Submitted by: swills
* - Remove duplicate execution of svn info [1]beat2012-07-191-4/+13
| | | | | | - Add description what the script actually does Submitted by: gahr [1]
* Support svn tooeadler2012-07-161-1/+1
|
* Remove support for CVS from MOVEDLinteadler2012-07-161-3/+1
| | | | Approved by: portmgr (beat)
* - Add a svn wrapper which does sanity checking and handles svn propertiesbeat2012-07-161-0/+136
|
* - Update addport and rmport to work with Subversionbeat2012-07-162-74/+56
| | | | Submitted by: crees, miwi
* s/X11BASE/LOCALBASE/, or equivalent.dougb2012-06-251-1/+1
| | | | The X11BASE variable is long gone, however these ports were not updated.
* Support conversion of make.conf-style files.crees2012-06-091-21/+91
| | | | | The script is very cautious, and may miss some; checking the results by hand is absolutely vital.
* Add script to convert old-style OPTIONS database files to new format.crees2012-06-041-0/+30
| | | | | If you are having trouble with saved OPTIONS not being recognised, just run this as root and you will have no further trouble!
* - Modify Additional Contributors path to match svncrees2012-05-311-2/+3
| | | | | | - Take maintainership Approved by: garga (maintainer)
* - Restore getpr, i still use it and i believe few other committers as wellmiwi2012-05-291-0/+93
| | | | - Take maintainership
* Remove obsolete PR handling scripts. These had hardcoded /home/ncvscrees2012-05-253-159/+0
| | | | Approved by: mharo (maintainer)
* Take maintainership-- thanks to vd for his past work on this scriptcrees2012-05-031-6/+11
| | | | | | | | | | | 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
* Spell plural LATEST_LINKs with a lowercase s to avoid confusionerwin2012-04-081-1/+1
| | | | | | | to the spelling of LATEST_LINK. Submitted by: gerald Feature safe: yes
* Document MOVEDlint in READMEeadler2012-02-171-0/+1
|
* - fix interpreter path for pythonpgollucci2012-02-124-4/+4
| | | | | PR: ports/154431 Approved by: sobomax (maintainer)
* If you have not yet run this script, I feel sorry for you.eadler2012-01-161-156/+0
| | | | Hat: x11
* Better wording to clarify the previous two commits.wxs2011-12-281-1/+2
| | | | Submitted by: dougb@
* Revert part of the previous commit, and make things a little more clear withwxs2011-12-281-1/+1
| | | | | | punctuation. Discussed with: eadler@
* - Remove some old duplicate words. They were getting in way of finding newer ↵eadler2011-12-273-3/+3
| | | | ones.
* - Fixed missing end-quote in sed commandglarkin2011-12-101-3/+3
| | | | | | | | | - Fixed some grammatical errors in output messages PR: ports/162506 Submitted by: "Conrad J. Sabatier" <conrads@cox.net> Approved by: sobomax (maintainer timeout - 1 month) Feature safe: yes
* INDEX-6 -> INDEX-8dougb2011-09-281-1/+1
| | | | Submitted by: gjb
* Add support from FreeBSD 10.xerwin2011-09-271-2/+6
|
* Add option (-y) to check for similarly named ports.crees2011-08-291-1/+35
| | | | | | PR: ports/159841 Submitted by: crees (me) Approved by: garga (maintainer)
* - Use optparse instead of old deprecated method.stas2011-08-231-14/+10
| | | | - Kill ruby 1.6 related stuff.
* - Fix options processing (optparse puts options into hash indexed by strings,stas2011-08-231-3/+3
| | | | not symbols).
* - Make it work with ruby 1.9.stas2011-08-231-6/+17
|
* - Back out category check for nowswills2011-08-161-6/+0
|
* - Remove obfuscation of submitter email at request of dougbswills2011-08-161-1/+6
| | | | - Add check that port is in right directory as I've been bitten by this
* Change shebang to #!/usr/bin/env perl, as required by bapt@garga2011-07-281-1/+1
|
* Remove duplicate words in comment.erwin2011-05-021-1/+1
| | | | Submitted by: ohauer
* Drop support for FreeBSD 6.x.erwin2010-12-141-7/+2
|
* - Switch to SHA256 checksumspav2010-11-181-11/+11
| | | | | PR: ports/152358 Submitted by: Volodymyr Kostyrko <c.kworr@gmail.com>
* - s/make/may/pgollucci2010-09-241-1/+1
| | | | Reported by: wxs
* -use a tab not a spacepgollucci2010-09-231-1/+1
|
* /8/9/ as the defaultpgollucci2010-09-231-1/+1
|
* blanket approvalpgollucci2010-09-231-0/+1
|
* check for repocopy snafuspgollucci2010-09-141-0/+43
|
* - Unbreak the -n flag;romain2010-06-061-6/+5
| | | | | | - Remove invalid reference to freefall. Approved by: garga
* - allow addport to work in ports-mgnt againdinoex2010-03-251-1/+1
| | | | Approved by: garga, drso, flz
* - Add a script to check unneeded dependencies for perl modules.kuriyama2010-01-292-0/+107
|
* Correct depreciation warning with Python 2.6 and fix several warningssobomax2009-11-211-19/+19
| | | | from the pytchecker.
* - Fixed "permission denied" errorglarkin2009-10-061-2/+2
| | | | | | - Prevented full ports tree build when operating with ~/.cvsrc PR: ports/139121
* Correctly bump PORTREVISION?= instead of always resetting to 1 in this case.gerald2009-09-151-1/+1
| | | | | PR: 138774 Approved by: edwin
* Add support for INDEX-9erwin2009-08-231-3/+8
|
* Explicitly override LOCALBASE to make sure we don't geterwin2009-07-142-0/+2
| | | | | | | confused by locally installed ports that might influence PKGNAME or other variables. Suggested by: pav
* Force cleaning of the environment from customized local settings.erwin2009-06-061-0/+5
|
* Use zfs snapshots that are periodically updated on pointyhat for theerwin2009-05-281-27/+78
| | | | | normal builds instead of a local cvs update. This speeds up the script several times and easies I/O on pointyhat.
* note mark_safe.plpgollucci2009-05-171-0/+1
|
* o don't set anything in ports with NO_BUILDpgollucci2009-05-171-3/+3
| | | | | o fix rubygem skipping o next, not die
* Do not mark rubygem ports, its a NO-OPpgollucci2009-05-161-0/+2
| | | | Discussed with: pav on irc (#bsdports)
* Make previous commit work for both context and unified input patches.itetcu2009-05-111-1/+1
|
* When naming the split patch files, replace the original path '/' with '__'itetcu2009-05-111-1/+1
| | | | instead of a single '_' to follow the current patch naming guidelines.
* - fix --port supportpgollucci2009-04-301-1/+3
| | | | - don't change the Makefile if MAKE_JOBS_(UN)SAFE is already present
* - Start some docspgollucci2009-04-301-11/+93
| | | | - Add --ports -p to specify a list on the cli
* Script to set MAKE_JOBS_(UN)SAFE= yes for a MAINTAINERs ports.pgollucci2009-04-221-0/+191
| | | | | | | Please be sure to completely test the results of running this _BEFORE_ committing several times and in a Tinderbox Feel free to commit to this file
* Use diff -p both when first creating and when updating a patch.naddy2009-02-161-1/+1
| | | | | Previously a patch created by update-patches would be changed again by the next update-patches run.
* Factor out the code that performs the PORTREVISION bump for one port.gerald2009-01-081-42/+47
| | | | Approved by: edwin
* Reduce per branch code duplicationerwin2008-12-281-41/+16
| | | | Submitted by: pgollucci
* Make sure we don't add ${WRKDIR}.sobomax2008-10-221-4/+4
|
* Have a different approach on how to check if the modules file has changed.edwin2008-07-141-9/+7
| | | | | | | | | | Because the $FreeBSD$ keyword isn't expanded in the new version, we can't just do a diff, check the return value and ignore the output. Every new modules file, changed or not with regarding to the contents, has at least four lines in the diff output (line number, old line, seperator, new line). Only commit it if there are more than four lines difference between it.
* Keep the sources of the CVSROOT-ports/modules update script safelyedwin2008-07-094-0/+361
| | | | in the ports CVS repository.
* [PATCH] Tools/scripts: Some cleanups, additions to bump_version.pledwin2008-07-061-28/+33
| | | | | | | | | | | | | | - added -c, doesn't change anything - added -n, deal with an already checkouted tree - removed negative logic in favor of 'unless' - switch to 3 arg form of open() - don't use globs for filehandles, this is been obsolete since at least 5.6.1 - handle possible errors in close() - allow CVSROOT to be overriden in the ENV PR: ports/125025 Submitted by: "Philip M. Gollucci" <pgollucci@p6m7g8.com>
* CVSROOT/modules no longer contains an entry per port, remove supporterwin2008-06-204-300/+9
| | | | for this from these scripts.
* Add support for "PORTREVISION?=" and "PORTEPOCH"edwin2008-06-061-52/+62
| | | | Tested on: devel/gettext bump
* Remove support for FreeBSD 5.xerwin2008-06-011-21/+1
|
* Add a tiny sh hack - ardiff - compares two archives.sat2008-05-072-0/+98
|
* Fix a problem when add new ports on ports-mgmt category. ports-mgmt/Makefilegarga2007-12-201-6/+13
| | | | | | | | | | lines has 3 spaces before SUBDIR word and all other categories has 4. I've asked pav@ if there is a default format of category Makefiles and he said the number of spaces doesn't matter, so, i fix addport to respect the current number of spaces and/or tabs the file has. Reported by: miwi, erwin
* - Add support for FreeBSD 8.0erwin2007-10-261-4/+25
| | | | | - Be more robust about param.h and allow space as well as tab as seperator while determining OSVERION
* s/query-pr.real/query-pr/ to fix getpr after freefall migrationgarga2007-10-161-1/+1
| | | | Discussed at: #bsdports
* Replace two further instances of /var/db/pkg by $PKG_DBDIR.gerald2007-09-171-2/+2
|
* Use PKG_DBDIR instead of hard-coding /var/db/pkg/. Do not silently revertgerald2007-09-091-3/+15
| | | | | | | to defaults for PORTSDIR and PKG_DBDIR if the respective directory does not exist, but bail out. Approved by: netchild
* explicit_lib_depends.sh:netchild2007-09-053-14/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - check if an installed libtool records dependencies recursively and print a warning if it does currently it prints the warning on every system which has libtool installed from ports (only my local version doesn't do this, the version in the ports is not correctly patched for this, a patch similar in complexity (= simple) like the ltdl.m4 one in the libtool-port-patch-directory is needed) - enhance the regex which is responsible to not print a dependency to the port we are just checking - add a work in progress (not executed) to collapse the USE_* which can have more than one value neededlibs.sh: - we also care about shared libs resolveportsfromlibs.sh: - take care about USE_OPENSSL, USE_EFL, USE_GL, USE_FAM, USE_OPENLDAP, USE_SDL - search in the "ldconfig -r" output if we can not find the lib ourself - a better way of getting the first part of the LIB_DEPENDS stuff (lib/libXYZ.so can be specified now too) - some line wrapping + whitespace - print the origin for the USE_* too (except USE_OPENSSL), so an user can make some sanity checks and the explicit_lib_depends.sh can DTRT if we check the USE_* port itself - warn if we can not determine the right component (can happen for XORG) unambiguously.
* One more sanity check, else /+CONTENS will be searched.netchild2007-08-311-0/+5
|
* USE_FREETYPE is for v1, not for v2. Use a perfect match in the case statement.netchild2007-08-311-4/+5
|
* Do not list libs which come with the port itself.netchild2007-08-261-2/+5
|
* Add explicit_lib_depends.sh.netchild2007-08-261-0/+2
|
* - Add USE_FREETYPE.netchild2007-08-261-1/+5
| | | | | - Print the portsdir variable in front of the origin for easy copy und paste of the output.
* We should also look into sbin/ (not only bin/ and lib/).netchild2007-08-241-1/+1
|
* explicit_lib_depends.sh shows you the current explicit dependency list ofnetchild2007-08-241-0/+115
| | | | | | | | | | | | | | | | | libs for a given installed port, e.g.: # ./explicit_lib_depends.sh gnome-vfs-2.18.1_2 USE_GETTEXT=yes USE_GNOME+=gconf2 USE_GNOME+=glib20 USE_GNOME+=gnomevfs2 USE_GNOME+=libxml2 USE_GNOME+=orbit2 USE_ICONV=yes avahi-client:net/avahi avahi-common:net/avahi avahi-glib:net/avahi dbus-1:devel/dbus dbus-glib-1:devel/dbus-glib
* Teach about USE_ICONV, USE_GETTEXT, USE_GNOME and USE_XORG.netchild2007-08-241-1/+38
|
* Add 2 scripts which help in port maintenance to list all direct librarynetchild2007-08-123-0/+170
| | | | | | | | | | | | | | | 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)
* - Extract command variable definitions from bsd.port.mk, they are now stored ingabor2007-08-041-40/+10
| | | | | | | | | bsd.commands.mk and can be easily reused within the infrastructure. - Revert old DESTDIR implementation. - Add a new, fully chrooted DESTDIR implementation as bsd.destdir.mk. Sponsored by: Google Summer of Code 2007 Approved by: portmgr (pav)
* ARCH may be set in the environment for cross building, so onlyerwin2007-06-121-2/+4
| | | | | | set it conditionally. Submitted by: kris
* Set default architecture to i386.erwin2007-06-121-0/+3
|
* - Welcome X.org 7.2 \o/.flz2007-05-201-0/+156
| | | | | - Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
* Fix addport to work correctly with ports-mgmt category.garga2007-04-201-1/+1
| | | | | Reported by: miwi Tested by: miwi
* Use echo instead of printf because external commands cannot be executedvd2007-03-291-3/+3
| | | | | | | | | | | 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
* * Run cvs update just before cvs commit to sync a potentially changed filesvd2007-02-191-2/+5
| | | | | in the repository. Suggested by: gabor@ * Fix typo in the output