Commit Graph

1291 Commits

Author SHA1 Message Date
Alex Kozlov
b905046ff4 - Doesn't support Bugzilla bugtracker 2014-11-24 18:50:04 +00:00
Mathieu Arnold
9a22293c2e Make this work with any amount of tabulations between the = and the value of PORTREVISION.
Sponsored by:	Absolight
2014-11-18 16:26:09 +00:00
Mathieu Arnold
f10048320e Fix if PORTREVISION is not already there.
Sponsored by:	Absolight
2014-11-18 16:03:40 +00:00
Baptiste Daroussin
91a1caa242 Reset miwi's maintainership per his demand
Hope to see you back! Thank for all the work!
2014-11-18 09:37:31 +00:00
Matthias Andree
f8f8110e2a Catch and report substitution failure on lines such as PORTREVISION=${SOME_VAR}. 2014-08-22 07:13:51 +00:00
Bryan Drewery
5d24089a65 - Eat excess newline at the end of the commit log. 2014-08-21 18:47:33 +00:00
Matthias Andree
b58318d59c Add a BerkeleyDB upgrade helper script in preparation of 4...4.7 removal. 2014-08-21 15:56:14 +00:00
Sofian Brabez
ffad0a1b50 - Better handling when custom encoding is specified in details
- Use only one request to retreive patchs

CR:	D400
CR:	D401
Submitted by:	rakuco
2014-07-23 12:14:32 +00:00
Bartek Rutkowski
43baa4d6be New script: Tools/scripts/bump-revision.sh
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
2014-06-26 17:15:39 +00:00
Matthias Andree
dd683e1c3a ports/Tools/scripts/mfh revision:
- 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@)
2014-06-25 19:04:31 +00:00
Eitan Adler
ecf399dfec Remove consistency-check since it relies on MD5 and only works for old pkg_ tools
Also clean up README a bit more

Discussed with:	ak, bapt
2014-06-25 08:50:50 +00:00
Eitan Adler
e78a8b68bf Clean up README 2014-06-25 08:39:27 +00:00
Eitan Adler
4dd5f3ed1d add missing Mt to Aq 2014-06-25 08:32:12 +00:00
Eitan Adler
95a6a111a4 To my knoledge (and grep) the close-pr script in Tools/scripts is not used anywhere, so remove it.
OKed by: bapt
2014-06-25 08:27:37 +00:00
Adam Weinberger
5e97d368a3 Invoke perl with /usr/bin/env, as perl is not guaranteed to exist in
/usr/bin.
2014-06-22 17:53:44 +00:00
Adam Weinberger
9f70fa1685 * Default to name search (-n) if no flags are specified.
* 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.
2014-06-22 17:49:46 +00:00
Sofian Brabez
2b31a22731 - Switch to bugzilla as default value for the mode
CR:		D235
Submitted by:	rakuco
2014-06-18 20:18:33 +00:00
Martin Wilke
e83752b680 - Correct the bugzilla url
With hat:	portmgr
2014-06-02 05:04:21 +00:00
Bryan Drewery
94ec4229c2 - Move security-check.awk to Mk/Scripts where it is more proper these days.
With hat:	portmgr
2014-05-09 22:35:50 +00:00
Sofian Brabez
a3906dcd56 - Use https in URL_BASE
- Update with our bugzilla experimental url
2014-04-22 09:58:20 +00:00
Gerald Pfeifer
3b4262d630 Replace edwin's contact address with mine in the help, too. And
also solicit improvements. :-)
2014-04-18 23:37:53 +00:00
Gerald Pfeifer
0318479619 Only show the final instructions on how to do the actual commit when
doing the real job, not for a dry run.  Tweak those instructions a bit.

Assume maintainership.

Approved by:	edwin (maintainer)
2014-04-06 15:11:09 +00:00
Chris Rees
d34d662a29 Fix cdiff
Reported by:	swills
2014-03-24 20:30:00 +00:00
Eitan Adler
d868ed7aea Make MOVEDLint output more consistent 2014-01-24 15:44:54 +00:00
Matthias Andree
db878e07de Give proper reason why we reject replaced files. 2014-01-21 00:44:08 +00:00
Lars Engels
addfd6a6e1 - Allow a leading "r" in the svn revision
- 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
2014-01-08 22:43:21 +00:00
Baptiste Daroussin
4a0f73b995 Remove ^MFH: lines from the log 2014-01-08 14:45:13 +00:00
Baptiste Daroussin
61c47bcd00 update the tree before merge to avoid having a mixed revision tree before merging 2013-12-26 17:27:19 +00:00
Baptiste Daroussin
afdc465ff0 Import mfh script to merge to the Q branches 2013-12-19 14:43:58 +00:00
Gerald Pfeifer
7108cdf6d5 Adjust a bit towards the new world of SVN in terms of directory
structure and output for the user.

