1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
Commit Graph

1548 Commits

Author SHA1 Message Date
Doug Barton
09e773a456 Update to reflect the ability to specify multiple glob patterns
added in version 2.6.
2008-07-28 21:25:48 +00:00
Doug Barton
62ccec52c0 New Features
============
1. You can now specify multiple globs for directories in /var/db/pkg on the
command line (along with full names of directories/paths from /usr/ports
and/or /var/db/pkg, as before)
2. When calling check_interactive or update_port from check_for_updates
tell the user what updated version is available. [1]

Bug Fixes
=========
1. Don't set show_list to "all" for -a unless there is somthing to show
2. Add K (don't postclean) to getopts [2]

Other Improvements
==================
1. In check_dependency_files() don't let ro_opd be empty for the purpose
of the egrep expression. It works now, but it apparently violates the
spec and could case problems down the road (e.g., for bsdgrep).
2. Since the BSDPAN pseudo-ports do not exist in the ports tree there
is nothing for portmaster to do with them. Therefore ignore them when
appropriate, notifying the user when necessary. [3]

Submitted by:	Geraint Edwards <gedge@yadn.org> [1]

PR:		ports/126006 [2]
Submitted by:	ahze [2]
Pointy hat:	moi [2]

Problem pointed out by:	Bapt <baptiste.daroussin@gmail.com> [3]
PR:			ports/125428 [3]
2008-07-28 21:24:53 +00:00
Edwin Groothuis
16722c6913 Update description of pkg_tree
The example in the description of pkg_tree shows old package
	names (imake-4, XFree86-libraries).

PR:		ports/125990
Submitted by:	Carlos Santos <unixmania@gmail.com>
2008-07-28 06:37:05 +00:00
Beech Rintoul
ebd5b236b1 - Update to 2.0.2_1
- Minor fixes
- Bump PORTREVISION
- Compatible with BSD KNF

PR:		ports/125991
Submitted by:	Andy Kosela <akosela@andykosela.com> (maintainer)
2008-07-27 19:19:22 +00:00
Xin LI
f139205c26 When doing 'update' and 'diff', use our cvs(1)'s -R feature, this would accelerate
on certain configurations.

While I'm there, make use of 'SF' macro for SourceForge mirror.

PR:	ports/116248
2008-07-27 07:40:01 +00:00
Mark Linimon
189bb010c0 Reset sergei@ due to maintainer-timeouts and no response to email.
Hat:		portmgr
2008-07-27 04:30:53 +00:00
Pav Lucistnik
fa38ed02cc - Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default MAKE_ENV 2008-07-25 12:24:09 +00:00
Beech Rintoul
c46d8b0112 - Patch to ports-mgmt/portupdate-scan to deal with problems which have surfaced
recently, parsing the files /usr/ports/MOVED and /usr/ports/UPDATING. MOVED had
an extra blank line on the end for awhile, and the case of some of the UPDATING
lines have changed (e.g., Author: instead of AUTHOR:). This patch allows
portupdate-scan to tolerate these variances.

PR:		ports/125840
Submitted by:	Alex Stangl <alex@stangl.us> (maintainer)
2008-07-24 18:18:03 +00:00
Mark Linimon
2e5661c052 Catch up with master 1.598. 2008-07-22 04:33:47 +00:00
Mark Linimon
d0f364e1a1 Catch up with master 1.75. 2008-07-21 01:38:03 +00:00
Mark Linimon
5080e9cd0b Catch up with master 1.597. 2008-07-21 01:37:30 +00:00
Joe Marcus Clarke
fb129bc0ff Update to 2.9.10.
* Add some USE_GCC checks [1]
* Check to make sure pkg-descr lines do not end with CRLF [2]
* Warn against using != in assignments [2]
* Check for a valid WWW syntax in pkg-descr [2]

Requested by:	gerald [1]
		kris [2]
2008-07-20 01:09:38 +00:00
Martin Wilke
5e191d2f8d - Update to 2.0.2
PR:		125773
Submitted by:	maintainer
2008-07-19 18:23:52 +00:00
Martin Wilke
d9fcd012a2 - Update maintainer mail adress
PR:		125543
Submitted by:	Andy Kosela <akosela@andykosela.com> (maintainer)
2008-07-17 18:48:43 +00:00
Sergey Matveychuk
71dfff7719 - Sync with ports-mgmt/portupgrade 2008-07-16 20:38:30 +00:00
Sergey Matveychuk
e78b871ce1 - Update to 2.4.6
* Many bugs was fixed
  * a new pkgdu utility shows installed packages disk usage

PR:		many
2008-07-16 20:36:49 +00:00
Wesley Shields
bd10f5f41a New port: reads the FreeBSD installed packaged DB.
PR:		ports/125197
Submitted by:	"Zane C.B." <vvelox@vvelox.net>
2008-07-14 17:12:38 +00:00
Martin Wilke
6f49fcde4a - Update to tb243_template_paefchen_v1
Submitted by:	Aron Schlesinger
Approved by:	maintainer
2008-07-12 14:12:42 +00:00
Martin Wilke
3d0108e926 - Update paefchen template [1] (fix bug in firefox3)
- Fix OPTIONS handling [2]
- Bump PORTREVISION

PR:		125470 [2]
Submitted by:	Alex Kozlov <spam@rm-rf.kiev.ua> [2]
		Aron Schlesigner [1]
Approved by:	itetcu (maintainer)
2008-07-11 21:22:41 +00:00
Sergey Matveychuk
711ee0aaa5 - Update to 2.4.6
* Bugs fixes.
* A new utility - pkgdu. Display a disk usage for installed packages.
2008-07-11 11:25:16 +00:00
Alex Dupre
aa10d1c25b New feature: undefine variables.
PR:		ports/125273
Submitted by:	Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
2008-07-11 10:48:35 +00:00
Martin Wilke
0a64548c94 - Update to 2.0.1
PR:		125265
Submitted by:	Andy Kosela <andy.kosela@gmail.com> (maintainer)
2008-07-07 14:01:57 +00:00
Joe Marcus Clarke
e965ccfa52 Update to 2.9.9.
Check for misuse of the %%XXXDIR%% constructs in order to help with the QA
Tinderbox build reports.

PR:		125037
Submitted by:	leeym
2008-07-05 06:02:28 +00:00
Ion-Mihai Tetcu
8a2a324177 Don't try to patch inexistent files if WEB_EXP in not on.
PR:		ports/124929 [1], ports/124762 [2]
Submitted by:	Jona Joachim <jaj@hcl-club.lu>,
		Alex Kozlov <spam@rm-rf.kiev.ua> [2],
		lioux@ [1]
2008-07-01 20:06:20 +00:00
Sergey Matveychuk
ac88ed65ea Fix pkg-plist with NOPORTDOCS=yes 2008-07-01 16:18:48 +00:00
Sergey Matveychuk
66d4a2e48d - Update to 2.4.4 2008-07-01 14:02:54 +00:00
Mark Linimon
a721f9fd92 Catch up with master 1.595. 2008-07-01 01:22:51 +00:00
Vasil Dimov
b3b9e6ccd4 Upgrade ports-mgmt/portsearch from 1.3.1 to 1.3.2 2008-06-27 10:17:09 +00:00
Pav Lucistnik
d0cbd789a2 - Drop mention of 4.10
Submitted by:	Eygene Ryabinkin <rea-fbsd@codelabs.ru>
2008-06-25 08:04:35 +00:00
Martin Wilke
591af05073 - Update to 2.0
PR:		124769
Submitted by:	Andy Kosela <andy.kosela@gmail.com> (maintainer)
2008-06-20 15:03:44 +00:00
Doug Barton
230aa2029d Update for version 2.5 2008-06-12 20:33:32 +00:00
Doug Barton
0eab31bb77 Bug Fixes
=========
1. Fix -a mode by moving the update of CONFIG_SEEN_LIST to after the port
has been checked for available updates. The old way worked as a side
effect to one of the things I fixed in version 2.4. This is probably
how it should have been done all along, but since the old way worked
I was hesitant to change it.

2. Now that we are using a different format for the INSTALLED_LIST,
fix the bit that always displays the list if we are using -a.
2008-06-12 20:33:04 +00:00
Doug Barton
28f12ee959 Document the potentially useful variables for rc files 2008-06-12 20:27:05 +00:00
Doug Barton
3ed25b7d18 Add "rm -rf /usr/local/lib/compat/pkg" to the list of steps to
update your ports tree after a major version upgrade
2008-06-11 20:08:16 +00:00
Doug Barton
b4445975fb Update for version 2.4 2008-06-11 19:39:29 +00:00
Doug Barton
cb20064d5b Minor New Feature
=================
Print a list of ports that will be worked on when doing multiple
ports, either from a glob or listed on the command line.

Bug Fixes
=========
1. When working multiple ports, if a port that is specified on the
command line is reached as a dependency for another port that is on
the command line (either specifically or from a glob) that port
should be rebuilt the first time through, even if it is up to date.
2. By the same token, only rebuild that dependent port once if it
was not up to date. Implement these features by keeping lists of
what needs to be, and has been built specific to the multiport
context.
3. In multiport() declare local variables to be local
4. When reading a glob pattern from the command line do not run
the multiport feature if there is only one match, just pass it on.

Minor Enhancements
==================
1. Save the list of work done using \t and \n and print with echo -e
2. Now that we are properly updating CONFIG_SEEN_LIST at the end of
the config run remove the old update to that list from
dependency_check()
2008-06-11 19:38:54 +00:00
Florent Thoumie
003c9a4fc6 - Update ports-mgmt/pkg_install to 20080530.
- Add wrapper support (on by default).
2008-06-10 10:02:51 +00:00
Mark Linimon
fbb45ab868 Honor NOPORTDOCS.
Reminded by:	ionbot
2008-06-08 00:10:56 +00:00
Mark Linimon
afbedb910e Catch up with master 1.593. 2008-06-07 23:51:00 +00:00
Edwin Groothuis
090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00
Yen-Ming Lee
03f7779757 - update to 1.0.5
- add WWW in pkg-descr

PR:		124295
Submitted by:	leeym
Approved by:	maintainer
2008-06-05 19:51:38 +00:00
Doug Barton
9e206425c4 Update for version 2.3 2008-06-04 21:18:18 +00:00
Doug Barton
6269d5f21c Update for version 2.3:
1. A glob pattern on the command line now updates all ports that match
2. Clarify that we rebuild the port(s) on the command line by default
3. Document -K option
4. Note the move of /etc/portmaster.rc -> /usr/local/etc/portmaster.rc
5. Document that you need to look in the script to find values to place
in the *rc files. TODO: List potentially useful variables
5. Fix the Xr for sudo
2008-06-04 21:17:48 +00:00
Doug Barton
1e374ac146 New Features
===========
1. By popular demand, change the command line behavior of 'portmaster blah*'
to update all ports in /var/db/pkg which match the glob.
2. Add the -K flag to avoid cleaning the work directory after the build.[1]

Bug Fixes
=========
1. Instead of /etc/portmaster.rc we should be reading
/usr/local/etc/portmaster.rc.[2] Begin introducing support for that.
2. If using the -n option, don't try to fetch the distfiles.[3]
3. When I added the optimization to only run 'make -V CONFLICTS' if
it existed in the Makefile I neglected to unset the value of $conflicts
in the script between ports.[4]
4. I ran into a port which set VERBOSE to a value that it needed to use
in its build process, and since I was using the -v option for portmaster
(which sets VERBOSE=yes) the build failed. To work around this, prefix
the variable names for common English words (VERBOSE, FORCE, BUILDING)
with PM_.
5. To aid future debugging (as in 4. above) change the values of flag
variables to something meaningful instead of just "yes."
6. Automatically handle the case where the parent port has MOVED instead
of asking the user to re-run portmaster with the right options.

Submitted by:	pav [1]
Submitted by:	Miroslav Lachman 000.fbsd@quip.cz [2]
Submitted by:	Jiawei Ye <leafy7382@gmail.com> [3]

PR:		ports/124271 [4]
Submitted by:	James Kelly <jjk@tilted.net> [4]
2008-06-04 21:17:30 +00:00
Li-Wen Hsu
8ac6e70ec4 - Update to 2.0.1, this update fixed the functionality of psearch
PR:		ports/124226 (based on the patch)
Submitted by:	Yi-Huan Chan <yhchan AT csie.nctu.edu.tw>
Approved by:	Benjamin Lutz <mail AT maxlor.com> (maintainer)
2008-06-04 03:25:35 +00:00
Ion-Mihai Tetcu
1b23215da8 Update to 2.4.3.
If all goes well, this will be the last 2.x release before a 3.0 major release.

The 2.4.3 release is primarily aimed at fixing bugs, but a few small features
have been added:
* Treat the -u argument to sendBuildCompletionMail as a username rather than an
arbitrary database ID.  Also, do better error checking in case a user has not
been defined in the datastore.
* Add -b <build name> support to the listBuildPortsQueue command.
* Add a new tc command, getPortLastBuiltStatus to get a port's last status.
* Properly quote the UPDATE_CMD argument in the *PortsTreeUpdate hooks.
* Add a new tbkill.sh tool to terminate a running tinderbuild.
* Add a new tinderbuild option, -norebuild, which will prevent tinderbuild from
forcing a rebuild of any packages specified on the command line.
* Add the build platform and release level to the logs.
* Add support for listing total ports per Build in the www-exp frontend.
* Some other minor bugs have been fixed.

Plus 3 local (port) patches:
* in "Current and Latest Builds" (?action=latest_buildports) increase the number
of ports displayed  from 20 to 30
* in ports built for a build view (?action=list_buildports&build=something)
when sorting is done by Last Build Attempt sort descending (latest build first).
* in build logs, add: [1]
 - building for: (ie: "6.3-STABLE amd64")
 - Makefile ident: (ie: "$FreeBSD: ports/ports-mgmt/tinderbox/Makefile,v 1.41 2008/05/19 20:00:16 itetcu Exp $")
 - prefixes: (ie: "LOCALBASE=usr/local X11BASE=usr/local")
 - NO* env vars: (ie: "NOPORTDOCS=yes NOPORTEXAMPLES=yes NOPORTDATA=yes")

This release would not have been possible without the contributions of
Alexander Loginov, miwi, Chess Griffin, itetcu, Dmitriy Kirhlarov,
Robert Gogolok, and ade.

- Fix a few typos in pkg-message. [2]

PR:		ports/123957 [2]
Submited by:	Wen heping <wenheping@gmail.com> [2],
		idea from miwi@'s patch for HEAD [1]
2008-06-03 13:24:58 +00:00
Martin Wilke
c4f6b319a5 - Update to 2.0
- Update maintainer mail adress

PR:		124192
Submitted by:	Benjamin Lutz (maintainer)
2008-06-01 20:26:27 +00:00
Edwin Groothuis
8a1c050494 Remove ports-mgmt/newportsversioncheck in favour of portscout. 2008-05-27 06:27:46 +00:00
Shaun Amott
bbe0765024 Add patch to fix SQL schema typo. 2008-05-25 18:10:30 +00:00
Ion-Mihai Tetcu
9aa25a0dbd Update to current -STABLE (2.4.X) snapshot. 2008-05-19 20:00:16 +00:00
Edwin Groothuis
4db4a2975d Remove the ports-mgmt/instant-tinderbox port since its design doesn't
work anymore with the more fine-grained approach of USE_ everywhere.
2008-05-06 23:25:46 +00:00
Ion-Mihai Tetcu
a217492126 This takes the FreeBSD port's index file and makes it into a easy to use hash.
PR:		ports/122050
Submitted by:	Zane C, Bowers <vvelox at vvelox.net>
2008-05-06 12:37:58 +00:00
Jimmy Olgeni
790515a1dd Fix a typo. 2008-05-01 15:49:22 +00:00
Rong-En Fan
4b70670c3d - Increase read buffer to avoid SEGV when reading INDEX
- Bump PORTREVISION

PR:		ports/122799
Submitted by:	Conrad J. Sabatier <conrads at cox.net>
Approved by:	Seth Kingsley <sethk at meowfishies.com> (maintainer)
2008-04-26 07:07:55 +00:00
Mark Linimon
9a6e27a3fe Catch up with master 1.592. 2008-04-20 01:05:55 +00:00
Martin Wilke
3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00
Mark Linimon
080b522d7b Catch up to master 1.591. 2008-04-11 23:39:17 +00:00
Mark Linimon
55d1cd41ae Remove local changes that crept in. 2008-04-11 22:56:39 +00:00
Mark Linimon
0f1e84d86a Catch up to master 1.73 and 1.74 changes. 2008-04-11 22:42:12 +00:00
Florent Thoumie
437f306a4f Update ports-mgmt/pkg_install to a new snapshot (20080411).
Changes include:
- package {,de}registration optimization.
2008-04-11 08:46:24 +00:00
Florent Thoumie
62e0a9da47 - Updating ports-mgmt/pkg_install to a newer snapshot (20080407).
- Silence a few warnings.
- Remove support for very old versions of FreeBSD.
2008-04-09 15:44:45 +00:00
Cheng-Lung Sung
cf02a4739d - Update to 2.1
- This is a routine bug fix release.
- New features: can now process the output from portsnap as part of
  maintaining a local INDEX file.  See
  http://www.infracaninophile.co.uk/portindex/index.xhtml for more
  information.

PR:		ports/122546
Submitted by:	maintainer
2008-04-08 01:31:27 +00:00
Pav Lucistnik
223584089d - Fix runtime warnings/errors
PR:		ports/116628
Submitted by:	Martin Tournoij <carpetsmoker@xs4all.nl>
Approved by:	maintainer timeout (hrs; 6 months)
2008-04-04 14:04:11 +00:00
Florent Thoumie
a8952f1eea Retire ports-mgmt/pkg_install-devel. This has been long abandoned. 2008-03-31 15:11:48 +00:00
Mark Linimon
08769da13c Catch up with master 1.588 (comments only). 2008-03-30 01:23:42 +00:00
Ion-Mihai Tetcu
4481053025 - add Aron Schlesinger www-exp layout and make it the default since: it looks
better, it works better in opera, it provides a slightly better usability and
it's more FreeBSDish
- fetch all DISTFILES from my server for simplicity
- bump PORTREVISION for plist changes

Prompted by:	miwi@'s tindy :-)
2008-03-29 21:54:04 +00:00
Martin Wilke
db90abcf81 - Update to 1.7.3
PR:		122090
Submitted by:	Andy Kosela <andy.kosela@gmail.com> (maintainer)
2008-03-26 13:00:24 +00:00
Martin Wilke
cda30a295f - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Bump PORTREVISION

Approved by:	portmgr (xorg cleanup)
2008-03-25 22:44:48 +00:00
Stefan Walter
1deafd6ae5 Update to 20080320:
Implement a "visual" mode, where the user is given the complete list of leaf
packages inside his editor. He can then remove packages by removing the lines in
the file, save and exit. The now missing packages will then be removed.

PR:		121910
Submitted by:	Ulrich Spoerlein <uspoerlein@gmail.com>
2008-03-25 18:55:30 +00:00
Wesley Shields
eded3f57a0 Sort every mirror list in bsd.sites.mk.
Output is suitable for inclusion into make.conf.

Approved by:	garga (mentor)
2008-03-25 00:46:36 +00:00
Martin Wilke
ca519ab8c0 - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Bump PORTREVISION

Approved by:	portmgr (xorg cleanup)
2008-03-24 23:21:25 +00:00
Wesley Shields
e00d37b854 Pass maintainership back to rnoland - he's back online.
Sorry about this and welcome back!

Approved by:	garga (implicit)
2008-03-24 15:44:31 +00:00
Joe Marcus Clarke
2c9e10e2c5 Update to 2.9.8.
* Use the actual Makefile when checking for pre-defined sites.  This allows
  us to catch things that rely on port variables. [1]
* USE_GETOPT_LONG is now obsolete, and should not be suggested. [2]
* Check for cases where X_DEPENDS = ${Y_DEPENDS} which can result in adding
  unwanted dependencies.

PR:		121664 [1]
Suggested by:	pav [2]
2008-03-23 00:25:30 +00:00
Sergey Matveychuk
235a4b8f23 - Sync patches with ports-mgmt/portupgrade port 2008-03-21 14:20:43 +00:00
Wesley Shields
25c7c125a9 Reset maintainer due to bouncing mails.
Discussed with pav.

Submitted by:	miwi on IRC
Approved by:	garga (mentor)
2008-03-20 16:10:07 +00:00
Doug Barton
f50961d10a Update for version 2.2 2008-03-19 21:47:36 +00:00
Doug Barton
8bc50bccf4 New Implementation
==================
The previous code tried to handle moved ports in much the same way
as it handled replacing a port with the -o option, but this would
sometimes create problems if we are deep in a dependency graph.
So rather than re-implement only a portion of the -o code, use the
whole thing instead.

We accomplish this by either exec'ing ourselves with the proper -o
options if we are in the dependency tree, or by asking the user to
restart with the proper -o options if they specified the moved port
on the command line. The latter is necessary to avoid having to
duplicate all the "initialize the parent process" code.  This allows
me to simplify the code in a few places since -o is now the only
special case.

Bug Fixes
=========
1. Don't try to derive $portdir from $upg_port if using -o
2. Don't try to build a port with an +IGNOREME file if we are doing
the dependent ports in -r mode

Minor tweak: Add some whitespace after a warning message
2008-03-19 21:47:16 +00:00
Doug Barton
8a0263d32e In the example about using portmaster to do a complete re-install of
your ports, I had:
pkg_delete *
which works for me because of a local bash completion, but doesn't
work for most users. So, correct that to be:
pkg_delete '*'
instead.
2008-03-19 20:25:01 +00:00
Cy Schubert
3537880f08 Add support for FreeBSD 7.0-STABLE and 8.0-CURRENT.
Approved by:	Maintainer: Seth Kingsley <sethk@meowfishies.com>
2008-03-06 00:32:25 +00:00
Tom McLaughlin
d60fcf32d8 - add ports-mgmt/portupgrade as a dependency as it used to be pulled in
by pkg_cutleaves but no longer is.

Approved by:	linimon
2008-03-05 04:08:38 +00:00
Boris Samorodov
d22fd52067 Update to 1.7.2.
PR:		121299
Submitted by:	Andy Kosela <andy.kosela at gmail.com> (maintainer)
2008-03-03 16:41:38 +00:00
Sergey Matveychuk
770dfbe40d - Remove code that gather not installed depends. It makes more problems
than solves.

Discussed with:	pav
2008-02-11 16:17:39 +00:00
Sergey Matveychuk
bb9070e754 - Fix a crash that caused sometimes when -R option specified.
Reported by:	pav
2008-02-11 13:50:27 +00:00
Sergey Matveychuk
2870cafb79 - Upgrade both ports to 2.4.3
* Change a legacy part of code for gathering dependecies. It fixes
    situation when some depends ports could be updated even when it
    was up-to-date. As a result I added another check for -R option.
  * Fix a wrong condition in portsclean. Now -L option works again.
  * Change a semantic for -q option. Now it means 'quiet'. Don't
    show a message when -N specified and there is an already installed
    package. (Made for DesktopBSD).

Reported by:	pav, Peter Hofer (DesktopBSD)
2008-02-10 23:59:20 +00:00
Sergey Matveychuk
1e49370b9c - When -o specifised, gather depends for specified origin.
- Just ignore a package if there is no port directory exists. A correct way
  for users is to place the ports in HOLD_PKGS in pkgtools,conf, but
  they did not. So it makes my life a little easy.
2008-02-10 12:18:00 +00:00
Sergey Matveychuk
07fb60054d - Update to 2.4.2.
* Many bugs fixed (thanks to all reporters).
  * Semantic for -c and -C has changed. -c runs 'make config-conditional'
    and -C 'make config' (forced config).
  * All ports now runs under portupgrade/portinstall control.
2008-02-07 14:38:18 +00:00
Beech Rintoul
dc1dc70dad - Update to 1.0.6
- Fixes integrated upstream, now builds in C.

PR:		ports/120326
Submitted by:	Diego_Rocha <diegorocha1987@gmail.com> (maintainer)
2008-02-06 22:36:22 +00:00
Martin Wilke
821e267c37 - Update to 0.2
PR:		120251
Submitted by:	Alex Stangl <alex@stangl.us> (maintainer)
2008-02-04 15:26:20 +00:00
Sergey Matveychuk
7df6b2f6d9 - Update to 2.4.2
Minor bugs was fixed. Thanks to all reporters!
2008-02-04 15:22:00 +00:00
Sergey Matveychuk
47292562c4 A work around for HOLD_PKGS that did not work.
Noted by:	NAKAJI Hiroyuki
2008-01-31 17:12:32 +00:00
Doug Barton
fe9e95088f Update for the 2.1 version 2008-01-30 02:59:18 +00:00
Doug Barton
0d1c021fbe 1. Add explanatory text about some issues that have caused confusion:
a. If you specify a glob pattern in /var/db/pkg, there will always
be a prompt, even with the -u flag.
b. Try to discourage people from using -u, it doesn't seem to do what
people expect it to do.
c. You cannot upgrade sudo with PM_SU_CMD if sudo is your PM_SU_CMD

2. s/Dq/Qq/

3. Add .Ev tags to environment variables
2008-01-30 02:58:37 +00:00
Doug Barton
eabb62a9b0 Cosmetic fix for the code: Only expand the $FreeBSD tag once
Bug fix: If using the combination -aiG, don't run the interactive mode
test in the build phase, use the one that's already in check_for_updates()
2008-01-30 01:48:10 +00:00
Beech Rintoul
e15a18575a - Update to 1.0.5
- Patch to make port respect prefix.

PR:		ports/120106
Submitted by:	Diego Rocha <diegorocha1987@gmail.com> (maintainer)
2008-01-29 15:58:35 +00:00
Sergey Matveychuk
680946be82 - Update to 2.4.1
A bugs fix release
2008-01-29 14:43:14 +00:00
Sergey Matveychuk
04e2776770 - Fix a function name
- When in task list is a port with IGNORE, portupgrade fails. Just ignore it now.

Reported by:	Gerard <gerard@seibercom.net>,
		Matthew Seaman <m.seaman@infracaninophile.co.uk>
2008-01-27 22:45:27 +00:00
Sergey Matveychuk
dcb47185cb - Update to 2.4.0
* many bug fixes
 * now all dependencies run under portupgrade control
 * run 'make config-conditional' and 'make config' with -c and -C options

PR:		ports/116830, ports/115249
Reported by:	clemens fischer <ino-news@spotteswoode.dnsalias.org>,
		KOMATSU Shinichiro <koma2@lovepeers.org>,
		and other
2008-01-26 18:29:41 +00:00
Martin Wilke
0ce79ac0ab lsknobs is a simple sh(1) script designed to help configure
ports knobs and options by listing them together with their
status (either enabled or not). It uses portconf for knobs.

PR:		ports/116127
Submitted by:	Gabriel Linder <linder.gabriel at gmail.com>
2008-01-24 15:01:12 +00:00
Shaun Amott
fe1522dcc4 Upgrade to 0.7.4. 2008-01-24 04:32:16 +00:00
Doug Barton
d86e68157a Update for version 2.0 2008-01-24 02:38:29 +00:00
Doug Barton
2815d6f989 The code for this 2.0 version has been totally reorganized, and
in several cases totally rewritten. I am also glad to say that
all of the advertised features now work as advertised.  :)

