Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.2 2015/06/12 10:48:46 wiz Exp $
# $NetBSD: Makefile,v 1.8 2016/08/23 06:28:16 adam Exp $
PKGNAME= ${DISTNAME:C/-/94-/}
PKGREVISION= 1
COMMENT= Robust, next generation, object-relational DBMS
DEPENDS+= postgresql94-client>=${PKGVERSION_NOREV}:../../databases/postgresql94-client

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.5 2015/06/18 14:46:14 adam Exp $
# $NetBSD: Makefile.common,v 1.13 2016/08/14 16:56:29 is Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -8,22 +8,15 @@
# <lang>-postgresql client-side interface to PostgreSQL
# postgresql-<lang> server-side module for PostgreSQL backend
#
# used by databases/postgresql94-adminpack/Makefile
# used by databases/postgresql94-client/Makefile
# used by databases/postgresql94-datatypes/Makefile
# used by databases/postgresql94-dblink/Makefile
# used by databases/postgresql94-contrib/Makefile
# used by databases/postgresql94-docs/Makefile
# used by databases/postgresql94-fuzzystrmatch/Makefile
# used by databases/postgresql94-monitoring/Makefile
# used by databases/postgresql94-pgcrypto/Makefile
# used by databases/postgresql94-plperl/Makefile
# used by databases/postgresql94-plpython/Makefile
# used by databases/postgresql94-pltcl/Makefile
# used by databases/postgresql94-replicationtools/Makefile
# used by databases/postgresql94-server/Makefile
# used by databases/postgresql94-upgrade/Makefile
DISTNAME= postgresql-9.4.4
DISTNAME= postgresql-9.4.9
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/}
EXTRACT_SUFX= .tar.bz2
@@ -80,14 +73,11 @@ CONFIGURE_ARGS+= --without-zlib
# sys/ucred.h shouldn't be included on Solaris, causes conflicts between
# procfs and largefile.
.if ${OPSYS} == "SunOS"
CONFIGURE_ENV+= ac_cv_header_sys_ucred_h=no
.endif
CONFIGURE_ENV.SunOS+= ac_cv_header_sys_ucred_h=no
# configure fails on OpenBSD and MirBSD if thread safety is enabled.
.if ${OPSYS} == "OpenBSD" || ${OPSYS} == "MirBSD"
CONFIGURE_ARGS+= --disable-thread-safety
.endif
CONFIGURE_ARGS.MirBSD+= --disable-thread-safety
CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety
# PGSQL_BLCKSZ is the size in bytes of a PostgreSQL disk page or block.
# This also limits the size of a tuple. The valid values are powers

View File

