aboutsummaryrefslogtreecommitdiff
path: root/Tools/scripts/addport
Commit message (Collapse)AuthorAgeFilesLines
* Tools/script/addport: Fix usage with multiple directoriesLuca Pizzamiglio2019-06-101-1/+3
| | | | | | | | | PR: 238379 Submitted by: me Approved by: crees@ Notes: svn path=/head/; revision=503896
* Use make(1) to extract variables from a Makefile, not grep.Mathieu Arnold2016-09-081-2/+2
| | | | | | | | | | PR: 212486 Submitted by: mat Approved by: crees (maintainer) Sponsored by: Absolight Notes: svn path=/head/; revision=421545
* Fix the '-a' option to ${PORTSDIR}/Tools/scripts/addportMatthew Seaman2016-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 Notes: svn path=/head/; revision=420329
* Let addport script to use svnlite if availableRuslan Makhmatkhanov2015-09-251-18/+20
| | | | | | | | | | | 1. Check if svnlite is available and use it by default, else: use svn 2. Dehardcode svn binary name in shell calls, to make both svn/svnlite work Approved by: crees (maintainer) Notes: svn path=/head/; revision=397867
* Default to repo.FreeBSD.org for commits, as urged by our repo meister.Christian Weisgerber2015-09-151-2/+2
| | | | | | | Approved by: crees Notes: svn path=/head/; revision=396967
* Don't add ports/ to the PR line.Mathieu Arnold2015-01-271-1/+1
| | | | | | | Sponsored by: Absolight Notes: svn path=/head/; revision=378008
* Require versions of perl supporting smartmatch operator (~~)Chris Rees2013-05-291-0/+3
| | | | | | | Submitted by: az Notes: svn path=/head/; revision=319388
* Fix -c optionChris Rees2013-05-121-1/+2
| | | | | | | | PR: ports/178193 Submitted by: tota Notes: svn path=/head/; revision=317968
* Use MAINTAINER line for Submitted by: if Created by: does not exist.Chris Rees2013-05-121-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) Notes: svn path=/head/; revision=317966
* Don't hardcode makeChris Rees2013-03-031-1/+1
| | | | | | | Submitted by: az Notes: svn path=/head/; revision=313371
* Apparently some people override PKGCATEGORY, soChris Rees2013-03-031-3/+2
| | | | | | | | | manually extract it from CATEGORIES again. Discovered by: dinoex Notes: svn path=/head/; revision=313368
* Add some checks for Subversion; minimum version required is 1.7, or addingChris Rees2013-02-031-0/+11
| | | | | | | | | ports with subdirectories fails because of scattered .svn directories. Original issue reported by: netchild Notes: svn path=/head/; revision=311453
* Strip svn:executable just in case it's been setChris Rees2012-12-091-0/+4
| | | | | | | Reported by: db Notes: svn path=/head/; revision=308553
* Freefall doesn't have LWP::Simple, so use /usr/bin/fetch to reduce dependenciesChris Rees2012-10-291-3/+2
| | | | | | | | Noticed by: thierry Feature safe: yes Notes: svn path=/head/; revision=306602
* - Fix reference to the Additional Contributors' list due to renamingGuido Falsi2012-10-251-1/+1
| | | | | | | | | | to .xml in r39631 Approved by: crees Feature safe: yes Notes: svn path=/head/; revision=306400
* Clean-up command-line options.Alex Dupre2012-10-091-7/+3
| | | | | | | Approved by: crees Notes: svn path=/head/; revision=305592
* bsd.port.mk handles getting the primary category for usChris Rees2012-09-201-5/+4
| | | | | | | | | Since Created by: line appears to be popular, get Submitted by: from that Old-style Makefile headers should no longer be used Notes: svn path=/head/; revision=304592
* Accepts the new svn_revision tag in the removed ports xml database.Chris Rees2012-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. Notes: svn path=/head/; revision=304348
* Now that the headers have been removed, we no longer get the Whom line fromChris Rees2012-08-311-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. Notes: svn path=/head/; revision=303442
* Fix the -y option to test for possible duplicate ports; use INDEX instead ofChris Rees2012-08-251-6/+7
| | | | | | | | | modules file that was removed. It's fast, use it! Notes: svn path=/head/; revision=303131
* - Look for older versions of ports to copy over before committing.Chris Rees2012-08-211-13/+75
| | | | | | | | | | | Requested by: several - Remove older readded ports from MOVED - Tighten up find syntax (split by null and use -print0) Notes: svn path=/head/; revision=302854
* Don't replace - with _ in category variable.Chris Rees2012-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 Notes: svn path=/head/; revision=302383
* - Update addport and rmport to work with SubversionBeat Gaetzi2012-07-151-53/+38
| | | | | | | Submitted by: crees, miwi Notes: svn path=/head/; revision=300901
* - Modify Additional Contributors path to match svnChris Rees2012-05-301-2/+3
| | | | | | | | | - Take maintainership Approved by: garga (maintainer) Notes: svn path=/head/; revision=297817
* Add option (-y) to check for similarly named ports.Chris Rees2011-08-291-1/+35
| | | | | | | | | PR: ports/159841 Submitted by: crees (me) Approved by: garga (maintainer) Notes: svn path=/head/; revision=280699
* - Back out category check for nowSteve Wills2011-08-161-6/+0
| | | | Notes: svn path=/head/; revision=279785
* - Remove obfuscation of submitter email at request of dougbSteve Wills2011-08-151-1/+6
| | | | | | | - Add check that port is in right directory as I've been bitten by this Notes: svn path=/head/; revision=279770
* Change shebang to #!/usr/bin/env perl, as required by bapt@Renato Botelho2011-07-271-1/+1
| | | | Notes: svn path=/head/; revision=278419
* - Unbreak the -n flag;Romain Tartière2010-06-061-6/+5
| | | | | | | | | - Remove invalid reference to freefall. Approved by: garga Notes: svn path=/head/; revision=255899
* - allow addport to work in ports-mgnt againDirk Meyer2010-03-251-1/+1
| | | | | | | Approved by: garga, drso, flz Notes: svn path=/head/; revision=251498
* Make sure we don't add ${WRKDIR}.Maxim Sobolev2008-10-211-4/+4
| | | | Notes: svn path=/head/; revision=221883
* CVSROOT/modules no longer contains an entry per port, remove supportErwin Lansing2008-06-191-34/+4
| | | | | | | for this from these scripts. Notes: svn path=/head/; revision=215312
* Fix a problem when add new ports on ports-mgmt category. ports-mgmt/MakefileRenato Botelho2007-12-191-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 Notes: svn path=/head/; revision=204123
* Fix addport to work correctly with ports-mgmt category.Renato Botelho2007-04-201-1/+1
| | | | | | | | Reported by: miwi Tested by: miwi Notes: svn path=/head/; revision=190442
* 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
* 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
* - Change addport script to do the job locally instead connect to freefall everyRenato Botelho2006-05-161-5/+18
| | | | | | | | | | | | | 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 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
* 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
* 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
* 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
* Remove traling spaces.Kirill Ponomarev2005-01-091-1/+1
| | | | 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
* While generating commit message, don't lowercase the first letter if the secondMathieu Arnold2004-04-041-2/+2
| | | | | | | | | | is upper case (ie : don't end up with pEAR) Approved by: will Asked by: thierry Notes: svn path=/head/; revision=106153
* Fix a bug arising when you added a port which should have been at the end ofMathieu Arnold2004-03-201-3/+10
| | | | | | | | | <category>/Makefile, and ended up at the begining Approved by: will Notes: svn path=/head/; revision=104765
* - Fix synopsisAlex Dupre2004-01-231-2/+2
| | | | | | | | | - Add 'ports/' PR category to commit log Approved by: will Notes: svn path=/head/; revision=98866
* When suggesting to add new port's submitter to Contributors' List,Dmitry Sivachenko2004-01-071-1/+2
| | | | | | | | | | | also print the exact location of the file to checkout. This is for those who rarely adds new ports and do not remember the location of Additional FreeBSD Contributors article. Approved by: will Notes: svn path=/head/; revision=97594
* Refactor how we format the autofill message. With the slightly questionablePete Fritchman2004-01-061-34/+15
| | | | | | | | | | | Perl before, sometimes we would word wrap too soon. Now we should never generate a line more than 72 characters long (but as close to 72 characters long as we can without breaking up a word). Approved by: will (maintainer) Notes: svn path=/head/; revision=97436
* fetch(1)'s -b and -t options were deprecated years ago, so stop using them.Dag-Erling Smørgrav2003-11-121-1/+1
| | | | Notes: svn path=/head/; revision=93825
* Fix -l option comment removing obsolete pkg-comment reference.Alexander Nedotsukov2003-09-291-2/+2
| | | | | | | Approved by: will Notes: svn path=/head/; revision=89738