Approved by:	maintainer (edwin)
2013-12-01 21:16:45 +00:00
Eitan Adler
e8e51739fe Remove p5-deps.pl which was used when perl 5.8 was removed. It has not been needed in many years.
Reported by:	ak
2013-10-30 21:28:24 +00:00
Erwin Lansing
5c1760757a This one goes to 11. 2013-10-13 11:16:48 +00:00
Bryan Drewery
b924147649 - Move dialog4ports.sh to more appropriate new directory Mk/Scripts as
it is related to infrastructure/framework and a required portmgr-
  maintained script

With hat:	portmgr
2013-10-09 23:01:54 +00:00
Bryan Drewery
b31efc4973 - Fix 'make index' when system is built with WITHOUT_PORTSNAP by
falling back on the perl make_index if needed.

With hat:	portmgr
Reported by:	ade
2013-10-07 21:32:30 +00:00
Erwin Lansing
e8f0c6e083 no longer point to NO_LATEST_LINK but to PKGNAMESUFFIX instead.
Also mention the latest portmgr blog post.
2013-10-07 10:54:54 +00:00
Baptiste Daroussin
66b8ac085d Use the portsnap version of make_index instead of the perl version.
Submitted by:	ak
2013-10-07 10:30:31 +00:00
Baptiste Daroussin
a4ae5c22ec Remove Tools/scripts/convert-makefile-header.pl it is not needed anymore 2013-09-21 00:06:29 +00:00
Eitan Adler
5cebd68fe0 Remove dialogwrapper now that dialog4ports exists 2013-07-07 16:06:28 +00:00
Bryan Drewery
b2fb659e12 Re-add dialog4ports.sh helper. This is critical for dialog4ports usage.
Pointyhat to:	eadler
2013-07-07 15:36:12 +00:00
Eitan Adler
c92a7a17e1 Remove dialogwrapper now that dialog4ports exists 2013-07-07 15:32:35 +00:00
Tijl Coosemans
b1f3435e7d Remove the last remnants of PKGINSTALLVER. It hasn't been used since
r231958 and the definition in bsd.port.subdir.mk generates a warning with
bmake, pkgng and no pkg_info.

Approved by:	erwin
2013-06-18 09:45:58 +00:00
Chris Rees
d8fec0cdc6 Require versions of perl supporting smartmatch operator (~~)
Submitted by:	az
2013-05-29 19:20:52 +00:00
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
Sofian Brabez
f88bb82d5f - Use literal instead of constructor to avoid CALL_FUNCTION bytecode instruction
- Add add_patch method [1]
- Update README wording and fix typo

PR:		ports/175984 [1]
Submitted by:	Christoph Mallon <christoph.mallon at gmx.de>
2013-05-09 22:02:15 +00:00
Emanuel Haupt
66523405ff Normalize FreeBSD.org address during conversion. 2013-05-07 10:18:25 +00:00
Alex Kozlov
af917ed27d - Remove Tools/scripts/modules, they're not used anymore
Approved by:	edwin (maintainer), portmgr (bapt)
2013-04-26 15:04:52 +00:00
Emanuel Haupt
ecf278e4b2 Add pgollucci's FreeBSD.org address also to the list of nice people.
Requested by:	pgollucci
2013-04-25 05:43:31 +00:00
Emanuel Haupt
6f38e7ac9a Provide an option to not preserve the original file.
Requested by:	eadler
2013-04-24 19:12:52 +00:00
Emanuel Haupt
c223904bcc Use case insensitive "nice people" matching 2013-04-24 18:15:44 +00:00
Emanuel Haupt
15a5a2f676 - Rework 'nice people' handling
- Properly handle non-default $MCom RCS strings
2013-04-24 16:54:22 +00:00
Bryan Drewery
9b3f2ef5eb - Update to 0.1.3 which only brings a -v option to allow
supporting older versions for the stdout/stderr switching