The most exciting new feature is the completely new dependency
updater. I finally took the time to write the line-oriented version
of update_contents() that I wanted to write in the first place, so
no more sed, and no more warnings sent to $PAGER. This version relies
entirely on exact matches to DEPORIGIN to do its work, so it's 100%
reliable.

So what else is new? A lot of micro-optimizations have been done to
eliminate duplicated work, avoid using external commands when not
necessary, etc. There are also some not-so-micro optimizations, which
means that this version is noticably faster.

Totally new features:
1. --check-depends, which as described above calls the new functions
to parse existing +CONTENTS files for dependency data, uses that data
to update +REQUIRED_BY, and updates the +CONTENTS files.  These same
routines are also used for updating ports.

2. A "fetch only" feature (-F) that will go get distfiles for new
versions of installed ports by default, and can also be used to get
the files for all of your installed ports, or certain branches by
using the -aft options.

3. An option to hide the build and install process by saving it to a
log (-H). These logs are deleted on successful install, and saved if
the update process aborts.

4. We now keep track of all the ports that get updated or installed in
a given invocation, and print the list at the very end of the process.

5. There is now a little "map" to show you where you are in the
process of the form "parent >> child >> grandchild >> etc."

6. Support for running as an unprivileged user (via sudo) has been
added. See the man page for details on how to configure this.

