Commit graph

919 commits

Author SHA1 Message Date
Edwin Groothuis
1d2994d56b Problem with portupgrade 2.0
Thank you for reporting. I also discovered this problem a few hours ago.

    The source of this trouble is that the following line exists in MOVED,

    lang/php4|lang/php4|2003-05-22|re-separated from www/mod_php4

    where "moved from" and "moved to" is the same, but portupgrade
    does not check this case and infinite loop occurs.

    Fix to this problem will be in the next portupgrade release,
    but in the meanwhile, whould you commit the following patch,
    please?

PR:		ports/91209
Submitted by:	KOMATSU Shinichiro <koma2@lovepeers.org>
2006-01-02 11:03:25 +00:00
Edwin Groothuis
1eda9ddc55 Fix @dirrm in pkg-plist
Noticed by: YAPHR
2006-01-02 06:36:34 +00:00
Norikatsu Shigemura
e81a09cb91 A happy new year updated to 2.0.0.
(1) Change the versioning scheme of portupgrade.
    portupgrade now becomes 2.0.0!

(2) Add FreshPorts support to portcvsweb(1).
    You can view CVS history via FreshPorts instead of CVSweb
    by using "portcvsweb -F". See the man page of portcvsweb(1) for details.

(3) If the change of the origin is written in MOVED,
    portupgrade reads and chases it.
    You no longer need to supply the origin of the new pkg by "-o" option.

    Example:

        When ftp/wget-devel is moved to ftp/wget, previously you had to run,

	    % portupgrade -o ftp/wget wget

	Now, just run

	    % portupgrade wget

	and portupgrade will do what you want to do.

(4) Try to guess the pkg to be upgraded, when no pkgname is supplied
    as a command line argument.
    This can be done only when the current directory is under $PORTSDIR.

    Example:

	Running

	    % cd /usr/ports/ftp/wget
	    % portupgrade

	will upgrade ftp/wget.

(5) The frequency of INDEX generation on official site is now sufficient,
    recommend to run "portsdb -F" (fetch INDEX from official site)
    instead of "portsdb -U" (make INDEX by yourself) in portsdb(1). [1]

PR:		ports/91164
Submitted by:	KOMATSU Shinichiro <koma2@lovepeers.org> (maintainer)
Pointed out by:	Enrique Matias <cronopios at gmail dot com> [1]
2006-01-01 15:43:35 +00:00
Pav Lucistnik
7788e6b3f8 - Install menu entry
PR:		ports/90971
Submitted by:	Panagiotis Astithas <past@ebs.gr>
Approved by:	Seth Kingsley <sethk@meowfishies.com> (maintainer)
2005-12-30 06:06:55 +00:00
Pav Lucistnik
6cb2475345 - Update to 20051228
- add switch ('-g') to automatically generate the exclude file from kept or
    installed packges
  - improve command line processing
  - improve recursive cutting of leaves

PR:		ports/91021
Submitted by:	Stefan Walter <sw@gegenunendlich.de> (maintainer)
2005-12-28 15:43:42 +00:00
Pav Lucistnik
fc78da6f48 - Update to 0.4.1_4:
if portmanager has been installed for the first time it can't copy
  pm-020.conf-SAMPLE to pm-020.conf.