Approved by:	Ilya A. Arkhipov <rum1cro@yandex.ru> (maintainer)
With hat:	portmgr
2013-03-28 11:05:28 +00:00
Erwin Lansing
47bf8384e8 Replace linebreak with space instead of comma in address
list, to make the for loop lateron actually work.
2013-03-27 14:03:35 +00:00
Bryan Drewery
90f985c324 Revert to sending both stdout and stderr to the OPTIONSFILE for now
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
2013-03-25 15:58:55 +00:00
Bryan Drewery
04b2b7910d - Update to 0.1.2
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
2013-03-25 11:33:20 +00:00
Bryan Drewery
cca914e0f6 - Fix dialog4ports missing when PREFIX!=LOCALBASE
PR:		ports/177174
Reported by:	Hirohisa Yamaguchi <umq@ueo.co.jp>
With hat:	portmgr
2013-03-21 11:13:49 +00:00
Bryan Drewery
becd92b496 - Remove prompt for dialog4ports. Dialog4Ports is a
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
2013-03-21 02:55:32 +00:00
Baptiste Daroussin
a24b31bac2 Make check_deps behave the same as check_PRs:
propose to skip removing a port if anything depends on it, instead of infinite looping on "ignore the issue"
2013-03-09 23:49:02 +00:00
Erwin Lansing
15492abcf3 Remove support for FreeBSD 7.x 2013-03-07 14:19: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
Brooks Davis
d14273e267 Add myself to the list of people who don't need a Created by: line. 2013-02-28 17:28:50 +00:00
Eitan Adler
824beae468 Loosen regex to match additional emails
Add makc's alternate email

Submitted by:	makc
2013-02-16 15:47:16 +00:00
Thomas Abthorpe
62d87cd1c8 - I hereby declare myself a "nice" person 2013-02-16 01:40:00 +00:00
Chris Rees
0dd7579209 Various spelling corrections
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
2013-02-09 12:00:52 +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
Eitan Adler
7ad795303f Add az
Fix regex - I had this locally but forgot to commit
2012-12-17 03:32:03 +00:00
Eitan Adler
cc6b842741 Make the regex stricter to avoid false positive matches
Add kuriyama to the list
Add bapt's alternate email to the list
2012-12-16 16:40:34 +00:00
Eitan Adler
c0efdaffe0 Covert gnomedepends.py from Python 2 to Python 3.
No objections from:	sobomax
2012-12-15 22:07:24 +00:00
Eitan Adler
3965d0dfd7 Add both of pgollucci's email addresses
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.
2012-12-15 21:27:08 +00:00
Chris Rees
93f0183611 I and Philip are Nice People 2012-12-15 17:49:05 +00:00
Eitan Adler
5fd42832d1 Teach the conversion script about all the nice people that offered to reduce the number of wasted bytes in the world 2012-12-15 17:05:45 +00:00
Eitan Adler
39ab86d88a Teach convert-makefile-header about the mcom header line.
Don't remove this when doing the conversion.
2012-12-15 15:16:15 +00:00
Bryan Drewery
5fc8f5e96e prdone and prpatch were removed in r297358 2012-12-12 02:02:15 +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
Eitan Adler
a3f7fb53bb Document tool which converts from old style header to new style
Feature safe:	yes
2012-11-28 18:06:21 +00:00
Sofian Brabez
f765f75803 - Fix runtime utf-8 problems using codec encoder and system locale
PR:		ports/173195
Submitted by:	rm
Reviewed by:	sbz (myself)
Feature safe:	yes
2012-11-05 21:14:54 +00:00
Emanuel Haupt
1f0745998b Use the 'Created by:' header option per default rather than the RCS only
header.

Suggested by:	adamw
Feature safe:	yes
2012-10-30 10:17:53 +00:00
Emanuel Haupt
413a4efb06 Add convert-makefile-header.pl, a perl script that converts old style Makefile
headers to the new format.

Feature safe: yes
2012-10-29 12:18:43 +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
Erwin Lansing
fd888aae84 Silence svn update commands.
Feature safe:	yes
2012-10-21 11:46:00 +00:00
Beat Gaetzi
e9ba4e7a77 - Sync with the versions currently running on pointyhat
- Use Subversion instead of CVS

