freebsd-ports/UPDATING

259 lines
9 KiB
Text
Raw Normal View History

This file documents some of the problems you may encounter when
upgrading your ports. We try our best to minimize these disruptions,
but sometimes they are unavoidable.
You should get into the habit of checking this file for changes each
time you update your ports collection, before attempting any port
upgrades.
20040605:
AFFECTS: users of www/apache2
The apache2 port must now be enabled / disabled and configured in
rc.conf. See the pkg-message or script for details.
20040602:
AFFECTS: users of sysutils/mkisofs and sysutils/mkisofs-devel
sysutils/mkisofs and sysutils/mkisofs-devel were merged into
sysutils/cdrtools and sysutils/cdrtools-devel respectively.
To update them generate ("make index") or fetch ("make fetchindex") a
new INDEX/INDEX-5. Run "pkgdb -F" and unregister the mkisofs/-devel
port. Then forcefully update the cdrtools port and all of its
dependencies (e.g. "portupgrade -rf cdrtools"). After the update
it may be necessary to rerun "pkgdb -F" and resolve a stale
dependency to cdrtools.
20040531:
AFFECTS: users of lang/perl5.8
lang/perl5.8 has been updated to 5.8.4. you should update everything
depending on perl, that is :
* first, upgrade your perl5.8 installation.
* run "use.perl port", so that the system knows you have 5.8.4.
* now, run some magic incantations to upgrade all ports depending on perl,
that is run something like :
portupgrade -f `(pkg_info -R perl-5.8.4 |tail +4; \
find /usr/local/lib/perl5/site_perl/5.8.2 -type f -print0 \
| xargs -0 pkg_which -fv | sed -e '/: ?/d' -e 's/.*: //')|sort -u`
This is likely to fail for a few ports, you'll have to upgrade them
afterward.
20040529:
AFFECTS: users of mail/mailman and japanese/mailman
In Mailman 2.1.5, some significant changes have been made to the
file formats for qfiles and the pendings database. See
$PREFIX/share/doc/mailman/UPGRADING for details (if you define
NOPORTDOCS, refer relevant file in an archive).
20040527:
AFFECTS: users of net/openldap22-client
The OpenLDAP library soname has changed, requiring a recompilation
of all dependent ports:
portupgrade -rf net/openldap22-client
20040525:
AFFECTS: users of databases/postgresql-client
This port was removed because of dependencies problem. If you still want to
have it, install databases/postgresql7 with -DWITHOUT_SERVER
20040521:
AFFECTS: users of irc/ircd-hybrid-ru
UID/GID were changed from 6667 to 555, please manually delete
old entries from /etc/passwd /etc/master.passwd and /etc/group
20040514:
AFFECTS: users of audio/faad
If the compilation of faad fails, please manually delete older
installed version of faad and reinstall from port.
20040512:
AFFECTS: users of print/teTeX
The print/teTeX no longer installs dvipsk by default. To build and
install dvipsk, you have to specify WITH_DVIPSK, or the dvipsk utility
in the print/teTeX is also available print/dvipsk-tetex separately.
This change is to resolve conflicts between various versions of dvips.
20040504:
AFFECTS: users of mail/drac
The "drac_flags" rc.conf(5) variable has been renamed to "dracd_flags".
See the pkg-message or script for details.
20040501:
AFFECTS: users of www/apache13
The apache13 port must now be enabled / disabled and configured in
rc.conf. See the pkg-message or script for details.
20040429:
AFFECTS: users of sysutils/smartmontools
The smartmontools port must now be enabled / disabled and configured in
rc.conf. See the pkg-message or script for details.
erge from sysutils/cdrtools-devel resp. sysutils/mkisofs-devel: Changes common to cdrtools and mkisofs: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage. - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. - Install relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. - Add a workaround for what appears to be a problem with gmake and certain locales on -current. [1] Changes to cdrtools: - Adjust COMMENT, some tools in this package are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the terms in cdrecord/defaults.c (PR 50835). - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist. - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rscsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Note that the stock rscsi of cdrtools 2.00.3 has a small security issue, the fix from the cdrtools alpha version has been added to the port. - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg (see revision 1.48 of sysutils/cdrtools-devel/Makefile for a more detailed description). - Make the direct ATAPI transport (cooked_ioctl interface) of cdda2wav (e.g. when used via `cdda2wav -D /dev/acd0`) work on FreeBSD after ata(4) was GEOM'ifed and the CDIOCREADAUDIO ioctl removed. - Properly initialise the verbosity level of cdda2wav when the cooked_ioctl interface is used so it's disabled by default. - Remove unnecessary patch-ai, this patch for supporting Plasmon RF 4100 originated in the FreeBSD port of cdrtools but the relevant parts were incorporated in cdrtools-1.10a14. - Disable the use of mlockall(2) on all version of FreeBSD (see PR 62930 for a description of the problem). Changes to mkisofs: - Add MLINKS for devdump.8, isodump.8 and isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Unbreak mkhybrid.8 by replacing it with a MLINKS to mkisofs.8. - Remove patch-bb, its purpose is unclear and there's no indication in the CVS history why it was added. Requested by: pav [1] Submitted by: marius (maintainer) Changes to UPDATING: - add a note about the new location of the global configuration of cdrecord.
2004-04-20 22:46:33 +02:00
20040420:
AFFECTS: users of sysutils/cdrtools
The cdrecord program now uses ${PREFIX}/etc (e.g. /usr/local/etc) instead
of /etc/default as the location of the global configuration file. If you
created such a configuration file you need to copy it over to the new
location.
2004-04-20 11:08:07 +02:00
20040420:
AFFECTS: users of x11/kdebase3
If you update KDE from version 3.2.1 or earlier to version 3.2.2 while
running a KDE session, newly opened instances of Konqueror might hang
2004-05-14 16:06:20 +02:00
or crash, depending on how far the update has progressed.
2004-04-20 11:08:07 +02:00
If this happens, it is necessary to restart your KDE session in order to
restore proper operations.
20040404:
AFFECTS: GNOME desktop users
GNOME has been updated to 2.6. Simply portupgrading will cause serious
problems if you are using the desktop itself. If you are a GNOME desktop
user, you should carefully read the instructions at:
http://www.freebsd.org/gnome/docs/faq26.html
And use the gnome_upgrade.sh script to properly upgrade to GNOME 2.6. If
you are just a casual user of some of the GNOME libraries, portupgrade
should be sufficient to update your ports.
20040316:
2004-03-16 23:26:38 +01:00
AFFECTS: users of net/isc-dhcp3-*
The isc-dhcp3-* ports must now be enabled / disabled and configured in
rc.conf. See the pkg-message for details.
20040313:
AFFECTS: users of textproc/expat2
Users of expat2 (and its many dependencies) should do the following to
properly update expat2 and all of its dependencies:
portupgrade -rf textproc/expat2
20040311:
AFFECTS: users of databases/postgresql7
PostgreSQL 7.4.2 Released and release notes available at
http://www.postgresql.org/news/173.html
NOTICE: unlike most minor versions, this version does require some
updates to the pg_* system tables. Full instructions for how to do
this are included in the full HISTORY file.
DO NOT UPGRADE WITHOUT READING THESE INSTRUCTIONS.
20040309:
2004-04-20 11:08:07 +02:00
AFFECTS: users of x11/kdelibs3 and x11/kdebase3
If you update kdelibs from version 3.2.0 to version 3.2.1 while running
a KDE 3.2.0 session, newly opened instances of Konqueror will silently
crash as soon as the new version of kdelibs has been installed, due to
mismatching linker symbols.
It is recommended you quit your KDE session at that point and update
kdebase to version 3.2.1, then restart KDE.
20040309:
AFFECTS: users of audio/arts and x11/kdebase
The arts port, PORTVERSION 1.2.1 does not include artswrapper anymore.
Instead, artswrapper is now installed by a new port audio/artswrapper.
Installation of artswrapper is optional, however:
If you presently run KDE and you have "Run with the highest possible
priority (realtime priority)" checked in Control Center/Sound & Multimedia/
Sound System and you choose to NOT install audio/artswrapper, you need to
- Uncheck "Run with the highest possible priority (realtime priority)"
in Control Center/Sound & Multimedia/Sound System BEFORE updating arts
OR
- AFTER updating arts and kdebase, go to Control Center/Sound & Multimedia/
Sound System, click on the unchecked "Run with the highest possible priority
(realtime priority)", dismiss the message telling you that realtime is un-
available or artswrapper is missing and then click Apply.
20040305:
AFFECTS: users of security/antivir-milter
When updating from a previous version of security/antivir-milter you
have to do the following after deinstalling the old port:
rm <PREFIX>/AntiVir/antivir
rm <PREFIX>/AntiVir/antivir.vdf
chown root:wheel <PREFIX>/AntiVir
chown root:smmsp <PREFIX>/AntiVir/hbedv.key
In your SENDMAIL_MC change
`S=unix:<PREFIX>/AntiVir/avmilter.sock, F=T, T=S:10m;R:10m;E:5m'
to:
`S=unix:/var/spool/avmilter/avmilter.sock, F=T, T=S:10m;R:10m;E:10m'
and rebuild sendmail.cf.
If /var/spool/avmilter exist you have to:
chown -R smmsp:smmsp /var/spool/avmilter
If you are using a customized <PREFIX>/etc/avmilter.conf the port
won't remove it on deinstall and you have to manually change User
and Group to smmsp there.
Afterwards you can install the new version of this port. You then
should run antivirupdater to get a current VDF.
20040226:
AFFECTS: i386 users of ruby and portupgrade
Change the default version of ruby to 1.8 for i386.
If you are a ruby developer and want to keep ruby 1.6 as default,
please add RUBY_DEFAULT_VER=1.6 to /etc/make.conf.
Otherwise, please run the following series of commands to migrate to
ruby 1.8:
1) Reinstall portupgrade manually (and as a result ruby 1.8 will be
installed):
pkg_delete portupgrade-\*
(cd /usr/ports/sysutils/portupgrade; make install clean)
2) Reinstall everything that depends on ruby 1.6 to use ruby 1.8
instead:
portupgrade -fr lang/ruby16
3) Reinstall ruby 1.8 (because the previous step kills symlinks):
portupgrade -f lang/ruby18
4) Deinstall ruby 1.6 stuff (if you are paranoia):
pkg_deinstall -ri lang/ruby16
5) If the above commands do now work somehow and portupgrade starts
causing LoadError, please reinstall portupgrade manually again.
Whenever you get confused, you can always deinstall portupgrade
and all the ruby stuff (run "pkg_delete -r ruby-\*") and
reinstall portupgrade as a last resort.
20040204:
AFFECTS: 5.2-CURRENT users who started with a 5.2-RELEASE or older.
Change the default version of perl to 5.8.
1) Force perl-5.6.1 to be upgraded with perl-5.8.
portupgrade -o lang/perl5.8 -f perl-5.6.1_15
2) Update all p5-* modules.
portupgrade -f p5-\*
$FreeBSD$