diff options
author | jlam <jlam@pkgsrc.org> | 2007-08-21 22:49:02 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-08-21 22:49:02 +0000 |
commit | ffd0fa8226d0808ce1982c1aede01b2328403b8f (patch) | |
tree | c963fbe349aa6c3a854fc36e80c1b467ee94113c /emulators/netbsd32_compat14 | |
parent | f7addad279e6d9bddee039abf2c4e73c32086181 (diff) | |
download | pkgsrc-ffd0fa8226d0808ce1982c1aede01b2328403b8f.tar.gz |
* Support netbsd-* as a valid platform in EMUL_PLATFORMS. Use the
pkgsrc/emulator/compat* and pkgsrc/emulator/netbsd32_compat* packages
to provide the necessary shared libraries to run dynamically linked
NetBSD binaries from the days of yore.
* Add some additional compat* packages for completeness:
compat15, compat20, compat30
* Modify the compat* packages so that "compatNM" only provides files
that aren't in "NetBSD-N.(M+1)". For example, compat12 only provides
files that don't exist in NetBSD-1.3.x, compat13 only provides files
that don't exist in NetBSD-1.4.x, etc.
As a result, if you are running NetBSD-3.0/alpha and want to run a
1.3 dynamically linked binary, there is an automatic dependency
chain that causes the following packages to be installed:
compat13, compat14, compat15, compat16, compat20
There are some deviations from this dependency chain on platforms
that have changed executable formats, e.g. i386, m68, sparc, etc.
However, in general pkgsrc will require that you have the necessary
COMPAT_* options in your kernel to match the installed compat*
packages. This restriction is an artificial one imposed by pkgsrc,
but allows for a single set of distfiles to be used on all versions
of NetBSD.
* Provide compat* package support for every supported architecture
of NetBSD. Verily, it is now possible to run 1.2 binaries on
NetBSD-1.5.3/pc532 by installing the compat12 package from pkgsrc.
Rejoice, one and all!
* The netbsd32_compat* packages mirror the corresponding compat*
packages for use by sparc64 and x86_64 to allow running 32-bit
binaries with COMPAT_NETBSD32 kernel support. The "extras" packages
supply the additional shared libraries from the corresponding release
of NetBSD so that the set of files in /emul/netbsd32 will be complete.
* pkgsrc/emulators/compat_netbsd contains infrastructure files shared
by all of the compat* packages.
Diffstat (limited to 'emulators/netbsd32_compat14')
-rw-r--r-- | emulators/netbsd32_compat14/DEINSTALL | 19 | ||||
-rw-r--r-- | emulators/netbsd32_compat14/DESCR | 5 | ||||
-rw-r--r-- | emulators/netbsd32_compat14/INSTALL | 51 | ||||
-rw-r--r-- | emulators/netbsd32_compat14/Makefile | 56 | ||||
-rw-r--r-- | emulators/netbsd32_compat14/PLIST | 39 | ||||
-rw-r--r-- | emulators/netbsd32_compat14/PLIST.x86_64 | 3 | ||||
-rw-r--r-- | emulators/netbsd32_compat14/distinfo | 8 |
7 files changed, 0 insertions, 181 deletions
diff --git a/emulators/netbsd32_compat14/DEINSTALL b/emulators/netbsd32_compat14/DEINSTALL deleted file mode 100644 index 9e432e1c8c7..00000000000 --- a/emulators/netbsd32_compat14/DEINSTALL +++ /dev/null @@ -1,19 +0,0 @@ -# $NetBSD: DEINSTALL,v 1.2 2003/08/30 19:07:10 jlam Exp $ - -case ${STAGE} in -POST-DEINSTALL) - MACHINE_ARCH=@MACHINE_ARCH@ - COMPAT_LIBDIR=@COMPAT_LIBDIR@ - COMPAT_XLIBDIR=@COMPAT_XLIBDIR@ - - ${RMDIR} -p ${PKG_PREFIX}/${COMPAT_LIBDIR} ${PKG_PREFIX}/${COMPAT_XLIBDIR} 2>/dev/null || ${TRUE} - - # clean up the symlink - ${RM} -f /emul/aout - - # Regenerate the shared library cache. This should work on either - # a.out or on ELF with the 1.5 release. - # - ( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1 - ;; -esac diff --git a/emulators/netbsd32_compat14/DESCR b/emulators/netbsd32_compat14/DESCR deleted file mode 100644 index 13b88772c16..00000000000 --- a/emulators/netbsd32_compat14/DESCR +++ /dev/null @@ -1,5 +0,0 @@ -This package supplies the user files necessary for full compatibility with -dynamically linked executables compiled under NetBSD 1.4, on a 32-bit -platform, running on a 64-bit host.. You still need the options COMPAT_14 -and COMPAT_NETBSD32 in your kernel configuration (and probably others; see -options(4) for more information) to make use of NetBSD 1.4 binaries. diff --git a/emulators/netbsd32_compat14/INSTALL b/emulators/netbsd32_compat14/INSTALL deleted file mode 100644 index bba96f36602..00000000000 --- a/emulators/netbsd32_compat14/INSTALL +++ /dev/null @@ -1,51 +0,0 @@ -# $NetBSD: INSTALL,v 1.3 2005/01/11 05:12:56 hamajima Exp $ - -case ${STAGE} in -POST-INSTALL) - MACHINE_ARCH=@MACHINE_ARCH@ - OBJECT_FMT=@OBJECT_FMT@ - - # Only create the symlink on certain platform/object combinations. Note - # that sparc64 a.out compatibility lives in /emul/aout, not /emul/netbsd32. - # - create_emul_symlink=0 - case ${MACHINE_ARCH} in - sparc64 | x86_64) - create_emul_symlink=1 - ;; - esac - - if [ ${create_emul_symlink} = 1 ] - then - # Create a symlink from /emul/aout --> ${PKG_PREFIX}/emul/aout - # if it doesn't already exist. Warn if we can't do this. - # - emul=aout - if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" \ - != "`cd / && cd /emul/$emul 2>/dev/null && pwd -P`" ] - then - if [ -e /emul/$emul -o -L /emul/$emul ] || \ - [ \( -e /emul -o -L /emul \) -a ! -d /emul ] - then - ${CAT} <<EOF -============================================================================== - IMPORTANT: You must create a symbolic link from /emul/$emul - to ${PKG_PREFIX}/emul/$emul in order for this package to work - properly. - - (It seems there is something else located at /emul/$emul.) -============================================================================== -EOF - else - ${MKDIR} -p /emul - ${LN} -sf ${PKG_PREFIX}/emul/$emul /emul/$emul - fi - fi - fi - - # Regenerate the shared library cache. This should work on either - # a.out or on ELF with the 1.5 release. - # - ( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1 - ;; -esac diff --git a/emulators/netbsd32_compat14/Makefile b/emulators/netbsd32_compat14/Makefile deleted file mode 100644 index d9a687f732d..00000000000 --- a/emulators/netbsd32_compat14/Makefile +++ /dev/null @@ -1,56 +0,0 @@ -# $NetBSD: Makefile,v 1.19 2006/10/19 19:39:04 wiz Exp $ -# - -DISTNAME= compat14-${MACHINE32_ARCH}-${VERSION} -PKGNAME= netbsd32_compat14-${VERSION} -CATEGORIES= emulators -MASTER_SITES= ${MASTER_SITE_LOCAL} - -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://www.NetBSD.org/Releases/formal-1.4/index.html -COMMENT= 32-bit shared libraries for NetBSD 1.4 (and earlier) compatibility - -VERSION= 1.4.3.1 -PKGREVISION= 1 - -.if ${MACHINE_ARCH} == "sparc64" -MACHINE32_ARCH= sparc -DEPENDS+= netbsd32_compat15>=1.0:../../emulators/netbsd32_compat15 -.elif ${MACHINE_ARCH} == "x86_64" -MACHINE32_ARCH= i386 -DEPENDS+= netbsd32_compat16>=1.0:../../emulators/netbsd32_compat16 -.else -MACHINE32_ARCH= ${MACHINE_ARCH} -.endif - -ONLY_FOR_PLATFORM= NetBSD-*-sparc64 -ONLY_FOR_PLATFORM+= NetBSD-[2-9]*-x86_64 -NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL - -NO_MTREE= yes -NO_BUILD= yes -CHECK_SHLIBS_SUPPORTED= no - -FILES_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR:Q} -FILES_SUBST+= COMPAT_XLIBDIR=${COMPAT_XLIBDIR:Q} -FILES_SUBST+= MACHINE_ARCH=${MACHINE_ARCH:Q} -FILES_SUBST+= OBJECT_FMT=${OBJECT_FMT:Q} -FILES_SUBST+= LDCONFIG=${LDCONFIG:Q} - -.include "../../mk/bsd.prefs.mk" - -EMULSUBDIR= emul/aout -COMPAT_LIBDIR= ${EMULSUBDIR}/usr/lib -COMPAT_XLIBDIR= ${EMULSUBDIR}/usr/X11R6/lib - -PLIST_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR:Q} COMPAT_XLIBDIR=${COMPAT_XLIBDIR:Q} - -do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_LIBDIR} - ${INSTALL_DATA} ${WRKDIR}/lib/lib*.so* ${PREFIX}/${COMPAT_LIBDIR} - if [ -d ${WRKDIR}/X11R6/lib ]; then \ - ${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_XLIBDIR}; \ - ${INSTALL_DATA} ${WRKDIR}/X11R6/lib/lib*.so* ${PREFIX}/${COMPAT_XLIBDIR}; \ - fi - -.include "../../mk/bsd.pkg.mk" diff --git a/emulators/netbsd32_compat14/PLIST b/emulators/netbsd32_compat14/PLIST deleted file mode 100644 index cb003ee56c3..00000000000 --- a/emulators/netbsd32_compat14/PLIST +++ /dev/null @@ -1,39 +0,0 @@ -@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:53:02 zuntum Exp $ -${COMPAT_LIBDIR}/libamu.so.1.1 -${COMPAT_LIBDIR}/libbfd.so.3.0 -${COMPAT_LIBDIR}/libbz2.so.0.0 -${COMPAT_LIBDIR}/libc.so.12.40.2 -${COMPAT_LIBDIR}/libcrypt.so.0.0 -${COMPAT_LIBDIR}/libcurses.so.2.2 -${COMPAT_LIBDIR}/libedit.so.2.2 -${COMPAT_LIBDIR}/libg2c.so.0.0 -${COMPAT_LIBDIR}/libgnumalloc.so.0.0 -${COMPAT_LIBDIR}/libkvm.so.5.0 -${COMPAT_LIBDIR}/libm.so.0.1 -${COMPAT_LIBDIR}/libntp.so.0.0 -${COMPAT_LIBDIR}/libobjc.so.0.0 -${COMPAT_LIBDIR}/libossaudio.so.0.0 -${COMPAT_LIBDIR}/libpcap.so.0.0 -${COMPAT_LIBDIR}/libposix.so.0.1 -${COMPAT_LIBDIR}/libresolv.so.1.0 -${COMPAT_LIBDIR}/libskey.so.0.0 -${COMPAT_LIBDIR}/libstdc++.so.2.0 -${COMPAT_LIBDIR}/libtelnet.so.1.0 -${COMPAT_LIBDIR}/libtermcap.so.0.0 -${COMPAT_LIBDIR}/libtermlib.so.0.0 -${COMPAT_LIBDIR}/libutil.so.5.0 -${COMPAT_LIBDIR}/libwrap.so.0.0 -${COMPAT_LIBDIR}/libz.so.0.1 -${COMPAT_XLIBDIR}/libICE.so.6.3 -${COMPAT_XLIBDIR}/libPEX5.so.6.0 -${COMPAT_XLIBDIR}/libSM.so.6.0 -${COMPAT_XLIBDIR}/libX11.so.6.1 -${COMPAT_XLIBDIR}/libXIE.so.6.0 -${COMPAT_XLIBDIR}/libXaw.so.6.1 -${COMPAT_XLIBDIR}/libXext.so.6.3 -${COMPAT_XLIBDIR}/libXi.so.6.0 -${COMPAT_XLIBDIR}/libXmu.so.6.0 -${COMPAT_XLIBDIR}/libXp.so.6.2 -${COMPAT_XLIBDIR}/libXt.so.6.0 -${COMPAT_XLIBDIR}/libXtst.so.6.1 -${COMPAT_XLIBDIR}/liboldX.so.6.0 diff --git a/emulators/netbsd32_compat14/PLIST.x86_64 b/emulators/netbsd32_compat14/PLIST.x86_64 deleted file mode 100644 index 39ea1bb8128..00000000000 --- a/emulators/netbsd32_compat14/PLIST.x86_64 +++ /dev/null @@ -1,3 +0,0 @@ -@comment $NetBSD: PLIST.x86_64,v 1.1 2005/02/21 21:08:50 veego Exp $ -${COMPAT_LIBDIR}/libi386.so.0.2 -${COMPAT_LIBDIR}/libkeycap.so.0.0 diff --git a/emulators/netbsd32_compat14/distinfo b/emulators/netbsd32_compat14/distinfo deleted file mode 100644 index 5601d4c24b4..00000000000 --- a/emulators/netbsd32_compat14/distinfo +++ /dev/null @@ -1,8 +0,0 @@ -$NetBSD: distinfo,v 1.6 2006/05/11 19:02:08 veego Exp $ - -SHA1 (compat14-i386-1.4.3.1.tar.gz) = 7c00ede3cf18bfc437e9262f0e583bde5f134004 -RMD160 (compat14-i386-1.4.3.1.tar.gz) = 7e1aba3308a3efec20384a1170f4b7b2d5e7ac72 -Size (compat14-i386-1.4.3.1.tar.gz) = 1646083 bytes -SHA1 (compat14-sparc-1.4.3.1.tar.gz) = 9c0e46ced11f1f56fde79158edebb12898ea4ffa -RMD160 (compat14-sparc-1.4.3.1.tar.gz) = 02a4eb94bb962889a74e9439fbb108b3b3d3e883 -Size (compat14-sparc-1.4.3.1.tar.gz) = 1831758 bytes |