aboutsummaryrefslogtreecommitdiff
path: root/Tools/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Replace a simple call to localtime() to strftime() to include theErwin Lansing2006-11-231-1/+2
| | | | | | | timezone. Notes: svn path=/head/; revision=177903
* eik@ has been inactive for quite some time and as I am runningErwin Lansing2006-11-234-3/+6
| | | | | | | | these scripts on the cluster, transfer maintainership of these to myself. Notes: svn path=/head/; revision=177889
* Include a time when the script was started in the mail templates.Erwin Lansing2006-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. Notes: svn path=/head/; revision=177885
* Add deprecated reason to the output of -FVasil Dimov2006-11-021-2/+6
| | | | Notes: svn path=/head/; revision=176172
* * Create custom commit message template and populate it with the portsVasil Dimov2006-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 Notes: svn path=/head/; revision=176028
* When checking for dependencies of foocategory/barport also find constructsVasil Dimov2006-10-051-1/+1
| | | | | | | | like .../barport/something e.g. expect either space, slash or eol after port's name Notes: svn path=/head/; revision=174530
* When checking dependencies also look for portname references in Mk/*.mkVasil Dimov2006-09-141-5/+5
| | | | | | | in addition to */*/Makefile* and ignore references in comments Notes: svn path=/head/; revision=173021
* Remove grep's -w switch from the dependency check since it misses someVasil Dimov2006-09-121-1/+1
| | | | | | | | dependencies. This needs some more polishing but for now it is better to emit false positives than skip dependencies. Notes: svn path=/head/; revision=172833
* Add support for DESTDIR part I.Erwin Lansing2006-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 Notes: svn path=/head/; revision=169648
* Add an option to the addport script: -b requests that any files inShaun Amott2006-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) Notes: svn path=/head/; revision=167733
* Escape characters (like +) that may appear in ports' names andVasil Dimov2006-07-051-2/+13
| | | | | | | break sed -E regular expressions Notes: svn path=/head/; revision=166972
* When automatic commit log is generated, change @ to " at " on submitter emailRenato Botelho2006-07-041-0/+1
| | | | | | | to prevent spam Notes: svn path=/head/; revision=166944
* MFP4:Erwin Lansing2006-06-221-1/+1
| | | | | | | | Actually use ${SCP_DEST_TMP} to fix the case where SCP_DEST_TMP != /tmp/ Notes: svn path=/head/; revision=166044
* MFP4:Erwin Lansing2006-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. Notes: svn path=/head/; revision=165776
* - Change addport script to do the job locally instead connect to freefall everyRenato Botelho2006-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) Notes: svn path=/head/; revision=162578
* Add support for specifying ports to be removed as directories on theVasil Dimov2006-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 Notes: svn path=/head/; revision=161185
* Improve dependency check:Vasil Dimov2006-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' Notes: svn path=/head/; revision=161174
* Add support for removing multiple ports which depend on each otherVasil Dimov2006-04-171-36/+48
| | | | Notes: svn path=/head/; revision=159777
* Quote ${1} so we don't get ``[: =: unexpected operator'' if the scriptVasil Dimov2006-04-121-1/+1
| | | | | | | is started without arguments. Notes: svn path=/head/; revision=159354
* Add the script I use to remove ports so everyoneVasil Dimov2006-04-101-0/+315
| | | | | | | can benefit (or suffer :-) from it. Notes: svn path=/head/; revision=159244
* Warn if there are duplicate MD5/SHA256/SIZE statements for a single fileEdwin Groothuis2006-01-241-3/+33
| | | | Notes: svn path=/head/; revision=154391
* Small tool to check the necessary lines in the distinfo files, basedEdwin Groothuis2006-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 # Notes: svn path=/head/; revision=154320
* Support 7.x INDEX buildsKris Kennaway2006-01-221-16/+37
| | | | | | | | Add a few more local configuration variables Minor cleanups Notes: svn path=/head/; revision=154191
* Add portsvar.sh schell script into Tools/scripts.Daichi GOTO2006-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. Notes: svn path=/head/; revision=153236
* Utility: A tool to identify similar pkg-descr filesEdwin Groothuis2005-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> Notes: svn path=/head/; revision=149525
* - Add a new option -L, it works like -l but uses pkg-descr to createRenato Botelho2005-10-041-17/+30
| | | | | | | | | commit message. Approved by: will (maintainer) Notes: svn path=/head/; revision=144178
* Remove some hardcoded values to hopefully stop random users from shootingKris Kennaway2005-09-081-12/+27
| | | | | | | | | their feet off in public. Suggested by: adamw Notes: svn path=/head/; revision=142233
* - Handle different INDEX filename on 5.X and abovePav Lucistnik2005-09-041-2/+5
| | | | | | | | PR: ports/85281 Submitted by: Vasil Dimov <vd@datamax.bg> Notes: svn path=/head/; revision=141957
* Add prototypes for all the subroutines which fixes compilation withJoe Marcus Clarke2005-07-101-9/+20
| | | | | | | | | Perl 5.8.7. Reported by: mezz Notes: svn path=/head/; revision=138862
* Fix typosVolker Stolz2005-04-181-3/+3
| | | | | | | Approved by: sobomax Notes: svn path=/head/; revision=133581
* As discussed on the cvs-ports-list, make 'addport' print a warning if the ↵Volker Stolz2005-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) Notes: svn path=/head/; revision=133136
* Add a splitpatch.pl utility, a small script to convert multi-fileAnton Berezin2005-04-122-0/+112
| | | | | | | | | patches to several appropriately named single-file patches. Requested by: flz Notes: svn path=/head/; revision=133135
* - Add bump_revision.pl, a small script to bump the PORTREVISION variableFlorent Thoumie2005-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 Notes: svn path=/head/; revision=133130
* - Replace pkg-comment with COMMENT to reflect latest (*sigh*) changesFlorent Thoumie2005-04-111-2/+2
| | | | | | | | | | | in the ports framework. PR: ports/62767 Submitted by: Igor Pokrovsky <tiamat@comset.net> Approved by: maintainer timeout (> 8 months) Notes: svn path=/head/; revision=133101
* Checkout Templates from CVS as well since ports with GNU_CONFIGURE willVolker Stolz2005-03-201-0/+2
| | | | | | | | | need them when building from 'addport -a -t'. Approved by: will Notes: svn path=/head/; revision=131750
* Document the check-latest-link and tindex scriptsKris Kennaway2005-01-241-1/+5
| | | | Notes: svn path=/head/; revision=127163
* Add the script I use to look for duplicate LATEST_LINK entries and toKris Kennaway2005-01-241-0/+72
| | | | | | | send nag-mails to the responsible maintainers. Notes: svn path=/head/; revision=127162
* This is the script I use to build indexes for all supported ports branches,Kris Kennaway2005-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. Notes: svn path=/head/; revision=127161
* Remove traling spaces.Kirill Ponomarev2005-01-0915-20/+20
| | | | Notes: svn path=/head/; revision=125941
* Newline should go after the terminating punctuation (fix typo).Dima Dorfman2004-11-071-1/+1
| | | | | | | Approved by: will Notes: svn path=/head/; revision=121024
* Strip out date/time from +++/--- headers in generated patchfiles, so that theyMaxim Sobolev2004-10-141-11/+12
| | | | | | | don't generate extra hunk each time patchfile is updated. Notes: svn path=/head/; revision=119419
* Avoid possible GNATS timeouts by using query-pr.real direclty.Kirill Ponomarev2004-07-281-1/+1
| | | | Notes: svn path=/head/; revision=114914
* Modernize these two scripts a little bit to make it easier to dealMurray Stokely2004-06-082-6/+16
| | | | | | | | | with 5.X or 4.X package sets (i.e., INDEX vs INDEX-5 and tgz vs tbz) OKed by: marcus Notes: svn path=/head/; revision=111108
* Hack in master/slave supportOliver Eikemeier2004-06-041-27/+69
| | | | Notes: svn path=/head/; revision=110856
* parse $FreeBSD$ with yyyy-mm-dd format datesOliver Eikemeier2004-05-301-1/+1
| | | | Notes: svn path=/head/; revision=110428
* protect $FreeBSD: ... $ from being expandedOliver Eikemeier2004-05-301-1/+1
| | | | | | | Noticed by: mat Notes: svn path=/head/; revision=110413
* don't terminate the log entry with the first hyphenOliver Eikemeier2004-05-301-1/+1
| | | | Notes: svn path=/head/; revision=110412
* - make somewhat more robust against a corrupted ports treeOliver Eikemeier2004-05-301-30/+80
| | | | | | | | | | | | | - CC committers and maintainer [1] - include affected ports in the subject line [2] - do a CVS log of the version checked out [3] Suggsted by: Ade Lovett <ade@FreeBSD.org> [1] Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net> [2] Pav Lucistnik <pav@FreeBSD.org> [3] Notes: svn path=/head/; revision=110402
* - Remove 'pkg-plist' from required filesKirill Ponomarev2004-05-271-2/+1
| | | | | | | Approved by: sobomax Notes: svn path=/head/; revision=110121
* - fix a bug handling the maintainer field when ALLPORTS is usedOliver Eikemeier2004-05-211-35/+56
| | | | | | | | | - add an option to watch for maintainer changes - change watch regex to match PKGORIGIN, not PKGNAME Notes: svn path=/head/; revision=109655