PR:		ports/90957
Submitted by:	Michael C. Shultz <ringworm01@gmail.com> (maintainer)
2005-12-27 05:18:42 +00:00
Mark Linimon
567865debb Correct slight mis-merge. Should not affect anything. 2005-12-26 23:12:54 +00:00
Edwin Groothuis
23234a5533 - Improve pkg-message
- Change dependency on net/cvsup-without-gui (itetcu@#bsdports)
2005-12-26 23:00:05 +00:00
Edwin Groothuis
189e89ae53 don't overwrite user configuration files. 2005-12-26 21:43:31 +00:00
Edwin Groothuis
e53b47e707 Add an usefull pkg-descr. 2005-12-26 10:42:10 +00:00
Edwin Groothuis
9b434230e6 Port maintainers, commiters and update submitters. Please behold,
here is the tinderbox port which should give you a tinderbox system
to test your ports before submitting it. It's unnmissable for
everybody making ports, and belongs to the range of tools like
portlint and porttools.
2005-12-26 10:40:21 +00:00
Renato Botelho
b655781482 - Add a patch to reverted execve command used when running make to
system( "make" ) so entire environment may be passed when building
  apache22.
- Bump PORTREVISION

PR:		ports/90790
Submitted by:	maintainer
2005-12-22 09:53:42 +00:00
Mark Linimon
5c230e44cc Once again, remove local change that crept in. 2005-12-20 04:00:49 +00:00
Mark Linimon
93d6aaebf5 Do not quote IGNORE. Fix formatting. 2005-12-20 02:45:11 +00:00
Mark Linimon
6525ced36b Really bring these up to date with the latest patch being tested on the
cluster.  The previous commit message was bogus.
2005-12-20 02:30:51 +00:00
Mark Linimon
71f79f775f Update to ports/Mk/bsd.php.mk version 1.21. Previous comment was bogus. 2005-12-20 01:56:26 +00:00
Mark Linimon
90b5216d85 Remove the multiple copies of these files that crept in here. I hate
patch(1).
2005-12-20 01:51:49 +00:00
Mark Linimon
f029e7b0f3 Catch up with ports/Mk/bsd.apache.mk 1.6. Previous checkin comment was
bogus.
2005-12-20 01:49:26 +00:00
Sam Lawrance
e9098e3606 Ports like ghostscript-gnu that insist on blue screening during make instead of
make config have their video scrambled.  Fixed by adding TERM= back to environment
during make.

PR:		ports/90633
Submitted by:	Michael C. Shultz <ringworm01@gmail.com> (maintainer)
2005-12-19 11:36:28 +00:00
Mark Linimon
e1792e1018 Bring portmk/devel up to the status of the next patchset to be tested. 2005-12-19 06:08:26 +00:00
Pav Lucistnik
469cee06eb - Fixes seg fault when run on FreeBSD 7.0, reported by Jiawei Ye
PR:		ports/90583
Submitted by:	Michael C. Shultz <ringworm01@gmail.com> (maintainer)
2005-12-18 14:21:33 +00:00
Joe Marcus Clarke
c20953d63f Update to 2.8.1.
* Warn on use of .tar.bz2 as an EXTRACT_SUFX [1]
* Throw a fatal error if INFO is defined, and install-info is called
  directly [2]
* Throw a warning if install-info is called directly and INFO is not
  defined [2]

PR:		89952 [2]
Requested by:	Kövesdán Gábor <gabor.kovesdan@t-hosting.hu> [1]
2005-12-17 16:36:36 +00:00
Mark Linimon
96969570b6 These now lag their ports/Mk counterparts and are thus OBE. 2005-12-16 02:45:53 +00:00
Mark Linimon
c8ffb7fd36 Conditionalize the inclusion of local copies of bsd.*.mk. They will only
be included if they exist in devel/portmk/Mk; otherwise, the fallback file
from ports/Mk will be used.  This will allow us to remove local copies of
files once their changes are merged back into ports/Mk, so that not every
single change in ports/Mk needs to have a tracking commit made back into
devel/portmk/Mk.  In theory this should allow us to integrate changes a
little more quickly.
2005-12-16 02:25:16 +00:00
Mark Linimon
1e29810185 OK, now that I've given you the example of how this file was developed,
remove the example :-)
2005-12-16 02:13:01 +00:00
Mark Linimon
1d5fc60b5e A sandbox for local modifications to bsd.port.mk. This little bit of
framework is designed so that such things as FreshPorts, portsmon, and
the distfile survey can more easily maintain local changes without having
to re-merge them into their copies of bsd.port.mk all the time.
2005-12-16 02:11:14 +00:00
Mark Linimon
9c6cc68380 Add a comment about a line that is from ports/86106 (USE_GMAKE change).
This is a reminder that this change is not yet tested sufficiently to
go into the main bsd.port.mk.
2005-12-16 02:01:20 +00:00
Mark Linimon
80637bd6b9 Diff reduction to ports/Mk. This was apparently some late change to the
patch in ports/79123.
2005-12-16 00:12:45 +00:00
Mark Linimon
eef7ddb5fb Add patch from ports/78596 for diff reduction. 2005-12-15 23:59:09 +00:00
Renato Botelho
389eb11dbe - Update to 0.4.1
PR:		ports/90403
Submitted by:	maintainer
2005-12-15 12:41:58 +00:00
Marcus Alves Grando
761d966221 Update to 0.4.0_1
* Fixes potential seg fault on 4.11 systems.
* Added log entry times

