1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
Commit Graph

1644 Commits

Author SHA1 Message Date
Doug Barton
6d0d00d285 Update for version 2.20 2010-03-29 07:51:52 +00:00
Doug Barton
fe743b7bba Document the --delete-packages option for version 2.20 2010-03-29 07:51:26 +00:00
Doug Barton
d25c9a57a9 New Feature
===========
Add a --delete-packages option so that after a package is installed
it will be deleted.

User-Visible Change
===================
Warn the user if they have an /etc/portmaster.rc file. This location
is deprecated in favor of PREFIX/etc.

Minor Updates
=============
1. Add -m1 to grep lines that can only have one match
2. Additional debugging help and error checking
3. Introduce init_packages_var() to initialize the PACKAGES variable,
and use it in some places where init_packages() was being overloaded.
4. Improve the logic of when, and when not to initialize the
packages directories.
5. Bring in some internal changes from the latest svn version for
diff reduction.
6. Add $PM_SU_CMD to a few places where it's needed

Bug Fixes
=========
1. In pm_cd_pd() the error message should reference $1, not $origin
2. The -r option should take a glob as input
2010-03-29 07:51:04 +00:00
Dirk Meyer
de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00
Dirk Meyer
20d3f32c41 Manage your own packages build on a dedicated build system.
The build system does the update of the ports tree,
moving old packages out of the way, fetch and rebuild
the packages you need. Its ports tree with packages
is served to the production systems and desktops.

On a system you can update installed ports with
the clean build packages from the build system.

WWW: http://people.freebsd.org/~dinoex/batch/README
2010-03-25 09:05:51 +00:00
Norikatsu Shigemura
be4219845f Don't install and/or build dependencies when only using packages.
PR:		ports/143979
Submitted by:	Bryan Drewery  bryan at shatow net
Reviewed by:	Yusuke Hoshizuki  hoshizuki at chaos cs tsukuba ac jp
2010-03-12 09:06:45 +00:00
Ion-Mihai Tetcu
69f1dd6782 - port support for Hiawatha web server from ports-mgmt/tinderbox
- reorder pkg-message a bit to make it more clear and fix some typos

Feature safe:	yes
2010-03-06 11:19:04 +00:00
Hiroki Sato
e6b7c82e60 Remove ports-mgmt/portbrowser. It is no longer actively maintained and
broken for years.

Feature safe:	yes
PR:	ports/143667
2010-02-16 21:29:18 +00:00
Philip M. Gollucci
5fbf1eecc5 - Add some missing includes to please newer versions of GCC
PR:             ports/143747
Submitted by:   Rob Farmer <rfarmer@predatorlabs.net>
Approved by:    maintainer

Feature safe:   yes
2010-02-15 23:53:42 +00:00
Philip M. Gollucci
d93dfacbb8 - Update to 0.29
PR:             ports/143773
Submitted by:   myself (pgollucci@)
Approved by:    andrey@kostenko.name (maintainer)
2010-02-11 17:03:31 +00:00
Doug Barton
f1463ed180 Help out users of cons* terminals other than cons25 by making the
test for not doing the terminal title bar escapes more general.

Submitted by:	Zahemszky Gábor <Gabor@Zahemszky.HU>
2010-02-08 20:22:30 +00:00
Doug Barton
7e3c446af3 Update for version 2.18 2010-02-08 06:46:18 +00:00
Doug Barton
9939f5fe30 Update for version 2.18 by documenting the --no-term-title option 2010-02-08 06:45:42 +00:00
Doug Barton
73f4c7f4da Update through version 2.17 [1]
Update for version 2.18 by adding the --no-term-title option

PR:		ports/143395 [1]
Submitted by:	IWAZAKI Shota <iwazaki8@yahoo.co.jp> [1]
2010-02-08 06:44:44 +00:00
Doug Barton
3d3a5f8110 New Features
============
1. Add a --no-term-title option to avoid updating the xterm title bar

Bug Fixes
=========
1. Add code to prevent duplicate entries in the list of things to be
done for the user to confirm after config is done.
2. Add code so that if a user has an +IGNOREME file for a port that
is a dependency and chooses not to update it we will not falsely claim
that it will be udpated in post_config().
3. If we are running on a cons25 terminal let term_printf() return
instead of trying to printf the escapes which won't work and will
annoy users.
4. Fix 2 places where sudo privileges might be needed but the non-sudo
version of the command was called. [1]
5. If a user chose -G don't print the (${dep_of_deps}/${num_of_deps})
in the xterm title since the latter will not be incremented. This has
the pleasant side effect of allowing better indenting of the code.

