aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* 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
* - Fix 'make index' when system is built with WITHOUT_PORTSNAP bybdrewery2013-10-081-0/+180
| | | | | | | falling back on the perl make_index if needed. With hat: portmgr Reported by: ade
* no longer point to NO_LATEST_LINK but to PKGNAMESUFFIX instead.erwin2013-10-071-4/+3
| | | | Also mention the latest portmgr blog post.
* Use the portsnap version of make_index instead of the perl version.bapt2013-10-071-180/+0
| | | | Submitted by: ak
* 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
* Fix readme building.ehaupt2011-08-121-10/+10
|
* 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
* Remove portbuild scripts from pcvs, as they now live in svn/projects.flz2011-04-2572-9079/+0
|
* Add some definitions to try to limit the number of times we let buildslinimon2011-04-231-0/+7
| | | | fail before we stop. This should help avoid spamming people's mboxes.
* Allow the top-level build to be destroyed. This is useless forlinimon2011-03-241-9/+27
| | | | | | | | | pointyhat, but is intended for pointyhat-[west|east] to be able to remove no longer needed specialized -exp runs. (They remain in the errorlog archive; they can merely be removed from zfs.) Replace this test with an anti-foot-shooting measure so that you cannot remove 'latest' unless you have already removed 'previous'.
* - Stop caring about src-6 snaps and expire checkout snaps rather morepav2011-03-221-6/+4
| | | | aggresively
* Add an error entry for gmake.linimon2011-03-091-0/+6
|
* Add a test for gmake 3.82 regressions. (3.82 is not in the tree yet).linimon2011-03-091-2/+4
| | | | | While here, move segfault down: sometimes this is a false positive for a config failure.
* Add an alternate spelling for a link.linimon2011-03-041-1/+1
|
* Add an overly-large regexp to isolate "packages that fail to build withlinimon2011-02-271-0/+3
| | | | | | | clang". This will probably need to be trimmed down some so as to not pessimize processing time. At this time this change will be restricted to pointyhat-west.
* One more pass through this file to bring it up to the latest processonelog:linimon2011-02-271-53/+70
| | | | | | | | | | - deprecate assert, chown, perl5, python, stdio, sysvipc, varargs - add the existing nested_declaration, termios, utmp_x While here, fix formatting. Pointy hat to: linimon, for letting this get so far out of sync
* For efficiency's sake, deprecate the following error types, which we no ↵linimon2011-02-271-34/+13
| | | | | | | | | | | | longer see: chown, perl5, python, stdio, struct changes, sysvipc, USE_XLIB, varargs Add the following new error types that we are now seeing: clang-bug, cpusetsize, sem_wait Tweak the definitions for linker_error and threads to be more accurate.
* Sheesh. The errors "f77" and "uname" were never even documented. Addlinimon2011-02-271-0/+11
| | | | the into the section for obsolete errors.
* Move some of the error types that were removed from the script some timelinimon2011-02-271-26/+26
| | | | ago to the "obsolete" section.
* Add the following new error classifications, to sync with upcoming worklinimon2011-02-251-4/+30
| | | | | | | | | | | | | to processonelog (not yet committed): clang clang-bug cpusetsize sem_wait The former two will show up if an -exp run is done with clang as the default ports compiler, instead of gcc. The latter two seem to be ports regressions in 9-CURRENT.
* Remove 6.x links since it is EOL. (For now, the error logs remain).linimon2011-02-221-66/+13
| | | | | While here, change the misnomer Full to Previous, but leave the links alone until we upgrade pointyhat to the latest codebase.
* Make table headers more selfexplanatoryerwin2011-02-061-1/+1
| | | | | Submitted by: gerald Feature safe: yes
* 7.1 runs EOL today, start building against 7.3erwin2011-01-311-1/+1
| | | | Feature safe: yes
* Change the "unclean build" handling case to not retry. Previously, itlinimon2011-01-261-1/+1
| | | | | | | | | | | was handled the same as "waiting for chroot" and retried. In certain circumstances (e.g. a prerequisite package shown as being avaialable when it really wasn't), this would cause a package build to loop forever. Note to future generations: I did not write this code. Feature safe: yes
* Fix typo in fixed-up tar command to suppress a whoooole lot of junklinimon2011-01-241-1/+1
| | | | | | | output on package builds. Pointy hat: self Feature safe: yes
* Add an entry for the 'dirent' error.linimon2011-01-241-0/+6
| | | | | Noticed by: Anton Shterenlikht Feature safe: yes
* Add anti-foot-shooting measure.linimon2011-01-231-1/+1
| | | | Feature safe: yes
* Export BACKUP_FTP_SITE for the generalized make.conf files inlinimon2011-01-231-0/+3
| | | | | | | bindist-*.tar (so that they can be shared between pointyhat and pointyhat-west without modification.) Feature safe: yes
* Add CLIENT_BACKUP_FTP_SITE as part of a generalization push betweenlinimon2011-01-231-0/+3
| | | | | | bindist-*.tar files on pointyhat and pointyhat-west. Feature safe: yes
* Force the copy of portbuild.* files as files, not symlinks. Adjustlinimon2011-01-231-2/+5
| | | | | | the comment for bindist-* to match. Feature safe: yes
* Revert to RELENG_7_1 after consultation with re@erwin2011-01-181-1/+1
| | | | | Feature safe: yes (this time for real) Approved by: portmgr,re
* Bump 7-stable to RELENG_7_4 due to a major library version increaseerwin2011-01-151-1/+1
| | | | | | in libcrypto. Feature safe: yes (really, really not, but we don't have any other option)
* rmdir(1) does not take -f.erwin2011-01-061-1/+1
|
* Drop support for 6.x and bump 8.x to 8.1-RELEASEerwin2010-12-211-3/+2
|
* Remove debugging code that crept in.linimon2010-12-171-1/+1
|
* Refactor the client-side. It turns out that the evaluation of param.hlinimon2010-12-161-20/+21
| | | | | | | | | was being done before the src tree had been mounted. This was not a problem in the old codebase, since it simply got the wrong src tree to start with. This actually simplifies the code.
* If the logfile was not correctly copied from the client back to the server,linimon2010-12-161-10/+15
| | | | do not attempt to process it.
* Make sure that PKGSUFFIX and LOCALBASE are really defined. (Things worklinimon2010-12-161-6/+8
| | | | | | | _very_ badly if they aren't.) Also, track the refactoring of buildenv so that the proper src tree bits are picked up.
* Drop support for FreeBSD 6.x.erwin2010-12-141-7/+2
|
* common.conf has to be copied over as well as client.conf.linimon2010-12-091-4/+4
|
* Refactor some variables that need to be in sync between the server-sidelinimon2010-12-012-6/+3
| | | | | | | and client-side definitions into common.conf. While here, slide the 7-stable release to 7.3. This was driving me crazy while trying to debug the INDEX and duds problems.
* It turns out that some variables have to be shared between the server-sidelinimon2010-12-011-0/+21
| | | | | | | | definitions and the client-side definitions. While here, add ARCHS_SUPPORTING_COMPAT_IA32, which is needed to get linux emulation ports to be properly detected on head nodes that are build from first principles (e.g. !pointyhat).
* Canonicalize the use of SRC_BASE to fix INDEX and duds builds on headlinimon2010-12-011-24/+38
| | | | | | | | | | | | nodes that don't have /usr/src. On pointyhat, this "just happens to work"; on a cleanly installed system like pointyhat-west, it didn't. Add overrides for Linux compatibility (again, it "just happened to work" on pointyhat). Move the code that sets PORTSDIR and SRC_BASE to the server side only. The code that overrides OSVERSION, OSREL, and BRANCH _must_ remain in the common code.
* Canonicalize the use of SRC_BASE to fix INDEX and duds builds on headlinimon2010-12-013-9/+16
| | | | | nodes that don't have /usr/src. On pointyhat, this "just happens to work"; on a cleanly installed system like pointyhat-west, it didn't.
* Make an rm command quieter; add some debug comments.linimon2010-12-011-1/+3
|
* Although I was going to try to avoid it, it turns out that it islinimon2010-12-019-0/+9
| | | | | | impossble to have merely "server.conf" and "client.conf" control everything on a head node. Some pieces must be refactored into "common.conf".
* Rename internal variables to correspond to their actual uses; automaticallylinimon2010-12-011-4/+23
| | | | create the links for the webserver; add some comments.
* Add some debug code to attempt to work around the "too many stale chroots"linimon2010-12-011-0/+7
| | | | problem, until it can be correctly understood and fixed.
* Add a debug setting (commented out).linimon2010-11-291-0/+3
|
* Move the override of PKG_DBDIR to the right place. This keeps INDEXlinimon2010-11-291-3/+3
| | | | from being contaminated by the packages installed on pointyhat-*.
* - Switch to SHA256 checksumspav2010-11-181-11/+11
| | | | | PR: ports/152358 Submitted by: Volodymyr Kostyrko <c.kworr@gmail.com>
* Retire the broken fenner distfile survey in favor of the new onelinimon2010-10-071-6/+2
| | | | being maintained by ehaupt.
* Attempt to shut down some whining when the resultant script is run.linimon2010-10-071-1/+1
|
* - 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
|
* Fix it for real this time.linimon2010-08-171-7/+13
|
* Restore the display of statistics for non-mainline runs.linimon2010-08-161-1/+1
|
* Add some missing error handling.linimon2010-08-161-0/+4
|
* Handle yet another error case.linimon2010-08-151-0/+3
|
* Correct some misleading documentation.linimon2010-08-101-3/+3
|
* Fix braino from production.linimon2010-08-022-2/+2
|
* Fix mishandling of root/all case.linimon2010-07-302-12/+10
|
* Push PACKAGE_BUILDING and MALLOC_OPTIONS up a level.linimon2010-06-301-4/+2
| | | | Feature safe: yes
* Remove now-redundant setting of PACKAGE_BUILDING.linimon2010-06-302-2/+0
| | | | Feature safe: yes
* Fix up usage of buildenv.client to deal with overenthusiasticlinimon2010-06-301-3/+5
| | | | | | | refactoring. Pick up new CLIENT_MALLOC_OPTIONS parameter. Clean up comments. Feature safe: yes
* Add CLIENT_MALLOC_OPTIONS.linimon2010-06-301-0/+3
| | | | Feature safe: yes
* The previous refactoring was too agressive. SRCBASE and friends are usedlinimon2010-06-301-15/+20
| | | | | | | on both the client side and server side. Pointy hat to: self Feature safe: yes
* Correct the URLs; 'http://' is not included in MASTER_URL.linimon2010-06-281-7/+7
| | | | Feature safe: yes
* Document some hard-coded stuff in the scripts.linimon2010-06-261-0/+22
| | | | Feature safe: yes
* A script that can be remotely run on package build clients to attempt tolinimon2010-06-261-0/+10
| | | | | | clean up problems with squid. Feature safe: yes
* Generalize the packge building scripts to be able to be run on more thanlinimon2010-06-262-4/+8
| | | | | | | | | | | | | one 'head' node, rather than just pointyhat itself. Constants are factored out into installation-specific files known as portbuild/conf/server.conf and portbuild/conf/client.conf. There is only one server.conf file. Individual <arch> directories may have their own client.conf files, or may symlink to ../conf/client.conf. NOTE: these scripts are not yet parameterized, so this is WIP. Feature safe: yes
* Generalize the packge building scripts to be able to be run on more thanlinimon2010-06-262-62/+37
| | | | | | | | | | | | | | | | | | | | | one 'head' node, rather than just pointyhat itself. Constants are factored out into installation-specific files known as portbuild/conf/server.conf and portbuild/conf/client.conf. There is only one server.conf file. Individual <arch> directories may have their own client.conf files, or may symlink to ../conf/client.conf. Several bugs are fixed and improvements are made: - parameterize everything. - switch to csup. (This necessitates pushing the repos down one directory level, e.g. ports-head/ports and src/src-8. However, this will give us the flexibility to have e.g. src/src-8.1 in the future.) - note that the misnomer filename 'cvsdone', which was created here, is now changed to '.updated'. Feature safe: yes
* Generalize the packge building scripts to be able to be run on more thanlinimon2010-06-261-3/+5
| | | | | | | | | | | | | one 'head' node, rather than just pointyhat itself. Constants are factored out into installation-specific files known as portbuild/conf/server.conf and portbuild/conf/client.conf. There is only one server.conf file. Individual <arch> directories may have their own client.conf files, or may symlink to ../conf/client.conf. While here, do some refactoring. Feature safe: yes
* Generalize the packge building scripts to be able to be run on more thanlinimon2010-06-261-2/+2
| | | | | | | | | | | | | one 'head' node, rather than just pointyhat itself. Constants are factored out into installation-specific files known as portbuild/conf/server.conf and portbuild/conf/client.conf. There is only one server.conf file. Individual <arch> directories may have their own client.conf files, or may symlink to ../conf/client.conf. Note the change of the misnomer filename 'cvsdone' to '.updated'. Feature safe: yes
* Generalize the packge building scripts to be able to be run on more thanlinimon2010-06-261-19/+22
| | | | | | | | | | | | | | | | | one 'head' node, rather than just pointyhat itself. Constants are factored out into installation-specific files known as portbuild/conf/server.conf and portbuild/conf/client.conf. There is only one server.conf file. Individual <arch> directories may have their own client.conf files, or may symlink to ../conf/client.conf. Several bugs are fixed and improvements are made: - suppress error message if there are no logs yet. - change the misnomer filename 'cvsdone' to '.updated'. - fix a bug by un-escaping '_' in the timestamp. Feature safe: yes
* Generalize the packge building scripts to be able to be run on more thanlinimon2010-06-261-3/+8
| | | | | | | | | | | | | one 'head' node, rather than just pointyhat itself. Constants are factored out into installation-specific files known as portbuild/conf/server.conf and portbuild/conf/client.conf. There is only one server.conf file. Individual <arch> directories may have their own client.conf files, or may symlink to ../conf/client.conf. While here, fix error messages displayed on new runs. Feature safe: yes
* Generalize the packge building scripts to be able to be run on more thanlinimon2010-06-261-29/+46
| | | | | | | | | | | | | | | | | | | one 'head' node, rather than just pointyhat itself. Constants are factored out into installation-specific files known as portbuild/conf/server.conf and portbuild/conf/client.conf. There is only one server.conf file. Individual <arch> directories may have their own client.conf files, or may symlink to ../conf/client.conf. *very* carefully note where the exported variables are consumed. Several bugs are fixed and improvements are made: - the file UNAME_VERSION appears unused, so it is removed. The information is passed in overrides to uname(1). - parameterize arch-specific setup code. Feature safe: yes
* Generalize the packge building scripts to be able to be run on more thanlinimon2010-06-261-9/+11
| | | | | | | | | | | one 'head' node, rather than just pointyhat itself. Constants are factored out into installation-specific files known as portbuild/conf/server.conf and portbuild/conf/client.conf. There is only one server.conf file. Individual <arch> directories may have their own client.conf files, or may symlink to ../conf/client.conf. Feature safe: yes
* Generalize the packge building scripts to be able to be run on more thanlinimon2010-06-261-4/+16
| | | | | | | | | | | | | | one 'head' node, rather than just pointyhat itself. Constants are factored out into installation-specific files known as portbuild/conf/server.conf and portbuild/conf/client.conf. There is only one server.conf file. Individual <arch> directories may have their own client.conf files, or may symlink to ../conf/client.conf. Note the removal of the hard-coding of INDEX.N, where N has to be a single digit, and also have no '.' in it. Feature safe: yes
* Generalize the packge building scripts to be able to be run on more thanlinimon2010-06-261-21/+6
| | | | | | | | | | | | | one 'head' node, rather than just pointyhat itself. Constants are factored out into installation-specific files known as portbuild/conf/server.conf and portbuild/conf/client.conf. There is only one server.conf file. Individual <arch> directories may have their own client.conf files, or may symlink to ../conf/client.conf. Note the very special handling of cvs tag. Feature safe: yes