1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
Commit Graph

1333 Commits

Author SHA1 Message Date
Martin Wilke
255190e3c1 portupdate-scan simplifies dealing with /usr/ports/UPDATING when you have so
many ports installed that it is difficult to know which sections are relevant.

It reads /usr/ports/UPDATING, attempting for each block to determine whether
the affected ports are installed. It omits blocks that do not apply.
It handles wildcards and other special cases, however it cannot handle
all variants of phrases used on the APPLIES: line.
In uncertain cases, it errs on the side of reporting.

PR:		ports/117991
Submitted by:	Alex Stangl <alex at stangl.us>
2007-12-14 20:52:18 +00:00
Martin Wilke
bd75a87135 - Update to 1.7
PR:		118057
Submitted by:	Andy Kosela <andy.kosela@gmail.com> (maintainer)
2007-12-12 23:48:52 +00:00
Doug Barton
393f7dcb86 Update for version 1.26 2007-12-12 21:51:32 +00:00
Doug Barton
5be76771c0 New Features
===========+
1. If an +IGNOREME file is present for a package that has a new
version, let the user know.
2. Use printf to display BROKEN/FORBIDDEN/IGNORE messages so that
multi-line messages with embedded newlines will display properly.

Typo Fix
========
Fix two typos in the "it's interactive" message
... on the same line
... in two consecutive words. A new personal record.

I did run through the rest of the script with aspell and didn't
notice anything else, but who knows?
2007-12-12 21:50:59 +00:00
Chin-San Huang
bb54b035f0 Add pkg_search 1.2, a nifty script searching the ports database.
PR:		ports/118397
Submitted by:	Matthias Schmidt
2007-12-12 18:45:15 +00:00
Mark Linimon
11e60f395e Catch up with master 1.589:
Approved by:	portmgr (self)
2007-11-02 05:24:38 +00:00
Doug Barton
64cd4a7231 Update for version 1.25
Approved by:	portmgr (marcus)
2007-10-31 08:57:40 +00:00
Doug Barton
fada3faae4 Small bug fixes
===============
1. In delete_all_distfiles(), $distdir already contains a trailing slash
2. Only print the "no new versions" message for -L, not -l

Big bug fix
===========
1. cd back to the port directory before trying to run 'make install'

pointy_hat_supply++

Approved by:	portmgr (marcus)
2007-10-31 08:57:03 +00:00
Doug Barton
aa26dde9e5 Update for version 1.24 2007-10-30 07:26:57 +00:00
Doug Barton
994d7737f1 These changes are the result of some regression testing, plus a top
to bottom read through prompted by a user reporting bug #1 below.
Fortunately I only found that one additional instance of forgetting
to virtualize a value we derive from bsd.port.mk, but I did find and
fix a few more things as well.

Bug Fixes
=========
1. Virtualize an occurrence of $distdir instead of using $pd/distfiles
2. Make all variables in read_distinfos() local
3. When specifying multiple ports on the command line, the test for
PARENT_PID to start read_distinfos() would always fail, so start it
in the initial PARENT_PID block instead. This also implies pulling the
DI_FILES creation up into that same block.

Non-Functional Changes
======================
1. Adjust whitespace in the code, and the script output in a few places
2. Use a shell expansion instead of sed to trim multiple results
3. Remove one redundant error check
4. Replace the name find_contents_distfiles() with find_dl_distfiles()
since the info is not in +CONTENTS anymore
5. Add/update comments to the existing code

Small changes to actual behavior
================================
1. When dealing with unrecorded dependencies pipe the results to
'less -F'
2. Minor optimization: In read_distinfos(), check to see if we're
upgrading an existing port, and if so do that port first so we're
sure the right distfiles will be in DI_FILES even if the function
doesn't complete before the port is done building/installling
3. Add a message to -L to indicate when there are no new versions
4. Move the checks for run-depends after installation of the parent
port so that if a run-depends port has a build-depends on the parent,
it will work. This is a supported, but apparently not recommended
configuration. To make this work do the install with -DNO_DEPENDS so
that we can take charge of the run-depends installs.
2007-10-30 07:18:50 +00:00
Martin Wilke
6fe7348539 - Fix build
Submitted by:	pointyhat via pav
Approved by:	common sense
2007-10-26 17:58:12 +00:00
Pav Lucistnik
22ddbc2b4f - Mark BROKEN: touches filesystem before make install
- While here, fix typo in COMMENT

Reported by:	pointyhat
2007-10-26 08:52:57 +00:00
Martin Wilke
6f4626194d - Add support for FreeBSD 8.X.
- Bump PORTREVISION