Submitted by:   N.J. Mann <njm@njm.me.uk> [1] (for pkg_delete)
2010-02-08 06:43:31 +00:00
Dirk Meyer
ca9c60461c - update to jpeg-8 2010-02-05 11:46:55 +00:00
Philip M. Gollucci
db33a015e0 - Update to 2.0.10
* fix typo that break bpkg(8) on CURRENT
* manual page reformat

PR:             ports/143406
Submitted by:   Andy Kosela <akosela@andykosela.com> (maintainer)
2010-02-04 04:03:44 +00:00
Wen Heping
760247c62f - Fix depends
PR:		ports/143328
Submitted by:	Martin Tournoij <carpetsmoker@rwxrwxrwx.net>
Approved by:	maintainer
2010-01-30 00:50:04 +00:00
Ion-Mihai Tetcu
bd4db3adf7 Add support for www/hiawatha for WebUI.
PR:		142090
Submitted by:	Chris Petrik
2010-01-28 21:47:17 +00:00
Mark Linimon
849edf06d3 Catch up with master 1.634.
While here, turn on the conditional inclusion of bsd.perl.mk.  I have
had this in my own tree for some time, and sometimes check it in and
sometimes don't.  This settles it.
2010-01-28 04:13:54 +00:00
Doug Barton
9679abeda0 Update for version 2.17 2010-01-24 06:18:22 +00:00
Jun Kuriyama
46dfffde80 - Remove unneeded dependencies which is in perl-5.8.9 dist
(part 4).

Approved by:	portmgr (itetcu)
2010-01-24 06:18:08 +00:00
Doug Barton
c63b6cd8a6 Update copyright date
Update for version 2.17

Document the --no-confirm option

Attempt to improve readability by re-sorting and rewording a few
of the paragraphs.
2010-01-24 06:17:48 +00:00
Doug Barton
3b044c801a Update for version 2.17, add the --no-confirm option 2010-01-24 06:17:16 +00:00
Doug Barton
5d8abffd26 Update the copyright date
New Features:
=============
1. When running through the config phase a list of things to be installed
and/or upgraded will be generated. This list will then be presented to
the user for confirmation before proceeding.
2. Add a --no-confirm option to suppress this new feature.
3. When using portmaster in an X terminal window that supports updating
the title you will now see a status update for what port is being
built, and as appropriate what dependency of that port and an (N/M)
counter. Thanks to ehaupt for the push on this, as well as some testing
and sample code.
4. Make the "yes or no" prompts (hopefully) more clear by adding "y/n"
to the text of the message, e.g., "===>>> Do you want to live? y/n [y] "

Feature expansion:
==================
Do a more thorough job of tracking things that should fall into the
--packages-build/--delete-build-only category. I.e., if something is
a run dependency of a port or ports that themselves are only build
dependencies, add it to the build_only_dl_g anyway.

New internals:
=============
1. Add a uniquify_list function so that internal lists of variables
can be made unique. Start using it for some of the new stuff, and
in clean_build_only_list().
2. Add a pm_cd_pd() which will cd into the port directory or error out
with an appropriate message.
3. Start using pm_cd_pd() where appropriate, including in a couple of
new places where we have to go back to the port directory after cd'ing
around elsewhere due to the new update_build_l().
4. Make some other cd/pm_cd invocations consistent

Cleanups:
=========
1. Instead of saving some of the new variables unconditionally in
safe_exit() move the things that are only done in the config phase
to that section, and move build_deps_il to the !config section.
2. Since $new_port may be set as a side effect of the new "Terminal
title" feature, conditionalize it for the "main" process.
3. Remove the old RCS Id stuff since I'm not using it

Bug fix:
========
In safe_exit() when doing multiports and we interrupt the process
the attempt to print the INSTALLED_LIST was not successful. So move
all of the related code into a test for INSTALLED_LIST's existence,
and just print the whole list (even if it has only one item) in both
the -a (as it was already) and multiport cases.
2010-01-24 06:16:33 +00:00
Florent Thoumie
d008e29a49 Update ports-mgmt/pkg_install to 20090902 snapshot. 2010-01-22 23:17:34 +00:00
Martin Wilke
e350196de9 Update to 3.4-20100104
Changes:

Fixes from upstream:
 - Remove X11BASE support it is now obsolete. (already in ports-mgmt/tinderbox)
 - Expand the glob to check for Perl so that it actually
   captures lang/perl5.10. (already in ports-mgmt/tinderbox)
 - Restore some of the leftover exceptions but use LOCALBASE instead of X11BASE.
 - Expand the MySQL glob to match on MySQL 5.4 and 5.5.
 - Adjust the SQL query to remove all entries from a BuildPortsQueue.  This
   makes things more compatible.

