Commit graph

1702 commits

Author SHA1 Message Date
Max Brazhnikov
df6082c222 Update to 0.3
PR:		ports/148495
Submitted by:	Mario Pavlov (maintainer)
2010-07-11 18:55:41 +00:00
Sahil Tandon
b12c404764 - Update maintainer's email address
PR:		ports/148497
Submitted by:	Eitan Adler <eitanadlerlist@gmail.com> (maintainer)
2010-07-11 18:41:15 +00:00
Dirk Meyer
d8dd25dc2c - update to 1.69
- path configureable over ENV
- update pkg_jail to use rc.conf or pkg_jail.conf
Feature safe:	yes
2010-06-24 15:59:48 +00:00
Doug Barton
d3a92693cd Update for version 2.32 2010-06-18 08:52:49 +00:00
Doug Barton
fe8cbc143c build_l also needs to be unset in pm_make_s() 2010-06-18 08:52:03 +00:00
Doug Barton
c58c9c8b9a Unset build_l in pm_make() 2010-06-18 08:22:32 +00:00
Doug Barton
79f2597e35 Update for version 2.30 2010-06-18 07:35:49 +00:00
Doug Barton
d133d0fe53 If the user specified --no-confirm don't build the list. With a lot of
ports to update it can get quite large.

If there are a very large number of ports installed the grep in
iport_from_origin() can fail with "Argument list too long." It's also
theoretically possible that the grep would fail for other reasons. So
if it does, fall back to 'pkg_info -O'. My method is faster which is
why I'm still trying it first, but this is a sort of "belt and
suspenders" situation.
2010-06-18 07:35:28 +00:00
Joe Marcus Clarke
84ce50b415 Update to 2.13.1.
* USE_APACHE=yes is now fatal
* Clean up WITH_APACHEX=X variants. WITH_APACHE=yes is now the only allowed one

PR:		146988
Submitted by:	pgollucci
2010-06-16 03:53:15 +00:00
Rene Ladan
36734dd6de * Always install the manual page [1]
* Fix maintainer address [2]

Submitted by:	QAT [1], maintainer [2]
Approved by:	tabthorpe (mentor)
2010-06-15 21:57:46 +00:00
Rene Ladan
e48a81f15b A special meta-port to do nothing but register dependencies on those
ports you specifically want to have installed.  The normal dependency
checking in programs like pkg_delete(1) will prevent easy deletion of
ports that other ports depend on.  Keeps egg off face.  Protects feet
from being shot.

PR:		ports/147808
Submitted by:	Matthew Seaman <m.seaman at infracaninophile.co.uk>
Approved by:	tabthorpe (mentor)
2010-06-15 17:28:05 +00:00
Doug Barton
a22b6e03bd Add LICENSE information to my ports where the right answer is obvious 2010-06-14 08:22:55 +00:00
Doug Barton
3b8ce9c778 Update for version 2.29 2010-06-12 23:37:36 +00:00
Doug Barton
af0c0b7f62 There is no reason for uniquify_list() to reverse the entries,
and doing so can make debugging more difficult.

Add code to post_config() to make sure that things in the
build-only dependency list are not listed as run dependencies for
something already installed.

Apparently, in some circumstances it's necessary to run ldconfig -R
when one moves shared libs from /usr/local/lib to
/usr/local/lib/compat/pkg. So add that to the -w code.
2010-06-12 23:36:52 +00:00
Doug Barton
75ff80886b Update for version 2.28 2010-06-11 08:24:29 +00:00
Doug Barton
a87f40fe2c In delete_all_distfiles() when there is no $origin (such as when a port
has moved) but there IS a /var/db/ports/<portname>/distfiles, we do not
want to prompt the user if they are using -d, we just want to delete
the files.

In the code to strip the port from $build_l if the user chose not to
update a port that has an +IGNOREME file, the backslash in "\t" needs
to be escaped.
2010-06-11 08:23:52 +00:00
Romain Tartière
1df03e63a2 The portshaker-config port provides a simple config-based interface to generate
and maintain a portshaker configuration throught the ports system.

