[gentoo-commits] repo/gentoo:master commit in: dev-db/cdb/

2021-11-10 Thread Akinori Hattori
commit: 9fd3fd2304658372711353e6a7d4dfefb149c3f6
Author: Akinori Hattori  gentoo  org>
AuthorDate: Wed Nov 10 13:45:40 2021 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Wed Nov 10 13:45:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fd3fd23

dev-db/cdb: update to EAPI 8

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Akinori Hattori  gentoo.org>

 dev-db/cdb/cdb-0.75-r4.ebuild | 25 +
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/dev-db/cdb/cdb-0.75-r4.ebuild b/dev-db/cdb/cdb-0.75-r4.ebuild
index c0f6618e6d3..6f6e1be8720 100644
--- a/dev-db/cdb/cdb-0.75-r4.ebuild
+++ b/dev-db/cdb/cdb-0.75-r4.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI="8"
 
 inherit toolchain-funcs
 
@@ -12,15 +12,17 @@ SRC_URI="https://cr.yp.to/${PN}/${P}.tar.gz;
 LICENSE="public-domain"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
 
-DEPEND="!dev-db/tinycdb"
-RDEPEND="${DEPEND}"
+RDEPEND="!dev-db/tinycdb"
+DEPEND="${RDEPEND}"
 
 PATCHES=(
"${FILESDIR}"/${PN}-errno.patch
"${FILESDIR}"/${PN}-inline.patch
"${FILESDIR}"/${PN}-stdint.patch
 )
