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.
- Add windowmaker as secondary category
- Add NOPORTDOCS support to Makefile and PLIST
- Update WWW tag inside DESCR
Submitted by: Patrick Li <pat@databits.net>
Approved by: maintainer (timeout after 2 weeks)
after a given time with a given signal. A 'warning' signal
is sent first, then, after a timeout, a 'kill' signal, similar
to the way init(8) operates on shutdown.
WWW: http://ringwraith.online.bg/devel/sys/timelimit/
Author: Peter Pentchev <roam@orbitel.bg>
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.
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.
and pkg_add, don't let setup.sh start the service. The setup script is now
automatically called when not installing in batch mode.
Also, "borrow" better pkg-plist implementation from the vim5 port: it
allows to have @execs at the end of pkg-plist (thanks to O'Brien :-))
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.
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.
With a small disk being 20GB these days, chances are pretty good that
an ailing sector will not be read while still being recoverable by
the drive.
Diskcheck daemon will read disks in the background at a low rate and
that way give the diskdrive a chance to detect and correct soft read
errors before they become hard errors.
Idea by: phk
Written by: ben
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.
* 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.
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.
- update port to version 1.18
- add NOPORTDOCS support to PLIST
- be more minimalistic about patching, move some of the responsability
to CONFIGURE_ARGS
Submitted by: Patrick Li <pat@databits.net>
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.
* man
A search that returns only one match will display a Location: line
instead of going directly to the result.
* shell
On Solaris, the path is not set correctly for commands entered, causing
those outside /usr/sbin:/usr/sbin not to be found.
* mysql
Clicking on a user, host, database, table or column privilege to edit
it brings up the wrong record.
For the full change log, see http://www.webmin.com/webmin/updates.html.
I also removed the WITH_UPDATES option: updates are now installed by
default. The updates filenames have a proper version and revision number,
and when a new update comes out the port should no longer break because of
sudden md5 changes.
The WEBMIN_MODULES section now fits 80 columns.
the one-second sleep between invocations was moved to after the actual
invocation. This sleep could be interrupted by a SIGCHLD in the case
of a failing service, and the service could be restarted way more than
the documented once-per-second. Move the sleep back before the fork(),
just don't sleep before the very first fork, so the service starts faster.
Silence by: Daniel J. Bernstein (no telling if he'll fix this in later
daemontools releases, so I guess we'll have to do it as part
of our port..)
Approved by: nbm (maintainer)
From the change log:
* The module reports the error "The PostgreSQL database on your system is
version , but Webmin only supports versions 6.5 and above". This is often
caused by the shared libraries needed by Postgres not being in Webmin's
shared library path.
See also http://www.webmin.com/webmin/updates.html for previous module
changes.
Also, a cosmetic change: be a bit more verbose when unpacking updated
modules.
PORTREVISION bump, but this will only affect people using the WITH_UPDATES
option.
the ones generated by the Unix ls -l command. For example, a
regular file that is readable by everyone and writable only by its
owner has the mode string -rw-r--r--. Stat::lsMode will either
examine the file and produce the right mode string for you, or you
can pass it the mode that you get back from Perl's stat call.
PR: ports/26847
The line:
for webmin_module in "${WEBMIN_MODULES}"
must be rewritten as:
for webmin_module in ${WEBMIN_MODULES}
else the port will not unpack the update tarball.
This is a very stupid bug by me. Pass the pointy hat :-(
PORTREVISION bump: people using the WITH_UPDATES option should upgrade to
this version of the port. People who do not use WITH_UPDATES and run the
stock webmin release, or update it by hand, are unaffected by this patch.
From the webmin updates page:
* Apache Webserver: if Webmin is used in non-english language mode,
"<Directory>" sections created using this module may be wrongly written
out as something like "<Directorio>".
* Squid Proxy Server: the cache_dir directive is not properly supported in
squid 2.4.
* Users and Groups: passwords for users created or modified from a batch
file are not set correctly.
(see also http://www.webmin.com/webmin/updates.html)
While I'm here, check if a webmin configuration directory already exists at
install time (post-install target): in this case, automatically run the webmin
setup script (it will insert the proper Perl paths in the webmin scripts).
Users who have multiple or different configuration directories will have to
run the script manually, as before.
PORTREVISION bump to advertise the new changes.
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. :)
From the updates page:
* BIND DNS Server Reverse address records are not updated properly
if the reverse zone has a "." at the end of its name in named.conf.
Also, logging of some record additions is not done properly.
* Disk Quotas On systems using the latest Linux quotas package
(typically those with the 2.4 kernel), quotas cannot be edited or
enabled for the first time.
Submitted by: fenner's email
o Fix compiler -Wall warnings
o Calc etime correct for multi CPU machines
o Show disk stats for "ad" disk devices, too
o Count number of network in/out packets correctly
o Get free swapspace only every 10 time intervals to
limit CPU usage.
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.
From the webmin updates page:
apache: Two virtual servers can be created with the same name and port. On
systems that restrict which Webmin users can edit which virtual servers,
this could be used to get around the restriction.
net: Virtual network interfaces could not be setup properly on Solaris 8.
(this should not affect FreeBSD users).
- 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)
KOnCD is a program that allows you to master CDs with mkisofs and
cdrecord programs. It can create multisession CD, bootable CD,
supports blanking on CD-RW. It also copy CDs on-the-fly.
In fact, the only thing (that I can tell anyway) that uses the DB functions is
cfd. I'm guessing most people don't use it, especially since I haven't heard
any complaints about it.
Also, it was putting some of the docs in / (for some really strange reason).
That should be fixed too. They are now put in {PREFIX}/share/doc/cfengine,
depending on NOPORTSDOC (somewhat reverse logic than normal, but it made the
amount of changes less).
Finally, strip the binaries.
PR: 26189
Submitted by: maintainer
Also, take over maintainership, since I wrote it in the first place.
I also took the time to write a Makefile for the program and to
package the whole mess into a tarball to make it easier to fetch.
Obtained from: Softweyr LLC
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>
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.
- 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.
file name). Typical usage would be
find / -print | samefile
turning up megabytes of wasted disk space due to duplicates. Try it,
you'll be baffled.
Jens Schweikhardt
samefile@schweikhardt.net
PR: 25857
Submitted by: schweikh@schweikhardt.net
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.
I'm removing IGNOREFILES because I cannot get a clue about which files are
updated on the webmin site. For example, if any module is updated
twice, it will be listed only once on the site's updates page.
The port will always work because the file's md5 is ignored, but I don't
know when I should bump PORTREVISION. Since the default behavior of the
port is to install the official version without updates, I prefer to have
a md5 mismatch every now and then, so that PORTREVISION can be bumped and
webmin users know when they _actually_ have to upgrade the port.
No user visible changes, so no PORTREVISION bump.
significant improvements include telling you where it thinks the file system
starts when scanning for superblocks... support to compile (untested) under
Solaris, support for reading from raw devices, support for non-mmap'able
files (which also means you can use it on >2gig file systems under x86)...
arbitrary file system start possitions (you can use da0c to access filesystems
that don't begin a block 0), print out and validity checking of arbitrary
superblocks (no longer just the primary superblock)...
and possibly more...
Tell the users that they must run setup.sh after every webmin upgrade:
part of the setup procedure will insert the correct perl paths in the
webmin script, and webmin will not start without these settings.
This change allows webmin to be installed/upgraded using binary packages
only. A new pkg-message file will tell the user what to do to configure
webmin for the first time. The procedure is the same after both "make
install" and "pkg_add".
Don't ${MV} /tmp/webmin.sh to ${PREFIX}/etc/rc.d: create it in ${WRKDIR}
instead, and use ${CP}.
If you move webmin.sh, you can't make install/deinstall/install: the last
install will fail because of the missing file. No user visible changes, but
speeds up testing.
When the webmin version changes on the master site, patches for previous
versions may be removed (they are not stored in a version dependent
subdirectory). This means that the port of version A will break as soon as
version B is released, because the required updates disappear.
If the updates are optional, webmin users still get a chance to install the
port without updating their ports collection. It is also easier to support
users because, by default, they will run the same "official" version of
webmin.
PORTREVISION bump: if you reinstall without WITH_UPDATES you will get an
unpatched version of webmin.
login, correct paths).
No PORTREVISION bump: if webmin has already been installed then the
postgresql module must be reconfigured by hand.
These changes are provided as perl regexes in the Makefile, because we only
want to change specific settings that could be shuffled in the next
versions of webmin (the same holds true for the postfix module).
the KDE team's excellent work, I am initiating burn sequence for KDE
1.x. All base KDE1 ports are hereby nuked. I am also reluctantly
reassuming maintainership of the KDE2 ports. Official KDE 2.1 packages
built for FreeBSD 4.2-STABLE w/ XFree86 4.0.2 are available on KDE's
official ftp mirrors now. Enjoy!
Note: It seems that the KDE people rerolled their kdelibs and kdebase
packages, and a quick examination of diffs reveal minor changes, but the
port should still work. I'll fix the packaging problems that bento runs
into.
Approved by: kevlo