Commit graph

1370 commits

Author SHA1 Message Date
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