Approved by:	erwin (maintainer)
Feature safe:	yes
2012-10-20 10:36:27 +00:00
Erwin Lansing
5624d82eb2 Sync with the version that's currently running on pointyhat:
- 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
2012-10-19 14:49:25 +00:00
Eitan Adler
e61f04a29c Add MOVEDLint checks for some of the other formatting problems
seen in MOVED lines.

Feature safe:	yes
2012-10-15 21:34:19 +00:00
Alex Dupre
7185e69c75 Clean-up command-line options.
Approved by:	crees
2012-10-09 15:55:15 +00:00
Eitan Adler
3152b4bd9f Make the removal diff nicer to read by not showing the line-by-line removal and instead replace it with "FILE has been deleted"
Reviewed by:	crees
2012-09-23 17:56:10 +00:00
Olli Hauer
5547c29967 - prefix saved files (PR/patches) with PR_$num
PR:		ports/171853
Submitted by:	ohauer
Approved by:	miwi (maintainer) explicit per PM
2012-09-23 17:12:59 +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
Sofian Brabez
585bd71a35 - Fix bytes problem returned by urlopen when using Python 3.x 2012-09-17 16:34:54 +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
Beat Gaetzi
0ad288949c - Set fbsd:nokeywords property value to the one recommended by the Ports
Subversion Primer.

Approved by:	mandree@ (maintainer)
2012-09-09 17:07:17 +00:00
Sofian Brabez
d3c5a5d767 - Support Python 3.x 2012-09-06 15:54:37 +00:00
Eitan Adler
fe682edd2d By request, move dialogwrapper to the main folder and fix the readme.
Additionally, document the wrapper in the main readme
2012-09-01 02:56:50 +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
Eitan Adler
44bb515cac Add $FreeBSD$ lines
reported by:	crees
2012-08-31 16:17:19 +00:00
Eitan Adler
bdc98b35f5 By request, add dialog wrapper used to give the ports options dialog
additional features such as:

- extended descriptions
- auto resizing
- compatability with older dialog implementations

Submitted by:	wblock
Reviewed by:	ports@
2012-08-31 16:04:08 +00:00
Sofian Brabez
d1bd97d171 - Fix documentation
Submitted by:	culot, gahr
2012-08-30 10:23:01 +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
Matthias Andree
34a636ac73 Use "exec" when executing SVN with user-provided arguments,
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)
2012-08-24 19:54:38 +00:00
Sofian Brabez
3bdb4508da - Add getpatch script to download patch attachments on bug tracking systems
Approved by:	portmgr (bapt)
2012-08-23 14:07:48 +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
Matthias Andree
e703ecdcc8 Changes over original script:
- 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)
2012-08-20 20:42:24 +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
28be53e942 - Remove duplicate execution of svn info [1]
- Add description what the script actually does

Submitted by:	gahr [1]
2012-07-18 19:52:33 +00:00
Eitan Adler
a12d8d5169 Support svn too 2012-07-15 23:22:49 +00:00
Eitan Adler
3770374e75 Remove support for CVS from MOVEDLint
Approved by:	portmgr (beat)
2012-07-15 23:16:13 +00:00
Beat Gaetzi
75ecda1127 - Add a svn wrapper which does sanity checking and handles svn properties 2012-07-15 22:09:45 +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
Doug Barton
44fa804810 s/X11BASE/LOCALBASE/, or equivalent.
The X11BASE variable is long gone, however these ports were not updated.
2012-06-24 21:53:38 +00:00
Chris Rees
7cc980c36f Support conversion of make.conf-style files.
The script is very cautious, and may miss some; checking the results by hand
is absolutely vital.
2012-06-09 09:01:38 +00:00
Chris Rees
d2d57e3729 Add script to convert old-style OPTIONS database files to new format.
If you are having trouble with saved OPTIONS not being recognised, just run
this as root and you will have no further trouble!
2012-06-04 15:03:26 +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
Martin Wilke
3833a90f6a - Restore getpr, i still use it and i believe few other committers as well
- Take maintainership
2012-05-29 07:15:42 +00:00
Chris Rees
7bafcecff5 Remove obsolete PR handling scripts. These had hardcoded /home/ncvs
Approved by:	mharo (maintainer)
2012-05-24 20:19:12 +00:00
Chris Rees
dd16d151db Take maintainership-- thanks to vd for his past work on this script
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
2012-05-02 18:32:30 +00:00
Erwin Lansing
bb62d70bda Spell plural LATEST_LINKs with a lowercase s to avoid confusion
to the spelling of LATEST_LINK.

