Commit Graph

1069 Commits

Author SHA1 Message Date
Akinori MUSHA
68b126ec35 Add a hotfix to support the "MD5 (file) = IGNORE" case. 2001-08-11 10:07:05 +00:00
Akinori MUSHA
6bb28a13bd Update to 20010811.
portsclean:
  - Rewrite in Ruby and implement the distfiles cleaner. [new]

portsdb:
  - Show a progress message while updating INDEX.*.
  - Record version information into INDEX.rdo.
  - Record category information into INDEX.rdo and enhance the API
    accordingly.
  - Introduce the automatic PORTS_DBDIR selector.  Now it will use
    whichever writable directory in the following ones: $PORTS_DBDIR,
    $PORTS_DIR, /usr/ports, $PKG_DBDIR, /var/db/pkg, $TMPDIR, /var/tmp,
    /tmp (checked in the order named)

portcvsweb:
  - New tool: a tool to open CVSweb to view a CVS log. [new]
2001-08-11 09:22:05 +00:00
Akinori MUSHA
cff77daeb5 Update to 20010809.
pkg_deinstall:
	- Bring in most of the options of pkg_delete(1).
	- Add a new option `-P', which preserves shared libraries.
	- List failed packages if any.
	- Obsolete GNU style long options, which take space and would
	  only rarely be used.

portupgrade:
	- Make portupgrade use pkg_deinstall instead of pkg_delete, to
	  utilize its -P option.

	- Now portupgrade always uninstalls old packages, but
	  preserves shared libraries by default.  The -u option has
	  been changed to mean "Do not preserve old shared libraries".
	  Note, however, that its behavior is the same as before, it
	  is just the default behavior that has been changed.

	  With this change, portupgrade no longer leaves extra garbage
	  even if you don't specify -u, but only old versions of
	  shared libraries for safety. :)

	- Utilize $tmpdir properly for pkg_tarup. (previously
	  PKGREPOSITORY was used prior to PKG_TMPDIR or TMPDIR)

	- Add a notice regarding the disk space for backup files.

Since it's my birthday today, I just wish this update doesn't contain
terrible bugs.. ;)
2001-08-08 22:30:02 +00:00
Akinori MUSHA
032137d53e Update to 20010802, only a minor update.
overall:
- Fix commands not to quit when user answers ^D to a yes/no question.
- Call pkg_* commands in fullpaths.

portupgrade:
- When -s is specified, run sudo to build & install dependent ports
  when some are missing, too.

portsclean:
- This is a new command which cleans ports' working directories.
2001-08-02 08:19:23 +00:00
Akinori MUSHA
9bcd672114 Update to 20010730 with some enhancements.
portupgrade:
- Make portupgrade a little bit more fail-safe by restoring modified
dependency info on installation failure.

portversion:
- Make portversion refer to the ports database and run several times
faster. (!)

portsdb:
- Do not immediately fail in error when it finds an error in the INDEX
  file, but skip the line and continue.
2001-07-30 14:01:02 +00:00
Akinori MUSHA
2ee75b5cf1 Update to 20010727 with a couple of new commands added. (No changes
have been made to the existing utilities)

pkg_deinstall:	This is a package deinstaller with wildcards and
		dependency recursion support.

pkg_glob:	This is a package glob expander with wildcards and
		dependency recursion support.
2001-07-26 19:28:42 +00:00
Akinori MUSHA
62f0245b8c Update to 20010714, a maintenance release.
2001-07-14 17:05  knu

	* misc/zsh/: _pkgdepfix, _portupgrade, _portversion: Improve zsh
	compdefs.

2001-07-14 16:40  knu

	* portupgrade.1: Fix manpage.
	[Submitted by: Sean Chittenden <sean@chittenden.org>]

2001-07-03 14:26  knu

	* pkgdepfix.1, portsdb, portsdb.1, portsdb.rb, portupgrade.1:
	Introduce a new environment variable PORTS_DBDIR, which specifies
	an alternative ports database directory.  This is useful when
	/usr/ports is on a readonly filesystem.
	[Requested by: Makoto MATSUSHITA <matusita@jp.freebsd.org>]

	Warn and abort the update if PORTS_DBDIR is not writable,
	instead of just failing in error.
2001-07-14 08:12:05 +00:00
Akinori MUSHA
9caf58e05d Update to 20010627. Enhance the behaviors of some flags:
-B CMD
    --beforebuild CMD	Run the sapecified command before each build.  If the
			command exits in failure, the port/package will be
			skipped.  Here is some typical uses:

			portupgrade -B 'cvs update' 'gnome*'

			portupgrade -aB 'test ! `make -V IS_INTERACTIVE`'

    -x GLOB
    --exclude GLOB	Exclude packages matching the specified glob pattern.
			Exclusion is performed after recursing dependency in
			response to -r and/or -R, which means, for example,
			the following command will upgrade all the packages
			depending on XFree86 but leave XFree86 as it is:

			portupgrade -rx XFree86 XFree86
2001-06-26 17:02:41 +00:00
Akinori MUSHA
c74e098113 Update to 20010622, a maintenance release with better diagnostic
messages.
2001-06-22 14:53:14 +00:00
Akinori MUSHA
a86edf2a86 Whoops, 20010617 had an installation problem. 2001-06-17 11:43:11 +00:00
Akinori MUSHA
3eab80a70e Revise pkg-descr. 2001-06-17 10:12:43 +00:00
Akinori MUSHA
396b2f3afd Update to 20010617.
portupgrade:
  Add a new option: -N/--new.  If it is specified, portupgrade
  installs a new one when a specified package is not installed.

portinstall:
  New command equivalent to `portupgrade -N'.  You can specify a port
  origin to name the one you want to install, too:
    e.g. `portinstall shells/zsh'
2001-06-17 07:38:49 +00:00
Akinori MUSHA
a3b2597105 Update to 20010615.
This is a maintenance release.

  - Manpages provided.
  - Ports DB got faster.
  - Wording fixed.
  - New feature added to portsdb(1): you can use it to expand
    port/pkgname globs. (archivers/p5-*, zsh, gnome*, etc.)
2001-06-15 09:36:29 +00:00
Akinori MUSHA
aa878d3f24 Oops, wrong checksum. 2001-06-10 21:06:39 +00:00
Akinori MUSHA
da51098583 Update to 20010611, with many changes and enhancements.
Beware of bugs, just in case. ;)

portupgrade:
  - Sort packages by default and remove -s/--sort.
  - Rename -y/--yield/-Y/--yield-command to -s/--sudo/-S/--sudo-command.
  - Implement -a/--all.
  - Implement -x/--exclude=GLOB.
  - Exit on OptionParser::ParseError immediately.
  - Do not call "make fetch-recursive" but just "make fetch", now that
    portupgrade does recursion itself.
  - In fetch mode, specify -DPACKAGE_BUILDING for ports that define
    IS_INTERACTIVE. [Submitted by: Jimmy Olgeni <olgeni@uli.it>]]

portversion:
  - Exit on OptionParser::ParseError immediately.

portsdb:
  - New tool: which updates INDEX and INDEX.db in the ports directory.

pkgdepfix:
  - Implement origin fixer with intelligent guessing, finally!
    (-o/--fix-origin)
  - Make pkgdep guessing more intelligent.
2001-06-10 20:57:39 +00:00
Dag-Erling Smørgrav
a59d310d9d Add experimental pkg_version(8)-like functionality. 2001-06-09 15:50:05 +00:00
Akinori MUSHA
c2e939e56c Clarify that portupgrade can do upgrade by means of both the port and
the package.
2001-06-09 05:50:11 +00:00
Akinori MUSHA
b718988ce7 Change pkg_tarup to ${LOCALBASE}/sbin/pkg_tarup in RUN_DEPENDS.
Found by:	bento
2001-06-09 01:48:47 +00:00
Akinori MUSHA
322fde13d1 Update to 20010607b.
portupgrade:
  - Change the meaning of -P/--use-packages.  If specified once, it
    uses packages whenever available or uses ports.  If specified
    twice, it never try to use ports but only uses packages.

  - The package directory is now specified via the environment
    variable, by PKGREPOSITORY and PKGREPOSITORYSUBDIR.

Print the usages to stdout instead of stderr.
2001-06-07 03:17:47 +00:00
Akinori MUSHA
ea9d950857 Update to 20010607.
portupgrade:
  - Implement -P/--use-packages, which everyone bugged me with. :>

pkgdepfix:
  - Add "delete" to the choices as to how to deal with a stale
    dependency.
  - Alter the prompt message.
  - Add zsh compdef.
2001-06-06 20:05:57 +00:00
Akinori MUSHA
d10d546f44 Update to 20010606b.
pkgdepfix:
  - Implement automatic guessing.
  - Add yes-to-all to the choices of yes/no prompt.
  - Do "stty sane" on interrupt.

portupgrade:
  - Backing up +REQUIRED_BY must have been done before pkg_delete.
    [Submitted by: SASAKI Katuhiro <sahiro@vanilla.freemail.ne.jp>]

Because of the portupgrade bug, portupgrade -u would have broken some
of your +REQUIRED_BY files.  Please fix them up with pkgdepfix.
2001-06-06 08:33:16 +00:00
Akinori MUSHA
3f909a39ff From now on I use release dates for this port's version numbers, and
this is version 20010606.

A new tool pkgdepfix is added.  It allows you to interactively fix
/var/db/pkg's @pkgdep / +REQUIRED_BY discrepancies.  Run this
periodically to let portupgrade properly trace dependencies.
2001-06-05 17:33:21 +00:00
Akinori MUSHA
551a15f1e3 Update portupgrade to 1.42.
I think I have finally fixed the problem some people have seen that it
deletes a package registry in some cases!  At the same time, -m and -p
now works properly again.

Those problems were all due to Shellwords::shellwords' destroying its
given string.  Thanks to Tadayuki OKADA <tadayuki@mediaone.net> for
sending me a report that made me realize what the problem was.
2001-06-02 13:21:58 +00:00
Akinori MUSHA
e9a5e89b99 De-typo (s/priviledge/privilege/g) with no PORTREVISION bump. 2001-06-01 15:17:01 +00:00
Akinori MUSHA
4fea95ebd9 Update portupgrade to 1.40. A bug with pkgdep has been fixed.
I'd like to call this a stable release, and take a rest for a while
until the next stable release. ;)
2001-06-01 12:22:06 +00:00
Akinori MUSHA
435ce6fdea Update portupgrade to 1.39.
* Fix file permissions and owners of replaced files.
* Stop raising a false alarm. (which was harmless, though..)
2001-06-01 11:28:38 +00:00
Akinori MUSHA
5ce67365d6 Update portupgrade to 1.36.
* No need to recurse @pkgdep search, really.
* Support the latest pkg_tarup.
* Backup +REQUIRED_BY a bit earlier, just in case.
* If it fails to copy the new +REQUIRED_BY to the package's dbdir,
  emit a message and save the file in TMPDIR.
2001-06-01 03:22:46 +00:00
Akinori MUSHA
002a0185d3 Apply a hotfix against a critical bug that +CONTENTS are lost when you
do upgrade as root and TMPDIR and /var/db/pkg are on different
filesystems.
2001-05-31 15:18:00 +00:00
Akinori MUSHA
caa8a3b243 Update to 1.34. Now it never tries to yield root priviledges
unless -y is specified.
2001-05-31 05:38:02 +00:00
Akinori MUSHA
a01e84a0c6 Update to 1.33. More operations need root priviledges. 2001-05-31 05:12:59 +00:00
Akinori MUSHA
bec4f9dede Update portupgrade to 1.31 and portversion to 1.7.
* Fix the Makefile/PKGNAME error detection.
  [Reported by:	Tadayuki OKADA <tadayuki@mediaone.net>]

* Implement -y/--yield which yields root priledges where needed.

* Implement -Y/--yield-command which specifies the command to yield
  root priledges. (default: sudo)
2001-05-31 03:32:59 +00:00
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
Dag-Erling Smørgrav
f7983e4e95 A tool for fetching and building ports. 2000-09-19 19:25:04 +00:00
David E. O'Brien
1228d352ee Move the stragler's www.freebsd.org/~user distfiles to the offical
MASTER_SITE_LOCAL site.
2000-06-29 07:03:02 +00:00
Michael Haro
de91bdd9c9 update to portlint 2.2.2:
- better rcsid checking
- add DIST_SUBDIR to section 1 of the Makefile
- add check for WWW: in pkg/DESCR when http:// exists
- add new -t flag, which will require a tab after a variable defination instead
  of spaces
- cleanup english grammar
- add -M (make variable passing) flag
- change into portdir instead of constantly using $portdir/file
- get variables from make instead of parsing the Makefile
- update usage()
- fix some portname/version bugs
- add EXTRACT_ONLY to section 1
- fix multi comment sections on top bug

I think I'm going to start a rewrite of lots of portlint's code to
*hopefully* make it easier to add new checks in the future.  If you
have any requests of things for me to put on portlint's TODO list,
send me an email letting me know what they are.
2000-04-25 21:33:42 +00:00
Michael Haro
960543ecef Corrrect whitespace introduced during PORTNAME conversion and portlint 2000-04-22 10:14:11 +00:00
Michael Haro
537f054115 remove warning, version required (no longer needed) and make portlint port
pass portlint (what a concept ;)
2000-04-19 20:27:51 +00:00
Michael Haro
98f1c93d32 Update to 2.2.1
Fixes:
	* fix some portname/version checking bugs
	* put EXTRACT_ONLY in section 1 checking
	* fix multi comment sections at top of Makefile regex
	* make portlint pass perl -w (this found a few bugs)
No new features in this version
2000-04-16 23:05:06 +00:00
Michael Haro
eee7229c03 Update portlint so it supports PORTNAME/PORTVERSION. This version
isn't 100% ready for prime time, but it works well enough that it should
be fine to use for most things.  I'm not sure if I'll have time to fix
the few minor bugs that I know of and give it a good testing today.

Parts of the PORTNAME/PORTVERSION changes were submitted by knu.

Other changes in this version:
	* add "-V", version flag
	* use getopts instead of parsing @ARGV
		- this fixes a bug where you could only specify one flag after the
		  dash (ie. -c -N would work and -cN wouldn't)
	* change some warnings to fatals
	* ignore dot directives in Makefile
		- this usually reduces the number of warnings displayed when
		  a Makefile contains .include or .if foo
	* don't blame just emacs for leaving around temporary editor files
	* don't warn about installing files into /compat
	* correct counting of number of chars in pkg/COMMENT
	* understand multiple rcsid tags in the comments section
		- this allows us to have both $FreeBSD$ and $NetBSD$, for example
		  without getting funky warning messages
	* scope variables with my instead of local so we can use strict to
	  help us find bugs in portlint
2000-04-16 20:24:40 +00:00
Akinori MUSHA
17f3def895 Back out useful `Version required lines' that I'd blindly removed. 2000-04-15 15:13:52 +00:00
Akinori MUSHA
52190dc850 Portlint COMMENT's.
Everybody should read the Handbook again!

