Commit Graph

1152 Commits

Author SHA1 Message Date
Sergey Matveychuk
55034d0a60 - Fix brackage after ports/Makefile 1.97 was committed 2007-02-01 07:23:39 +00:00
Pav Lucistnik
e708b87bbe - Introduce a new ports category ports-mgmt: Ports for managing, installing and
developing FreeBSD ports and packages

PR:		ports/97507
Submitted by:	shaun
2007-01-31 15:37:18 +00:00
Martin Wilke
9d4b1deaeb - Update to 0.8.0
PR:             108341
Submitted by:   Securedog<securedog@users.sourceforge.jp> (maintainer)
2007-01-25 22:58:59 +00:00
Pav Lucistnik
f59f83b016 - Fix handling of lib/compat/pkg directory
Approved by:	sem (maintainer)
2007-01-25 16:49:10 +00:00
Shaun Amott
2dd8cf06bb Ensure the sample config. removal line in pkg-plist succeeds if
portscout.conf has been modified.

PR:		ports/108290
Submitted by:	Alexander Logvinov <ports@logvinov.com>
2007-01-24 15:17:32 +00:00
Shaun Amott
9a0820631b - Update to 0.7.1, which fixes a few minor bugs. 2007-01-23 19:15:52 +00:00
Shaun Amott
be434d24bc Fix another last-minute bug in the restrict_* checking code. 2007-01-22 21:33:27 +00:00
Shaun Amott
6560f8940f - Fix a typo in the SQL init script.
Noticed by:	miwi
2007-01-22 15:13:05 +00:00
Shaun Amott
d7813d9326 portscout is a tool which looks for new versions of software in the
FreeBSD ports tree, and potentially other software repositories.

Various factors make this task a bit more difficult than it might
initially seem. In particular, the array of weird and wonderful
versioning schemes software vendors manage to come up with.

portscout spawns several child processes and does its version checking
in parallel, while attempting to best-guess strange-looking version
numbers, navigate around unhelpful sites and web servers, and contend
with the CPU-heavy rapidly-expanding FreeBSD ports system.

In addition to all this, it is possible to generate nice HTML reports
and send reminder mails to interested parties.

This should probably be considered beta until v1.0 is released.
2007-01-21 23:43:09 +00:00
Ion-Mihai Tetcu
fd88c48314 Point users to the README file.
Prompted by:	Jeff Palmer on IRC
2007-01-21 06:18:32 +00:00
Doug Barton
135bbb848e Update for version 1.12 2007-01-09 22:08:45 +00:00
Doug Barton
f81e229109 New Features
============
1. Add -t mode to "thoroughly" recurse dependencies, using the
all-depends-list target instead of the combination of the
build-depends-list and run-depends-list targets. This is useful
when the dependencies of a dependency need to be updated, but
the dependency itself doesn't; and -a mode is impractical for
whatever reason.
2. If pkg_create fails, give the user the option of how to handle
it: fail, or ignore the error.

Improvements
============
1. If we are trying to delete distfiles, but a dist subdir has
gone missing, assume that the files are safely deleted (and
inform the user) rather than error'ing out.
2. Search for BROKEN state before FORBIDDEN state, since if
the former is set, the latter is implied, which made the error
message confusing. While I'm here, trim the error message by
removing some redundant information.
3. After successful install, before the dependencies are updated,
apply the same search pattern whether we're updating an existing
port, or installing from scratch using -p /usr/ports/foo/bar.
Otherwise, existing dependencies for a port that was forcibly
pkg_delete'd won't be updated, nor will the newly installed
port's +REQUIRED_BY file be up to date.

Fix
===
1. The file that contains the checksums is not always spelled
"distinfo," so use the MD5_FILE variable to find it

Cleanups
========
1. Further local'ize variables in functions, and factor in some
variables there were used only once. Add more comments that
describe usage of variables with global scope used in a function.
2. Twiddle white space a little more to help key messages stand
out better, and change wording on one message to (hopefully) make
it more clear.
3. Bump copyright
2007-01-09 22:07:34 +00:00
Martin Wilke
8f2e1924d7 - Update to 1.2
PR:             ports/107597
Submitted by:   Beat Gätzi (maintainer)
2007-01-09 21:31:58 +00:00
Ion-Mihai Tetcu
ea408865fb - Add miwi's favico.ico for www interfaces
- bump PORTREVISION for plist change