Two Experimental patches from Tim Bishop and beat@.

- Tim has added support for multiple tinderd instances at the same
  time.

  The parallel patch allows to run multiple tinderd instances at the
  same time. You can enable multiple tinderd instances via /etc/rc.conf
  with tinderd_instances="X"

- beat@ as added support for tmpfs to enable the usage of FreeBSD's
  tmpfs implementation.

Both patches are experimental and are not official supported by the Tinderbox
distribution.

Reviewed by:	itetcu, beat (thx!)
Approved by:	itetcu (maintainer implicit)
Obtained from:	tinderbox cvs (snapshot)
2010-01-05 19:58:18 +00:00
Michael Landin
695881ddbc - remove superfluous EXTRACT_SUFX
PR:		ports/142167
Submitted by:	Sevan Janiyan <venture37@geeklan.co.uk>
2010-01-04 10:02:20 +00:00
Wesley Shields
20e4278812 - Update to 0.4
PR:		ports/139468
Submitted by:	Anonymous <swell.k@gmail.com>
Approved by:	Jason Bacon <jwbacon@tds.net> (maintainer)
2010-01-01 16:22:00 +00:00
Boris Samorodov
44d0562963 Use BERLIOS macro for MASTER_SITES.
PR:		ports/142172 (inspirited by)
Submitted by:	Sevan Janiyan <venture37 at geeklan.co.uk>
2010-01-01 10:50:08 +00:00
Doug Barton
b8c2a01f0c Update for version 2.16 2009-12-31 03:54:30 +00:00
Doug Barton
b958971e52 Update for version 2.16:
1. Versions of pkg_add in FreeBSD older than 6.4-RELEASE will not have
the proper options available, so warn the user if they try to use
package-related code.[1]

2. Highlight some different features

Reported by:    Miroslav Lachman <000.fbsd@quip.cz>[1]
2009-12-31 03:53:59 +00:00
Doug Barton
68ab910943 Two minor bug fixes:
====================
1. We only want to set PM_BUILD_ONLY_LIST=pm_bol in the command line
parser if we are the parent port. Otherwise proper build dep detection
will not occur.
2. Versions of pkg_add in FreeBSD older than 6.4-RELEASE will not have
the proper options available, so warn the user if they try to use
package-related code.[1]

Reported by:	Miroslav Lachman <000.fbsd@quip.cz>[1]
2009-12-31 03:52:19 +00:00
Martin Wilke
8ca9f0d689 - Convert NOMANCOMPRESS to NO_MANCOMPRESS to sync with src
PR:	ports/136065 ports/127469
Submitted by:	N.J. Mann <njm@njm.me.uk> and Aldis Berjoza <killasmurf86@gmail.com>

- Early identify port CONFLICTS

PR:	137855
Submitted by:		Piotr Smyrak <smyru@heron.pl>

- Add --no-same-permissions to the EXTRACT_AFTER_ARGS command.

Tijl Coosemans has been reported an issue that when root is extracting from the
tarball, and the tarball contains world writable files
(sysutils/policykit as an example), there is a chance that the files
gets changed by malicious third parties right after the extraction,
which makes it possible to inject code into the package thus compromise
the system.

Submitted by:	Tijl Coosemans <tijl@coosemans.org> Xin LI (delphij@)

- Fix some whitespaces

Tested with:	exp-run
2009-12-29 10:25:55 +00:00
Martin Wilke
f3aad5faec - Restore some of the leftover exceptions but use LOCALBASE instead of X11BASE.
Reported by:	kwm, Manolis Kiagias <sonicy@otenet.gr> (via tinderbox ml)
Approved by:	maintainer implicit
Obtained from:	tinderbox cvs
2009-12-27 21:16:50 +00:00
Martin Wilke
89ddba49cb - Expand the glob to check for Perl so that it actuallt
captures lang/perl5.10.

Reported by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> via tinderbox ML
Approved by:	maintainer implicit
2009-12-27 14:03:32 +00:00
Martin Wilke
c88f03e2d3 - Update to 2.0.9
Changelog:
	* clean up the code and documentation
	* fix -m bug

PR:		142028
Submitted by:	Andy Kosela <akosela@andykosela.com> (maintainer)
2009-12-26 18:02:32 +00:00
Martin Wilke
dfa751c4e6 - Remove X11BASE support it is now obsolete.
- Bump PORTREVISION

