Commit graph

18 commits

Author SHA1 Message Date
Paul Fertser
0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Alois Klink
4eff6c57c1 gdbm: configure with --without-readline
By default, gdbm configures/builds with readline and curses support
if they exist.

This can cause race conditions when compiling gdbm and ncurses in
parallel, as gdbm may try to link to ncurses when it doesn't exist.

This commit forces gdbm to skip using readline/ncurses, since it's
unlikely that anybody is using the line-editing feature of gdbm.

See [gdbm's README][1] for more info.

[1]: https://git.gnu.org.ua/gdbm.git/tree/README?h=v1.21#n50

Signed-off-by: Alois Klink <alois@aloisklink.com>
2022-10-27 12:04:00 -07:00
Rosen Penev
0d4133a328 gdbm: update to 1.21
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-25 01:19:36 -07:00
Alexandru Ardelean
efde2462c6 libs: gdbm: enable/install Berkley DBM compat layer
Python supports both GNU dbm and Berkley DBM.
GNU dbm also has a compatibility layer for Berkeley.

The current Berkley DB in OpenWrt is 4.7 and hasn't been updated in ages.
It's also pretty big.

So, an alternative for Python is to use GNU dbm for both (GNU and Berkley).

Also, removing static shared libraries from the build, to encourage the
usage of the shared ones.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-07-13 11:22:32 +03:00
Rosen Penev
9be3ba4834
gdbm: update to 1.19
Remove upstreamed patch.

Use AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-20 22:07:17 -08:00
Syrone Wong
fe734cc264
gdbm: fix GCC 10 multiple def compilation error
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2020-06-29 15:15:29 -07:00
Rosen Penev
fa5e64649a
gdbm: don't build gettext-full
It's not necessary.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-18 02:58:03 -07:00
Rosen Penev
83234d13ea
gdbm: Update to 1.18.1
Fixes compilation with -Werror=implicit-function-declaration

This has received no version updates for over 5 years.

Cleaned up Makefile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-07-03 18:36:50 -07:00
Etienne Champetier
4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Felix Fietkau
4751845e43 gdbm: add a gettext dependency
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2016-01-21 00:42:34 +01:00
John Crispin
66644f229e gdbm: fixes build for gettext 1.9
the package fails to build on SDK builder2

Signed-off-by: John Crispin <blogic@openwrt.org>
2015-03-29 14:49:53 +02:00
Marcel Denia
e00a282f87 gdbm: Adopt to SPDX license identifiers
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-08-18 12:59:22 +02:00
Marcel Denia
1e78b1f087 libs/gdbm: Bump copyright notice
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-07-06 11:17:31 +02:00
Marcel Denia
b8272ceb2e libs/gdbm: Add package description
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-07-06 11:17:31 +02:00
Marcel Denia
690eac4715 libs/gdbm: Add myself as maintainer
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-07-06 11:17:30 +02:00
Marcel Denia
8ed42d6c95 libs/gdbm: Cleanup some autotools leftovers
This prevents usage of (possibly nonexistent)host tools, namely
aclocal-1.14.

Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-07-06 11:17:23 +02:00
Marcel Denia
ef94098440 libs/gdbm: Upgrade to version 1.11
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-07-06 10:53:24 +02:00
Marcel Denia
40a5ed3d99 Import of oldpackages/libs/gdbm
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-07-06 10:53:00 +02:00