Obtained from:	miwi@ ;-)
2007-01-08 16:36:11 +00:00
Ion-Mihai Tetcu
2c8763ffc1 Remove accidently commited file. 2007-01-05 00:26:00 +00:00
Ion-Mihai Tetcu
5baa42e2db Fix OPTIONS handling.
PR:		ports/107394
Submitted by:	Ulrich Spoerlein
2007-01-05 00:24:44 +00:00
Ion-Mihai Tetcu
9a85ac6135 Portcheck is a simple and small script for FreeBSD
which first updates the ports tree and then runs an
update and a security checkup of all the installed packages.
Portcheck depends on portsnap, portaudit and pkg_version.

WWW: http://www.usebsd.com/pub/portcheck/

PR:		ports/107418
Submitted by:	Kim Naim Lesmer <naim at usebsd.com>
2007-01-05 00:21:56 +00:00
Martin Wilke
b05b87b56c Shows WITH(OUT)-knobs of a port makefile and if you want also the knobs of
all port dependencies.

WWW: http://www.chruetertee.ch/portsopt/

PR:		ports/107400
Submitted by:	Beat Gaetzi <beat at chruetertee.ch>
2007-01-03 22:38:26 +00:00
Rong-En Fan
d05468ada1 - Dont append PREFIX for RUN_DEPENDS
PR:		ports/106695
Submitted by:	Thomas Abthorpe <thomas at goodking.ca>
Approved by:	Hannes Hauswedell <hannes.hauswedell at gmail.com> (maintainer)
2006-12-18 17:50:11 +00:00
Gabor Kovesdan
29e5fbdad8 - Update to 0.6.1
- Remove old pkg-message

PR:		ports/105931
Submitted by:	Hannes Hauswedell <hannes.hauswedell@gmail.com> (maintainer)
Approved by:	erwin (mentor)
2006-12-17 20:11:41 +00:00
Ion-Mihai Tetcu
cc9a51e28c - don't hardcode PREFIX
- add setup intrauctions for LightHTTPD

PR:		106683
Submitted by:	Wesley Shields
2006-12-17 19:11:44 +00:00
Ion-Mihai Tetcu
93b79e1eb6 space -> tab
Submitted by:	tdb@
2006-12-17 19:07:47 +00:00
Doug Barton
467b76e425 Argh! Remove a debugging line. 2006-12-13 18:32:44 +00:00
Doug Barton
c81acb8250 Update for version 1.10 2006-12-13 11:12:27 +00:00
Doug Barton
78faec909a New Features
============
1. Attempt to avoid the problem of multiple background checksum
processes stepping on each other trying to download the same sets of
distfiles. The most pathological case for this is trying to portmaster
the xorg port on a clean box with no distfiles downloaded. (Brought to
my attention by George Hartzell <hartzell@alerce.com>.)

2. In cooperation with sem and skv, add three new environment
variables that can potentially be used by port authors, etc.
UPGRADE_TOOL contains the name of the tool being used, in this case
'portmaster'. UPGRADE_PORT is the full string for the port that we are
currently upgrading, and UPGRADE_PORT_VER is just the version string
part of that.

3. Collect a list of any pkg-message files that we "saw" while doing
the installs, and display them all at the end when everything is done
installing. (Old idea of mine, and others, most recently prompted by
kris.)

4. You can now do 'portmaster .' if you are in a port directory you
want to install.

5. If there is no DISTFILE information in the +CONTENTS file after
an installation, add it in the manner worked out on freebsd-ports@,
and documented in http://www.freebsd.org/cgi/query-pr.cgi?pr=106483.
If that information is present, use it to delete the last known set
of distfiles with certainty, but continue searching the "old" way
until the DISTFILE stuff has been around for a while.

Major Fixes
===========
1. Change the code that reads the MOVED file to recurse through the
whole file. This fixes the problem of getting an "answer" to a
find_moved_port() call only to find out that the "new" port has itself
been moved, or deleted. This is not a major problem, but when it
happens it's ugly. The fix slows down the function by about 1/2 second
on my (fairly fast) box, but that function isn't called often, and
it's better to be thorough. (Brought to my attention by erwin.)

