From ead7697a01fd631b56240b2d58aedd98ba7f92d3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 27 Nov 2024 02:00:01 +0000 Subject: gentoo auto-resync : 27:11:2024 - 02:00:00 --- dev-db/Manifest.gz | Bin 16599 -> 16589 bytes dev-db/cdb/Manifest | 3 + dev-db/cdb/cdb-0.75-r5.ebuild | 61 ++++ dev-db/cdb/files/cdb-C99.patch | 482 +++++++++++++++++++++++++++++ dev-db/cdb/files/cdb-make-type.patch | 119 +++++++ dev-db/pgLatLon/Manifest | 2 +- dev-db/pgLatLon/pgLatLon-0.15.ebuild | 4 +- dev-db/phppgadmin/Manifest | 4 +- dev-db/phppgadmin/phppgadmin-7.14.5.ebuild | 4 +- dev-db/phppgadmin/phppgadmin-7.14.7.ebuild | 4 +- dev-db/rqlite/Manifest | 6 +- dev-db/rqlite/rqlite-8.32.7.ebuild | 36 --- dev-db/rqlite/rqlite-8.34.2.ebuild | 45 +++ 13 files changed, 722 insertions(+), 48 deletions(-) create mode 100644 dev-db/cdb/cdb-0.75-r5.ebuild create mode 100644 dev-db/cdb/files/cdb-C99.patch create mode 100644 dev-db/cdb/files/cdb-make-type.patch delete mode 100644 dev-db/rqlite/rqlite-8.32.7.ebuild create mode 100644 dev-db/rqlite/rqlite-8.34.2.ebuild (limited to 'dev-db') diff --git a/dev-db/Manifest.gz b/dev-db/Manifest.gz index 090594527bb1..f209a4accdb5 100644 Binary files a/dev-db/Manifest.gz and b/dev-db/Manifest.gz differ diff --git a/dev-db/cdb/Manifest b/dev-db/cdb/Manifest index ced8cd4eddfd..56fef2190b01 100644 --- a/dev-db/cdb/Manifest +++ b/dev-db/cdb/Manifest @@ -1,6 +1,9 @@ +AUX cdb-C99.patch 11772 BLAKE2B c3052fee52bb81a80a178d14022a51df93d82242f0e24bee239320d5c0ac9a4f406d675c7ee835d94c964a0fa7935ddc1ea72f1454e50b31ef7f65ca7280ba0e SHA512 6ce0f0f6834f0640b750ebfd3d86ec9e04cbfe76676d7a0ef78871ff10af68ce471b3fdedee3086ae23c6e18e6ef18bccd9cd406e6c8580257a6c5c0deb2638b AUX cdb-errno.patch 170 BLAKE2B 806a8f0b83fef34796705596f7e4c2896d3ef56d0209a5a181d46dbaa87268620a2d1cf4ee3ae1fa8890886d8f9db2b8c417cb51a4b9dc11802ed33f1b14c4f7 SHA512 00b39bf8cda478a3e3e5851eb7e2dd154bd547d6fdf73d3de5ca6f6ac565aca7a275b67bbde988249f4daabddbcee4ba5509cc079c2533f42268cfa5b39984cb AUX cdb-inline.patch 251 BLAKE2B 16c4dd5cc00f243a51196977988fcae53365bab4b1a0034d44e24b5c5c0b3c6b819dfa00f6fd7ce583722f97847cba7e6b24b53596639a7df1fd0da42910c35c SHA512 c8d4cf0772b7373160c600ba1494f4933c62c9e1df929695c754c4e51ebaec4387d5f8e8739c88e0b82463bc26e8bd0c2060c43dffcfdb79431d2038f100a617 +AUX cdb-make-type.patch 3027 BLAKE2B e147296b425ee0c739c759f40bcf341b75f5e3bd1f8c4b3d8ed1e94f8730e1d8d552ee8cb68b843aeecfc052347307c50c993909382b8c39db361d58a6f2144a SHA512 0a110c94ba0acf9f9caf2743be01bacd576a4de8316ec36a7f9107da6617133154834e30bd9a4ff790cc4555139cf5346cb5cf724d8a69d9e59347216f9df55a AUX cdb-stdint.patch 8956 BLAKE2B af2815290b395a23cb58a48b49361aa648d461ca247f6cba5fec7dfb0634be4fa1c09e4fc11536ff22dd5c221024cd0391d714fbb7fb160b91343111cebc37ca SHA512 2589722307e4b8c9e6e010a0a452a987bf5190bbaf20ece85b54666dd6633f30c85b443bddc31e70ea4024912a3999cd7197a0ac06cf86dbaf00c8b82551ae36 DIST cdb-0.75.tar.gz 54162 BLAKE2B 7b488bf330b2aac88a1cca82a6a49e24d0fd953c77935231a31bd72cc0936a37628736b5b22ea0d58aaa77cd118976ab8aa82ccc080f99e190e3f1db5d51b622 SHA512 6faeab91a77457348b58f685e81000b83fb609691317198a06284c5c62dee1e4d6138f90be1e727021f279d740169c175a21b23c96adb39a654e3f7fafdf36c0 EBUILD cdb-0.75-r4.ebuild 1479 BLAKE2B e305b9959b5904229ad0cbada62eaa2a7c4272078831a825e0deee2639107881213ba3ec7b975bc9bb17bf49d5eb127818b1491f484f2b546439182d60f3c10b SHA512 1935beba1e232d26c9da189396dbd26e4d523df5c9879fb1c508794e5770ec0add2b71e7e2071e721482eb8fc9e46bedb9d7cc77fa3dddfdb52242fc1e90186a +EBUILD cdb-0.75-r5.ebuild 1554 BLAKE2B 74425f6163d9ec8d081068fcbf881e5c4b5fbc3f2390407e2bd2dff97f77a3288b6748eabc393c3b6f47b19593181758817166529ca46eabc73f1b5cd8dd93c7 SHA512 78b29de949b6d789be5124a26555907d22ab8bd882e019435166740d4d8f95d65957ebd5399eaf3f430db2b80679c0faaa1d9c888d51c1ce9c723131361241e4 MISC metadata.xml 249 BLAKE2B a37da98d387308dab889eab2665b67e4176707f3c115a7a69cb7f4b19f9864b96bc2fe70efa105e627c4b57a7d626f6b23dc2709a225a9debada3356f3cf32a0 SHA512 a5095fb01e05f24583a962e36131b2f02cf2d1dd7a97051200e465ad97db014721de7c1857f5eb736cb0290682e8de833cb4c735f7de8d98cdfae1aed6d3d549 diff --git a/dev-db/cdb/cdb-0.75-r5.ebuild b/dev-db/cdb/cdb-0.75-r5.ebuild new file mode 100644 index 000000000000..e8a80d0d92fb --- /dev/null +++ b/dev-db/cdb/cdb-0.75-r5.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit toolchain-funcs + +DESCRIPTION="Fast, reliable, simple package for creating and reading constant databases" +HOMEPAGE="https://cr.yp.to/cdb.html" +SRC_URI="https://cr.yp.to/${PN}/${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="" + +RDEPEND="!dev-db/tinycdb" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-errno.patch + "${FILESDIR}"/${PN}-inline.patch + "${FILESDIR}"/${PN}-stdint.patch + "${FILESDIR}"/${PN}-C99.patch + "${FILESDIR}"/${PN}-make-type.patch +) +DOCS=( CHANGES README TODO VERSION ) + +src_prepare() { + default + + sed -i \ + -e "s/head -1/head -n 1/g" \ + -e "s/ar /$(tc-getAR) /" \ + -e "s/ranlib /$(tc-getRANLIB) /" \ + Makefile +} + +src_configure() { + echo "$(tc-getCC) ${CFLAGS} -fPIC" >conf-cc || die + echo "$(tc-getCC) ${LDFLAGS}" >conf-ld || die + echo "${EPREFIX}/usr" >conf-home || die +} + +src_install() { + dobin ${PN}{dump,get,make{,-12,-sv},stats,test} + + # ok so ... first off, some automakes fail at finding + # cdb.a, so install that now + dolib.a *.a + # then do this pretty little symlinking to solve the somewhat + # cosmetic library issue at hand + dosym ${PN}.a /usr/$(get_libdir)/lib${PN}.a + + # uint32.h needs installation too, otherwise compiles depending + # on it will fail + insinto /usr/include/${PN} + doins ${PN}*.h {alloc,buffer,uint32}.h + + einstalldocs +} diff --git a/dev-db/cdb/files/cdb-C99.patch b/dev-db/cdb/files/cdb-C99.patch new file mode 100644 index 000000000000..8e201904ad52 --- /dev/null +++ b/dev-db/cdb/files/cdb-C99.patch @@ -0,0 +1,482 @@ +Patch by Vladislav Dudar from https://bugs.gentoo.org/874963 +diff -Naur a/alloc.c b/alloc.c +--- a/alloc.c 2024-03-02 22:40:29.336632203 +0300 ++++ b/alloc.c 2024-03-02 22:44:54.890055799 +0300 +@@ -1,7 +1,6 @@ ++#include + #include "alloc.h" + #include "error.h" +-extern char *malloc(); +-extern void free(); + + #define ALIGNMENT 16 /* XXX: assuming that this alignment is enough */ + #define SPACE 4096 /* must be multiple of ALIGNMENT */ +diff -Naur a/auto-str.c b/auto-str.c +--- a/auto-str.c 2024-03-02 22:40:29.336632203 +0300 ++++ b/auto-str.c 2024-03-02 22:44:23.263775501 +0300 +@@ -1,17 +1,17 @@ ++#include + #include "buffer.h" +-#include "readwrite.h" + #include "exit.h" + + char buf1[256]; + buffer ss1 = BUFFER_INIT(write,1,buf1,sizeof(buf1)); + +-void puts(s) ++void puts_djb(s) + char *s; + { + if (buffer_puts(&ss1,s) == -1) _exit(111); + } + +-main(argc,argv) ++void main(argc,argv) + int argc; + char **argv; + { +@@ -25,20 +25,20 @@ + value = argv[2]; + if (!value) _exit(100); + +- puts("char "); +- puts(name); +- puts("[] = \"\\\n"); ++ puts_djb("char "); ++ puts_djb(name); ++ puts_djb("[] = \"\\\n"); + + while (ch = *value++) { +- puts("\\"); ++ puts_djb("\\"); + octal[3] = 0; + octal[2] = '0' + (ch & 7); ch >>= 3; + octal[1] = '0' + (ch & 7); ch >>= 3; + octal[0] = '0' + (ch & 7); +- puts(octal); ++ puts_djb(octal); + } + +- puts("\\\n\";\n"); ++ puts_djb("\\\n\";\n"); + if (buffer_flush(&ss1) == -1) _exit(111); + _exit(0); + } +diff -Naur a/buffer_0.c b/buffer_0.c +--- a/buffer_0.c 2024-03-02 22:40:29.336632203 +0300 ++++ b/buffer_0.c 2024-03-02 22:44:23.267108794 +0300 +@@ -1,4 +1,3 @@ +-#include "readwrite.h" + #include "buffer.h" + + int buffer_0_read(fd,buf,len) int fd; char *buf; int len; +diff -Naur a/buffer_1.c b/buffer_1.c +--- a/buffer_1.c 2024-03-02 22:40:29.336632203 +0300 ++++ b/buffer_1.c 2024-03-02 22:44:23.267108794 +0300 +@@ -1,4 +1,3 @@ +-#include "readwrite.h" + #include "buffer.h" + + char buffer_1_space[BUFFER_OUTSIZE]; +diff -Naur a/buffer_1s.c b/buffer_1s.c +--- a/buffer_1s.c 2024-03-02 22:40:29.336632203 +0300 ++++ b/buffer_1s.c 2024-03-02 22:44:23.280441964 +0300 +@@ -1,4 +1,3 @@ +-#include "readwrite.h" + #include "buffer.h" + + char buffer_1small_space[256]; +diff -Naur a/buffer_2.c b/buffer_2.c +--- a/buffer_2.c 2024-03-02 22:40:29.336632203 +0300 ++++ b/buffer_2.c 2024-03-02 22:44:23.280441964 +0300 +@@ -1,4 +1,3 @@ +-#include "readwrite.h" + #include "buffer.h" + + char buffer_2_space[256]; +diff -Naur a/buffer.c b/buffer.c +--- a/buffer.c 2024-03-02 22:40:29.336632203 +0300 ++++ b/buffer.c 2024-03-02 22:44:23.280441964 +0300 +@@ -1,6 +1,6 @@ + #include "buffer.h" + +-void buffer_init(buffer *s,int (*op)(),int fd,char *buf,unsigned int len) ++void buffer_init(buffer *s,ssize_t (*op)(),int fd,char *buf,unsigned int len) + { + s->x = buf; + s->fd = fd; +diff -Naur a/buffer_get.c b/buffer_get.c +--- a/buffer_get.c 2024-03-02 22:40:29.336632203 +0300 ++++ b/buffer_get.c 2024-03-02 22:44:23.280441964 +0300 +@@ -2,9 +2,9 @@ + #include "byte.h" + #include "error.h" + +-static int oneread(int (*op)(),int fd,char *buf,unsigned int len) ++static int oneread(long int (*op)(),int fd,char *buf,unsigned int len) + { +- int r; ++ long int r; + + for (;;) { + r = op(fd,buf,len); +diff -Naur a/buffer.h b/buffer.h +--- a/buffer.h 2024-03-02 22:40:29.336632203 +0300 ++++ b/buffer.h 2024-03-02 22:44:23.280441964 +0300 +@@ -1,19 +1,21 @@ + #ifndef BUFFER_H + #define BUFFER_H + ++#include ++ + typedef struct buffer { + char *x; + unsigned int p; + unsigned int n; + int fd; +- int (*op)(); ++ ssize_t (*op)(); + } buffer; + +-#define BUFFER_INIT(op,fd,buf,len) { (buf), 0, (len), (fd), (op) } ++#define BUFFER_INIT(op,fd,buf,len) { (buf), 0, (len), (fd), (long(*)())(op) } + #define BUFFER_INSIZE 8192 + #define BUFFER_OUTSIZE 8192 + +-extern void buffer_init(buffer *,int (*)(),int,char *,unsigned int); ++extern void buffer_init(buffer *,ssize_t (*)(),int,char *,unsigned int); + + extern int buffer_flush(buffer *); + extern int buffer_put(buffer *,char *,unsigned int); +diff -Naur a/buffer_put.c b/buffer_put.c +--- a/buffer_put.c 2024-03-02 22:40:29.336632203 +0300 ++++ b/buffer_put.c 2024-03-02 22:44:23.280441964 +0300 +@@ -3,9 +3,9 @@ + #include "byte.h" + #include "error.h" + +-static int allwrite(int (*op)(),int fd,char *buf,unsigned int len) ++static int allwrite(long int (*op)(),int fd,char *buf,unsigned int len) + { +- int w; ++ long int w; + + while (len) { + w = op(fd,buf,len); +diff -Naur a/cdb.c b/cdb.c +--- a/cdb.c 2024-03-02 22:40:29.333298910 +0300 ++++ b/cdb.c 2024-03-02 22:44:23.280441964 +0300 +@@ -3,7 +3,6 @@ + #include + #include + #include +-#include "readwrite.h" + #include "error.h" + #include "seek.h" + #include "byte.h" +diff -Naur a/cdbdump.c b/cdbdump.c +--- a/cdbdump.c 2024-03-02 22:40:29.333298910 +0300 ++++ b/cdbdump.c 2024-03-02 22:44:23.280441964 +0300 +@@ -58,7 +58,7 @@ + + char strnum[FMT_ULONG]; + +-main() ++void main() + { + uint32 eod; + uint32 klen; +diff -Naur a/cdbget.c b/cdbget.c +--- a/cdbget.c 2024-03-02 22:40:29.333298910 +0300 ++++ b/cdbget.c 2024-03-02 22:44:23.280441964 +0300 +@@ -23,7 +23,7 @@ + static struct cdb c; + char buf[1024]; + +-main(int argc,char **argv) ++void main(int argc,char **argv) + { + char *key; + int r; +diff -Naur a/cdb.h b/cdb.h +--- a/cdb.h 2024-03-02 22:40:29.333298910 +0300 ++++ b/cdb.h 2024-03-02 22:44:23.280441964 +0300 +@@ -3,6 +3,7 @@ + #ifndef CDB_H + #define CDB_H + ++#include + #include "uint32.h" + + #define CDB_HASHSTART 5381 +diff -Naur a/cdb_make.c b/cdb_make.c +--- a/cdb_make.c 2024-03-02 22:40:29.333298910 +0300 ++++ b/cdb_make.c 2024-03-02 22:44:23.283775257 +0300 +@@ -1,6 +1,5 @@ + /* Public domain. */ + +-#include "readwrite.h" + #include "seek.h" + #include "error.h" + #include "alloc.h" +diff -Naur a/cdbmake.c b/cdbmake.c +--- a/cdbmake.c 2024-03-02 22:40:29.333298910 +0300 ++++ b/cdbmake.c 2024-03-02 22:44:23.283775257 +0300 +@@ -36,7 +36,7 @@ + + static struct cdb_make c; + +-main(int argc,char **argv) ++void main(int argc,char **argv) + { + unsigned int klen; + unsigned int dlen; +diff -Naur a/cdb_make.h b/cdb_make.h +--- a/cdb_make.h 2024-03-02 22:40:29.333298910 +0300 ++++ b/cdb_make.h 2024-03-02 22:44:23.283775257 +0300 +@@ -3,6 +3,7 @@ + #ifndef CDB_MAKE_H + #define CDB_MAKE_H + ++#include + #include "buffer.h" + #include "uint32.h" + +diff -Naur a/cdbstats.c b/cdbstats.c +--- a/cdbstats.c 2024-03-02 22:40:29.333298910 +0300 ++++ b/cdbstats.c 2024-03-02 22:44:23.283775257 +0300 +@@ -3,6 +3,7 @@ + #include "buffer.h" + #include "strerr.h" + #include "seek.h" ++#include "str.h" + #include "cdb.h" + + #define FATAL "cdbstats: fatal: " +@@ -68,7 +69,7 @@ + static unsigned long numrecords; + static unsigned long numd[11]; + +-main() ++void main() + { + uint32 eod; + uint32 klen; +diff -Naur a/cdbtest.c b/cdbtest.c +--- a/cdbtest.c 2024-03-02 22:40:29.333298910 +0300 ++++ b/cdbtest.c 2024-03-02 22:44:23.283775257 +0300 +@@ -3,6 +3,7 @@ + #include "buffer.h" + #include "strerr.h" + #include "seek.h" ++#include "str.h" + #include "cdb.h" + + #define FATAL "cdbtest: fatal: " +@@ -66,7 +67,7 @@ + + static struct cdb c; + +-main() ++void main() + { + uint32 eod; + uint32 klen; +diff -Naur a/FILES b/FILES +--- a/FILES 2024-03-02 22:40:29.333298910 +0300 ++++ b/FILES 2024-03-02 22:44:23.283775257 +0300 +@@ -55,12 +55,12 @@ + fmt.h + fmt_ulong.c + hier.c ++hier.h + install.c + instcheck.c + open.h + open_read.c + open_trunc.c +-readwrite.h + scan.h + scan_ulong.c + seek.h +diff -Naur a/hier.c b/hier.c +--- a/hier.c 2024-03-02 22:40:29.336632203 +0300 ++++ b/hier.c 2024-03-02 22:44:23.283775257 +0300 +@@ -1,4 +1,5 @@ + #include "auto_home.h" ++#include "hier.h" + + void hier() + { +diff -Naur a/hier.h b/hier.h +--- a/hier.h 1970-01-01 03:00:00.000000000 +0300 ++++ b/hier.h 2024-03-02 22:44:23.283775257 +0300 +@@ -0,0 +1,8 @@ ++#ifndef HIER_H ++#define HIER_H ++ ++void h(char *home,int uid,int gid,int mode); ++void d(char *home,char *subdir,int uid,int gid,int mode); ++void c(char *home,char *subdir,char *file,int uid,int gid,int mode); ++ ++#endif +diff -Naur a/install.c b/install.c +--- a/install.c 2024-03-02 22:40:29.336632203 +0300 ++++ b/install.c 2024-03-02 22:44:23.283775257 +0300 +@@ -1,8 +1,8 @@ ++#include + #include "buffer.h" + #include "strerr.h" + #include "error.h" + #include "open.h" +-#include "readwrite.h" + #include "exit.h" + + extern void hier(); +@@ -137,7 +137,7 @@ + strerr_die6sys(111,FATAL,"unable to chmod .../",subdir,"/",file,": "); + } + +-main() ++void main() + { + fdsourcedir = open_read("."); + if (fdsourcedir == -1) +diff -Naur a/instcheck.c b/instcheck.c +--- a/instcheck.c 2024-03-02 22:40:29.336632203 +0300 ++++ b/instcheck.c 2024-03-02 22:44:23.283775257 +0300 +@@ -1,8 +1,8 @@ + #include + #include ++#include + #include "strerr.h" + #include "error.h" +-#include "readwrite.h" + #include "exit.h" + + extern void hier(); +@@ -101,7 +101,7 @@ + perm("",home,"/",file,S_IFREG,uid,gid,mode); + } + +-main() ++void main() + { + hier(); + _exit(0); +diff -Naur a/Makefile b/Makefile +--- a/Makefile 2024-03-02 22:40:29.333298910 +0300 ++++ b/Makefile 2024-03-02 22:44:23.300441719 +0300 +@@ -17,7 +17,7 @@ + ./load auto-str buffer.a unix.a byte.a + + auto-str.o: \ +-compile auto-str.c buffer.h readwrite.h exit.h ++compile auto-str.c buffer.h exit.h + ./compile auto-str.c + + auto_home.c: \ +@@ -40,19 +40,19 @@ + ./compile buffer.c + + buffer_0.o: \ +-compile buffer_0.c readwrite.h buffer.h ++compile buffer_0.c buffer.h + ./compile buffer_0.c + + buffer_1.o: \ +-compile buffer_1.c readwrite.h buffer.h ++compile buffer_1.c buffer.h + ./compile buffer_1.c + + buffer_1s.o: \ +-compile buffer_1s.c readwrite.h buffer.h ++compile buffer_1s.c buffer.h + ./compile buffer_1s.c + + buffer_2.o: \ +-compile buffer_2.c readwrite.h buffer.h ++compile buffer_2.c buffer.h + ./compile buffer_2.c + + buffer_copy.o: \ +@@ -91,7 +91,7 @@ + ./makelib cdb.a cdb.o cdb_hash.o cdb_make.o + + cdb.o: \ +-compile cdb.c readwrite.h error.h seek.h byte.h cdb.h uint32.h ++compile cdb.c error.h seek.h byte.h cdb.h uint32.h + ./compile cdb.c + + cdb_hash.o: \ +@@ -99,7 +99,7 @@ + ./compile cdb_hash.c + + cdb_make.o: \ +-compile cdb_make.c readwrite.h seek.h error.h alloc.h cdb.h uint32.h \ ++compile cdb_make.c seek.h error.h alloc.h cdb.h uint32.h \ + cdb_make.h buffer.h uint32.h + ./compile cdb_make.c + +@@ -184,7 +184,7 @@ + ./compile fmt_ulong.c + + hier.o: \ +-compile hier.c auto_home.h ++compile hier.c hier.h auto_home.h + ./compile hier.c + + install: \ +@@ -192,7 +192,7 @@ + ./load install hier.o auto_home.o buffer.a unix.a byte.a + + install.o: \ +-compile install.c buffer.h strerr.h error.h open.h readwrite.h exit.h ++compile install.c buffer.h strerr.h error.h open.h exit.h + ./compile install.c + + instcheck: \ +@@ -200,7 +200,7 @@ + ./load instcheck hier.o auto_home.o buffer.a unix.a byte.a + + instcheck.o: \ +-compile instcheck.c strerr.h error.h readwrite.h exit.h ++compile instcheck.c strerr.h error.h exit.h + ./compile instcheck.c + + it: \ +diff -Naur a/readwrite.h b/readwrite.h +--- a/readwrite.h 2024-03-02 22:40:29.336632203 +0300 ++++ b/readwrite.h 1970-01-01 03:00:00.000000000 +0300 +@@ -1,7 +0,0 @@ +-#ifndef READWRITE_H +-#define READWRITE_H +- +-extern int read(); +-extern int write(); +- +-#endif +diff -Naur a/seek.h b/seek.h +--- a/seek.h 2024-03-02 22:40:29.336632203 +0300 ++++ b/seek.h 2024-03-02 22:44:23.300441719 +0300 +@@ -1,6 +1,8 @@ + #ifndef SEEK_H + #define SEEK_H + ++#include ++ + typedef unsigned long seek_pos; + + extern seek_pos seek_cur(int); +diff -Naur a/testzero.c b/testzero.c +--- a/testzero.c 2024-03-02 22:40:29.333298910 +0300 ++++ b/testzero.c 2024-03-02 22:44:23.300441719 +0300 +@@ -14,7 +14,7 @@ + static char data[65536]; + struct cdb_make c; + +-main(int argc,char **argv) ++void main(int argc,char **argv) + { + int fd; + unsigned long loop; diff --git a/dev-db/cdb/files/cdb-make-type.patch b/dev-db/cdb/files/cdb-make-type.patch new file mode 100644 index 000000000000..574c62851fb8 --- /dev/null +++ b/dev-db/cdb/files/cdb-make-type.patch @@ -0,0 +1,119 @@ +fixes all warnings below, because they annoyed me +return type of 'main' is not 'int' [-Wmain-return-type] +diff '--color=auto' -ru a/auto-str.c b/auto-str.c +--- a/auto-str.c 2024-06-28 09:58:21.705876043 -0000 ++++ b/auto-str.c 2024-06-28 09:58:28.913833538 -0000 +@@ -11,7 +11,7 @@ + if (buffer_puts(&ss1,s) == -1) _exit(111); + } + +-void main(argc,argv) ++int main(argc,argv) + int argc; + char **argv; + { +diff '--color=auto' -ru a/cdbdump.c b/cdbdump.c +--- a/cdbdump.c 2024-06-28 09:58:21.706876037 -0000 ++++ b/cdbdump.c 2024-06-28 09:58:28.901833608 -0000 +@@ -58,7 +58,7 @@ + + char strnum[FMT_ULONG]; + +-void main() ++int main() + { + uint32_t eod; + uint32_t klen; +diff '--color=auto' -ru a/cdbget.c b/cdbget.c +--- a/cdbget.c 2024-06-28 09:58:21.711876007 -0000 ++++ b/cdbget.c 2024-06-28 09:58:28.898833626 -0000 +@@ -23,7 +23,7 @@ + static struct cdb c; + char buf[1024]; + +-void main(int argc,char **argv) ++int main(int argc,char **argv) + { + char *key; + int r; +diff '--color=auto' -ru a/cdbmake.c b/cdbmake.c +--- a/cdbmake.c 2024-06-28 09:58:21.716875978 -0000 ++++ b/cdbmake.c 2024-06-28 09:58:28.900833614 -0000 +@@ -36,7 +36,7 @@ + + static struct cdb_make c; + +-void main(int argc,char **argv) ++int main(int argc,char **argv) + { + unsigned int klen; + unsigned int dlen; +diff '--color=auto' -ru a/cdbstats.c b/cdbstats.c +--- a/cdbstats.c 2024-06-28 09:58:21.718875966 -0000 ++++ b/cdbstats.c 2024-06-28 09:58:28.903833597 -0000 +@@ -69,7 +69,7 @@ + static unsigned long numrecords; + static unsigned long numd[11]; + +-void main() ++int main() + { + uint32_t eod; + uint32_t klen; +diff '--color=auto' -ru a/cdbtest.c b/cdbtest.c +--- a/cdbtest.c 2024-06-28 09:58:21.718875966 -0000 ++++ b/cdbtest.c 2024-06-28 09:58:28.904833591 -0000 +@@ -67,7 +67,7 @@ + + static struct cdb c; + +-void main() ++int main() + { + uint32_t eod; + uint32_t klen; +diff '--color=auto' -ru a/install.c b/install.c +--- a/install.c 2024-06-28 09:58:21.719875960 -0000 ++++ b/install.c 2024-06-28 09:58:28.928833449 -0000 +@@ -137,7 +137,7 @@ + strerr_die6sys(111,FATAL,"unable to chmod .../",subdir,"/",file,": "); + } + +-void main() ++int main() + { + fdsourcedir = open_read("."); + if (fdsourcedir == -1) +diff '--color=auto' -ru a/instcheck.c b/instcheck.c +--- a/instcheck.c 2024-06-28 09:58:21.719875960 -0000 ++++ b/instcheck.c 2024-06-28 09:58:28.929833443 -0000 +@@ -101,7 +101,7 @@ + perm("",home,"/",file,S_IFREG,uid,gid,mode); + } + +-void main() ++int main() + { + hier(); + _exit(0); +diff '--color=auto' -ru a/testzero.c b/testzero.c +--- a/testzero.c 2024-06-28 09:58:21.720875954 -0000 ++++ b/testzero.c 2024-06-28 09:58:28.908833567 -0000 +@@ -14,7 +14,7 @@ + static char data[65536]; + struct cdb_make c; + +-void main(int argc,char **argv) ++int main(int argc,char **argv) + { + int fd; + unsigned long loop; +diff '--color=auto' -ru a/tryulong32.c b/tryulong32.c +--- a/tryulong32.c 2024-06-28 09:58:21.715875984 -0000 ++++ b/tryulong32.c 2024-06-28 09:58:28.936833402 -0000 +@@ -1,4 +1,4 @@ +-void main() ++int main() + { + unsigned long u; + u = 1; diff --git a/dev-db/pgLatLon/Manifest b/dev-db/pgLatLon/Manifest index 45e4af9ba65f..a20c9a6a9aaf 100644 --- a/dev-db/pgLatLon/Manifest +++ b/dev-db/pgLatLon/Manifest @@ -1,3 +1,3 @@ DIST pgLatLon-v0.15.tar.gz 46667 BLAKE2B 7a5ff9b1c451d3fed69614198c06725d11d6ccb2265a8542a6602c1c77fb7a0a2044fffbe7cc0eafa10236813f113b3ff1a73aa159014bafaa7d49cbf4b21973 SHA512 9a6ced9d32e9868baba5bdb8677fd5800cea14af75ab2f2d99f6fda33e2cd85ac00c356dac4584386338c830b9ad0f4b8d7441f59f2b671505463e1895a655ef -EBUILD pgLatLon-0.15.ebuild 503 BLAKE2B 1cc92ebcb603b672d430a7c325e85ffe6b29fca8a57fa1ffc7450912d7007f9355071fabf36a0746b7338aecf36e614c02a5211d42473abe8d115b3d8ca34ddf SHA512 01c9b935acf048cb04fcfe0c13449effbc377b248f0fefeedc4264b95a566c55d211ecb5519f2c4d0d9571d4fa0a41023fb269f2a194990fb74ac5ca343a0611 +EBUILD pgLatLon-0.15.ebuild 503 BLAKE2B 3096355811e8fb4a101f323045e79ca0507fc55d414ece379476f11f3a387a1448a7d3892632ff193d70f36f337e0ba59bb50a6028403a07268f11910a89ef90 SHA512 df654f5018858758e719b4a63d39f9aa720dd1f077b76e22b4cccf1b213cc24738fdd7c37c869620d4e092b5d9bea46b75fc017711bf9a0d79bf47999a8c3926 MISC metadata.xml 248 BLAKE2B a52f1b42e34917354d5d99824d47adca0f36afbe44b9f3398cc819976181e5b067ffc621d3d02f337cc080dbb8676864fd6ae0e5b48736a124687eeea01e11ba SHA512 7524a042ca62db175429683f3aee96e272e324d3e26f9d8c28d1737c5784b72962338d49dfeb28e172d171d55e46b9b889ac471eb3a26a0b58a0b3b20fb1d0b9 diff --git a/dev-db/pgLatLon/pgLatLon-0.15.ebuild b/dev-db/pgLatLon/pgLatLon-0.15.ebuild index bfdc1c596f80..1dbed0450b00 100644 --- a/dev-db/pgLatLon/pgLatLon-0.15.ebuild +++ b/dev-db/pgLatLon/pgLatLon-0.15.ebuild @@ -10,11 +10,11 @@ HOMEPAGE="https://www.public-software-group.org/pgLatLon" SRC_URI="https://www.public-software-group.org/pub/projects/${PN}/v${PV}/${MYP}.tar.gz https://dev.gentoo.org/~tupone/distfiles/${MYP}.tar.gz" +S="${WORKDIR}"/${MYP} + LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" DEPEND="dev-db/postgresql:=" RDEPEND="${DEPEND}" - -S="${WORKDIR}"/${MYP} diff --git a/dev-db/phppgadmin/Manifest b/dev-db/phppgadmin/Manifest index 8d47fed43353..11f1ca3dbdec 100644 --- a/dev-db/phppgadmin/Manifest +++ b/dev-db/phppgadmin/Manifest @@ -1,6 +1,6 @@ AUX postinstall-en.txt 162 BLAKE2B d08f1f1064e8f268fe92ee622d0b5a756e20d80a6376abf1bfc7e8bb88c90d7b3c1b7c3c3291d3189791cca9766feb05b9831ddcba2e84f69e295f7048d440e7 SHA512 3aa9e4b58ffd97cc9bc990e0ca8444e8be012fb56859b28705e7ed3d5ffae74bcfab19c55e415785c9f09fabcc20ea5a493ee2f03fb380a351c02fe958231bd8 DIST phppgadmin-7.14.5.tar.gz 1153991 BLAKE2B 52f52e02305814a149cdde7498bdffe281c78198241c436182bdebce7e2597aea8ac1e0ae04900073355dbe4da7f41f0f0b83c5ec28a5b476ce6f3249dfff6b7 SHA512 1983b7d98623def3aa0d83f7ea507026abe1699dba3104fddf743fb581a4f1226be8d784990984ebcc22e92c2bed3cacfbec13ed7387d7b87b2662fc66fe0ac6 DIST phppgadmin-7.14.7.tar.gz 1154132 BLAKE2B 96321c9f2c67f8a740425b8a049a8b31320d43eedaaa2f8ceaf135d0b5b725ea168aa14715fc2df19fe9eb75d551bdb76c3821d1dbde6550dc865595ecc0ca99 SHA512 b5c6dd52e1458184a0bdb693650157c69f36d72a43df0645fde87ec7e0b3b75216dd4e1dcb3f34f95e8a0acb4bf3ec6bd9a9086a72a3ad526b80431acb476054 -EBUILD phppgadmin-7.14.5.ebuild 939 BLAKE2B 544f869d2c281a3a529b6e3caeaf9631aabde93c378f868c09b3f7d1859dfc5b00f5f0fdccc8d18329a00988103881ace56cc8f09c02ba8d122624eedcedb31d SHA512 5dc408f860051ac087adf79fa50e00fb0df9e023263ebd4fd6f1342a12ee34437ce0b273f70e681b51d0ce3c6cd7eca37ffe3de174c0a26f1e8ba00d45c7e6e9 -EBUILD phppgadmin-7.14.7.ebuild 938 BLAKE2B b9cce574654b7f450d37fad9fe76ab0e3a5925d49f4e3a8e06005aeca333ae2c3136738ffc89e1c0b12bafdc648b78f9fa01aecc1e1a0db09298f3477f48df1a SHA512 864d1f119172779f2e06c95c1325564935037438e1ff686a89e02c756d632bc926ec589e0e39b9db346d8a9ea02e33fc25de9c90ffd8164bd3da6be0be9eae4d +EBUILD phppgadmin-7.14.5.ebuild 939 BLAKE2B 0db9e7b4d2951381ffb6b8984ab64abf66a96da7da322d2809a93fdac963bba8560ddb6f6d90fee5a13455c8e308bf9ece02b0ae79cc5d6fa375441fe936c4c2 SHA512 d1b5a315b39c1043e1c5882146828567bbb6d1c1039d27a14d1f8b4bcfb2555ff490f4e7e83624b87b61edad15bee394c6eecfadae8b8fe423eebfa1ce0c69b5 +EBUILD phppgadmin-7.14.7.ebuild 938 BLAKE2B 00f865b317ac251a98785b0a5742f8a6f5295e2d890b16b0a2b0739f79bc8cb98230d17efa92a381ae82c52f941eb03eaaf862f41d40d119c41189dcfab722cb SHA512 52eaef9f8a2dc32f6532f018d2e8e84c9b5a5eeba3f6acb7f0977d869b2338b29ed71372414f14c5e3e457b96ccf3a19bb427a1df6d7ad6ef742def0971bf639 MISC metadata.xml 336 BLAKE2B 77497569d487b6229d058b35c2c5f78ea1e5749e68f37515ffc4b4704c754b3ba10ad4be6044f49937bd46361ba3788aab22ac8e93690aecef3aa37b4c16968a SHA512 d96603ccdd1a6e66adc36bb3cbef1f46895c45b3e7e147fa1b2ccedd2f648b676f255cb1696ec1555c1455850de8e819580fe3eb41e9849165602ab49d51307e diff --git a/dev-db/phppgadmin/phppgadmin-7.14.5.ebuild b/dev-db/phppgadmin/phppgadmin-7.14.5.ebuild index 757b78ffd1a9..a514ae5be2de 100644 --- a/dev-db/phppgadmin/phppgadmin-7.14.5.ebuild +++ b/dev-db/phppgadmin/phppgadmin-7.14.5.ebuild @@ -11,13 +11,13 @@ DESCRIPTION="Web-based administration for Postgres database in php" HOMEPAGE="http://phppgadmin.sourceforge.net/" SRC_URI="https://github.com/ReimuHakurei/phpPgAdmin/archive/refs/tags/v${PV}-mod.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + LICENSE="GPL-2" KEYWORDS="~amd64" RDEPEND="dev-lang/php[postgres,session,unicode]" -S="${WORKDIR}/${MY_P}" - src_install() { webapp_src_preinst diff --git a/dev-db/phppgadmin/phppgadmin-7.14.7.ebuild b/dev-db/phppgadmin/phppgadmin-7.14.7.ebuild index b1b3a28b1ab1..e1741b8a26fc 100644 --- a/dev-db/phppgadmin/phppgadmin-7.14.7.ebuild +++ b/dev-db/phppgadmin/phppgadmin-7.14.7.ebuild @@ -11,13 +11,13 @@ DESCRIPTION="Web-based administration for Postgres database in php" HOMEPAGE="http://phppgadmin.sourceforge.net/" SRC_URI="https://github.com/ReimuHakurei/phpPgAdmin/archive/refs/tags/v${PV}-mod.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + LICENSE="GPL-2" KEYWORDS="amd64" RDEPEND="dev-lang/php[postgres,session,unicode]" -S="${WORKDIR}/${MY_P}" - src_install() { webapp_src_preinst diff --git a/dev-db/rqlite/Manifest b/dev-db/rqlite/Manifest index 3739960b54f9..3747189badc3 100644 --- a/dev-db/rqlite/Manifest +++ b/dev-db/rqlite/Manifest @@ -1,7 +1,7 @@ -DIST rqlite-8.32.7-deps.tar.xz 4047984 BLAKE2B 3cff947f14dfd2d0097f39afb67c9266bf9c626cd13e5c4958c7e9ff65ad83ee89fb82acb23b8341be3cc219405ec05f26d4fd06710316fb984247179c7c5fdd SHA512 7562895cfa715a381788f7dfa04b744c68b744d93a5f2f0eff07ad5d4bb80ed376bd36dc7cb8029fd62a64323d33b799da79cd66fa253176b69b56c64f39859f -DIST rqlite-8.32.7.tar.gz 737733 BLAKE2B 6d26b30b97d83c09d22e13aaac74f2d04de538ab7b61a72d50c297331f4612bf7502cf72e8ef030df459d9bb3c5feeba8a8f970412084d393277885f9f4222c6 SHA512 600a44bcdcf203cc1928a12d064e51f70cca92cb01035effc2c7ce564c4d1e65f5ed8ada7ef2ff53616bd24ccc5e419080cd91fb457b585df0b67e4948db7b82 DIST rqlite-8.34.1-deps.tar.xz 4048704 BLAKE2B 8e453382776dad732cd679bdaa48b62c6e84d8ce70ba8452369bb33a4ffde7879724dde1eb62048cc4f51209cb6a5a10fda2cff55f1e49c676cdfea1a0efc9bf SHA512 f22900da2c03a4f6015bf2e1fe912bf58dbc796309b0d3cab5acfdd75448a9b6c026fb198f1e484afce59d93299d1bacd534b3b5ce80b3486bee379a62502c76 DIST rqlite-8.34.1.tar.gz 740339 BLAKE2B 4f2d4ee53f4dee5d043b3eccf04dd1298f33386097aaa0d399a7b837477a3a217bffdb92858395872c3ddf0ca3ecf5bd6faac53aaa94a6ba2db2d17a91f48e05 SHA512 a36178741391b488d93bd643f5e6651ed1f7aece8106ec2e0711a08e8a01018f4cd1fd2459bbae82b170474d2fe20597865c794a85b7afbfe1a1e089f9696d40 -EBUILD rqlite-8.32.7.ebuild 888 BLAKE2B 2ca0a8fbca3c65a8fa3d260c0843b69a85344a2f4d64c53c95ac0513c99fec295de4557ee82b16b3a324c6861667236168c063cff7baa815db5f287303906edf SHA512 091089eb0f8124fc779cc3950014640780ade1f112947d019785e7377d13a74f188e1d25b9fbaa74a9711d02940a91a7af9919de858bd157a1dc88840da47011 +DIST rqlite-8.34.2-deps.tar.xz 4061316 BLAKE2B d689115dc0d7d2995f99c8e6778a420ce70c483e80a71bf7da185d60ad55f4df2b37298d7f467c3cdd608f84d2610cf020554e43a157f051931f8d3e83e76c3a SHA512 2dedb95ce684c8049f5a83334fcff4a1d3e2631345bab173b231a8bae76363f010247f9b04b3fa437624c5c4ab8e72c24395033ec48221ae4d6200ac7b49f051 +DIST rqlite-8.34.2.tar.gz 740318 BLAKE2B e123c45dc7160e3b142fe95888b6439c2876dd7f5d16abec2457db1845532358b936ffd0ac0ffb0369dfbdb5db4dae8ae813e6c6280adb9a22ebef2a131629bd SHA512 e44f7d3f3d1e6c4335ebc66fd80e8cc8524d980fb220f916d09b8a0b5e8ae7502e927b2d1336e2fc246ed8ae24a218cede675c8185967b2ff82a60dbe38151cd EBUILD rqlite-8.34.1.ebuild 971 BLAKE2B 6388f528a963047af28130dd95b337657d2aee591be9ab9844a6bce59e9f14e898830fd3aa99708d99cc03f99ad13372d518febda7ec55fe8d36fcd00f9d6894 SHA512 6a79e3ef25452b24062138a8317bc236af4a93532ce266e060db9538ad7f56fd693667e66752f4d6ca6207a57f0a1c6724c79a63463e81f93a18d2bd34f4f14e +EBUILD rqlite-8.34.2.ebuild 971 BLAKE2B 25123ec459556d81c5d8c1bb9526faf249df733c75add3c8955ff19b75479a0ed785513051a90bc58458561b9175b0c420f9eed73e580011d6c821981303f2f2 SHA512 25d8bc9cffda129767b950e0de89600d1a4a4d365805393dd64215bcc50da23e24c0b5a770b29908733b9fc14e609fa950a115c45f30f4ed739d108fa8b9ba29 MISC metadata.xml 305 BLAKE2B 43bc299dae9450677761bfaeaa02ac649ac4ecdbb35e3242c8525db13ef0471397a352b2a8aa751ec725ff8e9c86c2a8a19caf71bbe0de206f266d945f287561 SHA512 3dbddc6b5e4e6d8cd82beb722b5b45af6621e8fb84a1d3a1ec5c444026f595fd14babadc92084afe122202c9b940be21b2e1af145d24846de4225582e5e4d5de diff --git a/dev-db/rqlite/rqlite-8.32.7.ebuild b/dev-db/rqlite/rqlite-8.32.7.ebuild deleted file mode 100644 index 2a2e5683740a..000000000000 --- a/dev-db/rqlite/rqlite-8.32.7.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit go-module -EGIT_COMMIT=bab2fd37177724716e7071b3d53c98e4b460af8c - -DESCRIPTION="Replicated SQLite using the Raft consensus protocol" -HOMEPAGE="https://github.com/rqlite/rqlite https://www.philipotoole.com/tag/rqlite/" -SRC_URI="https://github.com/rqlite/rqlite/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz" - -LICENSE="MIT" -LICENSE+=" Apache-2.0 BSD CC0-1.0 MPL-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -src_compile() { - GOBIN="${S}/bin" \ - go install \ - -ldflags="-X main.version=v${PV} - -X main.branch=master - -X main.commit=${EGIT_COMMIT} - -X main.buildtime=$(date +%Y-%m-%dT%T%z)" \ - ./cmd/... || die -} - -src_test() { - GOBIN="${S}/bin" \ - go test ./... || die -} - -src_install() { - dobin bin/* - dodoc -r *.md DOC -} diff --git a/dev-db/rqlite/rqlite-8.34.2.ebuild b/dev-db/rqlite/rqlite-8.34.2.ebuild new file mode 100644 index 000000000000..1c960d597c64 --- /dev/null +++ b/dev-db/rqlite/rqlite-8.34.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module +EGIT_COMMIT=2fd4158ec100c464ae8b02562eb440e5720a359d + +DESCRIPTION="Replicated SQLite using the Raft consensus protocol" +HOMEPAGE="https://github.com/rqlite/rqlite https://www.philipotoole.com/tag/rqlite/" +SRC_URI="https://github.com/rqlite/rqlite/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz" + +LICENSE="MIT" +LICENSE+=" Apache-2.0 BSD CC0-1.0 MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_unpack() { + default +} + +src_prepare() { + ln -sv ../vendor ./ || die + default +} + +src_compile() { + GOBIN="${S}/bin" \ + go install \ + -ldflags="-X main.version=v${PV} + -X main.branch=master + -X main.commit=${EGIT_COMMIT} + -X main.buildtime=$(date +%Y-%m-%dT%T%z)" \ + ./cmd/... || die +} + +src_test() { + GOBIN="${S}/bin" \ + go test ./... || die +} + +src_install() { + dobin bin/* + dodoc -r *.md DOC +} -- cgit v1.2.3