Commit Graph

138 Commits

Author SHA1 Message Date
Akinori MUSHA
a47f237214 Update to portupgrade 1.29.
portupgrade:
	- Fix a bug that -s/--sort didn't work.  D'oh!
	- Make -u/--uninstall fail-safe.  It backs up old
	  installations with the help of pkg_tarup and restores on
	  installation failure.
        - Show option errors more gracefully.
        - Die on signals more gracefully.

portversion:
	- Show option errors more gracefully.
        - Die on signals more gracefully.
2001-05-30 07:00:21 +00:00
Akinori MUSHA
459053e850 Update to 1.28 which fixes a bug when a package does not have @pkgdep
or +REQUIRED_BY.

Reported by: Jimmy Olgeni <olgeni@uli.it>

I'll debug harder next time.  Sorry for this. :(
2001-05-29 23:07:28 +00:00
Akinori MUSHA
a3b1fbaca7 Update to portupgrade 1.27.
Everything should now be fine while bug reports and thoughtful
suggestions are always welcome.
2001-05-29 22:21:34 +00:00
Akinori MUSHA
cbe50db5a9 Apply a hotfix to fix a couple of bugs/misfeatures. 2001-05-29 21:42:06 +00:00
Akinori MUSHA
5b36cf09a5 Update portupgrade to 1.26 and portversion to 1.4.
This is a milestone release for me.  Enjoy. :>

portupgrade changes:
  - Implement -s/--sort which sorts packages in the dependency order.
  - Implement -R/--upward-recursive, and get -r/--recursive working for
    upgrading as well. (Finally!)
  - Add -DBATCH to the make fetch' commandline to prevent ports from
    dumbly waiting for user input.

  Greatly inspired by: Jimmy Olgeni <olgeni@uli.it> (Thanks!!)

portversion changes:
  - Make command output optimal by using portupgrade's -s option.
  - Report possible ports' Makefile breakage.
2001-05-29 21:11:47 +00:00
Akinori MUSHA
1e3888f0dc Fix a rmdir line so it never fails.
Submitted by:	Jimmy Olgeni <olgeni@FreeBSD.org>
2001-05-18 14:20:15 +00:00
Akinori MUSHA
5c13f9369e Update to 1.25. 2001-05-17 18:23:40 +00:00
Dag-Erling Smørgrav
5f1da281bf Change the order in which we check out the ports root and index to work
around a CVS bug.  Also add some missing options to usage() and help()
and alphabetize them properly, and show the usage string if no arguments
were specified on the command line.
2001-05-16 09:28:51 +00:00
SADA Kenji
085587f830 Notate more detailed functionarity of this script.
Approved by:	maintainer
2001-04-24 17:16:47 +00:00
SADA Kenji
f401541c9b - minor update of the script.
- import script file into port skeleton.
- change maintainer's mail address.

PR:		ports/26762
Submitted by:	maintainer
2001-04-23 17:27:50 +00:00
Akinori MUSHA
1070496ff8 Update to 1.23.
- Add BSD-style license notice.
- Show the revision on help (-h).
- Do distclean before each fetch if -c is specified with -F.
2001-04-18 19:52:11 +00:00
Akinori MUSHA
3be9dc4719 Update to 1.20.
2001-04-18 03:36  knu

	* misc/zsh/_portupgrade: Add -F.

2001-04-18 03:35  knu

	* portupgrade: Add -F/--fetch option to make dial-up users happy.

	Submitted by:	Jimmy Olgeni <olgeni@uli.it>
			(He suggested -e, but I prefered -F)

	Show what version a package is upgraded to to help a user decide
	whether to upgrade or not.

	Submitted by:	Timothy Smith <tim@mysql.com>

Resurrect portversion for what it's worth as a reference code.  The
problems that kept it from working has been addressed and will
hopefully be fixed soon. :)
2001-04-17 18:51:48 +00:00
Akinori MUSHA
7d94ccfe39 Get rid of the mention of portversion in pkg-descr. 2001-04-10 16:57:53 +00:00
Akinori MUSHA
a736e4aa4e Say good-bye to portversion. Now we have new pkg_version(1) which
does handle versions correctly.

