Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
# $NetBSD: DEINSTALL,v 1.1 2007/08/01 16:28:08 jlam 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
;;
esac

View File

@@ -0,0 +1,5 @@
These libraries are part of the Darwin compatibility option for
NetBSD/powerpc and NetBSD/i386.
The kernel options `EXEC_MACHO', `COMPAT_MACH' and `COMPAT_DARWIN'
must be in your kernel config file for this to work.

View File

@@ -0,0 +1,113 @@
# $NetBSD: INSTALL,v 1.2 2007/08/01 16:28:08 jlam 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 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
;;
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,*)
${RM} -f ${ROOT_ACTIONS_COOKIE}
;;
esac
exit $exitcode
EOF
${CHMOD} +x ./+ROOT_ACTIONS
;;
esac
EMULDIR="${PKG_PREFIX}/@EMULSUBDIR@"
OPSYS_EMULDIR="@OPSYS_EMULDIR@"
case "${STAGE}" in
POST-INSTALL)
# Run any actions that require root privileges.
${TEST} ! -x ./+ROOT_ACTIONS ||
./+ROOT_ACTIONS ADD ${PKG_METADATA_DIR}
;;
esac

View File

@@ -0,0 +1,7 @@
===========================================================================
$NetBSD: MESSAGE,v 1.2 2006/07/02 10:05:55 rillig Exp $
Do not forget to include EXEC_MACHO, COMPAT_MACH, and COMPAT_DARWIN
in your kernel configuration file. Darwin binaries require these
options in order to work.
===========================================================================

View File

@@ -0,0 +1,44 @@
# $NetBSD: Makefile,v 1.12 2012/10/03 21:56:00 wiz Exp $
DISTNAME= darwin_lib-6.6.2
PKGREVISION= 3
CATEGORIES= emulators
MASTER_SITES= # http://www.opendarwin.org/downloads/6.6.2/RPMS/ \
# http://www.opendarwin.org/downloads/6.6.2/RPMS/${DARWIN_ARCH}/
DISTFILES= org.opendarwin.Libsystem-6.6.2-4.fat.rpm \
org.opendarwin.Libm-6.6.2-4.fat.rpm \
org.opendarwin.cctools-6.6.2-4.fat.rpm \
org.opendarwin.ncurses-6.6.2-4.fat.rpm \
org.opendarwin.IOKitUser-6.6.2-4.fat.rpm \
org.opendarwin.XFree86-6.6.2-4.${DARWIN_ARCH}.rpm
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Darwin compatibility libraries (including X11)
# The opendarwin.org domain is completely gone. MASTER_SITES should
# probably point to ${MASTER_SITE_LOCAL} instead. I also think the ppc
# XFree86 RPM is no longer available anywhere.
#
#HOMEPAGE= http://www.opendarwin.org/
EMUL_PLATFORMS= darwin-i386 darwin-powerpc
ONLY_FOR_PLATFORM= NetBSD-1.6Z*-powerpc NetBSD-1.6Z*-i386 \
NetBSD-[2-9]*-powerpc NetBSD-[2-9]*-i386
PKG_DESTDIR_SUPPORT= destdir
DARWIN_PKG= yes
DARWIN_ARCH= ${MACHINE_ARCH:C/powerpc/ppc/:C/x86_64/i386/}
WRKSRC= ${WRKDIR}
BUILD_DIRS= # empty
EMUL_PKG_FMT= rpm
RPM2PKG_PREFIX= ${DESTDIR}${PREFIX}
RPM2PKG_SUBPREFIX= ${EMULSUBDIR}
RPM2PKG_STAGE= do-install
RPMIGNOREPATH= ./Developer ./usr/X11R6/lib/X11/doc/html \
./usr/share/man ./usr/include ./usr/X11R6/man \
./usr/X11R6/include ./usr/local/include \
./usr/local/man
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,20 @@
$NetBSD: distinfo,v 1.3 2005/02/23 18:49:18 agc Exp $
SHA1 (org.opendarwin.Libsystem-6.6.2-4.fat.rpm) = 933ede3dd6ea4188e66529ed9378db92c1934e0b
RMD160 (org.opendarwin.Libsystem-6.6.2-4.fat.rpm) = 7732537e35f965d9ed34665dfebbbcb2ed662ab3
Size (org.opendarwin.Libsystem-6.6.2-4.fat.rpm) = 6155242 bytes
SHA1 (org.opendarwin.Libm-6.6.2-4.fat.rpm) = 5a7a7311e929a8f4867f0c7bd43c64e7fe450b08
RMD160 (org.opendarwin.Libm-6.6.2-4.fat.rpm) = ed13229c4b94808fc1749f18e86e318f4fd24302
Size (org.opendarwin.Libm-6.6.2-4.fat.rpm) = 463844 bytes
SHA1 (org.opendarwin.cctools-6.6.2-4.fat.rpm) = 13c4d5a19ee63c008e11ef950b8d0c1b34852d3f
RMD160 (org.opendarwin.cctools-6.6.2-4.fat.rpm) = 625a4598a8451ba054371f0dbb4934af39176510
Size (org.opendarwin.cctools-6.6.2-4.fat.rpm) = 5060022 bytes
SHA1 (org.opendarwin.ncurses-6.6.2-4.fat.rpm) = e20ffe8d410f456fe59ff27f4759a3f02869146c
RMD160 (org.opendarwin.ncurses-6.6.2-4.fat.rpm) = 175dc483f3bd9f803cb666b3a38308311ec88410
Size (org.opendarwin.ncurses-6.6.2-4.fat.rpm) = 1653506 bytes
SHA1 (org.opendarwin.IOKitUser-6.6.2-4.fat.rpm) = 34199c0e0fc298df262c04886b0fce8fa9ea5e66
RMD160 (org.opendarwin.IOKitUser-6.6.2-4.fat.rpm) = cf4e18543226dd9a53c2baa2c08b1ad85dbbcc09
Size (org.opendarwin.IOKitUser-6.6.2-4.fat.rpm) = 418276 bytes
SHA1 (org.opendarwin.XFree86-6.6.2-4.i386.rpm) = 3e5c5c6c9ad8e2508646520254d94869481a4d9d
RMD160 (org.opendarwin.XFree86-6.6.2-4.i386.rpm) = 209b8de0981bcba7c9cc65af7f00bd286529706a
Size (org.opendarwin.XFree86-6.6.2-4.i386.rpm) = 48481414 bytes

View File

@@ -0,0 +1,16 @@
# $NetBSD: emulator.mk,v 1.1 2007/08/01 16:28:08 jlam Exp $
#
# This file is included by darwin-opendarwin.mk in the emulator framework.
#
# Variables set by this file:
#
# EMUL_DISTRO
# The OpenDarwin distribution.
#
EMUL_DISTRO= opendarwin-6.6.2
# The Darwin emulation supports no modules, so always depend on darwin_lib.
.if !defined(DARWIN_PKG)
DEPENDS+= darwin_lib>=6.6.2:../../emulators/darwin_lib
.endif