1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
Commit Graph

89 Commits

Author SHA1 Message Date
Kirill Ponomarev
9dd929b156 Introduce new variable MASTER_SITE_INDEX, to allow mirroring of
INDEX files.

PR:		ports/74709
Submitted by:	Valentin Nechayev <netch@netch.kiev.ua>
2004-12-17 11:23:22 +00:00
Mark Linimon
e074ac5451 As previously announced, remove ports/picobsd/ssh-picobsd due to long-
standing build problems.  Since it was the last port in the picobsd
category, remove it, too.

Discussed with:		kris
2004-11-28 21:53:08 +00:00
Jun Kuriyama
16726a6a5b Allow to override fetch option by $FETCHINDEX variable.
Approved by:	portmgr (krion)
2004-11-16 09:12:34 +00:00
Pav Lucistnik
9d8843348d - In fetchindex target:
Fetch bzip2 compressed copy of INDEX and decompress locally. This should
  cut down both time and bandwidth.

Approved by:	kris (portmgr hat)
2004-11-15 21:05:18 +00:00
Kris Kennaway
3a7c8c1833 * Be even more explicit about partial ports trees being unsupported
for INDEX builds [1]

* Remove the parallel target from Makefile; this is heavily tied to
  the package build cluster and can be better done in the makeparallel
  script (commit to follow) [2]

* Extend the format of INDEX to separately list the
  EXTRACT/PATCH/FETCH_DEPENDS instead of lumping them all in together
  with BUILD_DEPENDS.  The three new fields are appended to the end of
  the record in that order. [2]

* Change BROKEN to IGNORE in BROKEN_WITH_MYSQL failure code [3]

* Support non-default PREFIX for perl 5.00503 [5]

* Use pkg_info -I instead of ls when searching for conflicts [6]

* Allow local customization of the port subdirectories by including
  ${.CURDIR}/Makefile.local in bsd.subdir.mk if it exists [7]

* Fix 'make search' when ${PORTSDIR} is a symlink to a directory name
  containing extended regexp metacharacters [8]

Submitted by:	linimon [1] [3], kris [2], lth [4], sem [5], eik [5] [6],
		Roman Neuhauser <neuhauser@chello.cz> [7]
PR:		68299 [1], 67705 [3], 67264 [4], 59696 [5], 66568 [6],
		68072 [7]
2004-07-14 08:18:16 +00:00
Kris Kennaway
92bcd8f609 Be more explicit about INDEX builds not being supported with partial
or out-of-date ports collections.
2004-06-11 23:52:44 +00:00
Kris Kennaway
22cbe54b9a * Support verbose index builds with INDEX_VERBOSE [1]
* Don't assume root is using /bin/sh when switching credentials to
  configure OPTIONS. [2]

* Support glob expressions in USE_GETTEXT to allow more flexibility
  in the face of future gratuitous library version bumps by the gettext
  developers [3]:

  USE_GETTEXT=yEs   # Works as before (case-insensitive)
  USE_GETTEXT=[5-7] # Accepts any of those libintl.so.x versions
                    # in the LIB_DEPENDS

* Correctly register dependencies when a non-system perl port is used
  on 4.x [4]

* Extend 'make search' support to allow much more flexible searching.
  Syntax will be documented in CHANGES for brevity. [5]

* Reorder the post-install-script target to before add-plist-info for
  consistency [6]

* Various fixes to support port operations when a port directory
  exists under /usr/obj [7]

* Extend USE_PERL5_BUILD and USE_PERL5 to add EXTRACT and PATCH
  dependencies since many ports require perl in those stages [8]

* Move info file deregistration later in the deinstallation process so
  it works properly. [9]

* Improve wording in EXPIRATION_DATE message. [10]

* Fix dependencies for XFREE86_VERSION==3 (obtain imake from
  x11/XFree86 now that the former port is gone) [11]

* While building index, treat non-existent dependencies as fatal.
  Previously the error was being hidden by the stderr redirection. [12]