+DOCS=( CHANGES README TODO VERSION )
 
 src_prepare() {
default
@@ -33,26 +35,25 @@ src_prepare() {
 }
 
 src_configure() {
-   echo "$(tc-getCC) ${CFLAGS} -fPIC" > conf-cc || die
-   echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die
-   echo "${EPREFIX}/usr" > conf-home || die
+   echo "$(tc-getCC) ${CFLAGS} -fPIC" >conf-cc   || die
+   echo "$(tc-getCC) ${LDFLAGS}"  >conf-ld   || die
+   echo "${EPREFIX}/usr"  >conf-home || die
 }
 
 src_install() {
-   dobin cdbdump cdbget cdbmake cdbmake-12 cdbmake-sv cdbstats cdbtest
+   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 cdb.a /usr/$(get_libdir)/libcdb.a
+   dosym ${PN}.a /usr/$(get_libdir)/lib${PN}.a
 
# uint32.h needs installation too, otherwise compiles depending
# on it will fail
-   insinto /usr/include/cdb
-   doins cdb*.h buffer.h alloc.h uint32.h
+   insinto /usr/include/${PN}
+   doins ${PN}*.h {alloc,buffer,uint32}.h
 
-   dodoc CHANGES FILES README SYSDEPS TODO VERSION
+   einstalldocs
 }



[gentoo-commits] repo/gentoo:master commit in: dev-db/cdb/

2021-11-10 Thread Akinori Hattori
commit: fa943a353dac013506170d9415876a230693e13b
Author: Akinori Hattori  gentoo  org>
AuthorDate: Wed Nov 10 13:37:04 2021 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Wed Nov 10 13:37:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa943a35

dev-db/cdb: update HOMEPAGE and SRC_URI

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Akinori Hattori  gentoo.org>

 dev-db/cdb/cdb-0.75-r4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/cdb/cdb-0.75-r4.ebuild b/dev-db/cdb/cdb-0.75-r4.ebuild
index e37760257c3..ff5d1a6ffa7 100644
--- a/dev-db/cdb/cdb-0.75-r4.ebuild
+++ b/dev-db/cdb/cdb-0.75-r4.ebuild
@@ -6,8 +6,8 @@ EAPI=7
 inherit toolchain-funcs
 
 DESCRIPTION="Fast, reliable, simple package for creating and reading constant 
databases"
-HOMEPAGE="http://cr.yp.to/cdb.html;
-SRC_URI="http://cr.yp.to/cdb/${P}.tar.gz;
+HOMEPAGE="https://cr.yp.to/cdb.html;
+SRC_URI="https://cr.yp.to/${PN}/${P}.tar.gz;
 
 LICENSE="public-domain"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-db/cdb/files/, dev-db/cdb/

2021-11-10 Thread Akinori Hattori
commit: 9370fcddf7476f4236fe3bcf881a3f75568a321d
Author: Akinori Hattori  gentoo  org>
AuthorDate: Wed Nov 10 13:35:55 2021 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Wed Nov 10 13:35:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9370fcdd

dev-db/cdb: update patches

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Akinori Hattori  gentoo.org>

 dev-db/cdb/cdb-0.75-r4.ebuild   | 4 ++--
 dev-db/cdb/files/{cdb-0.75-errno.diff => cdb-errno.patch}   | 0
 dev-db/cdb/files/{cdb-0.75-stdint.diff => cdb-stdint.patch} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/cdb/cdb-0.75-r4.ebuild b/dev-db/cdb/cdb-0.75-r4.ebuild
index 73ca328b035..e37760257c3 100644
--- a/dev-db/cdb/cdb-0.75-r4.ebuild
+++ b/dev-db/cdb/cdb-0.75-r4.ebuild
@@ -17,8 +17,8 @@ DEPEND="!dev-db/tinycdb"
 RDEPEND="${DEPEND}"
 
 PATCHES=(
-   "${FILESDIR}"/${P}-errno.diff
-   "${FILESDIR}"/${P}-stdint.diff
+   "${FILESDIR}"/${PN}-errno.patch
+   "${FILESDIR}"/${PN}-stdint.patch
 )
 
 src_prepare() {

diff --git a/dev-db/cdb/files/cdb-0.75-errno.diff 
b/dev-db/cdb/files/cdb-errno.patch
similarity index 100%
rename from dev-db/cdb/files/cdb-0.75-errno.diff
rename to dev-db/cdb/files/cdb-errno.patch

diff --git a/dev-db/cdb/files/cdb-0.75-stdint.diff 
b/dev-db/cdb/files/cdb-stdint.patch
similarity index 100%
rename from dev-db/cdb/files/cdb-0.75-stdint.diff
rename to dev-db/cdb/files/cdb-stdint.patch



[gentoo-commits] repo/gentoo:master commit in: dev-db/cdb/

2021-11-10 Thread Akinori Hattori
commit: a4139b7ebcdafa1dad4457a4581eca3358fb2a77
Author: Akinori Hattori  gentoo  org>
AuthorDate: Wed Nov 10 13:43:57 2021 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Wed Nov 10 13:43:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4139b7e

dev-db/cdb: do not call ranlib directly

Closes: https://bugs.gentoo.org/722628
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Akinori Hattori  gentoo.org>

 dev-db/cdb/cdb-0.75-r4.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-db/cdb/cdb-0.75-r4.ebuild b/dev-db/cdb/cdb-0.75-r4.ebuild
index 1bd0111211c..c0f6618e6d3 100644
--- a/dev-db/cdb/cdb-0.75-r4.ebuild
+++ b/dev-db/cdb/cdb-0.75-r4.ebuild
@@ -28,6 +28,7 @@ src_prepare() {
sed -i \
-e "s/head -1/head -n 1/g" \
-e "s/ar /$(tc-getAR) /" \
+   -e "s/ranlib /$(tc-getRANLIB) /" \
Makefile
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-db/cdb/, dev-db/cdb/files/

2021-11-10 Thread Akinori Hattori
commit: 58d46a271f1bfbe0965971bae534c805bef0e244
Author: Akinori Hattori  gentoo  org>
AuthorDate: Wed Nov 10 13:40:47 2021 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Wed Nov 10 13:40:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58d46a27

dev-db/cdb: fix build

Closes: https://bugs.gentoo.org/693094
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Akinori Hattori  gentoo.org>

 dev-db/cdb/cdb-0.75-r4.ebuild |  1 +
 dev-db/cdb/files/cdb-inline.patch | 11 +++
 2 files changed, 12 insertions(+)

diff --git a/dev-db/cdb/cdb-0.75-r4.ebuild b/dev-db/cdb/cdb-0.75-r4.ebuild
index ff5d1a6ffa7..23009ad748e 100644
--- a/dev-db/cdb/cdb-0.75-r4.ebuild
+++ b/dev-db/cdb/cdb-0.75-r4.ebuild
@@ -18,6 +18,7 @@ RDEPEND="${DEPEND}"
 
 PATCHES=(
"${FILESDIR}"/${PN}-errno.patch
+   "${FILESDIR}"/${PN}-inline.patch
"${FILESDIR}"/${PN}-stdint.patch
 )
 

diff --git a/dev-db/cdb/files/cdb-inline.patch 
b/dev-db/cdb/files/cdb-inline.patch
new file mode 100644
index 000..2d297dc62a4
--- /dev/null
+++ b/dev-db/cdb/files/cdb-inline.patch
@@ -0,0 +1,11 @@
+--- a/cdbmake.c
 b/cdbmake.c
+@@ -26,7 +26,7 @@
+   strerr_die2x(111,FATAL,"unable to read input: bad format");
+ }
+ 
+-inline void get(char *ch)
++static inline void get(char *ch)
+ {
+   switch(buffer_GETC(buffer_0,ch)) {
+ case 0: die_readformat();



[gentoo-commits] repo/gentoo:master commit in: dev-db/cdb/

2021-11-10 Thread Akinori Hattori
commit: 88b3781a49f93e28c4a96b2effbc069524ae18b5
Author: Akinori Hattori  gentoo  org>
AuthorDate: Wed Nov 10 13:42:24 2021 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Wed Nov 10 13:42:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88b3781a

dev-db/cdb: do not call ar directly

Closes: https://bugs.gentoo.org/718696
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Akinori Hattori  gentoo.org>

 dev-db/cdb/cdb-0.75-r4.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-db/cdb/cdb-0.75-r4.ebuild b/dev-db/cdb/cdb-0.75-r4.ebuild
index 23009ad748e..1bd0111211c 100644
--- a/dev-db/cdb/cdb-0.75-r4.ebuild
+++ b/dev-db/cdb/cdb-0.75-r4.ebuild
@@ -25,8 +25,10 @@ PATCHES=(
 src_prepare() {
default
 
-   sed -i -e 's/head -1/head -n 1/g' Makefile \
-   || die "sed Makefile failed"
+   sed -i \
+   -e "s/head -1/head -n 1/g" \
+   -e "s/ar /$(tc-getAR) /" \
+   Makefile
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: dev-db/cdb/

2021-11-08 Thread Akinori Hattori
commit: ca7d57245b515d563abffa8fc54895cfa66adb16
Author: Akinori Hattori  gentoo  org>
AuthorDate: Mon Nov  8 13:25:13 2021 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Mon Nov  8 13:25:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca7d5724

dev-db/cdb: take over maintainership

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Akinori Hattori  gentoo.org>

 dev-db/cdb/metadata.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-db/cdb/metadata.xml b/dev-db/cdb/metadata.xml
index 85e4ed814fa..987ce1bc2ed 100644
--- a/dev-db/cdb/metadata.xml
+++ b/dev-db/cdb/metadata.xml
@@ -1,5 +1,8 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-
+   
+   hat...@gentoo.org
+   Akinori Hattori
+   
 



[gentoo-commits] repo/gentoo:master commit in: dev-db/cdb/

2021-08-29 Thread Marek Szuba
commit: cf1c2c3a1de9bee2a402a60874307e32c7fb7aef
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Aug 28 23:38:45 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Aug 29 08:36:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf1c2c3a

dev-db/cdb: keyword 0.75-r4 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 dev-db/cdb/cdb-0.75-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/cdb/cdb-0.75-r4.ebuild b/dev-db/cdb/cdb-0.75-r4.ebuild
index a2dd2c71b29..73ca328b035 100644
--- a/dev-db/cdb/cdb-0.75-r4.ebuild
+++ b/dev-db/cdb/cdb-0.75-r4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://cr.yp.to/cdb/${P}.tar.gz;
 
 LICENSE="public-domain"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 
 DEPEND="!dev-db/tinycdb"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-db/cdb/, dev-db/cdb/files/

2021-04-19 Thread Sam James
commit: d7e09b50da172482e0ff2f428b9af7f91d758aa2
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 16:53:46 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 19:12:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7e09b50

dev-db/cdb: port to EAPI 7

Signed-off-by: Sam James  gentoo.org>

 dev-db/cdb/cdb-0.75-r4.ebuild | 20 +
 dev-db/cdb/files/cdb-0.75-errno.diff  |  4 +-
 dev-db/cdb/files/cdb-0.75-stdint.diff | 85 ++-
 3 files changed, 48 insertions(+), 61 deletions(-)

diff --git a/dev-db/cdb/cdb-0.75-r4.ebuild b/dev-db/cdb/cdb-0.75-r4.ebuild
index 70faa97030d..a2dd2c71b29 100644
--- a/dev-db/cdb/cdb-0.75-r4.ebuild
+++ b/dev-db/cdb/cdb-0.75-r4.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-inherit epatch multilib toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="Fast, reliable, simple package for creating and reading constant 
databases"
 HOMEPAGE="http://cr.yp.to/cdb.html;
@@ -16,18 +16,22 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc 
ppc64 ~s390 sparc x86 ~am
 DEPEND="!dev-db/tinycdb"
 RDEPEND="${DEPEND}"
 
+PATCHES=(
+   "${FILESDIR}"/${P}-errno.diff
+   "${FILESDIR}"/${P}-stdint.diff
+)
+
 src_prepare() {
-   epatch "${FILESDIR}"/${P}-errno.diff
-   epatch "${FILESDIR}"/${P}-stdint.diff
+   default
 
sed -i -e 's/head -1/head -n 1/g' Makefile \
|| die "sed Makefile failed"
 }
 
 src_configure() {
-   echo "$(tc-getCC) ${CFLAGS} -fPIC" > conf-cc
-   echo "$(tc-getCC) ${LDFLAGS}" > conf-ld
-   echo "${EPREFIX}/usr" > conf-home
+   echo "$(tc-getCC) ${CFLAGS} -fPIC" > conf-cc || die
+   echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die
+   echo "${EPREFIX}/usr" > conf-home || die
 }
 
 src_install() {
@@ -35,7 +39,7 @@ src_install() {
 
# ok so ... first off, some automakes fail at finding
# cdb.a, so install that now
-   dolib *.a
+   dolib.a *.a
 
# then do this pretty little symlinking to solve the somewhat
# cosmetic library issue at hand

diff --git a/dev-db/cdb/files/cdb-0.75-errno.diff 
b/dev-db/cdb/files/cdb-0.75-errno.diff
index 5f6ac20c59c..e037ded7aac 100644
--- a/dev-db/cdb/files/cdb-0.75-errno.diff
+++ b/dev-db/cdb/files/cdb-0.75-errno.diff
@@ -1,5 +1,5 @@
 error.h.orig   2003-03-29 04:18:26.0 -0800
-+++ error.h2003-03-29 04:19:00.0 -0800
+--- a/error.h
 b/error.h
 @@ -1,7 +1,7 @@
  #ifndef ERROR_H
  #define ERROR_H

diff --git a/dev-db/cdb/files/cdb-0.75-stdint.diff 
b/dev-db/cdb/files/cdb-0.75-stdint.diff
index eb564512075..1775fd84f90 100644
--- a/dev-db/cdb/files/cdb-0.75-stdint.diff
+++ b/dev-db/cdb/files/cdb-0.75-stdint.diff
@@ -1,6 +1,5 @@
-diff -Naur cdb-0.75-orig/cdb.c cdb-0.75/cdb.c
 cdb-0.75-orig/cdb.c2009-01-16 19:38:41.0 +0100
-+++ cdb-0.75/cdb.c 2009-01-16 19:46:17.0 +0100
+--- a/cdb.c
 b/cdb.c
 @@ -41,7 +41,7 @@
  }
  }
@@ -30,9 +29,8 @@ diff -Naur cdb-0.75-orig/cdb.c cdb-0.75/cdb.c
  
if (!c->loop) {
  u = cdb_hash(key,len);
-diff -Naur cdb-0.75-orig/cdbdump.c cdb-0.75/cdbdump.c
 cdb-0.75-orig/cdbdump.c2009-01-16 19:38:41.0 +0100
-+++ cdb-0.75/cdbdump.c 2009-01-16 19:46:17.0 +0100
+--- a/cdbdump.c
 b/cdbdump.c
 @@ -18,7 +18,7 @@
if (buffer_flush(buffer_1) == -1) die_write();
  }
@@ -73,9 +71,8 @@ diff -Naur cdb-0.75-orig/cdbdump.c cdb-0.75/cdbdump.c
  
getnum();
while (pos < 2048) getnum();
-diff -Naur cdb-0.75-orig/cdbget.c cdb-0.75/cdbget.c
 cdb-0.75-orig/cdbget.c 2009-01-16 19:38:41.0 +0100
-+++ cdb-0.75/cdbget.c  2009-01-16 19:46:17.0 +0100
+--- a/cdbget.c
 b/cdbget.c
 @@ -27,8 +27,8 @@
  {
char *key;
@@ -87,9 +84,8 @@ diff -Naur cdb-0.75-orig/cdbget.c cdb-0.75/cdbget.c
unsigned long u = 0;
  
if (!*argv) die_usage();
-diff -Naur cdb-0.75-orig/cdb.h cdb-0.75/cdb.h
 cdb-0.75-orig/cdb.h2009-01-16 19:38:41.0 +0100
-+++ cdb-0.75/cdb.h 2009-01-16 19:46:17.0 +0100
+--- a/cdb.h
 b/cdb.h
 @@ -6,26 +6,26 @@
  #include "uint32.h"
  
@@ -128,9 +124,8 @@ diff -Naur cdb-0.75-orig/cdb.h cdb-0.75/cdb.h
  
  extern void cdb_findstart(struct cdb *);
  extern int cdb_findnext(struct cdb *,char *,unsigned int);
-diff -Naur cdb-0.75-orig/cdb_hash.c cdb-0.75/cdb_hash.c
 cdb-0.75-orig/cdb_hash.c   2009-01-16 19:38:41.0 +0100
-+++ cdb-0.75/cdb_hash.c2009-01-16 19:46:17.0 +0100
+--- a/cdb_hash.c
 b/cdb_hash.c
 @@ -2,15 +2,15 @@
  
  #include "cdb.h"
@@ -150,9 +145,8 @@ diff -Naur cdb-0.75-orig/cdb_hash.c cdb-0.75/cdb_hash.c
  
h = CDB_HASHSTART;
while (len) {
-diff -Naur cdb-0.75-orig/cdb_make.c cdb-0.75/cdb_make.c
 cdb-0.75-orig/cdb_make.c   2009-01-16 19:38:41.0 +0100
-+++ cdb-0.75/cdb_make.c2009-01-16 

[gentoo-commits] repo/gentoo:master commit in: dev-db/cdb/

2019-05-21 Thread Aaron Bauman
commit: 7003b1e8ebe905398f8234b6f157629a0e2c362c
Author: Aaron Bauman  gentoo  org>
AuthorDate: Wed May 22 02:43:53 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Wed May 22 02:51:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7003b1e8

dev-db/cdb: arm64 stable

Signed-off-by: Aaron Bauman  gentoo.org>

 dev-db/cdb/cdb-0.75-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/cdb/cdb-0.75-r4.ebuild b/dev-db/cdb/cdb-0.75-r4.ebuild
index 2c365e5f26c..0525b98345a 100644
--- a/dev-db/cdb/cdb-0.75-r4.ebuild
+++ b/dev-db/cdb/cdb-0.75-r4.ebuild
@@ -4,7 +4,7 @@
 EAPI=5
 inherit eutils multilib toolchain-funcs
 
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
 
 DESCRIPTION="Fast, reliable, simple package for creating and reading constant 
databases"
 HOMEPAGE="http://cr.yp.to/cdb.html;



[gentoo-commits] repo/gentoo:master commit in: dev-db/cdb/

2018-04-01 Thread Matt Turner
commit: 7a225409a581bf8ed94b2a9ba90ef4702a8b0faa
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Apr  2 04:04:25 2018 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Apr  2 04:04:40 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a225409

dev-db/cdb-0.75-r4: added ~mips

 dev-db/cdb/cdb-0.75-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/cdb/cdb-0.75-r4.ebuild b/dev-db/cdb/cdb-0.75-r4.ebuild
index 5e0da1dd216..2c365e5f26c 100644
--- a/dev-db/cdb/cdb-0.75-r4.ebuild
+++ b/dev-db/cdb/cdb-0.75-r4.ebuild
@@ -4,7 +4,7 @@
 EAPI=5
 inherit eutils multilib toolchain-funcs
 
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 
~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
 
 DESCRIPTION="Fast, reliable, simple package for creating and reading constant 
databases"
 HOMEPAGE="http://cr.yp.to/cdb.html;



[gentoo-commits] repo/gentoo:master commit in: dev-db/cdb/

2017-07-07 Thread Alexis Ballier
commit: e891225bc414da9dc8303b907ca7a9ca9de871de
Author: Alexis Ballier  gentoo  org>
AuthorDate: Fri Jul  7 17:33:43 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Fri Jul  7 17:45:22 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e891225b

dev-db/cdb: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-db/cdb/cdb-0.75-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/cdb/cdb-0.75-r4.ebuild b/dev-db/cdb/cdb-0.75-r4.ebuild
index d8fe2967f2e..5e0da1dd216 100644
--- a/dev-db/cdb/cdb-0.75-r4.ebuild
+++ b/dev-db/cdb/cdb-0.75-r4.ebuild
@@ -4,7 +4,7 @@
 EAPI=5
 inherit eutils multilib toolchain-funcs
 
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd 
~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 
~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
 
 DESCRIPTION="Fast, reliable, simple package for creating and reading constant 
databases"
 HOMEPAGE="http://cr.yp.to/cdb.html;



[gentoo-commits] repo/gentoo:master commit in: dev-db/cdb/

2016-09-29 Thread Eray Aslan
commit: 9e2cdf793d97e3d40611205e12b9adde80a1d1c4
Author: Eray Aslan  gentoo  org>
AuthorDate: Fri Sep 30 05:08:57 2016 +
Commit: Eray Aslan  gentoo  org>
CommitDate: Fri Sep 30 05:08:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e2cdf79

dev-db/cdb: remove old

Package-Manager: portage-2.3.1

 dev-db/cdb/cdb-0.75-r3.ebuild | 53 ---
 1 file changed, 53 deletions(-)

diff --git a/dev-db/cdb/cdb-0.75-r3.ebuild b/dev-db/cdb/cdb-0.75-r3.ebuild
deleted file mode 100644
index aa073cc..
--- a/dev-db/cdb/cdb-0.75-r3.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=3
-inherit eutils multilib toolchain-funcs
-
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~amd64-fbsd 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
-
-DESCRIPTION="Fast, reliable, simple package for creating and reading constant 
databases"
-HOMEPAGE="http://cr.yp.to/cdb.html;
-SRC_URI="http://cr.yp.to/cdb/${P}.tar.gz;
-LICENSE="public-domain"
-SLOT="0"
-IUSE=""
-
-DEPEND=">=sys-apps/sed-4
-   !dev-db/tinycdb"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-errno.diff
-   epatch "${FILESDIR}"/${P}-stdint.diff
-
-   sed -i -e 's/head -1/head -n 1/g' Makefile \
-   || die "sed Makefile failed"
-}
-
-src_configure() {
-   echo "$(tc-getCC) ${CFLAGS}" > conf-cc
-   echo "$(tc-getCC) ${LDFLAGS}" > conf-ld
-   echo "${EPREFIX}/usr" > conf-home
-}
-
-src_install() {
-   dobin cdbdump cdbget cdbmake cdbmake-12 cdbmake-sv cdbstats cdbtest \
-   || die "dobin failed"
-
-   # ok so ... first off, some automakes fail at finding
-   # cdb.a, so install that now
-   dolib *.a || die "dolib failed"
-
-   # then do this pretty little symlinking to solve the somewhat
-   # cosmetic library issue at hand
-   dosym cdb.a /usr/$(get_libdir)/libcdb.a || die "dosym failed"
-
-   # uint32.h needs installation too, otherwise compiles depending
-   # on it will fail
-   insinto /usr/include/cdb
-   doins cdb*.h buffer.h alloc.h uint32.h || die "doins failed"
-
-   dodoc CHANGES FILES README SYSDEPS TODO VERSION
-}



[gentoo-commits] repo/gentoo:master commit in: dev-db/cdb/

2016-09-28 Thread Jeroen Roovers
commit: 4c0854067ed9c5fbb2c23faffc177e272f065451
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Sep 29 03:59:19 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Sep 29 03:59:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c085406

dev-db/cdb: Stable for HPPA (bug #573078).

Package-Manager: portage-2.3.1
RepoMan-Options: --ignore-arches

 dev-db/cdb/cdb-0.75-r4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/cdb/cdb-0.75-r4.ebuild b/dev-db/cdb/cdb-0.75-r4.ebuild
index f376006..36e034e 100644
--- a/dev-db/cdb/cdb-0.75-r4.ebuild
+++ b/dev-db/cdb/cdb-0.75-r4.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 inherit eutils multilib toolchain-funcs
 
-KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
 
 DESCRIPTION="Fast, reliable, simple package for creating and reading constant 
databases"
 HOMEPAGE="http://cr.yp.to/cdb.html;



[gentoo-commits] repo/gentoo:master commit in: dev-db/cdb/

2016-02-05 Thread Markus Meier
commit: 8cb7dc0991191af7cd0f560ff572d1b93f963dc4
Author: Markus Meier  gentoo  org>
AuthorDate: Fri Feb  5 19:09:12 2016 +
Commit: Markus Meier  gentoo  org>
CommitDate: Fri Feb  5 19:09:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cb7dc09

dev-db/cdb: arm stable, bug #573078

Package-Manager: portage-2.2.27
RepoMan-Options: --include-arches="arm"

 dev-db/cdb/cdb-0.75-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/cdb/cdb-0.75-r4.ebuild b/dev-db/cdb/cdb-0.75-r4.ebuild
index 7355577..c606fec 100644
--- a/dev-db/cdb/cdb-0.75-r4.ebuild
+++ b/dev-db/cdb/cdb-0.75-r4.ebuild
@@ -5,7 +5,7 @@
 EAPI=5
 inherit eutils multilib toolchain-funcs
 
-KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
 
 DESCRIPTION="Fast, reliable, simple package for creating and reading constant 
databases"
 HOMEPAGE="http://cr.yp.to/cdb.html;



[gentoo-commits] repo/gentoo:master commit in: dev-db/cdb/

2016-02-04 Thread Tobias Klausmann
commit: 145b9d8fb211a3c12dfb94b63d7b0d3acf964965
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Thu Feb  4 09:52:32 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Thu Feb  4 09:52:32 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=145b9d8f

dev-db/cdb: add alpha keyword

Gentoo-Bug: 573078

Package-Manager: portage-2.2.27

 dev-db/cdb/cdb-0.75-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/cdb/cdb-0.75-r4.ebuild b/dev-db/cdb/cdb-0.75-r4.ebuild
index 1025bee..7355577 100644
--- a/dev-db/cdb/cdb-0.75-r4.ebuild
+++ b/dev-db/cdb/cdb-0.75-r4.ebuild
@@ -5,7 +5,7 @@
 EAPI=5
 inherit eutils multilib toolchain-funcs
 
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
 
 DESCRIPTION="Fast, reliable, simple package for creating and reading constant 
databases"
 HOMEPAGE="http://cr.yp.to/cdb.html;



[gentoo-commits] repo/gentoo:master commit in: dev-db/cdb/

2016-01-27 Thread Agostino Sarubbo
commit: 14983cc5b61cde2a4f0f3e6dd483064c6eddb00c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jan 27 09:21:34 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jan 27 09:21:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14983cc5

dev-db/cdb: amd64 stable wrt bug #573078

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-db/cdb/cdb-0.75-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/cdb/cdb-0.75-r4.ebuild b/dev-db/cdb/cdb-0.75-r4.ebuild
index 5e335ed..1025bee 100644
--- a/dev-db/cdb/cdb-0.75-r4.ebuild
+++ b/dev-db/cdb/cdb-0.75-r4.ebuild
@@ -5,7 +5,7 @@
 EAPI=5
 inherit eutils multilib toolchain-funcs
 
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
 
 DESCRIPTION="Fast, reliable, simple package for creating and reading constant 
databases"
 HOMEPAGE="http://cr.yp.to/cdb.html;



[gentoo-commits] repo/gentoo:master commit in: dev-db/cdb/

2015-10-26 Thread Eray Aslan
commit: 0a32d771562dcc35dc339a0b9ab386807f3585a8
Author: Eray Aslan  gentoo  org>
AuthorDate: Mon Oct 26 08:44:52 2015 +
Commit: Eray Aslan  gentoo  org>
CommitDate: Mon Oct 26 08:44:52 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a32d771

dev-db/cdb: compile with -fPIC

Gentoo-Bug: 563210

Package-Manager: portage-2.2.23

 dev-db/cdb/cdb-0.75-r4.ebuild | 53 +++
 1 file changed, 53 insertions(+)

diff --git a/dev-db/cdb/cdb-0.75-r4.ebuild b/dev-db/cdb/cdb-0.75-r4.ebuild
new file mode 100644
index 000..5e335ed
--- /dev/null
+++ b/dev-db/cdb/cdb-0.75-r4.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils multilib toolchain-funcs
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
+
+DESCRIPTION="Fast, reliable, simple package for creating and reading constant 
databases"
+HOMEPAGE="http://cr.yp.to/cdb.html;
+SRC_URI="http://cr.yp.to/cdb/${P}.tar.gz;
+LICENSE="public-domain"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=sys-apps/sed-4
+   !dev-db/tinycdb"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   epatch "${FILESDIR}"/${P}-errno.diff
+   epatch "${FILESDIR}"/${P}-stdint.diff
+
+   sed -i -e 's/head -1/head -n 1/g' Makefile \
+   || die "sed Makefile failed"
+}
+
+src_configure() {
+   echo "$(tc-getCC) ${CFLAGS} -fPIC" > conf-cc
+   echo "$(tc-getCC) ${LDFLAGS}" > conf-ld
+   echo "${EPREFIX}/usr" > conf-home
+}
+
+src_install() {
+   dobin cdbdump cdbget cdbmake cdbmake-12 cdbmake-sv cdbstats cdbtest \
+   || die "dobin failed"
+
+   # ok so ... first off, some automakes fail at finding
+   # cdb.a, so install that now
+   dolib *.a || die "dolib failed"
+
+   # then do this pretty little symlinking to solve the somewhat
+   # cosmetic library issue at hand
+   dosym cdb.a /usr/$(get_libdir)/libcdb.a || die "dosym failed"
+
+   # uint32.h needs installation too, otherwise compiles depending
+   # on it will fail
+   insinto /usr/include/cdb
+   doins cdb*.h buffer.h alloc.h uint32.h || die "doins failed"
+
+   dodoc CHANGES FILES README SYSDEPS TODO VERSION
+}