Do not mark "old" major and major.minor shared libraries as

"obsolete"; just remove the entry, as third-party applications
may be linked against the old major shared library, and
that is a symlink to the old major.minor shared library.
E.g., "lib<name>.so.<N>" and "lib<name>.so.<N>.<M>"
Exceptions to this rule may include shared libraries that
are dlopen()ed at run-time, such as extra locales, etc.
This commit is contained in:
lukem 2008-03-28 01:22:44 +00:00
parent fd8017cbe4
commit c4851a8c8e
3 changed files with 36 additions and 44 deletions

View File

@ -1,7 +1,17 @@
# $NetBSD: mi,v 1.741 2008/03/22 08:37:24 mlelstv Exp $
# $NetBSD: mi,v 1.742 2008/03/28 01:22:44 lukem Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
# Note: Don't delete entries from here - mark them as "obsolete" instead,
# unless otherwise stated below.
#
# Note: Do not mark "old" major and major.minor shared libraries as
# "obsolete"; just remove the entry, as third-party applications
# may be linked against the old major shared library, and
# that is a symlink to the old major.minor shared library.
# E.g., "lib<name>.so.<N>" and "lib<name>.so.<N>.<M>"
# Exceptions to this rule may include shared libraries that
# are dlopen()ed at run-time, such as extra locales, etc.
#
("lib<name>.so.<N>" and)
. base-sys-root
./altroot base-sys-root
./bin base-sys-root
@ -106,11 +116,7 @@
./etc/uucp base-obsolete obsolete
./lib base-sys-root
./lib/libdes.so base-obsolete obsolete
./lib/libdes.so.6 base-obsolete obsolete
./lib/libdes.so.6.0 base-obsolete obsolete
./lib/libssp.so base-obsolete obsolete
./lib/libssp.so.0 base-obsolete obsolete
./lib/libssp.so.0.0 base-obsolete obsolete
./libdata base-sys-root
./libdata/firmware base-sys-root
./libdata/firmware/ral base-sys-root
@ -876,15 +882,9 @@
./usr/lib base-sys-usr
./usr/lib/i18n base-i18n-root
./usr/lib/libntp.so base-obsolete obsolete
./usr/lib/libntp.so.0 base-obsolete obsolete
./usr/lib/libntp.so.0.0 base-obsolete obsolete
./usr/lib/libssp.so base-obsolete obsolete
./usr/lib/libssp.so.0 base-obsolete obsolete
./usr/lib/libssp.so.0.0 base-obsolete obsolete
./usr/lib/libusb.a base-obsolete obsolete
./usr/lib/libusb.so base-obsolete obsolete
./usr/lib/libusb.so.0 base-obsolete obsolete
./usr/lib/libusb.so.0.1 base-obsolete obsolete
./usr/lib/runemodule base-obsolete obsolete
./usr/lib/runemodule/libBIG5.a base-obsolete obsolete
./usr/lib/runemodule/libBIG5.so base-obsolete obsolete

View File

@ -1,10 +1,15 @@
# $NetBSD: shl.elf,v 1.138 2008/03/27 23:16:33 lukem Exp $
# $NetBSD: shl.elf,v 1.139 2008/03/28 01:22:44 lukem Exp $
#
# Note: libtermcap and libtermlib are hardlinked and share the same version.
# Note: Do not mark "old" major and major.minor shared libraries as
# "obsolete"; just remove the entry, as third-party applications
# may be linked against the old major shared library, and
# that is a symlink to the old major.minor shared library.
# E.g., "lib<name>.so.<N>" and "lib<name>.so.<N>.<M>"
# Exceptions to this rule may include shared libraries that
# are dlopen()ed at run-time, such as extra locales, etc.
#
# Note: libtermcap and libtermlib are hardlinked and share the same version.
#
# Note: Do not mark "old" major shared libraries ("lib<name>.so.<N>")
# as "obsolete"; just remove the entry, as third-party
# applications may be linked against the old shared library.
#
./lib/libc.so base-sys-shlib
./lib/libc.so.12 base-sys-shlib

View File