PR:		ports/18008
Submitted by:	tkato@prontomail.ne.jp
2000-04-14 18:16:14 +00:00
Akinori MUSHA
74dd526e72 Remove obsolete `Version required' lines. 2000-04-14 17:44:00 +00:00
Michael Haro
ed33fb7de0 PORTNAME/PORTVERSION update 2000-04-11 21:30:15 +00:00
Chris Piazza
f9bfad56c5 Update with the new PORTNAME/PORTVERSION variable 2000-04-09 19:09:11 +00:00
Michael Haro
de588104e2 warn about not supporting PORTNAME/PORTVERSION yet 2000-04-08 22:41:14 +00:00
Michael Haro
ff668defd7 bump version number to reflect new features 2000-03-29 22:22:13 +00:00
Michael Haro
8d3d318a69 * Fix Makefile so portlint is more happy with this port (what a concept, the
portlint port passing portlint)

New portlint features:
* Allow pkg/COMMENT to start with a digit
* Warn about .la files in pkg/PLIST
* Better support for comments in the Makefile
  - fixes the section off by 1 error
    (DISTNAME needs to exist, and so on, when it does)
* don't report "FATAL: no MAINTAINER listed in Makefile" when it does exist
* other random minor bug fixes
2000-03-28 05:44:42 +00:00
Michael Haro
63168faf2f - fix a bug in pkg/* checking
- enforce pkg/COMMENT style
- better info file checking in pkg/PLIST
- don't warn about @unexec rmdir foo || true - the handbook says this is fine
- allow CATEGORIES+=
- warn about www.freebsd.org/~user needing to be people.freebsd.org
- warn about PKGNAME being set from another variable instead of being a
  fatal error
- understand both $(PORTSDIR) and ${PORTSDIR}
2000-03-20 18:03:01 +00:00
Peter Wemm
02c5b6c7c6 Change all www.freebsd.org/~user references to people.FreeBSD.org/~user,
as the days of the former are numbered.

Reviewed by:	asami
2000-02-08 09:29:51 +00:00
Michael Haro
39713feb1a I'll maintain this 2000-02-04 23:20:19 +00:00
Michael Haro
633118fd04 issue a warning when @owner or @group are found in the PLIST 2000-02-02 21:07:39 +00:00
Michael Haro
fa9bde6e40 bump version number slightly to reflect recent changes 2000-01-22 22:07:51 +00:00
Michael Haro
4922b641a8 add support for @owner and @group in PLIST 2000-01-22 22:06:04 +00:00
Chris Piazza
f1aa330554 Add pkg_remove.
pkg_remove is a utility to cleanly uninstall packages.

PR:		16025
Submitted by:	NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>
2000-01-14 20:03:43 +00:00
Shigeyuki Fukushima
0e2e06a88a Fixes:
- Allow "MAINTAINER?=".
  - Allow "CATEGORIES?=" and "CATEGORIES+=".

PR:		ports/16064
Submitted by:	KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
2000-01-12 04:48:15 +00:00
Jun-ichiro itojun Hagino
11db3427a1 switch maintainer to ports@freebsd.org, as I'm unable to do it for a long time. 2000-01-11 13:53:39 +00:00
Wolfram Schneider
c491d9de7c Update to portcheckout-2.0 2000-01-08 18:50:17 +00:00
Justin M. Seger
75550d0920 Switch to tcl/tk 8.2
Submitted by:	Ade Lovett <ade@lovett.com>
1999-11-25 18:00:30 +00:00
Munechika SUMIKAWA
942ecd986a added the following checking:
"in *_DEPENDS, ${PREFIX} must not be used. use ${LOCALBASE}/${X11BASE}
  instead of it."

Commented by:	asami
Reviewed by:	taoka
1999-09-28 16:23:03 +00:00
Satoshi Taoka
2996c814f6 Recently we must use $FreeBSD instead of $Id in Makefile.
So portlint needs this modification.

Approved by: 		maintainer
1999-09-28 02:19:47 +00:00
Wolfram Schneider
3b140688a9 Update master site. 1999-09-19 10:30:46 +00:00
Peter Wemm
8100143543 $Id$ -> $FreeBSD$ 1999-08-31 02:00:46 +00:00
Peter Wemm
52769fe9fd $Id$ -> $FreeBSD$ 1999-08-29 11:11:15 +00:00
Michael Haro
af5f314286 ln -> ${LN} 1999-08-28 01:58:05 +00:00
David E. O'Brien
9a9ac6ba9d Change Id->FreeBSD. 1999-08-25 05:57:29 +00:00
Jun-ichiro itojun Hagino
e25cebf5a9 manpage fix
family name change for itojun (s/Itoh/Hagino/)

Submitted by: "Alexey M. Zelkin" <phantom@cris.net>
1999-08-14 12:55:26 +00:00
Jun-ichiro itojun Hagino
48752d5db8 typo fix
From: "Oleg V. Volkov" <rover@lglobus.ru>
1999-07-24 14:24:46 +00:00
Tim Vanderhoek
a84b5b5f94 #4/4 enforcing Caps, no period
[Has anyone figured-out what makes the number 393 so interesting to PW, now?]

I wonder what was going through Jordan's head during his infamous
$Id$-smashing commit.

Before I forget....

Thanks to naddy@mips.rhein-neckar.de (Christian Weisgerber) for prompting
this commit.  See msg-id: 7geokh$tje$1@mips.rhein-neckar.de
1999-06-26 19:22:14 +00:00
Tim Vanderhoek
748713c3f6 As threatened, enforce the "Capital, no period" rule. Ellipses are
permitted.  Note that, given current numeric motif of PW, this is done
in four equally-sized commits of 393 files each.
1999-06-26 17:19:19 +00:00
Jun-ichiro itojun Hagino
bd430b955e remove the first comment lines in a section properly. 1999-04-22 05:37:46 +00:00
Jun-ichiro itojun Hagino
f6c89560ba remove pathname for bsd.port.mk.
Reviewed by:	maintainer (myself)
Submitted by:	ben@scientia.demon.co.uk
1999-04-05 03:20:36 +00:00
Steve Price
251772eae4 It seems 'sane' was not mispelled, but was a little confusing. Let's try
'correct' instead.

Submitted by:	asami
1999-04-04 21:35:10 +00:00
Steve Price
c7f658c2ff Fix a spelling nit: sane -> same. 1999-04-02 03:24:13 +00:00
Steve Price
94723819db Handle x11-* categories correctly.
Reviewed by:	maintainer
1999-02-22 03:01:21 +00:00
Steve Price
82436abc4f Avoid installing libTkSteal.so if it exists. 1999-01-10 17:58:47 +00:00
Jun-ichiro itojun Hagino
cbdc5daf4b avoid NO_WRKDIR.
Submitted by:	Sheldon Hearn <axl@iafrica.com>
1999-01-07 09:34:52 +00:00
Jun-ichiro itojun Hagino
b50b1f8d8e remove old ftp site (ftp.foretune.co.jp) from comment. 1999-01-05 12:26:08 +00:00
Jun-ichiro itojun Hagino
f414a317d4 being tired of maintaining portlint only by myself, I decided to
put the source code for "portlint" into FreeBSD port tree.  The
imported revision is 1.65 (in my local RCS file).  (pseudo) version
number for the port is now 2.0.

Whoever make changes to bsd.port.mk is advised to update portlint.pl
too :-)

Note that portlint.pl MUST be portable enough to handle (Net|Open|Free)BSD
bsd.port.mk.  There are people using portlint.pl on non-FreeBSD
platforms.
1999-01-05 12:23:28 +00:00
Mike Smith
1b35d26302 Distfile changed (minor patch) 1999-01-04 09:25:54 +00:00
Tim Vanderhoek
b59b0022a4 Fix MANCOMPRESSED (=maybe) and work on standard -current. 1998-12-30 01:22:27 +00:00
Tim Vanderhoek
426cede750 manpage != DESCR 1998-12-30 01:21:00 +00:00
Jun Kuriyama
fb5f708eea Use MAN? macro.
Change first line of Makefile from "manck" to "portcheckout".
1998-11-22 03:52:57 +00:00
Satoshi Asami
d28a6dde40 No need to put name in front. 1998-11-18 10:55:18 +00:00
Steve Price
e53252cb35 Change location of MASTER_SITE.
Requested by:	maintainer
1998-11-09 01:12:08 +00:00
Wolfram Schneider
5c36861a11 Says that the port uses perl5 for building and running 1998-11-01 16:51:39 +00:00
Wolfram Schneider
4e1e1391ed portcheckout - checkout ports and all depending ports
Portcheckout(1) checks out a FreeBSD port and all runtime
       and buildtime depending ports into the current working
       directory.  The output is written to stdout as an
       executable shell-script.

       Compiling a FreeBSD port usually require a full tree of ports
       in /usr/port. A cvs checkout or a cvs update command takes
       a very long time and need much free space.

       With portcheckout, you checkout only the parts of the port
       tree which you really need. This is a magnitude faster!
1998-11-01 16:42:29 +00:00
Steve Price
0b3931097a No need to supply a minor number for shared libraries if it is zero. 1998-10-21 01:06:56 +00:00
Satoshi Asami
6784e6a3df Ressurect RUN_DEPENDS.
Reviewed by:	maintainer
1998-09-15 09:48:22 +00:00
Mike Smith
f3ab164825 BUILD_DEPENDS on Tk, as we need Tk headers to build the TkSteal module.
Submitted by:	Thomas Valentino Crimi <tcrimi+@andrew.cmu.edu>
1998-09-03 16:02:35 +00:00
Satoshi Asami
c12c2467ed Remove manpages define in MAN? fom PLIST for all the devel ports.
I'm going to leave p5-* alone for now (where the version stuff is
going to land is still unclear).
1998-08-12 01:55:34 +00:00
Satoshi Asami
5264cbceb5 Fix up dependencies for ports that moved into the x11-toolkits category. 1998-08-07 23:56:56 +00:00
Satoshi Asami
7d45e2b7a1 Remove NO_CONFIGURE and NO_PATCH, they never meant anything. 1998-06-27 05:20:00 +00:00
Bill Fenner
f06d13b6ff Add tk virtual category where missing. List of ports which depend on tk
but aren't in a tk virtual category from
 awk -F\| '$9 ~ /tk-/ && $7 !~ /tk/ {print $1}' INDEX

I didn't do anything about the ports which depend on things which depend
 on a tk revision.  I'd be afraid that the depended-upon port might change
 and thus outdate the virtual category in the depender.
1998-02-21 22:38:11 +00:00
Vanilla I. Shu
560d6e07ce portlint, add @dirrm on pkg/PLIST 1998-02-02 14:37:24 +00:00
Jun-ichiro itojun Hagino
72794f77d5 original distribution updated (1.60 -> 1.61) 1997-11-25 11:43:15 +00:00
Jun-ichiro itojun Hagino
92f24cd07a original distribution updated (1.59->1.60) 1997-11-20 03:52:36 +00:00
Jun-ichiro itojun Hagino
6fbefc0e44 Original distribution updated. (1.58 -> 1.59) 1997-11-13 13:30:27 +00:00
Jun-ichiro itojun Hagino
dec35629ff original distribution updated (1.57->1.58) 1997-11-11 00:05:54 +00:00
Jun-ichiro itojun Hagino
5465b2e9ed original distribution updated. (1.56 -> 1.57) 1997-11-09 00:31:27 +00:00
Jun-ichiro itojun Hagino
66793bc9cf original distribution updated to 1.56. 1997-11-05 02:13:17 +00:00
Jun-ichiro itojun Hagino
ee868b6f17 original distribution updated to 1.55. 1997-10-13 11:30:18 +00:00
Jun-ichiro itojun Hagino
278943850d original distribution updated to 1.54. 1997-10-12 00:28:00 +00:00
Jun-ichiro itojun Hagino
cdcc6908aa original distribution updated to 1.51.
Submitted by:	itojun
1997-10-07 23:01:45 +00:00
Jun-ichiro itojun Hagino
fa8d139427 original distribution updated to 1.49.
added check for *_DEPENDS.
1997-09-21 02:02:33 +00:00
Jun-ichiro itojun Hagino
5d4db72e27 original distribution upgraded to 1.48. 1997-09-14 14:24:54 +00:00
Mike Smith
5f5eaf9c39 Author fixed distfile to build properly on FreeBSD with Tcl/Tk headers
in private subdirs.
Submitted by:	asami
1997-09-12 03:01:54 +00:00
Mike Smith
b8127318ac Upgrade to version 1.1. 1997-09-11 09:24:57 +00:00
Mike Smith
03ec163386 Upgrade to version 1.1, now uses Tcl/Tk 8.0, faster INDEX parser. 1997-09-11 09:24:38 +00:00
Jun-ichiro itojun Hagino
ad627e4a0d original distribution updated to release 1.46. 1997-08-16 04:59:48 +00:00
Jun-ichiro itojun Hagino
0e90f5ee90 original distribution updated to version 1.44. 1997-08-08 06:23:26 +00:00
Jun-ichiro itojun Hagino
2d6d2cfa58 original distribution updated to 1.43. 1997-08-06 00:07:59 +00:00
Jun-ichiro itojun Hagino
db6a26056c Original distribution updated to r1.33.
It now have "committers mode", which will tell us ports/LEGAL
should be updated!
1997-07-16 18:49:47 +00:00
Jun-ichiro itojun Hagino
86720189d6 original distribution of portlint has updated to 1.32. 1997-07-13 13:37:59 +00:00
Masafumi Max NAKANE
b83b0ca55d Upgrade, 1.26 -> 1.28. 1997-07-06 18:20:51 +00:00
Masafumi Max NAKANE
5a0b660a36 Upgrade 1.9 -> 1.26.
(So many additional checks have been added. Porters gotta check this out!)
1997-07-06 00:39:00 +00:00
Masafumi Max NAKANE
dc92a3e522 New port, portlint:
portlint makes a small set of sanity checks for port directory.

usage:
Submitted by:	Jun-ichiro ITOH <itojun@itojun.org>
PR:		3863
1997-06-15 14:12:38 +00:00
Wolfram Schneider
1760fd6654 Add virtual category 'tk41'. 1997-04-20 13:20:00 +00:00
Satoshi Asami
1059c2e8ff (1) Fix typo in MASTER_SITES, it said ".../pib/pib" when it should have
been ".../pub/pib/" (I first thought the second "pib" was bogus,
    until I realized that the problem was in fact a typo of "pub" and
    a missing "/"!)

(2) Fix RUN_DEPENDS, you can't just put a generic name like "tk-4.1"
    here. ;)

(3) Change install: target to do-install: and also move it above the
    .include <bsd.port.mk>.  (You shouldn't define your own "install"
    or "patch" or any of the big targets unless absolutely necessary,
    the "do-*" targets are where most of the real work is done.)
1996-12-31 13:41:05 +00:00
Mike Smith
95714a5726 Use '-f' when creating the symlink to avoid falling over if the link
already exists.
1996-12-30 09:26:23 +00:00
Mike Smith
40105b68bf This is PIB, the Ports Index Browser, a GUI tool for manipulating the
FreeBSD ports collection.  It provides facilities for tracking distfiles,
searching for ports, building etc.

Requires bsd.port.mk revision 1.232 or later and a matching ports collection.
1996-12-30 09:16:56 +00:00