Commit graph

77 commits

Author SHA1 Message Date
Chris Rees
9644ddfac7 Fix -c option
PR:		ports/178193
Submitted by:	tota
2013-05-12 16:17:21 +00:00
Chris Rees
36897c327b Use MAINTAINER line for Submitted by: if Created by: does not exist.
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)
2013-05-12 16:13:12 +00:00
Chris Rees
4d5eec6a61 Don't hardcode make
Submitted by:	az
2013-03-03 17:40:36 +00:00
Chris Rees
bf3ef9b9ab Apparently some people override PKGCATEGORY, so
manually extract it from CATEGORIES again.

Discovered by:	dinoex
2013-03-03 16:55:54 +00:00
Chris Rees
3c8ccab1c6 Add some checks for Subversion; minimum version required is 1.7, or adding
ports with subdirectories fails because of scattered .svn directories.

Original issue reported by:	netchild
2013-02-03 09:51:29 +00:00
Chris Rees
10cfa863de Strip svn:executable just in case it's been set
Reported by:	db
2012-12-09 18:59:45 +00:00
Chris Rees
bcc0be2d81 Freefall doesn't have LWP::Simple, so use /usr/bin/fetch to reduce dependencies
Noticed by:	thierry
Feature safe:	yes
2012-10-29 11:37:56 +00:00
Guido Falsi
7312e64f64 - Fix reference to the Additional Contributors' list due to renaming
to .xml in r39631

Approved by:	crees
Feature safe:	yes
2012-10-25 21:30:57 +00:00
Alex Dupre
7185e69c75 Clean-up command-line options.
Approved by:	crees
2012-10-09 15:55:15 +00:00
Chris Rees
84a9fa5eb6 bsd.port.mk handles getting the primary category for us
Since Created by: line appears to be popular, get Submitted by: from that

Old-style Makefile headers should no longer be used
2012-09-20 19:25:59 +00:00
Chris Rees
028474b3d4 Accepts the new svn_revision tag in the removed ports xml database.
Apologies for the complexity of the code; it's optimised for speed.  Soon I
will be able to remove the section working with dates.
2012-09-16 13:31:39 +00:00
Chris Rees
800b5d1d40 Now that the headers have been removed, we no longer get the Whom line from
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.
2012-08-31 18:40:40 +00:00
Chris Rees
e7045e4591 Fix the -y option to test for possible duplicate ports; use INDEX instead of
modules file that was removed.

It's fast, use it!
2012-08-25 12:02:28 +00:00
Chris Rees
9ee7e5adda - Look for older versions of ports to copy over before committing.
Requested by:	several

- Remove older readded ports from MOVED

- Tighten up find syntax (split by null and use -print0)
2012-08-21 10:20:51 +00:00
Chris Rees
139fb2b37a Don't replace - with _ in category variable.
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
2012-08-10 10:49:36 +00:00
Beat Gaetzi
6228337952 - Update addport and rmport to work with Subversion
Submitted by:	crees, miwi
2012-07-15 20:57:22 +00:00
Chris Rees
343b4bb879 - Modify Additional Contributors path to match svn
- Take maintainership

Approved by:	garga (maintainer)
2012-05-30 18:54:01 +00:00
Chris Rees
5d4b8b15b0 Add option (-y) to check for similarly named ports.
PR:		ports/159841
Submitted by:	crees (me)
Approved by:	garga (maintainer)
2011-08-29 14:54:48 +00:00
Steve Wills
c1c18af0fe - Back out category check for now 2011-08-16 00:09:12 +00:00
Steve Wills
4a09663ed3 - Remove obfuscation of submitter email at request of dougb
- Add check that port is in right directory as I've been bitten by this
2011-08-15 21:21:41 +00:00
Renato Botelho
390fe1afe5 Change shebang to #!/usr/bin/env perl, as required by bapt@ 2011-07-27 17:18:26 +00:00
Romain Tartière
4a54a88a4f - Unbreak the -n flag;
- Remove invalid reference to freefall.