It is designed to ease using portshaker for users who want to merge portshaker
powered ports overlays in their FreeBSD ports tree.
2010-06-09 13:22:00 +00:00
Romain Tartière
9c1eb43146 portshaker(8) is a tool designed for merging partial ports trees into the
FreeBSD ports tree. In other words, it implements some kind of overlay for the
FreeBSD ports.
2010-06-09 13:21:18 +00:00
Alberto Villa
cf32a115f9 KPackageKit is the KDE interface for PackageKit. It features
everything Gnome PackageKit does except:
- install catalog;
- service pack;
- a D-Bus session interface.
These items are not mandatory since they are more features of the GUI
itself than a feature in PackageKit.

WWW: http://kde-apps.org/content/show.php/KPackageKit?content=84745

Approved by:	tabthorpe, miwi (mentors)
2010-06-02 07:18:07 +00:00
Ade Lovett
8d837132c7 Bounce PORTREVISION for gettext-related ports. Have fun, ya'll. 2010-05-31 02:01:56 +00:00
Edwin Groothuis
07689f0ab7 From Tom Hukins:
I notice it looks for a perl executable in /usr/bin/perl.  However, a
perl executable may not exist here, so this small patch changes the
port to use the PERL5 variable to determine the correct location of
perl as determined by the ports system.
2010-05-27 12:58:20 +00:00
Gabor Pali
52a16208ea Rename the following Haskell ports to bring them in sync with the
HackageDB:

  archivers/hs-zip-archive-ghc -> archivers/hs-zip-archive
  devel/hs-binary-ghc -> devel/hs-binary
  devel/darcs -> devel/hs-darcs
  devel/hs-language-c-ghc -> devel/hs-language-c
  devel/hs-lazysmallcheck-ghc -> devel/hs-lazysmallcheck
  devel/hs-pcre-light-ghc -> devel/hs-pcre-light
  devel/hs-utf8-string-ghc -> devel/hs-utf8-string
  graphics/hs-HGL-ghc -> graphics/hs-HGL
  ports-mgmt/porte -> ports-mgmt/hs-porte
  security/hs-digest-ghc -> security/hs-digest
  textproc/hs-haxml -> textproc/hs-HaXml
  textproc/hs-highlighting-kate-ghc -> textproc/hs-highlighting-kate
  textproc/hs-polyparse-ghc -> textproc/hs-polyparse
  textproc/pandoc -> textproc/hs-pandoc
  x11/hs-x11-ghc -> x11/hs-X11
  x11/hs-x11-xft-ghc -> x11/hs-X11-xft
  x11/xmobar -> x11/hs-xmobar
  x11-toolkits/hs-opengl-ghc -> x11-toolkits/hs-OpenGL
  x11-toolkits/hs-OpenGLRaw-ghc -> x11-toolkits/hs-OpenGLRaw
  x11-toolkits/hs-GLURaw-ghc -> x11-toolkits/hs-GLURaw
  x11-toolkits/hs-glut-ghc -> x11-toolkits/hs-GLUT
  x11-wm/xmonad -> x11-wm/hs-xmonad
  x11-wm/xmonad-contrib -> x11-wm/hs-xmonad-contrib
2010-05-24 21:52:43 +00:00
Shaun Amott
5543c6fd24 Upgrade to version 0.8.
This represents a milestone release over the previous version, and
includes significant improvements to the version detection and
comparison algorithms, support for the new SourceForge mirror layout
(and an easy way to add future workarounds), theoretical support for
NetBSD's pkgsrc and OpenBSD ports, support for providing a list of
software in an XML file in place of ports, and support for SQLite.
Of course, there are also many optimisations and general bug fixes.
2010-05-24 20:04:27 +00:00
Mark Linimon
cb4c252136 Reset perky@FreeBSD.org due to maintainer-timeouts and no response
to email.

