summaryrefslogtreecommitdiffstats
path: root/package/berkeleydb
Commit message (Collapse)AuthorAgeFilesLines
* package/berkeleydb: fix build error with gcc8Bernd Kuhls2018-06-201-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | Fixes ../src/dbinc/atomic.h:179:19: error: definition of 'int __atomic_compare_exchange(db_atomic_t*, atomic_value_t, atomic_value_t)' ambiguates built-in declaration 'bool __atomic_compare_exchange(unsigned int, volatile void*, void*, void*, int, int)' static inline int __atomic_compare_exchange( ^~~~~~~~~~~~~~~~~~~~~~~~~ To reproduce the build error use this defconfig BR2_GCC_VERSION_8_X=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_PACKAGE_BERKELEYDB=y BR2_PACKAGE_BERKELEYDB_COMPAT185=y BR2_PACKAGE_BERKELEYDB_TOOLS=y Please note that to trigger the error BR2_TOOLCHAIN_BUILDROOT_CXX=y is needed although berkeleydb does not depend on c++. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/berkeleydb: add security fix for CVE-2017-10140Bernd Kuhls2018-01-292-0/+22
| | | | | | | | | | | | | Fixes CVE-2017-10140: Berkeley DB reads DB_CONFIG from cwd For more details, see: https://security-tracker.debian.org/tracker/CVE-2017-10140 And add license hash while we are at it. [Peter: extend commit message] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/b*/Config.in: fix help text wrappingAdam Duskett2017-05-111-3/+4
| | | | | | | | | | | | | | The check-package script when ran gives warnings on text wrapping on all of these Config files. This patch cleans up all warnings related to the text wrapping for the Config files starting with the letter b in the package directory. The appropriate indentation is: <tab><2 spaces><62 chars> See http://nightly.buildroot.org/#writing-rules-config-in for more information. Signed-off-by: Adam Duskett <aduskett@codeblue.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* berkeleydb: workaround m68k/coldfire issueWaldemar Brodkorb2017-02-221-0/+7
| | | | | | | | | Fixes: http://autobuild.buildroot.net/results/40423aa6c8f6fe66c771cca3e09b21e15525eb5f Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> [Thomas: rename BERKELEYDB_CONF_OPTS to BERKELEYDB_CONF_ENV.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* berkeleydb: accommodate threads presence/absenceAlexey Brodkin2015-07-061-0/+1
| | | | | | | | | | | | | | | | | | In BerkeleyDB the most convenient implementation of mutexes on Linux is via POSIX mutex, and that requires pthread library. Still it is possible to build (and hopefully use) BerkeleyDB without mutexes. For this we pass "--disable-mutexsupport" during configuration of the package. Fixes: http://autobuild.buildroot.net/results/717f3b37600a56262badc6f7cb64d7949fdacb67/ http://autobuild.buildroot.net/results/80ebf0382992b277fd94743815bbf0c7426a3654/ Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: kill pointless text justificationGustavo Zacarias2015-04-231-1/+1
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* berkeleydb: Add hash fileAndré Hentschel2015-03-151-0/+2
| | | | | Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/berkeleydb: fix shared-only buildYann E. MORIN2014-12-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changeset f1d3e09 (Build shared libraries only as the default) broke the berkeleydb package. For some reason, we had a very strange post-configure action in bdb: $(SED) 's/\.lo/.o/g' $(@D)/build_unix/Makefile This means that it is using non-libtool object files. This breaks building shared-only. This code has been present almost the whole time we've had a berkeleydb package, that is: - November 2003: use a sed expression instead of perl - March 2003 : use a perl program - August 2002 : introduce berkeleydb Getting rid of this sed expression fixes the build, and allows building the three new static/shared combinations: static only, shared only, both static and shared. Fixes numerous build failures: http://autobuild.buildroot.net/results/b41/b41e13ec6c13830667770b3731f8990062f202bd/ http://autobuild.buildroot.net/results/925/925433ef505b190aa5ac83c23e9359afe4b21829/ http://autobuild.buildroot.net/results/9af/9afa0dd835af079411a2ea5d94e5e4db7c993111/ ... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <jacmet@uclibc.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove support for documentation on targetThomas De Schampheleire2014-02-081-4/+0
| | | | | | | | This patch removes deprecated symbol BR2_HAVE_DOCUMENTATION and all its usage. Additionally, it removes the now unused BR2_DEPRECATED_SINCE_2012_11. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* berkeleydb: bump to version 5.3.28Axel Lin2013-12-021-1/+1
| | | | | | | | According to the information from oracle website, version 5.3.21 is no longer available for download. Let's upgrade to version 5.3.28. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* berkeleydb: add compat optionGustavo Zacarias2013-12-022-2/+10
| | | | | | | | Add DB 1.85 compatibility layer option, it's needed for arpd in iproute2 and other old apps that haven't moved to the newer API. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "berkeleydb: bump to version 6.0.20"Jérôme Pouiller2013-10-271-1/+6
| | | | | | | | | | | | BerkeleyDB has changed its license since version 6. New license (AGPL) may be incompatible with some packages. So we prefer to stick to version 5 This reverts commit 4c478de2e76ffc1d0a6dc413475307fd44a0a595. [Peter: adjust comment as suggested by Yann] Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* berkeleydb: bump to version 6.0.20Axel Lin2013-10-041-1/+1
| | | | | Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove description and url from headerAlexandre Belloni2013-06-061-1/+1
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix package headers to comply with coding styleAlexandre Belloni2013-06-061-0/+1
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* berkeleydb: define licenseLuca Ceresoli2012-07-171-0/+2
| | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* berkeleydb: bump to 5.3.21Luca Ceresoli2012-06-101-1/+1
| | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* berkeleydb: add option for tools installGustavo Zacarias2012-04-252-0/+19
| | | | | | | | | Add an option to install (or not) the berkeleydb binary tools. The default is no since most of the time/application just need the library and it helps save some space in the target. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* berkeleydb: use O_DIRECTGustavo Zacarias2012-04-251-0/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* berkeleydb: build with C++ support if enabledPeter Korsgaard2012-04-251-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* berkeleydb: cleanupPeter Korsgaard2012-04-251-14/+5
| | | | | | | Use the preferred 'VAR = value' form, and remove redundant configure options. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Bump berkeleydb versionMaxime Hadjinlian2012-04-251-2/+1
| | | | | Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from AUTOTARGETSThomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* berkeleydb: target install cleanupPeter Korsgaard2011-06-211-16/+8
| | | | | | | Install into /usr/lib and use the normal make install target instead of manually messing around with symlinks and .so versions. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* berkeleydb: fix build of shared librariesLuca Ceresoli2011-06-211-0/+1
| | | | | | | | | | 009d8fceab4 and 0a5e5534cbf8 moved the --enable-static configure flag from package files to the default _CONFIGURE_CMDS in package/Makefile.autotools.in. This broke Autotools packages that override _CONFIGURE_CMDS. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: remove --{enable,disable}-{shared,static} from autotools packagesThomas Petazzoni2011-06-121-1/+0
| | | | | | | | Now that those values are passed at the autotools infrastructure level, there's no need for every package to pass inconsistent values. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* berkeleydb: fix download urlGustavo Zacarias2010-09-071-1/+1
| | | | | | | Sleepycat is now owned by oracle so the old site is gone. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* berkeleydb : convert to autotools infrastructure & bump to 4.4.20cmchao2010-06-241-57/+25
| | | | | | | | | | | | Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com> * Installation to target is the default * Use BERKELEYDB_SUBDIR to get rid of the specific BUILD_CMDS and INSTALL_STAGING_CMDS * Split the INSTALL_TARGET_CMDS to install development files on the target only when needed Signed-off-by: cmchao <cmchao@gmail.com>
* Do not let packages remove man pages, info pages and documentationThomas Petazzoni2010-04-111-7/+0
| | | | | | | | | | The cleanup of $(TARGET_DIR)/usr/share/man, $(TARGET_DIR)/usr/man, $(TARGET_DIR)/usr/share/info, $(TARGET_DIR)/usr/info, $(TARGET_DIR)/usr/share/doc and $(TARGET_DIR)/usr/doc is already done globally in the main Makefile. Therefore, there's no need to handle that on a per-package basis. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* buildroot: silence ./configure step when building with 'make -s'Peter Korsgaard2009-10-011-1/+1
| | | | | | | | | | We have been passing -q to ./configure when using 'make -s' for packages using Makefile.autotools.in for some time. Do the same for packages using autotools, but not using the Makefile.autotools.in infrastructure, taking care to not do it for packages with hand written configure scripts. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: Remove unnecessary dependencies on uclibc.Will Newton2009-09-031-1/+1
| | | | | | | | A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* berkeleydb: Update config.{sub,guess} in configure step.Will Newton2009-08-071-0/+1
| | | | | | | Some architectures may need updates to the configure helper scripts before it is possible to safely configure. Signed-off-by: Will Newton <will.newton@gmail.com>
* package/: convert to DOWNLOAD helperPeter Korsgaard2009-01-161-1/+1
|
* package/: get rid of unneeded $(strip ..)Peter Korsgaard2008-12-081-1/+1
|
* buildroot: remove trailing spacesPeter Korsgaard2008-08-041-1/+1
| | | | | | | for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`; do sed -i 's/ \+$//' $i; done
* Kconfig: remove 'default n'Peter Korsgaard2008-07-171-1/+0
| | | | 'default n' is the default, so there's no need to say it explicitly.
* buildroot: cleanup <package>-clean targets.Peter Korsgaard2008-03-271-1/+1
| | | | Based on input from Arndt Kritzner & Bernhard Fischer.
* - just use the strip binary to avoid confusing libtool (quotes)Bernhard Reutner-Fischer2007-10-011-1/+1
| | | | - use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
* - cleanup and fixes (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer2007-09-171-8/+14
|
* - global whitespace trimmingBernhard Reutner-Fischer2007-08-221-1/+1
|
* - sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* ↵Bernhard Reutner-Fischer2007-08-211-1/+1
| | | | toolchain/*/*.mk */Makefile.in -l)
* Remove switches if sstrip is runUlf Samuelsson2007-08-211-1/+1
|
* Use STAGING_DIR/usr/lib instead of STAGING_DIR/libUlf Samuelsson2007-08-111-3/+3
|
* Replace space by tabsUlf Samuelsson2007-07-281-1/+1
|
* Use <package>_VERSION in all <package>.mk instead of <package>_VERUlf Samuelsson2007-07-111-6/+6
|
* - add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGSBernhard Reutner-Fischer2007-06-271-2/+1
| | | | - use TARGET_CONFIGURE_ARGS where appropriate.
* fixup package LDFLAGS handlingEric Andersen2007-03-131-0/+2
|
* fixup a whole steaming pile of insanity. When packages are configured,Eric Andersen2007-01-141-14/+3
| | | | | | | | | | | | | they should be configured with --prefix=/usr and we then need to use make DESTDIR=$(STAGING_DIR) install to get things installed into the staging directory. The current situation for many packages, which use --prefix=$(STAGING_DIR) results in the staging_dir paths getting compiled into the binary itself. This also adds in a pile of libtool fixups. Between broken pkgconfig, broken libtool handling, and broken --prefix settings, its a wonder things have worked as well as they have up till now. -Erik
OpenPOWER on IntegriCloud