Approved by:	maintainer via irc
Obtained from:	marcuscom cvs
2007-10-25 08:21:03 +00:00
Stefan Walter
38a5e73055 - Make this port self-contained.
- Update to the latest version. The only change is accepting 'yes' as valid
  input where previously only a 'y' was accepted.
  (Patch by Feargal Reilly <feargal@fbi.ie>)
2007-10-21 08:29:06 +00:00
Doug Barton
60319e71da Update for version 1.23 2007-10-21 05:33:30 +00:00
Doug Barton
4611f3a852 Two small bug fixes
===================
1. When I changed how the MOVED file was treated in version 1.19
I accidentally typed a literal /usr/ports/. Change that to the
variable for PORTSDIR as it should be. [1]

2. When using the --show-work feature and the port has no dependencies,
exit immediately instead of recursing.

Submitted by:	Jason C. Wells <jcw@highperformance.net> [1]
2007-10-21 05:33:07 +00:00
Ade Lovett
dbd39ca660 Migration from bison 1.x to 2.x
PR:		117086
Tested by:	-exp runs
2007-10-17 10:13:01 +00:00
Mark Linimon
480fedc2b2 Fix braino.
Hat:		portmgr
2007-10-17 00:13:30 +00:00
Doug Barton
ca59df258b Update for version 1.22 2007-10-15 04:56:04 +00:00
Doug Barton
9f930e9dba Bug Fixes
=========
1. For all values derived from bsd.port.mk, assert that they are not empty.
This helps prevent problems when running 'find $value ...'
2. Don't try to append to the master list of distfiles if we're using -D

Refinements for /var/db/ports/$name/distfiles
=============================================
1. Only create a distfiles file if the port has distfiles
2. Delete the distfiles list and try to delete PORT_DBDIR when we pkg_delete.
(The latter will fail if there is an options file present.)
3. Define the distfiles list even if we are using -D
2007-10-15 04:55:42 +00:00
Mark Linimon
6c2876ca6e Reset .@babolo.ru due to maintainer-timeouts and no response to email.
Hat:		portmgr
2007-10-11 21:31:50 +00:00
Mark Linimon
581e69adb2 Set USE_PERL5/WANT_PERL as appropriate, for ports that either depend on
perl unconditonally, or conditionally.  To be able to conditionalize the
inclusion of bsd.perl.mk, they now need to be defined before the inclusion
of bsd.port.pre.mk.

Hat:		portmgr
2007-10-07 05:45:04 +00:00
Edwin Groothuis
0330b90006 Spelling fix. 2007-10-04 23:15:47 +00:00
Martin Wilke
ba3eb4e89f - Update to 1.6.1
PR:		116705
Submitted by:	Andy Kosela <andy.kosela@gmail.com> (maintainer)
2007-10-04 21:59:54 +00:00
Edwin Groothuis
52d564a552 Remove always-false/true conditions based on OSVERSION 500000 2007-10-04 02:24:29 +00:00
Mark Linimon
4c021c0e37 Incorporate changes from master 1.588. 2007-10-03 23:54:00 +00:00
Edwin Groothuis
3fbe2cc5a6 Add missing pkgsearch port 2007-10-03 07:11:40 +00:00
Alex Dupre
4c2b8f5893 Improve examples. 2007-10-02 16:00:44 +00:00
Alex Dupre
907b90afa8 Bump PORTVERSION for latest commit. 2007-10-02 12:39:11 +00:00
Doug Barton
9638e8c753 Update for version 1.21 2007-10-02 04:50:34 +00:00
Doug Barton
4aabf74f14 New Features
============
1. Switch to saving distfile info in /var/db/ports/$name/distfiles
ala PR http://www.freebsd.org/cgi/query-pr.cgi?pr=106483
2. Keep track of distfiles we've already examined so we won't have to
do them again (or print the "keeping" message for -v more than once).
This has more benefit the more distfiles a port has.
3. Add all distfiles for the new port to DI_FILES after install.
This only makes a difference in a few cases, but it's easy to do.

Bug Fixes
=========
1. Make sure that $distdir always has a trailing slash in case it
is a symlink. [1]
2. In delete_stale(), test whether or not a file is in the _current_
distfile list to make sure that it is not auto_deleted by mistake. [1]
3. When building DI_FILES, only use lines starting with MD5 to avoid
adding every file > 1 time.
4. Only run read_distinfos() when we really need it.

[1] Inspired by ...
PR:		ports/116298
Submitted by:	NIIMI Satoshi <sa2c@sa2c.net>
2007-10-02 04:49:46 +00:00
Mark Linimon
48420a5ebd Switch autoconf dependencies from 2.53 or 2.59 to 2.61.
PR:		ports/116639
Submitted by:	aDe
2007-09-30 04:47:36 +00:00
Marcelo Araujo
9939e501cf - Update to 0.2.7.
- Fixed the Ignore trailing slash in port globs.
- Optionally narrow selected ports by grepping the pkg-descr files.