Hat:		portmgr
2010-05-23 21:16:16 +00:00
Philip M. Gollucci
61bcae45bc - Chase devel/apr -> devel/apr1 shuffling
PR:             ports/146553
Submitted by:   myself (pgollucci@)
With Hat:       apache@
2010-05-18 04:08:05 +00:00
Doug Barton
7b4c40e08e Update for version 2.27 2010-05-18 02:11:40 +00:00
Doug Barton
594d054da2 Minor Fixes And Optimizations
=============================
1. In iport_from_origin() if we don't find a match (which is normal for
   ports that are not yet installed) then return immediately.
2. A little more white space after the user input for --check-port-dbdir
3. In check_for_updates() if a port has moved we should also check for
   an +IGNOREME file before forcing the update.
4. For distfile fetching:
   a. Limit the scope of some of the variables
   b. If a distfile has a / in the file name creation of the flag file
      for background fetching will fail, so swap that for a _ instead.
2010-05-18 02:11:05 +00:00
Joe Marcus Clarke
7b77b8d3b6 Quiet some of the plist uninstall operations.
Submitted by:	nork
2010-05-16 20:40:24 +00:00
Gabor Pali
ec29a59ec3 Introduce a new (and hopefully better) ports infrastructure for Haskell Cabal
ports which makes possible the direct translation of Cabal package
descriptions to FreeBSD ports.  It promises both easier addition and
maintenance for Cabal-based ports.
2010-05-12 16:33:59 +00:00
Doug Barton
f61e8c788e Update for version 2.26 2010-05-10 23:26:03 +00:00
Doug Barton
df9dd5c51e Document the --packages-local option for version 2.26 2010-05-10 23:25:33 +00:00
Doug Barton
6ea8b59832 Document the --packages-local option for version 2.26
Fix spelling of /usr/local/lib/compat/pkg
ENVIRONMENT is not just for make
2010-05-10 23:25:08 +00:00
Doug Barton
de194fda07 New Feature
===========
Add a --packages-local option for those who wish to use only local
packages, and never attempt to fetch from a remote site.

Bug Fix
=======
Fix a braino for --index-first and --index-only:
The cross-checking of the command line options needs to happen before
the environment variables are set.

Cleanups And Optimizations
==========================
1. LOCALBASE_COMPAT is only ever used in combination with /pkg at the
   end, so fold that into the variable to start with.
2. Indicate to the user that -p is deprecated
3. Allow setting of DISTDIR directly in .portmasterrc like the other
   widely used vars. This entails the following:
   a. Capitalize distdir every place that it's used.
   b. Add to the list of --options to check which mean we don't even
      have to try to set it. This saves us a call to make(1).
   c. Don't set it to / if DISTDIR is empty, which makes error checking
      later on easier.
   d. Mark DISTDIR (and related vars) global in a few more functions
      to make it consistent.
4. Move the test for version > 6.4 first in the list, no point in
   processing a bunch of stuff only to bail out later.
5. Unset the test_command_line function when we're done using it
6. Be smarter about whether or not to use $PM_SU_CMD to fetch the
   INDEX.bz2
7. Improve cross-option error checking for the --packages* options
2010-05-10 23:23:45 +00:00
Koop Mast
48e62d9a37 Presenting GNOME 2.30.1 for FreeBSD. The offical release notes for this
release can be found at http://library.gnome.org/misc/release-notes/2.30/ .

This release brings initial PackageKit support, Upower (replaces power
management part of hal), cuse4bsd integration with HAL and cheese, and a
faster Evolution.

Sadly GNOME 2.30.x will be the last release with FreeBSD 6.X support. This
will also be the last of the 2.x releases. The next release will be the
highly-anticipated GNOME 3.0 which will bring with it a new UI experience.

Currently, there are a few bugs with GNOME 2.30 that may be of note for our
users. Be sure to consult the UPGRADING note or the 2.30 upgrade FAQ at
http://www.freebsd.org/gnome/docs/faq230.html for specific upgrading
instructions, and the up-to-date list of known issues.

This release features commits by avl, ahze, bland, marcus, mezz, and myself.

The FreeBSD GNOME Team would like to thank Anders F Bjorklund for doing the
initual packagekit porting.