Improved features:
1. When showing the pkg-message/+DISPLAY files at the end of the
process, all files are grouped together and spit out to $PAGER (or
just cat if -u). If there is an error, there is a pause first
(unless -u).

2. There is now much more sanity checking on user input so that we can
bail out early if there is a problem.

3. The error messages have been completely re-done to be more
informative, and many of them include helpful suggestions on how to
fix the problems.

4. In the expunge (-e) feature, if there is dependency data for the
port you want to delete we now offer you the chance to delete that
instead of just aborting. (Use at your own risk!)

5. The "save old shared libs" feature (-w) is now a lot more
efficient, only runs ldconfig when it has to, and uses
/etc/rc.d/ldconfig.

6. The /var/db/pkg/*/+IGNOREME file now has more functions associated
with it. See the man page for details.

7. When using the -L feature, there is a warning printed if the port
has been set to FORBIDDEN, DEPRECATED, BROKEN, or IGNORE.

8. If you have a real /usr/X11R6 directory (not a symlink) this is
added to the PATH. Otherwise it's assumed that LOCALBASE == X11BASE.

9. Backup packages of existing ports are now saved to
/usr/ports/packages/portmaster-backup, and left there if -b is used.
This way you can create backup packages of a port without disturbing
existing packages with the same version.

There are numerous other things that are not user-visible which have
been cleaned, polished, made more efficient, etc.
2008-01-24 02:36:58 +00:00
Marcelo Araujo
d1732c3d96 - Update version to 1.13.
- Update master site and maintainer's mail address.

PR:		ports/119381
Submitted by:	Kim Naim Lesmer <knl@bitflop.com> (maintainer)
Approved by:	stas (mentor, implicit)
2008-01-10 12:46:56 +00:00
Sergey Matveychuk
f7f6bf4ae2 - A patch from HEAD: when gcc installed, some libraries may be conflicted
with system ones. portsclean -Li ask to remove them. No removes by
  default, but we don't want an user remove system libraries just press 'y'
  in portscleanup -Li.

PR:		ports/116830
Reported by:	clemens fischer <ino-news at spotteswoode.dnsalias.org>
2008-01-08 12:33:38 +00:00
Pav Lucistnik
13e69f8e37 pkg_cleanup finds packages that are not requested by any other installed
package and lets you decide for each one if you want to keep it or delete it.
It also allows viewing the pacakge comment and description.

This program is essentially a clone of pkg_rmleaves except that it shows
the comment and description of packages and does not support GUI dialog(1)
implementations.

PR:		ports/117782
Submitted by:	Stephen Hurd <shurd@sasktel.net>
2008-01-04 13:28:51 +00:00
Doug Barton
efb105439f Update for version 1.27 2008-01-04 10:30:29 +00:00
Doug Barton
35c962ef45 Restore the canonical order of installing run-depends before the parent 2008-01-04 10:29:57 +00:00
Tilman Keskinoz
1a88d95ecd Fix typo in pkg-descr
PR:		117223
Submitted by:	Jed Clear
2008-01-03 11:56:03 +00:00
Martin Wilke
56d324c9e5 - Update to 2.4.2
*  Add support for FreeBSD 8.X.
    * Fix a database query bug.
    * Ensure the .env files are properly read and export when building the Makefile and database entries.
    * Use the C locale when calculating build times.
    * Do not die if a Build's log directory is missing when running tbcleanup.

This release comes with a rawenv change, so make sure you copy rawenv.dist to rawenv to get the latest variables.

PR:		118854
Submitted by:	miwi
Approved by:	itetcu (maintainer timeout)
2007-12-31 08:02:01 +00:00
Martin Wilke
ad22e91b12 - Update to 1.7.1
PR:		119001
Submitted by:	Andy Kosela <andy.kosela@gmail.com> (maintainer)
2007-12-27 22:51:27 +00:00
Simon L. B. Nielsen
714fd8f611 - Fix portaudit -Fq to actually be quiet. [1]
- Remove support for FreeBSD older than 4.11 and 5.3.
- Remove conditional dependency on bzip2 which I can't really see how
  could be activated automatically.

Reported by:	"J. Martin Petersen" <jmp@alvorlig.dk> [1]
PR:		ports/117845 [1]
With hat:	maintainer / secteam
2007-12-27 09:54:23 +00:00
Joe Marcus Clarke
7a1d1a4615 Quick bump to 2.9.7.
Allow comments to start with a '[' (e.g. [X]Emacs).

PR:		117832
Submitted by:	"Philip M. Gollucci" <pgollucci@p6m7g8.com>
2007-12-15 17:46:39 +00:00
Joe Marcus Clarke
ff0a19ddef Update to 2.9.6.
* Allow the @stopdaemon plist directive. [1]
* Fix a typo when checking for proper use of DOCSDIR. [2]
* USE_JAVA is okay to use after including bsd.port.pre.mk. [3]
* Properly check for extra items in the PATCH_SITES section. [4]
* Replace all instances of "IFF" with "If and only if" to be clearer for
  non-English speaking, non-math geeks. [5]

PR:		116907 [3]
		116698 [4]
		116218 [5]
Reported by:	rafan [1]
Submitted by:	lwhsu [2]
2007-12-15 17:40:19 +00:00
Martin Wilke
cccaf01f19 - Update to 1.0.4
PR:		118095
Submitted by:	Diego <diegorocha1987@hotmail.com> (maintainer)
2007-12-15 17:15:20 +00:00
Martin Wilke
37365e1d5b - connect pkg_search to the build
Submitted by:	erwin
Pointyhat to:	chinsan
2007-12-15 11:46:10 +00:00
Martin Wilke
bdc1467fe3 - Add portupdate-scan to the build
Submitted by:	erwin
2007-12-15 11:30:29 +00:00
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