By the way, I'll have to find a workaround for the ruby's thread
vs. libc_r (stdio/malloc) problem exposed by portversion...  Hmm.
2001-04-10 16:56:42 +00:00
Dag-Erling Smørgrav
f5a3c0f232 Forgot to update porteasy's idea of its own version number.
Notices by:	<jbg@verloid.net>
2001-04-05 12:24:55 +00:00
Will Andrews
dbba8af644 Overhaul QT/KDE support:
- bsd.port.mk update to use bsd.kde.mk for USE_{QT,KDE}*
- Cleanup corresponding ports for bsd.kde.mk update.
- Fix bsd.kde.mk: use correct kdelibs dependency, put qt at the bottom,
  introduce QT_NONSTANDARD variable for nonstandard configure setup.
- Update KDE2 to 2.1.1.  Two patches included in x11/kdelibs2 to fix the
  proxy authentication that was broken for 2.1.1.  Remove old patches.
- Potentially fix kdelibs build for alpha.
- Fix qt-designer 2.3.0 build.
- Ruby stuff left alone since it looks like black magic to me.  Should
  still work w/ compat shims for older USE_QT[,2] style.  Some others
  were also left alone for the same reason.

Reviewed by:	portmgr, ports (bsd.kde.mk+bsd.port.mk)
Submitted by:	David Faure <faure@kde.org> (proxy auth patches)
		Alex Zepeda <garbanzo@kde.org> (old patches removal)
2001-04-03 08:14:43 +00:00
Akinori MUSHA
85441a23ad Reword pkg-comment and pkg-descr to make it clearer. (README will be
fixed in the next release)

Submitted by:	obrien
2001-03-23 20:47:52 +00:00
Akinori MUSHA
6756e56e52 Update to 1.19.
2001-03-23 04:08  knu

        * portupgrade: Change the timing of the invocation of the
        beforebuild command so that "portupgrade -B'cvs update' foo" works.

        Reported by:    Ollivier Robert <roberto@eurocontrol.fr>

2001-03-23 04:06  knu

        * portversion: Fix the implication of a '*'. (portversion -v did
        nothing ;)

        Reported by:    Tadayuki OKADA <tadayuki.okada@windriver.com>

2001-03-23 04:04  knu

        * pkgdb.rb: Skip packages with illegal names showing an informative
        message rather than dying of an error.

        Reported by:    Ollivier Robert <roberto@eurocontrol.fr>
2001-03-22 19:16:35 +00:00
Akinori MUSHA
8e4cb7c968 Update portupgrade to 1.18. Now it comes with portversion, which is
the Porter's Handbook compliant version of pkg_version with a little
bit better performance and better usability.

2001-03-22 06:13  knu

        * README, portupgrade, misc/zsh/_portupgrade: Add a couple of new
        options:   -A [command to run after each installation]   -B
        [command to run before each build]

2001-03-22 05:49  knu

        * README, install.rb, portversion, misc/zsh/_portversion: Add
        portversion.

2001-03-22 05:43  knu

        * portupgrade: Use make(1) arguments specified with -m for "make -V
        PKGNAME" too.

        Ignore the difference of the name parts when it compares the
        package versions.

2001-03-22 05:36  knu

        * misc/zsh/_portupgrade: Add a missing closing bracket.
2001-03-21 21:33:52 +00:00
Akinori MUSHA
56c06bcbe7 Update to 1.16.
- Use Dir.entries(dir).each instead of Dir.glob(dir) so it does not
  hit the just installed packages.
- Add -p option. [make package as well when each port is installed]
  (Requested by: Ollivier Robert <roberto@eurocontrol.fr>)
- Sort options in alphabetical order.
2001-03-21 12:04:52 +00:00
Akinori MUSHA
77e106b384 Bring in the enhancements I submitted to mharo some time ago and bump
the version to 2.3.2.

- Add checks for empty files, empty directories, core files, more
possible backup files, dotfiles, symlinks and CVS directories.