PR:		90339
Submitted by:	maintainer
2005-12-13 19:52:43 +00:00
Marcus Alves Grando
7437628588 Update to 0.4.0
PR:		90283
Submitted by:	maintainer
2005-12-12 17:29:24 +00:00
Jean-Yves Lefort
daa3b56d78 Fix runtime failure by linking against libpthread (GnomeVFS needs
pthread, and bpm may use GnomeVFS via GtkFileChooser).
2005-12-08 16:24:32 +00:00
Edwin Groothuis
99dbdd022e sysutils/portupgrade: fix the problem that portupgrade sometimes runs slow, and bump PORTVERSION to 20051204.
(1) For years, I have experienced that portupgrade sometimes
	runs very slow.  After some investigation, I found that
	"pkgdb -aF" is invoked from portupgrade or other programs
	(such as portversion) without having sufficient privilege
	to modify /var/db/pkg/, and that error is not caught by the
	caller program, and "pkgdb -aF" is invoked repeatedlly.

	So, I fixed the following things:

	- When pkgdb internally invoked from other program exits
	  with error, make the caller program also exit with error.

	- Display the error messages of pkgdb that run internally
	  from other program.

	When portupgrade or other programs die with the following error,

	    ** You do not own /var/db/pkg. (use -f to force or run as root)
	    Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ

	please run "pkgdb -aF" as the user that owns /var/db/pkg (usually root).

	(2) Make new tarball that contains the above fix and all
	patches in files/.  Bump PORTVERSION to 20051204 and change
	MASTER_SITES.

PR:		ports/89917
Submitted by:	KOMATSU Shinichiro <koma2@lovepeers.org>
2005-12-04 06:39:12 +00:00
Edwin Groothuis
964fbeb0f7 [MAINTAINER] update sysutils/portmanager
update sysutils/portmanager to 0.3.9_7

	1. Fixes portmanager not honoring STOP/START statements
	  from its own config file, reported by Gerard Seibert
	  <gerard@seibercom.net>, Thanks!

PR:		ports/89913
Submitted by:	Michael C. Shultz <ringworm01@gmail.com>
2005-12-04 06:16:40 +00:00
Mark Linimon
4c1874e220 Unbreak INDEX building for those of us using devel/portmk. This is not
all the changes from Mk/bsd.apache.mk that need to be merged.

Pointy hat to:	clement
2005-12-04 05:29:04 +00:00
Philip Paeps
bd8ff515e8 Update to 0.3.9_6. From the maintainer:
1, Fixes corruption of +CONTENTS files when portmanager is compiled in
   BUILD_DEPENDS_ARE_LEAVES mode Bug identified by Jiawei Ye
   <leafy7382@gmail.com>

2. Fixes parsing pkgtools.conf when arrays are used, patch
   provided by dan@slightlystrange.org, thank you!

PR:		ports/89903
Submitted by:	Michael C. Shultz <ringworm01 -at- gmail.com> (maintainer)
2005-12-03 23:34:28 +00:00
Edwin Groothuis
3a2d2766d4 New port: sysutils/pkg-orphan A console utility for managing unreferenced FreeBSD packages
pkg-orphan is a console utility for managing orphan, i.e.
	unreferenced FreeBSD packages. It finds all or selected
	orphans and lets the user choose which ones to remove and
	which ones to keep. It maintains a keep-list file, so
	previously kept packages will be skipped automatically. In
	batch mode, all packages, not present in the keep-list are
	either deleted or kept in the list.

	Since orphan packages are usually much fewer than non-orphan
	ones, it can be useful for quickly finding and deleting
	unused packages, even on a system with hundreds of them
	installed.

	Features:
	 - interactive and batch modes
	 - maintains a kept package list, to avoid asking for the same package again
	 - can delete packages recursively, but without deleting shared dependencies or
	   previously kept packages
	 - the keep-list file does not contain package versions, so upgrades generally
	   don't require editing of the file

	WWW: http://sourceforge.net/projects/pkg-orphan/

	- Victor Semionov
	semionov@mail.b

