31 Commits

Author SHA1 Message Date
Pietro Cerutti
e8145818c1 databases/db6: remove meaningless 85+ from USES tcl 2019-06-12 15:38:53 +00:00
Rene Ladan
8a502cb2d4 Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision:	https://reviews.freebsd.org/D17724
2018-11-02 13:32:34 +00:00
Matthias Andree
105a8b5ab2 databases/db5, db6: enable DBM compatibility
Enable DBM API. [1]
Reorder license information of db5/Makefile to fix portlint warning. [1]
Bump PORTREVISON. [1]
Add command creating symbolic link such as ${PREFIX}/lib/libdb-6.so to
post-install target of db6/Makefile. [1]

Instead of USE_GCC, patch src/dbinc/db.in to not expose the store() macro under C++.
Mark db6 broken on MIPS64 for now, we do not have a workable MUTEX implementation.
Unbreak build on AARCH64, where the db6 autoconfiguration chooses the wrong MUTEX.

PR:		230191
Submitted by:	Yasuhiro Kimura
2018-08-02 16:05:16 +00:00
Matthias Andree
6beb3b77de Update to new upstream release 6.2.32.
<http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_6_2.html#idm140188017503984>

This adds a new db_convert utility.
It converts the byte order of all databases in database files.
2017-08-12 10:24:46 +00:00
Mathieu Arnold
eabbfd75e3 ${RM} already has -f.
PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-21 12:51:40 +00:00
Matthias Andree
3a63946960 Fix packaging with enabled TCL option.
PR:		213279
Submitted by:	osidorkin@gmail.com
2016-10-07 18:12:38 +00:00
Matthias Andree
1c0f31a22f ARM: for mutexes, use machine/atomic.h primitives
The previous approach only worked on ARMv7+, this should now permit
build and use with environments shared between processes on a wider set
of ARM architectures.

Bump PORTREVISION.

PR:		213223
Submitted by:	mikael.urankar@gmail.com
2016-10-05 20:17:39 +00:00
Matthias Andree
5007d3cb32 Bump PORTREVISION for the benefit of ARMv6 users. 2016-10-04 09:35:54 +00:00
Matthias Andree
64893b90e2 Avoid POSIX mutexes on armv6* and aarch64.
db6 switched from the stpb-based mutexes that db5 used to ldrex/strex.

PR:		213167 (related)
2016-10-04 09:32:48 +00:00
Sunpoet Po-Chuan Hsieh
f936861b6c - Revert WRKSRC_SUBDIR change in r417590 which breaks make makepatch
Notified by:	mat
2016-06-26 18:01:59 +00:00
Sunpoet Po-Chuan Hsieh
dc6defc4de - Use WRKSRC_SUBDIR
- Convert to new options target helper

Approved by:	portmgr (blanket)
2016-06-26 17:24:21 +00:00
Matthias Andree
a15880181a Fix portlint warnings.
Add PATCH_WRKSRC so that make makepatch works,
refresh patches with make makepatch and rename them,
and drop the "The" from COMMENT.
2016-05-23 20:59:55 +00:00
Matthias Andree
1b68d5eb0c Update to 6.2.23. Add TCL option. Cleanup.
Changes submitted by gahr@:
Enable a new TCL option, adding a pkgIndex.tcl file.
Modernize Makefile. [1]

Changes by mandree@:
Fix installation of TCL API docs if TCL option is enabled.
Update to new upstream release 6.2.23.
Install the upgrade61.sh script if SQL option is enabled, with
additional fixes distributed as a patch to avoid licensing concerns.
Add an UPDATING entry.
Add changes in Mk/Uses/bdb.mk.

db5 parts of PR 208740 to be committed in a separate transaction later.

PR:		208740
Submitted by:	gahr@
2016-05-23 20:18:24 +00:00
Matthias Andree
3f7fbef89e Grab after bapt's initial clarification on 413096. 2016-04-12 07:49:27 +00:00
Matthias Andree
4b7fc05407 Drop maintainership.
If portmgr@ needs to commit against better advise, two years after this was
first discussed without any motion of the upstream.

Drop a few more maintainerships along the way.
2016-04-12 05:54:17 +00:00
Matthias Andree
051b2da8eb New upstream bug-fix release.
ChangeLog: http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_6_1.html
2015-12-20 12:51:14 +00:00
Matthias Andree
4d3fb10844 Fix crash by using POSIX mutexes on all armv6* ARCHes not just armv6.
This is to fix illegal-instruction crashes on armv6hf.

PR:		205001
Submitted by:	dave@dogwood.com
Reviewed by:	mikael.urankar@gmail.com
MFH:		2015Q4
2015-12-19 11:03:36 +00:00
Andrew Turner
e1ea298baf As with armv6 we need to use POSIX mutexes. Without this the ports try to
use fcntl mutexes and fails as they are deprecated.

Approved by:	mandree (maintainer)
Differential Revision:	https://reviews.freebsd.org/D4107
2015-11-09 09:29:07 +00:00
Sean Bruno
7af063b404 enable posix-mutexes by default for armv6 targets as db will crash and burn
when using the internal mutex implementation via unsupported instructions.

PR:		197227
Submitted by:	andrew@
Approved by:	mandree@
2015-05-07 17:35:33 +00:00
Tijl Coosemans
637854de54 Remove unused LIBTOOLFILES 2014-09-13 19:24:23 +00:00
Adam Weinberger
550b770c1e Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS. 2014-07-15 15:06:46 +00:00
Matthias Andree
054b527217 Upgrade to new upstream release 6.1.19.
Note: The log file format changed.

ChangeLog:
http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_6_1.html
2014-07-14 20:51:21 +00:00
Matthias Andree
eeaaf77bc5 Fix mutex code on powerpc64.
PR:		191453
Submitted by:	jhibbits@
2014-07-02 20:59:24 +00:00
Matthias Andree
a3540da380 Update to new upstream release 6.0.30.
ChangeLog: <http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_6_0.html>

Note that databases using BLOB support require an upgrade,
adding a corresponding note to UPDATING.
2014-05-27 15:40:43 +00:00
Matthias Andree
942de739bc Update to 6.0.20, fixing a wrong LICENSE file.
While at it, re-enable the db185 compatibility interface that some ports use.
2013-12-16 23:49:30 +00:00
Matthias Andree
44248d8679 Convert to staging.
Strip debug symbols for installed .so files unless WITH_DEBUG is set.
2013-12-14 09:57:02 +00:00
Baptiste Daroussin
36117d7097 Add NO_STAGE all over the place in preparation for the staging support (cat: databases) 2013-09-20 16:13:47 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Matthias Andree
2e4789f632 Simplify, for conciseness:
Move function of patch file into post-patch target, too.
2013-07-24 21:57:54 +00:00
Matthias Andree
dbf33b220e Fix C++11 compatibility by renaming atomic_init().
Modified version of dim's patch, where most of the stuff
moves into a REINPLACE_CMD called from post-patch.

Submitted by:	dim
2013-07-24 21:35:51 +00:00
Matthias Andree
55cd3804fa Add Oracle Berkeley DB 6.0.
Simplify installation over previous versions.

License change to Affero GNU General Public License v3 (AGPL v3).

Announcement:	https://oss.oracle.com/pipermail/bdb/2013-June/000056.html
ChangeLog:	http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_6_0.html
2013-06-11 08:15:22 +00:00