Submitted by:	gerald
Feature safe: 	yes
2012-04-08 09:00:23 +00:00
Eitan Adler
5c65825d5a Document MOVEDlint in README 2012-02-16 16:09:41 +00:00
Philip M. Gollucci
4c3d247b1f - fix interpreter path for python
PR:             ports/154431
Approved by:    sobomax (maintainer)
2012-02-11 22:48:26 +00:00
Eitan Adler
03bc1a88df If you have not yet run this script, I feel sorry for you.
Hat:	x11
2012-01-15 22:52:00 +00:00
Wesley Shields
1f651e8177 Better wording to clarify the previous two commits.
Submitted by:	dougb@
2011-12-28 01:46:02 +00:00
Wesley Shields
0468e95981 Revert part of the previous commit, and make things a little more clear with
punctuation.

Discussed with:	eadler@
2011-12-28 00:53:48 +00:00
Eitan Adler
621a1828da - Remove some old duplicate words. They were getting in way of finding newer ones. 2011-12-27 03:32:25 +00:00
Greg Larkin
270c28b6ae - Fixed missing end-quote in sed command
- 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
2011-12-09 23:26:58 +00:00
Doug Barton
d2c1853804 INDEX-6 -> INDEX-8
Submitted by:	gjb
2011-09-28 01:44:31 +00:00
Erwin Lansing
2b35911821 Add support from FreeBSD 10.x 2011-09-27 06:29:35 +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
Stanislav Sedov
bfc1333181 - Use optparse instead of old deprecated method.
- Kill ruby 1.6 related stuff.
2011-08-23 09:23:54 +00:00
Stanislav Sedov
d39e30b3dc - Fix options processing (optparse puts options into hash indexed by strings,
not symbols).
2011-08-23 09:17:46 +00:00
Stanislav Sedov
90d33c8b8c - Make it work with ruby 1.9. 2011-08-23 08:42:31 +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
Emanuel Haupt
e7cc2ccf33 Fix readme building. 2011-08-12 06:56:44 +00:00
Renato Botelho
390fe1afe5 Change shebang to #!/usr/bin/env perl, as required by bapt@ 2011-07-27 17:18:26 +00:00
Erwin Lansing
2b43202957 Remove duplicate words in comment.
Submitted by:	ohauer
2011-05-02 09:38:04 +00:00
Florent Thoumie
03074365a5 Remove portbuild scripts from pcvs, as they now live in svn/projects. 2011-04-24 16:37:51 +00:00
Mark Linimon
3fcbbb8d24 Add some definitions to try to limit the number of times we let builds
fail before we stop.  This should help avoid spamming people's mboxes.
2011-04-22 18:32:13 +00:00
Mark Linimon
9fd443c7ba Allow the top-level build to be destroyed. This is useless for
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'.
2011-03-24 06:24:04 +00:00
Pav Lucistnik
95f63674f3 - Stop caring about src-6 snaps and expire checkout snaps rather more
aggresively
2011-03-21 21:43:58 +00:00
Mark Linimon
068948ee07 Add an error entry for gmake. 2011-03-08 22:03:18 +00:00
Mark Linimon
547dbc0a08 Add a test for gmake 3.82 regressions. (3.82 is not in the tree yet).
While here, move segfault down: sometimes this is a false positive for
a config failure.
2011-03-08 21:53:53 +00:00
Mark Linimon
46a7d368e1 Add an alternate spelling for a link. 2011-03-04 06:11:51 +00:00
Mark Linimon
4a3b759d6b Add an overly-large regexp to isolate "packages that fail to build with
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.
2011-02-27 07:08:01 +00:00
Mark Linimon
f7fd413b58 One more pass through this file to bring it up to the latest processonelog:
- 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
2011-02-27 06:55:38 +00:00
Mark Linimon
e4a1d6f3b8 For efficiency's sake, deprecate the following error types, which we no 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.
2011-02-27 06:33:45 +00:00
Mark Linimon
7b36c962d5 Sheesh. The errors "f77" and "uname" were never even documented. Add
the into the section for obsolete errors.
2011-02-27 06:16:01 +00:00
Mark Linimon
0b94659e59 Move some of the error types that were removed from the script some time
ago to the "obsolete" section.
2011-02-27 06:01:20 +00:00
Mark Linimon
5d2451c2a6 Add the following new error classifications, to sync with upcoming work
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.
2011-02-24 22:28:22 +00:00
Mark Linimon
2fc5780a86 Remove 6.x links since it is EOL. (For now, the error logs remain).
While here, change the misnomer Full to Previous, but leave the links
alone until we upgrade pointyhat to the latest codebase.
2011-02-22 03:07:11 +00:00
Erwin Lansing
90b43d628c Make table headers more selfexplanatory
Submitted by:	gerald
Feature safe:	yes
2011-02-05 16:42:00 +00:00
Erwin Lansing
7b3fc2c221 7.1 runs EOL today, start building against 7.3
Feature safe:	yes
2011-01-31 09:29:22 +00:00
Mark Linimon
e93f4465dc Change the "unclean build" handling case to not retry. Previously, it
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
2011-01-26 10:41:53 +00:00
Mark Linimon
4ddc8569cb Fix typo in fixed-up tar command to suppress a whoooole lot of junk
output on package builds.