PR:		ports/89730
Submitted by:	Victor Semionov <semionov@mail.bg>
2005-11-29 21:37:46 +00:00
Simon Barner
f538507cd2 Update to 0.3.9_5:
- Fixes when adding a new port with portmanager, +CONTENTS files being
  corrupted.

-  Improved logging of conflicting ports

Submitted by:	"Michael C. Shultz" <ringworm01@gmail.com> (maintainer)
PR:		ports/89716
2005-11-29 15:18:28 +00:00
Edwin Groothuis
7172f1a900 Prevent building on anything besides tinderboxes by checking the existence
of an unique variable.

Requested by: kris@
2005-11-28 11:21:40 +00:00
Andrej Zverev
c5d4ca8255 - Fix open file leak
- Improve user interactive areas like conflicting ports and -slid
- Bump PORTREVISION

PR:		ports/89653
Submitted by:	Michael C. Shultz (maintainer)
2005-11-28 06:20:16 +00:00
Edwin Groothuis
560acc73a1 This port is simlar to misc/instant-workstation or misc/instant-server.
It creates a whole lot of often used ports, so that after a cvsup
on a tinderbox build system, you can just tinderbuild this port and
all primary dependencies are updated.

If you think a port is missing, let me know!

Author: Edwin Groothuis <edwin@mavetju.org>
2005-11-28 05:57:36 +00:00
Marcus Alves Grando
b2918d0d1c Update to 0.3.9_3
- Fixes bug where if run with -f switch when portmanager updates itsself goes into endless loop.
Thanks to Gerard Seibert for helping to track this one down!

PR:		89609
Submitted by:	Michael C. Shultz <ringworm01@gmail.com> (maintainer)
2005-11-27 20:28:16 +00:00
Andrej Zverev
89a2bf1f8b - Fixes portmanager seg faulting if either /usr/local/etc/pkgtools.conf or
/usr/local/bin/ruby are not installed.

PR:		ports/89564
Submitted by:	Michael C. Shultz (maintainer)
2005-11-26 07:19:59 +00:00
Marcus Alves Grando
3c6c1577f5 Update to 0.3.9_1
- Using ruby script provided by Jan Grant <Jan.Grant@bristol.ac.uk> if portupgrade is installed
portmanager also uses settings from pkgtools.conf in addition to those from its own conf file.
- Wild cards "*" may now be used in pm-020.conf, see man portmanager for details
- Automatic timeouts are re-enabled, stdin problem is solved.
- Fix build on 4.x (0.3.9)

PR:		89533
Submitted by:	Michael C. Shultz <ringworm01@gmail.com> (maintainer)
2005-11-25 20:14:23 +00:00
Pav Lucistnik
dc7af663e2 - Add SHA256 2005-11-25 18:14:52 +00:00
Volker Stolz
095db66735 - Change the name of the ports database file (INDEX.db) to
$(basename ${INDEXFILE}).db, e.g. INDEX-6.db. (requested by kris)
- Add SHA256.

PR:		ports/89520
Submitted by:	maintainer
2005-11-25 15:28:37 +00:00
Sergei Kolobov
a66a28cbd3 - Add SHA256 checksums to my ports 2005-11-25 14:05:38 +00:00
Volker Stolz
026ae88263 Fix crashes with large lines in INDEX
PR:		ports/89513
Submitted by:	maintainer
2005-11-25 08:24:50 +00:00
Edwin Groothuis
172444444e [NEW PORT] security/jailaudit: Generate portaudit reports for jails from the hostsystem
This port contains a script for generating portaudit reports
	for jails running on a FreeBSD system.

	Jailaudit runs in the Host-system and uses portaudit to
	create reports for every jail currently running.

	It can also be used to send specific report-mails to the
	owner of a jail by running it as a cronjob.

	/etc/crontab example:
	0   4   *   *   *   *   root   /usr/local/bin/jailaudit mail admin@foo.bar "foo.example.com bar.example.com"

	Sends reports-mails of the jails with the hostnames
	foo.example.com and bar.example.com to the mailaddr.
	admin@example.com.

	WWW: http://outpost.h3q.org/software/jailaudit/

PR:		ports/87581
Submitted by:	Philipp Wuensche <cryx-ports@h3q.com>
2005-11-25 02:31:06 +00:00