- Do not assume PATCHDIR always includes "/files/".  Use the best
method to check whether a file is added to @checker as a patch file.

- Some trivial message style fixes.
2001-03-20 20:54:24 +00:00
Akinori MUSHA
600e52d351 Fix a bug when the origin of a package is unknown.
Submitted by:   Leif Neland <leifn@neland.dk>
2001-03-18 14:09:07 +00:00
Akinori MUSHA
07e81a9663 D'oh, the checksum was not the correct one's. Sorry. 2001-03-18 09:26:17 +00:00
Akinori MUSHA
230a5071f6 Add portupgrade, a tool to upgrade installed packages with ports.
It upgrades ports without reinstalling dependent packages by directly
modifying the package info recorded in the files under /var/db/pkg.

e.g.
	portupgrade gtk
	portupgrade -cC gnome\*

It currently has many design flaws (to me at least) but I am releasing
this because it's functionally stable enough to use. (I believe.. ;)

Use with care, at your own risk.
2001-03-17 23:06:40 +00:00
Dag-Erling Smørgrav
91a395c3dd Add forgotten file. 2001-03-11 14:01:00 +00:00
Dag-Erling Smørgrav
5dde6f413f Porteasy 2.3: cvspass magic for anoncvs.freebsd.org; new -w option for
displaying a port's web site URL; don't build by default (sometimes you
just want to update a port and all its dependencies); code cleanup.
2001-03-11 01:14:27 +00:00
FUJISHIMA Satsuki
afa075e6d8 o stop checking blank lines for files/patch-*
o fix getopt arguments: -B takes argument and -N don't.

Submitted by:		Peter Pentchev <roam@orbitel.bg>
Non-responce from:	maintainer
2001-02-17 12:20:32 +00:00
Michael Haro
1503c58d38 Fix docs
Submitted by:	olgeni
2001-02-14 10:56:10 +00:00
Jimmy Olgeni
010a452967 Style fixes for sysutils. 2001-02-05 16:04:23 +00:00
Maxim Sobolev
7cacb2c79a Add qtpkg 1.0, a Qt based package removal tool.
PR:		24573
Submitted by:	Trenton Schulz <twschulz@cord.edu>
2001-01-23 16:47:05 +00:00
Michael Haro
87190a2217 fix some typos, make some warning messages more verbose
PR:		23725
Submitted by:	    Jimmy Olgeni <olgeni@uli.it>
2000-12-31 18:59:43 +00:00
Akinori MUSHA
2e9b5b7363 Update to version 2.3.
- Conform to the new port layout, finally.

- Use COMMENT, DESCR, PLIST, PKGINSTALL, PKGDEINSTALL, PKGREQ,
PKGMESSAGE, SCRIPTDIR and PATCHDIR instead of hardcoded file/directory
names. (suggested by will)

- Fix maxchars checker that has been broken.

- Fix "use ldconfig with ||/usr/bin/true" checker. (patch submitted by
sobomax)

- Fix "include the country code in the module alias name" warning.
Besides, "country code" is corrected to "language code".

- Add french and hebrew to the list of lang-specific categories.

- Properly omit the checks against PORTNAME section etc. when the
testee is a slave port.

- Add "INSTALLS_SHLIB may be missing" checker which searches pkg-plist
for `*.so' and `*.so.<nn>'.

- Make it dynamically read bsd.sites.mk so that we no longer need to
keep it always in sync with bsd.sites.mk.  It now should recognize
`/%SUBDIR%/' part too.

- Change `split(/\s+/, "blah blah blah")' to `qw(blah blah blah)'.

- Add some dummy comments that prevent Emacs' CPerl mode from
confusing.

- Add a condition "unless this is a master port" to the warnings that
are specific to master ports, because currently we can't know if a
port is a master port.

Reviewed by:	mharo (MAINTAINER)
2000-12-12 14:24:12 +00:00
Ade Lovett
3d6472eb4a Fix up a port that somehow got missed in The Great Conversion Process
patches/patch-aa -> files/patch-aa