Pointy hat:	self
Feature safe:	yes
2011-01-24 01:58:21 +00:00
Mark Linimon
2d9bb86df0 Add an entry for the 'dirent' error.
Noticed by:	Anton Shterenlikht
Feature safe:	yes
2011-01-24 00:44:53 +00:00
Mark Linimon
c53373e936 Add anti-foot-shooting measure.
Feature safe:	yes
2011-01-23 03:06:44 +00:00
Mark Linimon
883391196b Export BACKUP_FTP_SITE for the generalized make.conf files in
bindist-*.tar (so that they can be shared between pointyhat and
pointyhat-west without modification.)

Feature safe:	yes
2011-01-23 02:39:54 +00:00
Mark Linimon
d2628e1ceb Add CLIENT_BACKUP_FTP_SITE as part of a generalization push between
bindist-*.tar files on pointyhat and pointyhat-west.

Feature safe:	yes
2011-01-23 02:34:58 +00:00
Mark Linimon
be8848c7d8 Force the copy of portbuild.* files as files, not symlinks. Adjust
the comment for bindist-* to match.

Feature safe:	yes
2011-01-23 02:26:14 +00:00
Erwin Lansing
4f169b63af Revert to RELENG_7_1 after consultation with re@
Feature safe:	yes (this time for real)
Approved by:	portmgr,re
2011-01-18 15:57:00 +00:00
Erwin Lansing
8e2ba39faf Bump 7-stable to RELENG_7_4 due to a major library version increase
in libcrypto.

