Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

* 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.
  • Loading branch information...
commit 06dbf3f44d73e70d226816de566a4475ab3995b3 1 parent 74b9ae8
jlam authored
Showing with 3,633 additions and 1,369 deletions.
  1. +21 −1 doc/CHANGES-2007
  2. +15 −2 emulators/Makefile
  3. +0 −14 emulators/compat12/DEINSTALL
  4. +2 −5 emulators/compat12/DESCR
  5. +0 −50 emulators/compat12/INSTALL
  6. +7 −0 emulators/compat12/MESSAGE
  7. +24 −37 emulators/compat12/Makefile
  8. +0 −5 emulators/compat12/PLIST
  9. +7 −0 emulators/compat12/PLIST.a.out
  10. +2 −0  emulators/compat12/PLIST.i386
  11. +3 −0  emulators/compat12/PLIST.m68k
  12. +2 −0  emulators/compat12/PLIST.ns32k
  13. +2 −0  emulators/compat12/PLIST.sparc
  14. +13 −13 emulators/compat12/distinfo
  15. +51 −0 emulators/compat12/emulator.mk
  16. +0 −21 emulators/compat13/DEINSTALL
  17. +2 −4 emulators/compat13/DESCR
  18. +0 −55 emulators/compat13/INSTALL
  19. +7 −0 emulators/compat13/MESSAGE
  20. +23 −44 emulators/compat13/Makefile
  21. +0 −5 emulators/compat13/PLIST
  22. +15 −0 emulators/compat13/PLIST.ELF
  23. +8 −0 emulators/compat13/PLIST.a.out
  24. +0 −3  emulators/compat13/PLIST.alpha
  25. +3 −0  emulators/compat13/PLIST.i386
  26. +2 −0  emulators/compat13/PLIST.m68k
  27. +3 −0  emulators/compat13/PLIST.mipsel
  28. +2 −0  emulators/compat13/PLIST.sparc
  29. +22 −25 emulators/compat13/distinfo
  30. +47 −0 emulators/compat13/emulator.mk
  31. +0 −22 emulators/compat14/DEINSTALL
  32. +2 −5 emulators/compat14/DESCR
  33. +0 −56 emulators/compat14/INSTALL
  34. +7 −0 emulators/compat14/MESSAGE
  35. +41 −47 emulators/compat14/Makefile
  36. +0 −48 emulators/compat14/PLIST
  37. +15 −0 emulators/compat14/PLIST.ELF
  38. +9 −0 emulators/compat14/PLIST.a.out
  39. +22 −0 emulators/compat14/PLIST.alpha
  40. +10 −0 emulators/compat14/PLIST.arm
  41. +37 −3 emulators/compat14/PLIST.i386
  42. +10 −0 emulators/compat14/PLIST.m68k
  43. +2 −0  emulators/compat14/PLIST.ns32k
  44. +22 −0 emulators/compat14/PLIST.powerpc
  45. +35 −0 emulators/compat14/PLIST.sparc
  46. +10 −0 emulators/compat14/PLIST.vax
  47. +28 −7 emulators/compat14/distinfo
  48. +47 −0 emulators/compat14/emulator.mk
  49. +4 −0 emulators/compat15-extras/DESCR
  50. +24 −0 emulators/compat15-extras/Makefile
  51. +62 −0 emulators/compat15-extras/PLIST
  52. +7 −0 emulators/compat15-extras/PLIST.i386
  53. +5 −0 emulators/compat15-extras/PLIST.sparc
  54. +8 −0 emulators/compat15-extras/distinfo
  55. +2 −0  emulators/compat15/DESCR
  56. +7 −0 emulators/compat15/MESSAGE
  57. +64 −0 emulators/compat15/Makefile
  58. +53 −0 emulators/compat15/PLIST.ELF
  59. +47 −0 emulators/compat15/PLIST.a.out
  60. +8 −0 emulators/compat15/PLIST.alpha
  61. +17 −0 emulators/compat15/PLIST.arm
  62. +14 −0 emulators/compat15/PLIST.i386
  63. +17 −0 emulators/compat15/PLIST.m68k
  64. +8 −0 emulators/compat15/PLIST.mipsel
  65. +14 −0 emulators/compat15/PLIST.powerpc
  66. +8 −0 emulators/compat15/PLIST.sparc
  67. +2 −0  emulators/compat15/PLIST.sparc64
  68. +16 −0 emulators/compat15/PLIST.vax
  69. +32 −0 emulators/compat15/distinfo
  70. +57 −0 emulators/compat15/emulator.mk
  71. +4 −0 emulators/compat16-extras/DESCR
  72. +24 −0 emulators/compat16-extras/Makefile
  73. +100 −0 emulators/compat16-extras/PLIST
  74. +98 −0 emulators/compat16-extras/PLIST.i386
  75. +4 −0 emulators/compat16-extras/PLIST.sparc
  76. +8 −0 emulators/compat16-extras/distinfo
  77. +2 −2 emulators/compat16/DESCR
  78. +4 −4 emulators/compat16/MESSAGE
  79. +42 −21 emulators/compat16/Makefile
  80. +33 −0 emulators/compat16/PLIST
  81. +11 −0 emulators/compat16/PLIST.alpha
  82. +11 −0 emulators/compat16/PLIST.arm
  83. +11 −138 emulators/compat16/PLIST.i386
  84. +11 −0 emulators/compat16/PLIST.m68k
  85. +11 −0 emulators/compat16/PLIST.mipseb
  86. +11 −0 emulators/compat16/PLIST.mipsel
  87. +9 −0 emulators/compat16/PLIST.powerpc
  88. +11 −0 emulators/compat16/PLIST.sparc
  89. +11 −0 emulators/compat16/PLIST.sparc64
  90. +7 −0 emulators/compat16/PLIST.vax
  91. +31 −4 emulators/compat16/distinfo
  92. +43 −0 emulators/compat16/emulator.mk
  93. +4 −0 emulators/compat20-extras/DESCR
  94. +25 −0 emulators/compat20-extras/Makefile
  95. +295 −0 emulators/compat20-extras/PLIST
  96. +9 −0 emulators/compat20-extras/PLIST.i386
  97. +5 −0 emulators/compat20-extras/PLIST.sparc
  98. +8 −0 emulators/compat20-extras/distinfo
  99. +2 −0  emulators/compat20/DESCR
  100. +7 −0 emulators/compat20/MESSAGE
  101. +53 −0 emulators/compat20/Makefile
  102. +7 −0 emulators/compat20/PLIST
  103. +41 −0 emulators/compat20/distinfo
  104. +44 −0 emulators/compat20/emulator.mk
  105. +4 −0 emulators/compat30-extras/DESCR
  106. +28 −0 emulators/compat30-extras/Makefile
  107. +381 −0 emulators/compat30-extras/PLIST
  108. +18 −0 emulators/compat30-extras/PLIST.i386
  109. +10 −0 emulators/compat30-extras/PLIST.sparc
  110. +8 −0 emulators/compat30-extras/PLIST.vax
  111. +11 −0 emulators/compat30-extras/distinfo
  112. +2 −0  emulators/compat30/DESCR
  113. +7 −0 emulators/compat30/MESSAGE
  114. +63 −0 emulators/compat30/Makefile
  115. +49 −0 emulators/compat30/PLIST
  116. +8 −0 emulators/compat30/PLIST.alpha
  117. +8 −0 emulators/compat30/PLIST.arm
  118. +8 −0 emulators/compat30/PLIST.i386
  119. +8 −0 emulators/compat30/PLIST.m68k
  120. +8 −0 emulators/compat30/PLIST.mipseb
  121. +8 −0 emulators/compat30/PLIST.mipsel
  122. +8 −0 emulators/compat30/PLIST.powerpc
  123. +8 −0 emulators/compat30/PLIST.sh3eb
  124. +8 −0 emulators/compat30/PLIST.sh3el
  125. +8 −0 emulators/compat30/PLIST.sparc
  126. +8 −0 emulators/compat30/PLIST.sparc64
  127. +8 −0 emulators/compat30/PLIST.x86_64
  128. +41 −0 emulators/compat30/distinfo
  129. +44 −0 emulators/compat30/emulator.mk
  130. +9 −0 emulators/compat_netbsd/DEINSTALL
  131. +137 −0 emulators/compat_netbsd/INSTALL.ELF
  132. +140 −0 emulators/compat_netbsd/INSTALL.a.out
  133. +134 −0 emulators/compat_netbsd/INSTALL.emulaout
  134. +110 −0 emulators/compat_netbsd/INSTALL.emulnetbsd32
  135. +123 −0 emulators/compat_netbsd/Makefile.common
  136. +0 −19 emulators/netbsd32_compat14/DEINSTALL
  137. +0 −5 emulators/netbsd32_compat14/DESCR
  138. +0 −51 emulators/netbsd32_compat14/INSTALL
  139. +0 −56 emulators/netbsd32_compat14/Makefile
  140. +0 −39 emulators/netbsd32_compat14/PLIST
  141. +0 −3  emulators/netbsd32_compat14/PLIST.x86_64
  142. +0 −8 emulators/netbsd32_compat14/distinfo
  143. +5 −0 emulators/netbsd32_compat15-extras/Makefile
  144. +0 −20 emulators/netbsd32_compat15/DEINSTALL
  145. +0 −5 emulators/netbsd32_compat15/DESCR
  146. +0 −50 emulators/netbsd32_compat15/INSTALL
  147. +3 −61 emulators/netbsd32_compat15/Makefile
  148. +0 −117 emulators/netbsd32_compat15/PLIST
  149. +0 −5 emulators/netbsd32_compat15/distinfo
  150. +5 −0 emulators/netbsd32_compat16-extras/Makefile
  151. +0 −18 emulators/netbsd32_compat16/DEINSTALL
  152. +0 −5 emulators/netbsd32_compat16/DESCR
  153. +0 −51 emulators/netbsd32_compat16/INSTALL
  154. +3 −63 emulators/netbsd32_compat16/Makefile
  155. +0 −128 emulators/netbsd32_compat16/PLIST
  156. +0 −8 emulators/netbsd32_compat16/PLIST.sparc64
  157. +0 −4 emulators/netbsd32_compat16/PLIST.x86_64
  158. +0 −7 emulators/netbsd32_compat16/distinfo
  159. +5 −0 emulators/netbsd32_compat20-extras/Makefile
  160. +5 −0 emulators/netbsd32_compat20/Makefile
  161. +5 −0 emulators/netbsd32_compat30-extras/Makefile
  162. +5 −0 emulators/netbsd32_compat30/Makefile
  163. +4 −4 mk/emulator/emulator-vars.mk
  164. +73 −0 mk/emulator/netbsd-compat.mk
  165. +48 −0 mk/emulator/netbsd.mk
  166. +4 −1 mk/platform/NetBSD.mk