No repo-copy needed, since there was no history for the patch, but I
include the original commit message for it here:

  Adding a `-P' option to the CVS checkout lines is needed or else
  bsd.port.mk finds the older directories and complains about mismatched
  port versions.

Submitted by:	my machine going nuts and trying to build this port by mistake
Approved by:	asami
2000-11-14 20:32:28 +00:00
Michael Haro
053956ab45 bump version 2000-11-10 07:43:54 +00:00
Michael Haro
2beea6cfcb fix a bug, $i = -> $i eq
Submitted by:	fenner
2000-11-10 07:20:43 +00:00
Dag-Erling Smørgrav
81fe4a5ac8 Previous commit was incomplete. 2000-11-03 14:30:42 +00:00
Dag-Erling Smørgrav
57ec16fc34 Don't build master ports unless they were explicitly required!
Pointed out by:	nectar
2000-11-03 14:18:37 +00:00
Mike Smith
5a5307763f Update to PIB 1.2, which fixes the reported issues so far with the new
ports layout.  Apologies to everyone for taking so long to get around
to this.  I'm surprised, nay amazed at how many people are still using
PIB after all this time.  Thanks!

PR:		ports/22016 ports/22022 ports/22130 ports/22281
2000-10-28 08:59:23 +00:00
Dag-Erling Smørgrav
65f0dd94ef Porteasy 2.2 (getting close to a new minor version every day...)
- 'cvs -Q' is *too* silent, so just use 'cvs -q' when not verbose.
 - cache the results of find_master().
 - allow for a trailing slash in the second field in a dependency spec.
 - add an option to show the packing lists for selected ports.
 - fix a bug where porteasy would build a port when it shouldn't.
2000-10-22 21:33:10 +00:00
Dag-Erling Smørgrav
78a6132b72 Update version number. 2000-10-21 09:51:52 +00:00
Dag-Erling Smørgrav
1809b4ccae Document PORTEASY_OPTIONS. 2000-10-21 09:51:29 +00:00
Dag-Erling Smørgrav
cdf9596183 Add a copyright statement to the version and help texts.
Fix a small bug in dependency parsing.
Add support for a PORTEASY_OPTIONS environment variable.
Give -r precedence over -a.
2000-10-21 09:50:57 +00:00
Dag-Erling Smørgrav
e5f1e12bef Much-enhanced Porteasy 2.0. 2000-10-19 21:02:46 +00:00
Will Andrews
c0234049ca Add support for the new PORTEPOCH/PORTREVISION variables, so it won't
improperly fatal-warn about them being in PORTNAME area.

PR:		21747
Submitted by:	jeh
2000-10-10 23:54:49 +00:00
Dag-Erling Smørgrav
1f3c3106a8 Look for pkg-descr rather than pkg/DESCR.
Always use the -d option when invoking CVS, to work around breakage in CVS
(said breakage has reportedly been fixed in 1.11, but I haven't verified this)
Bump version number.
2000-10-09 11:45:46 +00:00
Michael Haro
93abd0a028 sync with bsd.sites.mk, bump version to 2.2.3
Submitted by: jeh
2000-10-04 04:02:39 +00:00
Dag-Erling Smørgrav
79f09b3a36 Fix cut'n'paste bogon.
Submitted by:	Dmitry Sivachenko <dima@Chg.RU>
2000-09-22 10:52:40 +00:00
Will Andrews
89ac3f8bd9 Fix portlint bug where it thinks that missing a files/md5 is fatal but the
port actually does not have any DISTFILES variable.  This *should* work
with slave/master ports, but I'm not sure.

Now the portlint port passes its own test.  ;->

PR:		21380
Submitted by:	des
Approved by:	mharo
2000-09-21 16:22:15 +00:00
Dag-Erling Smørgrav
04fbaaefee Style and mdoc fixes.
Submitted by:	sheldonh
2000-09-20 12:52:24 +00:00
Dag-Erling Smørgrav
991d375484 Argh! forgot to fix this before adding the port.
Uninverse the meaning of two if tests.
2000-09-19 19:35:48 +00:00