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
+4
View File
@@ -0,0 +1,4 @@
Fakeroot creates a `faked root' environment.
A typical use case is creating tar (or somesuch) packages that should have
proper file ownerships and modes without needing root access to the machine.
+21
View File
@@ -0,0 +1,21 @@
# $NetBSD: Makefile,v 1.16 2012/10/23 19:51:01 asau Exp $
#
DISTNAME= fakeroot_1.5.10
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/f/fakeroot/}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Creates a fake root environment
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
# 3 test failures in 1.5.10
TEST_TARGET= check
MAKE_ENV+= COLUMNS=76
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+12
View File
@@ -0,0 +1,12 @@
@comment $NetBSD: PLIST,v 1.4 2009/06/14 18:16:04 joerg Exp $
bin/faked
bin/fakeroot
lib/libfakeroot.la
man/es/man1/faked.1
man/es/man1/fakeroot.1
man/fr/man1/faked.1
man/fr/man1/fakeroot.1
man/man1/faked.1
man/man1/fakeroot.1
man/sv/man1/faked.1
man/sv/man1/fakeroot.1
+7
View File
@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.5 2010/04/23 09:00:15 obache Exp $
SHA1 (fakeroot_1.5.10.tar.gz) = 2b5b90f812c0d99617936e49c740fdfdc5766220
RMD160 (fakeroot_1.5.10.tar.gz) = ec22edd8025b57fceee4777d2bcb0d1024b54163
Size (fakeroot_1.5.10.tar.gz) = 817885 bytes
SHA1 (patch-aa) = 390eaa7976cd22383756541e1e3be9692b87c3bf
SHA1 (patch-ab) = 55d64e4565966a4fdc31ffb1f458b3b678022f38
+50
View File
@@ -0,0 +1,50 @@
$NetBSD: patch-aa,v 1.2 2006/01/13 18:26:04 wiz Exp $
--- scripts/fakeroot.in.orig 2005-11-07 02:51:40.000000000 +0100
+++ scripts/fakeroot.in
@@ -19,7 +19,7 @@ PREFIX=@prefix@
BINDIR=@bindir@
LIB=lib@fakeroot_transformed@.so
-PATHS=@libdir@:${PREFIX}/lib64/libfakeroot:${PREFIX}/lib32/libfakeroot
+PATHS=@libdir@:${PREFIX}/lib64:${PREFIX}/lib32
FAKED=${BINDIR}/@faked_transformed@
FAKED_MODE="unknown-is-root"
@@ -101,8 +101,10 @@ then
if test -r "$dir/$LIB"
then
libfound=yes
+ uselib=$dir/$LIB
fi
done
+ LIB=$uselib
else
if test -r "$LIB"
then
@@ -132,11 +134,7 @@ if test -z "$FAKEROOTKEY" || test -z "$P
exit 1
fi
-# Keep other library paths
-if test -n "$LD_LIBRARY_PATH"; then
- PATHS="$PATHS:$LD_LIBRARY_PATH"
-fi
-# ...and preloaded libs
+# Keep preloaded libs
if test -n "$LD_PRELOAD"; then
LIB="$LIB $LD_PRELOAD"
fi
@@ -144,10 +142,10 @@ fi
export FAKEROOT_FD_BASE
if test -z "$*"; then
- FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$LIB" ${SHELL:-/bin/sh}
+ FAKEROOTKEY=$FAKEROOTKEY LD_PRELOAD="$LIB" ${SHELL:-/bin/sh}
RESULT=$?
else
- FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$LIB" "$@"
+ FAKEROOTKEY=$FAKEROOTKEY LD_PRELOAD="$LIB" "$@"
RESULT=$?
fi
+58
View File
@@ -0,0 +1,58 @@
$NetBSD: patch-ab,v 1.3 2010/04/23 09:00:15 obache Exp $
--- configure.orig 2006-07-22 22:33:58.000000000 +0000
+++ configure
@@ -12712,34 +12712,34 @@ fi
case $target_cpu:$target_os in
- (alpha*:linux*|ia64*:linux*)
+ alpha*:linux*|ia64*:linux*)
libcpath="/lib/libc.so.6.1"
;;
- (*:linux*)
+ *:linux*)
libcpath="/lib/libc.so.6"
;;
- (*:k*bsd*-gnu)
+ *:k*bsd*-gnu)
libcpath="/lib/libc.so.0.1"
;;
- (*:freebsd*)
+ *:freebsd*)
libcpath="/usr/lib/libc.so.4"
;;
- (*:netbsd*)
+ *:netbsd*)
libcpath="/usr/lib/libc.so.12"
;;
- (*:openbsd*)
+ *:openbsd*)
libcpath="/usr/lib/libc.so.25.2"
;;
- (*:hpux*)
+ *:hpux*)
libcpath="/usr/lib/hpux32/libc.so.1"
;;
- (*:osf*)
+ *:osf*)
libcpath="/shlib/libc.so"
;;
- (*:solaris*)
+ *:solaris*)
libcpath="/lib/libc.so.1"
;;
- (*)
+ *)
{ echo "$as_me:$LINENO: WARNING: don't know where libc is for $target_os on
$target_cpu, setting to /lib/libc.so" >&5
echo "$as_me: WARNING: don't know where libc is for $target_os on
@@ -12896,7 +12896,7 @@ echo "$as_me: error: no SUS compliant sh
fi
case "$target_cpu:$target_os" in
- (alpha*:linux*)
+ alpha*:linux*)
{ echo "$as_me:$LINENO: checking if we need to do stat-struct conversion hackery" >&5