summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* Retire PORTOBJFORMATkris2007-02-011-1/+1
|
* Drop the build on RELENG_4erwin2007-01-301-20/+1
|
* A bunch of cosmetic changes - add one empty line to make the output morevd2007-01-261-6/+7
| | | | readable and use double quotes everywhere.
* Make output messages more usefulvd2007-01-261-1/+5
|
* * Make it possible to skip existing dependencies and ports references in LEGALvd2007-01-191-39/+67
| | | | | | and continue with removal anyway. Requested by miwi@ * Pipe dependencies information (if any) through a PAGER because INDEX lines are very long and hard to read when wrapped
* Query Gnats for PRs by using the query-pr command on freefall instead of thevd2006-12-201-2/+22
| | | | web-interface becase the later is not reliable.
* Add check for existing non-closed PRs related to the port being removed.vd2006-12-131-1/+65
| | | | | If any are found then ask if the port should be skipped from removal or removed regardless of the PRs.
* Replace a simple call to localtime() to strftime() to include theerwin2006-11-231-1/+2
| | | | timezone.
* eik@ has been inactive for quite some time and as I am runningerwin2006-11-234-3/+6
| | | | | these scripts on the cluster, transfer maintainership of these to myself.
* Include a time when the script was started in the mail templates.erwin2006-11-231-5/+16
| | | | | | | This script can sometimes take several hours to run on builder, and thus leading to confusing of why it still reports an error that was fixed in cvs some time ago. Including the time when the ports tree was updated should reduce some of this confusion.
* Add deprecated reason to the output of -Fvd2006-11-021-2/+6
|
* * Create custom commit message template and populate it with the portsvd2006-11-011-16/+88
| | | | | | | | | | | to be removed, possibly with the expiration date and deprecated reason * If port is not marked for expiration than put "Removed" in ports/MOVED entry instead of "Has expired" * Implement -a option to remove all expired ports * Ask if the cvs diff output should be recreated/reviewed again thus giving the committer a chance to edit files by hand and view diff results afterwards * Cosmetic changes
* When checking for dependencies of foocategory/barport also find constructsvd2006-10-051-1/+1
| | | | | like .../barport/something e.g. expect either space, slash or eol after port's name
* When checking dependencies also look for portname references in Mk/*.mkvd2006-09-141-5/+5
| | | | in addition to */*/Makefile* and ignore references in comments
* Remove grep's -w switch from the dependency check since it misses somevd2006-09-121-1/+1
| | | | | dependencies. This needs some more polishing but for now it is better to emit false positives than skip dependencies.
* Add support for DESTDIR part I.erwin2006-08-041-10/+40
| | | | | | | | | | | | | | This commit should largele be a NOOP as it only adds support for DESTDIR undefined. This does allow us to start testing ports with DESTDIR set, but this is as of yet not supported. Although this has been extensively tested on pointyhat, this is a very intrusive change and some cases may have been overlooked. Please contact Gabor and me if you find any. PR: 100555 Submitted by: gabor Sponsored by: Google Summer of Code 2006
* Add an option to the addport script: -b requests that any files inshaun2006-07-141-3/+22
| | | | | | | | ${FILESDIR} which look like patches be treated as binary files. This prevents RCS tags in patch fragments causing a problem for CVS. Approved by: garga (maintainer), ahze (mentor, implicit)
* Escape characters (like +) that may appear in ports' names andvd2006-07-051-2/+13
| | | | break sed -E regular expressions
* When automatic commit log is generated, change @ to " at " on submitter emailgarga2006-07-041-0/+1
| | | | to prevent spam
* MFP4:erwin2006-06-221-1/+1
| | | | | Actually use ${SCP_DEST_TMP} to fix the case where SCP_DEST_TMP != /tmp/
* MFP4:erwin2006-06-191-6/+24
| | | | | | When copying INDEX to the server, copy it first to a staging area and first then to the real location. The copying can take long enough for users to get a truncated file when downloading during the upload.
* - Change addport script to do the job locally instead connect to freefall everygarga2006-05-162-18/+39
| | | | | | | | | | time to add a new module. If you want to still use old way, just use "-M freefall.FreeBSD.org" option - Take addport maintainership - When modulesupdate fail, ask user to retry - Change modulesupdate to work fine with addport Approved by: will (maintainer)
* Add support for specifying ports to be removed as directories on thevd2006-05-021-1/+27
| | | | | | | | filesystem (either absolute or relative) in addition to `category/port'. PR: ports/96649 Submitted by: Cheng-Lung Sung <clsung@freebsd.org> Reworked by: vd
* Improve dependency check:vd2006-05-021-2/+3
| | | | | | When removing category/port - look if other ports' Makefiles contain `/port' rather than `category/port', since the later misses things like `${.CURDIR}/../port'
* Add support for removing multiple ports which depend on each othervd2006-04-171-36/+48
|
* Quote ${1} so we don't get ``[: =: unexpected operator'' if the scriptvd2006-04-121-1/+1
| | | | is started without arguments.
* Add the script I use to remove ports so everyonevd2006-04-101-0/+315
| | | | can benefit (or suffer :-) from it.
* Warn if there are duplicate MD5/SHA256/SIZE statements for a single fileedwin2006-01-241-3/+33
|
* Small tool to check the necessary lines in the distinfo files, basededwin2006-01-241-0/+105
| | | | | | | | | | | | | | | on the contents of the distinfo files. # # Small tool to find distinfo with missing MD5/SHA256/SIZE statements, # based on the assumption that if there is one of the MD5/SHA256/SIZE # statements, then there should be all of them (except for SIZE # when MD5/SHA256 is set to IGNORE). # # Usage: distinfochecker [-v] [-d directory] # -v - verbose (print) # -d - use directory instead of /usr/ports #
* Support 7.x INDEX buildskris2006-01-221-16/+37
| | | | | Add a few more local configuration variables Minor cleanups
* Add portsvar.sh schell script into Tools/scripts.daichi2006-01-111-0/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | portsvar.sh - print out variable defined through bsd.port.mk example: % portsvar.sh PORTSDIR OSVERSION PORTSDIR = /usr/ports OSVERSION = 600034 % portsvar.sh -e "PORTS[^_]" PORTSDIR = /usr/ports PORTSSUPFILE = /usr/share/examples/cvsup/ports-supfile % portsvar.sh USE_RUBY=yes RUBY_VER RUBY_ARCH RUBY_VER = 1.8 RUBY_ARCH = i386-freebsd6 % portsvar.sh -w ruby RUBY_VER RUBY_ARCH RUBY_VER = 1.8 RUBY_ARCH = i386-freebsd6 % portsvar.sh -w kde -e KDE_ KDE_MAINTAINER = will@FreeBSD.org KDE_ORIGVER = ${KDE_VERSION} KDE_PREFIX = ${LOCALBASE} KDE_VERSION = 3.5.0 MASTER_SITE_KDE_kde = ${kmaster:S@%SUBDIR%/@@g} % portsvar.sh -a list all variables through bsd.port.mk % portsvar.sh -a -w kde list all variables through bsd.port.mk including kde portsvar.sh is easy tool to check out the variables used in /usr/ports/Mk/bsd.*.mk.
* Utility: A tool to identify similar pkg-descr filesedwin2005-11-261-0/+24
| | | | | | | | | | The ports tree contains many tools with almost-similar names and no helpful pkg-descr difference. The goal of pkg-descr would be to aid the user in his choice of port version. Ergo, similar pkg-descr files are bad. PR: ports/89432 Submitted by: Jonathan <afarsec@012.net.il>
* - Add a new option -L, it works like -l but uses pkg-descr to creategarga2005-10-041-17/+30
| | | | | | commit message. Approved by: will (maintainer)
* Remove some hardcoded values to hopefully stop random users from shootingkris2005-09-081-12/+27
| | | | | | their feet off in public. Suggested by: adamw
* - Handle different INDEX filename on 5.X and abovepav2005-09-041-2/+5
| | | | | PR: ports/85281 Submitted by: Vasil Dimov <vd@datamax.bg>
* Add prototypes for all the subroutines which fixes compilation withmarcus2005-07-101-9/+20
| | | | | | Perl 5.8.7. Reported by: mezz
* Fix typosvs2005-04-181-3/+3
| | | | Approved by: sobomax
* As discussed on the cvs-ports-list, make 'addport' print a warning if the ↵vs2005-04-121-0/+1
| | | | | | | | | directory name contains upper-case characters as it makes finding a port harder. PR: ports/79679 Approved by: will, portmgr(krion)
* Add a splitpatch.pl utility, a small script to convert multi-filetobez2005-04-122-0/+112
| | | | | | patches to several appropriately named single-file patches. Requested by: flz
* - Add bump_revision.pl, a small script to bump the PORTREVISION variableflz2005-04-122-1/+193
| | | | | | | | | | of ports which are depending on a port with a changed shared lib version. Edwin dedicates this script to his son Dirk, born few days ago :) Congrats (again) ! PR: ports/63915 Submitted by: edwin
* - Replace pkg-comment with COMMENT to reflect latest (*sigh*) changesflz2005-04-111-2/+2
| | | | | | | | in the ports framework. PR: ports/62767 Submitted by: Igor Pokrovsky <tiamat@comset.net> Approved by: maintainer timeout (> 8 months)
* Checkout Templates from CVS as well since ports with GNU_CONFIGURE willvs2005-03-201-0/+2
| | | | | | need them when building from 'addport -a -t'. Approved by: will
* Document the check-latest-link and tindex scriptskris2005-01-241-1/+5
|
* Add the script I use to look for duplicate LATEST_LINK entries and tokris2005-01-241-0/+72
| | | | send nag-mails to the responsible maintainers.
* This is the script I use to build indexes for all supported ports branches,kris2005-01-241-0/+164
| | | | | | which are copied to www.freebsd.org for use by 'make fetchindex', as well as the source of build failure reports on ports@FreeBSD.org when it is broken.
* Remove traling spaces.krion2005-01-0915-20/+20
|
* Newline should go after the terminating punctuation (fix typo).dd2004-11-071-1/+1
| | | | Approved by: will
* Strip out date/time from +++/--- headers in generated patchfiles, so that theysobomax2004-10-141-11/+12
| | | | don't generate extra hunk each time patchfile is updated.
* Avoid possible GNATS timeouts by using query-pr.real direclty.krion2004-07-281-1/+1
|
OpenPOWER on IntegriCloud