PR:		ports/116512
Submitted by:	Martin Kammerhofer <dada@pluto.tugraz.at> (maintainer)
Approved by:	stas (mentor)
2007-09-27 14:49:54 +00:00
Mark Linimon
b737126ada Add another anti-foot-shooting measure that will be necessary for finishing
the work on bsd.perl.mk.
2007-09-27 06:27:40 +00:00
Edwin Groothuis
41c13250f0 [NEW PORT]sysutils/pkgsearch : find your packages
pkgsearch find packages in ports in any place from your
	computer , and find also packages
	installeds in your system, pkgsearch use c++, boost and
	sqlite3 for search packages more
	fast and is compiled with cmake

PR:		ports/116404
Submitted by:	"Diego Rocha" <diegorocha1987@gmail.com>
2007-09-27 00:33:40 +00:00
Mark Linimon
0069e3a00f The patch has now been incorporated into the mainstream file. 2007-09-26 00:16:46 +00:00
Mark Linimon
487e1ed07a Add a test to detect ports that do not not set USE_PERL5 (or derivatives),
PERL_CONFIGURE, PERL_MODBUILD, or the upcoming WANT_PERL.  This patch is
currently being tested on the cluster.
2007-09-25 19:18:07 +00:00
Mark Linimon
9ad41f70ad Throw the switch that only includes bsd.perl.mk if the port really
requires it.  This is guaranteed to break quite a number of ports;
email linimon if you find one.  This patch is currently being tested
on pointyhat to help identify them.
2007-09-25 02:54:44 +00:00
Mark Linimon
21a486fcf7 Catch up with master 1.586. 2007-09-25 02:49:26 +00:00
Rong-En Fan
9716a77fea Remove print/ghostscript-afpl as it has been replaced by print/ghostscript-gpl
since version 8.57. The leading ghostscript is the -gpl one.

Approved by:	portmgr (pav)
2007-09-24 08:43:49 +00:00
Edwin Groothuis
bb9f30dc24 [PATCH] ports-mgmt/portconf: support multiple ports per line
This patch adds support to allow multiple ports on a single line.
	Instead of having to do:
	port1: WITH_COOL_FEATURE
	port2: WITH_COOL_FEATURE

	you can do this:
	port1 port2: WITH_COOL_FEATURE

PR:		ports/115733
Submitted by:	"Sean C. Farley" <scf@freebsd.org>
Approved by:	maintainer timeout
2007-09-23 11:43:44 +00:00
Rong-En Fan
afbe839d20 - Update to 1.6
PR:		ports/116545
Submitted by:	Andy Kosela <andy.kosela at gmail.com> (maintainer)
2007-09-23 05:56:28 +00:00
Mark Linimon
4d9de8bfb7 Catch up with master 1.585. 2007-09-17 06:32:27 +00:00
Martin Wilke
306d01e8d9 - Update to 1.5
PR:		116254
Submitted by:	Andy Kosela <andy.kosela@gmail.com> (maintainer)
2007-09-14 10:22:15 +00:00
Mark Linimon
e95332e9b3 Track master: unconditionally include bsd.perl.mk for now. 2007-09-09 03:02:06 +00:00
Mark Linimon
5ca2bdf8a7 Catch up with master 1.581. 2007-09-08 18:01:07 +00:00
Mark Linimon
9839011ec3 Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.

Work done by:	gabor
Sponsored by:	Google Summer of Code 2007
Hat:		portmgr
2007-09-08 01:12:10 +00:00
Ion-Mihai Tetcu
a672f34938 Add missing alias for the logs in httpd config.
PR:		116124
Submitted by:	chinsan@
2007-09-05 17:36:43 +00:00
Ion-Mihai Tetcu
ac0e0c5e50 The Tinderbox team is pleased to announce the release of Tinderbox
2.4.1.  This is a primarily a bug-fix release for 2.4.0, and all users
are encouraged to upgrade.  The changes in 2.4.1 are as follows:
* Sync with the latest applicable pointyhat changes.  This includes
extraneous UID and GID checking.
* Support for creating per-Jail make.conf and src.conf files is
supported.  These files should live in ${tb}/jails/JAIL, and are used
for the Jail builds.  You will still need to use Hooks to populate
custom make.conf files in your Builds.
* Sorting now works properly in the www-exp frontend.
* Hooks that contain arguments with spaces can now be properly executed.
* Various other bug fixes have gone in as well.

This release would not have been possible without the contributions by
Dmitriy Kirhlarov and Alexander Logvinov (and, of course, pointyhat and
Kris).

Tested by:	miwi@
2007-09-05 09:21:47 +00:00
Doug Barton
bbdb8e2a32 Update for version 1.20 2007-08-27 22:48:55 +00:00