And the following contributors & testers for there help with this release:
Eric L. Chen
Vladimir Grebenschikov
Sergio de Almeida Lenzi
DomiX
walder
crsd
Kevin Oberman
Michal Varga
Pavel Plesov
Bapt
kevin

and ITetcu for two exp-run

PR:	ports/143852
	ports/145347
	ports/144980
	ports/145830
	ports/145511
2010-05-10 21:19:08 +00:00
Philip M. Gollucci
3a2084de1e 4/5: Chase devel/apr shlib bump
PR:             ports/146130
Approved by:    portmgr (pav)
Tested by:      -exp run (pav)
With Hat:       apache@
2010-05-05 21:52:39 +00:00
Doug Barton
aa2bb47b89 Update for version 2.25 2010-05-03 22:29:14 +00:00
Doug Barton
50cfa26804 Document the --no-index-fetch option for 2.25 2010-05-03 22:28:43 +00:00
Doug Barton
4f7044fee1 New Feature
============
Add a --no-index-fetch option for people who want to use the
--index* options but do not want portmaster to do the fetching.

Cleanup and Fixes
=================
1. Remove no longer necessary local variable in version()
2. Rework how some initial variables are set. Deriving the values via
   make works, but is very slow. So try to be more intelligent about
   recognizing the standard values for the ones we always need to have.
   * For PORTSDIR and PKG_DBDIR if those variables are not in the
     environment and the standard directories exist, use them.
   * Move the setting of pd (PORTSDIR) up to before the INDEX-related
     items so that we can use ${INDEXDIR:-$pd}
   * The derivation of the INDEX-related stuff wasn't working (since
     we didn't know $pd) and no one has complained, so just use the
     default values from bsd.port.mk unless the user specifies others.
   * If /var/db/ports exists, use it for port_dbdir
3. Indicate that the -[lL] options are not compatible with -FRaefnors,
   updates, or installs
4. In the test to see if we downloaded a new INDEX.bz2 file supply a
   default value for index_time so that if the file did not exist
   previously the test will not fail.
2010-05-03 22:28:22 +00:00
Xin LI
2fbec0a01f Prefer using base system binaries.
Reported by:	Paul Hoffman <phoffman proper com>
With hat:	secteam
2010-05-03 21:02:20 +00:00
Doug Barton
6485991499 Update for version 2.24 2010-05-02 21:34:05 +00:00
Doug Barton
3b53dbda12 Minor Bug Fixes and Adjustments:
================================
1. Adjust whitespace at the end of the run
2. In a couple places where default value setting is overly complex
   (including a couple of the places related to the recent ro_upg_port
   changes) simplify the code.
3. When checking stat(1) for the INDEX updates we really want to check
   the time when the file was last modified for pedantic value, although
   in this scenario the practical effect was the same.
4. In --check-port-dbdir we now need to check if the values in the loop
   are directories, since origin_from_pdb() now emits an error if it can't
   find ORIGIN.
2010-05-02 21:33:37 +00:00
Doug Barton
79022b5afd Update for version 2.23 2010-05-01 04:00:34 +00:00
Doug Barton
35e294816e Document --index-first for version 2.23 2010-05-01 03:59:53 +00:00
Doug Barton
14242d555c New Features
============
Expand on an idea provided by mandree@ to use 'pkg_version -I' to quickly
check what ports are out of date, and incorporate that check into the
--index option. Feedback from users seems to indicate that this is what
they expected the option to do anyway, so the minor change to the feature
does not seem to be a POLA violation, especially since INDEX support is
still relatively new. Add the --index-first option to do what --index used
to do in case anyone cares.

Bug Fixes
=========
1. Add more error checking for incompatible command line options.
   Add a new cross_idx() to handle checking the 3 --index* options, and
   consolidate some of the old tests that were all relative to -G.
2. We want to test the .bz2 version of INDEX to see if it's newer, and
   unzip it if it is.