@@ -1,23 +1,22 @@
$NetBSD: distinfo,v 1.6 2015/06/18 14:46:14 adam Exp $
$NetBSD: distinfo,v 1.12 2016/08/14 16:56:29 is Exp $
SHA1 (postgresql-9.4.4.tar.bz2) = e295fee0f1bace740b2db1eaa64ac060e277d5a7
RMD160 (postgresql-9.4.4.tar.bz2) = 8bb4bc15d62a310c27d2028d01466b1dce03e51f
Size (postgresql-9.4.4.tar.bz2) = 17616272 bytes
SHA1 (postgresql-9.4.9.tar.bz2) = a8e6130576ff7b8876e71497f18cdfeb89bb6fc0
RMD160 (postgresql-9.4.9.tar.bz2) = e217f7fd127c82aa8afa52b1b167188fc1b4d585
SHA512 (postgresql-9.4.9.tar.bz2) = 980b1a8828d07151e67793367ea0ee08e4231cd76d9b20b4f4bca08a7976ee82a3aea51ce801a4107680c8203f8ebdb4cf5a0a6aaf93d580c9f337658d50819b
Size (postgresql-9.4.9.tar.bz2) = 17763281 bytes
SHA1 (patch-config_missing) = c2d7d742922ba6861e7660c75b7b53f09e564813
SHA1 (patch-config_perl.m4) = e035132b1c281a75752d570ac5e29a11176c25c5
SHA1 (patch-configure) = 59fe9a768caf8a5d308acac60c28bc6bb2c40632
SHA1 (patch-contrib_dblink_dblink.c) = a6f87ab9f2c28a72608d70267b71bd77437b0921
SHA1 (patch-contrib_uuid-ossp_uuid-ossp.c) = efaffec2f51de70823430ca162d499b2886a9190
SHA1 (patch-src_Makefile.global.in) = 984d3c8a64a9020765e1fd4f27abae625bc189a1
SHA1 (patch-src_Makefile.global.in) = 2ab3affedc77b202f6749964287438d6179ca23a
SHA1 (patch-src_Makefile.shlib) = 69f980184fd8dbd821221a1c6ac3a88408f2c4cf
SHA1 (patch-src_backend_Makefile) = b70b38ea23af6cdde9d2349f2441a429078cfaca
SHA1 (patch-src_backend_utils_adt_datetime.c) = d1ea70986634d3bfb663eff789425252656e1289
SHA1 (patch-src_interfaces_ecpg_pgtypeslib_interval.c) = 614aa5dbe586b8681a3a2852d4f84860dbbd1b49
SHA1 (patch-src_interfaces_ecpg_pgtypeslib_interval.c) = af0971de415b6b44ae3520cfc9bd6ffd5dcdeb62
SHA1 (patch-src_interfaces_libpq_Makefile) = 0066301bc8b31b9e26c79153427537bc3865ef4d
SHA1 (patch-src_makefiles_Makefile.solaris) = 0168f5bc105ffc89d5db40907a08966d8465f5a0
SHA1 (patch-src_pl_plperl_GNUmakefile) = 6ee3e431f46ce5c2a94df499504b2b8bd458bbef
SHA1 (patch-src_pl_plperl_plperl.h) = bd663fa80a47f7b82ce689060750fa6e631fbc61
SHA1 (patch-src_timezone_localtime.c) = 622f57bc1d10f07ab73f86765cbf587eece57085
SHA1 (patch-src_timezone_private.h) = 85dac95e40efc16270885087f868aeb76e1b9214
SHA1 (patch-src_timezone_strftime.c) = 25102dce1b9b22385353af23500636fb18e3bf64
SHA1 (patch-src_timezone_zic.c) = ed04d781845239ce5dc7c6fca406ce62c10a9605
SHA1 (patch-src_timezone_localtime.c) = 9b5748ef94b11b8798121ac85d2bb18cb99b3812
SHA1 (patch-src_timezone_strftime.c) = f1f37e424dd70c0b2ad905ef491f9d9574bd3266

View File

@@ -1,24 +1,8 @@
$NetBSD: patch-src_Makefile.global.in,v 1.1 2015/01/14 21:01:18 adam Exp $
$NetBSD: patch-src_Makefile.global.in,v 1.2 2015/10/10 10:22:20 adam Exp $
--- src/Makefile.global.in.orig 2014-12-16 01:07:34.000000000 +0000
--- src/Makefile.global.in.orig 2015-10-05 19:12:06.000000000 +0000
+++ src/Makefile.global.in
@@ -41,7 +41,6 @@ MAJORVERSION = @PG_MAJORVERSION@
# Support for VPATH builds
# (PGXS VPATH support is handled separately in pgxs.mk)
-ifndef PGXS
vpath_build = @vpath_build@
abs_top_srcdir = @abs_top_srcdir@
@@ -53,7 +52,6 @@ top_srcdir = $(abs_top_srcdir)
srcdir = $(top_srcdir)/$(subdir)
VPATH = $(srcdir)
endif
-endif # not PGXS
vpathsearch = `for f in $(addsuffix /$(1),$(subst :, ,. $(VPATH))); do test -r $$f && echo $$f && break; done`
@@ -553,6 +551,11 @@ ifeq ($(PORTNAME),win32)
@@ -570,6 +570,11 @@ ifeq ($(PORTNAME),win32)
LIBS += -lws2_32
endif

View File

@@ -1,6 +1,6 @@
$NetBSD: patch-src_interfaces_ecpg_pgtypeslib_interval.c,v 1.1 2015/01/23 15:06:01 joerg Exp $
$NetBSD: patch-src_interfaces_ecpg_pgtypeslib_interval.c,v 1.2 2016/05/23 14:27:35 adam Exp $
--- src/interfaces/ecpg/pgtypeslib/interval.c.orig 2014-12-16 01:07:34.000000000 +0000
--- src/interfaces/ecpg/pgtypeslib/interval.c.orig 2016-05-09 20:52:03.000000000 +0000
+++ src/interfaces/ecpg/pgtypeslib/interval.c
@@ -14,6 +14,10 @@
#include "pgtypes_error.h"
@@ -12,4 +12,4 @@ $NetBSD: patch-src_interfaces_ecpg_pgtypeslib_interval.c,v 1.1 2015/01/23 15:06:
+
/* copy&pasted from .../src/backend/utils/adt/datetime.c */
static int
strtoi(const char *nptr, char **endptr, int base)
strtoint(const char *nptr, char **endptr, int base)

