Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=d74edc0184d1f544d6282e657ed440c2f8d420cd
commit d74edc0184d1f544d6282e657ed440c2f8d420cd Author: crazy <[email protected]> Date: Sun Feb 11 22:07:38 2018 +0100 postgresql-10.2-1-x86_64 * Version bump diff --git a/source/apps-extra/postgresql/FrugalBuild b/source/apps-extra/postgresql/FrugalBuild index 92a8c18..a7eb764 100644 --- a/source/apps-extra/postgresql/FrugalBuild +++ b/source/apps-extra/postgresql/FrugalBuild @@ -5,8 +5,8 @@ USE_TCL=${USE_TCL:-"y"} pkgname=postgresql -pkgver=10.1 -pkgrel=2 +pkgver=10.2 +pkgrel=1 pkgdesc="An advanced Object-Relational database management system (DBMS)" url="http://www.postgresql.org/" depends=('openssl>=1.0.2-20' 'readline>=7.0-2' 'libxml2>=2.9.4-3' 'ncurses>=6.1-2') @@ -16,9 +16,8 @@ groups=('apps-extra') archs=('x86_64') _F_archive_grepv="beta\|rc[0-9]" up2date="Flastverdir https://ftp.postgresql.org/pub/source/ | sed 's/v//'" -source=(https://ftp.postgresql.org/pub/source/v$pkgver/postgresql-$pkgver.tar.bz2 glibc.patch postgresql.service pg_setup) -sha1sums=('4adcfd527ec1652ecd7a22eb71541928d3d37277' \ - '79e41a69725604051ed29c2ceca14fb4236a332c' \ +source=(https://ftp.postgresql.org/pub/source/v$pkgver/postgresql-$pkgver.tar.bz2 postgresql.service pg_setup) +sha1sums=('b0597de368dac410cfb65ce92f89e324bbdc1ea1' \ '41423e125d1f8f5f6c57bcddd5eb5ad326b22561' \ '30c843fe478fadcd3d8a1d80f7b12a7bccb41efb') diff --git a/source/apps-extra/postgresql/glibc.patch b/source/apps-extra/postgresql/glibc.patch deleted file mode 100644 index 50a3bad..0000000 --- a/source/apps-extra/postgresql/glibc.patch +++ /dev/null @@ -1,64 +0,0 @@ -From: Andres Freund <[email protected]> -Date: Wed, 3 Jan 2018 20:00:11 +0000 (-0800) -Subject: Rename pg_rewind's copy_file_range() to avoid conflict with new linux syscall. -X-Git-Url: http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff_plain;h=e3fdb7c00e783ed4b490554ab6bbaccad341c244 - -Rename pg_rewind's copy_file_range() to avoid conflict with new linux syscall. - -Upcoming versions of glibc will contain copy_file_range(2), a wrapper -around a new linux syscall for in-kernel copying of data ranges. This -conflicts with pg_rewinds function of the same name. - -Therefore rename pg_rewinds version. As our version isn't a generic -copying facility we decided to choose a rewind specific function name. - -Per buildfarm animal caiman and subsequent discussion with Tom Lane. - -Author: Andres Freund -Discussion: - https://postgr.es/m/[email protected] - https://postgr.es/m/[email protected] -Backpatch: 9.5-, where pg_rewind was introduced ---- - -diff --git a/src/bin/pg_rewind/copy_fetch.c b/src/bin/pg_rewind/copy_fetch.c -index f7ac5b30b5..a1b85f7706 100644 ---- a/src/bin/pg_rewind/copy_fetch.c -+++ b/src/bin/pg_rewind/copy_fetch.c -@@ -156,7 +156,7 @@ recurse_dir(const char *datadir, const char *parentpath, - * If 'trunc' is true, any existing file with the same name is truncated. - */ - static void --copy_file_range(const char *path, off_t begin, off_t end, bool trunc) -+rewind_copy_file_range(const char *path, off_t begin, off_t end, bool trunc) - { - char buf[BLCKSZ]; - char srcpath[MAXPGPATH]; -@@ -222,7 +222,7 @@ copy_executeFileMap(filemap_t *map) - break; - - case FILE_ACTION_COPY: -- copy_file_range(entry->path, 0, entry->newsize, true); -+ rewind_copy_file_range(entry->path, 0, entry->newsize, true); - break; - - case FILE_ACTION_TRUNCATE: -@@ -230,7 +230,8 @@ copy_executeFileMap(filemap_t *map) - break; - - case FILE_ACTION_COPY_TAIL: -- copy_file_range(entry->path, entry->oldsize, entry->newsize, false); -+ rewind_copy_file_range(entry->path, entry->oldsize, -+ entry->newsize, false); - break; - - case FILE_ACTION_CREATE: -@@ -257,7 +258,7 @@ execute_pagemap(datapagemap_t *pagemap, const char *path) - while (datapagemap_next(iter, &blkno)) - { - offset = blkno * BLCKSZ; -- copy_file_range(path, offset, offset + BLCKSZ, false); -+ rewind_copy_file_range(path, offset, offset + BLCKSZ, false); - /* Ok, this block has now been copied from new data dir to old */ - } - pg_free(iter); _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