@ -1,7 +1,18 @@
# $NetBSD: shl.mi,v 1.423 2008/03/22 08:37:24 mlelstv Exp $
# $NetBSD: shl.mi,v 1.424 2008/03/28 01:22:44 lukem Exp $
#
# Note: Don't delete entries from here - mark them as "obsolete" instead,
# unless otherwise stated below.
#
# Note: Do not mark "old" major and major.minor shared libraries as
# "obsolete"; just remove the entry, as third-party applications
# may be linked against the old major shared library, and
# that is a symlink to the old major.minor shared library.
# E.g., "lib<name>.so.<N>" and "lib<name>.so.<N>.<M>"
# Exceptions to this rule may include shared libraries that
# are dlopen()ed at run-time, such as extra locales, etc.
#
# Note: libtermcap and libtermlib are hardlinked and share the same version.
#
# Note: libtermcap and libtermlib are hardlinked and share the same version.
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
./lib/libc.so.12.159 base-sys-shlib
./lib/libcrypt.so.0.2 base-sys-shlib
@ -40,10 +51,8 @@
./usr/lib/i18n/libmapper_serial.so.4.4 base-i18n-shlib
./usr/lib/i18n/libmapper_std.so.4.4 base-i18n-shlib
./usr/lib/i18n/libmapper_zone.so.4.4 base-i18n-shlib
./usr/lib/libamu.so.2.1 base-obsolete obsolete
./usr/lib/libamu.so.3.0 base-amd-shlib
./usr/lib/libarchive.so.2.0 base-sys-shlib
./usr/lib/libasn1.so.6.1 base-obsolete obsolete
./usr/lib/libasn1.so.7.0 base-krb5-shlib kerberos
./usr/lib/libbfd.so.8.0 base-sys-shlib bfd
./usr/lib/libbind9.so.0.0 base-bind-shlib
@ -51,8 +60,6 @@
./usr/lib/libbsdmalloc.so.0.0 base-sys-shlib
./usr/lib/libbz2.so.1.1 base-sys-shlib
./usr/lib/libc.so.12.159 base-sys-shlib
./usr/lib/libcdk.so.1.0 base-obsolete obsolete
./usr/lib/libcom_err.so.4.1 base-obsolete obsolete
./usr/lib/libcom_err.so.5.0 base-krb5-shlib kerberos
./usr/lib/libcrypt.so.0.2 base-sys-shlib
./usr/lib/libcrypto.so.3.2 base-crypto-shlib crypto
@ -65,9 +72,7 @@
./usr/lib/libg2c.so.2.0 base-sys-shlib gcc=3
./usr/lib/libgcc_s.so.1.0 base-sys-shlib gcc
./usr/lib/libgnumalloc.so.0.0 base-sys-shlib
./usr/lib/libgssapi.so.5.0 base-obsolete obsolete
./usr/lib/libgssapi.so.6.0 base-krb5-shlib kerberos
./usr/lib/libhdb.so.9.0 base-obsolete obsolete
./usr/lib/libhdb.so.10.0 base-krb5-shlib kerberos
./usr/lib/libheimntlm.so.1.0 base-krb5-shlib kerberos
./usr/lib/libhx509.so.1.0 base-krb5-shlib kerberos
@ -77,19 +82,10 @@
./usr/lib/libisccc.so.0.0 base-bind-shlib
./usr/lib/libisccfg.so.0.0 base-bind-shlib
./usr/lib/libiscsi.so.0.0 base-iscsi-shlib iscsi
./usr/lib/libkadm.so.5.0 base-obsolete obsolete
./usr/lib/libkadm5clnt.so.8.0 base-obsolete obsolete
./usr/lib/libkadm5clnt.so.9.0 base-krb5-shlib kerberos
./usr/lib/libkadm5srv.so.9.0 base-obsolete obsolete
./usr/lib/libkadm5srv.so.10.0 base-krb5-shlib kerberos
./usr/lib/libkafs.so.6.0 base-obsolete obsolete
./usr/lib/libkafs.so.7.0 base-obsolete obsolete
./usr/lib/libkafs.so.8.0 base-krb5-shlib kerberos
./usr/lib/libkdb.so.5.0 base-obsolete obsolete
./usr/lib/libkrb.so.6.0 base-obsolete obsolete
./usr/lib/libkrb5.so.20.1 base-obsolete obsolete
./usr/lib/libkrb5.so.21.0 base-krb5-shlib kerberos
./usr/lib/libkstream.so.2.0 base-obsolete obsolete
./usr/lib/libkvm.so.5.3 base-sys-shlib
./usr/lib/liblwres.so.0.0 base-bind-shlib
./usr/lib/libm.so.0.6 base-sys-shlib
@ -104,27 +100,18 @@
./usr/lib/libposix.so.0.1 base-sys-shlib
./usr/lib/libprop.so.0.6 base-sys-shlib
./usr/lib/libpthread.so.0.10 base-sys-shlib
./usr/lib/libpthread_dbg.so.0.1 base-obsolete obsolete
./usr/lib/libpthread_dbg.so.1.0 base-sys-shlib
./usr/lib/libpuffs.so.0.0 base-sys-shlib
./usr/lib/libradius.so.1.0 base-net-shlib
./usr/lib/librefuse.so.0.0 base-sys-shlib puffs
./usr/lib/libresolv.so.1.1 base-net-shlib
./usr/lib/libroken.so.12.3 base-obsolete obsolete
./usr/lib/libroken.so.13.0 base-krb5-shlib kerberos
./usr/lib/librpcsvc.so.0.0 base-net-shlib
./usr/lib/librt.so.0.0 base-sys-shlib
./usr/lib/libsdp.so.2.0 base-sys-shlib
./usr/lib/libskey.so.1.0 base-sys-shlib skey
./usr/lib/libsl.so.2.0 base-obsolete obsolete
./usr/lib/libsl.so.3.0 base-krb5-shlib kerberos
./usr/lib/libss.so.4.0 base-obsolete obsolete
./usr/lib/libss.so.5.0 base-krb5-shlib kerberos
./usr/lib/libssh.so.2.0 base-obsolete obsolete
./usr/lib/libssh.so.3.0 base-obsolete obsolete
./usr/lib/libssh.so.4.0 base-obsolete obsolete
./usr/lib/libssh.so.5.0 base-obsolete obsolete
./usr/lib/libssh.so.6.0 base-obsolete obsolete
./usr/lib/libssh.so.7.0 base-secsh-bin crypto
./usr/lib/libssl.so.4.0 base-crypto-shlib crypto
./usr/lib/libstdc++.so.5.0 base-sys-shlib gcc=3