2. Remove a change from the last version that caused way too many
false positives from the MOVED file when there was no installed
version of the port.

3. When running -e, warn the user if there are dependencies on the
port, and improve the error message both here and in the same code
for -s.

Minor Cleanups
==============
1. Assign TMPDIR early in the script, and export it to be safe. Change
occurrences of this variable to use the short form.

2. Factor some code that had been moved to a function back in line
since we're down to just one caller.

3. Only print the verbose message about keeping the current version
of a distfile if we're not in fact deleting all distfiles.

4. Make distfile listing more efficient by using the ALLFILES target
instead of the combination of DISTFILES and PATCHFILES.
2006-12-13 11:12:06 +00:00
Martin Wilke
007189ceb1 - Using bzip2 in pkg_create by default for a while now. Patch to
allow removing either .tgz or .tbz temporary pkgs.
- Refactor the existing patches so that we have one patch per file to ease
  maintenance.
- Pass maintainership to submitter.
- Bump PORTREVISION

PR:		ports/106652
Submitted by:	Robert C. Noland III <rnoland@2hip.net>
2006-12-13 10:13:00 +00:00
Ion-Mihai Tetcu
1e136d15ba - Fix path of csup for systems where csup is builded from the ports [1]
- fix deinstall when web interfaces are not installed
- don't install www[-exp] files and remove them afterwards, remove them after
build
- bump PORTREVISION

PR:		106556 [1]
Submitted by:	Beat Gätzi [1]
2006-12-10 22:10:04 +00:00
Martin Wilke
38ddaf85ea - Update to 1.2
PR:		ports/106484
Submitted by:	Benjamin Lutz <benlutz@datacomm.ch> (maintainer)
2006-12-08 22:26:41 +00:00
Martin Wilke
91480543db - Update to 20061204
PR:		ports/106288
Submitted by:   Sulev-Madis Silber <madis555@hot.ee> (maintainer)
2006-12-04 22:29:43 +00:00
Ion-Mihai Tetcu
21095c8518 - install of www and www-exp conditionally (on WEB and WEB_EXP OPTIONS)
- don't depend on php if neither web interface is intalled [1]
- bump PORTREVISON for plist changes.

PR:		ports/106103 [1] (inspired by)
Submitted by:	Nick Barkas [1]
2006-12-01 13:57:47 +00:00
Ion-Mihai Tetcu
a1163073c0 The Tinderbox team is pleased to announce the availability of Tinderbox
2.3.4.  This release is both a bug fix and a new feature release.  The
changes include:
* A performance bug with tbcleanup that was introduced in 2.3.3 has been
fixed.
* The portbuild environment is now scrubbed to prevent pollution.  This
greatly helps in producing the same packages as pointyhat.
* The HOME environment variable is initialized to /root to fix certain
false positive leftover problems.
* If a port fails to build, the Build is reinitialized before the next
port build is started (unless -noclean is passed to tinderbuild) to
prevent pollution.
* All the new failure patterns have been merged from pointyhat.  This
will produce much more accurate failure analysis.
* A new feature has been added to support introducing custom OPTIONS
into port builds.  Consult the README for more details.
* With the start of Xorg 7.x merge testing, port problems are being
found due to the move to LOCALBASE.  Therefore, Tinderbox needs an easy
way to set non-standard LOCALBASE and X11BASE.  This has been addressed
in 2.3.4.  To make use of this feature you must either copy rawenv.dist
to rawenv, or add LOCALBASE and X11BASE variables to your rawenv file.
For example:
LOCALBASE=/usr/local
X11BASE=/usr/X11R6
When you want to run a build with non-standard LOCALBASE and/or X11BASE
paths, just change rawenv, then start your build.

Note: this release includes a micro dsversion bump, so you must run the
upgrade.sh to ensure your database static data is up-to-date.
2006-11-30 07:02:40 +00:00
Joe Marcus Clarke
4da8cefd2f Update to 2.9.2.
* Replace a dead autotools link with a FreeBSD-based link instead [1]
* Replace USE_*_VER with USE_AUTOTOOLS instead [2]
* Check for a valid EXPIRATION_DATE [3]