Feature safe:	yes (really, really not, but we don't have any other option)
2011-01-14 22:36:32 +00:00
Erwin Lansing
b40874d29c rmdir(1) does not take -f. 2011-01-05 18:34:17 +00:00
Erwin Lansing
fa2e0c2cef Drop support for 6.x and bump 8.x to 8.1-RELEASE 2010-12-21 08:25:08 +00:00
Mark Linimon
6dad2ee054 Remove debugging code that crept in. 2010-12-17 01:34:38 +00:00
Mark Linimon
6f337f74cd Refactor the client-side. It turns out that the evaluation of param.h
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.
2010-12-16 07:38:18 +00:00
Mark Linimon
b0a015135a If the logfile was not correctly copied from the client back to the server,
do not attempt to process it.
2010-12-16 07:34:58 +00:00
Mark Linimon
2935ba5fee Make sure that PKGSUFFIX and LOCALBASE are really defined. (Things work
_very_ badly if they aren't.)

Also, track the refactoring of buildenv so that the proper src tree
bits are picked up.
2010-12-16 07:32:22 +00:00
Erwin Lansing
34b70fee7a Drop support for FreeBSD 6.x. 2010-12-14 14:16:37 +00:00
Mark Linimon
5bc0ea6f26 common.conf has to be copied over as well as client.conf. 2010-12-09 00:50:02 +00:00
Mark Linimon
28905d9035 Refactor some variables that need to be in sync between the server-side
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.
2010-12-01 02:38:04 +00:00
Mark Linimon
5cfbfdffd1 It turns out that some variables have to be shared between the server-side
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).
2010-12-01 02:35:20 +00:00
Mark Linimon
c836d9acad Canonicalize the use of SRC_BASE to fix INDEX and duds builds on head
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.
2010-12-01 02:32:49 +00:00
Mark Linimon
ac775267a0 Canonicalize the use of SRC_BASE to fix INDEX and duds builds on head
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.
2010-12-01 02:30:14 +00:00
Mark Linimon
d072a14cd7 Make an rm command quieter; add some debug comments. 2010-12-01 02:28:19 +00:00
Mark Linimon
08037129f0 Although I was going to try to avoid it, it turns out that it is
impossble to have merely "server.conf" and "client.conf" control
everything on a head node.  Some pieces must be refactored into
"common.conf".
2010-12-01 02:27:35 +00:00
Mark Linimon
03f4604fe0 Rename internal variables to correspond to their actual uses; automatically
create the links for the webserver; add some comments.
2010-12-01 02:24:35 +00:00
Mark Linimon
439a77bd90 Add some debug code to attempt to work around the "too many stale chroots"
problem, until it can be correctly understood and fixed.
2010-12-01 02:23:14 +00:00
Mark Linimon
93015147a5 Add a debug setting (commented out). 2010-11-29 05:08:50 +00:00
Mark Linimon
22443fff64 Move the override of PKG_DBDIR to the right place. This keeps INDEX
from being contaminated by the packages installed on pointyhat-*.
2010-11-29 03:30:17 +00:00
Pav Lucistnik
309d07b77b - Switch to SHA256 checksums
PR:		ports/152358
Submitted by:	Volodymyr Kostyrko <c.kworr@gmail.com>
2010-11-18 11:28:05 +00:00
Mark Linimon
695771c5f0 Retire the broken fenner distfile survey in favor of the new one
being maintained by ehaupt.
2010-10-07 13:13:35 +00:00
Mark Linimon
ab41033501 Attempt to shut down some whining when the resultant script is run. 2010-10-07 10:25:32 +00:00
Philip M. Gollucci
4f0ae25a44 - s/make/may/
Reported by:    wxs
2010-09-23 17:22:45 +00:00
Philip M. Gollucci
71e4661dfa -use a tab not a space 2010-09-22 19:02:47 +00:00
Philip M. Gollucci
6d823cc849 /8/9/ as the default 2010-09-22 18:58:18 +00:00
Philip M. Gollucci
2070dd3325 blanket approval 2010-09-22 18:56:44 +00:00
Philip M. Gollucci
9a38c1b8b9 check for repocopy snafus 2010-09-14 06:13:10 +00:00
Mark Linimon
324dff7a25 Fix it for real this time. 2010-08-16 23:59:32 +00:00
Mark Linimon
f149057e10 Restore the display of statistics for non-mainline runs. 2010-08-16 09:17:05 +00:00
Mark Linimon
8153ebd48c Add some missing error handling. 2010-08-16 06:22:37 +00:00
Mark Linimon
856a21b160 Handle yet another error case. 2010-08-15 09:16:51 +00:00
Mark Linimon
ff7f1257bf Correct some misleading documentation. 2010-08-10 05:39:57 +00:00
Mark Linimon
3a3eb397af Fix braino from production. 2010-08-02 07:11:11 +00:00
Mark Linimon
2e418d3548 Fix mishandling of root/all case. 2010-07-30 03:18:21 +00:00
Mark Linimon
2c4d0a67a8 Push PACKAGE_BUILDING and MALLOC_OPTIONS up a level.
Feature safe:	yes
2010-06-30 14:51:47 +00:00
Mark Linimon
aadc9bb5d1 Remove now-redundant setting of PACKAGE_BUILDING.
Feature safe:	yes
2010-06-30 14:50:06 +00:00
Mark Linimon
bcb18c7e0b Fix up usage of buildenv.client to deal with overenthusiastic
refactoring.  Pick up new CLIENT_MALLOC_OPTIONS parameter.  Clean
up comments.

Feature safe:	yes
2010-06-30 14:48:57 +00:00
Mark Linimon
937750f8bc Add CLIENT_MALLOC_OPTIONS.
Feature safe:	yes
2010-06-30 14:46:27 +00:00
Mark Linimon
bc2d32d595 The previous refactoring was too agressive. SRCBASE and friends are used
on both the client side and server side.

Pointy hat to:	self
Feature safe:	yes
2010-06-30 14:43:12 +00:00
Mark Linimon
090587b616 Correct the URLs; 'http://' is not included in MASTER_URL.
Feature safe:	yes
2010-06-28 01:59:25 +00:00
Mark Linimon
08115cf45a Document some hard-coded stuff in the scripts.
Feature safe:	yes
2010-06-25 23:45:38 +00:00