Import of pkgsrc-2015Q1

This commit is contained in:
2016-01-21 23:40:00 +01:00
committed by sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870539 additions and 795424 deletions
+1 -7
View File
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.66 2013/03/03 11:55:12 obache Exp $
# $NetBSD: Makefile,v 1.68 2014/10/09 14:06:05 wiz Exp $
#
# NOTE:
# When updating this package, a change in the minor (4.n -> 4.(n+1))
@@ -20,8 +20,6 @@ HOMEPAGE= http://www.oracle.com/database/berkeley-db/db/index.html
COMMENT= Berkeley DB version 4 from Oracle
LICENSE= sleepycat-public
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= pax
@@ -33,10 +31,6 @@ CONFIGURE_ARGS+= --enable-cxx
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/db4
CONFIGURE_ARGS+= --program-transform-name=s,db_,db4_,
OPSYSVARS+= LIBSO_LIBS
LIBSO_LIBS.SunOS+= -lnsl -lrt
CONFIGURE_ENV+= LIBSO_LIBS=${LIBSO_LIBS:Q}
.include "options.mk"
# DB4 only want pthreads because it's really after POSIX 1003.1
+5 -2
View File
@@ -1,10 +1,13 @@
$NetBSD: distinfo,v 1.40 2014/03/17 19:07:36 asau Exp $
$NetBSD: distinfo,v 1.43 2014/07/23 00:22:42 ryoon Exp $
SHA1 (db-4.8.30.tar.gz) = ab36c170dda5b2ceaad3915ced96e41c6b7e493c
RMD160 (db-4.8.30.tar.gz) = dd2fcd4c9b857a91e2f491fd4fadb0c51b993a9c
Size (db-4.8.30.tar.gz) = 22887305 bytes
SHA1 (patch-aa) = 1004feec022eefbf3fd57b6d9af99edc5a2bf17a
SHA1 (patch-ab) = 43327c18df2de0baffe89310a30cd4c2634f7376
SHA1 (patch-ab) = 961c4ef5ad84739bd7eae57f407b89f42864b66e
SHA1 (patch-ac) = 045a3b83b9c6c164382ec546b06ae248620552cf
SHA1 (patch-ae) = 43e574154de93dba60392b09d6ebddbca1036849
SHA1 (patch-dbinc_atomic.h) = ff60e3af41ac1b000ebccc91bc673adde5c7463b
SHA1 (patch-dist_s__sig) = d891a6fabd27a07776bdaa21843563638ecb89f2
SHA1 (patch-env_env__sig.c) = 93199a4147de946d1285fa006c751f4569f2cdb5
SHA1 (patch-repmgr_repmgr__posix.c) = 98ca8bbb1a82b02db2be6f0a69c5d74d8563fe74
+92 -11
View File
@@ -1,8 +1,8 @@
$NetBSD: patch-ab,v 1.24 2014/03/17 19:07:36 asau Exp $
$NetBSD: patch-ab,v 1.25 2014/06/07 08:19:14 obache Exp $
--- dist/configure.orig 2010-04-12 20:25:23.000000000 +0000
+++ dist/configure
@@ -4523,7 +4523,7 @@ bsdi3*) CC=${CC-"shlicc2"}
@@ -4523,11 +4523,12 @@ bsdi3*) CC=${CC-"shlicc2"}
LIBSO_LIBS="$LIBSO_LIBS -lipc";;
cygwin*)
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE -D_REENTRANT";;
@@ -11,7 +11,12 @@ $NetBSD: patch-ab,v 1.24 2014/03/17 19:07:36 asau Exp $
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
LDFLAGS="$LDFLAGS -pthread";;
gnu*|k*bsd*-gnu|linux*)
@@ -6282,7 +6282,7 @@ fi
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE -D_REENTRANT";;
+haiku*) LIBSO_LIBS="$LIBSO_LIBS -lnetwork";;
hpux*) CPPFLAGS="$CPPFLAGS -D_REENTRANT";;
irix*) optimize_debug="-O2"
CPPFLAGS="$CPPFLAGS -D_SGI_MP_SOURCE";;
@@ -6282,7 +6283,7 @@ fi
# we're using.
case "$host_os" in
sysv5UnixWare*|sysv5OpenUNIX8*)
@@ -20,7 +25,31 @@ $NetBSD: patch-ab,v 1.24 2014/03/17 19:07:36 asau Exp $
CPPFLAGS="$CPPFLAGS -pthread"
LDFLAGS="$LDFLAGS -pthread"
else
@@ -11202,7 +11202,7 @@ if test -z "$aix_libpath"; then aix_libp
@@ -7343,6 +7344,10 @@ gnu*)
lt_cv_deplibs_check_method=pass_all
;;
+haiku*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
hpux10.20* | hpux11*)
lt_cv_file_magic_cmd=/usr/bin/file
case $host_cpu in
@@ -10131,6 +10136,12 @@ $as_echo_n "checking for $compiler optio
lt_prog_compiler_pic='-fno-common'
;;
+ haiku*)
+ # PIC is the default for Haiku
+ # The "-static" flag exists, but is broken.
+ lt_prog_compiler_static=
+ ;;
+
hpux*)
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
@@ -11202,7 +11213,7 @@ if test -z "$aix_libpath"; then aix_libp
hardcode_shlibpath_var=no
;;
@@ -29,7 +58,27 @@ $NetBSD: patch-ab,v 1.24 2014/03/17 19:07:36 asau Exp $
ld_shlibs=no
;;
@@ -12077,7 +12077,7 @@ dgux*)
@@ -11977,6 +11988,19 @@ beos*)
shlibpath_var=LIBRARY_PATH
;;
+haiku*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ dynamic_linker="$host_os runtime_loader"
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libame}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_overrides_runpath=yes
+ sys_lib_dlsearch_path_spec='/boot/system/lib'
+ hardcode_into_libs=yes
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
bsdi[45]*)
version_type=linux
need_version=no
@@ -12077,7 +12101,7 @@ dgux*)
shlibpath_var=LD_LIBRARY_PATH
;;
@@ -38,7 +87,7 @@ $NetBSD: patch-ab,v 1.24 2014/03/17 19:07:36 asau Exp $
dynamic_linker=no
;;
@@ -12088,7 +12088,7 @@ freebsd* | dragonfly*)
@@ -12088,7 +12112,7 @@ freebsd* | dragonfly*)
objformat=`/usr/bin/objformat`
else
case $host_os in
@@ -47,7 +96,7 @@ $NetBSD: patch-ab,v 1.24 2014/03/17 19:07:36 asau Exp $
*) objformat=elf ;;
esac
fi
@@ -13772,7 +13772,7 @@ if test -z "$aix_libpath"; then aix_libp
@@ -13772,7 +13796,7 @@ if test -z "$aix_libpath"; then aix_libp
esac
;;
@@ -56,7 +105,19 @@ $NetBSD: patch-ab,v 1.24 2014/03/17 19:07:36 asau Exp $
# C++ shared libraries reported to be fairly broken before
# switch to ELF
ld_shlibs_CXX=no
@@ -15530,7 +15530,7 @@ dgux*)
@@ -14666,6 +14690,11 @@ $as_echo_n "checking for $compiler optio
# Common symbols not allowed in MH_DYLIB files
lt_prog_compiler_pic_CXX='-fno-common'
;;
+ haiku*)
+ # PIC is the default for Haiku.
+ # The "-static" flag exists, but is broken.
+ lt_prog_compiler_static=
+ ;;
*djgpp*)
# DJGPP does not support shared libraries at all
lt_prog_compiler_pic_CXX=
@@ -15530,7 +15559,7 @@ dgux*)
shlibpath_var=LD_LIBRARY_PATH
;;
@@ -65,7 +126,7 @@ $NetBSD: patch-ab,v 1.24 2014/03/17 19:07:36 asau Exp $
dynamic_linker=no
;;
@@ -15541,7 +15541,7 @@ freebsd* | dragonfly*)
@@ -15541,7 +15570,7 @@ freebsd* | dragonfly*)
objformat=`/usr/bin/objformat`
else
case $host_os in
@@ -74,7 +135,27 @@ $NetBSD: patch-ab,v 1.24 2014/03/17 19:07:36 asau Exp $
*) objformat=elf ;;
esac
fi
@@ -16161,7 +16161,7 @@ LIBTOOL="./libtool"
@@ -15588,6 +15617,19 @@ gnu*)
hardcode_into_libs=yes
;;
+haiku*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ dynamic_linker="$host_os runtime_loader"
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libame}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_overrides_runpath=yes
+ sys_lib_dlsearch_path_spec='/boot/system/lib'
+ hardcode_into_libs=yes
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
hpux9* | hpux10* | hpux11*)
# Give a soname corresponding to the major version so that dld.sl refuses to
# link against other versions.
@@ -16161,7 +16203,7 @@ LIBTOOL="./libtool"
INSTALLER="\$(LIBTOOL) --mode=install cp -p"
MAKEFILE_CC="\$(LIBTOOL) --mode=compile ${MAKEFILE_CC}"
@@ -83,7 +164,7 @@ $NetBSD: patch-ab,v 1.24 2014/03/17 19:07:36 asau Exp $
MAKEFILE_CCLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK}"
MAKEFILE_CXX="\$(LIBTOOL) --mode=compile ${MAKEFILE_CXX}"
MAKEFILE_XSOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK} -avoid-version"
@@ -16890,7 +16890,7 @@ if test "$_JTOPDIR" != "/usr"; then
@@ -16890,7 +16932,7 @@ if test "$_JTOPDIR" != "/usr"; then
aix*) _JNI_INC_SUBDIRS="aix";;
bsdi*) _JNI_INC_SUBDIRS="bsdos";;
cygwin*) _JNI_INC_SUBDIRS="win32";;
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-dist_s__sig,v 1.2 2014/07/23 00:22:42 ryoon Exp $
--- dist/s_sig.orig 2010-04-12 20:25:23.000000000 +0000
+++ dist/s_sig
@@ -34,4 +34,8 @@ cat << END_OF_TEXT > $b
*/
+#if defined(_SCO_DS)
+typedef unsigned long long u_int64_t;
+#endif
+
#include "db_config.h"
@@ -0,0 +1,13 @@
$NetBSD: patch-env_env__sig.c,v 1.2 2014/07/23 00:22:42 ryoon Exp $
--- env/env_sig.c.orig 2010-04-12 20:25:33.000000000 +0000
+++ env/env_sig.c
@@ -5,4 +5,8 @@
*/
+#if defined(_SCO_DS)
+typedef unsigned long long u_int64_t;
+#endif
+
#include "db_config.h"
@@ -0,0 +1,44 @@
$NetBSD: patch-repmgr_repmgr__posix.c,v 1.1 2014/06/07 08:17:52 obache Exp $
* avoid to conflict with "struct iovec" defined in sys/uio.h.
--- repmgr/repmgr_posix.c.orig 2010-04-12 20:25:35.000000000 +0000
+++ repmgr/repmgr_posix.c
@@ -488,15 +488,15 @@ __repmgr_wake_main_thread(env)
* PUBLIC: int __repmgr_writev __P((socket_t, db_iovec_t *, int, size_t *));
*/
int
-__repmgr_writev(fd, iovec, buf_count, byte_count_p)
+__repmgr_writev(fd, iovec_p, buf_count, byte_count_p)
socket_t fd;
- db_iovec_t *iovec;
+ db_iovec_t *iovec_p;
int buf_count;
size_t *byte_count_p;
{
int nw;
- if ((nw = writev(fd, iovec, buf_count)) == -1)
+ if ((nw = writev(fd, iovec_p, buf_count)) == -1)
return (errno);
*byte_count_p = (size_t)nw;
return (0);
@@ -506,15 +506,15 @@ __repmgr_writev(fd, iovec, buf_count, by
* PUBLIC: int __repmgr_readv __P((socket_t, db_iovec_t *, int, size_t *));
*/
int
-__repmgr_readv(fd, iovec, buf_count, byte_count_p)
+__repmgr_readv(fd, iovec_p, buf_count, byte_count_p)
socket_t fd;
- db_iovec_t *iovec;
+ db_iovec_t *iovec_p;
int buf_count;
size_t *byte_count_p;
{
ssize_t nw;
- if ((nw = readv(fd, iovec, buf_count)) == -1)
+ if ((nw = readv(fd, iovec_p, buf_count)) == -1)
return (errno);
*byte_count_p = (size_t)nw;
return (0);