Approved by:	itetcu (maintainer implicit)
Obtained from:	tinderbox cvs via beat@ (THX!)
2009-12-25 20:29:24 +00:00
Martin Wilke
755f1ee2c5 - Add optional support for sysutils/lsof
PR:		141186
Submitted by:	olli hauer <ohauer@gmx.de>
Approved by:	maintainer implicit
2009-12-25 20:01:28 +00:00
Wen Heping
55d64fbf2a App::Pm2Port is a perl module to creat FreeBSD port from
perl module.

WWW: http://search.cpan.org/dist/App-Pm2Port
2009-12-22 07:14:26 +00:00
Stanislav Sedov
1678a9072a - Update to a new snapshot: this fixes the bug in processing ports/packages
with no INDEX entry.
2009-12-22 03:28:40 +00:00
Stanislav Sedov
0df299f53b - Update to 12/21/2009 snapshot. 2009-12-21 22:35:08 +00:00
Akinori MUSHA
12317977e4 Stop users from sending general questions, suggestions and patches
directly to me.
2009-12-21 12:24:33 +00:00
Doug Barton
2fadfa2cfb For ports maintained by ports@FreeBSD.org, remove names and/or
e-mail addresses from the pkg-descr file that could reasonably
be mistaken for maintainer contact information in order to avoid
confusion on the part of users looking for support. As a pleasant
side effect this also avoids confusion and/or frustration for people
who are no longer maintaining those ports.
2009-12-21 02:19:12 +00:00
Max Brazhnikov
b50dfb65d1 Update to 0.8.2
PR:		ports/141435
Submitted by:	Hannes Hauswedell (maintainer)
2009-12-20 22:11:08 +00:00
Joe Marcus Clarke
1f420b6602 Update to 2.12.2.
* Add support for whitelisting certain MASTER_SITES which make up a "cloud"
  of sites. [1]
* Escape a '.' in a regular expression to prevent matching strings like
  "about" with the regular expression "a.out". [2]
* Try to detect when the value of CONFIGURE_TARGET is used directly in a
  plist. [3]

PR:		140048 [1]
		141460 [2]
Submitted by:	skreuzer [1]
		gahr [2]
Suggested by:	brooks [3]
2009-12-19 21:23:01 +00:00
Doug Barton
1f6c4862bd Update for version 2.15 2009-12-19 07:27:26 +00:00
Doug Barton
c8effc2604 Update for version 2.15:
It's no longer necessary to supply PM_BUILD_ONLY_LIST in an rc file
2009-12-19 07:26:49 +00:00
Doug Barton
3e4a05d81f This is svn version r200709
Feature Update
==============
1. Further update the --packages-build and --delete-build-only options
to work with -a:
	a. Create a new function clean_build_only_list() from code that
	was already in dependency_check() and use it both there and at
	the end of the config mode in -a.
	b. Properly initialize the variables related to these two features
	in the same spot as all the other global vars are initialized rather
	than doing it in different locations.

Major Cleanups
==============
1. 9-CURRENT has its own package repo now, hurray!

2. Instead of having a pca() to describe the post-config action
collect the stuff that always runs after config is done into a
function, and use the pca() logic to determine what to print. This
also restores the whitespace to consistency between the modes
(one port, multiport, -a).

3. Instead of fetching the directory listing for each port category
(devel, ports-mgmt, etc.) every time we need to check a port, fetch
it once and save it to a temporary file. This lets us do several
cool things:
	a. Save a lot of time not having to re-fetch each iteration
	b. Run the sed code to fix %2c -> , up front
	c. Add a sed pattern to fix %2b -> +
	d. Run a variety of different patterns to try and find the
	latest_pv

4. We only want to run the logic tree on whether $latest_pv is up to
date or not if that variable has a value, so add appropriate tests.

Minor Cleanups
==============
1. Make it easier to include the --packages-build and --delete-build-only
options in a portmaster rc file by setting the PM_BUILD_ONLY_LIST variable
(which is used by both options) in the script if either of the two
options is detected.

2. More robust error-handling for package directory creation in
pm_pkg_create().

3. Move the error message for "no package in -PP mode" to a variable
for both reuse and code readability.

Bug Fixes
=========
1. Not finding a package (or even a package repo) should only fail()
if we are using -PP, not if we're just using -P.
2009-12-19 07:25:44 +00:00
Martin Wilke
1b1b29c5e6 - Get rip python 2.3+
Note:
Python 2.3 is't longer supported and have a lot of security issues.
Convert 2.3+ to yes/or 2.4/5+

With hat:	portmgr
2009-12-13 17:00:14 +00:00