diff options
author | dmcmahill <dmcmahill> | 2001-03-11 23:22:50 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2001-03-11 23:22:50 +0000 |
commit | 3ba14a7b0a186016c3d933897de9e180a194a65a (patch) | |
tree | 36a800d17e7f71f73e00ee2026f72193c9445738 /emulators | |
parent | ede12526738e3af1452e785929bef4fffe7f4af3 (diff) | |
download | pkgsrc-3ba14a7b0a186016c3d933897de9e180a194a65a.tar.gz |
Initial import of osf1_lib.
Package submitted by Eric Schnoebelen, eric@cirr.com
in PR pkg/11953 and simplified some by me.
DEC Tru64/OSF1 compatibility package based upon the Tru64/OSF1
shared libraries provided by Compaq to support running Netscape on
Linux/Alpha.
This package supports running Tru64/OSF1 binaries that do not make use
of MACH system calls.
Note that this is not a complete set of Tru64/OSF1 shared libraries,
but rather the minimal set required to run netscape.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/osf1_lib/Makefile | 51 | ||||
-rw-r--r-- | emulators/osf1_lib/files/md5 | 3 | ||||
-rw-r--r-- | emulators/osf1_lib/pkg/DESCR | 9 | ||||
-rw-r--r-- | emulators/osf1_lib/pkg/INSTALL | 33 | ||||
-rw-r--r-- | emulators/osf1_lib/pkg/PLIST | 30 |
5 files changed, 126 insertions, 0 deletions
diff --git a/emulators/osf1_lib/Makefile b/emulators/osf1_lib/Makefile new file mode 100644 index 00000000000..2e5dcd4123e --- /dev/null +++ b/emulators/osf1_lib/Makefile @@ -0,0 +1,51 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/03/11 23:22:50 dmcmahill Exp $ + +DISTNAME= netscape-4.7-3.alpha +PKGNAME= osf1_lib-1.0 +CATEGORIES= emulators +MASTER_SITES= ftp://ftp.support.compaq.com/private/alpha-tools-software/netscape/ +EXTRACT_SUFX= .rpm + +MAINTAINER= eric@cirr.com +HOMEPAGE= http://www.support.compaq.com/alpha-tools/software/index.html +COMMENT= DEC/Compaq OSF-1/Tru64 compatibility package for netscape + +RPM2PKG= ${LOCALBASE}/sbin/rpm2pkg +BUILD_DEPENDS+= ${RPM2PKG}:../../pkgtools/rpm2pkg + +ONLY_FOR_PLATFORM= NetBSD-*-alpha + +RESTRICTED= "COMPAQ Licensed Software" +NO_SRC_ON_CDROM= ${RESTRICTED} +NO_BIN_ON_CDROM= ${RESTRICTED} +NO_SRC_ON_FTP= ${RESTRICTED} +NO_BIN_ON_FTP= ${RESTRICTED} + +EMULSUBDIR= emul/osf1 +EMULDIR= ${PREFIX}/${EMULSUBDIR} + +EXTRACT_ONLY= # empty +NO_CONFIGURE= yes +NO_PATCH= yes +NO_BUILD= yes + +WRKSRC= ${WRKDIR} + +RPMARGS= -i usr/lib -i usr/bin ${DISTDIR}/${DISTFILES} + +CHECK_SHLIBS= no +SHLIB_HANDLING= no + +USE_X11= yes + +do-install: + ${RM} -f ${WRKDIR}/PLIST_DYNAMIC + ${INSTALL_DATA_DIR} ${EMULDIR} + ${RPM2PKG} -d ${PREFIX} -p ${EMULSUBDIR} ${RPMARGS} + (cd ${EMULDIR}; ${MKDIR} usr/lib/X11) + (cd ${EMULDIR}/usr/lib/X11; ${LN} -fs ${X11BASE}/lib/X11/locale .) + +post-install: + PKG_PREFIX="${PREFIX}" ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL + +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/osf1_lib/files/md5 b/emulators/osf1_lib/files/md5 new file mode 100644 index 00000000000..54a4de4c353 --- /dev/null +++ b/emulators/osf1_lib/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/03/11 23:22:50 dmcmahill Exp $ + +MD5 (netscape-4.7-3.alpha.rpm) = d46395644f8ac585a51d57b23c08328e diff --git a/emulators/osf1_lib/pkg/DESCR b/emulators/osf1_lib/pkg/DESCR new file mode 100644 index 00000000000..cf40a416d0a --- /dev/null +++ b/emulators/osf1_lib/pkg/DESCR @@ -0,0 +1,9 @@ +DEC Tru64/OSF1 compatibility package based upon the Tru64/OSF1 +shared libraries provided by Compaq to support running Netscape on +Linux/Alpha. + +This package supports running Tru64/OSF1 binaries that do not make use +of MACH system calls. + +Note that this is not a complete set of Tru64/OSF1 shared libraries, +but rather the minimal set required to run netscape. diff --git a/emulators/osf1_lib/pkg/INSTALL b/emulators/osf1_lib/pkg/INSTALL new file mode 100644 index 00000000000..55edfa0f029 --- /dev/null +++ b/emulators/osf1_lib/pkg/INSTALL @@ -0,0 +1,33 @@ +#!/bin/sh +# $NetBSD: INSTALL,v 1.1.1.1 2001/03/11 23:22:50 dmcmahill Exp $ + +emul=osf1 +if [ "$2" != "POST-INSTALL" ]; then exit 0; fi + +cat <<EOF +============================================================================== + +Do not forget to include COMPAT_OSF1 in your kernel configuration +file. (OSF/1 binaries require this option in order to work.) +EOF + +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 + +cat <<EOF + +============================================================================== +EOF diff --git a/emulators/osf1_lib/pkg/PLIST b/emulators/osf1_lib/pkg/PLIST new file mode 100644 index 00000000000..01c976dc80d --- /dev/null +++ b/emulators/osf1_lib/pkg/PLIST @@ -0,0 +1,30 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/11 23:22:50 dmcmahill Exp $ +emul/osf1/etc/sia/OSFC2_matrix.conf +emul/osf1/etc/sia/bsd_matrix.conf +emul/osf1/etc/sia/matrix.conf +emul/osf1/etc/sia/siainitgood +emul/osf1/etc/svc.conf +emul/osf1/sbin/loader +emul/osf1/usr/lib/X11/locale +emul/osf1/usr/shlib/LICENSE +emul/osf1/usr/shlib/libICE.so +emul/osf1/usr/shlib/libSM.so +emul/osf1/usr/shlib/libX11.so +emul/osf1/usr/shlib/libXext.so +emul/osf1/usr/shlib/libXm.so +emul/osf1/usr/shlib/libXmu.so +emul/osf1/usr/shlib/libXt.so +emul/osf1/usr/shlib/libc.so +emul/osf1/usr/shlib/libcxx.so +emul/osf1/usr/shlib/libdnet_stub.so +emul/osf1/usr/shlib/libexc.so +emul/osf1/usr/shlib/libm.so +emul/osf1/usr/shlib/libots.so +@dirrm emul/osf1/usr/lib/X11 +@dirrm emul/osf1/usr/lib +@dirrm emul/osf1/usr/shlib +@dirrm emul/osf1/usr +@dirrm emul/osf1/sbin +@dirrm emul/osf1/etc/sia +@dirrm emul/osf1/etc +@dirrm emul/osf1 |