View
22 doc/CHANGES-2007
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2007,v 1.1852 2007/08/21 15:44:27 abs Exp $
+$NetBSD: CHANGES-2007,v 1.1853 2007/08/21 22:49:02 jlam Exp $
Changes to the packages collection and infrastructure in 2007:
@@ -3385,3 +3385,23 @@ Changes to the packages collection and infrastructure in 2007:
Added devel/bazaar version 0.90rc1 [agc 2007-08-20]
Updated devel/svk to 2.0.2 [bad 2007-08-21]
Updated devel/cpuflags to 1.12 [abs 2007-08-21]
+ Updated emulators/compat12 to 1.2.1 [jlam 2007-08-21]
+ Updated emulators/compat13 to 1.3.3 [jlam 2007-08-21]
+ Updated emulators/compat14 to 1.4.3 [jlam 2007-08-21]
+ Added emulators/compat15 version 1.5.3 [jlam 2007-08-21]
+ Added emulators/compat15-extras version 1.5.3 [jlam 2007-08-21]
+ Updated emulators/compat16 to 1.6.2 [jlam 2007-08-21]
+ Added emulators/compat16-extras version 1.6.2 [jlam 2007-08-21]
+ Added emulators/compat20 version 2.1 [jlam 2007-08-21]
+ Added emulators/compat20-extras version 2.1 [jlam 2007-08-21]
+ Added emulators/compat30 version 3.1 [jlam 2007-08-21]
+ Added emulators/compat30-extras version 3.1 [jlam 2007-08-21]
+ Removed emulators/netbsd32_compat14 [jlam 2007-08-21]
+ Added emulators/netbsd32_compat15 version 1.5.3 [jlam 2007-08-21]
+ Added emulators/netbsd32_compat15-extras version 1.5.3 [jlam 2007-08-21]
+ Updated emulators/netbsd32_compat16 to 1.6.2 [jlam 2007-08-21]
+ Added emulators/netbsd32_compat16-extras version 1.6.2 [jlam 2007-08-21]
+ Added emulators/netbsd32_compat20 version 2.1 [jlam 2007-08-21]
+ Added emulators/netbsd32_compat20-extras version 2.1 [jlam 2007-08-21]
+ Added emulators/netbsd32_compat30 version 3.1 [jlam 2007-08-21]
+ Added emulators/netbsd32_compat30-extras version 3.1 [jlam 2007-08-21]
View
17 emulators/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.162 2007/08/16 14:01:38 jlam Exp $
+# $NetBSD: Makefile,v 1.163 2007/08/21 22:49:03 jlam Exp $
#
COMMENT= Emulators for other operating systems
@@ -24,7 +24,15 @@ SUBDIR+= ckmame
SUBDIR+= compat12
SUBDIR+= compat13
SUBDIR+= compat14
+SUBDIR+= compat15
+SUBDIR+= compat15-extras
SUBDIR+= compat16
+SUBDIR+= compat16-extras
+SUBDIR+= compat20
+SUBDIR+= compat20-extras
+SUBDIR+= compat30
+SUBDIR+= compat30-extras
+#SUBDIR+= compat_netbsd # only contains Makefile fragments
SUBDIR+= cygwin_esound
SUBDIR+= cygwin_lib
SUBDIR+= darcnes
@@ -63,9 +71,14 @@ SUBDIR+= makeppf
SUBDIR+= mednafen
SUBDIR+= minivmac
SUBDIR+= mmix
-SUBDIR+= netbsd32_compat14
SUBDIR+= netbsd32_compat15
+SUBDIR+= netbsd32_compat15-extras
SUBDIR+= netbsd32_compat16
+SUBDIR+= netbsd32_compat16-extras
+SUBDIR+= netbsd32_compat20
+SUBDIR+= netbsd32_compat20-extras
+SUBDIR+= netbsd32_compat30
+SUBDIR+= netbsd32_compat30-extras
SUBDIR+= openmsx
SUBDIR+= or1ksim
SUBDIR+= osf1_lib
View
14 emulators/compat12/DEINSTALL
@@ -1,14 +0,0 @@
-# $NetBSD: DEINSTALL,v 1.2 2003/08/30 18:53:07 jlam Exp $
-
-case ${STAGE} in
-POST-DEINSTALL)
- COMPAT_LIBDIR=@COMPAT_LIBDIR@
-
- ${RMDIR} -p ${PKG_PREFIX}/${COMPAT_LIBDIR} 2>/dev/null || ${TRUE}
-
- # 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
View
7 emulators/compat12/DESCR
@@ -1,5 +1,2 @@
-This package supplies the user files necessary for full compatibility with
-dynamically linked executables compiled under NetBSD 1.1 through 1.2.1.
-You still need the option COMPAT_12 in your kernel configuration (and
-probably others; see options(4) for more information) to make use of
-NetBSD 1.2 binaries.
+This package supplies the user files needed to run dynamically linked
+executables compiled under NetBSD 1.1 through 1.2.
View
50 emulators/compat12/INSTALL
@@ -1,50 +0,0 @@
-# $NetBSD: INSTALL,v 1.2 2003/08/30 18:53:07 jlam Exp $
-
-case ${STAGE} in
-POST-INSTALL)
- MACHINE_ARCH=@MACHINE_ARCH@
- OBJECT_FMT=@OBJECT_FMT@
-
- # Only create the symlink on certain platform/object combinations.
- #
- create_emul_symlink=0
- if [ "${OBJECT_FMT}" = "ELF" ] && \
- [ "${MACHINE_ARCH}" = "i386" -o "${MACHINE_ARCH}" = "sparc" ]
- then
- create_emul_symlink=1
- fi
-
- if [ ${create_emul_symlink} = 1 ]
- then
- # Create a symlink from /emul/aout --> ${PKG_PREFIX}/emul/out
- # 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
View
7 emulators/compat12/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2007/08/21 22:49:03 jlam Exp $
+
+The COMPAT_12 option must be included in the kernel configuration (and
+possibly others; see options(4) for more information) to make use of
+NetBSD 1.2 binaries.
+===========================================================================
View
61 emulators/compat12/Makefile
@@ -1,44 +1,31 @@
-# $NetBSD: Makefile,v 1.32 2006/10/19 19:37:38 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.33 2007/08/21 22:49:04 jlam Exp $
-DISTNAME= compat12-${MACHINE_ARCH}
-PKGNAME= compat12-1.2.1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_LOCAL}
+DISTNAME= compat12 # overridden below
+NETBSD_VERSION= 1.2
+PKGREVISION= 1
-MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.NetBSD.org/Releases/formal-1.2/index.html
-COMMENT= Shared libraries for NetBSD 1.2 (and earlier) compatibility
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-m68k NetBSD-*-ns32k \
- NetBSD-*-sparc
-NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
-
-NO_BUILD= yes
-NO_MTREE= yes
-CHECK_SHLIBS_SUPPORTED= no
-
-FILES_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR: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"
-
-# This installs in /usr (or /emul/aout/usr) to avoid dynamic linker annoyances
-.if ${OBJECT_FMT} == "ELF" && \
- (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "sparc")
-EMULSUBDIR= emul/aout
-COMPAT_LIBDIR= ${EMULSUBDIR}/usr/lib
-.elif ${OPSYS} == "NetBSD"
-LOCALBASE= /usr
-COMPAT_LIBDIR= lib
-.endif
+COMMENT= Shared libraries for NetBSD 1.2 compatibility
+
+EMUL_PLATFORMS= netbsd-i386 netbsd-m68k netbsd-ns32k netbsd-sparc
+
+ONLY_FOR_PLATFORM= NetBSD-1.2[A-Z]*-* NetBSD-1.[3-9]*-* \
+ NetBSD-[2-9]*-* NetBSD-[1-9][0-9]*-*
-PLIST_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR:Q}
+.include "../../emulators/compat_netbsd/Makefile.common"
-do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_LIBDIR}
- ${INSTALL_DATA} ${WRKDIR}/lib*.so* ${PREFIX}/${COMPAT_LIBDIR}
+.if (${EMUL_PLATFORM} == "netbsd-ns32k")
+DISTNAME= compat12-${EMUL_ARCH}-1.2
+.else
+DISTNAME= compat12-${EMUL_ARCH}-1.2.1
+.endif
+
+# We need to depend on the compat13 package to supply shared libraries
+# missing from compat12 on NetBSD>1.3.
+#
+.if empty(OS_VERSION:M0.[0-9]*) && empty(OS_VERSION:M1.[0-2]*) && \
+ empty(OS_VERSION:M1.3) && empty(OS_VERSION:M1.3.*)
+DEPENDS+= compat13>=1.3:../../emulators/compat13
+.endif
.include "../../mk/bsd.pkg.mk"
View
5 emulators/compat12/PLIST
@@ -1,5 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:52:20 zuntum Exp $
-${COMPAT_LIBDIR}/libedit.so.0.0
-${COMPAT_LIBDIR}/libg++.so.2.0
-${COMPAT_LIBDIR}/libg++.so.3.0
-${COMPAT_LIBDIR}/libutil.so.3.2
View
7 emulators/compat12/PLIST.a.out
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST.a.out,v 1.1 2007/08/21 22:49:04 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libedit.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libg++.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libg++.so.3.0
+${EMULSUBDIRSLASH}usr/lib/libutil.so.3.2
+@dirrm ${EMULSUBDIRSLASH}usr/lib
+@dirrm ${EMULSUBDIRSLASH}usr
View
2  emulators/compat12/PLIST.i386
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.i386,v 1.1 2007/08/21 22:49:04 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libkafs.so.2.0
View
3  emulators/compat12/PLIST.m68k
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.m68k,v 1.1 2007/08/21 22:49:04 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libkafs.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkvm.so.4.0
View
2  emulators/compat12/PLIST.ns32k
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.ns32k,v 1.1 2007/08/21 22:49:04 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libkvm.so.4.0
View
2  emulators/compat12/PLIST.sparc
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.sparc,v 1.1 2007/08/21 22:49:05 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libkvm.so.4.0
View
26 emulators/compat12/distinfo
@@ -1,14 +1,14 @@
-$NetBSD: distinfo,v 1.4 2005/10/23 14:32:06 rillig Exp $
+$NetBSD: distinfo,v 1.5 2007/08/21 22:49:05 jlam Exp $
-SHA1 (compat12-i386.tar.gz) = bce1f72c4fd9cdbe25a219a65ee0af7dd5257f16
-RMD160 (compat12-i386.tar.gz) = 63ea39032c6ea1a514aea0e80494d3910b31b33f
-Size (compat12-i386.tar.gz) = 285376 bytes
-SHA1 (compat12-m68k.tar.gz) = d319f63b47dbf28692796be296bbf7fcba2e5b4f
-RMD160 (compat12-m68k.tar.gz) = 55bb1555c20f617f950a917c2ebdf35ae5a7bcea
-Size (compat12-m68k.tar.gz) = 277202 bytes
-SHA1 (compat12-ns32k.tar.gz) = 66cb355f99369d2ce0a0e07c0f97593d57a5c2f1
-RMD160 (compat12-ns32k.tar.gz) = 688e2b2b812945861a289a8bc8459c7b1116bdee
-Size (compat12-ns32k.tar.gz) = 267367 bytes
-SHA1 (compat12-sparc.tar.gz) = 4af06ed70c66af5d676b292fe24dd0f945337916
-RMD160 (compat12-sparc.tar.gz) = e8e6d4a8b090e1f4bac9783ed49813bda70d52b7
-Size (compat12-sparc.tar.gz) = 298095 bytes
+SHA1 (compat12-i386-1.2.1.tar.bz2) = 84a9c002fc3a67f5a6eccbaee395f01980d562f8
+RMD160 (compat12-i386-1.2.1.tar.bz2) = 38c9d8dd303f6e8d14837cbc205bb5bbeb23449c
+Size (compat12-i386-1.2.1.tar.bz2) = 243236 bytes
+SHA1 (compat12-m68k-1.2.1.tar.bz2) = 0cccfcff8e7fea3177fa963afbed44aa16923cb0
+RMD160 (compat12-m68k-1.2.1.tar.bz2) = 1ca54e91cb4d0025d30e30ed1fe02438d82a6b82
+Size (compat12-m68k-1.2.1.tar.bz2) = 240457 bytes
+SHA1 (compat12-ns32k-1.2.tar.bz2) = dfcd0f03e554dec5622a4e1a12b27cdbf467714b
+RMD160 (compat12-ns32k-1.2.tar.bz2) = 3d0b27a62b825a297b9592730302f7492d94274e
+Size (compat12-ns32k-1.2.tar.bz2) = 235752 bytes
+SHA1 (compat12-sparc-1.2.1.tar.bz2) = fe9b7b34b71332cdf1cf7a86f10ea1ce7be015b6
+RMD160 (compat12-sparc-1.2.1.tar.bz2) = d7d19aa0d5ed30185f16b4504474a82183f3a40a
+Size (compat12-sparc-1.2.1.tar.bz2) = 255268 bytes
View
51 emulators/compat12/emulator.mk
@@ -0,0 +1,51 @@
+# $NetBSD: emulator.mk,v 1.1 2007/08/21 22:49:05 jlam Exp $
+#
+# This file is included by netbsd-compat.mk in the emulator framework.
+#
+# Variables set by this file:
+#
+# EMUL_DISTRO
+# The NetBSD distribution used to provide the files.
+#
+# EMUL_EXEC_FMT
+# The executable format of the emulated operating system.
+#
+# EMULSUBDIR
+# Path relative to ${PREFIX} where the files and directories are
+# located, e.g. emul/aout.
+#
+# OPSYS_EMULDIR
+# Path through which the platform expects to find a "chroot"
+# installation of the files and directories, e.g. /emul/aout.
+#
+# DEPENDS_${EMUL_DISTRO}.*
+# A table that maps "modules" to NetBSD package dependencies.
+#
+
+EMUL_DISTRO= netbsd-1.2
+
+# i386 and sparc switched from a.out to ELF post-1.4.
+# arm, m68k and vax switched from a.out to ELF post-1.5.
+# ns32k never switched from a.out.
+#
+.if (${EMUL_ARCH} == "arm") || (${EMUL_ARCH} == "i386") || \
+ (${EMUL_ARCH} == "m68k") || (${EMUL_ARCH} == "ns32k") || \
+ (${EMUL_ARCH} == "sparc") || (${EMUL_ARCH} == "vax")
+EMUL_EXEC_FMT= a.out
+.else
+EMUL_EXEC_FMT= ELF
+.endif
+
+.if (${NATIVE_EXEC_FMT} == "ELF") && (${EMUL_EXEC_FMT} == "a.out")
+EMULSUBDIR= emul/aout
+OPSYS_EMULDIR= ${_OPSYS_EMULDIR.aout}
+.else
+EMULSUBDIR= emul/netbsd
+OPSYS_EMULDIR= ${_OPSYS_EMULDIR.netbsd}
+.endif
+
+# We need a dependency only for NetBSD>=1.3.
+.if empty(OS_VERSION:M0.[0-9]*) && empty(OS_VERSION:M1.[0-1]*) && \
+ empty(OS_VERSION:M1.2) && empty(OS_VERSION:M1.2.*)
+DEPENDS_netbsd-1.2.base?= compat12>=1.2:../../emulators/compat12
+.endif
View
21 emulators/compat13/DEINSTALL
@@ -1,21 +0,0 @@
-# $NetBSD: DEINSTALL,v 1.2 2003/08/30 18:57:03 jlam Exp $
-
-case ${STAGE} in
-POST-DEINSTALL)
- MACHINE_ARCH=@MACHINE_ARCH@
- COMPAT_LIBDIR=@COMPAT_LIBDIR@
-
- if [ "${MACHINE_ARCH}" = "mipsel" ]
- then
- ${RM} -f ${PKG_PREFIX}/libexec/ld.so
- ${RMDIR} -p ${PKG_PREFIX}/libexec 2>/dev/null || ${TRUE}
- fi
-
- ${RMDIR} -p ${PKG_PREFIX}/${COMPAT_LIBDIR} 2>/dev/null || ${TRUE}
-
- # 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
View
6 emulators/compat13/DESCR
@@ -1,4 +1,2 @@
-This package supplies the user files necessary for full compatibility with
-dynamically linked executables compiled under NetBSD 1.3. You still need
-the option COMPAT_13 in your kernel configuration (and probably others;
-see options(4) for more information) to make use of NetBSD 1.3 binaries.
+This package supplies the user files needed to run dynamically linked
+executables compiled under NetBSD 1.3.
View
55 emulators/compat13/INSTALL
@@ -1,55 +0,0 @@
-# $NetBSD: INSTALL,v 1.2 2003/08/30 18:57:03 jlam Exp $
-
-case ${STAGE} in
-POST-INSTALL)
- MACHINE_ARCH=@MACHINE_ARCH@
- OBJECT_FMT=@OBJECT_FMT@
-
- if [ "${MACHINE_ARCH}" = "mipsel" ]
- then
- ${LN} -sf ld.elf_so /usr/libexec/ld.so
- fi
-
- # Only create the symlink on certain platform/object combinations.
- #
- create_emul_symlink=0
- if [ "${OBJECT_FMT}" = "ELF" ] && \
- [ "${MACHINE_ARCH}" = "i386" -o "${MACHINE_ARCH}" = "sparc" ]
- then
- create_emul_symlink=1
- fi
-
- if [ ${create_emul_symlink} = 1 ]
- then
- # Create a symlink from /emul/aout --> ${PKG_PREFIX}/emul/out
- # 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
View
7 emulators/compat13/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2007/08/21 22:49:06 jlam Exp $
+
+The COMPAT_13 option must be included in the kernel configuration (and
+possibly others; see options(4) for more information) to make use of
+NetBSD 1.3 binaries.
+===========================================================================
View
67 emulators/compat13/Makefile
@@ -1,53 +1,32 @@
-# $NetBSD: Makefile,v 1.28 2006/10/19 19:37:38 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.29 2007/08/21 22:49:06 jlam Exp $
-DISTNAME= compat13-${MACHINE_ARCH}${PKGMINOR}
-PKGNAME= compat13-1.3.3
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_LOCAL}
+DISTNAME= compat13 # overridden below
+NETBSD_VERSION= 1.3
+PKGREVISION= 3
-MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.NetBSD.org/Releases/formal-1.3/index.html
-COMMENT= Shared libraries for NetBSD 1.3 (and earlier) compatibility
-
-ONLY_FOR_PLATFORM= NetBSD-*-alpha NetBSD-*-arm NetBSD-*-arm32 \
- NetBSD-*-i386 NetBSD-*-m68k NetBSD-*-mipsel \
- NetBSD-*-ns32k NetBSD-*-sparc
-NOT_FOR_PLATFORM= NetBSD-1.3*-*
-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+= MACHINE_ARCH=${MACHINE_ARCH:Q}
-FILES_SUBST+= OBJECT_FMT=${OBJECT_FMT:Q}
-FILES_SUBST+= LDCONFIG=${LDCONFIG:Q}
-
-.include "../../mk/bsd.prefs.mk"
-
-# This installs in /usr (or /emul/aout/usr) to avoid dynamic linker annoyances
-.if ${OBJECT_FMT} == "ELF" && \
- (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "sparc")
-EMULSUBDIR= emul/aout
-COMPAT_LIBDIR= ${EMULSUBDIR}/usr/lib
-.elif ${OPSYS} == "NetBSD"
-LOCALBASE= /usr
-COMPAT_LIBDIR= lib
-.endif
+COMMENT= Shared libraries for NetBSD 1.3 compatibility
+
+EMUL_PLATFORMS= netbsd-alpha netbsd-arm netbsd-i386 netbsd-m68k \
+ netbsd-mipsel netbsd-ns32k netbsd-sparc
+
+ONLY_FOR_PLATFORM= NetBSD-1.3[A-Z]*-* NetBSD-1.[4-9]*-* \
+ NetBSD-[2-9]*-* NetBSD-[1-9][0-9]*-*
-.if ${MACHINE_ARCH} == "alpha"
-PKGMINOR= nb1
+.include "../../emulators/compat_netbsd/Makefile.common"
+
+.if (${EMUL_PLATFORM} == "netbsd-arm")
+DISTNAME= compat13-${EMUL_ARCH}-1.3.2
.else
-PKGMINOR=
+DISTNAME= compat13-${EMUL_ARCH}-1.3.3
.endif
-PLIST_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR:Q}
-
-do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_LIBDIR}
- ${INSTALL_DATA} ${WRKDIR}/lib*.so* ${PREFIX}/${COMPAT_LIBDIR}
+# We need to depend on the compat14 package to supply shared libraries
+# missing from compat13 on NetBSD>1.4.
+#
+.if empty(OS_VERSION:M0.[0-9]*) && empty(OS_VERSION:M1.[0-3]*) && \
+ empty(OS_VERSION:M1.4) && empty(OS_VERSION:M1.4.*)
+DEPENDS+= compat14>=1.4:../../emulators/compat14
+.endif
.include "../../mk/bsd.pkg.mk"
View
5 emulators/compat13/PLIST
@@ -1,5 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:52:25 zuntum Exp $
-${COMPAT_LIBDIR}/libedit.so.1.0
-${COMPAT_LIBDIR}/libg++.so.4.0
-${COMPAT_LIBDIR}/libstdc++.so.0.1
-${COMPAT_LIBDIR}/libutil.so.4.2
View
15 emulators/compat13/PLIST.ELF
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST.ELF,v 1.1 2007/08/21 22:49:06 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libamu.so.0
+${EMULSUBDIRSLASH}usr/lib/libamu.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libbfd.so.0
+${EMULSUBDIRSLASH}usr/lib/libbfd.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libedit.so.1
+${EMULSUBDIRSLASH}usr/lib/libedit.so.1.0
+${EMULSUBDIRSLASH}usr/lib/libg++.so.4
+${EMULSUBDIRSLASH}usr/lib/libg++.so.4.0
+${EMULSUBDIRSLASH}usr/lib/libstdc++.so.0
+${EMULSUBDIRSLASH}usr/lib/libstdc++.so.0.1
+${EMULSUBDIRSLASH}usr/lib/libutil.so.4
+${EMULSUBDIRSLASH}usr/lib/libutil.so.4.2
+@dirrm ${EMULSUBDIRSLASH}usr/lib
+@dirrm ${EMULSUBDIRSLASH}usr
View
8 emulators/compat13/PLIST.a.out
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST.a.out,v 1.1 2007/08/21 22:49:06 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libamu.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libedit.so.1.0
+${EMULSUBDIRSLASH}usr/lib/libg++.so.4.0
+${EMULSUBDIRSLASH}usr/lib/libstdc++.so.0.1
+${EMULSUBDIRSLASH}usr/lib/libutil.so.4.2
+@dirrm ${EMULSUBDIRSLASH}usr/lib
+@dirrm ${EMULSUBDIRSLASH}usr
View
3  emulators/compat13/PLIST.alpha
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST.alpha,v 1.1 2001/10/31 23:55:50 zuntum Exp $
-${COMPAT_LIBDIR}/libcurses.so.2.1
-${COMPAT_LIBDIR}/libcurses.so.2
View
3  emulators/compat13/PLIST.i386
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.i386,v 1.1 2007/08/21 22:49:07 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libbfd.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libkvm.so.4.0
View
2  emulators/compat13/PLIST.m68k
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.m68k,v 1.1 2007/08/21 22:49:07 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libbfd.so.0.0
View
3  emulators/compat13/PLIST.mipsel
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.mipsel,v 1.1 2007/08/21 22:49:07 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libkvm.so.4
+${EMULSUBDIRSLASH}usr/lib/libkvm.so.4.0
View
2  emulators/compat13/PLIST.sparc
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.sparc,v 1.1 2007/08/21 22:49:07 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libbfd.so.0.0
View
47 emulators/compat13/distinfo
@@ -1,26 +1,23 @@
-$NetBSD: distinfo,v 1.6 2006/05/11 18:58:40 veego Exp $
+$NetBSD: distinfo,v 1.7 2007/08/21 22:49:07 jlam Exp $
-SHA1 (compat13-alphanb1.tar.gz) = 4e1fc306eb880dc3ba8a0906406da082fd6e6ca5
-RMD160 (compat13-alphanb1.tar.gz) = c09fa92bdef88fe7e5dd5ca28dfe13d0e045b840
-Size (compat13-alphanb1.tar.gz) = 478199 bytes
-SHA1 (compat13-arm.tar.gz) = 0dcae05d5ec15968665a71ab0a058f3b2a3d2f87
-RMD160 (compat13-arm.tar.gz) = 28232358015d5ab0a06ad0b5a7600426223d58b6
-Size (compat13-arm.tar.gz) = 247143 bytes
-SHA1 (compat13-arm32.tar.gz) = 0dcae05d5ec15968665a71ab0a058f3b2a3d2f87
-RMD160 (compat13-arm32.tar.gz) = 28232358015d5ab0a06ad0b5a7600426223d58b6
-Size (compat13-arm32.tar.gz) = 247143 bytes
-SHA1 (compat13-i386.tar.gz) = 4a33dd2381e790e3e71fccf4bb9f65a7d0859b9a
-RMD160 (compat13-i386.tar.gz) = e50d869813cd19bb079d8457a5b9f8e521b9e94e
-Size (compat13-i386.tar.gz) = 236494 bytes
-SHA1 (compat13-m68k.tar.gz) = a438a2d5f11106e431a8bba3061727069c5ec360
-RMD160 (compat13-m68k.tar.gz) = 6069d3e7790510eb7b6a3e543f670c9d3ecc89a2
-Size (compat13-m68k.tar.gz) = 231047 bytes
-SHA1 (compat13-mipsel.tar.gz) = 6dc5fefcd47db2d967b250ec628ac00495c35117
-RMD160 (compat13-mipsel.tar.gz) = 37b3e542dc407b21eb536effc64dd127a51a6d66
-Size (compat13-mipsel.tar.gz) = 411250 bytes
-SHA1 (compat13-ns32k.tar.gz) = 98068ed599e6ac2e79ea3ce1b7fb3df4510fc171
-RMD160 (compat13-ns32k.tar.gz) = f9f101da7df71bff97376a8aa4c0635450650f53
-Size (compat13-ns32k.tar.gz) = 223997 bytes
-SHA1 (compat13-sparc.tar.gz) = 67797480c5828792b434c5b06ab1ea02be3ad6b5
-RMD160 (compat13-sparc.tar.gz) = 0dbe2059a89039b20648bf6ca56e4df65ff66524
-Size (compat13-sparc.tar.gz) = 244099 bytes
+SHA1 (compat13-alpha-1.3.3.tar.bz2) = 86fe2ff55a7328f57937e23fe7bac0172409e34a
+RMD160 (compat13-alpha-1.3.3.tar.bz2) = 92d82b602c89abe22297330cb464fce7df543b32
+Size (compat13-alpha-1.3.3.tar.bz2) = 613383 bytes
+SHA1 (compat13-arm-1.3.2.tar.bz2) = cd36b50172be875f52e3217fd9620a56c8d2a4ab
+RMD160 (compat13-arm-1.3.2.tar.bz2) = 8d3e149d855586b604d141d01d5f98c740ba5a89
+Size (compat13-arm-1.3.2.tar.bz2) = 228628 bytes
+SHA1 (compat13-i386-1.3.3.tar.bz2) = 63d3d11db6336fb53483cc5944145c4e4591218c
+RMD160 (compat13-i386-1.3.3.tar.bz2) = a449a828a92a74fb61972f43c42caace5e798aa6
+Size (compat13-i386-1.3.3.tar.bz2) = 331383 bytes
+SHA1 (compat13-m68k-1.3.3.tar.bz2) = 85086dda93e1b7b03218f62ed98e56d61b166279
+RMD160 (compat13-m68k-1.3.3.tar.bz2) = a788e1901f5ee7f3c525910960088737b911d946
+Size (compat13-m68k-1.3.3.tar.bz2) = 345858 bytes
+SHA1 (compat13-mipsel-1.3.3.tar.bz2) = c50530683d6f0c0a11480325c355f90071865faf
+RMD160 (compat13-mipsel-1.3.3.tar.bz2) = 6aab300b2dc90f32138c38637366c5ff0f9f0cc6
+Size (compat13-mipsel-1.3.3.tar.bz2) = 598916 bytes
+SHA1 (compat13-ns32k-1.3.3.tar.bz2) = f0138bb3d0d97f0b0e288ae244a8741d2c2c02b9
+RMD160 (compat13-ns32k-1.3.3.tar.bz2) = 603ba24e38200adf2ef5b5bd1e7ed037c75f1912
+Size (compat13-ns32k-1.3.3.tar.bz2) = 313797 bytes
+SHA1 (compat13-sparc-1.3.3.tar.bz2) = 66281f29e50ce98091c8262fc25f86a6f42a5642
+RMD160 (compat13-sparc-1.3.3.tar.bz2) = fbd3731cd6155c8a125340a7233ea114b95550ec
+Size (compat13-sparc-1.3.3.tar.bz2) = 380197 bytes
View
47 emulators/compat13/emulator.mk
@@ -0,0 +1,47 @@
+# $NetBSD: emulator.mk,v 1.1 2007/08/21 22:49:07 jlam Exp $
+#
+# This file is included by netbsd-compat.mk in the emulator framework.
+#
+# Variables set by this file:
+#
+# EMUL_DISTRO
+# The NetBSD distribution used to provide the files.
+#
+# EMUL_EXEC_FMT
+# The executable format of the emulated operating system.
+#
+# EMULSUBDIR
+# Path relative to ${PREFIX} where the files and directories are
+# located, e.g. emul/aout.
+#
+# DEPENDS_${EMUL_DISTRO}.*
+# A table that maps "modules" to NetBSD package dependencies.
+#
+
+EMUL_DISTRO= netbsd-1.3
+
+# i386 and sparc switched from a.out to ELF post-1.4.
+# arm, m68k and vax switched from a.out to ELF post-1.5.
+# ns32k never switched from a.out.
+#
+.if (${EMUL_ARCH} == "arm") || (${EMUL_ARCH} == "i386") || \
+ (${EMUL_ARCH} == "m68k") || (${EMUL_ARCH} == "ns32k") || \
+ (${EMUL_ARCH} == "sparc") || (${EMUL_ARCH} == "vax")
+EMUL_EXEC_FMT= a.out
+.else
+EMUL_EXEC_FMT= ELF
+.endif
+
+.if (${NATIVE_EXEC_FMT} == "ELF") && (${EMUL_EXEC_FMT} == "a.out")
+EMULSUBDIR= emul/aout
+OPSYS_EMULDIR= ${_OPSYS_EMULDIR.aout}
+.else
+EMULSUBDIR= emul/netbsd
+OPSYS_EMULDIR= ${_OPSYS_EMULDIR.netbsd}
+.endif
+
+# We need a dependency only for NetBSD>1.3.x.
+.if empty(OS_VERSION:M0.[0-9]*) && empty(OS_VERSION:M1.[0-2]*) && \
+ empty(OS_VERSION:M1.3) && empty(OS_VERSION:M1.3.*)
+DEPENDS_netbsd-1.3.base?= compat13>=1.3:../../emulators/compat13
+.endif
View
22 emulators/compat14/DEINSTALL
@@ -1,22 +0,0 @@
-# $NetBSD: DEINSTALL,v 1.2 2003/08/30 19:02:33 jlam Exp $
-
-case ${STAGE} in
-POST-DEINSTALL)
- MACHINE_ARCH=@MACHINE_ARCH@
- COMPAT_LIBDIR=@COMPAT_LIBDIR@
- COMPAT_XLIBDIR=@COMPAT_XLIBDIR@
-
- if [ "${MACHINE_ARCH}" = "mipsel" ]
- then
- ${RM} -f ${PKG_PREFIX}/libexec/ld.so
- ${RMDIR} -p ${PKG_PREFIX}/libexec 2>/dev/null || ${TRUE}
- fi
-
- ${RMDIR} -p ${PKG_PREFIX}/${COMPAT_LIBDIR} ${PKG_PREFIX}/${COMPAT_XLIBDIR} 2>/dev/null || ${TRUE}
-
- # 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
View
7 emulators/compat14/DESCR
@@ -1,5 +1,2 @@
-This package supplies the user files necessary for full compatibility with
-dynamically linked executables compiled under NetBSD 1.4. You still need
-the option COMPAT_14 in your kernel configuration (and probably others;
-see options(4) for more information) to make use of NetBSD 1.4 binaries.
-This package includes the crypto-enabled "domestic" set libraries.
+This package supplies the user files needed to run dynamically linked
+executables compiled under NetBSD 1.4.
View
56 emulators/compat14/INSTALL
@@ -1,56 +0,0 @@
-# $NetBSD: INSTALL,v 1.2 2003/08/30 19:02:33 jlam Exp $
-
-case ${STAGE} in
-POST-INSTALL)
- MACHINE_ARCH=@MACHINE_ARCH@
- OBJECT_FMT=@OBJECT_FMT@
-
- if [ "${MACHINE_ARCH}" = "mipsel" ]
- then
- ${LN} -sf ld.elf_so /usr/libexec/ld.so
- fi
-
- # 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
- if [ "${OBJECT_FMT}" = "ELF" ] && \
- [ "${MACHINE_ARCH}" = "i386" -o "${MACHINE_ARCH}" = "sparc" ]
- then
- create_emul_symlink=1
- fi
-
- 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
View
7 emulators/compat14/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2007/08/21 22:49:08 jlam Exp $
+
+The COMPAT_14 option must be included in the kernel configuration (and
+possibly others; see options(4) for more information) to make use of
+NetBSD 1.4 binaries.
+===========================================================================
View
88 emulators/compat14/Makefile
@@ -1,59 +1,53 @@
-# $NetBSD: Makefile,v 1.20 2007/08/16 14:00:12 jlam Exp $
-#
-
-DISTNAME= compat14-crypto-${MACHINE_ARCH}-${VERSION}
-PKGNAME= compat14-${VERSION}
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_LOCAL}
+# $NetBSD: Makefile,v 1.21 2007/08/21 22:49:08 jlam Exp $
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://www.NetBSD.org/Releases/formal-1.4/index.html
-COMMENT= Shared libraries for NetBSD 1.4 (and earlier) compatibility
+DISTNAME= compat14 # overridden below
+NETBSD_VERSION= 1.4
+PKGREVISION= 2
-VERSION= 1.4.3.1
+CONFLICTS= compat14-crypto-[0-9]*
-CONFLICTS= compat14-[0-9]*
+HOMEPAGE= http://www.NetBSD.org/Releases/formal-1.4/index.html
+COMMENT= Shared libraries for NetBSD 1.4 compatibility
-ONLY_FOR_PLATFORM= NetBSD-*-sparc NetBSD-*-i386
-NOT_FOR_PLATFORM= NetBSD-1.3*-* NetBSD-1.4*-*
-NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
+EMUL_PLATFORMS= netbsd-alpha netbsd-arm netbsd-i386 netbsd-m68k \
+ netbsd-mipsel netbsd-ns32k netbsd-powerpc \
+ netbsd-sparc netbsd-vax
-CRYPTO= YES
+ONLY_FOR_PLATFORM= NetBSD-1.4[A-Z]*-* NetBSD-1.[5-9]*-* \
+ NetBSD-[2-9]*-* NetBSD-[1-9][0-9]*-*
-CHECK_SHLIBS_SUPPORTED= no
-BUILD_DIRS= # empty
+.include "../../emulators/compat_netbsd/Makefile.common"
-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}
+.if (${EMUL_PLATFORM} == "netbsd-ns32k")
+DISTNAME= compat14-${EMUL_ARCH}-1.4.2
+.elif (${EMUL_PLATFORM} == "netbsd-i386") || \
+ (${EMUL_PLATFORM} == "netbsd-sparc")
+DISTNAME= compat14-${EMUL_ARCH}-1.4.3.1
+.else
+DISTNAME= compat14-${EMUL_ARCH}-1.4.3
+.endif
-.include "../../mk/bsd.prefs.mk"
+# For COMPAT_NETBSD32, we need to depend on the compat15 package to supply
+# /usr/libexec/ld.so (either directly or indirectly) so that the a.out
+# shared libraries can be used.
+#
+.if ((${EMUL_ARCH} == "i386") && (${MACHINE_ARCH} == "x86_64")) || \
+ ((${EMUL_ARCH} == "sparc") && (${MACHINE_ARCH} == "sparc64"))
+DEPENDS+= netbsd32_compat15>=1.5:../../emulators/netbsd32_compat15
-# This installs in /usr (or /emul/aout/usr) to avoid dynamic linker annoyances
-.if ${OBJECT_FMT} == "ELF" && \
- (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "sparc")
-EMULSUBDIR= emul/aout
-COMPAT_LIBDIR= ${EMULSUBDIR}/usr/lib
-COMPAT_XLIBDIR= ${EMULSUBDIR}/usr/X11R6/lib
-.elif ${OPSYS} == "NetBSD"
-LOCALBASE= /usr
-COMPAT_LIBDIR= lib
-COMPAT_XLIBDIR= X11R6/lib
+# i386 and sparc switched from a.out to ELF after NetBSD-1.4, and
+# they don't need any other packages to supply missing a.out shared
+# libraries.
+#
+.elif (${EMUL_ARCH} == "i386") || (${EMUL_ARCH} == "sparc")
+#DEPENDS+= # no additional dependencies
+#
+# We need to depend on the compat15 package to supply shared libraries
+# missing from compat14 on NetBSD>1.5.
+#
+.elif empty(OS_VERSION:M0.[0-9]*) && empty(OS_VERSION:M1.[0-4]*) && \
+ empty(OS_VERSION:M1.5) && empty(OS_VERSION:M1.5.*)
+DEPENDS+= compat15>=1.5:../../emulators/compat15
.endif
-PLIST_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR:Q} COMPAT_XLIBDIR=${COMPAT_XLIBDIR:Q}
-
-# note that the INSTALL_DATA for the lib*.so symlinks will copy the file, not the symlink.
-# FIXME.
-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"
View
48 emulators/compat14/PLIST
@@ -1,48 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2007/08/16 14:00:12 jlam Exp $
-${COMPAT_LIBDIR}/libacl.so.2.0
-${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}/libcom_err.so.2.0
-${COMPAT_LIBDIR}/libcrypt.so.0.0
-${COMPAT_LIBDIR}/libcurses.so.2.2
-${COMPAT_LIBDIR}/libdes.so.2.0
-${COMPAT_LIBDIR}/libedit.so.2.2
-${COMPAT_LIBDIR}/libg2c.so.0.0
-${COMPAT_LIBDIR}/libgnumalloc.so.0.0
-${COMPAT_LIBDIR}/libkadm.so.2.0
-${COMPAT_LIBDIR}/libkafs.so.3.0
-${COMPAT_LIBDIR}/libkdb.so.2.0
-${COMPAT_LIBDIR}/libkrb.so.2.0
-${COMPAT_LIBDIR}/libkstream.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}/libss.so.2.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
View
15 emulators/compat14/PLIST.ELF
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST.ELF,v 1.1 2007/08/21 22:49:09 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libbfd.so.3
+${EMULSUBDIRSLASH}usr/lib/libbfd.so.3.0
+${EMULSUBDIRSLASH}usr/lib/libcurses.so.2
+${EMULSUBDIRSLASH}usr/lib/libcurses.so.2.2
+${EMULSUBDIRSLASH}usr/lib/libntp.so.0
+${EMULSUBDIRSLASH}usr/lib/libntp.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libpcap.so.0
+${EMULSUBDIRSLASH}usr/lib/libpcap.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libskey.so.0
+${EMULSUBDIRSLASH}usr/lib/libskey.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libtelnet.so.1
+${EMULSUBDIRSLASH}usr/lib/libtelnet.so.1.0
+@dirrm ${EMULSUBDIRSLASH}usr/lib
+@dirrm ${EMULSUBDIRSLASH}usr
View
9 emulators/compat14/PLIST.a.out
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST.a.out,v 1.1 2007/08/21 22:49:09 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libbfd.so.3.0
+${EMULSUBDIRSLASH}usr/lib/libcurses.so.2.2
+${EMULSUBDIRSLASH}usr/lib/libntp.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libpcap.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libskey.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libtelnet.so.1.0
+@dirrm ${EMULSUBDIRSLASH}usr/lib
+@dirrm ${EMULSUBDIRSLASH}usr
View
22 emulators/compat14/PLIST.alpha
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST.alpha,v 1.1 2007/08/21 22:49:09 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libacl.so
+${EMULSUBDIRSLASH}usr/lib/libacl.so.2
+${EMULSUBDIRSLASH}usr/lib/libacl.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libcom_err.so.2
+${EMULSUBDIRSLASH}usr/lib/libcom_err.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libdes.so.2
+${EMULSUBDIRSLASH}usr/lib/libdes.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkadm.so.2
+${EMULSUBDIRSLASH}usr/lib/libkadm.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkafs.so.3
+${EMULSUBDIRSLASH}usr/lib/libkafs.so.3.0
+${EMULSUBDIRSLASH}usr/lib/libkdb.so.2
+${EMULSUBDIRSLASH}usr/lib/libkdb.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkrb.so.2
+${EMULSUBDIRSLASH}usr/lib/libkrb.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkstream.so.0
+${EMULSUBDIRSLASH}usr/lib/libkstream.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libntp.so
+${EMULSUBDIRSLASH}usr/lib/libss.so.2
+${EMULSUBDIRSLASH}usr/lib/libss.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libtelnet.so
View
10 emulators/compat14/PLIST.arm
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST.arm,v 1.1 2007/08/21 22:49:09 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libacl.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libcom_err.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libdes.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkadm.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkafs.so.3.0
+${EMULSUBDIRSLASH}usr/lib/libkdb.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkrb.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkstream.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libss.so.2.0
View
40 emulators/compat14/PLIST.i386
@@ -1,3 +1,37 @@
-@comment $NetBSD: PLIST.i386,v 1.1 2001/10/31 23:56:39 zuntum Exp $
-${COMPAT_LIBDIR}/libi386.so.0.2
-${COMPAT_LIBDIR}/libkeycap.so.0.0
+@comment $NetBSD: PLIST.i386,v 1.2 2007/08/21 22:49:09 jlam Exp $
+${EMULSUBDIRSLASH}usr/X11R6/lib/libICE.so.6.3
+${EMULSUBDIRSLASH}usr/X11R6/lib/libPEX5.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libSM.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libX11.so.6.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXIE.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXaw.so.6.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXext.so.6.3
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXi.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXmu.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXp.so.6.2
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXt.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXtst.so.6.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/liboldX.so.6.0
+${EMULSUBDIRSLASH}usr/lib/libamu.so.1.1
+${EMULSUBDIRSLASH}usr/lib/libbz2.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libc.so.12.40.2
+${EMULSUBDIRSLASH}usr/lib/libcrypt.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libedit.so.2.2
+${EMULSUBDIRSLASH}usr/lib/libg2c.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libgnumalloc.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libi386.so.0.2
+${EMULSUBDIRSLASH}usr/lib/libkeycap.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libkvm.so.5.0
+${EMULSUBDIRSLASH}usr/lib/libm.so.0.1
+${EMULSUBDIRSLASH}usr/lib/libobjc.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libossaudio.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libposix.so.0.1
+${EMULSUBDIRSLASH}usr/lib/libresolv.so.1.0
+${EMULSUBDIRSLASH}usr/lib/libstdc++.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libtermcap.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libtermlib.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libutil.so.5.0
+${EMULSUBDIRSLASH}usr/lib/libwrap.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libz.so.0.1
+@dirrm ${EMULSUBDIRSLASH}usr/X11R6/lib
+@dirrm ${EMULSUBDIRSLASH}usr/X11R6
View
10 emulators/compat14/PLIST.m68k
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST.m68k,v 1.1 2007/08/21 22:49:09 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libacl.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libcom_err.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libdes.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkadm.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkafs.so.3.0
+${EMULSUBDIRSLASH}usr/lib/libkdb.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkrb.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkstream.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libss.so.2.0
View
2  emulators/compat14/PLIST.ns32k
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.ns32k,v 1.1 2007/08/21 22:49:10 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libkvm.so.5.0
View
22 emulators/compat14/PLIST.powerpc
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST.powerpc,v 1.1 2007/08/21 22:49:10 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libacl.so
+${EMULSUBDIRSLASH}usr/lib/libacl.so.2
+${EMULSUBDIRSLASH}usr/lib/libacl.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libcom_err.so.2
+${EMULSUBDIRSLASH}usr/lib/libcom_err.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libdes.so.2
+${EMULSUBDIRSLASH}usr/lib/libdes.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkadm.so.2
+${EMULSUBDIRSLASH}usr/lib/libkadm.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkafs.so.3
+${EMULSUBDIRSLASH}usr/lib/libkafs.so.3.0
+${EMULSUBDIRSLASH}usr/lib/libkdb.so.2
+${EMULSUBDIRSLASH}usr/lib/libkdb.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkrb.so.2
+${EMULSUBDIRSLASH}usr/lib/libkrb.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkstream.so.0
+${EMULSUBDIRSLASH}usr/lib/libkstream.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libntp.so
+${EMULSUBDIRSLASH}usr/lib/libss.so.2
+${EMULSUBDIRSLASH}usr/lib/libss.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libtelnet.so
View
35 emulators/compat14/PLIST.sparc
@@ -0,0 +1,35 @@
+@comment $NetBSD: PLIST.sparc,v 1.1 2007/08/21 22:49:10 jlam Exp $
+${EMULSUBDIRSLASH}usr/X11R6/lib/libICE.so.6.3
+${EMULSUBDIRSLASH}usr/X11R6/lib/libPEX5.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libSM.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libX11.so.6.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXIE.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXaw.so.6.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXext.so.6.3
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXi.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXmu.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXp.so.6.2
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXt.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXtst.so.6.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/liboldX.so.6.0
+${EMULSUBDIRSLASH}usr/lib/libamu.so.1.1
+${EMULSUBDIRSLASH}usr/lib/libbz2.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libc.so.12.40.2
+${EMULSUBDIRSLASH}usr/lib/libcrypt.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libedit.so.2.2
+${EMULSUBDIRSLASH}usr/lib/libg2c.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libgnumalloc.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libkvm.so.5.0
+${EMULSUBDIRSLASH}usr/lib/libm.so.0.1
+${EMULSUBDIRSLASH}usr/lib/libobjc.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libossaudio.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libposix.so.0.1
+${EMULSUBDIRSLASH}usr/lib/libresolv.so.1.0
+${EMULSUBDIRSLASH}usr/lib/libstdc++.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libtermcap.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libtermlib.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libutil.so.5.0
+${EMULSUBDIRSLASH}usr/lib/libwrap.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libz.so.0.1
+@dirrm ${EMULSUBDIRSLASH}usr/X11R6/lib
+@dirrm ${EMULSUBDIRSLASH}usr/X11R6
View
10 emulators/compat14/PLIST.vax
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST.vax,v 1.1 2007/08/21 22:49:10 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libacl.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libcom_err.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libdes.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkadm.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkafs.so.3.0
+${EMULSUBDIRSLASH}usr/lib/libkdb.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkrb.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkstream.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libss.so.2.0
View
35 emulators/compat14/distinfo
@@ -1,8 +1,29 @@
-$NetBSD: distinfo,v 1.5 2007/08/16 14:00:12 jlam Exp $
+$NetBSD: distinfo,v 1.6 2007/08/21 22:49:10 jlam Exp $
-SHA1 (compat14-crypto-i386-1.4.3.1.tar.gz) = 2b35c35de47b8c0be42813cb6e56e154e98ebfd5
-RMD160 (compat14-crypto-i386-1.4.3.1.tar.gz) = 5a28f1c5218eccd925bba73b7c9a1a2d3fd6c2b8
-Size (compat14-crypto-i386-1.4.3.1.tar.gz) = 1729167 bytes
-SHA1 (compat14-crypto-sparc-1.4.3.1.tar.gz) = 41d5937f5e1f40193c6363a9978fe6373d43e679
-RMD160 (compat14-crypto-sparc-1.4.3.1.tar.gz) = bbe9bcbf05328cb9829d192ef6a0be1479b9cdbe
-Size (compat14-crypto-sparc-1.4.3.1.tar.gz) = 1921545 bytes
+SHA1 (compat14-alpha-1.4.3.tar.bz2) = bfe5677223ce346a9ef583ebaf27d41c03b0d577
+RMD160 (compat14-alpha-1.4.3.tar.bz2) = 9d10e1f6a18c0f0846758d80ae0108290d4de4a2
+Size (compat14-alpha-1.4.3.tar.bz2) = 469926 bytes
+SHA1 (compat14-arm-1.4.3.tar.bz2) = cf9f841972fba1fe48560cfdb1fc7b537e78ae7a
+RMD160 (compat14-arm-1.4.3.tar.bz2) = 36d467e1c736f69fc3a093a30c516e037826fcb5
+Size (compat14-arm-1.4.3.tar.bz2) = 261806 bytes
+SHA1 (compat14-i386-1.4.3.1.tar.bz2) = fca6b404fdf9eab8aad38dd1448ee0c346dcfe63
+RMD160 (compat14-i386-1.4.3.1.tar.bz2) = 3b1efa8a32c63b185ff23bbc667382ebd92d7c27
+Size (compat14-i386-1.4.3.1.tar.bz2) = 1625949 bytes
+SHA1 (compat14-m68k-1.4.3.tar.bz2) = d9df93aff85bcc24f82771424371c93447e55772
+RMD160 (compat14-m68k-1.4.3.tar.bz2) = 4cba150c156f515d136061f968d8179bce3a7cd0
+Size (compat14-m68k-1.4.3.tar.bz2) = 300752 bytes
+SHA1 (compat14-mipsel-1.4.3.tar.bz2) = cbd5a56df55c117287f8094419ad481ce5068d98
+RMD160 (compat14-mipsel-1.4.3.tar.bz2) = 9699bfefdb68e454f256435d9e4589d8ac134a09
+Size (compat14-mipsel-1.4.3.tar.bz2) = 359349 bytes
+SHA1 (compat14-ns32k-1.4.2.tar.bz2) = db5c562004e04430866c54e3f1af668e83b907c0
+RMD160 (compat14-ns32k-1.4.2.tar.bz2) = cbf09ecb80c69b9d2c46dfd87415a09ea940f73b
+Size (compat14-ns32k-1.4.2.tar.bz2) = 176515 bytes
+SHA1 (compat14-powerpc-1.4.3.tar.bz2) = 1916b8cbbc1532403c1b4792917fe2d0f1a4eab0
+RMD160 (compat14-powerpc-1.4.3.tar.bz2) = 0d840651e87541eabb855083f6471d7e1ec7d1a9
+Size (compat14-powerpc-1.4.3.tar.bz2) = 329221 bytes
+SHA1 (compat14-sparc-1.4.3.1.tar.bz2) = 957a5d6d9984e7fc88456fab6ba70284dd96f93c
+RMD160 (compat14-sparc-1.4.3.1.tar.bz2) = d2a4cf9a3a23578861ffb86b8b49312e92da0a90
+Size (compat14-sparc-1.4.3.1.tar.bz2) = 1761570 bytes
+SHA1 (compat14-vax-1.4.3.tar.bz2) = 7fdcc0a40e67d3e0039d2ab56f82a6c9a0d5c6cd
+RMD160 (compat14-vax-1.4.3.tar.bz2) = 72660922b00f791410462217afdf7c37b6b1581d
+Size (compat14-vax-1.4.3.tar.bz2) = 501646 bytes
View
47 emulators/compat14/emulator.mk
@@ -0,0 +1,47 @@
+# $NetBSD: emulator.mk,v 1.1 2007/08/21 22:49:10 jlam Exp $
+#
+# This file is included by netbsd-compat.mk in the emulator framework.
+#
+# Variables set by this file:
+#
+# EMUL_DISTRO
+# The NetBSD distribution used to provide the files.
+#
+# EMUL_EXEC_FMT
+# The executable format of the emulated operating system.
+#
+# EMULSUBDIR
+# Path relative to ${PREFIX} where the files and directories are
+# located, e.g. emul/aout.
+#
+# DEPENDS_${EMUL_DISTRO}.*
+# A table that maps "modules" to NetBSD package dependencies.
+#
+
+EMUL_DISTRO= netbsd-1.4
+
+# i386 and sparc switched from a.out to ELF post-1.4.
+# arm, m68k and vax switched from a.out to ELF post-1.5.
+# ns32k never switched from a.out.
+#
+.if (${EMUL_ARCH} == "arm") || (${EMUL_ARCH} == "i386") || \
+ (${EMUL_ARCH} == "m68k") || (${EMUL_ARCH} == "ns32k") || \
+ (${EMUL_ARCH} == "sparc") || (${EMUL_ARCH} == "vax")
+EMUL_EXEC_FMT= a.out
+.else
+EMUL_EXEC_FMT= ELF
+.endif
+
+.if (${NATIVE_EXEC_FMT} == "ELF") && (${EMUL_EXEC_FMT} == "a.out")
+EMULSUBDIR= emul/aout
+OPSYS_EMULDIR= ${_OPSYS_EMULDIR.aout}
+.else
+EMULSUBDIR= emul/netbsd
+OPSYS_EMULDIR= ${_OPSYS_EMULDIR.netbsd}
+.endif
+
+# We need a dependency only for NetBSD>1.4.x.
+.if empty(OS_VERSION:M0.[0-9]*) && empty(OS_VERSION:M1.[0-3]*) && \
+ empty(OS_VERSION:M1.4) && empty(OS_VERSION:M1.4.*)
+DEPENDS_netbsd-1.4.base?= compat14>=1.4:../../emulators/compat14
+.endif
View
4 emulators/compat15-extras/DESCR
@@ -0,0 +1,4 @@
+This package supplies the extra user files needed to run dynamically
+linked executables compiled under NetBSD 1.5, including user files
+that might be found in NetBSD versions beyond 1.5 that are missing
+from the pkgsrc/emulators/compat15 package.
View
24 emulators/compat15-extras/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2007/08/21 22:49:13 jlam Exp $
+
+DISTNAME= compat15-extras # overridden below
+NETBSD_VERSION= 1.5
+
+HOMEPAGE= http://www.NetBSD.org/Releases/formal-1.5/index.html
+COMMENT= Additional shared libraries for NetBSD 1.5 compatibility
+
+EMUL_PLATFORMS= netbsd-i386 netbsd-sparc
+
+.include "../../emulators/compat_netbsd/Makefile.common"
+
+DISTNAME= compat15-extras-${EMUL_ARCH}-1.5.3
+
+# This package should only be installed for COMPAT_NETBSD32 emulation
+# on machines running NetBSD-1.5.
+#
+.if defined(NETBSD_COMPAT32)
+ACCEPTABLE_NETBSD= NetBSD-1.4[A-Z]* NetBSD-1.5 NetBSD-1.5.*
+.else
+NOT_FOR_PLATFORM= NetBSD-*-${MACHINE_ARCH}
+.endif
+
+.include "../../mk/bsd.pkg.mk"
View
62 emulators/compat15-extras/PLIST
@@ -0,0 +1,62 @@
+@comment $NetBSD: PLIST,v 1.1 2007/08/21 22:49:14 jlam Exp $
+${EMULSUBDIRSLASH}usr/X11R6/lib/libICE.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libICE.so.6.3
+${EMULSUBDIRSLASH}usr/X11R6/lib/libSM.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libSM.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libX11.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libX11.so.6.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXaw.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXaw.so.6.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXext.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXext.so.6.3
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXi.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXi.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXmu.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXmu.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXp.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXp.so.6.2
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXt.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXt.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXtst.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXtst.so.6.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/liboldX.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/liboldX.so.6.0
+${EMULSUBDIRSLASH}usr/lib/libc.so.12
+${EMULSUBDIRSLASH}usr/lib/libc.so.12.62.1
+${EMULSUBDIRSLASH}usr/lib/libcrypt.so.0
+${EMULSUBDIRSLASH}usr/lib/libcrypt.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libedit.so.2
+${EMULSUBDIRSLASH}usr/lib/libedit.so.2.3
+${EMULSUBDIRSLASH}usr/lib/libgnumalloc.so.0
+${EMULSUBDIRSLASH}usr/lib/libgnumalloc.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libipsec.so.2
+${EMULSUBDIRSLASH}usr/lib/libipsec.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkvm.so.5
+${EMULSUBDIRSLASH}usr/lib/libkvm.so.5.1
+${EMULSUBDIRSLASH}usr/lib/libm.so.0
+${EMULSUBDIRSLASH}usr/lib/libm.so.0.1
+${EMULSUBDIRSLASH}usr/lib/libossaudio.so.0
+${EMULSUBDIRSLASH}usr/lib/libossaudio.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libpcap.so.1
+${EMULSUBDIRSLASH}usr/lib/libpcap.so.1.1
+${EMULSUBDIRSLASH}usr/lib/libposix.so.0
+${EMULSUBDIRSLASH}usr/lib/libposix.so.0.1
+${EMULSUBDIRSLASH}usr/lib/libresolv.so.1
+${EMULSUBDIRSLASH}usr/lib/libresolv.so.1.0
+${EMULSUBDIRSLASH}usr/lib/libskey.so.1
+${EMULSUBDIRSLASH}usr/lib/libskey.so.1.0
+${EMULSUBDIRSLASH}usr/lib/libtermcap.so.0
+${EMULSUBDIRSLASH}usr/lib/libtermcap.so.0.4
+${EMULSUBDIRSLASH}usr/lib/libtermlib.so.0
+${EMULSUBDIRSLASH}usr/lib/libtermlib.so.0.4
+${EMULSUBDIRSLASH}usr/lib/libwrap.so.0
+${EMULSUBDIRSLASH}usr/lib/libwrap.so.0.2
+${EMULSUBDIRSLASH}usr/lib/libz.so.0
+${EMULSUBDIRSLASH}usr/lib/libz.so.0.2
+${EMULSUBDIRSLASH}usr/libexec/ld.elf_so
+${EMULSUBDIRSLASH}usr/libexec/ld.so
+@dirrm ${EMULSUBDIRSLASH}usr/libexec
+@dirrm ${EMULSUBDIRSLASH}usr/lib
+@dirrm ${EMULSUBDIRSLASH}usr/X11R6/lib
+@dirrm ${EMULSUBDIRSLASH}usr/X11R6
+@dirrm ${EMULSUBDIRSLASH}usr
View
7 emulators/compat15-extras/PLIST.i386
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST.i386,v 1.1 2007/08/21 22:49:14 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libi386.so
+${EMULSUBDIRSLASH}usr/lib/libi386.so.0
+${EMULSUBDIRSLASH}usr/lib/libi386.so.0.2
+${EMULSUBDIRSLASH}usr/lib/libm387.so
+${EMULSUBDIRSLASH}usr/lib/libm387.so.0
+${EMULSUBDIRSLASH}usr/lib/libm387.so.0.0
View
5 emulators/compat15-extras/PLIST.sparc
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST.sparc,v 1.1 2007/08/21 22:49:14 jlam Exp $
+${EMULSUBDIRSLASH}usr/X11R6/lib/libPEX5.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libPEX5.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXIE.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXIE.so.6.0
View
8 emulators/compat15-extras/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2007/08/21 22:49:14 jlam Exp $
+
+SHA1 (compat15-extras-i386-1.5.3.tar.bz2) = 173494b4a4b8fd6d3092166d6a4c6584aff217ad
+RMD160 (compat15-extras-i386-1.5.3.tar.bz2) = 8451dd563e19a53a41a3788c8c35b2d75c038cfa
+Size (compat15-extras-i386-1.5.3.tar.bz2) = 1213791 bytes
+SHA1 (compat15-extras-sparc-1.5.3.tar.bz2) = 671d77c3ef09786643952b0b642abe4d7d0aa829
+RMD160 (compat15-extras-sparc-1.5.3.tar.bz2) = 8f6121486a493c57945d031601b951a39d7d7d47
+Size (compat15-extras-sparc-1.5.3.tar.bz2) = 1423867 bytes
View
2  emulators/compat15/DESCR
@@ -0,0 +1,2 @@
+This package supplies the user files needed to run dynamically linked
+executables compiled under NetBSD 1.5.
View
7 emulators/compat15/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2007/08/21 22:49:11 jlam Exp $
+
+The COMPAT_15 option must be included in the kernel configuration (and
+possibly others; see options(4) for more information) to make use of
+NetBSD 1.5 binaries.
+===========================================================================
View
64 emulators/compat15/Makefile
@@ -0,0 +1,64 @@
+# $NetBSD: Makefile,v 1.1 2007/08/21 22:49:11 jlam Exp $
+
+DISTNAME= compat15 # overridden below
+NETBSD_VERSION= 1.5
+
+HOMEPAGE= http://www.NetBSD.org/Releases/formal-1.5/index.html
+COMMENT= Shared libraries for NetBSD 1.5 compatibility
+
+.if defined(NETBSD_COMPAT32)
+EMUL_PLATFORMS= netbsd-i386 netbsd-sparc
+
+ACCEPTABLE_NETBSD= NetBSD-1.4[A-Z]* NetBSD-1.5 NetBSD-1.5.* \
+ NetBSD-1.5[A-Z]* NetBSD-1.[6-9]* NetBSD-[2-9]* \
+ NetBSD-[1-9][0-9]*
+.else
+EMUL_PLATFORMS= netbsd-alpha netbsd-arm netbsd-i386 netbsd-m68k \
+ netbsd-mipsel netbsd-ns32k netbsd-powerpc \
+ netbsd-sparc netbsd-sparc64 netbsd-vax
+
+ONLY_FOR_PLATFORM= NetBSD-1.5[A-Z]*-* NetBSD-1.[6-9]*-* \
+ NetBSD-[2-9]*-* NetBSD-[1-9][0-9]*-*
+.endif
+
+.include "../../emulators/compat_netbsd/Makefile.common"
+
+.if (${EMUL_PLATFORM} == "netbsd-sparc64")
+DISTNAME= compat15-${EMUL_ARCH}-1.5.2
+.else
+DISTNAME= compat15-${EMUL_ARCH}-${COMPAT_VERSION}
+.endif
+COMPAT_VERSION= 1.5.3
+
+# For COMPAT_NETBSD32, we need to depend on the compat15-extras package
+# on NetBSD-1.5 to supply the missing shared libraries; otherwise, we
+# just depend on the compat16 for the missing shared libraries.
+#
+.if defined(NETBSD_COMPAT32)
+COMPAT_EXTRAS= # empty
+. for _netbsd_ in ${ACCEPTABLE_NETBSD}
+COMPAT_EXTRAS= netbsd32_compat15-extras-${COMPAT_VERSION}{,nb*}:../../emulators/netbsd32_compat15-extras
+. endfor
+. if !empty(COMPAT_EXTRAS)
+DEPENDS+= ${COMPAT_EXTRAS}
+. else
+DEPENDS+= netbsd32_compat16>=1.6:../../emulators/netbsd32_compat16
+. endif
+#
+# arm, m68k and vax switched from a.out to ELF after NetBSD-1.5, and
+# they don't need any other packages to supply missing a.out shared
+# libraries.
+#
+.elif (${EMUL_ARCH} == "arm") || (${EMUL_ARCH} == "m68k") || \
+ (${EMUL_ARCH} == "vax")
+#DEPENDS+= # no additional dependencies
+#
+# We need to depend on the compat16 package to supply shared libraries
+# missing from compat15 on NetBSD>1.6.
+#
+.elif empty(OS_VERSION:M0.[0-9]*) && empty(OS_VERSION:M1.[0-5]*) && \
+ empty(OS_VERSION:M1.6) && empty(OS_VERSION:M1.6.*)
+DEPENDS+= compat16>=1.6:../../emulators/compat16
+.endif
+
+.include "../../mk/bsd.pkg.mk"
View
53 emulators/compat15/PLIST.ELF
@@ -0,0 +1,53 @@
+@comment $NetBSD: PLIST.ELF,v 1.1 2007/08/21 22:49:11 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libamu.so.1
+${EMULSUBDIRSLASH}usr/lib/libamu.so.1.1
+${EMULSUBDIRSLASH}usr/lib/libasn1.so.4
+${EMULSUBDIRSLASH}usr/lib/libasn1.so.4.0
+${EMULSUBDIRSLASH}usr/lib/libbz2.so.0
+${EMULSUBDIRSLASH}usr/lib/libbz2.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libcom_err.so.3
+${EMULSUBDIRSLASH}usr/lib/libcom_err.so.3.1
+${EMULSUBDIRSLASH}usr/lib/libcrypto.so.0
+${EMULSUBDIRSLASH}usr/lib/libcrypto.so.0.2
+${EMULSUBDIRSLASH}usr/lib/libcurses.so.3
+${EMULSUBDIRSLASH}usr/lib/libcurses.so.3.6
+${EMULSUBDIRSLASH}usr/lib/libdes.so.5
+${EMULSUBDIRSLASH}usr/lib/libdes.so.5.1
+${EMULSUBDIRSLASH}usr/lib/libgssapi.so.3
+${EMULSUBDIRSLASH}usr/lib/libgssapi.so.3.0
+${EMULSUBDIRSLASH}usr/lib/libhdb.so.7
+${EMULSUBDIRSLASH}usr/lib/libhdb.so.7.0
+${EMULSUBDIRSLASH}usr/lib/libkadm.so.4
+${EMULSUBDIRSLASH}usr/lib/libkadm.so.4.0
+${EMULSUBDIRSLASH}usr/lib/libkadm5clnt.so.6
+${EMULSUBDIRSLASH}usr/lib/libkadm5clnt.so.6.1
+${EMULSUBDIRSLASH}usr/lib/libkadm5srv.so.7
+${EMULSUBDIRSLASH}usr/lib/libkadm5srv.so.7.1
+${EMULSUBDIRSLASH}usr/lib/libkafs.so.4
+${EMULSUBDIRSLASH}usr/lib/libkafs.so.4.1
+${EMULSUBDIRSLASH}usr/lib/libkdb.so.4
+${EMULSUBDIRSLASH}usr/lib/libkdb.so.4.0
+${EMULSUBDIRSLASH}usr/lib/libkrb.so.4
+${EMULSUBDIRSLASH}usr/lib/libkrb.so.4.0
+${EMULSUBDIRSLASH}usr/lib/libkrb5.so.15
+${EMULSUBDIRSLASH}usr/lib/libkrb5.so.15.0
+${EMULSUBDIRSLASH}usr/lib/libkstream.so.1
+${EMULSUBDIRSLASH}usr/lib/libkstream.so.1.0
+${EMULSUBDIRSLASH}usr/lib/libmenu.so.1
+${EMULSUBDIRSLASH}usr/lib/libmenu.so.1.0
+${EMULSUBDIRSLASH}usr/lib/libroken.so.11
+${EMULSUBDIRSLASH}usr/lib/libroken.so.11.0
+${EMULSUBDIRSLASH}usr/lib/libsl.so.1
+${EMULSUBDIRSLASH}usr/lib/libsl.so.1.1
+${EMULSUBDIRSLASH}usr/lib/libss.so.3
+${EMULSUBDIRSLASH}usr/lib/libss.so.3.1
+${EMULSUBDIRSLASH}usr/lib/libssl.so.1
+${EMULSUBDIRSLASH}usr/lib/libssl.so.1.0
+${EMULSUBDIRSLASH}usr/lib/libtelnet.so.3
+${EMULSUBDIRSLASH}usr/lib/libtelnet.so.3.1
+${EMULSUBDIRSLASH}usr/lib/libusb.so.0
+${EMULSUBDIRSLASH}usr/lib/libusb.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libutil.so.5
+${EMULSUBDIRSLASH}usr/lib/libutil.so.5.2.1
+@dirrm ${EMULSUBDIRSLASH}usr/lib
+@dirrm ${EMULSUBDIRSLASH}usr
View
47 emulators/compat15/PLIST.a.out
@@ -0,0 +1,47 @@
+@comment $NetBSD: PLIST.a.out,v 1.1 2007/08/21 22:49:11 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libamu.so.1.1
+${EMULSUBDIRSLASH}usr/lib/libasn1.so.4.0
+${EMULSUBDIRSLASH}usr/lib/libbz2.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libc.so.12.62.1
+${EMULSUBDIRSLASH}usr/lib/libcom_err.so.3.1
+${EMULSUBDIRSLASH}usr/lib/libcrypt.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libcrypto.so.0.2
+${EMULSUBDIRSLASH}usr/lib/libcurses.so.3.6
+${EMULSUBDIRSLASH}usr/lib/libdes.so.5.1
+${EMULSUBDIRSLASH}usr/lib/libedit.so.2.3
+${EMULSUBDIRSLASH}usr/lib/libg2c.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libgnumalloc.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libgssapi.so.3.0
+${EMULSUBDIRSLASH}usr/lib/libhdb.so.7.0
+${EMULSUBDIRSLASH}usr/lib/libipsec.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkadm.so.4.0
+${EMULSUBDIRSLASH}usr/lib/libkadm5clnt.so.6.1
+${EMULSUBDIRSLASH}usr/lib/libkadm5srv.so.7.1
+${EMULSUBDIRSLASH}usr/lib/libkafs.so.4.1
+${EMULSUBDIRSLASH}usr/lib/libkdb.so.4.0
+${EMULSUBDIRSLASH}usr/lib/libkrb.so.4.0
+${EMULSUBDIRSLASH}usr/lib/libkrb5.so.15.0
+${EMULSUBDIRSLASH}usr/lib/libkstream.so.1.0
+${EMULSUBDIRSLASH}usr/lib/libkvm.so.5.1
+${EMULSUBDIRSLASH}usr/lib/libm.so.0.1
+${EMULSUBDIRSLASH}usr/lib/libmenu.so.1.0
+${EMULSUBDIRSLASH}usr/lib/libobjc.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libossaudio.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libpcap.so.1.1
+${EMULSUBDIRSLASH}usr/lib/libposix.so.0.1
+${EMULSUBDIRSLASH}usr/lib/libresolv.so.1.0
+${EMULSUBDIRSLASH}usr/lib/libroken.so.11.0
+${EMULSUBDIRSLASH}usr/lib/libskey.so.1.0
+${EMULSUBDIRSLASH}usr/lib/libsl.so.1.1
+${EMULSUBDIRSLASH}usr/lib/libss.so.3.1
+${EMULSUBDIRSLASH}usr/lib/libssl.so.1.0
+${EMULSUBDIRSLASH}usr/lib/libstdc++.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libtelnet.so.3.1
+${EMULSUBDIRSLASH}usr/lib/libtermcap.so.0.4
+${EMULSUBDIRSLASH}usr/lib/libtermlib.so.0.4
+${EMULSUBDIRSLASH}usr/lib/libusb.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libutil.so.5.2.1
+${EMULSUBDIRSLASH}usr/lib/libwrap.so.0.2
+${EMULSUBDIRSLASH}usr/lib/libz.so.0.2
+@dirrm ${EMULSUBDIRSLASH}usr/lib
+@dirrm ${EMULSUBDIRSLASH}usr
View
8 emulators/compat15/PLIST.alpha
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST.alpha,v 1.1 2007/08/21 22:49:11 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libg2c.so.0
+${EMULSUBDIRSLASH}usr/lib/libg2c.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libobjc.so.0
+${EMULSUBDIRSLASH}usr/lib/libobjc.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libstdc++.so.2
+${EMULSUBDIRSLASH}usr/lib/libstdc++.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libutil.so.5.2.1
View
17 emulators/compat15/PLIST.arm
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST.arm,v 1.1 2007/08/21 22:49:11 jlam Exp $
+${EMULSUBDIRSLASH}usr/X11R6/lib/libICE.so.6.3
+${EMULSUBDIRSLASH}usr/X11R6/lib/libPEX5.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libSM.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libX11.so.6.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXIE.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXaw.so.6.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXext.so.6.3
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXi.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXmu.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXp.so.6.2
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXt.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXtst.so.6.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/liboldX.so.6.0
+${EMULSUBDIRSLASH}usr/lib/libarm32.so.0.0
+@dirrm ${EMULSUBDIRSLASH}usr/X11R6/lib
+@dirrm ${EMULSUBDIRSLASH}usr/X11R6
View
14 emulators/compat15/PLIST.i386
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST.i386,v 1.1 2007/08/21 22:49:12 jlam Exp $
+${EMULSUBDIRSLASH}usr/X11R6/lib/libPEX5.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libPEX5.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXIE.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXIE.so.6.0
+${EMULSUBDIRSLASH}usr/lib/libg2c.so.0
+${EMULSUBDIRSLASH}usr/lib/libg2c.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libobjc.so.0
+${EMULSUBDIRSLASH}usr/lib/libobjc.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libstdc++.so.2
+${EMULSUBDIRSLASH}usr/lib/libstdc++.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libutil.so.5.2.1
+@dirrm ${EMULSUBDIRSLASH}usr/X11R6/lib
+@dirrm ${EMULSUBDIRSLASH}usr/X11R6
View
17 emulators/compat15/PLIST.m68k
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST.m68k,v 1.1 2007/08/21 22:49:12 jlam Exp $
+${EMULSUBDIRSLASH}usr/X11R6/lib/libICE.so.6.3
+${EMULSUBDIRSLASH}usr/X11R6/lib/libPEX5.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libSM.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libX11.so.6.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXIE.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXaw.so.6.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXext.so.6.3
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXi.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXmu.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXp.so.6.2
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXt.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXtst.so.6.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/liboldX.so.6.0
+${EMULSUBDIRSLASH}usr/lib/libm68k.so.0.0
+@dirrm ${EMULSUBDIRSLASH}usr/X11R6/lib
+@dirrm ${EMULSUBDIRSLASH}usr/X11R6
View
8 emulators/compat15/PLIST.mipsel
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST.mipsel,v 1.1 2007/08/21 22:49:12 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libg2c.so.0
+${EMULSUBDIRSLASH}usr/lib/libg2c.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libobjc.so.0
+${EMULSUBDIRSLASH}usr/lib/libobjc.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libstdc++.so.2
+${EMULSUBDIRSLASH}usr/lib/libstdc++.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libutil.so.5.2.1
View
14 emulators/compat15/PLIST.powerpc
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST.powerpc,v 1.1 2007/08/21 22:49:12 jlam Exp $
+${EMULSUBDIRSLASH}usr/X11R6/lib/libPEX5.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libPEX5.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXIE.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXIE.so.6.0
+${EMULSUBDIRSLASH}usr/lib/libg2c.so.0
+${EMULSUBDIRSLASH}usr/lib/libg2c.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libobjc.so.0
+${EMULSUBDIRSLASH}usr/lib/libobjc.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libstdc++.so.2
+${EMULSUBDIRSLASH}usr/lib/libstdc++.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libutil.so.5.2.1
+@dirrm ${EMULSUBDIRSLASH}usr/X11R6/lib
+@dirrm ${EMULSUBDIRSLASH}usr/X11R6
View
8 emulators/compat15/PLIST.sparc
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST.sparc,v 1.1 2007/08/21 22:49:12 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libg2c.so.0
+${EMULSUBDIRSLASH}usr/lib/libg2c.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libobjc.so.0
+${EMULSUBDIRSLASH}usr/lib/libobjc.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libstdc++.so.2
+${EMULSUBDIRSLASH}usr/lib/libstdc++.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libutil.so.5.2.1
View
2  emulators/compat15/PLIST.sparc64
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.sparc64,v 1.1 2007/08/21 22:49:12 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libutil.so.5.2
View
16 emulators/compat15/PLIST.vax
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST.vax,v 1.1 2007/08/21 22:49:13 jlam Exp $
+${EMULSUBDIRSLASH}usr/X11R6/lib/libICE.so.6.3
+${EMULSUBDIRSLASH}usr/X11R6/lib/libPEX5.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libSM.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libX11.so.6.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXIE.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXaw.so.6.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXext.so.6.3
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXi.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXmu.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXp.so.6.2
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXt.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXtst.so.6.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/liboldX.so.6.0
+@dirrm ${EMULSUBDIRSLASH}usr/X11R6/lib
+@dirrm ${EMULSUBDIRSLASH}usr/X11R6
View
32 emulators/compat15/distinfo
@@ -0,0 +1,32 @@
+$NetBSD: distinfo,v 1.1 2007/08/21 22:49:13 jlam Exp $
+
+SHA1 (compat15-alpha-1.5.3.tar.bz2) = 42b28c846a90126d5c994286dcfcde91d0b0e91b
+RMD160 (compat15-alpha-1.5.3.tar.bz2) = 7a93ac1f755f3e9702a9950531fc72bbc597e2e5
+Size (compat15-alpha-1.5.3.tar.bz2) = 1412510 bytes
+SHA1 (compat15-arm-1.5.3.tar.bz2) = 8276b2566993085d4c12f8fa4ebbb0fa7f3354e1
+RMD160 (compat15-arm-1.5.3.tar.bz2) = 092dcf5df1f6a2c4451c5adf82011d596584521d
+Size (compat15-arm-1.5.3.tar.bz2) = 2738008 bytes
+SHA1 (compat15-i386-1.5.3.tar.bz2) = 96cc83cccd046c6698012d704327a5deda9d740a
+RMD160 (compat15-i386-1.5.3.tar.bz2) = c1caaeadf8045128fce54294ae09d34dd03c8535
+Size (compat15-i386-1.5.3.tar.bz2) = 1008025 bytes
+SHA1 (compat15-m68k-1.5.3.tar.bz2) = ee4e095c3673a8fcf39d38540b70083a37b54f71
+RMD160 (compat15-m68k-1.5.3.tar.bz2) = 081fa60c92926d3105579cfbcf89b2720f1c2d10
+Size (compat15-m68k-1.5.3.tar.bz2) = 2183410 bytes
+SHA1 (compat15-mipsel-1.5.3.tar.bz2) = 4d3f22df172ef223d1fe66bb478cc9d223943de0
+RMD160 (compat15-mipsel-1.5.3.tar.bz2) = d7be8fb7190f4c1eab40bc5164bf5bd6dd319e18
+Size (compat15-mipsel-1.5.3.tar.bz2) = 1307378 bytes
+SHA1 (compat15-ns32k-1.5.3.tar.bz2) = 1ad38e67dcab726dcd61d15220a6c47fa2001045
+RMD160 (compat15-ns32k-1.5.3.tar.bz2) = ab3be90a62a84c8ec4b47b307026ee3b4a7932c4
+Size (compat15-ns32k-1.5.3.tar.bz2) = 1524809 bytes
+SHA1 (compat15-powerpc-1.5.3.tar.bz2) = 577b0de89fc2db4117273bab13e91928e8f31fd3
+RMD160 (compat15-powerpc-1.5.3.tar.bz2) = 061cedfef2e28c10a07ab401519934494c9d3f4c
+Size (compat15-powerpc-1.5.3.tar.bz2) = 1055544 bytes
+SHA1 (compat15-sparc-1.5.3.tar.bz2) = e72764d9ee1ac4795497b3b24505f19f46c98418
+RMD160 (compat15-sparc-1.5.3.tar.bz2) = e2c320d8dedb42cad978029e0a69f3574f5fdfaa
+Size (compat15-sparc-1.5.3.tar.bz2) = 965134 bytes
+SHA1 (compat15-sparc64-1.5.2.tar.bz2) = 502d94a8be4d0939f3e8bc55a09b99bbe92f5a72
+RMD160 (compat15-sparc64-1.5.2.tar.bz2) = 50d126dc6213c02687aaf7dcb16a7e3236c82b34
+Size (compat15-sparc64-1.5.2.tar.bz2) = 760818 bytes
+SHA1 (compat15-vax-1.5.3.tar.bz2) = 56786b222e22be8230224da66e4b12da0759c4cc
+RMD160 (compat15-vax-1.5.3.tar.bz2) = d402595ce921bf50fa9b0d63ec5ed5b3abb84880
+Size (compat15-vax-1.5.3.tar.bz2) = 2060891 bytes
View
57 emulators/compat15/emulator.mk
@@ -0,0 +1,57 @@
+# $NetBSD: emulator.mk,v 1.1 2007/08/21 22:49:13 jlam Exp $
+#
+# This file is included by netbsd-compat.mk in the emulator framework.
+#
+# Variables set by this file:
+#
+# EMUL_DISTRO
+# The NetBSD distribution used to provide the files.
+#
+# EMUL_EXEC_FMT
+# The executable format of the emulated operating system.
+#
+# EMULSUBDIR
+# Path relative to ${PREFIX} where the files and directories are
+# located, e.g. emul/aout.
+#
+# DEPENDS_${EMUL_DISTRO}.*
+# A table that maps "modules" to NetBSD package dependencies.
+#
+
+EMUL_DISTRO= netbsd-1.5
+
+# arm, m68k and vax switched from a.out to ELF post-1.5.
+# ns32k never switched from a.out.
+#
+.if (${EMUL_ARCH} == "arm") || (${EMUL_ARCH} == "m68k") || \
+ (${EMUL_ARCH} == "ns32k") || (${EMUL_ARCH} == "vax")
+EMUL_EXEC_FMT= a.out
+.else
+EMUL_EXEC_FMT= ELF
+.endif
+
+.if (${NATIVE_EXEC_FMT} == "ELF") && (${EMUL_EXEC_FMT} == "a.out")
+EMULSUBDIR= emul/aout
+OPSYS_EMULDIR= ${_OPSYS_EMULDIR.aout}
+.else
+EMULSUBDIR= emul/netbsd
+OPSYS_EMULDIR= ${_OPSYS_EMULDIR.netbsd}
+.endif
+
+# For COMPAT_NETBSD32, we always need the dependency to supply 32-bit
+# shared libaries for NetBSD-1.5.
+#
+.if ((${EMUL_ARCH} == "i386") && (${MACHINE_ARCH} == "x86_64")) || \
+ ((${EMUL_ARCH} == "sparc") && (${MACHINE_ARCH} == "sparc64"))
+EMULSUBDIR= emul/netbsd32
+OPSYS_EMULDIR= ${_OPSYS_EMULDIR.netbsd32}
+
+DEPENDS_netbsd-1.5.base?= netbsd32_compat15>=1.5:../../emulators/netbsd32_compat15
+#
+# We need to depend on the compat15 package to supply missing shared
+# libraries only on NetBSD>1.5.
+#
+.elif empty(OS_VERSION:M0.[0-9]*) && empty(OS_VERSION:M1.[0-4]*) && \
+ empty(OS_VERSION:M1.5) && empty(OS_VERSION:M1.5.*)
+DEPENDS_netbsd-1.5.base?= compat15>=1.5:../../emulators/compat15
+.endif
View
4 emulators/compat16-extras/DESCR
@@ -0,0 +1,4 @@
+This package supplies the extra user files needed to run dynamically
+linked executables compiled under NetBSD 1.6, including user files
+that might be found in NetBSD versions beyond 1.6 that are missing
+from the pkgsrc/emulators/compat16 package.
View
24 emulators/compat16-extras/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2007/08/21 22:49:17 jlam Exp $
+
+DISTNAME= compat16-extras # overridden below
+NETBSD_VERSION= 1.6
+
+HOMEPAGE= http://www.NetBSD.org/Releases/formal-1.6/index.html
+COMMENT= Additional shared libraries for NetBSD 1.6 compatibility
+
+EMUL_PLATFORMS= netbsd-i386 netbsd-sparc
+
+.include "../../emulators/compat_netbsd/Makefile.common"
+
+DISTNAME= compat16-extras-${EMUL_ARCH}-1.6.2
+
+# This package should only be installed for COMPAT_NETBSD32 emulation
+# on machines running NetBSD-1.6.
+#
+.if defined(NETBSD_COMPAT32)
+ACCEPTABLE_NETBSD= NetBSD-1.5[A-Z]* NetBSD-1.6 NetBSD-1.6.*
+.else
+NOT_FOR_PLATFORM= NetBSD-*-${MACHINE_ARCH}
+.endif
+
+.include "../../mk/bsd.pkg.mk"
View
100 emulators/compat16-extras/PLIST
@@ -0,0 +1,100 @@
+@comment $NetBSD: PLIST,v 1.1 2007/08/21 22:49:17 jlam Exp $
+${EMULSUBDIRSLASH}usr/X11R6/lib/libICE.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libICE.so.6.3
+${EMULSUBDIRSLASH}usr/X11R6/lib/libSM.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libSM.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libX11.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXaw.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXaw.so.6.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXext.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXi.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXi.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXmu.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXp.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXp.so.6.2
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXt.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXt.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXtst.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXtst.so.6.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/liboldX.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/liboldX.so.6.0
+${EMULSUBDIRSLASH}usr/lib/i18n/libBIG5.so.4
+${EMULSUBDIRSLASH}usr/lib/i18n/libBIG5.so.4.0
+${EMULSUBDIRSLASH}usr/lib/i18n/libEUC.so.4
+${EMULSUBDIRSLASH}usr/lib/i18n/libEUC.so.4.0
+${EMULSUBDIRSLASH}usr/lib/i18n/libEUCTW.so.4
+${EMULSUBDIRSLASH}usr/lib/i18n/libEUCTW.so.4.0
+${EMULSUBDIRSLASH}usr/lib/i18n/libISO2022.so.4
+${EMULSUBDIRSLASH}usr/lib/i18n/libISO2022.so.4.0
+${EMULSUBDIRSLASH}usr/lib/i18n/libMSKanji.so.4
+${EMULSUBDIRSLASH}usr/lib/i18n/libMSKanji.so.4.0
+${EMULSUBDIRSLASH}usr/lib/i18n/libUTF8.so.4
+${EMULSUBDIRSLASH}usr/lib/i18n/libUTF8.so.4.0
+${EMULSUBDIRSLASH}usr/lib/libamu.so.2
+${EMULSUBDIRSLASH}usr/lib/libamu.so.2.1
+${EMULSUBDIRSLASH}usr/lib/libasn1.so.6
+${EMULSUBDIRSLASH}usr/lib/libasn1.so.6.0
+${EMULSUBDIRSLASH}usr/lib/libbz2.so.1
+${EMULSUBDIRSLASH}usr/lib/libbz2.so.1.0
+${EMULSUBDIRSLASH}usr/lib/libc.so.12
+${EMULSUBDIRSLASH}usr/lib/libc.so.12.83.2
+${EMULSUBDIRSLASH}usr/lib/libcdk.so.1
+${EMULSUBDIRSLASH}usr/lib/libcdk.so.1.0
+${EMULSUBDIRSLASH}usr/lib/libcom_err.so.4
+${EMULSUBDIRSLASH}usr/lib/libcom_err.so.4.1
+${EMULSUBDIRSLASH}usr/lib/libcrypt.so.0
+${EMULSUBDIRSLASH}usr/lib/libcrypt.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libedit.so.2
+${EMULSUBDIRSLASH}usr/lib/libedit.so.2.6
+${EMULSUBDIRSLASH}usr/lib/libgnumalloc.so.0
+${EMULSUBDIRSLASH}usr/lib/libgnumalloc.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libintl.so.0
+${EMULSUBDIRSLASH}usr/lib/libintl.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libipsec.so.2
+${EMULSUBDIRSLASH}usr/lib/libipsec.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkadm.so.5
+${EMULSUBDIRSLASH}usr/lib/libkadm.so.5.0
+${EMULSUBDIRSLASH}usr/lib/libkdb.so.5
+${EMULSUBDIRSLASH}usr/lib/libkdb.so.5.0
+${EMULSUBDIRSLASH}usr/lib/libkstream.so.2
+${EMULSUBDIRSLASH}usr/lib/libkstream.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libkvm.so.5
+${EMULSUBDIRSLASH}usr/lib/libkvm.so.5.1
+${EMULSUBDIRSLASH}usr/lib/libm.so.0
+${EMULSUBDIRSLASH}usr/lib/libm.so.0.1
+${EMULSUBDIRSLASH}usr/lib/libossaudio.so.0
+${EMULSUBDIRSLASH}usr/lib/libossaudio.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libpcap.so.1
+${EMULSUBDIRSLASH}usr/lib/libpcap.so.1.2
+${EMULSUBDIRSLASH}usr/lib/libpci.so.0
+${EMULSUBDIRSLASH}usr/lib/libpci.so.0.0
+${EMULSUBDIRSLASH}usr/lib/libposix.so.0
+${EMULSUBDIRSLASH}usr/lib/libposix.so.0.1
+${EMULSUBDIRSLASH}usr/lib/libresolv.so.1
+${EMULSUBDIRSLASH}usr/lib/libresolv.so.1.0
+${EMULSUBDIRSLASH}usr/lib/libroken.so.12
+${EMULSUBDIRSLASH}usr/lib/libroken.so.12.2
+${EMULSUBDIRSLASH}usr/lib/libskey.so.1
+${EMULSUBDIRSLASH}usr/lib/libskey.so.1.0
+${EMULSUBDIRSLASH}usr/lib/libsl.so.2
+${EMULSUBDIRSLASH}usr/lib/libsl.so.2.0
+${EMULSUBDIRSLASH}usr/lib/libss.so.4
+${EMULSUBDIRSLASH}usr/lib/libss.so.4.0
+${EMULSUBDIRSLASH}usr/lib/libtermcap.so.0
+${EMULSUBDIRSLASH}usr/lib/libtermcap.so.0.5
+${EMULSUBDIRSLASH}usr/lib/libtermlib.so.0
+${EMULSUBDIRSLASH}usr/lib/libtermlib.so.0.5
+${EMULSUBDIRSLASH}usr/lib/libusbhid.so.1
+${EMULSUBDIRSLASH}usr/lib/libusbhid.so.1.0
+${EMULSUBDIRSLASH}usr/lib/libwrap.so.0
+${EMULSUBDIRSLASH}usr/lib/libwrap.so.0.2
+${EMULSUBDIRSLASH}usr/lib/libz.so.0
+${EMULSUBDIRSLASH}usr/lib/libz.so.0.2
+${EMULSUBDIRSLASH}usr/libexec/ld.elf_so
+${EMULSUBDIRSLASH}usr/libexec/ld.so
+@dirrm ${EMULSUBDIRSLASH}usr/libexec
+@dirrm ${EMULSUBDIRSLASH}usr/lib/i18n
+@dirrm ${EMULSUBDIRSLASH}usr/lib
+@dirrm ${EMULSUBDIRSLASH}usr/X11R6/lib
+@dirrm ${EMULSUBDIRSLASH}usr/X11R6
+@dirrm ${EMULSUBDIRSLASH}usr
View
98 emulators/compat16-extras/PLIST.i386
@@ -0,0 +1,98 @@
+@comment $NetBSD: PLIST.i386,v 1.1 2007/08/21 22:49:17 jlam Exp $
+${EMULSUBDIRSLASH}usr/X11R6/lib/libFS.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libFS.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libFS.so.6.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libGL.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libGL.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libGL.so.1.2
+${EMULSUBDIRSLASH}usr/X11R6/lib/libGLU.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libGLU.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libGLU.so.1.3
+${EMULSUBDIRSLASH}usr/X11R6/lib/libOSMesa.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libOSMesa.so.4
+${EMULSUBDIRSLASH}usr/X11R6/lib/libOSMesa.so.4.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libX11.so.6.2
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXRes.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXRes.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXRes.so.1.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXTrap.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXTrap.so.6
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXTrap.so.6.4
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXaw.so.7
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXaw.so.7.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXcursor.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXcursor.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXcursor.so.1.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXext.so.6.4
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXfont.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXfont.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXfont.so.1.4
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXfontcache.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXfontcache.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXfontcache.so.1.2
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXft.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXft.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXft.so.1.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXft.so.2
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXft.so.2.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXinerama.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXinerama.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXinerama.so.1.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXmu.so.6.2
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXmuu.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXmuu.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXmuu.so.1.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXpm.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXpm.so.4
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXpm.so.4.11
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXrandr.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXrandr.so.2
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXrandr.so.2.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXrender.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXrender.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXrender.so.1.2
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXss.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXss.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXss.so.1.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXv.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXv.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXv.so.1.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXvMC.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXvMC.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXvMC.so.1.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXxf86dga.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXxf86dga.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXxf86dga.so.1.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXxf86misc.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXxf86misc.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXxf86misc.so.1.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXxf86vm.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXxf86vm.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXxf86vm.so.1.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libdps.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libdps.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libdps.so.1.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libdpstk.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libdpstk.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libdpstk.so.1.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libexpat.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libfontconfig.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libfontconfig.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libfontconfig.so.1.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libfontenc.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libfontenc.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libfontenc.so.1.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libfreetype.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libfreetype.so.9
+${EMULSUBDIRSLASH}usr/X11R6/lib/libfreetype.so.9.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libpsres.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libpsres.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libpsres.so.1.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libxkbfile.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libxkbfile.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libxkbfile.so.1.0
+${EMULSUBDIRSLASH}usr/X11R6/lib/libxkbui.so
+${EMULSUBDIRSLASH}usr/X11R6/lib/libxkbui.so.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libxkbui.so.1.0
+${EMULSUBDIRSLASH}usr/lib/libm387.so.0
+${EMULSUBDIRSLASH}usr/lib/libm387.so.0.0
View
4 emulators/compat16-extras/PLIST.sparc
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST.sparc,v 1.1 2007/08/21 22:49:17 jlam Exp $
+${EMULSUBDIRSLASH}usr/X11R6/lib/libX11.so.6.1
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXext.so.6.3
+${EMULSUBDIRSLASH}usr/X11R6/lib/libXmu.so.6.0
View
8 emulators/compat16-extras/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2007/08/21 22:49:17 jlam Exp $
+
+SHA1 (compat16-extras-i386-1.6.2.tar.bz2) = 99bea740ae6f158e9af3da28e763e2b747437b8f
+RMD160 (compat16-extras-i386-1.6.2.tar.bz2) = 8dd72d861531bd00db90d462244986415076399c
+Size (compat16-extras-i386-1.6.2.tar.bz2) = 3506953 bytes
+SHA1 (compat16-extras-sparc-1.6.2.tar.bz2) = aa59568f73bbdb6d6f5dc2f97b94006cf58e7834
+RMD160 (compat16-extras-sparc-1.6.2.tar.bz2) = 507b051de677a85111d0de45a6c218271b571ba2
+Size (compat16-extras-sparc-1.6.2.tar.bz2) = 1595142 bytes
View
4 emulators/compat16/DESCR
@@ -1,2 +1,2 @@
-This package supplies the user files necessary for full compatibility
-with dynamically linked executables compiled under NetBSD 1.6.
+This package supplies the user files needed to run dynamically linked
+executables compiled under NetBSD 1.6.
View
8 emulators/compat16/MESSAGE
@@ -1,7 +1,7 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2003/12/14 04:17:18 grant Exp $
-
-You will need the option COMPAT_16 in your kernel configuration to make
-use of NetBSD 1.6 binaries.
+$NetBSD: MESSAGE,v 1.2 2007/08/21 22:49:14 jlam Exp $
+The COMPAT_16 option must be included in the kernel configuration (and
+possibly others; see options(4) for more information) to make use of
+NetBSD 1.6 binaries.
===========================================================================
View
63 emulators/compat16/Makefile
@@ -1,32 +1,53 @@
-# $NetBSD: Makefile,v 1.9 2006/10/19 19:37:38 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.10 2007/08/21 22:49:14 jlam Exp $
-DISTNAME= compat16-${MACHINE_ARCH}-${VERSION}
-PKGNAME= compat16-${VERSION}
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-EXTRACT_SUFX= .tar.bz2
+DISTNAME= compat16 # overridden below
+NETBSD_VERSION= 1.6
-MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.NetBSD.org/Releases/formal-1.6/index.html
-COMMENT= Shared libraries for NetBSD 1.6 (and earlier) compatibility
+COMMENT= Shared libraries for NetBSD 1.6 compatibility
-VERSION= 1.6.0
+.if defined(NETBSD_COMPAT32)
+EMUL_PLATFORMS= netbsd-i386 netbsd-sparc
-ONLY_FOR_PLATFORM= NetBSD-1.6[A-Z]*-i386 NetBSD-[2-9]*-i386
-NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
+ACCEPTABLE_NETBSD= NetBSD-1.5[A-Z]* NetBSD-1.6 NetBSD-1.6.* \
+ NetBSD-1.6[A-Z]* NetBSD-[2-9]* \
+ NetBSD-[1-9][0-9]*
+.else
+EMUL_PLATFORMS= netbsd-alpha netbsd-arm netbsd-i386 netbsd-m68k \
+ netbsd-mipseb netbsd-mipsel netbsd-powerpc \
+ netbsd-sparc netbsd-sparc64 netbsd-vax
-NO_MTREE= yes
-NO_BUILD= yes
-NO_CONFIGURE= yes
-CHECK_SHLIBS_SUPPORTED= no
+ONLY_FOR_PLATFORM= NetBSD-1.6[A-Z]*-* NetBSD-[2-9]*-* \
+ NetBSD-[1-9][0-9]*-*
+.endif
-EMULSUBDIR= emul/netbsd16
+.include "../../emulators/compat_netbsd/Makefile.common"
-PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR:Q}
+DISTNAME= compat16-${EMUL_ARCH}-${COMPAT_VERSION}
+COMPAT_VERSION= 1.6.2
-do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/${EMULSUBDIR}
- (cd ${WRKDIR}; ${PAX} -rw usr ${PREFIX}/${EMULSUBDIR})
+# For COMPAT_NETBSD32, we need to depend on the compat16-extras package
+# on NetBSD-1.6 to supply the missing shared libraries; otherwise, we
+# just depend on the compat20 package for the missing shared libraries.
+#
+.if defined(NETBSD_COMPAT32)
+COMPAT_EXTRAS= # empty
+. for _netbsd_ in ${ACCEPTABLE_NETBSD}
+COMPAT_EXTRAS= netbsd32_compat16-extras-${COMPAT_VERSION}{,nb*}:../../emulators/netbsd32_compat16-extras
+. endfor
+. if !empty(COMPAT_EXTRAS)
+DEPENDS+= ${COMPAT_EXTRAS}
+. else
+DEPENDS+= netbsd32_compat20>=2.0:../../emulators/netbsd32_compat20
+. endif
+#
+# We need to depend on the compat20 package to supply shared libraries
+# missing from compat16 on NetBSD>2.x.
+#
+.elif empty(OS_VERSION:M[0-1].*) && empty(OS_VERSION:M2.[0-9]) && \
+ empty(OS_VERSION:M2.[0-9].*) && empty(OS_VERSION:M2.[1-8][0-9].*) && \
+ empty(OS_VERSION:M2.9[0-8]*)
+DEPENDS+= compat20>=2.0:../../emulators/compat20
+.endif
.include "../../mk/bsd.pkg.mk"
View
33 emulators/compat16/PLIST
@@ -0,0 +1,33 @@
+@comment $NetBSD: PLIST,v 1.1 2007/08/21 22:49:14 jlam Exp $
+${EMULSUBDIRSLASH}usr/lib/libcrypto.so.1
+${EMULSUBDIRSLASH}usr/lib/libcrypto.so.1.1
+${EMULSUBDIRSLASH}usr/lib/libcurses.so.5
+${EMULSUBDIRSLASH}usr/lib/libcurses.so.5.0
+${EMULSUBDIRSLASH}usr/lib/libdes.so.6
+${EMULSUBDIRSLASH}usr/lib/libdes.so.6.0
+${EMULSUBDIRSLASH}usr/lib/libform.so.3
+${EMULSUBDIRSLASH}usr/lib/libform.so.3.0
+${EMULSUBDIRSLASH}usr/lib/libgssapi.so.4
+${EMULSUBDIRSLASH}usr/lib/libgssapi.so.4.0
+${EMULSUBDIRSLASH}usr/lib/libhdb.so.8
+${EMULSUBDIRSLASH}usr/lib/libhdb.so.8.0
+${EMULSUBDIRSLASH}usr/lib/libkadm5clnt.so.7
+${EMULSUBDIRSLASH}usr/lib/libkadm5clnt.so.7.0
+${EMULSUBDIRSLASH}usr/lib/libkadm5srv.so.8
+${EMULSUBDIRSLASH}usr/lib/libkadm5srv.so.8.0
+${EMULSUBDIRSLASH}usr/lib/libkafs.so.5
+${EMULSUBDIRSLASH}usr/lib/libkafs.so.5.1
+${EMULSUBDIRSLASH}usr/lib/libkrb.so.5
+${EMULSUBDIRSLASH}usr/lib/libkrb.so.5.1
+${EMULSUBDIRSLASH}usr/lib/libkrb5.so.18
+${EMULSUBDIRSLASH}usr/lib/libkrb5.so.18.0