View File

@@ -1,31 +1,13 @@
$NetBSD: patch-src_timezone_localtime.c,v 1.1 2015/01/14 21:01:18 adam Exp $
$NetBSD: patch-src_timezone_localtime.c,v 1.2 2016/08/14 16:56:29 is Exp $
--- src/timezone/localtime.c.orig 2009-06-11 16:49:15.000000000 +0200
--- src/timezone/localtime.c.orig 2016-08-08 20:29:39.000000000 +0000
+++ src/timezone/localtime.c
@@ -81,20 +81,20 @@ static pg_time_t detzcode64(const char *
static int differ_by_repeat(pg_time_t t1, pg_time_t t0);
static const char *getzname(const char *strp);
static const char *getqzname(const char *strp, int delim);
-static const char *getnum(const char *strp, int *nump, int min, int max);
+static const char *getnum(const char *strp, int *nump, const int min, const int max);
static const char *getsecs(const char *strp, long *secsp);
static const char *getoffset(const char *strp, long *offsetp);
static const char *getrule(const char *strp, struct rule * rulep);
static void gmtload(struct state * sp);
-static struct pg_tm *gmtsub(const pg_time_t *timep, long offset,
+static struct pg_tm *gmtsub(const pg_time_t *timep, const long offset,
struct pg_tm * tmp);
-static struct pg_tm *localsub(const pg_time_t *timep, long offset,
+static struct pg_tm *localsub(const pg_time_t *timep, const long offset,
struct pg_tm * tmp, const pg_tz *tz);
static int increment_overflow(int *number, int delta);
-static pg_time_t transtime(pg_time_t janfirst, int year,
- const struct rule * rulep, long offset);
+static pg_time_t transtime(pg_time_t janfirst, const int year,
+ const struct rule * rulep, const long offset);
static int typesequiv(const struct state * sp, int a, int b);
-static struct pg_tm *timesub(const pg_time_t *timep, long offset,
+static struct pg_tm *timesub(const pg_time_t *timep, const long offset,
const struct state * sp, struct pg_tm * tmp);
@@ -84,7 +84,7 @@ struct rule
* Prototypes for static functions.
*/
/* GMT timezone */
-static struct pg_tm *gmtsub(pg_time_t const *, int32, struct pg_tm *);
+static struct pg_tm *gmtsub(pg_time_t const *, const int32, struct pg_tm *);
static bool increment_overflow(int *, int);
static bool increment_overflow_time(pg_time_t *, int32);
static struct pg_tm *timesub(pg_time_t const *, int32, struct state const *,

View File

@@ -1,15 +0,0 @@
$NetBSD: patch-src_timezone_private.h,v 1.1 2015/01/14 21:01:18 adam Exp $
--- src/timezone/private.h.orig 2009-06-11 16:49:15.000000000 +0200
+++ src/timezone/private.h
@@ -51,8 +51,8 @@ extern int unlink(const char *filename);
extern char *icalloc(int nelem, int elsize);
extern char *icatalloc(char *old, const char *new);
extern char *icpyalloc(const char *string);
-extern char *imalloc(int n);
-extern void *irealloc(void *pointer, int size);
+extern char *imalloc(const int n);
+extern void *irealloc(void *pointer, const int size);
extern void icfree(char *pointer);
extern void ifree(char *pointer);
extern const char *scheck(const char *string, const char *format);

View File

@@ -1,8 +1,8 @@
$NetBSD: patch-src_timezone_strftime.c,v 1.1 2015/01/14 21:01:18 adam Exp $
$NetBSD: patch-src_timezone_strftime.c,v 1.2 2016/08/14 16:56:29 is Exp $
--- src/timezone/strftime.c.orig 2009-06-11 16:49:15.000000000 +0200
--- src/timezone/strftime.c.orig 2016-08-08 20:29:39.000000000 +0000
+++ src/timezone/strftime.c
@@ -89,7 +89,7 @@ static const struct lc_time_T C_time_loc
@@ -109,7 +109,7 @@ static const struct lc_time_T C_time_loc
};
static char *_add(const char *, char *, const char *);
@@ -10,4 +10,4 @@ $NetBSD: patch-src_timezone_strftime.c,v 1.1 2015/01/14 21:01:18 adam Exp $
+static char *_conv(const int, const char *, char *, const char *);
static char *_fmt(const char *, const struct pg_tm *, char *,
const char *, int *);
static char *_yconv(const int, const int, const int, const int,
static char *_yconv(int, int, bool, bool, char *, const char *);

View File

@@ -1,78 +0,0 @@
$NetBSD: patch-src_timezone_zic.c,v 1.1 2015/01/14 21:01:18 adam Exp $
--- src/timezone/zic.c.orig 2010-03-16 07:17:04.000000000 +0000
+++ src/timezone/zic.c
@@ -121,51 +121,51 @@ struct zone
extern int link(const char *fromname, const char *toname);
static void addtt(const pg_time_t starttime, int type);
-static int addtype(long gmtoff, const char *abbr, int isdst,
- int ttisstd, int ttisgmt);
-static void leapadd(const pg_time_t t, int positive, int rolling, int count);
+static int addtype(const long gmtoff, const char *abbr, const int isdst,
+ const int ttisstd, const int ttisgmt);
+static void leapadd(const pg_time_t t, const int positive, const int rolling, int count);
static void adjleap(void);
static void associate(void);
static int ciequal(const char *ap, const char *bp);
-static void convert(long val, char *buf);
+static void convert(const long val, char *buf);
static void dolink(const char *fromfile, const char *tofile);
static void doabbr(char *abbr, const char *format,
- const char *letters, int isdst, int doquotes);
-static void eat(const char *name, int num);
-static void eats(const char *name, int num,
- const char *rname, int rnum);
-static long eitol(int i);
+ const char *letters, const int isdst, int doquotes);
+static void eat(const char *name, const int num);
+static void eats(const char *name, const int num,
+ const char *rname, const int rnum);
+static long eitol(const int i);
static void error(const char *message);
static char **getfields(char *buf);
static long gethms(const char *string, const char *errstrng,
- int signable);
+ const int signable);
static void infile(const char *filename);
-static void inleap(char **fields, int nfields);
-static void inlink(char **fields, int nfields);
-static void inrule(char **fields, int nfields);
-static int inzcont(char **fields, int nfields);
-static int inzone(char **fields, int nfields);
-static int inzsub(char **fields, int nfields, int iscont);
+static void inleap(char **fields, const int nfields);
+static void inlink(char **fields, const int nfields);
+static void inrule(char **fields, const int nfields);
+static int inzcont(char **fields, const int nfields);
+static int inzone(char **fields, const int nfields);
+static int inzsub(char **fields, const int nfields, const int iscont);
static int itsabbr(const char *abbr, const char *word);
static int itsdir(const char *name);
static int lowerit(int c);
static char *memcheck(char *tocheck);
static int mkdirs(char *filename);
static void newabbr(const char *abbr);
-static long oadd(long t1, long t2);
-static void outzone(const struct zone * zp, int ntzones);
-static void puttzcode(long code, FILE *fp);
+static long oadd(const long t1, const long t2);
+static void outzone(const struct zone * zp, const int ntzones);
+static void puttzcode(const long code, FILE *fp);
static int rcomp(const void *leftp, const void *rightp);
-static pg_time_t rpytime(const struct rule * rp, int wantedy);
+static pg_time_t rpytime(const struct rule * rp, const int wantedy);
static void rulesub(struct rule * rp,
const char *loyearp, const char *hiyearp,
const char *typep, const char *monthp,
const char *dayp, const char *timep);
static void setboundaries(void);
-static pg_time_t tadd(const pg_time_t t1, long t2);
+static pg_time_t tadd(const pg_time_t t1, const long t2);
static void usage(FILE *stream, int status);
static void writezone(const char *name, const char *string);
-static int yearistype(int year, const char *type);
+static int yearistype(const int year, const char *type);
static int charcnt;
static int errors;