* Don't always retry BROKEN ports when package building (it is taking
  too much time to continually rebuild ports that are usually going to
  really be broken).  Set TRYBROKEN if you want to attempt a build of
  a BROKEN port. [12]

* Revert incorrect change from 1.487 relating to ALL-DEPENDS-LIST [13]

PR: 		24214 [1], 67529 [2], 63937 [3], 65554 [4], 40699 [5],
		59162 [6], 63372 66567 [7], 63394 [8], 65304 [9],
		65931 [10], 66565 [11], 66743 [13]
Submitted by:	roam [1], will [1], hrs [2], mi [3], ade [4],
		Roman Neuhauser <roman@bellavista.cz> [5],
		Sergey Matveychuk <sem@ciam.ru> [6], gad [7],
		adamw [8], kris [8][12], dinoex [9],
		Alexey Dokuchaev <danfe@regency.nsu.ru> [10],
		eik [11][13]
2004-06-10 07:30:19 +00:00
Alexander Leidinger
60cbbacd39 Add "fetchindex" target. It fetches the recent index file (INDEX _or_
INDEX-5).

A note about the implementation: I had to add the call to chmod to make
the index file readable to everyone. I'm a little bit surprised by this,
since my umask is 022. Either fetch(1) doesn't respect the umask or it
mirrors the permissions too (I haven't investigated this). Both
possibilities aren't documented in the man-page.

Approved by:	kris (previous version without the chmod)
2004-05-25 10:16:16 +00:00
Kris Kennaway
e74f65891d - Allow processing of info files in non-standard locations; the
INFO_PATH variable may be used to specify their location.  It defaults
  to 'share/info' for the standard PREFIX, and 'info' when PREFIX ==
  /usr. [1]

- Remove the <category>/pkg/COMMENT files in favour of a COMMENT
  variable in <category>/Makefile [2]

- Prevent patch breakage with VERSION_CONTROL=numbered [3]

- Fix some instances of incorrect WRKDIRPREFIX handling. [4]

- remove useless ${MKDIR} ${WRKSRC} in config target [5]

- remove reference to OpenBSD [6]

- Exempt devel/p5-Module-Build from the self-dependency in
  PERL_MODBUILD so that this port may use the option without getting an
  infinite dependency list [7]

- The default PERL_ARCH is currently determined as a function of
  OSVERSION. It should however be a function of PERL_LEVEL since the
  correct value depends on what Perl version one has installed (older
  Perl versions use ${ARCH}-freebsd, newer versions use mach). [8]

- Fix PORTDOCS on older (4.7, 5.0) systems [9]

- Allow 'make parallel' to generate a working makefile when not all
  categories are present (this does not mean you'll be able to build all
  ports, unless you make sure they don't have external dependencies) [10]

- Don't report symlinks as world-writable in the security check [11]

- Fix a comment that was broken by a mismerged patch [12]

- Clarify the meaning of USE_*, WANT_*, WITH_* and WITHOUT_* [13]

- Don't set _CHKSUMFILES/_IGNOREFILES if CKSUMFILES/IGNOREFILES is
  empty and DIST_SUBDIR is set. [14]

- Fix comment for DISTDIR [15]

- Update the documentation of the USE_GL variable [16]

- Check to see if NONEXISTENT exists, and fail with an error if it does [17]

- Fix fetching of new distfiles in 'make makesum' when SIZE is set [18]

- Consistently set MAKE_ENV when USE_GCC=3.2 or 3.3 are set [19]

- Rework INDEX builds: [20]

  * Fix the bsd.port.subdir.mk code that is supposed to report index
    breakage (the fallback code wasn't actually being run because make
    would halt immediately following the error).  This should help with
    INDEX error reports because it will immediately show the cause of
    failure, so we won't have to pull teeth to extract it from the
    submitter.

  * Streamline the 'make describe' code a bit.

  * Provide some basic instructions to the user when an index build
    fails, on when and how to report index build failures (turn this off
    with INDEX_QUIET=1)

  * Removed INDEX_NOSORT, because I couldn't imagine it to be very
    useful and it doesn't cost very much anyway.

  * Don't prevent INDEX builds from seeing the local host environment.
    Since a lot of users are using 'make index' thesedays they should get
    an index that reflects their local settings and installed ports.  If
    you want to build a 'default' index that isn't influenced by local
    settings (e.g. for release builds), set the INDEX_PRISTINE variable.

  * Allows parallel INDEX builds (using make -j).  The most obvious way
    of doing this doesn't work, because I/O from child makes is broken up
    into 2k chunks, and output lines from 'make describe' that exceed this
    length (*cough* GNOME *cough*) will be intertwined with the output of
    other makes, leading to a corrupted INDEX.  The I/O interleaving
    can be disabled using 'make -P', but this inserts extraneous output of
    its own, and redirects stderr, making it useless for our purposes.
    Instead, I collect the output from the child make processes in
    temporary files and recombine them at the end.

  * The number of concurrent make processes to spawn can be set using
    INDEX_JOBS.  By default this is set to 2, which seems to be a sweet
    spot for both single and dual-processor systems.  On my tests I do not
    see any significant performance changes on UP, but on a dual 4.x
    system the build time drops by 47% (6 minute index builds on one test
    machine!).  Depending on your disk and CPU hardware you might see
    further gains with INDEX_JOBS=4 or higher, so you might like to
    experiment to see what works best.  On a dual 5.x system the
    performance gains do not seem to be as great (20-30%), but this is
    still a significant net win.

PR: 		55493 [1], 59651 [2], 61552 [3], 62247 [4], 62329 [5],
		62337 [6], 62422 [7], 62441 [8], 62627 [9], 62983 [10],
		63112 [11], 63297 [12], 63335 [13], 64029 [14], 64069 [15],
		64236 [16], 64519 [17], 62958 [18], 64237 [19]

Submitted by:	lev [1],
		Matthew Seaman <m.seaman@infracaninophile.co.uk> [2],
		Joel Ray Holveck <joelh@piquan.org> [3],
		ade [4], Sergey Matveychuk <sem@ciam.ru> [5],
		markus [6], mat [7], des [8], eik [9],
		Dmitry Morozovsky <marck@rinet.ru> [10],
		Andrew <andrew@ugh.net.au> [11], vs [12], linimon [13],
		edwin [14][15], gerald [16], marcus[17][18], kris [19][20]
2004-04-02 07:25:23 +00:00
Garrett Wollman
60aab66567 Say hello to the new "net-mgmt" category. There are probably more
ports that belong here than the ones I have identified and moved in
this, first, pass.

Approved in principle by: marcus
2004-02-23 04:42:13 +00:00
Joe Marcus Clarke
e8a356853d Tie x11-themes into the build now that it contains some ports. 2004-02-20 02:59:12 +00:00
Joe Marcus Clarke
4f051c96e0 Tie accessibility to the build now that it has some ports. 2004-01-22 09:16:59 +00:00
Joe Marcus Clarke
ad60626667 Tie arabic to the build now that it has some ports. 2003-11-08 23:57:29 +00:00
Joe Marcus Clarke
47d836d6ff Tie the dns category to the build now that it has some ports. 2003-08-30 03:24:22 +00:00
Tilman Keskinoz
31c97ad516 Connect polish to the build
Remove the Repocopied ports.

PR:             53797
Submitted by:   Aleksander Fafula <alex@fafula.com>
Approved by:    portmgr(marcus)
Repocopied by:  joe
2003-08-19 09:53:15 +00:00
Josef Karthauser
b3f65a5df1 Define the default SUP program to be cvsup.
PR:	ports/15992
2003-07-12 13:20:59 +00:00
Ruslan Ermilov
4ff7581436 With CVS_UPDATE, use read-only repository mode by default. 2003-03-06 14:02:21 +00:00
Ruslan Ermilov
41154f0bc3 In a spirit of src/Makefile.inc1,v 1.142, get rid of "sticky"
files when updating ports sources with cvs(1).
2003-03-05 09:08:10 +00:00
Kris Kennaway
f26c3131fe Correct the bug in 'make index' that failed to substitute back the
canonical PREFIX locations for /nonexistent*
2003-02-24 03:54:41 +00:00
Kris Kennaway
768b71b227 I committed from the wrong tree, and the patch had a missing
INDEX -> ${INDEXFILE} conversion.
2002-12-04 18:03:35 +00:00
Kris Kennaway
f9992608f9 Add the INDEXFILE variable, that defaults to INDEX-5 on 5.0 (500036) and
later, and INDEX on earlier systems.  Use this in the 'make index' and
associated targets.  This is necessary to deal with the substantially
different dependencies of ports between 4.x and 5.0 (e.g. ports that
depend on perl).
2002-12-04 17:17:48 +00:00
Kris Kennaway
19997da7f7 Merge in some changes from Tools/portbuild/scripts/makeindex: set
LOCALBASE and X11BASE to bogus values during the index build, so
'make describe' does not pick up packages installed on the system and
change the package name or list of dependencies (this will usually
create a broken INDEX file).
2002-12-01 01:05:38 +00:00
Akinori MUSHA
8a7ffd23bc Add several new real categories.
- finance : Monetary, financial and related applications

  PR:		ports/39102
  Requested by:	trevor

- hungarian : Hungarian language support

  PR:		ports/37576
  Requested by:	Janos Mohacsi <janos.mohacsi@bsd.hu>

- multimedia : Multimedia software

  Requested by:	many

- portuguese : Portuguese language support

  PR:	ports/35991
  Requested by:	trevor
2002-11-18 09:22:59 +00:00
Kris Kennaway
5864dcd3ff Switch back to .tgz packages for 'parallel' target. 2002-10-02 07:14:08 +00:00
Kris Kennaway
de5f3117b5 Switch to .tbz packages in generated makefile target. 2002-09-15 22:08:24 +00:00
Will Andrews
5c4150e92b Don't use cat(1) needlessly -- pipe the INDEX to awk(1).
PR:		30099
Submitted by:	schweikh
2001-12-23 10:58:42 +00:00
Satoshi Asami
8a8dc68a16 New category picobsd starts today. 2001-04-22 16:47:55 +00:00
Satoshi Asami
65fc5e28c7 Use single colons instead of double colons for "*-all" targets. I don't know
why I used double colons here before.
2001-03-25 01:50:40 +00:00
Satoshi Asami
fce35d76d8 Add new categories science and ukrainian. 2001-03-24 21:40:17 +00:00
James E. Housley
66067235bb Allow both SUP_UPDATE and CVS_UPDATE to be used, similar to src/Makefile
PR:		17903
Submitted by:	James Housley <jim@thehousleys.net>
Reviewed by:	billf
2000-10-31 21:00:02 +00:00
Satoshi Asami
b320b1f626 For "make parallel", provide out an extra target without the ".tgz".
(Makes it easier to cut and paste, so you can do something like "make
gnome-1.2".)

Also change /a/asami/portbuild -> /var/portbuild.
2000-09-27 02:08:53 +00:00
Satoshi Asami
aa498ef456 New category french starts today! 2000-09-22 06:25:45 +00:00
Josef Karthauser
18853d9756 Use the SUPHOST in the 'make update' if it's defined. 2000-08-13 12:38:41 +00:00
Satoshi Asami
ec8861a168 Add new category hebrew -- Hebrew language support.
Requested by:	sada
2000-07-31 00:09:42 +00:00
Satoshi Asami
1a0ea0d089 Typo (ghostscript55htff -> ghostscript55httf). 2000-07-19 18:16:10 +00:00
Satoshi Asami
d30ff23186 Change a couple of "make"s to "cd ${.CURDIR} && make"s, otherwise you
will get "make: don't know how to make /usr/ports/INDEX. Stop" type of
weird errors when /usr/obj${.CURDIR} exists.
2000-04-12 11:06:35 +00:00
Josef Karthauser
97315fc9f2 Additions to the 'make search' mechanism.
* You can now 'make search' from a ports subdirectory.  This will
  will restrict the search to ports within this subdirectory.
* Added an additional search option to search just the port names,
  e.g. 'make search name=foo' will only return ports that have 'foo' in their
  name.

Approved by:	asami
2000-03-22 20:36:55 +00:00
Peter Wemm
50fb080408 $Id$ -> $FreeBSD$ 1999-08-31 03:04:38 +00:00
Satoshi Asami
50b7d12b42 Add new category "ftp". 1999-08-02 10:42:26 +00:00
Satoshi Asami
a163079f0d Makefile:
(1) Sort INDEX lines since with the new parallel patch, the lines can
    come in out of order.  (see 2)

Mk/bsd.port.subdir.mk:
(2) Make the targets parallelizable.
Submitted by:	hoek
Reviewed by:	steve, among others

Mk/bsd.port.mk:
(3) Serious speedup of bsd.port.mk startup.  In particular, this helps
    cut down "make index" time from an hour and a half to 8 minutes on
    our system with a parallel make describe (see 2).  Try to pass
    unchanged variables down from parent makes instead of rerunning
    commands to define them, etc.
Submitted by:	hoek
Reviewed by:	steve, among others

(4) Change a bunch of "FreeBSD.ORG"s and "freebsd.org"s to "FreeBSD.org".

(5) XFree86 is now at version 3.3.4.

(6) Update for gnome master sites.
Submitted by:	mharo

(7) Remove old system tcl check, I don't think people with systems
    from way back are still submitting ports.

(8) Fix comment on "make describe" line description (www site was missing).
1999-07-23 09:36:55 +00:00
Satoshi Asami
161c5ae073 Add new categories irc, java and x11-servers. 1999-06-26 22:29:57 +00:00
Bill Fumerola
5f5e4053ed Better logic and typo fixing.
Submitted by:	mharo
1999-06-04 17:30:31 +00:00
Bill Fumerola
261e0c0658 'make update' in the ports directory. 1999-06-01 02:55:43 +00:00
Satoshi Asami
047e500528 (1) Rename "templates" to "Templates". The toplevel is getting
crowded and I don't want to confuse cvsup about what's in
    ports-base and what is not.  (I.e., all uppercase
    files/directories are, all lowercase ones are not.)  While I'm
    here, move the make_index script from templates to Tools.

(2) Adjust the MASTER_SITE_OVERRIDE logic a bit.  Formerly, it was not
    possible to specify both MASTER_SITE_OVERRIDE while still using
    MASTER_SITE_BACKUP as a backup, as they were tied in the
    implementation of MASTER_SITE_FREEBSD.  You can now specify them
    independently if MASTER_SITE_FREEBSD is not set (in which case
    MASTER_SITE_BACKUP will be moved to the beginning of the list,
    like before).
1999-01-26 03:58:58 +00:00
Satoshi Asami
075386ef4f Break "all" target into subtargets according to category. Change to
cope with new directory structure in ${buildroot}.
1999-01-22 10:32:32 +00:00
Jordan K. Hubbard
415e6d73aa Make the search target a bit looser in its matching. 1999-01-13 04:08:05 +00:00
Satoshi Asami
0eb5003d31 Move Palm*-related programs to new "palm" category.
Reviewed by:	the ports list
1999-01-09 08:52:31 +00:00
Satoshi Asami
4950255203 Break up the "plan9" category -- all the ports are where they belong, and
"plan9" is a virtual category now.

Reviewed by:	the ports list
1999-01-09 03:19:49 +00:00
Satoshi Asami
fd7d6a00cd Add new target "parallel" which creates a parallelizable Makefile for
building all packages.  This is to be used in conjunction with the scripts
under the "Tools" directory.  Note this version has hardcoded paths and
other general badness -- those will be fixed later.
1998-12-28 12:35:10 +00:00
Satoshi Asami
df0519ed93 Fast INDEX generation. See bsd.port.mk rev. 1.300 for details.
Submitted by:	steve
1998-12-12 07:41:49 +00:00