Approved by:	garga
2010-06-06 09:30:54 +00:00
Dirk Meyer
5e55949069 - allow addport to work in ports-mgnt again
Approved by:	garga, drso, flz
2010-03-25 15:44:17 +00:00
Maxim Sobolev
3fe7e87724 Make sure we don't add ${WRKDIR}. 2008-10-21 21:32:08 +00:00
Erwin Lansing
e4bbe0c85e CVSROOT/modules no longer contains an entry per port, remove support
for this from these scripts.
2008-06-19 22:09:01 +00:00
Renato Botelho
e89241beff Fix a problem when add new ports on ports-mgmt category. ports-mgmt/Makefile
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
2007-12-19 16:54:37 +00:00
Renato Botelho
75b87da473 Fix addport to work correctly with ports-mgmt category.
Reported by:	miwi
Tested by:	miwi
2007-04-20 12:45:01 +00:00
Shaun Amott
068a568fca Add an option to the addport script: -b requests that any files in
${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)
2006-07-14 01:49:35 +00:00
Renato Botelho
0bc560fc74 When automatic commit log is generated, change @ to " at " on submitter email
to prevent spam
2006-07-04 23:12:10 +00:00
Renato Botelho
3cf8cfc8cd - Change addport script to do the job locally instead connect to freefall every
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)
2006-05-16 15:44:29 +00:00
Renato Botelho
2a6ad7961f - Add a new option -L, it works like -l but uses pkg-descr to create
commit message.

Approved by:	will (maintainer)
2005-10-04 16:26:37 +00:00
Joe Marcus Clarke
898c84cdf7 Add prototypes for all the subroutines which fixes compilation with
Perl 5.8.7.

Reported by:	mezz
2005-07-10 22:18:55 +00:00
Volker Stolz
c53968b206 As discussed on the cvs-ports-list, make 'addport' print a warning if the directory
name contains upper-case characters as it makes finding a port harder.

PR:		ports/79679
Approved by:	will, portmgr(krion)
2005-04-12 11:03:49 +00:00
Volker Stolz
3ddc5c643b Checkout Templates from CVS as well since ports with GNU_CONFIGURE will
need them when building from 'addport -a -t'.

Approved by: will
2005-03-20 17:32:52 +00:00
Kirill Ponomarev
043f5658ce Remove traling spaces. 2005-01-09 10:21:17 +00:00
Dima Dorfman
77414b4220 Newline should go after the terminating punctuation (fix typo).
Approved by:	will
2004-11-07 04:09:39 +00:00
Mathieu Arnold
6e5777c670 While generating commit message, don't lowercase the first letter if the second
is upper case (ie : don't end up with pEAR)

Approved by:	will
Asked by:	thierry
2004-04-04 21:10:38 +00:00
Mathieu Arnold
ba74778208 Fix a bug arising when you added a port which should have been at the end of
<category>/Makefile, and ended up at the begining

Approved by:	will
2004-03-20 18:52:33 +00:00
Alex Dupre
0374da0b6e - Fix synopsis
- Add 'ports/' PR category to commit log

Approved by:	will
2004-01-23 07:28:54 +00:00
Dmitry Sivachenko
cb132627e5 When suggesting to add new port's submitter to Contributors' List,
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
2004-01-07 20:03:52 +00:00
Pete Fritchman
6160a79b6c Refactor how we format the autofill message. With the slightly questionable
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)
2004-01-06 06:04:31 +00:00
Dag-Erling Smørgrav
cc1020551b fetch(1)'s -b and -t options were deprecated years ago, so stop using them. 2003-11-12 15:09:12 +00:00
Alexander Nedotsukov
23ee68125d Fix -l option comment removing obsolete pkg-comment reference.
Approved by: will
2003-09-29 02:39:50 +00:00
Mathieu Arnold
dd5899bd4d When using addport on freefall, there's no need to ssh freefall once more to
use modulesupdate.

Approved by:	will
2003-09-02 15:33:46 +00:00
Peter Wemm
796330dcfb Update for post-repo-split. s/ncvs/pcvs/ so that the default root is
pcvs.freebsd.org:/home/pcvs
2003-02-28 19:49:31 +00:00
Mario Sergio Fujikawa Ferreira
2dc2732c98 Another try at fixing the "adding to CVSROOT/modules from remote
hosts (non-freefall)" bug: add '-A' argument to ssh(1) command line
for accessing host cointaining modules file. This should fix the
bug for ssh-agent(1) users. Others can just switch to using
ssh-agent(1).

Approved by:	will (maintainer)
2003-02-23 20:06:06 +00:00
Norikatsu Shigemura
b4b7d18cdf Change how to get CATEGORIES tag from new port for slave port.
Approved by:	will
2003-02-16 15:23:21 +00:00
Kris Kennaway
5ead3c9bf0 Catch up to new semantics of COMMENT variable (contains comment string
itself, instead of pointing to pkg-comment)
2003-02-10 08:56:59 +00:00
Will Andrews
c65c37a41b Attempt to defuse problems from developers who don't have the correct
ssh setup in order for addport to do CVSROOT/modules correctly.
2003-01-30 17:28:34 +00:00
Mario Sergio Fujikawa Ferreira
11b467a83a Add both hungarian and portuguese l10n prefixes to syncronize with
portlint port

Approved by:	maintainer
2003-01-23 07:05:24 +00:00