diff options
author | chs <chs> | 2010-09-24 01:27:25 +0000 |
---|---|---|
committer | chs <chs> | 2010-09-24 01:27:25 +0000 |
commit | 6a8366bc2d90b80a5cf8e2004a86c79d75cd3919 (patch) | |
tree | 2af3bac443b5e6e067d1e76940292f6c4cdbba7c /emulators/suse113_base | |
parent | fe746f695f5988cd12cec2158e24c814846bca5c (diff) | |
download | pkgsrc-6a8366bc2d90b80a5cf8e2004a86c79d75cd3919.tar.gz |
Initial import of openSUSE 11.3 packages for Linux emulation.
Diffstat (limited to 'emulators/suse113_base')
-rw-r--r-- | emulators/suse113_base/DEINSTALL | 24 | ||||
-rw-r--r-- | emulators/suse113_base/DESCR | 6 | ||||
-rw-r--r-- | emulators/suse113_base/INSTALL | 151 | ||||
-rw-r--r-- | emulators/suse113_base/MESSAGE.DragonFly | 8 | ||||
-rw-r--r-- | emulators/suse113_base/MESSAGE.FreeBSD | 8 | ||||
-rw-r--r-- | emulators/suse113_base/MESSAGE.NetBSD | 17 | ||||
-rw-r--r-- | emulators/suse113_base/Makefile | 80 | ||||
-rw-r--r-- | emulators/suse113_base/PLIST | 3 | ||||
-rw-r--r-- | emulators/suse113_base/distinfo | 158 | ||||
-rw-r--r-- | emulators/suse113_base/files/SuSE-release | 2 | ||||
-rw-r--r-- | emulators/suse113_base/files/linux-mkpwd.sh | 36 |
11 files changed, 493 insertions, 0 deletions
diff --git a/emulators/suse113_base/DEINSTALL b/emulators/suse113_base/DEINSTALL new file mode 100644 index 00000000000..c106d47e8f1 --- /dev/null +++ b/emulators/suse113_base/DEINSTALL @@ -0,0 +1,24 @@ +# $NetBSD: DEINSTALL,v 1.1.1.1 2010/09/24 01:27:52 chs Exp $ + +EMULDIR="${PKG_PREFIX}/@EMULSUBDIR@" + +case "${STAGE}" in +DEINSTALL) + # Run any actions that require root privileges. + ${TEST} ! -x ./+ROOT_ACTIONS || + ./+ROOT_ACTIONS REMOVE ${PKG_METADATA_DIR} || exit 1 + + # Blow away the /proc directory + ${RMDIR} -p ${EMULDIR}/proc + + # Remove some files created by pkgsrc. + ${RM} -f ${EMULDIR}/etc/ld.so.cache + ${RM} -f ${EMULDIR}/etc/mtab + ${RM} -f ${EMULDIR}/etc/group + ${RM} -f ${EMULDIR}/etc/gshadow + ${RM} -f ${EMULDIR}/etc/passwd + ${RM} -f ${EMULDIR}/etc/shadow + ${RM} -f ${EMULDIR}/var/cache/ldconfig/aux-cache + ${RM} -rf ${EMULDIR}/var/lock + ;; +esac diff --git a/emulators/suse113_base/DESCR b/emulators/suse113_base/DESCR new file mode 100644 index 00000000000..fa773614562 --- /dev/null +++ b/emulators/suse113_base/DESCR @@ -0,0 +1,6 @@ +Linux compatibility package based on the SuSE Linux distribution. +Please visit http://www.suse.com/ for more information about SuSE +Linux. + +This package supports running ELF binaries linked with glibc2 that +don't require X11 shared libraries. diff --git a/emulators/suse113_base/INSTALL b/emulators/suse113_base/INSTALL new file mode 100644 index 00000000000..ceed6a3ce26 --- /dev/null +++ b/emulators/suse113_base/INSTALL @@ -0,0 +1,151 @@ +# $NetBSD: INSTALL,v 1.1.1.1 2010/09/24 01:27:52 chs Exp $ + +# Generate a +ROOT_ACTIONS script that runs certain actions that require +# superuser privileges. +# +case "${STAGE},$1" in +UNPACK,|UNPACK,+ROOT_ACTIONS) + ${CAT} > ./+ROOT_ACTIONS << 'EOF' +#!@SH@ +# +# +ROOT_ACTIONS - run actions requiring superuser privileges +# +# Usage: ./+ROOT_ACTIONS ADD|REMOVE [metadatadir] +# +# This script runs certain actions that require superuser privileges. +# If such privileges are not available, then simply output a message +# asking the user to run this script with the appropriate elevated +# privileges. +# + +CAT="@CAT@" +CHMOD="@CHMOD@" +CP="@CP@" +DIRNAME="@DIRNAME@" +ECHO="@ECHO@" +ID="@ID@" +LN="@LN@" +MKDIR="@MKDIR@" +PWD_CMD="@PWD_CMD@" +RM="@RM@" +SH="@SH@" +TEST="@TEST@" + +SELF=$0 +ACTION=$1 + +CURDIR=`${PWD_CMD}` +PKG_METADATA_DIR="${2-${CURDIR}}" +: ${PKGNAME=${PKG_METADATA_DIR##*/}} +: ${PKG_PREFIX=@PREFIX@} + +EMULDIR="${PKG_PREFIX}/@EMULSUBDIR@" +OPSYS_EMULDIR="@OPSYS_EMULDIR@" + +ROOT_ACTIONS_COOKIE="./+ROOT_ACTIONS_done" +EUID=`${ID} -u` + +exitcode=0 +case $ACTION,$EUID in +ADD,0) + ${ECHO} "" > ${ROOT_ACTIONS_COOKIE} + ${CHMOD} g+w ${ROOT_ACTIONS_COOKIE} + # Create an appropriate Linux-like /dev directory. + ${ECHO} "${PKGNAME}: populating ${EMULDIR}/dev" + ${MKDIR} ${EMULDIR}/dev + ${TEST} ! -f /dev/MAKEDEV || + ${CP} /dev/MAKEDEV ${EMULDIR}/dev + ${TEST} ! -f /dev/MAKEDEV.subr || + ${CP} /dev/MAKEDEV.subr ${EMULDIR}/dev + ${TEST} ! -f ${EMULDIR}/dev/MAKEDEV || + ( cd ${EMULDIR}/dev && + ${SH} ./MAKEDEV std audio && + ${LN} -fs sound dsp ) + + # Create the appropriate symlink so that the kernel will + # find the installed files. + # + OPSYS_EMULDIR_PWD=`cd ${OPSYS_EMULDIR} 2>/dev/null && ${PWD_CMD}` + EMULDIR_PWD=`cd ${EMULDIR} 2>/dev/null && ${PWD_CMD}` + + if ${TEST} "${OPSYS_EMULDIR_PWD}" != "${EMULDIR_PWD}"; then + if ${TEST} -e ${OPSYS_EMULDIR} -o -L ${OPSYS_EMULDIR}; then + ${CAT} << EOM +============================================================================== +The following symbolic link must be created for ${PKGNAME} +to work properly: + + ${EMULDIR} -> ${OPSYS_EMULDIR} + +============================================================================== +EOM + else + ${ECHO} "${PKGNAME}: creating symlink ${EMULDIR} -> ${OPSYS_EMULDIR}" + ( ${MKDIR} -p `${DIRNAME} ${OPSYS_EMULDIR}` && + ${LN} -fs ${EMULDIR} ${OPSYS_EMULDIR} ) || ${TRUE} + fi + fi + ;; + +REMOVE,0) + ${ECHO} "${PKGNAME}: removing ${EMULDIR}/dev" + ${RM} -fr ${EMULDIR}/dev + ${RM} -f ${ROOT_ACTIONS_COOKIE} + ;; + +ADD,*) + if ${TEST} ! -f ${ROOT_ACTIONS_COOKIE}; then + ${CAT} << EOM +============================================================================== +Please run the following command with superuser privileges to complete +the installation of ${PKGNAME}: + + cd ${PKG_METADATA_DIR} && ${SELF} ADD + +============================================================================== +EOM + fi + ;; + +REMOVE,*) + if ${TEST} -f ${ROOT_ACTIONS_COOKIE}; then + ${CAT} << EOM +============================================================================== +Please run the following command with superuser privileges to begin the +removal of ${PKGNAME}: + + cd ${PKG_METADATA_DIR} && ${SELF} REMOVE + +Then, please run pkg_delete(1) again to complete the removal of this +package. + +============================================================================== +EOM + exitcode=1 + fi + ;; +esac +exit $exitcode + +EOF + ${CHMOD} +x ./+ROOT_ACTIONS + ;; +esac + +EMULDIR="${PKG_PREFIX}/@EMULSUBDIR@" +OPSYS_EMULDIR="@OPSYS_EMULDIR@" + +case "${STAGE}" in +POST-INSTALL) + # Create a /proc mount point. + ${MKDIR} -p ${EMULDIR}/proc + + # Make /etc/mtab usable for Linux programs. + ${RM} -f ${EMULDIR}/etc/mtab + ${LN} -fs ${EMULDIR}/proc/mounts ${EMULDIR}/etc/mtab + + # Run any actions that require root privileges. + ${TEST} ! -x ./+ROOT_ACTIONS || + ./+ROOT_ACTIONS ADD ${PKG_METADATA_DIR} + ;; +esac diff --git a/emulators/suse113_base/MESSAGE.DragonFly b/emulators/suse113_base/MESSAGE.DragonFly new file mode 100644 index 00000000000..0d2f6136ab5 --- /dev/null +++ b/emulators/suse113_base/MESSAGE.DragonFly @@ -0,0 +1,8 @@ +=========================================================================== +$NetBSD: MESSAGE.DragonFly,v 1.1.1.1 2010/09/24 01:27:52 chs Exp $ + +Do not forget to include COMPAT_LINUX in your kernel configuration file. +You will also need to load the "linux.ko" kernel module (using kldload(8) +or by setting linux_enable=yes in /etc/rc.conf. +Most Linux binaries also require linprocfs to be mounted. +=========================================================================== diff --git a/emulators/suse113_base/MESSAGE.FreeBSD b/emulators/suse113_base/MESSAGE.FreeBSD new file mode 100644 index 00000000000..0a8d8fbf6ff --- /dev/null +++ b/emulators/suse113_base/MESSAGE.FreeBSD @@ -0,0 +1,8 @@ +=========================================================================== +$NetBSD: MESSAGE.FreeBSD,v 1.1.1.1 2010/09/24 01:27:52 chs Exp $ + +Do not forget to include COMPAT_LINUX in your kernel configuration file. +You will also need to load the "linux.ko" kernel module (using kldload(8) +or by setting linux_enable=yes in /etc/rc.conf. +Most Linux binaries also require linprocfs to be mounted. +=========================================================================== diff --git a/emulators/suse113_base/MESSAGE.NetBSD b/emulators/suse113_base/MESSAGE.NetBSD new file mode 100644 index 00000000000..221be1d72b0 --- /dev/null +++ b/emulators/suse113_base/MESSAGE.NetBSD @@ -0,0 +1,17 @@ +=========================================================================== +$NetBSD: MESSAGE.NetBSD,v 1.1.1.1 2010/09/24 01:27:52 chs Exp $ + +Do not forget to include COMPAT_LINUX in your kernel configuration file. +Linux binaries require this option in order to work. + +Most Linux binaries also require procfs to be mounted with -o linux. +This can be automated by adding the following to your /etc/fstab: + +procfs /${EMULSUBDIR}/proc procfs ro,linux + +Some Linux binaries also require tmpfs to be mounted on /dev/shm. +This can be automated by adding the following to your /etc/fstab: + +tmpfs /${EMULSUBDIR}/dev/shm tmpfs rw + +=========================================================================== diff --git a/emulators/suse113_base/Makefile b/emulators/suse113_base/Makefile new file mode 100644 index 00000000000..57df93f8cd2 --- /dev/null +++ b/emulators/suse113_base/Makefile @@ -0,0 +1,80 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/09/24 01:27:52 chs Exp $ + +DISTNAME= suse_base-${SUSE_VERSION} +CATEGORIES= emulators +DISTFILES+= aaa_base-11.3-7.2.${SUSE_ARCH}.rpm +DISTFILES+= bash-4.1-8.1.${SUSE_ARCH}.rpm +DISTFILES+= coreutils-7.1-10.1.${SUSE_ARCH}.rpm +DISTFILES+= cyrus-sasl-2.1.23-11.1.${SUSE_ARCH}.rpm +DISTFILES+= findutils-4.4.2-4.1.${SUSE_ARCH}.rpm +DISTFILES+= glibc-2.11.2-2.4.${SUSE_ARCH}.rpm +DISTFILES+= keyutils-libs-1.3-1.9.${SUSE_ARCH}.rpm +DISTFILES+= libacl-2.2.48-8.1.${SUSE_ARCH}.rpm +DISTFILES+= libattr-2.4.44-7.1.${SUSE_ARCH}.rpm +DISTFILES+= libcap2-2.16-9.1.${SUSE_ARCH}.rpm +DISTFILES+= libcurl4-7.20.1-3.4.${SUSE_ARCH}.rpm +DISTFILES+= libgcc45-4.5.0_20100604-1.12.${SUSE_ARCH}.rpm +DISTFILES+= libidn-1.15-4.1.${SUSE_ARCH}.rpm +DISTFILES+= libldap-2_4-2-2.4.21-9.1.${SUSE_ARCH}.rpm +DISTFILES+= libncurses5-5.7-3.39.${SUSE_ARCH}.rpm +DISTFILES+= libncurses6-5.7-3.39.${SUSE_ARCH}.rpm +DISTFILES+= libpcre0-7.9.0-6.7.${SUSE_ARCH}.rpm +DISTFILES+= libreadline6-6.1-8.1.${SUSE_ARCH}.rpm +DISTFILES+= libselinux1-2.0.91-4.2.${SUSE_ARCH}.rpm +DISTFILES+= libssh2-1-1.2.2_git200911281702-3.1.${SUSE_ARCH}.rpm +DISTFILES+= libstdc++45-4.5.0_20100604-1.12.${SUSE_ARCH}.rpm +DISTFILES+= libuuid1-2.17.2-5.3.${SUSE_ARCH}.rpm +DISTFILES+= mozilla-nspr-4.8.4-4.1.${SUSE_ARCH}.rpm +DISTFILES+= mozilla-nss-3.12.6-6.1.${SUSE_ARCH}.rpm +DISTFILES+= net-tools-1.60-741.1.${SUSE_ARCH}.rpm +DISTFILES+= zlib-1.2.3-141.1.${SUSE_ARCH}.rpm + +MAINTAINER= tonio@NetBSD.org +COMMENT= Linux compatibility package + +CONFLICTS= linux_SuSE-5.3 linux_lib-2.4 linuxppc_lib-[0-9]* + +# These files are managed by the +INSTALL/+DEINSTALL scripts. +CHECK_FILES_SKIP+= ${EMULDIR}/dev/.* +CHECK_FILES_SKIP+= ${EMULDIR}/etc/ld.so.cache + +RPMIGNOREPATH= ./etc/bash.bashrc ./etc/bash_completion.d \ + ./etc/cron.daily ./etc/csh.cshrc ./etc/csh.login \ + ./etc/inittab ./etc/hushlogins ./etc/java \ + ./etc/mailcap ./etc/mime.types ./etc/nsswitch.conf \ + ./etc/pam.d ./etc/profile ./etc/profile.dos \ + ./etc/rc.d.README ./etc/rpc ./etc/shells ./etc/ttytype + +LINUX_LDD= ${EMULDIR}/usr/bin/ldd +LINUX_LDCONFIG= ${EMULDIR}/usr/sbin/ldconfig + +INSTALLATION_DIRS+= ${EMULDIR}/etc ${EMULDIR}/dev/shm ${EMULDIR}/var/lock +OWN_DIRS+= ${EMULSUBDIR} + +SUBST_CLASSES+= suse +SUBST_STAGE.suse= do-build +SUBST_FILES.suse= SuSE-release linux-mkpwd.sh +SUBST_VARS.suse= EMULDIR LINUX_BASE SUSE_ARCH SUSE_VERSION + +# Some platforms, e.g. FreeBSD, need to "brand" the ELF binaries to +# the correct type. +# +BRANDELF_CMD= ${BRANDELF:D${BRANDELF} -t Linux ${DESTDIR}${LINUX_LDCONFIG}:U${TRUE}} + +post-extract: + ${CP} ${FILESDIR}/SuSE-release ${WRKSRC} + ${CP} ${FILESDIR}/*.sh ${WRKSRC} + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/linux-mkpwd.sh \ + ${DESTDIR}${PREFIX}/sbin/${LINUX_BASE}-mkpwd + ${INSTALL_DATA} ${WRKSRC}/SuSE-release ${DESTDIR}${EMULDIR}/etc + ${BRANDELF_CMD} + ${SED} -e 's:#! :#! ${EMULDIR}:' \ + -e 's:^RTLD=:RTLD=/${EMULSUBDIR}:' \ + ${DESTDIR}${LINUX_LDD} > ${DESTDIR}${LINUX_LDD}.new + ${MV} ${DESTDIR}${LINUX_LDD}.new ${DESTDIR}${LINUX_LDD} + ${CHMOD} +x ${DESTDIR}${LINUX_LDD} + +.include "../../emulators/suse113_linux/Makefile.common" +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/suse113_base/PLIST b/emulators/suse113_base/PLIST new file mode 100644 index 00000000000..2e837148fb7 --- /dev/null +++ b/emulators/suse113_base/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/24 01:27:52 chs Exp $ +sbin/${LINUX_BASE}-mkpwd +${EMULSUBDIRSLASH}etc/SuSE-release diff --git a/emulators/suse113_base/distinfo b/emulators/suse113_base/distinfo new file mode 100644 index 00000000000..9552d631f49 --- /dev/null +++ b/emulators/suse113_base/distinfo @@ -0,0 +1,158 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/09/24 01:27:52 chs Exp $ + +SHA1 (suse113/i586/aaa_base-11.3-7.2.i586.rpm) = b14fb02ff155ac83aa39432a78f56cd095b6652e +RMD160 (suse113/i586/aaa_base-11.3-7.2.i586.rpm) = 489614d045700c0ce9f74461b955b9d29508e300 +Size (suse113/i586/aaa_base-11.3-7.2.i586.rpm) = 126058 bytes +SHA1 (suse113/i586/bash-4.1-8.1.i586.rpm) = d8bbaa8ce4b57a1a2d40e157e454a60eb9446c84 +RMD160 (suse113/i586/bash-4.1-8.1.i586.rpm) = 782d06e75927d9f8e576d7a8638798f053f18aab +Size (suse113/i586/bash-4.1-8.1.i586.rpm) = 296884 bytes +SHA1 (suse113/i586/coreutils-7.1-10.1.i586.rpm) = eb88dc32b36daa0dab4ee7876052b231a877b37e +RMD160 (suse113/i586/coreutils-7.1-10.1.i586.rpm) = bb9883201ed3a111addb91c7e5f7bab9749e1e10 +Size (suse113/i586/coreutils-7.1-10.1.i586.rpm) = 966480 bytes +SHA1 (suse113/i586/cyrus-sasl-2.1.23-11.1.i586.rpm) = 320e7c5f5644c870d87984752e4b0f61d2d53353 +RMD160 (suse113/i586/cyrus-sasl-2.1.23-11.1.i586.rpm) = de56c2fe95f23c6d93bf48a1a7b9182ac7a5a5ff +Size (suse113/i586/cyrus-sasl-2.1.23-11.1.i586.rpm) = 290180 bytes +SHA1 (suse113/i586/findutils-4.4.2-4.1.i586.rpm) = 4d256171d10d84e24e75ac4b9ab6bb1ef1336c15 +RMD160 (suse113/i586/findutils-4.4.2-4.1.i586.rpm) = a384a9f230f28209f3177be13b7ac4dd41211185 +Size (suse113/i586/findutils-4.4.2-4.1.i586.rpm) = 230246 bytes +SHA1 (suse113/i586/glibc-2.11.2-2.4.i586.rpm) = 0f64511b98d524d4be0b60b25132d85ea9480954 +RMD160 (suse113/i586/glibc-2.11.2-2.4.i586.rpm) = d90933d15d849b0e5ff09b28619e5e805e389662 +Size (suse113/i586/glibc-2.11.2-2.4.i586.rpm) = 1430593 bytes +SHA1 (suse113/i586/keyutils-libs-1.3-1.9.i586.rpm) = 684d05c2e3d7934a222bd3099199d3ae72b31701 +RMD160 (suse113/i586/keyutils-libs-1.3-1.9.i586.rpm) = 68258aaea240ff2be27bb01497d8de9ed464d78f +Size (suse113/i586/keyutils-libs-1.3-1.9.i586.rpm) = 15908 bytes +SHA1 (suse113/i586/libacl-2.2.48-8.1.i586.rpm) = 7205d15781b24fcdb586d4fc772c7efe86492190 +RMD160 (suse113/i586/libacl-2.2.48-8.1.i586.rpm) = 3b758ad2269c880e3738fb90fc1ceb0fb6ebc576 +Size (suse113/i586/libacl-2.2.48-8.1.i586.rpm) = 18344 bytes +SHA1 (suse113/i586/libattr-2.4.44-7.1.i586.rpm) = 020004f6b5192cf1a97693d9b916423016b6cee8 +RMD160 (suse113/i586/libattr-2.4.44-7.1.i586.rpm) = 615549046feeb279808b007f511594e2dab261a6 +Size (suse113/i586/libattr-2.4.44-7.1.i586.rpm) = 11242 bytes +SHA1 (suse113/i586/libcap2-2.16-9.1.i586.rpm) = a58792c4a041e419b71c2555dfdd0c0a5031a2ea +RMD160 (suse113/i586/libcap2-2.16-9.1.i586.rpm) = e9cd9cf7645a2270378637e504f89f3c99dd9e17 +Size (suse113/i586/libcap2-2.16-9.1.i586.rpm) = 11343 bytes +SHA1 (suse113/i586/libcurl4-7.20.1-3.4.i586.rpm) = db803d461bb1c128ce4cbd18f655d52b7dd77e28 +RMD160 (suse113/i586/libcurl4-7.20.1-3.4.i586.rpm) = c33d94c5d5ed7948cdb85ebbc8713413374eb371 +Size (suse113/i586/libcurl4-7.20.1-3.4.i586.rpm) = 153600 bytes +SHA1 (suse113/i586/libgcc45-4.5.0_20100604-1.12.i586.rpm) = 8e5bb919ce405f2ac24c2f80400a24b7f04747ef +RMD160 (suse113/i586/libgcc45-4.5.0_20100604-1.12.i586.rpm) = b53baf52305d7466964f814127a796166fb43897 +Size (suse113/i586/libgcc45-4.5.0_20100604-1.12.i586.rpm) = 54484 bytes +SHA1 (suse113/i586/libidn-1.15-4.1.i586.rpm) = 187cf7fb165680d02613cd6e5e6113f8ace05f36 +RMD160 (suse113/i586/libidn-1.15-4.1.i586.rpm) = c75234a1956ec8e047a49579a1d567e19ed0168e +Size (suse113/i586/libidn-1.15-4.1.i586.rpm) = 223230 bytes +SHA1 (suse113/i586/libldap-2_4-2-2.4.21-9.1.i586.rpm) = d4e387dfa6fe3bdc4f9971c08c6166aef8a820f4 +RMD160 (suse113/i586/libldap-2_4-2-2.4.21-9.1.i586.rpm) = 2cca899eb12edd396e850b4ce60c8718ea8d2a11 +Size (suse113/i586/libldap-2_4-2-2.4.21-9.1.i586.rpm) = 181252 bytes +SHA1 (suse113/i586/libncurses5-5.7-3.39.i586.rpm) = 0047dea1fd1213aa307dd7d0428f781f1503ef37 +RMD160 (suse113/i586/libncurses5-5.7-3.39.i586.rpm) = 65fb101696e1e5d7409516fedb9adb3a3228dd6d +Size (suse113/i586/libncurses5-5.7-3.39.i586.rpm) = 254488 bytes +SHA1 (suse113/i586/libncurses6-5.7-3.39.i586.rpm) = 2f8d7442a6dba71b7043920edda5e3f97b31b94a +RMD160 (suse113/i586/libncurses6-5.7-3.39.i586.rpm) = 7b236917f076f8966ea79e3cd99b356fead78352 +Size (suse113/i586/libncurses6-5.7-3.39.i586.rpm) = 259142 bytes +SHA1 (suse113/i586/libpcre0-7.9.0-6.7.i586.rpm) = d366f4896780c4a7a120950163acf01e1bcdb835 +RMD160 (suse113/i586/libpcre0-7.9.0-6.7.i586.rpm) = 1b9335bb3a5a430cbd99721f9ece7b9059e6ff84 +Size (suse113/i586/libpcre0-7.9.0-6.7.i586.rpm) = 63156 bytes +SHA1 (suse113/i586/libreadline6-6.1-8.1.i586.rpm) = 71962573cd9c373e858a2eda46f3f849c6ab5e34 +RMD160 (suse113/i586/libreadline6-6.1-8.1.i586.rpm) = 4a35443c25c00c4d554b630bfff6b59822a8bcdb +Size (suse113/i586/libreadline6-6.1-8.1.i586.rpm) = 111079 bytes +SHA1 (suse113/i586/libselinux1-2.0.91-4.2.i586.rpm) = 0706d0db72767bf222363e0325c120afc9ea0790 +RMD160 (suse113/i586/libselinux1-2.0.91-4.2.i586.rpm) = 192e5a43062c6ffbc7719d400928bdec58d9fbbc +Size (suse113/i586/libselinux1-2.0.91-4.2.i586.rpm) = 51068 bytes +SHA1 (suse113/i586/libssh2-1-1.2.2_git200911281702-3.1.i586.rpm) = 43d93036db3ca64240c649ccdc47f4203be02a7d +RMD160 (suse113/i586/libssh2-1-1.2.2_git200911281702-3.1.i586.rpm) = 7dbf0d6ce61fbaaf941fcd6c05b42bad045671c9 +Size (suse113/i586/libssh2-1-1.2.2_git200911281702-3.1.i586.rpm) = 59605 bytes +SHA1 (suse113/i586/libstdc++45-4.5.0_20100604-1.12.i586.rpm) = 1398009186c36bc5dd934487565d33d390190a9d +RMD160 (suse113/i586/libstdc++45-4.5.0_20100604-1.12.i586.rpm) = bfd275ae1b637bf2725a17d6bf36bff22fe339a9 +Size (suse113/i586/libstdc++45-4.5.0_20100604-1.12.i586.rpm) = 257747 bytes +SHA1 (suse113/i586/libuuid1-2.17.2-5.3.i586.rpm) = 33e81993e16375c78f409391152b2c0205349c9a +RMD160 (suse113/i586/libuuid1-2.17.2-5.3.i586.rpm) = 8623e243451c36eb0ee95c1d0bf5641c5b960b65 +Size (suse113/i586/libuuid1-2.17.2-5.3.i586.rpm) = 13819 bytes +SHA1 (suse113/i586/mozilla-nspr-4.8.4-4.1.i586.rpm) = 59f74b7e15f91e7e42ff20604d4022d1fd703921 +RMD160 (suse113/i586/mozilla-nspr-4.8.4-4.1.i586.rpm) = 6925f6ebcce0e95080b66807ecf04086f9cfff39 +Size (suse113/i586/mozilla-nspr-4.8.4-4.1.i586.rpm) = 107100 bytes +SHA1 (suse113/i586/mozilla-nss-3.12.6-6.1.i586.rpm) = b50dbf978554fdc48f2ac03350acdb50f498830d +RMD160 (suse113/i586/mozilla-nss-3.12.6-6.1.i586.rpm) = 436b7a2b58f6aad9f63caf9eed51a451ab5ff445 +Size (suse113/i586/mozilla-nss-3.12.6-6.1.i586.rpm) = 565435 bytes +SHA1 (suse113/i586/net-tools-1.60-741.1.i586.rpm) = 86acba4939735c615ce004b2b9db61925d99d035 +RMD160 (suse113/i586/net-tools-1.60-741.1.i586.rpm) = 0a32e62ca0b67e6e735e08f0cfc89bc751a5e36a +Size (suse113/i586/net-tools-1.60-741.1.i586.rpm) = 231581 bytes +SHA1 (suse113/i586/zlib-1.2.3-141.1.i586.rpm) = 0eaf6cbd2b3c6f7c698b7670baea41878c42f910 +RMD160 (suse113/i586/zlib-1.2.3-141.1.i586.rpm) = 727553dffb7aebdf94c39d8e3100bb7ede788783 +Size (suse113/i586/zlib-1.2.3-141.1.i586.rpm) = 42334 bytes +SHA1 (suse113/x86_64/aaa_base-11.3-7.2.x86_64.rpm) = 637c8a9dfc936f1900da557cb3a65c37a74dca05 +RMD160 (suse113/x86_64/aaa_base-11.3-7.2.x86_64.rpm) = d1abb33a0914139c3a531737bb58df290f86d044 +Size (suse113/x86_64/aaa_base-11.3-7.2.x86_64.rpm) = 126032 bytes +SHA1 (suse113/x86_64/bash-4.1-8.1.x86_64.rpm) = 3aa11fe3904f77ba904efc1882084aa651883c4f +RMD160 (suse113/x86_64/bash-4.1-8.1.x86_64.rpm) = 3689a25db8417aba2fe7f13d546f8d04bc963926 +Size (suse113/x86_64/bash-4.1-8.1.x86_64.rpm) = 312966 bytes +SHA1 (suse113/x86_64/coreutils-7.1-10.1.x86_64.rpm) = 78bf51c47a65ac94fcad31206adead0b087bbcdc +RMD160 (suse113/x86_64/coreutils-7.1-10.1.x86_64.rpm) = cf108cabb6b4bc36a71c7903b3f6743587cb9d77 +Size (suse113/x86_64/coreutils-7.1-10.1.x86_64.rpm) = 949517 bytes +SHA1 (suse113/x86_64/cyrus-sasl-2.1.23-11.1.x86_64.rpm) = 62468de581b1e835402eec6985ddd4406e7a7bf0 +RMD160 (suse113/x86_64/cyrus-sasl-2.1.23-11.1.x86_64.rpm) = 7cfbd7636c78642aba0feca1cf070f70c4f0f199 +Size (suse113/x86_64/cyrus-sasl-2.1.23-11.1.x86_64.rpm) = 291187 bytes +SHA1 (suse113/x86_64/findutils-4.4.2-4.1.x86_64.rpm) = 9b83213ced45da82c9ce10f89d0a1be17b4259ab +RMD160 (suse113/x86_64/findutils-4.4.2-4.1.x86_64.rpm) = b76a064628551cffabaf36aba20242a54b1515bc +Size (suse113/x86_64/findutils-4.4.2-4.1.x86_64.rpm) = 230346 bytes +SHA1 (suse113/x86_64/glibc-2.11.2-2.4.x86_64.rpm) = 6bd6f36018e7d96c5e18b7e5821441d56bd9dfb1 +RMD160 (suse113/x86_64/glibc-2.11.2-2.4.x86_64.rpm) = 4006a210e4ddc411376e5823b75c7c6182c6b97a +Size (suse113/x86_64/glibc-2.11.2-2.4.x86_64.rpm) = 1423416 bytes +SHA1 (suse113/x86_64/keyutils-libs-1.3-1.9.x86_64.rpm) = 360b74d202ebb4477ac7919419eafdd9591b5c90 +RMD160 (suse113/x86_64/keyutils-libs-1.3-1.9.x86_64.rpm) = ef900feabb22ea5a07cf06922d67ee92c5bd6f2c +Size (suse113/x86_64/keyutils-libs-1.3-1.9.x86_64.rpm) = 15812 bytes +SHA1 (suse113/x86_64/libacl-2.2.48-8.1.x86_64.rpm) = 3b61f94b63fa112d8f0ed981f8ccdd41233ddc48 +RMD160 (suse113/x86_64/libacl-2.2.48-8.1.x86_64.rpm) = e702d75933dabbc6a3ce996787db195373c1ea28 +Size (suse113/x86_64/libacl-2.2.48-8.1.x86_64.rpm) = 17971 bytes +SHA1 (suse113/x86_64/libattr-2.4.44-7.1.x86_64.rpm) = 80d731fcd9e774126ae0d1edb864e4c782cbcc66 +RMD160 (suse113/x86_64/libattr-2.4.44-7.1.x86_64.rpm) = dcd0846152b4e2c8651fce35d7ba6df2c88885db +Size (suse113/x86_64/libattr-2.4.44-7.1.x86_64.rpm) = 11301 bytes +SHA1 (suse113/x86_64/libcap2-2.16-9.1.x86_64.rpm) = 487500cfaf490f2fc29389839f45140ab655b7c4 +RMD160 (suse113/x86_64/libcap2-2.16-9.1.x86_64.rpm) = 0de970c861ce6c6e6efce5f8b9a7f103a43ca060 +Size (suse113/x86_64/libcap2-2.16-9.1.x86_64.rpm) = 11112 bytes +SHA1 (suse113/x86_64/libcurl4-7.20.1-3.4.x86_64.rpm) = 19eeeea47d9524e7bb1e9bed26e0f33deeae566f +RMD160 (suse113/x86_64/libcurl4-7.20.1-3.4.x86_64.rpm) = 10ee8adaa9b331215541bb1e7c5e9ee8631e3c3d +Size (suse113/x86_64/libcurl4-7.20.1-3.4.x86_64.rpm) = 156687 bytes +SHA1 (suse113/x86_64/libgcc45-4.5.0_20100604-1.12.x86_64.rpm) = 215853024130f97c4360df90b9b6ca383fd36664 +RMD160 (suse113/x86_64/libgcc45-4.5.0_20100604-1.12.x86_64.rpm) = eb2081787fbd87f17612a7eae3d1fd0454e3e75b +Size (suse113/x86_64/libgcc45-4.5.0_20100604-1.12.x86_64.rpm) = 44147 bytes +SHA1 (suse113/x86_64/libidn-1.15-4.1.x86_64.rpm) = d82960491c0134b4846f6f0892d0698ac3e3abf8 +RMD160 (suse113/x86_64/libidn-1.15-4.1.x86_64.rpm) = 9c2d1d56ed9cf14bd92ea6493786261229e5f9f1 +Size (suse113/x86_64/libidn-1.15-4.1.x86_64.rpm) = 223816 bytes +SHA1 (suse113/x86_64/libldap-2_4-2-2.4.21-9.1.x86_64.rpm) = 1e303be7e3d2fb01fb42e64a65dfec7a6c8f6896 +RMD160 (suse113/x86_64/libldap-2_4-2-2.4.21-9.1.x86_64.rpm) = bff5ad7c0a0c6ed51c1f4244164aadf58c973620 +Size (suse113/x86_64/libldap-2_4-2-2.4.21-9.1.x86_64.rpm) = 180617 bytes +SHA1 (suse113/x86_64/libncurses5-5.7-3.39.x86_64.rpm) = 44b9dee26caa59e80a6de9a1dbab092b7bbf9143 +RMD160 (suse113/x86_64/libncurses5-5.7-3.39.x86_64.rpm) = 1a9143caee222ff6776eec4cdffc58f3364a3d96 +Size (suse113/x86_64/libncurses5-5.7-3.39.x86_64.rpm) = 251592 bytes +SHA1 (suse113/x86_64/libncurses6-5.7-3.39.x86_64.rpm) = 7f8fd85ace5fcccd28927c9f36346fcbb8c283a2 +RMD160 (suse113/x86_64/libncurses6-5.7-3.39.x86_64.rpm) = 8d0ee3133c476890ad793443621ac58dbad2bc5c +Size (suse113/x86_64/libncurses6-5.7-3.39.x86_64.rpm) = 250829 bytes +SHA1 (suse113/x86_64/libpcre0-7.9.0-6.7.x86_64.rpm) = d4c155215b54d654b2205b13bfd445c5351fa993 +RMD160 (suse113/x86_64/libpcre0-7.9.0-6.7.x86_64.rpm) = b86b11ca556378a2d939b4fd2c47d116bd4eb101 +Size (suse113/x86_64/libpcre0-7.9.0-6.7.x86_64.rpm) = 63503 bytes +SHA1 (suse113/x86_64/libreadline6-6.1-8.1.x86_64.rpm) = 7bc899a500e8aba799f90733aa166ee31ae3c165 +RMD160 (suse113/x86_64/libreadline6-6.1-8.1.x86_64.rpm) = 4b53dbe4d285514f45cc9946dda88ebb22355869 +Size (suse113/x86_64/libreadline6-6.1-8.1.x86_64.rpm) = 113838 bytes +SHA1 (suse113/x86_64/libselinux1-2.0.91-4.2.x86_64.rpm) = 4d8fcd52342deddf60addad9164da320d01abe46 +RMD160 (suse113/x86_64/libselinux1-2.0.91-4.2.x86_64.rpm) = a816f215c5c5b171db63d598e54c9defc487075b +Size (suse113/x86_64/libselinux1-2.0.91-4.2.x86_64.rpm) = 51432 bytes +SHA1 (suse113/x86_64/libssh2-1-1.2.2_git200911281702-3.1.x86_64.rpm) = b107651ae121da7f98e0f251269e480810b37402 +RMD160 (suse113/x86_64/libssh2-1-1.2.2_git200911281702-3.1.x86_64.rpm) = 073867a1bc5f4d8606f15cec9cab67751f653192 +Size (suse113/x86_64/libssh2-1-1.2.2_git200911281702-3.1.x86_64.rpm) = 59537 bytes +SHA1 (suse113/x86_64/libstdc++45-4.5.0_20100604-1.12.x86_64.rpm) = 5471e6e2f80050131b92f9d8cb801e8ca60cbecc +RMD160 (suse113/x86_64/libstdc++45-4.5.0_20100604-1.12.x86_64.rpm) = b2e9c247aea4475eb9b85560ae732d00f0197b5d +Size (suse113/x86_64/libstdc++45-4.5.0_20100604-1.12.x86_64.rpm) = 246350 bytes +SHA1 (suse113/x86_64/libuuid1-2.17.2-5.3.x86_64.rpm) = f0dc05b5e8f17b298ae1e1b5f07c4f7e333f287e +RMD160 (suse113/x86_64/libuuid1-2.17.2-5.3.x86_64.rpm) = ed635530f29bb9aac898be8c1c7b717214f51519 +Size (suse113/x86_64/libuuid1-2.17.2-5.3.x86_64.rpm) = 13500 bytes +SHA1 (suse113/x86_64/mozilla-nspr-4.8.4-4.1.x86_64.rpm) = f15849060c062d971109c5602ca00110eaa84eeb +RMD160 (suse113/x86_64/mozilla-nspr-4.8.4-4.1.x86_64.rpm) = 65ab06cb34935bb758fb654a658c23cf358aa9e5 +Size (suse113/x86_64/mozilla-nspr-4.8.4-4.1.x86_64.rpm) = 105451 bytes +SHA1 (suse113/x86_64/mozilla-nss-3.12.6-6.1.x86_64.rpm) = 70fec1c0e19a4ea818288dded0bf1a0ad472fc25 +RMD160 (suse113/x86_64/mozilla-nss-3.12.6-6.1.x86_64.rpm) = e5a38629bb75b881e68f135a9bd23873f2981baf +Size (suse113/x86_64/mozilla-nss-3.12.6-6.1.x86_64.rpm) = 555755 bytes +SHA1 (suse113/x86_64/net-tools-1.60-741.1.x86_64.rpm) = c259e6319db4acb5b6c2f24a90b7b4d0de7d6baf +RMD160 (suse113/x86_64/net-tools-1.60-741.1.x86_64.rpm) = b68a3c8dc42ac7a485f62430b7e99fddc5d81681 +Size (suse113/x86_64/net-tools-1.60-741.1.x86_64.rpm) = 235491 bytes +SHA1 (suse113/x86_64/zlib-1.2.3-141.1.x86_64.rpm) = 229efd4acdfb26daaab09ff88acb42f6b78e6f7e +RMD160 (suse113/x86_64/zlib-1.2.3-141.1.x86_64.rpm) = 41eb087a54076ca37d1030d023f3d7def6cccdaa +Size (suse113/x86_64/zlib-1.2.3-141.1.x86_64.rpm) = 42101 bytes diff --git a/emulators/suse113_base/files/SuSE-release b/emulators/suse113_base/files/SuSE-release new file mode 100644 index 00000000000..728e5a77870 --- /dev/null +++ b/emulators/suse113_base/files/SuSE-release @@ -0,0 +1,2 @@ +SuSE Linux @SUSE_VERSION@ (@SUSE_ARCH@) +VERSION = @SUSE_VERSION@ diff --git a/emulators/suse113_base/files/linux-mkpwd.sh b/emulators/suse113_base/files/linux-mkpwd.sh new file mode 100644 index 00000000000..0b5acf0e0ab --- /dev/null +++ b/emulators/suse113_base/files/linux-mkpwd.sh @@ -0,0 +1,36 @@ +#!/bin/sh +# +# $NetBSD: linux-mkpwd.sh,v 1.1.1.1 2010/09/24 01:27:52 chs Exp $ +# + +###################################################################### +# +# NAME +# @LINUX_BASE@-mkpwd -- create passwd/group files for COMPAT_LINUX +# +# SYNOPSYS +# @LINUX_BASE@-mkpwd +# +# DESCRIPTION +# @LINUX_BASE@-mkpwd creates passwd and group files and databases +# for a COMPAT_LINUX installation based on the files found in +# /etc, e.g. /etc/passwd, /etc/master.passwd, /etc/group, etc. +# +###################################################################### + +SRCDIR=/etc +DESTDIR=@EMULDIR@/etc + +[ -d $DESTDIR ] || exit 1 + +umask 22 +cd $DESTDIR +cp -f $SRCDIR/passwd . +sed s/^wheel:/root:/ <$SRCDIR/group >group + +umask 77 +awk -F: '{print($1":"$2":0:0:10000::::")}' <$SRCDIR/master.passwd >shadow +sed s/^wheel:/root:/ <$SRCDIR/group | +awk -F: '{print($1":*:root:root")}' >gshadow + +exit 0 |