PR:		104042 [3]
Requested by:	piotr.smyrak@heron.pl [1]
Reported by:	ahze [2]
Submitted by:	vd [3]
2006-11-25 20:02:50 +00:00
Sergey Matveychuk
379dd8e3bb - Update to 2.2.2. New stable version.
Most visible changes are:
  * Database files locking. Only one process can write to them
    in the same time.
  * pkgdb -F is more smart now and takes OPTIONS, make.conf and
    pkgtools.conf settings into account.

  Moreover:
  * Many bugs fixed.
  * Many code refactored.
2006-11-21 17:17:41 +00:00
Sergey Matveychuk
df72a20af1 - Update to 2.2.2
Fix a little (rarely appeared) problem with locking.

Reported by:	Lowell Gilbert <freebsd-ports-local@be-well.ilk.org>
2006-11-18 19:16:56 +00:00
Vasil Dimov
fcbd5fa398 * Upgrade sysutils/portsearch from 1.2.3 to 1.3.0, changes:
o Added new output option: `rawfiles' to request outputting only matched
  pfiles one by line
o Changed -b option to be the same as -f '(^|/)file$' instead of -f '/file$'
o Added new option -L to mimic -p path -f '.*' -o rawfiles i.e. show all
  pfiles for (usually) one port. Inspired by pkg_info -L pkgname
o Ignore case by default and add -S option to force case sensitivity

* Remove my name from pkg-descr
2006-11-15 12:12:29 +00:00
Stefan Walter
17baac639a Update to 20061113. 2006-11-13 18:39:09 +00:00
Sergey Matveychuk
3bff0404b8 - Upgrade to 2.2.1
* Raise an error when MOVED file has a wrong format instead of a weird
  ruby error. (Reported by kris@FreeBSD.org).

* Fix a bug when -P always treated as -PP.

* Change PORT_UPGRADE environment variable with UPGRADE_PORT (contains
  a package name for updating port) and UPGRADE_TOOL=portupgrade.
  Discussed with skv@FreeBSD.org and DougB@FreeBSD.org.
2006-11-12 19:39:17 +00:00
Ion-Mihai Tetcu
821c8656a9 - update to 2.3.3
- allow o RUN_DEPEND on LightHTTPD (for now apache is still brought in by php)
[1]

PR:		ports/105259 [1]
Submitted by:	shaun@ [1]
2006-11-10 20:27:25 +00:00
Sergey Matveychuk
510f6f635b * Change WWW line.
wiki is the same as wikitest but looks better.

Inspired by:	developers@
2006-11-10 11:19:26 +00:00
Sergey Matveychuk
c69658ad1b Add a FreeBSD wiki page as a home page. 2006-11-08 18:18:59 +00:00
Sergey Matveychuk
9ce460d105 - Update to 2.2.0
* Respect INDEXDIR after fetching INDEX (Andrew Pantyukhin <sat@FreeBSD.org>)
* Add --batch opition.
* Add --without-env-upgrade option.
* Remove -DPACKAGE_BUILDING (it was in fetch-only mode) because it's only
  for build cluster, not users. (Pointed out by kris@FreeBSD.org)
* Add detection of stale lock files. They can stay if one of tools suddenly
  terminated.
* Improve pkgdb -F - respect OPTIONS and pkgtools.conf settings.
2006-11-06 19:51:14 +00:00
Andrew Pantyukhin
4974ea803b - Fix bsd.port.mk patch
PR:		ports/104551
Submitted by:	Robert Woolley <freebsd@rwoolley.com>
2006-11-04 10:23:31 +00:00
Alejandro Pulver
16127d75e5 pkg_replace is used to upgrade installed packages.
It is compatible with portupgrade and can be used as
an alternative to portupgrade and portmaster.

WWW: http://portutil.sourceforge.jp

Securedog <securedog@users.sourceforge.jp>

PR:		ports/104971
Submitted by:	Securedog <securedog at users.sourceforge.jp>
2006-11-01 01:34:38 +00:00
Kris Kennaway
e5d133e492 BROKEN: Does not compile
Approved by:	portmgr (self)
2006-10-15 19:58:39 +00:00
Ion-Mihai Tetcu
aa8ce5cc02 - it doesn't work with MySQL below 4.1.x because it uses sub-selects
- also fix broken INDEX if Mysql 3.23.x is installed [1]

Submitted by:	vd [1]
Approved by:	portmgr (marcus)
2006-10-14 21:02:49 +00:00
Doug Barton
1aed3284ba Update for new version 1.9 2006-10-06 21:51:15 +00:00
Doug Barton
e7d3f231ee New Features:
=============
1. You can now specify multiple ports to upgrade on the command line,
such as 'portmaster foo-1.23 bar-4.56 baz-7.98'. [1] Pass -n argument
to child processes (as needed) to handle this case.
2. Handle an alternate port that can satisfy a build requirement by
reading the CONFLICTS for the "standard" port, and seeing if we have
one of those installed. [1]
3. Unless the user specifies the new -B option, always build a backup
package when updating an existing port. Unless the user has specified
the -b option, delete the package on successful installation of the
new port, or print a helpful message telling the user where they can
find the package if install fails.
4. Don't only test a port for IGNORE, also test FORBIDDEN and BROKEN
to avoid doing a lot of work on dependencies for a port that we aren't
going to install.

Big Improvements:
=================
1. Significantly enhance the -r option by tracking what ports should
be rebuilt as a result of it, and rebuilding them "in line" if they
are dependencies of other ports that should also be rebuilt. Thus,
make sure that these ports get rebuilt once, and only once. Also,
don't rely on just the installed port's +REQUIRED_BY file to get the
list of dependencies, since it may be out of date. Search the pkg tree
for that port's DEPORIGIN to make sure that we get them all.
2. Track answers to ports that have +IGNOREME files, so the user is
not asked twice.
3. Rather than use all-depends-list to handle dependencies, use a
combination of build-depends and run-depends. This seems to get
everything we actually need, without sucking in a lot of stuff we don't.
4. Stop abusing the config_only mode, and make a clear separation
between first run (if any) and build run that does not depend on it.
This makes -G mode work as intended, with no bad side effects. [1]

Small Improvements:
===================
1. Add PREFIX/sbin to the PATH [1]
2. Cache "no" answers when using -i ("yes" was already cached).
3. If pkg_version thinks that two versions are the same even though
they have different pkg names, don't warn the user.
4. Clean up package code a little.
5. Twiddle the "waiting on" message for fetch & checksum.
6. If a user has a stale +REQUIRED_BY file in a pkg directory, print a
helpful message that suggests how to fix it. [2]
7. Don't tell a user about a -r port to rebuild if we're not going to
rebuild it for whatever reason.

Bug Fixes:
==========
1. Clean up trailing white space.
2. If the pkg data is corrupt, a search for installed port by ORIGIN
could return more than one answer. So, use only the first answer.
3. In dependency_check(), if a port has moved, check the new location
to see if it needs updating.
4. If there are no valid ports to build based on the command line
args, don't try to build /usr/ports/ [3]

[1] Suggested, debugged, and generally helped greatly by mezz
[2] Wondered about by yar
[3] Reminded by Bill Blue
2006-10-06 21:50:29 +00:00
Rong-En Fan
94f8f411d1 - Update to 20061003
PR:		ports/103934
Submitted by:	Sulev-Madis Silber <madis555 at hot.ee> (maintainer)
2006-10-04 05:47:49 +00:00
Boris Samorodov
4751668a55 - fix the portsnap dependency for systems where it is already in base; [1]
- make sure we don't overwrite user's configuration file in case of     [1]
  upgrade;
- bump PORTREVISION.

PR:		103858  [1]
Submitted by:	Sulev-Madis Silber <madis555 at hot.ee> (maintainer)    [1]
2006-10-01 11:05:32 +00:00
Martin Wilke
257b3ba563 - Update to 20060929
PR:		ports/103809
Submitted by:	Sulev-Madis Silber <madis555(at)hot.ee> (maintainer)
2006-09-30 11:07:42 +00:00