3. For -o mode:
   Going back a long ways upg_port was (ab)used to indicate the currently
   installed version of the old port for -o. Originally this was safe since
   it's very rare to have the new port installed already, and it saved a
   little bit of code complexity. However, as more and more features were
   added that utilized the value of upg_port it became increasingly
   unsafe. Particularly, at this time there are 2 related bugs manifest.
   First the wrong information appears in the confirm list (upgrade of
   the old port vs. install of the new) and parsing the old port
   directory. The latter was (mostly) harmless, although in the case of
   an old port directory being DEPRECATED this resulted in a fatal error
   when trying to upgrade.

   So, make the following changes:
   a. Make upg_port an installed version of the new port, if it exists.
   b. Introduce ro_upg_port for the existing version of the old port.
   c. Factor out some code that was related to how to handle lack of an
      installed version of the old port (since now that's done higher up).
   d. In the stage after the build of the new port and before pkg_delete
      of the old port test for upg_port OR ro_upg_port and run the various
      features (lib backup for -w, pkg_delete, etc.) as needed for both.
   e. In install_failed() notify the user about the backup port for the old
      version.
   f. I discovered in regression testing that invoking -o for MOVED
      ports that we get to as dependencies was working, but the code to
      automatically invoke -o for a parent port was broken. The problem is
      that we can't just exec a new version if we're the parent, we have to
      cleanly shut down background fetches and other processes, delete temp
      files, etc. So split the parts of safe_exit() that relate to these
      elements into their own function, parent_exit(), and call it both
      from safe_exit() and when exec'ing a new version for -o in this case.
4. Add error checking to pm_mktemp, and the stray mktemp call. According
   to a private report from a user it can actually fail.
5. Add error-checking to parse_index() so that if we don't find a line for
   the port we return an error code; check for the error in the callers.
6. Improve the handling of various situations where there is no ORIGIN
   recorded in the +CONTENTS file. This is almost always an error in the
   package building process, and therefore usually needs to be flagged and
   handled as an error. There are (at least) 2 situations where it may not
   be an error; bsdpan ports, and when the user has added an +IGNOREME file
   (usually for 3rd party packages).

   a. Add code to origin_from_pdb() that tests to see that grep returned
      something, echos the result as before, then also returns successfully
      * If the port is a bsdpan port, return with an error code but let the
        caller handle the reporting as appropriate.
      * If there is no ORIGIN but there is an +IGNOREME file don't report
        the error unless we're using -v, then also report that the
        +IGNOREME file is there. Either way, return with an error code.
      * If there is no ORIGIN, and no +IGNOREME file, report the error and
        return with an error code.
   b. In several places this allows several lines of code where the
      function is called to be collapsed into:
      origin=`origin_from_pdb $iport` || continue
   c. In the main body where we parse the command line for what to work on
      convert the code that was individually testing the various conditions
      that are now handled in origin_from_pdb() to simply parse the return
      codes with a case statement.

   In the common case (there is an ORIGIN in +CONTENTS) this is almost
   certainly a minor optimization since the error handling code in
   origin_from_pdb() is never reached, and several places where things
   like "is it a bsdpan port?" and other error handling have been removed.
7. In check_for move some local variables down into the block where they
   are used.
2010-05-01 03:59:21 +00:00
Emanuel Haupt
6e2aeace66 Chase audio/libmodplug update. 2010-04-24 09:38:46 +00:00
Mark Linimon
f466b8bf64 Reassign ports from andrey@kostenko.name to perl@ due to lack of time.
Hat:		portmgr
2010-04-20 03:04:26 +00:00
Alex Dupre
bf330a57d4 Switch to use newer GMP version.
PR:		ports/144487
Submitted by:	ale
Approved by:	portmgr (-exp run by erwin)
2010-04-19 10:43:42 +00:00
Doug Barton
fd2ff578da Update for version 2.22 2010-04-11 22:41:57 +00:00
Doug Barton
aa3ee8b137 When NOT using --index-only the rundep list still needs to be parsed the
old way. So only add spaces to the list if we're generating it from the
INDEX, and let the case statement match with or without spaces.

Reported by:    avilla
2010-04-11 22:41:21 +00:00
Doug Barton
5641500ca4 Update for version 2.21 part 2: Document necessary environment variables 2010-04-10 04:43:04 +00:00